]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
prepare for fat changes...
[lyx.git] / src / ChangeLog
1 2004-08-15  José Matos  <jamatos@lyx.org>
2
3         * lyxlex.C (getString): fix comment, buffer::readBody is now
4         buffer:readDocument.
5         
6         * tex-strings.C (string_papersize): Default -> default,
7         Custom -> custom, for consistency with other options.
8
9 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
10
11         * pch.h: new file
12
13         * Makefile.am: support pch
14
15 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * text.C (readParToken): remove the static LyXFont variable and
18         pass it as a parameter instead. This fixes a nasty bug where an
19         inset will be inserted with a bad font in some situations
20         (readParagraph): adapt
21
22         * text2.C (setCounter): reduce number of calls to pars_[pit]
23
24         * text.C (singleWidth): add an assert, fix a test
25
26         * rowpainter.C (paintText): reduce number of calls to singleWidth
27
28         * paragraph.C (isHfill):
29         (isNewline): ws only
30
31 2004-08-14  André Pönitz  <poenitz@gmx.net>
32
33         * text.C:
34         * text2.C:
35         * rowpainter.C:
36         * lyxtext.h (several functions): use a Paragraph & argument
37         instead of par_type
38
39 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * metricsinfo.h: add a new field ltr_pos to PainterInfo
42
43         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
44
45         * text.C (singleWidth): remove useless test
46
47 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * tabular.h: remove bogus comments
50
51         * tabular.C (getDescentOfRow):
52         (isPartOfMultiColumn): add assertions
53
54         * lyxlength.C (inPixels): remove #warning
55
56 2004-08-14  André Pönitz  <poenitz@gmx.net>
57
58         * paragraph.h: inline getChar()
59
60         * BufferView.h: remove unused declarations
61
62 2004-08-14  José Matos  <jamatos@lyx.org>
63
64         * Buffer.[Ch] (readDocument): new name for old readBody.
65         * Buffer.C: new file format, new keywords: \begin_document,
66         \begin_header, \begin_body, \end_body.
67
68         * bufferparams.C (readToken): replace all calls to lex.nextToken
69         by lex.next(). Do the same to eatLine except where really needed.
70
71         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
72         line when writing to the lyx file.
73
74         * output_plaintext.C (asciiParagraph): fix Bibliography style
75         handling.
76
77         * text.C (read): fix end of file handling.
78
79 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * MenuBackend.C (Menu::operator[]): new method to access
82         individual menu items
83         (Menu::hasFunc): new method. search for an item that corresponds
84         to a given func
85         (MenuBackend::specialMenu): new method
86         (MenuBackend::expand): if a special menu has been set, skip
87         entries whose func() appears in this menu
88
89 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
90
91         * text3.C: use Debug::DEBUG a bit more
92
93         * text.C (leftMargin): try to simplify a tiny bit change var x to
94         l_margin. Dont output the wide margins always.
95         (rightMargin): no margin in inner texts
96
97         * rowpainter.h (nestMargin): new func
98         (changebarMargin): new func
99         (rightMargin): new func
100
101         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
102         now functions.
103         (paintLast): ditto
104
105         * factory.C (createInset): modify setDrawFrame
106
107         * cursor.C: use Debug::DEBUG a bit more
108
109 2004-08-14  André Pönitz  <poenitz@gmx.net>
110
111         * coordcache.[Ch]:
112         * Makefile.am: new files to accomodate an 'external' (x,y)-position
113         cache for all insets in (at least partially) visible (top-level)
114         paragraphs.
115
116         * BufferView_pimpl.C: reset external coord cache before every update.
117         This means the coord cache only contains valid entries.
118
119 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
120
121         bug 1096
122         * BufferView_pimpl.C (getInsetByCode): move function out of class
123         and change in to a template in anon namespace. Also fix to do what
124         suits us better.
125
126 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
127
128         bug 1305
129         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
130         of char
131         (breakParagraph): rename par to par_offset and use a local
132         reference. Add code to keep the language over a rebreak.
133         (breakParagraphConservative): rename par to par_offset, use a
134         local reference
135         (mergeParagraph): ditto
136         (outerHook): ditto
137         (isFirstInSequence): ditto
138         (outerFont): rename pit to par_offset
139
140         * paragraph.C: ws change
141         * paragraph.h: ditto
142         * text3.C: ditto
143         * text.C: ditto
144
145 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
148         treatment for ']'
149
150         * paragraph.C (simpleTeXOnePar): when we have a \item with
151         optional argument, enclose the argument with curly brackets (in
152         case it contains a closing square bracket)
153
154         * text2.C (editXY):
155         * text2.C (editXY):
156         * text3.C (checkInsetHit): constify
157
158 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
159
160         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
161         documents (bug 1629)
162
163 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         Fix toggling of collapsable insets with the mouse (bug 1558)
166
167         * lyxfunc.C (dispatch): adapt to LCursor changes
168
169         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
170         make sure that dispatch is not invoked twice
171
172         * cursor.C (needsUpdate): new method
173         (dispatch): return void
174         (result): new method, to access the DispatchResult of the cursor.
175
176 2004-08-13  José Matos  <jamatos@lyx.org>
177
178         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
179
180 2004-08-13  André Pönitz  <poenitz@gmx.net>
181
182         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
183
184         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
185           multiple cells
186
187 2004-08-12  André Pönitz  <poenitz@gmx.net>
188
189         * text3.C: take out the 'cursor right' form insertInset and only
190         do it in those places when it is really needed. Fixes crash on
191         C-m...
192
193 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
196
197         * BufferView_pimpl.C (setBuffer): initialize the current font of
198         the underlying LyXText
199
200 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * kbsequence.C (print): use UI native formatting for menu
203         shortcuts
204
205         * text.C (insertChar): call Paragraph::insertChar with a font
206         argument (cosmetic)
207
208         * paragraph.C (insertInset, insertChar): the version that takes a
209         LyXFont argument is now a wrapper around the other one (the
210         opposite used to be true).
211
212         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
213         argument. Font setting is done in Paragraph now.
214
215 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * outputparams.h: add new members intitle and lang.
218
219         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
220         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
221
222 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
223
224         * text3.C (dispatch): remove special handling of button 4 and 5,
225         it is now taken care of in the frontend code.
226
227 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * Spacing.h: add <string> (STLPort compile fix)
230
231 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
232
233         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
234
235 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
238         to bool.
239
240         * converter.C (showMessage): inherit from unary_function, make
241         operator() const.
242
243         * buffer.C (writeFile): initialize retval
244
245         * InsetList.h: rename private variable list to list_
246         * InsetList.[Ch]: adjust accordingly.
247
248 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
249
250         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
251         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
252         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
253         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
254         * ParagraphParameters.C, LaTeXFeatures.C: replace
255         "support/std_sstream.h" with <sstream>
256
257 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
258
259         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
260         * lyxsocket.C (LyXServerSocket): ditto
261         (serverCallback): ditto
262
263 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
264
265         * LaTeXFeatures.C: check release date when loading jurabib.
266
267 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
268
269         * lyxserver.C (startPipe): call register_socket_callback
270         (endPipe): call unregister_socket_callback
271
272 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
273
274         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
275         (LyXServerSocket): register the callback
276         (LyXServerSocket): unregister the callback
277         (fd): delete function
278         (serverCallback): improve error checking and setup the callbacks.
279         (dataCallback): change arg to fd.
280         (writeln): new func (copied fro the client socket) used for server
281         write to client.
282         (LyXDataSocket): simplify
283         (~LyXDataSocket): close ann unregiser callback
284         (server): delete function
285         (fd): delete function
286         (readln): small changes, improve some std::string usage
287         (writeln): constify a bit
288
289 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
292         Qt frontend
293
294 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * BufferView_pimpl.C (setBuffer): set the layout combox value only
297         after it has been populated
298
299 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * text2.C (insertInset): move cursor when inserting inset.
302
303 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * kbmap.C (findbindings): a couple of new methods. returns a
306         container of kb_sequence objects. The real work is done by the
307         private recursive version
308         (printbindings): uses findbindings to print out a bracketed list
309         of bindings (renamed from findbinding).
310
311         * MenuBackend.C (binding): use kb_keymap::findbindings
312
313         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
314
315 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
318
319 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * paragraph.C (isWord): return true on insets that report
322         isLetter().
323
324         * text.C (getWord): use Paragraph::isWord to decide what is in a
325         word and what is not; fix bug 1609.
326
327 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
328
329         * tex-strings.C: add "none" to string_paperpackages[], fixes
330         off-by-one-error in the paperpackage selection.
331
332         * lyxlex.[Ch]:
333         * tex-strings.[Ch]: char const * string[n]
334         -> char const * const string[]
335
336 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
339         command, return early.
340
341 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
342
343         * debug.h: add DEBUG to enum and fix size of ANY.
344
345         * debug.C: add support for Debug::DEBUG
346         (showTags): cast errorTags.level to unsigned int
347
348         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
349         (redoCurrentBuffer): ditto
350         (updateScrollbar): ditto
351         * cursor.C (dispatch): ditto
352         * text2.C (setLayout): ditto
353         (setFont): ditto
354         (updateCounters): ditto
355         (editXY): ditto
356         (deleteEmptyParagraphMechanism): ditto
357
358 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
359
360         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
361         annotations to cleanup the Makefile slightly.
362
363 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * lyxrc.C: do not set user_email to a default value but use empty
366         instead. The entry used to be translated, which does not work
367         since at the point where lyxrc is constructed there is no
368         translation service available
369
370         * messages.C (getLocaleDir): remove and use directly
371         lyx_localedir() instead
372
373 2004-06-02  Angus Leeming  <leeming@lyx.org>
374
375         Fix crash caused by dereferencing null pointer 'exportdata' in
376         OutputParams by creating a new ExportData variable on the heap,
377         storing it in a boost::shared_ptr.
378         The crash was triggered when generating an Instant Preview
379         of an external inset.
380
381         * Makefile.am: add outputparams.C
382
383         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
384         (c-tor): allocate memory to it.
385
386         * exporter.C (c-tor): associated changes.
387
388 2004-06-01  Angus Leeming  <leeming@lyx.org>
389
390         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
391         contains data before calling isInset(0). (Bug 1513.)
392
393 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
394
395         * exporter.C (checkOverwrite): new method
396         * exporter.C (copyFile): new method
397         * exporter.C (Export): copy referenced files to the document dir
398         * exporter.[Ch]: new class ExportedFile
399         * exporter.[Ch]: new class ExportData. Contains currently the
400         names of referenced external files
401         * outputparams.h: add exportdata member.
402
403 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
404
405         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
406         version.C-tmp
407
408 2004-05-19  Angus Leeming  <leeming@lyx.org>
409
410         * LaTeXFeatures.C:
411         * ToolbarBackend.C:
412         * bufferparams.C:
413         * lyxfunc.C: small changes due to the introduction of namespace
414         lyx::frontend and the moving of namespace biblio to lyx::biblio.
415
416 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * text3.C (dispatch): supress update when only moving the cursor
419         * cursor.C (selHandle): remove commented code
420
421 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
422
423         * paragraph.C (startTeXParParams): correct column count
424         * CutAndPaste.C (pasteSelection): remove const_cast
425         * output_docbook.C (docbookParagraphs): remove const_cast
426         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
427         const_cast and return ParagraphList::const_iterator
428         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
429         * output_plaintext.C (writeFileAscii): remove const_cast
430         * paragraph.[Ch] (simpleTeXOnePar): make const
431         * paragraph_funcs.C (outerPar): use const iterators
432         * paragraph_pimpl.C (validate): use const iterators
433         * text.C (setHeightOfRow): use const iterators
434
435 2004-05-17  Angus Leeming  <leeming@lyx.org>
436
437         * lfuns.h:
438         * LyXAction.C (init): new LFUN_INSET_REFRESH.
439
440         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
441         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
442         if the citation engine has changed.
443
444 2004-05-14  José Matos  <jamatos@lyx.org>
445
446         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
447         if the textclass does not provide it. Have it different for sgml and
448         xml.
449         support the language of document.
450         * output_docbook.C (docbookParagraphs):
451         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
452         first anchor as the id of the paragraph, remove special case code.
453         * sgml.C (escapeChar): escape only < & >.
454
455 2004-05-14  Angus Leeming  <leeming@lyx.org>
456
457         * bufferparams.h: move biblio::CiteEngine enum here to minimize
458         dependencies on src/frontends/controllers/biblio.h. Define a
459         CiteEngine_enum wrapper class to enable the enum to be forward
460         declared.
461
462 2004-05-12  Angus Leeming  <leeming@lyx.org>
463
464         * buffer.C: up LYX_FORMAT to 234.
465         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
466         use_numerical_citations with a single biblio::CiteEngine cite_engine
467         variable.
468         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
469
470 2004-05-13  José Matos  <jamatos@lyx.org>
471
472         * converter.h:
473         * converter.C (Converter, readFlags): add xml member.
474         * outputparams.h: add XML flavor.
475         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
476
477 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * lyxfunc.C (dispatch):
480         (getStatus): fix handling of LFUN_SEQUENCE
481
482 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * debug.C (showLevel): do not forget the end-of-line marker
485
486 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * kbmap.C (read): do not stop parsing a bind file when an error
489         occurs (bug 1575)
490
491 2004-04-29  Angus Leeming  <leeming@lyx.org>
492
493         * cursor.C:
494         * factory.C:
495         * pariterator.C:
496         * text2.C: wrap a bunch of #warning statements
497         inside #ifdef WITH_WARNINGS blocks.
498
499 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
500
501         * buffer.C: increment format to 233.
502
503 2004-04-28  Angus Leeming  <leeming@lyx.org>
504
505         * BufferView_pimpl.C:
506         * lyxfunc.C:
507         * text3.C:
508         s/updateToolbar()/updateToolbars()/
509         s/Toolbar.h/Toolbars.h/
510
511 2004-04-28  Angus Leeming  <leeming@lyx.org>
512
513         * BufferView.[Ch] (c-tor):
514         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
515         No longer passes these data to the WorkArea generator.
516
517 2004-04-28  Angus Leeming  <leeming@lyx.org>
518
519         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
520
521 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
522
523         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
524
525 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * output_latex.C (TeXEnvironment): make sure that there is a line
528         break before \end{foo} for the last paragraph of a document
529         (TeXOnePar): if the paragraph is at the end of the document (or
530         inset) and the language has to be reset, then make sure that the
531         line break is _before_ the language command, not after (fixes bug
532         1225); also make sure that the language reset command is the first
533         thing after the paragraph (to ensure proper nesting of
534         environments and thus fix bug 1404)
535
536 2004-04-21  John Levon  <levon@movementarian.org>
537
538         * ToolbarBackend.h:
539         * ToolbarBackend.C: make "name" be a programmatic name
540         and a gui_name field.
541
542         * lyxfunc.C: display the minibuffer on M-x
543
544 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
547         (bug 1526)
548
549 2004-04-19  Angus Leeming  <leeming@lyx.org>
550
551         * BufferView_pimpl.C (setBuffer): changed preview interface.
552
553         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
554         possible values.
555
556 2004-04-19  John Levon  <levon@movementarian.org>
557
558         * BufferView_pimpl.C:
559         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
560
561 2004-04-05  Angus Leeming  <leeming@lyx.org>
562
563         * text.C (redoParagraphs): add call to updateCounters(), thereby
564         fixing the missing "Figure #:" label from the caption of a
565         figure float.
566
567 2004-04-13  Angus Leeming  <leeming@lyx.org>
568
569         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
570         cursor is clicked out of an inset.
571
572 2004-04-13  Angus Leeming  <leeming@lyx.org>
573
574         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
575         than an InsetOld one.
576
577 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578
579         * format.[Ch]: add editor to Format
580         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
581         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
582
583 2004-04-08  André Pönitz  <poenitz@gmx.net>
584
585         * metricsinfo.h: remove PainterInfo::width member
586
587 2004-04-08  Angus Leeming  <leeming@lyx.org>
588
589         * lyx_sty.C (boldsymbol_def): modify so that it outputs
590         "\providecommand" rather than "\newcommand", thereby preventing
591         clashes with packages that define "\boldsymbol" themselves.
592         Eg, beamer.
593
594 2004-04-08  Angus Leeming  <leeming@lyx.org>
595
596         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
597         thereby squashing an unnecessary warning.
598
599 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
600
601         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
602         setBuffer()
603
604 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
605
606         * BufferView.C (setCursor): call redoParagraph (some insets could
607         have been opened)
608         (putSelectionAt): remove the 'double update' trick
609
610         * BufferView_pimpl.C (fitCursor): call refreshPar
611         (workAreaDispatch): remove an uneeded update call
612         (dispatch): remove some manual update calls
613
614         * cursor.[Ch]: remove cached_y_, updatePos
615         (selHandle): set noUpdate when appropriate
616
617         * lyxfunc.C (dispatch): track if we need an update
618
619         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
620
621         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
622         (paintSelection): cheap optimization, do not call cursorX when not
623         needed
624         (paintPars): change signature
625         (refreshPar): add
626         (paintText): adjust
627         (paintTextInset): adjust
628
629         * text.C: adjust
630
631 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * lengthcommon.C: compilation fix: remove explicit array size from
634         unit_name[] and friends
635
636 2004-04-05  Angus Leeming  <leeming@lyx.org>
637
638         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
639
640         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
641         present only for the preferences dialog.
642         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
643
644 2004-04-05  Angus Leeming  <leeming@lyx.org>
645
646         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
647         to enable the frontends to export changes to lyxrc correctly.
648
649         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
650
651 2004-04-07  André Pönitz  <poenitz@gmx.net>
652
653         * cursor.[Ch] (selClear, adjust): remove math
654
655         * cursor_slice.C: more agressive assert
656
657         * lyxfunc.C:
658         * BufferView_pimpl.C: rework mouse event dispatch
659
660         * dociterator.C:
661         * paragraph.C:
662         * text2.C:
663         * text3.C: adjust
664
665 2004-04-05  André Pönitz  <poenitz@gmx.net>
666
667         * cursor.[Ch] (valign, halign...): remove unneeded functions
668
669 2004-04-05  Angus Leeming  <leeming@lyx.org>
670
671         * lyxlength.[Ch] (unit_name et al.): const-correct.
672
673 2004-04-05  Angus Leeming  <leeming@lyx.org>
674
675         * BufferView_pimpl.C:
676         * buffer.C:
677         * counters.C:
678         * cursor.C:
679         * lyxfunc.C
680         * paragraph.C:
681         * pariterator.C:
682         * text.C:
683         * text2.C:
684         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
685
686 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
687
688         * text3.C (getStatus): add LFUN_BEGINNINGBUF
689
690 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * lyxfind.C: add a couple of inTexted() tests + other small fixes
693         * BufferView_pimpl.[Ch] (getStatus)
694         * BufferView.[Ch] (getStatus): add
695         * lyxfunc.C (getStatus): move lfuns handled in
696         BufferView::dispatch to te function above
697         * Cursor.C (setSelection): set selection() = true
698
699 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
700
701         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
702
703 2004-03-31  Angus Leeming  <leeming@lyx.org>
704
705         * lyxfunc.C (dispatch): Fall through to the generic
706         Dialogs::show("preamble").
707
708 2004-03-31  Angus Leeming  <leeming@lyx.org>
709
710         * lyxfunc.C (dispatch): Fall through to the generic
711         Dialogs::show("spellchecker").
712
713 2004-03-31  Angus Leeming  <leeming@lyx.org>
714
715         * lyxfunc.C (getStatus, dispatch): changed invocation of the
716         preferences dialog.
717
718 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * BufferView.C
721         * cursor.[Ch]
722         * dociterator.[Ch]:
723         * insetiterator.[Ch]:
724         * lyxfind.C:
725         * lyxfunc.C:
726         * pariterator.[Ch]:
727         * text2.C:
728         * undo.[Ch]: s/DocumentIterator/DocIterator/g
729
730 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
731
732         * BufferView.C (setCursor, putSelectionAt): call edit to open the
733         insets where we are putting the cursor.
734
735 2004-03-31  Angus Leeming  <leeming@lyx.org>
736
737         * lfuns.h:
738         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
739
740         * lyxrc.[Ch] (read, write): overloaded member functions taking
741         a std::[io]stream arguments.
742
743         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
744
745 2004-03-31  Angus Leeming  <leeming@lyx.org>
746
747         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
748         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
749
750         * lyxtextclass.C (load): if the text class couldn't be loaded, then
751         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
752
753 2004-03-31  Angus Leeming  <leeming@lyx.org>
754
755         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
756         the LFUN_ALL_INSETS_TOGGLE code.
757
758 2004-03-30  Angus Leeming  <leeming@lyx.org>
759
760         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
761         has died. Fall through to the generic Dialogs::show("document").
762
763 2004-03-30  Angus Leeming  <leeming@lyx.org>
764
765         * lfuns.h:
766         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
767         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
768
769         * lyxfunc.C (getStatus, dispatch): define the actions for these
770         lfuns. Little more than a cut and pste job from ControlDocument.C
771
772         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
773
774 2004-03-30  Angus Leeming  <leeming@lyx.org>
775
776         * lfuns.h:
777         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
778         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
779
780         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
781         open/closed state of ollapsable insets. Usage:
782
783         all-inset-toggle <state> <name>, where
784         <state> == "open" || "closed" || "toggle" and
785         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
786
787         * lyxtext.h, text2.C (toggleInset): removed.
788
789         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
790         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
791         now passes LFUN_INSET_TOGGLE to the found inset.
792
793         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
794         is now invoked as "all-insets-toggle toggle branch".
795
796 2004-03-30  Angus Leeming  <leeming@lyx.org>
797
798         * dociterator.C:
799         * insetiterator.C:
800         * pariterator.[Ch]: added/corrected header blurb.
801
802 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * dociterator.[Ch]: add an inset_ member
805         (backwardPos): implemented
806         (backwardPos, forwardPos): use inset_ when the stack is empty.
807         (doc_iterator_begin, doc_iterator_end): implemented
808         * pariterator.[Ch]: adjust, add begin, end
809         * insetiterator.[Ch]: adjust, add begin, end
810         * cursor.C:
811         * document.C:
812         * BufferView.C:
813         * BufferView_pimpl.C:
814         * CutAndPaste.C: adjust
815
816 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
817
818         * buffer.C: increment file format to 232.
819         * LaTeXFeatures.C: add bibtopic package.
820         * bufferparams.[Ch]: param \use_bibtopic.
821
822         * lyxrc.[Ch]: add lyxrc bibtex_command
823         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
824
825         * buffer.C: increment file format to 231.
826
827 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
828
829         * dociterator.C: implement forwardPar
830         * iterators.[Ch]: remove, replaced by
831         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
832         * BufferView.C:
833         * BufferView_pimpl.C:
834         * CutAndPaste.C:
835         * buffer.C:
836         * bufferview_funcs.C:
837         * cursor.C:
838         * lyxfind.C
839         * lyxfunc.C
840         * paragraph_funcs.C
841         * toc.C:
842         * Makefile.am: adjust
843
844 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * CutAndPaste.C (pasteSelection): fix 2 crashes
847         (eraseSelection): fix a crash
848         * paragraph_funcs.C: remove a warning
849
850 2004-03-28  Angus Leeming  <leeming@lyx.org>
851
852         * lfuns.h:
853         * LyXAction.C (init): new LFUN_PRINT.
854
855         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
856
857 2004-03-27  Angus Leeming  <leeming@lyx.org>
858
859         * lfuns.h:
860         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
861
862         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
863
864 2004-03-27  Angus Leeming  <leeming@lyx.org>
865
866         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
867         insetlist always contains non-null pointers to insets.
868
869 2004-03-26  Angus Leeming  <leeming@lyx.org>
870
871         * src/BufferView_pimpl.C:
872         * src/CutAndPaste.C:
873         * src/buffer.C:
874         * src/iterators.C:
875         * src/output_plaintext.C:
876         * src/outputparams.h:
877         * src/paragraph_funcs.C:
878         * src/rowpainter.C:
879         * src/text.C:
880         * src/text2.C:
881         * src/frontends/controllers/ControlErrorList.C:
882         * src/frontends/gtk/FileDialogPrivate.C:
883         * src/frontends/gtk/GPainter.C:
884         * src/frontends/gtk/GToolbar.C:
885         * src/frontends/qt2/QRef.C:
886         * src/mathed/math_scriptinset.C: squash compiler warnings.
887
888 2004-03-26  Angus Leeming  <leeming@lyx.org>
889
890         * ispell.C (LaunchIspell::start):
891         * lyx_cb.C (AutoSaveBuffer::start):
892         invoke run(DontWait) rather than runNonBlocking().
893
894 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
895
896         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
897
898 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * kbsequence.C (print): adjust
901
902         * kbmap.C (printKeySym): rename and change signature
903         (printKey): use LyXKeySym::print()
904
905 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
906
907         * undo.C: add using std::advance to compile for stlport
908
909 2004-03-24  Angus Leeming  <leeming@lyx.org>
910
911         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
912         it leads to a crash when no buffer is present.
913
914 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915             Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * lyxfunc.C (dispatch):
918         * bufferparams.C (readToken): use the new LColor::setColor
919
920         * LColor.[Ch] (setColor): new version that takes two strings as
921         argument and creates a new color entry if necessary
922
923 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
924
925         * buffer.C (makeLaTeXFile): if the main latex file that is
926         processed is usually a subdocument of some master, then pretend
927         for a while that it is actually the master
928
929 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
930
931         * buffer.C (getLabelList):
932         (getBibkeyList): use getMasterBuffer()
933         (getMasterBuffer): new method. Returns the main document in the
934         case where one is using included documents.
935
936 2004-03-25  André Pönitz  <poenitz@gmx.net>
937
938         * Makefile.am:
939         * iterators.[Ch]:
940         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
941
942         * ParagraphList_fwd.h: change ParagraphList to a std::vector
943
944         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
945         text*.C over here. Rename namespace CutAndPaste to lyx::cap
946
947         * ParameterStruct.h: merge with ParagraphParameters
948
949         * lyxtext.h: remove LyXText::parOffset() and getPar()
950
951         * text3.C: Remove all 'manual' update calls. We do now one per user
952         interaction which is completely sufficient.
953
954         * Bidi.C:
955         * BufferView.[Ch]:
956         * BufferView_pimpl.C:
957         * FontIterator.[Ch]:
958         * MenuBackend.C:
959         * ParagraphParameters.[Ch]:
960         * buffer.C:
961         * buffer.h:
962         * bufferlist.C:
963         * cursor.[Ch]:
964         * cursor_slice.[Ch]:
965         * dociterator.[Ch]:
966         * errorlist.[Ch]:
967         * factory.C:
968         * lfuns.h:
969         * lyxfind.C:
970         * lyxfunc.C:
971         * output_docbook.[Ch]:
972         * output_latex.[Ch]:
973         * output_linuxdoc.[Ch]:
974         * output_plaintext.[Ch]:
975         * paragraph.[Ch]:
976         * paragraph_funcs.[Ch]:
977         * paragraph_pimpl.[Ch]:
978         * rowpainter.C:
979         * tabular.[Ch]:
980         * text.C:
981         * text2.C:
982         * toc.C:
983         * undo.[Ch]: adjust
984
985         * frontends/controllers/ControlDocument.C:
986         * frontends/controllers/ControlErrorList.C:
987         * frontends/controllers/ControlSpellchecker.C:
988         * insets/inset.C:
989         * insets/inset.h:
990         * insets/insetbase.h:
991         * insets/insetbibitem.C:
992         * insets/insetbox.C:
993         * insets/insetbranch.C:
994         * insets/insetcaption.C:
995         * insets/insetcharstyle.C:
996         * insets/insetcharstyle.h:
997         * insets/insetcollapsable.C:
998         * insets/insetcollapsable.h:
999         * insets/insetert.C:
1000         * insets/insetfloat.C:
1001         * insets/insetfoot.C:
1002         * insets/insetmarginal.C:
1003         * insets/insetnote.C:
1004         * insets/insetoptarg.C:
1005         * insets/insettabular.C:
1006         * insets/insettext.C:
1007         * insets/insettext.h:
1008         * insets/insetwrap.C:
1009         * mathed/math_mboxinset.C:
1010         * mathed/math_nestinset.C:
1011         * mathed/math_scriptinset.C:
1012         * mathed/math_scriptinset.h:
1013         * support/types.h:
1014
1015 2004-03-24  Angus Leeming  <leeming@lyx.org>
1016
1017         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1018         deal with any child processes that have finished but are waiting to
1019         communicate this fact to the rest of LyX.
1020
1021 2004-03-24  Angus Leeming  <leeming@lyx.org>
1022
1023         64-bit compile fixes.
1024
1025         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1026         (c-tor): pass lyx::pos_types rather than ints.
1027
1028         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1029         lyx::pos_type.
1030
1031         * text.C (Delete): compile fix.
1032         (getPar): ensure that function declaration is the same as that in
1033         the header file.
1034
1035 2004-03-23  Angus Leeming  <leeming@lyx.org>
1036
1037         * ispell.C (LaunchIspell):
1038         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1039         a boost::shred_ptr rather than a std::auto_ptr.
1040
1041 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1044         handle LFUN_FILE_INSERT_*
1045
1046         * lyxrc.C (setDefaults, getDescription, output, read):
1047         * lyxrc.h: remove ps_command
1048
1049 2004-03-22  Angus Leeming  <leeming@lyx.org>
1050
1051         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1052         Ensure that error_handler is processed once only and that all data
1053         is saved before attempting to output any warning messages.
1054
1055         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1056
1057 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1060
1061 2004-03-19  André Pönitz  <poenitz@gmx.net>
1062
1063         * cursor.[Ch] (reset): take main text inset as argument
1064
1065         * BufferView: adjust
1066         * BufferView_pimpl.C: adjust
1067
1068         * paragraph.[Ch]: fix completely broken operator=()
1069
1070 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * LColor.C (getFromLyXName): make sure that the color name is used
1073         as lowercase.
1074
1075 2004-03-17  Angus Leeming  <leeming@lyx.org>
1076
1077         * lfuns.h:
1078         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1079
1080         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1081         dialog and to kill a forked process.
1082
1083 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1084
1085         * text2.C (setCursorFromCoordinates): fix font problem
1086
1087 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1088
1089         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1090         bogus "rebuild cursor" code
1091
1092 2004-03-11  André Pönitz  <poenitz@gmx.net>
1093
1094         * buffer.[Ch]: use InsetText instead of LyXText as container for
1095         the main lyx text.
1096
1097         * dociterator.[Ch]: drop the BufferView * member which is not needed
1098         anymore after the change to buffer.C
1099
1100         * paragraph_funcs.C:
1101         * text.C:
1102         * text2.C:
1103         * BufferView.[Ch]:
1104         * BufferView_pimpl.[Ch]:
1105         * cursor.[Ch]:
1106         * cursor_slice.[Ch]: adjust
1107
1108         * text3.C: fix bug in mathDispatch
1109
1110 2004-03-08  André Pönitz  <poenitz@gmx.net>
1111
1112         * undo.[Ch]: use 'StableDocumentIterator' as base for
1113         the Undo struct.
1114
1115 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1116
1117         * LaTeXFeatures.C:
1118         * bufferparams.[Ch]: add jurabib support and param.
1119
1120         * LaTeX.C: add FIXME/comment.
1121
1122 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1123
1124         * buffer.C: increment file format to 230.
1125
1126 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * cursor.C (dispatch): avoid infinite loops
1129
1130 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1131
1132         * rowpainter.C (paintSelection): fix x coordinates
1133
1134 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * text.C (rowBreakPoint): fix breaking before displayed insets
1137
1138 2004-03-01  André Pönitz  <poenitz@gmx.net>
1139
1140         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1141
1142         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1143
1144         * Makefile.am:
1145         * BufferView.C:
1146         * BufferView_pimpl.C:
1147         * buffer.C:
1148         * lyxfind.C:
1149         * lyxfunc.C:
1150         * text.C:
1151         * text2.C:
1152         * text3.C: adjust
1153
1154 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1155
1156         * lyxtext.h:
1157         * text.C:
1158         * text2.C:
1159         * rowpainter.C:
1160         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1161         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1162
1163 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1164
1165         * Bidi.[Ch] (computeTables): const correctness
1166         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1167         fill_hfill, fill_label_hfill and x from Row
1168         * lyxtext.h: prepareToPrint returns a RowMetrics
1169         * rowPainter.C: adjust
1170         * text.C (prepareToPrint): use width, not textWidth. adjust
1171         (redoParagraphInternal, cursorX): adjust
1172         * text2.C (getColumnNearX): adjust
1173         (init): put a default value to the top LyXText::width
1174
1175 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1178
1179 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * lyxtext.h: add FontIterator class
1182
1183         * text.C (FontIterator, operator*, operator->, operator++): add
1184         (rowBreakPoint, setRowWidth): adjust (fixing a
1185         rebreaking bug)
1186
1187 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * BufferView_pimpl.C (workAreaDispatch): allow also
1190         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1191
1192 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1193
1194         * text.C (rowBreakPoint): fix a bug showing with very large insets
1195
1196 2004-02-25  André Pönitz  <poenitz@gmx.net>
1197
1198         * text3.C:
1199         * cursor.[Ch]: move some mathed specific code to mathed
1200
1201 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1202
1203         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1204         use_tempdir in preferences
1205         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1206         tempfile creation
1207         * lyx_main.C: ensure that tempdir is valid
1208         * lyxlex.h: correct typo
1209         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1210         * paragraph.[Ch] (isMultiLingual): make const
1211         * cursor.[Ch] (openable): make const
1212
1213 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1214
1215         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1216
1217 2004-02-20  André Pönitz  <poenitz@gmx.net>
1218
1219         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1220
1221         * cursor.[Ch]: prepare for localized getStatus()
1222
1223         * lyxtext.h:
1224         * tabular.C:
1225         * text.C:
1226         * text2.C:
1227         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1228
1229 2004-02-20  André Pönitz  <poenitz@gmx.net>
1230
1231         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1232
1233 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1234
1235         * text2.C (setCursorFromCoordinates): switch to absolute coords
1236         (cursorUp): adjust
1237         (cursorDown): adjust
1238         * text3.C (dispatch): adjust
1239
1240 2004-02-16  André Pönitz  <poenitz@gmx.net>
1241
1242         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1243           insets/ChangeLog)
1244
1245         * cursor_slice.[Ch]: remove unneeded acessor function
1246
1247         * lyxtext.h: rename rtl() to isRTL()
1248
1249         * rowpainter.C:
1250         * tabular.C:
1251         * text.C:
1252         * text2.C:
1253         * text3.C: adjust
1254
1255 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * rowpainter.C (paintSelection): coord fix
1258
1259 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260
1261         * Spacing.C: compile fix
1262
1263 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1264
1265         * cursor.C (dispatch): restore current_ before returning
1266
1267 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1268
1269         * text2.C (cursorUp, cursorDown): fix coords
1270         (moveUp): fix crash
1271
1272 2004-02-12  André Pönitz  <poenitz@gmx.net>
1273
1274         * lyxtext.h:
1275         * text.C:
1276         * text2.C:
1277         * text3.C: add LCursor & parameter to most cursor movement functions
1278           remove usage of LyXText::cursorRow() and cursorPar()
1279
1280         * cursor.[Ch]: add textRow() needed members
1281
1282         * BufferView.C:
1283         * BufferView_pimpl.C:
1284         * paragraph.[Ch]:
1285         * BufferView.C:
1286         * BufferView_pimpl.C: adjust
1287
1288 2004-02-11  André Pönitz  <poenitz@gmx.net>
1289
1290         * lyxfunc.C:
1291         * BufferView.[Ch]:
1292         * BufferView_pimpl.C: shift undo/redo handling
1293
1294         * cursor.[Ch]: fix mathed crash
1295
1296         * lyxfind.C:
1297         * lyxtext.h: move selectionAsText to LCursor
1298
1299         * output_latex.C:
1300         * paragraph.C:
1301         * text.C:
1302         * text2.C:
1303         * text3.C: adjust
1304
1305         * rowpainter.C: fix excessive drawing
1306
1307 2004-02-06  André Pönitz  <poenitz@gmx.net>
1308
1309         * BufferView.[Ch]:
1310         * BufferView_pimpl.[Ch]:
1311         * text3.C: move some text specific LFUN handling
1312
1313 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * text3.C (checkInsetHit): adjust coords
1316         * text2.C (getColumnNearX): adjust coords
1317         (edit): adjust coords
1318         * text.C (getRowNearY): add two asserts
1319
1320 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1321
1322         * converter.C:
1323         * format.C: add using std::distance to compile on gcc 2.95/stlport
1324
1325 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1326
1327         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1328
1329 2004-02-04  André Pönitz  <poenitz@gmx.net>
1330
1331         * BufferView.[Ch] (insertInset):
1332         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1333
1334         * text2.C:
1335         * text3.C: adjust
1336
1337 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1338
1339         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1340         on the default clause of the switch
1341         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1342         wasn't catched by LCursor::dispatch
1343
1344 2004-02-03  André Pönitz  <poenitz@gmx.net>
1345
1346         * BufferView.C:
1347         * cursor.[Ch]: some additional asserts
1348
1349         * undo.[Ch]: remove LyXText dependency in interface
1350
1351         * lyxfunc.C: adjust
1352
1353         * lyxtext.h (firstPar, lastPar): remove dead functions
1354
1355         * text.C:
1356         * text2.C:
1357         * text3.C:
1358         * paragraph.[Ch]: adjust
1359
1360 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * lyxfind.C (find): fix argument order in call to ::find
1363
1364 2004-02-02  André Pönitz  <poenitz@gmx.net>
1365
1366         * cursor.[Ch]: remove direct access to anchor
1367
1368         * text.C: remove findText() hack
1369
1370 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * iterators.[Ch] (lockPath): remove in favour of...
1373         * BufferView.[Ch] (setCursor): this addition
1374         * BufferView.C (putSelectionAt): adjust
1375         * undo.C (performUndoOrRedo): adjust
1376         * lyxfunc.C (dispatch): adjust
1377
1378 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * iterators.C (lockPath): add a missing slice
1381         * undo.C (performUndoOrRedo): remove redundant positioning code
1382
1383 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1384
1385         * vc-backend.C (scanMaster): ";" -> ';'
1386
1387 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1390         std::binary_function
1391
1392         * lyxtextclass.C (compare_name): rename to...
1393         (LayoutNamesEqual): ...this
1394
1395         * lyxlex_pimpl.C (compare_tags): inherit from
1396         std::binary_function, put back into anon namespace
1397
1398         * lyxfind.C (MatchString): inherig from std::binary_function
1399         (findChange): use empty() istead of !size()
1400
1401         * format.C (FormatNamesEqual): new functor
1402         (getFormat): use it
1403         (getNumber): use it
1404         (add): use it
1405         (erase): use it
1406         (setViewer): use it
1407
1408         * converter.C (compare_Converter): rename to...
1409         (ConverterEqual): ...this, and fixup a bit.
1410         (getConverter): use it, and make function const
1411         (getNumber): use it, and make function const
1412         (add): use it
1413         (erase): use it:
1414
1415         * bufferlist.C: add using boost::bind
1416
1417         * MenuBackend.C (MenuNamesEqual): new functor
1418         (hasMenu): use it, and make function const
1419         (hasSubmenu): use nested bind to get rid of compare_memfun.
1420
1421 2004-01-30  André Pönitz  <poenitz@gmx.net>
1422
1423         * BufferView_pimpl.C:
1424         * cursor.C:
1425         * cursor.h:
1426         * cursor_slice.[Ch]:
1427         * lyxfunc.C:
1428         * lyxtext.h:
1429         * paragraph_funcs.C:
1430         * paragraph_funcs.h:
1431         * rowpainter.C:
1432         * text.C:
1433         * text2.C:
1434         * text3.C: move some of the edit(x,y) handling to the insets
1435         some coordinate changes.
1436
1437 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1438
1439         * text.C: add using statements for std::advance and std::distance
1440
1441         * paragraph.C: add using statement for std::distance
1442
1443         * lyxfind.C: add using statement for std::advance
1444
1445         * cursor.C (region): remove std:: from swap
1446         (openable): use nucleus in stead of operator->
1447
1448         * BufferView.C: add using statements for std::distance and std::swap
1449
1450 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1451
1452         * iterators.C: Remove the pimple, move the needed structures to
1453         the header file. Create accessor for the positions stack.
1454         (asPosIterator): remove function
1455
1456         * PosIterator.C (PosIterator): move constructors to top of file
1457         (PosIterator): reimplement the constructor taking a ParIterator in
1458         terms of setFrom.
1459         (setFrom): new function
1460         (operator!=): inline it
1461
1462 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1463
1464         * lyxfind.C (replaceAll): use std::advance
1465
1466         * iterators.h: inherit from std::iterator.
1467
1468         * PosIterator.C (advance, distance): remove
1469         * PosIterator.h: interit from std::iterator.
1470
1471 2004-01-26  André Pönitz  <poenitz@gmx.net>
1472
1473         * BufferView.[Ch]:
1474         * BufferView_pimpl.[Ch]:
1475         * InsetList.[Ch]:
1476         * PosIterator.[Ch]:
1477         * buffer.h:
1478         * bufferview_funcs.C:
1479         * cursor.[Ch]:
1480         * cursor_slice.h:
1481         * factory.[Ch]:
1482         * iterators.[Ch]:
1483         * lyxfind.C:
1484         * lyxfunc.C:
1485         * lyxtext.h:
1486         * output_docbook.C:
1487         * output_latex.C:
1488         * output_linuxdoc.C:
1489         * output_plaintext.C:
1490         * paragraph.[Ch]:
1491         * paragraph_funcs.[Ch]:
1492         * paragraph_pimpl.[Ch]:
1493         * rowpainter.C:
1494         * tabular.C:
1495         * tabular.h:
1496         * text.C:
1497         * text2.C:
1498         * text3.C: more IU:  dumps most of the rest of the mathcursor
1499     implementation into cursor.[Ch]; "globalize" a bit of it.
1500
1501 2004-01-25  Angus Leeming  <leeming@lyx.org>
1502
1503         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1504
1505 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1506
1507         * LaTeXFeatures.h: add nice_ and nice() const
1508         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1509
1510 2004-01-20  André Pönitz  <poenitz@gmx.net>
1511
1512         * BufferView.[Ch]:
1513         * BufferView_pimpl.C:
1514         * PosIterator.C:
1515         * bufferview_funcs.C:
1516         * cursor.[Ch]:
1517         * cursor_slice.[Ch]:
1518         * factory.C:
1519         * iterators.C:
1520         * lyx_cb.C:
1521         * lyxfind.C:
1522         * lyxfunc.C:
1523         * lyxtext.h:
1524         * rowpainter.C:
1525         * text.C:
1526         * text2.C:
1527         * text3.C:
1528         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1529           LCursor and mathcursor parts to LCursor and InsetBase.
1530
1531 2004-01-15  André Pönitz  <poenitz@gmx.net>
1532
1533         * cursor_slice.[Ch]: add a few covienience functions
1534
1535         * funcrequest.[Ch]: remove BufferView * member
1536
1537         * BufferView_pimpl.C:
1538         * cursor.C:
1539         * factory.[Ch]:
1540         * lyxfind.[Ch]:
1541         * lyxfunc.C:
1542         * lyxtext.h:
1543         * text3.C:
1544         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1545
1546 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1549         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1550
1551 2004-01-13  André Pönitz  <poenitz@gmx.net>
1552
1553         * textcursor.[Ch]:
1554         * lyxtext.h: hide cursor and selection anchor behind accessor function
1555
1556         * BufferView.C:
1557         * BufferView_pimpl.[Ch]:
1558         * PosIterator.C:
1559         * bufferview_funcs.C:
1560         * cursor.h:
1561         * lyxfind.C:
1562         * lyxfunc.C:
1563         * text.C:
1564         * text2.C:
1565         * text3.C:
1566         * undo.C: adjust
1567
1568         * cursor.h:
1569         * cursor_slice.[Ch]: some integer type changes for inset unification
1570
1571         * lyxcursor.[hC]: remove, it's CursorSlice now.
1572
1573         * Makefile.am:
1574         * BufferView_pimpl.[Ch]:
1575         * bufferview_funcs.C:
1576         * cursor_slice.C:
1577         * lyxtext.h:
1578         * text.C:
1579         * text2.C:
1580         * text3.C:
1581         * textcursor.[Ch]: adjust
1582
1583 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * text2.C (undoSpan): add and use
1586         * text.C (breakParagraph): use undoSpan (fix bug 578)
1587         * lyxtext.h: adjust
1588
1589 2004-01-08  Angus Leeming  <leeming@lyx.org>
1590
1591         * BufferView_pimpl.C (MenuInsertLyXFile):
1592         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1593         * lyxfunc.C (menuNew, open, doImport):
1594         FileFilterList change to the FileDialog open and save functions.
1595
1596 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1597
1598         * ShareContainer.h: make isEqual and isUnique adaptable
1599
1600         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1601
1602 2004-01-07  Angus Leeming  <leeming@lyx.org>
1603
1604         * LyXAction.C:
1605         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1606
1607         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1608
1609         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1610         functions replacing find, replace and replaceAll.
1611
1612         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1613         LFUN_WORDFIND(FORWARD|BACKWARD).
1614
1615 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * text.C (breakParagraph): remove an outdated #warning
1618
1619 2004-01-07  André Pönitz  <poenitz@gmx.net>
1620
1621         * lyxfind.C: somewhat clearer logic
1622
1623         * text.C: prevent crash in cursorX on unitialized row cache
1624
1625 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1626
1627         * lyxcursor.[Ch] (operator>): add
1628         * textcursor.C (selStart, selEnd): use std::min and std::max
1629
1630 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1631
1632         * Chktex.C: include boost/format.hpp
1633
1634 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1635
1636         * InsetList.C: replace functor MathcIt with adaptable functor
1637         InsetTablePosLess
1638         (insetIterator): modify accordingly
1639
1640         * BranchList.h: move the BranchNamesEqual functor here from...
1641         * BranchList.C: ... to here
1642
1643         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1644         SameName and match.
1645         (add): replace a finding loop with std::find_if.
1646
1647 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1648
1649         * output_docbook.C: moving LatexParam functionality into
1650         .layout files
1651
1652 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1653
1654         * buffer.C: increment format to 229.
1655
1656 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1657
1658         * LaTeXFeatures.C:
1659         * lyx_sty.[Ch]: remove minipageindent_def
1660
1661         * LyXAction.C:
1662         * factory.C:
1663         * lfuns.h:
1664         * lyxfunc.C:
1665         * text3.C: remove LFUN_INSET_MINIPAGE
1666
1667 2003-12-28  Angus Leeming  <leeming@lyx.org>
1668
1669         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1670
1671 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * text2.C (setParagraph): fix off-by-one crash
1674
1675 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1676
1677         * output_docbook.C: header stuff for AGU
1678
1679 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * text2.C (redoCursor): remove
1682         * text.C:
1683         * text3.C:
1684         * BufferView_pimpl.C: remove calls to redoCursor and
1685         setCursor(cursor.par(), cursor.pos()) all around
1686
1687 2003-12-15  Angus Leeming  <leeming@lyx.org>
1688
1689         * buffer.C: up the format to 228.
1690
1691 2003-12-15  André Pönitz  <poenitz@gmx.net>
1692
1693         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1694         slices
1695
1696         * Makefile.am:
1697
1698         * BufferView_pimpl.C:
1699         * cursor.[Ch]:
1700         * lyxcursor.[Ch]:
1701         * rowpainter.[Ch]:
1702         * lyxtext.h:
1703         * text.C:
1704         * text2.C:
1705         * text3.C: adjust
1706
1707 2003-12-15  Angus Leeming  <leeming@lyx.org>
1708
1709         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1710         than getFromGUIName to manipulate the color.
1711
1712 2003-12-14  Angus Leeming  <leeming@lyx.org>
1713
1714         * BranchList.[Ch]: minimize the API.
1715         (Branch::getBranch, getColor): now return a 'const &'.
1716         (Branch::setSelected) now returns a bool set to true if the
1717         selection status changes.
1718         (BranchList::clear, size, getColor, setColor, setSelected,
1719         allBranches, allSelected, separator): removed.
1720         (BranchList::find): new functions, returning the Branch with
1721         the given name.
1722         (BranchList::add, remove): return a bool indicating that
1723         the operation was successful.
1724
1725         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1726         new InsetBranch::isBranchSlected member function.
1727
1728         * LColor.[Ch]: mimimize the API.
1729         (fill): renamed as addColor and made private.
1730         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1731         versions of these functions taking a string arg have been removed.
1732
1733         * bufferparams.C (readToken):
1734         * lyxfunc.C (dispatch):
1735         * lyxrc.C (read): changes due to the altered BranchList and
1736         LColor APIs.
1737
1738         * factory.C (createInset, readInset): changes due to altered
1739         InsetBranch c-tor.
1740
1741 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1742
1743         * factory.C:
1744         * lyxfunc.C: remove insetminipage. "minipage-insert"
1745         now produces a frameless minipage box inset.
1746
1747 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * textcursor.[Ch] (selStart,selEnd): add new methods
1750         remove selection::start, end, use LyXCursor::operator<
1751         * lyxcursor.[Ch] (operator<): add
1752         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1753         * BufferView.[Ch] (unsetXSel): add
1754         * text2.C (clearSelection): use unsetXSel,adjust
1755         * text.C: adjust
1756         * text3.C: adjust
1757         * rowpainter.C: adjust
1758         * bufferview_funcs.C (put_selection_at): adjust
1759
1760 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * BufferView_pimpl.C: small coord. correction
1763
1764 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1767         dragging over the splash screen.
1768
1769 2003-12-11  Angus Leeming  <leeming@lyx.org>
1770
1771         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1772         as it is now handled in LyXText::dispatch.
1773
1774         * text3.C (doInsertInset): remove a level of nesting.
1775
1776 2003-12-11  Angus Leeming  <leeming@lyx.org>
1777
1778         * factory.C (createInset): changes due to the changed interface to
1779         InsetCommandMailer::string2params.
1780
1781 2003-12-10  Angus Leeming  <leeming@lyx.org>
1782
1783         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1784         'dialog-show-new-inset <inset name>'
1785
1786 2003-12-10  Angus Leeming  <leeming@lyx.org>
1787
1788         * buffer.C: up the format to 227.
1789
1790         * factory.C: the box inset is now identified simply by 'Box'.
1791
1792 2003-12-10  Angus Leeming  <leeming@lyx.org>
1793
1794         * buffer.C: up the format to 226.
1795
1796         * factory.C: the note inset is now identified simply by 'Note'.
1797
1798 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1799
1800         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1801         when a pit is enough. Standarize a couple of loops.
1802
1803 2003-12-05  Angus Leeming  <leeming@lyx.org>
1804
1805         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1806         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1807         data to the re-worked "log" dialog.
1808
1809 2003-12-03  André Pönitz  <poenitz@gmx.net>
1810
1811         * PosIterator.C:
1812         * iterators.C:
1813         * lyxtext.h:
1814         * output_latex.C:
1815         * paragraph_funcs.C:
1816         * text.C:
1817         * text2.C: use Inset::getText instead of Inset::getParagraph
1818
1819 2003-12-03  André Pönitz  <poenitz@gmx.net>
1820
1821         * buffer.[Ch]:
1822         * lyxtext.h:
1823         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1824         InsetText::read() as LyXText::read()
1825
1826 2003-12-02  Angus Leeming  <leeming@lyx.org>
1827
1828         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1829         type. Add a comment in the implementation that the function uses
1830         the stream's bad() function rather than fail() as the std::streams
1831         would do.
1832
1833 2003-12-02  André Pönitz  <poenitz@gmx.net>
1834
1835         * lyxlex.[Ch]: make interface more similar to std::stream
1836
1837         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1838
1839 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1840
1841         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1842
1843 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1844
1845         * vspace.[Ch]: remove VSpace::NONE
1846
1847 2003-12-01  André Pönitz  <poenitz@gmx.net>
1848
1849         * buffer.[Ch]:
1850         * lyxtext.h: move ParagraphList member to LyXText
1851         rename LyXText::ownerParagraphs to LyXText::paragraph
1852
1853         * CutAndPaste.C:
1854         * bufferview_funcs.C:
1855         * iterators.[Ch]:
1856         * lyx_cb.C:
1857         * paragraph.C:
1858         * rowpainter.C:
1859         * tabular.C:
1860         * text.C:
1861         * text2.C:
1862         * text3.C: adjust
1863
1864         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1865
1866         * undo.C: fix cursor positioning
1867
1868 2003-12-01  John Levon  <levon@movementarian.org>
1869
1870         * BufferView_pimpl.C: fix a crash on exit with
1871         a buffer open
1872
1873 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1874
1875         * BranchList.C: fix setSelected() method.
1876
1877 2003-11-28  André Pönitz  <poenitz@gmx.net>
1878
1879         * ParagraphParameters.[Ch]:
1880         * ParameterStruct.h: remove space above/below from Paragraph to
1881          InsetVSpace
1882
1883         * BufferView_pimpl.C:
1884         * factory.C:
1885         * lyxfunc.C:
1886         * lyxtext.h:
1887         * output_latex.C:
1888         * paragraph.C:
1889         * paragraph_funcs.C:
1890         * rowpainter.[Ch]:
1891         * text.C:
1892         * text2.C:
1893         * text3.C: adjust
1894
1895 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1896
1897         * factory.C: Syntax change for CharStyles
1898
1899 2003-11-28  André Pönitz  <poenitz@gmx.net>
1900
1901         * BufferView.[Ch]:
1902         * BufferView.[Ch]:
1903         * buffer.[Ch]:
1904         * buffer.[Ch]: move LyXText member
1905
1906 2003-11-28  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView.[Ch]: make LyXText * text a private member
1909
1910         * BufferView_pimpl.C:
1911         * cursor.C:
1912         * iterators.C:
1913         * lyx_cb.C:
1914         * lyxfind.C:
1915         * lyxtext.h:
1916         * rowpainter.[Ch]:
1917         * text.C:
1918         * text2.C:
1919         * undo.C: adjust
1920
1921         * output_plaintext.C: cleanup
1922
1923 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1924
1925         * buffer.C:
1926         * lyxtextclass.[Ch]: parametrize SGML document header
1927
1928 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * converter.[Ch]:
1931         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1932         getFlavor().
1933
1934 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * text2.C (setFont): rework using PosIterator (no more recursive)
1937         (setCharFont): no more needed
1938         (setLayout): no more selection cursors fiddling (done by redoCursor)
1939         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1940         destroy remaining ones)
1941
1942 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1945         * lyxtext.h: ditto
1946         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1947         selection cursors
1948         * lyxfunc.C: adjust
1949         * text3.C: adjust + re-allow multi par depth changes
1950         * textcursor.C: simplify a bit
1951
1952 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * src/buffer.C:
1955         * src/lyxlayout.C:
1956         * src/lyxlayout.h:
1957         * src/lyxtext.h:
1958         * src/output_docbook.C:
1959         * src/output_latex.C:
1960         * src/paragraph.C:
1961         * src/paragraph.h:
1962         * src/sgml.C:
1963         * src/sgml.h:
1964         * src/text2.C: Introducing a number of tags parametrizing various
1965         XML formats that we may want to support
1966
1967 2003-11-25  André Pönitz  <poenitz@gmx.net>
1968
1969         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1970
1971         * lyxtext.h (leftMargin/rightMargin): simplify interface
1972
1973         * rowpainter.C:
1974         * text.C:
1975         * text2.C:
1976         * text3.C: adjust
1977
1978 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1979
1980         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1981         master file to any child files. Fixes bug 546.
1982
1983 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1984
1985         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1986
1987 2003-11-24  André Pönitz  <poenitz@gmx.net>
1988
1989         * rowpainter.C: simplification
1990
1991         * text2.C (updateCounters): remove call to redoParagraph on
1992         changed labels as this is far too expensive.
1993
1994 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1995
1996         * converter.C (convert): fix a crash: this function gets
1997         called with buffer == 0 from importer code.
1998
1999 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2000
2001         * text3.C (cursorPrevious): make sure that we do not compare
2002         iterators form different containers.
2003         (cursorNext): ditto
2004
2005         * rowpainter.C (paintSelection): make sure that we do not compare
2006         iterators from different containers.
2007
2008         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2009         iterators from different ParagraphList containers.
2010         [NEXT] ditto
2011
2012         * text2.C (LyXText): change order of initialization slightly
2013         (operator=): new function. copy all variables except cache_par_
2014         (moveUp): make sure that we do not compare iterators from
2015         different ParagraphList constainers.
2016         (moveDown): ditto
2017
2018         * text.C (firstPar): new function
2019         (lastPar): new function
2020         (endPar): new function
2021
2022         * lyxtext.h: move things around and group public functions, public
2023         variables, private functions, private variables
2024
2025 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2026
2027         * factory.C: change call to InsetERT constructor to avoid
2028         additional invocation of method status
2029         * text2.C (toggleInset): remove redundant update() call
2030         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2031         instead of a Bufferview pointer
2032
2033 2003-11-21  André Pönitz  <poenitz@gmx.net>
2034
2035         * rowpainter.C: simplification
2036
2037 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2038
2039         * text3.C (dispatch): make possible to extend a word/row selection
2040         with the mouse
2041
2042 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * lyxtext.h: x0_,y0_ -> xo_,yo_
2045         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2046         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2047         * rowpainter.C (paintRows): paint full paragraphs
2048
2049 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2050
2051         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2052         screen coordinates)
2053
2054 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2055
2056         * lyxtext.h: add x0_, y0_
2057         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2058         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2059
2060 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * text2.C (setCursorIntern): move the x_target update here *
2063         * text3.C: change some bv() to true/false in calls to
2064         cursorUp/Down/Right/Left
2065         * cursor.C: use helper function.
2066
2067 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2068
2069         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2070         * paragraph_funcs.[Ch]: correct comment
2071         * rowpainter.C: do not paint selections away from bv->cursor()
2072         Fix a long standing selection painting bug.
2073         * text3.C: generalize mouse-selection code to LyXTexts other that
2074         top one
2075         * textcursor.C: do not use y coords if we can use par offsets
2076
2077 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2078
2079         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2080         cursor position after e.g. inset insert)
2081
2082 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2083
2084         * lyxfind.C (replace): adjust to locking removal + some
2085         code simplification
2086
2087 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2090         of the path
2091
2092 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2093
2094         * lyxlayout.[Ch]:
2095         * output_docbook.C: XML sanitation: new layout
2096         parameters InnerTag and CommandDepth
2097
2098 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2099
2100         * BufferView_pimpl.C:
2101         * factory.C:
2102         * text3.C: Fix the insertion and modification of button-style
2103         insets
2104
2105 2003-11-13  André Pönitz  <poenitz@gmx.net>
2106
2107         * InsetList.[Ch]: remove deleteLyXText
2108
2109         * paragraph.[Ch]: cache beginOfBody position
2110
2111         * Bidi.C:
2112         * text.C:
2113         * text2.C:
2114         * text3.C: remove superfluous update() calls
2115
2116         * vspace.C: cleanup
2117
2118 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2121         * BufferView.C (fitLockedInsetCursor): remove
2122         * cursor.[Ch] (getDim): add
2123         * text.C (getRowNearY): add faster version
2124         * text3.C: remove some update calls
2125
2126 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2127
2128         * LaTeXFeatures.C:
2129         * LyXAction.C:
2130         * MenuBackend.C:
2131         * MenuBackend.h:
2132         * dispatchresult.h:
2133         * factory.C:
2134         * lfuns.h:
2135         * lyxfunc.C:
2136         * lyxtextclass.C:
2137         * lyxtextclass.h:
2138         * text3.C: The Character Style /XML short element patch.
2139
2140 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2141
2142         * text3.C:
2143         * factory.C: Small step to solving 'unable to insert some insets'
2144         problem
2145
2146 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * cursor.[Ch] (updatePos): new function for updating the y
2149         position of the tip inset
2150         * bufferview_funcs.C (put_selection_at):
2151         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2152
2153 2003-11-11  André Pönitz  <poenitz@gmx.net>
2154
2155         * text.C: remove big comment on invalid Paragraph pointers as it is
2156         not valid anymore
2157
2158 2003-11-11  André Pönitz  <poenitz@gmx.net>
2159
2160         * text_funcs.[Ch]: merge with ...
2161
2162         * text.C: ... this
2163
2164         * lyxtext.h:
2165         * text2.C:
2166         * text3.C: adjust
2167
2168         * Makefile.am: remove text_funcs.[Ch]
2169
2170 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2171
2172         * cursor.C (getPos): return absolute cached y coord
2173
2174         * BufferView_pimpl.C (fitCursor): new simplistic code
2175         (workAreaDispatch): add a fitCursor call
2176
2177 2003-11-10  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.[Ch]:
2180         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2181
2182 2003-11-10  André Pönitz  <poenitz@gmx.net>
2183
2184         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2185         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2186         indicate that the cursor needs to leave an inset
2187
2188         * lyxtext.h: remove inset locking
2189
2190         * cursor.[Ch]: re-implement functionality provided by inset locking
2191
2192         * BufferView.[Ch]:
2193         * BufferView_pimpl.[Ch]:
2194         * LyXAction.C:
2195         * bufferview_funcs.[Ch]:
2196         * factory.C:
2197         * funcrequest.[Ch]:
2198         * iterators.C:
2199         * lyx_cb.C:
2200         * lyxfind.C:
2201         * lyxfunc.C:
2202         * text.C:
2203         * text2.C:
2204         * text3.C:
2205         * undo.C: adjust
2206
2207 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2208
2209         * PosIterator.[Ch]: replace the stack with a vector, add inset
2210         accesor
2211         * iterators.[C]: adjust
2212
2213 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2214
2215         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2216         replaced
2217         * paragraph_funcs.C (readParToken): put the correct id in the
2218         error item, not the id of the top paragraph
2219
2220 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2223         * bufferview_funcs.C (put_selection_at): use the above
2224
2225 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2228
2229 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2230
2231         * output_linuxdoc.h:
2232         * output_plaintext.h:
2233         * output.h:
2234         * output_docbook.h: add #include statements
2235
2236 2003-11-05  José Matos  <jamatos@lyx.org>
2237
2238         * output_docbook.[Ch]:
2239         * output_latex.[Ch]:
2240         * output_linuxdoc.[Ch]:
2241         * output_plaintext.[Ch]: New files for output formats.
2242         * output.[Ch]: New file for helper functions.
2243
2244         * buffer.[Ch]:
2245         * paragraph_funcs.[Ch]: output functions moved to new files.
2246
2247         * outputparams.h: rename of latexrunparams.h
2248
2249         * LaTeX.[Ch]:
2250         * buffer.[Ch]:
2251         * bufferlist.[Ch]:
2252         * converter.[Ch]:
2253         * exporter.C:
2254         * paragraph.[Ch]:
2255         * paragraph_funcs.[Ch]:
2256         * paragraph_pimpl.[Ch]:
2257         * tabular.[Ch]: rename ascii to plaintext
2258         and LatexRunParams to OutputParams.
2259
2260 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2261
2262         * iterators.[Ch] (text): require bv argument
2263         * undo.C (recordUndo):
2264         * lyxfunc.C (dispatch):
2265         * bufferview_funcs.C (put_selection_at): adjust
2266
2267 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2268
2269         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2270
2271 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2274         nestings
2275
2276 2003-11-04  André Pönitz  <poenitz@gmx.net>
2277
2278         * cursor.[Ch]: restructure
2279
2280         * BufferView.[Ch]:
2281         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2282
2283         * iterators.[Ch] (asCursor): remove
2284
2285         * lfuns.h: remove LFUN_INSET_EDIT
2286
2287         * lyxfunc.C:
2288         * tabular.C:
2289         * text.C:
2290         * text2.C:
2291         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2292
2293 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * lyxfind.[Ch]: complete overhaul
2296         * BufferView_pimpl.C:
2297         * lyxfunc.C: adjust
2298         * paragraph.[Ch] (insert): add
2299
2300 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2301
2302         * BufferView.[Ch]:
2303         * lyxtext.h:
2304         * text.C: remove dead spellcheck code
2305
2306 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * dispatchresult.h: add a val setter
2309
2310         * cursor.C (dispatch): use a tempvar for data_[i]
2311
2312 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2313
2314         * PosIterator.[Ch]: compile fix
2315
2316 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2317
2318         * text.C (cursorPar): deactivate the cursor cache
2319
2320 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2321
2322         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2323
2324 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * text3.C (dispatch): adjust for new DisptchResult semantics.
2327
2328         * lyxfunc.C (dispatch): handle update when return from
2329         Cursor::dispatch, adjust for new DispatchResult semantics.
2330
2331         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2332         DispatchResult(true) mean to not update. Add class functions for
2333         setting dispatched and update, as well as reading.
2334
2335         * cursor.C (dispatch): don't handle update here
2336
2337 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2340         * trans_mgr.C: adjust
2341
2342         * paragraph_funcs.C (readParToken): exception safety
2343
2344         * lyxvc.h: store the vcs pointer in a scoped_ptr
2345         * lyxvc.C: adjust
2346
2347         * lyxsocket.C (serverCallback): exception safety
2348
2349         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2350
2351         * ispell.C (clone): make it return a auto_ptr
2352
2353         * factory.C (createInset): exception safety
2354         (readInset): exception safety
2355
2356         * bufferlist.C (newBuffer): exception safety
2357
2358         * Thesaurus.C (Thesaurus): use initialization for aik_
2359
2360         * MenuBackend.C (expandToc): exception safety.
2361
2362 2003-11-03  André Pönitz  <poenitz@gmx.net>
2363
2364         * buffer.C:
2365         * buffer.h:
2366         * bufferview_funcs.C: remove getInsetFromId()
2367
2368         * lyxcursor.[Ch]:
2369         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2370
2371         * lyxfunc.C:
2372         * text2.C:
2373         * text3.C: adjust
2374
2375 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2376
2377         * PosIterator.C (distance, advance): new
2378         * bufferview_funcs.[Ch] (put_selection_at): new
2379         * iterators.[Ch] (lockPath): new
2380
2381 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2382
2383         * iterators.[Ch] (asPosIterator): added
2384         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2385         * PosIterator.[Ch]: added
2386
2387 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2388
2389         * text3.C:
2390         * lyxfunc.C:
2391         * cursor.C (dispatch):
2392         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2393
2394         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2395         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2396         contructor, add a class function dispatched. Remove operator>=
2397
2398 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * debug.C: only use the default constructor for debugstream
2401         (lyxerr) here.
2402
2403         * main.C (main): include debug.h and setup the lyxerr streambuf
2404         here.
2405
2406 2003-10-31  José Matos  <jamatos@lyx.org>
2407
2408         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2409
2410         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2411         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2412         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2413         * paragraph_pimpl.C (simpleTeXSpecialC):
2414         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2415         add LatexRunParams argument.
2416
2417         * exporter.C (Export): change call accordingly.
2418
2419         * latexrunparams.h: add new member to take care of the other backends.
2420 2003-10-30  José Matos  <jamatos@lyx.org>
2421
2422         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2423         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2424         factorise code for paragraph output.
2425         * buffer.[Ch]:
2426         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2427         move functions.
2428
2429 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * text3.C (dispatch):
2432         * lyxfunc.C (dispatch):
2433         * cursor.C (dispatch):
2434         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2435
2436         * dispatchresult.h: make the dispatch_result_t ctor explicit
2437
2438 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * sgml.[Ch]:
2441         * buffer.C: small refactoring of docbook stuff
2442
2443 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2446         meaning.
2447
2448 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2451         operator dispatch_result_t, and operators for == != and >=
2452
2453         * cursor.C (dispatch): adjust for operator dispatch_result_t
2454         removal. comment out call to update
2455
2456         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2457
2458 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * text3.C:
2461         * text2.C:
2462         * text.C:
2463         * lyxtext.h:
2464         * lyxfunc.C:
2465         * cursor.C:
2466         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2467         (dispatch):
2468
2469         * dispatchresult.h: new file, DispatchResult broken out of
2470         insets/insetbase.h
2471
2472         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2473
2474 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2475
2476         * text.C (rowBreakPoint): put a hack inside #if 0
2477
2478 2003-10-28  André Pönitz  <poenitz@gmx.net>
2479
2480         * lyxtext.h:
2481         * metricsinfo.C:
2482         * paragraph_funcs.C:
2483         * rowpainter.C:
2484         * text.C:
2485         * text2.C: general cleanup (lots of small stuff)
2486
2487 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2488
2489         * text2.C (cursorEnd): simple fix to the "end key goes to one
2490         before the end on last row" bug
2491
2492 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2493
2494         * text.C (backspace): fix the "zombie characters"
2495
2496 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2497
2498         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2499
2500 2003-10-27  André Pönitz  <poenitz@gmx.net>
2501
2502         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2503
2504         * factory.C: handle new InsetPagebreak, InsetLine
2505
2506         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2507         and move handling into new InsetPagebreak, InsetLine
2508
2509         * BufferView_pimpl.C:
2510         * LyXAction.C:
2511         * ParagraphParameters.C:
2512         * ParameterStruct.h:
2513         * lyxfunc.C:
2514         * lyxtext.h:
2515         * paragraph.C:
2516         * paragraph.h:
2517         * paragraph_funcs.C:
2518         * paragraph_pimpl.C:
2519         * rowpainter.C:
2520         * text.C:
2521         * text2.C:
2522         * text3.C: adjust
2523
2524 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * text.C:
2527         * lyxrow_funcs.[Ch]:
2528         * Bidi.C:
2529         * paragraph.C:
2530         * lyxtext.h:
2531         * rowpainter.C:
2532         * text2.C:
2533         * text3.C: remove lastPos uses in favour of Row::endpos
2534
2535 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2536
2537         * undo.C (performUndoOrRedo): fix two crashes by setting a
2538         cursor by hand and reordering some calls. Use bv->lockInset instead
2539         of inset->edit because the latter loses cursor information
2540
2541 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2544         by Martin
2545         (rowBreakPoint): fix width. change point to point + 1.
2546         Add a missing check.
2547
2548 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2549
2550         * MenuBackend.C:
2551         * lyxfunc.C: fix (at least partly) the problems
2552         with the Nav menu and headers inside branch insets
2553         reported by Kayvan
2554
2555 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * paragraph.C (getChar): add strong asserts
2558
2559         * lyxrow_funcs.C (lastPos): remove hideous hack
2560
2561         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2562         (fill): adjust to that (avoid an infinite loop)
2563
2564 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2565
2566         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2567
2568 2003-10-23  André Pönitz  <poenitz@gmx.net>
2569
2570         * RowList_fwd.h: change list<> to vector<> to gain speed
2571         after suggestion from Alfredo
2572
2573 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * lyxtext.h: move the bidi stuff from here...
2576         * text.C: and here
2577         * text2.C: and here
2578         * Bidi.[Ch]: ... to here
2579
2580 2003-10-23  André Pönitz  <poenitz@gmx.net>
2581
2582         * lyxtext.h:
2583         * text.C (isLastRow, isFirstRow): new functions
2584
2585         * paragraph.h: new width cache member
2586
2587         * rowpainter.C: replace RowList::iterator with Row & where possible
2588
2589         * lyxfunc.C: replace several view()->text with a single call
2590
2591         * toc.C: fix 'unused' warning
2592
2593 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2594
2595         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2596         when woring with stream::pos_type
2597         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2598
2599 2003-10-22  André Pönitz  <poenitz@gmx.net>
2600
2601         * lyxtext.h:
2602         * text.C: use Row & instead of RowList::iterator
2603
2604         * lyxrow.h: rename end() to endpos()
2605
2606         * rowpainter.C:
2607         * text.C:
2608         * text2.C: adjust
2609
2610 2003-10-22  Angus Leeming  <leeming@lyx.org>
2611
2612         * buffer.[Ch] (fully_loaded): new member function, returning true
2613         only when the file has been loaded fully.
2614         Used to prevent the premature generation of previews and by the
2615         citation inset to prevent computation of the natbib-style label.
2616
2617         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2618         templates are all set up.
2619
2620         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2621
2622 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2623
2624         * text.C: fixed an "oops" in the "is a bit silly"
2625         bug fix
2626
2627 2003-10-21  André Pönitz  <poenitz@gmx.net>
2628
2629         * FuncStatus.[Ch]: small stuff, whitespace
2630
2631         * lyxfont.[Ch]: operator<<() for debug reasons
2632
2633         * lyxfunc.C:
2634         * lyxrow_funcs.C:
2635         * lyxtext.h: whitespace, spelling
2636
2637         * paragraph.C: naming of variables
2638
2639         * text.C:
2640         * text2.C: small stuff
2641
2642
2643 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2644
2645         * text.C: (1) finish off the inset display() work;
2646         (2) fix the "is a bit silly" bug (accessing char
2647         past end of par).
2648
2649 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2650
2651         * text.C: re-introduce display() for insets, fixing the
2652         various bugs (stretch of line above, math inset
2653         positioning, ...)
2654
2655 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * text.C (rightMargin): remove spurious semicolon
2658
2659         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2660         1415)
2661
2662 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2663
2664         * text3.C: fix one crash due to wrong cursor def
2665
2666 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * vc-backend.C (scanMaster): make the regex static
2669
2670         * LaTeX.C (scanAuxFile): make the regexs static
2671
2672         * text3.C (doInsertInset, dispatch, dispatch):
2673         * text2.C (cursorUp, cursorDown):
2674         * text.C (selectNextWordToSpellcheck):
2675         * BufferView_pimpl.C (dispatch):
2676         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2677
2678 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2679
2680         * lyxsocket.C: include <cerrno>
2681
2682 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * lyxfunc.C (dispatch): remove textcache stuff
2685
2686         * bufferlist.C (release): remove textcache stuff
2687         (closeAll): ditto
2688
2689         * TextCache.C: delete file
2690         * TextCache.h: delete file
2691
2692         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2693
2694         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2695         delete of the bv_->text.
2696         (resizeCurrentBuffer): remove texcache stuff
2697         (workAreaResize): ditto
2698
2699 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2702         action.
2703
2704 2003-10-16  André Pönitz  <poenitz@gmx.net>
2705
2706         * lyxrow.[Ch]:
2707         * paragraph.h:
2708         * rowpainter.C:
2709         * text.C:
2710         * text2.C:
2711         * text3.C: speed up by storing y positions per paragraph plus per-row
2712         offset instead of having a 'full' y position in the row.
2713
2714 2003-10-15  André Pönitz  <poenitz@gmx.net>
2715
2716         * iterators.[Ch]:
2717         * iterators.[Ch]:
2718         * undo.[Ch]: make undo aware of inner insets
2719
2720 2003-10-14  Angus Leeming  <leeming@lyx.org>
2721
2722         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2723         static member functions LyX::ref() and LyX::cref.
2724         (lastfiles): new accessor functions for the new lastfiles_ member var.
2725         (addLyXView, views_): add a new LyXView to the list of views_.
2726         (updateInset): loop over all LyXViews to call their own updateInset
2727         member function, returning a pointer to the Buffer owning the inset.
2728
2729         * BufferView_pimpl.C (loadLyXFile):
2730         * MenuBackend.C (expandLastfiles):
2731         * bufferlist.C (MenuWrite, QuitLyX):
2732         lastfiles is no longer a global variable.
2733         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2734
2735         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2736         static function. Access through LyX::cref().emergencyCleanup().
2737
2738 2003-10-14  André Pönitz  <poenitz@gmx.net>
2739
2740         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2741
2742         * undo.[Ch]: restoring part of 'undo in insets'
2743
2744         * Makefile.am:
2745         * undo_funcs.[Ch]: merge with undo.[Ch]
2746
2747         * tabular.C: small cleansing stuff
2748
2749 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2750
2751         * paragraph_funcs.C (readParToken): report unknown insets as error
2752         boxes. Use the outer paragraph as location (also for unknown
2753         tokens).
2754
2755         * factory.C (readInset): do not abort on reading an unknown inset.
2756         Eat it and return 0.
2757
2758 2003-10-13  Angus Leeming  <leeming@lyx.org>
2759
2760         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2761
2762         * lyxrc.C: displayTranslator is now a function,
2763         declared in GraphicsTypes.h.
2764
2765 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2766
2767         * format.C: new placeholder $$a to pass the socket address.
2768
2769         * bufferlist.[Ch]: new function getBufferFromTmp.
2770
2771         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2772           files in the temporary dir.
2773
2774 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2775
2776         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2777
2778         * Makefile.am: add lyxsocket.[Ch].
2779
2780         * lyx_main.C (error_handler): handle SIGPIPE.
2781
2782 2003-10-13  André Pönitz  <poenitz@gmx.net>
2783
2784         * BufferView_pimpl.C:
2785         * lyxtext.h:
2786         * text.C:
2787         * text2.C:
2788         * text3.C:
2789         * undo_funcs.[Ch]: use paroffset_type instead of
2790           ParagraphList::iterators to prevent multiple conversion
2791           (and get a more robust interface)
2792
2793 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2796         * lyxtext.h: ditto
2797         * text3.C (dispatch): ditto
2798
2799 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2802         move the onlyfile, use onlyfile instead of foundfile in a couple
2803         of places.
2804
2805         * DepTable.C (update): flush the error stream a bit more
2806
2807 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * lyxserver.C (callback): adjust
2810
2811         * lyxfunc.C (getStatus): add a missing brace in commented code
2812         (ensureBufferClean): reindent
2813         (dispatch): delete version taking a string
2814
2815 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * LaTeX.C (deplog): move found file handlig from here...
2818         (handleFoundFile): .. to new function here.
2819         (deplog): make sure to discover several files mentioned on the
2820         same log line.
2821
2822 2003-10-10  André Pönitz  <poenitz@gmx.net>
2823
2824         * lyxfunc.C:
2825         * lyxtext.h:
2826         * tabular.C:
2827         * text.C:
2828         * text2.C:
2829         * text3.C: fix some of the tabular crashes
2830
2831 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2832
2833         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2834
2835         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2836
2837 2003-10-09  André Pönitz  <poenitz@gmx.net>
2838
2839         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2840
2841         * BufferView.C:
2842         * BufferView_pimpl.C:
2843         * bufferview_funcs.C:
2844         * lyx_cb.C:
2845         * lyxcursor.C:
2846         * lyxfind.C:
2847         * lyxfunc.C:
2848         * lyxtext.h:
2849         * text.C:
2850         * text2.C:
2851         * text3.C:
2852         * text_funcs.[Ch]:
2853         * textcursor.[Ch]:
2854         * undo_funcs.C: adjust
2855
2856 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * text2.C (incrementItemDepth): new function, use a backtracking
2859         algorithm to discover the correct item depth.
2860         (resetEnumCounterIfNeeded): new function, use a backtracking
2861         algorithm to discover if counter reset is needed.
2862         (setCounter): use them. Simplify a bit. Add different labels for
2863         different item depths for itemize.
2864
2865         * paragraph.C (Paragraph): remove initialization of enumdepth
2866         (operator=): ditto
2867
2868         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2869         enumerate and itemize. Change the type of itemdepth to signed char.
2870
2871 2003-10-08  André Pönitz  <poenitz@gmx.net>
2872
2873         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2874           thing assignable.
2875         * text.C:
2876         * text2.C: adjust
2877
2878         * tabular.[Ch]: fix crash after 'row-insert'
2879
2880 2003-10-08  Angus Leeming  <leeming@lyx.org>
2881
2882         Fix doxygen warnings.
2883
2884         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2885         Remove CutAndPaste:: prefix from header file declaration.
2886
2887         * LColor.h (fill): remove LColor:: prefix from declaration.
2888
2889         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2890         use lyx::depth_type rather than Paragraph::depth_type so that
2891         header file and .C file match.
2892
2893         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2894
2895         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2896         * aspell.C: \file aspell_local.C -> \file aspell.C
2897         * gettext.C: \file gettext.C -> \file src/gettext.C
2898         * gettext.h: \file gettext.h -> \file src/gettext.h
2899         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2900         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2901         * text.C: \file text.C -> \file src/text.C
2902
2903         * toc.C: move comment so that doxygen is not confused.
2904
2905 2003-10-07  Angus Leeming  <leeming@lyx.org>
2906
2907         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2908
2909 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2910
2911         * aspell.C:
2912         * aspell_local.h: add forgotten std::string's.
2913
2914 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2915
2916         * LaTeXFeatures.C:
2917         * LyXAction.C:
2918         * factory.C:
2919         * lfuns.h:
2920         * lyxfunc.C:
2921         * text3.C: The Box patch. Fancybox support, minipage, parbox
2922
2923 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2924
2925         * CutAndPaste.h:
2926         * DepTable.h:
2927         * FloatList.h:
2928         * LaTeXFeatures.h:
2929         * ParagraphParameters.h:
2930         * TextCache.h:
2931         * Thesaurus.h:
2932         * bufferlist.h:
2933         * exporter.h:
2934         * importer.h:
2935         * lastfiles.h:
2936         * lyxfind.h:
2937         * lyxfont.h:
2938         * lyxlex.h:
2939         * lyxtextclasslist.h:
2940         * messages.h:
2941         * paragraph.h:
2942         * paragraph_pimpl.C:
2943         * textcursor.h: add <string> and other small fixes to make Lars'
2944         std::string patch compile with STLport.
2945
2946 2003-10-06  Angus Leeming  <leeming@lyx.org>
2947
2948         * LColor.h: Add missing #include <string>.
2949
2950 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * All most all file in all subdirs: Make <string> be the prefered
2953         way of getting to std::string, add using declarations.
2954
2955 2003-10-06  André Pönitz  <poenitz@gmx.net>
2956
2957         * metricsinfo.C: initialize LyXFont before changing attribute.
2958         (fixes the 'math in \emph is upright' bug)
2959
2960 2003-10-06  André Pönitz  <poenitz@gmx.net>
2961
2962         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2963
2964 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2965
2966         * graph.C:
2967         * paragraph_pimpl.C: Small fixes to build using STLport
2968
2969 2003-10-02  André Pönitz  <poenitz@gmx.net>
2970
2971         * lyxfunc.C:
2972         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2973
2974 2003-10-01  André Pönitz  <poenitz@gmx.net>
2975
2976         * factory.C: assert early
2977
2978 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * lyx_main.C: remove the global debug object
2981
2982         * debug.h: adjust for new debugstream
2983
2984         * debug.C: adjust for new debugstream and keep the global debug
2985         object here.
2986
2987 2003-09-22  Angus Leeming  <leeming@lyx.org>
2988
2989         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2990         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2991         an incomplete class LyXFont.
2992
2993 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2994
2995         * factory.C: bug fix in branches
2996
2997 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * lyxfunc.C (processKeySym): adjust
3000         (dispatch): adjust
3001         (dispatch): change arg name from ev to func, adjust
3002         (sendDispatchMessage): ditto
3003
3004         * lyx_main.C (defaultKeyBindings): adjust keybindings
3005         (deadKeyBindings): ditto
3006
3007         * kbsequence.C (addkey): return a FuncRequest
3008
3009         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3010
3011         * kbmap.C (bind): take a FuncRequest as arg, adjust
3012         (read): adjust
3013         (lookup): adjust
3014         (defkey): change to take a FuncRequest as arg, adjust
3015         (findbinding): take a FuncRequest as arg, adjust.
3016
3017         * funcrequest.h (operator=): added
3018
3019         * funcrequest.C (FuncRequest): default kb_action changed from
3020         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3021
3022         * buffer.C (dispatch): simplify
3023         (dispatch): adjust to take a FuncRequest as arg, adjust
3024
3025         * boost.C (assertion_failed): change assertion message slightly
3026
3027         * ToolbarBackend.C (read): simplify
3028
3029         * MenuBackend.C (binding): adjust call to findbinding, add a
3030         message if no binding is found.
3031         (read): simplify
3032         (expandToc): correct by adding a empty FuncRequest
3033
3034         * LyXAction.C: include <boost/assert.hpp>
3035         (isPseudoAction): delete function
3036         (LookupFunc): change name to...
3037         (lookupFunc): this. change return type to FuncRequest.
3038         (getActionName): take kb_action as arg, simplify
3039         (funcHasFlag): add an assert, simplify.
3040
3041 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * toc.C (action): return a FuncRequest, simplify
3044
3045         * lyxfunc.C (processKeySym): adjust
3046         (getStatus): delete version that takes an int.
3047         (getStatus): adjust
3048         (dispatch): delete version that takes action as int
3049         (dispatch): adjust
3050         (sendDispatchMessage): simplify and adjust
3051
3052         * funcrequest.C (getArg): take unsigned int as arg
3053
3054         * ToolbarBackend.C (read): adjust
3055         (add): delete version that takes func as a string.
3056         (getIton): take a FuncRequest as arg
3057
3058         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3059         action.
3060
3061         * MenuBackend.C (MenuItem): add a new construct that only takes a
3062         Kind, simplify the constructor use for submenus.
3063         (add): adjust
3064         (expandLastfiles): adjust
3065         (expandDocuments): adjust
3066         (expandFormats): adjust
3067         (expandFloatListInsert): adjust
3068         (expandFloatInsert): adjust
3069         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3070
3071         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3072         Remove class variables lyx_pseudo_map and lyx_arg_map
3073
3074         * LyXAction.C (searchActionArg): delete function
3075         (getPseudoAction): delete function
3076         (retrieveActionArg): delete function
3077         (LookupFunc): make it return kb_action, simplify.
3078         (getActionName): simplify
3079
3080         * factory.C (createInset): fix new bug
3081
3082 2003-09-19  Angus Leeming  <leeming@lyx.org>
3083
3084         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3085         masterFilename_ parameter in the include inset.
3086
3087         * factory.C (createInset): changes due to the changes to InsetInclude.
3088
3089 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3090
3091         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3092
3093 2003-09-18  Angus Leeming  <leeming@lyx.org>
3094
3095         * buffer.C:
3096         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3097         Inset::fillWithBibKeys.
3098         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3099
3100 2003-09-18  Angus Leeming  <leeming@lyx.org>
3101
3102         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3103         variables.
3104         (ctor): pass and store a 'Buffer const &'
3105         (buffer): new member function.
3106
3107         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3108         '*this' to the LaTeXFeatures ctor.
3109
3110 2003-09-18  Angus Leeming  <leeming@lyx.org>
3111
3112         * LColor.h:
3113         * lyxfont.C:
3114         * lyxfont.h:
3115         * lyxtext.h:
3116         * text.C: rename EnumLColor as LColor_color.
3117
3118 2003-09-18  Angus Leeming  <leeming@lyx.org>
3119
3120         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3121         remove #include "insets/insetbase.h" from cursor.h.
3122
3123 2003-09-18  Angus Leeming  <leeming@lyx.org>
3124
3125         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3126         InsetOld_code to remove #include "inset.h".
3127
3128         * iterators.C: add #include "insets/inset.h"
3129
3130 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3131
3132         * BufferView.C: remove more locking stuff that apparently doesn't
3133         do anything sensible.
3134
3135 2003-09-16  André Pönitz  <poenitz@gmx.net>
3136
3137         * paragraph.[Ch]:
3138         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3139           performance boost.
3140
3141 2003-09-16  Angus Leeming  <leeming@lyx.org>
3142
3143         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3144
3145         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3146         arg/return type.
3147
3148         * paragraph.h: remove #include "lyxfont.h". Forward declare
3149         LyXFont_size.
3150
3151 2003-09-16  Angus Leeming  <leeming@lyx.org>
3152
3153         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3154         of support/textutils.h.
3155         (isWord): move the contents of support/textutils.h's IsWordChar here.
3156
3157         * buffer.C:
3158         * lyxfind.C:
3159         * rowpainter.C:
3160         * text.C:
3161         * text2.C: add #include "paragraph.h".
3162
3163         * rowpainter.C:
3164         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3165
3166 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3167
3168         * main.C:
3169         * lyx_main.C:
3170         * lyx_cb.C:
3171         * buffer.C:
3172         * LaTeX.C: use namespace alias for lyx::support::os
3173
3174 2003-09-16  Angus Leeming  <leeming@lyx.org>
3175
3176         * bufferparams.C:
3177         * bufferview_funcs.C:
3178         * factory.C:
3179         * lyxfunc.C:
3180         * paragraph_pimpl.C:
3181         * rowpainter.C:
3182         * text.C: add #include "LColor.h".
3183
3184 2003-09-16  Angus Leeming  <leeming@lyx.org>
3185
3186         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3187         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3188         return LyXFont &.
3189         Store the FontBits::color variable as an int rather than as an
3190         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3191         file.
3192
3193         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3194         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3195         string calls together.
3196
3197         * lyxrc.C: add #include "LColor.h".
3198
3199 2003-09-15  Angus Leeming  <leeming@lyx.org>
3200
3201         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3202         a cow_ptr.
3203
3204 2003-09-15  Angus Leeming  <leeming@lyx.org>
3205
3206         * LColor.h: add an EnumLColor wrapper for LColor::color.
3207
3208         * lyxfont.[Ch] (color, setColor, realColor):
3209         * lyxtext.h, text.C (backgroundColor):
3210         pass EnumLColor args to/from the functions, rather than LColor::color
3211         ones.
3212
3213         * lyxfont.h:
3214         * lyxtext.h: forward declare EnumLColor.
3215
3216         * lyx_main.C: add #include "LColor.h".
3217
3218 2003-09-15  Angus Leeming  <leeming@lyx.org>
3219
3220         * .cvsignore: add lyx-gtk.
3221
3222 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * Chktex.C
3225         * LaTeX.C
3226         * LaTeXFeatures.C
3227         * ParagraphParameters.C
3228         * Spacing.C
3229         * buffer.C
3230         * bufferparams.C
3231         * bufferview_funcs.C
3232         * chset.C
3233         * counters.C
3234         * funcrequest.C
3235         * lyxfont.C
3236         * lyxgluelength.C
3237         * lyxlength.C
3238         * paragraph.C
3239         * paragraph_funcs.C
3240         * text3.C
3241         * vc-backend.C: remove usage of STRCONV
3242
3243 2003-09-15  Angus Leeming  <leeming@lyx.org>
3244
3245         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3246         explicitly define the color passed to the painter.
3247
3248 2003-09-15  Angus Leeming  <leeming@lyx.org>
3249
3250         * bufferparams.C (BufferParams): reorder member initializers to avoid
3251         compiler warning.
3252
3253 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3254
3255         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3256         * text.C (updateRowPositions): remove an unusual nop
3257
3258 2003-09-12  André Pönitz  <poenitz@gmx.net>
3259
3260         * BufferView_pimpl.C:
3261         * Bullet.C:
3262         * layout.h:
3263         * lyxfunc.C:
3264         * lyxlayout.[Ch]:
3265         * lyxtextclass.C:
3266         * rowpainter.C:
3267         * text.C:
3268         * text2.C:
3269         * Counters.[Ch]: finish the 'automatic counters' job
3270
3271 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3272
3273         * aspell.C: include <boost/assert.cpp> (compile fix)
3274
3275 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3276
3277         * boost.C (assertion_failed): use lyx::support::abort instead of
3278         assert.
3279
3280 2003-09-10  Angus Leeming  <leeming@lyx.org>
3281
3282         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3283         with their _fwd progeny.
3284
3285 2003-09-09  Angus Leeming  <leeming@lyx.org>
3286
3287         134 files throughtout the source tree: replace 'using namespace abc;'
3288         directives with the appropriate 'using abc::xyz;' declarations.
3289
3290 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3291
3292         * boost.C (emergencyCleanup): moved here from LAssert.c
3293         (assertion_failed): new function, called by BOOST_ASSERT
3294
3295         * several files: change Assert to BOOST_ASSERT
3296
3297 2003-09-09  Angus Leeming  <leeming@lyx.org>
3298
3299         * buffer.[Ch]: Add an Impl class and move Buffer's member
3300         variables into it. As a result move several header files out of
3301         buffer.h.
3302
3303         Add header files to lots of .C files all over the tree as a result.
3304
3305 2003-09-09  Angus Leeming  <leeming@lyx.org>
3306
3307         * buffer.[Ch]: make Buffer's member variables private. Add
3308         accessor functions.
3309
3310         Lots of changes all over the tree as a result.
3311
3312 2003-09-08  Angus Leeming  <leeming@lyx.org>
3313
3314         * graph.C: #include <config.h>.
3315
3316 2003-09-08  Angus Leeming  <leeming@lyx.org>
3317
3318         * BranchList.C:
3319         * BufferView.C:
3320         * BufferView_pimpl.C:
3321         * CutAndPaste.C:
3322         * DepTable.C:
3323         * LaTeX.C:
3324         * LaTeXFeatures.C:
3325         * LyXAction.C:
3326         * MenuBackend.C:
3327         * TextCache.C:
3328         * aspell.C:
3329         * buffer.C:
3330         * bufferlist.C:
3331         * changes.C:
3332         * chset.C:
3333         * converter.C:
3334         * counters.C:
3335         * debug.C:
3336         * graph.C:
3337         * ispell.C:
3338         * lyx_cb.C:
3339         * lyxfind.C:
3340         * lyxfunc.C:
3341         * lyxlex_pimpl.C:
3342         * lyxrc.C:
3343         * lyxrow.C:
3344         * paragraph.C:
3345         * rowpainter.C:
3346         * texrow.C:
3347         * text.C:
3348         * text2.C:
3349         * toc.C: remove redundant using directives.
3350
3351 2003-09-07  Angus Leeming  <leeming@lyx.org>
3352
3353         * LaTeXFeatures.h: remove #include "support/types.h".
3354         * ToolbarBackend.h: remove #include <algorithm>.
3355         * changes.h: remove #include <ctime>.
3356         * debug.h: remove #include <iosfwd>.
3357         * graph.h: remove #include "support/std_string.h".
3358         * lyx_main.h: remove #include <csignal>.
3359         * lyxlex_pimpl.h: remove #include <fstream>.
3360         * sgml.h: remove #include <algorithm>, <utility>.
3361         * toc.h: remove #include "support/std_ostream.h".
3362         Add #include <iosfwd>.
3363
3364 2003-09-07  Angus Leeming  <leeming@lyx.org>
3365
3366         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3367
3368         * converter.h: forward declare LatexRunParams.
3369         * encoding.h: remove #include "lyxrc.h".
3370         * lyxtext.h: remove #include "LColor.h".
3371         * lyxtextclass.h: remove #include "support/types.h".
3372         * trans.h: remove #include "tex-accent.h".
3373         * trans_mgr.h: remove #include "tex-accent.h".
3374         * insets/inset.h: remove #include "support/types.h", <vector>.
3375         * insets/insetcollapsable.h: remove #include "LColor.h".
3376         * insets/insetinclude.h: remove #include "dimension.h".
3377         * insets/insetlatexaccent.h: remove #include "dimension.h".
3378         * insets/insetoptarg.h:: remove #include "insettext.h".
3379         * insets/insettext.h: remove #include "dimension.h",
3380         <boost/shared_ptr.hpp>
3381
3382         * insets/renderers.h: add #include "dimension.h".
3383         * insets/updatableinset.h: add #include "support/types.h".
3384
3385         * many .C files: Associated changes.
3386
3387 2003-09-06  Angus Leeming  <leeming@lyx.org>
3388
3389         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3390         one, inside testInvariant.
3391
3392         * PrinterParams.C: new file.
3393         * PrinterParams.[Ch]: move the function bodies out of line.
3394
3395 2003-09-06  Angus Leeming  <leeming@lyx.org>
3396
3397         * ParagraphParameters.h: forward declare ParameterStruct rather than
3398         including its header file.
3399         (depth): moved out-of-line.
3400
3401 2003-09-06  Angus Leeming  <leeming@lyx.org>
3402
3403         * BufferView_pimpl.h:
3404         * kbmap.h:
3405         * kbsequence.h:
3406         * lyxfunc.h: forward declare LyXKeySym rather than
3407         #include "frontends/LyXKeySym.h".
3408
3409         * BufferView_pimpl.C:
3410         * kbmap.C:
3411         * kbsequence.C:
3412         * lyxfunc.C: associated changes.
3413
3414 2003-09-06  Angus Leeming  <leeming@lyx.org>
3415
3416         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3417         As a result, can remove the #include "insets/inset.h" from BufferView.h
3418
3419 2003-09-06  Angus Leeming  <leeming@lyx.org>
3420
3421         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3422         As a result, can remove the #include "insets/inset.h" from BufferView.h
3423
3424 2003-09-06  Angus Leeming  <leeming@lyx.org>
3425
3426         * buffer_funcs.C:
3427         * buffer.h:
3428         * bufferlist.C:
3429         * BufferView.C:
3430         * bufferview_funcs.C:
3431         * BufferView_pimpl.C:
3432         * CutAndPaste.C:
3433         * lyx_cb.C:
3434         * lyxfunc.C:
3435         * paragraph.h:
3436         * ParagraphParameters.C:
3437         * tabular.C:
3438         * text3.C:
3439         * toc.C:
3440         * undo_funcs.C:
3441         * frontends/controllers/ControlDocument.C:
3442         * insets/insetcaption.C: rearrange the #includes into some sort of
3443         coherent order.
3444
3445         * buffer.h: remove #includes ErrorList.h, undo.h
3446
3447 2003-09-06  Angus Leeming  <leeming@lyx.org>
3448
3449         * support/types.h: add a 'depth_type' typedef, used to store the
3450         nesting depth of a paragraph.
3451
3452         * paragraph.h:
3453         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3454         defining explicitly.
3455
3456         * buffer.h:
3457         * paragraph_funcs.h:
3458         * ParagraphParameters.h:
3459         * sgml.h: use lyx::depth_type rather than Paragraph or
3460         ParameterStruct's depth_type.
3461
3462         * buffer.h
3463         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3464
3465         * BufferView.C:
3466         * BufferView_pimpl.C:
3467         * CutAndPaste.C:
3468         * ParagraphParameters.C:
3469         * buffer_funcs.C:
3470         * bufferlist.C:
3471         * bufferview_funcs.C:
3472         * lyx_cb.C:
3473         * lyxfunc.C:
3474         * tabular.C:
3475         * text3.C:
3476         * toc.C:
3477         * undo_funcs.C:
3478         * frontends/LyXView.C:
3479         * frontends/controllers/ControlDocument.C:
3480         * frontends/controllers/ControlErrorList.C:
3481         * insets/insetbibitem.C:
3482         * insets/insetbranch.C:
3483         * insets/insetcaption.C:
3484         * insets/insetcollapsable.C:
3485         * insets/insetenv.C:
3486         * insets/insetert.C:
3487         * insets/insetfloat.C:
3488         * insets/insetfoot.C:
3489         * insets/insetfootlike.C:
3490         * insets/insetnewline.C:
3491         * insets/insetquotes.C:
3492         * insets/insettabular.C:
3493         * insets/insettext.C:
3494         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3495
3496         * frontends/controllers/ControlChanges.C: #include "changes.h".
3497
3498 2003-09-06  Angus Leeming  <leeming@lyx.org>
3499
3500         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3501         than #including paragraph.h.
3502
3503         * ParagraphList.h:
3504         * RowList.h: deleted. Superfluous.
3505
3506         * CutAndPaste.h:
3507         * iterators.h:
3508         * lyxcursor.h:
3509         * lyxtext.h:
3510         * text_funcs.h:
3511         * undo.h:
3512         * undo_funcs.h:
3513         * insets/inset.h:
3514         * insets/insettext.h: use ParagraphList_fwd.h rather than
3515         ParagraphList.h.
3516
3517         * paragraph.h: don't forward declare ParagraphList.
3518
3519         * buffer.h:
3520         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3521         rather than ParagraphList.h. paragraph.h is still needed for the
3522         Paragraph::depth_type parameters.
3523
3524         * textcursor.h: enable it to compile stand-alone in light of the
3525         above changes.
3526
3527         * bufferview_funcs.C:
3528         * iterators.C:
3529         * lyxfunc.C:
3530         * lyxrow_funcs.C:
3531         * paragraph.C:
3532         * rowpainter.C:
3533         * text.C:
3534         * text2.C:
3535         * text3.C:
3536         * text_funcs.C:
3537         * textcursor.C:
3538         * undo.C:
3539         * frontends/controllers/ControlParagraph.C:
3540         * frontends/controllers/ControlTabular.C:
3541         * insets/insetmarginal.C:
3542         * insets/insetminipage.C:
3543         * insets/insetnote.C:
3544         * insets/insetoptarg.C: add header files needed to compile again.
3545
3546 2003-09-06  Angus Leeming  <leeming@lyx.org>
3547
3548         * RowList_fwd.h: new file, forward-declaring Row rather than
3549         #including lyxrow.h.
3550
3551         * lyxrow_funcs.h:
3552         * lyxtext.h:
3553         * paragraph.h:
3554         * insets/insettext.h: use it instead of RowList.h
3555
3556         * bufferview_funcs.C:
3557         * lyxfunc.C:
3558         * lyxrow_funcs.C:
3559         * paragraph.C:
3560         * rowpainter.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: #include "RowList.h".
3564
3565 2003-09-05  Angus Leeming  <leeming@lyx.org>
3566
3567         * factory.C (createInset):
3568         * vspace.C (c-tor): replace sscanf call with an istringstream.
3569         * ispell.C: re-add missing HP/UX headers.
3570         * lyxserver.C: re-add missing  os2 headers.
3571
3572 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3573
3574         * BranchList.C:
3575         * graph.C:
3576         * ispell.C:
3577         * lastfiles.C:
3578         * lyx_cb.C:
3579         * lyxserver.C:
3580         * texrow.C:
3581         * text3.C: re-add missing system headers, needed for 2.95.2.
3582
3583 2003-09-05  Angus Leeming  <leeming@lyx.org>
3584
3585         Changes most place everywhere due to the removal of using directives
3586         from support/std_sstream.h.
3587
3588 2003-09-05  Angus Leeming  <leeming@lyx.org>
3589
3590         Replace LString.h with support/std_string.h,
3591         Lsstream.h with support/std_sstream.h,
3592         support/LIstream.h with support/std_istream.h,
3593         support/LOstream.h with support/std_ostream.h.
3594
3595         Changes resulting throughout the tree.
3596
3597 2003-09-05  Angus Leeming  <leeming@lyx.org>
3598
3599         * sgml.h: ensure that the header file can be compiled stand-alone.
3600         * *.C: strip out redundant #includes. (320 in total.)
3601
3602 2003-09-04  Angus Leeming  <leeming@lyx.org>
3603
3604         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3605         here (from getPackages).
3606
3607         * debug.[Ch]: add a new EXTERNAL tag.
3608
3609 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3610
3611         * text2.C (cursorEnd): simplify
3612         (setCursor): adjust
3613         (getColumnNearX): adjust
3614
3615         * text.C (computeBidiTables): adjust
3616         (fill): adjust
3617
3618         * rowpainter.C (paintChars): adjust
3619         (paintSelection): adjust
3620         (paintChangeBar): adjust
3621         (paintText): adjust
3622
3623         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3624         lastPos instead.
3625         (numberOfSeparators): adjust
3626
3627 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * LyXAction.C:
3630         * box.[Ch]:
3631         * lfuns.h:
3632         * lyxfunc.C:
3633         * text3.C: Restricts the mouse click functionality
3634         of insets like bibtex, include, toc and floatlist to the visible
3635         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3636         up the dialogs. Cursor has to be in front of the inset (i.e.
3637         start of row) for this to function.
3638
3639 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3640
3641         * bufferview_funcs.C (currentState): output row information
3642
3643 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3644
3645         * bufferview_funcs.C (currentState): output paragraph position
3646
3647 2003-09-04  Angus Leeming  <leeming@lyx.org>
3648
3649         * FloatList.h: move out #include "Floating.h".
3650         * LaTeX.h: move out #include "DepTable.h".
3651         * LyXAction.h: move out #include "funcrequest.h".
3652         * buffer.h: move out #include "author.h", "iterators.h".
3653         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3654         * lyx_main.h: move out #include "errorlist.h".
3655         * lyxfunc.h: move out #include "FuncStatus.h".
3656         * lyxtext: move out #include "lyxcursor.h".
3657         * paragraph_pimpl.h: move out #include "counters.h".
3658
3659 2003-09-03  Angus Leeming  <leeming@lyx.org>
3660
3661         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3662         preamble_snippets list, enabling us to add snippets to the preamble
3663         only if the snippet was not there already.
3664
3665 2003-09-04  Angus Leeming  <leeming@lyx.org>
3666
3667         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3668
3669 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3672         update
3673
3674 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * BranchList.C: point fix, earlier forgotten
3677
3678 2003-09-02  Angus Leeming  <leeming@lyx.org>
3679
3680         * box.C (contains): renamed from 'contained' after a fantastic
3681         amount of hot air.
3682
3683 2003-09-02  John Levon  <levon@movementarian.org>
3684
3685         * BufferView.C:
3686         * lyxcursor.h:
3687         * lyxcursor.C:
3688         * lyxfunc.C:
3689         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3690
3691 2003-09-02  John Levon  <levon@movementarian.org>
3692
3693         * text2.C: simplification of cursorEnd(), including partial
3694         fix for bug 1376
3695
3696 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * buffer.C (readFile): add a space
3699
3700 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3703
3704 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * buffer.C (readFile): new function, take a filename and a
3707         ParagraphList::iterator
3708         (readFile): adjust
3709         (readFile): adjust, make it private. don't use setStream, make
3710         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3711         always contain the filename.
3712
3713         * BufferView.C (insertLyXFile): simplify and make it work for
3714         gzipped files.
3715
3716 2003-08-30  John Levon  <levon@movementarian.org>
3717
3718         * Makefile.am: fix dist (from Kayvan)
3719
3720 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * most files: change to use const Buffer refs
3723
3724 2003-08-27  André Pönitz  <poenitz@gmx.net>
3725
3726         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3727         on top of ownerPar().
3728
3729 2003-08-27  John Levon  <levon@movementarian.org>
3730
3731         * funcrequest.C: properly initialise POD members
3732
3733 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * lyxtext.h (top_y): move top_y from here
3736         * text.C:
3737         * text2.C:
3738         * text3.C:
3739         * BufferView.[Ch]:
3740         * BufferView_pimpl.[Ch]: to here
3741         * frontends/screen.C:
3742         * insets/insettabular.C:
3743         * insets/insettext.C: adjust
3744         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3745
3746 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * BufferView.[Ch]:
3749         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3750
3751 2003-08-26  André Pönitz  <poenitz@gmx.net>
3752
3753         * paragraph_func.[Ch] (outerPar): new function
3754
3755         * paragraph.C:
3756         * paragraph_funcs.C:
3757         * paragraph_funcs.h:
3758         * paragraph_pimpl.C:
3759         * text2.C: remove Inset::par_owner
3760
3761 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3762
3763         * lyxrow_funcs.C:
3764         * lyxtext.h:
3765         * text.C:
3766         * text2.C: eliminates the needFullRow/display() stuff
3767         altogether, putting the logic in metrics/draw in the insets.
3768
3769 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * text2.C (redoParagraphInternal, redoParagraphs):
3772         * text.C (redoParagraph): add a call to updateRowPositions at the
3773         end of each 'metrics-like' call. Remove all others.
3774         (getRow): remove the 'y-computing' version.
3775         (getRowNearY): do not compute nor return the real y. Solve the
3776         'y < 0' problem and simplify.
3777
3778 2003-08-22  Angus Leeming  <leeming@lyx.org>
3779
3780         * *.[Ch]: clean-up of licence and author blurbs.
3781         Also move config.h out of a few .h files and into a few .C files.
3782
3783 2003-08-22  André Pönitz  <poenitz@gmx.net>
3784
3785         * lyxrow.[Ch]: add x_ and *fill_ members
3786
3787         * lyxtext.h:
3788         * text.C:
3789         * rowpainter.C:
3790         * text2.C: adjust/remove prepareToPrint() calls
3791
3792 2003-08-22  André Pönitz  <poenitz@gmx.net>
3793
3794         * lyxrow.[Ch]: add  end_ member
3795
3796         * lyxrow_funcs.C: use LyXRow::end_
3797
3798         * lyxtext.h (singleWidth): add LyXFont parameter
3799
3800         * rowpainter.C:
3801         * text2.C: adjust LyXText::singleWidth() calls
3802
3803         * text.C (redoParagraph): simplify row breaking logic
3804
3805
3806 2003-08-19  André Pönitz  <poenitz@gmx.net>
3807
3808         * funcrequest.C: initialize button_ member
3809
3810         * text3.C:
3811         * rowpainter.[Ch]: interface consolidation
3812
3813 2003-08-18  André Pönitz  <poenitz@gmx.net>
3814
3815         * BufferView.C:
3816         * BufferView_pimpl.C:
3817         * lyxfind.C:
3818         * paragraph_funcs.C:
3819         * rowpainter.C:
3820         * text3.C: remove LyXScreen::draw() and fitCursor calls
3821
3822         * BranchList.h: remove spurious semicolons
3823
3824         * MenuBackend.C: fix branchlist related crash
3825
3826 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * BranchList.[Ch]:
3829         * InsetList.[Ch]:
3830         * LColor.[Ch]:
3831         * LyXAction.C:
3832         * Makefile.am:
3833         * MenuBackend.[Ch]:
3834         * bufferparams.[Ch]:
3835         * factory.C:
3836         * lfuns.h:
3837         * lyxfunc.C:
3838         * text3.C: implements the 'branch inset'
3839         idea. This allows the output of various versions of a document
3840         from a single source version, selectively outputing or suppressing
3841         output of parts of the text.
3842         This implementation contains a 'branch list editor' in a separate
3843         tab of the document settings dialog. Branches are user definable
3844         and have a "display colour" to distinguish them on-screen.
3845
3846         ColorHandler was somewhat cleaned up.
3847         (1) make possible a dynamically growing LColor list by allowing
3848         the graphic context cache to grow along (vector);
3849         (2) eliminate an IMHO unnecessary step in colour allocation.
3850
3851 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3852
3853         * BufferView_pimpl.C: compile fix
3854
3855 2003-08-15  André Pönitz  <poenitz@gmx.net>
3856
3857         * rowpainter.C: remove extra metrics calls
3858
3859         * lyxtext.h: merge the two constructors into a single one,
3860           pass reference to owner's par list
3861
3862         * BufferView_pimpl.C:
3863         * text.C:
3864         * text2.C: adjust
3865
3866 2003-08-15  André Pönitz  <poenitz@gmx.net>
3867
3868         * lyxrow_funcs.[Ch]:
3869         * lyxtext.h:
3870         * paragraph.h:
3871         * paragraph_funcs.C:
3872         * rowpainter.C:
3873         * text.C:
3874         * text2.C:
3875         * text3.C:
3876         * text_funcs.C: split LyXText::rowlist_ into individual
3877         Paragraph::rows_ chunks
3878
3879         * BufferView.[Ch]:
3880         * BufferView_pimpl.[Ch]:
3881         * lyxfind.C:
3882         * lyxtext.h:
3883         * text3.C: remove toggleSelection()
3884
3885 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3886
3887         * bufferlist.C: beautify two alerts (shorter text of buttons)
3888         * buffer.C: Remove redundant ' ' from message
3889         * tabular.h:
3890         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3891         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3892         rename VALIGN_CENTER to VALIGN_MIDDLE
3893
3894 2003-08-11  André Pönitz  <poenitz@gmx.net>
3895
3896         * lyxtext.h (getPar):
3897         * text.C: new function
3898
3899 2003-08-11  André Pönitz  <poenitz@gmx.net>
3900
3901         * Makefile.am:
3902         * tracer.[Ch]: remove unneeded files
3903
3904         * InsetList.[Ch]: remove resizeInsetsLyXText()
3905
3906         * lyxtext.h:
3907         * text.C:
3908         * text2.C:
3909         * text3.C: merge insertParagraphs() and appendParagraph()
3910         remove breakAgain(), update()
3911
3912         * BufferView_pimpl.[Ch]:
3913         * bufferview_funcs.[Ch]:
3914         * lyxfunc.C:
3915         * paragraph.[Ch]:
3916         * rowpainter.C:
3917         * tabular.C: adjust after text & InsetList changes.
3918
3919 2003-08-08  André Pönitz  <poenitz@gmx.net>
3920
3921         * text.C (insertChar, backspace): replace rowlist fiddling
3922         with rebreak of full par
3923
3924         * lyxtext.h:
3925         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3926         checkParagraph, updateInset): removed
3927
3928 2003-08-07  André Pönitz  <poenitz@gmx.net>
3929
3930         * paragraph.C:
3931         * text3.C: merge some LFUN handlers, remove dead code
3932
3933 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3934
3935         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3936
3937 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3938
3939         * text2.C (DEPM): fix part of bug 1255 and 1256
3940
3941 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3942
3943         * BufferView_pimpl.C (workAreaDispatch): change to use
3944         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3945         that are no mouse related.
3946
3947 2003-08-05  André Pönitz  <poenitz@gmx.net>
3948
3949         * BufferView.[Ch]:
3950         * BufferView_pimpl.[Ch]:
3951         * bufferview_funcs.C:
3952         * text2.C:
3953         * text3.C: rip out "deep update"
3954
3955         * textcursor.[Ch] (last_sel_cursor): remove unused member
3956
3957 2003-08-04  André Pönitz  <poenitz@gmx.net>
3958
3959         * BufferView.[Ch]:
3960         * BufferView_pimpl.[Ch]:
3961         * ParagraphParameters.C:
3962         * bufferview_funcs.C:
3963         * lyx_cb.C:
3964         * lyxfind.C:
3965         * lyxfunc.C:
3966         * text.C:
3967         * text2.C:
3968         * text3.C: replace "complicated" BufferView::update(...) calls with
3969         simpler ones.
3970
3971         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3972
3973 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3974
3975         * Makefile.am (lyx_SOURCES): add paper.h
3976
3977 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3978
3979         * Makefile.am: move things around so that both lyx-qt and
3980         lyx-xforms can be built (according to --with-frontend). Then lyx
3981         is a symbolic link to lyx-[firstfrontend]
3982
3983 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3984
3985         * Always use std::endl with lyxerr
3986
3987 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3988
3989         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3990
3991 2003-08-01  André Pönitz  <poenitz@gmx.net>
3992
3993         * BufferView.[Ch]:
3994         * BufferView_pimpl.[Ch]:
3995         * lyxfunc.C:
3996         * text3.C: merge BufferView::repaint() and BufferView::update()
3997
3998 2003-08-01  José Matos  <jamatos@lyx.org>
3999
4000         * buffer.[Ch]: file_format is no longer a buffer data element.
4001
4002 2003-08-01  André Pönitz  <poenitz@gmx.net>
4003
4004         * BufferView.C:
4005         * lyxtext.h:
4006         * text.C:
4007         * text2.C: make redoParagraph more independent of current cursor
4008
4009         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4010         * text.C:
4011         * text2.C: remove unneeded members
4012
4013 2003-07-30  André Pönitz  <poenitz@gmx.net>
4014
4015         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4016
4017         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4018           create a single function...
4019
4020         * paragraph_funcs.C (moveItem): ... here.
4021
4022         * text.C:
4023           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4024
4025 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4026
4027         * LColor.[Ch]: Add comment and greyedout logical colors.
4028
4029 2003-07-30  André Pönitz  <poenitz@gmx.net>
4030
4031         * tabular.C: don't use Assert too heavily. This crashes where it
4032           shouldn't
4033
4034 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4037         is disabled (bug 1232)
4038
4039 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4040
4041         * factory.C: limited 'arg' scope
4042
4043 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4044
4045         * factory.C: fixed Note submenu issues
4046
4047 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4048
4049         * factory.C: submenu for Note/Comment/Greyedout
4050
4051 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * lyx_main.C (LyX):
4054         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4055
4056 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4057
4058         * LaTeXFeatures.C:
4059         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4060         greyedout. Patch provided by Jürgen Spitzmüller.
4061
4062 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * kbmap.C (read): fix error message when reading bind files
4065
4066 2003-07-29  Angus Leeming  <leeming@lyx.org>
4067
4068         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4069         certainly does not do what it purports to do. I am doing it, and
4070         us, a favour by killing it.
4071
4072 2003-07-28  José Matos  <jamatos@lyx.org>
4073
4074         * buffer.C (readBody, do_writeFile):
4075         * paragraph.C(readParagraph): \end_document replaces \the_end.
4076
4077 2003-07-29  André Pönitz  <poenitz@gmx.net>
4078
4079         * BufferView.[Ch]:
4080         * BufferView_pimpl.[Ch]:
4081         * lyxfunc.C:
4082         * text2.C:
4083         * text3.C:
4084         * textcursor.[Ch]: remove toggleToggle & Co
4085
4086 2003-07-28  José Matos  <jamatos@fep.up.pt>
4087
4088         * buffer.C (readParagraph):
4089         * params_func (readParToken, readParagraph):
4090         * paragraph.C (write): \layout -> \begin_layout.
4091
4092 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * lyxlex_pimpl.C (setFile): clean up slightly.
4095
4096         * bufferparams.h: add compressed var
4097
4098         * buffer_funcs.C (readFile): adjust for LyXLex change
4099         (newFile): ditto + simplify
4100
4101         * buffer.C (writeFile): handle writing of compressed files
4102
4103         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4104         Check if the file is compressed and set a bufferparm if so.
4105
4106         * Makefile.am (lyx_LDADD): remove explicit -lz
4107
4108 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4109
4110         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4111         makeDocBookFile): put the real LyX version in the first line of
4112         the file
4113
4114         * version.h:
4115         * version.C.in: remove lyx_docversion
4116
4117         * tabular.C (write_attribute): add a template-based version to
4118         write enums properly
4119
4120 2003-07-28  André Pönitz  <poenitz@gmx.net>
4121
4122         * lyxtext.h:
4123         * text.C:
4124         * text2.C:
4125         * text3.C: use doubles again for x-coordinates. They are needed.
4126
4127 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * messages.C (getLocaleDir): use lyx_localedir()
4130
4131         * lyxlex_pimpl.C (setFile): compress stuff
4132
4133         * buffer.C (writeFile): add some compression stuff
4134         (do_writeFile): new func, dont call expliti close... will this
4135         breake anything?
4136
4137         * Makefile.am (lyx_LDADD): add -lz
4138
4139 2003-07-28  José Matos  <jamatos@fep.up.pt>
4140
4141         * buffer.C: increment file format.
4142         * paragraph_funcs (readParagraph, readParToken):
4143         * paragraph.C (readParagraph): add \end_layout.
4144
4145 2003-07-27  Angus Leeming  <leeming@lyx.org>
4146
4147         * Makefile.am: remove special casing for configure-time setting of
4148         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4149
4150         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4151         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4152
4153 2003-07-26  André Pönitz  <poenitz@gmx.net>
4154
4155         * paragraph_func.[Ch]:
4156         * paragraph.C (realizeFont): inline it whereever it is used
4157
4158         * rowpainter.C:
4159         * text.C:
4160         * text2.C:
4161         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4162
4163
4164 2003-07-26  André Pönitz  <poenitz@gmx.net>
4165
4166         *       lyxtext.h:
4167         * text.C:
4168         * text2.C: get rid of LyXText::need_break_row
4169
4170 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * toc.[Ch]: put namespace toc inside namespace lyx
4173
4174         * MenuBackend.C (expandToc2): adjust for lyx::toc
4175         (expandToc): ditto
4176
4177         * lyxfunc.C (dispatch): adjust for lyx::find
4178
4179         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4180         lyx::find instead. Reorganize a bit.
4181         (LyXReplace): rename to replace
4182         (LyXFind): rename to find
4183
4184         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4185         (dispatch): ditto
4186
4187 2003-07-26  André Pönitz  <poenitz@gmx.net>
4188
4189         * text.C (setHeightOfRow): restrict scope of temporary variable
4190
4191         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4192           code (never has been used?)
4193
4194 2003-07-27  Asger Alstrup  <alstrup@local>
4195
4196         * text.C (fill): Optimise algorithm to exploit that we can reuse
4197         the LyXFont for many characters.
4198         (setHeightOfRow): Same thing.
4199         (rowBreakPoint): Same thing.
4200
4201 2003-07-26  Asger Alstrup  <alstrup@local>
4202
4203         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4204
4205         * text.C (singleWidth): Spurious font copying in hot-spot
4206         singleWidth avoided. Reorder tests for arabic for efficiency.
4207
4208         * text.C (fill): handle empty paragraphs better.
4209
4210 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4211
4212         * ispell.C:
4213         * encoding.h: add includes
4214
4215         * lyxrc.C: remove reading of bind files
4216
4217         * lyx_main.C (init): setup bindings and menus only if we have a
4218         gui.
4219
4220         * kbmap.C (read): new method. Do the actual reading of bind
4221         files.
4222
4223         * converter.C (dvipdfm_options):
4224         * bufferparams.C:
4225         * lyxrc.C (read):
4226         (output): adapt PAPER_* enums.
4227
4228         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4229
4230         * bufferparams.h: remove paper-related enums from there
4231
4232         * paper.h: New file. A trivial header file to hold paper-related
4233         enums. It should later expand to contain many paper-related
4234         horrors access.
4235
4236         * lyxrc.C: declare extern displayTranslator
4237
4238 2003-07-27  José Matos  <jamatos@fep.up.pt>
4239
4240         * tabular.[Ch] (linuxdoc): add support for tables and figures
4241         (linuxdoc).
4242
4243 2003-07-27  José Matos  <jamatos@fep.up.pt>
4244
4245         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4246         consistency in both functions.
4247         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4248
4249 2003-07-26  Asger Alstrup  <alstrup@local>
4250
4251         * rowpainter.C (paintRows): Change algorithm to work directly on
4252         the insets rather than asking every character in the document
4253         whether its an inset.
4254
4255 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * buffer.C (openFileWrite): factorize some code
4258
4259 2003-07-26  Angus Leeming  <leeming@lyx.org>
4260
4261         * lyx_cb.C:
4262         * lyx_main.[Ch]: replace occurances of system_tempdir with
4263         os::getTmpDir().
4264
4265 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * rename Inset to InsetOld
4268
4269 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4270
4271         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4272         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4273         which I think is a bit clearer. EDIT is gone, since it was
4274         premature optimisation, and broken for mathed anyway.
4275         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4276         with cursor positioning in insets as well (math insets still do not
4277         work, but that's a different story anyway.) It mysteriously
4278         crashes sometimes with undo in the first paragraph, but I'm fairly
4279         confident that this is a compiler bug.
4280
4281 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4282
4283         * paragraph.C (Paragraph): adjust for new clone return type
4284         (operator==): ditto
4285         (copyIntoMinibuffer): ditto
4286
4287 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4288
4289         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4290         by not having a special case, and always doing a full rebreak of
4291         the document after undo.
4292
4293 2003-07-23  Angus Leeming  <leeming@lyx.org>
4294
4295         * factory.C (createInset): InsetExternal::setParams now takes a
4296         Buffer const * arg.
4297
4298 2003-07-23  Angus Leeming  <leeming@lyx.org>
4299
4300         * factory.C (createInset): changed interface to the external and
4301         graphics mailers' string2params functions.
4302
4303 2003-07-23  Angus Leeming  <leeming@lyx.org>
4304
4305         * factory.C (createInset): pass a
4306         Buffer const * parameter to InsetExternalMailer's string2params.
4307
4308 2003-07-22  John Levon  <levon@movementarian.org>
4309
4310         * Thesaurus.h: include the right aiksaurus header
4311
4312 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4313
4314         * MenuBackend.C (expand): check menu shortcuts unconditionally
4315
4316 2003-07-21  Angus Leeming  <leeming@lyx.org>
4317
4318         * factory.C (createInset): pass a
4319         buffer_path parameter to InsetGraphicsMailer's string2params.
4320
4321 2003-07-21  Angus Leeming  <leeming@lyx.org>
4322
4323         * BufferView_pimpl.C (buffer):
4324         * buffer.C (d-tor):
4325         * lyx_main.C (LyX):
4326         * lyxfunc.C (dispatch):
4327         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4328         rather than the grfx shortcut.
4329
4330 2003-07-21  André Pönitz  <poenitz@gmx.net>
4331
4332         * rowpainter.C: remove unused variables
4333
4334         * tabular_funcs.C:
4335         * tabular_funcs.h: move to tabular.C
4336         * Makefile.am: adjust
4337
4338         * tabular.[Ch]: basic optical cleaning
4339
4340         * author.h: pass references, not values
4341
4342 2003-07-18  André Pönitz  <poenitz@gmx.net>
4343
4344         * lyxtext.h:
4345         * metricsinfo.C:
4346         * metricsinfo.h:
4347         * rowpainter.C:
4348         * text.C:
4349         * text2.C:
4350         * text3.C: two-phase drawing for InsetText and InsetTabular
4351         some float -> int changes.
4352
4353 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4354
4355         * lyx_main.C: fix the fix
4356
4357 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * lyx_main.C: fix a crash in batch mode if no files specified
4360         * converter.C: ws
4361
4362 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * format.[Ch] (papersize): moved to BufferParams
4365         * converter.[Ch] (dvips_options): moved to BufferParams
4366         (dvipdfm_options): moved to anon namespace
4367         * bufferparams.[Ch]: added above functions.
4368
4369 2003-07-17  André Pönitz  <poenitz@gmx.net>
4370
4371         * lyxtext.h:
4372         * rowpainter.C:
4373         * text2.C: don't call inset->update() anymore
4374
4375         * metricsinfo.[Ch]: add convenience constructor
4376
4377 2003-07-16  André Pönitz  <poenitz@gmx.net>
4378
4379         * lyxcursor.[Ch]:
4380         * lyxfunc.[Ch]:
4381         * text.C:
4382         * text2.C: replace the LyXCursor::irow_ member with
4383          on-demand computation of the value
4384
4385 2003-07-16  John Levon  <levon@movementarian.org>
4386
4387         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4388
4389 2003-07-15  André Pönitz  <poenitz@gmx.net>
4390
4391         * text.C:
4392         * text2.C: remove no more needed refresh_row
4393
4394 2003-07-15  André Pönitz  <poenitz@gmx.net>
4395
4396         * lyxtext.h:
4397         * rowpainter.C:
4398         * text2.C:
4399         * text3.C: refresh_status tristate -> need_update bool
4400
4401 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * lyxtext.h (init): remove reinit argument (act as if always true)
4404         * text2.C: adjust to that
4405
4406 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4407
4408         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4409         * text3.C: use it to delete selections in some cases
4410         (bugs 441, 673, 702, 954).
4411
4412 2003-07-14  André Pönitz  <poenitz@gmx.net>
4413
4414         * rowpainter.[Ch]: reduce interface
4415
4416 2003-07-14  André Pönitz  <poenitz@gmx.net>
4417
4418         * BufferView_pimpl.C:
4419         * text2.C: adjust after removing unused BufferView * argument
4420
4421 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * text2.C (init): fix a crash fired on resize
4424
4425 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * buffer.[Ch]: added new closing signal
4428         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4429         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4430         BufferView::Pimpl via the closing the signal
4431
4432 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * buffer.[Ch]: take out all bv-related from buffer
4435         * BufferView.C:
4436         * BufferView_pimpl.[Ch]: connect to new signals
4437         * CutAndPaste.C: removed useless asserts
4438         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4439         * lyxvc.[Ch]:
4440         * vc-backend.[Ch]:
4441         * lyxfunc.C: moved view-related funciontality from vc here
4442         * paragraph.C: removed outdated comments
4443         * text.C: ws
4444
4445 2003-07-10  André Pönitz  <poenitz@gmx.net>
4446
4447         * BufferView_pimpl.C:
4448         * tabular.h:
4449         * tabular_funcs.C:
4450         * text.C:
4451         * text2.C: remove InsetText::InnerCache, clean up consequences
4452
4453 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4454
4455         * ispell.C: fix two typos in error messages
4456
4457 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4458
4459         * Extend Note inset to other forms of annotation like Comment
4460         and Greyedout. Right button click gives dialog.
4461
4462         Files modified or added (+):
4463
4464         * insetnote.[Ch]
4465         * FormNote.[Ch]      +
4466         * ControlNote.[Ch]   +
4467         * form_note.fd       +
4468         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4469         frontends/controllers
4470         * xforms/Dialogs.C
4471         * factory.C
4472
4473 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4474
4475         * aspell.C: add missing namespace lyx::support
4476
4477 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * BufferView.[Ch] (newFile): Add
4480         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4481         * LaTeX.[Ch] (message): added this signal and use it
4482         * buffer.[Ch] (busy, message): added these signals and use them
4483         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4484         * converter.C:
4485         * exporter.C:
4486         * format.C:
4487         * importer.C: use buffer signals instead of direct bv calling
4488         * lyx_cb.[Ch] (ShowMessage): removed
4489         * lyx_main.C:
4490         * lyxfunc.C:
4491         * paragraph_funcs.C:
4492         * text2.C: use buffer signals
4493
4494 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * introduce namespace lyx::graphics
4497
4498 2003-07-02  André Pönitz  <poenitz@gmx.net>
4499
4500         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4501
4502 2003-07-01  André Pönitz  <poenitz@gmx.net>
4503
4504         * text.C:
4505         * text2.C:
4506         * text3.C:
4507         * text_funcs.[Ch]:
4508         * textcursor.h:
4509         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4510           text*.C to text_func.C
4511
4512 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4513
4514         * introduce namespace lyx::support
4515
4516 2003-06-30  André Pönitz  <poenitz@gmx.net>
4517
4518         * Chktex.C:
4519         * funcrequest.C:
4520         * lyxtext.h:
4521         * text.C: re-enable --with-included-string
4522
4523 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * textcursor.C: add <config.h>
4526
4527         * text.C (getWord): remove const from word_location arg
4528
4529         * lyxvc.C (getLogFile): fix const type order
4530
4531         * lyxtext.h: remove const from word_location arg, add arg name
4532
4533         * lyxlayout.h: currect type on labeltype.
4534
4535         * importer.C: correct \file
4536
4537         * converter.C (intToFormat): use std:: on ret val, ws changes
4538
4539         * bufferlist.h: correct \file
4540
4541         * buffer.C (makeLinuxDocFile): fix const type order
4542         (makeDocBookFile): ditto
4543         (fillWithBibKeys): use std:: on stdlib args.
4544
4545         * CutAndPaste.C: fix authors.
4546         (availableSelections): use std:: on return vector
4547
4548 2003-06-27  André Pönitz  <poenitz@gmx.net>
4549
4550         * BufferView_pimpl.C:
4551         * bufferview_funcs.C:
4552         * lyxcursor.C:
4553         * lyxcursor.h:
4554         * lyxfunc.C:
4555         * lyxtext.h:
4556         * rowpainter.C:
4557         * text.C:
4558         * text2.C:
4559         * text3.C: remove LyXCursor::row_ member
4560
4561         * lyxtext.h:
4562         * text.C: rename fullRebreak() to partialRebreak() and implement
4563           a fullRebreak() that really bereks fully
4564
4565         * textcursor.h: new struct for cursor-related data
4566
4567 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4568
4569         * lyx_main.C (LyX): get full path of document loaded on the
4570         command line
4571
4572 2003-06-26  André Pönitz  <poenitz@gmx.net>
4573
4574         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4575           remove unused/broken operator>,<,>=.
4576
4577         *       text.C: remove only use of broken operator<= in an Assert().
4578
4579 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4580
4581         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4582         moved errorlist_.clear to showErrorList
4583
4584 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4585
4586         * converter.C (scanLog, runLaTeX):
4587         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4588         move the bv->showErrorList call to the callers
4589         * lyxfunc.C: i.e. here...
4590         * text2.C: and here
4591         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4592         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4593         namespace, the second to...
4594         * buffer_funcs (BufferFormat, parseErrors): added
4595         * errorlist.C (ErrorList(TeXErrors const &)): removed
4596
4597 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4598
4599         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4600
4601 2003-06-24  "Garst R. Reese" <reese@isn.net>
4602
4603         * debug.C: fix typo
4604
4605 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4606
4607         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4608
4609         * version.C.in: change docversion to 1.4
4610
4611 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * buffer.C: fix a bug just introduced
4614
4615 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * buffer.[Ch]: added the parseError signal and use it, removed
4618         sgmlError
4619         * BufferView.[Ch] (addError): moved to ...
4620         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4621         to the Buffer::parseError signal to catch (guess what) parse errors
4622         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4623
4624 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4627         ability to create a buffer and to return an existing one from
4628         the list. Moved these functions to...
4629         * buffer_funcs.[Ch]: added
4630         * BufferView.[Ch] (loadLyXFile): added
4631         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4632         job removed from bufferlist::loadLyXFile.
4633         * buffer.C (setReadOnly): make it work without view
4634         (i.e added an if (users))
4635
4636 2003-06-19  Angus Leeming  <leeming@lyx.org>
4637
4638         * lfuns.h:
4639         * LyXAction.C (init):
4640         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4641         with LFUN_DIALOG_SHOW <name> <data>.
4642
4643 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4644
4645         * CutAndPaste.C (availableSelections): small compilation fix for
4646         ancient (gcc 2.9x) compilers
4647
4648 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * text3.C (cursorNext): add tmp var
4651
4652         * text2.C (updateCounters): for function calling out of for clause
4653         (replaceSelectionWithString): ditto
4654         (insertStringAsParagraphs): ditto
4655         (getColumnNearX): add tmp var
4656         (setCursorFromCoordinates): add tmp var
4657         (cursorDownParagraph): add tmp var
4658         (deleteEmptyParagraphMechanism): add tmp var
4659
4660         * text.C (insertChar): add tmp var
4661
4662         * rowpainter.C (paintDepthBar): add tmp var
4663
4664         * CutAndPaste.C (availableSelections): potentially check all
4665         paragraphs in a cut to fill the shown strings.
4666
4667 2003-06-18  André Pönitz  <poenitz@gmx.net>
4668
4669         * kbmap.[Ch]: use vector<> instead of list<>
4670
4671 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4672
4673         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4674         pasteSelection with index
4675
4676         * text2.C (pasteSelection): modify, call pasteSelection with index
4677
4678         * paragraph.C (asString): reimplement version with no interval to
4679         call the one with interval.
4680
4681         * lyxtext.h: add index arg to pasteSelection
4682
4683         * MenuBackend.C (MenuItem): handle PasteRecent
4684         (Menu::read::Menutags): add md_pasterecent
4685         (read): handle it
4686         (expandPasteRecent): new function
4687         (expand): use it
4688
4689         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4690
4691         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4692         the limited stack
4693         (availableSelections): new function
4694
4695 2003-06-17  Angus Leeming  <leeming@lyx.org>
4696
4697         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4698
4699 2003-06-17  Angus Leeming  <leeming@lyx.org>
4700
4701         * lfuns.h:
4702         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4703
4704         * lyxfunc.C (dispatch): invoke it.
4705
4706 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4707
4708         * iterators.C (operator++, ParPosition): reintroduce some
4709         const_cast for the benefit of older compilers.
4710
4711 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4712
4713         * text3.C (dispatch): do not modify clipboard when doing
4714         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4715         LFUN_DELETE_SKIP on a selection selection
4716
4717 2003-06-16  André Pönitz  <poenitz@gmx.net>
4718
4719         * BufferView.C:
4720         * buffer.C:
4721         * buffer.h:
4722         * paragraph.C:
4723         * tabular.[Ch]: IU of clone() and getLabelList();
4724
4725 2003-06-13  André Pönitz  <poenitz@gmx.net>
4726
4727         * tabular.h: compactification
4728
4729 2003-06-12  André Pönitz  <poenitz@gmx.net>
4730
4731         * tabular.C:
4732         * tabular.h:
4733         * tabular_funcs.h: some renaming plus whitespace
4734
4735 2003-06-12  André Pönitz  <poenitz@gmx.net>
4736
4737         * BufferView.C:
4738         * BufferView_pimpl.C:
4739         * CutAndPaste.C:
4740         * buffer.C:
4741         * iterators.[Ch]:
4742         * lyxfunc.C:
4743         * text.C:
4744         * toc.C: Return a Paragraph & for ParIterator::operator*()
4745
4746 2003-06-11  John Levon  <levon@movementarian.org>
4747
4748         * lyx_main.C:
4749         * ToolbarBackend.h:
4750         * ToolbarBackend.C: add "Toolbars" section and
4751         put the flags there
4752
4753 2003-06-10  Angus Leeming  <leeming@lyx.org>
4754
4755         * lfuns.h:
4756         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4757
4758         * lyxfunc.C (dispatch): invoke it.
4759
4760 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * main.C: protect <ios> with HAVE_IOS
4763         (main): protect sync_with_stdio with HAVE_IOS
4764
4765 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4766
4767         * text2.C (cutSelection): adjust
4768         (pasteSelection): adjust
4769
4770         * messages.C: handle get of empty string
4771
4772         * main.C (main): use sync_with_stdio(false)
4773
4774         * lyxfunc.C (dispatch): adjust
4775
4776         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4777         (WriteAs): remove unneeded BufferView arg.
4778
4779         * bufferparams.h: use correct types on papersize, papersize2 and
4780         paperpackage.
4781
4782         * bufferparams.C (readToken): adjust for type
4783         (writeLaTeX): add missing cases to switch.
4784
4785         * bufferlist.C (quitWriteBuffer): adjust
4786         (close): adjust
4787
4788         * buffer.C (asciiParagraph): remove some commented code.
4789
4790         * CutAndPaste.C: remove current_view extern variable.
4791         (cutSelection): add BufferParams arg.
4792         (eraseSelection): add BufferParams arg.
4793         (pasteSelection): add Buffer const & arg
4794
4795 2003-06-07  John Levon  <levon@movementarian.org>
4796
4797         * buffer.C:
4798         * paragraph_funcs.C:
4799         * paragraph_pimpl.C:
4800         * text.C:
4801         * text2.C:
4802         * paragraph.h:
4803         * paragraph.C: allow InsetERT to freely space lines,
4804         and some consolidation of code
4805
4806 2003-06-06  José Matos  <jamatos@fep.up.pt>
4807
4808         * buffer.C (makeDocBookFile): fix bug #821
4809
4810 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4813
4814 2003-06-04  Angus Leeming  <leeming@lyx.org>
4815
4816         * buffer.C: bump format to 224.
4817
4818 2003-06-05  André Pönitz  <poenitz@gmx.net>
4819
4820         * text2.C (redoParagraphs): remove two const_cast<>
4821
4822 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4823
4824         * ParagraphList.h: remove last remnants of NO_STD_LIST
4825
4826 2003-06-03  Angus Leeming  <leeming@lyx.org>
4827
4828         * factory.C (createInset): small change to the way InsetExternal's params
4829         are set.
4830
4831 2003-06-04  André Pönitz  <poenitz@gmx.net>
4832
4833         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4834
4835         * paragraph_pimpl.h:
4836         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4837
4838         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4839
4840         * undo_funcs.C: make some simple cases of undo work again
4841
4842 2003-06-03  John Levon  <levon@movementarian.org>
4843
4844         * ispell.C: HPUX doesn't have sys/select.h
4845         (from Albert Chin)
4846
4847 2003-06-03  John Levon  <levon@movementarian.org>
4848
4849         * CutAndPaste.C: update tabular and include inset
4850         buffer references
4851
4852         * buffer.h:
4853         * paragraph.h:
4854         * paragraph.C: remove owningBuffer(), don't pass Buffer
4855         to clone()
4856
4857         * factory.C: insetGraphicsParams changed
4858
4859 2003-06-02  John Levon  <levon@movementarian.org>
4860
4861         * LyXAction.C:
4862         * factory.C:
4863         * lfuns.h:
4864         * lyxfunc.C:
4865         * text3.C: remove insetparent
4866
4867 2003-06-02  John Levon  <levon@movementarian.org>
4868
4869         * buffer.h:
4870         * buffer.C: fix inset_iterator.end(), move out of line
4871         (bug 1149)
4872
4873 2003-06-01  John Levon  <levon@movementarian.org>
4874
4875         * text3.C: use a proper cut/paste when doing inset
4876         insert (from Jürgen Spitzmüller)
4877
4878 2003-06-01  John Levon  <levon@movementarian.org>
4879
4880         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4881
4882 2003-05-30  André Pönitz  <poenitz@gmx.net>
4883
4884         * rowpainter.C: unify second drawing phase
4885
4886 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * trans_mgr.C: remove one case of current_view
4889
4890         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4891
4892         * paragraph_funcs.h: remove paragraph.h include
4893
4894         * paragraph.h: delete NO_STD_LIST stuff
4895
4896         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4897
4898         * buffer.h: remove paragraph.h include
4899
4900         * ParagraphList.C: delete file
4901
4902         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4903
4904         * toc.C (getTocList): adjust
4905
4906         * paragraph_pimpl.C (validate): adjust
4907
4908         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4909
4910         * paragraph.C (Paragraph): adjust
4911         (getPositionOfInset): use const_iterator, adjust
4912         (bibitem): use const_iterator, adjust
4913         (setInsetOwner): adjust
4914
4915         * iterators.C (operator++): adjust
4916
4917         * InsetList.[Ch]: Replace selfmade iterator with standard
4918         vector::iterator also introduce const_iterator. Remove getPos,
4919         getInset and setInset from InsetTable. Adjust accordingly.
4920
4921         * BufferView.C (lockInset): adjust
4922         (ChangeInsets): adjust
4923
4924         * tabular.[Ch]: delete commented same_id functions
4925
4926 2003-05-28  John Levon  <levon@movementarian.org>
4927
4928         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4929
4930 2003-05-28  André Pönitz  <poenitz@gmx.net>
4931
4932         * metricsinfo.[Ch]: remove 'fullredraw' member
4933
4934 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4935
4936         * lyxtextclass.C (operator): remove caching.
4937
4938 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * text3.C: adjust
4941
4942         * text2.C (cursorBottom): adjust
4943         (setCounter): use ParagraphList::find, adjust
4944
4945         * text.C (workWidth): use ParagraphList::find, adjust
4946
4947         * lyxcursor.C (LyXCursor): adjust
4948
4949         * buffer.C (inset_iterator): adjust
4950
4951         * ParagraphList.h: make iterator(value_type) private, make
4952         ParagraphList a friend of iterator.
4953
4954         * ParagraphList.C (find): new function
4955
4956         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4957
4958 2003-05-27  André Pönitz  <poenitz@gmx.net>
4959
4960         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4961
4962 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4963
4964         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4965
4966 2003-05-26  John Levon  <levon@movementarian.org>
4967
4968         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4969
4970 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * remove same_id from function signatures, adjust.
4973
4974 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4977
4978         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4979
4980         * paragraph.C (Paragraph): get rid of same_ids parameter
4981
4982         * ParagraphList.C (insert): adjust
4983         (push_back): adjust
4984
4985 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * paragraph_funcs.C (breakParagraph): adjust
4988         (breakParagraphConservative): adjust
4989
4990         * buffer.C (readParagraph): adjust
4991
4992         * ParagraphList.C (insert): take a reference instead of a pointer
4993         (insert): adjust
4994
4995         * paragraph.[Ch] (id): new function
4996
4997         * bufferlist.C (newFile): adjust
4998
4999         * ParagraphList.C (ParagraphList): adjust
5000         (assign): adjust
5001         (push_back): take a reference instead of a pointer.
5002
5003         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5004
5005         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5006         instead.
5007
5008         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5009         set else use old code.
5010
5011         * ParagraphList.C: remove all NO_NEXT code and only compile this
5012         code of NO_STD_LIST is set.
5013
5014 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5015
5016         * BufferView_pimpl.C:
5017         * TextCache.C:
5018         * TextCache.h:
5019         * bufferlist.C:
5020         * errorlist.h:
5021         * format.C:
5022         * format.h:
5023         * graph.C:
5024         * lyxfunc.C:
5025         * lyxrc.C:
5026         * graphics/GraphicsConverter.C:
5027         * graphics/PreviewLoader.C: header adjustment
5028
5029 2003-05-23  Angus Leeming  <leeming@lyx.org>
5030
5031         * LaTeXFeatures.[Ch] (useBabel): new method.
5032         * bufferparams.C (writeLaTeX): use it.
5033
5034 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * ParagraphList.h (set): remove unused function.
5037
5038 2003-05-23  André Pönitz  <poenitz@gmx.net>
5039
5040         * BufferView.C:
5041         * BufferView_pimpl.C:
5042         * buffer.C:
5043         * buffer.h:
5044         * lyxfunc.C:
5045         * undo_funcs.C: setUndo reworked
5046
5047         * iterators.[Ch]: add access to topmost ParagraphList
5048
5049         * lyxtext.[Ch] (workWidth): add a const
5050
5051 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * texrow.[Ch] (increasePos): remove function
5054         * exporter.C (export): removed unused var and outdated comment
5055
5056 2003-05-23  Angus Leeming  <leeming@lyx.org>
5057
5058         * latexrunparams.h: rename fragile as moving_arg.
5059         * paragraph.C (simpleTeXOnePar): ditto.
5060         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5061
5062 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5065         (createUndo): ditto
5066         (textUndoOrRedo): comment out a currently unused var.
5067
5068         * paragraph.h (NO_NEXT): enable NO_NEXT
5069
5070         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5071
5072         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5073
5074         * exporter.C (Export): adjust for removeAutoInsets removal.
5075
5076         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5077
5078         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5079
5080         * BufferView.[Ch] (removeAutoInsets): delete function
5081
5082 2003-05-22  Angus Leeming  <leeming@lyx.org>
5083
5084         * latexrunparams.h: add a free_spacing variable.
5085
5086         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5087         to pass moving_arg, as the data is stored in runparams.fragile.
5088
5089         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5090         to Inset::latexOptional or to simpleTeXOnePar.
5091
5092         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5093         free_spacing arg to Inset::latexOptional.
5094
5095         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5096         free_spacing arg.
5097
5098 2003-05-22  Angus Leeming  <leeming@lyx.org>
5099
5100         * latexrunparams.h: add fragile and use_babel variables.
5101
5102         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5103         * buffer.C (makeLaTeXFile): store this returned value in
5104         runparams.use_babel, thus passing it to the inset::latex methods.
5105
5106         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5107         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5108
5109         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5110         longer has a fragile arg, as it is stored in runparams.fragile.
5111
5112         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5113         moving_arg parameter as the data is stored in runparams.fragile.
5114
5115         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5116         a fragile parameter as the data is stored in runparams.fragile.
5117
5118 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5121
5122 2003-05-22  Angus Leeming  <leeming@lyx.org>
5123
5124         * latexrunparams.h: add a 'bool nice' which defaults to false.
5125
5126         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5127         now encapsulated within runparams.
5128
5129         * bufferlist.C (updateIncludedTeXfiles):
5130         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5131
5132 2003-05-22  Angus Leeming  <leeming@lyx.org>
5133
5134         * latexrunparams.h: new file containing struct LatexRunParams.
5135         * Makefile.am: add new file.
5136
5137         * LaTeX.[Ch] (c-tor, run):
5138         * buffer.[Ch] (makeLaTeXFile):
5139         * bufferlist.[Ch] (updateIncludedTeXfiles):
5140         * converter.C (convert, scanLog):
5141         * converter.[Ch] (runLaTeX):
5142         * exporter.C (Export):
5143         * paragraph.[Ch] (simpleTeXOnePar):
5144         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5145         * paragraph_funcs.[Ch] (latexParagraphs):
5146         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5147         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5148         pass around a LatexRunParams parameter.
5149
5150 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * paragraph.[Ch]: remove unused constructor
5153
5154         * ParagraphList.C (erase): new function, taking two iterators
5155
5156 2003-05-22  André Pönitz  <poenitz@gmx.net>
5157
5158         * undo_funcs.C: remove duplicated code
5159
5160         * iterator.[Ch]: operator=
5161
5162 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * tabular.C (SetMultiColumn): ws changes
5165
5166         * rowpainter.C (paintFirst): get rid of a ->previous
5167
5168         * lyx_cb.C (getPossibleLabel): parlist simplification
5169
5170         * BufferView.C (ChangeInsets): simplify slightly.
5171
5172 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5173
5174         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5175         * lfuns.h: new LFUN_SPACE
5176         * lyxfunc.C: protected space has a new lfun
5177         * paragraph_funcs.C: read new space insets
5178         * text3.C:
5179         * factory.C: handle new space insets
5180
5181 2003-05-22  André Pönitz  <poenitz@gmx.net>
5182
5183         * BufferView.C:
5184         * BufferView_pimpl.C:
5185         * buffer.[Ch]:
5186         * lyxfunc.C:
5187         * undo_funcs.C: return a ParIterator from getParFromID.
5188
5189         * iterators.[Ch]: add two const's
5190
5191 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * toc.C (getTocList): adjust
5194
5195         * iterators.[Ch]: rework for parlist
5196
5197         * buffer.C (par_iterator_begin): adjust
5198         (par_iterator_end): adjust
5199
5200         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5201
5202         * BufferView.C (removeAutoInsets): adjust
5203         (ChangeInsets): adjust
5204
5205 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * text.C (top_y): fix bug 1110
5208
5209 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * errorlist.[Ch]: added
5212         * buffer.C:
5213         * BufferView.[Ch]:
5214         * BufferView_pimpl.C:
5215         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5216         instead
5217
5218 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * Makefile.am: ensure that lyx is relinked upon changes to the
5221         various "convenience" libs.
5222
5223 2003-05-20  Angus Leeming  <leeming@lyx.org>
5224
5225         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5226         files are compiled in alphabetical order again.
5227
5228         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5229
5230 2003-05-19  Angus Leeming  <leeming@lyx.org>
5231
5232         * gettext.[Ch]: remove "char const * _(char const *)".
5233
5234 2003-05-19  André Pönitz  <poenitz@gmx.net>
5235
5236         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5237
5238         * Makefile.am:
5239         * BufferView.C:
5240         * DepTable.h:
5241         * LaTeXFeatures.C:
5242         * buffer.C:
5243         * lyxfont.C:
5244         * lyxlex.h:
5245         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5246
5247 2003-05-19  André Pönitz  <poenitz@gmx.net>
5248
5249         * buffer.C:
5250         * lyxlayout.[Ch]:
5251         * lyxtextclass.[Ch]:
5252         * paragraph.C:
5253         * paragraph_funcs.[Ch]:
5254         * text2.C:
5255         * text3.C: more insetenv work
5256
5257 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * ParagraphParameters.C (params2string): small bug fixed
5260
5261 2003-05-16  André Pönitz  <poenitz@gmx.net>
5262
5263         * debug.C:
5264         * bufferview_funcs.C: patch from Kornel Benko to prevent
5265           crash when _(...) is called twice in a statement
5266
5267 2003-05-16  André Pönitz  <poenitz@gmx.net>
5268
5269         * BufferView.C:
5270         * lyxfunc.C:
5271         * text.C:
5272         * text2.C:
5273         * text3.C:
5274         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5275
5276 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * lyx_main.C (init): remove spurious static_cast
5279
5280 2003-05-14  André Pönitz  <poenitz@gmx.net>
5281
5282         * BufferView.C: fix format string
5283
5284 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * BufferView.[Ch] (insertErrors): removed
5287         * BufferView.[Ch] (showErrorList): added
5288         * buffer.C (runChkTeX):
5289         * converter.C (scanLog): call showErrorList instead of inserterrors
5290
5291 2003-05-13  André Pönitz  <poenitz@gmx.net>
5292
5293         * BufferView_pimpl.C:
5294         * buffer.C:
5295         * bufferview_func.C:
5296         * MenuBackend.C:
5297         * lyxfunc.C:
5298         * lyxrc.C:
5299         * tex-accent.C:
5300         * text3.C:
5301         * toc.C:
5302         * tabular_funcs.h: tostr() from its own header
5303
5304         * ParagraphParameters.C:
5305         * ToolbarBackend.C:
5306         * bufferparams.C:
5307         * format.C:
5308         * lyxlex_pimpl.C:
5309         * text3.C: STRCONV()
5310
5311 2003-05-12  André Pönitz  <poenitz@gmx.net>
5312
5313         * BufferView.C:
5314         * BufferView_pimpl.C:
5315         * CutAndPaste.C:
5316         * LaTeX.C:
5317         * LaTeXFeatures.C:
5318         * ParagraphParameters.C:
5319         * buffer.C:
5320         * bufferlist.C:
5321         * bufferparams.C:
5322         * bufferview_funcs.C:
5323         * converter.C:
5324         * counters.C:
5325         * debug.C:
5326         * exporter.C:
5327         * format.C:
5328         * importer.C:
5329         * lyx_cb.C:
5330         * lyx_main.C:
5331         * lyxfont.C:
5332         * lyxfunc.C:
5333         * lyxvc.C:
5334         * paragraph.C:
5335         * paragraph_funcs.C:
5336         * tabular.C:
5337         * tabular_funcs.C:
5338         * text2.C:
5339         * text3.C:  boost::format -> bformat  all over the place
5340
5341
5342 2003-05-09  André Pönitz  <poenitz@gmx.net>
5343
5344         * LColor.[Ch]: Pimpl the #include <map> away
5345
5346 2003-05-09  John Levon  <levon@movementarian.org>
5347
5348         * bufferlist.C: never remove emergency saves
5349
5350 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * Makefile.am: better lib building
5353
5354 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5357         instead.
5358         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5359         (simpleTeXSpecialChars): adjust
5360         (simpleTeXSpecialChars): adjust
5361         * paragraph.C (simpleTeXOnePar): adjust
5362         * buffer.C (makeLaTeXFile): adjust
5363
5364         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5365
5366         * text2.C (changeDepth): parlist cleanup
5367         (getColumnNearX): ditto
5368
5369         * rowpainter.C (getLabelFont): parlist cleanup
5370
5371         * bufferlist.C (newFile): parlist cleanup
5372
5373         * CutAndPaste.C (eraseSelection): parlist cleanup
5374
5375         * BufferView_pimpl.C (trackChanges): parlist cleanup
5376         (dispatch): ditto
5377
5378         * BufferView.C (lockInset): parlist cleanup.
5379         (ChangeInsets): ditto
5380
5381 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * CutAndPaste.h: Update file header.
5384
5385         * CutAndPaste.C: Update file header.
5386         Store the parts cut out of the Document in a limited_stack.
5387         (copySelection): adjust
5388         (pasteSelection): new function, takes the index in the limited stack.
5389         (nrOfParagraphs): adjust
5390         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5391         simplify error inset insertion.
5392         (checkPastePossible): adjust
5393
5394 2003-05-06  John Levon  <levon@movementarian.org>
5395
5396         * text2.C: don't cast wrap inset to float
5397
5398 2003-05-05  André Pönitz  <poenitz@gmx.net>
5399
5400         * iterator.C:
5401         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5402
5403         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5404           few naked Paragraph *.
5405
5406 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5407
5408         * bufferparams.C: Output warning if a document with missing
5409         TeX document class is loaded
5410         * exporter.C: Disable TeX exports if the document class is missing
5411         * lyxtextclass.C:
5412         * lyxtextclass.h:
5413         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5414         isTeXClassAvailable()
5415
5416 2003-05-03  John Levon  <levon@movementarian.org>
5417
5418         * BufferView.h:
5419         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5420         explicit cursor show/hide
5421
5422         * BufferView_pimpl.h:
5423         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5424         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5425
5426         * lyxfunc.C: hide cursor before dispatching.
5427
5428         * lyx_cb.C:
5429         * lyxfind.C:
5430         * text.C:
5431         * text3.C: remove explicit cursor hides
5432
5433 2003-05-02  André Pönitz  <poenitz@gmx.net>
5434
5435         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5436
5437         * undo_funcs.C:
5438         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5439           linked lists
5440
5441         * text2.C: tiny whitespace
5442
5443 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * undo_funcs.C: almost only ws changes.
5446
5447         * ParagraphList.C (splice): just return if pl is empty.
5448
5449 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * ParagraphList.C (splice): new function.
5452
5453         * CutAndPaste.C (pasteSelection): use it
5454
5455 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * CutAndPaste.C (pasteSelection): remove the last next and
5458         previous from this file.
5459
5460 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * CutAndPaste.C (pasteSelection): more clean up, user proper
5463         ParagraphList functions for pasteing.
5464
5465         * ParagraphList.C (insert): new function, three arg insert
5466
5467 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * ParagraphList.C (insert): new function, three arg insert
5470
5471         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5472         not on paragraphs.
5473
5474 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5477
5478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5481
5482 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5485         (copySelection): clean up a bit.
5486         (pasteSelection): use make_pair
5487
5488         * ParagraphList.C (ParagraphList): implement copy constructor
5489         (operator=): implement, base on copy constructor.
5490         (assign): new func
5491
5492         * paragraph.C (erase): return a bool
5493
5494         * paragraph_pimpl.C (erasePos): remove function, move contents...
5495         (erase): ... here. Return a bool.
5496         (erase): call erase instead of erasePos.
5497
5498 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * ParagraphList.h: define PitPosPair
5501         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5502         ParagraphList, fix a bug on pasting multiple pars
5503         * text2.C: change interface to C&P
5504
5505 2003-04-30  André Pönitz  <poenitz@gmx.net>
5506
5507         * undo_func.C: revert part of yesterday's patch 2
5508
5509 2003-04-30  John Levon  <levon@movementarian.org>
5510
5511         * LColor.C: s/tabular/table/
5512
5513 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * text3.C (dispatch): do not convert iterator -> pointer
5516         * undo_funcs.C (setCursorParUndo): ditto
5517         * text_funcs.C (transposeChars): ditto
5518
5519         * text2.C (setLayout): ws changes only
5520
5521         * text.C (breakParagraph): do not convert iterator -> pointer
5522         (insertChar): ditto
5523         (acceptChange): ditto
5524         (rejectChange): ditto
5525         (changeCase): ditto
5526         (Delete): ditto
5527         (backspace): ditto
5528
5529         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5530         pointer
5531
5532 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5533
5534         * text3.C (gotoInset): YABG (yet another bad getChar)
5535
5536 2003-04-29  André Pönitz  <poenitz@gmx.net>
5537
5538         * paragraph.h: make operator= private unimplemented as long as
5539           it is unusable
5540
5541         * ParagraphList.C: whitespace
5542
5543         * paragraph.[Ch]:
5544         * paragraph_pimpl.[Ch]:
5545         * paragraph_funcs.C:
5546         * CutAndPaste.C:
5547         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5548
5549         * text2.C:
5550           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5551
5552 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5555         * paragraph.[Ch] (erase):
5556         * paragraph_pimpl.[Ch] (erase): change return type and value
5557         * text2.C (cutSelection): some rework
5558
5559 2003-04-28  John Levon  <levon@movementarian.org>
5560
5561         * bufferlist.C: changes for unsaved changes dialog
5562
5563 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * bufferlist.C (newFile): set language (messages_) for new
5566         documents also.
5567
5568         * buffer.C (readFile): ws changes only.
5569
5570 2003-04-28  André Pönitz  <poenitz@gmx.net>
5571
5572         * undo_funcs.C:
5573         * lyxfunc.C:
5574         * buffer.[Ch]:
5575         * BufferView_pimpl.C:
5576         * BufferView.C: getParFromID related ParagraphList::iterator changes
5577
5578 2003-04-28  André Pönitz  <poenitz@gmx.net>
5579
5580         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5581           Changes
5582
5583 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * messages.C: remove one more localedir class variable.
5586
5587 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5588
5589         * messages.C (getLocaleDir): singleton generation function
5590         (Pimpl): use it.
5591         (Messages): add a default constructor.
5592
5593         * main.C (main): do not setup localedir here, do not call
5594         gettext_init.
5595
5596         * gettext.C (_): use it.
5597         (gettext_init): delete funciton
5598
5599 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * gettext.C (getLyXMessages): new singleton generating function.
5602
5603         * buffer.C (updateDocLang): adjust
5604
5605         * Makefile.am (messages.o): add target
5606         (main.o): remove target
5607
5608 2003-04-27  John Levon  <levon@movementarian.org>
5609
5610         * bufferlist.C:
5611         * lyx_cb.C:
5612         * lyxfunc.C:
5613         * lyxvc.C: specify cancel button in Alert::prompt
5614
5615 2003-04-26  John Levon  <levon@movementarian.org>
5616
5617         * text3.C:
5618         * lyxfunc.C:
5619         * lfuns.h:
5620         * LyXAction.C: add LFUN_INSET_SETTINGS
5621
5622         * lyxfunc.C: don't enable tabular-feature when there's
5623         just any locking inset
5624
5625 2003-04-26  John Levon  <levon@movementarian.org>
5626
5627         * bufferlist.C: re-add Cancel to buffer close question
5628
5629         * lyxfunc.C: fix import UI a bit
5630
5631 2003-04-25  John Levon  <levon@movementarian.org>
5632
5633         * gettext.C: remove the broken asserts for now
5634
5635 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * messages.C: make case where setlocale cannot comply work better.
5638
5639         * buffer.C (updateDocLang): new function
5640         (changeLanguage): use it
5641         (readFile): use it
5642
5643         * text2.C (setCounter): use B_ a bit.
5644
5645         * lyxlayout.C (Read): be sure to trim the label strings.
5646
5647         * messages.C (Messages): fix typo in comment
5648
5649         * buffer.C (readFile): set message_ after file is loaded.
5650         (makeDocBookFile): remove double return
5651         (changeLanguage): reset message_ upon language change.
5652         (B_): new func, use this to get translated buffer strings.
5653
5654         * main.C: add myself and Jean Marc as authors.
5655
5656 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * messages.[hC]: pimplify Messages, and three different pimpls to be
5659         used in different circumstances.
5660
5661         * gettext.[Ch]: change for use with new message code.
5662
5663 2003-04-24 André Pönitz <poenitz@gmx.net>
5664
5665         * factory.C: support for eqref
5666
5667 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * messages.[Ch]: add missing char
5670
5671         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5672
5673         * messages.[Ch]: New files
5674
5675 2003-04-18  John Levon  <levon@movementarian.org>
5676
5677         * BufferView.h:
5678         * BufferView.C:
5679         * BufferView_pimpl.C:
5680         * lfuns.h:
5681         * LyXAction.C:
5682         * lyxtext.h:
5683         * text2.C: remove layout-copy/paste (bug 778)
5684
5685 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5686
5687         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5688
5689 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5690
5691         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5692         if they succeed. Act accordingly.
5693
5694 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * text2.C (setCharFont): adjust
5697         (setCounter): adjust
5698         (insertStringAsLines): adjust
5699
5700         * text.C (leftMargin): adjust
5701         (setHeightOfRow): adjust
5702
5703         * rowpainter.C (paintFirst): adjust
5704         (paintLast): adjust
5705
5706         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5707         (outerHook): ditto
5708         (isFirstInSequence): ditto
5709         (getEndLabel): ditto
5710         (outerFont): adjust
5711
5712         * paragraph.C (getParLanguage): comment out some hard stuff.
5713
5714         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5715         (sgmlError): ditto
5716         (simpleDocBookOnePar): ditto
5717         (makeDocBookFile): use ParagraphList::iterator
5718
5719         * CutAndPaste.C (pasteSelection): adjust
5720
5721 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * text2.C (getFont): adjust
5724         (getLayoutFont): adjust
5725         (getLabelFont): adjust
5726
5727         * paragraph_funcs.C (TeXOnePar): adjust
5728
5729         * buffer.C (simpleLinuxDocOnePar): adjust
5730         (simpleDocBookOnePar): adjust
5731
5732         * CutAndPaste.C (pasteSelection): adjust
5733
5734         * BufferView.C (getEncoding): adjust
5735
5736         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5737
5738 2003-04-16  John Levon  <levon@movementarian.org>
5739
5740         * lyxfind.C: use parlist stuff for search/changes
5741
5742 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5745
5746         * text2.C (deleteEmptyParagraphMechanism): adjust
5747
5748         * text2.[Ch] (ownerParagraph): delete func (both of them
5749
5750 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5753
5754 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * ParagraphList.C: prepare for NO_NEXT
5757
5758 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * text2.C (getFont): adjust
5761         (getLayoutFont): adjust
5762         (getLabelFont): adjust
5763
5764         * paragraph.C (getFont): adjust
5765         (getLabelFont): adjust
5766         (getLayoutFont): adjust
5767
5768         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5769
5770 2003-04-15  John Levon  <levon@movementarian.org>
5771
5772         From Angus Leeming
5773
5774         * lyx_main.C: handle Include in .ui files
5775
5776 2003-04-15  John Levon  <levon@movementarian.org>
5777
5778         * MenuBackend.C: make the doc files length shorter
5779
5780         * ToolbarBackend.h:
5781         * ToolbarBackend.C: handle toolbar placement flags,
5782         Minibuffer
5783
5784 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5787         adjust
5788
5789         * paragraph_funcs.C (TeXOnePar): adjust
5790
5791         * paragraph.C (getLabelFont): add outerfont arg, adjust
5792         (getLayoutFont): ditto
5793         (simpleTeXOnePar): adjust
5794
5795         * paragraph_pimpl.C (realizeFont): delete func
5796
5797 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5798
5799         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5800         row argument, constify cur argument.
5801
5802 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * text2.C (getFont): adjust
5805         (getLayoutFont): adjust
5806         (getLabelFont): adjust
5807
5808         * paragraph_funcs.C (TeXOnePar): adjust
5809         (outerFont): new func...
5810         (realizeFont): ...moved out from here, changed this to facilitate
5811         transition
5812
5813         * paragraph.C (getFont): take outerfont as arg, adjust
5814         (simpleTeXOnePar): add outerfont arg, adjust
5815
5816         * buffer.C (simpleLinuxDocOnePar): adjust
5817         (simpleDocBookOnePar): adjust
5818
5819         * CutAndPaste.C (pasteSelection): adjust
5820
5821         * BufferView.C (getEncoding): adjust
5822
5823 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5824
5825         * text2.C (setCharFont): adjust
5826         (setCounter): adjust
5827
5828         * text.C (leftMargin): adjust
5829         (setHeightOfRow): adjust
5830
5831         * rowpainter.C (paintFirst): adjust
5832         (paintLast): adjust
5833
5834         * paragraph_pimpl.C (realizeFont): adjust
5835
5836         * paragraph.C (isFirstInSequence): move from here...
5837         * paragraph_funcs.C (isFirstInSequence): ...to here
5838
5839         * paragraph.C (outerHook): move from here...
5840         * paragraph_funcs.C (outerHook): ...to here
5841
5842         * paragraph.C (depthHook): move from here...
5843         * paragraph_funcs.C (depthHook): ...to here
5844
5845         * paragraph.C (getEndLabel): move from here...
5846         * paragraph_funcs.C (getEndLabel): ...to here
5847
5848         * text2.C (realizeFont): move from here...
5849         * paragraph_funcs.C (realizeFont): ...to here
5850
5851 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5854
5855 2003-04-14  Angus Leeming  <leeming@lyx.org>
5856
5857         * LColor.[Ch]: scrap LColor mathcursor.
5858
5859 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * lyxlex.[Ch] (text): delete function
5862         * trans.C (Load): adjust
5863         * paragraph_funcs.C (readParToken): adjust
5864
5865 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5868         vector<char> instead of a char[].
5869
5870         * lyxlex_pimpl.C (getString): adjust
5871         (next): adjust
5872         (lex): use getString
5873         (eatLine): adjust
5874         (nextToken): adjust
5875
5876         * lyxlex.C (text): use pimpl_->getString()
5877         (getBool): ditto
5878         (findToken): ditto
5879
5880 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5883         (makeFontEntriesLayoutSpecific): temp var for par.size()
5884         (setLayout): temp var for ownerParagraphs().end()
5885         (fullRebreak): temp var for rows().end()
5886         (selectionAsString): temp var for boost::next(startpit), realize
5887         that the while really is a regular for loop.
5888         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5889         setCursor in one place.
5890         (setParagraph): temp vr for ownerParagraphs().end()
5891         (updateCounters): make the while loop a for loop
5892         (cutSelection): temp var for ownerParagraphs().end()
5893         (updateInset): make the do {} while() a regular for loop
5894         (getCursorX): use temp vars
5895         (setCurrentFont): use temp vars
5896         (getColumnNearX): use temp vars
5897
5898 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * text.C (transformChar): use temp var for getChar
5901         (computeBidiTables): use temp var for row->par()
5902         (fill): move temp vars for row->par() and pit->layout() earlier in
5903         the function.
5904         (labelFill): use temp var for row->par()
5905         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5906         asc and desc, realize that pit never changes and that firstpit is
5907         just a duplicate and not needed. Exchange rit->par() with pit in a
5908         lot of places.
5909         (breakAgain): use a temp var for boost::next(rit)
5910         (breakAgainOneRow): ditto
5911         (breakParagraph): use a temp var for rows().begin()
5912         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5913         (cursorRightOneWord): use temp var for cursor.par() and
5914         cursor.pos(), remove usage of tmpcursor.
5915         (cursorLeftOneWord): use temp var for cursor.par() and
5916         cursor.pos() only set cur at end of function.
5917
5918 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * text.C, text2.C: exchange all usage of Paragraph::next with
5921         boost::next(ParagraphList::iterator)
5922
5923         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5924
5925         * text2.C (cursorTop): simplify implementation
5926         (cursorBottom): ditto
5927         (setParagraph): use ParagraphList::iterator
5928         (setCurrentFont): adjust
5929         (getColumnNearX): adjust
5930         (cursorRight): adjust
5931         (cursorLeft): remove usage of Paragraph::previous
5932         (cursorUpParagraph): ditto
5933         (deleteEmptyParagraphMechanism): slight cleanup
5934
5935         * text.C (isBoundary): take a Paragraph const & instead of a
5936         pointer as arg.
5937         (addressBreakPoint): ditto
5938         (leftMargin): remove usage of Paragraph::previous.
5939         (setHeightOfRow): ditto
5940         (cursorLeftOneWord): ditto
5941         (selectNextWordToSpellcheck): ditto
5942         (Delete): ditto
5943         (backspace): ditto
5944         (breakParagraph): remove one usage of Paragraph::next
5945         (redoParagraph): ditto
5946         (acceptChange): ditto
5947         (insertChar): adjust
5948         (rowBreakPoint): adjust
5949
5950         * bufferview_funcs.C (toggleAndShow): adjust
5951
5952 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5955         methods to access it.
5956         * lyxtext.h:
5957         * text.C: Added updateRowPositions to compute all row positions.
5958         Make top_y and getRowNearY() to use the cached y position
5959
5960 2003-04-11  John Levon  <levon@movementarian.org>
5961
5962         * text.C (rowBreakPoint): reintroduce the labelEnd
5963         checks, code copied from the row fill stuff. Deep voodoo.
5964
5965         * text.C (fill): add a comment and debugging for the
5966         next poor soul.
5967
5968 2003-04-11  John Levon  <levon@movementarian.org>
5969
5970         * text.C: make sure fullrow insets get wrapped to the next line,
5971         even when they're in a manual label
5972
5973 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text2.C (insertParagraph): make it take ParagraphList::iterator
5976         as arg.
5977         (setLayout): make it return ParagraphList::iterator
5978         (redoParagraphs): ditto
5979         (setCounter): ditto
5980         (checkParagraph): ditto
5981
5982         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5983
5984         * text2.C: adjust several funcs.
5985         (realizeFont): take a ParagraphList::iterator as arg.
5986         (getLayoutFont): ditto
5987         (getLabelFont): ditto
5988         (setCharFont): ditto
5989
5990         * text.C: adjust several funcs.
5991
5992 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * text.C (selectNextWordToSpellcheck): don't accidentally
5995         skip insets
5996
5997 2003-04-10  John Levon  <levon@movementarian.org>
5998
5999         * ToolbarBackend.C (getIcon): special handling for
6000         LFUN_MATH_DELIM
6001
6002 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6003
6004         * text2.C (cursorRight): a getChar assert fixed
6005
6006 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * text2.C (getFont): change to take a ParagraphList::iterator
6009         instead of Paragraph*
6010         Adjust several functions.
6011
6012         * text.C (transformChar): change to take a ParagraphList::iterator
6013         instead of Paragraph*
6014         (singleWidth): ditto
6015         Adjust several functions.
6016
6017         * rowpainter.C: adjust several functions
6018         * rowpainter.h:store a ParagraphList::iterator and not a
6019         Paragraph&.
6020
6021
6022 2003-04-09  John Levon  <levon@movementarian.org>
6023
6024         * lyxfunc.C:
6025         * lfuns.h:
6026         * LyXAction.h:
6027         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6028         and the "help" bits as well
6029
6030 2003-04-09  John Levon  <levon@movementarian.org>
6031
6032         * ToolbarBackend.h:
6033         * ToolbarBackend.C: allow multiple toolbars
6034
6035 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * undo_funcs.C (setCursorParUndo): adjust
6038
6039         * text_funcs.C (transposeChars): adjust
6040
6041         * text3.C (gotoNextInset): adjust
6042         (dispatch): adjust
6043
6044         * text2.C (setLayout): adjust
6045         (changeDepth): adjust
6046         (setFont): adjust
6047         (redoParagraphs): adjust
6048         (selectionAsString): adjust
6049         (setParagraph): adjust
6050         (insertInset): adjust
6051         (cutSelection): adjust
6052         (copySelection): adjust
6053         (pasteSelection): adjust
6054         (insertStringAsLines): adjust
6055         (updateInset): adjust
6056         (setCursor): change to take a ParagraphList::iterator parameter
6057         (setCursorIntern): change to take a ParagraphList::iterator parameter
6058         (setCurrentFont): adjust
6059         (cursorLeft): adjust
6060         (cursorRight): adjust
6061         (deleteEmptyParagraphMechanism): adjust
6062
6063         * text.C (breakParagraph): adjust
6064         (insertChar): adjust
6065         (acceptChange): adjust
6066         (rejectChange): adjust
6067         (selectNextWordToSpellcheck): adjust
6068         (changeCase): adjust
6069         (Delete): adjust
6070         (backspace): adjust
6071
6072         * lyxfind.C (SearchForward): adjust
6073         (SearchBackward): adjust
6074         (nextChange): adjust
6075
6076         * lyxcursor.C (par): adjust
6077
6078         * lyxcursor.h: store a ParagraphList::iterator instead of a
6079         Paragraph*
6080
6081         * lyx_cb.C (getPossibleLabel): adjust
6082
6083         * bufferview_funcs.C (toggleAndShow): adjust
6084
6085         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6086         (dispatch): adjust
6087
6088         * BufferView.C (removeAutoInsets): adjust
6089         (lockedInsetStoreUndo): adjust
6090
6091 2003-04-09  John Levon  <levon@movementarian.org>
6092
6093         * ToolbarBackend.C: try icon without argument
6094         if with argument fails
6095
6096 2003-04-08  John Levon  <levon@movementarian.org>
6097
6098         * ToolbarBackend.h:
6099         * ToolbarBackend.C: add getIcon(), handle tooltip,
6100         and change from "Icon" to "Item".
6101
6102 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6103
6104         * BufferView.C (lockInset): another bad getchar crunched
6105
6106 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6107
6108         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6109         again)
6110
6111 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * lyxfind.C (searchForward, searchBackwards): bug 782
6114
6115 2003-04-07  John Levon  <levon@movementarian.org>
6116
6117         * paragraph.C: remove dead comment
6118
6119         * text.C: remove troublesome depth-fiddling code
6120         in leftMargin() and rightMargin() (bug 1017)
6121
6122         * text.C: fix breaking of rows in nested lists
6123         (bug 1004)
6124
6125         * text2.C (updateCounters): fix up depth values
6126         (bug 1013)
6127
6128 2003-04-07  John Levon  <levon@movementarian.org>
6129
6130         * BufferView_pimpl.C: clear message when doc finishes resizing,
6131         and after a mouse event
6132
6133         * lyxfunc.C: clear message after exiting inset
6134
6135 2003-04-07  John Levon  <levon@movementarian.org>
6136
6137         * bufferview_funcs.C: show math status not outside
6138         status in the statusbar
6139
6140 2003-04-07  John Levon  <levon@movementarian.org>
6141
6142         * lyxfunc.C: note status changed after a depth change
6143
6144 2003-04-04  Angus Leeming  <leeming@lyx.org>
6145
6146         * LaTeX.h: move AuxInfo operator==, != out of line.
6147         Remove LaTeX virtual destructor; nothing derives from it.
6148         Move operator()() out of public area and rename it startscript().
6149         Change protected for private.
6150
6151 2003-04-04  Angus Leeming  <leeming@lyx.org>
6152
6153         * lyxfunc.C:
6154         * text2.C: remove unneeded #includes.
6155
6156 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6157
6158         * text2.C (dEPM): fix the heigth of the next row
6159
6160 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * text.C: squashed an invalid getChar requester + some ws changes
6163
6164 2003-04-03  John Levon  <levon@movementarian.org>
6165
6166         * bufferview_funcs.h:
6167         * bufferview_funcs.C:
6168         * lyxfunc.C:
6169         * lyxtext.h:
6170         * text2.C: make getStatus work for the env depth lfuns
6171
6172 2003-04-03  John Levon  <levon@movementarian.org>
6173
6174         * bufferview_funcs.h:
6175         * bufferview_funcs.C:
6176         * lyxfunc.C:
6177         * lyxtext.h:
6178         * text2.C: parlistize decDepth(), by merging it with incDepth()
6179
6180 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * lyxrow.h: store a ParagraphList::iterator instead of a
6183         Paragraph* and adjust other class functions to suit.
6184
6185         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6186         above.
6187
6188 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6189
6190         * text2.C (setCursor): do not anchor to cursor row for the time being
6191
6192 2003-04-02  John Levon  <levon@movementarian.org>
6193
6194         * LyXAction.C:
6195         * lfuns.h:
6196         * lyx_main.C:
6197         * lyxtext.h:
6198         * text.C:
6199         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6200
6201 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * paragraph.h: make ParagraphList and ParagraphList::iterator
6204         friends of Paragraph.
6205
6206         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6207
6208         * ParagraphList.C: Use the private next_ and previous_ from
6209         Paragraph.
6210
6211 2003-04-01  John Levon  <levon@movementarian.org>
6212
6213         * ToolbarBackend.h:
6214         * ToolbarBackend.C:
6215         * Makefile.am: rename, remove defaults gunk
6216
6217         * MenuBackend.h:
6218         * MenuBackend.C: remove defaults gunk
6219
6220         * Languages.h:
6221         * Languages.C: remove defaults gunk
6222
6223         * lyx_main.h:
6224         * lyx_main.C: error out if files couldn't be found.
6225
6226 2003-04-02  John Levon  <levon@movementarian.org>
6227
6228         * text2.C: make incDepth() use parlist
6229
6230 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * undo_funcs.C (firstUndoParagraph): adjust
6233
6234         * text3.C (gotoInset): adjust
6235         (dispatch): adjust, and rewrite loop.
6236
6237         * text2.C (init): adjust, and rewrite loop.
6238         (redoParagraphs): adjust
6239         (updateInset): adjust, and rewrite loop.
6240         (deleteEmptyParagraphMechanism): adjust
6241
6242         * tabular.C (LyXTabular): adjust
6243         (SetMultiColumn): adjust
6244         (TeXRow): adjust
6245
6246         * lyxtext.[Ch] (ownerParagraph): delete function
6247         (ownerParagraphs): new function returns a ParagraphList.
6248
6249         * BufferView.C (removeAutoInsets): adjust
6250         (insertErrors): adjust
6251         (setCursorFromRow): adjust
6252
6253 2003-04-01  Angus Leeming  <leeming@lyx.org>
6254
6255         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6256         in the frontends.
6257
6258 2003-04-02  John Levon  <levon@movementarian.org>
6259
6260         * lyxtext.h:
6261         * text.C:
6262         * Makefile.am:
6263         * text_funcs.h:
6264         * text_funcs.C: make transposeChars a free function
6265
6266         * lyxrow_funcs.C: remove wrong comment
6267
6268 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * lyxtext.h: adjust
6271         * rowpainter.C: adjust
6272         * text.C: adjust
6273         * text2.C: adjust
6274         * text3.C: adjust
6275
6276         * lyxrow_funcs. [Ch]: new files
6277
6278         * lyxrow.[Ch]: remove next and previous pointers
6279         (next,previous): remove accessor functions
6280         (isParEnd): move to lyxrow_funcs
6281         (lastPos): move to lyxrow_funcs
6282         (nextRowIsAllInset): move to lyxrow_funcs
6283         (lastPrintablePos): move to lyxrow_funcs
6284         (numberOfSeparators): move to lyxrow_funcs
6285         (numberOfHfills): move to lyxrow_funcs
6286         (numberOfLabelHfills): move to lyxrow_funcs
6287         (hfillExpansion): move to lyxrow_funcs
6288
6289         * lyxfunc.C: adjust
6290
6291         * bufferview_funcs.C (toggleAndShow): adjust
6292
6293         * RowList.h: Remove class RowList from file leave just a
6294         std::list<Row>.
6295
6296         * RowList.C: delete file
6297
6298         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6299         and lyxrow_funcs.h
6300
6301 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * text3.C (cursorPrevious): adjust
6304         (cursorNext): adjust
6305         (dispatch): adjust
6306
6307         * text2.C (redoHeightOfParagraph): adjust
6308         (redoDrawingOfParagraph): adjust
6309         (setCursor): adjust
6310
6311         * text.C (breakParagraph): adjust
6312         (insertChar): adjust
6313         (backspace): adjust
6314
6315         * rowpainter.C (RowPainter): adjust
6316         (leftMargin): simplify and adjust
6317         (most rowpainter functions): adjust.
6318
6319         * rowpainter.h: store the row as RowList::iterator not as Row*
6320
6321         * lyxcursor.C (row): taka RowList::iterator as arg
6322         (irow): ditto
6323
6324         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6325         of Row*.
6326
6327 2003-04-01  Angus Leeming  <leeming@lyx.org>
6328
6329         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6330         stuff like bool Bool.
6331
6332 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6333
6334         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6335         rewrite a loop
6336
6337 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6340         RowList::iterator.
6341
6342         * lyxtext.h (rows): drop one version and leve a const variant that
6343         returns a RowList::iterator.
6344
6345 2003-03-31  Angus Leeming  <leeming@lyx.org>
6346
6347         * text.C (fill): ensure that the signature is the same as that in the
6348         header file.
6349
6350 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * text2.C (redoParagraphs): adjust
6353         (updateCounters): adjust
6354         (checkParagraph): adjust
6355         (getColumnNearX): adjust and reformat a bit.
6356
6357         * text.C (top_y): adjust
6358         (workWidth): adjust
6359         (leftMargin): adjust
6360         (prepareToPrint): adjust
6361         (getRow): adjust
6362         (getRowNearY): adjust
6363
6364         * lyxtext.h: make rowlist_ mutable.
6365
6366         * RowList.h: add const_iterator
6367         * RowList.C: adjust for RowList::const_iterator.
6368
6369         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6370         adjust.
6371
6372 2003-03-31  John Levon  <levon@movementarian.org>
6373
6374         * lyxrc.h:
6375         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6376
6377         * lyx_main.C: set default fonts from using lyx_gui funcs
6378
6379         * exporter.C: pdf_mode moved from lyxrc
6380
6381         * lyx_cb.C:
6382         * lyxfunc.C: changes from above
6383
6384 2003-03-31  John Levon  <levon@movementarian.org>
6385
6386         * lyx_main.C: fix to the last fix
6387
6388 2003-03-31  John Levon  <levon@movementarian.org>
6389
6390         * bufferlist.C: "Load original" -> "Load Original"
6391
6392         * converter.C:
6393         * exporter.C:
6394         * importer.C:
6395         * lyx_main.C:
6396         * format.C: more Alert cleanups
6397
6398 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * text2.C (removeParagraph): make it take a RowList::iterator as
6401         arg, adjust.
6402         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6403         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6404
6405         * text.C (anchor_row): make it take a RowList::iterator as arg,
6406         adjust.
6407         (computeBidiTables): make it take a const reference to Row instead
6408         of Row pointer, adjust.
6409         (leftMargin): make it take a RowList::iterator as arg, adjust.
6410         (rowBreakPoint): adjust
6411         (breakAgainOneRow): make it take a RowList::iterator as arg,
6412         adjust.
6413         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6414
6415         * bufferview_funcs.C (toggleAndShow): adjust
6416
6417 2003-03-30  John Levon  <levon@movementarian.org>
6418
6419         * Makefile.am:
6420         * BoostFormat.h:
6421         * boost-inst.C: moved to support
6422
6423         * several files: changes as a result
6424
6425 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * text2.C (LyXText): adjust.
6428         (init): adjust
6429         (removeRow): make it take a RowList::iterator as arg, adjust.
6430         (fullRebreak): adjust
6431         (deleteEmptyParagraphMechanism): adjust
6432         (clearPaint): adjust
6433         (postPaint): adjust
6434
6435         * text.C (top_y): adjust
6436         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6437         (breakAgain): make it take a RowList::iterator as arg, adjust.
6438         (breakParagraph): adjust
6439         (insertChar): adjust
6440         (backspace): adjust
6441
6442         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6443         need_break_row, and refresh_row.
6444
6445         * text3.C (dispatch): adjust
6446
6447         * text2.C (checkParagraph): adjust
6448         (setCursor): adjust
6449         (setCursorFromCoordinates): adjust
6450
6451         * text.C (top_y): adjust
6452         (workWidth): adjust
6453         (getRow): make it return a RowList::iterator, adjust
6454         (getRowNearY): make it return a RowList::iterator, adjust
6455
6456         * text2.C (init): adjust
6457         (insertRow): remove function
6458         (insertParagraph): adjust
6459         (redoParagraphs): adjust
6460         (fullRebreak): adjust
6461         (updateCounters): adjust
6462
6463         * text.C (top_y): rewrite to use RowList iterators.
6464         (top_y): adjust
6465         (setHeightOfRow): rewrite to sue RowList iterators.
6466         (appendParagraph): adjust
6467         (breakAgain): adjust
6468         (breakAgainOneRow): adjust
6469         (breakParagraph): adjust
6470         (getRow): adjust
6471         (getRowNearY): adjust, and remove commented code.
6472
6473         * lyxtext.h (firstRow): delete function
6474         (lastRow): delete function
6475         (rows): new function (const and non-const versions.)
6476         (insertRow): delete function
6477
6478         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6479
6480 2003-03-29  John Levon  <levon@movementarian.org>
6481
6482         * BufferView_pimpl.C: always update scrollbar top
6483         because pasting text when we're anchored could mean we
6484         miss an update altogether
6485
6486 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * text2.C (init): use rowlist_.end() and not 0.
6489         (insertRow): change to take a RowList::iterator as arg, adjust
6490         for this.
6491         (insertParagraph): change to take a RowList::iterator as arg,
6492         adjust for this.
6493         (redoParagraphs): remove some debug msgs.
6494
6495         * text.C (appendParagraph): change to take a RowList::iterator
6496         arg, adjust for this.
6497         (breakAgain): add an assert
6498         (breakAgainOneRow): ditto
6499
6500 2003-03-29  John Levon  <levon@movementarian.org>
6501
6502         * text2.C: do not clear selection after inc/decDepth
6503         (bug 550)
6504
6505 2003-03-29  John Levon  <levon@movementarian.org>
6506
6507         * BufferView.C:
6508         * buffer.C: fix broken strerrors according to Lars
6509
6510 2003-03-29  John Levon  <levon@movementarian.org>
6511
6512         * converters.C: more Alert cleanups
6513
6514 2003-03-29  John Levon  <levon@movementarian.org>
6515
6516         * bufferview_funcs.C: remove pointless Alert
6517
6518         * buffer.C: fix confusing error message when
6519         a template is chmoded 000
6520
6521 2003-03-29  John Levon  <levon@movementarian.org>
6522
6523         * BufferView.C:
6524         * BufferView.h:
6525         * BufferView_pimpl.C: Alert fixes
6526
6527         * Makefile.am:
6528         * tabular.C:
6529         * tabular-old.C: remove unused table compat reading
6530
6531 2003-03-29  John Levon  <levon@movementarian.org>
6532
6533         * BufferView.C:
6534         * buffer.C:
6535         * lyx_cb.h:
6536         * lyx_cb.C: more Alert cleanups
6537
6538         * lyxfunc.C: don't allow chktex if not latex document
6539
6540 2003-03-29  John Levon  <levon@movementarian.org>
6541
6542         * lyx_cb.C:
6543         * BufferView.C:
6544         * buffer.C: warnings pushed down from support/,
6545         kill err_alert
6546
6547 2003-03-29  John Levon  <levon@movementarian.org>
6548
6549         * lyxfunc.C: safety check for C-r (revert)
6550
6551 2003-03-29  John Levon  <levon@movementarian.org>
6552
6553         * bufferlist.h:
6554         * bufferlist.C: several UI fixes using Alert::prompt.
6555         Fix the pointless looping quit code. Fix stupid revert
6556         behaviour (bug 938)
6557
6558         * lyxvc.h:
6559         * lyxvc.C:
6560         * lyx_cb.C: use Alert::prompt
6561
6562         * lyx_main.C: remove a silly question
6563
6564         * lyxfunc.C: remove a couple of silly questions,
6565         use Alert::prompt
6566
6567 2003-03-28  John Levon  <levon@movementarian.org>
6568
6569         * text2.C: fix bug 974 (End on empty par)
6570
6571 2003-03-28  John Levon  <levon@movementarian.org>
6572
6573         * BufferView_pimpl.C:
6574         * LyXAction.C:
6575         * lfuns.h: remove do-nothing math greek lfuns
6576
6577 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * lyxgluelength.h (isValidGlueLength): add default arg on
6580         parameter 2. Remove default arg from friend in class.
6581
6582         * lyxlength.h (isValidLength): add default arg on parameter 2.
6583         Remove default arg from friend in class.
6584
6585         * text2.C (LyXText): adjust, initialize refresh_row.
6586         (init): adjust
6587         (removeRow): adjust
6588         (insertRow): adjust
6589         (insertParagraph): adjst
6590         (redoParagraphs): adjust
6591         (fullRebreak): adjust
6592         (updateCounters): adjust
6593         (deleteEmptyParagraphMechanism): first attempt at fixing a
6594         crashing bug.
6595
6596         * text.C (top_y): adjust
6597         (setHeightOfRow): adjust
6598         (getRow): adjust
6599         (getRowNearY): adjust
6600
6601         * lyxtext.h: include RowList.h
6602         (~LyXText): not needed anymore, deleted.
6603         (firstRow): modify for RowList
6604         (lastRow): new function
6605         Delete firstrow and lastrow class variables, add a Rowlist
6606         rowlist_ class variable.
6607
6608         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6609         paragraph is empty.
6610
6611         * RowList.C (insert): fix case where it == begin().
6612
6613 2003-03-26  Angus Leeming  <leeming@lyx.org>
6614
6615         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6616         the thesaurus dialog.
6617
6618 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6621
6622         * RowList.[Ch]: new files
6623
6624         * ParagraphList.C (erase): handle the case where it == begin
6625         correctly.
6626
6627 2003-03-25  John Levon  <levon@movementarian.org>
6628
6629         * Makefile.am:
6630         * aspell_local.h:
6631         * aspell.C: add new aspell support
6632
6633         * lyxrc.h:
6634         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6635         have it accessible.
6636
6637 2003-03-25  Angus Leeming  <leeming@lyx.org>
6638
6639         * lfuns.h:
6640         * LyXAction.C (init): new LFUN_INSET_INSERT.
6641
6642         * BufferView_pimpl.C (dispatch): split out part of the
6643         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6644
6645         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6646         LFUN_INSET_APPLY.
6647
6648 2003-03-25  Angus Leeming  <leeming@lyx.org>
6649
6650         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6651
6652 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6653
6654         * text2.C:
6655         * text3.C: remove useless row->height(0)
6656
6657 2003-03-25  John Levon  <levon@movementarian.org>
6658
6659         * lyxtext.h:
6660         * text2.C:
6661         * text3.C: rename the refreshing stuff to better names
6662
6663 2003-03-24  John Levon  <levon@movementarian.org>
6664
6665         * BufferView_pimpl.h:
6666         * BufferView_pimpl.C: update layout choice on a mouse
6667         press/release
6668
6669 2003-03-23  John Levon  <levon@movementarian.org>
6670
6671         * Makefile.am: fix commandtags.h reference
6672
6673 2003-03-22  John Levon  <levon@movementarian.org>
6674
6675         * BufferView_pimpl.C:
6676         * lyxtext.h:
6677         * rowpainter.C:
6678         * rowpainter.h:
6679         * text.C:
6680         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6681
6682 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * lyxtext.h:
6685         * text.C: take the rtl methods out of line
6686
6687 2003-03-21 André Pönitz <poenitz@gmx.net>
6688
6689         * metricsinfo.[Ch]: new files containing structures to be passed around
6690         during the two-phase-drawing...
6691
6692 2003-03-21 André Pönitz <poenitz@gmx.net>
6693
6694         * lyxtextclass.C: read 'environment' tag.
6695
6696 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6697
6698         * text2.C (removeRow): fix bug 964
6699
6700 2003-03-20  John Levon  <levon@movementarian.org>
6701
6702         * rowpainter.C:
6703         * text.C:
6704         * text2.C: paint cleanups. Inset::update() dropped font
6705         parameter
6706
6707 2003-03-19  John Levon  <levon@movementarian.org>
6708
6709         * lyxfunc.C: only fitcursor/markDirty if available()
6710
6711 2003-03-19  John Levon  <levon@movementarian.org>
6712
6713         * commandtags.h: rename to ...
6714
6715         * lfuns.h: ... this, and renumber / cleanup
6716
6717 2003-03-19  John Levon  <levon@movementarian.org>
6718
6719         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6720         fit the cursor after an lfun
6721
6722         * BufferView.h:
6723         * BufferView.C:
6724         * BufferView_pimpl.h:
6725         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6726
6727         * LyXAction.C: layout-character should have ReadOnly
6728
6729         * ParagraphParameters.C:
6730         * buffer.C:
6731         * bufferview_funcs.C:
6732         * lyx_cb.C:
6733         * lyxfind.C:
6734         * lyxtext.h:
6735         * text.C:
6736         * text2.C:
6737         * text3.C:
6738         * undo_funcs.C: changes from above
6739
6740 2003-03-18  John Levon  <levon@movementarian.org>
6741
6742         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6743         remove it from update()
6744
6745         * lyxfunc.C: update layout choice after an lfun
6746
6747         * text3.C: remove extra updateLayoutChoice()s
6748
6749 2003-03-18  John Levon  <levon@movementarian.org>
6750
6751         * text.C: top_y change means full repaint, fix
6752         a drawing bug with cursor movement
6753
6754 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * lyxtext.h:
6757         * text.C:
6758         * text2.C: anchor row on setCursor
6759
6760 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * lyxtext.h: remove almost all mutable keywords
6763         * text.C:
6764         * text2.C:
6765         * text3.C: remove const keywords accordingly
6766
6767 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6770         anon namespace
6771         (TeXEnvironment): ditto
6772         (TeXOnePar): ditto
6773
6774 2003-03-17  John Levon  <levon@movementarian.org>
6775
6776         * text.C (rowBreakPoint): remove attempt to fix displayed
6777         math insets inside a manual label
6778
6779 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * lyxtext.h: remove BufferView* as first arg from almost all class
6782         functions.
6783         * other files: adjust.
6784
6785 2003-03-17  John Levon  <levon@movementarian.org>
6786
6787         * lyxtext.h:
6788         * undo_funcs.C:
6789         * text2.C: more paint cleanups
6790
6791         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6792
6793         * rowpainter.h:
6794         * rowpainter.C: remove "smart" background painting code
6795
6796 2003-03-16  John Levon  <levon@movementarian.org>
6797
6798         * lyxtext.h:
6799         * text.C:
6800         * text2.C:
6801         * text3.C: add helper functions for setting refresh_row/y
6802
6803 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6804
6805         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6806         newline inset which *can* get inserted in the pass_thru layouts.
6807         This is primarily for literate documents.
6808
6809 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6810
6811         * buffer.C: increment LYX_FORMAT to 223
6812
6813 2003-03-14 André Pönitz <poenitz@gmx.net>
6814
6815         * textclass.h: prepare for environment handling, ws changes
6816         * lyxlayout.C: read latexheader and latexfooter tags
6817
6818 2003-03-14  John Levon  <levon@movementarian.org>
6819
6820         * text2.C: rewrite ::status() a bit
6821
6822 2003-03-13  John Levon  <levon@movementarian.org>
6823
6824         * lyxtext.h: add some docs
6825
6826 2003-03-13  John Levon  <levon@movementarian.org>
6827
6828         * lyxtext.h:
6829         * text.C:
6830         * text2.C:
6831         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6832
6833 2003-03-13  John Levon  <levon@movementarian.org>
6834
6835         * text3.C: fix appendix redrawing
6836
6837 2003-03-13  John Levon  <levon@movementarian.org>
6838
6839         * text.C (setHeightOfRow):
6840         * rowpainter.h:
6841         * rowpainter.C: make appendix mark have the text
6842           "Appendix" so the user knows what it is
6843
6844         * LColor.h:
6845         * LColor.C: s/appendixline/appendix/ from above
6846
6847 2003-03-13  John Levon  <levon@movementarian.org>
6848
6849         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6850
6851         * text.C: fix a getChar(pos) bug properly
6852
6853 2003-03-13  Angus Leeming  <leeming@lyx.org>
6854
6855         * commandtags.h:
6856         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6857         Probably only temporary. Let's see how things pan out.
6858
6859         * BufferView.C (unlockInset):
6860         * BufferView_pimpl.C (fitCursor):
6861         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6862
6863         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6864         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6865
6866         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6867         new functions that convert ParagraphParameters to and from a string.
6868
6869         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6870         BufferView::Pimpl's dispatch.
6871         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6872
6873 2003-03-13 André Pönitz <poenitz@gmx.net>
6874
6875         * lyxfunc.C:
6876         * text3.C:
6877         * factory.C: make it aware of InsetEnv
6878
6879 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * text2.C (setCursor): never ask for one past last
6882         (setCursor): add some debugging messages.
6883
6884         * text.C (singleWidth): never ask for one past last
6885         (singleWidth): ditto
6886         (leftMargin): ditto
6887         (rightMargin): ditto
6888         (rowBreakPoint): ditto
6889         (setHeightOfRow): ditto
6890         (prepareToPrint): ditto
6891
6892         * rowpainter.C (paintBackground): never ask for one past last
6893         (paintText): never ask for one past last
6894
6895         * paragraph_pimpl.C (getChar): make the assert stricter, never
6896         allow the one past last pos to be taken
6897
6898         * paragraph.C (getChar): ws changes only
6899
6900         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6901         (numberOfSeparators): ditto
6902         (numberOfHfills): ditto
6903
6904 2003-03-12  John Levon  <levon@movementarian.org>
6905
6906         * author.h:
6907         * author.C:
6908         * bufferparams.h:
6909         * bufferparams.C:
6910         * paragraph_funcs.C: fix per-buffer authorlists
6911
6912 2003-03-12  John Levon  <levon@movementarian.org>
6913
6914         * text.C: fix newline in right address
6915
6916 2003-03-12  Angus Leeming  <leeming@lyx.org>
6917
6918         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6919         duplicate those in LyXFunc::dispatch.
6920
6921         * commandtags.h:
6922         * LyXAction.C:
6923         * ToolbarDefaults.C:
6924         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6925         Add LFUN_FONTFREE_UPDATE.
6926
6927         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6928         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6929
6930         * bufferview_func.[Ch]: several new functions to facilliate
6931         transfer of data to and from the character dialog.
6932
6933 2003-03-12  John Levon  <levon@movementarian.org>
6934
6935         * buffer.C:
6936         * paragraph.h:
6937         * paragraph.C:
6938         * paragraph_funcs.C:
6939         * paragraph_pimpl.C:
6940         * sgml.C:
6941         * tabular.C:
6942         * text.C:
6943         * text3.C: remove META_NEWLINE in favour of an inset
6944
6945         * rowpainter.h:
6946         * rowpainter.C: remove paintNewline (done by inset)
6947
6948 2003-03-12  John Levon  <levon@movementarian.org>
6949
6950         * paragraph_pimpl.C: complain about bad getChar()s
6951         for a while at least
6952
6953 2003-03-12  John Levon  <levon@movementarian.org>
6954
6955         * buffer.h:
6956         * buffer.C: move paragraph read into a separate function,
6957         a little renaming to reflect that.
6958
6959         * bufferparams.h:
6960         * bufferparams.C: remove the author_ids map, not necessary now
6961
6962         * factory.h:
6963         * factory.C: moved Buffer::readInset to here
6964
6965         * paragraph_funcs.h:
6966         * paragraph_funcs.C: readParagraph free function moved from
6967         buffer.C
6968
6969         * tabular.C: name change
6970
6971 2003-03-12  John Levon  <levon@movementarian.org>
6972
6973         * buffer.C:
6974         * ParagraphParameters.C: move par params input to
6975         a read() method
6976
6977         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6978         behave like a normal read from the stream wrt reading
6979         a line vs. a \\token
6980
6981 2003-03-12  John Levon  <levon@movementarian.org>
6982
6983         * paragraph.C:
6984         * ParagraphParameters.h:
6985         * ParagraphParameters.C: move output code to a
6986         ::write() method
6987
6988 2003-03-12  John Levon  <levon@movementarian.org>
6989
6990         * BufferView.C (insertLyXFile):
6991         * buffer.h:
6992         * buffer.C:
6993         * tabular.C: use a parlist iterator for creating the
6994           document.
6995
6996 2003-03-12  John Levon  <levon@movementarian.org>
6997
6998         * buffer.C: make current_change static local not
6999           static file-scope
7000
7001 2003-03-12  John Levon  <levon@movementarian.org>
7002
7003         * buffer.C: fix insertStringAsLines for change tracking
7004
7005 2003-03-12  John Levon  <levon@movementarian.org>
7006
7007         * BufferView.C:
7008         * tabular.C:
7009         * buffer.h:
7010         * buffer.C:
7011         * bufferparams.h:
7012         * bufferparams.C: move author list into params. Rename some
7013           functions. Move the header reading into a separate token
7014           loop. Move the header token reading into BufferParams.
7015
7016 2003-03-12  John Levon  <levon@movementarian.org>
7017
7018         * changes.C: put debug inside lyxerr.debugging() checks
7019
7020 2003-03-11 André Pönitz <poenitz@gmx.net>
7021
7022         * factory.C: make it aware of InsetHFill
7023
7024 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7025
7026         * buffer.C (latexParagraphs): move function from here...
7027         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7028         args.
7029
7030 2003-03-10  Angus Leeming  <leeming@lyx.org>
7031
7032         * LyXAction.C (init): fix bug in poplating array with multiple entries
7033         with the same LFUN (spotted by JMarc).
7034
7035 2003-03-10  John Levon  <levon@movementarian.org>
7036
7037         * text.C:
7038         * text2.C: move getColumnNearX() near its
7039         only call site
7040
7041 2003-03-10  John Levon  <levon@movementarian.org>
7042
7043         * text.C: fix break before a minipage
7044
7045 2003-03-10  John Levon  <levon@movementarian.org>
7046
7047         * text.C: fix the last commit
7048
7049 2003-03-09  John Levon  <levon@movementarian.org>
7050
7051         * lyxtext.h:
7052         * text.C:
7053         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7054         bug 365 (don't break before insets unless needed). Don't
7055         return a value > last under any circumstances.
7056
7057 2003-03-09  Angus Leeming  <leeming@lyx.org>
7058
7059         * BufferView_pimpl.C (trackChanges, dispatch): call
7060         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7061
7062 2003-03-09  Angus Leeming  <leeming@lyx.org>
7063
7064         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7065         than Dialogs::showAboutlyx().
7066
7067 2003-03-09  Angus Leeming  <leeming@lyx.org>
7068
7069         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7070         than Dialogs::showTabularCreate().
7071
7072 2003-03-09  John Levon  <levon@movementarian.org>
7073
7074         * lyxtext.h:
7075         * text.C:
7076         * text2.C: 3rd arg to nextBreakPoint was always the same.
7077           Use references.
7078
7079 2003-03-08  John Levon  <levon@movementarian.org>
7080
7081         * lyxrow.C:
7082         * paragraph.C:
7083         * paragraph.h:
7084         * rowpainter.C:
7085         * text.C:
7086         * text2.C: Remove the "main" bit from the "main body"
7087           notion.
7088
7089 2003-03-08  John Levon  <levon@movementarian.org>
7090
7091         * text.C (leftMargin): The left margin of an empty
7092         manual label paragraph should not include the label width
7093         string length.
7094
7095         * text.C (prepareToPrint): don't attempt to measure hfills
7096         for empty manual label paragraphs - the answer should be 0
7097
7098 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * CutAndPaste.C: remove commented code and reindent.
7101
7102 2003-03-08  John Levon  <levon@movementarian.org>
7103
7104         * lyxfunc.h:
7105         * lyxfunc.C: move reloadBuffer()
7106
7107         * BufferView.h:
7108         * BufferView.C: to here
7109
7110         * lyxvc.C: add comment
7111
7112         * vc-backend.h:
7113         * vc-backend.C: call bv->reload() to avoid
7114           getStatus() check on MENURELOAD
7115
7116 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7117
7118         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7119         to an old format .dep file.
7120
7121 2003-03-07  Angus Leeming  <leeming@lyx.org>
7122
7123         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7124         when the LFUN_MOUSE_RELEASE should have been handled by
7125         inset->localDispatch.
7126
7127 2003-03-07  Angus Leeming  <leeming@lyx.org>
7128
7129         * BufferView_pimpl.C (dispatch):
7130         * LyXAction.C (init):
7131         * ToolbarDefaults.C (init):
7132         * commandtags.h:
7133         * lyxfunc.C (getStatus):
7134         remove LFUN_INSET_GRAPHICS.
7135
7136         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7137
7138 2003-03-07  Angus Leeming  <leeming@lyx.org>
7139
7140         * commandtags.h:
7141         * LyXAction.C (init):
7142         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7143
7144         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7145
7146         * commandtags.h:
7147         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7148
7149         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7150         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7151
7152 2003-03-07  Angus Leeming  <leeming@lyx.org>
7153
7154         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7155         remove "ert".
7156
7157 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * ParagraphList.C (front): new function
7160         (back): implement
7161
7162 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7165         and top_row_offset_. removed var first_y.
7166         * text.C (top_y):
7167         * text2.C (LyXText, removeRow):
7168         * text3.C:
7169         * BufferView_pimpl.C:
7170         use these methods instead of using first_y
7171
7172 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * text2.C (pasteSelection): adjust for checkPastePossible
7175
7176         * CutAndPaste.C: remove Paragraph * buf and replace with
7177         ParagraphList paragraphs.
7178         (DeleteBuffer): delete
7179         (cutSelection): change the tc type to textclass_type
7180         (copySelection): change the tc type to textclass_type
7181         (copySelection): adjust for ParagraphList
7182         (pasteSelection): change the tc type to textclass_type
7183         (pasteSelection): adjust for Paragraphlist
7184         (nrOfParagraphs): simplify for ParagraphList
7185         (checkPastePossible): simplify for ParagraphList
7186         (checkPastePossible): remove unused arg
7187
7188         * ParagraphList.C (insert): handle the case where there are no
7189         paragraphs yet.
7190
7191         * CutAndPaste.h: make CutAndPaste a namespace.
7192
7193         * text3.C (dispatch): adjust
7194
7195         * text.C (breakParagraph): add a ParagraphList as arg
7196
7197         * paragraph_funcs.C (breakParagraph): change to take a
7198         BufferParams and a ParagraphList as args.
7199         (breakParagraphConservative): ditto
7200         (mergeParagraph): ditto
7201         (TeXDeeper): add a ParagraphList arg
7202         (TeXEnvironment): ditto
7203         (TeXOnePar): ditto
7204
7205         * buffer.C (readLyXformat2): adjust
7206         (insertStringAsLines): adjust
7207         (latexParagraphs): adjust
7208
7209         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7210         (cutSelection): adjust
7211         (pasteSelection): adjust
7212
7213         * BufferView_pimpl.C (insertInset): adjust
7214
7215 2003-03-05  Angus Leeming  <leeming@lyx.org>
7216
7217         * commandtags.h:
7218         * LyXAction.C (init):
7219         * BufferView_pimpl.C (dispatch):
7220         * lyxfunc.C (getStatus):
7221         remove LFUN_CHILD_INSERT.
7222
7223         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7224
7225 2003-03-05  Angus Leeming  <leeming@lyx.org>
7226
7227         * commandtags.h:
7228         * LyXAction.C (init):
7229         * src/factory.C (createInset):
7230         * lyxfunc.C (getStatus):
7231         * text3.C (dispatch):
7232         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7233
7234         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7235
7236 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * ParagraphList.C (insert): handle insert right before end()
7239         (erase): fix cases where it can be first or last paragraph.
7240
7241 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7244         Paragraph::next and Paragraph::previous
7245         (TeXOnePar): ditto
7246
7247         * text.C (breakParagraph): adjust
7248
7249         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7250         BufferParams& as arg.
7251         (breakParagraph): use ParagraphList::insert
7252         (breakParagraphConservative): take a Buffer* instead of a
7253         BufferParams& as arg.
7254         (breakParagraphConservative): use ParagraphList::insert.
7255
7256         * buffer.C (insertStringAsLines): un-const it
7257         (insertStringAsLines): adjust
7258
7259         * ParagraphList.C (insert): new function
7260
7261         * CutAndPaste.C (pasteSelection): adjust
7262
7263         * text.C (backspace): adjust
7264
7265         * tabular.C (SetMultiColumn): adjust
7266
7267         * CutAndPaste.C (cutSelection): adjust
7268         (pasteSelection): adjust
7269
7270         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7271         Buffer const * as arg
7272
7273         * ParagraphList.C (erase): new function
7274         * paragraph_funcs.C (mergeParagraph): use it
7275         (mergeParagraph): make it take a Buffer* instead of a
7276         BufferParams* as arg
7277
7278         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7279         as arg
7280         (breakParagraphConservative): ditto
7281
7282         * paragraph.h: remove the breakParagraph friend
7283
7284         * paragraph.C (eraseIntern): new function
7285         (setChange): new function
7286
7287         * paragraph_funcs.C (mergeParagraph): make it take a
7288         ParagraphList::iterator instead of a Paragraph *, adjust
7289         accordingly.
7290
7291         * paragraph.h: move an #endif so that the change tracking stuff
7292         also works in the NO_NEXT case.
7293
7294 2003-03-04  Angus Leeming  <leeming@lyx.org>
7295
7296         * commandtags.h:
7297         * LyXAction.C: new LFUN_INSET_MODIFY.
7298
7299         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7300         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7301
7302 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * several files: ws changes only
7305
7306         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7307         (TeXEnvironment): ditto
7308         (TeXDeeper): ditto
7309
7310         * buffer.C (makeLaTeXFile): adjust
7311         (latexParagraphs): make it take ParagraphList::iterator as args
7312
7313 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * buffer.C (latexParagraphs): adjust
7316
7317         * paragraph.C (TeXOnePar): move function...
7318         (optArgInset): move function...
7319         (TeXEnvironment): move function...
7320         * paragraph_pimpl.C (TeXDeeper): move function...
7321         * paragraph_funcs.C: ...here
7322
7323         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7324
7325 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * buffer.C (readInset): remove compability code for old Figure and
7328         InsetInfo insets
7329
7330 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * buffer.C: ws changes
7333         (readInset):
7334
7335         * BufferView_pimpl.C: ditto
7336         * author.C: ditto
7337         * buffer.h: ditto
7338         * bufferlist.h: ditto
7339         * changes.h: ditto
7340         * lyxfunc.C: ditto
7341
7342 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7343
7344         * converter.[Ch]: split into itself +
7345         * graph.[Ch]
7346         * format.[Ch]
7347         * Makefile.am: += graph.[Ch] + format.[Ch]
7348         * MenuBackend.C
7349         * buffer.C
7350         * exporter.C
7351         * importer.C
7352         * lyx_main.C
7353         * lyxfunc.C
7354         * lyxrc.C: added #include "format.h"
7355
7356 2003-02-27  Angus Leeming  <leeming@lyx.org>
7357
7358         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7359           a label.
7360
7361         * factory.C (createInset): add "label" to the factory.
7362
7363         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7364           string and do no more.
7365
7366 2003-02-27  Angus Leeming  <leeming@lyx.org>
7367
7368         * commandtags.h:
7369         * LyXAction.C (init):
7370         * factory.C (createInset):
7371         * BufferView_pimpl.C (dispatch):
7372           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7373
7374         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7375
7376         * lyxfunc.C (dispatch):
7377         * text3.C (dispatch): pass name to params2string.
7378
7379 2003-02-26  Angus Leeming  <leeming@lyx.org>
7380
7381         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7382           blocks together.
7383           Rearrange the ~includes. Strip out the unnecessary ones.
7384
7385         * factory.C (createInset): reformat.
7386           create new insets for the various LFUN_XYZ_APPLY lfuns.
7387
7388 2003-02-26  John Levon  <levon@movementarian.org>
7389
7390         * lyxrow.h:
7391         * lyxrow.C: add isParStart,isParEnd helpers
7392
7393         * paragraph.h: make isInserted/DeletedText take refs
7394
7395         * paragraph_funcs.h:
7396         * paragraph_funcs.C: remove #if 0'd code
7397
7398         * lyxtext.h:
7399         * text3.C:
7400         * text2.C:
7401         * text.C: use lyxrow helpers above.
7402           Move draw and paint routines to RowPainter.
7403           Make several methods use refs not pointers.
7404           Make backgroundColor() const.
7405           Add markChangeInDraw(), isInInset().
7406           Merge changeRegionCase into changeCase.
7407           Make workWidth() shouldn't-happen code into an Assert.
7408
7409         * rowpainter.h:
7410         * rowpainter.C: new class for painting a row.
7411
7412         * vspace.h:
7413         * vspace.C: make inPixels take a ref
7414
7415 2003-02-26  Angus Leeming  <leeming@lyx.org>
7416
7417         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7418         LFUN_REF_APPLY.
7419
7420 2003-02-25  John Levon  <levon@movementarian.org>
7421
7422         * ispell.C: give the forked command a more accurate name
7423
7424 2003-02-22  John Levon  <levon@movementarian.org>
7425
7426         * toc.h:
7427         * toc.C: make TocItem store an id not a Paragraph *
7428           (bug #913)
7429
7430 2003-02-21  Angus Leeming  <leeming@lyx.org>
7431
7432         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7433           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7434           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7435           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7436           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7437           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7438
7439         * BufferView_pimpl.C (dispatch):
7440         * LyXAction.C (init):
7441         * factory.C (createInset):
7442         * lyxfunc.C (getStatus, dispatch):
7443         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7444
7445 2003-02-21  Angus Leeming  <leeming@lyx.org>
7446
7447         * BufferView_pimpl.C (MenuInsertLyXFile):
7448         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7449         * lyxfunc.C (menuNew, open, doImport):
7450           no longer pass a LyXView & to fileDlg.
7451
7452 2003-02-21  Angus Leeming  <leeming@lyx.org>
7453
7454         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7455         * LyXAction.C: change, BIBKEY to BIBITEM.
7456         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7457         Change InsetBibKey to InsetBibitem.
7458         Change BIBKEY_CODE to BIBITEM_CODE.
7459         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7460         * factory.C: replace insetbib.h with insetbibitem.h.
7461         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7462         * paragraph.C: replace insetbib.h with insetbibitem.h.
7463         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7464         Change bibkey() to bibitem().
7465         * text.C: remove insetbib.h.
7466         * text2.C: replace insetbib.h with insetbibitem.h.
7467         change bibkey() to bibitem().
7468         * text3.C: remove insetbib.h.
7469         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7470
7471 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7472
7473         * lyxrc.C (output): enclose user email in quotes (in case there are
7474         several words)
7475
7476 2003-02-18  John Levon  <levon@movementarian.org>
7477
7478         * buffer.h: add std::
7479
7480 2003-02-17  John Levon  <levon@movementarian.org>
7481
7482         * SpellBase.h:
7483         * ispell.h:
7484         * ispell.C:
7485         * pspell.h:
7486         * pspell.C: reworking. Especially in ispell, a large
7487           number of clean ups and bug fixes.
7488
7489         * lyxfunc.C: fix revert to behave sensibly
7490
7491 2003-02-17 André Pönitz <poenitz@gmx.net>
7492
7493         * LyXAction.C:
7494         * commandtags.h: new LFUN_INSERT_BIBKEY
7495
7496         * layout.h:
7497         * lyxlayout.C:
7498         * buffer.C:
7499         * factory.C:
7500         * text.C:
7501         * text2.C:
7502         * text3.C:
7503         * paragraph.[Ch]:
7504         * paragraph_func.C: remove special bibkey handling
7505
7506 2003-02-17  John Levon  <levon@movementarian.org>
7507
7508         * text.C (Delete): fix case where delete at the end of
7509           the very first paragraph would not merge the pars
7510
7511 2003-02-17  John Levon  <levon@movementarian.org>
7512
7513         * lyxrow.C: fix lastPrintablePos()
7514
7515 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7516
7517         * bufferparams.C (writeLaTeX): add a std:here
7518
7519         * buffer.C: and remove a using directive there
7520
7521 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * buffer.C (makeLaTeXFile): move the code that generates the
7524           preamble...
7525
7526         * bufferparams.C (writeLaTeX): ... in this new method
7527
7528         * LaTeXFeatures.C (getEncodingSet): make const
7529           (getLanguages): make const
7530
7531         * MenuBackend.C (binding): returns the binding associated to this
7532           action
7533           (add): sets the status of each item by calling getStatus. Adds
7534           some intelligence.
7535           (read): add support for OptSubMenu
7536           (expand): remove extra separator at the end of expanded menu
7537
7538 2003-02-15  John Levon  <levon@movementarian.org>
7539
7540         * BufferView.C:
7541         * BufferView_pimpl.C:
7542         * bufferlist.h:
7543         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7544           inset code that had no actual effect. Remove unneeded status
7545           code.
7546
7547 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7548
7549         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7550           in preamble
7551
7552 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7553
7554         * text.C (drawLengthMarker): also draw an arrow marker for
7555           symbolic lengths (medskip...)
7556
7557 2003-02-14  John Levon  <levon@movementarian.org>
7558
7559         * tabular.h:
7560         * tabular.C: better method names
7561
7562 2003-02-14  John Levon  <levon@movementarian.org>
7563
7564         * BufferView_pimpl.C:
7565         * bufferlist.C:
7566         * buffer.C:
7567         * converter.C:
7568         * lyx_cb.C:
7569         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7570           it's a more accurate name. Remove some pointless uses.
7571
7572 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7573
7574         * text2.C (LyXText): change order of initilizers to shut off
7575           warnings
7576
7577 2003-02-14  John Levon  <levon@movementarian.org>
7578
7579         * buffer.C: use ParIterator for getParFromID()
7580
7581         * paragraph.h:
7582         * paragraph.C:
7583         * paragraph_pimpl.h:
7584         * paragraph_pimpl.C: remove unused getParFromID()
7585
7586 2003-02-14  John Levon  <levon@movementarian.org>
7587
7588         * buffer.C: remove some very old #if 0'd parse code
7589
7590 2003-02-13  John Levon  <levon@movementarian.org>
7591
7592         * text.h:
7593         * text.C:
7594         * text2.C: move hfillExpansion(), numberOfSeparators(),
7595           rowLast(), rowLastPrintable(), numberofHfills(),
7596           numberOfLabelHfills() ...
7597
7598         * lyxrow.h:
7599         * lyxrow.C: ... to member functions here.
7600
7601         * paragraph.h:
7602         * paragraph.C:
7603         * lyxtext.h:
7604         * text.C: remove LyXText::beginningOfMainBody(), and call
7605           p->beginningOfMainBody() directly. Move the check for
7606           LABEL_MANUAL into the latter.
7607
7608         * text.h:
7609         * text.C:
7610         * text2.C:
7611         * vspace.C:
7612         * BufferView.h:
7613         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7614
7615         * text.h:
7616         * text.C:
7617         * text2.C:
7618         * text3.C:
7619         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7620           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7621
7622 2003-02-13  John Levon  <levon@movementarian.org>
7623
7624         * CutAndPaste.C: remove debug
7625
7626 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7627
7628         * paragraph.C (asString): remove two unused variables
7629
7630         * lyxtextclass.C (readTitleType):
7631           (Read):
7632           (LyXTextClass): handle new members titletype_ and titlename_
7633
7634         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7635
7636 2003-02-09  John Levon  <levon@movementarian.org>
7637
7638         * buffer.h:
7639         * buffer.C: replace hand-coded list with a map for the dep clean
7640
7641 2003-02-08  John Levon  <levon@movementarian.org>
7642
7643         * LaTeX.C: consolidate code into showRunMessage() helper
7644
7645 2003-02-08  John Levon  <levon@movementarian.org>
7646
7647         * lyxfind.C:
7648         * lyxtext.h:
7649         * text2.C:
7650         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7651           and pass the size in explicitly
7652
7653         * BufferView_pimpl.h:
7654         * BufferView_pimpl.C:
7655         * BufferView.h:
7656         * BufferView.C: add getCurrentChange()
7657
7658         * BufferView_pimpl.h:
7659         * BufferView_pimpl.C: handle change lfuns
7660
7661         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7662           for changes. Mark pasted paragraphs as new.
7663
7664         * support/lyxtime.h:
7665         * support/lyxtime.C:
7666         * DepTable.C: abstract time_t as lyx::time_type
7667
7668         * LColor.h:
7669         * LColor.C: add colours for new text, deleted text, changebars
7670
7671         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7672           package use "usenames" option.
7673
7674         * commandtags.h:
7675         * lyxfunc.C:
7676         * LyXAction.C: add change lfuns
7677
7678         * Makefile.am:
7679         * author.h:
7680         * author.C: author handling
7681
7682         * buffer.h:
7683         * buffer.C: add a per-buffer author list, with first entry as
7684           current author. Handle new .lyx tokens for change tracking. Output
7685           author list to .lyx file. Output dvipost stuff to .tex preamble.
7686           Bump lyx format to 222.
7687
7688         * bufferlist.h:
7689         * bufferlist.C: add setCurrentAuthor() to reset current author details
7690           in all buffers.
7691
7692         * bufferparams.h:
7693         * bufferparams.C: add param for tracking
7694
7695         * bufferview_funcs.C: output change info in minibuffer
7696
7697         * Makefile.am:
7698         * changes.h:
7699         * changes.C: add change-tracking structure
7700
7701         * debug.h:
7702         * debug.C: add CHANGES debug flag
7703
7704         * lyxfind.h:
7705         * lyxfind.C: add code for finding the next change piece
7706
7707         * lyxrc.h:
7708         * lyxrc.C: add user_name and user_email
7709
7710         * lyxrow.h:
7711         * lyxrow.C: add a metric for the top of the text line
7712
7713         * lyxtext.h:
7714         * text.C: implement accept/rejectChange()
7715
7716         * lyxtext.h:
7717         * text.C: paint changebars. Paint new/deleted text in the chosen
7718         colours. Strike through deleted text.
7719
7720         * paragraph.h:
7721         * paragraph.C:
7722         * paragraph_pimpl.h:
7723         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7724           in the current change to the insert functions. Rework erase to
7725           mark text as deleted, adding an eraseIntern() and a range-based
7726           erase(). Implement per-paragraph change lookup and
7727           accept/reject.
7728
7729         * paragraph_funcs.C: Fixup paste for change tracking.
7730
7731         * tabular.C: mark added row/columns as new.
7732
7733         * text.C: fix rowLast() to never return -1. Don't allow
7734           spellchecking of deleted text. Track transpose changes. Don't
7735           allow paragraph break or merge where appropriate.
7736
7737         * text2.C: leave cursor at end of selection after a cut.
7738
7739 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7740
7741         * text.C (getLengthMarkerHeight):
7742         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7743         visible on screen too.
7744
7745 2003-02-07  John Levon  <levon@movementarian.org>
7746
7747         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7748
7749 2003-02-05  Angus Leeming  <leeming@lyx.org>
7750
7751         * lyxserver.C (read_ready): revert my patch of 11 September last year
7752         as it sends PC cpu through the roof. Presumably this means that
7753         the lyxserver will no longer run on an Alpha...
7754
7755 2003-01-30  Angus Leeming  <leeming@lyx.org>
7756
7757         * factory.C (createInset): create an InsetCommandParam of type "index"
7758         and use it to 'do the right thing'.
7759
7760         * text2.C (getStringToIndex): ensure that cursor position is always
7761         reset to the reset_cursor position.
7762
7763 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7764
7765         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7766         disabled.
7767
7768 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7769
7770         * bufferview.C:
7771         * lyxcb.C:
7772         * lyxfunc.C: Output messages with identical spelling, punctuation,
7773         and spaces
7774
7775 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7776
7777         * MenuBackend.C (expandFormats): List only viewable export formats
7778         in "View" menu
7779
7780         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7781         message
7782
7783         * lyxfunc.C (getStatus): Make sure that formats other than
7784         "fax" can also be disabled
7785
7786 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7787
7788         * text3.C (dispatch): put the lfuns that insert insets in 3
7789         groups, and call doInsertInset with appropriate arguments.
7790         (doInsertInset): new function, that creates an inset and inserts
7791         it according to some boolean parameters.
7792
7793 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * buffer.C (readFile): remember to pass on 'par' when calling
7796         readFile recursively.
7797
7798 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7799
7800         * MenuBackend.C (expandFormats): add "..." to import formats.
7801
7802 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7803
7804         * paragraph.C (asString): Remove XForms RTL hacks.
7805
7806 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7807         * buffer.C: fix typo
7808
7809 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * Makefile.am (LIBS): delete var
7812         (lyx_LDADD): add @LIBS@ here instead.
7813
7814 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7815
7816         * Clarify the meaning of "wheel mouse jump"
7817
7818 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7819
7820         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7821         tabular in a float
7822
7823 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7824
7825         * importer.C (Loaders): do not preallocate 3 elements in the
7826         vector, since one ends up with 6 elements otherwise
7827
7828 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7829
7830         * DepTable.C (write): write the file name as last element of the
7831         .dep file (because it may contain spaces)
7832         (read): read info in the right order
7833
7834 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7835
7836         * paragraph_pimpl.C (simpleTeXBlanks):
7837         (simpleTeXSpecialChars):
7838         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7839
7840         * tabular.C (latex): add some missing case statements. Reindent.
7841
7842         * MenuBackend.C (expandToc): remove unused variable.
7843
7844 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7845
7846         * LColor.C:
7847         * LaTeX.C:
7848         * LyXAction.C:
7849         * MenuBackend.C:
7850         * buffer.C:
7851         * exporter.C:
7852         * lyxfunc.C:
7853         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7854         and the like.
7855
7856 2003-01-05  John Levon  <levon@movementarian.org>
7857
7858         * BufferView.h:
7859         * BufferView.C: add getEncoding()
7860
7861         * kbsequence.h:
7862         * kbsequence.C: do not store last keypress
7863
7864         * lyxfunc.h:
7865         * lyxfunc.C: store last keypress here instead. Pass encoding
7866           to getISOEncoded()
7867
7868 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7869
7870         * lyx_main.C (init): remove annoying error message when following
7871         symbolic links (bug #780)
7872
7873 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7874
7875         * text.C (insertChar):
7876         * lyxrc.C (getDescription): remove extra spaces
7877
7878 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7879
7880         * lyxrc.C (getDescription): remove extra spaces
7881
7882 2002-12-20  John Levon  <levon@movementarian.org>
7883
7884         * text3.C: hack fix for page up/down across tall rows
7885
7886 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7887
7888         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7889         not been invoked
7890
7891 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7892
7893         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7894         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7895         thesaurus is not compiled in
7896
7897 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7898
7899         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7900
7901 2002-12-16  Angus Leeming  <leeming@lyx.org>
7902
7903         * lyxrc.[Ch]:
7904         * lyx_main.C (init): remove override_x_deadkeys stuff.
7905
7906 2002-12-12  John Levon  <levon@movementarian.org>
7907
7908         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7909           insert. Only remove shift modifier under strict
7910           circumstances.
7911
7912 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * MenuBackend.C (expandToc): fix crash.
7915
7916 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * MenuBackend.C (expandToc): gettext on float names.
7919
7920 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7921
7922         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7923         implement bool empty() [bug 490]
7924
7925 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7928
7929 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * several files: ws changes
7932
7933 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * text2.C (setCounter): clean up a bit, use boost.format.
7936         (updateCounters): initialize par upon declaration.
7937
7938         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7939         if the layout exists. We do not just store the layout any more.
7940         (SwitchLayoutsBetweenClasses): use boost.format
7941
7942 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7943
7944         * converter.C (convert): if from and to files are the same, use a
7945         temporary files as intermediary
7946
7947 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7948
7949         * commandtags.h:
7950         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7951
7952 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7953
7954         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7955
7956 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * tabular.C (asciiPrintCell): use string(size, char) instead of
7959         explicit loop.
7960
7961         * sgml.C (openTag): fix order of arguments to string constructor
7962         (closeTag): ditto
7963
7964         * lyxfunc.C (dispatch): use boost.format
7965
7966         * lots of files: change "c" -> 'c'
7967
7968 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7969
7970         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7971
7972 2002-11-25  Angus Leeming  <leeming@lyx.org>
7973
7974         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7975
7976         * lyx_main.C (init): compile fix.
7977
7978 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * lyx_cb.C (start): boost.formatify
7981         do not include <iostream>
7982
7983         * lengthcommon.C: ws only
7984
7985         * boost-inst.C,BoostFormat.h: add more explict instantations
7986
7987 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * lots of files: handle USE_BOOST_FORMAT
7990
7991 2002-11-21  John Levon  <levon@movementarian.org>
7992
7993         * pspell.C: fix compile
7994
7995 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7996
7997         * lyxfunc.C (dispatch): use boost::format
7998         (open): ditto
7999         (doImport): ditto
8000
8001         * lyxfont.C (stateText): use boost::format
8002
8003         * lyx_main.C (LyX): use boost::format
8004         (init): ditto
8005         (queryUserLyXDir): ditto
8006         (readRcFile): ditto
8007         (parse_dbg): ditto
8008         (typedef boost::function): use the recommened syntax.
8009
8010         * importer.C (Import): use boost::format
8011
8012         * debug.C (showLevel): use boost::format
8013
8014         * converter.C (view): use boost::format
8015         (convert): ditto
8016         (move): ditto
8017         (scanLog): ditto
8018
8019         * bufferview_funcs.C (currentState): use boost::format
8020
8021         * bufferlist.C (emergencyWrite): use boost::format
8022
8023         * buffer.C (readLyXformat2): use boost::format
8024         (parseSingleLyXformat2Token): ditto
8025
8026         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8027
8028         * LaTeX.C (run): use boost::format
8029
8030         * Chktex.C (scanLogFile): use boost::format
8031
8032         * BufferView_pimpl.C (savePosition): use boost::format
8033         (restorePosition): ditto
8034         (MenuInsertLyXFile): ditto
8035
8036         * BoostFormat.h: help file for explicit instation.
8037
8038 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8039
8040         * tabular.C (latex): Support for block alignment in fixed width
8041         columns.
8042
8043 2002-11-17  John Levon  <levon@movementarian.org>
8044
8045         * BufferView_pimpl.C:
8046         * lyx_cb.C:
8047         * lyxfunc.C: split filedialog into open/save
8048
8049 2002-11-08  Juergen Vigna  <jug@sad.it>
8050
8051         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8052         by my last patch (hopefully).
8053
8054 2002-11-08  John Levon  <levon@movementarian.org>
8055
8056         * iterators.h:
8057         * iterators.C:
8058         * buffer.h:
8059         * buffer.C:
8060         * paragraph.h:
8061         * paragraph.C:
8062         * toc.h:
8063         * toc.C: ParConstIterator, and use it (from Lars)
8064
8065 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8066
8067         * lyxtextclass.[Ch]: revise and add doxygen comments
8068
8069 2002-11-07  John Levon  <levon@movementarian.org>
8070
8071         * text.C: fix progress value for spellchecker
8072
8073         * toc.C: fix navigate menu for insetwrap inside minipage
8074
8075         * paragraph_funcs.C: added FIXME for suspect code
8076
8077 2002-11-07  John Levon  <levon@movementarian.org>
8078
8079         * BufferView_pimpl.C: fix redrawing of insets
8080           on buffer switch
8081
8082 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * text2.C (updateCounters): fix bug 668
8085
8086 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * text3.C (dispatch): Do not make the buffer dirty when moving the
8089         cursor.
8090
8091 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * vc-backend.C: STRCONV
8094         (scanMaster): ditto
8095
8096         * text2.C (setCounter): STRCONV
8097
8098         * paragraph.C (asString): STRCONV
8099
8100         * lyxlength.C (asString): STRCONV
8101         (asLatexString): ditto
8102
8103         * lyxgluelength.C (asString): STRCONV
8104         (asLatexString): ditto
8105
8106         * lyxfunc.C (dispatch): STRCONV
8107         (open): ditto
8108
8109         * lyxfont.C (stateText): STRCONV
8110
8111         * importer.C (Import): STRCONV
8112
8113         * counters.C (labelItem): STRCONV
8114         (numberLabel): ditto
8115         (numberLabel): remove unused ostringstream o
8116
8117         * chset.C: STRCONV
8118         (loadFile): ditto
8119
8120         * bufferview_funcs.C (currentState): STRCONV
8121
8122         * buffer.C (readFile): STRCONV
8123         (asciiParagraph): ditto
8124         (makeLaTeXFile): ditto
8125
8126         * Spacing.C (writeEnvirBegin): STRCONV
8127
8128         * LaTeXFeatures.C (getLanguages): STRCONV
8129         (getPackages): ditto
8130         (getMacros): ditto
8131         (getBabelOptions): ditto
8132         (getTClassPreamble): ditto
8133         (getLyXSGMLEntities): ditto
8134         (getIncludedFiles): ditto
8135
8136         * LaTeX.C: STRCONV
8137         (run): ditto
8138         (scanAuxFile): ditto
8139         (deplog): ditto
8140
8141         * LString.h: add the STRCONV macros
8142
8143         * BufferView_pimpl.C (savePosition): STRCONV
8144         (restorePosition): ditto
8145         (MenuInsertLyXFile): ditto
8146
8147         * vc-backend.C (scanMaster): change from submatch[...] to
8148         submatch.str(...)
8149
8150         * funcrequest.C: include config.h
8151
8152         * factory.C: include config.h
8153
8154         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8155
8156         * box.C: include config.h
8157
8158         * LaTeX.C (scanAuxFile): change from submatch[...] to
8159         submatch.str(...)
8160         (deplog): ditto
8161
8162 2002-10-25  Angus Leeming  <leeming@lyx.org>
8163
8164         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8165
8166         * ispell.[Ch] (setError): new method.
8167         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8168         Use setError() insetead of goto END.
8169
8170         * lyx_cb.C (AutoSave): move out child process into new class
8171         AutoSaveBuffer.
8172
8173 2002-10-30  John Levon  <levon@movementarian.org>
8174
8175         * text3.C: make start appendix undoable
8176
8177 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8178
8179         * lyxlength.C (inPixels): Fix returned value.
8180
8181         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8182         environment.
8183
8184 2002-10-24  Angus Leeming  <leeming@lyx.org>
8185
8186         * lyxgluelength.h: no need to forward declare BufferParams
8187         or BufferView, so don't.
8188
8189 2002-10-21  John Levon  <levon@movementarian.org>
8190
8191         * BufferView.C: menuUndo ->undo, redo
8192
8193         * BufferView.h: document, remove dead, make some methods private
8194
8195         * paragraph_funcs.h:
8196         * paragraph_funcs.C:
8197         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8198
8199         * buffer.h:
8200         * buffer.C:
8201         * sgml.h:
8202         * sgml.C: move sgml open/close tag into sgml.C
8203
8204         * bufferview_funcs.h: unused prototype
8205
8206         * lyxfunc.h:
8207         * lyxfunc.C: remove unused
8208
8209         * lyxtext.h:
8210         * text.C: remove unused
8211
8212 2002-10-21  John Levon  <levon@movementarian.org>
8213
8214         * BufferView.h:
8215         * BufferView.C:
8216         * BufferView_pimpl.h:
8217         * BufferView_pimpl.C: fix mouse wheel handling based on
8218           patch from Darren Freeman
8219
8220 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8221
8222         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8223
8224 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * lyxlength.C (inPixels): Fix hanfling of negative length.
8227         Fix LyXLength::MU case.
8228
8229 2002-10-16  John Levon  <levon@movementarian.org>
8230
8231         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8232
8233 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8234
8235         * converter.C (view): add support for $$i (file name) and $$p
8236         (file path) for the viewer command. If $$i is not specified, then
8237         it is appended to the command (for compatibility with old syntax)
8238
8239 2002-10-14  Juergen Vigna  <jug@sad.it>
8240
8241         * undo_funcs.C (textHandleUndo): alter the order in which the
8242         new undopar is added to the LyXText, as we have to set first
8243         the right prev/next and then add it as otherwise the rebuild of
8244         LyXText is not correct. Also reset the cursor to the right paragraph,
8245         with this IMO we could remove the hack in "redoParagraphs()".
8246
8247 2002-10-09  Angus Leeming  <leeming@lyx.org>
8248
8249         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8250         to turn off an optimisation if a new inset is to be inserted.
8251
8252 2002-10-11 André Pönitz <poenitz@gmx.net>
8253
8254         * lyxtext.h: make some functions public to allow access
8255         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8256
8257 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8258
8259         * text3.C (dispatch): when changing layout, avoid an infinite loop
8260         [bug #652]
8261
8262 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8263
8264         * lyxrc.C (read): treat a viewer or converter command of "none" as
8265         if it were empty.
8266
8267         * MenuBackend.C (expandFormats): for an update, also allow the
8268         formats that are not viewable
8269
8270         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8271         script if it is newer than the lyxrc.defaults in user directory
8272
8273 2002-10-07 André Pönitz <poenitz@gmx.net>
8274
8275         * text.C: Vitaly Lipatov's small i18n fix
8276
8277 2002-09-25  Angus Leeming  <leeming@lyx.org>
8278
8279         * ispell.h: doxygen fix.
8280
8281 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8282
8283         * buffer.h (readFile): Add a new argument to the method, to allow
8284         reading of old-format templates.
8285
8286 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8287
8288         * toc.C (getTocList): Get TOC from InsetWrap.
8289
8290 2002-09-16  John Levon  <levon@movementarian.org>
8291
8292         * lyxfunc.C: check tabular for cut/copy too
8293
8294 2002-09-12  John Levon  <levon@movementarian.org>
8295
8296         * LyXAction.C: tidy
8297
8298         * factory.h:
8299         * factory.C: add header
8300
8301         * paragraph_funcs.h:
8302         * paragraph_funcs.C: cleanup
8303
8304 2002-09-11  John Levon  <levon@movementarian.org>
8305
8306         * PrinterParams.h: odd/even default to true
8307
8308 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8309
8310         * PrinterParams.h: update printer parameters for new xforms dialog
8311
8312 2002-09-11  Angus Leeming  <leeming@lyx.org>
8313
8314         * lyxserver.C (read_ready): re-write to make it more transparent
8315         and to make it work in coherent fashion under Tru64 Unix.
8316
8317 2002-09-11  André Pönitz <poenitz@gmx.net>
8318
8319         * commandtags.h:
8320         * LyXAction.C:
8321         * text3.C: implement LFUN_WORDSEL
8322
8323 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8326         make floatlist_ a boost::shared_ptr<FloatList>
8327
8328         * lyxtextclass.C: include FloatList.h
8329         (LyXTextClass): initialize floatlist_
8330         (TextClassTags): add TC_NOFLOAT
8331         (Read): match "nofloat" to TC_NOFLOAT and use it.
8332         (readFloat): modify call to floatlist_
8333         (floats): ditto
8334         (floats): ditto
8335
8336         * FloatList.[Ch] (FloatList): remove commented out float
8337         initialization.
8338         (erase): new function
8339
8340 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8341
8342         * MenuBackend.C (expandToc): fix crash when there is no document
8343         open
8344
8345 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8346
8347         * many files: Add insetwrap.
8348
8349 2002-09-09  John Levon  <levon@movementarian.org>
8350
8351         * text2.C: remove confusing and awkward depth wraparound
8352
8353 2002-09-09  John Levon  <levon@movementarian.org>
8354
8355         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8356
8357         * buffer.h:
8358         * buffer.C: remove getIncludeonlyList()
8359
8360         * paragraph.C:
8361         * lyxfunc.C: remove headers
8362
8363 2002-09-09  Juergen Vigna  <jug@sad.it>
8364
8365         * text.C (getColumnNearX): fix form Michael this is most
8366         probably a cut&paste bug.
8367
8368 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8371
8372         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8373         references, ws changes.
8374
8375         * text2.C (init): update counters after init
8376         (insertParagraph): no need to set counter on idividual paragraphs.
8377         (setCounter): access the counters object in the textclass object
8378         on in the buffer object.
8379         (updateCounters): ditto
8380
8381         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8382         shared_ptr<Counters> to avoid loading counters.h in all
8383         compilation units.
8384         (LyXTextClass): initialize ctrs_
8385         (TextClassTags): add TC_COUNTER, and ...
8386         (Read): use it here.
8387         (CounterTags): new tags
8388         (readCounter): new function
8389         (counters): new funtion
8390         (defaultLayoutName): return a const reference
8391
8392         * counters.C (Counters): remove contructor
8393         (newCounter): remove a couple of unneeded statements.
8394         (newCounter): simplify a bit.
8395         (numberLabel): some small formatting changes.
8396
8397         * buffer.[Ch]: remove all traces of counters, move the Counters
8398         object to the LyXTextClass.
8399
8400 2002-09-06  Alain Castera  <castera@in2p3.fr>
8401
8402         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8403         package to set the horizontal alignment on fixed width columns.
8404
8405         * lyx_sty.C:
8406         * lyx_sty.h: added tabularnewline macro def.
8407
8408         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8409
8410 2002-09-06  John Levon  <levon@movementarian.org>
8411
8412         * LyXAction.C: tooltips for sub/superscript
8413
8414         * MenuBackend.C: a bit more verbose
8415
8416         * lyxfunc.C: tiny clean
8417
8418         * undo_funcs.C: document undo_frozen
8419
8420 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * counters.C (Counters): add missing algorithm counter.
8423
8424         * text2.C (setCounter): lookup the counter with layouts latexname
8425         instead of by section number.
8426         (setCounter): use a hackish way to lookup the correct enum
8427         counter.
8428         a float name->type change
8429         reset enum couners with counter name directly instead of depth value.
8430
8431         * counters.C (Counters): remove the push_backs, change to use the
8432         float type not the float name.
8433         (labelItem): remove unused string, float name->type change
8434
8435         * counters.h: don't include vector, loose the enums and sects vectors
8436
8437 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8440         (Read): add float->TC_FLOAT to textclassTags
8441         (Read): and handle it in the switch
8442         (readFloat): new function
8443
8444         * FloatList.C (FloatList): comment out the hardcoded float
8445         definitions.
8446
8447         * lyxlayout.h: ws change.
8448
8449 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8452
8453 2002-09-03  Angus Leeming  <leeming@lyx.org>
8454
8455         * BufferView_pimpl.h: qualified name is not allowed in member
8456         declaration: WorkArea & Pimpl::workarea() const;
8457
8458         * factory.C: added using std::endl directive.
8459
8460         * text3.C: added using std::find and std::vector directives.
8461
8462 2002-08-29  André Pönitz <poenitz@gmx.net>
8463
8464         * lyxtext.h:
8465         * text2.C: remove unused member number_of_rows
8466
8467         * Makefile.am:
8468         * BufferView2.C: remove file, move contents to...
8469         * BufferView.C: ... here
8470
8471         * BufferView_pimpl.C:
8472         * factory.C: move more inset creation to factory
8473
8474         * vspace.C: avoid direct usage of LyXText, ws changes
8475
8476         * BufferView.[Ch]:
8477                 don't provide direct access to WorkArea, use two simple
8478                 acessors haveSelction() and workHeight() instead
8479
8480
8481 2002-08-29  John Levon  <levon@movementarian.org>
8482
8483         * BufferView_pimpl.C (dispatch): do not continue when
8484           no buffer
8485
8486 2002-08-28  André Pönitz <poenitz@gmx.net>
8487
8488         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8489
8490         * BufferView.h:
8491         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8492
8493 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8494
8495         * buffer.C: increment LYX_FORMAT to 221
8496
8497         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8498         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8499
8500         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8501
8502         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8503
8504 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8505
8506         * factory.C (createInset): use LyXTextClass::floats
8507
8508         * MenuBackend.C (expandFloatListInsert):
8509         (expandFloatInsert):
8510         (expandToc):
8511
8512         * text2.C (setCounter):
8513
8514         * LaTeXFeatures.C (useFloat):
8515         (getFloatDefinitions):
8516
8517         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8518
8519         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8520         floatlist_, with accessor floats().
8521
8522         * FloatList.h: remove global FloatList
8523
8524 2002-08-26  André Pönitz <poenitz@gmx.net>
8525
8526         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8527
8528         * BufferView.h:
8529         * BufferView2.C:
8530         * BufferView_pimpl.C:
8531         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8532
8533 2002-08-25  John Levon  <levon@movementarian.org>
8534
8535         * LyXAction.C: fix margin note description
8536
8537 2002-08-24  John Levon  <levon@movementarian.org>
8538
8539         * buffer.C:
8540         * bufferlist.C:
8541         * bufferview_funcs.C:
8542         * lyxfont.C:
8543         * undo_funcs.C: cleanups
8544
8545         * lyxfunc.C: disable CUT/COPY when no selection
8546
8547 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8548
8549         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8550         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8551
8552         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8553         Add backward compatibility to "mono", "gray" and "no".
8554
8555 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8556
8557         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8558         (and file_format >= 200).
8559
8560 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561
8562         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8563
8564 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8565
8566         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8567
8568 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8569
8570         * BufferView_pimpl.C:
8571         * LyXAction.C:
8572         * buffer.C:
8573         * commandtags.h:
8574         * lyxfunc.C:
8575         * paragraph.[Ch]:
8576         * text2.C:
8577         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8578         inset and code to make it  work with the paragraph code. The inset
8579         can be anywhere in the paragraph, but will only do the expected
8580         thing in LaTeX if the layout file contains the parameter line
8581                         OptionalArgs    1
8582         (or more generally, a nonzero value) for that layout.
8583
8584 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * paragraph.h: remove the declaration of undefined counters class
8587         function.
8588
8589 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8590
8591         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8592         Dr. Richard Hawkins.
8593
8594 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8595
8596         * paragraph_funcs.h: remove some unneeded includes
8597
8598         * text.C (backspace): pasteParagraph now in global scipe
8599
8600         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8601         (pasteSelection): ditto
8602
8603         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8604         * paragraph_funcs.C (pasteParagraph): ... here
8605
8606 2002-08-20  André Pönitz <poenitz@gmx.net>
8607
8608         * commandtags.h: new LFUNs for swapping/copying table row/colums
8609
8610         * LyXAction.C:
8611         * lyxfunc.C: support for new lfuns
8612
8613 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8614
8615         * tabular.C:
8616         * buffer.[Ch]: remove NO_COMPABILITY stuff
8617
8618 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * boost.C (throw_exception): new file, with helper function for
8621         boost compiled without exceptions.
8622
8623         * paragraph.h:
8624         * lyxlength.C:
8625         * buffer.C:
8626         * ParameterStruct.h:
8627         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8628
8629         * bufferlist.C (emergencyWriteAll): use boost bind
8630
8631         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8632
8633         * text.C: include paragraph_funcs.h
8634         (breakParagraph): breakParagraph is now in global scope
8635
8636         * paragraph_funcs.[Ch]: new files
8637
8638         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8639         global scope
8640
8641         * buffer.C: include paragraph_funcs.h
8642         (insertStringAsLines): breakParagraph is now in global scope
8643
8644         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8645         paragraph_funcs.C
8646
8647         * CutAndPaste.C: include paragraph_funcs.h
8648         (cutSelection): breakParagraphConservative is now in global scope
8649         (pasteSelection): ditto
8650
8651         * buffer.h: declare oprator== and operator!= for
8652         Buffer::inset_iterator
8653
8654         * bufferlist.C (emergencyWrite): don't use fmt(...)
8655
8656         * text3.C: add using std::endl
8657
8658         * BufferView.C (moveCursorUpdate): remove default arg
8659
8660 2002-08-20  André Pönitz <poenitz@gmx.net>
8661
8662         * buffer.[Ch]: move inline functions to .C
8663
8664         * BufferView2.C:
8665         * BufferView_pimpl.C:
8666         * text.C:
8667         * buffer.[Ch]: use improved inset_iterator
8668
8669         * buffer.C:
8670         * paragraph.[Ch]: write one paragraph at a time
8671
8672 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8673
8674         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8675         style if style is not specified.
8676
8677 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * text2.C (setCounter): when searching for right label for a
8680         caption, make sure to recurse to parent insets (so that a caption
8681         in a minipage in a figure float works) (bug #568)
8682
8683 2002-08-20  André Pönitz <poenitz@gmx.net>
8684
8685         * text3.C: new file for LyXText::dispatch() and helpers
8686
8687         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8688
8689         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8690
8691 2002-08-19  André Pönitz <poenitz@gmx.net>
8692
8693         * lyxtext.h:
8694         * text.C: new LyXText::dispatch()
8695
8696         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8697
8698 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8699
8700         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8701
8702         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8703         Hebrew text.
8704
8705 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * Makefile.am: use $(variables) instead of @substitutions@
8708
8709 2002-08-15  André Pönitz <poenitz@gmx.net>
8710
8711         * lyxfunc.C:
8712         * BufferView_pimpl.C: streamlining mathed <-> outer world
8713         interaction
8714
8715         * commandtags.h:
8716         * LyXAction.C: remove unused LFUN_MATH
8717
8718 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8719
8720         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8721
8722 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * paragraph.C (Paragraph): reformat a bit
8725         (cutIntoMinibuffer): use builtin InsetList function instad of
8726         doing it manually.
8727         (getInset): ditto
8728
8729         * buffer.C: include boost/bind.hpp, add using std::for_each
8730         (writeFileAscii): use ParagraphList iterators
8731         (validate): use for_each for validate traversal of paragraphs
8732         (getBibkeyList): use ParagraphList iterators
8733         (resizeInsets): use for_each to resizeInsetsLyXText for all
8734         paragraphs.
8735         (getParFromID): use ParagraphList iterators
8736
8737         * BufferView2.C (lockInset): use paragraph list and iterators
8738
8739 2002-08-14  John Levon  <levon@movementarian.org>
8740
8741         * lyxserver.C: remove spurious xforms include
8742
8743 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8746
8747 2002-08-13  André Pönitz <poenitz@gmx.net>
8748
8749         * LyXAction.[Ch]:
8750         * lyxfunc.C: further cleaning
8751
8752 2002-08-13  André Pönitz <poenitz@gmx.net>
8753
8754         * funcrequest.h: new constructor
8755
8756         * funcrequest.C: move stuff here from .h
8757
8758         * Makefile.am:
8759         * BufferView_pimpl.C:
8760         * LyXAction.C:
8761         * toc.C:
8762         * lyxfunc.C: subsequent changes
8763
8764         * lyxfunc.h: new view() member function
8765
8766         * lyxfunc.C: subsequent changes
8767
8768 2002-08-13  Angus Leeming  <leeming@lyx.org>
8769
8770         * BufferView2.C:
8771         * BufferView_pimpl.C:
8772         * buffer.C:
8773         * converter.C:
8774         * importer.C:
8775         * lyxfunc.C:
8776         * lyxvc.C:
8777         * toc.C:
8778         * vc-backend.C:
8779         changes due to the changed LyXView interface that now returns references
8780         to member variables not pointers.
8781
8782 2002-08-13  Angus Leeming  <leeming@lyx.org>
8783
8784         * WordLangTuple (word, lang_code): return references to strings,
8785         not strings.
8786
8787         * BufferView.h:
8788         * SpellBase.h:
8789         * lyxtext.h: forward-declare WordLangTuple.
8790
8791         * BufferView2.C:
8792         * ispell.C:
8793         * pspell.C:
8794         * text.C: #include "WordLangTuple.h".
8795
8796         * lyxtext.h:
8797         * text.C: (selectNextWordToSpellcheck): constify return type.
8798
8799 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8800
8801         * buffer.C:
8802         * buffer.h:
8803         * lyxtext.h:
8804         * paragraph.C:
8805         * paragraph_pimpl.h:
8806         * text.C:
8807         * text2.C:
8808         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8809         suggested by Angus.
8810         Made updateCounter always count from start of buffer, and removed
8811         second argument (par).
8812         Reverted floats number display to '#'. Perhaps I'll try again when the
8813         code base is sanitized a bit.
8814
8815 2002-08-12  Angus Leeming  <leeming@lyx.org>
8816
8817         * buffer.[Ch] (getLabelList): constify.
8818
8819 2002-08-07  André Pönitz <poenitz@gmx.net>
8820
8821         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8822
8823         * funcrequest.h: extension to keep mouse (x,y) position
8824
8825 2002-08-12  Juergen Vigna  <jug@sad.it>
8826
8827         * BufferView2.C (insertErrors): forbid undo when inserting error
8828         insets.
8829
8830         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8831
8832 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8833
8834         * ParagraphList.[Ch]: new files
8835
8836         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8837
8838         * BufferView2.C (lockInset): ParagraphList changes
8839         * toc.C: ditto
8840         * text2.C: ditto
8841         * bufferlist.C: ditto
8842         * buffer.h: ditto
8843         * buffer.C: ditto
8844
8845 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8846
8847         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8848         unused class variable counter_,
8849
8850         * paragraph.[Ch] (getFirstCounter): delete unused function
8851
8852         * counters.C: include LAssert.h
8853         (reset): add a new function with no arg, change other version to
8854         not have def. arg and to not allow empty arg.
8855
8856         * text2.C (setCounter): remove empty arg from call to Counters::reset
8857
8858 2002-08-11  John Levon  <levon@movementarian.org>
8859
8860         * Makefile.am: add WordLangTuple.h
8861
8862 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8865         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8866
8867         * insets/insettext.C: InsetList changes
8868
8869         * graphics/GraphicsSupport.C (operator()): InsetList changes
8870
8871         * toc.C (getTocList): InsetList changes
8872
8873         * paragraph_pimpl.[Ch]: InsetList changes
8874
8875         * paragraph.[Ch]: InsetList changes
8876
8877         * buffer.C (inset_iterator): InsetList changes
8878         (setParagraph): ditto
8879         * buffer.h (inset_iterator): ditto
8880         * iterators.C (operator++): ditto
8881         * iterators.h: ditto
8882
8883         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8884
8885         * InsetList.[Ch]: new files, most InsetList handling moved out of
8886         paragraph.C.
8887
8888         * BufferView2.C (removeAutoInsets): InsetList changes
8889         (lockInset): ditto
8890         (ChangeInsets): ditto
8891
8892 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8893
8894         * paragraph_pimpl.h (empty): new function
8895
8896         * paragraph.[Ch] (empty): new function
8897
8898         * other files: use the new Paragraph::empty function
8899
8900 2002-08-09  John Levon  <levon@movementarian.org>
8901
8902         * lyxtext.h: remove unused refresh_height
8903
8904 2002-08-09  John Levon  <levon@movementarian.org>
8905
8906         * Makefile.am:
8907         * sgml.h:
8908         * sgml.C:
8909         * buffer.C:
8910         * paragraph.h:
8911         * paragraph.C: move sgml char escaping out of paragraph
8912
8913         * paragraph.h:
8914         * paragraph.C: remove id setter
8915
8916         * buffer.C:
8917         * paragraph.C:
8918         * paragraph_pimpl.C: remove dead tex_code_break_column
8919
8920         * bufferview_funcs.C: small cleanup
8921
8922         * lyxfunc.C: remove dead proto
8923
8924         * lyxtext.h: make some stuff private. Remove some dead stuff.
8925
8926         * lyxgluelength.C: make as[LyX]String() readable
8927
8928 2002-08-08  John Levon  <levon@movementarian.org>
8929
8930         * LyXAction.h:
8931         * LyXAction.C:
8932         * MenuBackend.C:
8933         * ToolbarDefaults.C:
8934         * lyxfunc.C:
8935         * lyxrc.C:
8936         * toc.C: lyxaction cleanup
8937
8938 2002-08-08  John Levon  <levon@movementarian.org>
8939
8940         * BufferView2.C: small cleanup
8941
8942         * lyxfind.h:
8943         * lyxfind.C: move unnecessary header into the .C
8944
8945 2002-08-08  John Levon  <levon@movementarian.org>
8946
8947         * funcrequest.h: just tedious nonsense
8948
8949         * lyx_main.h:
8950         * lyx_main.C: cleanups
8951
8952         * buffer.C:
8953         * vspace.C: remove dead header lyx_main.h
8954
8955 2002-08-07  Angus Leeming  <leeming@lyx.org>
8956
8957         * Paragraph.[Ch]:
8958         * paragraph_pimpl.h:
8959         Forward declare class Counters in paragraph.h by moving the ctrs member
8960         variable into Paragraph::Pimpl.
8961         (counters): new method, returning a reference to pimpl_->ctrs.
8962
8963         * text2.C: ensuing changes.
8964
8965 2002-08-07  John Levon  <levon@movementarian.org>
8966
8967         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8968
8969         * BufferView_pimpl.C: announce X selection on double/triple
8970           click
8971
8972         * lyx_main.C: use correct bool in batch dispatch
8973
8974         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8975
8976 2002-08-07  André Pönitz <poenitz@gmx.net>
8977
8978         * funcrequest.h: new class to wrap a kb_action and its argument
8979
8980         * BufferView.[Ch]:
8981         * BufferView_pimpl[Ch]:
8982         * LaTeX.C:
8983         * LyXAction.[Ch]:
8984         * lyxfunc.[Ch]:
8985         * lyxrc.C: subsequent changes
8986
8987
8988 2002-08-07  John Levon  <levon@movementarian.org>
8989
8990         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8991           document options change.
8992
8993 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8994
8995         * counters.[Ch]
8996         * text2.C
8997         * paragraph.[Ch]
8998         * makefile.am: move counters functionality over from
8999         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9000
9001 2002-08-06  John Levon  <levon@movementarian.org>
9002
9003         * WordLangTuple.h: new file for word + language code tuple
9004
9005         * SpellBase.h:
9006         * pspell.h:
9007         * pspell.C:
9008         * ispell.h:
9009         * ispell.C:
9010         * lyxtext.h:
9011         * text.C:
9012         * text2.C:
9013         * BufferView.h:
9014         * BufferView2.C: use WordLangTuple
9015
9016         * layout.h:
9017         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9018
9019 2002-08-06  John Levon  <levon@movementarian.org>
9020
9021         * lyx_main.C: fix cmdline batch handling
9022
9023 2002-08-06  André Pönitz <poenitz@gmx.net>
9024
9025         * lyxrc.C: set default for show_banner to true
9026
9027 2002-08-06  John Levon  <levon@movementarian.org>
9028
9029         * pspell.C: fix a crash, and allow new aspell to work
9030
9031 2002-08-06  John Levon  <levon@movementarian.org>
9032
9033         * lyxfunc.C:
9034         * kbmap.C: small cleanup
9035
9036         * vspace.h:
9037         * vspace.C: add const
9038
9039 2002-08-05  John Levon  <levon@movementarian.org>
9040
9041         * LyXAction.C: back to tabular-insert
9042
9043 2002-08-04  John Levon  <levon@movementarian.org>
9044
9045         * BufferView.h:
9046         * BufferView.C: cosmetic change
9047
9048         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9049
9050         * bufferlist.C:
9051         * buffer.h:
9052         * buffer.C:
9053         * lyxcb.h:
9054         * lyxcb.C:
9055         * lyxserver.C:
9056         * lyxvc.C:
9057         * vc-backend.C:
9058         * BufferView2.C: purge all "Lyx" not "LyX" strings
9059
9060         * lyxcursor.h:
9061         * lyxcursor.C: attempt to add some documentation
9062
9063         * lyxfunc.C:
9064         * commandtags.h:
9065         * LyXAction.C:
9066         * ToolbarDefaults.C:
9067         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9068           merge with LFUN_TABULAR_INSERT
9069
9070         * Makefile.am:
9071         * SpellBase.h:
9072         * ispell.h:
9073         * ispell.C:
9074         * pspell.h:
9075         * pspell.C: split up i/pspell implementations into separate
9076           files, many cleanups
9077
9078         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9079
9080         * text2.C: some cleanup
9081
9082         * lyxfunc.C: don't check for isp_command == "none" any more, it
9083           didn't make any sense
9084
9085 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9086
9087         * counters.[Ch]
9088         * text2.C
9089         * paragraph.[Ch]
9090         * makefile.am: move counters functionality over
9091         from text2.C/paragraph.[Ch] to counters.[Ch], and
9092         make proper C++.
9093 2002-08-02  John Levon  <levon@movementarian.org>
9094
9095         * buffer.C: s/lyxconvert/lyx2lyx/
9096
9097 2002-08-02  Angus Leeming  <leeming@lyx.org>
9098
9099         * lyxlex.C: revert John's change as it breaks reading of the user
9100         preamble.
9101
9102 2002-08-02  Angus Leeming  <leeming@lyx.org>
9103
9104         * importer.C (Import):
9105         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9106         changes due to LyXView::view() now returning a boost::shared_ptr.
9107
9108 2002-08-02  John Levon  <levon@movementarian.org>
9109
9110         * lyxlex.C: small cleanup
9111
9112 2002-08-02  John Levon  <levon@movementarian.org>
9113
9114         * text2.C (status): small cleanup, no logic change
9115
9116 2002-08-01  John Levon  <levon@movementarian.org>
9117
9118         * buffer.h:
9119         * buffer.C (writeFile): don't output alerts, caller
9120           handles this
9121
9122         * bufferlist.C:
9123         * lyx_cb.C: from above
9124
9125         * lyxfunc.C: allow to open non-existent files
9126
9127 2002-07-31  John Levon  <levon@movementarian.org>
9128
9129         * lyxserver.C: don't let incidental errors get
9130           in the way (errno)
9131
9132 2002-07-30  John Levon  <levon@movementarian.org>
9133
9134         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9135
9136 2002-07-30  John Levon  <levon@movementarian.org>
9137
9138         * lyxserver.h:
9139         * lyxserver.C: remove I/O callback too
9140
9141 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9144         log.
9145
9146 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * many files: strip,frontStrip -> trim,ltrim,rtrim
9149
9150 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * PrinterParams.h: remove extern containsOnly, and include
9153         support/lstrings.h instead.
9154
9155         * LaTeX.C (scanAuxFile): modify because of strip changes
9156         (deplog): ditto
9157         * buffer.C (makeLaTeXFile): ditto
9158         * bufferparams.C (writeFile): ditt
9159         * lyxfont.C (stateText): ditto
9160         * lyxserver.C (read_ready): ditto
9161         * vc-backend.C (scanMaster): ditto
9162
9163         * BufferView_pimpl.h: ws changes
9164
9165         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9166
9167 2002-07-26  André Pönitz <poenitz@gmx.net>
9168
9169         * kb_sequence.C: remove unnedred usings
9170
9171 2002-07-26  Juergen Vigna  <jug@sad.it>
9172
9173         * lyxfind.C (LyXReplace): we have to check better if the returned
9174         text is not of theLockingInset()->getLockingInset().
9175
9176 2002-07-25  Juergen Vigna  <jug@sad.it>
9177
9178         * lyxfind.C (LyXReplace): don't replace if we don't get the
9179         right LyXText.
9180
9181         * undo_funcs.C (createUndo): remove debugging code.
9182
9183 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * buffer.C (parseSingleLyXformat2Token): Use default placement
9186         when reading old floats.
9187
9188         * FloatList.C (FloatList): Change the default placement of figure
9189         and tables to "tbp".
9190
9191 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * MenuBackend.C: using std::max
9194
9195 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9196
9197         * MenuBackend.C (expandToc):
9198         (expandToc2): code moved from xforms menu frontend. It is now
9199         generic and TOCs are transparent to menu frontends.
9200
9201 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * toc.C (getTocList): protect against buf=0
9204
9205         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9206         Menu as first parameter. Now, this calls itself recursively to
9207         expand a whole tree (this will be useful for TOC handling)
9208         (expandFloatInsert): remove 'wide' version of floats
9209
9210         * MenuBackend.h (submenuname): returns the name of the submenu.
9211         (submenu): returns the submenu itself, provided it has been
9212         created by MenuBackend::expand
9213
9214 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9217         insets which have noFontChange == true. (bug #172)
9218
9219 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * BufferView_pimpl.C: add connection objects and use them...
9222         (Pimpl): here.
9223
9224 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9225
9226         * MenuBackend.C (expandLastfiles):
9227         (expandDocuments):
9228         (expandFormats):
9229         (expandFloatListInsert):
9230         (expandFloatInsert):
9231         (expand): split expand in parts
9232
9233 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * lyx_gui.C: use lyx_gui::exit()
9236
9237 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9238
9239         * LyXAction.C: show the failing pseudo action
9240
9241 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9242
9243         * buffer.C (readFile): Run the lyxconvert script in order to read
9244         old files.
9245
9246 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * LyXAction.C:
9249         * commandtags.h:
9250         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9251
9252 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * LyXAction.C:
9255         * commandtags.h:
9256         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9257
9258 2002-07-22  Herbert Voss  <voss@lyx.org>
9259
9260         * lengthcommon.C:
9261         * lyxlength.[Ch]: add support for the vertical lengths
9262
9263 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * toc.[Ch]: std:: fixes
9266
9267 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * lyxrc.C: do not include lyx_main.h
9270
9271         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9272         for layouts
9273
9274         * lyxrc.C:
9275         * encoding.C:
9276         * bufferlist.C:
9277         * BufferView2.C: include "lyxlex.h"
9278
9279         * tabular.h:
9280         * bufferparams.h: do not #include "lyxlex.h"
9281
9282         * lyxtextclasslist.C (Add): remove method
9283         (classlist): renamed to classlist_
9284
9285         * paragraph_pimpl.C:
9286         * paragraph.C:
9287         * text2.C:
9288         * CutAndPaste.C:
9289         * bufferview_funcs.C:
9290         * bufferlist.C:
9291         * text.C:
9292         * LaTeXFeatures.C:
9293         * buffer.C:
9294         * toc.C (getTocList): use BufferParams::getLyXTextClass
9295
9296         * toc.C (getTocList): use InsetFloat::addToToc
9297
9298         * toc.[Ch]: new files, containing helper functions to handle table
9299         of contents
9300
9301         * lyxfunc.C (dispatch): no need to remove spaces around command
9302         given as a string
9303         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9304         first command of the sequence; it is not very clever, but I do not
9305         have a better idea, actually
9306
9307         * LyXAction.C (LookupFunc): make sure to remove space at the
9308         beginning and end of the command
9309
9310 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * MenuBackend.C (getMenubar): new method: return the menubar of
9313         this menu set
9314         (read): treat differently reading of menu and menubar (in
9315         particular, the menubar has no name now)
9316         (Menu::menubar): remove
9317
9318         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9319         saving is finished
9320
9321 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9322
9323         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9324         a bibitem inset in a RTL paragraph.
9325
9326 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * paragraph_pimpl.C: constify
9329
9330         * BufferView_pimpl.C:
9331         * LaTeX.C:
9332         * lyxfunc.C: fix dispatch in a nicer way
9333
9334 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9335
9336         * lyxfunc.C (dispatch):
9337         * BufferView_pimpl.C:
9338         * BufferView_pimpl.h:
9339         * BufferView.C:
9340         * BufferView.h: rename Dispatch() to dispatch()
9341
9342         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9343
9344         * lyxlayout.C (Read): honor DependsOn tag
9345
9346         * lyxlayout.[Ch] (depends_on): new method
9347
9348         * version.C.in: update lyx_docversion
9349
9350         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9351
9352         * paragraph.C (validate): remove from here...
9353         * paragraph_pimpl.C (validate): ... and move here
9354         (isTextAt): make it const
9355
9356         * buffer.C (getLists): ws cleanup
9357
9358 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * language.C (read): Use iso8859-1 encoding in latex_lang
9361         (this prevents LyX from crashing when using iso10646-1 encoding).
9362
9363 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * text2.C (toggleInset): if cursor is inside an inset, close the
9366         inset and leave cursor _after_ it
9367
9368 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * lyxfunc.C: move minibuffer completion handling out of here
9371
9372 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * BufferView_pimpl.C:
9375         * LaTeX.C: fix dispatch calls
9376
9377 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9378
9379         * text.C (drawChars): Fix Arabic text rendering.
9380
9381 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * LyXAction.C:
9384         * commandtags.h:
9385         * lyxfunc.C: remove message-push/pop
9386
9387         * lyxserver.C:
9388         * lyxfunc.h:
9389         * lyxfunc.C: rationalise some code by removing verboseDispatch
9390           in favour of a bool argument to dispatch()
9391
9392 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * lyx_main.C (init): make sure to read symlinks as absolute paths
9395
9396 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * lyxfunc.h:
9399         * lyxfunc.C: no need for commandshortcut to be a member
9400
9401 2002-07-15  André Pönitz <poenitz@gmx.net>
9402
9403         * converter.C: add support for $$s (scripts from lib/scripts dir)
9404         * lyx_main.C: white space
9405
9406 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * bufferlist.C:
9409         * lyxrc.h:
9410         * lyxrc.C: remove second exit confirmation
9411
9412 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9413
9414         * BufferView.h:
9415         * BufferView.C:
9416         * BufferView2.C:
9417         * BufferView_pimpl.h:
9418         * BufferView_pimpl.C:
9419         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9420
9421 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * MenuBackend.C (expand): add numeric shortcuts to document menu
9424
9425         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9426
9427 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * lyxfont.C (setLyXFamily):
9430         (setLyXSeries):
9431         (setLyXShape):
9432         (setLyXSize):
9433         (setLyXMisc):
9434         (lyxRead):
9435         * debug.C (value):
9436         * buffer.C (asciiParagraph): use ascii_lowercase
9437
9438 2002-07-15  Mike Fabian  <mfabian@suse.de>
9439
9440         * lyxlex_pimpl.C (search_kw):
9441         * lyxlex.C (getLongString):
9442         * converter.h (operator<):
9443         * converter.C (operator<):
9444         * buffer.C (parseSingleLyXformat2Token):
9445         (asciiParagraph):
9446         * ToolbarDefaults.C (read):
9447         * MenuBackend.C (checkShortcuts):
9448         (read):
9449         * LColor.C (getFromGUIName):
9450         (getFromLyXName): use the compare_ascii_no_case instead of
9451         compare_no_case, because in turkish, 'i' is not the lowercase
9452         version of 'I', and thus turkish locale breaks parsing of tags.
9453
9454 2002-07-16  Angus Leeming  <leeming@lyx.org>
9455
9456         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9457         now takes a Buffer const & argument.
9458
9459 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9460
9461         * BufferView.C (resize): check there's a buffer to resize
9462
9463 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * lyxfunc.C: remove dead code
9466
9467         * lyxserver.h:
9468         * lyxserver.C: use lyx_guii::set_read_callback
9469
9470 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9473         an inset in a RTL paragraph.
9474
9475 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * lyxfunc.C: repaint after a font size update
9478
9479 2002-07-15  André Pönitz <poenitz@gmx.net>
9480
9481         * lyxlength.C: inBP should be able to return negative values
9482
9483 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * lyxfunc.C: use lyx_gui::update_fonts()
9486
9487 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * lyxfunc.C: use lyx_gui::update_color()
9490
9491 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * bufferlist.C:
9494         * lyxfunc.h:
9495         * lyxfunc.C:
9496         * lyxrc.h:
9497         * lyxrc.C: remove file->new asks for name option, and let
9498           buffer-new take an argument
9499
9500 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * BufferView_pimpl.C: remove unneeded extra repaint()
9503
9504 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * LyXAction.C: allow command-sequence with NoBuffer
9507
9508         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9509
9510 2002-07-10  Angus Leeming  <leeming@lyx.org>
9511
9512         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9513
9514 2002-07-09  Angus Leeming  <leeming@lyx.org>
9515
9516         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9517
9518 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * lengthcommon.h: whitespace
9521
9522         * lyxfunc.C: update scrollbar after goto paragraph
9523
9524         * lyxtext.h: factor out page break drawing, and fix it so
9525           page break/added space paints as selected nicely
9526
9527 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * BufferView_pimpl.C: add FIXMEs, clean up a little
9530
9531 2002-07-09  André Pönitz <poenitz@gmx.net>
9532
9533         * lyxfont.[Ch]: support for wasy symbols
9534
9535 2002-07-08  André Pönitz <poenitz@gmx.net>
9536
9537         * BufferView_pimpl.C: apply John's patch for #93.
9538
9539 2002-07-05  Angus Leeming  <leeming@lyx.org>
9540
9541         * BufferView_pimpl.C (buffer): generate previews if desired.
9542
9543         * LColor.h: add "preview" to the color enum.
9544
9545         * LColor.C (LColor): add a corresponding entry to the items array.
9546
9547         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9548         with this buffer.
9549
9550 2002-07-05  Angus Leeming  <leeming@lyx.org>
9551
9552         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9553         The body of the code is now in the method that is passed an ostream &
9554         rather than a file name.
9555         Pass an additional only_preamble parameter, useful for the forthcoming
9556         preview stuff.
9557
9558 2002-07-03  André Pönitz <poenitz@gmx.net>
9559
9560         * lyxfunc.C: simplify getStatus() a bit for math stuff
9561
9562 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9563
9564         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9565
9566 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * text.C (changeRegionCase): do not change case of all the
9569         document when region ends at paragraph end (bug #461)
9570
9571 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * paragraph.C (startTeXParParams):
9574         (endTeXParParams): add \protect when necessary
9575
9576 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9577
9578         * BufferView_pimpl.C (workAreaExpose): remove warning
9579
9580 2002-06-27  Angus Leeming  <leeming@lyx.org>
9581
9582         * Makefile.am: add lyxlayout_ptr_fwd.h.
9583
9584 2002-06-26  André Pönitz <poenitz@gmx.net>
9585
9586         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9587
9588 2002-06-25  Angus Leeming  <leeming@lyx.org>
9589
9590         * lyxfunc.C (dispatch): Comment out the call to
9591         grfx::GCache::changeDisplay. The method no longer exists now that the
9592         pixmap generation part of the graphics loader has been moved into
9593         InsetGraphics.
9594
9595 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * text2.C: layout as layout
9598
9599         * text.C: layout as layout
9600
9601         * tabular.C (OldFormatRead): layout as layout
9602
9603         * paragraph_pimpl.C (TeXDeeper): layout as layout
9604         (realizeFont): layout as layout
9605
9606         * paragraph.C (writeFile): layout as layout
9607         (validate): layout as layout
9608         (getFont): layout as layout
9609         (getLabelFont): layout as layout
9610         (getLayoutFont): layout as layout
9611         (breakParagraph): layout as layout
9612         (stripLeadingSpaces): layout as layout
9613         (getEndLabel): layout as layout
9614         (getMaxDepthAfter): layout as layout
9615         (applyLayout): layout as layout
9616         (TeXOnePar): layout as layout
9617         (simpleTeXOnePar): layout as layout
9618         (TeXEnvironment): layout as layout
9619         (layout): layout as layout
9620         (layout): layout as layout
9621
9622         * lyxtextclass.C (compare_name): new functor to work with
9623         shared_ptr, layout as layout
9624         (Read): layout as layout
9625         (hasLayout): layout as layout
9626         (operator): layout as layout
9627         (delete_layout): layout as layout
9628         (defaultLayout): layout as layout
9629
9630         * lyxlayout_ptr_fwd.h: new file
9631
9632         * lyxlayout.C (Read): layout as layout
9633
9634         * lyx_cb.C (MenuInsertLabel): layout as layout
9635
9636         * bufferlist.C (newFile): layout as layout
9637
9638         * buffer.C (readLyXformat2): layout as layout
9639         (parseSingleLyXformat2Token): layout as layout
9640         (insertStringAsLines): layout as layout
9641         (asciiParagraph): layout as layout
9642         (latexParagraphs): layout as layout
9643         (makeLinuxDocFile): layout as layout
9644         (simpleLinuxDocOnePar): layout as layout
9645         (makeDocBookFile): layout as layout
9646         (simpleDocBookOnePar): layout as layout
9647         (getLists): layout as layout
9648
9649         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9650
9651         * CutAndPaste.C (cutSelection): layout as layout
9652         (pasteSelection): layout as layout
9653         (SwitchLayoutsBetweenClasses): layout as layout
9654
9655         * BufferView_pimpl.C (Dispatch): layout as layout
9656         (smartQuote): layout as layout
9657
9658         * BufferView2.C (unlockInset): layout as layout
9659
9660 2002-06-24  André Pönitz <poenitz@gmx.net>
9661
9662         * lyxfunc.C: fix #487
9663
9664 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * lyxrc.h:
9667         * lyxrc.C:
9668         * lyxfunc.C: remove display_shortcuts, show_banner
9669
9670 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * Buffer_pimpl.C: oops, update on resize
9673
9674 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * buffer.C:
9677         * converter.C:
9678         * exporter.C:
9679         * lyxfunc.C:
9680         * BufferView.h:
9681         * BufferView.C: use repaint()
9682
9683         * BufferView_pimpl.h:
9684         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9685           as it's a clearer description. Remove superfluous
9686           redraws.
9687
9688 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * text.C: fix bug 488. Not ideal, but getting
9691           getWord() to work properly for the insets that
9692           matter is more difficult ...
9693
9694 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9695
9696         * BufferView_pimpl.C:
9697         * LyXAction.C:
9698         * commandtags.h:
9699         * lyxfunc.C: remove the six million index lyxfuncs to just
9700           one, and DTRT (bug 458)
9701
9702 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * BufferView.h:
9705         * BufferView.C:
9706         * BufferView_pimpl.h:
9707         * BufferView_pimpl.C: clean up resize() stuff,
9708           and unnecessary updateScreen()s
9709
9710 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9711
9712         * BufferView.h:
9713         * BufferView.C:
9714         * BufferView_pimpl.h:
9715         * BufferView_pimpl.C:
9716         * lyxfind.h:
9717         * lyxfind.C:
9718         * minibuffer.C: remove focus management of workarea,
9719           not needed. Use screen's greyOut()
9720
9721 2002-06-17  Herbert Voss  <voss@lyx.org>
9722
9723         * converter.C: (convert) do not post a message, when converting
9724         fails, let the calling function decide what to do in this case
9725
9726 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * lyxfunc.C: tidy up a little
9729
9730 2002-06-16    <alstrup@diku.dk>
9731
9732         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9733         Got rid of FORMS_H_LOCATION include. Now we are
9734         GUII.
9735
9736 2002-06-15  LyX Development team  <lyx@rilke>
9737
9738         * buffer.[Ch] (sgmlOpenTag):
9739         (sgmlCloseTag): Added support for avoiding pernicious mixed
9740         content. Return number of lines written.
9741
9742         (makeLinuxDocFile):
9743         (makeDocBookFile): Fixed calls to sgml*Tag.
9744         Simple white space clean.
9745
9746         (simpleDocBookOnePar): Simple white space clean.
9747
9748         * tabular.[Ch] (docBook): Renamed to docbook and got another
9749         argument to related with the pernicious mixed content.
9750
9751         (docbookRow): Fixed calls for docbook inset method.
9752
9753 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9754
9755         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9756         so it's X11 independent.
9757
9758         * kb*.[Ch]: ditto.
9759
9760         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9761
9762 2002-06-15  Lyx Development team  <lyx@electronia>
9763
9764         * intl.h: Renamed getTrans to getTransManager.
9765
9766 2002-06-14  Angus Leeming  <leeming@lyx.org>
9767
9768         * Makefile.am: nuke forgotten stl_string_fwd.h.
9769
9770 2002-06-12  Angus Leeming  <leeming@lyx.org>
9771
9772         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9773
9774 2002-06-13  Angus Leeming  <leeming@lyx.org>
9775
9776         * LaTeX.C:
9777         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9778
9779 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9780
9781         * kbmap.C (getiso): add support for cyrillic and greek
9782
9783 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * BufferView.h:
9786         * BufferView.C:
9787         * BufferView_pimpl.h:
9788         * BufferView_pimpl.C: move bogus scrolling logic
9789           to xforms
9790
9791 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * lyxfunc.C:
9794         * BufferView_pimpl.C: view->resize() change
9795
9796 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * BufferView_pimpl.C: topCursorVisible
9799           prototype change
9800
9801 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * Makefile.am:
9804         * lyx_gui.h:
9805         * lyx_gui.C: move to frontends/
9806
9807         * main.C:
9808         * lyx_main.h:
9809         * lyx_main.C: changes from above
9810
9811 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * intl.C:
9814         * intl.h:
9815         * kbmap.C:
9816         * kbsequence.C:
9817         * lyx_cb.C:
9818         * lyx_main.C: minor tidy
9819
9820 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * BufferView_pimpl.h:
9823         * BufferView_pimpl.C:
9824         * BufferView.h:
9825         * BufferView.C: make painter() const,
9826           remove dead code
9827
9828         * BufferView2.C: use screen() accessor
9829
9830         * lyx_main.h:
9831         * lyx_main.C: some minor cleanup
9832
9833 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * BufferView_pimpl.h:
9836         * BufferView_pimpl.C: remove enter/leaveView,
9837           use workHeight()
9838
9839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * BufferView.h:
9842         * BufferView.C:
9843         * BufferView2.C:
9844         * BufferView_pimpl.h:
9845         * BufferView_pimpl.C: only construct screen once,
9846           rename
9847
9848         * lyxrc.C: remove pointless comment
9849
9850 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * BufferView.h:
9853         * BufferView.C: remove active() and belowMouse()
9854
9855         * BufferView_pimpl.h:
9856         * BufferView_pimpl.C: use workarea() not workarea_,
9857           and make it use a scoped_ptr instead
9858
9859 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * lyx_gui.C: add debug message on BadWindow
9862
9863 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * sp_spell.C: fdopen is not part of the C++ standard.
9866
9867         * paragraph.C (InsetIterator): use >= instead of ==
9868
9869 2002-06-07  Angus Leeming  <leeming@lyx.org>
9870
9871         Fixes needed to compile with Compaq cxx 6.5.
9872         * BufferView_pimpl.C:
9873         * DepTable.C:
9874         * buffer.C:
9875         * converter.C:
9876         * encoding.C:
9877         * lyx_gui.C:
9878         * lyx_main.C:
9879         * lyxtextclasslist.C:
9880         * minibuffer.C:
9881         * sp_spell.C:
9882         * tabular_funcs.C:
9883         * vc-backend.C:
9884         all c-library variables have been moved into namespace std. Wrap
9885         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9886
9887         * lyxlength.C:
9888         * tabular-old.C:
9889         * tabular.C:
9890         Add a using std::abs declaration.
9891
9892         * kbmap.h (modifier_pair):
9893         * paragraph.h (InsetTable, InsetList):
9894         * lyxfont.h (FontBits):
9895         type definition made public.
9896
9897         * bufferlist.C (emergencyWriteAll): the compiler complains that
9898         there is more than one possible lyx::class_fun template to choose from.
9899         I re-named the void specialisation as lyx::void_class_fun.
9900
9901         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9902
9903         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9904         the compiler is is unable to find tostr in write_attribute.
9905
9906 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * buffer.C (sgmlError): hide #warning
9909
9910 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * xtl/*: get rid of xtl, which is not in use anyway
9913
9914         * LyXAction.C (init):
9915         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9916         were unimplemented xtl experimentation
9917
9918 2002-06-04  André Pönitz <poenitz@gmx.net>
9919
9920         * lyxfunc.C: disable array operation on simple formulae
9921
9922 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * converter.C: constify a bit
9925
9926 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * lyx_gui.C: check xforms version correctly
9929
9930 2002-04-30  Herbert Voss  <voss@lyx.org>
9931
9932         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9933         "keep" option
9934
9935 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9938           attempt to register it with a VCS)
9939
9940 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * lyx_main.C (init): honor variables LYX_DIR_13x and
9943         LYX_USERDIR_13x
9944
9945 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * buffer.h:
9948         * buffer.C:
9949         * lyx_main.C: fix a crash on bad command line,
9950           and give a useful exit status on error
9951
9952         * lyxfunc.C (doImport): allow -i lyx to work
9953
9954 2002-03-30  André Pönitz <poenitz@gmx.net>
9955
9956         * lyxfunc.C: mathed font changes
9957
9958 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * LaTeX.C:
9961         * importer.h:
9962         * importer.C:
9963         * lyx_sty.h:
9964         * lyx_sty.C:
9965         * lyxlex.C:
9966         * lyxrow.h:
9967         * lyxtext.h:
9968         * paragraph.h:
9969         * paragraph.C:
9970         * texrow.h:
9971         * texrow.C:
9972         * text.C:
9973         * trans_mgr.h: srcdocs, and some minor cleanups
9974
9975 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9978         call getFont all the time)
9979
9980 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9981
9982         * switch from SigC signals to boost::signals
9983
9984 2002-05-29  André Pönitz <poenitz@gmx.net>
9985
9986         * paragraph_pimpl.C (getChar): don't call size() too often...
9987
9988 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9989
9990         * paragraph_pimpl.C (insertChar): do not try to update tables when
9991         appending (pos == size())
9992
9993         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9994         in order to reduce drastically the number of comparisons needed to
9995         parse a large document
9996
9997 2002-05-29  André Pönitz <poenitz@gmx.net>
9998
9999         * text.C:
10000         * text2.C:
10001         * lyxtextclass.C:
10002         * sp_pspell.h:
10003         * textclasslist.[Ch]:
10004         * sp_ispell.h: whitespace change
10005
10006 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10009         lyxaction directly now.
10010
10011 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * trans.C:
10014         * lyxfont.C:
10015         * lyxvc.C: remove unused headers
10016
10017 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * Makefile.am:
10020         * buffer.h:
10021         * undostack.h:
10022         * undostack.C:
10023         * undo_funcs.h:
10024         * undo_funcs.C: some cleanups. Use shared_ptr
10025           and a template for the undo stacks.
10026
10027 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * BufferView_pimpl.h:
10030         * BufferView_pimpl.C:
10031         * kbmap.h:
10032         * kbmap.C:
10033         * kbsequence.h:
10034         * kbsequence.C:
10035         * lyxfunc.h:
10036         * lyxfunc.C:
10037         * text2.C: use key_state/mouse_state
10038
10039 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10040
10041         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10042         and LSubstring
10043
10044         * chset.C: change include order
10045         (loadFile): use boost regex and get rid of LRegex and LSubstring
10046
10047         * Makefile.am (BOOST_LIBS): new variable
10048         (lyx_LDADD): use it
10049
10050         * LaTeX.C: change include order.
10051         (scanAuxFile): use boost regex and get rid of LRegex and
10052         LSubstring
10053         (deplog): ditto
10054
10055 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * ColorHandler.h:
10058         * ColorHandler.C:
10059         * FontInfo.h:
10060         * FontInfo.C: moved to frontends/xforms/
10061
10062         * FontLoader.h:
10063         * FontLoader.C: moved into frontends for GUIIzation
10064
10065         * Makefile.am:
10066         * lyx_gui.C:
10067         * lyxfont.C:
10068         * lyxfunc.C: changes from above
10069
10070 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * LColor.C: remove spurious X include
10073
10074         * BufferView_pimpl.C:
10075         * Makefile.am:
10076         * font.h:
10077         * font.C:
10078         * text.C:
10079         * text2.C: move font metrics to frontends/
10080
10081 2002-05-24  Juergen Vigna  <jug@sad.it>
10082
10083         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10084         setting the undo_cursor.
10085
10086         * ParagraphParameters.h: include local includes first.
10087
10088 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * BufferView_pimpl.C:
10091         * BufferView_pimpl.h:
10092         * Makefile.am:
10093         * WorkArea.h:
10094         * WorkArea.C:
10095         * screen.C: move WorkArea into frontends/
10096
10097         * lyxscreen.h:
10098         * screen.C:
10099         * text.C:
10100         * BufferView.C:
10101         * BufferView2.C: move LyXScreen into frontends/
10102
10103         * lyxlookup.h:
10104         * lyxlookup.C:
10105         * lyx_gui.C: move lyxlookup into frontends/xforms/
10106
10107 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10108
10109         * BufferView2.C:
10110         * BufferView_pimpl.C:
10111         * FontLoader.C:
10112         * LyXView.h:
10113         * LyXView.C:
10114         * Makefile.am:
10115         * WorkArea.C:
10116         * XFormsView.h:
10117         * XFormsView.C:
10118         * buffer.C:
10119         * bufferlist.C:
10120         * bufferview_funcs.C:
10121         * converter.C:
10122         * importer.C:
10123         * lyx_cb.C:
10124         * lyx_gui.C:
10125         * lyx_main.C:
10126         * lyx_find.C:
10127         * lyxfunc.C:
10128         * lyxvc.C:
10129         * minibuffer.C:
10130         * text.C:
10131         * text2.C:
10132         * trans.C:
10133         * vc-backend.C: move LyX/XFormsView into frontends/
10134
10135 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * Makefile.am:
10138         * PainterBase.C:
10139         * PainterBase.h:
10140         * Painter.C:
10141         * Painter.h:
10142         * WorkArea.C:
10143         * WorkArea.h:
10144         * screen.C:
10145         * tabular.C:
10146         * text.C:
10147         * text2.C: move Painter to frontends/
10148
10149 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10150
10151         * buffer.C: comment out some some code that depend upon lyx_format
10152         < 220
10153
10154         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10155         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10156
10157         * buffer.h (NO_COMPABILITY): turn off compability
10158
10159         * ColorHandler.C: include scoped_array.hpp
10160
10161         * font.C: Use more specific smart_ptr header.
10162         * Painter.C: ditto
10163         * gettext.C: ditto
10164         * ShareContainer.h: ditto
10165         * lyx_main.h: ditto
10166         * kbmap.h: ditto
10167         * FontInfo.h: ditto
10168         * BufferView_pimpl.h: ditto
10169         * ColorHandler.h: ditto
10170
10171         * kbmap.C (defkey): change call to shared_ptr::reset
10172
10173 2002-05-21  Juergen Vigna  <jug@sad.it>
10174
10175         * buffer.C (insertErtContents): fix to insert ert asis if it is
10176         non empty. Skip it completely if it contains only whitespaces.
10177
10178 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * BufferView_pimpl.C:
10181         * BufferView2.C: clear selection on paste (bug 393)
10182
10183 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * DepTable.C: include ctime
10186
10187 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10188
10189         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10190
10191 2002-05-14  Juergen Vigna  <jug@sad.it>
10192
10193         * text.C (breakParagraph): fixed function to honor the keepempty
10194         layout in the right maner and also to permit the right breaking
10195         algorithm on empty or non empyt keepempty paragraphs.
10196
10197         * paragraph.C (breakParagraph): we have to check also if the par
10198         is really empty (!size()) for isempty otherwise we do the wrong
10199         paragraph break.
10200
10201 2002-05-10  Juergen Vigna  <jug@sad.it>
10202
10203         * buffer.[Ch] : The following are only changes to the ert
10204         compatibility read reading old LaTeX layout and font stuff and
10205         convert it to ERTInsets.
10206
10207         * buffer.h: added isErtInset().
10208
10209         * buffer.C (struct ErtComp): add a fromlayout bool to check
10210         if we're inside a LaTeX layout.
10211         (isErtInset): new helper function.
10212         (insertErtContents): look for other ert insets before this one
10213         and insert the contents there, so that we don't have subsequent
10214         ERT insets with nothing between them. This way we create only one
10215         inset with multiple paragraphs. Also check if we don't insert only
10216         spaces ' ' as they are ignored anyway afterwards in the .tex file
10217         so if we have only spaces we will ignore this latex part in the
10218         new file.
10219         (parseSingleLyXformat2Token \\layout): better compatibility when
10220         reading layout-latex stuff.
10221         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10222         language tag.
10223         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10224         stuff after reading the inset only get the information back from
10225         the stack.
10226
10227 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10228
10229         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10230
10231         * LaTeXFeatures.C (getBabelOptions): New method.
10232
10233 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * BufferView_pimpl.C (Dispatch): work around missing argument for
10236         'layout'
10237
10238 2002-05-08  Juergen Vigna  <jug@sad.it>
10239
10240         * text.C (leftMargin): handle paragraph leftindent.
10241
10242         * paragraph.C (writeFile): write the new \\leftindent tag.
10243         (validate): handle leftindent code.
10244         (TeXEnvironment): handle paragraphleftindent code again.
10245
10246         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10247
10248         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10249         for paragrap_extra indent code and new token \\leftindent.
10250         (latexParagraphs): handle the leftindent as environment.
10251
10252         * ParameterStruct.h: added leftindent support.
10253
10254         * ParagraphParameters.C (leftIndent): added support functions for
10255         the paragraph left indent.
10256
10257         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10258         more appropriate.
10259
10260 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10261
10262         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10263         inside insetERT.
10264
10265         * text.C (computeBidiTables): No bidi in insetERT.
10266
10267         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10268         in RTL documents.
10269
10270 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10271
10272         * version.C.in: pre 5
10273
10274 2002-05-02  José Matos  <jamatos@fep.up.pt>
10275         * buffer.C (makeDocBookFile): white space changes, add newline to
10276         command styles.
10277         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10278
10279         * tabular.C (docBook): fix typo.
10280
10281 2002-05-03  Juergen Vigna  <jug@sad.it>
10282
10283         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10284         change in LyXText as we can not be sure it was not freed.
10285         (drawOneRow): remove unused code.
10286
10287         * text.C (drawInset): redo the calculation of the need_break_row as
10288         it could have a row which was already freed.
10289         (draw): look at the return value of drawInset and return false if
10290         it also returned false.
10291         (paintRowText): look at the return value of draw and return false if
10292         it also returned false.
10293
10294         * lyxtext.h: added bool return type to drawInset() and draw() so that
10295         if we have a change in the row so that the rowbreak has to be redone
10296         we abort drawing as it will be called again.
10297
10298 2002-05-02  Juergen Vigna  <jug@sad.it>
10299
10300         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10301         a change in the maintext also if we're inside an inset.
10302         (Dispatch): set the cursor again after a break line and after the
10303         screen has been updated as it could be we're in a different row.
10304
10305         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10306         to set the cursor behind the pargraph with > size().
10307         (setCursor): check also for the same paragraph when checking where
10308         to put the cursor if we have a NFR inset.
10309
10310         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10311         parts of layout read further up as it still was in the wrong
10312         position.
10313
10314 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * screen.C (drawFromTo): change sine fullRebreak always return
10317         true.
10318
10319         * buffer.C (parseSingleLyXformat2Token): reindent some
10320
10321         * BufferView_pimpl.C (update): change since fullRebreak always
10322         return true.
10323         (Dispatch): git rid of the last hardcoded "Standard"s.
10324
10325 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * text2.[Ch] (fullRebreak): make it return void now that we always
10328         returned true.
10329
10330 2002-04-30  Juergen Vigna  <jug@sad.it>
10331
10332         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10333         ert compatibility check for "latex" layout.
10334
10335 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10336
10337         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10338         minipages: use col% instead of p%, and also use the current font.
10339         (makeLaTeXFile): Fix use babel condition.
10340         (parseSingleLyXformat2Token): Correct font when reading old floats.
10341
10342 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10343
10344         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10345         inserting list of floats.
10346
10347 2002-04-25  Herbert Voss  <voss@lyx.org>
10348
10349         * MenuBackend.C (expand): don't add the graphics extensions to the
10350         export menu
10351
10352 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10355         non-existing layout, do not complain if it was the default layout
10356         of the original class (bug #342)
10357
10358 2002-04-24  Juergen Vigna  <jug@sad.it>
10359
10360         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10361         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10362
10363 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10364
10365         * buffer.C (getBibkeyList): If using \bibliography, return the
10366         option field with the reference itself. Enables us to provide natbib
10367         support when using \bibliography.
10368
10369 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10370
10371         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10372
10373         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10374         natbib is provided by the LaTeX class.
10375
10376 2002-04-23  Juergen Vigna  <jug@sad.it>
10377
10378         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10379         Wakeup functions.
10380
10381         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10382
10383 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10386
10387         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10388         ensuremath around textordmasculine, textordfeminine and
10389         textdegree.
10390
10391 2002-04-19  Juergen Vigna  <jug@sad.it>
10392
10393         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10394         reinitializing the buffer otherwise row-dimensions may be wrong.
10395         (update): reset also the selection cursors if they do exits otherwise
10396         their x/y positions may be wrong.
10397
10398         * text2.C (cursorDown): don't enter the inset if we came from a row
10399         above and are one row over the inset.
10400
10401         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10402         really leaving an inset.
10403
10404 2002-04-18  Juergen Vigna  <jug@sad.it>
10405
10406         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10407         of the selected paragraph does not have the selected layout also if
10408         the last one had!
10409
10410         * text2.C (setLayout): fixed bug which did not change last selected
10411         paragraph.
10412
10413         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10414         changed the read and substituted \\end_float with \\end_inset!
10415
10416         * BufferView_pimpl.C (cursorPrevious):
10417         (cursorNext): fixed to make it work with rows heigher than the work
10418         area without moving the cursor only the draw of the row.
10419         (workAreaMotionNotify): fix jumping over high rows.
10420
10421 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10424         Ressler.
10425
10426 2002-04-16  Juergen Vigna  <jug@sad.it>
10427
10428         * text2.C (setCursor): set also the irow().
10429         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10430         (cursorUp):
10431         (cursorDown): support for locking an inset if the x_fix value goes
10432         inside it. That way I can transverse insets too with cursor up/down.
10433
10434         * lyxrow.h: added irow helper function same as other (i) functions.
10435
10436         * BufferView_pimpl.C (cursorPrevious):
10437         (cursorNext): fixed for insets!
10438
10439 2002-04-15  Juergen Vigna  <jug@sad.it>
10440
10441         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10442         position otherwise it is wrong in some cases.
10443
10444         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10445         inside the inset before the call.
10446
10447 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10448
10449         * buffer.[Ch] (getBibkeyList): make it const.
10450
10451 2002-04-12  Juergen Vigna  <jug@sad.it>
10452
10453         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10454
10455         * text2.C (getCursorX): new helper function
10456         (setCursor): compute also ix_
10457         (setCursorFromCoordinates): set also ix.
10458
10459         * lyxcursor.h: added ix_ and helper functions.
10460
10461         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10462
10463         * buffer.C (insertStringAsLines): dont break paragraph if the this
10464         paragraph is inside an inset which does not permit it!
10465
10466         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10467         also with no chars on this paragraph.
10468         (paintRowText): only paint stuff if it's inside the workarea!
10469
10470         * paragraph.C (breakParagraph): honor keepempty flag and break the
10471         paragraph always below not above.
10472
10473         * BufferView2.C (unlockInset): update the paragraph layout on inset
10474         unlock as we changed paragraph in such a case.
10475
10476         * lyxfind.C (LyXFind): clear the former selection if not found!
10477
10478         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10479         again called in insertChar().
10480
10481         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10482         an inset which uses the whole row!
10483         (rightMargin): ditto.
10484         (insertChar): force a rebreak if we inserted an inset!
10485
10486 2002-03-28  Herbert Voss  <voss@lyx.org>
10487
10488         * lyxlength.[Ch]: add inBP() to get the right PS-point
10489         units (BigPoint). With inPixels we have rounding errors
10490
10491 2002-04-11  Juergen Vigna  <jug@sad.it>
10492
10493         * text2.C (setCursorFromCoordinates): set iy to the right value.
10494         (setCursor): add check if row->previous exists!
10495
10496         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10497         an old float_type as this was the case in the old code!
10498
10499         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10500
10501         * BufferView2.C (showLockedInsetCursor): use iy
10502         (fitLockedInsetCursor): ditto
10503
10504         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10505         locked insets as there we have the right value now.
10506
10507         * lyxcursor.C: added iy_ variable and iy functions to set to the
10508         baseline of cursor-y of the locked inset.
10509
10510         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10511         (setCursor): fixed for insets which need a full row.
10512
10513         * text.C (rowLastPrintable): don't ignore the last space when before
10514         an inset which needs a full row.
10515         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10516         as last character of a row when before a inset which needs a full row.
10517
10518 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10519
10520         * version.C.in: update date
10521
10522         * text2.C (fullRebreak): try to always return true and see what
10523         happens...
10524
10525 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * MenuBackend.C (expand): use Floating::listName
10528
10529         * FloatList.C (FloatList): add listName argument to the built-in
10530         floats
10531
10532         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10533         text associated with the float.
10534
10535 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10538
10539 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * ShareContainer.h: add a couple of missing typenames.
10542
10543 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10544
10545         * lyxrc.C (getDescription): use _() correctly rather than N_().
10546
10547 2002-03-28  Herbert Voss  <voss@lyx.org>
10548
10549         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10550         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10551
10552 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10553
10554         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10555         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10556
10557 2002-03-29  Juergen Vigna  <jug@sad.it>
10558
10559         * lyxfunc.C (dispatch): add a missing fitCursor call.
10560
10561         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10562         it was scrolled by a cursor move, so return the bool status.
10563
10564         * BufferView.C (fitCursor): return the bool flag also to the outside
10565         world as this is needed.
10566
10567         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10568
10569         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10570         call the edit() as it is not needed (and wrong) IMO.
10571         (workAreaButtonPress): set the screen_first variable before evt.
10572         unlock the inset as this may change screen_first and then we have
10573         a wrong y position for the click!
10574
10575 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10576
10577         * MenuBackend.C (expand): another translation that I missed
10578
10579 2002-03-28  Juergen Vigna  <jug@sad.it>
10580
10581         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10582
10583         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10584
10585 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10588
10589         * MenuBackend.C (expand): fix export/view/update when there is no
10590         document open.
10591
10592 2002-03-27  Herbert Voss  <voss@lyx.org>
10593
10594         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10595         and text%
10596
10597 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10598
10599         * bufferview_funcs.C (currentState): only show paragraph number
10600         for is DEVEL_VERSION is set.
10601
10602         * lyxfunc.C (dispatch): put warning in INFO channel
10603
10604         * MenuBackend.C (expand): translate the name of floats
10605
10606         * FloatList.C (FloatList): mark the float names for translation
10607
10608         * converter.C (convert): use LibScriptSearch
10609
10610 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * MenuBackend.C (defaults): fix default menu (we might as well get
10613         rid of it...)
10614
10615 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10618         directory.
10619
10620 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10621
10622         * lyxvc.C: reorder includes.
10623
10624 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10627           properly
10628
10629 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * CutAndPaste.C: change layouts earlier on paste
10632           to avoid crashing when calling getFont()
10633
10634 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10635
10636         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10637         irritating #error.
10638
10639 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10640
10641         * WorkArea.C: remove 'Pending' debug message.
10642
10643         * most files: ws cleanup
10644
10645         * buffer.[Ch]: ws changes
10646
10647         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10648
10649 2002-03-21  Juergen Vigna  <jug@sad.it>
10650
10651         * tabular.C (SetMultiColumn): collapse also the contents of the
10652         cells and set the last border right. Added a Buffer const * param.
10653
10654 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10655
10656         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10657         linking or not.
10658
10659 2002-03-19  Juergen Vigna  <jug@sad.it>
10660
10661         * text2.C (clearSelection): reset also xsel_cache.
10662
10663         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10664         where it needs to be called (John tells us to do so too :)
10665         (selectionLost): reset sel_cache.
10666
10667         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10668
10669 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10670
10671         * text2.C (setCursorIntern): put debuging code in INSETS channel
10672
10673 2002-03-19  André Pönitz <poenitz@gmx.net>
10674
10675         * lyxfunc.C: tiny whitespace change
10676
10677 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10678
10679         * ToolbarDefaults.C (init):
10680         * LyXAction.C (init):
10681         * commandtags.h:
10682         * BufferView_pimpl.C (Dispatch):
10683         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10684
10685 2002-03-19  Allan Rae  <rae@lyx.org>
10686
10687         * exporter.C (Export): removeAutoInsets before doing anything else.
10688         While I've just introduced a dependency on BufferView this really is
10689         the best place to clean the buffer otherwise you need to cleanup in
10690         a dozen places before calling export or cleanup in a dozen functions
10691         that export calls.
10692
10693         * converter.C (runLaTeX):
10694         (scanLog): Better handling of removeAutoInsets and screen updates.
10695
10696         * lyxfunc.C (dispatch): small whitespace changes
10697
10698 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * WorkArea.C (C_WorkAreaEvent): return a value.
10701         (event_cb): return 1 if we handled the event, 0 otherwise.
10702
10703         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10704
10705 2002-03-18  Juergen Vigna  <jug@sad.it>
10706
10707         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10708         (GetAdditionalWidth): ditto.
10709         (RightLine): ditto.
10710         (LeftLine): ditto.
10711
10712         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10713         inset if we're there actually (probably not used right now but this
10714         is the direction to go for unifying code).
10715         (paste): disable code to clear the selection.
10716
10717         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10718         inside an InsetText and move the check further up as it is in the
10719         wrong place.
10720
10721         * text2.C (pasteSelection): set a selection over the pasted text.
10722
10723 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10724
10725         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10726         and libgraphics to build on Cygwin.
10727
10728 2002-03-15  Juergen Vigna  <jug@sad.it>
10729
10730         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10731         inserting an Inset into the paragraph. I know this is not the best
10732         fix but we already use current_view in CutAndPaste so we will remove
10733         all of it's using at the same time.
10734
10735         * buffer.C (sgmlError): deactivated function till it is rewritten in
10736         the right mode, now it can create problems.
10737
10738         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10739         before accessing it.
10740
10741 2002-03-14  Juergen Vigna  <jug@sad.it>
10742
10743         * undo_funcs.C (textHandleUndo): do the right thing when updating
10744         the inset after the undo/redo.
10745
10746         * text2.C (setCursor): just some testcode for #44 not ready yet.
10747
10748         * undo_funcs.C (textHandleUndo): set the next() and previous()
10749         pointers of the paragraph to 0 before deleting otherwise we have
10750         problems with the Paragraph::[destructor].
10751
10752         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10753         on a paragraph insertion.
10754
10755 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * buffer.C (asciiParagraph): use += operator for char append to
10758         string.
10759
10760         * paragraph.C (getFontSettings): compare >= not just >
10761         (highestFontInRange): ditto
10762         (setFont): ditto
10763
10764 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * paragraph.C: change several algorithm to be more appripriate for
10767         the problem domain. This is lookip in FontList and in the InsetList.
10768
10769 2002-03-13  André Pönitz <poenitz@gmx.net>
10770
10771         * commandtags.h:
10772         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10773
10774 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * commandtags.h:
10777         * LyXAction.C:
10778         * lyxfunc.C:
10779         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10780
10781 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * Painter.C (display): anon helper function, adjust code for this
10784         change.
10785         (pixmap): remove function.
10786
10787         * Painter.h: remove private display variable.
10788
10789         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10790
10791 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10792
10793         * WorkArea.[Ch]: remove figinset_canvas cruft.
10794
10795 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * lyxtextclass.C (operator): add one item cache optimization.
10798
10799         * bufferlist.h: doxy changes
10800
10801         * bufferlist.C: ws changes
10802
10803         * DepTable.[Ch] (ext_exist): place const in the right spot.
10804
10805         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10806         call resizeInsets.
10807         (workAreaExpose): call resizeInsets when the with BufferView changes.
10808         (Dispatch): adjust for protectedBlank removal
10809         (specialChar): call updateInset if the insert went ok.
10810
10811         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10812         specialChar instead.
10813
10814         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10815
10816         * BufferView.h: doxy change
10817
10818         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10819
10820         * lyxtextclass.C (operator[]): remove non-const version
10821         (defaultLayout): remove non-const version
10822
10823 2002-03-12  Juergen Vigna  <jug@sad.it>
10824
10825         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10826         did resize the LyXText too.
10827
10828         * buffer.C (readLyXformat2): set layout information on newly allocated
10829         paragraphs.
10830
10831         * tabular.C (OldFormatRead): set layout information on the paragraph.
10832
10833 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10834
10835         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10836
10837 2002-03-11  Juergen Vigna  <jug@sad.it>
10838
10839         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10840         plainly wrong.
10841         (resizeCurrentBuffer): force also the insets to resize themselfes.
10842         (moveCursorUpdate): fixed up for InsetText.
10843
10844 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10845
10846         * commandtags.h:
10847         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10848         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10849         value of Dialogs::tooltipsEnabled().
10850         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10851
10852 2002-03-08  Juergen Vigna  <jug@sad.it>
10853
10854         * BufferView_pimpl.C (updateInset): update inset inside inset also
10855         if it isn't inside theLockingInset().
10856
10857 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * buffer.C (asciiParagraph): redo some of the word and line length
10860         handling.
10861         (getLists): look for Caption instead of caption.
10862
10863 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * buffer.C (Buffer): initialize niceFile to true
10866         (makeLaTeXFile):
10867         (makeLinuxDocFile):
10868         (makeDocBookFile): make sure niceFile is true on exit
10869
10870 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10873
10874 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * LyXSendto.C: remove.
10877         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10878         * lyx_gui.C: remove now-redundant comment.
10879         * ColorHandler.h: remove forward declaration of class WorkArea.
10880         * lyxfunc.C: remove #include "WorkArea.h".
10881
10882 2002-03-07  Juergen Vigna  <jug@sad.it>
10883
10884         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10885         got moved away with the DEPM and also set the inset_owner always
10886         right which before could have been omitted.
10887
10888 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10891         wanted layout is not found.
10892
10893 2002-03-07  Juergen Vigna  <jug@sad.it>
10894
10895         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10896
10897 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * paragraph.C (breakParagraph): use default layout not layout of
10900         prev paragraph.
10901         (Paragraph): clear ParagraphParameters.
10902
10903 2002-03-06  Juergen Vigna  <jug@sad.it>
10904
10905         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10906         otherwise it would not be a valid lenght. Fixed a special case in
10907         the minipage compatibility read where we end the document with a
10908         minipage.
10909
10910         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10911         was set as it could be 0 for InsetTexts first entry.
10912
10913 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * paragraph.C (writeFile): if layout is empty write out
10916         defaultLayoutName().
10917
10918         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10919         file without named layout we set layout to defaultLayoutName().
10920
10921 2002-03-06  Juergen Vigna  <jug@sad.it>
10922
10923         * CutAndPaste.C (copySelection): set layout for new paragraph.
10924
10925         * text.C (prepareToPrint): leave ERT inset left aligned
10926         (leftMargin): don't indent paragraphs inside ERT insets
10927
10928 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * paragraph.C (breakParagraph): dont call clear do the work manually
10931
10932         * paragraph.[Ch] (clear): remove function
10933
10934 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * paragraph.C (Paragraph): dont call clear, the work has already
10937         been done.
10938
10939         * lyxtextclass.C (operator): assert if n is empty
10940
10941         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10942         work manually instead.
10943
10944 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * BufferView_pimpl.C: protect selectionLost against text == 0
10947
10948 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * text.C (breakParagraph): fix a setting layout to '0' problem.
10951
10952 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10953
10954         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10955         final location of file, for the included files, and graphics.
10956
10957 2002-03-05  Juergen Vigna  <jug@sad.it>
10958
10959         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10960
10961 2002-03-04  Juergen Vigna  <jug@sad.it>
10962
10963         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10964
10965         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10966         last column of multicolumn cells.
10967         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10968
10969 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10970
10971         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10972         file if it doesn't go to a temporary file.
10973
10974         * buffer.C (sgmlOpenTag):
10975         (sgmlCloseTag):  remove extra newline insertion.
10976
10977 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10978
10979         * text.C (getRowNearY): comment out debug msg
10980
10981 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * text2.C: first -> first_y
10984
10985         * text.C (getRowNearY): add some attemts at a possible
10986         optimization, not working.
10987
10988         * tabular.[Ch]: add BufferParams to several function so that newly
10989         created paragraph can be initialized to he default layotu for the
10990         buffers textclass.
10991
10992         * tabular-old.C (ReadOld): add buf->params to call of Init
10993
10994         * screen.C: rename text->first to text->first_y
10995
10996         * paragraph.C (breakParagraph): always set layout in the broken
10997         paragraph
10998
10999         * lyxtextclass.C (Read): remove lowercase
11000         (hasLayout): ditto
11001         (operator): ditto
11002         (delete_layout): ditto
11003
11004         * lyxtext.h: rename first -> first_y
11005
11006         * lyxlayout.C (Read): remove lowercase
11007         (name): ditto
11008         (setName): ditto
11009         (obsoleted_by): ditto
11010
11011         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11012
11013         * buffer.C (insertErtContents): add params are to InsetERT
11014         (parseSingleLyXformat2Token): add code to check if a paragraphs
11015         layout really exist.
11016         (parseSingleLyXformat2Token): add params to several inset
11017         constructors
11018         (asciiParagraph): remove lowercase, do the layout comparisons with
11019         no_case
11020
11021         * BufferView_pimpl.C (cursorNext): first -> first_y
11022         (resizeCurrentBuffer): first -> first_y
11023         (updateScrollbar): first -> first_y
11024         (scrollCB): first -> first_y
11025         (workAreaMotionNotify): first -> first_y
11026         (workAreaButtonPress): first -> first_y
11027         (checkInsetHit): first -> first_y
11028         (cursorPrevious): first -> first_y
11029         (cursorNext): first -> first_y
11030         (Dispatch): add buffer_->params to severl inset contructors
11031
11032 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * lyxlayout.C (Read): remove some debug info that I forgot.
11035
11036         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11037         clean up the code slightly.
11038         (makeLinuxDocFile): ditto
11039         (makeDocBookFile): ditto
11040
11041         * text2.C: layout as string
11042
11043         * text.C: layout as string
11044
11045         * paragraph_pimpl.C: layout as string
11046
11047         * paragraph.[Ch]: layout as string
11048
11049         * lyxtextclasslist.[Ch]: layout as string
11050
11051         * lyxtextclass.[Ch]: layout as string
11052
11053         * lyxtext.h: layout as string
11054
11055         * lyxlayout.[Ch]: layout as string
11056
11057         * lyx_cb.C: layout as string
11058
11059         * bufferview_funcs.C: layout as string
11060
11061         * bufferparams.C: layout as string
11062
11063         * buffer.C: layout as string
11064
11065         * LyXView.[Ch]: layout as string
11066
11067         * LaTeXFeatures.[Ch]: layout as string
11068
11069         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11070
11071         * BufferView_pimpl.C: change current_layout to string, remove
11072         lyx::layout_type.
11073         (Dispatch):
11074         (smartQuote):
11075         (insertInset):
11076         (workAreaButtonRelease): layout as string
11077
11078         * BufferView2.C (unlockInset): adjust
11079
11080         * vspace.C (asLatexCommand): use an explict temp variable.
11081
11082 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * Makefile.am: use FRONTEND_*
11085
11086 2002-03-01  Juergen Vigna  <jug@sad.it>
11087
11088         * tabular.C (SetWidthOfMulticolCell): changed to something better
11089         I hope but still work in progress.
11090         (recalculateMulticolumnsOfColumn): renamed function from
11091         recalculateMulticolCells as it is more appropriate now.
11092         (SetWidthOfCell): calculate multicols better.
11093
11094 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11097
11098         * lyxfunc.C (processKeySym): print sequence also if it is
11099         `deleted' (complete)
11100
11101         * kbsequence.C (print): print sequence even if it is deleted
11102         (complete would be a better word, actually).
11103
11104         * lyxfunc.C (dispatch): print complete options after a prefix key
11105
11106         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11107
11108 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11109
11110         * text2.C (setCharFont): eliminate setCharFont code duplication.
11111
11112 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11115         LFUN_TABULAR_FEATURE (bug #177)
11116
11117 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * Makefile.am: remove figure.h
11120
11121 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11122
11123         * Bufferview_pimpl.C:
11124         * CutAndPasteC:
11125         * LaTeX.C:
11126         * LyXSendto.C:
11127         * buffer.C:
11128         * bufferlist.C:
11129         * converter.C:
11130         * language.C:
11131         * lyxfunc.C:
11132         * lyxvc.C:
11133         * paragraph.C:
11134         * text.C:
11135         * text2.C: remove #include "lyx_gui_misc.h".
11136
11137         * LaTeX.C: added #include <cstdio>
11138
11139 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11142         that the paragraph following this one can have.
11143
11144         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11145
11146         * vspace.C (asLatexCommand): fix bogus gcc warning
11147
11148         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11149
11150 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11151
11152         * text2.C (setLayout): get rid of redundant code
11153
11154 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11155
11156         * text2.C (incDepth): make sure depth cannot be increased beyond
11157         reasonable values.
11158
11159 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11160
11161         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11162         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11163
11164         * PainterBase.h (image):
11165         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11166         a LyXImage const *.
11167
11168 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * BufferView.C:
11171         * BufferView.h:
11172         * BufferView_pimpl.C:
11173         * BufferView_pimpl.h:
11174         * LaTeXFeatures.C:
11175         * LyXAction.C:
11176         * LyXView.C:
11177         * Makefile.am:
11178         * UpdateList.h:
11179         * UpdateList.C:
11180         * buffer.C:
11181         * figure.h:
11182         * figureForm.C:
11183         * figureForm.h:
11184         * figure_form.C:
11185         * figure_form.h:
11186         * lyx_cb.C:
11187         * lyx_gui.C:
11188         * lyx_gui_misc.C:
11189         * lyxfunc.C:
11190         * sp_base.h:
11191         * sp_ispell.h:
11192         * sp_pspell.h:
11193         * sp_spell.C: remove fig inset, and the crap house of
11194           cards that follows it
11195
11196 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * Makefile.am:
11199         * lyxserver.C:
11200         * os2_defines.h:
11201         * os2_errortable.h:
11202         * nt_defines.h: move .h into support/
11203
11204         * vms_defines.h: remove
11205
11206         * WorkArea.C: add space in debug output
11207
11208         * text2.C:
11209         * paragraph.C:
11210         * buffer.C: add WITH_WARNINGS
11211
11212         * vc-backend.h:
11213         * vc-backend.C:
11214         * bufferlist.C: s/retrive/retrieve/, add docs
11215
11216         * vspace.h:
11217         * vspace.C:
11218         * kbmap.h:
11219         * lyxlength.h:
11220         * lyxgluelength.h:
11221         * length_common.h:
11222         * chset.h:
11223         * chset.C: add docs
11224
11225         * lyxgui.C: add ID to X error handler
11226
11227         * lyxtestclass.c: fix typo
11228
11229 2002-02-26  Juergen Vigna  <jug@sad.it>
11230
11231         * tabular_funcs.C (write_attribute): changed so that some default
11232         attributes are not written at all.
11233         (getTokenValue): set default values before trying to read the
11234         value so we have the return value always set as default if we don't
11235         find the token we search for.
11236
11237         * tabular.C (Write): write bools as bools not as strings!
11238
11239 2002-02-22  Juergen Vigna  <jug@sad.it>
11240
11241         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11242         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11243
11244         * text.C (leftMargin): don't add an indent for paragraphs inside
11245         tabular cells (fix #208).
11246
11247 2002-02-21  José Matos  <jamatos@fep.up.pt>
11248
11249         * tabular.C (docBook): fixed support for long tables.
11250
11251 2002-02-20  Juergen Vigna  <jug@sad.it>
11252
11253         * text2.C (getFont): get the drawing font of the Inset if this
11254         paragraph is inside an inset (only important for InsetERT for now).
11255
11256         * buffer.C (insertErtContents): use new lanugage params in ERT
11257         constructor.
11258
11259         * CutAndPaste.C: commenting out seemingly uneeded code.
11260
11261 2002-02-19  Allan Rae  <rae@lyx.org>
11262
11263         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11264         Iterators might be simple to use but they also get invalidated.
11265         (removeAutoInsets): renamed saved cursor tracking variables and added
11266         some comments to clarify what everything does.
11267
11268 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * Chktex.C:
11271         * LaTeX.C:
11272         * LyXSendto.C:
11273         * converter.C:
11274         * lyx_cb.C:
11275         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11276         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11277
11278         * lyxfunc.C:
11279         * vc-backend.h: remove #include "support/syscall.h"
11280
11281         * LaTeX.C:
11282         * LyXSendto.C:
11283         * converter.C: rearrange #includes in Lars' approved fashion.
11284
11285         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11286         forward declare class Timeout in the header file.
11287
11288         * XFormsView.C: changes due to the above.
11289
11290         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11291         similar to LyXView.
11292
11293         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11294         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11295
11296 2002-02-18  José Matos  <jamatos@fep.up.pt>
11297
11298         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11299         insets contents.
11300
11301 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11302
11303         * a lot of small ws changes
11304         * add a lot of using std::XXX
11305         * use std construcs some places where approp.
11306         * use some exisint stuff from lyxfunctional where approp.
11307         * Make file changes to use partial linking (lets test this now...)
11308
11309 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11310
11311         * Chktex.C:
11312         * buffer.C:
11313         remove #include "support/syscontr.h" as it's redundant. Always has been.
11314
11315         * Chktex.C:
11316         * LaTeX.C:
11317         * LyXSendto.C:
11318         * converter.C:
11319         * lyx_cb.C:
11320         * vc-backend.C:
11321         change Systemcalls::System to Systemcalls::Wait and
11322         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11323         No change of functionality, just reflects the stripped down Systemcalls
11324         class.
11325
11326 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11327
11328         * debug.[Ch]: add a GRAPHICS type to the enum.
11329
11330 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11333
11334         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11335         there is an inset.
11336
11337 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11340         match the changes below.
11341
11342         * text2.C (toggleInset): if there is not editable inset at cursor
11343         position, try to see if cursor is _inside_ a collapsable inset
11344         and close it.
11345
11346 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11349         document menu has a nice checkbox
11350
11351 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * lyxlength.C (asLatexString): change PW to output as percent of
11354         \textwidth.
11355
11356         * lengthcommon.C: change '%' to 't%'
11357
11358         * lyxfunc.C (dispatch): a few comments from Martin
11359
11360 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * WorkArea.h:
11363         * WorkArea.C:
11364         * BufferView_pimpl.h:
11365         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11366           the X selection.
11367
11368 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * vspace.C (inPixels): fix compiler warning
11371
11372 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * lyxfunc.C (getStatus): fix status message for disabled commands.
11375
11376 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.C: fix crash on close buffer
11379         during selection (#227)
11380
11381 2002-01-27  Herbert Voss  <voss@lyx.org>
11382
11383         * buffer.C: link old Figure to new graphic inset
11384
11385 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11386
11387         * FontLoader.C (getFontinfo): Change the latex font names in order
11388         to match the names of type1inst.
11389
11390 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11393
11394         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11395         (extchanged): ditto
11396         (ext_exist): ditto
11397         (remove_files_with_extension): ditto
11398         (remove_file): ditto
11399         (write): ditto
11400
11401         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11402         document is smaller than the work area height. Do not initialize
11403         static variables to 0.
11404
11405 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11406
11407         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11408
11409         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11410         LFUN_LAYOUT_PARAGRAPHS.
11411
11412         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11413         tabular. It is possible to provide a possible cell, which will
11414         typically be the actcell from the corresponding insettabular
11415
11416         * lyxfunc.C (getStatus): small cleanup; disable
11417         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11418         true
11419
11420 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11423
11424         * paragraph.C (startTeXParParams):
11425         (endTeXParParams): new methods. The LaTeX code to
11426         start/end paragraph formatting
11427         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11428         empty (fixes bug #200)
11429
11430         * vspace.C (inPixels): adapt to the change below
11431         (inPixels): [later] more cleanups (remove unused variables)
11432
11433         * lyxlength.C (inPixels): change to use a width and a height as
11434         parameter.
11435
11436 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11439         Replaced with \paperwidth
11440
11441         * DepTable.C (insert): add std:: qualifier
11442
11443 2002-01-18  Allan Rae  <rae@lyx.org>
11444
11445         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11446         updated also?
11447
11448         * text.C (drawInset): Turned out I didn't know enough about how
11449         rebreaking worked.  This fixes most of the redraw problems.  I see
11450         an occasional cursor trail when a line is broken now and the cursor
11451         placement can seem out by a few pixels also after a rebreak.
11452
11453 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * buffer.C (parseSingleLyXformat2Token): update because minipage
11456         width is now a LyXLength
11457
11458         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11459
11460         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11461         math insets
11462
11463 2002-01-17  Juergen Vigna  <jug@sad.it>
11464
11465         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11466
11467         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11468         is set correctly and the inset is updated correctly.
11469
11470 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11473         the beginning of the loop.
11474
11475 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * lyxrc.C: improve help for use_scalable_fonts
11478
11479 2002-01-17  Allan Rae  <rae@lyx.org>
11480
11481         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11482
11483 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11486         make sure to set their inset_owner to the right value (bug #171)
11487
11488 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11489
11490         * DepTable.h
11491         * DepTable.C: Implement mtime checking to reduce time spent doing
11492         CRCs.
11493
11494 2002-01-16  Juergen Vigna  <jug@sad.it>
11495
11496         * tabular.C (GetAdditionalHeight): one of error fixed.
11497
11498         * lyxrc.C (output): small fix in writing use_pspell.
11499
11500 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * sp_base.h: #include LString.h
11503
11504 2002-01-16  Allan Rae  <rae@lyx.org>
11505
11506         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11507         Can someone check this please?
11508
11509         * text.C (drawInset): It was possible that p.row would be removed by
11510         breakAgainOneRow upsetting a few other settings.  There may be another
11511         small tweak possible by setting need_break_row = 0 when p.row has been
11512         removed but I don't know enough about the logic here.
11513
11514 2002-01-15  Allan Rae  <rae@lyx.org>
11515
11516         * text.C (insertChar): removed conditional truism.
11517
11518         * BufferView2.C (removeAutoInsets): More tweaks.
11519         cur_par_prev could be a stray pointer.  Check for trailing empty line
11520         in case last line was cur_par and only had an error inset on it.
11521
11522 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11525         absolute
11526
11527         * vc-backend.C (most methods):
11528         * exporter.C (Export):
11529         * converter.C (convert):
11530         (runLaTeX):
11531         * LyXSendto.C (SendtoApplyCB):
11532         * lyxfunc.C (dispatch):
11533         (menuNew):
11534         (open):
11535         (doImport):
11536         * lyx_cb.C (AutoSave):
11537         (InsertAsciiFile):
11538         * BufferView_pimpl.C (MenuInsertLyXFile):
11539         * buffer.C (runChktex): use Buffer::filePath().
11540
11541         * buffer.h: rename filename to filename_; rename filepath to
11542         filepath_ and make it private
11543         (filePath): new method
11544
11545         * buffer.C (writeFile): use fileName()
11546         (getLatexName):
11547
11548         * lyx_main.C (init): fix starting  of LyX when the binary is a
11549         link from so,ewhere else.
11550
11551         * minibuffer.C: include <cctype> for isprint
11552
11553 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11556         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11557         name clash with InsetCollapsable's width function.
11558
11559 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11560
11561         * lastfiles.C: include <iterator>
11562
11563 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11566         std::count.
11567
11568         * buffer.C (makeLaTeXFile): ditto.
11569         Also make loop operation more transparent.
11570
11571 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11572
11573         * ToolbarDefaults.C: remove trailing comma closing namespace.
11574
11575         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11576
11577         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11578         as in WorkArea.
11579
11580         * trans.C (Load): comment out unused variable, allowed.
11581
11582 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11583
11584         * minibuffer.[Ch] (append_char): new method to recieve input from the
11585         drop-down completion browser. If a key was pressed, then recieve this
11586         char and append it to the existing string.
11587         (peek_event): modify the positioning data passed to the completion
11588         browser so that it can be placed above the minibuffer rather than below.
11589 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * LyXAction.C (init): alloe error-next for readonly documents.
11592
11593         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11594         count.
11595
11596 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * bufferlist.C (readFile): create the buffer _after_ checking that
11599         the file exists.
11600
11601         * lyxfunc.C (verboseDispatch): fix handling of arguments
11602
11603         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11604
11605         * lyxrc.C: use string::erase() instead of initializing to "".
11606
11607
11608 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView_pimpl.h:
11611         * BufferView_pimpl.C:
11612         * WorkArea.h:
11613         * WorkArea.C:
11614         * text2.C: tell X when we have made a selection for copying
11615
11616 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11617
11618         * BufferView_pimpl.C (MenuInsertLyXFile):
11619         * lyxfunc.C (menuNew):
11620         (open):
11621         (doImport): add shortcuts to directory buttons
11622
11623         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11624         open a float)
11625
11626         * lyxfunc.C (setStatusMessage):
11627         (getStatusMessage): new methods
11628         (getStatus):use setStatusMessage instead of setErrorMessage
11629         (dispatch): when function is disabled, set error message here
11630         [instead of in getStatus previously]
11631
11632         * BufferView_pimpl.C (workAreaButtonRelease): update
11633         toolbar/menubar here too.
11634
11635 2002-01-13  Allan Rae  <rae@lyx.org>
11636
11637         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11638         Now seems indestructible.  Remaining task is to audit all other
11639         code affected by deleteEmptyParagraphMechanism.  One small quirk
11640         left is that an empty document with an error in the preamble can
11641         be made to report an error but no error box appears.  I don't know
11642         where it goes.
11643         (removeAutoInsets): Improved comments.
11644
11645 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * Thesaurus.h:
11648         * Thesaurus.C: update for Aiksaurus 0.14
11649
11650 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * text2.C (firstParagraph): removed member function, all uses
11653         replaces with ownerParagraph
11654         (redoParagraphs): here
11655         (updateInset): here
11656         (toggleAppendix): here
11657         * BufferView2.C (insertErrors): here
11658         (setCursorFromRow): here
11659
11660 2002-01-13  Allan Rae  <rae@lyx.org>
11661
11662         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11663         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11664         There is still a way to segfault this although you may have to do this
11665         multiple times: Have an InsetERT with an unknown command in it.
11666         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11667         <down-arrow>, <Enter> again, View->DVI, BANG!
11668
11669         * text2.C (setCursor):
11670         (deleteEmptyParagraphMechanism):
11671         * lyxtext.h (setCursor):
11672         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11673         Making use of the return value may help fix other bugs.
11674
11675 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11676
11677         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11678
11679         * LyXView.C (updateMenubar): call MenuBar::update here
11680         (updateToolbar): but not here
11681         (showState): do not update toolbar/menubar
11682
11683         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11684         should need to care about that.
11685
11686         * lyxfunc.C (verboseDispatch): simplify a bit
11687         (getStatus): have a version which takes a pseudoaction, and
11688         another which requires a (kb_action,string).
11689
11690         * LyXAction.C (retrieveActionArg): make it work also when action
11691         is not a pseudo-action.
11692         (getActionName): simplify a bit
11693         (helpText):
11694
11695 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11696
11697         * lyxfunc.C (verboseDispatch): new families of methods with
11698         several ways to specify a command and a bool to indicate whether
11699         the command name and shortcut should be displayed in minibuffer
11700         (eventually, we could extend that to a finer bitmask like
11701         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11702         (dispatch): the pristine dispatch command which just, well,
11703         dispatchs! Note it still sets its result to minibuffer; I'm not
11704         sure we want that.
11705
11706         * lyxfunc.h: remove setHintMessage
11707
11708         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11709
11710 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11711
11712         * BufferView_pimpl.C (specialChar): delete new inset if we have
11713         not been able to insert it.
11714
11715         * kbmap.C: revert to using int instead of kb_action, since all we
11716         are dealing with is pseudo-actions.
11717
11718         * LyXAction.C (searchActionArg): change to return int instead of
11719         kb_action, since the result is a pseudoaction.
11720
11721 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11722
11723         * buffer.C (insertErtContents): Fix (partially) the font bug.
11724
11725 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11728         as the other one is broken on my machine!
11729
11730 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11731
11732         * commandtags.h:
11733         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11734
11735 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11738         reflect their actual use. Provide compatibility code for older lyxrc
11739         files.
11740
11741         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11742         FL_NORMAL_STYLE.
11743         change names of popup font variables in line with the changes to lyxrc.C
11744
11745 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * buffer.C (asciiParagraph): avoid outputing a word twice after
11748         an inset.
11749
11750         * lyxrc.C (getDescription): document that document_path and
11751         template_path can be empty.
11752
11753 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11754
11755         * LaTeXFeatures.C (getMacros):
11756         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11757
11758         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11759
11760         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11761         getPackages.
11762         (getPackages): rename feature "floats" to "float". Use an array to
11763         iterate over 'simple' features (i.e. just a \usepackage). Add
11764         handling of "amsmath" (renamed from "amsstyle").
11765
11766 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11767
11768         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11769         features list.
11770
11771 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11774         FuncStaus::FuncStatus & FuncStaus::some_method().
11775
11776 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11777
11778         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11779         of the func_satus stuff. Edited and massaged in various ways by
11780         JMarc.
11781
11782         * lyxfunc.C (getStatus): use FuncStatus
11783
11784 2002-01-08  Juergen Vigna  <jug@sad.it>
11785
11786         * text.C (nextBreakPoint): use function Inset::isChar().
11787
11788         * paragraph.C (TeXOnePar): use function
11789         Inset::forceDefaultParagraphs.
11790
11791         * buffer.C (latexParagraphs): use function
11792         Inset::forceDefaultParagraphs.
11793
11794 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11795
11796         * lyx_gui.C (init): set the style of the menu popups to
11797         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11798
11799 2002-01-07  Juergen Vigna  <jug@sad.it>
11800
11801         * text.C (setHeightOfRow): small fix
11802         (prepareToPrint): don't look at alignment if we don't have the place
11803         for doing it.
11804
11805 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11806
11807         * box.C: New file. Move the Box methods and functions out of box.h,
11808         following Lars' suggestion.
11809
11810 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * box.h: #include "support/LOstream.h", needed for inlined function.
11813
11814         * lyxtextclass.C:
11815         * lyxtextclasslist.C: added some using std declarations.
11816
11817 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * box.h: make signed dimensions to allow insets wider than
11820           the screen (bug #162)
11821
11822         * BufferView_pimpl.C: add some insetHit debug
11823
11824 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * vc-backend.C: add FIXME
11827
11828 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * lyxfunc.C (getStatus): enable code for showing math font status
11831         in toolbar/menu.
11832
11833 2002-01-07  Juergen Vigna  <jug@sad.it>
11834
11835         * text.C (nextBreakPoint): removed debug output not needed anymore.
11836
11837 2002-01-06  Juergen Vigna  <jug@sad.it>
11838
11839         * text.C (nextBreakPoint): fixed up this function we had this bug
11840         since ever but now hopefully we break row better.
11841         (insertChar): we have to check if an inset is the next char as it
11842         could now happen that a large inset is causing a break.
11843
11844 2002-01-05  Juergen Vigna  <jug@sad.it>
11845
11846         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11847         if it doesn't like to be drawed.
11848
11849 2002-01-04  Juergen Vigna  <jug@sad.it>
11850
11851         * BufferView2.C (lockInset): forgot to set a cursor.
11852
11853         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11854
11855 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11856
11857         * FormMathsPanel.C:
11858         * FormMathsPanel.h
11859         * MathsSymbols.C:
11860         * form_maths_panel.C:
11861         * form_maths_panel.h:
11862         * form_maths_panel.fd: implemented sub- and super- buttons in math
11863         panel.
11864
11865         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11866         (or ^ space) to be used as in TeX (req'd by André).
11867
11868         * lyxfunc.C: Allow ^ and _ again to be used both as
11869         super/subscript (mathed) and as themselves (in text).
11870
11871 2002-01-03  Allan Rae  <rae@lyx.org>
11872
11873         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11874         "LyX" or the filename of the current buffer if it has one.  This is a
11875         modified form of John Levon's patch.
11876
11877         * XFormsView.C (setWindowTitle): also set icon title.
11878
11879         * LyXView.h (setWindowTitle): signature changed.
11880         * XFormsView.h (setWindowTitle): ditto.
11881
11882 2002-01-02  Juergen Vigna  <jug@sad.it>
11883
11884         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11885
11886 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * screen.C (topCursorVisible): introduce a temp var for
11889         text->cursor.row(), handle the case where this row is null. (kindo
11890         hachish)
11891
11892         * text2.C (setCursor): add a couple of asserts.
11893
11894         * paragraph.h (inset_iterator): add -> operator
11895
11896         * paragraph.[Ch] (autoDeleteInsets): remove member function
11897
11898         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11899         cursor pos correctly and handle inset deletion by itself.
11900         (insertErrors): move iterator declaration out of for expression
11901
11902         * lyxtextclass.C: add <algorithm>
11903
11904         * Makefile.am: added the new files to sources, removed layout.C
11905
11906         * layout.C: removed file
11907
11908         * layout.h: remove LYX_DUMMY_LAYOUT
11909
11910         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11911         layout.
11912
11913         * lyxlayout.[Ch]:
11914         * lyxtextclass.[Ch]:
11915         * lyxtextclasslist.[Ch]: new files
11916
11917         * include order changes to a lot of files, also changes because of
11918         the six new files.
11919
11920 2001-12-27  Juergen Vigna  <jug@sad.it>
11921
11922         * buffer.C (asciiParagraph): more fixes.
11923
11924         * tabular.C (ascii): make ascii export support export of only the
11925         data separated by a column-delimiter.
11926         (ascii): better support for ascii export.
11927
11928         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11929
11930 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11931
11932         * tabular_funcs.C: use a "using std::getline" instead of the
11933         previous fix from Angus (necessary for cxx + lyxstring)
11934
11935 2001-12-24  Juergen Vigna  <jug@sad.it>
11936
11937         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11938
11939         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11940         problems. First check a minipage also if we have some ert-contents
11941         (not only on par->size(), second set the right depth of the paragraph
11942         on the relink to the root-paragraph-list!
11943
11944         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11945         which then did not anymore update the main paragraphs on undo/redo!
11946
11947 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11948
11949         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11950         code. Support all font-changing funcs (even those which are not in
11951         menu currently). Support for reporting font settings in
11952         mathed (disabled until Andre provides a function on mathed's side).
11953
11954         * func_status.h (toggle): small helper function to set toggle
11955         state on a flag.
11956
11957 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * tabular_funcs.C: getline -> std::getline
11960
11961 2001-12-21  Juergen Vigna  <jug@sad.it>
11962
11963         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11964         accessed and could be 0 (I couldn't generate this but it seems
11965         Michael could!).
11966
11967 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11970         * tabular_funcs.h: here and include iosfwd
11971
11972 2001-12-20  Juergen Vigna  <jug@sad.it>
11973
11974         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11975         inside inset but undo_par was.
11976
11977 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * Thesaurus.C: always include <config.h> in sources.
11980
11981         * Painter.h:
11982         * lyxlookup.h:
11983         * box.h: do not include <config.h> in header files
11984
11985         * text.C (paintLastRow): remove unused variable
11986
11987         * text.C (transformChar):
11988         (insertChar):
11989         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11990
11991         * Painter.C (text):
11992         * font.C (width): rewrite to use uppercase() instead of
11993         islower/toupper.
11994
11995         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11996
11997 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * lyxfind.C: clean up of find failure position change
12000
12001 2001-12-20  Juergen Vigna  <jug@sad.it>
12002
12003         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12004
12005         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12006         (TeXRow): added to LaTeX a single tabular row.
12007         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12008         (Latex): simplified and finally good LT-h/f support.
12009         (various_functions): just small adaptions for LT-h/f support.
12010
12011         * tabular_funcs.[hC]: added and moved here all not classfunctions
12012         of LyXTabular.
12013
12014 2001-12-19  Juergen Vigna  <jug@sad.it>
12015
12016         * tabular.[Ch]: better support for longtabular options (not finished
12017         yet!)
12018
12019 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * text.C (paintLastRow): use the label font instead of the font of
12022         the last character to compute the size of *_BOX. This makes more
12023         sense and avoids a crash with empty paragraphs.
12024         Use Painter::rectangle to draw EMPTY_BOX.
12025
12026 2001-12-19  Juergen Vigna  <jug@sad.it>
12027
12028         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12029         the paragraphs if the replaced paragraph is not the first one!
12030         Tried to delete not used paragraphs but does not work yet so for
12031         now it's inside #ifdef's and by default off!
12032
12033 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034
12035         * MenuBackend.C: include "lyx_main.h" instead of declaring
12036         lastfiles (actually was declared as LastFiles* instead of a
12037         scoped_ptr).
12038
12039 2001-12-17  Juergen Vigna  <jug@sad.it>
12040
12041         * tabular.C (AppendColumn): applied John's fix
12042
12043 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView.h:
12046         * BufferView.C:
12047         * BufferView_pimpl.h:
12048         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12049
12050         * Makefile.am:
12051         * box.h: new start of class for above
12052
12053         * lyxfunc.C: ignore space-only minibuffer dispatches.
12054           Show the command name when it doesn't exist
12055
12056         * minibuffer.C: don't add empty lines to the history
12057
12058         * minibuffer.C: add a space on dropdown completion
12059
12060 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * text.C: fix line above/below drawing in insets
12063
12064 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * lyxlength.C (LyXLength): Initialize private variables.
12067
12068 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12069
12070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12071         when inserting error insets.
12072
12073 2001-12-13  Juergen Vigna  <jug@sad.it>
12074
12075         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12076         actually sometimes the before-paragraph.
12077         (setUndo): don't clear the redostack if we're not actually undoing!
12078
12079 2001-12-06  Juergen Vigna  <jug@sad.it>
12080
12081         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12082         and fixed redoing of main paragraph, so we can use it now ;)
12083
12084         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12085
12086 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12089         Juergen's request
12090
12091 2001-12-13  André Pönitz <poenitz@gmx.net>
12092
12093         * undostack.[Ch]:
12094         * undo_func.C: minor cleanup
12095
12096 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12099         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12100         font in urw-fonts package which is marked as -urw-fontspecific and
12101         does not work (incidentally, changing the encoding in the
12102         fonts.dir of this package to -adobe-fontspecific fixes the
12103         problem).
12104
12105         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12106         is a crash when undoing first paragraph (Juergen, please take a
12107         look). THis does not mean the undo fix is wrong, just that it
12108         uncovers problems.
12109
12110         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12111         the (Paragraph*) version when needed instead of duplicating the
12112         code.
12113
12114         * text.C (workWidth): use Inset::parOwner to find out where the
12115         inset has been inserted. This is a huge performance gain for large
12116         documents with lots of insets. If Inset::parOwner is not set, fall
12117         back on the brute force method
12118
12119         * paragraph_pimpl.C (insertInset):
12120         * paragraph.C (Paragraph):
12121         (cutIntoMinibuffer): set parOwner of insets when
12122         inserting/removing them
12123
12124         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12125
12126 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12127
12128         * commandtags.h:
12129         * LyXAction.C:
12130         * lyx_main.C:
12131         * lyxfunc.C:
12132         * mathed/formulabase.C:
12133         * mathed/math_cursor.[Ch]:
12134         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12135
12136
12137 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * lyxlength.[Ch] (operator!=): new function
12140
12141 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * text.C (workWidth): use Inset::parOwner to find out where the
12144         inset has been inserted. This is a huge performance gain for large
12145         documents with lots of insets. If Inset::parOwner is not set, fall
12146         back on the brute force method
12147
12148         * paragraph_pimpl.C (insertInset):
12149         * paragraph.C (Paragraph):
12150         (cutIntoMinibuffer): set parOwner of insets when
12151         inserting/removing them
12152
12153         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12154
12155 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * tabular-old.C (getTokenValue):
12158         * tabular.C (getTokenValue):
12159         (write_attribute): new versions for LyXLength
12160         (everywhere): adjust the use of widths
12161
12162         * tabular.h: change the type of widths from string to LyXLength
12163
12164 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12165
12166         * paragraph.C: fixed missing line number count when exporting
12167         Environments to LaTeX file
12168
12169         * buffer.C: added informational message for checking line numbers.
12170
12171 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12174         paragraph, do the 'double space' part, but not the 'empty
12175         paragraph' one.
12176
12177         * text.C (workWidth): small optimization
12178         (getLengthMarkerHeight): use minimal size for negative lengths.
12179
12180 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12181
12182         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12183
12184         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12185
12186 2001-12-11  André Pönitz <poenitz@gmx.net>
12187
12188         * FontLoader.C:
12189         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12190
12191 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * text2.C: keep selection on a setFont()
12194
12195 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12196
12197         * lyx_cb.C: another bv->text misuse, from insert label
12198
12199 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * kbsequence.h:
12202         * kbsequence.C: re-instate nmodifier mask
12203
12204 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * lyx_main.h: make lyxGUI private.
12207
12208 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * lyxfind.C: place the cursor correctly on failed search
12211
12212 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12213
12214         * text.C (getLengthMarkerHeight): for small heights, the arrows
12215         are not always on top/bottom of the text
12216         (drawLengthMarker): smaller arrows; take the left margin in
12217         account; draw also vfills.
12218         (paintFirstRow):
12219         (paintLastRow): remove special code for vfill and standard spaces,
12220         since everything is handled in drawLengthMarker now.
12221
12222 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * buffer.C (insertErtContents): try to handle font and language
12225         interaction a bit better.g
12226
12227         * ColorHandler.C (updateColor): change the hash to cover the whole
12228         LColor enum, ws cleanup
12229         (getGCLinepars): ditto
12230         (getGCLinepars): only lookup in the linecache once.
12231
12232 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12233
12234         * iterators.C (operator++): Make the iterator more robust
12235
12236         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12237         (John's patch)
12238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12239
12240 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * lyxtext.h:
12243         * text.C: better added space drawing
12244
12245 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * LyXView.C:
12248         * BufferView2.C: fix layout combo update on inset unlock
12249
12250 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * Makefile.am: don't compile unused files
12253
12254 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * lyxfunc.C:
12257         * commandtags.h:
12258         * LyXAction.C: remove old LFUN_LAYOUTNO
12259
12260 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * paragraph_pimpl.h:
12263         * paragraph_pimpl.C: isTextAt() doesn't need font param
12264
12265 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyxlex.h:
12268         * lyxlex.C: little cleanup
12269
12270 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * BufferView_pimpl.C: fix insertAscii for insets
12273
12274 2001-12-05  Juergen Vigna  <jug@sad.it>
12275
12276         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12277         set the right font on the "multi" paragraph paste!
12278
12279 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * trans_decl.h:
12282         * trans_mgr.[Ch]:
12283         * trans.[Ch]:
12284         * lyxgluelength.C:
12285         * lyxlength.C: remove out-commented code.
12286
12287         * BufferView_pimpl:
12288         * CutAndPaste.C:
12289         * DepTable.C:
12290         * buffer.C:
12291         * chset.C:
12292         * lastfiles.C:
12293         * lyxlex.C:
12294         * lyxlex_pimpl.C:
12295         * lyxserver.C:
12296         * screen.C:
12297         * tabular-old.C:
12298         * tabular.C:
12299         * text.C:
12300         * trans_mgr.C:
12301         * vc-backend.C: change "while(" to "while ("
12302
12303         * lyxlength.[Ch]: add zero function to check if length is zero or
12304         not
12305         * lyxgluelength.C: use it
12306
12307 2001-12-05  Allan Rae  <rae@lyx.org>
12308
12309         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12310         Works for 2.95.3, from what I understand of Garst's reports this should
12311         work for other g++ versions.  We're screwed if the abs(int) definition
12312         changed between bugfix releases of gcc.
12313
12314 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * text.C: fix chapter label offset !
12317
12318 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * lyxtext.h:
12321         * text.C: fix hfill at end of line, clean up
12322
12323 2001-12-04  Juergen Vigna  <jug@sad.it>
12324
12325         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12326         that we force an update of the inset and it's owners if neccessary.
12327
12328 2001-12-03  Juergen Vigna  <jug@sad.it>
12329
12330         * text.C (rowLast): simplified code
12331
12332 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * lyxfunc.C: fix show options on timeout
12335
12336 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * screen.C (topCursorVisible): scroll half a page when the cursor
12339         reached top of bottom of screen
12340
12341 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * minibuffer.C: deactivate on loss of focus
12344
12345 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * vspace.[Ch] (operator!=): add operator.
12348
12349 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView_pimpl.C: refuse to open an inset when
12352         there's a selection.
12353
12354 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView_pimpl.C: allow to click on RHS of full row insets
12357
12358 2001-11-30  Juergen Vigna  <jug@sad.it>
12359
12360         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12361         insets for undo reasons.
12362
12363 2001-11-28  André Pönitz <poenitz@gmx.net>
12364
12365         * vspace.[Ch]: cosmetical changes
12366
12367 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * LyXAction.h:
12370         * LyXAction.C:
12371         * lyxfunc.h:
12372         * lyxfunc.C:
12373         * kbmap.h:
12374         * kbmap.C:
12375         * lyxrc.C:
12376         * kbsequence.h:
12377         * kbsequence.C: part re-write of old kb code
12378
12379         * Painter.C:
12380         * WorkArea.C: remove Lgb_bug_find_hack
12381
12382 2001-11-30  José Matos <jamatos@fep.up.pt>
12383
12384         * buffer.C (makeDocBookFile): add a comment to point a hack.
12385         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12386         Fixed a double write of labels.
12387
12388 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12389
12390         * LaTeX.C:
12391         * LaTeX.h Fixed bug in LaTeX class where it would not
12392         re-run latex if no depfiles were changed, but the .dvi was removed.
12393
12394 2001-11-28  André Pönitz <poenitz@gmx.net>
12395
12396         * all the files from the change on 2001/11/26:
12397         use lyx::layout_type instead of LyXTextClass::size_type
12398         use lyx::textclass_type instead of LyXTextClassList::size_type
12399
12400 2001-11-29  Juergen Vigna  <jug@sad.it>
12401
12402         * text.C: added support for paragraph::isFreeSpacing()
12403
12404         * buffer.C: same as above
12405
12406         * paragraph.h: inserted isFreeSpacing() function to enable
12407         FreeSpacing inside InsetERT.
12408
12409         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12410         of the paragraph's in the cut/copy buffer to 0!
12411
12412         * text2.C (removeRow): remove the assert as it can!
12413
12414         * lyxtext.h: added helper function firstRow returning firstrow and
12415         made firstrow private again.
12416
12417         * BufferView2.C (lockInset): don't relock if we're already locked!
12418
12419         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12420         the only paragraph.
12421         (removeRow): added Assert::(firstrow)
12422
12423         * debug.C: forgot to add INSETTEXT here.
12424
12425 2001-11-28  Juergen Vigna  <jug@sad.it>
12426
12427         * sp_spell.C (initialize): changed error text to more general
12428         spellchecker command use (not only ispell!)
12429
12430         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12431
12432         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12433
12434 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * vspace.C: initialise lyxgluelength on failure
12437
12438 2001-11-28  Allan Rae  <rae@lyx.org>
12439
12440         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12441         declaration & definition that looks like a function declaration.
12442
12443 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * BufferView2.C (copy):
12446         (copyEnvironment): do not clear the selection when doing a copy.
12447
12448         * text.C (paintFirstRow): compilation fix
12449
12450 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12451
12452         * tabular.C (Latex): correct line count when writing latex.
12453
12454 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * paragraph_pimpl.h:
12457         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12458           bug a bit
12459
12460 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * text.C:
12463         * LColor.h:
12464         * LColor.C: change vfillline->added_space
12465
12466         * text.C: add markers and text for added space
12467
12468         * vspace.C: fix comment
12469
12470 2001-11-28  André Pönitz <poenitz@gmx.net>
12471
12472         * paragraph.C: whitespace changes
12473         * all the other files from the change on 2001/11/26:
12474         change *::pos_type into lyx::pos_type
12475
12476 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12479         language of the document when inserting error insets.
12480
12481 2001-11-26  André Pönitz <poenitz@gmx.net>
12482
12483         * BufferView_pimpl.[Ch]:
12484         *       CutAndPaste.C:
12485         * buffer.[Ch]:
12486         * lyxcursor.[Ch]:
12487         * lyxfind.C:
12488         * lyxfunc.C:
12489         * lyxrow.[Ch]:
12490         * paragraph.[Ch]:
12491         * paragraph_pimpl.[Ch]:
12492         * sp_spell.C:
12493         * text.C:
12494         * text2.C: reduce header dependencies, introduce type for positions
12495
12496 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * <various>: change to use Alert.h
12499
12500 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12501
12502         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12503         when encountering an unknown token.
12504         (readLyXformat2): Show an error message if there were unknown tokens.
12505
12506 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * BufferView2.C:
12509         * BufferView_pimpl.C:
12510         * buffer.C:
12511         * paragraph.h:
12512         * text.C:
12513         * text2.C: use par->isInset()
12514
12515 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * paragraph_pimpl.h:
12518         * paragraph_pimpl.C: cleanup
12519
12520 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12521
12522         * text2.C (removeRow):
12523         * text.C (setHeightOfRow): remove useless (and costly) call to
12524         getRow.
12525
12526 2001-11-20  Allan Rae  <rae@lyx.org>
12527
12528         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12529         Now need Inset*::checkInsertChar() to return true for appropriate
12530         cases so that the characters in the minibuffer will actually be
12531         inserted.
12532
12533 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * text.C: change the order of the includes.
12536         (workWidth): initialize it at once.
12537         (workWidth): make maxw unsigned
12538         (setHeightOfRow): remove unused variable (inset)
12539         (selectSelectedWord): remove unused variable (inset)
12540         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12541
12542 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12545         server is not running.
12546         (openConnection):
12547         (closeConnection): add debug info when server is disabled.
12548
12549         * ColorHandler.C (getGCForeground): send debug message to GUI
12550         channel.
12551
12552         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12553
12554         * kbmap.C (bind): modify because return conventions of
12555         kb_sequence::parse have changed.
12556
12557         * kbsequence.C (parse): only ignore spaces and not any stupid
12558         control character. This avoids tests like s[i] <= ' ', which are
12559         guaranteed to fail with 8bit characters and signed chars.
12560         Change return code to string::npos when there have been no error
12561         (0 was a bad idea when error is at first character)
12562
12563 2001-11-14  José Matos  <jamatos@fep.up.pt>
12564
12565         * buffer.h:
12566         * buffer.C (simpleDocBookOnePar): removed unused argument.
12567
12568 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12571         insets which are part of a word. Paragraph::isLetter takes care of
12572         that now. Use Paragraph::isInset to identify insets.
12573         (selectSelectedWord): do not test for hyphenation break.
12574
12575         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12576         that protected spaces are considered as spaces.
12577
12578         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12579         Inset::isLetter.
12580
12581 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * lyxserver.h:
12584         * lyxserver.C: fix it. and small cleanup.
12585
12586 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * BufferView_pimpl.C: use inline helpers
12589
12590         * LaTeXFeatures.h:
12591         * LaTeXFeatures.C: fix typos
12592
12593         * Spacing.h:
12594         * Spacing.C: move spacing_string into class
12595
12596         * ToolbarDefaults.C: move stuff into namespace anon
12597
12598         * layout.h: update enum
12599
12600         * lyxfunc.C: use better debug
12601
12602         * minibuffer.h: fix typo
12603
12604         * debug.h:
12605         * debug.C:
12606         * WorkArea.C: add and use Debug::WORKAREA
12607
12608         * lyxtext.h:
12609         * text.C:
12610         * text2.C: code re-organisation, inline helpers
12611
12612 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12613
12614         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12615         std::vector.empty().
12616
12617 2001-11-09  Allan Rae  <rae@lyx.org>
12618
12619         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12620         '\n's after tables.  Tabular and ERT inset work now makes this no
12621         longer necessary.
12622
12623 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * minibuffer.h:
12626         * minibuffer.C: fix crash, improve drop-down completion
12627
12628 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * lyxserver.h:
12631         * lyxserver.C: invalidate fd's when doing endPipe()
12632
12633 2001-11-08  José Matos  <jamatos@fep.up.pt>
12634
12635         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12636         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12637
12638         * paragraph.h:
12639         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12640
12641 2001-11-07  José Matos  <jamatos@fep.up.pt>
12642
12643         * buffer.h:
12644         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12645         const qualifier.
12646
12647         * buffer.C (sgmlOpenTag):
12648         * buffer.C (sgmlCloseTag): removed debug info.
12649
12650         * buffer.h (sgmlOpenTag):
12651         * buffer.h (sgmlCloseTag): made public.
12652
12653 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * buffer.C (saveParamsAsDefaults):
12656         * lyx_cb.C (MenuLayoutSave): remove
12657
12658         * LyXAction.C (init):
12659         * commandtags.h:
12660         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12661
12662 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * buffer.C (setPaperStuff): removed from here...
12665
12666         * bufferparams.C (setPaperStuff): ... and moved there.
12667
12668 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * minibuffer.h:
12671         * minibuffer.C:
12672         * XFormsView.C: add support for drop-down completion
12673
12674 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12675
12676         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12677         commands.
12678
12679 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12682         disabled.
12683
12684 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * lyx_main.C: change ref to known bugs
12687
12688 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12689
12690         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12691         to work around older babel problems.
12692
12693 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12694
12695         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12696
12697 2001-10-24  Juergen Vigna  <jug@sad.it>
12698
12699         * tabular-old.C (ReadOld): below variable changes reflected.
12700
12701         * tabular.[Ch]: added ltType struct for longtable header/footer
12702         defines and changed all instances where they are used. Added
12703         future support for double top/bottom rows.
12704
12705 2001-10-24  José Matos  <jamatos@fep.up.pt>
12706
12707         * buffer.h (docbookHandleCaption):
12708         * buffer.C (docbookHandleCaption): removed unused function.
12709         (makeDocBookFile): moved docbook supported version to v4.1.
12710
12711 2001-10-24  José Matos  <jamatos@fep.up.pt>
12712
12713         * tabular.h:
12714         * tabular.C (docbookRow): new function to export docbook code of a row.
12715         (DocBook): now honors the longtable flags.
12716
12717 2001-10-23  José Matos  <jamatos@fep.up.pt>
12718
12719         * LaTeXFeatures.h:
12720         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12721         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12722
12723         * buffer.C (makeLinuxDocFile):
12724         (makeDocBookFile): reworked the preamble, more clean, and with
12725         support for lyx defined entities. Changed the document declaration
12726         to be more XML friendly.
12727
12728         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12729         if we need to output XML that should be done with a filter.
12730
12731 2001-10-22  Juergen Vigna  <jug@sad.it>
12732
12733         * sp_pspell.h (class PSpell): add alive function needed in the
12734         controller to see if the spellchecker could be started.
12735
12736 2001-10-22  Juergen Vigna  <jug@sad.it>
12737
12738         * buffer.C (insertStringAsLines): modify the font for inserting
12739         chars in certain conditions by calling checkInsertChar(font).
12740
12741 2001-10-19  Juergen Vigna  <jug@sad.it>
12742
12743         * text.C (workWidth): use getRow instead of wrong algorithm.
12744         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12745
12746 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * lyxserver.h:
12749         * lyxserver.C:
12750         * lyx_main.h:
12751         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12752
12753 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * text.C (workWidth): do not search for the exact row when
12756         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12757         optimization for big documents.
12758
12759 2001-10-18  Juergen Vigna  <jug@sad.it>
12760
12761         * text.C (workWidth): new function with added Inset * parameter.
12762
12763 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12766
12767         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12768         change return type of getColumnNearX.
12769
12770
12771         * text.C (changeRegionCase): use uppercase/lowercase instead of
12772         toupper/tolower.
12773         (leftMargin):
12774         (rightMargin): simplify code by factoring out the uses of
12775         textclasslist.
12776         (labelFill):
12777         (numberOfHfills):
12778         (setHeightOfRow):
12779         (appendParagraph): use Paragraph::size_type
12780
12781 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * vspace.C (asLatexString): add a missing break
12784
12785 2001-10-15  Herbert Voss  <voss@perce.de>
12786
12787         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12788
12789 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12790
12791         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12792         is not available.
12793
12794 2001-10-10  André Pönitz <poenitz@gmx.net>
12795
12796         * lyxfunc.C: removed greek_kb_flag.
12797
12798 2001-10-10  Herbert Voss  <voss@perce.de>
12799
12800         * lyx_main.C: delete global string help_lyxdir.
12801
12802 2001-10-09  Herbert Voss  <voss@perce.de>
12803
12804         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12805
12806         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12807
12808         * lyx_main.C: added global string help_lyxdir.
12809
12810         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12811
12812 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12813
12814         * lyxrc.C (set_font_norm_type): support iso8859-4
12815
12816 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12817
12818         * LaTeX.C (deplog): add another regex for MikTeX
12819
12820 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12821
12822         * lyxrc.C (set_font_norm_type): support iso8859-3
12823
12824 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12827
12828         * LaTeXFeatures.C: remove special case of french and index
12829
12830         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12831         before \begin{document}). This solves several incompatibilities.
12832
12833 2001-10-03  Garst Reese  <reese@isn.net>
12834
12835         * lyx_cb.C: change CheckTex error msg.
12836
12837 2001-10-03  José Matos  <jamatos@fep.up.pt>
12838
12839         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12840
12841 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12842
12843         * .cvsignore: update
12844
12845         * lyx_main.C (commandLineVersionInfo): use new style version info.
12846
12847         * buffer.C (writeFile):
12848         (makeLaTeXFile):
12849         (makeLinuxDocFile):
12850         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12851
12852         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12853
12854         * version.h: update to use stuff in version.C
12855
12856         * version.C.in: new file. Contains version information determined
12857         at compile time. This is a merging of version.h and
12858         version_info.h.in.
12859
12860 2001-10-03  Juergen Vigna  <jug@sad.it>
12861
12862         * BufferView_pimpl.C (update): don't change "dirty" status in
12863         updateInset call.
12864
12865 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * WorkArea.C (c-tor): re-position version string slightly.
12868
12869 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12872         revert to previous code.
12873
12874         WorkArea.[Ch]: (show, destroySplash): methods removed.
12875
12876         WorkArea.C: rework code so that it's an amalgam of the codes before and
12877         after the splash screen was moved to WorkArea.
12878
12879 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * lyxrc.C (read):
12882         * vspace.C (inPixels):
12883         (lyx_advance):
12884         * kbmap.C (bind):
12885         * buffer.C (insertStringAsLines):
12886         (asciiParagraph): fix types to be large enough
12887
12888         * lyxlex_pimpl.h: change member status from short to int
12889
12890         * layout.h: fix type of endlabeltype
12891
12892         * kbmap.C (bind):
12893         * kbsequence.C (parse): change return type to string::size_type
12894
12895         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12896         variable
12897
12898         * Bullet.C (bulletSize):
12899         (bulletEntry): do not use short ints as parameters
12900
12901         * BufferView2.C (insertLyXFile): change a char to an int.
12902
12903         * WorkArea.C (WorkArea): remove unneeded floats in computation
12904
12905 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12906
12907         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12908
12909         * paragraph.C (asString): Do not ignore newline/hfill chars when
12910         copying to the clipboard.
12911
12912 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12915         after a multi-line inset.
12916
12917 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12918
12919         * paragraph.C (validate): Set NeedLyXFootnoteCode
12920
12921 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12922
12923         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12924         and decrease-error to decrease.
12925
12926 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12929         it more readable (should be equivalent)
12930
12931 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12932
12933         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12934
12935 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12936
12937         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12938         of a cursor (row, etc.) after a character has been deleted
12939         (deleteEmptyParagraphMechanism): call the method above on _all_
12940         cursors held by the LyXText when a double space has been
12941         detected/deleted.
12942
12943 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12944
12945         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12946         pixmap.
12947         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12948
12949         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12950         background. Use greyOut() and the new show() methods to toggle between
12951         the foreground and background. Add code to remove the splash after
12952         its initial showing.
12953
12954         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12955         (create_forms): no longer call Dialogs::showSplash.
12956
12957 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * .cvsignore: add version_info.h
12960
12961 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * version_info.h.in: new file
12964
12965         * Makefile.am: add version_info.h.in
12966
12967         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12968         version_info.h instead of VERSION_INFO
12969
12970 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12971
12972         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12973         The ERT inset now returns string().
12974
12975 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12976
12977         * lyxtext.h, text.C (selectNextWord): renamed as
12978         selectNextWordToSpellcheck.
12979
12980         * text.C (selectNextWordToSpellcheck): Modified to not select
12981         words inside an ERT inset.
12982
12983 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * lyx_cb.C (MenuLayoutSave): change a bit the question
12986
12987         * sp_base.h: include <sys/types.h>
12988
12989 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12990
12991         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12992
12993 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12994
12995         * several files: fix typos in user-visible strings
12996
12997 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * text2.C (pasteSelection): do not set the selection, since it
13000         will be cleared later. Actually, the intent was to fix the way the
13001         selection was set, but I figured rmoving the code was just as good.
13002
13003 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13004
13005         * FontLoader.C (available): Check if font is available without
13006         loading the font.
13007
13008 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13009
13010         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13011
13012 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13013
13014         * lyxrc.[Ch]: added display_graphics variable and associated code.
13015
13016 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * bufferparams.C (hasClassDefaults): new method. Returns true if
13019         the buffer parameters correspond to known class defaults
13020
13021 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13022
13023         * XFormsView.C (show): set minimum size to the main window.
13024
13025 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * text2.C (copySelection):
13028         (cutSelection):
13029         * lyxfind.C (LyXReplace):
13030         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13031         LyXText::selectionAsString.
13032
13033         * paragraph.C (asString): add "label" argument to the second form
13034
13035         * text2.C (selectionAsString): add "label" argument and pass it to
13036         Paragraph::asString.
13037
13038 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * lyx_main.C (commandLineHelp): remove version information
13041
13042 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13043
13044         * lyx_main.C: add -version commandline option
13045
13046 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * paragraph.h: make the optional constructor arg required instead.
13049         some modifications to other files because of this.
13050
13051         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13052
13053         * lyxserver.C (C_LyXComm_callback): make it static
13054
13055         * lyx_main.C (error_handler): make it static
13056
13057         * lyx_gui.C (LyX_XErrHandler): make it static
13058
13059         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13060
13061         * WorkArea.C: make the extern "C" methods static.
13062
13063         * Makefile.am (lyx_LDADD): simplify
13064
13065 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13068         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13069
13070         * LyXAction.C (init):
13071         * lyxfunc.C (dispatch): associated code removal.
13072
13073 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * lyxfont.h (isSymbolFont): shut off warning
13076
13077         * text.C (setHeightOfRow):
13078         (getVisibleRow): fix crash with empty paragraphs which have a
13079         bottom line
13080
13081 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13082
13083         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13084         code.
13085
13086 2001-09-04  José Matos  <jamatos@fep.up.pt>
13087         * buffer.C
13088         * buffer.h
13089         * tabular.C (docbook): rename docBook method to docbook.
13090
13091 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * Makefile.am: add dependencies to main.o.
13094
13095 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13096
13097         * FontLoader.C (available): Return false if !lyxrc.use_gui
13098
13099 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13100
13101         * FontInfo.C (query):
13102         * converter.C (view):
13103         * importer.C (Import):
13104         * exporter.C (Export): Can not -> cannot.
13105
13106 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * BufferView_pimpl.C: allow to create index inset even if
13109           string is empty
13110
13111 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13112
13113         * buffer.C (getLists): replace boost::tie code with an explicit pair
13114         as boost::tie can break some compilers.
13115
13116         * iterators.h: Added a std:: declaration to the return type of
13117         ParIterator::size.
13118
13119 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13122           case.
13123
13124 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13125
13126         * iterators.[Ch]: New files. Provide paragraph iterators.
13127
13128         * buffer.C (changeLanguage): Use paragraph iterators.
13129         (isMultiLingual): ditto
13130
13131         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13132
13133 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13134
13135         * FontLoader.C: Support for cmr font.
13136
13137 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13138
13139         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13140         (available): New method.
13141
13142         * FontInfo.C (getFontname): Use scalable fonts even when
13143         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13144         found.
13145
13146 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * converter.C (Formats::view): reverted! Incorrect fix.
13149
13150 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * converter.C (Formats::view): only output the -paper option
13153         if the dvi viewer is xdvi, thereby fixing bug #233429.
13154
13155 2001-08-23  Herbert Voss  <voss@perce>
13156
13157         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13158
13159 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * Spacing.h (Spacing): Set space to Default on in the default
13162         constructor.
13163
13164 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * vc-backend.h (RCS::versionString): add RCS to version
13167         (CVS::versionString): add CVS to version
13168
13169         * vc-backend.C (scanMaster): do not add CVS to version.
13170         (scanMaster): do not add RCS to version
13171
13172         * lyxvc.C (versionString): new method
13173
13174         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13175
13176 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * Spacing.C (set): initialize fval
13179
13180 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13183         " or \.
13184
13185 2001-08-16  Juergen Vigna  <jug@sad.it>
13186
13187         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13188
13189 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * BufferView_pimpl.C:
13192         * figureForm.C:
13193         * lyxtext.h:
13194         * text2.C: setParagraph takes linespacing now
13195
13196 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * LyxAction.C: add internal LFUN_CITATION_INSERT
13199
13200         * LyXView.C: actually apply fix
13201
13202         * bufferlist.C: fix open non-existent file
13203
13204         * lyxfind.C: fix indentation
13205
13206         * lyxfunc.C: remove unneeded assert, fix typo
13207
13208 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * MenuBackend.C: use "Floatname List"
13211
13212 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13213
13214         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13215         when converting LaTeX layout to insetERT.
13216         Generate a non-collapsed float when reading old float
13217
13218 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13221         ERT insets.
13222
13223 2001-08-13  Juergen Vigna  <jug@sad.it>
13224
13225         * text.C (fill): return 0 instead of 20 as this seems to be the more
13226         correct value.
13227
13228 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13231         lyxrc.font_norm.
13232
13233 2001-08-13  Juergen Vigna  <jug@sad.it>
13234
13235         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13236         casesensitive off.
13237         (SearchBackward): comment out the unlocking of the inset_owner this
13238         should not be needed!
13239
13240 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13241
13242         * Many files: Remove inherit_language, and add latex_language
13243
13244         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13245         collapsible insets.
13246
13247 2001-08-10  Juergen Vigna  <jug@sad.it>
13248
13249         * text.C (prepareToPrint): fixed hfill-width in draw!
13250
13251         * BufferView2.C (selectLastWord): save the selection cursor as this
13252         now is cleared in the function LyXText::clearSelection!
13253
13254 2001-08-08  Juergen Vigna  <jug@sad.it>
13255
13256         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13257         BACKSPACE type functions.
13258
13259         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13260         is only cutted from the document but not put in the cut-buffer, where
13261         still the old stuff should be.
13262
13263         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13264
13265         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13266
13267         * tabular.C (SetWidthOfCell): fixed special case where the width
13268         was not updated!
13269         (LeftLine): handle '|' in align_special.
13270         (RightLine): ditto
13271         (LeftAlreadyDrawed): ditto
13272         (SetWidthOfCell): ditto
13273
13274 2001-08-07  Juergen Vigna  <jug@sad.it>
13275
13276         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13277
13278 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13281         * lyxlex.[hC]: ditto
13282
13283 2001-08-06  Juergen Vigna  <jug@sad.it>
13284
13285         * text.C (getVisibleRow): fix up row clearing a bit.
13286
13287 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * minibuffer.C: make sure the X server sees the changes in the input.
13290
13291 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * paragraph.C (getFont): split into...
13294         (getLabelFont): this
13295         (getLayoutFont): and this
13296         * paragraph_pimpl.C (realizeFont): calling this
13297
13298         * text2.C (getFont): split into...
13299         (getLayoutFont): this
13300         (getLabelFont): and this
13301         (realizeFont): all three calling this
13302
13303         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13304         files where used.
13305
13306 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13307
13308         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13309
13310 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13311
13312         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13313         layouts from the Quote inset insertion.
13314
13315 2001-08-03  Juergen Vigna  <jug@sad.it>
13316
13317         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13318
13319         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13320         only if status not is already CHANGED_IN_DRAW (second level).
13321
13322         * text.C (draw): don't set the need_break_row when inside an
13323         InsetText LyXText.
13324
13325 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * buffer.C (parseSingleLyXformat2Token): handle more latex
13328         conversion cases.
13329
13330         * bufferview_funcs.[hC]: change function names to
13331         begin with small char, adjust other files.
13332
13333 2001-08-02  André Pönitz <poenitz@gmx.net>
13334
13335         * lyxfunc.C:
13336         BufferView_pimpl.C: remove broken special code for math-greek
13337
13338 2001-08-02  Juergen Vigna  <jug@sad.it>
13339
13340         * BufferView_pimpl.C (update): redone this function so that we
13341         update the text again if there was a CHANGE_IN_DRAW.
13342
13343         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13344         (drawFromTo): added a new internal bool which is used by draw() and
13345         redraw() function.
13346         (general): some cursor drawing problems fixed.
13347
13348 2001-08-01  Juergen Vigna  <jug@sad.it>
13349
13350         * lyxfind.C (LyXFind): fixed
13351         (SearchForward): ditto
13352         (SearchBackward): ditto
13353
13354         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13355         spurius drawing of the cursor in the main area.
13356
13357         * text2.C (status): small fix which could lead to a segfault!
13358         (clearSelection): remove unneeded BufferView param.
13359
13360 2001-08-01  André Pönitz <poenitz@gmx.net>
13361
13362         * lyxfunc.C: small change due to changed mathed interface
13363
13364 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13365
13366         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13367
13368 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13369
13370         * lyxfunc.c: fail gracefully if file doesn't exist
13371
13372         * LyXSendto.C:
13373         * buffer.C:
13374         * lyxfunc.C:
13375         * BufferView_pimpl.C: IsDirWriteable() proto changed
13376
13377         * LyXView.C: fix updateWindowTitle() to store the last title
13378
13379 2001-07-31  Juergen Vigna  <jug@sad.it>
13380
13381         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13382         the font (wrong since using of Paragraph::highestFontInRange).
13383
13384         * paragraph.C (highestFontInRange): added a default_size parameter.
13385
13386         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13387         (setHeightOfRow): reformat
13388
13389 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * converter.[hC] + affected files: move to (inital-char)lowercase
13392         function names.
13393
13394         * ParagraphParameters.C (ParagraphParameters): remove commented code
13395
13396         * PainterBase.[Ch]: remove commented code
13397
13398         * LaTeXFeatures.h: add "bool floats" for float.sty
13399
13400         * LaTeXFeatures.C (LaTeXFeatures): init floats
13401         (require): handle float
13402         (getPackages): do it with floats
13403
13404 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * BufferView_pimpl.C (Dispatch): improve handling of
13407         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13408
13409         * commandtags.h: #include lyxfont.h here temporarily to avoid
13410         keybinding bug.
13411
13412         * bufferlist.h: include LString.h here.
13413
13414 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * text2.C (getStringToIndex): new method.
13417
13418 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13419
13420         * *: Reduced header file dependencies all over.
13421
13422 2001-07-30  Baruch Even  <baruch@lyx.org>
13423
13424         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13425
13426 2001-07-29  Baruch Even  <baruch@lyx.org>
13427
13428         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13429
13430 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * ParameterStruct.h (endif): add a default constructor to make
13433         sure that all variables is initialized.
13434
13435         * ParagraphParameters.C (ParagraphParameters): adjust
13436
13437 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13440         index; also, check that there is something to index, and that it
13441         does not span over several paragraphs.
13442         (doubleClick): use WHOLE_WORD_STRICT for double click.
13443
13444         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13445
13446         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13447         scheme.
13448
13449 2001-07-26  Baruch Even  <baruch@lyx.org>
13450
13451         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13452         an InsetFig figure, backwards compatible reading of old figure code.
13453
13454 2001-07-27  Juergen Vigna  <jug@sad.it>
13455
13456         * text2.C: font.realize function adaption.
13457
13458         * text.C (draw): add a warnings lyxerr text if needed.
13459
13460         * layout.C: font.realize function adaption.
13461
13462         * language.C: add inherit_language and implement it's handlings
13463
13464         * bufferview_funcs.C (StyleReset): remove language parameter from
13465         font creation (should be language_inherit now).
13466
13467         * bufferparams.C (writeFile): handle ignore_language.
13468
13469         * paragraph.C (getFontSettings): the language has to be resolved
13470         otherwise we have problems in LyXFont!
13471
13472         * lyxfont.C (lyxWriteChanges): added document_language parameter
13473         (update): removed unneeded language parameter
13474
13475         * paragraph.C (validate): fixed wrong output of color-package when
13476         using interface colors for certain fonts in certain environments,
13477         which should not seen as that on the final output.
13478
13479 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * BufferView_pimpl.C:
13482         * Thesaurus.h:
13483         * Thesaurus.C:
13484         * Makefile.am:
13485         * commandtags.h:
13486         * LyXAction.C: add thesaurus support
13487
13488         * lyxfind.h:
13489         * lyxfind.C: add "once" parameter, for thesaurus, to not
13490           move to the next match
13491
13492 2001-07-26  Juergen Vigna  <jug@sad.it>
13493
13494         * lyxfont.C (realize): honor ignore_language too!
13495         (resolved): ditto.
13496
13497         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13498
13499         * text.C (draw): one place more for ignore_language to not draw
13500         itself!
13501
13502 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13503
13504         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13505
13506 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13509         the minipage conversion problem.
13510
13511 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13514         insert an inset.
13515
13516 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * BufferView.h: don't forward declare WorkArea
13519
13520         * BufferView.C: don't include WorkArea.h
13521
13522 2001-07-25  André Pönitz <poenitz@gmx.net>
13523
13524         * commandtags.h:
13525         * LyXAction.C:
13526         * lyxfunc.C:  new LFUN 'math-space'
13527
13528         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13529
13530 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * text2.C (toggleInset): call open/close
13533
13534 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * lyxfunc.C (dispatch): add debug for the disabled case
13537
13538         * font.C (buttonText): make similar to rectText
13539
13540         * buffer.C (readInset): comment out parsing of insetlist and
13541         insttheorem
13542
13543         * PainterBase.C (rectText): small correction
13544
13545         * BufferView_pimpl.C: comment out insettheorem and insetlist
13546         * LyXAction.C: ditto
13547         * commandtags.h: ditto
13548
13549 2001-07-24  Juergen Vigna  <jug@sad.it>
13550
13551         * text.C (draw): honor the ignore_language.
13552
13553         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13554
13555 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13558         char inset.
13559
13560 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13561
13562         * lyxtext.h: remove unused (and unimplemented) methods
13563
13564 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13565
13566         * text.C (getVisibleRow): honor background color
13567
13568         * PainterBase.h:
13569         * Painter.h: remove default color argument for fillRectangle
13570
13571         * text.C (backgroundColor): new method
13572
13573 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * text.C (getVisibleRow): adjust
13576
13577         * font.[Ch] (rectText): new method, metrics
13578         (buttonText): new method, metrics
13579
13580         * PainterBase.[hC]: make rectText and buttonText always draw and take
13581         fewer paramteres.
13582
13583 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13584
13585         * ToolbarDefaults.C (read):
13586         * MenuBackend.C (read): allow escaping in all strings
13587
13588         * BufferView_pimpl.C (insertAndEditInset): new method.
13589         (Dispatch): use insertAndEditInset whenever appropriate.
13590
13591         * BufferView_pimpl.C (insertNote): removed
13592
13593         * BufferView_pimpl.C (smartQuote): new method, moved from
13594         BufferView; if an insetquote cannot be inserted, insert a '"'
13595         character instead.
13596
13597         * BufferView2.C: remove insertCorrectQuote();
13598
13599         * lyxfunc.C (getStatus): Add support for all remaingin
13600         inset-insert lfuns.
13601
13602         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13603
13604         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13605         command (necessary to pass " as parameter of self-insert.
13606
13607         * text.C (selectWordWhenUnderCursor):
13608         (selectWord): add word_location parameter
13609         (selectWordWhenUnderCursor): same + remove special code for word
13610         boundary.
13611         (selectNextWord): use kind() to guess type of insetspecialchar,
13612         not latex().
13613
13614         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13615         (insertErtContents): create ert insets as collapsed.
13616         (readInset): better compatibility code for Info inset.
13617
13618 2001-07-20  Juergen Vigna  <jug@sad.it>
13619
13620         * lyxfunc.C (dispatch): use always LyXFind now!
13621
13622         * text2.C (init): add a reinit flag so that the LyXText can be
13623         reinited instead of deleted and reallocated (used in InsetText).
13624
13625         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13626
13627         * text.C: ditto
13628
13629         * text2.C: ditto
13630
13631 2001-07-18  Juergen Vigna  <jug@sad.it>
13632
13633         * text.C (selectNextWord): handle insets inside inset by calling
13634         always the bv->text functions so that we can go up the_locking_inset!
13635
13636         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13637         in strange locations when inside an inset!
13638
13639         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13640         handling to include insets.
13641
13642         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13643
13644 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13645
13646         * LyXAction.C (init):
13647         * commandtags.h:
13648         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13649         LIGATURE_BREAK, since the name is so stupid.
13650
13651 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13654         InsetInfos.
13655
13656         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13657
13658         * sp_form.[Ch]: remove.
13659
13660         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13661
13662         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13663         InsetInfo.
13664
13665         * src/buffer.C (readInset): ditto.
13666
13667 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13668
13669         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13670         menuSeparator(), endOfSentenceDot(), ldots() and
13671         hyphenationPoint(), which are therefore removed.
13672         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13673
13674         * LyXAction.C (init):
13675         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13676
13677         * paragraph.C (getWord): removed.
13678
13679         * BufferView_pimpl.C (Dispatch): use last word or selection for
13680         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13681
13682         * lyx_main.C (queryUserLyXDir): do not ask before creating
13683         user_dir, except if it has been named explicitely.
13684
13685 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13688         a document of zero size.
13689
13690 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13693         approriately in the c-tor and in require().
13694         (getPackages): output the appropriate LaTeX for natbib support.
13695
13696         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13697         variables "use_natbib" and "use_numerical_citations" when reading the
13698         LyX file.
13699         (readInset): read the various natbib cite commands.
13700         (validate): white-space change.
13701
13702         * bufferparams.[Ch]: new variables "bool use_natbib" and
13703         "bool use_numerical_citations".
13704         (writeFile): output them in the LyX file.
13705
13706 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13707
13708         * lyxfunc.C (getStatus): add support for all the inset insertion
13709         commands.
13710
13711         * text2.C (insertInset):
13712         * paragraph.C (insetAllowed):
13713         * BufferView_pimpl.C (insertInset): update to take in account the
13714         renaming of insertInsetAllowed
13715
13716         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13717
13718         * text2.C (getInset): new method. returns inset at cursor position.
13719
13720         * BufferView_pimpl.C (Dispatch): changes because of this.
13721
13722         * LyXAction.C (init): rename open-stuff to inset-toggle.
13723
13724         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13725
13726         * text2.C (toggleInset): renamed from openStuff; use
13727         Inset::open().
13728
13729 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13730
13731         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13732
13733         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13734
13735 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * buffer.C (readLyXformat2): Add filename to the error dialog
13738
13739 2001-07-18  Juergen Vigna  <jug@sad.it>
13740
13741         * tabular.C (GetCellNumber): put an assert here instead of the check!
13742
13743 2001-07-17  Juergen Vigna  <jug@sad.it>
13744
13745         * BufferView_pimpl.C (toggleSelection): adapted too.
13746
13747         * text.C (selectNextWord): adapted for use with insets.
13748         (selectSelectedWord): ditto
13749
13750 2001-07-17  Juergen Vigna  <jug@sad.it>
13751
13752         * sp_spell.C (PSpell): fix initialitation order.
13753
13754 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * paragraph.C: spacing
13757
13758 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13759
13760         * sp_spell.C: repair language selection for pspell
13761
13762 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * lyxfunc.h: change more methods to begin with lower char.
13765
13766 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13767
13768         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13769         for unknown layouts.
13770
13771 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13772
13773         * buffer.C (readLyXformat2): Generate an error dialog if there are
13774         unknown layouts.
13775
13776 2001-07-16  Juergen Vigna  <jug@sad.it>
13777
13778         * sp_spell.C: always compile ISpell part.
13779
13780         * lyxrc.C: added use_pspell entry and it's handling.
13781
13782 2001-07-13  Juergen Vigna  <jug@sad.it>
13783
13784         * sp_spell.C: removed double includes.
13785
13786 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         Consistent use of Lsstream.h:
13789         * Lsstream.h: added using std::stringstream for consistencies sake.
13790
13791         * buffer.C: removed using std::stringstream
13792
13793         * lyxfont.C (stateText):
13794         * paragraph.C (asString):
13795         * text.C (selectNextWord, selectSelectedWord):
13796         * text2.C (setCounter):
13797         * vspace.C (asString, asLatexString):
13798         std::ostringstream -> ostringstream.
13799
13800 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13801
13802         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13803         * commandtags.h: add LFUN_HELP_ABOUTLYX
13804         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13805
13806 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13807
13808         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13809         cursorToggle()
13810         * lyx_gui_misc.C: remove spellchecker
13811         * lyxfunc.C: showSpellchecker
13812         * sp_base.h: added
13813         * sp_ispell.h: added
13814         * sp_pspell.h: added
13815         * sp_spell.C: added
13816         * sp_form.[Ch]: removed
13817         * spellchecker.[Ch]: removed
13818
13819 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13820
13821         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13822         is set.
13823         (simpleTeXSpecialChars): Simply print the input character without
13824         any special translation if pass_thru is set.
13825
13826         * layout.h: Added bool pass_thru to layout class for being able to
13827         implement pass through of a paragraph for Literate Programming.
13828
13829         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13830         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13831         * layout.C (Read): add "passthru" to list of layout tags and add
13832         code to set the pass_thru boolean when it is read.
13833
13834 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * trans_decl.h: remove allowed from KmodInfo
13837
13838         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13839         remove allowed code
13840         (Load): adjust
13841
13842         * paragraph_pimpl.C (erase): use boost::prior
13843
13844         * Painter.C (text): use data() instead of c_str() when length is
13845         also provided.
13846         * WorkArea.C (putClipboard): ditto
13847         * font.h (width): ditto
13848
13849         * BufferView2.C: use it-> instead of (*it). for iterators
13850         * texrow.C: ditto
13851         * paragraph_pimpl.C: ditto
13852         * paragraph.C: ditto
13853         * minibuffer.C: ditto
13854         * language.C: ditto
13855         * kbmap.C: ditto
13856         * encoding.C: ditto
13857         * counters.C: ditto
13858         * converter.C: ditto
13859         * chset.C: ditto
13860         * Variables.C: ditto
13861         * TextCache.C: ditto
13862         * MenuBackend.C: ditto
13863         * LyXAction.C: ditto
13864         * LColor.C: ditto
13865         * FloatList.C: ditto
13866         * DepTable.C: ditto
13867         * ColorHandler.C (LyXColorHandler): ditto
13868
13869 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13872
13873         * text2.C (openStuff): reintroduce this method (which had been
13874         nuked in NEW_INSETS frenzy).
13875
13876         * lyxfunc.C (Dispatch): when an action has not been handled, use
13877         its name in the error message, not its number.
13878
13879         * paragraph.C (inInset): change method name to begin with lowercase.
13880
13881         * undo_funcs.C:
13882         * text2.C: updates because of this.
13883
13884 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * ToolbarDefaults.C (add): add spaces in error message
13887
13888 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13891         (readLyXformat2): rename return_par to first_par, use lyxlex's
13892         pushToken and remove the manual push handling.
13893         (parseSingleLyXformat2Token): add another ert comp. variable:
13894         in_tabular, rename return_par to first_par. handle newlines better
13895
13896 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13899
13900 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * text2.C (getParFromID): removed
13903
13904         * buffer.C (getParFromID): new method moved form lyxtext.
13905         * BufferView2.C (insertErrors): adjust
13906         (setCursorFromRow): adjust
13907         * BufferView_pimpl.C (restorePosition): adjust
13908         * lyxfunc.C (Dispatch): adjust
13909         * undo_funcs.C (textUndo): adjust
13910         (textRedo): adjust
13911         (textHandleUndo): adjust
13912         (textHandleUndo): adjust
13913
13914 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13915
13916         * buffer.C: up' the LYX_FORMAT
13917
13918         * lyxfont.h: turn NO_LATEX on as default
13919
13920         * buffer.C (insertErtContents): new methods of tex style compability.
13921         (parseSingleLyXformat2Token): use it several places.
13922         * tabular.C (OldFormatRead): and here
13923
13924 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13925
13926         * text2.C: remove some commented code.
13927         reindent file.
13928
13929         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13930         * trans.C: changes because of the above.
13931
13932 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13933
13934         * text2.C (setCounter): Fix counters bug with bibliography layout.
13935
13936 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13939         own member functions
13940         (simpleTeXSpecialChars): ditto
13941
13942 2001-07-06  Juergen Vigna  <jug@sad.it>
13943
13944         * a lot of files: changed the access to LyXText::status and the
13945         call of undo-functions.
13946
13947         * undo.[Ch]: added a inset_id to the undo informations.
13948
13949         * undo_funcs.[Ch]: added and moved here all undo functions.
13950
13951         * lyxtext.h: give the status enum a weight, made status_ a private
13952         variable and made accessor functions for it, removed the whole bunch
13953         of undo-functions as they are now in their own file, make some
13954         functions publically available. Added function ownerParagraph with
13955         int parameter.
13956
13957         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13958         made InInset() a const function, added getParFromID() function.
13959
13960         * buffer.[Ch]: added const version for inset_iterator functions,
13961         added getInsetFromID() function.
13962
13963         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13964         changed undo functions for new version.
13965
13966 2001-07-05  Juergen Vigna  <jug@sad.it>
13967
13968         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13969         unknow mechanism does not call the proper constructor but only this
13970         one also if I request the other!?
13971
13972 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13975
13976         * text2.C (LyXText): use initialization lists.
13977
13978         * lyxtext.h (Selection): initialize set_ and mark_
13979         (init): remove method
13980
13981 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13984
13985 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * screen.[Ch]: change method names to begin with lowercase
13988
13989         * BufferView_pimpl.C (updateScrollbar): simplify further and
13990         hopefully make it a bit faster.
13991
13992 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13995         calling directly xforms functions.
13996
13997         * Painter.C (Painter):
13998         * lyx_cb.C (MenuWrite):
13999         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14000         fl_display.
14001
14002         * lyx_gui.C: remove bogus guiruntime extern declaration.
14003
14004 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14007         in NEW_INSETS
14008         (redoDrawingOfParagraph): ditto
14009         (redoParagraphs): ditto
14010         (cutSelection): don't create a object for CutAndPaste use the
14011         static method directly
14012         (pasteSelection): ditto
14013
14014         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14015         LyXview (+ rename)
14016
14017 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * modifications to some other files because of this.
14020
14021         * Makefile.am (lyx_SOURCES): add XFormsView
14022
14023         * XFormsView.[Ch]: new files
14024
14025         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14026         the main window. Move the gui dependent stuff to XFormsView
14027
14028 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * tabular.C (GetCellInset): update cur_cell also in the row/col
14031         version of this function.
14032
14033         * lyxfunc.C: no need to include figure_form.h here.
14034
14035         * FontLoader.h:
14036         * lyxfunc.h:
14037         * lyxscreen.h:
14038         * text2.C:
14039         * lyxvc.C: no need to include forms.h here.
14040
14041 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14042
14043         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14044
14045         * lyxfunc.C (Dispatch):
14046         * Spacing.C (set):
14047         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14048         constructor argument.
14049
14050 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * paragraph.C (Paragraph): dont't clear, and just set layout.
14053         (makeSameLayout): use params's copy contructor.
14054
14055         * ParagraphParameters.[Ch] (makeSame): delete method
14056
14057 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * Variables.[Ch]: fix indentation, rename set to isSet
14060
14061 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * lyxfunc.C (Dispatch): fix typo
14064
14065 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14066
14067         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14068         upper_bound.
14069
14070         * bufferlist.C: include assert.h for emergencyWrite().
14071
14072 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14075           give up at last (bug #425202) !
14076
14077 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * lyx_gui_misc.C:
14080         * sp_form.h:
14081         * sp_form.C:
14082         * spellchecker.h:
14083         * spellchecker.C: strip spellchecker options and bring up
14084           preferences tab instead
14085
14086 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14089         the istringstream constructor
14090
14091 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * paragraph.C (getLayout): fix return value
14094
14095         * paragraph.h: do not declare getLayout as inline.
14096
14097         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14098
14099 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * lyxcursor.h (operator<): new func
14102         (operator>): new func
14103         (operator>=): new func
14104         (operator<=): new func
14105
14106         * text.C (changeCase): use selection.start and selection.end
14107         (changeRegionCase): require from to be <= to. Require par to be a
14108         valid paragraph.
14109
14110         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14111
14112 2001-06-27  Juergen Vigna  <jug@sad.it>
14113
14114         * text.C (cursorLeftOneWord): changed to return the cursor and added
14115         overlay with BufferView * parameter which calls this one.
14116         (getWord): added
14117         (selectWord): use new getWord function.
14118         (changeCase): renamed from changeWordCase as and extended to work
14119         also on selections.
14120
14121         * lyxtext.h: added enum word_location
14122
14123         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14124         changeCase as this operates now also on selections.
14125
14126 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14127
14128         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14129
14130         * many files: send debug output to Debug::INFO instead of
14131         Debug::ANY.
14132
14133         * converter.C (View):
14134         (Convert):
14135         (Move): send debug output to Debug::FILES instead of console.
14136
14137 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14138
14139         * lyxfunc.C (getStatus): use func_status
14140
14141         * func_status.h: new header, describing the results of
14142         LyXFunc::getStatus;
14143
14144         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14145         LFUN_MATH_HALIGN.
14146
14147 2001-06-25  The LyX Project  <jug@sad.it>
14148
14149         * buffer.C (sgmlOpenTag):
14150         (sgmlCloseTag):
14151         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14152
14153 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14154
14155         * text2.C: remove some dead code
14156
14157         * tabular.C (GetCellInset): store the last cell checked (gotten)
14158
14159         * tabular.h: add the helper for the speedup
14160
14161         * lyxtext.h: remove some dead code
14162
14163 2001-06-26  The LyX Project  <Asger>
14164
14165         * paragraph.C: Change export to LaTeX of alignment to
14166         \begin{center} and family for better roundtrip work with reLyX.
14167
14168         * Tune the math drawing a bit.
14169
14170 2001-06-25  The LyX Project  <Asger>
14171
14172         * LColor.C (LColor): New color for math background. New color
14173         for buttons.
14174
14175 2001-06-25  The LyX Project  <jug@sad.it>
14176
14177         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14178
14179         * lyxfunc.C (Open):
14180         * bufferlist.C (newFile): do not restrict to files ending with
14181         .lyx
14182
14183         * BufferView_pimpl.C (MenuInsertLyXFile):
14184
14185 2001-06-24  The LyX Project  <jug@sad.it>
14186
14187         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14188         of compare_no_case
14189
14190 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * lyxtext.h: rename most methods to begin with a small char.
14193         Lots of changes because of this.
14194
14195         * paragraph.C (Paragraph): do not call fitToSize
14196         (erase): call Pimpl::erase
14197         (insertChar): call Pimpl::insertChar
14198         (insertInset): call Pipl::insertInset
14199         (breakParagraph): do not call fitToSize
14200         (breakParagraphConservative): do not call fitToSize
14201         (fitToSize): remove method
14202
14203         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14204
14205 2001-06-24  The LyX Project  <Asger>
14206
14207         * Fix Qt compilation^2
14208
14209 2001-06-24  The LyX Project  <jug@sad.it>
14210
14211         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14212         depthHook(getDepth()-1).
14213
14214         * paragraph.h:
14215         * ParagraphParameters.h:
14216         * ParameterStruct.h: change type of depth to unsigned int ==
14217         depth_type. Many adaptations to other files before of that.
14218
14219 2001-06-24  The LyX Project  <Asger>
14220
14221         * Fix Qt compilation.
14222
14223 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14224
14225         * paragraph.h: renamed several methods to begin with small letter.
14226         several changes to many parts of the code because of this.
14227
14228 2001-06-23  The LyX Project  <jug@sad.it>
14229
14230         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14231         rewritten to discard all double spaces when KeepEmpty is off
14232         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14233         to only handle newlines but not fiddle with spaces and friends.
14234
14235         * lyxfunc.C (MenuNew): when doing 'new from template', use
14236         template_path as default directory
14237
14238 2001-06-23  The LyX Project  <Asger>
14239
14240         * Clean-up of header file includes all over
14241         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14242
14243 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * paragraph.h: renamed from lyxparagraph.h
14246
14247 2001-06-23  Asger  <lyx@violet.home.sad.it>
14248
14249         * Buffer.h: Removed Buffer::resize
14250         * BufferList.h: Removed BufferList::resize
14251         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14252         the document lazily when we change the width, or the font settings.
14253
14254 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14257
14258 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14259
14260         * buffer.h: remove out of date comment
14261
14262 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14263
14264         * lyxscreen.h:
14265         * screen.C: fix "theoretical" GC leak
14266
14267 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * LaTeX.C (scanAuxFile):
14270         (deplog): remove trailing \r when reading stream (useful under
14271         win32)
14272
14273 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14274
14275         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14276         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14277         and BufferView::theLockingInset(Inset*), so should use them and not
14278         access bv_->text->the_locking_inset directly.
14279
14280         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14281
14282 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * Makefile.am:
14285         * tex-defs.h: remove old unused file
14286
14287 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * BufferView_pimpl.C: fix typo, remove minibuffer message
14290           when buffer has loaded
14291
14292 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * lyxfunc.C (Dispatch): use stringstream
14295         (MenuNew): use stringstream
14296         (Open): use stringstream
14297
14298         * importer.C (Import): use stringstream
14299
14300         * bufferview_funcs.C (CurrentState): use stringstream
14301
14302         * LaTeX.C (run): use stringstream
14303
14304         * BufferView_pimpl.C (savePosition): use stringstream
14305         (restorePosition): use stringstream
14306         (MenuInsertLyXFile): use stringstream
14307
14308 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * BufferView.C:
14311         * Bullet.C:
14312         * ColorHandler.C:
14313         * FontInfo.C:
14314         * FontLoader.C:
14315         * LColor.C:
14316         * LaTeXFeatures.C:
14317         * Painter.C:
14318         * gettext.C:
14319         * lyx_gui_misc.C:
14320         * lyxserver.C:
14321         * vspace.C: removed // -*- C++ -*- as first line.
14322
14323         * lyxfind.h:
14324         * version.h: added // -*- C++ -*- as first line.
14325
14326 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14329
14330         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14331         of string
14332
14333 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14334
14335         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14336         of floats.
14337
14338 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14339
14340         * gettext.C: include LString.h even when --disable-nls is on.
14341
14342 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * converter.h (Get): changed argument type from int to
14345         FormatList::size_type to avoid unnecessary conversion.
14346
14347         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14348         before using it.
14349
14350 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * gettext.h: include LString.h even when --disable-nls is on.
14353
14354 2001-06-07  Juergen Vigna  <jug@sad.it>
14355
14356         * text.C (BreakAgain): subst spaces with tabs.
14357
14358         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14359         (resizeInsetsLyXText): set force on resizeLyXText.
14360
14361 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * gettext.h (gettext_init):
14364         (locale_init): use a real definition instead of a macro
14365
14366 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * Bufferview_pimpl.C:
14369         * LColor.h:
14370         * LColor.C: further lcolor tidies
14371
14372 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * BufferView_pimpl.C (updateScrollbar): simplify.
14375
14376         * BufferView2.C: don't include insets/insetinfo.h, change
14377         prototype for insertInset and call the Pimpl version. let
14378         updateInset call Pimpl version.
14379
14380         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14381         gotoInset to BufferView::Pimpl
14382
14383 2001-06-01  Juergen Vigna  <jug@sad.it>
14384
14385         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14386         inside a LockingInset (is the update needed at all?).
14387
14388 2001-05-31  Juergen Vigna  <jug@sad.it>
14389
14390         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14391         here not the old one otherwise how should we compare it afterwards
14392         if it's the same!
14393
14394 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * lyxfont.C:
14397         * tabular.C:
14398         * tabular-old.C:
14399         * FontInfo.C: bring C functions into global namespace when
14400         necessary
14401
14402 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * LString.h: make sure config.h has been loaded before LString.h.
14405
14406         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14407         (one for each char read by EatLine!).
14408
14409         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14410         variables.
14411
14412 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14415         to the same as the par we break from
14416
14417 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14418
14419         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14420
14421         * MenuBackend.C (expand): also create menu entries for wide
14422         versions of the floats.
14423
14424         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14425
14426         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14427
14428         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14429         frontends/Makefile.am
14430
14431         * text2.C: adjust
14432         * text.C: adjust
14433
14434
14435         * tabular.C (getTokenValue): add std::
14436
14437         * tabular-old.C (getTokenValue): add std::
14438         (getTokenValue): ditto
14439         (getTokenValue): ditto
14440
14441         * screen.C (ToggleSelection): adjust
14442
14443         * lyxtext.h: put selection cursors inside a Selection struct.
14444
14445         * lyxfunc.C (moveCursorUpdate): adjust
14446
14447         * lyxfont.C (latexWriteStartChanges): add std::
14448
14449         * lyxfind.C: adjust
14450
14451         * font.h: delete with(char const *, LyXFont const &)
14452
14453         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14454
14455         * FontInfo.C (getFontname): add std::
14456
14457         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14458         (workAreaButtonPress): adjust
14459         (tripleClick): adjust
14460         (update): adjust
14461         (moveCursorUpdate): adjust
14462         (Dispatch): adjust
14463
14464         * BufferView2.C (gotoInset): adjust
14465
14466 2001-05-30  Juergen Vigna  <jug@sad.it>
14467
14468         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14469         to check pspell I add this as default as I now have new pspell
14470         libraries and they seem to use this.
14471
14472 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * text2.C (CutSelection): make the cursor valid before the call to
14475         ClearSelection.
14476
14477 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14478
14479         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14480         relied on 0 terminated strings and other horrors. Bug found due to
14481         the new assert in lyxstring!
14482
14483         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14484         KP_ keys.
14485
14486 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14489         to latinkeys.bind.
14490
14491         * lyxfunc.C (processKeySym): change method of getting to the
14492         self-insert char.
14493
14494         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14495         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14496         * BufferView_pimpl.[Ch]: here as private methods.
14497
14498 2001-05-28  Juergen Vigna  <jug@sad.it>
14499
14500         * text.C (SetHeightOfRow): added the update() call again as it is
14501         needed to initialize inset dimensions!
14502
14503 2001-05-16  Juergen Vigna  <jug@sad.it>
14504
14505         * text2.C (SetCharFont): Add new function with BufferView * and
14506         bool toggleall parameters for setting insets internal fonts.
14507         (SetFont): Freeze the undo as we may change fonts in Insets and
14508         all this change should be inside only one Undo!
14509
14510         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14511         setting font's in insets as for them we have the SetFont function!
14512
14513 2001-05-15  Juergen Vigna  <jug@sad.it>
14514
14515         * text2.C (ClearSelection): to be sure we REALLY don't have any
14516         selection anymore!
14517
14518         * tabular.C (TeXCellPreamble): fixed the left border problem for
14519         multicolumn cells.
14520
14521 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14524         dependancy file
14525
14526 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14527
14528         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14529         LFUN_BREAKPARAGRAPH.
14530
14531         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14532         help test to "internal only", similar for LFUN_INSERT_URL
14533
14534         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14535         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14536         auto_region_delete and deadkeys.
14537
14538 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * LColor.h:
14541         * LColor.C: remove some dead entries, tidy a little
14542
14543 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14544
14545         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14546         commented code.
14547         (Dispatch): implement LFUN_ESCAPE
14548
14549         * commandtags.h: add LFUN_ESCAPE
14550
14551         * LyXAction.C (init): add entry for LFUN_ESCAPE
14552
14553         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14554         Remove commented code.
14555         (insertNote): moved here
14556         (open_new_inset): moved here
14557
14558         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14559         BufferView_pimpl
14560
14561 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * kbmap.C (findbinding): clean it up and make it work correctly.
14564
14565         * lyx_main.C (init): do not pass argc and argv as parameters
14566
14567 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14568
14569         * buffer.C: fix path for OS/2 & Win32
14570
14571         * lyx_gui.C:
14572         * lyx_main:
14573         * lyx_main.C: Added os:: class.
14574
14575         * os2_defines.h: update
14576
14577 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14578
14579         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14580         better by trying again with reduced state.
14581
14582 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14583
14584         * lyxrc.C (read): print error about invalid key sequence only when
14585         debugging (because not all latinX keysyms are known to some X
14586         servers)
14587
14588         * kbsequence.C (getiso): add a few std:: qualifiers
14589         (getiso): comment out extra return statement.
14590
14591 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14592
14593         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14594         handling.
14595         (Dispatch): enhance the accent inset a bit. (not perfect)
14596
14597 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14600
14601 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14602
14603         * bufferlist.C (emergencyWrite): fix assert() call
14604
14605 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14606
14607         * text.C (InsertChar): Added trivial patch to only send the "you
14608         can not do multiple spaces this way" message once during a
14609         session.
14610
14611 2001-05-08  Baruch Even  <baruch@lyx.org>
14612
14613         * Makefile.am: Changed order of libraries to get LyX to link properly
14614         with the gnome frontend.
14615
14616 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * LaTeXFeatures.h: add a std:: qualifier
14619
14620 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14621
14622         * paragraph.C (String): use stringstream
14623
14624 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14625
14626         * paragraph.C (writeFile): remove footflag arg
14627
14628         * buffer.C (makeLaTeXFile): use stringstream
14629         (latexParagraphs): remove footnot gurba
14630
14631         * LaTeXFeatures.C (getPackages): use stringstream
14632         (getMacros): likewise
14633         (getTClassPreamble): likewise
14634         (getFloatDefinitions): new method
14635
14636         * paragraph.C (writeFile): reindent
14637         (Erase): reindent
14638
14639         * WorkArea.h: revert the xpos + etc changes.
14640
14641         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14642
14643         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14644
14645         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14646         (pasteSelection): likewise
14647         * text2.C (CreateUndo): likewise
14648
14649 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * minibuffer.C (peek_event): temporarily reduce the functionality
14652         of the minibuffer (to allow args on lfuns)
14653
14654         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14655         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14656
14657         * buffer.C (readInset): add compability reading of old float
14658         lists, add reading of new style float list.
14659         (readInset): avoid reevaluation of inscmd.getCmdName()
14660         (getLists): reindent
14661
14662         * MenuBackend.C (MenuItem): implement parsing of
14663         md_floatlistinsert and md_floatinsert.
14664         (expand::LastFiles): move initalizaton of iterators out of loop,
14665         avoid reevaluation.
14666         (expand::Documents): introduce typdedef vector<string> Strings,
14667         and use it.
14668         (expand::ExportFormats): introduce typedef vector<Format const *>
14669         Formats, and use it.
14670         (expand): implement FloatListInsert and FloatInsert.
14671
14672         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14673         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14674         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14675
14676         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14677         handling.
14678         (Dispatch::LFUN_FLOAT_LIST): implement
14679
14680 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14681
14682         * LaTeX.C (run): Fix problem with --export code.
14683
14684 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14685
14686         * BufferView.[Ch] (workarea): removed.
14687         (getClipboard) new method; wrapper for workarea()->getClipboard()
14688
14689         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14690         bug.
14691
14692         * WorkArea.h (width, height, xpos, ypos): These methods all
14693         returned the dimensions of the work_area sub-area of WorkArea,
14694         resulting in a position error if the WorkArea were resized. Now
14695         return the dimensions of the entire WorkArea.
14696
14697         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14698
14699 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * LaTeX.C (deplog): correct the syntax of regex reg1
14702
14703 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * undo.C: remove !NEW_INSETS cruft
14706
14707 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14708
14709         * text2.C: remove !NEW_INSETS cruft
14710
14711         * text.C: remove !NEW_INSETS cruft
14712
14713         * tabular.C: remove !NEW_INSETS cruft
14714
14715         * spellchecker.C: remove !NEW_INSETS cruft
14716
14717         * lyxtext.h: remove !NEW_INSETS cruft
14718
14719         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14720
14721         * lyxfunc.C: remove !NEW_INSETS cruft
14722
14723         * lyxfind.C: remove !NEW_INSETS cruft
14724
14725         * lyx_cb.C: remove !NEW_INSETS cruft
14726
14727         * figureForm.C: remove  !NEW_INSETS cruft
14728
14729         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14730
14731         * buffer.[Ch]: remove !NEW_INSETS cruft
14732
14733         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14734
14735         * CutAndPaste.C: remove !NEW_INSETS cruft
14736
14737         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14738
14739         * BufferView2.C: remove !NEW_INSETS cruft
14740
14741         * BufferView.h: remove !NEW_INSETS cruft
14742
14743 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * Lsstream.h: include LString.h before the sstream headers to
14746         fix problem with gcc 2.95.3 and lyxstring
14747
14748 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * lyx_main.C: add using directives when needed for C functions
14751         declared in std:: namespace.
14752
14753 2001-04-27  Juergen Vigna  <jug@sad.it>
14754
14755         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14756         (SetHeightOfRow): comment out the update call should not be needed!
14757
14758 2001-04-13  Juergen Vigna  <jug@sad.it>
14759
14760         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14761         (LyXTabular): tried to minimize operator= operations (and realized
14762         hopfully Lars wish).
14763
14764 2001-04-27  Juergen Vigna  <jug@sad.it>
14765
14766         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14767
14768 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14771
14772         * buffer.C (readInset): hack to make listof algorithm work
14773
14774         * BufferView_pimpl.C: hack to make listof algorithm work
14775
14776 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * LyXAction.C: removed all !NEW_INSETS cruft
14779         (init): moved lfun_item in method
14780
14781         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14782
14783 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14784
14785         * BufferView2.C (theLockingInset): white space.
14786
14787 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14788
14789         * minibuffer.C: include <iostream>
14790
14791         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14792
14793         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14794
14795         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14796
14797         * text.[Ch] (TransposeChars): new method
14798
14799 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * call message directly through LyXView instead of through LyXFunc
14802         * BufferView2.C: adjust
14803         * BufferView_pimpl.C: adjust
14804         * FontLoader.C: adjust
14805         * buffer.C: adjust
14806         * bufferview_funcs.C: adjust
14807         * converter.C: adjust
14808         * figureForm.C: adjust
14809         * importer.C: adjust
14810         * lyx_cb.C: adjust
14811         * lyx_gui_misc.C: adjust
14812         * lyxfunc.C: adjust
14813         * lyxvc.C: adjust
14814         * text2.C: adjust
14815         + more files in subdirs
14816
14817         * lyxparagraph.h (size): move up int file
14818         (GetLayout): ditto
14819
14820         * adjust all uses of Assert to lyx::Assert.
14821
14822         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14823         lyxfunctional in namespace lyx
14824         * layout.C (hasLayout): ditto
14825         (GetLayout): ditto
14826         (GetLayout): ditto
14827         (delete_layout): ditto
14828         (NumberOfClass): ditto
14829         * converter.C (GetFormat): ditto
14830         (GetNumber): ditto
14831         (Add): ditto
14832         (Delete): ditto
14833         (SetViewer): ditto
14834         * bufferlist.C (getFileNames): ditto
14835         (emergencyWriteAll): ditto
14836         (exists): ditto
14837         (getBuffer): ditto
14838         * MenuBackend.C (hasSubmenu): ditto
14839         (hasMenu): ditto
14840         (getMenu): ditto
14841         * BufferView_pimpl.C (getInsetByCode): ditto
14842
14843 2001-04-18  Juergen Vigna  <jug@sad.it>
14844
14845         * vspace.C (asLatexString): fixed the 100% problem.
14846
14847 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * lyxfunc.C (Dispatch):
14850         * minibuffer.C:
14851         * minibuffer.h: add a few std:: qualifiers
14852
14853 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * minibuffer.[Ch]: reimplement so that commands is initiated and
14856         run from lyxfunc, simplified som handling, and made the completion
14857         and history code for complete. wip.
14858
14859         * lyxfunc.C (processKeySym): call message
14860         (miniDispatch): new temporary method
14861         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14862         (LFUN_MESSAGE): implement
14863         (LFUN_MESSAGE_PUSH): implement
14864         (LFUN_MESSAGE_POP): implement
14865         (initMiniBuffer): the initial/defualt minibuffer message.
14866
14867         * lyxfont.[Ch]: inline some more getters
14868
14869         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14870
14871         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14872
14873         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14874         (AutoSave): use LFUN_MESSAGE
14875         (Reconfigure): ditto
14876
14877         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14878
14879         * figureForm.C: use LFUN_MESSAGE
14880
14881         * converter.C (runLaTeX): use LFUN_MESSAGE
14882
14883         * bufferview_funcs.C: use LFUN_MESSAGE
14884         (Melt): ditto
14885         (changeDepth): ditto
14886
14887         * bufferparams.h: use boost::
14888
14889         * bufferlist.h: inherit privately from noncopyable
14890
14891         * bufferlist.C (loadLyXFile): remove some commented code.
14892
14893         * buffer.C (runChktex): use LFUN_MESSAGE
14894
14895         * ShareContainer.h: inherit privately from noncopyable
14896
14897         * ParagraphParameters.[hC] (depth): inline it.
14898
14899         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14900         methods.
14901         (message): new method
14902         (messagePush): ditto
14903         (messagePop): ditto
14904         (show): init minibuffer
14905         (showState): direct call
14906
14907         * LaTeX.[Ch]: inherit privately from noncopyable
14908         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14909         instead of WriteStatus.
14910
14911         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14912
14913         * BufferView_pimpl.C (buffer): don't init minibuffer
14914         (workAreaButtonPress): use LFUN_MESSAGE
14915         (workAreaButtonRelease): ditto
14916         (savePosition): ditto
14917         (restorePosition): ditto
14918         (MenuInsertLyXFile): ditto
14919         (workAreaExpose): don't init minibuffer
14920         (update): remove commented code, simplify
14921
14922         * BufferView2.C (openStuff): use LFUN_MESSAGE
14923         (toggleFloat): ditto
14924         (menuUndo): ditto
14925         (menuRedo): ditto
14926         (copyEnvironment): ditto
14927         (pasteEnvironment): ditto
14928         (copy): ditto
14929         (cut): ditto
14930         (paste): ditto
14931         (gotoInset): ditto
14932         (updateInset): remove some commented code
14933
14934         * lastfiles.h: inherit privately from noncopyable
14935         * layout.h: ditto
14936         * lyx_gui.h: ditto
14937         * lyx_main.h: ditto
14938         * lyxlex.h: ditto
14939         * lyxlex_pimpl.h: ditto
14940
14941         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14942         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14943         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14944
14945         * LyXAction.h: inherit privately from noncopyable, add methods
14946         func_begin, func_end, returning iterators to the func map.
14947
14948         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14949         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14950         (func_begin): new method
14951         (func_end): new method
14952
14953         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14954         and not)
14955         (copySelection): ditto
14956         (pasteSelection): ditto
14957
14958         * BufferView.C: whitespace change
14959         * BufferView.h: inherit privately from noncopyable
14960
14961 2001-04-16  Allan Rae  <rae@lyx.org>
14962
14963         * tabular-old.C (l_getline):
14964         * spellchecker.C (sc_check_word):
14965         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14966         an unrecognised preprocessor directive.  So ensure they're wrapped.
14967
14968 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * src/exporter.C (Export): Give an error message when path to file
14971         contains spaces.
14972
14973 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14974
14975         * LaTeX.C (deplog): Always check that foundfile exists.
14976
14977 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * lyx_main.h:
14980         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14981
14982 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * tabular.[Ch] (getLabelList): implement new method
14985
14986         * minibuffer.h: comment ouf setTiimer
14987
14988         * minibuffer.C (ExecutingCB): constify res
14989         (peek_event): constify s
14990         (Set): constify ntext
14991         (Init): constify nicename
14992
14993         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14994
14995         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14996         (savePosition): use two params to Minibuffer::Set
14997         (restorePosition): ditto
14998
14999 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15000
15001         * lyx_main.C: include language.h
15002
15003         * Makefile.am (lyx_main.o): add language.h
15004
15005 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * exporter.C:
15008         * paragraph.C:
15009         * screen.C:
15010         * tabular.C:
15011         * CutAndPaste.C: include gettext.h
15012
15013         * lyxfont.h: remove old hack with ON and OFF.
15014
15015         * lyxparagraph.h:
15016         * lyxfont.h: do not include language.h...
15017
15018         * BufferView2.C:
15019         * LaTeXFeatures.C:
15020         * Painter.C:
15021         * bufferview_funcs.C:
15022         * font.C:
15023         * lyxfont.C:
15024         * text.C:
15025         * text2.C:
15026         * trans_mgr.C:
15027         * paragraph.C: ... but do it here instead
15028
15029 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15030
15031         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15032
15033         * tabular.C: small reformat
15034
15035         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15036         NEW_INSETS version
15037         (GetChar): ditto
15038         (BreakParagraph): ditto
15039         (SetOnlyLayout): ditto
15040         (SetLayout): ditto
15041
15042         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15043         with one arg less.
15044
15045         * lastfiles.C: removed most using decl, add std:: where needed
15046
15047         * buffer.C: ws changes
15048
15049         * MenuBackend.C (class compare_format): put into anon namespace
15050         (expand): constify label, names, action, action2
15051         (expand):
15052
15053         * text.C (SingleWidth): constify font
15054         (IsBoundary): constify rtl2
15055         (GetVisibleRow): constify ww
15056
15057         * LaTeX.C (deplog): constify logfile
15058
15059         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15060         start_x, end_x
15061         (workAreaExpose): constify widthChange, heightChange
15062
15063         * lyxrow.C (par): moved
15064         (height): moved
15065         (next): moved
15066         * lyxrow.h: as inlines here
15067
15068         * lyxfont.h (shape): moved from lyxfont.C
15069         (emph): moved from lyxfont.C
15070
15071         * lyxfont.C (LyXFont): use initialization list for all
15072         constructors
15073         (shape): move to lyxfont.h as inline
15074         (emph): move to lyxfont.h as inline
15075
15076
15077 2001-04-04  Juergen Vigna  <jug@sad.it>
15078
15079         * vspace.C: had to include stdio.h for use of sscanf
15080
15081 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15082
15083         * BufferView.h:
15084         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15085         independent of xforms.
15086
15087 2001-04-02  Juergen Vigna  <jug@sad.it>
15088
15089         * spellchecker.C: fixed namespace placing!
15090
15091 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15092
15093         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15094         the LyXParagraph * is 0.
15095
15096 2001-03-29  Juergen Vigna  <jug@sad.it>
15097
15098         * vspace.C: added support for %, c%, p%, l%.
15099         (stringFromUnit): added helper function.
15100         (asLatexString): changed to give right results for the %-values.
15101
15102         * buffer.C: convert the widthp in a width%.
15103
15104 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15105
15106         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15107         figureForm.[Ch].
15108
15109         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15110         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15111
15112         * lyx_cb.[Ch]: see above.
15113
15114         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15115         form1.[Ch].
15116
15117         * form1.[Ch]:
15118         * lyx.[Ch]: replaced by figure_form.[Ch].
15119
15120         * lyx_gui.C:
15121         * lyx_gui_misc.C:
15122         * lyxfunc.C: changed headers associated with above changes.
15123
15124 2001-03-27  Juergen Vigna  <jug@sad.it>
15125
15126         * BufferView_pimpl.C: set the temporary cursor right!
15127
15128 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15129
15130         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15131
15132 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * LString.h: removed "using std::getline"!
15135
15136         * BufferView_pimpl.C (Dispatch): changes due to changes in
15137         InsetInclude::Params.
15138
15139         * buffer.C (tag_name): removed redundant break statements as they were
15140         producing lots of warnings with my compiler.
15141
15142 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * LString.h: add "using std::getline" when using the real <string>.
15145
15146 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15147
15148         * buffer.C: removed bitset usage.
15149         PAR_TAG moved to an anonymous name space.
15150         (tag_name): new funtion, also in the anonymous namespace.
15151         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15152         (makeDocBookFile): clean code. Completed transition from string arrays
15153         to string vectors.
15154         (SimpleDocBookOnePar): code clean.
15155
15156 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15157
15158         * tabular.C: add some comments.
15159
15160 2001-03-22  Juergen Vigna  <jug@sad.it>
15161
15162         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15163         compatibility read a bit and fixed bug with minipage in different
15164         depth.
15165
15166 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15167
15168         * buffer.C (pop_tag): removed.
15169         (push_tag): removed.
15170         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15171         array replaced with vector. Added support for CDATA sections.
15172         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15173         at any nest level.
15174         (makeDocBookFile): XML conformant declaration of CDATA section,
15175         fixed bug related to <emphasis> in the first paragraph char.
15176         (sgmlOpenTag): exclude empty tags.
15177         (sgmlCloseTag): ditto.
15178
15179         * buffer.h (pop_tag): removed.
15180         (push_tag): removed.
15181
15182 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15183
15184         * language.h (Languages): added size_type and size().
15185
15186 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15187
15188         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15189         response on compability reading of minipages. One probliem is that
15190         the old usage of minipages was «flertydig»
15191
15192         * several files here and in subdirs: don't use static at file
15193         scope use anon namespaces instead.
15194
15195 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15196
15197         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15198         LaTeX output. This is necessary for Literate document
15199         processing.
15200
15201 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15202
15203         * buffer.C: insert hfill when needed.
15204
15205         * tabular.C (l_getline): use string::erase, small whitespace change.
15206
15207         * BufferView_pimpl.C: try the anon namespace.
15208         * WorkArea.C: ditto
15209
15210 2001-03-16  Juergen Vigna  <jug@sad.it>
15211
15212         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15213         otherwise it won't open options-dialogs.
15214
15215         * buffer.C: honor pextraWidth(p) on converting minipages.
15216
15217         * tabular.C (l_getline): changed the functions to strip trailing \r.
15218
15219 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15220
15221         * BufferView_pimpl.C:
15222         * minibuffer..C: added "using SigC::slot" declaration.
15223
15224 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15225
15226         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15227
15228         * text2.C: ditto
15229
15230         * text.C: ditto
15231
15232         * paragraph.C: ditto
15233
15234         * lyxtext.h: NO_PEXTRA
15235
15236         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15237
15238         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15239         * ParameterStruct.h: ditto
15240         * ParagraphParameters.h: ditto
15241         * lyxparagraph.h: ditto
15242
15243 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15244
15245         * buffer.C: add compability for minipage alignment.
15246         (latexParagraphs): remove unwanted pextra check.
15247
15248         * several files: remove CXX_WORKING_NAMESPACES
15249
15250         * buffer.C (pop_tag): tie is in namespace boost
15251
15252         * BufferView.h: noncopyable is in namespace boost
15253         * lyxlex.h: ditto
15254         * lyx_main.h: ditto
15255         * lyx_gui.h: ditto
15256         * layout.h: ditto
15257         * lastfiles.h: ditto
15258         * bufferlist.h: ditto
15259         * ShareContainer.h: ditto
15260         * LyXView.h: ditto
15261         * LyXAction.h: ditto
15262         * LaTeX.h: ditto
15263
15264 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15265
15266         * Merging changes from BRANCH_MVC back into HEAD.
15267
15268         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15269
15270 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15271
15272         * BufferView_pimpl.C: change from intl.C
15273
15274         * combox.h:
15275         * combox.C:
15276         * Makefile.am: move combox.*
15277
15278         * form1.h:
15279         * form1.C:
15280         * lyx_gui.C:
15281         * intl.h:
15282         * intl.C: remove dialog (covered by prefs)
15283
15284 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15285
15286         * lyxfunc.C (Dispatch): removed redundant break statement.
15287
15288 2001-03-14  Juergen Vigna  <jug@sad.it>
15289
15290         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15291
15292 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15293
15294         * buffer.C: add hack to fix compability reading of minipages.
15295
15296 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15297
15298         * buffer.C (getLists): Cleanup.
15299
15300 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * lyxfont.C (update): don't honor toggleall on font size.
15303
15304 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15305
15306         * bmtable.c:
15307         * bmtable.h:
15308         * Makefile.am: moved to frontends/xforms/
15309
15310         * lyx_gui_misc.C:
15311         * lyxfunc.C:
15312         * BufferView_pimpl.C: changes for moved mathpanel
15313
15314 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * gettext.h: fix gettext_init() in --disable-nls
15317
15318 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15321
15322 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15323
15324         * lyx.C:
15325         * lyx.h: strip external form
15326
15327 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15328
15329         * BufferView_pimpl.C: add comment, destroySplash()
15330
15331 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * BufferView_pimpl.C:
15334         * LyXAction.C:
15335         * buffer.C:
15336         * commandtags.h:
15337         * lyxfunc.C: use re-worked insetinclude
15338
15339 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15340
15341         * buffer.C: add using std::stringstream.
15342
15343         * lyx_cb.C: readd using std::ios.
15344
15345         * buffer.C: add using std::map.
15346
15347         * BufferView_pimpl.C: add using std::vector.
15348
15349         * ShareContainer.h: add std:: to swap.
15350
15351         * buffer.h: add some typedefs
15352         * buffer.C (getLists): use them
15353         (getLists): renamed from getTocList.
15354         add a counter for the different float types and use it in the
15355         generated string.
15356         (getLists): use the same counter for the NEW_INSETS and the "non"
15357         NEW_INSETS
15358
15359         * lyx_cb.h: remove unused items, includes, using etc.
15360
15361         * ShareContainer.h: remove some commented code, add more comments
15362         and "documentation".
15363
15364 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15365
15366         * buffer.C (getTocList): make the list also when NEW_INSETS is
15367         defined.
15368
15369         * buffer.h: remove TocType
15370
15371         * buffer.C (getTocList): change to return a map<string,
15372         vector<TocItem> >, implement for dynamic number of list.
15373
15374         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15375         * text2.C (PasteSelection): adjust
15376         * CutAndPaste.C (pasteSelection): adjust
15377
15378         * FloatList.C (FloatList): update from the new_insets branch.
15379         * Floating.[Ch]: ditto
15380         * LaTeXFeatures.C: ditto
15381         * buffer.C: ditto
15382         * lyxlex_pimpl.C: ditto
15383
15384         * paragraph.C (Last): remove when NEW_INSETS is defined.
15385
15386         * other file: changes because of the above.
15387
15388 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15389
15390         * lyxparagraph.h: rename next to next_, previous to previous_,
15391         make them private for NEW_INSETS. Rename Next() to next(),
15392         Previous() to previous().
15393
15394         * other files: changes because of the above.
15395
15396 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15397
15398         * BufferView.h:
15399         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15400         problem.
15401
15402 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * main.C (main): pass lyx_localedir to gettext_init().
15405
15406         * gettext.h: remove locale_init and gettext_init macros
15407
15408         * gettext.C (locale_init): new function
15409         (gettext_init): new function
15410
15411         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15412         setlocale().
15413
15414 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15415
15416         * Moved credits to frontends:
15417         * credits.[Ch]: removed
15418         * credits_form.[Ch]: removed
15419         * lyx_gui_misc.C: remove credits stuff
15420         * Makefile.am:
15421
15422 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15423
15424         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15425
15426         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15427         unneeded destructor.
15428
15429         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15430         a standalone pointer again.
15431
15432         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15433
15434 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15435
15436         * Makefile.am:
15437         * filedlg.h:
15438         * filedlg.C:
15439         * LyXAction.C:
15440         * ToolbarDefaults.C:
15441         * bufferlist.C:
15442         * commandtags.h:
15443         * form1.C:
15444         * form1.h:
15445         * lyx_cb.C:
15446         * lyx_cb.h:
15447         * lyxfunc.h:
15448         * lyxfunc.C:
15449         * BufferView_pimpl.C: use new file dialog in GUII
15450
15451         * lyx_cb.h:
15452         * lyx_cb.C: remove LayoutsCB to Toolbar
15453
15454 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * ShareContainer.h (get): add std:: qualifier
15457
15458 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * ShareContainer.h: define a proper ShareContainer::value_type
15461         type (and use typename to please compaq cxx)
15462
15463 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15464
15465         * lyxparagraph.h: move serveral local vars to
15466         ParameterStruct/ParagraphParameters., use ShareContainer in
15467         FontTable., make vars in FontTable private and add getter and
15468         setter.
15469
15470         * paragraph.C: changes because of the above.
15471
15472         * lyxfont.h: remove copy constructor and copy assignment. (the
15473         default ones is ok), move number inside FontBits. move inlines to
15474         lyxfont.C
15475
15476         * lyxfont.C: add number to initializaton of statics, move several
15477         inlines here. constify several local vars. some whitespace
15478         cleanup. Dont hide outerscope variables.
15479
15480         * Spacing.h: add two new constructors to match the set methods.
15481
15482         * ShareContainer.h: new file, will perhaps be moved to support
15483
15484         * ParameterStruct.h: new file
15485
15486         * ParagraphParameters.h: new file
15487
15488         * ParagraphParameters.C: new file
15489
15490         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15491         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15492
15493         * BufferView_pimpl.C: ParagraphParameter changes.
15494         * buffer.C: Likewise.
15495         * bufferview_funcs.C: Likewise.
15496         * text.C: Likewise.
15497         * text2.C: Likewise.
15498
15499 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * lyxfind.C (LyXReplace): do not redefine default argument in
15502         implementation.
15503         (IsStringInText): ditto
15504         (SearchForward): ditto
15505         (SearchBackward): ditto
15506
15507 2001-03-06  Juergen Vigna  <jug@sad.it>
15508
15509         * lyxfind.C (IsStringInText): put parentes around expressions.
15510
15511 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15512
15513         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15514
15515 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15516
15517         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15518
15519         * stl_string_fwd.h: add comment
15520
15521         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15522
15523         * tabular.h:
15524         * tabular.C: remove unused DocBook methods
15525
15526         * intl.C:
15527         * language.C:
15528         * paragraph.C:
15529         * buffer.C:
15530         killed DO_USE_DEFAULT_LANGUAGE
15531
15532 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * lyx_gui.C: do not include language.h.
15535
15536         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15537         arguments in function implementation.
15538
15539 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15540
15541         * BufferView_pimpl.C: add <ctime>
15542
15543 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15544
15545         * BufferView_pimpl.C: add using std::find_if
15546
15547 2001-02-27  José Matos  <jamatos@fep.up.pt>
15548
15549         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15550         by OnlyPath.
15551
15552 2001-02-11  José Matos  <jamatos@fep.up.pt>
15553
15554         * buffer.C (makeDocBookFile): command styles now have a parameter as
15555         "title" by default.
15556
15557 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15558
15559         * layout_forms.[Ch]: removed
15560         * lyx_cb.[Ch]: out character
15561         * lyx_gui.C: out character
15562         * lyx_gui_misc.C: out character
15563         * bufferview_funcs.C: : out character,
15564         added toggleall as parameter in ToggleAndShow
15565
15566 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15569
15570         * text2.C (SetCurrentFont): Disable number property at boundary.
15571
15572 2001-02-26  Juergen Vigna  <jug@sad.it>
15573
15574         * lyxfunc.C (getStatus): added a string argument override function so
15575         that this is correctly called from LyXFunc::Dispatch if it contains a
15576         do_not_use_argument which is used!
15577         (Dispatch): added check for "custom" export and call appropriate func.
15578
15579 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15580
15581         * lyxrc.C: Add language_command_local, language_use_babel and
15582         language_global_options.
15583
15584         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15585
15586         * buffer.C (makeLaTeXFile): Use language_use_babel and
15587         language_global_options.
15588
15589 2001-02-23  Juergen Vigna  <jug@sad.it>
15590
15591         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15592         which works with LyXText and putted it inside BufferView. Here now we
15593         only call for that part the BufferView::Dispatch() function.
15594
15595         * BufferView.C (Dispatch): added.
15596
15597         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15598         functions which needs to use a LyXText over from LyXFunc.
15599         (MenuInsertLyXFile): added
15600         (getInsetByCode): added
15601         (moveCursorUpdate): added
15602         (static TEXT): added
15603
15604 2001-02-22  Juergen Vigna  <jug@sad.it>
15605
15606         * BufferView_pimpl.C (update): call a status update to see if LyXText
15607         needs it.
15608
15609 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15610
15611         * vc-backend.C (revert): implement for CVS
15612         (getLog): implement for CVS
15613
15614 2001-02-20  Juergen Vigna  <jug@sad.it>
15615
15616         * text2.C (ClearSelection): added BufferView param for inset_owner call
15617
15618         * lyxfunc.C (TEXT): added this function and use it instead of
15619         directly owner->view()-text of getLyXText().
15620
15621 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15622
15623         * src/layout_forms.C: out preamble
15624         * src/layout_forms.h: out preamble
15625         * src/lyx_cb.C: out preamble
15626         * src/lyx_cb.h: out preamble
15627         * src/lyx_gui.C: out preamble
15628         * src/lyx_gui_misc.C: out preamble
15629         * src/lyxfunc.C: connect with guii preamble
15630
15631 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15632
15633         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15634
15635 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15638         whether to run bibtex.
15639
15640 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15641
15642         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15643
15644 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15645
15646         * Makefile.am (lyx_SOURCES): removed bibforms.h
15647
15648         * vspace.h: doxygen
15649
15650         * text.C (GetVisibleRow): make several local vars const
15651
15652         * tabular.C: small cleanup.
15653
15654         * lyxserver.C (callback): use compare instead of strncmp
15655
15656         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15657         inlines to after class or to paragraph.C
15658
15659         * lyxfont.h: remove friend operator!=
15660
15661         * converter.h: move friend bool operator< to non friend and after
15662         class def.
15663
15664         * combox.h: small cleanup
15665
15666         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15667         to inlines after class def.
15668
15669         * buffer.C (pop_tag): use string operations instead of strcmp
15670
15671         * bmtable.c: doxygen, small cleanup
15672
15673         * LaTeX.h: remove friend operator==
15674
15675 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15676
15677         * screen.C:
15678         * lyxrc.[Ch]:
15679         * lyxfunc.C:
15680         * lyxfont.[Ch]:
15681         * lyx_cb.C:
15682         * intl.[Ch]:
15683         * commandtags.h:
15684         * buffer.C:
15685         * WorkArea.[Ch]:
15686         * LyXAction.C:
15687         * BufferView_pimpl.C:
15688         * BufferView.[Ch]: remove cruft
15689
15690 2001-02-14  Juergen Vigna  <jug@sad.it>
15691
15692         * lyxfunc.C: removed #if 0 unused code
15693
15694         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15695
15696         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15697
15698         * text2.C (SetSelection): added a BufferView * parameter
15699
15700 2001-02-13  Juergen Vigna  <jug@sad.it>
15701
15702         * lyxfunc.C (Dispatch): fixed protected blank problem.
15703         * BufferView2.C (protectedBlank): added LyxText * parameter.
15704
15705         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15706         (AppendColumn): same as above for column_info.
15707
15708         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15709         (moveCursorUpdate): use a LyXText param for support of InsetText.
15710
15711         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15712         (tripleClick): ditto
15713
15714         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15715
15716         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15717
15718         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15719
15720         * text2.C (SetSelection): set correct update status if inset_owner
15721         (ToggleFree): ditto
15722
15723 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15724
15725         * tabular.C: remove some commented code.
15726
15727 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15728
15729         * BufferView_pimpl.C: call hideSplash()
15730
15731         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15732
15733         * include_form.h:
15734         * bibforms.h: remove
15735
15736         * lyxfunc.C:
15737         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15738           add LFUN_CHILD_CREATE
15739
15740         * counters.h: fix tiny typo
15741
15742         * lyx_cb.C:
15743         * lyx.h:
15744         * lyx_gui.C:
15745         * lyx.C: move splash to frontends/xforms/
15746
15747         * lyx_gui_misc.C: move Include and Bibform to frontends
15748
15749         * lyxvc.h: clarify comment
15750
15751         * vspace.C: tiny housekeeping
15752
15753 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15754
15755         * text.C (PrepareToPrint): RTL Fix.
15756
15757         * paragraph.C (GetUChar): New method.
15758         (String):  Use GetUChar.
15759
15760         * buffer.C (asciiParagraph): Use GetUChar.
15761
15762 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15763
15764         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15765
15766 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15767
15768         * buffer.h:
15769         * buffer.C: rename to getLogName(), handle
15770           build log / latex log nicely
15771
15772 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * MenuBackend.C:
15775         * MenuBackend.h: remove support for reference menuitem type.
15776
15777 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15778
15779         * BufferView_pimpl.C: housekeeping
15780         * BufferView_pimpl.h:
15781         * LyXView.h:
15782         * Makefile.am:
15783         * Timeout.C:
15784         * Timeout.h:
15785         * minibuffer.h: move Timeout GUI-I
15786
15787 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15788
15789         * lyxrc.C (read): Update converters data-structures.
15790
15791 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15792
15793         * LaTeX.h (operator!=): add operator != for Aux_Info
15794
15795 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15796
15797         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15798
15799         * LaTeXLog.C: deleted, useful code moved to Buffer
15800
15801         * buffer.h:
15802         * buffer.C: new function getLatexLogName()
15803
15804         * lyx_gui_misc.C:
15805         * lyx_gui.C:
15806         * lyxvc.C:
15807         * lyxvc.h:
15808         * lyxfunc.C: use frontends for LaTeX and VC logs
15809
15810 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * LaTeX.h: yet another std:: that Allan forgot.
15813
15814         * Variables.C (set): renamed from isset(), because this clashes
15815         with some HP-UX macros (grr).
15816
15817 2001-02-06  Allan Rae  <rae@lyx.org>
15818
15819         * LaTeX.h: Another bug fix.  Missing std:: this time.
15820
15821 2001-02-04  Allan Rae  <rae@lyx.org>
15822
15823         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15824         floats problem. I've left it commented out because it's not quite
15825         correct.  It should also test that the current object is a table or
15826         figure inset.  But I haven't gotten around to figuring out how to do
15827         that.  I *think* it'll be something like: "table" == inset.type()
15828
15829         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15830         bool.
15831
15832 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15833
15834         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15835         all the citation/databases/styles in the auxilary file.
15836         (run): Rerun latex if there was a babel language error.
15837
15838 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * text.C (Backspace): Preserve the font when changing newline char
15841         with a space.
15842         (BreakParagraph): If the cursor is before a space, delete the space.
15843
15844         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15845
15846 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15847
15848         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15849         new argument (code).
15850         (ChangeCitationsIfUnique): New method.
15851
15852         * paragraph.C (GetPositionOfInset): Handle bibkey.
15853
15854 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * BufferView_pimpl.h: change type of Position::par_pos to
15857         LyXParagraph::size_type.
15858
15859 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15860
15861         * BufferView_pimpl.C (savePosition, restorePosition): Write
15862         messages to minibuffer.
15863
15864 2001-01-28  José Matos  <jamatos@fep.up.pt>
15865
15866         * buffer.C (makeDocBookFile): adds support for document language.
15867         A silly restriction on the name of LatexCommand types where removed.
15868         Added support for CDATA sections, allows to chars unescaped, used
15869         among others in code, to avoid escape < and >.
15870
15871 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15872
15873         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15874         saved positions instrad of a stack. Furthermore, a position is
15875         stored using paragraph id/paragraph position.
15876
15877         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15878         Remove LFUN_REF_BACK.
15879
15880 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15881
15882         * converter.C (dvipdfm_options): New method.
15883
15884 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15885
15886         * vspace.C (isValidLength): Fix for empty input string.
15887
15888 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * LyXAction.C (init): change description of LFUN_FIGURE to
15891         "Insert Graphics"
15892
15893 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * LaTeX.C: add using directive
15896
15897 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * MenuBackend.C (expand): Fix the sorting of the formats.
15900
15901 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15902
15903         * lyx_main.C: tiny error message fix
15904
15905 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15908         calling fl_initialize(). This fixes the problem with ',' as
15909         decimal separator in text files.
15910
15911 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15912
15913         * trans.C (process): Fix the keymap bug.
15914
15915 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * LaTeX.C (scanAuxFiles): New method. Provides support for
15918         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15919         (scanLogFile) Scan for "run BibTeX" messages.
15920
15921         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15922         OT1 font encoding. Also, load the aecompl package if the ae
15923         package is loaded.
15924
15925         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15926
15927 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15928
15929         * texrow.C (increasePos): turn two error messages into debug
15930         messages.
15931
15932 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15933
15934         * LaTeX.C (scanAux): Handle the \@input macro.
15935         (runBibTeX): Use scanAux().
15936
15937         * language.C (latex_options_): New field.
15938
15939         * LaTeXFeatures.C (getMacros): Add language macros.
15940
15941         * buffer.C (makeLaTeXFile): Small fix.
15942
15943 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15946
15947         * text2.C: add a using directive.
15948
15949 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15950
15951         * BufferView2.C:
15952         * lyx_gui_misc.h:
15953         * lyxfr1.C:
15954         * lyxfunc.C: kill LyXBell.
15955
15956 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15957
15958         * text.C (IsBoundary): Remove the error message
15959
15960         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15961
15962         * lyxrc.C (setDefaults): Correct initialization value for
15963         font_norm_type.
15964
15965 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15968         gotoError().
15969
15970         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15971         and GotoNextNote().
15972
15973         * src/LyXAction.C: Added reference-next.
15974
15975         * text.C (InsertChar): Use contains instead of strchr.
15976
15977         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15978
15979 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15980
15981         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15982         alignment commands (when needed).
15983
15984         * text.C (InsertChar): Add ':' to number separator chars.