fix reading the author field.
[lyx.git] / src / ChangeLog
blob7fe5477698f5476a40dacd64fa4b233c570de780
1 2004-08-23  José Matos  <jamatos@lyx.org>
3         * bufferparams.C (readToken): fix reading of the author field.
5 2004-08-20  José Matos  <jamatos@lyx.org>
7         * lyxrc.C: remove support/translator.h inclusion since it is not used.
9 2004-08-20  José Matos  <jamatos@lyx.org>
11         * lyxlex.[Ch] (findToken): remove function.
13         * ParagraphParameters.C (findToken):
14         * bufferparams.C (findToken): replace call for previous function
15         with local copy. This local function has one more argument, the
16         read string argument.
18 2004-08-16  José Matos  <jamatos@lyx.org>
20         * ParagraphParameters.C (write):
21         * Spacing.C (writeFile):
22         * bufferparams.C (writeLaTeX):
23         * lyx_cb.C (Reconfigure):
24         * paragraph.C (write):
25         * tabular.C (write): remove unnecessary space at end of line.
28 2004-08-16  José Matos  <jamatos@lyx.org>
30         * text.C (readParagraph): remove debug message.
32 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
35         crash
37         * output_plaintext.C (asciiParagraph): set depth correctly
39         * outputparams.h: add member depth
41         * paragraph_funcs.C (ownerPar): remove.
43         * text2.C (setCounter): remove first_pit; comment out some
44         non-working code that uses ownerPar
46         * BufferView.C (getParentLanguage): remove. Not used anymore, and
47         uses ownerPar
49 2004-08-16  José Matos  <jamatos@lyx.org>
51         * text.C (readParToken, readParagraph, read): report all unknown tokens.
52         For the same level of importance use the same chanel to report problems.
53         (read): add code to deal with \begin_body and \end_body.
56 2004-08-15  José Matos  <jamatos@lyx.org>
58         * lyxlex.C (getString): fix comment, buffer::readBody is now
59         buffer:readDocument.
60         
61         * tex-strings.C (string_papersize): Default -> default,
62         Custom -> custom, for consistency with other options.
64 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
66         * pch.h: new file
68         * Makefile.am: support pch
70 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72         * text.C (readParToken): remove the static LyXFont variable and
73         pass it as a parameter instead. This fixes a nasty bug where an
74         inset will be inserted with a bad font in some situations
75         (readParagraph): adapt
77         * text2.C (setCounter): reduce number of calls to pars_[pit]
79         * text.C (singleWidth): add an assert, fix a test
81         * rowpainter.C (paintText): reduce number of calls to singleWidth
83         * paragraph.C (isHfill):
84         (isNewline): ws only
86 2004-08-14  André Pönitz  <poenitz@gmx.net>
88         * text.C:
89         * text2.C:
90         * rowpainter.C:
91         * lyxtext.h (several functions): use a Paragraph & argument
92         instead of par_type
94 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96         * metricsinfo.h: add a new field ltr_pos to PainterInfo
98         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
100         * text.C (singleWidth): remove useless test
102 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104         * tabular.h: remove bogus comments
106         * tabular.C (getDescentOfRow):
107         (isPartOfMultiColumn): add assertions
109         * lyxlength.C (inPixels): remove #warning
111 2004-08-14  André Pönitz  <poenitz@gmx.net>
113         * paragraph.h: inline getChar()
115         * BufferView.h: remove unused declarations
117 2004-08-14  José Matos  <jamatos@lyx.org>
119         * Buffer.[Ch] (readDocument): new name for old readBody.
120         * Buffer.C: new file format, new keywords: \begin_document,
121         \begin_header, \begin_body, \end_body.
123         * bufferparams.C (readToken): replace all calls to lex.nextToken
124         by lex.next(). Do the same to eatLine except where really needed.
126         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
127         line when writing to the lyx file.
129         * output_plaintext.C (asciiParagraph): fix Bibliography style
130         handling.
132         * text.C (read): fix end of file handling.
134 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136         * MenuBackend.C (Menu::operator[]): new method to access
137         individual menu items
138         (Menu::hasFunc): new method. search for an item that corresponds
139         to a given func
140         (MenuBackend::specialMenu): new method
141         (MenuBackend::expand): if a special menu has been set, skip
142         entries whose func() appears in this menu
144 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
146         * text3.C: use Debug::DEBUG a bit more
148         * text.C (leftMargin): try to simplify a tiny bit change var x to
149         l_margin. Dont output the wide margins always.
150         (rightMargin): no margin in inner texts
152         * rowpainter.h (nestMargin): new func
153         (changebarMargin): new func
154         (rightMargin): new func
156         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
157         now functions.
158         (paintLast): ditto
160         * factory.C (createInset): modify setDrawFrame
162         * cursor.C: use Debug::DEBUG a bit more
164 2004-08-14  André Pönitz  <poenitz@gmx.net>
166         * coordcache.[Ch]:
167         * Makefile.am: new files to accomodate an 'external' (x,y)-position
168         cache for all insets in (at least partially) visible (top-level)
169         paragraphs.
171         * BufferView_pimpl.C: reset external coord cache before every update.
172         This means the coord cache only contains valid entries.
174 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
176         bug 1096
177         * BufferView_pimpl.C (getInsetByCode): move function out of class
178         and change in to a template in anon namespace. Also fix to do what
179         suits us better.
181 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
183         bug 1305
184         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
185         of char
186         (breakParagraph): rename par to par_offset and use a local
187         reference. Add code to keep the language over a rebreak.
188         (breakParagraphConservative): rename par to par_offset, use a
189         local reference
190         (mergeParagraph): ditto
191         (outerHook): ditto
192         (isFirstInSequence): ditto
193         (outerFont): rename pit to par_offset
195         * paragraph.C: ws change
196         * paragraph.h: ditto
197         * text3.C: ditto
198         * text.C: ditto
200 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
203         treatment for ']'
205         * paragraph.C (simpleTeXOnePar): when we have a \item with
206         optional argument, enclose the argument with curly brackets (in
207         case it contains a closing square bracket)
209         * text2.C (editXY):
210         * text2.C (editXY):
211         * text3.C (checkInsetHit): constify
213 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
216         documents (bug 1629)
218 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220         Fix toggling of collapsable insets with the mouse (bug 1558)
222         * lyxfunc.C (dispatch): adapt to LCursor changes
224         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
225         make sure that dispatch is not invoked twice
227         * cursor.C (needsUpdate): new method
228         (dispatch): return void
229         (result): new method, to access the DispatchResult of the cursor.
231 2004-08-13  José Matos  <jamatos@lyx.org>
233         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
235 2004-08-13  André Pönitz  <poenitz@gmx.net>
237         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
239         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
240           multiple cells
242 2004-08-12  André Pönitz  <poenitz@gmx.net>
244         * text3.C: take out the 'cursor right' form insertInset and only
245         do it in those places when it is really needed. Fixes crash on
246         C-m...
248 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
252         * BufferView_pimpl.C (setBuffer): initialize the current font of
253         the underlying LyXText
255 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257         * kbsequence.C (print): use UI native formatting for menu
258         shortcuts
260         * text.C (insertChar): call Paragraph::insertChar with a font
261         argument (cosmetic)
263         * paragraph.C (insertInset, insertChar): the version that takes a
264         LyXFont argument is now a wrapper around the other one (the
265         opposite used to be true).
267         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
268         argument. Font setting is done in Paragraph now.
270 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272         * outputparams.h: add new members intitle and lang.
274         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
275         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
277 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
279         * text3.C (dispatch): remove special handling of button 4 and 5,
280         it is now taken care of in the frontend code.
282 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
284         * Spacing.h: add <string> (STLPort compile fix)
286 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
288         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
290 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
292         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
293         to bool.
295         * converter.C (showMessage): inherit from unary_function, make
296         operator() const.
298         * buffer.C (writeFile): initialize retval
300         * InsetList.h: rename private variable list to list_
301         * InsetList.[Ch]: adjust accordingly.
303 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
305         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
306         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
307         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
308         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
309         * ParagraphParameters.C, LaTeXFeatures.C: replace
310         "support/std_sstream.h" with <sstream>
312 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
314         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
315         * lyxsocket.C (LyXServerSocket): ditto
316         (serverCallback): ditto
318 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
320         * LaTeXFeatures.C: check release date when loading jurabib.
322 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
324         * lyxserver.C (startPipe): call register_socket_callback
325         (endPipe): call unregister_socket_callback
327 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
329         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
330         (LyXServerSocket): register the callback
331         (LyXServerSocket): unregister the callback
332         (fd): delete function
333         (serverCallback): improve error checking and setup the callbacks.
334         (dataCallback): change arg to fd.
335         (writeln): new func (copied fro the client socket) used for server
336         write to client.
337         (LyXDataSocket): simplify
338         (~LyXDataSocket): close ann unregiser callback
339         (server): delete function
340         (fd): delete function
341         (readln): small changes, improve some std::string usage
342         (writeln): constify a bit
344 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
347         Qt frontend
349 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351         * BufferView_pimpl.C (setBuffer): set the layout combox value only
352         after it has been populated
354 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356         * text2.C (insertInset): move cursor when inserting inset.
358 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360         * kbmap.C (findbindings): a couple of new methods. returns a
361         container of kb_sequence objects. The real work is done by the
362         private recursive version
363         (printbindings): uses findbindings to print out a bracketed list
364         of bindings (renamed from findbinding).
366         * MenuBackend.C (binding): use kb_keymap::findbindings
368         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
370 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
374 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376         * paragraph.C (isWord): return true on insets that report
377         isLetter().
379         * text.C (getWord): use Paragraph::isWord to decide what is in a
380         word and what is not; fix bug 1609.
382 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384         * tex-strings.C: add "none" to string_paperpackages[], fixes
385         off-by-one-error in the paperpackage selection.
387         * lyxlex.[Ch]:
388         * tex-strings.[Ch]: char const * string[n]
389         -> char const * const string[]
391 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
394         command, return early.
396 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
398         * debug.h: add DEBUG to enum and fix size of ANY.
400         * debug.C: add support for Debug::DEBUG
401         (showTags): cast errorTags.level to unsigned int
403         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
404         (redoCurrentBuffer): ditto
405         (updateScrollbar): ditto
406         * cursor.C (dispatch): ditto
407         * text2.C (setLayout): ditto
408         (setFont): ditto
409         (updateCounters): ditto
410         (editXY): ditto
411         (deleteEmptyParagraphMechanism): ditto
413 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
415         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
416         annotations to cleanup the Makefile slightly.
418 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420         * lyxrc.C: do not set user_email to a default value but use empty
421         instead. The entry used to be translated, which does not work
422         since at the point where lyxrc is constructed there is no
423         translation service available
425         * messages.C (getLocaleDir): remove and use directly
426         lyx_localedir() instead
428 2004-06-02  Angus Leeming  <leeming@lyx.org>
430         Fix crash caused by dereferencing null pointer 'exportdata' in
431         OutputParams by creating a new ExportData variable on the heap,
432         storing it in a boost::shared_ptr.
433         The crash was triggered when generating an Instant Preview
434         of an external inset.
436         * Makefile.am: add outputparams.C
438         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
439         (c-tor): allocate memory to it.
441         * exporter.C (c-tor): associated changes.
443 2004-06-01  Angus Leeming  <leeming@lyx.org>
445         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
446         contains data before calling isInset(0). (Bug 1513.)
448 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450         * exporter.C (checkOverwrite): new method
451         * exporter.C (copyFile): new method
452         * exporter.C (Export): copy referenced files to the document dir
453         * exporter.[Ch]: new class ExportedFile
454         * exporter.[Ch]: new class ExportData. Contains currently the
455         names of referenced external files
456         * outputparams.h: add exportdata member.
458 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
460         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
461         version.C-tmp
463 2004-05-19  Angus Leeming  <leeming@lyx.org>
465         * LaTeXFeatures.C:
466         * ToolbarBackend.C:
467         * bufferparams.C:
468         * lyxfunc.C: small changes due to the introduction of namespace
469         lyx::frontend and the moving of namespace biblio to lyx::biblio.
471 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
473         * text3.C (dispatch): supress update when only moving the cursor
474         * cursor.C (selHandle): remove commented code
476 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
478         * paragraph.C (startTeXParParams): correct column count
479         * CutAndPaste.C (pasteSelection): remove const_cast
480         * output_docbook.C (docbookParagraphs): remove const_cast
481         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
482         const_cast and return ParagraphList::const_iterator
483         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
484         * output_plaintext.C (writeFileAscii): remove const_cast
485         * paragraph.[Ch] (simpleTeXOnePar): make const
486         * paragraph_funcs.C (outerPar): use const iterators
487         * paragraph_pimpl.C (validate): use const iterators
488         * text.C (setHeightOfRow): use const iterators
490 2004-05-17  Angus Leeming  <leeming@lyx.org>
492         * lfuns.h:
493         * LyXAction.C (init): new LFUN_INSET_REFRESH.
495         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
496         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
497         if the citation engine has changed.
499 2004-05-14  José Matos  <jamatos@lyx.org>
501         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
502         if the textclass does not provide it. Have it different for sgml and
503         xml.
504         support the language of document.
505         * output_docbook.C (docbookParagraphs):
506         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
507         first anchor as the id of the paragraph, remove special case code.
508         * sgml.C (escapeChar): escape only < & >.
510 2004-05-14  Angus Leeming  <leeming@lyx.org>
512         * bufferparams.h: move biblio::CiteEngine enum here to minimize
513         dependencies on src/frontends/controllers/biblio.h. Define a
514         CiteEngine_enum wrapper class to enable the enum to be forward
515         declared.
517 2004-05-12  Angus Leeming  <leeming@lyx.org>
519         * buffer.C: up LYX_FORMAT to 234.
520         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
521         use_numerical_citations with a single biblio::CiteEngine cite_engine
522         variable.
523         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
525 2004-05-13  José Matos  <jamatos@lyx.org>
527         * converter.h:
528         * converter.C (Converter, readFlags): add xml member.
529         * outputparams.h: add XML flavor.
530         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
532 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534         * lyxfunc.C (dispatch):
535         (getStatus): fix handling of LFUN_SEQUENCE
537 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539         * debug.C (showLevel): do not forget the end-of-line marker
541 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
543         * kbmap.C (read): do not stop parsing a bind file when an error
544         occurs (bug 1575)
546 2004-04-29  Angus Leeming  <leeming@lyx.org>
548         * cursor.C:
549         * factory.C:
550         * pariterator.C:
551         * text2.C: wrap a bunch of #warning statements
552         inside #ifdef WITH_WARNINGS blocks.
554 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
556         * buffer.C: increment format to 233.
558 2004-04-28  Angus Leeming  <leeming@lyx.org>
560         * BufferView_pimpl.C:
561         * lyxfunc.C:
562         * text3.C:
563         s/updateToolbar()/updateToolbars()/
564         s/Toolbar.h/Toolbars.h/
566 2004-04-28  Angus Leeming  <leeming@lyx.org>
568         * BufferView.[Ch] (c-tor):
569         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
570         No longer passes these data to the WorkArea generator.
572 2004-04-28  Angus Leeming  <leeming@lyx.org>
574         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
576 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
580 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582         * output_latex.C (TeXEnvironment): make sure that there is a line
583         break before \end{foo} for the last paragraph of a document
584         (TeXOnePar): if the paragraph is at the end of the document (or
585         inset) and the language has to be reset, then make sure that the
586         line break is _before_ the language command, not after (fixes bug
587         1225); also make sure that the language reset command is the first
588         thing after the paragraph (to ensure proper nesting of
589         environments and thus fix bug 1404)
591 2004-04-21  John Levon  <levon@movementarian.org>
593         * ToolbarBackend.h:
594         * ToolbarBackend.C: make "name" be a programmatic name
595         and a gui_name field.
597         * lyxfunc.C: display the minibuffer on M-x
599 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
602         (bug 1526)
604 2004-04-19  Angus Leeming  <leeming@lyx.org>
606         * BufferView_pimpl.C (setBuffer): changed preview interface.
608         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
609         possible values.
611 2004-04-19  John Levon  <levon@movementarian.org>
613         * BufferView_pimpl.C:
614         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
616 2004-04-05  Angus Leeming  <leeming@lyx.org>
618         * text.C (redoParagraphs): add call to updateCounters(), thereby
619         fixing the missing "Figure #:" label from the caption of a
620         figure float.
622 2004-04-13  Angus Leeming  <leeming@lyx.org>
624         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
625         cursor is clicked out of an inset.
627 2004-04-13  Angus Leeming  <leeming@lyx.org>
629         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
630         than an InsetOld one.
632 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
634         * format.[Ch]: add editor to Format
635         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
636         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
638 2004-04-08  André Pönitz  <poenitz@gmx.net>
640         * metricsinfo.h: remove PainterInfo::width member
642 2004-04-08  Angus Leeming  <leeming@lyx.org>
644         * lyx_sty.C (boldsymbol_def): modify so that it outputs
645         "\providecommand" rather than "\newcommand", thereby preventing
646         clashes with packages that define "\boldsymbol" themselves.
647         Eg, beamer.
649 2004-04-08  Angus Leeming  <leeming@lyx.org>
651         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
652         thereby squashing an unnecessary warning.
654 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
656         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
657         setBuffer()
659 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
661         * BufferView.C (setCursor): call redoParagraph (some insets could
662         have been opened)
663         (putSelectionAt): remove the 'double update' trick
665         * BufferView_pimpl.C (fitCursor): call refreshPar
666         (workAreaDispatch): remove an uneeded update call
667         (dispatch): remove some manual update calls
669         * cursor.[Ch]: remove cached_y_, updatePos
670         (selHandle): set noUpdate when appropriate
672         * lyxfunc.C (dispatch): track if we need an update
674         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
676         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
677         (paintSelection): cheap optimization, do not call cursorX when not
678         needed
679         (paintPars): change signature
680         (refreshPar): add
681         (paintText): adjust
682         (paintTextInset): adjust
684         * text.C: adjust
686 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688         * lengthcommon.C: compilation fix: remove explicit array size from
689         unit_name[] and friends
691 2004-04-05  Angus Leeming  <leeming@lyx.org>
693         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
695         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
696         present only for the preferences dialog.
697         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
699 2004-04-05  Angus Leeming  <leeming@lyx.org>
701         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
702         to enable the frontends to export changes to lyxrc correctly.
704         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
706 2004-04-07  André Pönitz  <poenitz@gmx.net>
708         * cursor.[Ch] (selClear, adjust): remove math
710         * cursor_slice.C: more agressive assert
712         * lyxfunc.C:
713         * BufferView_pimpl.C: rework mouse event dispatch
715         * dociterator.C:
716         * paragraph.C:
717         * text2.C:
718         * text3.C: adjust
720 2004-04-05  André Pönitz  <poenitz@gmx.net>
722         * cursor.[Ch] (valign, halign...): remove unneeded functions
724 2004-04-05  Angus Leeming  <leeming@lyx.org>
726         * lyxlength.[Ch] (unit_name et al.): const-correct.
728 2004-04-05  Angus Leeming  <leeming@lyx.org>
730         * BufferView_pimpl.C:
731         * buffer.C:
732         * counters.C:
733         * cursor.C:
734         * lyxfunc.C
735         * paragraph.C:
736         * pariterator.C:
737         * text.C:
738         * text2.C:
739         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
741 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
743         * text3.C (getStatus): add LFUN_BEGINNINGBUF
745 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
747         * lyxfind.C: add a couple of inTexted() tests + other small fixes
748         * BufferView_pimpl.[Ch] (getStatus)
749         * BufferView.[Ch] (getStatus): add
750         * lyxfunc.C (getStatus): move lfuns handled in
751         BufferView::dispatch to te function above
752         * Cursor.C (setSelection): set selection() = true
754 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
756         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
758 2004-03-31  Angus Leeming  <leeming@lyx.org>
760         * lyxfunc.C (dispatch): Fall through to the generic
761         Dialogs::show("preamble").
763 2004-03-31  Angus Leeming  <leeming@lyx.org>
765         * lyxfunc.C (dispatch): Fall through to the generic
766         Dialogs::show("spellchecker").
768 2004-03-31  Angus Leeming  <leeming@lyx.org>
770         * lyxfunc.C (getStatus, dispatch): changed invocation of the
771         preferences dialog.
773 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
775         * BufferView.C
776         * cursor.[Ch]
777         * dociterator.[Ch]:
778         * insetiterator.[Ch]:
779         * lyxfind.C:
780         * lyxfunc.C:
781         * pariterator.[Ch]:
782         * text2.C:
783         * undo.[Ch]: s/DocumentIterator/DocIterator/g
785 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
787         * BufferView.C (setCursor, putSelectionAt): call edit to open the
788         insets where we are putting the cursor.
790 2004-03-31  Angus Leeming  <leeming@lyx.org>
792         * lfuns.h:
793         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
795         * lyxrc.[Ch] (read, write): overloaded member functions taking
796         a std::[io]stream arguments.
798         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
800 2004-03-31  Angus Leeming  <leeming@lyx.org>
802         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
803         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
805         * lyxtextclass.C (load): if the text class couldn't be loaded, then
806         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
808 2004-03-31  Angus Leeming  <leeming@lyx.org>
810         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
811         the LFUN_ALL_INSETS_TOGGLE code.
813 2004-03-30  Angus Leeming  <leeming@lyx.org>
815         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
816         has died. Fall through to the generic Dialogs::show("document").
818 2004-03-30  Angus Leeming  <leeming@lyx.org>
820         * lfuns.h:
821         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
822         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
824         * lyxfunc.C (getStatus, dispatch): define the actions for these
825         lfuns. Little more than a cut and pste job from ControlDocument.C
827         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
829 2004-03-30  Angus Leeming  <leeming@lyx.org>
831         * lfuns.h:
832         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
833         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
835         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
836         open/closed state of ollapsable insets. Usage:
838         all-inset-toggle <state> <name>, where
839         <state> == "open" || "closed" || "toggle" and
840         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
842         * lyxtext.h, text2.C (toggleInset): removed.
844         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
845         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
846         now passes LFUN_INSET_TOGGLE to the found inset.
848         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
849         is now invoked as "all-insets-toggle toggle branch".
851 2004-03-30  Angus Leeming  <leeming@lyx.org>
853         * dociterator.C:
854         * insetiterator.C:
855         * pariterator.[Ch]: added/corrected header blurb.
857 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
859         * dociterator.[Ch]: add an inset_ member
860         (backwardPos): implemented
861         (backwardPos, forwardPos): use inset_ when the stack is empty.
862         (doc_iterator_begin, doc_iterator_end): implemented
863         * pariterator.[Ch]: adjust, add begin, end
864         * insetiterator.[Ch]: adjust, add begin, end
865         * cursor.C:
866         * document.C:
867         * BufferView.C:
868         * BufferView_pimpl.C:
869         * CutAndPaste.C: adjust
871 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
873         * buffer.C: increment file format to 232.
874         * LaTeXFeatures.C: add bibtopic package.
875         * bufferparams.[Ch]: param \use_bibtopic.
877         * lyxrc.[Ch]: add lyxrc bibtex_command
878         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
880         * buffer.C: increment file format to 231.
882 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
884         * dociterator.C: implement forwardPar
885         * iterators.[Ch]: remove, replaced by
886         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
887         * BufferView.C:
888         * BufferView_pimpl.C:
889         * CutAndPaste.C:
890         * buffer.C:
891         * bufferview_funcs.C:
892         * cursor.C:
893         * lyxfind.C
894         * lyxfunc.C
895         * paragraph_funcs.C
896         * toc.C:
897         * Makefile.am: adjust
899 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
901         * CutAndPaste.C (pasteSelection): fix 2 crashes
902         (eraseSelection): fix a crash
903         * paragraph_funcs.C: remove a warning
905 2004-03-28  Angus Leeming  <leeming@lyx.org>
907         * lfuns.h:
908         * LyXAction.C (init): new LFUN_PRINT.
910         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
912 2004-03-27  Angus Leeming  <leeming@lyx.org>
914         * lfuns.h:
915         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
917         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
919 2004-03-27  Angus Leeming  <leeming@lyx.org>
921         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
922         insetlist always contains non-null pointers to insets.
924 2004-03-26  Angus Leeming  <leeming@lyx.org>
926         * src/BufferView_pimpl.C:
927         * src/CutAndPaste.C:
928         * src/buffer.C:
929         * src/iterators.C:
930         * src/output_plaintext.C:
931         * src/outputparams.h:
932         * src/paragraph_funcs.C:
933         * src/rowpainter.C:
934         * src/text.C:
935         * src/text2.C:
936         * src/frontends/controllers/ControlErrorList.C:
937         * src/frontends/gtk/FileDialogPrivate.C:
938         * src/frontends/gtk/GPainter.C:
939         * src/frontends/gtk/GToolbar.C:
940         * src/frontends/qt2/QRef.C:
941         * src/mathed/math_scriptinset.C: squash compiler warnings.
943 2004-03-26  Angus Leeming  <leeming@lyx.org>
945         * ispell.C (LaunchIspell::start):
946         * lyx_cb.C (AutoSaveBuffer::start):
947         invoke run(DontWait) rather than runNonBlocking().
949 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
951         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
953 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955         * kbsequence.C (print): adjust
957         * kbmap.C (printKeySym): rename and change signature
958         (printKey): use LyXKeySym::print()
960 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
962         * undo.C: add using std::advance to compile for stlport
964 2004-03-24  Angus Leeming  <leeming@lyx.org>
966         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
967         it leads to a crash when no buffer is present.
969 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970             Martin Vermeer  <martin.vermeer@hut.fi>
972         * lyxfunc.C (dispatch):
973         * bufferparams.C (readToken): use the new LColor::setColor
975         * LColor.[Ch] (setColor): new version that takes two strings as
976         argument and creates a new color entry if necessary
978 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
980         * buffer.C (makeLaTeXFile): if the main latex file that is
981         processed is usually a subdocument of some master, then pretend
982         for a while that it is actually the master
984 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
986         * buffer.C (getLabelList):
987         (getBibkeyList): use getMasterBuffer()
988         (getMasterBuffer): new method. Returns the main document in the
989         case where one is using included documents.
991 2004-03-25  André Pönitz  <poenitz@gmx.net>
993         * Makefile.am:
994         * iterators.[Ch]:
995         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
997         * ParagraphList_fwd.h: change ParagraphList to a std::vector
999         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1000         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1002         * ParameterStruct.h: merge with ParagraphParameters
1004         * lyxtext.h: remove LyXText::parOffset() and getPar()
1006         * text3.C: Remove all 'manual' update calls. We do now one per user
1007         interaction which is completely sufficient.
1009         * Bidi.C:
1010         * BufferView.[Ch]:
1011         * BufferView_pimpl.C:
1012         * FontIterator.[Ch]:
1013         * MenuBackend.C:
1014         * ParagraphParameters.[Ch]:
1015         * buffer.C:
1016         * buffer.h:
1017         * bufferlist.C:
1018         * cursor.[Ch]:
1019         * cursor_slice.[Ch]:
1020         * dociterator.[Ch]:
1021         * errorlist.[Ch]:
1022         * factory.C:
1023         * lfuns.h:
1024         * lyxfind.C:
1025         * lyxfunc.C:
1026         * output_docbook.[Ch]:
1027         * output_latex.[Ch]:
1028         * output_linuxdoc.[Ch]:
1029         * output_plaintext.[Ch]:
1030         * paragraph.[Ch]:
1031         * paragraph_funcs.[Ch]:
1032         * paragraph_pimpl.[Ch]:
1033         * rowpainter.C:
1034         * tabular.[Ch]:
1035         * text.C:
1036         * text2.C:
1037         * toc.C:
1038         * undo.[Ch]: adjust
1040         * frontends/controllers/ControlDocument.C:
1041         * frontends/controllers/ControlErrorList.C:
1042         * frontends/controllers/ControlSpellchecker.C:
1043         * insets/inset.C:
1044         * insets/inset.h:
1045         * insets/insetbase.h:
1046         * insets/insetbibitem.C:
1047         * insets/insetbox.C:
1048         * insets/insetbranch.C:
1049         * insets/insetcaption.C:
1050         * insets/insetcharstyle.C:
1051         * insets/insetcharstyle.h:
1052         * insets/insetcollapsable.C:
1053         * insets/insetcollapsable.h:
1054         * insets/insetert.C:
1055         * insets/insetfloat.C:
1056         * insets/insetfoot.C:
1057         * insets/insetmarginal.C:
1058         * insets/insetnote.C:
1059         * insets/insetoptarg.C:
1060         * insets/insettabular.C:
1061         * insets/insettext.C:
1062         * insets/insettext.h:
1063         * insets/insetwrap.C:
1064         * mathed/math_mboxinset.C:
1065         * mathed/math_nestinset.C:
1066         * mathed/math_scriptinset.C:
1067         * mathed/math_scriptinset.h:
1068         * support/types.h:
1070 2004-03-24  Angus Leeming  <leeming@lyx.org>
1072         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1073         deal with any child processes that have finished but are waiting to
1074         communicate this fact to the rest of LyX.
1076 2004-03-24  Angus Leeming  <leeming@lyx.org>
1078         64-bit compile fixes.
1080         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1081         (c-tor): pass lyx::pos_types rather than ints.
1083         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1084         lyx::pos_type.
1086         * text.C (Delete): compile fix.
1087         (getPar): ensure that function declaration is the same as that in
1088         the header file.
1090 2004-03-23  Angus Leeming  <leeming@lyx.org>
1092         * ispell.C (LaunchIspell):
1093         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1094         a boost::shred_ptr rather than a std::auto_ptr.
1096 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1099         handle LFUN_FILE_INSERT_*
1101         * lyxrc.C (setDefaults, getDescription, output, read):
1102         * lyxrc.h: remove ps_command
1104 2004-03-22  Angus Leeming  <leeming@lyx.org>
1106         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1107         Ensure that error_handler is processed once only and that all data
1108         is saved before attempting to output any warning messages.
1110         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1112 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1114         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1116 2004-03-19  André Pönitz  <poenitz@gmx.net>
1118         * cursor.[Ch] (reset): take main text inset as argument
1120         * BufferView: adjust
1121         * BufferView_pimpl.C: adjust
1123         * paragraph.[Ch]: fix completely broken operator=()
1125 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127         * LColor.C (getFromLyXName): make sure that the color name is used
1128         as lowercase.
1130 2004-03-17  Angus Leeming  <leeming@lyx.org>
1132         * lfuns.h:
1133         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1135         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1136         dialog and to kill a forked process.
1138 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1140         * text2.C (setCursorFromCoordinates): fix font problem
1142 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1144         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1145         bogus "rebuild cursor" code
1147 2004-03-11  André Pönitz  <poenitz@gmx.net>
1149         * buffer.[Ch]: use InsetText instead of LyXText as container for
1150         the main lyx text.
1152         * dociterator.[Ch]: drop the BufferView * member which is not needed
1153         anymore after the change to buffer.C
1155         * paragraph_funcs.C:
1156         * text.C:
1157         * text2.C:
1158         * BufferView.[Ch]:
1159         * BufferView_pimpl.[Ch]:
1160         * cursor.[Ch]:
1161         * cursor_slice.[Ch]: adjust
1163         * text3.C: fix bug in mathDispatch
1165 2004-03-08  André Pönitz  <poenitz@gmx.net>
1167         * undo.[Ch]: use 'StableDocumentIterator' as base for
1168         the Undo struct.
1170 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1172         * LaTeXFeatures.C:
1173         * bufferparams.[Ch]: add jurabib support and param.
1175         * LaTeX.C: add FIXME/comment.
1177 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1179         * buffer.C: increment file format to 230.
1181 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1183         * cursor.C (dispatch): avoid infinite loops
1185 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1187         * rowpainter.C (paintSelection): fix x coordinates
1189 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1191         * text.C (rowBreakPoint): fix breaking before displayed insets
1193 2004-03-01  André Pönitz  <poenitz@gmx.net>
1195         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1197         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1199         * Makefile.am:
1200         * BufferView.C:
1201         * BufferView_pimpl.C:
1202         * buffer.C:
1203         * lyxfind.C:
1204         * lyxfunc.C:
1205         * text.C:
1206         * text2.C:
1207         * text3.C: adjust
1209 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1211         * lyxtext.h:
1212         * text.C:
1213         * text2.C:
1214         * rowpainter.C:
1215         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1216         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1218 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1220         * Bidi.[Ch] (computeTables): const correctness
1221         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1222         fill_hfill, fill_label_hfill and x from Row
1223         * lyxtext.h: prepareToPrint returns a RowMetrics
1224         * rowPainter.C: adjust
1225         * text.C (prepareToPrint): use width, not textWidth. adjust
1226         (redoParagraphInternal, cursorX): adjust
1227         * text2.C (getColumnNearX): adjust
1228         (init): put a default value to the top LyXText::width
1230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1232         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1234 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1236         * lyxtext.h: add FontIterator class
1238         * text.C (FontIterator, operator*, operator->, operator++): add
1239         (rowBreakPoint, setRowWidth): adjust (fixing a
1240         rebreaking bug)
1242 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244         * BufferView_pimpl.C (workAreaDispatch): allow also
1245         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1247 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1249         * text.C (rowBreakPoint): fix a bug showing with very large insets
1251 2004-02-25  André Pönitz  <poenitz@gmx.net>
1253         * text3.C:
1254         * cursor.[Ch]: move some mathed specific code to mathed
1256 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1258         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1259         use_tempdir in preferences
1260         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1261         tempfile creation
1262         * lyx_main.C: ensure that tempdir is valid
1263         * lyxlex.h: correct typo
1264         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1265         * paragraph.[Ch] (isMultiLingual): make const
1266         * cursor.[Ch] (openable): make const
1268 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1270         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1272 2004-02-20  André Pönitz  <poenitz@gmx.net>
1274         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1276         * cursor.[Ch]: prepare for localized getStatus()
1278         * lyxtext.h:
1279         * tabular.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1284 2004-02-20  André Pönitz  <poenitz@gmx.net>
1286         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1288 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1290         * text2.C (setCursorFromCoordinates): switch to absolute coords
1291         (cursorUp): adjust
1292         (cursorDown): adjust
1293         * text3.C (dispatch): adjust
1295 2004-02-16  André Pönitz  <poenitz@gmx.net>
1297         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1298           insets/ChangeLog)
1300         * cursor_slice.[Ch]: remove unneeded acessor function
1302         * lyxtext.h: rename rtl() to isRTL()
1304         * rowpainter.C:
1305         * tabular.C:
1306         * text.C:
1307         * text2.C:
1308         * text3.C: adjust
1310 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1312         * rowpainter.C (paintSelection): coord fix
1314 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1316         * Spacing.C: compile fix
1318 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1320         * cursor.C (dispatch): restore current_ before returning
1322 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1324         * text2.C (cursorUp, cursorDown): fix coords
1325         (moveUp): fix crash
1327 2004-02-12  André Pönitz  <poenitz@gmx.net>
1329         * lyxtext.h:
1330         * text.C:
1331         * text2.C:
1332         * text3.C: add LCursor & parameter to most cursor movement functions
1333           remove usage of LyXText::cursorRow() and cursorPar()
1335         * cursor.[Ch]: add textRow() needed members
1337         * BufferView.C:
1338         * BufferView_pimpl.C:
1339         * paragraph.[Ch]:
1340         * BufferView.C:
1341         * BufferView_pimpl.C: adjust
1343 2004-02-11  André Pönitz  <poenitz@gmx.net>
1345         * lyxfunc.C:
1346         * BufferView.[Ch]:
1347         * BufferView_pimpl.C: shift undo/redo handling
1349         * cursor.[Ch]: fix mathed crash
1351         * lyxfind.C:
1352         * lyxtext.h: move selectionAsText to LCursor
1354         * output_latex.C:
1355         * paragraph.C:
1356         * text.C:
1357         * text2.C:
1358         * text3.C: adjust
1360         * rowpainter.C: fix excessive drawing
1362 2004-02-06  André Pönitz  <poenitz@gmx.net>
1364         * BufferView.[Ch]:
1365         * BufferView_pimpl.[Ch]:
1366         * text3.C: move some text specific LFUN handling
1368 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1370         * text3.C (checkInsetHit): adjust coords
1371         * text2.C (getColumnNearX): adjust coords
1372         (edit): adjust coords
1373         * text.C (getRowNearY): add two asserts
1375 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1377         * converter.C:
1378         * format.C: add using std::distance to compile on gcc 2.95/stlport
1380 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1382         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1384 2004-02-04  André Pönitz  <poenitz@gmx.net>
1386         * BufferView.[Ch] (insertInset):
1387         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1389         * text2.C:
1390         * text3.C: adjust
1392 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1394         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1395         on the default clause of the switch
1396         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1397         wasn't catched by LCursor::dispatch
1399 2004-02-03  André Pönitz  <poenitz@gmx.net>
1401         * BufferView.C:
1402         * cursor.[Ch]: some additional asserts
1404         * undo.[Ch]: remove LyXText dependency in interface
1406         * lyxfunc.C: adjust
1408         * lyxtext.h (firstPar, lastPar): remove dead functions
1410         * text.C:
1411         * text2.C:
1412         * text3.C:
1413         * paragraph.[Ch]: adjust
1415 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1417         * lyxfind.C (find): fix argument order in call to ::find
1419 2004-02-02  André Pönitz  <poenitz@gmx.net>
1421         * cursor.[Ch]: remove direct access to anchor
1423         * text.C: remove findText() hack
1425 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1427         * iterators.[Ch] (lockPath): remove in favour of...
1428         * BufferView.[Ch] (setCursor): this addition
1429         * BufferView.C (putSelectionAt): adjust
1430         * undo.C (performUndoOrRedo): adjust
1431         * lyxfunc.C (dispatch): adjust
1433 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1435         * iterators.C (lockPath): add a missing slice
1436         * undo.C (performUndoOrRedo): remove redundant positioning code
1438 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1440         * vc-backend.C (scanMaster): ";" -> ';'
1442 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1444         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1445         std::binary_function
1447         * lyxtextclass.C (compare_name): rename to...
1448         (LayoutNamesEqual): ...this
1450         * lyxlex_pimpl.C (compare_tags): inherit from
1451         std::binary_function, put back into anon namespace
1453         * lyxfind.C (MatchString): inherig from std::binary_function
1454         (findChange): use empty() istead of !size()
1456         * format.C (FormatNamesEqual): new functor
1457         (getFormat): use it
1458         (getNumber): use it
1459         (add): use it
1460         (erase): use it
1461         (setViewer): use it
1463         * converter.C (compare_Converter): rename to...
1464         (ConverterEqual): ...this, and fixup a bit.
1465         (getConverter): use it, and make function const
1466         (getNumber): use it, and make function const
1467         (add): use it
1468         (erase): use it:
1470         * bufferlist.C: add using boost::bind
1472         * MenuBackend.C (MenuNamesEqual): new functor
1473         (hasMenu): use it, and make function const
1474         (hasSubmenu): use nested bind to get rid of compare_memfun.
1476 2004-01-30  André Pönitz  <poenitz@gmx.net>
1478         * BufferView_pimpl.C:
1479         * cursor.C:
1480         * cursor.h:
1481         * cursor_slice.[Ch]:
1482         * lyxfunc.C:
1483         * lyxtext.h:
1484         * paragraph_funcs.C:
1485         * paragraph_funcs.h:
1486         * rowpainter.C:
1487         * text.C:
1488         * text2.C:
1489         * text3.C: move some of the edit(x,y) handling to the insets
1490         some coordinate changes.
1492 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1494         * text.C: add using statements for std::advance and std::distance
1496         * paragraph.C: add using statement for std::distance
1498         * lyxfind.C: add using statement for std::advance
1500         * cursor.C (region): remove std:: from swap
1501         (openable): use nucleus in stead of operator->
1503         * BufferView.C: add using statements for std::distance and std::swap
1505 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1507         * iterators.C: Remove the pimple, move the needed structures to
1508         the header file. Create accessor for the positions stack.
1509         (asPosIterator): remove function
1511         * PosIterator.C (PosIterator): move constructors to top of file
1512         (PosIterator): reimplement the constructor taking a ParIterator in
1513         terms of setFrom.
1514         (setFrom): new function
1515         (operator!=): inline it
1517 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1519         * lyxfind.C (replaceAll): use std::advance
1521         * iterators.h: inherit from std::iterator.
1523         * PosIterator.C (advance, distance): remove
1524         * PosIterator.h: interit from std::iterator.
1526 2004-01-26  André Pönitz  <poenitz@gmx.net>
1528         * BufferView.[Ch]:
1529         * BufferView_pimpl.[Ch]:
1530         * InsetList.[Ch]:
1531         * PosIterator.[Ch]:
1532         * buffer.h:
1533         * bufferview_funcs.C:
1534         * cursor.[Ch]:
1535         * cursor_slice.h:
1536         * factory.[Ch]:
1537         * iterators.[Ch]:
1538         * lyxfind.C:
1539         * lyxfunc.C:
1540         * lyxtext.h:
1541         * output_docbook.C:
1542         * output_latex.C:
1543         * output_linuxdoc.C:
1544         * output_plaintext.C:
1545         * paragraph.[Ch]:
1546         * paragraph_funcs.[Ch]:
1547         * paragraph_pimpl.[Ch]:
1548         * rowpainter.C:
1549         * tabular.C:
1550         * tabular.h:
1551         * text.C:
1552         * text2.C:
1553         * text3.C: more IU:  dumps most of the rest of the mathcursor
1554     implementation into cursor.[Ch]; "globalize" a bit of it.
1556 2004-01-25  Angus Leeming  <leeming@lyx.org>
1558         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1560 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1562         * LaTeXFeatures.h: add nice_ and nice() const
1563         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1565 2004-01-20  André Pönitz  <poenitz@gmx.net>
1567         * BufferView.[Ch]:
1568         * BufferView_pimpl.C:
1569         * PosIterator.C:
1570         * bufferview_funcs.C:
1571         * cursor.[Ch]:
1572         * cursor_slice.[Ch]:
1573         * factory.C:
1574         * iterators.C:
1575         * lyx_cb.C:
1576         * lyxfind.C:
1577         * lyxfunc.C:
1578         * lyxtext.h:
1579         * rowpainter.C:
1580         * text.C:
1581         * text2.C:
1582         * text3.C:
1583         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1584           LCursor and mathcursor parts to LCursor and InsetBase.
1586 2004-01-15  André Pönitz  <poenitz@gmx.net>
1588         * cursor_slice.[Ch]: add a few covienience functions
1590         * funcrequest.[Ch]: remove BufferView * member
1592         * BufferView_pimpl.C:
1593         * cursor.C:
1594         * factory.[Ch]:
1595         * lyxfind.[Ch]:
1596         * lyxfunc.C:
1597         * lyxtext.h:
1598         * text3.C:
1599         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1601 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1603         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1604         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1606 2004-01-13  André Pönitz  <poenitz@gmx.net>
1608         * textcursor.[Ch]:
1609         * lyxtext.h: hide cursor and selection anchor behind accessor function
1611         * BufferView.C:
1612         * BufferView_pimpl.[Ch]:
1613         * PosIterator.C:
1614         * bufferview_funcs.C:
1615         * cursor.h:
1616         * lyxfind.C:
1617         * lyxfunc.C:
1618         * text.C:
1619         * text2.C:
1620         * text3.C:
1621         * undo.C: adjust
1623         * cursor.h:
1624         * cursor_slice.[Ch]: some integer type changes for inset unification
1626         * lyxcursor.[hC]: remove, it's CursorSlice now.
1628         * Makefile.am:
1629         * BufferView_pimpl.[Ch]:
1630         * bufferview_funcs.C:
1631         * cursor_slice.C:
1632         * lyxtext.h:
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * textcursor.[Ch]: adjust
1638 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1640         * text2.C (undoSpan): add and use
1641         * text.C (breakParagraph): use undoSpan (fix bug 578)
1642         * lyxtext.h: adjust
1644 2004-01-08  Angus Leeming  <leeming@lyx.org>
1646         * BufferView_pimpl.C (MenuInsertLyXFile):
1647         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1648         * lyxfunc.C (menuNew, open, doImport):
1649         FileFilterList change to the FileDialog open and save functions.
1651 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1653         * ShareContainer.h: make isEqual and isUnique adaptable
1655         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1657 2004-01-07  Angus Leeming  <leeming@lyx.org>
1659         * LyXAction.C:
1660         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1662         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1664         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1665         functions replacing find, replace and replaceAll.
1667         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1668         LFUN_WORDFIND(FORWARD|BACKWARD).
1670 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1672         * text.C (breakParagraph): remove an outdated #warning
1674 2004-01-07  André Pönitz  <poenitz@gmx.net>
1676         * lyxfind.C: somewhat clearer logic
1678         * text.C: prevent crash in cursorX on unitialized row cache
1680 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1682         * lyxcursor.[Ch] (operator>): add
1683         * textcursor.C (selStart, selEnd): use std::min and std::max
1685 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1687         * Chktex.C: include boost/format.hpp
1689 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1691         * InsetList.C: replace functor MathcIt with adaptable functor
1692         InsetTablePosLess
1693         (insetIterator): modify accordingly
1695         * BranchList.h: move the BranchNamesEqual functor here from...
1696         * BranchList.C: ... to here
1698         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1699         SameName and match.
1700         (add): replace a finding loop with std::find_if.
1702 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1704         * output_docbook.C: moving LatexParam functionality into
1705         .layout files
1707 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1709         * buffer.C: increment format to 229.
1711 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1713         * LaTeXFeatures.C:
1714         * lyx_sty.[Ch]: remove minipageindent_def
1716         * LyXAction.C:
1717         * factory.C:
1718         * lfuns.h:
1719         * lyxfunc.C:
1720         * text3.C: remove LFUN_INSET_MINIPAGE
1722 2003-12-28  Angus Leeming  <leeming@lyx.org>
1724         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1726 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1728         * text2.C (setParagraph): fix off-by-one crash
1730 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1732         * output_docbook.C: header stuff for AGU
1734 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1736         * text2.C (redoCursor): remove
1737         * text.C:
1738         * text3.C:
1739         * BufferView_pimpl.C: remove calls to redoCursor and
1740         setCursor(cursor.par(), cursor.pos()) all around
1742 2003-12-15  Angus Leeming  <leeming@lyx.org>
1744         * buffer.C: up the format to 228.
1746 2003-12-15  André Pönitz  <poenitz@gmx.net>
1748         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1749         slices
1751         * Makefile.am:
1753         * BufferView_pimpl.C:
1754         * cursor.[Ch]:
1755         * lyxcursor.[Ch]:
1756         * rowpainter.[Ch]:
1757         * lyxtext.h:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: adjust
1762 2003-12-15  Angus Leeming  <leeming@lyx.org>
1764         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1765         than getFromGUIName to manipulate the color.
1767 2003-12-14  Angus Leeming  <leeming@lyx.org>
1769         * BranchList.[Ch]: minimize the API.
1770         (Branch::getBranch, getColor): now return a 'const &'.
1771         (Branch::setSelected) now returns a bool set to true if the
1772         selection status changes.
1773         (BranchList::clear, size, getColor, setColor, setSelected,
1774         allBranches, allSelected, separator): removed.
1775         (BranchList::find): new functions, returning the Branch with
1776         the given name.
1777         (BranchList::add, remove): return a bool indicating that
1778         the operation was successful.
1780         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1781         new InsetBranch::isBranchSlected member function.
1783         * LColor.[Ch]: mimimize the API.
1784         (fill): renamed as addColor and made private.
1785         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1786         versions of these functions taking a string arg have been removed.
1788         * bufferparams.C (readToken):
1789         * lyxfunc.C (dispatch):
1790         * lyxrc.C (read): changes due to the altered BranchList and
1791         LColor APIs.
1793         * factory.C (createInset, readInset): changes due to altered
1794         InsetBranch c-tor.
1796 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1798         * factory.C:
1799         * lyxfunc.C: remove insetminipage. "minipage-insert"
1800         now produces a frameless minipage box inset.
1802 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1804         * textcursor.[Ch] (selStart,selEnd): add new methods
1805         remove selection::start, end, use LyXCursor::operator<
1806         * lyxcursor.[Ch] (operator<): add
1807         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1808         * BufferView.[Ch] (unsetXSel): add
1809         * text2.C (clearSelection): use unsetXSel,adjust
1810         * text.C: adjust
1811         * text3.C: adjust
1812         * rowpainter.C: adjust
1813         * bufferview_funcs.C (put_selection_at): adjust
1815 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1817         * BufferView_pimpl.C: small coord. correction
1819 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1821         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1822         dragging over the splash screen.
1824 2003-12-11  Angus Leeming  <leeming@lyx.org>
1826         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1827         as it is now handled in LyXText::dispatch.
1829         * text3.C (doInsertInset): remove a level of nesting.
1831 2003-12-11  Angus Leeming  <leeming@lyx.org>
1833         * factory.C (createInset): changes due to the changed interface to
1834         InsetCommandMailer::string2params.
1836 2003-12-10  Angus Leeming  <leeming@lyx.org>
1838         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1839         'dialog-show-new-inset <inset name>'
1841 2003-12-10  Angus Leeming  <leeming@lyx.org>
1843         * buffer.C: up the format to 227.
1845         * factory.C: the box inset is now identified simply by 'Box'.
1847 2003-12-10  Angus Leeming  <leeming@lyx.org>
1849         * buffer.C: up the format to 226.
1851         * factory.C: the note inset is now identified simply by 'Note'.
1853 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1855         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1856         when a pit is enough. Standarize a couple of loops.
1858 2003-12-05  Angus Leeming  <leeming@lyx.org>
1860         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1861         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1862         data to the re-worked "log" dialog.
1864 2003-12-03  André Pönitz  <poenitz@gmx.net>
1866         * PosIterator.C:
1867         * iterators.C:
1868         * lyxtext.h:
1869         * output_latex.C:
1870         * paragraph_funcs.C:
1871         * text.C:
1872         * text2.C: use Inset::getText instead of Inset::getParagraph
1874 2003-12-03  André Pönitz  <poenitz@gmx.net>
1876         * buffer.[Ch]:
1877         * lyxtext.h:
1878         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1879         InsetText::read() as LyXText::read()
1881 2003-12-02  Angus Leeming  <leeming@lyx.org>
1883         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1884         type. Add a comment in the implementation that the function uses
1885         the stream's bad() function rather than fail() as the std::streams
1886         would do.
1888 2003-12-02  André Pönitz  <poenitz@gmx.net>
1890         * lyxlex.[Ch]: make interface more similar to std::stream
1892         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1894 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1896         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1898 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1900         * vspace.[Ch]: remove VSpace::NONE
1902 2003-12-01  André Pönitz  <poenitz@gmx.net>
1904         * buffer.[Ch]:
1905         * lyxtext.h: move ParagraphList member to LyXText
1906         rename LyXText::ownerParagraphs to LyXText::paragraph
1908         * CutAndPaste.C:
1909         * bufferview_funcs.C:
1910         * iterators.[Ch]:
1911         * lyx_cb.C:
1912         * paragraph.C:
1913         * rowpainter.C:
1914         * tabular.C:
1915         * text.C:
1916         * text2.C:
1917         * text3.C: adjust
1919         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1921         * undo.C: fix cursor positioning
1923 2003-12-01  John Levon  <levon@movementarian.org>
1925         * BufferView_pimpl.C: fix a crash on exit with
1926         a buffer open
1928 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1930         * BranchList.C: fix setSelected() method.
1932 2003-11-28  André Pönitz  <poenitz@gmx.net>
1934         * ParagraphParameters.[Ch]:
1935         * ParameterStruct.h: remove space above/below from Paragraph to
1936          InsetVSpace
1938         * BufferView_pimpl.C:
1939         * factory.C:
1940         * lyxfunc.C:
1941         * lyxtext.h:
1942         * output_latex.C:
1943         * paragraph.C:
1944         * paragraph_funcs.C:
1945         * rowpainter.[Ch]:
1946         * text.C:
1947         * text2.C:
1948         * text3.C: adjust
1950 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1952         * factory.C: Syntax change for CharStyles
1954 2003-11-28  André Pönitz  <poenitz@gmx.net>
1956         * BufferView.[Ch]:
1957         * BufferView.[Ch]:
1958         * buffer.[Ch]:
1959         * buffer.[Ch]: move LyXText member
1961 2003-11-28  André Pönitz  <poenitz@gmx.net>
1963         * BufferView.[Ch]: make LyXText * text a private member
1965         * BufferView_pimpl.C:
1966         * cursor.C:
1967         * iterators.C:
1968         * lyx_cb.C:
1969         * lyxfind.C:
1970         * lyxtext.h:
1971         * rowpainter.[Ch]:
1972         * text.C:
1973         * text2.C:
1974         * undo.C: adjust
1976         * output_plaintext.C: cleanup
1978 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1980         * buffer.C:
1981         * lyxtextclass.[Ch]: parametrize SGML document header
1983 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1985         * converter.[Ch]:
1986         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1987         getFlavor().
1989 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1991         * text2.C (setFont): rework using PosIterator (no more recursive)
1992         (setCharFont): no more needed
1993         (setLayout): no more selection cursors fiddling (done by redoCursor)
1994         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1995         destroy remaining ones)
1997 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1999         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2000         * lyxtext.h: ditto
2001         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2002         selection cursors
2003         * lyxfunc.C: adjust
2004         * text3.C: adjust + re-allow multi par depth changes
2005         * textcursor.C: simplify a bit
2007 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2009         * src/buffer.C:
2010         * src/lyxlayout.C:
2011         * src/lyxlayout.h:
2012         * src/lyxtext.h:
2013         * src/output_docbook.C:
2014         * src/output_latex.C:
2015         * src/paragraph.C:
2016         * src/paragraph.h:
2017         * src/sgml.C:
2018         * src/sgml.h:
2019         * src/text2.C: Introducing a number of tags parametrizing various
2020         XML formats that we may want to support
2022 2003-11-25  André Pönitz  <poenitz@gmx.net>
2024         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2026         * lyxtext.h (leftMargin/rightMargin): simplify interface
2028         * rowpainter.C:
2029         * text.C:
2030         * text2.C:
2031         * text3.C: adjust
2033 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2035         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2036         master file to any child files. Fixes bug 546.
2038 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2040         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2042 2003-11-24  André Pönitz  <poenitz@gmx.net>
2044         * rowpainter.C: simplification
2046         * text2.C (updateCounters): remove call to redoParagraph on
2047         changed labels as this is far too expensive.
2049 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2051         * converter.C (convert): fix a crash: this function gets
2052         called with buffer == 0 from importer code.
2054 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2056         * text3.C (cursorPrevious): make sure that we do not compare
2057         iterators form different containers.
2058         (cursorNext): ditto
2060         * rowpainter.C (paintSelection): make sure that we do not compare
2061         iterators from different containers.
2063         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2064         iterators from different ParagraphList containers.
2065         [NEXT] ditto
2067         * text2.C (LyXText): change order of initialization slightly
2068         (operator=): new function. copy all variables except cache_par_
2069         (moveUp): make sure that we do not compare iterators from
2070         different ParagraphList constainers.
2071         (moveDown): ditto
2073         * text.C (firstPar): new function
2074         (lastPar): new function
2075         (endPar): new function
2077         * lyxtext.h: move things around and group public functions, public
2078         variables, private functions, private variables
2080 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2082         * factory.C: change call to InsetERT constructor to avoid
2083         additional invocation of method status
2084         * text2.C (toggleInset): remove redundant update() call
2085         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2086         instead of a Bufferview pointer
2088 2003-11-21  André Pönitz  <poenitz@gmx.net>
2090         * rowpainter.C: simplification
2092 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2094         * text3.C (dispatch): make possible to extend a word/row selection
2095         with the mouse
2097 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2099         * lyxtext.h: x0_,y0_ -> xo_,yo_
2100         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2101         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2102         * rowpainter.C (paintRows): paint full paragraphs
2104 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2106         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2107         screen coordinates)
2109 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2111         * lyxtext.h: add x0_, y0_
2112         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2113         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2115 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2117         * text2.C (setCursorIntern): move the x_target update here *
2118         * text3.C: change some bv() to true/false in calls to
2119         cursorUp/Down/Right/Left
2120         * cursor.C: use helper function.
2122 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2124         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2125         * paragraph_funcs.[Ch]: correct comment
2126         * rowpainter.C: do not paint selections away from bv->cursor()
2127         Fix a long standing selection painting bug.
2128         * text3.C: generalize mouse-selection code to LyXTexts other that
2129         top one
2130         * textcursor.C: do not use y coords if we can use par offsets
2132 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2134         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2135         cursor position after e.g. inset insert)
2137 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2139         * lyxfind.C (replace): adjust to locking removal + some
2140         code simplification
2142 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2144         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2145         of the path
2147 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2149         * lyxlayout.[Ch]:
2150         * output_docbook.C: XML sanitation: new layout
2151         parameters InnerTag and CommandDepth
2153 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2155         * BufferView_pimpl.C:
2156         * factory.C:
2157         * text3.C: Fix the insertion and modification of button-style
2158         insets
2160 2003-11-13  André Pönitz  <poenitz@gmx.net>
2162         * InsetList.[Ch]: remove deleteLyXText
2164         * paragraph.[Ch]: cache beginOfBody position
2166         * Bidi.C:
2167         * text.C:
2168         * text2.C:
2169         * text3.C: remove superfluous update() calls
2171         * vspace.C: cleanup
2173 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2175         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2176         * BufferView.C (fitLockedInsetCursor): remove
2177         * cursor.[Ch] (getDim): add
2178         * text.C (getRowNearY): add faster version
2179         * text3.C: remove some update calls
2181 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2183         * LaTeXFeatures.C:
2184         * LyXAction.C:
2185         * MenuBackend.C:
2186         * MenuBackend.h:
2187         * dispatchresult.h:
2188         * factory.C:
2189         * lfuns.h:
2190         * lyxfunc.C:
2191         * lyxtextclass.C:
2192         * lyxtextclass.h:
2193         * text3.C: The Character Style /XML short element patch.
2195 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2197         * text3.C:
2198         * factory.C: Small step to solving 'unable to insert some insets'
2199         problem
2201 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2203         * cursor.[Ch] (updatePos): new function for updating the y
2204         position of the tip inset
2205         * bufferview_funcs.C (put_selection_at):
2206         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2208 2003-11-11  André Pönitz  <poenitz@gmx.net>
2210         * text.C: remove big comment on invalid Paragraph pointers as it is
2211         not valid anymore
2213 2003-11-11  André Pönitz  <poenitz@gmx.net>
2215         * text_funcs.[Ch]: merge with ...
2217         * text.C: ... this
2219         * lyxtext.h:
2220         * text2.C:
2221         * text3.C: adjust
2223         * Makefile.am: remove text_funcs.[Ch]
2225 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2227         * cursor.C (getPos): return absolute cached y coord
2229         * BufferView_pimpl.C (fitCursor): new simplistic code
2230         (workAreaDispatch): add a fitCursor call
2232 2003-11-10  André Pönitz  <poenitz@gmx.net>
2234         * BufferView.[Ch]:
2235         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2237 2003-11-10  André Pönitz  <poenitz@gmx.net>
2239         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2240         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2241         indicate that the cursor needs to leave an inset
2243         * lyxtext.h: remove inset locking
2245         * cursor.[Ch]: re-implement functionality provided by inset locking
2247         * BufferView.[Ch]:
2248         * BufferView_pimpl.[Ch]:
2249         * LyXAction.C:
2250         * bufferview_funcs.[Ch]:
2251         * factory.C:
2252         * funcrequest.[Ch]:
2253         * iterators.C:
2254         * lyx_cb.C:
2255         * lyxfind.C:
2256         * lyxfunc.C:
2257         * text.C:
2258         * text2.C:
2259         * text3.C:
2260         * undo.C: adjust
2262 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2264         * PosIterator.[Ch]: replace the stack with a vector, add inset
2265         accesor
2266         * iterators.[C]: adjust
2268 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2270         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2271         replaced
2272         * paragraph_funcs.C (readParToken): put the correct id in the
2273         error item, not the id of the top paragraph
2275 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2277         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2278         * bufferview_funcs.C (put_selection_at): use the above
2280 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2282         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2284 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286         * output_linuxdoc.h:
2287         * output_plaintext.h:
2288         * output.h:
2289         * output_docbook.h: add #include statements
2291 2003-11-05  José Matos  <jamatos@lyx.org>
2293         * output_docbook.[Ch]:
2294         * output_latex.[Ch]:
2295         * output_linuxdoc.[Ch]:
2296         * output_plaintext.[Ch]: New files for output formats.
2297         * output.[Ch]: New file for helper functions.
2299         * buffer.[Ch]:
2300         * paragraph_funcs.[Ch]: output functions moved to new files.
2302         * outputparams.h: rename of latexrunparams.h
2304         * LaTeX.[Ch]:
2305         * buffer.[Ch]:
2306         * bufferlist.[Ch]:
2307         * converter.[Ch]:
2308         * exporter.C:
2309         * paragraph.[Ch]:
2310         * paragraph_funcs.[Ch]:
2311         * paragraph_pimpl.[Ch]:
2312         * tabular.[Ch]: rename ascii to plaintext
2313         and LatexRunParams to OutputParams.
2315 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2317         * iterators.[Ch] (text): require bv argument
2318         * undo.C (recordUndo):
2319         * lyxfunc.C (dispatch):
2320         * bufferview_funcs.C (put_selection_at): adjust
2322 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2324         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2326 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2328         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2329         nestings
2331 2003-11-04  André Pönitz  <poenitz@gmx.net>
2333         * cursor.[Ch]: restructure
2335         * BufferView.[Ch]:
2336         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2338         * iterators.[Ch] (asCursor): remove
2340         * lfuns.h: remove LFUN_INSET_EDIT
2342         * lyxfunc.C:
2343         * tabular.C:
2344         * text.C:
2345         * text2.C:
2346         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2348 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2350         * lyxfind.[Ch]: complete overhaul
2351         * BufferView_pimpl.C:
2352         * lyxfunc.C: adjust
2353         * paragraph.[Ch] (insert): add
2355 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2357         * BufferView.[Ch]:
2358         * lyxtext.h:
2359         * text.C: remove dead spellcheck code
2361 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363         * dispatchresult.h: add a val setter
2365         * cursor.C (dispatch): use a tempvar for data_[i]
2367 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2369         * PosIterator.[Ch]: compile fix
2371 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2373         * text.C (cursorPar): deactivate the cursor cache
2375 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2377         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2379 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381         * text3.C (dispatch): adjust for new DisptchResult semantics.
2383         * lyxfunc.C (dispatch): handle update when return from
2384         Cursor::dispatch, adjust for new DispatchResult semantics.
2386         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2387         DispatchResult(true) mean to not update. Add class functions for
2388         setting dispatched and update, as well as reading.
2390         * cursor.C (dispatch): don't handle update here
2392 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2395         * trans_mgr.C: adjust
2397         * paragraph_funcs.C (readParToken): exception safety
2399         * lyxvc.h: store the vcs pointer in a scoped_ptr
2400         * lyxvc.C: adjust
2402         * lyxsocket.C (serverCallback): exception safety
2404         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2406         * ispell.C (clone): make it return a auto_ptr
2408         * factory.C (createInset): exception safety
2409         (readInset): exception safety
2411         * bufferlist.C (newBuffer): exception safety
2413         * Thesaurus.C (Thesaurus): use initialization for aik_
2415         * MenuBackend.C (expandToc): exception safety.
2417 2003-11-03  André Pönitz  <poenitz@gmx.net>
2419         * buffer.C:
2420         * buffer.h:
2421         * bufferview_funcs.C: remove getInsetFromId()
2423         * lyxcursor.[Ch]:
2424         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2426         * lyxfunc.C:
2427         * text2.C:
2428         * text3.C: adjust
2430 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2432         * PosIterator.C (distance, advance): new
2433         * bufferview_funcs.[Ch] (put_selection_at): new
2434         * iterators.[Ch] (lockPath): new
2436 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2438         * iterators.[Ch] (asPosIterator): added
2439         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2440         * PosIterator.[Ch]: added
2442 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444         * text3.C:
2445         * lyxfunc.C:
2446         * cursor.C (dispatch):
2447         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2449         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2450         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2451         contructor, add a class function dispatched. Remove operator>=
2453 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2455         * debug.C: only use the default constructor for debugstream
2456         (lyxerr) here.
2458         * main.C (main): include debug.h and setup the lyxerr streambuf
2459         here.
2461 2003-10-31  José Matos  <jamatos@lyx.org>
2463         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2465         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2466         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2467         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2468         * paragraph_pimpl.C (simpleTeXSpecialC):
2469         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2470         add LatexRunParams argument.
2472         * exporter.C (Export): change call accordingly.
2474         * latexrunparams.h: add new member to take care of the other backends.
2475 2003-10-30  José Matos  <jamatos@lyx.org>
2477         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2478         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2479         factorise code for paragraph output.
2480         * buffer.[Ch]:
2481         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2482         move functions.
2484 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486         * text3.C (dispatch):
2487         * lyxfunc.C (dispatch):
2488         * cursor.C (dispatch):
2489         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2491         * dispatchresult.h: make the dispatch_result_t ctor explicit
2493 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2495         * sgml.[Ch]:
2496         * buffer.C: small refactoring of docbook stuff
2498 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2501         meaning.
2503 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2506         operator dispatch_result_t, and operators for == != and >=
2508         * cursor.C (dispatch): adjust for operator dispatch_result_t
2509         removal. comment out call to update
2511         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2513 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515         * text3.C:
2516         * text2.C:
2517         * text.C:
2518         * lyxtext.h:
2519         * lyxfunc.C:
2520         * cursor.C:
2521         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2522         (dispatch):
2524         * dispatchresult.h: new file, DispatchResult broken out of
2525         insets/insetbase.h
2527         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2529 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2531         * text.C (rowBreakPoint): put a hack inside #if 0
2533 2003-10-28  André Pönitz  <poenitz@gmx.net>
2535         * lyxtext.h:
2536         * metricsinfo.C:
2537         * paragraph_funcs.C:
2538         * rowpainter.C:
2539         * text.C:
2540         * text2.C: general cleanup (lots of small stuff)
2542 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2544         * text2.C (cursorEnd): simple fix to the "end key goes to one
2545         before the end on last row" bug
2547 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2549         * text.C (backspace): fix the "zombie characters"
2551 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2553         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2555 2003-10-27  André Pönitz  <poenitz@gmx.net>
2557         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2559         * factory.C: handle new InsetPagebreak, InsetLine
2561         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2562         and move handling into new InsetPagebreak, InsetLine
2564         * BufferView_pimpl.C:
2565         * LyXAction.C:
2566         * ParagraphParameters.C:
2567         * ParameterStruct.h:
2568         * lyxfunc.C:
2569         * lyxtext.h:
2570         * paragraph.C:
2571         * paragraph.h:
2572         * paragraph_funcs.C:
2573         * paragraph_pimpl.C:
2574         * rowpainter.C:
2575         * text.C:
2576         * text2.C:
2577         * text3.C: adjust
2579 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2581         * text.C:
2582         * lyxrow_funcs.[Ch]:
2583         * Bidi.C:
2584         * paragraph.C:
2585         * lyxtext.h:
2586         * rowpainter.C:
2587         * text2.C:
2588         * text3.C: remove lastPos uses in favour of Row::endpos
2590 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2592         * undo.C (performUndoOrRedo): fix two crashes by setting a
2593         cursor by hand and reordering some calls. Use bv->lockInset instead
2594         of inset->edit because the latter loses cursor information
2596 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2598         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2599         by Martin
2600         (rowBreakPoint): fix width. change point to point + 1.
2601         Add a missing check.
2603 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2605         * MenuBackend.C:
2606         * lyxfunc.C: fix (at least partly) the problems
2607         with the Nav menu and headers inside branch insets
2608         reported by Kayvan
2610 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2612         * paragraph.C (getChar): add strong asserts
2614         * lyxrow_funcs.C (lastPos): remove hideous hack
2616         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2617         (fill): adjust to that (avoid an infinite loop)
2619 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2621         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2623 2003-10-23  André Pönitz  <poenitz@gmx.net>
2625         * RowList_fwd.h: change list<> to vector<> to gain speed
2626         after suggestion from Alfredo
2628 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2630         * lyxtext.h: move the bidi stuff from here...
2631         * text.C: and here
2632         * text2.C: and here
2633         * Bidi.[Ch]: ... to here
2635 2003-10-23  André Pönitz  <poenitz@gmx.net>
2637         * lyxtext.h:
2638         * text.C (isLastRow, isFirstRow): new functions
2640         * paragraph.h: new width cache member
2642         * rowpainter.C: replace RowList::iterator with Row & where possible
2644         * lyxfunc.C: replace several view()->text with a single call
2646         * toc.C: fix 'unused' warning
2648 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2651         when woring with stream::pos_type
2652         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2654 2003-10-22  André Pönitz  <poenitz@gmx.net>
2656         * lyxtext.h:
2657         * text.C: use Row & instead of RowList::iterator
2659         * lyxrow.h: rename end() to endpos()
2661         * rowpainter.C:
2662         * text.C:
2663         * text2.C: adjust
2665 2003-10-22  Angus Leeming  <leeming@lyx.org>
2667         * buffer.[Ch] (fully_loaded): new member function, returning true
2668         only when the file has been loaded fully.
2669         Used to prevent the premature generation of previews and by the
2670         citation inset to prevent computation of the natbib-style label.
2672         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2673         templates are all set up.
2675         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2677 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2679         * text.C: fixed an "oops" in the "is a bit silly"
2680         bug fix
2682 2003-10-21  André Pönitz  <poenitz@gmx.net>
2684         * FuncStatus.[Ch]: small stuff, whitespace
2686         * lyxfont.[Ch]: operator<<() for debug reasons
2688         * lyxfunc.C:
2689         * lyxrow_funcs.C:
2690         * lyxtext.h: whitespace, spelling
2692         * paragraph.C: naming of variables
2694         * text.C:
2695         * text2.C: small stuff
2698 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2700         * text.C: (1) finish off the inset display() work;
2701         (2) fix the "is a bit silly" bug (accessing char
2702         past end of par).
2704 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2706         * text.C: re-introduce display() for insets, fixing the
2707         various bugs (stretch of line above, math inset
2708         positioning, ...)
2710 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2712         * text.C (rightMargin): remove spurious semicolon
2714         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2715         1415)
2717 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2719         * text3.C: fix one crash due to wrong cursor def
2721 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723         * vc-backend.C (scanMaster): make the regex static
2725         * LaTeX.C (scanAuxFile): make the regexs static
2727         * text3.C (doInsertInset, dispatch, dispatch):
2728         * text2.C (cursorUp, cursorDown):
2729         * text.C (selectNextWordToSpellcheck):
2730         * BufferView_pimpl.C (dispatch):
2731         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2733 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2735         * lyxsocket.C: include <cerrno>
2737 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739         * lyxfunc.C (dispatch): remove textcache stuff
2741         * bufferlist.C (release): remove textcache stuff
2742         (closeAll): ditto
2744         * TextCache.C: delete file
2745         * TextCache.h: delete file
2747         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2749         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2750         delete of the bv_->text.
2751         (resizeCurrentBuffer): remove texcache stuff
2752         (workAreaResize): ditto
2754 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2757         action.
2759 2003-10-16  André Pönitz  <poenitz@gmx.net>
2761         * lyxrow.[Ch]:
2762         * paragraph.h:
2763         * rowpainter.C:
2764         * text.C:
2765         * text2.C:
2766         * text3.C: speed up by storing y positions per paragraph plus per-row
2767         offset instead of having a 'full' y position in the row.
2769 2003-10-15  André Pönitz  <poenitz@gmx.net>
2771         * iterators.[Ch]:
2772         * iterators.[Ch]:
2773         * undo.[Ch]: make undo aware of inner insets
2775 2003-10-14  Angus Leeming  <leeming@lyx.org>
2777         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2778         static member functions LyX::ref() and LyX::cref.
2779         (lastfiles): new accessor functions for the new lastfiles_ member var.
2780         (addLyXView, views_): add a new LyXView to the list of views_.
2781         (updateInset): loop over all LyXViews to call their own updateInset
2782         member function, returning a pointer to the Buffer owning the inset.
2784         * BufferView_pimpl.C (loadLyXFile):
2785         * MenuBackend.C (expandLastfiles):
2786         * bufferlist.C (MenuWrite, QuitLyX):
2787         lastfiles is no longer a global variable.
2788         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2790         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2791         static function. Access through LyX::cref().emergencyCleanup().
2793 2003-10-14  André Pönitz  <poenitz@gmx.net>
2795         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2797         * undo.[Ch]: restoring part of 'undo in insets'
2799         * Makefile.am:
2800         * undo_funcs.[Ch]: merge with undo.[Ch]
2802         * tabular.C: small cleansing stuff
2804 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2806         * paragraph_funcs.C (readParToken): report unknown insets as error
2807         boxes. Use the outer paragraph as location (also for unknown
2808         tokens).
2810         * factory.C (readInset): do not abort on reading an unknown inset.
2811         Eat it and return 0.
2813 2003-10-13  Angus Leeming  <leeming@lyx.org>
2815         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2817         * lyxrc.C: displayTranslator is now a function,
2818         declared in GraphicsTypes.h.
2820 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2822         * format.C: new placeholder $$a to pass the socket address.
2824         * bufferlist.[Ch]: new function getBufferFromTmp.
2826         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2827           files in the temporary dir.
2829 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2831         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2833         * Makefile.am: add lyxsocket.[Ch].
2835         * lyx_main.C (error_handler): handle SIGPIPE.
2837 2003-10-13  André Pönitz  <poenitz@gmx.net>
2839         * BufferView_pimpl.C:
2840         * lyxtext.h:
2841         * text.C:
2842         * text2.C:
2843         * text3.C:
2844         * undo_funcs.[Ch]: use paroffset_type instead of
2845           ParagraphList::iterators to prevent multiple conversion
2846           (and get a more robust interface)
2848 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2851         * lyxtext.h: ditto
2852         * text3.C (dispatch): ditto
2854 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2857         move the onlyfile, use onlyfile instead of foundfile in a couple
2858         of places.
2860         * DepTable.C (update): flush the error stream a bit more
2862 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864         * lyxserver.C (callback): adjust
2866         * lyxfunc.C (getStatus): add a missing brace in commented code
2867         (ensureBufferClean): reindent
2868         (dispatch): delete version taking a string
2870 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872         * LaTeX.C (deplog): move found file handlig from here...
2873         (handleFoundFile): .. to new function here.
2874         (deplog): make sure to discover several files mentioned on the
2875         same log line.
2877 2003-10-10  André Pönitz  <poenitz@gmx.net>
2879         * lyxfunc.C:
2880         * lyxtext.h:
2881         * tabular.C:
2882         * text.C:
2883         * text2.C:
2884         * text3.C: fix some of the tabular crashes
2886 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2888         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2890         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2892 2003-10-09  André Pönitz  <poenitz@gmx.net>
2894         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2896         * BufferView.C:
2897         * BufferView_pimpl.C:
2898         * bufferview_funcs.C:
2899         * lyx_cb.C:
2900         * lyxcursor.C:
2901         * lyxfind.C:
2902         * lyxfunc.C:
2903         * lyxtext.h:
2904         * text.C:
2905         * text2.C:
2906         * text3.C:
2907         * text_funcs.[Ch]:
2908         * textcursor.[Ch]:
2909         * undo_funcs.C: adjust
2911 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913         * text2.C (incrementItemDepth): new function, use a backtracking
2914         algorithm to discover the correct item depth.
2915         (resetEnumCounterIfNeeded): new function, use a backtracking
2916         algorithm to discover if counter reset is needed.
2917         (setCounter): use them. Simplify a bit. Add different labels for
2918         different item depths for itemize.
2920         * paragraph.C (Paragraph): remove initialization of enumdepth
2921         (operator=): ditto
2923         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2924         enumerate and itemize. Change the type of itemdepth to signed char.
2926 2003-10-08  André Pönitz  <poenitz@gmx.net>
2928         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2929           thing assignable.
2930         * text.C:
2931         * text2.C: adjust
2933         * tabular.[Ch]: fix crash after 'row-insert'
2935 2003-10-08  Angus Leeming  <leeming@lyx.org>
2937         Fix doxygen warnings.
2939         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2940         Remove CutAndPaste:: prefix from header file declaration.
2942         * LColor.h (fill): remove LColor:: prefix from declaration.
2944         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2945         use lyx::depth_type rather than Paragraph::depth_type so that
2946         header file and .C file match.
2948         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2950         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2951         * aspell.C: \file aspell_local.C -> \file aspell.C
2952         * gettext.C: \file gettext.C -> \file src/gettext.C
2953         * gettext.h: \file gettext.h -> \file src/gettext.h
2954         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2955         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2956         * text.C: \file text.C -> \file src/text.C
2958         * toc.C: move comment so that doxygen is not confused.
2960 2003-10-07  Angus Leeming  <leeming@lyx.org>
2962         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2964 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2966         * aspell.C:
2967         * aspell_local.h: add forgotten std::string's.
2969 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2971         * LaTeXFeatures.C:
2972         * LyXAction.C:
2973         * factory.C:
2974         * lfuns.h:
2975         * lyxfunc.C:
2976         * text3.C: The Box patch. Fancybox support, minipage, parbox
2978 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2980         * CutAndPaste.h:
2981         * DepTable.h:
2982         * FloatList.h:
2983         * LaTeXFeatures.h:
2984         * ParagraphParameters.h:
2985         * TextCache.h:
2986         * Thesaurus.h:
2987         * bufferlist.h:
2988         * exporter.h:
2989         * importer.h:
2990         * lastfiles.h:
2991         * lyxfind.h:
2992         * lyxfont.h:
2993         * lyxlex.h:
2994         * lyxtextclasslist.h:
2995         * messages.h:
2996         * paragraph.h:
2997         * paragraph_pimpl.C:
2998         * textcursor.h: add <string> and other small fixes to make Lars'
2999         std::string patch compile with STLport.
3001 2003-10-06  Angus Leeming  <leeming@lyx.org>
3003         * LColor.h: Add missing #include <string>.
3005 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007         * All most all file in all subdirs: Make <string> be the prefered
3008         way of getting to std::string, add using declarations.
3010 2003-10-06  André Pönitz  <poenitz@gmx.net>
3012         * metricsinfo.C: initialize LyXFont before changing attribute.
3013         (fixes the 'math in \emph is upright' bug)
3015 2003-10-06  André Pönitz  <poenitz@gmx.net>
3017         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3019 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3021         * graph.C:
3022         * paragraph_pimpl.C: Small fixes to build using STLport
3024 2003-10-02  André Pönitz  <poenitz@gmx.net>
3026         * lyxfunc.C:
3027         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3029 2003-10-01  André Pönitz  <poenitz@gmx.net>
3031         * factory.C: assert early
3033 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3035         * lyx_main.C: remove the global debug object
3037         * debug.h: adjust for new debugstream
3039         * debug.C: adjust for new debugstream and keep the global debug
3040         object here.
3042 2003-09-22  Angus Leeming  <leeming@lyx.org>
3044         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3045         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3046         an incomplete class LyXFont.
3048 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3050         * factory.C: bug fix in branches
3052 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054         * lyxfunc.C (processKeySym): adjust
3055         (dispatch): adjust
3056         (dispatch): change arg name from ev to func, adjust
3057         (sendDispatchMessage): ditto
3059         * lyx_main.C (defaultKeyBindings): adjust keybindings
3060         (deadKeyBindings): ditto
3062         * kbsequence.C (addkey): return a FuncRequest
3064         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3066         * kbmap.C (bind): take a FuncRequest as arg, adjust
3067         (read): adjust
3068         (lookup): adjust
3069         (defkey): change to take a FuncRequest as arg, adjust
3070         (findbinding): take a FuncRequest as arg, adjust.
3072         * funcrequest.h (operator=): added
3074         * funcrequest.C (FuncRequest): default kb_action changed from
3075         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3077         * buffer.C (dispatch): simplify
3078         (dispatch): adjust to take a FuncRequest as arg, adjust
3080         * boost.C (assertion_failed): change assertion message slightly
3082         * ToolbarBackend.C (read): simplify
3084         * MenuBackend.C (binding): adjust call to findbinding, add a
3085         message if no binding is found.
3086         (read): simplify
3087         (expandToc): correct by adding a empty FuncRequest
3089         * LyXAction.C: include <boost/assert.hpp>
3090         (isPseudoAction): delete function
3091         (LookupFunc): change name to...
3092         (lookupFunc): this. change return type to FuncRequest.
3093         (getActionName): take kb_action as arg, simplify
3094         (funcHasFlag): add an assert, simplify.
3096 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098         * toc.C (action): return a FuncRequest, simplify
3100         * lyxfunc.C (processKeySym): adjust
3101         (getStatus): delete version that takes an int.
3102         (getStatus): adjust
3103         (dispatch): delete version that takes action as int
3104         (dispatch): adjust
3105         (sendDispatchMessage): simplify and adjust
3107         * funcrequest.C (getArg): take unsigned int as arg
3109         * ToolbarBackend.C (read): adjust
3110         (add): delete version that takes func as a string.
3111         (getIton): take a FuncRequest as arg
3113         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3114         action.
3116         * MenuBackend.C (MenuItem): add a new construct that only takes a
3117         Kind, simplify the constructor use for submenus.
3118         (add): adjust
3119         (expandLastfiles): adjust
3120         (expandDocuments): adjust
3121         (expandFormats): adjust
3122         (expandFloatListInsert): adjust
3123         (expandFloatInsert): adjust
3124         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3126         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3127         Remove class variables lyx_pseudo_map and lyx_arg_map
3129         * LyXAction.C (searchActionArg): delete function
3130         (getPseudoAction): delete function
3131         (retrieveActionArg): delete function
3132         (LookupFunc): make it return kb_action, simplify.
3133         (getActionName): simplify
3135         * factory.C (createInset): fix new bug
3137 2003-09-19  Angus Leeming  <leeming@lyx.org>
3139         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3140         masterFilename_ parameter in the include inset.
3142         * factory.C (createInset): changes due to the changes to InsetInclude.
3144 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3146         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3148 2003-09-18  Angus Leeming  <leeming@lyx.org>
3150         * buffer.C:
3151         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3152         Inset::fillWithBibKeys.
3153         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3155 2003-09-18  Angus Leeming  <leeming@lyx.org>
3157         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3158         variables.
3159         (ctor): pass and store a 'Buffer const &'
3160         (buffer): new member function.
3162         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3163         '*this' to the LaTeXFeatures ctor.
3165 2003-09-18  Angus Leeming  <leeming@lyx.org>
3167         * LColor.h:
3168         * lyxfont.C:
3169         * lyxfont.h:
3170         * lyxtext.h:
3171         * text.C: rename EnumLColor as LColor_color.
3173 2003-09-18  Angus Leeming  <leeming@lyx.org>
3175         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3176         remove #include "insets/insetbase.h" from cursor.h.
3178 2003-09-18  Angus Leeming  <leeming@lyx.org>
3180         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3181         InsetOld_code to remove #include "inset.h".
3183         * iterators.C: add #include "insets/inset.h"
3185 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3187         * BufferView.C: remove more locking stuff that apparently doesn't
3188         do anything sensible.
3190 2003-09-16  André Pönitz  <poenitz@gmx.net>
3192         * paragraph.[Ch]:
3193         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3194           performance boost.
3196 2003-09-16  Angus Leeming  <leeming@lyx.org>
3198         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3200         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3201         arg/return type.
3203         * paragraph.h: remove #include "lyxfont.h". Forward declare
3204         LyXFont_size.
3206 2003-09-16  Angus Leeming  <leeming@lyx.org>
3208         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3209         of support/textutils.h.
3210         (isWord): move the contents of support/textutils.h's IsWordChar here.
3212         * buffer.C:
3213         * lyxfind.C:
3214         * rowpainter.C:
3215         * text.C:
3216         * text2.C: add #include "paragraph.h".
3218         * rowpainter.C:
3219         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3221 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223         * main.C:
3224         * lyx_main.C:
3225         * lyx_cb.C:
3226         * buffer.C:
3227         * LaTeX.C: use namespace alias for lyx::support::os
3229 2003-09-16  Angus Leeming  <leeming@lyx.org>
3231         * bufferparams.C:
3232         * bufferview_funcs.C:
3233         * factory.C:
3234         * lyxfunc.C:
3235         * paragraph_pimpl.C:
3236         * rowpainter.C:
3237         * text.C: add #include "LColor.h".
3239 2003-09-16  Angus Leeming  <leeming@lyx.org>
3241         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3242         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3243         return LyXFont &.
3244         Store the FontBits::color variable as an int rather than as an
3245         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3246         file.
3248         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3249         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3250         string calls together.
3252         * lyxrc.C: add #include "LColor.h".
3254 2003-09-15  Angus Leeming  <leeming@lyx.org>
3256         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3257         a cow_ptr.
3259 2003-09-15  Angus Leeming  <leeming@lyx.org>
3261         * LColor.h: add an EnumLColor wrapper for LColor::color.
3263         * lyxfont.[Ch] (color, setColor, realColor):
3264         * lyxtext.h, text.C (backgroundColor):
3265         pass EnumLColor args to/from the functions, rather than LColor::color
3266         ones.
3268         * lyxfont.h:
3269         * lyxtext.h: forward declare EnumLColor.
3271         * lyx_main.C: add #include "LColor.h".
3273 2003-09-15  Angus Leeming  <leeming@lyx.org>
3275         * .cvsignore: add lyx-gtk.
3277 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279         * Chktex.C
3280         * LaTeX.C
3281         * LaTeXFeatures.C
3282         * ParagraphParameters.C
3283         * Spacing.C
3284         * buffer.C
3285         * bufferparams.C
3286         * bufferview_funcs.C
3287         * chset.C
3288         * counters.C
3289         * funcrequest.C
3290         * lyxfont.C
3291         * lyxgluelength.C
3292         * lyxlength.C
3293         * paragraph.C
3294         * paragraph_funcs.C
3295         * text3.C
3296         * vc-backend.C: remove usage of STRCONV
3298 2003-09-15  Angus Leeming  <leeming@lyx.org>
3300         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3301         explicitly define the color passed to the painter.
3303 2003-09-15  Angus Leeming  <leeming@lyx.org>
3305         * bufferparams.C (BufferParams): reorder member initializers to avoid
3306         compiler warning.
3308 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3310         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3311         * text.C (updateRowPositions): remove an unusual nop
3313 2003-09-12  André Pönitz  <poenitz@gmx.net>
3315         * BufferView_pimpl.C:
3316         * Bullet.C:
3317         * layout.h:
3318         * lyxfunc.C:
3319         * lyxlayout.[Ch]:
3320         * lyxtextclass.C:
3321         * rowpainter.C:
3322         * text.C:
3323         * text2.C:
3324         * Counters.[Ch]: finish the 'automatic counters' job
3326 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3328         * aspell.C: include <boost/assert.cpp> (compile fix)
3330 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3332         * boost.C (assertion_failed): use lyx::support::abort instead of
3333         assert.
3335 2003-09-10  Angus Leeming  <leeming@lyx.org>
3337         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3338         with their _fwd progeny.
3340 2003-09-09  Angus Leeming  <leeming@lyx.org>
3342         134 files throughtout the source tree: replace 'using namespace abc;'
3343         directives with the appropriate 'using abc::xyz;' declarations.
3345 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3347         * boost.C (emergencyCleanup): moved here from LAssert.c
3348         (assertion_failed): new function, called by BOOST_ASSERT
3350         * several files: change Assert to BOOST_ASSERT
3352 2003-09-09  Angus Leeming  <leeming@lyx.org>
3354         * buffer.[Ch]: Add an Impl class and move Buffer's member
3355         variables into it. As a result move several header files out of
3356         buffer.h.
3358         Add header files to lots of .C files all over the tree as a result.
3360 2003-09-09  Angus Leeming  <leeming@lyx.org>
3362         * buffer.[Ch]: make Buffer's member variables private. Add
3363         accessor functions.
3365         Lots of changes all over the tree as a result.
3367 2003-09-08  Angus Leeming  <leeming@lyx.org>
3369         * graph.C: #include <config.h>.
3371 2003-09-08  Angus Leeming  <leeming@lyx.org>
3373         * BranchList.C:
3374         * BufferView.C:
3375         * BufferView_pimpl.C:
3376         * CutAndPaste.C:
3377         * DepTable.C:
3378         * LaTeX.C:
3379         * LaTeXFeatures.C:
3380         * LyXAction.C:
3381         * MenuBackend.C:
3382         * TextCache.C:
3383         * aspell.C:
3384         * buffer.C:
3385         * bufferlist.C:
3386         * changes.C:
3387         * chset.C:
3388         * converter.C:
3389         * counters.C:
3390         * debug.C:
3391         * graph.C:
3392         * ispell.C:
3393         * lyx_cb.C:
3394         * lyxfind.C:
3395         * lyxfunc.C:
3396         * lyxlex_pimpl.C:
3397         * lyxrc.C:
3398         * lyxrow.C:
3399         * paragraph.C:
3400         * rowpainter.C:
3401         * texrow.C:
3402         * text.C:
3403         * text2.C:
3404         * toc.C: remove redundant using directives.
3406 2003-09-07  Angus Leeming  <leeming@lyx.org>
3408         * LaTeXFeatures.h: remove #include "support/types.h".
3409         * ToolbarBackend.h: remove #include <algorithm>.
3410         * changes.h: remove #include <ctime>.
3411         * debug.h: remove #include <iosfwd>.
3412         * graph.h: remove #include "support/std_string.h".
3413         * lyx_main.h: remove #include <csignal>.
3414         * lyxlex_pimpl.h: remove #include <fstream>.
3415         * sgml.h: remove #include <algorithm>, <utility>.
3416         * toc.h: remove #include "support/std_ostream.h".
3417         Add #include <iosfwd>.
3419 2003-09-07  Angus Leeming  <leeming@lyx.org>
3421         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3423         * converter.h: forward declare LatexRunParams.
3424         * encoding.h: remove #include "lyxrc.h".
3425         * lyxtext.h: remove #include "LColor.h".
3426         * lyxtextclass.h: remove #include "support/types.h".
3427         * trans.h: remove #include "tex-accent.h".
3428         * trans_mgr.h: remove #include "tex-accent.h".
3429         * insets/inset.h: remove #include "support/types.h", <vector>.
3430         * insets/insetcollapsable.h: remove #include "LColor.h".
3431         * insets/insetinclude.h: remove #include "dimension.h".
3432         * insets/insetlatexaccent.h: remove #include "dimension.h".
3433         * insets/insetoptarg.h:: remove #include "insettext.h".
3434         * insets/insettext.h: remove #include "dimension.h",
3435         <boost/shared_ptr.hpp>
3437         * insets/renderers.h: add #include "dimension.h".
3438         * insets/updatableinset.h: add #include "support/types.h".
3440         * many .C files: Associated changes.
3442 2003-09-06  Angus Leeming  <leeming@lyx.org>
3444         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3445         one, inside testInvariant.
3447         * PrinterParams.C: new file.
3448         * PrinterParams.[Ch]: move the function bodies out of line.
3450 2003-09-06  Angus Leeming  <leeming@lyx.org>
3452         * ParagraphParameters.h: forward declare ParameterStruct rather than
3453         including its header file.
3454         (depth): moved out-of-line.
3456 2003-09-06  Angus Leeming  <leeming@lyx.org>
3458         * BufferView_pimpl.h:
3459         * kbmap.h:
3460         * kbsequence.h:
3461         * lyxfunc.h: forward declare LyXKeySym rather than
3462         #include "frontends/LyXKeySym.h".
3464         * BufferView_pimpl.C:
3465         * kbmap.C:
3466         * kbsequence.C:
3467         * lyxfunc.C: associated changes.
3469 2003-09-06  Angus Leeming  <leeming@lyx.org>
3471         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3472         As a result, can remove the #include "insets/inset.h" from BufferView.h
3474 2003-09-06  Angus Leeming  <leeming@lyx.org>
3476         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3477         As a result, can remove the #include "insets/inset.h" from BufferView.h
3479 2003-09-06  Angus Leeming  <leeming@lyx.org>
3481         * buffer_funcs.C:
3482         * buffer.h:
3483         * bufferlist.C:
3484         * BufferView.C:
3485         * bufferview_funcs.C:
3486         * BufferView_pimpl.C:
3487         * CutAndPaste.C:
3488         * lyx_cb.C:
3489         * lyxfunc.C:
3490         * paragraph.h:
3491         * ParagraphParameters.C:
3492         * tabular.C:
3493         * text3.C:
3494         * toc.C:
3495         * undo_funcs.C:
3496         * frontends/controllers/ControlDocument.C:
3497         * insets/insetcaption.C: rearrange the #includes into some sort of
3498         coherent order.
3500         * buffer.h: remove #includes ErrorList.h, undo.h
3502 2003-09-06  Angus Leeming  <leeming@lyx.org>
3504         * support/types.h: add a 'depth_type' typedef, used to store the
3505         nesting depth of a paragraph.
3507         * paragraph.h:
3508         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3509         defining explicitly.
3511         * buffer.h:
3512         * paragraph_funcs.h:
3513         * ParagraphParameters.h:
3514         * sgml.h: use lyx::depth_type rather than Paragraph or
3515         ParameterStruct's depth_type.
3517         * buffer.h
3518         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3520         * BufferView.C:
3521         * BufferView_pimpl.C:
3522         * CutAndPaste.C:
3523         * ParagraphParameters.C:
3524         * buffer_funcs.C:
3525         * bufferlist.C:
3526         * bufferview_funcs.C:
3527         * lyx_cb.C:
3528         * lyxfunc.C:
3529         * tabular.C:
3530         * text3.C:
3531         * toc.C:
3532         * undo_funcs.C:
3533         * frontends/LyXView.C:
3534         * frontends/controllers/ControlDocument.C:
3535         * frontends/controllers/ControlErrorList.C:
3536         * insets/insetbibitem.C:
3537         * insets/insetbranch.C:
3538         * insets/insetcaption.C:
3539         * insets/insetcollapsable.C:
3540         * insets/insetenv.C:
3541         * insets/insetert.C:
3542         * insets/insetfloat.C:
3543         * insets/insetfoot.C:
3544         * insets/insetfootlike.C:
3545         * insets/insetnewline.C:
3546         * insets/insetquotes.C:
3547         * insets/insettabular.C:
3548         * insets/insettext.C:
3549         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3551         * frontends/controllers/ControlChanges.C: #include "changes.h".
3553 2003-09-06  Angus Leeming  <leeming@lyx.org>
3555         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3556         than #including paragraph.h.
3558         * ParagraphList.h:
3559         * RowList.h: deleted. Superfluous.
3561         * CutAndPaste.h:
3562         * iterators.h:
3563         * lyxcursor.h:
3564         * lyxtext.h:
3565         * text_funcs.h:
3566         * undo.h:
3567         * undo_funcs.h:
3568         * insets/inset.h:
3569         * insets/insettext.h: use ParagraphList_fwd.h rather than
3570         ParagraphList.h.
3572         * paragraph.h: don't forward declare ParagraphList.
3574         * buffer.h:
3575         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3576         rather than ParagraphList.h. paragraph.h is still needed for the
3577         Paragraph::depth_type parameters.
3579         * textcursor.h: enable it to compile stand-alone in light of the
3580         above changes.
3582         * bufferview_funcs.C:
3583         * iterators.C:
3584         * lyxfunc.C:
3585         * lyxrow_funcs.C:
3586         * paragraph.C:
3587         * rowpainter.C:
3588         * text.C:
3589         * text2.C:
3590         * text3.C:
3591         * text_funcs.C:
3592         * textcursor.C:
3593         * undo.C:
3594         * frontends/controllers/ControlParagraph.C:
3595         * frontends/controllers/ControlTabular.C:
3596         * insets/insetmarginal.C:
3597         * insets/insetminipage.C:
3598         * insets/insetnote.C:
3599         * insets/insetoptarg.C: add header files needed to compile again.
3601 2003-09-06  Angus Leeming  <leeming@lyx.org>
3603         * RowList_fwd.h: new file, forward-declaring Row rather than
3604         #including lyxrow.h.
3606         * lyxrow_funcs.h:
3607         * lyxtext.h:
3608         * paragraph.h:
3609         * insets/insettext.h: use it instead of RowList.h
3611         * bufferview_funcs.C:
3612         * lyxfunc.C:
3613         * lyxrow_funcs.C:
3614         * paragraph.C:
3615         * rowpainter.C:
3616         * text.C:
3617         * text2.C:
3618         * text3.C: #include "RowList.h".
3620 2003-09-05  Angus Leeming  <leeming@lyx.org>
3622         * factory.C (createInset):
3623         * vspace.C (c-tor): replace sscanf call with an istringstream.
3624         * ispell.C: re-add missing HP/UX headers.
3625         * lyxserver.C: re-add missing  os2 headers.
3627 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3629         * BranchList.C:
3630         * graph.C:
3631         * ispell.C:
3632         * lastfiles.C:
3633         * lyx_cb.C:
3634         * lyxserver.C:
3635         * texrow.C:
3636         * text3.C: re-add missing system headers, needed for 2.95.2.
3638 2003-09-05  Angus Leeming  <leeming@lyx.org>
3640         Changes most place everywhere due to the removal of using directives
3641         from support/std_sstream.h.
3643 2003-09-05  Angus Leeming  <leeming@lyx.org>
3645         Replace LString.h with support/std_string.h,
3646         Lsstream.h with support/std_sstream.h,
3647         support/LIstream.h with support/std_istream.h,
3648         support/LOstream.h with support/std_ostream.h.
3650         Changes resulting throughout the tree.
3652 2003-09-05  Angus Leeming  <leeming@lyx.org>
3654         * sgml.h: ensure that the header file can be compiled stand-alone.
3655         * *.C: strip out redundant #includes. (320 in total.)
3657 2003-09-04  Angus Leeming  <leeming@lyx.org>
3659         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3660         here (from getPackages).
3662         * debug.[Ch]: add a new EXTERNAL tag.
3664 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3666         * text2.C (cursorEnd): simplify
3667         (setCursor): adjust
3668         (getColumnNearX): adjust
3670         * text.C (computeBidiTables): adjust
3671         (fill): adjust
3673         * rowpainter.C (paintChars): adjust
3674         (paintSelection): adjust
3675         (paintChangeBar): adjust
3676         (paintText): adjust
3678         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3679         lastPos instead.
3680         (numberOfSeparators): adjust
3682 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3684         * LyXAction.C:
3685         * box.[Ch]:
3686         * lfuns.h:
3687         * lyxfunc.C:
3688         * text3.C: Restricts the mouse click functionality
3689         of insets like bibtex, include, toc and floatlist to the visible
3690         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3691         up the dialogs. Cursor has to be in front of the inset (i.e.
3692         start of row) for this to function.
3694 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3696         * bufferview_funcs.C (currentState): output row information
3698 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3700         * bufferview_funcs.C (currentState): output paragraph position
3702 2003-09-04  Angus Leeming  <leeming@lyx.org>
3704         * FloatList.h: move out #include "Floating.h".
3705         * LaTeX.h: move out #include "DepTable.h".
3706         * LyXAction.h: move out #include "funcrequest.h".
3707         * buffer.h: move out #include "author.h", "iterators.h".
3708         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3709         * lyx_main.h: move out #include "errorlist.h".
3710         * lyxfunc.h: move out #include "FuncStatus.h".
3711         * lyxtext: move out #include "lyxcursor.h".
3712         * paragraph_pimpl.h: move out #include "counters.h".
3714 2003-09-03  Angus Leeming  <leeming@lyx.org>
3716         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3717         preamble_snippets list, enabling us to add snippets to the preamble
3718         only if the snippet was not there already.
3720 2003-09-04  Angus Leeming  <leeming@lyx.org>
3722         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3724 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3727         update
3729 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3731         * BranchList.C: point fix, earlier forgotten
3733 2003-09-02  Angus Leeming  <leeming@lyx.org>
3735         * box.C (contains): renamed from 'contained' after a fantastic
3736         amount of hot air.
3738 2003-09-02  John Levon  <levon@movementarian.org>
3740         * BufferView.C:
3741         * lyxcursor.h:
3742         * lyxcursor.C:
3743         * lyxfunc.C:
3744         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3746 2003-09-02  John Levon  <levon@movementarian.org>
3748         * text2.C: simplification of cursorEnd(), including partial
3749         fix for bug 1376
3751 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753         * buffer.C (readFile): add a space
3755 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3757         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3759 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761         * buffer.C (readFile): new function, take a filename and a
3762         ParagraphList::iterator
3763         (readFile): adjust
3764         (readFile): adjust, make it private. don't use setStream, make
3765         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3766         always contain the filename.
3768         * BufferView.C (insertLyXFile): simplify and make it work for
3769         gzipped files.
3771 2003-08-30  John Levon  <levon@movementarian.org>
3773         * Makefile.am: fix dist (from Kayvan)
3775 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777         * most files: change to use const Buffer refs
3779 2003-08-27  André Pönitz  <poenitz@gmx.net>
3781         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3782         on top of ownerPar().
3784 2003-08-27  John Levon  <levon@movementarian.org>
3786         * funcrequest.C: properly initialise POD members
3788 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3790         * lyxtext.h (top_y): move top_y from here
3791         * text.C:
3792         * text2.C:
3793         * text3.C:
3794         * BufferView.[Ch]:
3795         * BufferView_pimpl.[Ch]: to here
3796         * frontends/screen.C:
3797         * insets/insettabular.C:
3798         * insets/insettext.C: adjust
3799         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3801 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3803         * BufferView.[Ch]:
3804         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3806 2003-08-26  André Pönitz  <poenitz@gmx.net>
3808         * paragraph_func.[Ch] (outerPar): new function
3810         * paragraph.C:
3811         * paragraph_funcs.C:
3812         * paragraph_funcs.h:
3813         * paragraph_pimpl.C:
3814         * text2.C: remove Inset::par_owner
3816 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3818         * lyxrow_funcs.C:
3819         * lyxtext.h:
3820         * text.C:
3821         * text2.C: eliminates the needFullRow/display() stuff
3822         altogether, putting the logic in metrics/draw in the insets.
3824 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3826         * text2.C (redoParagraphInternal, redoParagraphs):
3827         * text.C (redoParagraph): add a call to updateRowPositions at the
3828         end of each 'metrics-like' call. Remove all others.
3829         (getRow): remove the 'y-computing' version.
3830         (getRowNearY): do not compute nor return the real y. Solve the
3831         'y < 0' problem and simplify.
3833 2003-08-22  Angus Leeming  <leeming@lyx.org>
3835         * *.[Ch]: clean-up of licence and author blurbs.
3836         Also move config.h out of a few .h files and into a few .C files.
3838 2003-08-22  André Pönitz  <poenitz@gmx.net>
3840         * lyxrow.[Ch]: add x_ and *fill_ members
3842         * lyxtext.h:
3843         * text.C:
3844         * rowpainter.C:
3845         * text2.C: adjust/remove prepareToPrint() calls
3847 2003-08-22  André Pönitz  <poenitz@gmx.net>
3849         * lyxrow.[Ch]: add  end_ member
3851         * lyxrow_funcs.C: use LyXRow::end_
3853         * lyxtext.h (singleWidth): add LyXFont parameter
3855         * rowpainter.C:
3856         * text2.C: adjust LyXText::singleWidth() calls
3858         * text.C (redoParagraph): simplify row breaking logic
3861 2003-08-19  André Pönitz  <poenitz@gmx.net>
3863         * funcrequest.C: initialize button_ member
3865         * text3.C:
3866         * rowpainter.[Ch]: interface consolidation
3868 2003-08-18  André Pönitz  <poenitz@gmx.net>
3870         * BufferView.C:
3871         * BufferView_pimpl.C:
3872         * lyxfind.C:
3873         * paragraph_funcs.C:
3874         * rowpainter.C:
3875         * text3.C: remove LyXScreen::draw() and fitCursor calls
3877         * BranchList.h: remove spurious semicolons
3879         * MenuBackend.C: fix branchlist related crash
3881 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3883         * BranchList.[Ch]:
3884         * InsetList.[Ch]:
3885         * LColor.[Ch]:
3886         * LyXAction.C:
3887         * Makefile.am:
3888         * MenuBackend.[Ch]:
3889         * bufferparams.[Ch]:
3890         * factory.C:
3891         * lfuns.h:
3892         * lyxfunc.C:
3893         * text3.C: implements the 'branch inset'
3894         idea. This allows the output of various versions of a document
3895         from a single source version, selectively outputing or suppressing
3896         output of parts of the text.
3897         This implementation contains a 'branch list editor' in a separate
3898         tab of the document settings dialog. Branches are user definable
3899         and have a "display colour" to distinguish them on-screen.
3901         ColorHandler was somewhat cleaned up.
3902         (1) make possible a dynamically growing LColor list by allowing
3903         the graphic context cache to grow along (vector);
3904         (2) eliminate an IMHO unnecessary step in colour allocation.
3906 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3908         * BufferView_pimpl.C: compile fix
3910 2003-08-15  André Pönitz  <poenitz@gmx.net>
3912         * rowpainter.C: remove extra metrics calls
3914         * lyxtext.h: merge the two constructors into a single one,
3915           pass reference to owner's par list
3917         * BufferView_pimpl.C:
3918         * text.C:
3919         * text2.C: adjust
3921 2003-08-15  André Pönitz  <poenitz@gmx.net>
3923         * lyxrow_funcs.[Ch]:
3924         * lyxtext.h:
3925         * paragraph.h:
3926         * paragraph_funcs.C:
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C:
3930         * text3.C:
3931         * text_funcs.C: split LyXText::rowlist_ into individual
3932         Paragraph::rows_ chunks
3934         * BufferView.[Ch]:
3935         * BufferView_pimpl.[Ch]:
3936         * lyxfind.C:
3937         * lyxtext.h:
3938         * text3.C: remove toggleSelection()
3940 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3942         * bufferlist.C: beautify two alerts (shorter text of buttons)
3943         * buffer.C: Remove redundant ' ' from message
3944         * tabular.h:
3945         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3946         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3947         rename VALIGN_CENTER to VALIGN_MIDDLE
3949 2003-08-11  André Pönitz  <poenitz@gmx.net>
3951         * lyxtext.h (getPar):
3952         * text.C: new function
3954 2003-08-11  André Pönitz  <poenitz@gmx.net>
3956         * Makefile.am:
3957         * tracer.[Ch]: remove unneeded files
3959         * InsetList.[Ch]: remove resizeInsetsLyXText()
3961         * lyxtext.h:
3962         * text.C:
3963         * text2.C:
3964         * text3.C: merge insertParagraphs() and appendParagraph()
3965         remove breakAgain(), update()
3967         * BufferView_pimpl.[Ch]:
3968         * bufferview_funcs.[Ch]:
3969         * lyxfunc.C:
3970         * paragraph.[Ch]:
3971         * rowpainter.C:
3972         * tabular.C: adjust after text & InsetList changes.
3974 2003-08-08  André Pönitz  <poenitz@gmx.net>
3976         * text.C (insertChar, backspace): replace rowlist fiddling
3977         with rebreak of full par
3979         * lyxtext.h:
3980         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3981         checkParagraph, updateInset): removed
3983 2003-08-07  André Pönitz  <poenitz@gmx.net>
3985         * paragraph.C:
3986         * text3.C: merge some LFUN handlers, remove dead code
3988 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3990         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3992 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3994         * text2.C (DEPM): fix part of bug 1255 and 1256
3996 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3998         * BufferView_pimpl.C (workAreaDispatch): change to use
3999         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4000         that are no mouse related.
4002 2003-08-05  André Pönitz  <poenitz@gmx.net>
4004         * BufferView.[Ch]:
4005         * BufferView_pimpl.[Ch]:
4006         * bufferview_funcs.C:
4007         * text2.C:
4008         * text3.C: rip out "deep update"
4010         * textcursor.[Ch] (last_sel_cursor): remove unused member
4012 2003-08-04  André Pönitz  <poenitz@gmx.net>
4014         * BufferView.[Ch]:
4015         * BufferView_pimpl.[Ch]:
4016         * ParagraphParameters.C:
4017         * bufferview_funcs.C:
4018         * lyx_cb.C:
4019         * lyxfind.C:
4020         * lyxfunc.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C: replace "complicated" BufferView::update(...) calls with
4024         simpler ones.
4026         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4028 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4030         * Makefile.am (lyx_SOURCES): add paper.h
4032 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4034         * Makefile.am: move things around so that both lyx-qt and
4035         lyx-xforms can be built (according to --with-frontend). Then lyx
4036         is a symbolic link to lyx-[firstfrontend]
4038 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4040         * Always use std::endl with lyxerr
4042 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4044         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4046 2003-08-01  André Pönitz  <poenitz@gmx.net>
4048         * BufferView.[Ch]:
4049         * BufferView_pimpl.[Ch]:
4050         * lyxfunc.C:
4051         * text3.C: merge BufferView::repaint() and BufferView::update()
4053 2003-08-01  José Matos  <jamatos@lyx.org>
4055         * buffer.[Ch]: file_format is no longer a buffer data element.
4057 2003-08-01  André Pönitz  <poenitz@gmx.net>
4059         * BufferView.C:
4060         * lyxtext.h:
4061         * text.C:
4062         * text2.C: make redoParagraph more independent of current cursor
4064         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4065         * text.C:
4066         * text2.C: remove unneeded members
4068 2003-07-30  André Pönitz  <poenitz@gmx.net>
4070         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4072         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4073           create a single function...
4075         * paragraph_funcs.C (moveItem): ... here.
4077         * text.C:
4078           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4080 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4082         * LColor.[Ch]: Add comment and greyedout logical colors.
4084 2003-07-30  André Pönitz  <poenitz@gmx.net>
4086         * tabular.C: don't use Assert too heavily. This crashes where it
4087           shouldn't
4089 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4091         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4092         is disabled (bug 1232)
4094 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4096         * factory.C: limited 'arg' scope
4098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4100         * factory.C: fixed Note submenu issues
4102 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4104         * factory.C: submenu for Note/Comment/Greyedout
4106 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4108         * lyx_main.C (LyX):
4109         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4111 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4113         * LaTeXFeatures.C:
4114         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4115         greyedout. Patch provided by Jürgen Spitzmüller.
4117 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4119         * kbmap.C (read): fix error message when reading bind files
4121 2003-07-29  Angus Leeming  <leeming@lyx.org>
4123         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4124         certainly does not do what it purports to do. I am doing it, and
4125         us, a favour by killing it.
4127 2003-07-28  José Matos  <jamatos@lyx.org>
4129         * buffer.C (readBody, do_writeFile):
4130         * paragraph.C(readParagraph): \end_document replaces \the_end.
4132 2003-07-29  André Pönitz  <poenitz@gmx.net>
4134         * BufferView.[Ch]:
4135         * BufferView_pimpl.[Ch]:
4136         * lyxfunc.C:
4137         * text2.C:
4138         * text3.C:
4139         * textcursor.[Ch]: remove toggleToggle & Co
4141 2003-07-28  José Matos  <jamatos@fep.up.pt>
4143         * buffer.C (readParagraph):
4144         * params_func (readParToken, readParagraph):
4145         * paragraph.C (write): \layout -> \begin_layout.
4147 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149         * lyxlex_pimpl.C (setFile): clean up slightly.
4151         * bufferparams.h: add compressed var
4153         * buffer_funcs.C (readFile): adjust for LyXLex change
4154         (newFile): ditto + simplify
4156         * buffer.C (writeFile): handle writing of compressed files
4158         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4159         Check if the file is compressed and set a bufferparm if so.
4161         * Makefile.am (lyx_LDADD): remove explicit -lz
4163 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4165         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4166         makeDocBookFile): put the real LyX version in the first line of
4167         the file
4169         * version.h:
4170         * version.C.in: remove lyx_docversion
4172         * tabular.C (write_attribute): add a template-based version to
4173         write enums properly
4175 2003-07-28  André Pönitz  <poenitz@gmx.net>
4177         * lyxtext.h:
4178         * text.C:
4179         * text2.C:
4180         * text3.C: use doubles again for x-coordinates. They are needed.
4182 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184         * messages.C (getLocaleDir): use lyx_localedir()
4186         * lyxlex_pimpl.C (setFile): compress stuff
4188         * buffer.C (writeFile): add some compression stuff
4189         (do_writeFile): new func, dont call expliti close... will this
4190         breake anything?
4192         * Makefile.am (lyx_LDADD): add -lz
4194 2003-07-28  José Matos  <jamatos@fep.up.pt>
4196         * buffer.C: increment file format.
4197         * paragraph_funcs (readParagraph, readParToken):
4198         * paragraph.C (readParagraph): add \end_layout.
4200 2003-07-27  Angus Leeming  <leeming@lyx.org>
4202         * Makefile.am: remove special casing for configure-time setting of
4203         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4205         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4206         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4208 2003-07-26  André Pönitz  <poenitz@gmx.net>
4210         * paragraph_func.[Ch]:
4211         * paragraph.C (realizeFont): inline it whereever it is used
4213         * rowpainter.C:
4214         * text.C:
4215         * text2.C:
4216         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4219 2003-07-26  André Pönitz  <poenitz@gmx.net>
4221         *       lyxtext.h:
4222         * text.C:
4223         * text2.C: get rid of LyXText::need_break_row
4225 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227         * toc.[Ch]: put namespace toc inside namespace lyx
4229         * MenuBackend.C (expandToc2): adjust for lyx::toc
4230         (expandToc): ditto
4232         * lyxfunc.C (dispatch): adjust for lyx::find
4234         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4235         lyx::find instead. Reorganize a bit.
4236         (LyXReplace): rename to replace
4237         (LyXFind): rename to find
4239         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4240         (dispatch): ditto
4242 2003-07-26  André Pönitz  <poenitz@gmx.net>
4244         * text.C (setHeightOfRow): restrict scope of temporary variable
4246         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4247           code (never has been used?)
4249 2003-07-27  Asger Alstrup  <alstrup@local>
4251         * text.C (fill): Optimise algorithm to exploit that we can reuse
4252         the LyXFont for many characters.
4253         (setHeightOfRow): Same thing.
4254         (rowBreakPoint): Same thing.
4256 2003-07-26  Asger Alstrup  <alstrup@local>
4258         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4260         * text.C (singleWidth): Spurious font copying in hot-spot
4261         singleWidth avoided. Reorder tests for arabic for efficiency.
4263         * text.C (fill): handle empty paragraphs better.
4265 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4267         * ispell.C:
4268         * encoding.h: add includes
4270         * lyxrc.C: remove reading of bind files
4272         * lyx_main.C (init): setup bindings and menus only if we have a
4273         gui.
4275         * kbmap.C (read): new method. Do the actual reading of bind
4276         files.
4278         * converter.C (dvipdfm_options):
4279         * bufferparams.C:
4280         * lyxrc.C (read):
4281         (output): adapt PAPER_* enums.
4283         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4285         * bufferparams.h: remove paper-related enums from there
4287         * paper.h: New file. A trivial header file to hold paper-related
4288         enums. It should later expand to contain many paper-related
4289         horrors access.
4291         * lyxrc.C: declare extern displayTranslator
4293 2003-07-27  José Matos  <jamatos@fep.up.pt>
4295         * tabular.[Ch] (linuxdoc): add support for tables and figures
4296         (linuxdoc).
4298 2003-07-27  José Matos  <jamatos@fep.up.pt>
4300         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4301         consistency in both functions.
4302         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4304 2003-07-26  Asger Alstrup  <alstrup@local>
4306         * rowpainter.C (paintRows): Change algorithm to work directly on
4307         the insets rather than asking every character in the document
4308         whether its an inset.
4310 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4312         * buffer.C (openFileWrite): factorize some code
4314 2003-07-26  Angus Leeming  <leeming@lyx.org>
4316         * lyx_cb.C:
4317         * lyx_main.[Ch]: replace occurances of system_tempdir with
4318         os::getTmpDir().
4320 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322         * rename Inset to InsetOld
4324 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4326         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4327         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4328         which I think is a bit clearer. EDIT is gone, since it was
4329         premature optimisation, and broken for mathed anyway.
4330         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4331         with cursor positioning in insets as well (math insets still do not
4332         work, but that's a different story anyway.) It mysteriously
4333         crashes sometimes with undo in the first paragraph, but I'm fairly
4334         confident that this is a compiler bug.
4336 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338         * paragraph.C (Paragraph): adjust for new clone return type
4339         (operator==): ditto
4340         (copyIntoMinibuffer): ditto
4342 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4344         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4345         by not having a special case, and always doing a full rebreak of
4346         the document after undo.
4348 2003-07-23  Angus Leeming  <leeming@lyx.org>
4350         * factory.C (createInset): InsetExternal::setParams now takes a
4351         Buffer const * arg.
4353 2003-07-23  Angus Leeming  <leeming@lyx.org>
4355         * factory.C (createInset): changed interface to the external and
4356         graphics mailers' string2params functions.
4358 2003-07-23  Angus Leeming  <leeming@lyx.org>
4360         * factory.C (createInset): pass a
4361         Buffer const * parameter to InsetExternalMailer's string2params.
4363 2003-07-22  John Levon  <levon@movementarian.org>
4365         * Thesaurus.h: include the right aiksaurus header
4367 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4369         * MenuBackend.C (expand): check menu shortcuts unconditionally
4371 2003-07-21  Angus Leeming  <leeming@lyx.org>
4373         * factory.C (createInset): pass a
4374         buffer_path parameter to InsetGraphicsMailer's string2params.
4376 2003-07-21  Angus Leeming  <leeming@lyx.org>
4378         * BufferView_pimpl.C (buffer):
4379         * buffer.C (d-tor):
4380         * lyx_main.C (LyX):
4381         * lyxfunc.C (dispatch):
4382         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4383         rather than the grfx shortcut.
4385 2003-07-21  André Pönitz  <poenitz@gmx.net>
4387         * rowpainter.C: remove unused variables
4389         * tabular_funcs.C:
4390         * tabular_funcs.h: move to tabular.C
4391         * Makefile.am: adjust
4393         * tabular.[Ch]: basic optical cleaning
4395         * author.h: pass references, not values
4397 2003-07-18  André Pönitz  <poenitz@gmx.net>
4399         * lyxtext.h:
4400         * metricsinfo.C:
4401         * metricsinfo.h:
4402         * rowpainter.C:
4403         * text.C:
4404         * text2.C:
4405         * text3.C: two-phase drawing for InsetText and InsetTabular
4406         some float -> int changes.
4408 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4410         * lyx_main.C: fix the fix
4412 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4414         * lyx_main.C: fix a crash in batch mode if no files specified
4415         * converter.C: ws
4417 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4419         * format.[Ch] (papersize): moved to BufferParams
4420         * converter.[Ch] (dvips_options): moved to BufferParams
4421         (dvipdfm_options): moved to anon namespace
4422         * bufferparams.[Ch]: added above functions.
4424 2003-07-17  André Pönitz  <poenitz@gmx.net>
4426         * lyxtext.h:
4427         * rowpainter.C:
4428         * text2.C: don't call inset->update() anymore
4430         * metricsinfo.[Ch]: add convenience constructor
4432 2003-07-16  André Pönitz  <poenitz@gmx.net>
4434         * lyxcursor.[Ch]:
4435         * lyxfunc.[Ch]:
4436         * text.C:
4437         * text2.C: replace the LyXCursor::irow_ member with
4438          on-demand computation of the value
4440 2003-07-16  John Levon  <levon@movementarian.org>
4442         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4444 2003-07-15  André Pönitz  <poenitz@gmx.net>
4446         * text.C:
4447         * text2.C: remove no more needed refresh_row
4449 2003-07-15  André Pönitz  <poenitz@gmx.net>
4451         * lyxtext.h:
4452         * rowpainter.C:
4453         * text2.C:
4454         * text3.C: refresh_status tristate -> need_update bool
4456 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4458         * lyxtext.h (init): remove reinit argument (act as if always true)
4459         * text2.C: adjust to that
4461 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4463         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4464         * text3.C: use it to delete selections in some cases
4465         (bugs 441, 673, 702, 954).
4467 2003-07-14  André Pönitz  <poenitz@gmx.net>
4469         * rowpainter.[Ch]: reduce interface
4471 2003-07-14  André Pönitz  <poenitz@gmx.net>
4473         * BufferView_pimpl.C:
4474         * text2.C: adjust after removing unused BufferView * argument
4476 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4478         * text2.C (init): fix a crash fired on resize
4480 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4482         * buffer.[Ch]: added new closing signal
4483         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4484         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4485         BufferView::Pimpl via the closing the signal
4487 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4489         * buffer.[Ch]: take out all bv-related from buffer
4490         * BufferView.C:
4491         * BufferView_pimpl.[Ch]: connect to new signals
4492         * CutAndPaste.C: removed useless asserts
4493         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4494         * lyxvc.[Ch]:
4495         * vc-backend.[Ch]:
4496         * lyxfunc.C: moved view-related funciontality from vc here
4497         * paragraph.C: removed outdated comments
4498         * text.C: ws
4500 2003-07-10  André Pönitz  <poenitz@gmx.net>
4502         * BufferView_pimpl.C:
4503         * tabular.h:
4504         * tabular_funcs.C:
4505         * text.C:
4506         * text2.C: remove InsetText::InnerCache, clean up consequences
4508 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4510         * ispell.C: fix two typos in error messages
4512 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4514         * Extend Note inset to other forms of annotation like Comment
4515         and Greyedout. Right button click gives dialog.
4517         Files modified or added (+):
4519         * insetnote.[Ch]
4520         * FormNote.[Ch]      +
4521         * ControlNote.[Ch]   +
4522         * form_note.fd       +
4523         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4524         frontends/controllers
4525         * xforms/Dialogs.C
4526         * factory.C
4528 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4530         * aspell.C: add missing namespace lyx::support
4532 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4534         * BufferView.[Ch] (newFile): Add
4535         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4536         * LaTeX.[Ch] (message): added this signal and use it
4537         * buffer.[Ch] (busy, message): added these signals and use them
4538         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4539         * converter.C:
4540         * exporter.C:
4541         * format.C:
4542         * importer.C: use buffer signals instead of direct bv calling
4543         * lyx_cb.[Ch] (ShowMessage): removed
4544         * lyx_main.C:
4545         * lyxfunc.C:
4546         * paragraph_funcs.C:
4547         * text2.C: use buffer signals
4549 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551         * introduce namespace lyx::graphics
4553 2003-07-02  André Pönitz  <poenitz@gmx.net>
4555         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4557 2003-07-01  André Pönitz  <poenitz@gmx.net>
4559         * text.C:
4560         * text2.C:
4561         * text3.C:
4562         * text_funcs.[Ch]:
4563         * textcursor.h:
4564         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4565           text*.C to text_func.C
4567 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569         * introduce namespace lyx::support
4571 2003-06-30  André Pönitz  <poenitz@gmx.net>
4573         * Chktex.C:
4574         * funcrequest.C:
4575         * lyxtext.h:
4576         * text.C: re-enable --with-included-string
4578 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580         * textcursor.C: add <config.h>
4582         * text.C (getWord): remove const from word_location arg
4584         * lyxvc.C (getLogFile): fix const type order
4586         * lyxtext.h: remove const from word_location arg, add arg name
4588         * lyxlayout.h: currect type on labeltype.
4590         * importer.C: correct \file
4592         * converter.C (intToFormat): use std:: on ret val, ws changes
4594         * bufferlist.h: correct \file
4596         * buffer.C (makeLinuxDocFile): fix const type order
4597         (makeDocBookFile): ditto
4598         (fillWithBibKeys): use std:: on stdlib args.
4600         * CutAndPaste.C: fix authors.
4601         (availableSelections): use std:: on return vector
4603 2003-06-27  André Pönitz  <poenitz@gmx.net>
4605         * BufferView_pimpl.C:
4606         * bufferview_funcs.C:
4607         * lyxcursor.C:
4608         * lyxcursor.h:
4609         * lyxfunc.C:
4610         * lyxtext.h:
4611         * rowpainter.C:
4612         * text.C:
4613         * text2.C:
4614         * text3.C: remove LyXCursor::row_ member
4616         * lyxtext.h:
4617         * text.C: rename fullRebreak() to partialRebreak() and implement
4618           a fullRebreak() that really bereks fully
4620         * textcursor.h: new struct for cursor-related data
4622 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4624         * lyx_main.C (LyX): get full path of document loaded on the
4625         command line
4627 2003-06-26  André Pönitz  <poenitz@gmx.net>
4629         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4630           remove unused/broken operator>,<,>=.
4632         *       text.C: remove only use of broken operator<= in an Assert().
4634 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4636         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4637         moved errorlist_.clear to showErrorList
4639 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4641         * converter.C (scanLog, runLaTeX):
4642         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4643         move the bv->showErrorList call to the callers
4644         * lyxfunc.C: i.e. here...
4645         * text2.C: and here
4646         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4647         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4648         namespace, the second to...
4649         * buffer_funcs (BufferFormat, parseErrors): added
4650         * errorlist.C (ErrorList(TeXErrors const &)): removed
4652 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4654         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4656 2003-06-24  "Garst R. Reese" <reese@isn.net>
4658         * debug.C: fix typo
4660 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4662         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4664         * version.C.in: change docversion to 1.4
4666 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4668         * buffer.C: fix a bug just introduced
4670 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4672         * buffer.[Ch]: added the parseError signal and use it, removed
4673         sgmlError
4674         * BufferView.[Ch] (addError): moved to ...
4675         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4676         to the Buffer::parseError signal to catch (guess what) parse errors
4677         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4679 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4681         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4682         ability to create a buffer and to return an existing one from
4683         the list. Moved these functions to...
4684         * buffer_funcs.[Ch]: added
4685         * BufferView.[Ch] (loadLyXFile): added
4686         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4687         job removed from bufferlist::loadLyXFile.
4688         * buffer.C (setReadOnly): make it work without view
4689         (i.e added an if (users))
4691 2003-06-19  Angus Leeming  <leeming@lyx.org>
4693         * lfuns.h:
4694         * LyXAction.C (init):
4695         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4696         with LFUN_DIALOG_SHOW <name> <data>.
4698 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4700         * CutAndPaste.C (availableSelections): small compilation fix for
4701         ancient (gcc 2.9x) compilers
4703 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705         * text3.C (cursorNext): add tmp var
4707         * text2.C (updateCounters): for function calling out of for clause
4708         (replaceSelectionWithString): ditto
4709         (insertStringAsParagraphs): ditto
4710         (getColumnNearX): add tmp var
4711         (setCursorFromCoordinates): add tmp var
4712         (cursorDownParagraph): add tmp var
4713         (deleteEmptyParagraphMechanism): add tmp var
4715         * text.C (insertChar): add tmp var
4717         * rowpainter.C (paintDepthBar): add tmp var
4719         * CutAndPaste.C (availableSelections): potentially check all
4720         paragraphs in a cut to fill the shown strings.
4722 2003-06-18  André Pönitz  <poenitz@gmx.net>
4724         * kbmap.[Ch]: use vector<> instead of list<>
4726 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4728         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4729         pasteSelection with index
4731         * text2.C (pasteSelection): modify, call pasteSelection with index
4733         * paragraph.C (asString): reimplement version with no interval to
4734         call the one with interval.
4736         * lyxtext.h: add index arg to pasteSelection
4738         * MenuBackend.C (MenuItem): handle PasteRecent
4739         (Menu::read::Menutags): add md_pasterecent
4740         (read): handle it
4741         (expandPasteRecent): new function
4742         (expand): use it
4744         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4746         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4747         the limited stack
4748         (availableSelections): new function
4750 2003-06-17  Angus Leeming  <leeming@lyx.org>
4752         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4754 2003-06-17  Angus Leeming  <leeming@lyx.org>
4756         * lfuns.h:
4757         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4759         * lyxfunc.C (dispatch): invoke it.
4761 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4763         * iterators.C (operator++, ParPosition): reintroduce some
4764         const_cast for the benefit of older compilers.
4766 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4768         * text3.C (dispatch): do not modify clipboard when doing
4769         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4770         LFUN_DELETE_SKIP on a selection selection
4772 2003-06-16  André Pönitz  <poenitz@gmx.net>
4774         * BufferView.C:
4775         * buffer.C:
4776         * buffer.h:
4777         * paragraph.C:
4778         * tabular.[Ch]: IU of clone() and getLabelList();
4780 2003-06-13  André Pönitz  <poenitz@gmx.net>
4782         * tabular.h: compactification
4784 2003-06-12  André Pönitz  <poenitz@gmx.net>
4786         * tabular.C:
4787         * tabular.h:
4788         * tabular_funcs.h: some renaming plus whitespace
4790 2003-06-12  André Pönitz  <poenitz@gmx.net>
4792         * BufferView.C:
4793         * BufferView_pimpl.C:
4794         * CutAndPaste.C:
4795         * buffer.C:
4796         * iterators.[Ch]:
4797         * lyxfunc.C:
4798         * text.C:
4799         * toc.C: Return a Paragraph & for ParIterator::operator*()
4801 2003-06-11  John Levon  <levon@movementarian.org>
4803         * lyx_main.C:
4804         * ToolbarBackend.h:
4805         * ToolbarBackend.C: add "Toolbars" section and
4806         put the flags there
4808 2003-06-10  Angus Leeming  <leeming@lyx.org>
4810         * lfuns.h:
4811         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4813         * lyxfunc.C (dispatch): invoke it.
4815 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817         * main.C: protect <ios> with HAVE_IOS
4818         (main): protect sync_with_stdio with HAVE_IOS
4820 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4822         * text2.C (cutSelection): adjust
4823         (pasteSelection): adjust
4825         * messages.C: handle get of empty string
4827         * main.C (main): use sync_with_stdio(false)
4829         * lyxfunc.C (dispatch): adjust
4831         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4832         (WriteAs): remove unneeded BufferView arg.
4834         * bufferparams.h: use correct types on papersize, papersize2 and
4835         paperpackage.
4837         * bufferparams.C (readToken): adjust for type
4838         (writeLaTeX): add missing cases to switch.
4840         * bufferlist.C (quitWriteBuffer): adjust
4841         (close): adjust
4843         * buffer.C (asciiParagraph): remove some commented code.
4845         * CutAndPaste.C: remove current_view extern variable.
4846         (cutSelection): add BufferParams arg.
4847         (eraseSelection): add BufferParams arg.
4848         (pasteSelection): add Buffer const & arg
4850 2003-06-07  John Levon  <levon@movementarian.org>
4852         * buffer.C:
4853         * paragraph_funcs.C:
4854         * paragraph_pimpl.C:
4855         * text.C:
4856         * text2.C:
4857         * paragraph.h:
4858         * paragraph.C: allow InsetERT to freely space lines,
4859         and some consolidation of code
4861 2003-06-06  José Matos  <jamatos@fep.up.pt>
4863         * buffer.C (makeDocBookFile): fix bug #821
4865 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4867         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4869 2003-06-04  Angus Leeming  <leeming@lyx.org>
4871         * buffer.C: bump format to 224.
4873 2003-06-05  André Pönitz  <poenitz@gmx.net>
4875         * text2.C (redoParagraphs): remove two const_cast<>
4877 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4879         * ParagraphList.h: remove last remnants of NO_STD_LIST
4881 2003-06-03  Angus Leeming  <leeming@lyx.org>
4883         * factory.C (createInset): small change to the way InsetExternal's params
4884         are set.
4886 2003-06-04  André Pönitz  <poenitz@gmx.net>
4888         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4890         * paragraph_pimpl.h:
4891         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4893         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4895         * undo_funcs.C: make some simple cases of undo work again
4897 2003-06-03  John Levon  <levon@movementarian.org>
4899         * ispell.C: HPUX doesn't have sys/select.h
4900         (from Albert Chin)
4902 2003-06-03  John Levon  <levon@movementarian.org>
4904         * CutAndPaste.C: update tabular and include inset
4905         buffer references
4907         * buffer.h:
4908         * paragraph.h:
4909         * paragraph.C: remove owningBuffer(), don't pass Buffer
4910         to clone()
4912         * factory.C: insetGraphicsParams changed
4914 2003-06-02  John Levon  <levon@movementarian.org>
4916         * LyXAction.C:
4917         * factory.C:
4918         * lfuns.h:
4919         * lyxfunc.C:
4920         * text3.C: remove insetparent
4922 2003-06-02  John Levon  <levon@movementarian.org>
4924         * buffer.h:
4925         * buffer.C: fix inset_iterator.end(), move out of line
4926         (bug 1149)
4928 2003-06-01  John Levon  <levon@movementarian.org>
4930         * text3.C: use a proper cut/paste when doing inset
4931         insert (from Jürgen Spitzmüller)
4933 2003-06-01  John Levon  <levon@movementarian.org>
4935         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4937 2003-05-30  André Pönitz  <poenitz@gmx.net>
4939         * rowpainter.C: unify second drawing phase
4941 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943         * trans_mgr.C: remove one case of current_view
4945         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4947         * paragraph_funcs.h: remove paragraph.h include
4949         * paragraph.h: delete NO_STD_LIST stuff
4951         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4953         * buffer.h: remove paragraph.h include
4955         * ParagraphList.C: delete file
4957         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4959         * toc.C (getTocList): adjust
4961         * paragraph_pimpl.C (validate): adjust
4963         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4965         * paragraph.C (Paragraph): adjust
4966         (getPositionOfInset): use const_iterator, adjust
4967         (bibitem): use const_iterator, adjust
4968         (setInsetOwner): adjust
4970         * iterators.C (operator++): adjust
4972         * InsetList.[Ch]: Replace selfmade iterator with standard
4973         vector::iterator also introduce const_iterator. Remove getPos,
4974         getInset and setInset from InsetTable. Adjust accordingly.
4976         * BufferView.C (lockInset): adjust
4977         (ChangeInsets): adjust
4979         * tabular.[Ch]: delete commented same_id functions
4981 2003-05-28  John Levon  <levon@movementarian.org>
4983         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4985 2003-05-28  André Pönitz  <poenitz@gmx.net>
4987         * metricsinfo.[Ch]: remove 'fullredraw' member
4989 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4991         * lyxtextclass.C (operator): remove caching.
4993 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995         * text3.C: adjust
4997         * text2.C (cursorBottom): adjust
4998         (setCounter): use ParagraphList::find, adjust
5000         * text.C (workWidth): use ParagraphList::find, adjust
5002         * lyxcursor.C (LyXCursor): adjust
5004         * buffer.C (inset_iterator): adjust
5006         * ParagraphList.h: make iterator(value_type) private, make
5007         ParagraphList a friend of iterator.
5009         * ParagraphList.C (find): new function
5011         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5013 2003-05-27  André Pönitz  <poenitz@gmx.net>
5015         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5017 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5019         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5021 2003-05-26  John Levon  <levon@movementarian.org>
5023         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5025 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027         * remove same_id from function signatures, adjust.
5029 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5033         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5035         * paragraph.C (Paragraph): get rid of same_ids parameter
5037         * ParagraphList.C (insert): adjust
5038         (push_back): adjust
5040 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042         * paragraph_funcs.C (breakParagraph): adjust
5043         (breakParagraphConservative): adjust
5045         * buffer.C (readParagraph): adjust
5047         * ParagraphList.C (insert): take a reference instead of a pointer
5048         (insert): adjust
5050         * paragraph.[Ch] (id): new function
5052         * bufferlist.C (newFile): adjust
5054         * ParagraphList.C (ParagraphList): adjust
5055         (assign): adjust
5056         (push_back): take a reference instead of a pointer.
5058         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5060         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5061         instead.
5063         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5064         set else use old code.
5066         * ParagraphList.C: remove all NO_NEXT code and only compile this
5067         code of NO_STD_LIST is set.
5069 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5071         * BufferView_pimpl.C:
5072         * TextCache.C:
5073         * TextCache.h:
5074         * bufferlist.C:
5075         * errorlist.h:
5076         * format.C:
5077         * format.h:
5078         * graph.C:
5079         * lyxfunc.C:
5080         * lyxrc.C:
5081         * graphics/GraphicsConverter.C:
5082         * graphics/PreviewLoader.C: header adjustment
5084 2003-05-23  Angus Leeming  <leeming@lyx.org>
5086         * LaTeXFeatures.[Ch] (useBabel): new method.
5087         * bufferparams.C (writeLaTeX): use it.
5089 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091         * ParagraphList.h (set): remove unused function.
5093 2003-05-23  André Pönitz  <poenitz@gmx.net>
5095         * BufferView.C:
5096         * BufferView_pimpl.C:
5097         * buffer.C:
5098         * buffer.h:
5099         * lyxfunc.C:
5100         * undo_funcs.C: setUndo reworked
5102         * iterators.[Ch]: add access to topmost ParagraphList
5104         * lyxtext.[Ch] (workWidth): add a const
5106 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5108         * texrow.[Ch] (increasePos): remove function
5109         * exporter.C (export): removed unused var and outdated comment
5111 2003-05-23  Angus Leeming  <leeming@lyx.org>
5113         * latexrunparams.h: rename fragile as moving_arg.
5114         * paragraph.C (simpleTeXOnePar): ditto.
5115         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5117 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5120         (createUndo): ditto
5121         (textUndoOrRedo): comment out a currently unused var.
5123         * paragraph.h (NO_NEXT): enable NO_NEXT
5125         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5127         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5129         * exporter.C (Export): adjust for removeAutoInsets removal.
5131         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5133         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5135         * BufferView.[Ch] (removeAutoInsets): delete function
5137 2003-05-22  Angus Leeming  <leeming@lyx.org>
5139         * latexrunparams.h: add a free_spacing variable.
5141         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5142         to pass moving_arg, as the data is stored in runparams.fragile.
5144         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5145         to Inset::latexOptional or to simpleTeXOnePar.
5147         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5148         free_spacing arg to Inset::latexOptional.
5150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5151         free_spacing arg.
5153 2003-05-22  Angus Leeming  <leeming@lyx.org>
5155         * latexrunparams.h: add fragile and use_babel variables.
5157         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5158         * buffer.C (makeLaTeXFile): store this returned value in
5159         runparams.use_babel, thus passing it to the inset::latex methods.
5161         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5162         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5164         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5165         longer has a fragile arg, as it is stored in runparams.fragile.
5167         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5168         moving_arg parameter as the data is stored in runparams.fragile.
5170         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5171         a fragile parameter as the data is stored in runparams.fragile.
5173 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5177 2003-05-22  Angus Leeming  <leeming@lyx.org>
5179         * latexrunparams.h: add a 'bool nice' which defaults to false.
5181         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5182         now encapsulated within runparams.
5184         * bufferlist.C (updateIncludedTeXfiles):
5185         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5187 2003-05-22  Angus Leeming  <leeming@lyx.org>
5189         * latexrunparams.h: new file containing struct LatexRunParams.
5190         * Makefile.am: add new file.
5192         * LaTeX.[Ch] (c-tor, run):
5193         * buffer.[Ch] (makeLaTeXFile):
5194         * bufferlist.[Ch] (updateIncludedTeXfiles):
5195         * converter.C (convert, scanLog):
5196         * converter.[Ch] (runLaTeX):
5197         * exporter.C (Export):
5198         * paragraph.[Ch] (simpleTeXOnePar):
5199         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5200         * paragraph_funcs.[Ch] (latexParagraphs):
5201         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5202         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5203         pass around a LatexRunParams parameter.
5205 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207         * paragraph.[Ch]: remove unused constructor
5209         * ParagraphList.C (erase): new function, taking two iterators
5211 2003-05-22  André Pönitz  <poenitz@gmx.net>
5213         * undo_funcs.C: remove duplicated code
5215         * iterator.[Ch]: operator=
5217 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219         * tabular.C (SetMultiColumn): ws changes
5221         * rowpainter.C (paintFirst): get rid of a ->previous
5223         * lyx_cb.C (getPossibleLabel): parlist simplification
5225         * BufferView.C (ChangeInsets): simplify slightly.
5227 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5229         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5230         * lfuns.h: new LFUN_SPACE
5231         * lyxfunc.C: protected space has a new lfun
5232         * paragraph_funcs.C: read new space insets
5233         * text3.C:
5234         * factory.C: handle new space insets
5236 2003-05-22  André Pönitz  <poenitz@gmx.net>
5238         * BufferView.C:
5239         * BufferView_pimpl.C:
5240         * buffer.[Ch]:
5241         * lyxfunc.C:
5242         * undo_funcs.C: return a ParIterator from getParFromID.
5244         * iterators.[Ch]: add two const's
5246 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248         * toc.C (getTocList): adjust
5250         * iterators.[Ch]: rework for parlist
5252         * buffer.C (par_iterator_begin): adjust
5253         (par_iterator_end): adjust
5255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5257         * BufferView.C (removeAutoInsets): adjust
5258         (ChangeInsets): adjust
5260 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5262         * text.C (top_y): fix bug 1110
5264 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5266         * errorlist.[Ch]: added
5267         * buffer.C:
5268         * BufferView.[Ch]:
5269         * BufferView_pimpl.C:
5270         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5271         instead
5273 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275         * Makefile.am: ensure that lyx is relinked upon changes to the
5276         various "convenience" libs.
5278 2003-05-20  Angus Leeming  <leeming@lyx.org>
5280         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5281         files are compiled in alphabetical order again.
5283         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5285 2003-05-19  Angus Leeming  <leeming@lyx.org>
5287         * gettext.[Ch]: remove "char const * _(char const *)".
5289 2003-05-19  André Pönitz  <poenitz@gmx.net>
5291         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5293         * Makefile.am:
5294         * BufferView.C:
5295         * DepTable.h:
5296         * LaTeXFeatures.C:
5297         * buffer.C:
5298         * lyxfont.C:
5299         * lyxlex.h:
5300         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5302 2003-05-19  André Pönitz  <poenitz@gmx.net>
5304         * buffer.C:
5305         * lyxlayout.[Ch]:
5306         * lyxtextclass.[Ch]:
5307         * paragraph.C:
5308         * paragraph_funcs.[Ch]:
5309         * text2.C:
5310         * text3.C: more insetenv work
5312 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5314         * ParagraphParameters.C (params2string): small bug fixed
5316 2003-05-16  André Pönitz  <poenitz@gmx.net>
5318         * debug.C:
5319         * bufferview_funcs.C: patch from Kornel Benko to prevent
5320           crash when _(...) is called twice in a statement
5322 2003-05-16  André Pönitz  <poenitz@gmx.net>
5324         * BufferView.C:
5325         * lyxfunc.C:
5326         * text.C:
5327         * text2.C:
5328         * text3.C:
5329         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5331 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5333         * lyx_main.C (init): remove spurious static_cast
5335 2003-05-14  André Pönitz  <poenitz@gmx.net>
5337         * BufferView.C: fix format string
5339 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5341         * BufferView.[Ch] (insertErrors): removed
5342         * BufferView.[Ch] (showErrorList): added
5343         * buffer.C (runChkTeX):
5344         * converter.C (scanLog): call showErrorList instead of inserterrors
5346 2003-05-13  André Pönitz  <poenitz@gmx.net>
5348         * BufferView_pimpl.C:
5349         * buffer.C:
5350         * bufferview_func.C:
5351         * MenuBackend.C:
5352         * lyxfunc.C:
5353         * lyxrc.C:
5354         * tex-accent.C:
5355         * text3.C:
5356         * toc.C:
5357         * tabular_funcs.h: tostr() from its own header
5359         * ParagraphParameters.C:
5360         * ToolbarBackend.C:
5361         * bufferparams.C:
5362         * format.C:
5363         * lyxlex_pimpl.C:
5364         * text3.C: STRCONV()
5366 2003-05-12  André Pönitz  <poenitz@gmx.net>
5368         * BufferView.C:
5369         * BufferView_pimpl.C:
5370         * CutAndPaste.C:
5371         * LaTeX.C:
5372         * LaTeXFeatures.C:
5373         * ParagraphParameters.C:
5374         * buffer.C:
5375         * bufferlist.C:
5376         * bufferparams.C:
5377         * bufferview_funcs.C:
5378         * converter.C:
5379         * counters.C:
5380         * debug.C:
5381         * exporter.C:
5382         * format.C:
5383         * importer.C:
5384         * lyx_cb.C:
5385         * lyx_main.C:
5386         * lyxfont.C:
5387         * lyxfunc.C:
5388         * lyxvc.C:
5389         * paragraph.C:
5390         * paragraph_funcs.C:
5391         * tabular.C:
5392         * tabular_funcs.C:
5393         * text2.C:
5394         * text3.C:  boost::format -> bformat  all over the place
5397 2003-05-09  André Pönitz  <poenitz@gmx.net>
5399         * LColor.[Ch]: Pimpl the #include <map> away
5401 2003-05-09  John Levon  <levon@movementarian.org>
5403         * bufferlist.C: never remove emergency saves
5405 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407         * Makefile.am: better lib building
5409 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5412         instead.
5413         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5414         (simpleTeXSpecialChars): adjust
5415         (simpleTeXSpecialChars): adjust
5416         * paragraph.C (simpleTeXOnePar): adjust
5417         * buffer.C (makeLaTeXFile): adjust
5419         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5421         * text2.C (changeDepth): parlist cleanup
5422         (getColumnNearX): ditto
5424         * rowpainter.C (getLabelFont): parlist cleanup
5426         * bufferlist.C (newFile): parlist cleanup
5428         * CutAndPaste.C (eraseSelection): parlist cleanup
5430         * BufferView_pimpl.C (trackChanges): parlist cleanup
5431         (dispatch): ditto
5433         * BufferView.C (lockInset): parlist cleanup.
5434         (ChangeInsets): ditto
5436 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438         * CutAndPaste.h: Update file header.
5440         * CutAndPaste.C: Update file header.
5441         Store the parts cut out of the Document in a limited_stack.
5442         (copySelection): adjust
5443         (pasteSelection): new function, takes the index in the limited stack.
5444         (nrOfParagraphs): adjust
5445         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5446         simplify error inset insertion.
5447         (checkPastePossible): adjust
5449 2003-05-06  John Levon  <levon@movementarian.org>
5451         * text2.C: don't cast wrap inset to float
5453 2003-05-05  André Pönitz  <poenitz@gmx.net>
5455         * iterator.C:
5456         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5458         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5459           few naked Paragraph *.
5461 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5463         * bufferparams.C: Output warning if a document with missing
5464         TeX document class is loaded
5465         * exporter.C: Disable TeX exports if the document class is missing
5466         * lyxtextclass.C:
5467         * lyxtextclass.h:
5468         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5469         isTeXClassAvailable()
5471 2003-05-03  John Levon  <levon@movementarian.org>
5473         * BufferView.h:
5474         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5475         explicit cursor show/hide
5477         * BufferView_pimpl.h:
5478         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5479         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5481         * lyxfunc.C: hide cursor before dispatching.
5483         * lyx_cb.C:
5484         * lyxfind.C:
5485         * text.C:
5486         * text3.C: remove explicit cursor hides
5488 2003-05-02  André Pönitz  <poenitz@gmx.net>
5490         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5492         * undo_funcs.C:
5493         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5494           linked lists
5496         * text2.C: tiny whitespace
5498 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500         * undo_funcs.C: almost only ws changes.
5502         * ParagraphList.C (splice): just return if pl is empty.
5504 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506         * ParagraphList.C (splice): new function.
5508         * CutAndPaste.C (pasteSelection): use it
5510 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512         * CutAndPaste.C (pasteSelection): remove the last next and
5513         previous from this file.
5515 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517         * CutAndPaste.C (pasteSelection): more clean up, user proper
5518         ParagraphList functions for pasteing.
5520         * ParagraphList.C (insert): new function, three arg insert
5522 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524         * ParagraphList.C (insert): new function, three arg insert
5526         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5527         not on paragraphs.
5529 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5537 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5539         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5540         (copySelection): clean up a bit.
5541         (pasteSelection): use make_pair
5543         * ParagraphList.C (ParagraphList): implement copy constructor
5544         (operator=): implement, base on copy constructor.
5545         (assign): new func
5547         * paragraph.C (erase): return a bool
5549         * paragraph_pimpl.C (erasePos): remove function, move contents...
5550         (erase): ... here. Return a bool.
5551         (erase): call erase instead of erasePos.
5553 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5555         * ParagraphList.h: define PitPosPair
5556         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5557         ParagraphList, fix a bug on pasting multiple pars
5558         * text2.C: change interface to C&P
5560 2003-04-30  André Pönitz  <poenitz@gmx.net>
5562         * undo_func.C: revert part of yesterday's patch 2
5564 2003-04-30  John Levon  <levon@movementarian.org>
5566         * LColor.C: s/tabular/table/
5568 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570         * text3.C (dispatch): do not convert iterator -> pointer
5571         * undo_funcs.C (setCursorParUndo): ditto
5572         * text_funcs.C (transposeChars): ditto
5574         * text2.C (setLayout): ws changes only
5576         * text.C (breakParagraph): do not convert iterator -> pointer
5577         (insertChar): ditto
5578         (acceptChange): ditto
5579         (rejectChange): ditto
5580         (changeCase): ditto
5581         (Delete): ditto
5582         (backspace): ditto
5584         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5585         pointer
5587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5589         * text3.C (gotoInset): YABG (yet another bad getChar)
5591 2003-04-29  André Pönitz  <poenitz@gmx.net>
5593         * paragraph.h: make operator= private unimplemented as long as
5594           it is unusable
5596         * ParagraphList.C: whitespace
5598         * paragraph.[Ch]:
5599         * paragraph_pimpl.[Ch]:
5600         * paragraph_funcs.C:
5601         * CutAndPaste.C:
5602         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5604         * text2.C:
5605           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5607 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5609         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5610         * paragraph.[Ch] (erase):
5611         * paragraph_pimpl.[Ch] (erase): change return type and value
5612         * text2.C (cutSelection): some rework
5614 2003-04-28  John Levon  <levon@movementarian.org>
5616         * bufferlist.C: changes for unsaved changes dialog
5618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620         * bufferlist.C (newFile): set language (messages_) for new
5621         documents also.
5623         * buffer.C (readFile): ws changes only.
5625 2003-04-28  André Pönitz  <poenitz@gmx.net>
5627         * undo_funcs.C:
5628         * lyxfunc.C:
5629         * buffer.[Ch]:
5630         * BufferView_pimpl.C:
5631         * BufferView.C: getParFromID related ParagraphList::iterator changes
5633 2003-04-28  André Pönitz  <poenitz@gmx.net>
5635         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5636           Changes
5638 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640         * messages.C: remove one more localedir class variable.
5642 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644         * messages.C (getLocaleDir): singleton generation function
5645         (Pimpl): use it.
5646         (Messages): add a default constructor.
5648         * main.C (main): do not setup localedir here, do not call
5649         gettext_init.
5651         * gettext.C (_): use it.
5652         (gettext_init): delete funciton
5654 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656         * gettext.C (getLyXMessages): new singleton generating function.
5658         * buffer.C (updateDocLang): adjust
5660         * Makefile.am (messages.o): add target
5661         (main.o): remove target
5663 2003-04-27  John Levon  <levon@movementarian.org>
5665         * bufferlist.C:
5666         * lyx_cb.C:
5667         * lyxfunc.C:
5668         * lyxvc.C: specify cancel button in Alert::prompt
5670 2003-04-26  John Levon  <levon@movementarian.org>
5672         * text3.C:
5673         * lyxfunc.C:
5674         * lfuns.h:
5675         * LyXAction.C: add LFUN_INSET_SETTINGS
5677         * lyxfunc.C: don't enable tabular-feature when there's
5678         just any locking inset
5680 2003-04-26  John Levon  <levon@movementarian.org>
5682         * bufferlist.C: re-add Cancel to buffer close question
5684         * lyxfunc.C: fix import UI a bit
5686 2003-04-25  John Levon  <levon@movementarian.org>
5688         * gettext.C: remove the broken asserts for now
5690 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692         * messages.C: make case where setlocale cannot comply work better.
5694         * buffer.C (updateDocLang): new function
5695         (changeLanguage): use it
5696         (readFile): use it
5698         * text2.C (setCounter): use B_ a bit.
5700         * lyxlayout.C (Read): be sure to trim the label strings.
5702         * messages.C (Messages): fix typo in comment
5704         * buffer.C (readFile): set message_ after file is loaded.
5705         (makeDocBookFile): remove double return
5706         (changeLanguage): reset message_ upon language change.
5707         (B_): new func, use this to get translated buffer strings.
5709         * main.C: add myself and Jean Marc as authors.
5711 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713         * messages.[hC]: pimplify Messages, and three different pimpls to be
5714         used in different circumstances.
5716         * gettext.[Ch]: change for use with new message code.
5718 2003-04-24 André Pönitz <poenitz@gmx.net>
5720         * factory.C: support for eqref
5722 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724         * messages.[Ch]: add missing char
5726         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5728         * messages.[Ch]: New files
5730 2003-04-18  John Levon  <levon@movementarian.org>
5732         * BufferView.h:
5733         * BufferView.C:
5734         * BufferView_pimpl.C:
5735         * lfuns.h:
5736         * LyXAction.C:
5737         * lyxtext.h:
5738         * text2.C: remove layout-copy/paste (bug 778)
5740 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5742         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5744 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5746         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5747         if they succeed. Act accordingly.
5749 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751         * text2.C (setCharFont): adjust
5752         (setCounter): adjust
5753         (insertStringAsLines): adjust
5755         * text.C (leftMargin): adjust
5756         (setHeightOfRow): adjust
5758         * rowpainter.C (paintFirst): adjust
5759         (paintLast): adjust
5761         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5762         (outerHook): ditto
5763         (isFirstInSequence): ditto
5764         (getEndLabel): ditto
5765         (outerFont): adjust
5767         * paragraph.C (getParLanguage): comment out some hard stuff.
5769         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5770         (sgmlError): ditto
5771         (simpleDocBookOnePar): ditto
5772         (makeDocBookFile): use ParagraphList::iterator
5774         * CutAndPaste.C (pasteSelection): adjust
5776 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778         * text2.C (getFont): adjust
5779         (getLayoutFont): adjust
5780         (getLabelFont): adjust
5782         * paragraph_funcs.C (TeXOnePar): adjust
5784         * buffer.C (simpleLinuxDocOnePar): adjust
5785         (simpleDocBookOnePar): adjust
5787         * CutAndPaste.C (pasteSelection): adjust
5789         * BufferView.C (getEncoding): adjust
5791         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5793 2003-04-16  John Levon  <levon@movementarian.org>
5795         * lyxfind.C: use parlist stuff for search/changes
5797 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5801         * text2.C (deleteEmptyParagraphMechanism): adjust
5803         * text2.[Ch] (ownerParagraph): delete func (both of them
5805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811         * ParagraphList.C: prepare for NO_NEXT
5813 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815         * text2.C (getFont): adjust
5816         (getLayoutFont): adjust
5817         (getLabelFont): adjust
5819         * paragraph.C (getFont): adjust
5820         (getLabelFont): adjust
5821         (getLayoutFont): adjust
5823         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5825 2003-04-15  John Levon  <levon@movementarian.org>
5827         From Angus Leeming
5829         * lyx_main.C: handle Include in .ui files
5831 2003-04-15  John Levon  <levon@movementarian.org>
5833         * MenuBackend.C: make the doc files length shorter
5835         * ToolbarBackend.h:
5836         * ToolbarBackend.C: handle toolbar placement flags,
5837         Minibuffer
5839 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5842         adjust
5844         * paragraph_funcs.C (TeXOnePar): adjust
5846         * paragraph.C (getLabelFont): add outerfont arg, adjust
5847         (getLayoutFont): ditto
5848         (simpleTeXOnePar): adjust
5850         * paragraph_pimpl.C (realizeFont): delete func
5852 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5854         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5855         row argument, constify cur argument.
5857 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859         * text2.C (getFont): adjust
5860         (getLayoutFont): adjust
5861         (getLabelFont): adjust
5863         * paragraph_funcs.C (TeXOnePar): adjust
5864         (outerFont): new func...
5865         (realizeFont): ...moved out from here, changed this to facilitate
5866         transition
5868         * paragraph.C (getFont): take outerfont as arg, adjust
5869         (simpleTeXOnePar): add outerfont arg, adjust
5871         * buffer.C (simpleLinuxDocOnePar): adjust
5872         (simpleDocBookOnePar): adjust
5874         * CutAndPaste.C (pasteSelection): adjust
5876         * BufferView.C (getEncoding): adjust
5878 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880         * text2.C (setCharFont): adjust
5881         (setCounter): adjust
5883         * text.C (leftMargin): adjust
5884         (setHeightOfRow): adjust
5886         * rowpainter.C (paintFirst): adjust
5887         (paintLast): adjust
5889         * paragraph_pimpl.C (realizeFont): adjust
5891         * paragraph.C (isFirstInSequence): move from here...
5892         * paragraph_funcs.C (isFirstInSequence): ...to here
5894         * paragraph.C (outerHook): move from here...
5895         * paragraph_funcs.C (outerHook): ...to here
5897         * paragraph.C (depthHook): move from here...
5898         * paragraph_funcs.C (depthHook): ...to here
5900         * paragraph.C (getEndLabel): move from here...
5901         * paragraph_funcs.C (getEndLabel): ...to here
5903         * text2.C (realizeFont): move from here...
5904         * paragraph_funcs.C (realizeFont): ...to here
5906 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5910 2003-04-14  Angus Leeming  <leeming@lyx.org>
5912         * LColor.[Ch]: scrap LColor mathcursor.
5914 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916         * lyxlex.[Ch] (text): delete function
5917         * trans.C (Load): adjust
5918         * paragraph_funcs.C (readParToken): adjust
5920 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5923         vector<char> instead of a char[].
5925         * lyxlex_pimpl.C (getString): adjust
5926         (next): adjust
5927         (lex): use getString
5928         (eatLine): adjust
5929         (nextToken): adjust
5931         * lyxlex.C (text): use pimpl_->getString()
5932         (getBool): ditto
5933         (findToken): ditto
5935 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5938         (makeFontEntriesLayoutSpecific): temp var for par.size()
5939         (setLayout): temp var for ownerParagraphs().end()
5940         (fullRebreak): temp var for rows().end()
5941         (selectionAsString): temp var for boost::next(startpit), realize
5942         that the while really is a regular for loop.
5943         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5944         setCursor in one place.
5945         (setParagraph): temp vr for ownerParagraphs().end()
5946         (updateCounters): make the while loop a for loop
5947         (cutSelection): temp var for ownerParagraphs().end()
5948         (updateInset): make the do {} while() a regular for loop
5949         (getCursorX): use temp vars
5950         (setCurrentFont): use temp vars
5951         (getColumnNearX): use temp vars
5953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955         * text.C (transformChar): use temp var for getChar
5956         (computeBidiTables): use temp var for row->par()
5957         (fill): move temp vars for row->par() and pit->layout() earlier in
5958         the function.
5959         (labelFill): use temp var for row->par()
5960         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5961         asc and desc, realize that pit never changes and that firstpit is
5962         just a duplicate and not needed. Exchange rit->par() with pit in a
5963         lot of places.
5964         (breakAgain): use a temp var for boost::next(rit)
5965         (breakAgainOneRow): ditto
5966         (breakParagraph): use a temp var for rows().begin()
5967         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5968         (cursorRightOneWord): use temp var for cursor.par() and
5969         cursor.pos(), remove usage of tmpcursor.
5970         (cursorLeftOneWord): use temp var for cursor.par() and
5971         cursor.pos() only set cur at end of function.
5973 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975         * text.C, text2.C: exchange all usage of Paragraph::next with
5976         boost::next(ParagraphList::iterator)
5978         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5980         * text2.C (cursorTop): simplify implementation
5981         (cursorBottom): ditto
5982         (setParagraph): use ParagraphList::iterator
5983         (setCurrentFont): adjust
5984         (getColumnNearX): adjust
5985         (cursorRight): adjust
5986         (cursorLeft): remove usage of Paragraph::previous
5987         (cursorUpParagraph): ditto
5988         (deleteEmptyParagraphMechanism): slight cleanup
5990         * text.C (isBoundary): take a Paragraph const & instead of a
5991         pointer as arg.
5992         (addressBreakPoint): ditto
5993         (leftMargin): remove usage of Paragraph::previous.
5994         (setHeightOfRow): ditto
5995         (cursorLeftOneWord): ditto
5996         (selectNextWordToSpellcheck): ditto
5997         (Delete): ditto
5998         (backspace): ditto
5999         (breakParagraph): remove one usage of Paragraph::next
6000         (redoParagraph): ditto
6001         (acceptChange): ditto
6002         (insertChar): adjust
6003         (rowBreakPoint): adjust
6005         * bufferview_funcs.C (toggleAndShow): adjust
6007 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6009         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6010         methods to access it.
6011         * lyxtext.h:
6012         * text.C: Added updateRowPositions to compute all row positions.
6013         Make top_y and getRowNearY() to use the cached y position
6015 2003-04-11  John Levon  <levon@movementarian.org>
6017         * text.C (rowBreakPoint): reintroduce the labelEnd
6018         checks, code copied from the row fill stuff. Deep voodoo.
6020         * text.C (fill): add a comment and debugging for the
6021         next poor soul.
6023 2003-04-11  John Levon  <levon@movementarian.org>
6025         * text.C: make sure fullrow insets get wrapped to the next line,
6026         even when they're in a manual label
6028 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030         * text2.C (insertParagraph): make it take ParagraphList::iterator
6031         as arg.
6032         (setLayout): make it return ParagraphList::iterator
6033         (redoParagraphs): ditto
6034         (setCounter): ditto
6035         (checkParagraph): ditto
6037         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6039         * text2.C: adjust several funcs.
6040         (realizeFont): take a ParagraphList::iterator as arg.
6041         (getLayoutFont): ditto
6042         (getLabelFont): ditto
6043         (setCharFont): ditto
6045         * text.C: adjust several funcs.
6047 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6049         * text.C (selectNextWordToSpellcheck): don't accidentally
6050         skip insets
6052 2003-04-10  John Levon  <levon@movementarian.org>
6054         * ToolbarBackend.C (getIcon): special handling for
6055         LFUN_MATH_DELIM
6057 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6059         * text2.C (cursorRight): a getChar assert fixed
6061 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063         * text2.C (getFont): change to take a ParagraphList::iterator
6064         instead of Paragraph*
6065         Adjust several functions.
6067         * text.C (transformChar): change to take a ParagraphList::iterator
6068         instead of Paragraph*
6069         (singleWidth): ditto
6070         Adjust several functions.
6072         * rowpainter.C: adjust several functions
6073         * rowpainter.h:store a ParagraphList::iterator and not a
6074         Paragraph&.
6077 2003-04-09  John Levon  <levon@movementarian.org>
6079         * lyxfunc.C:
6080         * lfuns.h:
6081         * LyXAction.h:
6082         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6083         and the "help" bits as well
6085 2003-04-09  John Levon  <levon@movementarian.org>
6087         * ToolbarBackend.h:
6088         * ToolbarBackend.C: allow multiple toolbars
6090 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092         * undo_funcs.C (setCursorParUndo): adjust
6094         * text_funcs.C (transposeChars): adjust
6096         * text3.C (gotoNextInset): adjust
6097         (dispatch): adjust
6099         * text2.C (setLayout): adjust
6100         (changeDepth): adjust
6101         (setFont): adjust
6102         (redoParagraphs): adjust
6103         (selectionAsString): adjust
6104         (setParagraph): adjust
6105         (insertInset): adjust
6106         (cutSelection): adjust
6107         (copySelection): adjust
6108         (pasteSelection): adjust
6109         (insertStringAsLines): adjust
6110         (updateInset): adjust
6111         (setCursor): change to take a ParagraphList::iterator parameter
6112         (setCursorIntern): change to take a ParagraphList::iterator parameter
6113         (setCurrentFont): adjust
6114         (cursorLeft): adjust
6115         (cursorRight): adjust
6116         (deleteEmptyParagraphMechanism): adjust
6118         * text.C (breakParagraph): adjust
6119         (insertChar): adjust
6120         (acceptChange): adjust
6121         (rejectChange): adjust
6122         (selectNextWordToSpellcheck): adjust
6123         (changeCase): adjust
6124         (Delete): adjust
6125         (backspace): adjust
6127         * lyxfind.C (SearchForward): adjust
6128         (SearchBackward): adjust
6129         (nextChange): adjust
6131         * lyxcursor.C (par): adjust
6133         * lyxcursor.h: store a ParagraphList::iterator instead of a
6134         Paragraph*
6136         * lyx_cb.C (getPossibleLabel): adjust
6138         * bufferview_funcs.C (toggleAndShow): adjust
6140         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6141         (dispatch): adjust
6143         * BufferView.C (removeAutoInsets): adjust
6144         (lockedInsetStoreUndo): adjust
6146 2003-04-09  John Levon  <levon@movementarian.org>
6148         * ToolbarBackend.C: try icon without argument
6149         if with argument fails
6151 2003-04-08  John Levon  <levon@movementarian.org>
6153         * ToolbarBackend.h:
6154         * ToolbarBackend.C: add getIcon(), handle tooltip,
6155         and change from "Icon" to "Item".
6157 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6159         * BufferView.C (lockInset): another bad getchar crunched
6161 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6163         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6164         again)
6166 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6168         * lyxfind.C (searchForward, searchBackwards): bug 782
6170 2003-04-07  John Levon  <levon@movementarian.org>
6172         * paragraph.C: remove dead comment
6174         * text.C: remove troublesome depth-fiddling code
6175         in leftMargin() and rightMargin() (bug 1017)
6177         * text.C: fix breaking of rows in nested lists
6178         (bug 1004)
6180         * text2.C (updateCounters): fix up depth values
6181         (bug 1013)
6183 2003-04-07  John Levon  <levon@movementarian.org>
6185         * BufferView_pimpl.C: clear message when doc finishes resizing,
6186         and after a mouse event
6188         * lyxfunc.C: clear message after exiting inset
6190 2003-04-07  John Levon  <levon@movementarian.org>
6192         * bufferview_funcs.C: show math status not outside
6193         status in the statusbar
6195 2003-04-07  John Levon  <levon@movementarian.org>
6197         * lyxfunc.C: note status changed after a depth change
6199 2003-04-04  Angus Leeming  <leeming@lyx.org>
6201         * LaTeX.h: move AuxInfo operator==, != out of line.
6202         Remove LaTeX virtual destructor; nothing derives from it.
6203         Move operator()() out of public area and rename it startscript().
6204         Change protected for private.
6206 2003-04-04  Angus Leeming  <leeming@lyx.org>
6208         * lyxfunc.C:
6209         * text2.C: remove unneeded #includes.
6211 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6213         * text2.C (dEPM): fix the heigth of the next row
6215 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6217         * text.C: squashed an invalid getChar requester + some ws changes
6219 2003-04-03  John Levon  <levon@movementarian.org>
6221         * bufferview_funcs.h:
6222         * bufferview_funcs.C:
6223         * lyxfunc.C:
6224         * lyxtext.h:
6225         * text2.C: make getStatus work for the env depth lfuns
6227 2003-04-03  John Levon  <levon@movementarian.org>
6229         * bufferview_funcs.h:
6230         * bufferview_funcs.C:
6231         * lyxfunc.C:
6232         * lyxtext.h:
6233         * text2.C: parlistize decDepth(), by merging it with incDepth()
6235 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237         * lyxrow.h: store a ParagraphList::iterator instead of a
6238         Paragraph* and adjust other class functions to suit.
6240         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6241         above.
6243 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6245         * text2.C (setCursor): do not anchor to cursor row for the time being
6247 2003-04-02  John Levon  <levon@movementarian.org>
6249         * LyXAction.C:
6250         * lfuns.h:
6251         * lyx_main.C:
6252         * lyxtext.h:
6253         * text.C:
6254         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6256 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258         * paragraph.h: make ParagraphList and ParagraphList::iterator
6259         friends of Paragraph.
6261         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6263         * ParagraphList.C: Use the private next_ and previous_ from
6264         Paragraph.
6266 2003-04-01  John Levon  <levon@movementarian.org>
6268         * ToolbarBackend.h:
6269         * ToolbarBackend.C:
6270         * Makefile.am: rename, remove defaults gunk
6272         * MenuBackend.h:
6273         * MenuBackend.C: remove defaults gunk
6275         * Languages.h:
6276         * Languages.C: remove defaults gunk
6278         * lyx_main.h:
6279         * lyx_main.C: error out if files couldn't be found.
6281 2003-04-02  John Levon  <levon@movementarian.org>
6283         * text2.C: make incDepth() use parlist
6285 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287         * undo_funcs.C (firstUndoParagraph): adjust
6289         * text3.C (gotoInset): adjust
6290         (dispatch): adjust, and rewrite loop.
6292         * text2.C (init): adjust, and rewrite loop.
6293         (redoParagraphs): adjust
6294         (updateInset): adjust, and rewrite loop.
6295         (deleteEmptyParagraphMechanism): adjust
6297         * tabular.C (LyXTabular): adjust
6298         (SetMultiColumn): adjust
6299         (TeXRow): adjust
6301         * lyxtext.[Ch] (ownerParagraph): delete function
6302         (ownerParagraphs): new function returns a ParagraphList.
6304         * BufferView.C (removeAutoInsets): adjust
6305         (insertErrors): adjust
6306         (setCursorFromRow): adjust
6308 2003-04-01  Angus Leeming  <leeming@lyx.org>
6310         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6311         in the frontends.
6313 2003-04-02  John Levon  <levon@movementarian.org>
6315         * lyxtext.h:
6316         * text.C:
6317         * Makefile.am:
6318         * text_funcs.h:
6319         * text_funcs.C: make transposeChars a free function
6321         * lyxrow_funcs.C: remove wrong comment
6323 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325         * lyxtext.h: adjust
6326         * rowpainter.C: adjust
6327         * text.C: adjust
6328         * text2.C: adjust
6329         * text3.C: adjust
6331         * lyxrow_funcs. [Ch]: new files
6333         * lyxrow.[Ch]: remove next and previous pointers
6334         (next,previous): remove accessor functions
6335         (isParEnd): move to lyxrow_funcs
6336         (lastPos): move to lyxrow_funcs
6337         (nextRowIsAllInset): move to lyxrow_funcs
6338         (lastPrintablePos): move to lyxrow_funcs
6339         (numberOfSeparators): move to lyxrow_funcs
6340         (numberOfHfills): move to lyxrow_funcs
6341         (numberOfLabelHfills): move to lyxrow_funcs
6342         (hfillExpansion): move to lyxrow_funcs
6344         * lyxfunc.C: adjust
6346         * bufferview_funcs.C (toggleAndShow): adjust
6348         * RowList.h: Remove class RowList from file leave just a
6349         std::list<Row>.
6351         * RowList.C: delete file
6353         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6354         and lyxrow_funcs.h
6356 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358         * text3.C (cursorPrevious): adjust
6359         (cursorNext): adjust
6360         (dispatch): adjust
6362         * text2.C (redoHeightOfParagraph): adjust
6363         (redoDrawingOfParagraph): adjust
6364         (setCursor): adjust
6366         * text.C (breakParagraph): adjust
6367         (insertChar): adjust
6368         (backspace): adjust
6370         * rowpainter.C (RowPainter): adjust
6371         (leftMargin): simplify and adjust
6372         (most rowpainter functions): adjust.
6374         * rowpainter.h: store the row as RowList::iterator not as Row*
6376         * lyxcursor.C (row): taka RowList::iterator as arg
6377         (irow): ditto
6379         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6380         of Row*.
6382 2003-04-01  Angus Leeming  <leeming@lyx.org>
6384         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6385         stuff like bool Bool.
6387 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6389         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6390         rewrite a loop
6392 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6395         RowList::iterator.
6397         * lyxtext.h (rows): drop one version and leve a const variant that
6398         returns a RowList::iterator.
6400 2003-03-31  Angus Leeming  <leeming@lyx.org>
6402         * text.C (fill): ensure that the signature is the same as that in the
6403         header file.
6405 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407         * text2.C (redoParagraphs): adjust
6408         (updateCounters): adjust
6409         (checkParagraph): adjust
6410         (getColumnNearX): adjust and reformat a bit.
6412         * text.C (top_y): adjust
6413         (workWidth): adjust
6414         (leftMargin): adjust
6415         (prepareToPrint): adjust
6416         (getRow): adjust
6417         (getRowNearY): adjust
6419         * lyxtext.h: make rowlist_ mutable.
6421         * RowList.h: add const_iterator
6422         * RowList.C: adjust for RowList::const_iterator.
6424         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6425         adjust.
6427 2003-03-31  John Levon  <levon@movementarian.org>
6429         * lyxrc.h:
6430         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6432         * lyx_main.C: set default fonts from using lyx_gui funcs
6434         * exporter.C: pdf_mode moved from lyxrc
6436         * lyx_cb.C:
6437         * lyxfunc.C: changes from above
6439 2003-03-31  John Levon  <levon@movementarian.org>
6441         * lyx_main.C: fix to the last fix
6443 2003-03-31  John Levon  <levon@movementarian.org>
6445         * bufferlist.C: "Load original" -> "Load Original"
6447         * converter.C:
6448         * exporter.C:
6449         * importer.C:
6450         * lyx_main.C:
6451         * format.C: more Alert cleanups
6453 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6455         * text2.C (removeParagraph): make it take a RowList::iterator as
6456         arg, adjust.
6457         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6458         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6460         * text.C (anchor_row): make it take a RowList::iterator as arg,
6461         adjust.
6462         (computeBidiTables): make it take a const reference to Row instead
6463         of Row pointer, adjust.
6464         (leftMargin): make it take a RowList::iterator as arg, adjust.
6465         (rowBreakPoint): adjust
6466         (breakAgainOneRow): make it take a RowList::iterator as arg,
6467         adjust.
6468         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6470         * bufferview_funcs.C (toggleAndShow): adjust
6472 2003-03-30  John Levon  <levon@movementarian.org>
6474         * Makefile.am:
6475         * BoostFormat.h:
6476         * boost-inst.C: moved to support
6478         * several files: changes as a result
6480 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482         * text2.C (LyXText): adjust.
6483         (init): adjust
6484         (removeRow): make it take a RowList::iterator as arg, adjust.
6485         (fullRebreak): adjust
6486         (deleteEmptyParagraphMechanism): adjust
6487         (clearPaint): adjust
6488         (postPaint): adjust
6490         * text.C (top_y): adjust
6491         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6492         (breakAgain): make it take a RowList::iterator as arg, adjust.
6493         (breakParagraph): adjust
6494         (insertChar): adjust
6495         (backspace): adjust
6497         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6498         need_break_row, and refresh_row.
6500         * text3.C (dispatch): adjust
6502         * text2.C (checkParagraph): adjust
6503         (setCursor): adjust
6504         (setCursorFromCoordinates): adjust
6506         * text.C (top_y): adjust
6507         (workWidth): adjust
6508         (getRow): make it return a RowList::iterator, adjust
6509         (getRowNearY): make it return a RowList::iterator, adjust
6511         * text2.C (init): adjust
6512         (insertRow): remove function
6513         (insertParagraph): adjust
6514         (redoParagraphs): adjust
6515         (fullRebreak): adjust
6516         (updateCounters): adjust
6518         * text.C (top_y): rewrite to use RowList iterators.
6519         (top_y): adjust
6520         (setHeightOfRow): rewrite to sue RowList iterators.
6521         (appendParagraph): adjust
6522         (breakAgain): adjust
6523         (breakAgainOneRow): adjust
6524         (breakParagraph): adjust
6525         (getRow): adjust
6526         (getRowNearY): adjust, and remove commented code.
6528         * lyxtext.h (firstRow): delete function
6529         (lastRow): delete function
6530         (rows): new function (const and non-const versions.)
6531         (insertRow): delete function
6533         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6535 2003-03-29  John Levon  <levon@movementarian.org>
6537         * BufferView_pimpl.C: always update scrollbar top
6538         because pasting text when we're anchored could mean we
6539         miss an update altogether
6541 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543         * text2.C (init): use rowlist_.end() and not 0.
6544         (insertRow): change to take a RowList::iterator as arg, adjust
6545         for this.
6546         (insertParagraph): change to take a RowList::iterator as arg,
6547         adjust for this.
6548         (redoParagraphs): remove some debug msgs.
6550         * text.C (appendParagraph): change to take a RowList::iterator
6551         arg, adjust for this.
6552         (breakAgain): add an assert
6553         (breakAgainOneRow): ditto
6555 2003-03-29  John Levon  <levon@movementarian.org>
6557         * text2.C: do not clear selection after inc/decDepth
6558         (bug 550)
6560 2003-03-29  John Levon  <levon@movementarian.org>
6562         * BufferView.C:
6563         * buffer.C: fix broken strerrors according to Lars
6565 2003-03-29  John Levon  <levon@movementarian.org>
6567         * converters.C: more Alert cleanups
6569 2003-03-29  John Levon  <levon@movementarian.org>
6571         * bufferview_funcs.C: remove pointless Alert
6573         * buffer.C: fix confusing error message when
6574         a template is chmoded 000
6576 2003-03-29  John Levon  <levon@movementarian.org>
6578         * BufferView.C:
6579         * BufferView.h:
6580         * BufferView_pimpl.C: Alert fixes
6582         * Makefile.am:
6583         * tabular.C:
6584         * tabular-old.C: remove unused table compat reading
6586 2003-03-29  John Levon  <levon@movementarian.org>
6588         * BufferView.C:
6589         * buffer.C:
6590         * lyx_cb.h:
6591         * lyx_cb.C: more Alert cleanups
6593         * lyxfunc.C: don't allow chktex if not latex document
6595 2003-03-29  John Levon  <levon@movementarian.org>
6597         * lyx_cb.C:
6598         * BufferView.C:
6599         * buffer.C: warnings pushed down from support/,
6600         kill err_alert
6602 2003-03-29  John Levon  <levon@movementarian.org>
6604         * lyxfunc.C: safety check for C-r (revert)
6606 2003-03-29  John Levon  <levon@movementarian.org>
6608         * bufferlist.h:
6609         * bufferlist.C: several UI fixes using Alert::prompt.
6610         Fix the pointless looping quit code. Fix stupid revert
6611         behaviour (bug 938)
6613         * lyxvc.h:
6614         * lyxvc.C:
6615         * lyx_cb.C: use Alert::prompt
6617         * lyx_main.C: remove a silly question
6619         * lyxfunc.C: remove a couple of silly questions,
6620         use Alert::prompt
6622 2003-03-28  John Levon  <levon@movementarian.org>
6624         * text2.C: fix bug 974 (End on empty par)
6626 2003-03-28  John Levon  <levon@movementarian.org>
6628         * BufferView_pimpl.C:
6629         * LyXAction.C:
6630         * lfuns.h: remove do-nothing math greek lfuns
6632 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634         * lyxgluelength.h (isValidGlueLength): add default arg on
6635         parameter 2. Remove default arg from friend in class.
6637         * lyxlength.h (isValidLength): add default arg on parameter 2.
6638         Remove default arg from friend in class.
6640         * text2.C (LyXText): adjust, initialize refresh_row.
6641         (init): adjust
6642         (removeRow): adjust
6643         (insertRow): adjust
6644         (insertParagraph): adjst
6645         (redoParagraphs): adjust
6646         (fullRebreak): adjust
6647         (updateCounters): adjust
6648         (deleteEmptyParagraphMechanism): first attempt at fixing a
6649         crashing bug.
6651         * text.C (top_y): adjust
6652         (setHeightOfRow): adjust
6653         (getRow): adjust
6654         (getRowNearY): adjust
6656         * lyxtext.h: include RowList.h
6657         (~LyXText): not needed anymore, deleted.
6658         (firstRow): modify for RowList
6659         (lastRow): new function
6660         Delete firstrow and lastrow class variables, add a Rowlist
6661         rowlist_ class variable.
6663         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6664         paragraph is empty.
6666         * RowList.C (insert): fix case where it == begin().
6668 2003-03-26  Angus Leeming  <leeming@lyx.org>
6670         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6671         the thesaurus dialog.
6673 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6677         * RowList.[Ch]: new files
6679         * ParagraphList.C (erase): handle the case where it == begin
6680         correctly.
6682 2003-03-25  John Levon  <levon@movementarian.org>
6684         * Makefile.am:
6685         * aspell_local.h:
6686         * aspell.C: add new aspell support
6688         * lyxrc.h:
6689         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6690         have it accessible.
6692 2003-03-25  Angus Leeming  <leeming@lyx.org>
6694         * lfuns.h:
6695         * LyXAction.C (init): new LFUN_INSET_INSERT.
6697         * BufferView_pimpl.C (dispatch): split out part of the
6698         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6700         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6701         LFUN_INSET_APPLY.
6703 2003-03-25  Angus Leeming  <leeming@lyx.org>
6705         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6707 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6709         * text2.C:
6710         * text3.C: remove useless row->height(0)
6712 2003-03-25  John Levon  <levon@movementarian.org>
6714         * lyxtext.h:
6715         * text2.C:
6716         * text3.C: rename the refreshing stuff to better names
6718 2003-03-24  John Levon  <levon@movementarian.org>
6720         * BufferView_pimpl.h:
6721         * BufferView_pimpl.C: update layout choice on a mouse
6722         press/release
6724 2003-03-23  John Levon  <levon@movementarian.org>
6726         * Makefile.am: fix commandtags.h reference
6728 2003-03-22  John Levon  <levon@movementarian.org>
6730         * BufferView_pimpl.C:
6731         * lyxtext.h:
6732         * rowpainter.C:
6733         * rowpainter.h:
6734         * text.C:
6735         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6737 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6739         * lyxtext.h:
6740         * text.C: take the rtl methods out of line
6742 2003-03-21 André Pönitz <poenitz@gmx.net>
6744         * metricsinfo.[Ch]: new files containing structures to be passed around
6745         during the two-phase-drawing...
6747 2003-03-21 André Pönitz <poenitz@gmx.net>
6749         * lyxtextclass.C: read 'environment' tag.
6751 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6753         * text2.C (removeRow): fix bug 964
6755 2003-03-20  John Levon  <levon@movementarian.org>
6757         * rowpainter.C:
6758         * text.C:
6759         * text2.C: paint cleanups. Inset::update() dropped font
6760         parameter
6762 2003-03-19  John Levon  <levon@movementarian.org>
6764         * lyxfunc.C: only fitcursor/markDirty if available()
6766 2003-03-19  John Levon  <levon@movementarian.org>
6768         * commandtags.h: rename to ...
6770         * lfuns.h: ... this, and renumber / cleanup
6772 2003-03-19  John Levon  <levon@movementarian.org>
6774         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6775         fit the cursor after an lfun
6777         * BufferView.h:
6778         * BufferView.C:
6779         * BufferView_pimpl.h:
6780         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6782         * LyXAction.C: layout-character should have ReadOnly
6784         * ParagraphParameters.C:
6785         * buffer.C:
6786         * bufferview_funcs.C:
6787         * lyx_cb.C:
6788         * lyxfind.C:
6789         * lyxtext.h:
6790         * text.C:
6791         * text2.C:
6792         * text3.C:
6793         * undo_funcs.C: changes from above
6795 2003-03-18  John Levon  <levon@movementarian.org>
6797         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6798         remove it from update()
6800         * lyxfunc.C: update layout choice after an lfun
6802         * text3.C: remove extra updateLayoutChoice()s
6804 2003-03-18  John Levon  <levon@movementarian.org>
6806         * text.C: top_y change means full repaint, fix
6807         a drawing bug with cursor movement
6809 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6811         * lyxtext.h:
6812         * text.C:
6813         * text2.C: anchor row on setCursor
6815 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6817         * lyxtext.h: remove almost all mutable keywords
6818         * text.C:
6819         * text2.C:
6820         * text3.C: remove const keywords accordingly
6822 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6825         anon namespace
6826         (TeXEnvironment): ditto
6827         (TeXOnePar): ditto
6829 2003-03-17  John Levon  <levon@movementarian.org>
6831         * text.C (rowBreakPoint): remove attempt to fix displayed
6832         math insets inside a manual label
6834 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836         * lyxtext.h: remove BufferView* as first arg from almost all class
6837         functions.
6838         * other files: adjust.
6840 2003-03-17  John Levon  <levon@movementarian.org>
6842         * lyxtext.h:
6843         * undo_funcs.C:
6844         * text2.C: more paint cleanups
6846         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6848         * rowpainter.h:
6849         * rowpainter.C: remove "smart" background painting code
6851 2003-03-16  John Levon  <levon@movementarian.org>
6853         * lyxtext.h:
6854         * text.C:
6855         * text2.C:
6856         * text3.C: add helper functions for setting refresh_row/y
6858 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6860         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6861         newline inset which *can* get inserted in the pass_thru layouts.
6862         This is primarily for literate documents.
6864 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6866         * buffer.C: increment LYX_FORMAT to 223
6868 2003-03-14 André Pönitz <poenitz@gmx.net>
6870         * textclass.h: prepare for environment handling, ws changes
6871         * lyxlayout.C: read latexheader and latexfooter tags
6873 2003-03-14  John Levon  <levon@movementarian.org>
6875         * text2.C: rewrite ::status() a bit
6877 2003-03-13  John Levon  <levon@movementarian.org>
6879         * lyxtext.h: add some docs
6881 2003-03-13  John Levon  <levon@movementarian.org>
6883         * lyxtext.h:
6884         * text.C:
6885         * text2.C:
6886         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6888 2003-03-13  John Levon  <levon@movementarian.org>
6890         * text3.C: fix appendix redrawing
6892 2003-03-13  John Levon  <levon@movementarian.org>
6894         * text.C (setHeightOfRow):
6895         * rowpainter.h:
6896         * rowpainter.C: make appendix mark have the text
6897           "Appendix" so the user knows what it is
6899         * LColor.h:
6900         * LColor.C: s/appendixline/appendix/ from above
6902 2003-03-13  John Levon  <levon@movementarian.org>
6904         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6906         * text.C: fix a getChar(pos) bug properly
6908 2003-03-13  Angus Leeming  <leeming@lyx.org>
6910         * commandtags.h:
6911         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6912         Probably only temporary. Let's see how things pan out.
6914         * BufferView.C (unlockInset):
6915         * BufferView_pimpl.C (fitCursor):
6916         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6918         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6919         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6921         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6922         new functions that convert ParagraphParameters to and from a string.
6924         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6925         BufferView::Pimpl's dispatch.
6926         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6928 2003-03-13 André Pönitz <poenitz@gmx.net>
6930         * lyxfunc.C:
6931         * text3.C:
6932         * factory.C: make it aware of InsetEnv
6934 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936         * text2.C (setCursor): never ask for one past last
6937         (setCursor): add some debugging messages.
6939         * text.C (singleWidth): never ask for one past last
6940         (singleWidth): ditto
6941         (leftMargin): ditto
6942         (rightMargin): ditto
6943         (rowBreakPoint): ditto
6944         (setHeightOfRow): ditto
6945         (prepareToPrint): ditto
6947         * rowpainter.C (paintBackground): never ask for one past last
6948         (paintText): never ask for one past last
6950         * paragraph_pimpl.C (getChar): make the assert stricter, never
6951         allow the one past last pos to be taken
6953         * paragraph.C (getChar): ws changes only
6955         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6956         (numberOfSeparators): ditto
6957         (numberOfHfills): ditto
6959 2003-03-12  John Levon  <levon@movementarian.org>
6961         * author.h:
6962         * author.C:
6963         * bufferparams.h:
6964         * bufferparams.C:
6965         * paragraph_funcs.C: fix per-buffer authorlists
6967 2003-03-12  John Levon  <levon@movementarian.org>
6969         * text.C: fix newline in right address
6971 2003-03-12  Angus Leeming  <leeming@lyx.org>
6973         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6974         duplicate those in LyXFunc::dispatch.
6976         * commandtags.h:
6977         * LyXAction.C:
6978         * ToolbarDefaults.C:
6979         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6980         Add LFUN_FONTFREE_UPDATE.
6982         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6983         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6985         * bufferview_func.[Ch]: several new functions to facilliate
6986         transfer of data to and from the character dialog.
6988 2003-03-12  John Levon  <levon@movementarian.org>
6990         * buffer.C:
6991         * paragraph.h:
6992         * paragraph.C:
6993         * paragraph_funcs.C:
6994         * paragraph_pimpl.C:
6995         * sgml.C:
6996         * tabular.C:
6997         * text.C:
6998         * text3.C: remove META_NEWLINE in favour of an inset
7000         * rowpainter.h:
7001         * rowpainter.C: remove paintNewline (done by inset)
7003 2003-03-12  John Levon  <levon@movementarian.org>
7005         * paragraph_pimpl.C: complain about bad getChar()s
7006         for a while at least
7008 2003-03-12  John Levon  <levon@movementarian.org>
7010         * buffer.h:
7011         * buffer.C: move paragraph read into a separate function,
7012         a little renaming to reflect that.
7014         * bufferparams.h:
7015         * bufferparams.C: remove the author_ids map, not necessary now
7017         * factory.h:
7018         * factory.C: moved Buffer::readInset to here
7020         * paragraph_funcs.h:
7021         * paragraph_funcs.C: readParagraph free function moved from
7022         buffer.C
7024         * tabular.C: name change
7026 2003-03-12  John Levon  <levon@movementarian.org>
7028         * buffer.C:
7029         * ParagraphParameters.C: move par params input to
7030         a read() method
7032         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7033         behave like a normal read from the stream wrt reading
7034         a line vs. a \\token
7036 2003-03-12  John Levon  <levon@movementarian.org>
7038         * paragraph.C:
7039         * ParagraphParameters.h:
7040         * ParagraphParameters.C: move output code to a
7041         ::write() method
7043 2003-03-12  John Levon  <levon@movementarian.org>
7045         * BufferView.C (insertLyXFile):
7046         * buffer.h:
7047         * buffer.C:
7048         * tabular.C: use a parlist iterator for creating the
7049           document.
7051 2003-03-12  John Levon  <levon@movementarian.org>
7053         * buffer.C: make current_change static local not
7054           static file-scope
7056 2003-03-12  John Levon  <levon@movementarian.org>
7058         * buffer.C: fix insertStringAsLines for change tracking
7060 2003-03-12  John Levon  <levon@movementarian.org>
7062         * BufferView.C:
7063         * tabular.C:
7064         * buffer.h:
7065         * buffer.C:
7066         * bufferparams.h:
7067         * bufferparams.C: move author list into params. Rename some
7068           functions. Move the header reading into a separate token
7069           loop. Move the header token reading into BufferParams.
7071 2003-03-12  John Levon  <levon@movementarian.org>
7073         * changes.C: put debug inside lyxerr.debugging() checks
7075 2003-03-11 André Pönitz <poenitz@gmx.net>
7077         * factory.C: make it aware of InsetHFill
7079 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7081         * buffer.C (latexParagraphs): move function from here...
7082         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7083         args.
7085 2003-03-10  Angus Leeming  <leeming@lyx.org>
7087         * LyXAction.C (init): fix bug in poplating array with multiple entries
7088         with the same LFUN (spotted by JMarc).
7090 2003-03-10  John Levon  <levon@movementarian.org>
7092         * text.C:
7093         * text2.C: move getColumnNearX() near its
7094         only call site
7096 2003-03-10  John Levon  <levon@movementarian.org>
7098         * text.C: fix break before a minipage
7100 2003-03-10  John Levon  <levon@movementarian.org>
7102         * text.C: fix the last commit
7104 2003-03-09  John Levon  <levon@movementarian.org>
7106         * lyxtext.h:
7107         * text.C:
7108         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7109         bug 365 (don't break before insets unless needed). Don't
7110         return a value > last under any circumstances.
7112 2003-03-09  Angus Leeming  <leeming@lyx.org>
7114         * BufferView_pimpl.C (trackChanges, dispatch): call
7115         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7117 2003-03-09  Angus Leeming  <leeming@lyx.org>
7119         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7120         than Dialogs::showAboutlyx().
7122 2003-03-09  Angus Leeming  <leeming@lyx.org>
7124         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7125         than Dialogs::showTabularCreate().
7127 2003-03-09  John Levon  <levon@movementarian.org>
7129         * lyxtext.h:
7130         * text.C:
7131         * text2.C: 3rd arg to nextBreakPoint was always the same.
7132           Use references.
7134 2003-03-08  John Levon  <levon@movementarian.org>
7136         * lyxrow.C:
7137         * paragraph.C:
7138         * paragraph.h:
7139         * rowpainter.C:
7140         * text.C:
7141         * text2.C: Remove the "main" bit from the "main body"
7142           notion.
7144 2003-03-08  John Levon  <levon@movementarian.org>
7146         * text.C (leftMargin): The left margin of an empty
7147         manual label paragraph should not include the label width
7148         string length.
7150         * text.C (prepareToPrint): don't attempt to measure hfills
7151         for empty manual label paragraphs - the answer should be 0
7153 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155         * CutAndPaste.C: remove commented code and reindent.
7157 2003-03-08  John Levon  <levon@movementarian.org>
7159         * lyxfunc.h:
7160         * lyxfunc.C: move reloadBuffer()
7162         * BufferView.h:
7163         * BufferView.C: to here
7165         * lyxvc.C: add comment
7167         * vc-backend.h:
7168         * vc-backend.C: call bv->reload() to avoid
7169           getStatus() check on MENURELOAD
7171 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7173         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7174         to an old format .dep file.
7176 2003-03-07  Angus Leeming  <leeming@lyx.org>
7178         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7179         when the LFUN_MOUSE_RELEASE should have been handled by
7180         inset->localDispatch.
7182 2003-03-07  Angus Leeming  <leeming@lyx.org>
7184         * BufferView_pimpl.C (dispatch):
7185         * LyXAction.C (init):
7186         * ToolbarDefaults.C (init):
7187         * commandtags.h:
7188         * lyxfunc.C (getStatus):
7189         remove LFUN_INSET_GRAPHICS.
7191         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7193 2003-03-07  Angus Leeming  <leeming@lyx.org>
7195         * commandtags.h:
7196         * LyXAction.C (init):
7197         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7199         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7201         * commandtags.h:
7202         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7204         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7205         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7207 2003-03-07  Angus Leeming  <leeming@lyx.org>
7209         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7210         remove "ert".
7212 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214         * ParagraphList.C (front): new function
7215         (back): implement
7217 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7219         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7220         and top_row_offset_. removed var first_y.
7221         * text.C (top_y):
7222         * text2.C (LyXText, removeRow):
7223         * text3.C:
7224         * BufferView_pimpl.C:
7225         use these methods instead of using first_y
7227 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229         * text2.C (pasteSelection): adjust for checkPastePossible
7231         * CutAndPaste.C: remove Paragraph * buf and replace with
7232         ParagraphList paragraphs.
7233         (DeleteBuffer): delete
7234         (cutSelection): change the tc type to textclass_type
7235         (copySelection): change the tc type to textclass_type
7236         (copySelection): adjust for ParagraphList
7237         (pasteSelection): change the tc type to textclass_type
7238         (pasteSelection): adjust for Paragraphlist
7239         (nrOfParagraphs): simplify for ParagraphList
7240         (checkPastePossible): simplify for ParagraphList
7241         (checkPastePossible): remove unused arg
7243         * ParagraphList.C (insert): handle the case where there are no
7244         paragraphs yet.
7246         * CutAndPaste.h: make CutAndPaste a namespace.
7248         * text3.C (dispatch): adjust
7250         * text.C (breakParagraph): add a ParagraphList as arg
7252         * paragraph_funcs.C (breakParagraph): change to take a
7253         BufferParams and a ParagraphList as args.
7254         (breakParagraphConservative): ditto
7255         (mergeParagraph): ditto
7256         (TeXDeeper): add a ParagraphList arg
7257         (TeXEnvironment): ditto
7258         (TeXOnePar): ditto
7260         * buffer.C (readLyXformat2): adjust
7261         (insertStringAsLines): adjust
7262         (latexParagraphs): adjust
7264         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7265         (cutSelection): adjust
7266         (pasteSelection): adjust
7268         * BufferView_pimpl.C (insertInset): adjust
7270 2003-03-05  Angus Leeming  <leeming@lyx.org>
7272         * commandtags.h:
7273         * LyXAction.C (init):
7274         * BufferView_pimpl.C (dispatch):
7275         * lyxfunc.C (getStatus):
7276         remove LFUN_CHILD_INSERT.
7278         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7280 2003-03-05  Angus Leeming  <leeming@lyx.org>
7282         * commandtags.h:
7283         * LyXAction.C (init):
7284         * src/factory.C (createInset):
7285         * lyxfunc.C (getStatus):
7286         * text3.C (dispatch):
7287         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7289         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7291 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293         * ParagraphList.C (insert): handle insert right before end()
7294         (erase): fix cases where it can be first or last paragraph.
7296 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7299         Paragraph::next and Paragraph::previous
7300         (TeXOnePar): ditto
7302         * text.C (breakParagraph): adjust
7304         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7305         BufferParams& as arg.
7306         (breakParagraph): use ParagraphList::insert
7307         (breakParagraphConservative): take a Buffer* instead of a
7308         BufferParams& as arg.
7309         (breakParagraphConservative): use ParagraphList::insert.
7311         * buffer.C (insertStringAsLines): un-const it
7312         (insertStringAsLines): adjust
7314         * ParagraphList.C (insert): new function
7316         * CutAndPaste.C (pasteSelection): adjust
7318         * text.C (backspace): adjust
7320         * tabular.C (SetMultiColumn): adjust
7322         * CutAndPaste.C (cutSelection): adjust
7323         (pasteSelection): adjust
7325         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7326         Buffer const * as arg
7328         * ParagraphList.C (erase): new function
7329         * paragraph_funcs.C (mergeParagraph): use it
7330         (mergeParagraph): make it take a Buffer* instead of a
7331         BufferParams* as arg
7333         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7334         as arg
7335         (breakParagraphConservative): ditto
7337         * paragraph.h: remove the breakParagraph friend
7339         * paragraph.C (eraseIntern): new function
7340         (setChange): new function
7342         * paragraph_funcs.C (mergeParagraph): make it take a
7343         ParagraphList::iterator instead of a Paragraph *, adjust
7344         accordingly.
7346         * paragraph.h: move an #endif so that the change tracking stuff
7347         also works in the NO_NEXT case.
7349 2003-03-04  Angus Leeming  <leeming@lyx.org>
7351         * commandtags.h:
7352         * LyXAction.C: new LFUN_INSET_MODIFY.
7354         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7355         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7357 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359         * several files: ws changes only
7361         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7362         (TeXEnvironment): ditto
7363         (TeXDeeper): ditto
7365         * buffer.C (makeLaTeXFile): adjust
7366         (latexParagraphs): make it take ParagraphList::iterator as args
7368 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7370         * buffer.C (latexParagraphs): adjust
7372         * paragraph.C (TeXOnePar): move function...
7373         (optArgInset): move function...
7374         (TeXEnvironment): move function...
7375         * paragraph_pimpl.C (TeXDeeper): move function...
7376         * paragraph_funcs.C: ...here
7378         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7380 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382         * buffer.C (readInset): remove compability code for old Figure and
7383         InsetInfo insets
7385 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387         * buffer.C: ws changes
7388         (readInset):
7390         * BufferView_pimpl.C: ditto
7391         * author.C: ditto
7392         * buffer.h: ditto
7393         * bufferlist.h: ditto
7394         * changes.h: ditto
7395         * lyxfunc.C: ditto
7397 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7399         * converter.[Ch]: split into itself +
7400         * graph.[Ch]
7401         * format.[Ch]
7402         * Makefile.am: += graph.[Ch] + format.[Ch]
7403         * MenuBackend.C
7404         * buffer.C
7405         * exporter.C
7406         * importer.C
7407         * lyx_main.C
7408         * lyxfunc.C
7409         * lyxrc.C: added #include "format.h"
7411 2003-02-27  Angus Leeming  <leeming@lyx.org>
7413         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7414           a label.
7416         * factory.C (createInset): add "label" to the factory.
7418         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7419           string and do no more.
7421 2003-02-27  Angus Leeming  <leeming@lyx.org>
7423         * commandtags.h:
7424         * LyXAction.C (init):
7425         * factory.C (createInset):
7426         * BufferView_pimpl.C (dispatch):
7427           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7429         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7431         * lyxfunc.C (dispatch):
7432         * text3.C (dispatch): pass name to params2string.
7434 2003-02-26  Angus Leeming  <leeming@lyx.org>
7436         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7437           blocks together.
7438           Rearrange the ~includes. Strip out the unnecessary ones.
7440         * factory.C (createInset): reformat.
7441           create new insets for the various LFUN_XYZ_APPLY lfuns.
7443 2003-02-26  John Levon  <levon@movementarian.org>
7445         * lyxrow.h:
7446         * lyxrow.C: add isParStart,isParEnd helpers
7448         * paragraph.h: make isInserted/DeletedText take refs
7450         * paragraph_funcs.h:
7451         * paragraph_funcs.C: remove #if 0'd code
7453         * lyxtext.h:
7454         * text3.C:
7455         * text2.C:
7456         * text.C: use lyxrow helpers above.
7457           Move draw and paint routines to RowPainter.
7458           Make several methods use refs not pointers.
7459           Make backgroundColor() const.
7460           Add markChangeInDraw(), isInInset().
7461           Merge changeRegionCase into changeCase.
7462           Make workWidth() shouldn't-happen code into an Assert.
7464         * rowpainter.h:
7465         * rowpainter.C: new class for painting a row.
7467         * vspace.h:
7468         * vspace.C: make inPixels take a ref
7470 2003-02-26  Angus Leeming  <leeming@lyx.org>
7472         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7473         LFUN_REF_APPLY.
7475 2003-02-25  John Levon  <levon@movementarian.org>
7477         * ispell.C: give the forked command a more accurate name
7479 2003-02-22  John Levon  <levon@movementarian.org>
7481         * toc.h:
7482         * toc.C: make TocItem store an id not a Paragraph *
7483           (bug #913)
7485 2003-02-21  Angus Leeming  <leeming@lyx.org>
7487         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7488           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7489           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7490           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7491           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7492           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7494         * BufferView_pimpl.C (dispatch):
7495         * LyXAction.C (init):
7496         * factory.C (createInset):
7497         * lyxfunc.C (getStatus, dispatch):
7498         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7500 2003-02-21  Angus Leeming  <leeming@lyx.org>
7502         * BufferView_pimpl.C (MenuInsertLyXFile):
7503         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7504         * lyxfunc.C (menuNew, open, doImport):
7505           no longer pass a LyXView & to fileDlg.
7507 2003-02-21  Angus Leeming  <leeming@lyx.org>
7509         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7510         * LyXAction.C: change, BIBKEY to BIBITEM.
7511         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7512         Change InsetBibKey to InsetBibitem.
7513         Change BIBKEY_CODE to BIBITEM_CODE.
7514         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7515         * factory.C: replace insetbib.h with insetbibitem.h.
7516         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7517         * paragraph.C: replace insetbib.h with insetbibitem.h.
7518         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7519         Change bibkey() to bibitem().
7520         * text.C: remove insetbib.h.
7521         * text2.C: replace insetbib.h with insetbibitem.h.
7522         change bibkey() to bibitem().
7523         * text3.C: remove insetbib.h.
7524         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7526 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7528         * lyxrc.C (output): enclose user email in quotes (in case there are
7529         several words)
7531 2003-02-18  John Levon  <levon@movementarian.org>
7533         * buffer.h: add std::
7535 2003-02-17  John Levon  <levon@movementarian.org>
7537         * SpellBase.h:
7538         * ispell.h:
7539         * ispell.C:
7540         * pspell.h:
7541         * pspell.C: reworking. Especially in ispell, a large
7542           number of clean ups and bug fixes.
7544         * lyxfunc.C: fix revert to behave sensibly
7546 2003-02-17 André Pönitz <poenitz@gmx.net>
7548         * LyXAction.C:
7549         * commandtags.h: new LFUN_INSERT_BIBKEY
7551         * layout.h:
7552         * lyxlayout.C:
7553         * buffer.C:
7554         * factory.C:
7555         * text.C:
7556         * text2.C:
7557         * text3.C:
7558         * paragraph.[Ch]:
7559         * paragraph_func.C: remove special bibkey handling
7561 2003-02-17  John Levon  <levon@movementarian.org>
7563         * text.C (Delete): fix case where delete at the end of
7564           the very first paragraph would not merge the pars
7566 2003-02-17  John Levon  <levon@movementarian.org>
7568         * lyxrow.C: fix lastPrintablePos()
7570 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7572         * bufferparams.C (writeLaTeX): add a std:here
7574         * buffer.C: and remove a using directive there
7576 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7578         * buffer.C (makeLaTeXFile): move the code that generates the
7579           preamble...
7581         * bufferparams.C (writeLaTeX): ... in this new method
7583         * LaTeXFeatures.C (getEncodingSet): make const
7584           (getLanguages): make const
7586         * MenuBackend.C (binding): returns the binding associated to this
7587           action
7588           (add): sets the status of each item by calling getStatus. Adds
7589           some intelligence.
7590           (read): add support for OptSubMenu
7591           (expand): remove extra separator at the end of expanded menu
7593 2003-02-15  John Levon  <levon@movementarian.org>
7595         * BufferView.C:
7596         * BufferView_pimpl.C:
7597         * bufferlist.h:
7598         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7599           inset code that had no actual effect. Remove unneeded status
7600           code.
7602 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7604         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7605           in preamble
7607 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7609         * text.C (drawLengthMarker): also draw an arrow marker for
7610           symbolic lengths (medskip...)
7612 2003-02-14  John Levon  <levon@movementarian.org>
7614         * tabular.h:
7615         * tabular.C: better method names
7617 2003-02-14  John Levon  <levon@movementarian.org>
7619         * BufferView_pimpl.C:
7620         * bufferlist.C:
7621         * buffer.C:
7622         * converter.C:
7623         * lyx_cb.C:
7624         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7625           it's a more accurate name. Remove some pointless uses.
7627 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7629         * text2.C (LyXText): change order of initilizers to shut off
7630           warnings
7632 2003-02-14  John Levon  <levon@movementarian.org>
7634         * buffer.C: use ParIterator for getParFromID()
7636         * paragraph.h:
7637         * paragraph.C:
7638         * paragraph_pimpl.h:
7639         * paragraph_pimpl.C: remove unused getParFromID()
7641 2003-02-14  John Levon  <levon@movementarian.org>
7643         * buffer.C: remove some very old #if 0'd parse code
7645 2003-02-13  John Levon  <levon@movementarian.org>
7647         * text.h:
7648         * text.C:
7649         * text2.C: move hfillExpansion(), numberOfSeparators(),
7650           rowLast(), rowLastPrintable(), numberofHfills(),
7651           numberOfLabelHfills() ...
7653         * lyxrow.h:
7654         * lyxrow.C: ... to member functions here.
7656         * paragraph.h:
7657         * paragraph.C:
7658         * lyxtext.h:
7659         * text.C: remove LyXText::beginningOfMainBody(), and call
7660           p->beginningOfMainBody() directly. Move the check for
7661           LABEL_MANUAL into the latter.
7663         * text.h:
7664         * text.C:
7665         * text2.C:
7666         * vspace.C:
7667         * BufferView.h:
7668         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7670         * text.h:
7671         * text.C:
7672         * text2.C:
7673         * text3.C:
7674         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7675           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7677 2003-02-13  John Levon  <levon@movementarian.org>
7679         * CutAndPaste.C: remove debug
7681 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7683         * paragraph.C (asString): remove two unused variables
7685         * lyxtextclass.C (readTitleType):
7686           (Read):
7687           (LyXTextClass): handle new members titletype_ and titlename_
7689         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7691 2003-02-09  John Levon  <levon@movementarian.org>
7693         * buffer.h:
7694         * buffer.C: replace hand-coded list with a map for the dep clean
7696 2003-02-08  John Levon  <levon@movementarian.org>
7698         * LaTeX.C: consolidate code into showRunMessage() helper
7700 2003-02-08  John Levon  <levon@movementarian.org>
7702         * lyxfind.C:
7703         * lyxtext.h:
7704         * text2.C:
7705         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7706           and pass the size in explicitly
7708         * BufferView_pimpl.h:
7709         * BufferView_pimpl.C:
7710         * BufferView.h:
7711         * BufferView.C: add getCurrentChange()
7713         * BufferView_pimpl.h:
7714         * BufferView_pimpl.C: handle change lfuns
7716         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7717           for changes. Mark pasted paragraphs as new.
7719         * support/lyxtime.h:
7720         * support/lyxtime.C:
7721         * DepTable.C: abstract time_t as lyx::time_type
7723         * LColor.h:
7724         * LColor.C: add colours for new text, deleted text, changebars
7726         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7727           package use "usenames" option.
7729         * commandtags.h:
7730         * lyxfunc.C:
7731         * LyXAction.C: add change lfuns
7733         * Makefile.am:
7734         * author.h:
7735         * author.C: author handling
7737         * buffer.h:
7738         * buffer.C: add a per-buffer author list, with first entry as
7739           current author. Handle new .lyx tokens for change tracking. Output
7740           author list to .lyx file. Output dvipost stuff to .tex preamble.
7741           Bump lyx format to 222.
7743         * bufferlist.h:
7744         * bufferlist.C: add setCurrentAuthor() to reset current author details
7745           in all buffers.
7747         * bufferparams.h:
7748         * bufferparams.C: add param for tracking
7750         * bufferview_funcs.C: output change info in minibuffer
7752         * Makefile.am:
7753         * changes.h:
7754         * changes.C: add change-tracking structure
7756         * debug.h:
7757         * debug.C: add CHANGES debug flag
7759         * lyxfind.h:
7760         * lyxfind.C: add code for finding the next change piece
7762         * lyxrc.h:
7763         * lyxrc.C: add user_name and user_email
7765         * lyxrow.h:
7766         * lyxrow.C: add a metric for the top of the text line
7768         * lyxtext.h:
7769         * text.C: implement accept/rejectChange()
7771         * lyxtext.h:
7772         * text.C: paint changebars. Paint new/deleted text in the chosen
7773         colours. Strike through deleted text.
7775         * paragraph.h:
7776         * paragraph.C:
7777         * paragraph_pimpl.h:
7778         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7779           in the current change to the insert functions. Rework erase to
7780           mark text as deleted, adding an eraseIntern() and a range-based
7781           erase(). Implement per-paragraph change lookup and
7782           accept/reject.
7784         * paragraph_funcs.C: Fixup paste for change tracking.
7786         * tabular.C: mark added row/columns as new.
7788         * text.C: fix rowLast() to never return -1. Don't allow
7789           spellchecking of deleted text. Track transpose changes. Don't
7790           allow paragraph break or merge where appropriate.
7792         * text2.C: leave cursor at end of selection after a cut.
7794 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7796         * text.C (getLengthMarkerHeight):
7797         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7798         visible on screen too.
7800 2003-02-07  John Levon  <levon@movementarian.org>
7802         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7804 2003-02-05  Angus Leeming  <leeming@lyx.org>
7806         * lyxserver.C (read_ready): revert my patch of 11 September last year
7807         as it sends PC cpu through the roof. Presumably this means that
7808         the lyxserver will no longer run on an Alpha...
7810 2003-01-30  Angus Leeming  <leeming@lyx.org>
7812         * factory.C (createInset): create an InsetCommandParam of type "index"
7813         and use it to 'do the right thing'.
7815         * text2.C (getStringToIndex): ensure that cursor position is always
7816         reset to the reset_cursor position.
7818 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7820         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7821         disabled.
7823 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7825         * bufferview.C:
7826         * lyxcb.C:
7827         * lyxfunc.C: Output messages with identical spelling, punctuation,
7828         and spaces
7830 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7832         * MenuBackend.C (expandFormats): List only viewable export formats
7833         in "View" menu
7835         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7836         message
7838         * lyxfunc.C (getStatus): Make sure that formats other than
7839         "fax" can also be disabled
7841 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7843         * text3.C (dispatch): put the lfuns that insert insets in 3
7844         groups, and call doInsertInset with appropriate arguments.
7845         (doInsertInset): new function, that creates an inset and inserts
7846         it according to some boolean parameters.
7848 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850         * buffer.C (readFile): remember to pass on 'par' when calling
7851         readFile recursively.
7853 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7855         * MenuBackend.C (expandFormats): add "..." to import formats.
7857 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7859         * paragraph.C (asString): Remove XForms RTL hacks.
7861 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7862         * buffer.C: fix typo
7864 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866         * Makefile.am (LIBS): delete var
7867         (lyx_LDADD): add @LIBS@ here instead.
7869 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7871         * Clarify the meaning of "wheel mouse jump"
7873 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7875         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7876         tabular in a float
7878 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7880         * importer.C (Loaders): do not preallocate 3 elements in the
7881         vector, since one ends up with 6 elements otherwise
7883 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7885         * DepTable.C (write): write the file name as last element of the
7886         .dep file (because it may contain spaces)
7887         (read): read info in the right order
7889 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7891         * paragraph_pimpl.C (simpleTeXBlanks):
7892         (simpleTeXSpecialChars):
7893         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7895         * tabular.C (latex): add some missing case statements. Reindent.
7897         * MenuBackend.C (expandToc): remove unused variable.
7899 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7901         * LColor.C:
7902         * LaTeX.C:
7903         * LyXAction.C:
7904         * MenuBackend.C:
7905         * buffer.C:
7906         * exporter.C:
7907         * lyxfunc.C:
7908         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7909         and the like.
7911 2003-01-05  John Levon  <levon@movementarian.org>
7913         * BufferView.h:
7914         * BufferView.C: add getEncoding()
7916         * kbsequence.h:
7917         * kbsequence.C: do not store last keypress
7919         * lyxfunc.h:
7920         * lyxfunc.C: store last keypress here instead. Pass encoding
7921           to getISOEncoded()
7923 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7925         * lyx_main.C (init): remove annoying error message when following
7926         symbolic links (bug #780)
7928 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7930         * text.C (insertChar):
7931         * lyxrc.C (getDescription): remove extra spaces
7933 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7935         * lyxrc.C (getDescription): remove extra spaces
7937 2002-12-20  John Levon  <levon@movementarian.org>
7939         * text3.C: hack fix for page up/down across tall rows
7941 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7943         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7944         not been invoked
7946 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7948         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7949         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7950         thesaurus is not compiled in
7952 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7954         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7956 2002-12-16  Angus Leeming  <leeming@lyx.org>
7958         * lyxrc.[Ch]:
7959         * lyx_main.C (init): remove override_x_deadkeys stuff.
7961 2002-12-12  John Levon  <levon@movementarian.org>
7963         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7964           insert. Only remove shift modifier under strict
7965           circumstances.
7967 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969         * MenuBackend.C (expandToc): fix crash.
7971 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973         * MenuBackend.C (expandToc): gettext on float names.
7975 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7977         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7978         implement bool empty() [bug 490]
7980 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7984 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986         * several files: ws changes
7988 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990         * text2.C (setCounter): clean up a bit, use boost.format.
7991         (updateCounters): initialize par upon declaration.
7993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7994         if the layout exists. We do not just store the layout any more.
7995         (SwitchLayoutsBetweenClasses): use boost.format
7997 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7999         * converter.C (convert): if from and to files are the same, use a
8000         temporary files as intermediary
8002 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8004         * commandtags.h:
8005         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8007 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8009         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8011 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013         * tabular.C (asciiPrintCell): use string(size, char) instead of
8014         explicit loop.
8016         * sgml.C (openTag): fix order of arguments to string constructor
8017         (closeTag): ditto
8019         * lyxfunc.C (dispatch): use boost.format
8021         * lots of files: change "c" -> 'c'
8023 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8025         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8027 2002-11-25  Angus Leeming  <leeming@lyx.org>
8029         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8031         * lyx_main.C (init): compile fix.
8033 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035         * lyx_cb.C (start): boost.formatify
8036         do not include <iostream>
8038         * lengthcommon.C: ws only
8040         * boost-inst.C,BoostFormat.h: add more explict instantations
8042 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044         * lots of files: handle USE_BOOST_FORMAT
8046 2002-11-21  John Levon  <levon@movementarian.org>
8048         * pspell.C: fix compile
8050 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8052         * lyxfunc.C (dispatch): use boost::format
8053         (open): ditto
8054         (doImport): ditto
8056         * lyxfont.C (stateText): use boost::format
8058         * lyx_main.C (LyX): use boost::format
8059         (init): ditto
8060         (queryUserLyXDir): ditto
8061         (readRcFile): ditto
8062         (parse_dbg): ditto
8063         (typedef boost::function): use the recommened syntax.
8065         * importer.C (Import): use boost::format
8067         * debug.C (showLevel): use boost::format
8069         * converter.C (view): use boost::format
8070         (convert): ditto
8071         (move): ditto
8072         (scanLog): ditto
8074         * bufferview_funcs.C (currentState): use boost::format
8076         * bufferlist.C (emergencyWrite): use boost::format
8078         * buffer.C (readLyXformat2): use boost::format
8079         (parseSingleLyXformat2Token): ditto
8081         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8083         * LaTeX.C (run): use boost::format
8085         * Chktex.C (scanLogFile): use boost::format
8087         * BufferView_pimpl.C (savePosition): use boost::format
8088         (restorePosition): ditto
8089         (MenuInsertLyXFile): ditto
8091         * BoostFormat.h: help file for explicit instation.
8093 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8095         * tabular.C (latex): Support for block alignment in fixed width
8096         columns.
8098 2002-11-17  John Levon  <levon@movementarian.org>
8100         * BufferView_pimpl.C:
8101         * lyx_cb.C:
8102         * lyxfunc.C: split filedialog into open/save
8104 2002-11-08  Juergen Vigna  <jug@sad.it>
8106         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8107         by my last patch (hopefully).
8109 2002-11-08  John Levon  <levon@movementarian.org>
8111         * iterators.h:
8112         * iterators.C:
8113         * buffer.h:
8114         * buffer.C:
8115         * paragraph.h:
8116         * paragraph.C:
8117         * toc.h:
8118         * toc.C: ParConstIterator, and use it (from Lars)
8120 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8122         * lyxtextclass.[Ch]: revise and add doxygen comments
8124 2002-11-07  John Levon  <levon@movementarian.org>
8126         * text.C: fix progress value for spellchecker
8128         * toc.C: fix navigate menu for insetwrap inside minipage
8130         * paragraph_funcs.C: added FIXME for suspect code
8132 2002-11-07  John Levon  <levon@movementarian.org>
8134         * BufferView_pimpl.C: fix redrawing of insets
8135           on buffer switch
8137 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8139         * text2.C (updateCounters): fix bug 668
8141 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8143         * text3.C (dispatch): Do not make the buffer dirty when moving the
8144         cursor.
8146 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148         * vc-backend.C: STRCONV
8149         (scanMaster): ditto
8151         * text2.C (setCounter): STRCONV
8153         * paragraph.C (asString): STRCONV
8155         * lyxlength.C (asString): STRCONV
8156         (asLatexString): ditto
8158         * lyxgluelength.C (asString): STRCONV
8159         (asLatexString): ditto
8161         * lyxfunc.C (dispatch): STRCONV
8162         (open): ditto
8164         * lyxfont.C (stateText): STRCONV
8166         * importer.C (Import): STRCONV
8168         * counters.C (labelItem): STRCONV
8169         (numberLabel): ditto
8170         (numberLabel): remove unused ostringstream o
8172         * chset.C: STRCONV
8173         (loadFile): ditto
8175         * bufferview_funcs.C (currentState): STRCONV
8177         * buffer.C (readFile): STRCONV
8178         (asciiParagraph): ditto
8179         (makeLaTeXFile): ditto
8181         * Spacing.C (writeEnvirBegin): STRCONV
8183         * LaTeXFeatures.C (getLanguages): STRCONV
8184         (getPackages): ditto
8185         (getMacros): ditto
8186         (getBabelOptions): ditto
8187         (getTClassPreamble): ditto
8188         (getLyXSGMLEntities): ditto
8189         (getIncludedFiles): ditto
8191         * LaTeX.C: STRCONV
8192         (run): ditto
8193         (scanAuxFile): ditto
8194         (deplog): ditto
8196         * LString.h: add the STRCONV macros
8198         * BufferView_pimpl.C (savePosition): STRCONV
8199         (restorePosition): ditto
8200         (MenuInsertLyXFile): ditto
8202         * vc-backend.C (scanMaster): change from submatch[...] to
8203         submatch.str(...)
8205         * funcrequest.C: include config.h
8207         * factory.C: include config.h
8209         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8211         * box.C: include config.h
8213         * LaTeX.C (scanAuxFile): change from submatch[...] to
8214         submatch.str(...)
8215         (deplog): ditto
8217 2002-10-25  Angus Leeming  <leeming@lyx.org>
8219         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8221         * ispell.[Ch] (setError): new method.
8222         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8223         Use setError() insetead of goto END.
8225         * lyx_cb.C (AutoSave): move out child process into new class
8226         AutoSaveBuffer.
8228 2002-10-30  John Levon  <levon@movementarian.org>
8230         * text3.C: make start appendix undoable
8232 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8234         * lyxlength.C (inPixels): Fix returned value.
8236         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8237         environment.
8239 2002-10-24  Angus Leeming  <leeming@lyx.org>
8241         * lyxgluelength.h: no need to forward declare BufferParams
8242         or BufferView, so don't.
8244 2002-10-21  John Levon  <levon@movementarian.org>
8246         * BufferView.C: menuUndo ->undo, redo
8248         * BufferView.h: document, remove dead, make some methods private
8250         * paragraph_funcs.h:
8251         * paragraph_funcs.C:
8252         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8254         * buffer.h:
8255         * buffer.C:
8256         * sgml.h:
8257         * sgml.C: move sgml open/close tag into sgml.C
8259         * bufferview_funcs.h: unused prototype
8261         * lyxfunc.h:
8262         * lyxfunc.C: remove unused
8264         * lyxtext.h:
8265         * text.C: remove unused
8267 2002-10-21  John Levon  <levon@movementarian.org>
8269         * BufferView.h:
8270         * BufferView.C:
8271         * BufferView_pimpl.h:
8272         * BufferView_pimpl.C: fix mouse wheel handling based on
8273           patch from Darren Freeman
8275 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8277         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8279 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8281         * lyxlength.C (inPixels): Fix hanfling of negative length.
8282         Fix LyXLength::MU case.
8284 2002-10-16  John Levon  <levon@movementarian.org>
8286         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8288 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8290         * converter.C (view): add support for $$i (file name) and $$p
8291         (file path) for the viewer command. If $$i is not specified, then
8292         it is appended to the command (for compatibility with old syntax)
8294 2002-10-14  Juergen Vigna  <jug@sad.it>
8296         * undo_funcs.C (textHandleUndo): alter the order in which the
8297         new undopar is added to the LyXText, as we have to set first
8298         the right prev/next and then add it as otherwise the rebuild of
8299         LyXText is not correct. Also reset the cursor to the right paragraph,
8300         with this IMO we could remove the hack in "redoParagraphs()".
8302 2002-10-09  Angus Leeming  <leeming@lyx.org>
8304         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8305         to turn off an optimisation if a new inset is to be inserted.
8307 2002-10-11 André Pönitz <poenitz@gmx.net>
8309         * lyxtext.h: make some functions public to allow access
8310         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8312 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314         * text3.C (dispatch): when changing layout, avoid an infinite loop
8315         [bug #652]
8317 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8319         * lyxrc.C (read): treat a viewer or converter command of "none" as
8320         if it were empty.
8322         * MenuBackend.C (expandFormats): for an update, also allow the
8323         formats that are not viewable
8325         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8326         script if it is newer than the lyxrc.defaults in user directory
8328 2002-10-07 André Pönitz <poenitz@gmx.net>
8330         * text.C: Vitaly Lipatov's small i18n fix
8332 2002-09-25  Angus Leeming  <leeming@lyx.org>
8334         * ispell.h: doxygen fix.
8336 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8338         * buffer.h (readFile): Add a new argument to the method, to allow
8339         reading of old-format templates.
8341 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8343         * toc.C (getTocList): Get TOC from InsetWrap.
8345 2002-09-16  John Levon  <levon@movementarian.org>
8347         * lyxfunc.C: check tabular for cut/copy too
8349 2002-09-12  John Levon  <levon@movementarian.org>
8351         * LyXAction.C: tidy
8353         * factory.h:
8354         * factory.C: add header
8356         * paragraph_funcs.h:
8357         * paragraph_funcs.C: cleanup
8359 2002-09-11  John Levon  <levon@movementarian.org>
8361         * PrinterParams.h: odd/even default to true
8363 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8365         * PrinterParams.h: update printer parameters for new xforms dialog
8367 2002-09-11  Angus Leeming  <leeming@lyx.org>
8369         * lyxserver.C (read_ready): re-write to make it more transparent
8370         and to make it work in coherent fashion under Tru64 Unix.
8372 2002-09-11  André Pönitz <poenitz@gmx.net>
8374         * commandtags.h:
8375         * LyXAction.C:
8376         * text3.C: implement LFUN_WORDSEL
8378 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8381         make floatlist_ a boost::shared_ptr<FloatList>
8383         * lyxtextclass.C: include FloatList.h
8384         (LyXTextClass): initialize floatlist_
8385         (TextClassTags): add TC_NOFLOAT
8386         (Read): match "nofloat" to TC_NOFLOAT and use it.
8387         (readFloat): modify call to floatlist_
8388         (floats): ditto
8389         (floats): ditto
8391         * FloatList.[Ch] (FloatList): remove commented out float
8392         initialization.
8393         (erase): new function
8395 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8397         * MenuBackend.C (expandToc): fix crash when there is no document
8398         open
8400 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8402         * many files: Add insetwrap.
8404 2002-09-09  John Levon  <levon@movementarian.org>
8406         * text2.C: remove confusing and awkward depth wraparound
8408 2002-09-09  John Levon  <levon@movementarian.org>
8410         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8412         * buffer.h:
8413         * buffer.C: remove getIncludeonlyList()
8415         * paragraph.C:
8416         * lyxfunc.C: remove headers
8418 2002-09-09  Juergen Vigna  <jug@sad.it>
8420         * text.C (getColumnNearX): fix form Michael this is most
8421         probably a cut&paste bug.
8423 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8427         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8428         references, ws changes.
8430         * text2.C (init): update counters after init
8431         (insertParagraph): no need to set counter on idividual paragraphs.
8432         (setCounter): access the counters object in the textclass object
8433         on in the buffer object.
8434         (updateCounters): ditto
8436         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8437         shared_ptr<Counters> to avoid loading counters.h in all
8438         compilation units.
8439         (LyXTextClass): initialize ctrs_
8440         (TextClassTags): add TC_COUNTER, and ...
8441         (Read): use it here.
8442         (CounterTags): new tags
8443         (readCounter): new function
8444         (counters): new funtion
8445         (defaultLayoutName): return a const reference
8447         * counters.C (Counters): remove contructor
8448         (newCounter): remove a couple of unneeded statements.
8449         (newCounter): simplify a bit.
8450         (numberLabel): some small formatting changes.
8452         * buffer.[Ch]: remove all traces of counters, move the Counters
8453         object to the LyXTextClass.
8455 2002-09-06  Alain Castera  <castera@in2p3.fr>
8457         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8458         package to set the horizontal alignment on fixed width columns.
8460         * lyx_sty.C:
8461         * lyx_sty.h: added tabularnewline macro def.
8463         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8465 2002-09-06  John Levon  <levon@movementarian.org>
8467         * LyXAction.C: tooltips for sub/superscript
8469         * MenuBackend.C: a bit more verbose
8471         * lyxfunc.C: tiny clean
8473         * undo_funcs.C: document undo_frozen
8475 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477         * counters.C (Counters): add missing algorithm counter.
8479         * text2.C (setCounter): lookup the counter with layouts latexname
8480         instead of by section number.
8481         (setCounter): use a hackish way to lookup the correct enum
8482         counter.
8483         a float name->type change
8484         reset enum couners with counter name directly instead of depth value.
8486         * counters.C (Counters): remove the push_backs, change to use the
8487         float type not the float name.
8488         (labelItem): remove unused string, float name->type change
8490         * counters.h: don't include vector, loose the enums and sects vectors
8492 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8495         (Read): add float->TC_FLOAT to textclassTags
8496         (Read): and handle it in the switch
8497         (readFloat): new function
8499         * FloatList.C (FloatList): comment out the hardcoded float
8500         definitions.
8502         * lyxlayout.h: ws change.
8504 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8506         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8508 2002-09-03  Angus Leeming  <leeming@lyx.org>
8510         * BufferView_pimpl.h: qualified name is not allowed in member
8511         declaration: WorkArea & Pimpl::workarea() const;
8513         * factory.C: added using std::endl directive.
8515         * text3.C: added using std::find and std::vector directives.
8517 2002-08-29  André Pönitz <poenitz@gmx.net>
8519         * lyxtext.h:
8520         * text2.C: remove unused member number_of_rows
8522         * Makefile.am:
8523         * BufferView2.C: remove file, move contents to...
8524         * BufferView.C: ... here
8526         * BufferView_pimpl.C:
8527         * factory.C: move more inset creation to factory
8529         * vspace.C: avoid direct usage of LyXText, ws changes
8531         * BufferView.[Ch]:
8532                 don't provide direct access to WorkArea, use two simple
8533                 acessors haveSelction() and workHeight() instead
8536 2002-08-29  John Levon  <levon@movementarian.org>
8538         * BufferView_pimpl.C (dispatch): do not continue when
8539           no buffer
8541 2002-08-28  André Pönitz <poenitz@gmx.net>
8543         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8545         * BufferView.h:
8546         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8548 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8550         * buffer.C: increment LYX_FORMAT to 221
8552         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8553         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8555         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8557         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8559 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561         * factory.C (createInset): use LyXTextClass::floats
8563         * MenuBackend.C (expandFloatListInsert):
8564         (expandFloatInsert):
8565         (expandToc):
8567         * text2.C (setCounter):
8569         * LaTeXFeatures.C (useFloat):
8570         (getFloatDefinitions):
8572         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8574         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8575         floatlist_, with accessor floats().
8577         * FloatList.h: remove global FloatList
8579 2002-08-26  André Pönitz <poenitz@gmx.net>
8581         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8583         * BufferView.h:
8584         * BufferView2.C:
8585         * BufferView_pimpl.C:
8586         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8588 2002-08-25  John Levon  <levon@movementarian.org>
8590         * LyXAction.C: fix margin note description
8592 2002-08-24  John Levon  <levon@movementarian.org>
8594         * buffer.C:
8595         * bufferlist.C:
8596         * bufferview_funcs.C:
8597         * lyxfont.C:
8598         * undo_funcs.C: cleanups
8600         * lyxfunc.C: disable CUT/COPY when no selection
8602 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8604         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8605         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8607         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8608         Add backward compatibility to "mono", "gray" and "no".
8610 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8612         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8613         (and file_format >= 200).
8615 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8617         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8619 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8623 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8625         * BufferView_pimpl.C:
8626         * LyXAction.C:
8627         * buffer.C:
8628         * commandtags.h:
8629         * lyxfunc.C:
8630         * paragraph.[Ch]:
8631         * text2.C:
8632         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8633         inset and code to make it  work with the paragraph code. The inset
8634         can be anywhere in the paragraph, but will only do the expected
8635         thing in LaTeX if the layout file contains the parameter line
8636                         OptionalArgs    1
8637         (or more generally, a nonzero value) for that layout.
8639 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641         * paragraph.h: remove the declaration of undefined counters class
8642         function.
8644 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8646         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8647         Dr. Richard Hawkins.
8649 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651         * paragraph_funcs.h: remove some unneeded includes
8653         * text.C (backspace): pasteParagraph now in global scipe
8655         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8656         (pasteSelection): ditto
8658         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8659         * paragraph_funcs.C (pasteParagraph): ... here
8661 2002-08-20  André Pönitz <poenitz@gmx.net>
8663         * commandtags.h: new LFUNs for swapping/copying table row/colums
8665         * LyXAction.C:
8666         * lyxfunc.C: support for new lfuns
8668 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670         * tabular.C:
8671         * buffer.[Ch]: remove NO_COMPABILITY stuff
8673 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675         * boost.C (throw_exception): new file, with helper function for
8676         boost compiled without exceptions.
8678         * paragraph.h:
8679         * lyxlength.C:
8680         * buffer.C:
8681         * ParameterStruct.h:
8682         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8684         * bufferlist.C (emergencyWriteAll): use boost bind
8686         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8688         * text.C: include paragraph_funcs.h
8689         (breakParagraph): breakParagraph is now in global scope
8691         * paragraph_funcs.[Ch]: new files
8693         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8694         global scope
8696         * buffer.C: include paragraph_funcs.h
8697         (insertStringAsLines): breakParagraph is now in global scope
8699         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8700         paragraph_funcs.C
8702         * CutAndPaste.C: include paragraph_funcs.h
8703         (cutSelection): breakParagraphConservative is now in global scope
8704         (pasteSelection): ditto
8706         * buffer.h: declare oprator== and operator!= for
8707         Buffer::inset_iterator
8709         * bufferlist.C (emergencyWrite): don't use fmt(...)
8711         * text3.C: add using std::endl
8713         * BufferView.C (moveCursorUpdate): remove default arg
8715 2002-08-20  André Pönitz <poenitz@gmx.net>
8717         * buffer.[Ch]: move inline functions to .C
8719         * BufferView2.C:
8720         * BufferView_pimpl.C:
8721         * text.C:
8722         * buffer.[Ch]: use improved inset_iterator
8724         * buffer.C:
8725         * paragraph.[Ch]: write one paragraph at a time
8727 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8729         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8730         style if style is not specified.
8732 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734         * text2.C (setCounter): when searching for right label for a
8735         caption, make sure to recurse to parent insets (so that a caption
8736         in a minipage in a figure float works) (bug #568)
8738 2002-08-20  André Pönitz <poenitz@gmx.net>
8740         * text3.C: new file for LyXText::dispatch() and helpers
8742         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8744         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8746 2002-08-19  André Pönitz <poenitz@gmx.net>
8748         * lyxtext.h:
8749         * text.C: new LyXText::dispatch()
8751         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8753 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8755         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8757         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8758         Hebrew text.
8760 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8762         * Makefile.am: use $(variables) instead of @substitutions@
8764 2002-08-15  André Pönitz <poenitz@gmx.net>
8766         * lyxfunc.C:
8767         * BufferView_pimpl.C: streamlining mathed <-> outer world
8768         interaction
8770         * commandtags.h:
8771         * LyXAction.C: remove unused LFUN_MATH
8773 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8777 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779         * paragraph.C (Paragraph): reformat a bit
8780         (cutIntoMinibuffer): use builtin InsetList function instad of
8781         doing it manually.
8782         (getInset): ditto
8784         * buffer.C: include boost/bind.hpp, add using std::for_each
8785         (writeFileAscii): use ParagraphList iterators
8786         (validate): use for_each for validate traversal of paragraphs
8787         (getBibkeyList): use ParagraphList iterators
8788         (resizeInsets): use for_each to resizeInsetsLyXText for all
8789         paragraphs.
8790         (getParFromID): use ParagraphList iterators
8792         * BufferView2.C (lockInset): use paragraph list and iterators
8794 2002-08-14  John Levon  <levon@movementarian.org>
8796         * lyxserver.C: remove spurious xforms include
8798 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8800         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8802 2002-08-13  André Pönitz <poenitz@gmx.net>
8804         * LyXAction.[Ch]:
8805         * lyxfunc.C: further cleaning
8807 2002-08-13  André Pönitz <poenitz@gmx.net>
8809         * funcrequest.h: new constructor
8811         * funcrequest.C: move stuff here from .h
8813         * Makefile.am:
8814         * BufferView_pimpl.C:
8815         * LyXAction.C:
8816         * toc.C:
8817         * lyxfunc.C: subsequent changes
8819         * lyxfunc.h: new view() member function
8821         * lyxfunc.C: subsequent changes
8823 2002-08-13  Angus Leeming  <leeming@lyx.org>
8825         * BufferView2.C:
8826         * BufferView_pimpl.C:
8827         * buffer.C:
8828         * converter.C:
8829         * importer.C:
8830         * lyxfunc.C:
8831         * lyxvc.C:
8832         * toc.C:
8833         * vc-backend.C:
8834         changes due to the changed LyXView interface that now returns references
8835         to member variables not pointers.
8837 2002-08-13  Angus Leeming  <leeming@lyx.org>
8839         * WordLangTuple (word, lang_code): return references to strings,
8840         not strings.
8842         * BufferView.h:
8843         * SpellBase.h:
8844         * lyxtext.h: forward-declare WordLangTuple.
8846         * BufferView2.C:
8847         * ispell.C:
8848         * pspell.C:
8849         * text.C: #include "WordLangTuple.h".
8851         * lyxtext.h:
8852         * text.C: (selectNextWordToSpellcheck): constify return type.
8854 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8856         * buffer.C:
8857         * buffer.h:
8858         * lyxtext.h:
8859         * paragraph.C:
8860         * paragraph_pimpl.h:
8861         * text.C:
8862         * text2.C:
8863         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8864         suggested by Angus.
8865         Made updateCounter always count from start of buffer, and removed
8866         second argument (par).
8867         Reverted floats number display to '#'. Perhaps I'll try again when the
8868         code base is sanitized a bit.
8870 2002-08-12  Angus Leeming  <leeming@lyx.org>
8872         * buffer.[Ch] (getLabelList): constify.
8874 2002-08-07  André Pönitz <poenitz@gmx.net>
8876         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8878         * funcrequest.h: extension to keep mouse (x,y) position
8880 2002-08-12  Juergen Vigna  <jug@sad.it>
8882         * BufferView2.C (insertErrors): forbid undo when inserting error
8883         insets.
8885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8887 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8889         * ParagraphList.[Ch]: new files
8891         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8893         * BufferView2.C (lockInset): ParagraphList changes
8894         * toc.C: ditto
8895         * text2.C: ditto
8896         * bufferlist.C: ditto
8897         * buffer.h: ditto
8898         * buffer.C: ditto
8900 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8902         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8903         unused class variable counter_,
8905         * paragraph.[Ch] (getFirstCounter): delete unused function
8907         * counters.C: include LAssert.h
8908         (reset): add a new function with no arg, change other version to
8909         not have def. arg and to not allow empty arg.
8911         * text2.C (setCounter): remove empty arg from call to Counters::reset
8913 2002-08-11  John Levon  <levon@movementarian.org>
8915         * Makefile.am: add WordLangTuple.h
8917 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8920         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8922         * insets/insettext.C: InsetList changes
8924         * graphics/GraphicsSupport.C (operator()): InsetList changes
8926         * toc.C (getTocList): InsetList changes
8928         * paragraph_pimpl.[Ch]: InsetList changes
8930         * paragraph.[Ch]: InsetList changes
8932         * buffer.C (inset_iterator): InsetList changes
8933         (setParagraph): ditto
8934         * buffer.h (inset_iterator): ditto
8935         * iterators.C (operator++): ditto
8936         * iterators.h: ditto
8938         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8940         * InsetList.[Ch]: new files, most InsetList handling moved out of
8941         paragraph.C.
8943         * BufferView2.C (removeAutoInsets): InsetList changes
8944         (lockInset): ditto
8945         (ChangeInsets): ditto
8947 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8949         * paragraph_pimpl.h (empty): new function
8951         * paragraph.[Ch] (empty): new function
8953         * other files: use the new Paragraph::empty function
8955 2002-08-09  John Levon  <levon@movementarian.org>
8957         * lyxtext.h: remove unused refresh_height
8959 2002-08-09  John Levon  <levon@movementarian.org>
8961         * Makefile.am:
8962         * sgml.h:
8963         * sgml.C:
8964         * buffer.C:
8965         * paragraph.h:
8966         * paragraph.C: move sgml char escaping out of paragraph
8968         * paragraph.h:
8969         * paragraph.C: remove id setter
8971         * buffer.C:
8972         * paragraph.C:
8973         * paragraph_pimpl.C: remove dead tex_code_break_column
8975         * bufferview_funcs.C: small cleanup
8977         * lyxfunc.C: remove dead proto
8979         * lyxtext.h: make some stuff private. Remove some dead stuff.
8981         * lyxgluelength.C: make as[LyX]String() readable
8983 2002-08-08  John Levon  <levon@movementarian.org>
8985         * LyXAction.h:
8986         * LyXAction.C:
8987         * MenuBackend.C:
8988         * ToolbarDefaults.C:
8989         * lyxfunc.C:
8990         * lyxrc.C:
8991         * toc.C: lyxaction cleanup
8993 2002-08-08  John Levon  <levon@movementarian.org>
8995         * BufferView2.C: small cleanup
8997         * lyxfind.h:
8998         * lyxfind.C: move unnecessary header into the .C
9000 2002-08-08  John Levon  <levon@movementarian.org>
9002         * funcrequest.h: just tedious nonsense
9004         * lyx_main.h:
9005         * lyx_main.C: cleanups
9007         * buffer.C:
9008         * vspace.C: remove dead header lyx_main.h
9010 2002-08-07  Angus Leeming  <leeming@lyx.org>
9012         * Paragraph.[Ch]:
9013         * paragraph_pimpl.h:
9014         Forward declare class Counters in paragraph.h by moving the ctrs member
9015         variable into Paragraph::Pimpl.
9016         (counters): new method, returning a reference to pimpl_->ctrs.
9018         * text2.C: ensuing changes.
9020 2002-08-07  John Levon  <levon@movementarian.org>
9022         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9024         * BufferView_pimpl.C: announce X selection on double/triple
9025           click
9027         * lyx_main.C: use correct bool in batch dispatch
9029         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9031 2002-08-07  André Pönitz <poenitz@gmx.net>
9033         * funcrequest.h: new class to wrap a kb_action and its argument
9035         * BufferView.[Ch]:
9036         * BufferView_pimpl[Ch]:
9037         * LaTeX.C:
9038         * LyXAction.[Ch]:
9039         * lyxfunc.[Ch]:
9040         * lyxrc.C: subsequent changes
9043 2002-08-07  John Levon  <levon@movementarian.org>
9045         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9046           document options change.
9048 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9050         * counters.[Ch]
9051         * text2.C
9052         * paragraph.[Ch]
9053         * makefile.am: move counters functionality over from
9054         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9056 2002-08-06  John Levon  <levon@movementarian.org>
9058         * WordLangTuple.h: new file for word + language code tuple
9060         * SpellBase.h:
9061         * pspell.h:
9062         * pspell.C:
9063         * ispell.h:
9064         * ispell.C:
9065         * lyxtext.h:
9066         * text.C:
9067         * text2.C:
9068         * BufferView.h:
9069         * BufferView2.C: use WordLangTuple
9071         * layout.h:
9072         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9074 2002-08-06  John Levon  <levon@movementarian.org>
9076         * lyx_main.C: fix cmdline batch handling
9078 2002-08-06  André Pönitz <poenitz@gmx.net>
9080         * lyxrc.C: set default for show_banner to true
9082 2002-08-06  John Levon  <levon@movementarian.org>
9084         * pspell.C: fix a crash, and allow new aspell to work
9086 2002-08-06  John Levon  <levon@movementarian.org>
9088         * lyxfunc.C:
9089         * kbmap.C: small cleanup
9091         * vspace.h:
9092         * vspace.C: add const
9094 2002-08-05  John Levon  <levon@movementarian.org>
9096         * LyXAction.C: back to tabular-insert
9098 2002-08-04  John Levon  <levon@movementarian.org>
9100         * BufferView.h:
9101         * BufferView.C: cosmetic change
9103         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9105         * bufferlist.C:
9106         * buffer.h:
9107         * buffer.C:
9108         * lyxcb.h:
9109         * lyxcb.C:
9110         * lyxserver.C:
9111         * lyxvc.C:
9112         * vc-backend.C:
9113         * BufferView2.C: purge all "Lyx" not "LyX" strings
9115         * lyxcursor.h:
9116         * lyxcursor.C: attempt to add some documentation
9118         * lyxfunc.C:
9119         * commandtags.h:
9120         * LyXAction.C:
9121         * ToolbarDefaults.C:
9122         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9123           merge with LFUN_TABULAR_INSERT
9125         * Makefile.am:
9126         * SpellBase.h:
9127         * ispell.h:
9128         * ispell.C:
9129         * pspell.h:
9130         * pspell.C: split up i/pspell implementations into separate
9131           files, many cleanups
9133         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9135         * text2.C: some cleanup
9137         * lyxfunc.C: don't check for isp_command == "none" any more, it
9138           didn't make any sense
9140 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9142         * counters.[Ch]
9143         * text2.C
9144         * paragraph.[Ch]
9145         * makefile.am: move counters functionality over
9146         from text2.C/paragraph.[Ch] to counters.[Ch], and
9147         make proper C++.
9148 2002-08-02  John Levon  <levon@movementarian.org>
9150         * buffer.C: s/lyxconvert/lyx2lyx/
9152 2002-08-02  Angus Leeming  <leeming@lyx.org>
9154         * lyxlex.C: revert John's change as it breaks reading of the user
9155         preamble.
9157 2002-08-02  Angus Leeming  <leeming@lyx.org>
9159         * importer.C (Import):
9160         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9161         changes due to LyXView::view() now returning a boost::shared_ptr.
9163 2002-08-02  John Levon  <levon@movementarian.org>
9165         * lyxlex.C: small cleanup
9167 2002-08-02  John Levon  <levon@movementarian.org>
9169         * text2.C (status): small cleanup, no logic change
9171 2002-08-01  John Levon  <levon@movementarian.org>
9173         * buffer.h:
9174         * buffer.C (writeFile): don't output alerts, caller
9175           handles this
9177         * bufferlist.C:
9178         * lyx_cb.C: from above
9180         * lyxfunc.C: allow to open non-existent files
9182 2002-07-31  John Levon  <levon@movementarian.org>
9184         * lyxserver.C: don't let incidental errors get
9185           in the way (errno)
9187 2002-07-30  John Levon  <levon@movementarian.org>
9189         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9191 2002-07-30  John Levon  <levon@movementarian.org>
9193         * lyxserver.h:
9194         * lyxserver.C: remove I/O callback too
9196 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9199         log.
9201 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9203         * many files: strip,frontStrip -> trim,ltrim,rtrim
9205 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9207         * PrinterParams.h: remove extern containsOnly, and include
9208         support/lstrings.h instead.
9210         * LaTeX.C (scanAuxFile): modify because of strip changes
9211         (deplog): ditto
9212         * buffer.C (makeLaTeXFile): ditto
9213         * bufferparams.C (writeFile): ditt
9214         * lyxfont.C (stateText): ditto
9215         * lyxserver.C (read_ready): ditto
9216         * vc-backend.C (scanMaster): ditto
9218         * BufferView_pimpl.h: ws changes
9220         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9222 2002-07-26  André Pönitz <poenitz@gmx.net>
9224         * kb_sequence.C: remove unnedred usings
9226 2002-07-26  Juergen Vigna  <jug@sad.it>
9228         * lyxfind.C (LyXReplace): we have to check better if the returned
9229         text is not of theLockingInset()->getLockingInset().
9231 2002-07-25  Juergen Vigna  <jug@sad.it>
9233         * lyxfind.C (LyXReplace): don't replace if we don't get the
9234         right LyXText.
9236         * undo_funcs.C (createUndo): remove debugging code.
9238 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9240         * buffer.C (parseSingleLyXformat2Token): Use default placement
9241         when reading old floats.
9243         * FloatList.C (FloatList): Change the default placement of figure
9244         and tables to "tbp".
9246 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9248         * MenuBackend.C: using std::max
9250 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252         * MenuBackend.C (expandToc):
9253         (expandToc2): code moved from xforms menu frontend. It is now
9254         generic and TOCs are transparent to menu frontends.
9256 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9258         * toc.C (getTocList): protect against buf=0
9260         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9261         Menu as first parameter. Now, this calls itself recursively to
9262         expand a whole tree (this will be useful for TOC handling)
9263         (expandFloatInsert): remove 'wide' version of floats
9265         * MenuBackend.h (submenuname): returns the name of the submenu.
9266         (submenu): returns the submenu itself, provided it has been
9267         created by MenuBackend::expand
9269 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9272         insets which have noFontChange == true. (bug #172)
9274 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9276         * BufferView_pimpl.C: add connection objects and use them...
9277         (Pimpl): here.
9279 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9281         * MenuBackend.C (expandLastfiles):
9282         (expandDocuments):
9283         (expandFormats):
9284         (expandFloatListInsert):
9285         (expandFloatInsert):
9286         (expand): split expand in parts
9288 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9290         * lyx_gui.C: use lyx_gui::exit()
9292 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9294         * LyXAction.C: show the failing pseudo action
9296 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9298         * buffer.C (readFile): Run the lyxconvert script in order to read
9299         old files.
9301 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9303         * LyXAction.C:
9304         * commandtags.h:
9305         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9307 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9309         * LyXAction.C:
9310         * commandtags.h:
9311         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9313 2002-07-22  Herbert Voss  <voss@lyx.org>
9315         * lengthcommon.C:
9316         * lyxlength.[Ch]: add support for the vertical lengths
9318 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9320         * toc.[Ch]: std:: fixes
9322 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9324         * lyxrc.C: do not include lyx_main.h
9326         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9327         for layouts
9329         * lyxrc.C:
9330         * encoding.C:
9331         * bufferlist.C:
9332         * BufferView2.C: include "lyxlex.h"
9334         * tabular.h:
9335         * bufferparams.h: do not #include "lyxlex.h"
9337         * lyxtextclasslist.C (Add): remove method
9338         (classlist): renamed to classlist_
9340         * paragraph_pimpl.C:
9341         * paragraph.C:
9342         * text2.C:
9343         * CutAndPaste.C:
9344         * bufferview_funcs.C:
9345         * bufferlist.C:
9346         * text.C:
9347         * LaTeXFeatures.C:
9348         * buffer.C:
9349         * toc.C (getTocList): use BufferParams::getLyXTextClass
9351         * toc.C (getTocList): use InsetFloat::addToToc
9353         * toc.[Ch]: new files, containing helper functions to handle table
9354         of contents
9356         * lyxfunc.C (dispatch): no need to remove spaces around command
9357         given as a string
9358         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9359         first command of the sequence; it is not very clever, but I do not
9360         have a better idea, actually
9362         * LyXAction.C (LookupFunc): make sure to remove space at the
9363         beginning and end of the command
9365 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9367         * MenuBackend.C (getMenubar): new method: return the menubar of
9368         this menu set
9369         (read): treat differently reading of menu and menubar (in
9370         particular, the menubar has no name now)
9371         (Menu::menubar): remove
9373         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9374         saving is finished
9376 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9378         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9379         a bibitem inset in a RTL paragraph.
9381 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9383         * paragraph_pimpl.C: constify
9385         * BufferView_pimpl.C:
9386         * LaTeX.C:
9387         * lyxfunc.C: fix dispatch in a nicer way
9389 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391         * lyxfunc.C (dispatch):
9392         * BufferView_pimpl.C:
9393         * BufferView_pimpl.h:
9394         * BufferView.C:
9395         * BufferView.h: rename Dispatch() to dispatch()
9397         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9399         * lyxlayout.C (Read): honor DependsOn tag
9401         * lyxlayout.[Ch] (depends_on): new method
9403         * version.C.in: update lyx_docversion
9405         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9407         * paragraph.C (validate): remove from here...
9408         * paragraph_pimpl.C (validate): ... and move here
9409         (isTextAt): make it const
9411         * buffer.C (getLists): ws cleanup
9413 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9415         * language.C (read): Use iso8859-1 encoding in latex_lang
9416         (this prevents LyX from crashing when using iso10646-1 encoding).
9418 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420         * text2.C (toggleInset): if cursor is inside an inset, close the
9421         inset and leave cursor _after_ it
9423 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9425         * lyxfunc.C: move minibuffer completion handling out of here
9427 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9429         * BufferView_pimpl.C:
9430         * LaTeX.C: fix dispatch calls
9432 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9434         * text.C (drawChars): Fix Arabic text rendering.
9436 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9438         * LyXAction.C:
9439         * commandtags.h:
9440         * lyxfunc.C: remove message-push/pop
9442         * lyxserver.C:
9443         * lyxfunc.h:
9444         * lyxfunc.C: rationalise some code by removing verboseDispatch
9445           in favour of a bool argument to dispatch()
9447 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449         * lyx_main.C (init): make sure to read symlinks as absolute paths
9451 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9453         * lyxfunc.h:
9454         * lyxfunc.C: no need for commandshortcut to be a member
9456 2002-07-15  André Pönitz <poenitz@gmx.net>
9458         * converter.C: add support for $$s (scripts from lib/scripts dir)
9459         * lyx_main.C: white space
9461 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9463         * bufferlist.C:
9464         * lyxrc.h:
9465         * lyxrc.C: remove second exit confirmation
9467 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9469         * BufferView.h:
9470         * BufferView.C:
9471         * BufferView2.C:
9472         * BufferView_pimpl.h:
9473         * BufferView_pimpl.C:
9474         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9476 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478         * MenuBackend.C (expand): add numeric shortcuts to document menu
9480         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9482 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484         * lyxfont.C (setLyXFamily):
9485         (setLyXSeries):
9486         (setLyXShape):
9487         (setLyXSize):
9488         (setLyXMisc):
9489         (lyxRead):
9490         * debug.C (value):
9491         * buffer.C (asciiParagraph): use ascii_lowercase
9493 2002-07-15  Mike Fabian  <mfabian@suse.de>
9495         * lyxlex_pimpl.C (search_kw):
9496         * lyxlex.C (getLongString):
9497         * converter.h (operator<):
9498         * converter.C (operator<):
9499         * buffer.C (parseSingleLyXformat2Token):
9500         (asciiParagraph):
9501         * ToolbarDefaults.C (read):
9502         * MenuBackend.C (checkShortcuts):
9503         (read):
9504         * LColor.C (getFromGUIName):
9505         (getFromLyXName): use the compare_ascii_no_case instead of
9506         compare_no_case, because in turkish, 'i' is not the lowercase
9507         version of 'I', and thus turkish locale breaks parsing of tags.
9509 2002-07-16  Angus Leeming  <leeming@lyx.org>
9511         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9512         now takes a Buffer const & argument.
9514 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9516         * BufferView.C (resize): check there's a buffer to resize
9518 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9520         * lyxfunc.C: remove dead code
9522         * lyxserver.h:
9523         * lyxserver.C: use lyx_guii::set_read_callback
9525 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9527         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9528         an inset in a RTL paragraph.
9530 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9532         * lyxfunc.C: repaint after a font size update
9534 2002-07-15  André Pönitz <poenitz@gmx.net>
9536         * lyxlength.C: inBP should be able to return negative values
9538 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9540         * lyxfunc.C: use lyx_gui::update_fonts()
9542 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9544         * lyxfunc.C: use lyx_gui::update_color()
9546 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9548         * bufferlist.C:
9549         * lyxfunc.h:
9550         * lyxfunc.C:
9551         * lyxrc.h:
9552         * lyxrc.C: remove file->new asks for name option, and let
9553           buffer-new take an argument
9555 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9557         * BufferView_pimpl.C: remove unneeded extra repaint()
9559 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9561         * LyXAction.C: allow command-sequence with NoBuffer
9563         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9565 2002-07-10  Angus Leeming  <leeming@lyx.org>
9567         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9569 2002-07-09  Angus Leeming  <leeming@lyx.org>
9571         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9573 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9575         * lengthcommon.h: whitespace
9577         * lyxfunc.C: update scrollbar after goto paragraph
9579         * lyxtext.h: factor out page break drawing, and fix it so
9580           page break/added space paints as selected nicely
9582 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9584         * BufferView_pimpl.C: add FIXMEs, clean up a little
9586 2002-07-09  André Pönitz <poenitz@gmx.net>
9588         * lyxfont.[Ch]: support for wasy symbols
9590 2002-07-08  André Pönitz <poenitz@gmx.net>
9592         * BufferView_pimpl.C: apply John's patch for #93.
9594 2002-07-05  Angus Leeming  <leeming@lyx.org>
9596         * BufferView_pimpl.C (buffer): generate previews if desired.
9598         * LColor.h: add "preview" to the color enum.
9600         * LColor.C (LColor): add a corresponding entry to the items array.
9602         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9603         with this buffer.
9605 2002-07-05  Angus Leeming  <leeming@lyx.org>
9607         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9608         The body of the code is now in the method that is passed an ostream &
9609         rather than a file name.
9610         Pass an additional only_preamble parameter, useful for the forthcoming
9611         preview stuff.
9613 2002-07-03  André Pönitz <poenitz@gmx.net>
9615         * lyxfunc.C: simplify getStatus() a bit for math stuff
9617 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9621 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623         * text.C (changeRegionCase): do not change case of all the
9624         document when region ends at paragraph end (bug #461)
9626 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628         * paragraph.C (startTeXParParams):
9629         (endTeXParParams): add \protect when necessary
9631 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633         * BufferView_pimpl.C (workAreaExpose): remove warning
9635 2002-06-27  Angus Leeming  <leeming@lyx.org>
9637         * Makefile.am: add lyxlayout_ptr_fwd.h.
9639 2002-06-26  André Pönitz <poenitz@gmx.net>
9641         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9643 2002-06-25  Angus Leeming  <leeming@lyx.org>
9645         * lyxfunc.C (dispatch): Comment out the call to
9646         grfx::GCache::changeDisplay. The method no longer exists now that the
9647         pixmap generation part of the graphics loader has been moved into
9648         InsetGraphics.
9650 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9652         * text2.C: layout as layout
9654         * text.C: layout as layout
9656         * tabular.C (OldFormatRead): layout as layout
9658         * paragraph_pimpl.C (TeXDeeper): layout as layout
9659         (realizeFont): layout as layout
9661         * paragraph.C (writeFile): layout as layout
9662         (validate): layout as layout
9663         (getFont): layout as layout
9664         (getLabelFont): layout as layout
9665         (getLayoutFont): layout as layout
9666         (breakParagraph): layout as layout
9667         (stripLeadingSpaces): layout as layout
9668         (getEndLabel): layout as layout
9669         (getMaxDepthAfter): layout as layout
9670         (applyLayout): layout as layout
9671         (TeXOnePar): layout as layout
9672         (simpleTeXOnePar): layout as layout
9673         (TeXEnvironment): layout as layout
9674         (layout): layout as layout
9675         (layout): layout as layout
9677         * lyxtextclass.C (compare_name): new functor to work with
9678         shared_ptr, layout as layout
9679         (Read): layout as layout
9680         (hasLayout): layout as layout
9681         (operator): layout as layout
9682         (delete_layout): layout as layout
9683         (defaultLayout): layout as layout
9685         * lyxlayout_ptr_fwd.h: new file
9687         * lyxlayout.C (Read): layout as layout
9689         * lyx_cb.C (MenuInsertLabel): layout as layout
9691         * bufferlist.C (newFile): layout as layout
9693         * buffer.C (readLyXformat2): layout as layout
9694         (parseSingleLyXformat2Token): layout as layout
9695         (insertStringAsLines): layout as layout
9696         (asciiParagraph): layout as layout
9697         (latexParagraphs): layout as layout
9698         (makeLinuxDocFile): layout as layout
9699         (simpleLinuxDocOnePar): layout as layout
9700         (makeDocBookFile): layout as layout
9701         (simpleDocBookOnePar): layout as layout
9702         (getLists): layout as layout
9704         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9706         * CutAndPaste.C (cutSelection): layout as layout
9707         (pasteSelection): layout as layout
9708         (SwitchLayoutsBetweenClasses): layout as layout
9710         * BufferView_pimpl.C (Dispatch): layout as layout
9711         (smartQuote): layout as layout
9713         * BufferView2.C (unlockInset): layout as layout
9715 2002-06-24  André Pönitz <poenitz@gmx.net>
9717         * lyxfunc.C: fix #487
9719 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9721         * lyxrc.h:
9722         * lyxrc.C:
9723         * lyxfunc.C: remove display_shortcuts, show_banner
9725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9727         * Buffer_pimpl.C: oops, update on resize
9729 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9731         * buffer.C:
9732         * converter.C:
9733         * exporter.C:
9734         * lyxfunc.C:
9735         * BufferView.h:
9736         * BufferView.C: use repaint()
9738         * BufferView_pimpl.h:
9739         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9740           as it's a clearer description. Remove superfluous
9741           redraws.
9743 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9745         * text.C: fix bug 488. Not ideal, but getting
9746           getWord() to work properly for the insets that
9747           matter is more difficult ...
9749 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9751         * BufferView_pimpl.C:
9752         * LyXAction.C:
9753         * commandtags.h:
9754         * lyxfunc.C: remove the six million index lyxfuncs to just
9755           one, and DTRT (bug 458)
9757 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9759         * BufferView.h:
9760         * BufferView.C:
9761         * BufferView_pimpl.h:
9762         * BufferView_pimpl.C: clean up resize() stuff,
9763           and unnecessary updateScreen()s
9765 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9767         * BufferView.h:
9768         * BufferView.C:
9769         * BufferView_pimpl.h:
9770         * BufferView_pimpl.C:
9771         * lyxfind.h:
9772         * lyxfind.C:
9773         * minibuffer.C: remove focus management of workarea,
9774           not needed. Use screen's greyOut()
9776 2002-06-17  Herbert Voss  <voss@lyx.org>
9778         * converter.C: (convert) do not post a message, when converting
9779         fails, let the calling function decide what to do in this case
9781 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9783         * lyxfunc.C: tidy up a little
9785 2002-06-16    <alstrup@diku.dk>
9787         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9788         Got rid of FORMS_H_LOCATION include. Now we are
9789         GUII.
9791 2002-06-15  LyX Development team  <lyx@rilke>
9793         * buffer.[Ch] (sgmlOpenTag):
9794         (sgmlCloseTag): Added support for avoiding pernicious mixed
9795         content. Return number of lines written.
9797         (makeLinuxDocFile):
9798         (makeDocBookFile): Fixed calls to sgml*Tag.
9799         Simple white space clean.
9801         (simpleDocBookOnePar): Simple white space clean.
9803         * tabular.[Ch] (docBook): Renamed to docbook and got another
9804         argument to related with the pernicious mixed content.
9806         (docbookRow): Fixed calls for docbook inset method.
9808 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9810         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9811         so it's X11 independent.
9813         * kb*.[Ch]: ditto.
9815         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9817 2002-06-15  Lyx Development team  <lyx@electronia>
9819         * intl.h: Renamed getTrans to getTransManager.
9821 2002-06-14  Angus Leeming  <leeming@lyx.org>
9823         * Makefile.am: nuke forgotten stl_string_fwd.h.
9825 2002-06-12  Angus Leeming  <leeming@lyx.org>
9827         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9829 2002-06-13  Angus Leeming  <leeming@lyx.org>
9831         * LaTeX.C:
9832         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9834 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9836         * kbmap.C (getiso): add support for cyrillic and greek
9838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9840         * BufferView.h:
9841         * BufferView.C:
9842         * BufferView_pimpl.h:
9843         * BufferView_pimpl.C: move bogus scrolling logic
9844           to xforms
9846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9848         * lyxfunc.C:
9849         * BufferView_pimpl.C: view->resize() change
9851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9853         * BufferView_pimpl.C: topCursorVisible
9854           prototype change
9856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9858         * Makefile.am:
9859         * lyx_gui.h:
9860         * lyx_gui.C: move to frontends/
9862         * main.C:
9863         * lyx_main.h:
9864         * lyx_main.C: changes from above
9866 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9868         * intl.C:
9869         * intl.h:
9870         * kbmap.C:
9871         * kbsequence.C:
9872         * lyx_cb.C:
9873         * lyx_main.C: minor tidy
9875 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9877         * BufferView_pimpl.h:
9878         * BufferView_pimpl.C:
9879         * BufferView.h:
9880         * BufferView.C: make painter() const,
9881           remove dead code
9883         * BufferView2.C: use screen() accessor
9885         * lyx_main.h:
9886         * lyx_main.C: some minor cleanup
9888 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9890         * BufferView_pimpl.h:
9891         * BufferView_pimpl.C: remove enter/leaveView,
9892           use workHeight()
9894 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9896         * BufferView.h:
9897         * BufferView.C:
9898         * BufferView2.C:
9899         * BufferView_pimpl.h:
9900         * BufferView_pimpl.C: only construct screen once,
9901           rename
9903         * lyxrc.C: remove pointless comment
9905 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9907         * BufferView.h:
9908         * BufferView.C: remove active() and belowMouse()
9910         * BufferView_pimpl.h:
9911         * BufferView_pimpl.C: use workarea() not workarea_,
9912           and make it use a scoped_ptr instead
9914 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9916         * lyx_gui.C: add debug message on BadWindow
9918 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920         * sp_spell.C: fdopen is not part of the C++ standard.
9922         * paragraph.C (InsetIterator): use >= instead of ==
9924 2002-06-07  Angus Leeming  <leeming@lyx.org>
9926         Fixes needed to compile with Compaq cxx 6.5.
9927         * BufferView_pimpl.C:
9928         * DepTable.C:
9929         * buffer.C:
9930         * converter.C:
9931         * encoding.C:
9932         * lyx_gui.C:
9933         * lyx_main.C:
9934         * lyxtextclasslist.C:
9935         * minibuffer.C:
9936         * sp_spell.C:
9937         * tabular_funcs.C:
9938         * vc-backend.C:
9939         all c-library variables have been moved into namespace std. Wrap
9940         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9942         * lyxlength.C:
9943         * tabular-old.C:
9944         * tabular.C:
9945         Add a using std::abs declaration.
9947         * kbmap.h (modifier_pair):
9948         * paragraph.h (InsetTable, InsetList):
9949         * lyxfont.h (FontBits):
9950         type definition made public.
9952         * bufferlist.C (emergencyWriteAll): the compiler complains that
9953         there is more than one possible lyx::class_fun template to choose from.
9954         I re-named the void specialisation as lyx::void_class_fun.
9956         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9958         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9959         the compiler is is unable to find tostr in write_attribute.
9961 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963         * buffer.C (sgmlError): hide #warning
9965 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967         * xtl/*: get rid of xtl, which is not in use anyway
9969         * LyXAction.C (init):
9970         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9971         were unimplemented xtl experimentation
9973 2002-06-04  André Pönitz <poenitz@gmx.net>
9975         * lyxfunc.C: disable array operation on simple formulae
9977 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9979         * converter.C: constify a bit
9981 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9983         * lyx_gui.C: check xforms version correctly
9985 2002-04-30  Herbert Voss  <voss@lyx.org>
9987         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9988         "keep" option
9990 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9992         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9993           attempt to register it with a VCS)
9995 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997         * lyx_main.C (init): honor variables LYX_DIR_13x and
9998         LYX_USERDIR_13x
10000 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10002         * buffer.h:
10003         * buffer.C:
10004         * lyx_main.C: fix a crash on bad command line,
10005           and give a useful exit status on error
10007         * lyxfunc.C (doImport): allow -i lyx to work
10009 2002-03-30  André Pönitz <poenitz@gmx.net>
10011         * lyxfunc.C: mathed font changes
10013 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10015         * LaTeX.C:
10016         * importer.h:
10017         * importer.C:
10018         * lyx_sty.h:
10019         * lyx_sty.C:
10020         * lyxlex.C:
10021         * lyxrow.h:
10022         * lyxtext.h:
10023         * paragraph.h:
10024         * paragraph.C:
10025         * texrow.h:
10026         * texrow.C:
10027         * text.C:
10028         * trans_mgr.h: srcdocs, and some minor cleanups
10030 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10033         call getFont all the time)
10035 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10037         * switch from SigC signals to boost::signals
10039 2002-05-29  André Pönitz <poenitz@gmx.net>
10041         * paragraph_pimpl.C (getChar): don't call size() too often...
10043 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045         * paragraph_pimpl.C (insertChar): do not try to update tables when
10046         appending (pos == size())
10048         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10049         in order to reduce drastically the number of comparisons needed to
10050         parse a large document
10052 2002-05-29  André Pönitz <poenitz@gmx.net>
10054         * text.C:
10055         * text2.C:
10056         * lyxtextclass.C:
10057         * sp_pspell.h:
10058         * textclasslist.[Ch]:
10059         * sp_ispell.h: whitespace change
10061 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10064         lyxaction directly now.
10066 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10068         * trans.C:
10069         * lyxfont.C:
10070         * lyxvc.C: remove unused headers
10072 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10074         * Makefile.am:
10075         * buffer.h:
10076         * undostack.h:
10077         * undostack.C:
10078         * undo_funcs.h:
10079         * undo_funcs.C: some cleanups. Use shared_ptr
10080           and a template for the undo stacks.
10082 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10084         * BufferView_pimpl.h:
10085         * BufferView_pimpl.C:
10086         * kbmap.h:
10087         * kbmap.C:
10088         * kbsequence.h:
10089         * kbsequence.C:
10090         * lyxfunc.h:
10091         * lyxfunc.C:
10092         * text2.C: use key_state/mouse_state
10094 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10097         and LSubstring
10099         * chset.C: change include order
10100         (loadFile): use boost regex and get rid of LRegex and LSubstring
10102         * Makefile.am (BOOST_LIBS): new variable
10103         (lyx_LDADD): use it
10105         * LaTeX.C: change include order.
10106         (scanAuxFile): use boost regex and get rid of LRegex and
10107         LSubstring
10108         (deplog): ditto
10110 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10112         * ColorHandler.h:
10113         * ColorHandler.C:
10114         * FontInfo.h:
10115         * FontInfo.C: moved to frontends/xforms/
10117         * FontLoader.h:
10118         * FontLoader.C: moved into frontends for GUIIzation
10120         * Makefile.am:
10121         * lyx_gui.C:
10122         * lyxfont.C:
10123         * lyxfunc.C: changes from above
10125 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10127         * LColor.C: remove spurious X include
10129         * BufferView_pimpl.C:
10130         * Makefile.am:
10131         * font.h:
10132         * font.C:
10133         * text.C:
10134         * text2.C: move font metrics to frontends/
10136 2002-05-24  Juergen Vigna  <jug@sad.it>
10138         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10139         setting the undo_cursor.
10141         * ParagraphParameters.h: include local includes first.
10143 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10145         * BufferView_pimpl.C:
10146         * BufferView_pimpl.h:
10147         * Makefile.am:
10148         * WorkArea.h:
10149         * WorkArea.C:
10150         * screen.C: move WorkArea into frontends/
10152         * lyxscreen.h:
10153         * screen.C:
10154         * text.C:
10155         * BufferView.C:
10156         * BufferView2.C: move LyXScreen into frontends/
10158         * lyxlookup.h:
10159         * lyxlookup.C:
10160         * lyx_gui.C: move lyxlookup into frontends/xforms/
10162 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10164         * BufferView2.C:
10165         * BufferView_pimpl.C:
10166         * FontLoader.C:
10167         * LyXView.h:
10168         * LyXView.C:
10169         * Makefile.am:
10170         * WorkArea.C:
10171         * XFormsView.h:
10172         * XFormsView.C:
10173         * buffer.C:
10174         * bufferlist.C:
10175         * bufferview_funcs.C:
10176         * converter.C:
10177         * importer.C:
10178         * lyx_cb.C:
10179         * lyx_gui.C:
10180         * lyx_main.C:
10181         * lyx_find.C:
10182         * lyxfunc.C:
10183         * lyxvc.C:
10184         * minibuffer.C:
10185         * text.C:
10186         * text2.C:
10187         * trans.C:
10188         * vc-backend.C: move LyX/XFormsView into frontends/
10190 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10192         * Makefile.am:
10193         * PainterBase.C:
10194         * PainterBase.h:
10195         * Painter.C:
10196         * Painter.h:
10197         * WorkArea.C:
10198         * WorkArea.h:
10199         * screen.C:
10200         * tabular.C:
10201         * text.C:
10202         * text2.C: move Painter to frontends/
10204 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10206         * buffer.C: comment out some some code that depend upon lyx_format
10207         < 220
10209         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10210         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10212         * buffer.h (NO_COMPABILITY): turn off compability
10214         * ColorHandler.C: include scoped_array.hpp
10216         * font.C: Use more specific smart_ptr header.
10217         * Painter.C: ditto
10218         * gettext.C: ditto
10219         * ShareContainer.h: ditto
10220         * lyx_main.h: ditto
10221         * kbmap.h: ditto
10222         * FontInfo.h: ditto
10223         * BufferView_pimpl.h: ditto
10224         * ColorHandler.h: ditto
10226         * kbmap.C (defkey): change call to shared_ptr::reset
10228 2002-05-21  Juergen Vigna  <jug@sad.it>
10230         * buffer.C (insertErtContents): fix to insert ert asis if it is
10231         non empty. Skip it completely if it contains only whitespaces.
10233 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10235         * BufferView_pimpl.C:
10236         * BufferView2.C: clear selection on paste (bug 393)
10238 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240         * DepTable.C: include ctime
10242 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10244         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10246 2002-05-14  Juergen Vigna  <jug@sad.it>
10248         * text.C (breakParagraph): fixed function to honor the keepempty
10249         layout in the right maner and also to permit the right breaking
10250         algorithm on empty or non empyt keepempty paragraphs.
10252         * paragraph.C (breakParagraph): we have to check also if the par
10253         is really empty (!size()) for isempty otherwise we do the wrong
10254         paragraph break.
10256 2002-05-10  Juergen Vigna  <jug@sad.it>
10258         * buffer.[Ch] : The following are only changes to the ert
10259         compatibility read reading old LaTeX layout and font stuff and
10260         convert it to ERTInsets.
10262         * buffer.h: added isErtInset().
10264         * buffer.C (struct ErtComp): add a fromlayout bool to check
10265         if we're inside a LaTeX layout.
10266         (isErtInset): new helper function.
10267         (insertErtContents): look for other ert insets before this one
10268         and insert the contents there, so that we don't have subsequent
10269         ERT insets with nothing between them. This way we create only one
10270         inset with multiple paragraphs. Also check if we don't insert only
10271         spaces ' ' as they are ignored anyway afterwards in the .tex file
10272         so if we have only spaces we will ignore this latex part in the
10273         new file.
10274         (parseSingleLyXformat2Token \\layout): better compatibility when
10275         reading layout-latex stuff.
10276         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10277         language tag.
10278         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10279         stuff after reading the inset only get the information back from
10280         the stack.
10282 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10284         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10286         * LaTeXFeatures.C (getBabelOptions): New method.
10288 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290         * BufferView_pimpl.C (Dispatch): work around missing argument for
10291         'layout'
10293 2002-05-08  Juergen Vigna  <jug@sad.it>
10295         * text.C (leftMargin): handle paragraph leftindent.
10297         * paragraph.C (writeFile): write the new \\leftindent tag.
10298         (validate): handle leftindent code.
10299         (TeXEnvironment): handle paragraphleftindent code again.
10301         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10303         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10304         for paragrap_extra indent code and new token \\leftindent.
10305         (latexParagraphs): handle the leftindent as environment.
10307         * ParameterStruct.h: added leftindent support.
10309         * ParagraphParameters.C (leftIndent): added support functions for
10310         the paragraph left indent.
10312         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10313         more appropriate.
10315 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10317         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10318         inside insetERT.
10320         * text.C (computeBidiTables): No bidi in insetERT.
10322         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10323         in RTL documents.
10325 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327         * version.C.in: pre 5
10329 2002-05-02  José Matos  <jamatos@fep.up.pt>
10330         * buffer.C (makeDocBookFile): white space changes, add newline to
10331         command styles.
10332         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10334         * tabular.C (docBook): fix typo.
10336 2002-05-03  Juergen Vigna  <jug@sad.it>
10338         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10339         change in LyXText as we can not be sure it was not freed.
10340         (drawOneRow): remove unused code.
10342         * text.C (drawInset): redo the calculation of the need_break_row as
10343         it could have a row which was already freed.
10344         (draw): look at the return value of drawInset and return false if
10345         it also returned false.
10346         (paintRowText): look at the return value of draw and return false if
10347         it also returned false.
10349         * lyxtext.h: added bool return type to drawInset() and draw() so that
10350         if we have a change in the row so that the rowbreak has to be redone
10351         we abort drawing as it will be called again.
10353 2002-05-02  Juergen Vigna  <jug@sad.it>
10355         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10356         a change in the maintext also if we're inside an inset.
10357         (Dispatch): set the cursor again after a break line and after the
10358         screen has been updated as it could be we're in a different row.
10360         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10361         to set the cursor behind the pargraph with > size().
10362         (setCursor): check also for the same paragraph when checking where
10363         to put the cursor if we have a NFR inset.
10365         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10366         parts of layout read further up as it still was in the wrong
10367         position.
10369 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371         * screen.C (drawFromTo): change sine fullRebreak always return
10372         true.
10374         * buffer.C (parseSingleLyXformat2Token): reindent some
10376         * BufferView_pimpl.C (update): change since fullRebreak always
10377         return true.
10378         (Dispatch): git rid of the last hardcoded "Standard"s.
10380 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382         * text2.[Ch] (fullRebreak): make it return void now that we always
10383         returned true.
10385 2002-04-30  Juergen Vigna  <jug@sad.it>
10387         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10388         ert compatibility check for "latex" layout.
10390 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10392         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10393         minipages: use col% instead of p%, and also use the current font.
10394         (makeLaTeXFile): Fix use babel condition.
10395         (parseSingleLyXformat2Token): Correct font when reading old floats.
10397 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10399         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10400         inserting list of floats.
10402 2002-04-25  Herbert Voss  <voss@lyx.org>
10404         * MenuBackend.C (expand): don't add the graphics extensions to the
10405         export menu
10407 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10410         non-existing layout, do not complain if it was the default layout
10411         of the original class (bug #342)
10413 2002-04-24  Juergen Vigna  <jug@sad.it>
10415         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10416         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10418 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10420         * buffer.C (getBibkeyList): If using \bibliography, return the
10421         option field with the reference itself. Enables us to provide natbib
10422         support when using \bibliography.
10424 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10426         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10428         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10429         natbib is provided by the LaTeX class.
10431 2002-04-23  Juergen Vigna  <jug@sad.it>
10433         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10434         Wakeup functions.
10436         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10438 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10440         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10442         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10443         ensuremath around textordmasculine, textordfeminine and
10444         textdegree.
10446 2002-04-19  Juergen Vigna  <jug@sad.it>
10448         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10449         reinitializing the buffer otherwise row-dimensions may be wrong.
10450         (update): reset also the selection cursors if they do exits otherwise
10451         their x/y positions may be wrong.
10453         * text2.C (cursorDown): don't enter the inset if we came from a row
10454         above and are one row over the inset.
10456         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10457         really leaving an inset.
10459 2002-04-18  Juergen Vigna  <jug@sad.it>
10461         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10462         of the selected paragraph does not have the selected layout also if
10463         the last one had!
10465         * text2.C (setLayout): fixed bug which did not change last selected
10466         paragraph.
10468         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10469         changed the read and substituted \\end_float with \\end_inset!
10471         * BufferView_pimpl.C (cursorPrevious):
10472         (cursorNext): fixed to make it work with rows heigher than the work
10473         area without moving the cursor only the draw of the row.
10474         (workAreaMotionNotify): fix jumping over high rows.
10476 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10479         Ressler.
10481 2002-04-16  Juergen Vigna  <jug@sad.it>
10483         * text2.C (setCursor): set also the irow().
10484         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10485         (cursorUp):
10486         (cursorDown): support for locking an inset if the x_fix value goes
10487         inside it. That way I can transverse insets too with cursor up/down.
10489         * lyxrow.h: added irow helper function same as other (i) functions.
10491         * BufferView_pimpl.C (cursorPrevious):
10492         (cursorNext): fixed for insets!
10494 2002-04-15  Juergen Vigna  <jug@sad.it>
10496         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10497         position otherwise it is wrong in some cases.
10499         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10500         inside the inset before the call.
10502 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10504         * buffer.[Ch] (getBibkeyList): make it const.
10506 2002-04-12  Juergen Vigna  <jug@sad.it>
10508         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10510         * text2.C (getCursorX): new helper function
10511         (setCursor): compute also ix_
10512         (setCursorFromCoordinates): set also ix.
10514         * lyxcursor.h: added ix_ and helper functions.
10516         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10518         * buffer.C (insertStringAsLines): dont break paragraph if the this
10519         paragraph is inside an inset which does not permit it!
10521         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10522         also with no chars on this paragraph.
10523         (paintRowText): only paint stuff if it's inside the workarea!
10525         * paragraph.C (breakParagraph): honor keepempty flag and break the
10526         paragraph always below not above.
10528         * BufferView2.C (unlockInset): update the paragraph layout on inset
10529         unlock as we changed paragraph in such a case.
10531         * lyxfind.C (LyXFind): clear the former selection if not found!
10533         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10534         again called in insertChar().
10536         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10537         an inset which uses the whole row!
10538         (rightMargin): ditto.
10539         (insertChar): force a rebreak if we inserted an inset!
10541 2002-03-28  Herbert Voss  <voss@lyx.org>
10543         * lyxlength.[Ch]: add inBP() to get the right PS-point
10544         units (BigPoint). With inPixels we have rounding errors
10546 2002-04-11  Juergen Vigna  <jug@sad.it>
10548         * text2.C (setCursorFromCoordinates): set iy to the right value.
10549         (setCursor): add check if row->previous exists!
10551         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10552         an old float_type as this was the case in the old code!
10554         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10556         * BufferView2.C (showLockedInsetCursor): use iy
10557         (fitLockedInsetCursor): ditto
10559         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10560         locked insets as there we have the right value now.
10562         * lyxcursor.C: added iy_ variable and iy functions to set to the
10563         baseline of cursor-y of the locked inset.
10565         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10566         (setCursor): fixed for insets which need a full row.
10568         * text.C (rowLastPrintable): don't ignore the last space when before
10569         an inset which needs a full row.
10570         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10571         as last character of a row when before a inset which needs a full row.
10573 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575         * version.C.in: update date
10577         * text2.C (fullRebreak): try to always return true and see what
10578         happens...
10580 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582         * MenuBackend.C (expand): use Floating::listName
10584         * FloatList.C (FloatList): add listName argument to the built-in
10585         floats
10587         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10588         text associated with the float.
10590 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10594 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596         * ShareContainer.h: add a couple of missing typenames.
10598 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10600         * lyxrc.C (getDescription): use _() correctly rather than N_().
10602 2002-03-28  Herbert Voss  <voss@lyx.org>
10604         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10605         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10607 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10610         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10612 2002-03-29  Juergen Vigna  <jug@sad.it>
10614         * lyxfunc.C (dispatch): add a missing fitCursor call.
10616         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10617         it was scrolled by a cursor move, so return the bool status.
10619         * BufferView.C (fitCursor): return the bool flag also to the outside
10620         world as this is needed.
10622         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10624         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10625         call the edit() as it is not needed (and wrong) IMO.
10626         (workAreaButtonPress): set the screen_first variable before evt.
10627         unlock the inset as this may change screen_first and then we have
10628         a wrong y position for the click!
10630 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632         * MenuBackend.C (expand): another translation that I missed
10634 2002-03-28  Juergen Vigna  <jug@sad.it>
10636         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10638         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10640 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10644         * MenuBackend.C (expand): fix export/view/update when there is no
10645         document open.
10647 2002-03-27  Herbert Voss  <voss@lyx.org>
10649         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10650         and text%
10652 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654         * bufferview_funcs.C (currentState): only show paragraph number
10655         for is DEVEL_VERSION is set.
10657         * lyxfunc.C (dispatch): put warning in INFO channel
10659         * MenuBackend.C (expand): translate the name of floats
10661         * FloatList.C (FloatList): mark the float names for translation
10663         * converter.C (convert): use LibScriptSearch
10665 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10667         * MenuBackend.C (defaults): fix default menu (we might as well get
10668         rid of it...)
10670 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10673         directory.
10675 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677         * lyxvc.C: reorder includes.
10679 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10681         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10682           properly
10684 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10686         * CutAndPaste.C: change layouts earlier on paste
10687           to avoid crashing when calling getFont()
10689 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10691         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10692         irritating #error.
10694 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696         * WorkArea.C: remove 'Pending' debug message.
10698         * most files: ws cleanup
10700         * buffer.[Ch]: ws changes
10702         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10704 2002-03-21  Juergen Vigna  <jug@sad.it>
10706         * tabular.C (SetMultiColumn): collapse also the contents of the
10707         cells and set the last border right. Added a Buffer const * param.
10709 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10712         linking or not.
10714 2002-03-19  Juergen Vigna  <jug@sad.it>
10716         * text2.C (clearSelection): reset also xsel_cache.
10718         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10719         where it needs to be called (John tells us to do so too :)
10720         (selectionLost): reset sel_cache.
10722         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10724 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726         * text2.C (setCursorIntern): put debuging code in INSETS channel
10728 2002-03-19  André Pönitz <poenitz@gmx.net>
10730         * lyxfunc.C: tiny whitespace change
10732 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734         * ToolbarDefaults.C (init):
10735         * LyXAction.C (init):
10736         * commandtags.h:
10737         * BufferView_pimpl.C (Dispatch):
10738         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10740 2002-03-19  Allan Rae  <rae@lyx.org>
10742         * exporter.C (Export): removeAutoInsets before doing anything else.
10743         While I've just introduced a dependency on BufferView this really is
10744         the best place to clean the buffer otherwise you need to cleanup in
10745         a dozen places before calling export or cleanup in a dozen functions
10746         that export calls.
10748         * converter.C (runLaTeX):
10749         (scanLog): Better handling of removeAutoInsets and screen updates.
10751         * lyxfunc.C (dispatch): small whitespace changes
10753 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755         * WorkArea.C (C_WorkAreaEvent): return a value.
10756         (event_cb): return 1 if we handled the event, 0 otherwise.
10758         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10760 2002-03-18  Juergen Vigna  <jug@sad.it>
10762         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10763         (GetAdditionalWidth): ditto.
10764         (RightLine): ditto.
10765         (LeftLine): ditto.
10767         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10768         inset if we're there actually (probably not used right now but this
10769         is the direction to go for unifying code).
10770         (paste): disable code to clear the selection.
10772         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10773         inside an InsetText and move the check further up as it is in the
10774         wrong place.
10776         * text2.C (pasteSelection): set a selection over the pasted text.
10778 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10780         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10781         and libgraphics to build on Cygwin.
10783 2002-03-15  Juergen Vigna  <jug@sad.it>
10785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10786         inserting an Inset into the paragraph. I know this is not the best
10787         fix but we already use current_view in CutAndPaste so we will remove
10788         all of it's using at the same time.
10790         * buffer.C (sgmlError): deactivated function till it is rewritten in
10791         the right mode, now it can create problems.
10793         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10794         before accessing it.
10796 2002-03-14  Juergen Vigna  <jug@sad.it>
10798         * undo_funcs.C (textHandleUndo): do the right thing when updating
10799         the inset after the undo/redo.
10801         * text2.C (setCursor): just some testcode for #44 not ready yet.
10803         * undo_funcs.C (textHandleUndo): set the next() and previous()
10804         pointers of the paragraph to 0 before deleting otherwise we have
10805         problems with the Paragraph::[destructor].
10807         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10808         on a paragraph insertion.
10810 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812         * buffer.C (asciiParagraph): use += operator for char append to
10813         string.
10815         * paragraph.C (getFontSettings): compare >= not just >
10816         (highestFontInRange): ditto
10817         (setFont): ditto
10819 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10821         * paragraph.C: change several algorithm to be more appripriate for
10822         the problem domain. This is lookip in FontList and in the InsetList.
10824 2002-03-13  André Pönitz <poenitz@gmx.net>
10826         * commandtags.h:
10827         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10829 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10831         * commandtags.h:
10832         * LyXAction.C:
10833         * lyxfunc.C:
10834         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10836 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838         * Painter.C (display): anon helper function, adjust code for this
10839         change.
10840         (pixmap): remove function.
10842         * Painter.h: remove private display variable.
10844         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10846 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10848         * WorkArea.[Ch]: remove figinset_canvas cruft.
10850 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852         * lyxtextclass.C (operator): add one item cache optimization.
10854         * bufferlist.h: doxy changes
10856         * bufferlist.C: ws changes
10858         * DepTable.[Ch] (ext_exist): place const in the right spot.
10860         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10861         call resizeInsets.
10862         (workAreaExpose): call resizeInsets when the with BufferView changes.
10863         (Dispatch): adjust for protectedBlank removal
10864         (specialChar): call updateInset if the insert went ok.
10866         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10867         specialChar instead.
10869         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10871         * BufferView.h: doxy change
10873         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10875         * lyxtextclass.C (operator[]): remove non-const version
10876         (defaultLayout): remove non-const version
10878 2002-03-12  Juergen Vigna  <jug@sad.it>
10880         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10881         did resize the LyXText too.
10883         * buffer.C (readLyXformat2): set layout information on newly allocated
10884         paragraphs.
10886         * tabular.C (OldFormatRead): set layout information on the paragraph.
10888 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10890         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10892 2002-03-11  Juergen Vigna  <jug@sad.it>
10894         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10895         plainly wrong.
10896         (resizeCurrentBuffer): force also the insets to resize themselfes.
10897         (moveCursorUpdate): fixed up for InsetText.
10899 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10901         * commandtags.h:
10902         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10903         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10904         value of Dialogs::tooltipsEnabled().
10905         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10907 2002-03-08  Juergen Vigna  <jug@sad.it>
10909         * BufferView_pimpl.C (updateInset): update inset inside inset also
10910         if it isn't inside theLockingInset().
10912 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914         * buffer.C (asciiParagraph): redo some of the word and line length
10915         handling.
10916         (getLists): look for Caption instead of caption.
10918 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920         * buffer.C (Buffer): initialize niceFile to true
10921         (makeLaTeXFile):
10922         (makeLinuxDocFile):
10923         (makeDocBookFile): make sure niceFile is true on exit
10925 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10927         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10929 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10931         * LyXSendto.C: remove.
10932         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10933         * lyx_gui.C: remove now-redundant comment.
10934         * ColorHandler.h: remove forward declaration of class WorkArea.
10935         * lyxfunc.C: remove #include "WorkArea.h".
10937 2002-03-07  Juergen Vigna  <jug@sad.it>
10939         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10940         got moved away with the DEPM and also set the inset_owner always
10941         right which before could have been omitted.
10943 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10945         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10946         wanted layout is not found.
10948 2002-03-07  Juergen Vigna  <jug@sad.it>
10950         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10952 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10954         * paragraph.C (breakParagraph): use default layout not layout of
10955         prev paragraph.
10956         (Paragraph): clear ParagraphParameters.
10958 2002-03-06  Juergen Vigna  <jug@sad.it>
10960         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10961         otherwise it would not be a valid lenght. Fixed a special case in
10962         the minipage compatibility read where we end the document with a
10963         minipage.
10965         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10966         was set as it could be 0 for InsetTexts first entry.
10968 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970         * paragraph.C (writeFile): if layout is empty write out
10971         defaultLayoutName().
10973         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10974         file without named layout we set layout to defaultLayoutName().
10976 2002-03-06  Juergen Vigna  <jug@sad.it>
10978         * CutAndPaste.C (copySelection): set layout for new paragraph.
10980         * text.C (prepareToPrint): leave ERT inset left aligned
10981         (leftMargin): don't indent paragraphs inside ERT insets
10983 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985         * paragraph.C (breakParagraph): dont call clear do the work manually
10987         * paragraph.[Ch] (clear): remove function
10989 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10991         * paragraph.C (Paragraph): dont call clear, the work has already
10992         been done.
10994         * lyxtextclass.C (operator): assert if n is empty
10996         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10997         work manually instead.
10999 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11001         * BufferView_pimpl.C: protect selectionLost against text == 0
11003 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005         * text.C (breakParagraph): fix a setting layout to '0' problem.
11007 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11009         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11010         final location of file, for the included files, and graphics.
11012 2002-03-05  Juergen Vigna  <jug@sad.it>
11014         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11016 2002-03-04  Juergen Vigna  <jug@sad.it>
11018         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11020         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11021         last column of multicolumn cells.
11022         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11024 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11026         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11027         file if it doesn't go to a temporary file.
11029         * buffer.C (sgmlOpenTag):
11030         (sgmlCloseTag):  remove extra newline insertion.
11032 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034         * text.C (getRowNearY): comment out debug msg
11036 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11038         * text2.C: first -> first_y
11040         * text.C (getRowNearY): add some attemts at a possible
11041         optimization, not working.
11043         * tabular.[Ch]: add BufferParams to several function so that newly
11044         created paragraph can be initialized to he default layotu for the
11045         buffers textclass.
11047         * tabular-old.C (ReadOld): add buf->params to call of Init
11049         * screen.C: rename text->first to text->first_y
11051         * paragraph.C (breakParagraph): always set layout in the broken
11052         paragraph
11054         * lyxtextclass.C (Read): remove lowercase
11055         (hasLayout): ditto
11056         (operator): ditto
11057         (delete_layout): ditto
11059         * lyxtext.h: rename first -> first_y
11061         * lyxlayout.C (Read): remove lowercase
11062         (name): ditto
11063         (setName): ditto
11064         (obsoleted_by): ditto
11066         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11068         * buffer.C (insertErtContents): add params are to InsetERT
11069         (parseSingleLyXformat2Token): add code to check if a paragraphs
11070         layout really exist.
11071         (parseSingleLyXformat2Token): add params to several inset
11072         constructors
11073         (asciiParagraph): remove lowercase, do the layout comparisons with
11074         no_case
11076         * BufferView_pimpl.C (cursorNext): first -> first_y
11077         (resizeCurrentBuffer): first -> first_y
11078         (updateScrollbar): first -> first_y
11079         (scrollCB): first -> first_y
11080         (workAreaMotionNotify): first -> first_y
11081         (workAreaButtonPress): first -> first_y
11082         (checkInsetHit): first -> first_y
11083         (cursorPrevious): first -> first_y
11084         (cursorNext): first -> first_y
11085         (Dispatch): add buffer_->params to severl inset contructors
11087 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089         * lyxlayout.C (Read): remove some debug info that I forgot.
11091         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11092         clean up the code slightly.
11093         (makeLinuxDocFile): ditto
11094         (makeDocBookFile): ditto
11096         * text2.C: layout as string
11098         * text.C: layout as string
11100         * paragraph_pimpl.C: layout as string
11102         * paragraph.[Ch]: layout as string
11104         * lyxtextclasslist.[Ch]: layout as string
11106         * lyxtextclass.[Ch]: layout as string
11108         * lyxtext.h: layout as string
11110         * lyxlayout.[Ch]: layout as string
11112         * lyx_cb.C: layout as string
11114         * bufferview_funcs.C: layout as string
11116         * bufferparams.C: layout as string
11118         * buffer.C: layout as string
11120         * LyXView.[Ch]: layout as string
11122         * LaTeXFeatures.[Ch]: layout as string
11124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11126         * BufferView_pimpl.C: change current_layout to string, remove
11127         lyx::layout_type.
11128         (Dispatch):
11129         (smartQuote):
11130         (insertInset):
11131         (workAreaButtonRelease): layout as string
11133         * BufferView2.C (unlockInset): adjust
11135         * vspace.C (asLatexCommand): use an explict temp variable.
11137 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11139         * Makefile.am: use FRONTEND_*
11141 2002-03-01  Juergen Vigna  <jug@sad.it>
11143         * tabular.C (SetWidthOfMulticolCell): changed to something better
11144         I hope but still work in progress.
11145         (recalculateMulticolumnsOfColumn): renamed function from
11146         recalculateMulticolCells as it is more appropriate now.
11147         (SetWidthOfCell): calculate multicols better.
11149 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11151         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11153         * lyxfunc.C (processKeySym): print sequence also if it is
11154         `deleted' (complete)
11156         * kbsequence.C (print): print sequence even if it is deleted
11157         (complete would be a better word, actually).
11159         * lyxfunc.C (dispatch): print complete options after a prefix key
11161         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11163 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11165         * text2.C (setCharFont): eliminate setCharFont code duplication.
11167 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11170         LFUN_TABULAR_FEATURE (bug #177)
11172 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11174         * Makefile.am: remove figure.h
11176 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11178         * Bufferview_pimpl.C:
11179         * CutAndPasteC:
11180         * LaTeX.C:
11181         * LyXSendto.C:
11182         * buffer.C:
11183         * bufferlist.C:
11184         * converter.C:
11185         * language.C:
11186         * lyxfunc.C:
11187         * lyxvc.C:
11188         * paragraph.C:
11189         * text.C:
11190         * text2.C: remove #include "lyx_gui_misc.h".
11192         * LaTeX.C: added #include <cstdio>
11194 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11197         that the paragraph following this one can have.
11199         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11201         * vspace.C (asLatexCommand): fix bogus gcc warning
11203         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11205 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11207         * text2.C (setLayout): get rid of redundant code
11209 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11211         * text2.C (incDepth): make sure depth cannot be increased beyond
11212         reasonable values.
11214 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11216         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11217         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11219         * PainterBase.h (image):
11220         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11221         a LyXImage const *.
11223 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11225         * BufferView.C:
11226         * BufferView.h:
11227         * BufferView_pimpl.C:
11228         * BufferView_pimpl.h:
11229         * LaTeXFeatures.C:
11230         * LyXAction.C:
11231         * LyXView.C:
11232         * Makefile.am:
11233         * UpdateList.h:
11234         * UpdateList.C:
11235         * buffer.C:
11236         * figure.h:
11237         * figureForm.C:
11238         * figureForm.h:
11239         * figure_form.C:
11240         * figure_form.h:
11241         * lyx_cb.C:
11242         * lyx_gui.C:
11243         * lyx_gui_misc.C:
11244         * lyxfunc.C:
11245         * sp_base.h:
11246         * sp_ispell.h:
11247         * sp_pspell.h:
11248         * sp_spell.C: remove fig inset, and the crap house of
11249           cards that follows it
11251 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11253         * Makefile.am:
11254         * lyxserver.C:
11255         * os2_defines.h:
11256         * os2_errortable.h:
11257         * nt_defines.h: move .h into support/
11259         * vms_defines.h: remove
11261         * WorkArea.C: add space in debug output
11263         * text2.C:
11264         * paragraph.C:
11265         * buffer.C: add WITH_WARNINGS
11267         * vc-backend.h:
11268         * vc-backend.C:
11269         * bufferlist.C: s/retrive/retrieve/, add docs
11271         * vspace.h:
11272         * vspace.C:
11273         * kbmap.h:
11274         * lyxlength.h:
11275         * lyxgluelength.h:
11276         * length_common.h:
11277         * chset.h:
11278         * chset.C: add docs
11280         * lyxgui.C: add ID to X error handler
11282         * lyxtestclass.c: fix typo
11284 2002-02-26  Juergen Vigna  <jug@sad.it>
11286         * tabular_funcs.C (write_attribute): changed so that some default
11287         attributes are not written at all.
11288         (getTokenValue): set default values before trying to read the
11289         value so we have the return value always set as default if we don't
11290         find the token we search for.
11292         * tabular.C (Write): write bools as bools not as strings!
11294 2002-02-22  Juergen Vigna  <jug@sad.it>
11296         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11297         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11299         * text.C (leftMargin): don't add an indent for paragraphs inside
11300         tabular cells (fix #208).
11302 2002-02-21  José Matos  <jamatos@fep.up.pt>
11304         * tabular.C (docBook): fixed support for long tables.
11306 2002-02-20  Juergen Vigna  <jug@sad.it>
11308         * text2.C (getFont): get the drawing font of the Inset if this
11309         paragraph is inside an inset (only important for InsetERT for now).
11311         * buffer.C (insertErtContents): use new lanugage params in ERT
11312         constructor.
11314         * CutAndPaste.C: commenting out seemingly uneeded code.
11316 2002-02-19  Allan Rae  <rae@lyx.org>
11318         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11319         Iterators might be simple to use but they also get invalidated.
11320         (removeAutoInsets): renamed saved cursor tracking variables and added
11321         some comments to clarify what everything does.
11323 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11325         * Chktex.C:
11326         * LaTeX.C:
11327         * LyXSendto.C:
11328         * converter.C:
11329         * lyx_cb.C:
11330         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11331         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11333         * lyxfunc.C:
11334         * vc-backend.h: remove #include "support/syscall.h"
11336         * LaTeX.C:
11337         * LyXSendto.C:
11338         * converter.C: rearrange #includes in Lars' approved fashion.
11340         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11341         forward declare class Timeout in the header file.
11343         * XFormsView.C: changes due to the above.
11345         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11346         similar to LyXView.
11348         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11349         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11351 2002-02-18  José Matos  <jamatos@fep.up.pt>
11353         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11354         insets contents.
11356 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11358         * a lot of small ws changes
11359         * add a lot of using std::XXX
11360         * use std construcs some places where approp.
11361         * use some exisint stuff from lyxfunctional where approp.
11362         * Make file changes to use partial linking (lets test this now...)
11364 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11366         * Chktex.C:
11367         * buffer.C:
11368         remove #include "support/syscontr.h" as it's redundant. Always has been.
11370         * Chktex.C:
11371         * LaTeX.C:
11372         * LyXSendto.C:
11373         * converter.C:
11374         * lyx_cb.C:
11375         * vc-backend.C:
11376         change Systemcalls::System to Systemcalls::Wait and
11377         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11378         No change of functionality, just reflects the stripped down Systemcalls
11379         class.
11381 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11383         * debug.[Ch]: add a GRAPHICS type to the enum.
11385 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11389         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11390         there is an inset.
11392 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11395         match the changes below.
11397         * text2.C (toggleInset): if there is not editable inset at cursor
11398         position, try to see if cursor is _inside_ a collapsable inset
11399         and close it.
11401 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11404         document menu has a nice checkbox
11406 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408         * lyxlength.C (asLatexString): change PW to output as percent of
11409         \textwidth.
11411         * lengthcommon.C: change '%' to 't%'
11413         * lyxfunc.C (dispatch): a few comments from Martin
11415 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11417         * WorkArea.h:
11418         * WorkArea.C:
11419         * BufferView_pimpl.h:
11420         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11421           the X selection.
11423 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425         * vspace.C (inPixels): fix compiler warning
11427 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429         * lyxfunc.C (getStatus): fix status message for disabled commands.
11431 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11433         * BufferView_pimpl.C: fix crash on close buffer
11434         during selection (#227)
11436 2002-01-27  Herbert Voss  <voss@lyx.org>
11438         * buffer.C: link old Figure to new graphic inset
11440 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11442         * FontLoader.C (getFontinfo): Change the latex font names in order
11443         to match the names of type1inst.
11445 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11449         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11450         (extchanged): ditto
11451         (ext_exist): ditto
11452         (remove_files_with_extension): ditto
11453         (remove_file): ditto
11454         (write): ditto
11456         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11457         document is smaller than the work area height. Do not initialize
11458         static variables to 0.
11460 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11464         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11465         LFUN_LAYOUT_PARAGRAPHS.
11467         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11468         tabular. It is possible to provide a possible cell, which will
11469         typically be the actcell from the corresponding insettabular
11471         * lyxfunc.C (getStatus): small cleanup; disable
11472         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11473         true
11475 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11479         * paragraph.C (startTeXParParams):
11480         (endTeXParParams): new methods. The LaTeX code to
11481         start/end paragraph formatting
11482         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11483         empty (fixes bug #200)
11485         * vspace.C (inPixels): adapt to the change below
11486         (inPixels): [later] more cleanups (remove unused variables)
11488         * lyxlength.C (inPixels): change to use a width and a height as
11489         parameter.
11491 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11493         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11494         Replaced with \paperwidth
11496         * DepTable.C (insert): add std:: qualifier
11498 2002-01-18  Allan Rae  <rae@lyx.org>
11500         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11501         updated also?
11503         * text.C (drawInset): Turned out I didn't know enough about how
11504         rebreaking worked.  This fixes most of the redraw problems.  I see
11505         an occasional cursor trail when a line is broken now and the cursor
11506         placement can seem out by a few pixels also after a rebreak.
11508 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11510         * buffer.C (parseSingleLyXformat2Token): update because minipage
11511         width is now a LyXLength
11513         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11515         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11516         math insets
11518 2002-01-17  Juergen Vigna  <jug@sad.it>
11520         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11522         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11523         is set correctly and the inset is updated correctly.
11525 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11528         the beginning of the loop.
11530 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11532         * lyxrc.C: improve help for use_scalable_fonts
11534 2002-01-17  Allan Rae  <rae@lyx.org>
11536         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11538 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11541         make sure to set their inset_owner to the right value (bug #171)
11543 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11545         * DepTable.h
11546         * DepTable.C: Implement mtime checking to reduce time spent doing
11547         CRCs.
11549 2002-01-16  Juergen Vigna  <jug@sad.it>
11551         * tabular.C (GetAdditionalHeight): one of error fixed.
11553         * lyxrc.C (output): small fix in writing use_pspell.
11555 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11557         * sp_base.h: #include LString.h
11559 2002-01-16  Allan Rae  <rae@lyx.org>
11561         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11562         Can someone check this please?
11564         * text.C (drawInset): It was possible that p.row would be removed by
11565         breakAgainOneRow upsetting a few other settings.  There may be another
11566         small tweak possible by setting need_break_row = 0 when p.row has been
11567         removed but I don't know enough about the logic here.
11569 2002-01-15  Allan Rae  <rae@lyx.org>
11571         * text.C (insertChar): removed conditional truism.
11573         * BufferView2.C (removeAutoInsets): More tweaks.
11574         cur_par_prev could be a stray pointer.  Check for trailing empty line
11575         in case last line was cur_par and only had an error inset on it.
11577 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11580         absolute
11582         * vc-backend.C (most methods):
11583         * exporter.C (Export):
11584         * converter.C (convert):
11585         (runLaTeX):
11586         * LyXSendto.C (SendtoApplyCB):
11587         * lyxfunc.C (dispatch):
11588         (menuNew):
11589         (open):
11590         (doImport):
11591         * lyx_cb.C (AutoSave):
11592         (InsertAsciiFile):
11593         * BufferView_pimpl.C (MenuInsertLyXFile):
11594         * buffer.C (runChktex): use Buffer::filePath().
11596         * buffer.h: rename filename to filename_; rename filepath to
11597         filepath_ and make it private
11598         (filePath): new method
11600         * buffer.C (writeFile): use fileName()
11601         (getLatexName):
11603         * lyx_main.C (init): fix starting  of LyX when the binary is a
11604         link from so,ewhere else.
11606         * minibuffer.C: include <cctype> for isprint
11608 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11610         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11611         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11612         name clash with InsetCollapsable's width function.
11614 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616         * lastfiles.C: include <iterator>
11618 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11620         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11621         std::count.
11623         * buffer.C (makeLaTeXFile): ditto.
11624         Also make loop operation more transparent.
11626 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11628         * ToolbarDefaults.C: remove trailing comma closing namespace.
11630         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11632         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11633         as in WorkArea.
11635         * trans.C (Load): comment out unused variable, allowed.
11637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11639         * minibuffer.[Ch] (append_char): new method to recieve input from the
11640         drop-down completion browser. If a key was pressed, then recieve this
11641         char and append it to the existing string.
11642         (peek_event): modify the positioning data passed to the completion
11643         browser so that it can be placed above the minibuffer rather than below.
11644 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646         * LyXAction.C (init): alloe error-next for readonly documents.
11648         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11649         count.
11651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653         * bufferlist.C (readFile): create the buffer _after_ checking that
11654         the file exists.
11656         * lyxfunc.C (verboseDispatch): fix handling of arguments
11658         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11660         * lyxrc.C: use string::erase() instead of initializing to "".
11663 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11665         * BufferView_pimpl.h:
11666         * BufferView_pimpl.C:
11667         * WorkArea.h:
11668         * WorkArea.C:
11669         * text2.C: tell X when we have made a selection for copying
11671 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673         * BufferView_pimpl.C (MenuInsertLyXFile):
11674         * lyxfunc.C (menuNew):
11675         (open):
11676         (doImport): add shortcuts to directory buttons
11678         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11679         open a float)
11681         * lyxfunc.C (setStatusMessage):
11682         (getStatusMessage): new methods
11683         (getStatus):use setStatusMessage instead of setErrorMessage
11684         (dispatch): when function is disabled, set error message here
11685         [instead of in getStatus previously]
11687         * BufferView_pimpl.C (workAreaButtonRelease): update
11688         toolbar/menubar here too.
11690 2002-01-13  Allan Rae  <rae@lyx.org>
11692         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11693         Now seems indestructible.  Remaining task is to audit all other
11694         code affected by deleteEmptyParagraphMechanism.  One small quirk
11695         left is that an empty document with an error in the preamble can
11696         be made to report an error but no error box appears.  I don't know
11697         where it goes.
11698         (removeAutoInsets): Improved comments.
11700 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11702         * Thesaurus.h:
11703         * Thesaurus.C: update for Aiksaurus 0.14
11705 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707         * text2.C (firstParagraph): removed member function, all uses
11708         replaces with ownerParagraph
11709         (redoParagraphs): here
11710         (updateInset): here
11711         (toggleAppendix): here
11712         * BufferView2.C (insertErrors): here
11713         (setCursorFromRow): here
11715 2002-01-13  Allan Rae  <rae@lyx.org>
11717         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11718         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11719         There is still a way to segfault this although you may have to do this
11720         multiple times: Have an InsetERT with an unknown command in it.
11721         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11722         <down-arrow>, <Enter> again, View->DVI, BANG!
11724         * text2.C (setCursor):
11725         (deleteEmptyParagraphMechanism):
11726         * lyxtext.h (setCursor):
11727         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11728         Making use of the return value may help fix other bugs.
11730 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11734         * LyXView.C (updateMenubar): call MenuBar::update here
11735         (updateToolbar): but not here
11736         (showState): do not update toolbar/menubar
11738         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11739         should need to care about that.
11741         * lyxfunc.C (verboseDispatch): simplify a bit
11742         (getStatus): have a version which takes a pseudoaction, and
11743         another which requires a (kb_action,string).
11745         * LyXAction.C (retrieveActionArg): make it work also when action
11746         is not a pseudo-action.
11747         (getActionName): simplify a bit
11748         (helpText):
11750 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752         * lyxfunc.C (verboseDispatch): new families of methods with
11753         several ways to specify a command and a bool to indicate whether
11754         the command name and shortcut should be displayed in minibuffer
11755         (eventually, we could extend that to a finer bitmask like
11756         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11757         (dispatch): the pristine dispatch command which just, well,
11758         dispatchs! Note it still sets its result to minibuffer; I'm not
11759         sure we want that.
11761         * lyxfunc.h: remove setHintMessage
11763         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11765 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767         * BufferView_pimpl.C (specialChar): delete new inset if we have
11768         not been able to insert it.
11770         * kbmap.C: revert to using int instead of kb_action, since all we
11771         are dealing with is pseudo-actions.
11773         * LyXAction.C (searchActionArg): change to return int instead of
11774         kb_action, since the result is a pseudoaction.
11776 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11778         * buffer.C (insertErtContents): Fix (partially) the font bug.
11780 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11782         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11783         as the other one is broken on my machine!
11785 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11787         * commandtags.h:
11788         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11790 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11792         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11793         reflect their actual use. Provide compatibility code for older lyxrc
11794         files.
11796         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11797         FL_NORMAL_STYLE.
11798         change names of popup font variables in line with the changes to lyxrc.C
11800 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802         * buffer.C (asciiParagraph): avoid outputing a word twice after
11803         an inset.
11805         * lyxrc.C (getDescription): document that document_path and
11806         template_path can be empty.
11808 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810         * LaTeXFeatures.C (getMacros):
11811         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11813         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11815         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11816         getPackages.
11817         (getPackages): rename feature "floats" to "float". Use an array to
11818         iterate over 'simple' features (i.e. just a \usepackage). Add
11819         handling of "amsmath" (renamed from "amsstyle").
11821 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11823         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11824         features list.
11826 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11828         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11829         FuncStaus::FuncStatus & FuncStaus::some_method().
11831 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11833         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11834         of the func_satus stuff. Edited and massaged in various ways by
11835         JMarc.
11837         * lyxfunc.C (getStatus): use FuncStatus
11839 2002-01-08  Juergen Vigna  <jug@sad.it>
11841         * text.C (nextBreakPoint): use function Inset::isChar().
11843         * paragraph.C (TeXOnePar): use function
11844         Inset::forceDefaultParagraphs.
11846         * buffer.C (latexParagraphs): use function
11847         Inset::forceDefaultParagraphs.
11849 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11851         * lyx_gui.C (init): set the style of the menu popups to
11852         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11854 2002-01-07  Juergen Vigna  <jug@sad.it>
11856         * text.C (setHeightOfRow): small fix
11857         (prepareToPrint): don't look at alignment if we don't have the place
11858         for doing it.
11860 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11862         * box.C: New file. Move the Box methods and functions out of box.h,
11863         following Lars' suggestion.
11865 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11867         * box.h: #include "support/LOstream.h", needed for inlined function.
11869         * lyxtextclass.C:
11870         * lyxtextclasslist.C: added some using std declarations.
11872 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11874         * box.h: make signed dimensions to allow insets wider than
11875           the screen (bug #162)
11877         * BufferView_pimpl.C: add some insetHit debug
11879 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11881         * vc-backend.C: add FIXME
11883 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11885         * lyxfunc.C (getStatus): enable code for showing math font status
11886         in toolbar/menu.
11888 2002-01-07  Juergen Vigna  <jug@sad.it>
11890         * text.C (nextBreakPoint): removed debug output not needed anymore.
11892 2002-01-06  Juergen Vigna  <jug@sad.it>
11894         * text.C (nextBreakPoint): fixed up this function we had this bug
11895         since ever but now hopefully we break row better.
11896         (insertChar): we have to check if an inset is the next char as it
11897         could now happen that a large inset is causing a break.
11899 2002-01-05  Juergen Vigna  <jug@sad.it>
11901         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11902         if it doesn't like to be drawed.
11904 2002-01-04  Juergen Vigna  <jug@sad.it>
11906         * BufferView2.C (lockInset): forgot to set a cursor.
11908         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11910 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11912         * FormMathsPanel.C:
11913         * FormMathsPanel.h
11914         * MathsSymbols.C:
11915         * form_maths_panel.C:
11916         * form_maths_panel.h:
11917         * form_maths_panel.fd: implemented sub- and super- buttons in math
11918         panel.
11920         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11921         (or ^ space) to be used as in TeX (req'd by André).
11923         * lyxfunc.C: Allow ^ and _ again to be used both as
11924         super/subscript (mathed) and as themselves (in text).
11926 2002-01-03  Allan Rae  <rae@lyx.org>
11928         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11929         "LyX" or the filename of the current buffer if it has one.  This is a
11930         modified form of John Levon's patch.
11932         * XFormsView.C (setWindowTitle): also set icon title.
11934         * LyXView.h (setWindowTitle): signature changed.
11935         * XFormsView.h (setWindowTitle): ditto.
11937 2002-01-02  Juergen Vigna  <jug@sad.it>
11939         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11941 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943         * screen.C (topCursorVisible): introduce a temp var for
11944         text->cursor.row(), handle the case where this row is null. (kindo
11945         hachish)
11947         * text2.C (setCursor): add a couple of asserts.
11949         * paragraph.h (inset_iterator): add -> operator
11951         * paragraph.[Ch] (autoDeleteInsets): remove member function
11953         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11954         cursor pos correctly and handle inset deletion by itself.
11955         (insertErrors): move iterator declaration out of for expression
11957         * lyxtextclass.C: add <algorithm>
11959         * Makefile.am: added the new files to sources, removed layout.C
11961         * layout.C: removed file
11963         * layout.h: remove LYX_DUMMY_LAYOUT
11965         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11966         layout.
11968         * lyxlayout.[Ch]:
11969         * lyxtextclass.[Ch]:
11970         * lyxtextclasslist.[Ch]: new files
11972         * include order changes to a lot of files, also changes because of
11973         the six new files.
11975 2001-12-27  Juergen Vigna  <jug@sad.it>
11977         * buffer.C (asciiParagraph): more fixes.
11979         * tabular.C (ascii): make ascii export support export of only the
11980         data separated by a column-delimiter.
11981         (ascii): better support for ascii export.
11983         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11985 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11987         * tabular_funcs.C: use a "using std::getline" instead of the
11988         previous fix from Angus (necessary for cxx + lyxstring)
11990 2001-12-24  Juergen Vigna  <jug@sad.it>
11992         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11994         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11995         problems. First check a minipage also if we have some ert-contents
11996         (not only on par->size(), second set the right depth of the paragraph
11997         on the relink to the root-paragraph-list!
11999         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12000         which then did not anymore update the main paragraphs on undo/redo!
12002 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12005         code. Support all font-changing funcs (even those which are not in
12006         menu currently). Support for reporting font settings in
12007         mathed (disabled until Andre provides a function on mathed's side).
12009         * func_status.h (toggle): small helper function to set toggle
12010         state on a flag.
12012 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12014         * tabular_funcs.C: getline -> std::getline
12016 2001-12-21  Juergen Vigna  <jug@sad.it>
12018         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12019         accessed and could be 0 (I couldn't generate this but it seems
12020         Michael could!).
12022 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12025         * tabular_funcs.h: here and include iosfwd
12027 2001-12-20  Juergen Vigna  <jug@sad.it>
12029         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12030         inside inset but undo_par was.
12032 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034         * Thesaurus.C: always include <config.h> in sources.
12036         * Painter.h:
12037         * lyxlookup.h:
12038         * box.h: do not include <config.h> in header files
12040         * text.C (paintLastRow): remove unused variable
12042         * text.C (transformChar):
12043         (insertChar):
12044         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12046         * Painter.C (text):
12047         * font.C (width): rewrite to use uppercase() instead of
12048         islower/toupper.
12050         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12052 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12054         * lyxfind.C: clean up of find failure position change
12056 2001-12-20  Juergen Vigna  <jug@sad.it>
12058         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12060         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12061         (TeXRow): added to LaTeX a single tabular row.
12062         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12063         (Latex): simplified and finally good LT-h/f support.
12064         (various_functions): just small adaptions for LT-h/f support.
12066         * tabular_funcs.[hC]: added and moved here all not classfunctions
12067         of LyXTabular.
12069 2001-12-19  Juergen Vigna  <jug@sad.it>
12071         * tabular.[Ch]: better support for longtabular options (not finished
12072         yet!)
12074 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076         * text.C (paintLastRow): use the label font instead of the font of
12077         the last character to compute the size of *_BOX. This makes more
12078         sense and avoids a crash with empty paragraphs.
12079         Use Painter::rectangle to draw EMPTY_BOX.
12081 2001-12-19  Juergen Vigna  <jug@sad.it>
12083         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12084         the paragraphs if the replaced paragraph is not the first one!
12085         Tried to delete not used paragraphs but does not work yet so for
12086         now it's inside #ifdef's and by default off!
12088 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12090         * MenuBackend.C: include "lyx_main.h" instead of declaring
12091         lastfiles (actually was declared as LastFiles* instead of a
12092         scoped_ptr).
12094 2001-12-17  Juergen Vigna  <jug@sad.it>
12096         * tabular.C (AppendColumn): applied John's fix
12098 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12100         * BufferView.h:
12101         * BufferView.C:
12102         * BufferView_pimpl.h:
12103         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12105         * Makefile.am:
12106         * box.h: new start of class for above
12108         * lyxfunc.C: ignore space-only minibuffer dispatches.
12109           Show the command name when it doesn't exist
12111         * minibuffer.C: don't add empty lines to the history
12113         * minibuffer.C: add a space on dropdown completion
12115 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12117         * text.C: fix line above/below drawing in insets
12119 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121         * lyxlength.C (LyXLength): Initialize private variables.
12123 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12126         when inserting error insets.
12128 2001-12-13  Juergen Vigna  <jug@sad.it>
12130         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12131         actually sometimes the before-paragraph.
12132         (setUndo): don't clear the redostack if we're not actually undoing!
12134 2001-12-06  Juergen Vigna  <jug@sad.it>
12136         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12137         and fixed redoing of main paragraph, so we can use it now ;)
12139         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12141 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12144         Juergen's request
12146 2001-12-13  André Pönitz <poenitz@gmx.net>
12148         * undostack.[Ch]:
12149         * undo_func.C: minor cleanup
12151 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12154         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12155         font in urw-fonts package which is marked as -urw-fontspecific and
12156         does not work (incidentally, changing the encoding in the
12157         fonts.dir of this package to -adobe-fontspecific fixes the
12158         problem).
12160         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12161         is a crash when undoing first paragraph (Juergen, please take a
12162         look). THis does not mean the undo fix is wrong, just that it
12163         uncovers problems.
12165         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12166         the (Paragraph*) version when needed instead of duplicating the
12167         code.
12169         * text.C (workWidth): use Inset::parOwner to find out where the
12170         inset has been inserted. This is a huge performance gain for large
12171         documents with lots of insets. If Inset::parOwner is not set, fall
12172         back on the brute force method
12174         * paragraph_pimpl.C (insertInset):
12175         * paragraph.C (Paragraph):
12176         (cutIntoMinibuffer): set parOwner of insets when
12177         inserting/removing them
12179         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12181 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12183         * commandtags.h:
12184         * LyXAction.C:
12185         * lyx_main.C:
12186         * lyxfunc.C:
12187         * mathed/formulabase.C:
12188         * mathed/math_cursor.[Ch]:
12189         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12192 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194         * lyxlength.[Ch] (operator!=): new function
12196 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198         * text.C (workWidth): use Inset::parOwner to find out where the
12199         inset has been inserted. This is a huge performance gain for large
12200         documents with lots of insets. If Inset::parOwner is not set, fall
12201         back on the brute force method
12203         * paragraph_pimpl.C (insertInset):
12204         * paragraph.C (Paragraph):
12205         (cutIntoMinibuffer): set parOwner of insets when
12206         inserting/removing them
12208         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12210 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212         * tabular-old.C (getTokenValue):
12213         * tabular.C (getTokenValue):
12214         (write_attribute): new versions for LyXLength
12215         (everywhere): adjust the use of widths
12217         * tabular.h: change the type of widths from string to LyXLength
12219 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12221         * paragraph.C: fixed missing line number count when exporting
12222         Environments to LaTeX file
12224         * buffer.C: added informational message for checking line numbers.
12226 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12229         paragraph, do the 'double space' part, but not the 'empty
12230         paragraph' one.
12232         * text.C (workWidth): small optimization
12233         (getLengthMarkerHeight): use minimal size for negative lengths.
12235 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12237         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12239         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12241 2001-12-11  André Pönitz <poenitz@gmx.net>
12243         * FontLoader.C:
12244         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12248         * text2.C: keep selection on a setFont()
12250 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12252         * lyx_cb.C: another bv->text misuse, from insert label
12254 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12256         * kbsequence.h:
12257         * kbsequence.C: re-instate nmodifier mask
12259 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12261         * lyx_main.h: make lyxGUI private.
12263 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12265         * lyxfind.C: place the cursor correctly on failed search
12267 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269         * text.C (getLengthMarkerHeight): for small heights, the arrows
12270         are not always on top/bottom of the text
12271         (drawLengthMarker): smaller arrows; take the left margin in
12272         account; draw also vfills.
12273         (paintFirstRow):
12274         (paintLastRow): remove special code for vfill and standard spaces,
12275         since everything is handled in drawLengthMarker now.
12277 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279         * buffer.C (insertErtContents): try to handle font and language
12280         interaction a bit better.g
12282         * ColorHandler.C (updateColor): change the hash to cover the whole
12283         LColor enum, ws cleanup
12284         (getGCLinepars): ditto
12285         (getGCLinepars): only lookup in the linecache once.
12287 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12289         * iterators.C (operator++): Make the iterator more robust
12291         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12292         (John's patch)
12293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12297         * lyxtext.h:
12298         * text.C: better added space drawing
12300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12302         * LyXView.C:
12303         * BufferView2.C: fix layout combo update on inset unlock
12305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12307         * Makefile.am: don't compile unused files
12309 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12311         * lyxfunc.C:
12312         * commandtags.h:
12313         * LyXAction.C: remove old LFUN_LAYOUTNO
12315 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12317         * paragraph_pimpl.h:
12318         * paragraph_pimpl.C: isTextAt() doesn't need font param
12320 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12322         * lyxlex.h:
12323         * lyxlex.C: little cleanup
12325 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12327         * BufferView_pimpl.C: fix insertAscii for insets
12329 2001-12-05  Juergen Vigna  <jug@sad.it>
12331         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12332         set the right font on the "multi" paragraph paste!
12334 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336         * trans_decl.h:
12337         * trans_mgr.[Ch]:
12338         * trans.[Ch]:
12339         * lyxgluelength.C:
12340         * lyxlength.C: remove out-commented code.
12342         * BufferView_pimpl:
12343         * CutAndPaste.C:
12344         * DepTable.C:
12345         * buffer.C:
12346         * chset.C:
12347         * lastfiles.C:
12348         * lyxlex.C:
12349         * lyxlex_pimpl.C:
12350         * lyxserver.C:
12351         * screen.C:
12352         * tabular-old.C:
12353         * tabular.C:
12354         * text.C:
12355         * trans_mgr.C:
12356         * vc-backend.C: change "while(" to "while ("
12358         * lyxlength.[Ch]: add zero function to check if length is zero or
12359         not
12360         * lyxgluelength.C: use it
12362 2001-12-05  Allan Rae  <rae@lyx.org>
12364         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12365         Works for 2.95.3, from what I understand of Garst's reports this should
12366         work for other g++ versions.  We're screwed if the abs(int) definition
12367         changed between bugfix releases of gcc.
12369 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12371         * text.C: fix chapter label offset !
12373 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12375         * lyxtext.h:
12376         * text.C: fix hfill at end of line, clean up
12378 2001-12-04  Juergen Vigna  <jug@sad.it>
12380         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12381         that we force an update of the inset and it's owners if neccessary.
12383 2001-12-03  Juergen Vigna  <jug@sad.it>
12385         * text.C (rowLast): simplified code
12387 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12389         * lyxfunc.C: fix show options on timeout
12391 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393         * screen.C (topCursorVisible): scroll half a page when the cursor
12394         reached top of bottom of screen
12396 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12398         * minibuffer.C: deactivate on loss of focus
12400 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402         * vspace.[Ch] (operator!=): add operator.
12404 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12406         * BufferView_pimpl.C: refuse to open an inset when
12407         there's a selection.
12409 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12411         * BufferView_pimpl.C: allow to click on RHS of full row insets
12413 2001-11-30  Juergen Vigna  <jug@sad.it>
12415         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12416         insets for undo reasons.
12418 2001-11-28  André Pönitz <poenitz@gmx.net>
12420         * vspace.[Ch]: cosmetical changes
12422 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12424         * LyXAction.h:
12425         * LyXAction.C:
12426         * lyxfunc.h:
12427         * lyxfunc.C:
12428         * kbmap.h:
12429         * kbmap.C:
12430         * lyxrc.C:
12431         * kbsequence.h:
12432         * kbsequence.C: part re-write of old kb code
12434         * Painter.C:
12435         * WorkArea.C: remove Lgb_bug_find_hack
12437 2001-11-30  José Matos <jamatos@fep.up.pt>
12439         * buffer.C (makeDocBookFile): add a comment to point a hack.
12440         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12441         Fixed a double write of labels.
12443 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12445         * LaTeX.C:
12446         * LaTeX.h Fixed bug in LaTeX class where it would not
12447         re-run latex if no depfiles were changed, but the .dvi was removed.
12449 2001-11-28  André Pönitz <poenitz@gmx.net>
12451         * all the files from the change on 2001/11/26:
12452         use lyx::layout_type instead of LyXTextClass::size_type
12453         use lyx::textclass_type instead of LyXTextClassList::size_type
12455 2001-11-29  Juergen Vigna  <jug@sad.it>
12457         * text.C: added support for paragraph::isFreeSpacing()
12459         * buffer.C: same as above
12461         * paragraph.h: inserted isFreeSpacing() function to enable
12462         FreeSpacing inside InsetERT.
12464         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12465         of the paragraph's in the cut/copy buffer to 0!
12467         * text2.C (removeRow): remove the assert as it can!
12469         * lyxtext.h: added helper function firstRow returning firstrow and
12470         made firstrow private again.
12472         * BufferView2.C (lockInset): don't relock if we're already locked!
12474         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12475         the only paragraph.
12476         (removeRow): added Assert::(firstrow)
12478         * debug.C: forgot to add INSETTEXT here.
12480 2001-11-28  Juergen Vigna  <jug@sad.it>
12482         * sp_spell.C (initialize): changed error text to more general
12483         spellchecker command use (not only ispell!)
12485         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12487         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12489 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12491         * vspace.C: initialise lyxgluelength on failure
12493 2001-11-28  Allan Rae  <rae@lyx.org>
12495         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12496         declaration & definition that looks like a function declaration.
12498 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500         * BufferView2.C (copy):
12501         (copyEnvironment): do not clear the selection when doing a copy.
12503         * text.C (paintFirstRow): compilation fix
12505 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12507         * tabular.C (Latex): correct line count when writing latex.
12509 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12511         * paragraph_pimpl.h:
12512         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12513           bug a bit
12515 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12517         * text.C:
12518         * LColor.h:
12519         * LColor.C: change vfillline->added_space
12521         * text.C: add markers and text for added space
12523         * vspace.C: fix comment
12525 2001-11-28  André Pönitz <poenitz@gmx.net>
12527         * paragraph.C: whitespace changes
12528         * all the other files from the change on 2001/11/26:
12529         change *::pos_type into lyx::pos_type
12531 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12533         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12534         language of the document when inserting error insets.
12536 2001-11-26  André Pönitz <poenitz@gmx.net>
12538         * BufferView_pimpl.[Ch]:
12539         *       CutAndPaste.C:
12540         * buffer.[Ch]:
12541         * lyxcursor.[Ch]:
12542         * lyxfind.C:
12543         * lyxfunc.C:
12544         * lyxrow.[Ch]:
12545         * paragraph.[Ch]:
12546         * paragraph_pimpl.[Ch]:
12547         * sp_spell.C:
12548         * text.C:
12549         * text2.C: reduce header dependencies, introduce type for positions
12551 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12553         * <various>: change to use Alert.h
12555 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12557         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12558         when encountering an unknown token.
12559         (readLyXformat2): Show an error message if there were unknown tokens.
12561 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12563         * BufferView2.C:
12564         * BufferView_pimpl.C:
12565         * buffer.C:
12566         * paragraph.h:
12567         * text.C:
12568         * text2.C: use par->isInset()
12570 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12572         * paragraph_pimpl.h:
12573         * paragraph_pimpl.C: cleanup
12575 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12577         * text2.C (removeRow):
12578         * text.C (setHeightOfRow): remove useless (and costly) call to
12579         getRow.
12581 2001-11-20  Allan Rae  <rae@lyx.org>
12583         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12584         Now need Inset*::checkInsertChar() to return true for appropriate
12585         cases so that the characters in the minibuffer will actually be
12586         inserted.
12588 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590         * text.C: change the order of the includes.
12591         (workWidth): initialize it at once.
12592         (workWidth): make maxw unsigned
12593         (setHeightOfRow): remove unused variable (inset)
12594         (selectSelectedWord): remove unused variable (inset)
12595         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12597 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12600         server is not running.
12601         (openConnection):
12602         (closeConnection): add debug info when server is disabled.
12604         * ColorHandler.C (getGCForeground): send debug message to GUI
12605         channel.
12607         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12609         * kbmap.C (bind): modify because return conventions of
12610         kb_sequence::parse have changed.
12612         * kbsequence.C (parse): only ignore spaces and not any stupid
12613         control character. This avoids tests like s[i] <= ' ', which are
12614         guaranteed to fail with 8bit characters and signed chars.
12615         Change return code to string::npos when there have been no error
12616         (0 was a bad idea when error is at first character)
12618 2001-11-14  José Matos  <jamatos@fep.up.pt>
12620         * buffer.h:
12621         * buffer.C (simpleDocBookOnePar): removed unused argument.
12623 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12626         insets which are part of a word. Paragraph::isLetter takes care of
12627         that now. Use Paragraph::isInset to identify insets.
12628         (selectSelectedWord): do not test for hyphenation break.
12630         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12631         that protected spaces are considered as spaces.
12633         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12634         Inset::isLetter.
12636 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12638         * lyxserver.h:
12639         * lyxserver.C: fix it. and small cleanup.
12641 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12643         * BufferView_pimpl.C: use inline helpers
12645         * LaTeXFeatures.h:
12646         * LaTeXFeatures.C: fix typos
12648         * Spacing.h:
12649         * Spacing.C: move spacing_string into class
12651         * ToolbarDefaults.C: move stuff into namespace anon
12653         * layout.h: update enum
12655         * lyxfunc.C: use better debug
12657         * minibuffer.h: fix typo
12659         * debug.h:
12660         * debug.C:
12661         * WorkArea.C: add and use Debug::WORKAREA
12663         * lyxtext.h:
12664         * text.C:
12665         * text2.C: code re-organisation, inline helpers
12667 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12669         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12670         std::vector.empty().
12672 2001-11-09  Allan Rae  <rae@lyx.org>
12674         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12675         '\n's after tables.  Tabular and ERT inset work now makes this no
12676         longer necessary.
12678 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12680         * minibuffer.h:
12681         * minibuffer.C: fix crash, improve drop-down completion
12683 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12685         * lyxserver.h:
12686         * lyxserver.C: invalidate fd's when doing endPipe()
12688 2001-11-08  José Matos  <jamatos@fep.up.pt>
12690         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12691         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12693         * paragraph.h:
12694         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12696 2001-11-07  José Matos  <jamatos@fep.up.pt>
12698         * buffer.h:
12699         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12700         const qualifier.
12702         * buffer.C (sgmlOpenTag):
12703         * buffer.C (sgmlCloseTag): removed debug info.
12705         * buffer.h (sgmlOpenTag):
12706         * buffer.h (sgmlCloseTag): made public.
12708 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710         * buffer.C (saveParamsAsDefaults):
12711         * lyx_cb.C (MenuLayoutSave): remove
12713         * LyXAction.C (init):
12714         * commandtags.h:
12715         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12717 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719         * buffer.C (setPaperStuff): removed from here...
12721         * bufferparams.C (setPaperStuff): ... and moved there.
12723 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12725         * minibuffer.h:
12726         * minibuffer.C:
12727         * XFormsView.C: add support for drop-down completion
12729 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12731         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12732         commands.
12734 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12737         disabled.
12739 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12741         * lyx_main.C: change ref to known bugs
12743 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12745         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12746         to work around older babel problems.
12748 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12750         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12752 2001-10-24  Juergen Vigna  <jug@sad.it>
12754         * tabular-old.C (ReadOld): below variable changes reflected.
12756         * tabular.[Ch]: added ltType struct for longtable header/footer
12757         defines and changed all instances where they are used. Added
12758         future support for double top/bottom rows.
12760 2001-10-24  José Matos  <jamatos@fep.up.pt>
12762         * buffer.h (docbookHandleCaption):
12763         * buffer.C (docbookHandleCaption): removed unused function.
12764         (makeDocBookFile): moved docbook supported version to v4.1.
12766 2001-10-24  José Matos  <jamatos@fep.up.pt>
12768         * tabular.h:
12769         * tabular.C (docbookRow): new function to export docbook code of a row.
12770         (DocBook): now honors the longtable flags.
12772 2001-10-23  José Matos  <jamatos@fep.up.pt>
12774         * LaTeXFeatures.h:
12775         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12776         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12778         * buffer.C (makeLinuxDocFile):
12779         (makeDocBookFile): reworked the preamble, more clean, and with
12780         support for lyx defined entities. Changed the document declaration
12781         to be more XML friendly.
12783         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12784         if we need to output XML that should be done with a filter.
12786 2001-10-22  Juergen Vigna  <jug@sad.it>
12788         * sp_pspell.h (class PSpell): add alive function needed in the
12789         controller to see if the spellchecker could be started.
12791 2001-10-22  Juergen Vigna  <jug@sad.it>
12793         * buffer.C (insertStringAsLines): modify the font for inserting
12794         chars in certain conditions by calling checkInsertChar(font).
12796 2001-10-19  Juergen Vigna  <jug@sad.it>
12798         * text.C (workWidth): use getRow instead of wrong algorithm.
12799         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12801 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12803         * lyxserver.h:
12804         * lyxserver.C:
12805         * lyx_main.h:
12806         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12808 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810         * text.C (workWidth): do not search for the exact row when
12811         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12812         optimization for big documents.
12814 2001-10-18  Juergen Vigna  <jug@sad.it>
12816         * text.C (workWidth): new function with added Inset * parameter.
12818 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12822         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12823         change return type of getColumnNearX.
12826         * text.C (changeRegionCase): use uppercase/lowercase instead of
12827         toupper/tolower.
12828         (leftMargin):
12829         (rightMargin): simplify code by factoring out the uses of
12830         textclasslist.
12831         (labelFill):
12832         (numberOfHfills):
12833         (setHeightOfRow):
12834         (appendParagraph): use Paragraph::size_type
12836 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838         * vspace.C (asLatexString): add a missing break
12840 2001-10-15  Herbert Voss  <voss@perce.de>
12842         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12844 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12846         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12847         is not available.
12849 2001-10-10  André Pönitz <poenitz@gmx.net>
12851         * lyxfunc.C: removed greek_kb_flag.
12853 2001-10-10  Herbert Voss  <voss@perce.de>
12855         * lyx_main.C: delete global string help_lyxdir.
12857 2001-10-09  Herbert Voss  <voss@perce.de>
12859         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12861         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12863         * lyx_main.C: added global string help_lyxdir.
12865         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12867 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12869         * lyxrc.C (set_font_norm_type): support iso8859-4
12871 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12873         * LaTeX.C (deplog): add another regex for MikTeX
12875 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12877         * lyxrc.C (set_font_norm_type): support iso8859-3
12879 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12881         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12883         * LaTeXFeatures.C: remove special case of french and index
12885         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12886         before \begin{document}). This solves several incompatibilities.
12888 2001-10-03  Garst Reese  <reese@isn.net>
12890         * lyx_cb.C: change CheckTex error msg.
12892 2001-10-03  José Matos  <jamatos@fep.up.pt>
12894         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12896 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898         * .cvsignore: update
12900         * lyx_main.C (commandLineVersionInfo): use new style version info.
12902         * buffer.C (writeFile):
12903         (makeLaTeXFile):
12904         (makeLinuxDocFile):
12905         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12907         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12909         * version.h: update to use stuff in version.C
12911         * version.C.in: new file. Contains version information determined
12912         at compile time. This is a merging of version.h and
12913         version_info.h.in.
12915 2001-10-03  Juergen Vigna  <jug@sad.it>
12917         * BufferView_pimpl.C (update): don't change "dirty" status in
12918         updateInset call.
12920 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12922         * WorkArea.C (c-tor): re-position version string slightly.
12924 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12926         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12927         revert to previous code.
12929         WorkArea.[Ch]: (show, destroySplash): methods removed.
12931         WorkArea.C: rework code so that it's an amalgam of the codes before and
12932         after the splash screen was moved to WorkArea.
12934 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12936         * lyxrc.C (read):
12937         * vspace.C (inPixels):
12938         (lyx_advance):
12939         * kbmap.C (bind):
12940         * buffer.C (insertStringAsLines):
12941         (asciiParagraph): fix types to be large enough
12943         * lyxlex_pimpl.h: change member status from short to int
12945         * layout.h: fix type of endlabeltype
12947         * kbmap.C (bind):
12948         * kbsequence.C (parse): change return type to string::size_type
12950         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12951         variable
12953         * Bullet.C (bulletSize):
12954         (bulletEntry): do not use short ints as parameters
12956         * BufferView2.C (insertLyXFile): change a char to an int.
12958         * WorkArea.C (WorkArea): remove unneeded floats in computation
12960 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12962         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12964         * paragraph.C (asString): Do not ignore newline/hfill chars when
12965         copying to the clipboard.
12967 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12969         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12970         after a multi-line inset.
12972 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12974         * paragraph.C (validate): Set NeedLyXFootnoteCode
12976 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12978         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12979         and decrease-error to decrease.
12981 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12984         it more readable (should be equivalent)
12986 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12988         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12990 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12993         of a cursor (row, etc.) after a character has been deleted
12994         (deleteEmptyParagraphMechanism): call the method above on _all_
12995         cursors held by the LyXText when a double space has been
12996         detected/deleted.
12998 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13000         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13001         pixmap.
13002         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13004         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13005         background. Use greyOut() and the new show() methods to toggle between
13006         the foreground and background. Add code to remove the splash after
13007         its initial showing.
13009         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13010         (create_forms): no longer call Dialogs::showSplash.
13012 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13014         * .cvsignore: add version_info.h
13016 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018         * version_info.h.in: new file
13020         * Makefile.am: add version_info.h.in
13022         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13023         version_info.h instead of VERSION_INFO
13025 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13027         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13028         The ERT inset now returns string().
13030 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13032         * lyxtext.h, text.C (selectNextWord): renamed as
13033         selectNextWordToSpellcheck.
13035         * text.C (selectNextWordToSpellcheck): Modified to not select
13036         words inside an ERT inset.
13038 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040         * lyx_cb.C (MenuLayoutSave): change a bit the question
13042         * sp_base.h: include <sys/types.h>
13044 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13046         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13048 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13050         * several files: fix typos in user-visible strings
13052 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054         * text2.C (pasteSelection): do not set the selection, since it
13055         will be cleared later. Actually, the intent was to fix the way the
13056         selection was set, but I figured rmoving the code was just as good.
13058 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13060         * FontLoader.C (available): Check if font is available without
13061         loading the font.
13063 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13065         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13067 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13069         * lyxrc.[Ch]: added display_graphics variable and associated code.
13071 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13073         * bufferparams.C (hasClassDefaults): new method. Returns true if
13074         the buffer parameters correspond to known class defaults
13076 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13078         * XFormsView.C (show): set minimum size to the main window.
13080 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082         * text2.C (copySelection):
13083         (cutSelection):
13084         * lyxfind.C (LyXReplace):
13085         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13086         LyXText::selectionAsString.
13088         * paragraph.C (asString): add "label" argument to the second form
13090         * text2.C (selectionAsString): add "label" argument and pass it to
13091         Paragraph::asString.
13093 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13095         * lyx_main.C (commandLineHelp): remove version information
13097 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13099         * lyx_main.C: add -version commandline option
13101 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103         * paragraph.h: make the optional constructor arg required instead.
13104         some modifications to other files because of this.
13106         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13108         * lyxserver.C (C_LyXComm_callback): make it static
13110         * lyx_main.C (error_handler): make it static
13112         * lyx_gui.C (LyX_XErrHandler): make it static
13114         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13116         * WorkArea.C: make the extern "C" methods static.
13118         * Makefile.am (lyx_LDADD): simplify
13120 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13122         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13123         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13125         * LyXAction.C (init):
13126         * lyxfunc.C (dispatch): associated code removal.
13128 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13130         * lyxfont.h (isSymbolFont): shut off warning
13132         * text.C (setHeightOfRow):
13133         (getVisibleRow): fix crash with empty paragraphs which have a
13134         bottom line
13136 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13138         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13139         code.
13141 2001-09-04  José Matos  <jamatos@fep.up.pt>
13142         * buffer.C
13143         * buffer.h
13144         * tabular.C (docbook): rename docBook method to docbook.
13146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13148         * Makefile.am: add dependencies to main.o.
13150 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13152         * FontLoader.C (available): Return false if !lyxrc.use_gui
13154 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13156         * FontInfo.C (query):
13157         * converter.C (view):
13158         * importer.C (Import):
13159         * exporter.C (Export): Can not -> cannot.
13161 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13163         * BufferView_pimpl.C: allow to create index inset even if
13164           string is empty
13166 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13168         * buffer.C (getLists): replace boost::tie code with an explicit pair
13169         as boost::tie can break some compilers.
13171         * iterators.h: Added a std:: declaration to the return type of
13172         ParIterator::size.
13174 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13176         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13177           case.
13179 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13181         * iterators.[Ch]: New files. Provide paragraph iterators.
13183         * buffer.C (changeLanguage): Use paragraph iterators.
13184         (isMultiLingual): ditto
13186         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13188 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13190         * FontLoader.C: Support for cmr font.
13192 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13194         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13195         (available): New method.
13197         * FontInfo.C (getFontname): Use scalable fonts even when
13198         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13199         found.
13201 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13203         * converter.C (Formats::view): reverted! Incorrect fix.
13205 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13207         * converter.C (Formats::view): only output the -paper option
13208         if the dvi viewer is xdvi, thereby fixing bug #233429.
13210 2001-08-23  Herbert Voss  <voss@perce>
13212         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13214 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13216         * Spacing.h (Spacing): Set space to Default on in the default
13217         constructor.
13219 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221         * vc-backend.h (RCS::versionString): add RCS to version
13222         (CVS::versionString): add CVS to version
13224         * vc-backend.C (scanMaster): do not add CVS to version.
13225         (scanMaster): do not add RCS to version
13227         * lyxvc.C (versionString): new method
13229         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13231 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233         * Spacing.C (set): initialize fval
13235 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13237         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13238         " or \.
13240 2001-08-16  Juergen Vigna  <jug@sad.it>
13242         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13244 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13246         * BufferView_pimpl.C:
13247         * figureForm.C:
13248         * lyxtext.h:
13249         * text2.C: setParagraph takes linespacing now
13251 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13253         * LyxAction.C: add internal LFUN_CITATION_INSERT
13255         * LyXView.C: actually apply fix
13257         * bufferlist.C: fix open non-existent file
13259         * lyxfind.C: fix indentation
13261         * lyxfunc.C: remove unneeded assert, fix typo
13263 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13265         * MenuBackend.C: use "Floatname List"
13267 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13269         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13270         when converting LaTeX layout to insetERT.
13271         Generate a non-collapsed float when reading old float
13273 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13275         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13276         ERT insets.
13278 2001-08-13  Juergen Vigna  <jug@sad.it>
13280         * text.C (fill): return 0 instead of 20 as this seems to be the more
13281         correct value.
13283 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13285         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13286         lyxrc.font_norm.
13288 2001-08-13  Juergen Vigna  <jug@sad.it>
13290         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13291         casesensitive off.
13292         (SearchBackward): comment out the unlocking of the inset_owner this
13293         should not be needed!
13295 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13297         * Many files: Remove inherit_language, and add latex_language
13299         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13300         collapsible insets.
13302 2001-08-10  Juergen Vigna  <jug@sad.it>
13304         * text.C (prepareToPrint): fixed hfill-width in draw!
13306         * BufferView2.C (selectLastWord): save the selection cursor as this
13307         now is cleared in the function LyXText::clearSelection!
13309 2001-08-08  Juergen Vigna  <jug@sad.it>
13311         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13312         BACKSPACE type functions.
13314         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13315         is only cutted from the document but not put in the cut-buffer, where
13316         still the old stuff should be.
13318         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13320         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13322         * tabular.C (SetWidthOfCell): fixed special case where the width
13323         was not updated!
13324         (LeftLine): handle '|' in align_special.
13325         (RightLine): ditto
13326         (LeftAlreadyDrawed): ditto
13327         (SetWidthOfCell): ditto
13329 2001-08-07  Juergen Vigna  <jug@sad.it>
13331         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13333 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13336         * lyxlex.[hC]: ditto
13338 2001-08-06  Juergen Vigna  <jug@sad.it>
13340         * text.C (getVisibleRow): fix up row clearing a bit.
13342 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344         * minibuffer.C: make sure the X server sees the changes in the input.
13346 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348         * paragraph.C (getFont): split into...
13349         (getLabelFont): this
13350         (getLayoutFont): and this
13351         * paragraph_pimpl.C (realizeFont): calling this
13353         * text2.C (getFont): split into...
13354         (getLayoutFont): this
13355         (getLabelFont): and this
13356         (realizeFont): all three calling this
13358         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13359         files where used.
13361 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13363         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13365 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13367         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13368         layouts from the Quote inset insertion.
13370 2001-08-03  Juergen Vigna  <jug@sad.it>
13372         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13374         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13375         only if status not is already CHANGED_IN_DRAW (second level).
13377         * text.C (draw): don't set the need_break_row when inside an
13378         InsetText LyXText.
13380 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382         * buffer.C (parseSingleLyXformat2Token): handle more latex
13383         conversion cases.
13385         * bufferview_funcs.[hC]: change function names to
13386         begin with small char, adjust other files.
13388 2001-08-02  André Pönitz <poenitz@gmx.net>
13390         * lyxfunc.C:
13391         BufferView_pimpl.C: remove broken special code for math-greek
13393 2001-08-02  Juergen Vigna  <jug@sad.it>
13395         * BufferView_pimpl.C (update): redone this function so that we
13396         update the text again if there was a CHANGE_IN_DRAW.
13398         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13399         (drawFromTo): added a new internal bool which is used by draw() and
13400         redraw() function.
13401         (general): some cursor drawing problems fixed.
13403 2001-08-01  Juergen Vigna  <jug@sad.it>
13405         * lyxfind.C (LyXFind): fixed
13406         (SearchForward): ditto
13407         (SearchBackward): ditto
13409         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13410         spurius drawing of the cursor in the main area.
13412         * text2.C (status): small fix which could lead to a segfault!
13413         (clearSelection): remove unneeded BufferView param.
13415 2001-08-01  André Pönitz <poenitz@gmx.net>
13417         * lyxfunc.C: small change due to changed mathed interface
13419 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13423 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13425         * lyxfunc.c: fail gracefully if file doesn't exist
13427         * LyXSendto.C:
13428         * buffer.C:
13429         * lyxfunc.C:
13430         * BufferView_pimpl.C: IsDirWriteable() proto changed
13432         * LyXView.C: fix updateWindowTitle() to store the last title
13434 2001-07-31  Juergen Vigna  <jug@sad.it>
13436         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13437         the font (wrong since using of Paragraph::highestFontInRange).
13439         * paragraph.C (highestFontInRange): added a default_size parameter.
13441         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13442         (setHeightOfRow): reformat
13444 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446         * converter.[hC] + affected files: move to (inital-char)lowercase
13447         function names.
13449         * ParagraphParameters.C (ParagraphParameters): remove commented code
13451         * PainterBase.[Ch]: remove commented code
13453         * LaTeXFeatures.h: add "bool floats" for float.sty
13455         * LaTeXFeatures.C (LaTeXFeatures): init floats
13456         (require): handle float
13457         (getPackages): do it with floats
13459 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461         * BufferView_pimpl.C (Dispatch): improve handling of
13462         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13464         * commandtags.h: #include lyxfont.h here temporarily to avoid
13465         keybinding bug.
13467         * bufferlist.h: include LString.h here.
13469 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471         * text2.C (getStringToIndex): new method.
13473 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13475         * *: Reduced header file dependencies all over.
13477 2001-07-30  Baruch Even  <baruch@lyx.org>
13479         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13481 2001-07-29  Baruch Even  <baruch@lyx.org>
13483         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13485 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487         * ParameterStruct.h (endif): add a default constructor to make
13488         sure that all variables is initialized.
13490         * ParagraphParameters.C (ParagraphParameters): adjust
13492 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13495         index; also, check that there is something to index, and that it
13496         does not span over several paragraphs.
13497         (doubleClick): use WHOLE_WORD_STRICT for double click.
13499         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13501         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13502         scheme.
13504 2001-07-26  Baruch Even  <baruch@lyx.org>
13506         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13507         an InsetFig figure, backwards compatible reading of old figure code.
13509 2001-07-27  Juergen Vigna  <jug@sad.it>
13511         * text2.C: font.realize function adaption.
13513         * text.C (draw): add a warnings lyxerr text if needed.
13515         * layout.C: font.realize function adaption.
13517         * language.C: add inherit_language and implement it's handlings
13519         * bufferview_funcs.C (StyleReset): remove language parameter from
13520         font creation (should be language_inherit now).
13522         * bufferparams.C (writeFile): handle ignore_language.
13524         * paragraph.C (getFontSettings): the language has to be resolved
13525         otherwise we have problems in LyXFont!
13527         * lyxfont.C (lyxWriteChanges): added document_language parameter
13528         (update): removed unneeded language parameter
13530         * paragraph.C (validate): fixed wrong output of color-package when
13531         using interface colors for certain fonts in certain environments,
13532         which should not seen as that on the final output.
13534 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13536         * BufferView_pimpl.C:
13537         * Thesaurus.h:
13538         * Thesaurus.C:
13539         * Makefile.am:
13540         * commandtags.h:
13541         * LyXAction.C: add thesaurus support
13543         * lyxfind.h:
13544         * lyxfind.C: add "once" parameter, for thesaurus, to not
13545           move to the next match
13547 2001-07-26  Juergen Vigna  <jug@sad.it>
13549         * lyxfont.C (realize): honor ignore_language too!
13550         (resolved): ditto.
13552         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13554         * text.C (draw): one place more for ignore_language to not draw
13555         itself!
13557 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13559         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13561 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13564         the minipage conversion problem.
13566 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13569         insert an inset.
13571 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573         * BufferView.h: don't forward declare WorkArea
13575         * BufferView.C: don't include WorkArea.h
13577 2001-07-25  André Pönitz <poenitz@gmx.net>
13579         * commandtags.h:
13580         * LyXAction.C:
13581         * lyxfunc.C:  new LFUN 'math-space'
13583         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13585 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587         * text2.C (toggleInset): call open/close
13589 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591         * lyxfunc.C (dispatch): add debug for the disabled case
13593         * font.C (buttonText): make similar to rectText
13595         * buffer.C (readInset): comment out parsing of insetlist and
13596         insttheorem
13598         * PainterBase.C (rectText): small correction
13600         * BufferView_pimpl.C: comment out insettheorem and insetlist
13601         * LyXAction.C: ditto
13602         * commandtags.h: ditto
13604 2001-07-24  Juergen Vigna  <jug@sad.it>
13606         * text.C (draw): honor the ignore_language.
13608         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13610 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13613         char inset.
13615 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13617         * lyxtext.h: remove unused (and unimplemented) methods
13619 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13621         * text.C (getVisibleRow): honor background color
13623         * PainterBase.h:
13624         * Painter.h: remove default color argument for fillRectangle
13626         * text.C (backgroundColor): new method
13628 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630         * text.C (getVisibleRow): adjust
13632         * font.[Ch] (rectText): new method, metrics
13633         (buttonText): new method, metrics
13635         * PainterBase.[hC]: make rectText and buttonText always draw and take
13636         fewer paramteres.
13638 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13640         * ToolbarDefaults.C (read):
13641         * MenuBackend.C (read): allow escaping in all strings
13643         * BufferView_pimpl.C (insertAndEditInset): new method.
13644         (Dispatch): use insertAndEditInset whenever appropriate.
13646         * BufferView_pimpl.C (insertNote): removed
13648         * BufferView_pimpl.C (smartQuote): new method, moved from
13649         BufferView; if an insetquote cannot be inserted, insert a '"'
13650         character instead.
13652         * BufferView2.C: remove insertCorrectQuote();
13654         * lyxfunc.C (getStatus): Add support for all remaingin
13655         inset-insert lfuns.
13657         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13659         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13660         command (necessary to pass " as parameter of self-insert.
13662         * text.C (selectWordWhenUnderCursor):
13663         (selectWord): add word_location parameter
13664         (selectWordWhenUnderCursor): same + remove special code for word
13665         boundary.
13666         (selectNextWord): use kind() to guess type of insetspecialchar,
13667         not latex().
13669         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13670         (insertErtContents): create ert insets as collapsed.
13671         (readInset): better compatibility code for Info inset.
13673 2001-07-20  Juergen Vigna  <jug@sad.it>
13675         * lyxfunc.C (dispatch): use always LyXFind now!
13677         * text2.C (init): add a reinit flag so that the LyXText can be
13678         reinited instead of deleted and reallocated (used in InsetText).
13680         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13682         * text.C: ditto
13684         * text2.C: ditto
13686 2001-07-18  Juergen Vigna  <jug@sad.it>
13688         * text.C (selectNextWord): handle insets inside inset by calling
13689         always the bv->text functions so that we can go up the_locking_inset!
13691         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13692         in strange locations when inside an inset!
13694         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13695         handling to include insets.
13697         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13699 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701         * LyXAction.C (init):
13702         * commandtags.h:
13703         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13704         LIGATURE_BREAK, since the name is so stupid.
13706 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13708         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13709         InsetInfos.
13711         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13713         * sp_form.[Ch]: remove.
13715         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13717         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13718         InsetInfo.
13720         * src/buffer.C (readInset): ditto.
13722 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13724         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13725         menuSeparator(), endOfSentenceDot(), ldots() and
13726         hyphenationPoint(), which are therefore removed.
13727         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13729         * LyXAction.C (init):
13730         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13732         * paragraph.C (getWord): removed.
13734         * BufferView_pimpl.C (Dispatch): use last word or selection for
13735         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13737         * lyx_main.C (queryUserLyXDir): do not ask before creating
13738         user_dir, except if it has been named explicitely.
13740 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13742         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13743         a document of zero size.
13745 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13747         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13748         approriately in the c-tor and in require().
13749         (getPackages): output the appropriate LaTeX for natbib support.
13751         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13752         variables "use_natbib" and "use_numerical_citations" when reading the
13753         LyX file.
13754         (readInset): read the various natbib cite commands.
13755         (validate): white-space change.
13757         * bufferparams.[Ch]: new variables "bool use_natbib" and
13758         "bool use_numerical_citations".
13759         (writeFile): output them in the LyX file.
13761 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13763         * lyxfunc.C (getStatus): add support for all the inset insertion
13764         commands.
13766         * text2.C (insertInset):
13767         * paragraph.C (insetAllowed):
13768         * BufferView_pimpl.C (insertInset): update to take in account the
13769         renaming of insertInsetAllowed
13771         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13773         * text2.C (getInset): new method. returns inset at cursor position.
13775         * BufferView_pimpl.C (Dispatch): changes because of this.
13777         * LyXAction.C (init): rename open-stuff to inset-toggle.
13779         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13781         * text2.C (toggleInset): renamed from openStuff; use
13782         Inset::open().
13784 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13786         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13788         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13790 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13792         * buffer.C (readLyXformat2): Add filename to the error dialog
13794 2001-07-18  Juergen Vigna  <jug@sad.it>
13796         * tabular.C (GetCellNumber): put an assert here instead of the check!
13798 2001-07-17  Juergen Vigna  <jug@sad.it>
13800         * BufferView_pimpl.C (toggleSelection): adapted too.
13802         * text.C (selectNextWord): adapted for use with insets.
13803         (selectSelectedWord): ditto
13805 2001-07-17  Juergen Vigna  <jug@sad.it>
13807         * sp_spell.C (PSpell): fix initialitation order.
13809 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811         * paragraph.C: spacing
13813 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13815         * sp_spell.C: repair language selection for pspell
13817 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819         * lyxfunc.h: change more methods to begin with lower char.
13821 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13823         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13824         for unknown layouts.
13826 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13828         * buffer.C (readLyXformat2): Generate an error dialog if there are
13829         unknown layouts.
13831 2001-07-16  Juergen Vigna  <jug@sad.it>
13833         * sp_spell.C: always compile ISpell part.
13835         * lyxrc.C: added use_pspell entry and it's handling.
13837 2001-07-13  Juergen Vigna  <jug@sad.it>
13839         * sp_spell.C: removed double includes.
13841 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13843         Consistent use of Lsstream.h:
13844         * Lsstream.h: added using std::stringstream for consistencies sake.
13846         * buffer.C: removed using std::stringstream
13848         * lyxfont.C (stateText):
13849         * paragraph.C (asString):
13850         * text.C (selectNextWord, selectSelectedWord):
13851         * text2.C (setCounter):
13852         * vspace.C (asString, asLatexString):
13853         std::ostringstream -> ostringstream.
13855 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13857         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13858         * commandtags.h: add LFUN_HELP_ABOUTLYX
13859         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13861 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13863         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13864         cursorToggle()
13865         * lyx_gui_misc.C: remove spellchecker
13866         * lyxfunc.C: showSpellchecker
13867         * sp_base.h: added
13868         * sp_ispell.h: added
13869         * sp_pspell.h: added
13870         * sp_spell.C: added
13871         * sp_form.[Ch]: removed
13872         * spellchecker.[Ch]: removed
13874 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13876         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13877         is set.
13878         (simpleTeXSpecialChars): Simply print the input character without
13879         any special translation if pass_thru is set.
13881         * layout.h: Added bool pass_thru to layout class for being able to
13882         implement pass through of a paragraph for Literate Programming.
13884         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13885         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13886         * layout.C (Read): add "passthru" to list of layout tags and add
13887         code to set the pass_thru boolean when it is read.
13889 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13891         * trans_decl.h: remove allowed from KmodInfo
13893         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13894         remove allowed code
13895         (Load): adjust
13897         * paragraph_pimpl.C (erase): use boost::prior
13899         * Painter.C (text): use data() instead of c_str() when length is
13900         also provided.
13901         * WorkArea.C (putClipboard): ditto
13902         * font.h (width): ditto
13904         * BufferView2.C: use it-> instead of (*it). for iterators
13905         * texrow.C: ditto
13906         * paragraph_pimpl.C: ditto
13907         * paragraph.C: ditto
13908         * minibuffer.C: ditto
13909         * language.C: ditto
13910         * kbmap.C: ditto
13911         * encoding.C: ditto
13912         * counters.C: ditto
13913         * converter.C: ditto
13914         * chset.C: ditto
13915         * Variables.C: ditto
13916         * TextCache.C: ditto
13917         * MenuBackend.C: ditto
13918         * LyXAction.C: ditto
13919         * LColor.C: ditto
13920         * FloatList.C: ditto
13921         * DepTable.C: ditto
13922         * ColorHandler.C (LyXColorHandler): ditto
13924 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13928         * text2.C (openStuff): reintroduce this method (which had been
13929         nuked in NEW_INSETS frenzy).
13931         * lyxfunc.C (Dispatch): when an action has not been handled, use
13932         its name in the error message, not its number.
13934         * paragraph.C (inInset): change method name to begin with lowercase.
13936         * undo_funcs.C:
13937         * text2.C: updates because of this.
13939 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941         * ToolbarDefaults.C (add): add spaces in error message
13943 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13946         (readLyXformat2): rename return_par to first_par, use lyxlex's
13947         pushToken and remove the manual push handling.
13948         (parseSingleLyXformat2Token): add another ert comp. variable:
13949         in_tabular, rename return_par to first_par. handle newlines better
13951 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13955 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957         * text2.C (getParFromID): removed
13959         * buffer.C (getParFromID): new method moved form lyxtext.
13960         * BufferView2.C (insertErrors): adjust
13961         (setCursorFromRow): adjust
13962         * BufferView_pimpl.C (restorePosition): adjust
13963         * lyxfunc.C (Dispatch): adjust
13964         * undo_funcs.C (textUndo): adjust
13965         (textRedo): adjust
13966         (textHandleUndo): adjust
13967         (textHandleUndo): adjust
13969 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13971         * buffer.C: up' the LYX_FORMAT
13973         * lyxfont.h: turn NO_LATEX on as default
13975         * buffer.C (insertErtContents): new methods of tex style compability.
13976         (parseSingleLyXformat2Token): use it several places.
13977         * tabular.C (OldFormatRead): and here
13979 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13981         * text2.C: remove some commented code.
13982         reindent file.
13984         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13985         * trans.C: changes because of the above.
13987 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13989         * text2.C (setCounter): Fix counters bug with bibliography layout.
13991 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13994         own member functions
13995         (simpleTeXSpecialChars): ditto
13997 2001-07-06  Juergen Vigna  <jug@sad.it>
13999         * a lot of files: changed the access to LyXText::status and the
14000         call of undo-functions.
14002         * undo.[Ch]: added a inset_id to the undo informations.
14004         * undo_funcs.[Ch]: added and moved here all undo functions.
14006         * lyxtext.h: give the status enum a weight, made status_ a private
14007         variable and made accessor functions for it, removed the whole bunch
14008         of undo-functions as they are now in their own file, make some
14009         functions publically available. Added function ownerParagraph with
14010         int parameter.
14012         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14013         made InInset() a const function, added getParFromID() function.
14015         * buffer.[Ch]: added const version for inset_iterator functions,
14016         added getInsetFromID() function.
14018         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14019         changed undo functions for new version.
14021 2001-07-05  Juergen Vigna  <jug@sad.it>
14023         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14024         unknow mechanism does not call the proper constructor but only this
14025         one also if I request the other!?
14027 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14031         * text2.C (LyXText): use initialization lists.
14033         * lyxtext.h (Selection): initialize set_ and mark_
14034         (init): remove method
14036 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14038         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14040 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14042         * screen.[Ch]: change method names to begin with lowercase
14044         * BufferView_pimpl.C (updateScrollbar): simplify further and
14045         hopefully make it a bit faster.
14047 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14049         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14050         calling directly xforms functions.
14052         * Painter.C (Painter):
14053         * lyx_cb.C (MenuWrite):
14054         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14055         fl_display.
14057         * lyx_gui.C: remove bogus guiruntime extern declaration.
14059 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14061         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14062         in NEW_INSETS
14063         (redoDrawingOfParagraph): ditto
14064         (redoParagraphs): ditto
14065         (cutSelection): don't create a object for CutAndPaste use the
14066         static method directly
14067         (pasteSelection): ditto
14069         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14070         LyXview (+ rename)
14072 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074         * modifications to some other files because of this.
14076         * Makefile.am (lyx_SOURCES): add XFormsView
14078         * XFormsView.[Ch]: new files
14080         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14081         the main window. Move the gui dependent stuff to XFormsView
14083 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085         * tabular.C (GetCellInset): update cur_cell also in the row/col
14086         version of this function.
14088         * lyxfunc.C: no need to include figure_form.h here.
14090         * FontLoader.h:
14091         * lyxfunc.h:
14092         * lyxscreen.h:
14093         * text2.C:
14094         * lyxvc.C: no need to include forms.h here.
14096 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14098         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14100         * lyxfunc.C (Dispatch):
14101         * Spacing.C (set):
14102         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14103         constructor argument.
14105 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107         * paragraph.C (Paragraph): dont't clear, and just set layout.
14108         (makeSameLayout): use params's copy contructor.
14110         * ParagraphParameters.[Ch] (makeSame): delete method
14112 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14114         * Variables.[Ch]: fix indentation, rename set to isSet
14116 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14118         * lyxfunc.C (Dispatch): fix typo
14120 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14123         upper_bound.
14125         * bufferlist.C: include assert.h for emergencyWrite().
14127 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14129         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14130           give up at last (bug #425202) !
14132 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14134         * lyx_gui_misc.C:
14135         * sp_form.h:
14136         * sp_form.C:
14137         * spellchecker.h:
14138         * spellchecker.C: strip spellchecker options and bring up
14139           preferences tab instead
14141 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14144         the istringstream constructor
14146 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148         * paragraph.C (getLayout): fix return value
14150         * paragraph.h: do not declare getLayout as inline.
14152         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14154 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156         * lyxcursor.h (operator<): new func
14157         (operator>): new func
14158         (operator>=): new func
14159         (operator<=): new func
14161         * text.C (changeCase): use selection.start and selection.end
14162         (changeRegionCase): require from to be <= to. Require par to be a
14163         valid paragraph.
14165         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14167 2001-06-27  Juergen Vigna  <jug@sad.it>
14169         * text.C (cursorLeftOneWord): changed to return the cursor and added
14170         overlay with BufferView * parameter which calls this one.
14171         (getWord): added
14172         (selectWord): use new getWord function.
14173         (changeCase): renamed from changeWordCase as and extended to work
14174         also on selections.
14176         * lyxtext.h: added enum word_location
14178         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14179         changeCase as this operates now also on selections.
14181 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14183         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14185         * many files: send debug output to Debug::INFO instead of
14186         Debug::ANY.
14188         * converter.C (View):
14189         (Convert):
14190         (Move): send debug output to Debug::FILES instead of console.
14192 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14194         * lyxfunc.C (getStatus): use func_status
14196         * func_status.h: new header, describing the results of
14197         LyXFunc::getStatus;
14199         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14200         LFUN_MATH_HALIGN.
14202 2001-06-25  The LyX Project  <jug@sad.it>
14204         * buffer.C (sgmlOpenTag):
14205         (sgmlCloseTag):
14206         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14208 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210         * text2.C: remove some dead code
14212         * tabular.C (GetCellInset): store the last cell checked (gotten)
14214         * tabular.h: add the helper for the speedup
14216         * lyxtext.h: remove some dead code
14218 2001-06-26  The LyX Project  <Asger>
14220         * paragraph.C: Change export to LaTeX of alignment to
14221         \begin{center} and family for better roundtrip work with reLyX.
14223         * Tune the math drawing a bit.
14225 2001-06-25  The LyX Project  <Asger>
14227         * LColor.C (LColor): New color for math background. New color
14228         for buttons.
14230 2001-06-25  The LyX Project  <jug@sad.it>
14232         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14234         * lyxfunc.C (Open):
14235         * bufferlist.C (newFile): do not restrict to files ending with
14236         .lyx
14238         * BufferView_pimpl.C (MenuInsertLyXFile):
14240 2001-06-24  The LyX Project  <jug@sad.it>
14242         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14243         of compare_no_case
14245 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247         * lyxtext.h: rename most methods to begin with a small char.
14248         Lots of changes because of this.
14250         * paragraph.C (Paragraph): do not call fitToSize
14251         (erase): call Pimpl::erase
14252         (insertChar): call Pimpl::insertChar
14253         (insertInset): call Pipl::insertInset
14254         (breakParagraph): do not call fitToSize
14255         (breakParagraphConservative): do not call fitToSize
14256         (fitToSize): remove method
14258         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14260 2001-06-24  The LyX Project  <Asger>
14262         * Fix Qt compilation^2
14264 2001-06-24  The LyX Project  <jug@sad.it>
14266         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14267         depthHook(getDepth()-1).
14269         * paragraph.h:
14270         * ParagraphParameters.h:
14271         * ParameterStruct.h: change type of depth to unsigned int ==
14272         depth_type. Many adaptations to other files before of that.
14274 2001-06-24  The LyX Project  <Asger>
14276         * Fix Qt compilation.
14278 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280         * paragraph.h: renamed several methods to begin with small letter.
14281         several changes to many parts of the code because of this.
14283 2001-06-23  The LyX Project  <jug@sad.it>
14285         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14286         rewritten to discard all double spaces when KeepEmpty is off
14287         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14288         to only handle newlines but not fiddle with spaces and friends.
14290         * lyxfunc.C (MenuNew): when doing 'new from template', use
14291         template_path as default directory
14293 2001-06-23  The LyX Project  <Asger>
14295         * Clean-up of header file includes all over
14296         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14298 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300         * paragraph.h: renamed from lyxparagraph.h
14302 2001-06-23  Asger  <lyx@violet.home.sad.it>
14304         * Buffer.h: Removed Buffer::resize
14305         * BufferList.h: Removed BufferList::resize
14306         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14307         the document lazily when we change the width, or the font settings.
14309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14311         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14315         * buffer.h: remove out of date comment
14317 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14319         * lyxscreen.h:
14320         * screen.C: fix "theoretical" GC leak
14322 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324         * LaTeX.C (scanAuxFile):
14325         (deplog): remove trailing \r when reading stream (useful under
14326         win32)
14328 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14330         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14331         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14332         and BufferView::theLockingInset(Inset*), so should use them and not
14333         access bv_->text->the_locking_inset directly.
14335         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14337 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14339         * Makefile.am:
14340         * tex-defs.h: remove old unused file
14342 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14344         * BufferView_pimpl.C: fix typo, remove minibuffer message
14345           when buffer has loaded
14347 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14349         * lyxfunc.C (Dispatch): use stringstream
14350         (MenuNew): use stringstream
14351         (Open): use stringstream
14353         * importer.C (Import): use stringstream
14355         * bufferview_funcs.C (CurrentState): use stringstream
14357         * LaTeX.C (run): use stringstream
14359         * BufferView_pimpl.C (savePosition): use stringstream
14360         (restorePosition): use stringstream
14361         (MenuInsertLyXFile): use stringstream
14363 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14365         * BufferView.C:
14366         * Bullet.C:
14367         * ColorHandler.C:
14368         * FontInfo.C:
14369         * FontLoader.C:
14370         * LColor.C:
14371         * LaTeXFeatures.C:
14372         * Painter.C:
14373         * gettext.C:
14374         * lyx_gui_misc.C:
14375         * lyxserver.C:
14376         * vspace.C: removed // -*- C++ -*- as first line.
14378         * lyxfind.h:
14379         * version.h: added // -*- C++ -*- as first line.
14381 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14385         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14386         of string
14388 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14391         of floats.
14393 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395         * gettext.C: include LString.h even when --disable-nls is on.
14397 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14399         * converter.h (Get): changed argument type from int to
14400         FormatList::size_type to avoid unnecessary conversion.
14402         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14403         before using it.
14405 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407         * gettext.h: include LString.h even when --disable-nls is on.
14409 2001-06-07  Juergen Vigna  <jug@sad.it>
14411         * text.C (BreakAgain): subst spaces with tabs.
14413         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14414         (resizeInsetsLyXText): set force on resizeLyXText.
14416 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14418         * gettext.h (gettext_init):
14419         (locale_init): use a real definition instead of a macro
14421 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14423         * Bufferview_pimpl.C:
14424         * LColor.h:
14425         * LColor.C: further lcolor tidies
14427 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429         * BufferView_pimpl.C (updateScrollbar): simplify.
14431         * BufferView2.C: don't include insets/insetinfo.h, change
14432         prototype for insertInset and call the Pimpl version. let
14433         updateInset call Pimpl version.
14435         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14436         gotoInset to BufferView::Pimpl
14438 2001-06-01  Juergen Vigna  <jug@sad.it>
14440         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14441         inside a LockingInset (is the update needed at all?).
14443 2001-05-31  Juergen Vigna  <jug@sad.it>
14445         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14446         here not the old one otherwise how should we compare it afterwards
14447         if it's the same!
14449 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451         * lyxfont.C:
14452         * tabular.C:
14453         * tabular-old.C:
14454         * FontInfo.C: bring C functions into global namespace when
14455         necessary
14457 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459         * LString.h: make sure config.h has been loaded before LString.h.
14461         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14462         (one for each char read by EatLine!).
14464         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14465         variables.
14467 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14470         to the same as the par we break from
14472 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14476         * MenuBackend.C (expand): also create menu entries for wide
14477         versions of the floats.
14479         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14481         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14483         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14484         frontends/Makefile.am
14486         * text2.C: adjust
14487         * text.C: adjust
14490         * tabular.C (getTokenValue): add std::
14492         * tabular-old.C (getTokenValue): add std::
14493         (getTokenValue): ditto
14494         (getTokenValue): ditto
14496         * screen.C (ToggleSelection): adjust
14498         * lyxtext.h: put selection cursors inside a Selection struct.
14500         * lyxfunc.C (moveCursorUpdate): adjust
14502         * lyxfont.C (latexWriteStartChanges): add std::
14504         * lyxfind.C: adjust
14506         * font.h: delete with(char const *, LyXFont const &)
14508         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14510         * FontInfo.C (getFontname): add std::
14512         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14513         (workAreaButtonPress): adjust
14514         (tripleClick): adjust
14515         (update): adjust
14516         (moveCursorUpdate): adjust
14517         (Dispatch): adjust
14519         * BufferView2.C (gotoInset): adjust
14521 2001-05-30  Juergen Vigna  <jug@sad.it>
14523         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14524         to check pspell I add this as default as I now have new pspell
14525         libraries and they seem to use this.
14527 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529         * text2.C (CutSelection): make the cursor valid before the call to
14530         ClearSelection.
14532 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14534         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14535         relied on 0 terminated strings and other horrors. Bug found due to
14536         the new assert in lyxstring!
14538         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14539         KP_ keys.
14541 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14544         to latinkeys.bind.
14546         * lyxfunc.C (processKeySym): change method of getting to the
14547         self-insert char.
14549         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14550         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14551         * BufferView_pimpl.[Ch]: here as private methods.
14553 2001-05-28  Juergen Vigna  <jug@sad.it>
14555         * text.C (SetHeightOfRow): added the update() call again as it is
14556         needed to initialize inset dimensions!
14558 2001-05-16  Juergen Vigna  <jug@sad.it>
14560         * text2.C (SetCharFont): Add new function with BufferView * and
14561         bool toggleall parameters for setting insets internal fonts.
14562         (SetFont): Freeze the undo as we may change fonts in Insets and
14563         all this change should be inside only one Undo!
14565         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14566         setting font's in insets as for them we have the SetFont function!
14568 2001-05-15  Juergen Vigna  <jug@sad.it>
14570         * text2.C (ClearSelection): to be sure we REALLY don't have any
14571         selection anymore!
14573         * tabular.C (TeXCellPreamble): fixed the left border problem for
14574         multicolumn cells.
14576 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14578         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14579         dependancy file
14581 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14584         LFUN_BREAKPARAGRAPH.
14586         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14587         help test to "internal only", similar for LFUN_INSERT_URL
14589         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14590         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14591         auto_region_delete and deadkeys.
14593 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14595         * LColor.h:
14596         * LColor.C: remove some dead entries, tidy a little
14598 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14601         commented code.
14602         (Dispatch): implement LFUN_ESCAPE
14604         * commandtags.h: add LFUN_ESCAPE
14606         * LyXAction.C (init): add entry for LFUN_ESCAPE
14608         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14609         Remove commented code.
14610         (insertNote): moved here
14611         (open_new_inset): moved here
14613         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14614         BufferView_pimpl
14616 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14618         * kbmap.C (findbinding): clean it up and make it work correctly.
14620         * lyx_main.C (init): do not pass argc and argv as parameters
14622 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14624         * buffer.C: fix path for OS/2 & Win32
14626         * lyx_gui.C:
14627         * lyx_main:
14628         * lyx_main.C: Added os:: class.
14630         * os2_defines.h: update
14632 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14635         better by trying again with reduced state.
14637 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14639         * lyxrc.C (read): print error about invalid key sequence only when
14640         debugging (because not all latinX keysyms are known to some X
14641         servers)
14643         * kbsequence.C (getiso): add a few std:: qualifiers
14644         (getiso): comment out extra return statement.
14646 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14649         handling.
14650         (Dispatch): enhance the accent inset a bit. (not perfect)
14652 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14654         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14656 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658         * bufferlist.C (emergencyWrite): fix assert() call
14660 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14662         * text.C (InsertChar): Added trivial patch to only send the "you
14663         can not do multiple spaces this way" message once during a
14664         session.
14666 2001-05-08  Baruch Even  <baruch@lyx.org>
14668         * Makefile.am: Changed order of libraries to get LyX to link properly
14669         with the gnome frontend.
14671 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673         * LaTeXFeatures.h: add a std:: qualifier
14675 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677         * paragraph.C (String): use stringstream
14679 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681         * paragraph.C (writeFile): remove footflag arg
14683         * buffer.C (makeLaTeXFile): use stringstream
14684         (latexParagraphs): remove footnot gurba
14686         * LaTeXFeatures.C (getPackages): use stringstream
14687         (getMacros): likewise
14688         (getTClassPreamble): likewise
14689         (getFloatDefinitions): new method
14691         * paragraph.C (writeFile): reindent
14692         (Erase): reindent
14694         * WorkArea.h: revert the xpos + etc changes.
14696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14698         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14700         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14701         (pasteSelection): likewise
14702         * text2.C (CreateUndo): likewise
14704 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14706         * minibuffer.C (peek_event): temporarily reduce the functionality
14707         of the minibuffer (to allow args on lfuns)
14709         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14710         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14712         * buffer.C (readInset): add compability reading of old float
14713         lists, add reading of new style float list.
14714         (readInset): avoid reevaluation of inscmd.getCmdName()
14715         (getLists): reindent
14717         * MenuBackend.C (MenuItem): implement parsing of
14718         md_floatlistinsert and md_floatinsert.
14719         (expand::LastFiles): move initalizaton of iterators out of loop,
14720         avoid reevaluation.
14721         (expand::Documents): introduce typdedef vector<string> Strings,
14722         and use it.
14723         (expand::ExportFormats): introduce typedef vector<Format const *>
14724         Formats, and use it.
14725         (expand): implement FloatListInsert and FloatInsert.
14727         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14728         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14729         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14731         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14732         handling.
14733         (Dispatch::LFUN_FLOAT_LIST): implement
14735 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14737         * LaTeX.C (run): Fix problem with --export code.
14739 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14741         * BufferView.[Ch] (workarea): removed.
14742         (getClipboard) new method; wrapper for workarea()->getClipboard()
14744         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14745         bug.
14747         * WorkArea.h (width, height, xpos, ypos): These methods all
14748         returned the dimensions of the work_area sub-area of WorkArea,
14749         resulting in a position error if the WorkArea were resized. Now
14750         return the dimensions of the entire WorkArea.
14752         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14754 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756         * LaTeX.C (deplog): correct the syntax of regex reg1
14758 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14760         * undo.C: remove !NEW_INSETS cruft
14762 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764         * text2.C: remove !NEW_INSETS cruft
14766         * text.C: remove !NEW_INSETS cruft
14768         * tabular.C: remove !NEW_INSETS cruft
14770         * spellchecker.C: remove !NEW_INSETS cruft
14772         * lyxtext.h: remove !NEW_INSETS cruft
14774         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14776         * lyxfunc.C: remove !NEW_INSETS cruft
14778         * lyxfind.C: remove !NEW_INSETS cruft
14780         * lyx_cb.C: remove !NEW_INSETS cruft
14782         * figureForm.C: remove  !NEW_INSETS cruft
14784         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14786         * buffer.[Ch]: remove !NEW_INSETS cruft
14788         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14790         * CutAndPaste.C: remove !NEW_INSETS cruft
14792         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14794         * BufferView2.C: remove !NEW_INSETS cruft
14796         * BufferView.h: remove !NEW_INSETS cruft
14798 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800         * Lsstream.h: include LString.h before the sstream headers to
14801         fix problem with gcc 2.95.3 and lyxstring
14803 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805         * lyx_main.C: add using directives when needed for C functions
14806         declared in std:: namespace.
14808 2001-04-27  Juergen Vigna  <jug@sad.it>
14810         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14811         (SetHeightOfRow): comment out the update call should not be needed!
14813 2001-04-13  Juergen Vigna  <jug@sad.it>
14815         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14816         (LyXTabular): tried to minimize operator= operations (and realized
14817         hopfully Lars wish).
14819 2001-04-27  Juergen Vigna  <jug@sad.it>
14821         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14823 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14827         * buffer.C (readInset): hack to make listof algorithm work
14829         * BufferView_pimpl.C: hack to make listof algorithm work
14831 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14833         * LyXAction.C: removed all !NEW_INSETS cruft
14834         (init): moved lfun_item in method
14836         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14838 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14840         * BufferView2.C (theLockingInset): white space.
14842 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844         * minibuffer.C: include <iostream>
14846         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14848         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14850         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14852         * text.[Ch] (TransposeChars): new method
14854 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856         * call message directly through LyXView instead of through LyXFunc
14857         * BufferView2.C: adjust
14858         * BufferView_pimpl.C: adjust
14859         * FontLoader.C: adjust
14860         * buffer.C: adjust
14861         * bufferview_funcs.C: adjust
14862         * converter.C: adjust
14863         * figureForm.C: adjust
14864         * importer.C: adjust
14865         * lyx_cb.C: adjust
14866         * lyx_gui_misc.C: adjust
14867         * lyxfunc.C: adjust
14868         * lyxvc.C: adjust
14869         * text2.C: adjust
14870         + more files in subdirs
14872         * lyxparagraph.h (size): move up int file
14873         (GetLayout): ditto
14875         * adjust all uses of Assert to lyx::Assert.
14877         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14878         lyxfunctional in namespace lyx
14879         * layout.C (hasLayout): ditto
14880         (GetLayout): ditto
14881         (GetLayout): ditto
14882         (delete_layout): ditto
14883         (NumberOfClass): ditto
14884         * converter.C (GetFormat): ditto
14885         (GetNumber): ditto
14886         (Add): ditto
14887         (Delete): ditto
14888         (SetViewer): ditto
14889         * bufferlist.C (getFileNames): ditto
14890         (emergencyWriteAll): ditto
14891         (exists): ditto
14892         (getBuffer): ditto
14893         * MenuBackend.C (hasSubmenu): ditto
14894         (hasMenu): ditto
14895         (getMenu): ditto
14896         * BufferView_pimpl.C (getInsetByCode): ditto
14898 2001-04-18  Juergen Vigna  <jug@sad.it>
14900         * vspace.C (asLatexString): fixed the 100% problem.
14902 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904         * lyxfunc.C (Dispatch):
14905         * minibuffer.C:
14906         * minibuffer.h: add a few std:: qualifiers
14908 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910         * minibuffer.[Ch]: reimplement so that commands is initiated and
14911         run from lyxfunc, simplified som handling, and made the completion
14912         and history code for complete. wip.
14914         * lyxfunc.C (processKeySym): call message
14915         (miniDispatch): new temporary method
14916         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14917         (LFUN_MESSAGE): implement
14918         (LFUN_MESSAGE_PUSH): implement
14919         (LFUN_MESSAGE_POP): implement
14920         (initMiniBuffer): the initial/defualt minibuffer message.
14922         * lyxfont.[Ch]: inline some more getters
14924         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14926         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14928         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14929         (AutoSave): use LFUN_MESSAGE
14930         (Reconfigure): ditto
14932         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14934         * figureForm.C: use LFUN_MESSAGE
14936         * converter.C (runLaTeX): use LFUN_MESSAGE
14938         * bufferview_funcs.C: use LFUN_MESSAGE
14939         (Melt): ditto
14940         (changeDepth): ditto
14942         * bufferparams.h: use boost::
14944         * bufferlist.h: inherit privately from noncopyable
14946         * bufferlist.C (loadLyXFile): remove some commented code.
14948         * buffer.C (runChktex): use LFUN_MESSAGE
14950         * ShareContainer.h: inherit privately from noncopyable
14952         * ParagraphParameters.[hC] (depth): inline it.
14954         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14955         methods.
14956         (message): new method
14957         (messagePush): ditto
14958         (messagePop): ditto
14959         (show): init minibuffer
14960         (showState): direct call
14962         * LaTeX.[Ch]: inherit privately from noncopyable
14963         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14964         instead of WriteStatus.
14966         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14968         * BufferView_pimpl.C (buffer): don't init minibuffer
14969         (workAreaButtonPress): use LFUN_MESSAGE
14970         (workAreaButtonRelease): ditto
14971         (savePosition): ditto
14972         (restorePosition): ditto
14973         (MenuInsertLyXFile): ditto
14974         (workAreaExpose): don't init minibuffer
14975         (update): remove commented code, simplify
14977         * BufferView2.C (openStuff): use LFUN_MESSAGE
14978         (toggleFloat): ditto
14979         (menuUndo): ditto
14980         (menuRedo): ditto
14981         (copyEnvironment): ditto
14982         (pasteEnvironment): ditto
14983         (copy): ditto
14984         (cut): ditto
14985         (paste): ditto
14986         (gotoInset): ditto
14987         (updateInset): remove some commented code
14989         * lastfiles.h: inherit privately from noncopyable
14990         * layout.h: ditto
14991         * lyx_gui.h: ditto
14992         * lyx_main.h: ditto
14993         * lyxlex.h: ditto
14994         * lyxlex_pimpl.h: ditto
14996         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14997         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14998         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15000         * LyXAction.h: inherit privately from noncopyable, add methods
15001         func_begin, func_end, returning iterators to the func map.
15003         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15004         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15005         (func_begin): new method
15006         (func_end): new method
15008         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15009         and not)
15010         (copySelection): ditto
15011         (pasteSelection): ditto
15013         * BufferView.C: whitespace change
15014         * BufferView.h: inherit privately from noncopyable
15016 2001-04-16  Allan Rae  <rae@lyx.org>
15018         * tabular-old.C (l_getline):
15019         * spellchecker.C (sc_check_word):
15020         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15021         an unrecognised preprocessor directive.  So ensure they're wrapped.
15023 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15025         * src/exporter.C (Export): Give an error message when path to file
15026         contains spaces.
15028 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15030         * LaTeX.C (deplog): Always check that foundfile exists.
15032 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034         * lyx_main.h:
15035         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15037 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039         * tabular.[Ch] (getLabelList): implement new method
15041         * minibuffer.h: comment ouf setTiimer
15043         * minibuffer.C (ExecutingCB): constify res
15044         (peek_event): constify s
15045         (Set): constify ntext
15046         (Init): constify nicename
15048         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15050         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15051         (savePosition): use two params to Minibuffer::Set
15052         (restorePosition): ditto
15054 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15056         * lyx_main.C: include language.h
15058         * Makefile.am (lyx_main.o): add language.h
15060 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15062         * exporter.C:
15063         * paragraph.C:
15064         * screen.C:
15065         * tabular.C:
15066         * CutAndPaste.C: include gettext.h
15068         * lyxfont.h: remove old hack with ON and OFF.
15070         * lyxparagraph.h:
15071         * lyxfont.h: do not include language.h...
15073         * BufferView2.C:
15074         * LaTeXFeatures.C:
15075         * Painter.C:
15076         * bufferview_funcs.C:
15077         * font.C:
15078         * lyxfont.C:
15079         * text.C:
15080         * text2.C:
15081         * trans_mgr.C:
15082         * paragraph.C: ... but do it here instead
15084 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15088         * tabular.C: small reformat
15090         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15091         NEW_INSETS version
15092         (GetChar): ditto
15093         (BreakParagraph): ditto
15094         (SetOnlyLayout): ditto
15095         (SetLayout): ditto
15097         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15098         with one arg less.
15100         * lastfiles.C: removed most using decl, add std:: where needed
15102         * buffer.C: ws changes
15104         * MenuBackend.C (class compare_format): put into anon namespace
15105         (expand): constify label, names, action, action2
15106         (expand):
15108         * text.C (SingleWidth): constify font
15109         (IsBoundary): constify rtl2
15110         (GetVisibleRow): constify ww
15112         * LaTeX.C (deplog): constify logfile
15114         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15115         start_x, end_x
15116         (workAreaExpose): constify widthChange, heightChange
15118         * lyxrow.C (par): moved
15119         (height): moved
15120         (next): moved
15121         * lyxrow.h: as inlines here
15123         * lyxfont.h (shape): moved from lyxfont.C
15124         (emph): moved from lyxfont.C
15126         * lyxfont.C (LyXFont): use initialization list for all
15127         constructors
15128         (shape): move to lyxfont.h as inline
15129         (emph): move to lyxfont.h as inline
15132 2001-04-04  Juergen Vigna  <jug@sad.it>
15134         * vspace.C: had to include stdio.h for use of sscanf
15136 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15138         * BufferView.h:
15139         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15140         independent of xforms.
15142 2001-04-02  Juergen Vigna  <jug@sad.it>
15144         * spellchecker.C: fixed namespace placing!
15146 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15148         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15149         the LyXParagraph * is 0.
15151 2001-03-29  Juergen Vigna  <jug@sad.it>
15153         * vspace.C: added support for %, c%, p%, l%.
15154         (stringFromUnit): added helper function.
15155         (asLatexString): changed to give right results for the %-values.
15157         * buffer.C: convert the widthp in a width%.
15159 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15161         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15162         figureForm.[Ch].
15164         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15165         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15167         * lyx_cb.[Ch]: see above.
15169         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15170         form1.[Ch].
15172         * form1.[Ch]:
15173         * lyx.[Ch]: replaced by figure_form.[Ch].
15175         * lyx_gui.C:
15176         * lyx_gui_misc.C:
15177         * lyxfunc.C: changed headers associated with above changes.
15179 2001-03-27  Juergen Vigna  <jug@sad.it>
15181         * BufferView_pimpl.C: set the temporary cursor right!
15183 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15185         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15187 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15189         * LString.h: removed "using std::getline"!
15191         * BufferView_pimpl.C (Dispatch): changes due to changes in
15192         InsetInclude::Params.
15194         * buffer.C (tag_name): removed redundant break statements as they were
15195         producing lots of warnings with my compiler.
15197 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15199         * LString.h: add "using std::getline" when using the real <string>.
15201 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15203         * buffer.C: removed bitset usage.
15204         PAR_TAG moved to an anonymous name space.
15205         (tag_name): new funtion, also in the anonymous namespace.
15206         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15207         (makeDocBookFile): clean code. Completed transition from string arrays
15208         to string vectors.
15209         (SimpleDocBookOnePar): code clean.
15211 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15213         * tabular.C: add some comments.
15215 2001-03-22  Juergen Vigna  <jug@sad.it>
15217         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15218         compatibility read a bit and fixed bug with minipage in different
15219         depth.
15221 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15223         * buffer.C (pop_tag): removed.
15224         (push_tag): removed.
15225         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15226         array replaced with vector. Added support for CDATA sections.
15227         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15228         at any nest level.
15229         (makeDocBookFile): XML conformant declaration of CDATA section,
15230         fixed bug related to <emphasis> in the first paragraph char.
15231         (sgmlOpenTag): exclude empty tags.
15232         (sgmlCloseTag): ditto.
15234         * buffer.h (pop_tag): removed.
15235         (push_tag): removed.
15237 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15239         * language.h (Languages): added size_type and size().
15241 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15243         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15244         response on compability reading of minipages. One probliem is that
15245         the old usage of minipages was «flertydig»
15247         * several files here and in subdirs: don't use static at file
15248         scope use anon namespaces instead.
15250 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15252         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15253         LaTeX output. This is necessary for Literate document
15254         processing.
15256 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15258         * buffer.C: insert hfill when needed.
15260         * tabular.C (l_getline): use string::erase, small whitespace change.
15262         * BufferView_pimpl.C: try the anon namespace.
15263         * WorkArea.C: ditto
15265 2001-03-16  Juergen Vigna  <jug@sad.it>
15267         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15268         otherwise it won't open options-dialogs.
15270         * buffer.C: honor pextraWidth(p) on converting minipages.
15272         * tabular.C (l_getline): changed the functions to strip trailing \r.
15274 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15276         * BufferView_pimpl.C:
15277         * minibuffer..C: added "using SigC::slot" declaration.
15279 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15281         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15283         * text2.C: ditto
15285         * text.C: ditto
15287         * paragraph.C: ditto
15289         * lyxtext.h: NO_PEXTRA
15291         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15293         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15294         * ParameterStruct.h: ditto
15295         * ParagraphParameters.h: ditto
15296         * lyxparagraph.h: ditto
15298 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15300         * buffer.C: add compability for minipage alignment.
15301         (latexParagraphs): remove unwanted pextra check.
15303         * several files: remove CXX_WORKING_NAMESPACES
15305         * buffer.C (pop_tag): tie is in namespace boost
15307         * BufferView.h: noncopyable is in namespace boost
15308         * lyxlex.h: ditto
15309         * lyx_main.h: ditto
15310         * lyx_gui.h: ditto
15311         * layout.h: ditto
15312         * lastfiles.h: ditto
15313         * bufferlist.h: ditto
15314         * ShareContainer.h: ditto
15315         * LyXView.h: ditto
15316         * LyXAction.h: ditto
15317         * LaTeX.h: ditto
15319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15321         * Merging changes from BRANCH_MVC back into HEAD.
15323         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15325 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15327         * BufferView_pimpl.C: change from intl.C
15329         * combox.h:
15330         * combox.C:
15331         * Makefile.am: move combox.*
15333         * form1.h:
15334         * form1.C:
15335         * lyx_gui.C:
15336         * intl.h:
15337         * intl.C: remove dialog (covered by prefs)
15339 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15341         * lyxfunc.C (Dispatch): removed redundant break statement.
15343 2001-03-14  Juergen Vigna  <jug@sad.it>
15345         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15347 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15349         * buffer.C: add hack to fix compability reading of minipages.
15351 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15353         * buffer.C (getLists): Cleanup.
15355 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357         * lyxfont.C (update): don't honor toggleall on font size.
15359 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15361         * bmtable.c:
15362         * bmtable.h:
15363         * Makefile.am: moved to frontends/xforms/
15365         * lyx_gui_misc.C:
15366         * lyxfunc.C:
15367         * BufferView_pimpl.C: changes for moved mathpanel
15369 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15371         * gettext.h: fix gettext_init() in --disable-nls
15373 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15377 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15379         * lyx.C:
15380         * lyx.h: strip external form
15382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15384         * BufferView_pimpl.C: add comment, destroySplash()
15386 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15388         * BufferView_pimpl.C:
15389         * LyXAction.C:
15390         * buffer.C:
15391         * commandtags.h:
15392         * lyxfunc.C: use re-worked insetinclude
15394 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15396         * buffer.C: add using std::stringstream.
15398         * lyx_cb.C: readd using std::ios.
15400         * buffer.C: add using std::map.
15402         * BufferView_pimpl.C: add using std::vector.
15404         * ShareContainer.h: add std:: to swap.
15406         * buffer.h: add some typedefs
15407         * buffer.C (getLists): use them
15408         (getLists): renamed from getTocList.
15409         add a counter for the different float types and use it in the
15410         generated string.
15411         (getLists): use the same counter for the NEW_INSETS and the "non"
15412         NEW_INSETS
15414         * lyx_cb.h: remove unused items, includes, using etc.
15416         * ShareContainer.h: remove some commented code, add more comments
15417         and "documentation".
15419 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15421         * buffer.C (getTocList): make the list also when NEW_INSETS is
15422         defined.
15424         * buffer.h: remove TocType
15426         * buffer.C (getTocList): change to return a map<string,
15427         vector<TocItem> >, implement for dynamic number of list.
15429         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15430         * text2.C (PasteSelection): adjust
15431         * CutAndPaste.C (pasteSelection): adjust
15433         * FloatList.C (FloatList): update from the new_insets branch.
15434         * Floating.[Ch]: ditto
15435         * LaTeXFeatures.C: ditto
15436         * buffer.C: ditto
15437         * lyxlex_pimpl.C: ditto
15439         * paragraph.C (Last): remove when NEW_INSETS is defined.
15441         * other file: changes because of the above.
15443 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15445         * lyxparagraph.h: rename next to next_, previous to previous_,
15446         make them private for NEW_INSETS. Rename Next() to next(),
15447         Previous() to previous().
15449         * other files: changes because of the above.
15451 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15453         * BufferView.h:
15454         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15455         problem.
15457 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459         * main.C (main): pass lyx_localedir to gettext_init().
15461         * gettext.h: remove locale_init and gettext_init macros
15463         * gettext.C (locale_init): new function
15464         (gettext_init): new function
15466         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15467         setlocale().
15469 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15471         * Moved credits to frontends:
15472         * credits.[Ch]: removed
15473         * credits_form.[Ch]: removed
15474         * lyx_gui_misc.C: remove credits stuff
15475         * Makefile.am:
15477 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15479         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15481         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15482         unneeded destructor.
15484         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15485         a standalone pointer again.
15487         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15489 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15491         * Makefile.am:
15492         * filedlg.h:
15493         * filedlg.C:
15494         * LyXAction.C:
15495         * ToolbarDefaults.C:
15496         * bufferlist.C:
15497         * commandtags.h:
15498         * form1.C:
15499         * form1.h:
15500         * lyx_cb.C:
15501         * lyx_cb.h:
15502         * lyxfunc.h:
15503         * lyxfunc.C:
15504         * BufferView_pimpl.C: use new file dialog in GUII
15506         * lyx_cb.h:
15507         * lyx_cb.C: remove LayoutsCB to Toolbar
15509 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511         * ShareContainer.h (get): add std:: qualifier
15513 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515         * ShareContainer.h: define a proper ShareContainer::value_type
15516         type (and use typename to please compaq cxx)
15518 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15520         * lyxparagraph.h: move serveral local vars to
15521         ParameterStruct/ParagraphParameters., use ShareContainer in
15522         FontTable., make vars in FontTable private and add getter and
15523         setter.
15525         * paragraph.C: changes because of the above.
15527         * lyxfont.h: remove copy constructor and copy assignment. (the
15528         default ones is ok), move number inside FontBits. move inlines to
15529         lyxfont.C
15531         * lyxfont.C: add number to initializaton of statics, move several
15532         inlines here. constify several local vars. some whitespace
15533         cleanup. Dont hide outerscope variables.
15535         * Spacing.h: add two new constructors to match the set methods.
15537         * ShareContainer.h: new file, will perhaps be moved to support
15539         * ParameterStruct.h: new file
15541         * ParagraphParameters.h: new file
15543         * ParagraphParameters.C: new file
15545         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15546         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15548         * BufferView_pimpl.C: ParagraphParameter changes.
15549         * buffer.C: Likewise.
15550         * bufferview_funcs.C: Likewise.
15551         * text.C: Likewise.
15552         * text2.C: Likewise.
15554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556         * lyxfind.C (LyXReplace): do not redefine default argument in
15557         implementation.
15558         (IsStringInText): ditto
15559         (SearchForward): ditto
15560         (SearchBackward): ditto
15562 2001-03-06  Juergen Vigna  <jug@sad.it>
15564         * lyxfind.C (IsStringInText): put parentes around expressions.
15566 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15568         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15570 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15572         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15574         * stl_string_fwd.h: add comment
15576         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15578         * tabular.h:
15579         * tabular.C: remove unused DocBook methods
15581         * intl.C:
15582         * language.C:
15583         * paragraph.C:
15584         * buffer.C:
15585         killed DO_USE_DEFAULT_LANGUAGE
15587 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15589         * lyx_gui.C: do not include language.h.
15591         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15592         arguments in function implementation.
15594 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15596         * BufferView_pimpl.C: add <ctime>
15598 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15600         * BufferView_pimpl.C: add using std::find_if
15602 2001-02-27  José Matos  <jamatos@fep.up.pt>
15604         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15605         by OnlyPath.
15607 2001-02-11  José Matos  <jamatos@fep.up.pt>
15609         * buffer.C (makeDocBookFile): command styles now have a parameter as
15610         "title" by default.
15612 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15614         * layout_forms.[Ch]: removed
15615         * lyx_cb.[Ch]: out character
15616         * lyx_gui.C: out character
15617         * lyx_gui_misc.C: out character
15618         * bufferview_funcs.C: : out character,
15619         added toggleall as parameter in ToggleAndShow
15621 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15623         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15625         * text2.C (SetCurrentFont): Disable number property at boundary.
15627 2001-02-26  Juergen Vigna  <jug@sad.it>
15629         * lyxfunc.C (getStatus): added a string argument override function so
15630         that this is correctly called from LyXFunc::Dispatch if it contains a
15631         do_not_use_argument which is used!
15632         (Dispatch): added check for "custom" export and call appropriate func.
15634 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15636         * lyxrc.C: Add language_command_local, language_use_babel and
15637         language_global_options.
15639         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15641         * buffer.C (makeLaTeXFile): Use language_use_babel and
15642         language_global_options.
15644 2001-02-23  Juergen Vigna  <jug@sad.it>
15646         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15647         which works with LyXText and putted it inside BufferView. Here now we
15648         only call for that part the BufferView::Dispatch() function.
15650         * BufferView.C (Dispatch): added.
15652         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15653         functions which needs to use a LyXText over from LyXFunc.
15654         (MenuInsertLyXFile): added
15655         (getInsetByCode): added
15656         (moveCursorUpdate): added
15657         (static TEXT): added
15659 2001-02-22  Juergen Vigna  <jug@sad.it>
15661         * BufferView_pimpl.C (update): call a status update to see if LyXText
15662         needs it.
15664 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15666         * vc-backend.C (revert): implement for CVS
15667         (getLog): implement for CVS
15669 2001-02-20  Juergen Vigna  <jug@sad.it>
15671         * text2.C (ClearSelection): added BufferView param for inset_owner call
15673         * lyxfunc.C (TEXT): added this function and use it instead of
15674         directly owner->view()-text of getLyXText().
15676 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15678         * src/layout_forms.C: out preamble
15679         * src/layout_forms.h: out preamble
15680         * src/lyx_cb.C: out preamble
15681         * src/lyx_cb.h: out preamble
15682         * src/lyx_gui.C: out preamble
15683         * src/lyx_gui_misc.C: out preamble
15684         * src/lyxfunc.C: connect with guii preamble
15686 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15688         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15690 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15692         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15693         whether to run bibtex.
15695 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15697         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15699 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15701         * Makefile.am (lyx_SOURCES): removed bibforms.h
15703         * vspace.h: doxygen
15705         * text.C (GetVisibleRow): make several local vars const
15707         * tabular.C: small cleanup.
15709         * lyxserver.C (callback): use compare instead of strncmp
15711         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15712         inlines to after class or to paragraph.C
15714         * lyxfont.h: remove friend operator!=
15716         * converter.h: move friend bool operator< to non friend and after
15717         class def.
15719         * combox.h: small cleanup
15721         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15722         to inlines after class def.
15724         * buffer.C (pop_tag): use string operations instead of strcmp
15726         * bmtable.c: doxygen, small cleanup
15728         * LaTeX.h: remove friend operator==
15730 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15732         * screen.C:
15733         * lyxrc.[Ch]:
15734         * lyxfunc.C:
15735         * lyxfont.[Ch]:
15736         * lyx_cb.C:
15737         * intl.[Ch]:
15738         * commandtags.h:
15739         * buffer.C:
15740         * WorkArea.[Ch]:
15741         * LyXAction.C:
15742         * BufferView_pimpl.C:
15743         * BufferView.[Ch]: remove cruft
15745 2001-02-14  Juergen Vigna  <jug@sad.it>
15747         * lyxfunc.C: removed #if 0 unused code
15749         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15751         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15753         * text2.C (SetSelection): added a BufferView * parameter
15755 2001-02-13  Juergen Vigna  <jug@sad.it>
15757         * lyxfunc.C (Dispatch): fixed protected blank problem.
15758         * BufferView2.C (protectedBlank): added LyxText * parameter.
15760         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15761         (AppendColumn): same as above for column_info.
15763         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15764         (moveCursorUpdate): use a LyXText param for support of InsetText.
15766         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15767         (tripleClick): ditto
15769         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15771         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15773         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15775         * text2.C (SetSelection): set correct update status if inset_owner
15776         (ToggleFree): ditto
15778 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15780         * tabular.C: remove some commented code.
15782 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15784         * BufferView_pimpl.C: call hideSplash()
15786         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15788         * include_form.h:
15789         * bibforms.h: remove
15791         * lyxfunc.C:
15792         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15793           add LFUN_CHILD_CREATE
15795         * counters.h: fix tiny typo
15797         * lyx_cb.C:
15798         * lyx.h:
15799         * lyx_gui.C:
15800         * lyx.C: move splash to frontends/xforms/
15802         * lyx_gui_misc.C: move Include and Bibform to frontends
15804         * lyxvc.h: clarify comment
15806         * vspace.C: tiny housekeeping
15808 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15810         * text.C (PrepareToPrint): RTL Fix.
15812         * paragraph.C (GetUChar): New method.
15813         (String):  Use GetUChar.
15815         * buffer.C (asciiParagraph): Use GetUChar.
15817 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15819         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15821 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15823         * buffer.h:
15824         * buffer.C: rename to getLogName(), handle
15825           build log / latex log nicely
15827 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15829         * MenuBackend.C:
15830         * MenuBackend.h: remove support for reference menuitem type.
15832 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15834         * BufferView_pimpl.C: housekeeping
15835         * BufferView_pimpl.h:
15836         * LyXView.h:
15837         * Makefile.am:
15838         * Timeout.C:
15839         * Timeout.h:
15840         * minibuffer.h: move Timeout GUI-I
15842 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15844         * lyxrc.C (read): Update converters data-structures.
15846 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15848         * LaTeX.h (operator!=): add operator != for Aux_Info
15850 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15852         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15854         * LaTeXLog.C: deleted, useful code moved to Buffer
15856         * buffer.h:
15857         * buffer.C: new function getLatexLogName()
15859         * lyx_gui_misc.C:
15860         * lyx_gui.C:
15861         * lyxvc.C:
15862         * lyxvc.h:
15863         * lyxfunc.C: use frontends for LaTeX and VC logs
15865 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15867         * LaTeX.h: yet another std:: that Allan forgot.
15869         * Variables.C (set): renamed from isset(), because this clashes
15870         with some HP-UX macros (grr).
15872 2001-02-06  Allan Rae  <rae@lyx.org>
15874         * LaTeX.h: Another bug fix.  Missing std:: this time.
15876 2001-02-04  Allan Rae  <rae@lyx.org>
15878         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15879         floats problem. I've left it commented out because it's not quite
15880         correct.  It should also test that the current object is a table or
15881         figure inset.  But I haven't gotten around to figuring out how to do
15882         that.  I *think* it'll be something like: "table" == inset.type()
15884         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15885         bool.
15887 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15889         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15890         all the citation/databases/styles in the auxilary file.
15891         (run): Rerun latex if there was a babel language error.
15893 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15895         * text.C (Backspace): Preserve the font when changing newline char
15896         with a space.
15897         (BreakParagraph): If the cursor is before a space, delete the space.
15899         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15901 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15903         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15904         new argument (code).
15905         (ChangeCitationsIfUnique): New method.
15907         * paragraph.C (GetPositionOfInset): Handle bibkey.
15909 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911         * BufferView_pimpl.h: change type of Position::par_pos to
15912         LyXParagraph::size_type.
15914 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15916         * BufferView_pimpl.C (savePosition, restorePosition): Write
15917         messages to minibuffer.
15919 2001-01-28  José Matos  <jamatos@fep.up.pt>
15921         * buffer.C (makeDocBookFile): adds support for document language.
15922         A silly restriction on the name of LatexCommand types where removed.
15923         Added support for CDATA sections, allows to chars unescaped, used
15924         among others in code, to avoid escape < and >.
15926 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15928         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15929         saved positions instrad of a stack. Furthermore, a position is
15930         stored using paragraph id/paragraph position.
15932         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15933         Remove LFUN_REF_BACK.
15935 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15937         * converter.C (dvipdfm_options): New method.
15939 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15941         * vspace.C (isValidLength): Fix for empty input string.
15943 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945         * LyXAction.C (init): change description of LFUN_FIGURE to
15946         "Insert Graphics"
15948 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950         * LaTeX.C: add using directive
15952 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15954         * MenuBackend.C (expand): Fix the sorting of the formats.
15956 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15958         * lyx_main.C: tiny error message fix
15960 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15962         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15963         calling fl_initialize(). This fixes the problem with ',' as
15964         decimal separator in text files.
15966 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15968         * trans.C (process): Fix the keymap bug.
15970 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15972         * LaTeX.C (scanAuxFiles): New method. Provides support for
15973         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15974         (scanLogFile) Scan for "run BibTeX" messages.
15976         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15977         OT1 font encoding. Also, load the aecompl package if the ae
15978         package is loaded.
15980         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15982 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15984         * texrow.C (increasePos): turn two error messages into debug
15985         messages.
15987 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15989         * LaTeX.C (scanAux): Handle the \@input macro.
15990         (runBibTeX): Use scanAux().
15992         * language.C (latex_options_): New field.
15994         * LaTeXFeatures.C (getMacros): Add language macros.
15996         * buffer.C (makeLaTeXFile): Small fix.
15998 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16002         * text2.C: add a using directive.
16004 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16006         * BufferView2.C:
16007         * lyx_gui_misc.h:
16008         * lyxfr1.C:
16009         * lyxfunc.C: kill LyXBell.
16011 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16013         * text.C (IsBoundary): Remove the error message
16015         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16017         * lyxrc.C (setDefaults): Correct initialization value for
16018         font_norm_type.
16020 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16022         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16023         gotoError().
16025         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16026         and GotoNextNote().
16028         * src/LyXAction.C: Added reference-next.
16030         * text.C (InsertChar): Use contains instead of strchr.
16032         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16034 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16036         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16037         alignment commands (when needed).
16039         * text.C (InsertChar): Add ':' to number separator chars.