]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix wheel handling for xforms
[lyx.git] / src / ChangeLog
1 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * text3.C (dispatch): remove special handling of button 4 and 5,
4         it is now taken care of in the frontend code.
5
6 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * Spacing.h: add <string> (STLPort compile fix)
9
10 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
11
12         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
13         to bool.
14
15         * converter.C (showMessage): inherit from unary_function, make
16         operator() const.
17
18         * buffer.C (writeFile): initialize retval
19
20         * InsetList.h: rename private variable list to list_
21         * InsetList.[Ch]: adjust accordingly.
22
23 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
24
25         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
26         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
27         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
28         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
29         * ParagraphParameters.C, LaTeXFeatures.C: replace
30         "support/std_sstream.h" with <sstream>
31
32 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
35         * lyxsocket.C (LyXServerSocket): ditto
36         (serverCallback): ditto
37
38 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
39
40         * LaTeXFeatures.C: check release date when loading jurabib.
41
42 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
43
44         * lyxserver.C (startPipe): call register_socket_callback
45         (endPipe): call unregister_socket_callback
46
47 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
48
49         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
50         (LyXServerSocket): register the callback
51         (LyXServerSocket): unregister the callback
52         (fd): delete function
53         (serverCallback): improve error checking and setup the callbacks.
54         (dataCallback): change arg to fd.
55         (writeln): new func (copied fro the client socket) used for server
56         write to client.
57         (LyXDataSocket): simplify
58         (~LyXDataSocket): close ann unregiser callback
59         (server): delete function
60         (fd): delete function
61         (readln): small changes, improve some std::string usage
62         (writeln): constify a bit
63
64 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
67         Qt frontend
68
69 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * BufferView_pimpl.C (setBuffer): set the layout combox value only
72         after it has been populated
73
74 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * text2.C (insertInset): move cursor when inserting inset.
77
78 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * kbmap.C (findbindings): a couple of new methods. returns a
81         container of kb_sequence objects. The real work is done by the
82         private recursive version
83         (printbindings): uses findbindings to print out a bracketed list
84         of bindings (renamed from findbinding).
85
86         * MenuBackend.C (binding): use kb_keymap::findbindings
87
88         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
89
90 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
93
94 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * paragraph.C (isWord): return true on insets that report
97         isLetter().
98
99         * text.C (getWord): use Paragraph::isWord to decide what is in a
100         word and what is not; fix bug 1609.
101
102 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
103
104         * tex-strings.C: add "none" to string_paperpackages[], fixes
105         off-by-one-error in the paperpackage selection.
106
107         * lyxlex.[Ch]:
108         * tex-strings.[Ch]: char const * string[n]
109         -> char const * const string[]
110
111 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
114         command, return early.
115
116 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
117
118         * debug.h: add DEBUG to enum and fix size of ANY.
119
120         * debug.C: add support for Debug::DEBUG
121         (showTags): cast errorTags.level to unsigned int
122
123         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
124         (redoCurrentBuffer): ditto
125         (updateScrollbar): ditto
126         * cursor.C (dispatch): ditto
127         * text2.C (setLayout): ditto
128         (setFont): ditto
129         (updateCounters): ditto
130         (editXY): ditto
131         (deleteEmptyParagraphMechanism): ditto
132
133 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
134
135         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
136         annotations to cleanup the Makefile slightly.
137
138 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * lyxrc.C: do not set user_email to a default value but use empty
141         instead. The entry used to be translated, which does not work
142         since at the point where lyxrc is constructed there is no
143         translation service available
144
145         * messages.C (getLocaleDir): remove and use directly
146         lyx_localedir() instead
147
148 2004-06-02  Angus Leeming  <leeming@lyx.org>
149
150         Fix crash caused by dereferencing null pointer 'exportdata' in
151         OutputParams by creating a new ExportData variable on the heap,
152         storing it in a boost::shared_ptr.
153         The crash was triggered when generating an Instant Preview
154         of an external inset.
155
156         * Makefile.am: add outputparams.C
157
158         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
159         (c-tor): allocate memory to it.
160
161         * exporter.C (c-tor): associated changes.
162
163 2004-06-01  Angus Leeming  <leeming@lyx.org>
164
165         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
166         contains data before calling isInset(0). (Bug 1513.)
167
168 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
169
170         * exporter.C (checkOverwrite): new method
171         * exporter.C (copyFile): new method
172         * exporter.C (Export): copy referenced files to the document dir
173         * exporter.[Ch]: new class ExportedFile
174         * exporter.[Ch]: new class ExportData. Contains currently the
175         names of referenced external files
176         * outputparams.h: add exportdata member.
177
178 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
181         version.C-tmp
182
183 2004-05-19  Angus Leeming  <leeming@lyx.org>
184
185         * LaTeXFeatures.C:
186         * ToolbarBackend.C:
187         * bufferparams.C:
188         * lyxfunc.C: small changes due to the introduction of namespace
189         lyx::frontend and the moving of namespace biblio to lyx::biblio.
190
191 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
192
193         * text3.C (dispatch): supress update when only moving the cursor
194         * cursor.C (selHandle): remove commented code
195
196 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
197
198         * paragraph.C (startTeXParParams): correct column count
199         * CutAndPaste.C (pasteSelection): remove const_cast
200         * output_docbook.C (docbookParagraphs): remove const_cast
201         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
202         const_cast and return ParagraphList::const_iterator
203         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
204         * output_plaintext.C (writeFileAscii): remove const_cast
205         * paragraph.[Ch] (simpleTeXOnePar): make const
206         * paragraph_funcs.C (outerPar): use const iterators
207         * paragraph_pimpl.C (validate): use const iterators
208         * text.C (setHeightOfRow): use const iterators
209
210 2004-05-17  Angus Leeming  <leeming@lyx.org>
211
212         * lfuns.h:
213         * LyXAction.C (init): new LFUN_INSET_REFRESH.
214
215         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
216         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
217         if the citation engine has changed.
218
219 2004-05-14  José Matos  <jamatos@lyx.org>
220
221         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
222         if the textclass does not provide it. Have it different for sgml and
223         xml.
224         support the language of document.
225         * output_docbook.C (docbookParagraphs):
226         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
227         first anchor as the id of the paragraph, remove special case code.
228         * sgml.C (escapeChar): escape only < & >.
229
230 2004-05-14  Angus Leeming  <leeming@lyx.org>
231
232         * bufferparams.h: move biblio::CiteEngine enum here to minimize
233         dependencies on src/frontends/controllers/biblio.h. Define a
234         CiteEngine_enum wrapper class to enable the enum to be forward
235         declared.
236
237 2004-05-12  Angus Leeming  <leeming@lyx.org>
238
239         * buffer.C: up LYX_FORMAT to 234.
240         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
241         use_numerical_citations with a single biblio::CiteEngine cite_engine
242         variable.
243         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
244
245 2004-05-13  José Matos  <jamatos@lyx.org>
246
247         * converter.h:
248         * converter.C (Converter, readFlags): add xml member.
249         * outputparams.h: add XML flavor.
250         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
251
252 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * lyxfunc.C (dispatch):
255         (getStatus): fix handling of LFUN_SEQUENCE
256
257 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * debug.C (showLevel): do not forget the end-of-line marker
260
261 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * kbmap.C (read): do not stop parsing a bind file when an error
264         occurs (bug 1575)
265
266 2004-04-29  Angus Leeming  <leeming@lyx.org>
267
268         * cursor.C:
269         * factory.C:
270         * pariterator.C:
271         * text2.C: wrap a bunch of #warning statements
272         inside #ifdef WITH_WARNINGS blocks.
273
274 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
275
276         * buffer.C: increment format to 233.
277
278 2004-04-28  Angus Leeming  <leeming@lyx.org>
279
280         * BufferView_pimpl.C:
281         * lyxfunc.C:
282         * text3.C:
283         s/updateToolbar()/updateToolbars()/
284         s/Toolbar.h/Toolbars.h/
285
286 2004-04-28  Angus Leeming  <leeming@lyx.org>
287
288         * BufferView.[Ch] (c-tor):
289         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
290         No longer passes these data to the WorkArea generator.
291
292 2004-04-28  Angus Leeming  <leeming@lyx.org>
293
294         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
295
296 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
297
298         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
299
300 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * output_latex.C (TeXEnvironment): make sure that there is a line
303         break before \end{foo} for the last paragraph of a document
304         (TeXOnePar): if the paragraph is at the end of the document (or
305         inset) and the language has to be reset, then make sure that the
306         line break is _before_ the language command, not after (fixes bug
307         1225); also make sure that the language reset command is the first
308         thing after the paragraph (to ensure proper nesting of
309         environments and thus fix bug 1404)
310
311 2004-04-21  John Levon  <levon@movementarian.org>
312
313         * ToolbarBackend.h:
314         * ToolbarBackend.C: make "name" be a programmatic name
315         and a gui_name field.
316
317         * lyxfunc.C: display the minibuffer on M-x
318
319 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
322         (bug 1526)
323
324 2004-04-19  Angus Leeming  <leeming@lyx.org>
325
326         * BufferView_pimpl.C (setBuffer): changed preview interface.
327
328         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
329         possible values.
330
331 2004-04-19  John Levon  <levon@movementarian.org>
332
333         * BufferView_pimpl.C:
334         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
335
336 2004-04-05  Angus Leeming  <leeming@lyx.org>
337
338         * text.C (redoParagraphs): add call to updateCounters(), thereby
339         fixing the missing "Figure #:" label from the caption of a
340         figure float.
341
342 2004-04-13  Angus Leeming  <leeming@lyx.org>
343
344         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
345         cursor is clicked out of an inset.
346
347 2004-04-13  Angus Leeming  <leeming@lyx.org>
348
349         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
350         than an InsetOld one.
351
352 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * format.[Ch]: add editor to Format
355         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
356         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
357
358 2004-04-08  André Pönitz  <poenitz@gmx.net>
359
360         * metricsinfo.h: remove PainterInfo::width member
361
362 2004-04-08  Angus Leeming  <leeming@lyx.org>
363
364         * lyx_sty.C (boldsymbol_def): modify so that it outputs
365         "\providecommand" rather than "\newcommand", thereby preventing
366         clashes with packages that define "\boldsymbol" themselves.
367         Eg, beamer.
368
369 2004-04-08  Angus Leeming  <leeming@lyx.org>
370
371         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
372         thereby squashing an unnecessary warning.
373
374 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
375
376         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
377         setBuffer()
378
379 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
380
381         * BufferView.C (setCursor): call redoParagraph (some insets could
382         have been opened)
383         (putSelectionAt): remove the 'double update' trick
384
385         * BufferView_pimpl.C (fitCursor): call refreshPar
386         (workAreaDispatch): remove an uneeded update call
387         (dispatch): remove some manual update calls
388
389         * cursor.[Ch]: remove cached_y_, updatePos
390         (selHandle): set noUpdate when appropriate
391
392         * lyxfunc.C (dispatch): track if we need an update
393
394         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
395
396         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
397         (paintSelection): cheap optimization, do not call cursorX when not
398         needed
399         (paintPars): change signature
400         (refreshPar): add
401         (paintText): adjust
402         (paintTextInset): adjust
403
404         * text.C: adjust
405
406 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
407
408         * lengthcommon.C: compilation fix: remove explicit array size from
409         unit_name[] and friends
410
411 2004-04-05  Angus Leeming  <leeming@lyx.org>
412
413         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
414
415         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
416         present only for the preferences dialog.
417         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
418
419 2004-04-05  Angus Leeming  <leeming@lyx.org>
420
421         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
422         to enable the frontends to export changes to lyxrc correctly.
423
424         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
425
426 2004-04-07  André Pönitz  <poenitz@gmx.net>
427
428         * cursor.[Ch] (selClear, adjust): remove math
429
430         * cursor_slice.C: more agressive assert
431
432         * lyxfunc.C:
433         * BufferView_pimpl.C: rework mouse event dispatch
434
435         * dociterator.C:
436         * paragraph.C:
437         * text2.C:
438         * text3.C: adjust
439
440 2004-04-05  André Pönitz  <poenitz@gmx.net>
441
442         * cursor.[Ch] (valign, halign...): remove unneeded functions
443
444 2004-04-05  Angus Leeming  <leeming@lyx.org>
445
446         * lyxlength.[Ch] (unit_name et al.): const-correct.
447
448 2004-04-05  Angus Leeming  <leeming@lyx.org>
449
450         * BufferView_pimpl.C:
451         * buffer.C:
452         * counters.C:
453         * cursor.C:
454         * lyxfunc.C
455         * paragraph.C:
456         * pariterator.C:
457         * text.C:
458         * text2.C:
459         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
460
461 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
462
463         * text3.C (getStatus): add LFUN_BEGINNINGBUF
464
465 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * lyxfind.C: add a couple of inTexted() tests + other small fixes
468         * BufferView_pimpl.[Ch] (getStatus)
469         * BufferView.[Ch] (getStatus): add
470         * lyxfunc.C (getStatus): move lfuns handled in
471         BufferView::dispatch to te function above
472         * Cursor.C (setSelection): set selection() = true
473
474 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
477
478 2004-03-31  Angus Leeming  <leeming@lyx.org>
479
480         * lyxfunc.C (dispatch): Fall through to the generic
481         Dialogs::show("preamble").
482
483 2004-03-31  Angus Leeming  <leeming@lyx.org>
484
485         * lyxfunc.C (dispatch): Fall through to the generic
486         Dialogs::show("spellchecker").
487
488 2004-03-31  Angus Leeming  <leeming@lyx.org>
489
490         * lyxfunc.C (getStatus, dispatch): changed invocation of the
491         preferences dialog.
492
493 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * BufferView.C
496         * cursor.[Ch]
497         * dociterator.[Ch]:
498         * insetiterator.[Ch]:
499         * lyxfind.C:
500         * lyxfunc.C:
501         * pariterator.[Ch]:
502         * text2.C:
503         * undo.[Ch]: s/DocumentIterator/DocIterator/g
504
505 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
506
507         * BufferView.C (setCursor, putSelectionAt): call edit to open the
508         insets where we are putting the cursor.
509
510 2004-03-31  Angus Leeming  <leeming@lyx.org>
511
512         * lfuns.h:
513         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
514
515         * lyxrc.[Ch] (read, write): overloaded member functions taking
516         a std::[io]stream arguments.
517
518         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
519
520 2004-03-31  Angus Leeming  <leeming@lyx.org>
521
522         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
523         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
524
525         * lyxtextclass.C (load): if the text class couldn't be loaded, then
526         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
527
528 2004-03-31  Angus Leeming  <leeming@lyx.org>
529
530         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
531         the LFUN_ALL_INSETS_TOGGLE code.
532
533 2004-03-30  Angus Leeming  <leeming@lyx.org>
534
535         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
536         has died. Fall through to the generic Dialogs::show("document").
537
538 2004-03-30  Angus Leeming  <leeming@lyx.org>
539
540         * lfuns.h:
541         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
542         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
543
544         * lyxfunc.C (getStatus, dispatch): define the actions for these
545         lfuns. Little more than a cut and pste job from ControlDocument.C
546
547         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
548
549 2004-03-30  Angus Leeming  <leeming@lyx.org>
550
551         * lfuns.h:
552         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
553         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
554
555         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
556         open/closed state of ollapsable insets. Usage:
557
558         all-inset-toggle <state> <name>, where
559         <state> == "open" || "closed" || "toggle" and
560         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
561
562         * lyxtext.h, text2.C (toggleInset): removed.
563
564         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
565         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
566         now passes LFUN_INSET_TOGGLE to the found inset.
567
568         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
569         is now invoked as "all-insets-toggle toggle branch".
570
571 2004-03-30  Angus Leeming  <leeming@lyx.org>
572
573         * dociterator.C:
574         * insetiterator.C:
575         * pariterator.[Ch]: added/corrected header blurb.
576
577 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
578
579         * dociterator.[Ch]: add an inset_ member
580         (backwardPos): implemented
581         (backwardPos, forwardPos): use inset_ when the stack is empty.
582         (doc_iterator_begin, doc_iterator_end): implemented
583         * pariterator.[Ch]: adjust, add begin, end
584         * insetiterator.[Ch]: adjust, add begin, end
585         * cursor.C:
586         * document.C:
587         * BufferView.C:
588         * BufferView_pimpl.C:
589         * CutAndPaste.C: adjust
590
591 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
592
593         * buffer.C: increment file format to 232.
594         * LaTeXFeatures.C: add bibtopic package.
595         * bufferparams.[Ch]: param \use_bibtopic.
596
597         * lyxrc.[Ch]: add lyxrc bibtex_command
598         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
599
600         * buffer.C: increment file format to 231.
601
602 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * dociterator.C: implement forwardPar
605         * iterators.[Ch]: remove, replaced by
606         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
607         * BufferView.C:
608         * BufferView_pimpl.C:
609         * CutAndPaste.C:
610         * buffer.C:
611         * bufferview_funcs.C:
612         * cursor.C:
613         * lyxfind.C
614         * lyxfunc.C
615         * paragraph_funcs.C
616         * toc.C:
617         * Makefile.am: adjust
618
619 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
620
621         * CutAndPaste.C (pasteSelection): fix 2 crashes
622         (eraseSelection): fix a crash
623         * paragraph_funcs.C: remove a warning
624
625 2004-03-28  Angus Leeming  <leeming@lyx.org>
626
627         * lfuns.h:
628         * LyXAction.C (init): new LFUN_PRINT.
629
630         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
631
632 2004-03-27  Angus Leeming  <leeming@lyx.org>
633
634         * lfuns.h:
635         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
636
637         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
638
639 2004-03-27  Angus Leeming  <leeming@lyx.org>
640
641         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
642         insetlist always contains non-null pointers to insets.
643
644 2004-03-26  Angus Leeming  <leeming@lyx.org>
645
646         * src/BufferView_pimpl.C:
647         * src/CutAndPaste.C:
648         * src/buffer.C:
649         * src/iterators.C:
650         * src/output_plaintext.C:
651         * src/outputparams.h:
652         * src/paragraph_funcs.C:
653         * src/rowpainter.C:
654         * src/text.C:
655         * src/text2.C:
656         * src/frontends/controllers/ControlErrorList.C:
657         * src/frontends/gtk/FileDialogPrivate.C:
658         * src/frontends/gtk/GPainter.C:
659         * src/frontends/gtk/GToolbar.C:
660         * src/frontends/qt2/QRef.C:
661         * src/mathed/math_scriptinset.C: squash compiler warnings.
662
663 2004-03-26  Angus Leeming  <leeming@lyx.org>
664
665         * ispell.C (LaunchIspell::start):
666         * lyx_cb.C (AutoSaveBuffer::start):
667         invoke run(DontWait) rather than runNonBlocking().
668
669 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
672
673 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * kbsequence.C (print): adjust
676
677         * kbmap.C (printKeySym): rename and change signature
678         (printKey): use LyXKeySym::print()
679
680 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
681
682         * undo.C: add using std::advance to compile for stlport
683
684 2004-03-24  Angus Leeming  <leeming@lyx.org>
685
686         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
687         it leads to a crash when no buffer is present.
688
689 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
690             Martin Vermeer  <martin.vermeer@hut.fi>
691
692         * lyxfunc.C (dispatch):
693         * bufferparams.C (readToken): use the new LColor::setColor
694
695         * LColor.[Ch] (setColor): new version that takes two strings as
696         argument and creates a new color entry if necessary
697
698 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
699
700         * buffer.C (makeLaTeXFile): if the main latex file that is
701         processed is usually a subdocument of some master, then pretend
702         for a while that it is actually the master
703
704 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
705
706         * buffer.C (getLabelList):
707         (getBibkeyList): use getMasterBuffer()
708         (getMasterBuffer): new method. Returns the main document in the
709         case where one is using included documents.
710
711 2004-03-25  André Pönitz  <poenitz@gmx.net>
712
713         * Makefile.am:
714         * iterators.[Ch]:
715         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
716
717         * ParagraphList_fwd.h: change ParagraphList to a std::vector
718
719         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
720         text*.C over here. Rename namespace CutAndPaste to lyx::cap
721
722         * ParameterStruct.h: merge with ParagraphParameters
723
724         * lyxtext.h: remove LyXText::parOffset() and getPar()
725
726         * text3.C: Remove all 'manual' update calls. We do now one per user
727         interaction which is completely sufficient.
728
729         * Bidi.C:
730         * BufferView.[Ch]:
731         * BufferView_pimpl.C:
732         * FontIterator.[Ch]:
733         * MenuBackend.C:
734         * ParagraphParameters.[Ch]:
735         * buffer.C:
736         * buffer.h:
737         * bufferlist.C:
738         * cursor.[Ch]:
739         * cursor_slice.[Ch]:
740         * dociterator.[Ch]:
741         * errorlist.[Ch]:
742         * factory.C:
743         * lfuns.h:
744         * lyxfind.C:
745         * lyxfunc.C:
746         * output_docbook.[Ch]:
747         * output_latex.[Ch]:
748         * output_linuxdoc.[Ch]:
749         * output_plaintext.[Ch]:
750         * paragraph.[Ch]:
751         * paragraph_funcs.[Ch]:
752         * paragraph_pimpl.[Ch]:
753         * rowpainter.C:
754         * tabular.[Ch]:
755         * text.C:
756         * text2.C:
757         * toc.C:
758         * undo.[Ch]: adjust
759
760         * frontends/controllers/ControlDocument.C:
761         * frontends/controllers/ControlErrorList.C:
762         * frontends/controllers/ControlSpellchecker.C:
763         * insets/inset.C:
764         * insets/inset.h:
765         * insets/insetbase.h:
766         * insets/insetbibitem.C:
767         * insets/insetbox.C:
768         * insets/insetbranch.C:
769         * insets/insetcaption.C:
770         * insets/insetcharstyle.C:
771         * insets/insetcharstyle.h:
772         * insets/insetcollapsable.C:
773         * insets/insetcollapsable.h:
774         * insets/insetert.C:
775         * insets/insetfloat.C:
776         * insets/insetfoot.C:
777         * insets/insetmarginal.C:
778         * insets/insetnote.C:
779         * insets/insetoptarg.C:
780         * insets/insettabular.C:
781         * insets/insettext.C:
782         * insets/insettext.h:
783         * insets/insetwrap.C:
784         * mathed/math_mboxinset.C:
785         * mathed/math_nestinset.C:
786         * mathed/math_scriptinset.C:
787         * mathed/math_scriptinset.h:
788         * support/types.h:
789
790 2004-03-24  Angus Leeming  <leeming@lyx.org>
791
792         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
793         deal with any child processes that have finished but are waiting to
794         communicate this fact to the rest of LyX.
795
796 2004-03-24  Angus Leeming  <leeming@lyx.org>
797
798         64-bit compile fixes.
799
800         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
801         (c-tor): pass lyx::pos_types rather than ints.
802
803         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
804         lyx::pos_type.
805
806         * text.C (Delete): compile fix.
807         (getPar): ensure that function declaration is the same as that in
808         the header file.
809
810 2004-03-23  Angus Leeming  <leeming@lyx.org>
811
812         * ispell.C (LaunchIspell):
813         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
814         a boost::shred_ptr rather than a std::auto_ptr.
815
816 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * lyxfunc.C (getStatus): handle read-only buffers correctly;
819         handle LFUN_FILE_INSERT_*
820
821         * lyxrc.C (setDefaults, getDescription, output, read):
822         * lyxrc.h: remove ps_command
823
824 2004-03-22  Angus Leeming  <leeming@lyx.org>
825
826         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
827         Ensure that error_handler is processed once only and that all data
828         is saved before attempting to output any warning messages.
829
830         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
831
832 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
833
834         * tabular.C (TeXRow): crash fix (from Kayvan and André)
835
836 2004-03-19  André Pönitz  <poenitz@gmx.net>
837
838         * cursor.[Ch] (reset): take main text inset as argument
839
840         * BufferView: adjust
841         * BufferView_pimpl.C: adjust
842
843         * paragraph.[Ch]: fix completely broken operator=()
844
845 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * LColor.C (getFromLyXName): make sure that the color name is used
848         as lowercase.
849
850 2004-03-17  Angus Leeming  <leeming@lyx.org>
851
852         * lfuns.h:
853         * LyXAction.C (init): remove LFUN_FORKS_KILL.
854
855         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
856         dialog and to kill a forked process.
857
858 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * text2.C (setCursorFromCoordinates): fix font problem
861
862 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
865         bogus "rebuild cursor" code
866
867 2004-03-11  André Pönitz  <poenitz@gmx.net>
868
869         * buffer.[Ch]: use InsetText instead of LyXText as container for
870         the main lyx text.
871
872         * dociterator.[Ch]: drop the BufferView * member which is not needed
873         anymore after the change to buffer.C
874
875         * paragraph_funcs.C:
876         * text.C:
877         * text2.C:
878         * BufferView.[Ch]:
879         * BufferView_pimpl.[Ch]:
880         * cursor.[Ch]:
881         * cursor_slice.[Ch]: adjust
882
883         * text3.C: fix bug in mathDispatch
884
885 2004-03-08  André Pönitz  <poenitz@gmx.net>
886
887         * undo.[Ch]: use 'StableDocumentIterator' as base for
888         the Undo struct.
889
890 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
891
892         * LaTeXFeatures.C:
893         * bufferparams.[Ch]: add jurabib support and param.
894
895         * LaTeX.C: add FIXME/comment.
896
897 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
898
899         * buffer.C: increment file format to 230.
900
901 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * cursor.C (dispatch): avoid infinite loops
904
905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * rowpainter.C (paintSelection): fix x coordinates
908
909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * text.C (rowBreakPoint): fix breaking before displayed insets
912
913 2004-03-01  André Pönitz  <poenitz@gmx.net>
914
915         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
916
917         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
918
919         * Makefile.am:
920         * BufferView.C:
921         * BufferView_pimpl.C:
922         * buffer.C:
923         * lyxfind.C:
924         * lyxfunc.C:
925         * text.C:
926         * text2.C:
927         * text3.C: adjust
928
929 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * lyxtext.h:
932         * text.C:
933         * text2.C:
934         * rowpainter.C:
935         * BufferView_pimpl.C: rename textwidth -> maxwidth,
936         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
937
938 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
939
940         * Bidi.[Ch] (computeTables): const correctness
941         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
942         fill_hfill, fill_label_hfill and x from Row
943         * lyxtext.h: prepareToPrint returns a RowMetrics
944         * rowPainter.C: adjust
945         * text.C (prepareToPrint): use width, not textWidth. adjust
946         (redoParagraphInternal, cursorX): adjust
947         * text2.C (getColumnNearX): adjust
948         (init): put a default value to the top LyXText::width
949
950 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
953
954 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * lyxtext.h: add FontIterator class
957
958         * text.C (FontIterator, operator*, operator->, operator++): add
959         (rowBreakPoint, setRowWidth): adjust (fixing a
960         rebreaking bug)
961
962 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * BufferView_pimpl.C (workAreaDispatch): allow also
965         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
966
967 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
968
969         * text.C (rowBreakPoint): fix a bug showing with very large insets
970
971 2004-02-25  André Pönitz  <poenitz@gmx.net>
972
973         * text3.C:
974         * cursor.[Ch]: move some mathed specific code to mathed
975
976 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
977
978         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
979         use_tempdir in preferences
980         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
981         tempfile creation
982         * lyx_main.C: ensure that tempdir is valid
983         * lyxlex.h: correct typo
984         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
985         * paragraph.[Ch] (isMultiLingual): make const
986         * cursor.[Ch] (openable): make const
987
988 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
989
990         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
991
992 2004-02-20  André Pönitz  <poenitz@gmx.net>
993
994         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
995
996         * cursor.[Ch]: prepare for localized getStatus()
997
998         * lyxtext.h:
999         * tabular.C:
1000         * text.C:
1001         * text2.C:
1002         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1003
1004 2004-02-20  André Pönitz  <poenitz@gmx.net>
1005
1006         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1007
1008 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * text2.C (setCursorFromCoordinates): switch to absolute coords
1011         (cursorUp): adjust
1012         (cursorDown): adjust
1013         * text3.C (dispatch): adjust
1014
1015 2004-02-16  André Pönitz  <poenitz@gmx.net>
1016
1017         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1018           insets/ChangeLog)
1019
1020         * cursor_slice.[Ch]: remove unneeded acessor function
1021
1022         * lyxtext.h: rename rtl() to isRTL()
1023
1024         * rowpainter.C:
1025         * tabular.C:
1026         * text.C:
1027         * text2.C:
1028         * text3.C: adjust
1029
1030 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * rowpainter.C (paintSelection): coord fix
1033
1034 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1035
1036         * Spacing.C: compile fix
1037
1038 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * cursor.C (dispatch): restore current_ before returning
1041
1042 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * text2.C (cursorUp, cursorDown): fix coords
1045         (moveUp): fix crash
1046
1047 2004-02-12  André Pönitz  <poenitz@gmx.net>
1048
1049         * lyxtext.h:
1050         * text.C:
1051         * text2.C:
1052         * text3.C: add LCursor & parameter to most cursor movement functions
1053           remove usage of LyXText::cursorRow() and cursorPar()
1054
1055         * cursor.[Ch]: add textRow() needed members
1056
1057         * BufferView.C:
1058         * BufferView_pimpl.C:
1059         * paragraph.[Ch]:
1060         * BufferView.C:
1061         * BufferView_pimpl.C: adjust
1062
1063 2004-02-11  André Pönitz  <poenitz@gmx.net>
1064
1065         * lyxfunc.C:
1066         * BufferView.[Ch]:
1067         * BufferView_pimpl.C: shift undo/redo handling
1068
1069         * cursor.[Ch]: fix mathed crash
1070
1071         * lyxfind.C:
1072         * lyxtext.h: move selectionAsText to LCursor
1073
1074         * output_latex.C:
1075         * paragraph.C:
1076         * text.C:
1077         * text2.C:
1078         * text3.C: adjust
1079
1080         * rowpainter.C: fix excessive drawing
1081
1082 2004-02-06  André Pönitz  <poenitz@gmx.net>
1083
1084         * BufferView.[Ch]:
1085         * BufferView_pimpl.[Ch]:
1086         * text3.C: move some text specific LFUN handling
1087
1088 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * text3.C (checkInsetHit): adjust coords
1091         * text2.C (getColumnNearX): adjust coords
1092         (edit): adjust coords
1093         * text.C (getRowNearY): add two asserts
1094
1095 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1096
1097         * converter.C:
1098         * format.C: add using std::distance to compile on gcc 2.95/stlport
1099
1100 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1103
1104 2004-02-04  André Pönitz  <poenitz@gmx.net>
1105
1106         * BufferView.[Ch] (insertInset):
1107         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1108
1109         * text2.C:
1110         * text3.C: adjust
1111
1112 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1115         on the default clause of the switch
1116         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1117         wasn't catched by LCursor::dispatch
1118
1119 2004-02-03  André Pönitz  <poenitz@gmx.net>
1120
1121         * BufferView.C:
1122         * cursor.[Ch]: some additional asserts
1123
1124         * undo.[Ch]: remove LyXText dependency in interface
1125
1126         * lyxfunc.C: adjust
1127
1128         * lyxtext.h (firstPar, lastPar): remove dead functions
1129
1130         * text.C:
1131         * text2.C:
1132         * text3.C:
1133         * paragraph.[Ch]: adjust
1134
1135 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1136
1137         * lyxfind.C (find): fix argument order in call to ::find
1138
1139 2004-02-02  André Pönitz  <poenitz@gmx.net>
1140
1141         * cursor.[Ch]: remove direct access to anchor
1142
1143         * text.C: remove findText() hack
1144
1145 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * iterators.[Ch] (lockPath): remove in favour of...
1148         * BufferView.[Ch] (setCursor): this addition
1149         * BufferView.C (putSelectionAt): adjust
1150         * undo.C (performUndoOrRedo): adjust
1151         * lyxfunc.C (dispatch): adjust
1152
1153 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1154
1155         * iterators.C (lockPath): add a missing slice
1156         * undo.C (performUndoOrRedo): remove redundant positioning code
1157
1158 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * vc-backend.C (scanMaster): ";" -> ';'
1161
1162 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1163
1164         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1165         std::binary_function
1166
1167         * lyxtextclass.C (compare_name): rename to...
1168         (LayoutNamesEqual): ...this
1169
1170         * lyxlex_pimpl.C (compare_tags): inherit from
1171         std::binary_function, put back into anon namespace
1172
1173         * lyxfind.C (MatchString): inherig from std::binary_function
1174         (findChange): use empty() istead of !size()
1175
1176         * format.C (FormatNamesEqual): new functor
1177         (getFormat): use it
1178         (getNumber): use it
1179         (add): use it
1180         (erase): use it
1181         (setViewer): use it
1182
1183         * converter.C (compare_Converter): rename to...
1184         (ConverterEqual): ...this, and fixup a bit.
1185         (getConverter): use it, and make function const
1186         (getNumber): use it, and make function const
1187         (add): use it
1188         (erase): use it:
1189
1190         * bufferlist.C: add using boost::bind
1191
1192         * MenuBackend.C (MenuNamesEqual): new functor
1193         (hasMenu): use it, and make function const
1194         (hasSubmenu): use nested bind to get rid of compare_memfun.
1195
1196 2004-01-30  André Pönitz  <poenitz@gmx.net>
1197
1198         * BufferView_pimpl.C:
1199         * cursor.C:
1200         * cursor.h:
1201         * cursor_slice.[Ch]:
1202         * lyxfunc.C:
1203         * lyxtext.h:
1204         * paragraph_funcs.C:
1205         * paragraph_funcs.h:
1206         * rowpainter.C:
1207         * text.C:
1208         * text2.C:
1209         * text3.C: move some of the edit(x,y) handling to the insets
1210         some coordinate changes.
1211
1212 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1213
1214         * text.C: add using statements for std::advance and std::distance
1215
1216         * paragraph.C: add using statement for std::distance
1217
1218         * lyxfind.C: add using statement for std::advance
1219
1220         * cursor.C (region): remove std:: from swap
1221         (openable): use nucleus in stead of operator->
1222
1223         * BufferView.C: add using statements for std::distance and std::swap
1224
1225 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1226
1227         * iterators.C: Remove the pimple, move the needed structures to
1228         the header file. Create accessor for the positions stack.
1229         (asPosIterator): remove function
1230
1231         * PosIterator.C (PosIterator): move constructors to top of file
1232         (PosIterator): reimplement the constructor taking a ParIterator in
1233         terms of setFrom.
1234         (setFrom): new function
1235         (operator!=): inline it
1236
1237 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1238
1239         * lyxfind.C (replaceAll): use std::advance
1240
1241         * iterators.h: inherit from std::iterator.
1242
1243         * PosIterator.C (advance, distance): remove
1244         * PosIterator.h: interit from std::iterator.
1245
1246 2004-01-26  André Pönitz  <poenitz@gmx.net>
1247
1248         * BufferView.[Ch]:
1249         * BufferView_pimpl.[Ch]:
1250         * InsetList.[Ch]:
1251         * PosIterator.[Ch]:
1252         * buffer.h:
1253         * bufferview_funcs.C:
1254         * cursor.[Ch]:
1255         * cursor_slice.h:
1256         * factory.[Ch]:
1257         * iterators.[Ch]:
1258         * lyxfind.C:
1259         * lyxfunc.C:
1260         * lyxtext.h:
1261         * output_docbook.C:
1262         * output_latex.C:
1263         * output_linuxdoc.C:
1264         * output_plaintext.C:
1265         * paragraph.[Ch]:
1266         * paragraph_funcs.[Ch]:
1267         * paragraph_pimpl.[Ch]:
1268         * rowpainter.C:
1269         * tabular.C:
1270         * tabular.h:
1271         * text.C:
1272         * text2.C:
1273         * text3.C: more IU:  dumps most of the rest of the mathcursor
1274     implementation into cursor.[Ch]; "globalize" a bit of it.
1275
1276 2004-01-25  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1279
1280 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * LaTeXFeatures.h: add nice_ and nice() const
1283         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1284
1285 2004-01-20  André Pönitz  <poenitz@gmx.net>
1286
1287         * BufferView.[Ch]:
1288         * BufferView_pimpl.C:
1289         * PosIterator.C:
1290         * bufferview_funcs.C:
1291         * cursor.[Ch]:
1292         * cursor_slice.[Ch]:
1293         * factory.C:
1294         * iterators.C:
1295         * lyx_cb.C:
1296         * lyxfind.C:
1297         * lyxfunc.C:
1298         * lyxtext.h:
1299         * rowpainter.C:
1300         * text.C:
1301         * text2.C:
1302         * text3.C:
1303         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1304           LCursor and mathcursor parts to LCursor and InsetBase.
1305
1306 2004-01-15  André Pönitz  <poenitz@gmx.net>
1307
1308         * cursor_slice.[Ch]: add a few covienience functions
1309
1310         * funcrequest.[Ch]: remove BufferView * member
1311
1312         * BufferView_pimpl.C:
1313         * cursor.C:
1314         * factory.[Ch]:
1315         * lyxfind.[Ch]:
1316         * lyxfunc.C:
1317         * lyxtext.h:
1318         * text3.C:
1319         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1320
1321 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1324         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1325
1326 2004-01-13  André Pönitz  <poenitz@gmx.net>
1327
1328         * textcursor.[Ch]:
1329         * lyxtext.h: hide cursor and selection anchor behind accessor function
1330
1331         * BufferView.C:
1332         * BufferView_pimpl.[Ch]:
1333         * PosIterator.C:
1334         * bufferview_funcs.C:
1335         * cursor.h:
1336         * lyxfind.C:
1337         * lyxfunc.C:
1338         * text.C:
1339         * text2.C:
1340         * text3.C:
1341         * undo.C: adjust
1342
1343         * cursor.h:
1344         * cursor_slice.[Ch]: some integer type changes for inset unification
1345
1346         * lyxcursor.[hC]: remove, it's CursorSlice now.
1347
1348         * Makefile.am:
1349         * BufferView_pimpl.[Ch]:
1350         * bufferview_funcs.C:
1351         * cursor_slice.C:
1352         * lyxtext.h:
1353         * text.C:
1354         * text2.C:
1355         * text3.C:
1356         * textcursor.[Ch]: adjust
1357
1358 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * text2.C (undoSpan): add and use
1361         * text.C (breakParagraph): use undoSpan (fix bug 578)
1362         * lyxtext.h: adjust
1363
1364 2004-01-08  Angus Leeming  <leeming@lyx.org>
1365
1366         * BufferView_pimpl.C (MenuInsertLyXFile):
1367         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1368         * lyxfunc.C (menuNew, open, doImport):
1369         FileFilterList change to the FileDialog open and save functions.
1370
1371 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1372
1373         * ShareContainer.h: make isEqual and isUnique adaptable
1374
1375         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1376
1377 2004-01-07  Angus Leeming  <leeming@lyx.org>
1378
1379         * LyXAction.C:
1380         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1381
1382         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1383
1384         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1385         functions replacing find, replace and replaceAll.
1386
1387         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1388         LFUN_WORDFIND(FORWARD|BACKWARD).
1389
1390 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * text.C (breakParagraph): remove an outdated #warning
1393
1394 2004-01-07  André Pönitz  <poenitz@gmx.net>
1395
1396         * lyxfind.C: somewhat clearer logic
1397
1398         * text.C: prevent crash in cursorX on unitialized row cache
1399
1400 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * lyxcursor.[Ch] (operator>): add
1403         * textcursor.C (selStart, selEnd): use std::min and std::max
1404
1405 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1406
1407         * Chktex.C: include boost/format.hpp
1408
1409 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1410
1411         * InsetList.C: replace functor MathcIt with adaptable functor
1412         InsetTablePosLess
1413         (insetIterator): modify accordingly
1414
1415         * BranchList.h: move the BranchNamesEqual functor here from...
1416         * BranchList.C: ... to here
1417
1418         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1419         SameName and match.
1420         (add): replace a finding loop with std::find_if.
1421
1422 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1423
1424         * output_docbook.C: moving LatexParam functionality into
1425         .layout files
1426
1427 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1428
1429         * buffer.C: increment format to 229.
1430
1431 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1432
1433         * LaTeXFeatures.C:
1434         * lyx_sty.[Ch]: remove minipageindent_def
1435
1436         * LyXAction.C:
1437         * factory.C:
1438         * lfuns.h:
1439         * lyxfunc.C:
1440         * text3.C: remove LFUN_INSET_MINIPAGE
1441
1442 2003-12-28  Angus Leeming  <leeming@lyx.org>
1443
1444         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1445
1446 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * text2.C (setParagraph): fix off-by-one crash
1449
1450 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1451
1452         * output_docbook.C: header stuff for AGU
1453
1454 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1455
1456         * text2.C (redoCursor): remove
1457         * text.C:
1458         * text3.C:
1459         * BufferView_pimpl.C: remove calls to redoCursor and
1460         setCursor(cursor.par(), cursor.pos()) all around
1461
1462 2003-12-15  Angus Leeming  <leeming@lyx.org>
1463
1464         * buffer.C: up the format to 228.
1465
1466 2003-12-15  André Pönitz  <poenitz@gmx.net>
1467
1468         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1469         slices
1470
1471         * Makefile.am:
1472
1473         * BufferView_pimpl.C:
1474         * cursor.[Ch]:
1475         * lyxcursor.[Ch]:
1476         * rowpainter.[Ch]:
1477         * lyxtext.h:
1478         * text.C:
1479         * text2.C:
1480         * text3.C: adjust
1481
1482 2003-12-15  Angus Leeming  <leeming@lyx.org>
1483
1484         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1485         than getFromGUIName to manipulate the color.
1486
1487 2003-12-14  Angus Leeming  <leeming@lyx.org>
1488
1489         * BranchList.[Ch]: minimize the API.
1490         (Branch::getBranch, getColor): now return a 'const &'.
1491         (Branch::setSelected) now returns a bool set to true if the
1492         selection status changes.
1493         (BranchList::clear, size, getColor, setColor, setSelected,
1494         allBranches, allSelected, separator): removed.
1495         (BranchList::find): new functions, returning the Branch with
1496         the given name.
1497         (BranchList::add, remove): return a bool indicating that
1498         the operation was successful.
1499
1500         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1501         new InsetBranch::isBranchSlected member function.
1502
1503         * LColor.[Ch]: mimimize the API.
1504         (fill): renamed as addColor and made private.
1505         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1506         versions of these functions taking a string arg have been removed.
1507
1508         * bufferparams.C (readToken):
1509         * lyxfunc.C (dispatch):
1510         * lyxrc.C (read): changes due to the altered BranchList and
1511         LColor APIs.
1512
1513         * factory.C (createInset, readInset): changes due to altered
1514         InsetBranch c-tor.
1515
1516 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1517
1518         * factory.C:
1519         * lyxfunc.C: remove insetminipage. "minipage-insert"
1520         now produces a frameless minipage box inset.
1521
1522 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1523
1524         * textcursor.[Ch] (selStart,selEnd): add new methods
1525         remove selection::start, end, use LyXCursor::operator<
1526         * lyxcursor.[Ch] (operator<): add
1527         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1528         * BufferView.[Ch] (unsetXSel): add
1529         * text2.C (clearSelection): use unsetXSel,adjust
1530         * text.C: adjust
1531         * text3.C: adjust
1532         * rowpainter.C: adjust
1533         * bufferview_funcs.C (put_selection_at): adjust
1534
1535 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1536
1537         * BufferView_pimpl.C: small coord. correction
1538
1539 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1542         dragging over the splash screen.
1543
1544 2003-12-11  Angus Leeming  <leeming@lyx.org>
1545
1546         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1547         as it is now handled in LyXText::dispatch.
1548
1549         * text3.C (doInsertInset): remove a level of nesting.
1550
1551 2003-12-11  Angus Leeming  <leeming@lyx.org>
1552
1553         * factory.C (createInset): changes due to the changed interface to
1554         InsetCommandMailer::string2params.
1555
1556 2003-12-10  Angus Leeming  <leeming@lyx.org>
1557
1558         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1559         'dialog-show-new-inset <inset name>'
1560
1561 2003-12-10  Angus Leeming  <leeming@lyx.org>
1562
1563         * buffer.C: up the format to 227.
1564
1565         * factory.C: the box inset is now identified simply by 'Box'.
1566
1567 2003-12-10  Angus Leeming  <leeming@lyx.org>
1568
1569         * buffer.C: up the format to 226.
1570
1571         * factory.C: the note inset is now identified simply by 'Note'.
1572
1573 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1574
1575         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1576         when a pit is enough. Standarize a couple of loops.
1577
1578 2003-12-05  Angus Leeming  <leeming@lyx.org>
1579
1580         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1581         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1582         data to the re-worked "log" dialog.
1583
1584 2003-12-03  André Pönitz  <poenitz@gmx.net>
1585
1586         * PosIterator.C:
1587         * iterators.C:
1588         * lyxtext.h:
1589         * output_latex.C:
1590         * paragraph_funcs.C:
1591         * text.C:
1592         * text2.C: use Inset::getText instead of Inset::getParagraph
1593
1594 2003-12-03  André Pönitz  <poenitz@gmx.net>
1595
1596         * buffer.[Ch]:
1597         * lyxtext.h:
1598         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1599         InsetText::read() as LyXText::read()
1600
1601 2003-12-02  Angus Leeming  <leeming@lyx.org>
1602
1603         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1604         type. Add a comment in the implementation that the function uses
1605         the stream's bad() function rather than fail() as the std::streams
1606         would do.
1607
1608 2003-12-02  André Pönitz  <poenitz@gmx.net>
1609
1610         * lyxlex.[Ch]: make interface more similar to std::stream
1611
1612         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1613
1614 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1615
1616         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1617
1618 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1619
1620         * vspace.[Ch]: remove VSpace::NONE
1621
1622 2003-12-01  André Pönitz  <poenitz@gmx.net>
1623
1624         * buffer.[Ch]:
1625         * lyxtext.h: move ParagraphList member to LyXText
1626         rename LyXText::ownerParagraphs to LyXText::paragraph
1627
1628         * CutAndPaste.C:
1629         * bufferview_funcs.C:
1630         * iterators.[Ch]:
1631         * lyx_cb.C:
1632         * paragraph.C:
1633         * rowpainter.C:
1634         * tabular.C:
1635         * text.C:
1636         * text2.C:
1637         * text3.C: adjust
1638
1639         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1640
1641         * undo.C: fix cursor positioning
1642
1643 2003-12-01  John Levon  <levon@movementarian.org>
1644
1645         * BufferView_pimpl.C: fix a crash on exit with
1646         a buffer open
1647
1648 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1649
1650         * BranchList.C: fix setSelected() method.
1651
1652 2003-11-28  André Pönitz  <poenitz@gmx.net>
1653
1654         * ParagraphParameters.[Ch]:
1655         * ParameterStruct.h: remove space above/below from Paragraph to
1656          InsetVSpace
1657
1658         * BufferView_pimpl.C:
1659         * factory.C:
1660         * lyxfunc.C:
1661         * lyxtext.h:
1662         * output_latex.C:
1663         * paragraph.C:
1664         * paragraph_funcs.C:
1665         * rowpainter.[Ch]:
1666         * text.C:
1667         * text2.C:
1668         * text3.C: adjust
1669
1670 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1671
1672         * factory.C: Syntax change for CharStyles
1673
1674 2003-11-28  André Pönitz  <poenitz@gmx.net>
1675
1676         * BufferView.[Ch]:
1677         * BufferView.[Ch]:
1678         * buffer.[Ch]:
1679         * buffer.[Ch]: move LyXText member
1680
1681 2003-11-28  André Pönitz  <poenitz@gmx.net>
1682
1683         * BufferView.[Ch]: make LyXText * text a private member
1684
1685         * BufferView_pimpl.C:
1686         * cursor.C:
1687         * iterators.C:
1688         * lyx_cb.C:
1689         * lyxfind.C:
1690         * lyxtext.h:
1691         * rowpainter.[Ch]:
1692         * text.C:
1693         * text2.C:
1694         * undo.C: adjust
1695
1696         * output_plaintext.C: cleanup
1697
1698 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1699
1700         * buffer.C:
1701         * lyxtextclass.[Ch]: parametrize SGML document header
1702
1703 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1704
1705         * converter.[Ch]:
1706         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1707         getFlavor().
1708
1709 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1710
1711         * text2.C (setFont): rework using PosIterator (no more recursive)
1712         (setCharFont): no more needed
1713         (setLayout): no more selection cursors fiddling (done by redoCursor)
1714         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1715         destroy remaining ones)
1716
1717 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1718
1719         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1720         * lyxtext.h: ditto
1721         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1722         selection cursors
1723         * lyxfunc.C: adjust
1724         * text3.C: adjust + re-allow multi par depth changes
1725         * textcursor.C: simplify a bit
1726
1727 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * src/buffer.C:
1730         * src/lyxlayout.C:
1731         * src/lyxlayout.h:
1732         * src/lyxtext.h:
1733         * src/output_docbook.C:
1734         * src/output_latex.C:
1735         * src/paragraph.C:
1736         * src/paragraph.h:
1737         * src/sgml.C:
1738         * src/sgml.h:
1739         * src/text2.C: Introducing a number of tags parametrizing various
1740         XML formats that we may want to support
1741
1742 2003-11-25  André Pönitz  <poenitz@gmx.net>
1743
1744         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1745
1746         * lyxtext.h (leftMargin/rightMargin): simplify interface
1747
1748         * rowpainter.C:
1749         * text.C:
1750         * text2.C:
1751         * text3.C: adjust
1752
1753 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1754
1755         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1756         master file to any child files. Fixes bug 546.
1757
1758 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1759
1760         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1761
1762 2003-11-24  André Pönitz  <poenitz@gmx.net>
1763
1764         * rowpainter.C: simplification
1765
1766         * text2.C (updateCounters): remove call to redoParagraph on
1767         changed labels as this is far too expensive.
1768
1769 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * converter.C (convert): fix a crash: this function gets
1772         called with buffer == 0 from importer code.
1773
1774 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1775
1776         * text3.C (cursorPrevious): make sure that we do not compare
1777         iterators form different containers.
1778         (cursorNext): ditto
1779
1780         * rowpainter.C (paintSelection): make sure that we do not compare
1781         iterators from different containers.
1782
1783         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1784         iterators from different ParagraphList containers.
1785         [NEXT] ditto
1786
1787         * text2.C (LyXText): change order of initialization slightly
1788         (operator=): new function. copy all variables except cache_par_
1789         (moveUp): make sure that we do not compare iterators from
1790         different ParagraphList constainers.
1791         (moveDown): ditto
1792
1793         * text.C (firstPar): new function
1794         (lastPar): new function
1795         (endPar): new function
1796
1797         * lyxtext.h: move things around and group public functions, public
1798         variables, private functions, private variables
1799
1800 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1801
1802         * factory.C: change call to InsetERT constructor to avoid
1803         additional invocation of method status
1804         * text2.C (toggleInset): remove redundant update() call
1805         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1806         instead of a Bufferview pointer
1807
1808 2003-11-21  André Pönitz  <poenitz@gmx.net>
1809
1810         * rowpainter.C: simplification
1811
1812 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * text3.C (dispatch): make possible to extend a word/row selection
1815         with the mouse
1816
1817 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * lyxtext.h: x0_,y0_ -> xo_,yo_
1820         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1821         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1822         * rowpainter.C (paintRows): paint full paragraphs
1823
1824 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1827         screen coordinates)
1828
1829 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * lyxtext.h: add x0_, y0_
1832         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1833         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1834
1835 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * text2.C (setCursorIntern): move the x_target update here *
1838         * text3.C: change some bv() to true/false in calls to
1839         cursorUp/Down/Right/Left
1840         * cursor.C: use helper function.
1841
1842 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1845         * paragraph_funcs.[Ch]: correct comment
1846         * rowpainter.C: do not paint selections away from bv->cursor()
1847         Fix a long standing selection painting bug.
1848         * text3.C: generalize mouse-selection code to LyXTexts other that
1849         top one
1850         * textcursor.C: do not use y coords if we can use par offsets
1851
1852 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1853
1854         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1855         cursor position after e.g. inset insert)
1856
1857 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * lyxfind.C (replace): adjust to locking removal + some
1860         code simplification
1861
1862 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1863
1864         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1865         of the path
1866
1867 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * lyxlayout.[Ch]:
1870         * output_docbook.C: XML sanitation: new layout
1871         parameters InnerTag and CommandDepth
1872
1873 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1874
1875         * BufferView_pimpl.C:
1876         * factory.C:
1877         * text3.C: Fix the insertion and modification of button-style
1878         insets
1879
1880 2003-11-13  André Pönitz  <poenitz@gmx.net>
1881
1882         * InsetList.[Ch]: remove deleteLyXText
1883
1884         * paragraph.[Ch]: cache beginOfBody position
1885
1886         * Bidi.C:
1887         * text.C:
1888         * text2.C:
1889         * text3.C: remove superfluous update() calls
1890
1891         * vspace.C: cleanup
1892
1893 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1894
1895         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1896         * BufferView.C (fitLockedInsetCursor): remove
1897         * cursor.[Ch] (getDim): add
1898         * text.C (getRowNearY): add faster version
1899         * text3.C: remove some update calls
1900
1901 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1902
1903         * LaTeXFeatures.C:
1904         * LyXAction.C:
1905         * MenuBackend.C:
1906         * MenuBackend.h:
1907         * dispatchresult.h:
1908         * factory.C:
1909         * lfuns.h:
1910         * lyxfunc.C:
1911         * lyxtextclass.C:
1912         * lyxtextclass.h:
1913         * text3.C: The Character Style /XML short element patch.
1914
1915 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1916
1917         * text3.C:
1918         * factory.C: Small step to solving 'unable to insert some insets'
1919         problem
1920
1921 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1922
1923         * cursor.[Ch] (updatePos): new function for updating the y
1924         position of the tip inset
1925         * bufferview_funcs.C (put_selection_at):
1926         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1927
1928 2003-11-11  André Pönitz  <poenitz@gmx.net>
1929
1930         * text.C: remove big comment on invalid Paragraph pointers as it is
1931         not valid anymore
1932
1933 2003-11-11  André Pönitz  <poenitz@gmx.net>
1934
1935         * text_funcs.[Ch]: merge with ...
1936
1937         * text.C: ... this
1938
1939         * lyxtext.h:
1940         * text2.C:
1941         * text3.C: adjust
1942
1943         * Makefile.am: remove text_funcs.[Ch]
1944
1945 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1946
1947         * cursor.C (getPos): return absolute cached y coord
1948
1949         * BufferView_pimpl.C (fitCursor): new simplistic code
1950         (workAreaDispatch): add a fitCursor call
1951
1952 2003-11-10  André Pönitz  <poenitz@gmx.net>
1953
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1956
1957 2003-11-10  André Pönitz  <poenitz@gmx.net>
1958
1959         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1960         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1961         indicate that the cursor needs to leave an inset
1962
1963         * lyxtext.h: remove inset locking
1964
1965         * cursor.[Ch]: re-implement functionality provided by inset locking
1966
1967         * BufferView.[Ch]:
1968         * BufferView_pimpl.[Ch]:
1969         * LyXAction.C:
1970         * bufferview_funcs.[Ch]:
1971         * factory.C:
1972         * funcrequest.[Ch]:
1973         * iterators.C:
1974         * lyx_cb.C:
1975         * lyxfind.C:
1976         * lyxfunc.C:
1977         * text.C:
1978         * text2.C:
1979         * text3.C:
1980         * undo.C: adjust
1981
1982 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1983
1984         * PosIterator.[Ch]: replace the stack with a vector, add inset
1985         accesor
1986         * iterators.[C]: adjust
1987
1988 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1989
1990         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1991         replaced
1992         * paragraph_funcs.C (readParToken): put the correct id in the
1993         error item, not the id of the top paragraph
1994
1995 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1996
1997         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1998         * bufferview_funcs.C (put_selection_at): use the above
1999
2000 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2001
2002         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2003
2004 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * output_linuxdoc.h:
2007         * output_plaintext.h:
2008         * output.h:
2009         * output_docbook.h: add #include statements
2010
2011 2003-11-05  José Matos  <jamatos@lyx.org>
2012
2013         * output_docbook.[Ch]:
2014         * output_latex.[Ch]:
2015         * output_linuxdoc.[Ch]:
2016         * output_plaintext.[Ch]: New files for output formats.
2017         * output.[Ch]: New file for helper functions.
2018
2019         * buffer.[Ch]:
2020         * paragraph_funcs.[Ch]: output functions moved to new files.
2021
2022         * outputparams.h: rename of latexrunparams.h
2023
2024         * LaTeX.[Ch]:
2025         * buffer.[Ch]:
2026         * bufferlist.[Ch]:
2027         * converter.[Ch]:
2028         * exporter.C:
2029         * paragraph.[Ch]:
2030         * paragraph_funcs.[Ch]:
2031         * paragraph_pimpl.[Ch]:
2032         * tabular.[Ch]: rename ascii to plaintext
2033         and LatexRunParams to OutputParams.
2034
2035 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2036
2037         * iterators.[Ch] (text): require bv argument
2038         * undo.C (recordUndo):
2039         * lyxfunc.C (dispatch):
2040         * bufferview_funcs.C (put_selection_at): adjust
2041
2042 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2043
2044         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2045
2046 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2049         nestings
2050
2051 2003-11-04  André Pönitz  <poenitz@gmx.net>
2052
2053         * cursor.[Ch]: restructure
2054
2055         * BufferView.[Ch]:
2056         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2057
2058         * iterators.[Ch] (asCursor): remove
2059
2060         * lfuns.h: remove LFUN_INSET_EDIT
2061
2062         * lyxfunc.C:
2063         * tabular.C:
2064         * text.C:
2065         * text2.C:
2066         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2067
2068 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2069
2070         * lyxfind.[Ch]: complete overhaul
2071         * BufferView_pimpl.C:
2072         * lyxfunc.C: adjust
2073         * paragraph.[Ch] (insert): add
2074
2075 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2076
2077         * BufferView.[Ch]:
2078         * lyxtext.h:
2079         * text.C: remove dead spellcheck code
2080
2081 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * dispatchresult.h: add a val setter
2084
2085         * cursor.C (dispatch): use a tempvar for data_[i]
2086
2087 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2088
2089         * PosIterator.[Ch]: compile fix
2090
2091 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2092
2093         * text.C (cursorPar): deactivate the cursor cache
2094
2095 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2098
2099 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2100
2101         * text3.C (dispatch): adjust for new DisptchResult semantics.
2102
2103         * lyxfunc.C (dispatch): handle update when return from
2104         Cursor::dispatch, adjust for new DispatchResult semantics.
2105
2106         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2107         DispatchResult(true) mean to not update. Add class functions for
2108         setting dispatched and update, as well as reading.
2109
2110         * cursor.C (dispatch): don't handle update here
2111
2112 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2115         * trans_mgr.C: adjust
2116
2117         * paragraph_funcs.C (readParToken): exception safety
2118
2119         * lyxvc.h: store the vcs pointer in a scoped_ptr
2120         * lyxvc.C: adjust
2121
2122         * lyxsocket.C (serverCallback): exception safety
2123
2124         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2125
2126         * ispell.C (clone): make it return a auto_ptr
2127
2128         * factory.C (createInset): exception safety
2129         (readInset): exception safety
2130
2131         * bufferlist.C (newBuffer): exception safety
2132
2133         * Thesaurus.C (Thesaurus): use initialization for aik_
2134
2135         * MenuBackend.C (expandToc): exception safety.
2136
2137 2003-11-03  André Pönitz  <poenitz@gmx.net>
2138
2139         * buffer.C:
2140         * buffer.h:
2141         * bufferview_funcs.C: remove getInsetFromId()
2142
2143         * lyxcursor.[Ch]:
2144         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2145
2146         * lyxfunc.C:
2147         * text2.C:
2148         * text3.C: adjust
2149
2150 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2151
2152         * PosIterator.C (distance, advance): new
2153         * bufferview_funcs.[Ch] (put_selection_at): new
2154         * iterators.[Ch] (lockPath): new
2155
2156 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2157
2158         * iterators.[Ch] (asPosIterator): added
2159         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2160         * PosIterator.[Ch]: added
2161
2162 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * text3.C:
2165         * lyxfunc.C:
2166         * cursor.C (dispatch):
2167         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2168
2169         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2170         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2171         contructor, add a class function dispatched. Remove operator>=
2172
2173 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * debug.C: only use the default constructor for debugstream
2176         (lyxerr) here.
2177
2178         * main.C (main): include debug.h and setup the lyxerr streambuf
2179         here.
2180
2181 2003-10-31  José Matos  <jamatos@lyx.org>
2182
2183         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2184
2185         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2186         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2187         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2188         * paragraph_pimpl.C (simpleTeXSpecialC):
2189         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2190         add LatexRunParams argument.
2191
2192         * exporter.C (Export): change call accordingly.
2193
2194         * latexrunparams.h: add new member to take care of the other backends.
2195 2003-10-30  José Matos  <jamatos@lyx.org>
2196
2197         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2198         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2199         factorise code for paragraph output.
2200         * buffer.[Ch]:
2201         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2202         move functions.
2203
2204 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2205
2206         * text3.C (dispatch):
2207         * lyxfunc.C (dispatch):
2208         * cursor.C (dispatch):
2209         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2210
2211         * dispatchresult.h: make the dispatch_result_t ctor explicit
2212
2213 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2214
2215         * sgml.[Ch]:
2216         * buffer.C: small refactoring of docbook stuff
2217
2218 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2221         meaning.
2222
2223 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2226         operator dispatch_result_t, and operators for == != and >=
2227
2228         * cursor.C (dispatch): adjust for operator dispatch_result_t
2229         removal. comment out call to update
2230
2231         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2232
2233 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2234
2235         * text3.C:
2236         * text2.C:
2237         * text.C:
2238         * lyxtext.h:
2239         * lyxfunc.C:
2240         * cursor.C:
2241         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2242         (dispatch):
2243
2244         * dispatchresult.h: new file, DispatchResult broken out of
2245         insets/insetbase.h
2246
2247         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2248
2249 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2250
2251         * text.C (rowBreakPoint): put a hack inside #if 0
2252
2253 2003-10-28  André Pönitz  <poenitz@gmx.net>
2254
2255         * lyxtext.h:
2256         * metricsinfo.C:
2257         * paragraph_funcs.C:
2258         * rowpainter.C:
2259         * text.C:
2260         * text2.C: general cleanup (lots of small stuff)
2261
2262 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * text2.C (cursorEnd): simple fix to the "end key goes to one
2265         before the end on last row" bug
2266
2267 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2268
2269         * text.C (backspace): fix the "zombie characters"
2270
2271 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2274
2275 2003-10-27  André Pönitz  <poenitz@gmx.net>
2276
2277         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2278
2279         * factory.C: handle new InsetPagebreak, InsetLine
2280
2281         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2282         and move handling into new InsetPagebreak, InsetLine
2283
2284         * BufferView_pimpl.C:
2285         * LyXAction.C:
2286         * ParagraphParameters.C:
2287         * ParameterStruct.h:
2288         * lyxfunc.C:
2289         * lyxtext.h:
2290         * paragraph.C:
2291         * paragraph.h:
2292         * paragraph_funcs.C:
2293         * paragraph_pimpl.C:
2294         * rowpainter.C:
2295         * text.C:
2296         * text2.C:
2297         * text3.C: adjust
2298
2299 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2300
2301         * text.C:
2302         * lyxrow_funcs.[Ch]:
2303         * Bidi.C:
2304         * paragraph.C:
2305         * lyxtext.h:
2306         * rowpainter.C:
2307         * text2.C:
2308         * text3.C: remove lastPos uses in favour of Row::endpos
2309
2310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * undo.C (performUndoOrRedo): fix two crashes by setting a
2313         cursor by hand and reordering some calls. Use bv->lockInset instead
2314         of inset->edit because the latter loses cursor information
2315
2316 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2317
2318         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2319         by Martin
2320         (rowBreakPoint): fix width. change point to point + 1.
2321         Add a missing check.
2322
2323 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2324
2325         * MenuBackend.C:
2326         * lyxfunc.C: fix (at least partly) the problems
2327         with the Nav menu and headers inside branch insets
2328         reported by Kayvan
2329
2330 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2331
2332         * paragraph.C (getChar): add strong asserts
2333
2334         * lyxrow_funcs.C (lastPos): remove hideous hack
2335
2336         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2337         (fill): adjust to that (avoid an infinite loop)
2338
2339 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2340
2341         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2342
2343 2003-10-23  André Pönitz  <poenitz@gmx.net>
2344
2345         * RowList_fwd.h: change list<> to vector<> to gain speed
2346         after suggestion from Alfredo
2347
2348 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2349
2350         * lyxtext.h: move the bidi stuff from here...
2351         * text.C: and here
2352         * text2.C: and here
2353         * Bidi.[Ch]: ... to here
2354
2355 2003-10-23  André Pönitz  <poenitz@gmx.net>
2356
2357         * lyxtext.h:
2358         * text.C (isLastRow, isFirstRow): new functions
2359
2360         * paragraph.h: new width cache member
2361
2362         * rowpainter.C: replace RowList::iterator with Row & where possible
2363
2364         * lyxfunc.C: replace several view()->text with a single call
2365
2366         * toc.C: fix 'unused' warning
2367
2368 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2371         when woring with stream::pos_type
2372         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2373
2374 2003-10-22  André Pönitz  <poenitz@gmx.net>
2375
2376         * lyxtext.h:
2377         * text.C: use Row & instead of RowList::iterator
2378
2379         * lyxrow.h: rename end() to endpos()
2380
2381         * rowpainter.C:
2382         * text.C:
2383         * text2.C: adjust
2384
2385 2003-10-22  Angus Leeming  <leeming@lyx.org>
2386
2387         * buffer.[Ch] (fully_loaded): new member function, returning true
2388         only when the file has been loaded fully.
2389         Used to prevent the premature generation of previews and by the
2390         citation inset to prevent computation of the natbib-style label.
2391
2392         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2393         templates are all set up.
2394
2395         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2396
2397 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2398
2399         * text.C: fixed an "oops" in the "is a bit silly"
2400         bug fix
2401
2402 2003-10-21  André Pönitz  <poenitz@gmx.net>
2403
2404         * FuncStatus.[Ch]: small stuff, whitespace
2405
2406         * lyxfont.[Ch]: operator<<() for debug reasons
2407
2408         * lyxfunc.C:
2409         * lyxrow_funcs.C:
2410         * lyxtext.h: whitespace, spelling
2411
2412         * paragraph.C: naming of variables
2413
2414         * text.C:
2415         * text2.C: small stuff
2416
2417
2418 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2419
2420         * text.C: (1) finish off the inset display() work;
2421         (2) fix the "is a bit silly" bug (accessing char
2422         past end of par).
2423
2424 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2425
2426         * text.C: re-introduce display() for insets, fixing the
2427         various bugs (stretch of line above, math inset
2428         positioning, ...)
2429
2430 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * text.C (rightMargin): remove spurious semicolon
2433
2434         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2435         1415)
2436
2437 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2438
2439         * text3.C: fix one crash due to wrong cursor def
2440
2441 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * vc-backend.C (scanMaster): make the regex static
2444
2445         * LaTeX.C (scanAuxFile): make the regexs static
2446
2447         * text3.C (doInsertInset, dispatch, dispatch):
2448         * text2.C (cursorUp, cursorDown):
2449         * text.C (selectNextWordToSpellcheck):
2450         * BufferView_pimpl.C (dispatch):
2451         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2452
2453 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * lyxsocket.C: include <cerrno>
2456
2457 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * lyxfunc.C (dispatch): remove textcache stuff
2460
2461         * bufferlist.C (release): remove textcache stuff
2462         (closeAll): ditto
2463
2464         * TextCache.C: delete file
2465         * TextCache.h: delete file
2466
2467         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2468
2469         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2470         delete of the bv_->text.
2471         (resizeCurrentBuffer): remove texcache stuff
2472         (workAreaResize): ditto
2473
2474 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2475
2476         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2477         action.
2478
2479 2003-10-16  André Pönitz  <poenitz@gmx.net>
2480
2481         * lyxrow.[Ch]:
2482         * paragraph.h:
2483         * rowpainter.C:
2484         * text.C:
2485         * text2.C:
2486         * text3.C: speed up by storing y positions per paragraph plus per-row
2487         offset instead of having a 'full' y position in the row.
2488
2489 2003-10-15  André Pönitz  <poenitz@gmx.net>
2490
2491         * iterators.[Ch]:
2492         * iterators.[Ch]:
2493         * undo.[Ch]: make undo aware of inner insets
2494
2495 2003-10-14  Angus Leeming  <leeming@lyx.org>
2496
2497         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2498         static member functions LyX::ref() and LyX::cref.
2499         (lastfiles): new accessor functions for the new lastfiles_ member var.
2500         (addLyXView, views_): add a new LyXView to the list of views_.
2501         (updateInset): loop over all LyXViews to call their own updateInset
2502         member function, returning a pointer to the Buffer owning the inset.
2503
2504         * BufferView_pimpl.C (loadLyXFile):
2505         * MenuBackend.C (expandLastfiles):
2506         * bufferlist.C (MenuWrite, QuitLyX):
2507         lastfiles is no longer a global variable.
2508         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2509
2510         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2511         static function. Access through LyX::cref().emergencyCleanup().
2512
2513 2003-10-14  André Pönitz  <poenitz@gmx.net>
2514
2515         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2516
2517         * undo.[Ch]: restoring part of 'undo in insets'
2518
2519         * Makefile.am:
2520         * undo_funcs.[Ch]: merge with undo.[Ch]
2521
2522         * tabular.C: small cleansing stuff
2523
2524 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * paragraph_funcs.C (readParToken): report unknown insets as error
2527         boxes. Use the outer paragraph as location (also for unknown
2528         tokens).
2529
2530         * factory.C (readInset): do not abort on reading an unknown inset.
2531         Eat it and return 0.
2532
2533 2003-10-13  Angus Leeming  <leeming@lyx.org>
2534
2535         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2536
2537         * lyxrc.C: displayTranslator is now a function,
2538         declared in GraphicsTypes.h.
2539
2540 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2541
2542         * format.C: new placeholder $$a to pass the socket address.
2543
2544         * bufferlist.[Ch]: new function getBufferFromTmp.
2545
2546         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2547           files in the temporary dir.
2548
2549 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2550
2551         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2552
2553         * Makefile.am: add lyxsocket.[Ch].
2554
2555         * lyx_main.C (error_handler): handle SIGPIPE.
2556
2557 2003-10-13  André Pönitz  <poenitz@gmx.net>
2558
2559         * BufferView_pimpl.C:
2560         * lyxtext.h:
2561         * text.C:
2562         * text2.C:
2563         * text3.C:
2564         * undo_funcs.[Ch]: use paroffset_type instead of
2565           ParagraphList::iterators to prevent multiple conversion
2566           (and get a more robust interface)
2567
2568 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2569
2570         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2571         * lyxtext.h: ditto
2572         * text3.C (dispatch): ditto
2573
2574 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2577         move the onlyfile, use onlyfile instead of foundfile in a couple
2578         of places.
2579
2580         * DepTable.C (update): flush the error stream a bit more
2581
2582 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * lyxserver.C (callback): adjust
2585
2586         * lyxfunc.C (getStatus): add a missing brace in commented code
2587         (ensureBufferClean): reindent
2588         (dispatch): delete version taking a string
2589
2590 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * LaTeX.C (deplog): move found file handlig from here...
2593         (handleFoundFile): .. to new function here.
2594         (deplog): make sure to discover several files mentioned on the
2595         same log line.
2596
2597 2003-10-10  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxfunc.C:
2600         * lyxtext.h:
2601         * tabular.C:
2602         * text.C:
2603         * text2.C:
2604         * text3.C: fix some of the tabular crashes
2605
2606 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2607
2608         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2609
2610         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2611
2612 2003-10-09  André Pönitz  <poenitz@gmx.net>
2613
2614         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2615
2616         * BufferView.C:
2617         * BufferView_pimpl.C:
2618         * bufferview_funcs.C:
2619         * lyx_cb.C:
2620         * lyxcursor.C:
2621         * lyxfind.C:
2622         * lyxfunc.C:
2623         * lyxtext.h:
2624         * text.C:
2625         * text2.C:
2626         * text3.C:
2627         * text_funcs.[Ch]:
2628         * textcursor.[Ch]:
2629         * undo_funcs.C: adjust
2630
2631 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * text2.C (incrementItemDepth): new function, use a backtracking
2634         algorithm to discover the correct item depth.
2635         (resetEnumCounterIfNeeded): new function, use a backtracking
2636         algorithm to discover if counter reset is needed.
2637         (setCounter): use them. Simplify a bit. Add different labels for
2638         different item depths for itemize.
2639
2640         * paragraph.C (Paragraph): remove initialization of enumdepth
2641         (operator=): ditto
2642
2643         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2644         enumerate and itemize. Change the type of itemdepth to signed char.
2645
2646 2003-10-08  André Pönitz  <poenitz@gmx.net>
2647
2648         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2649           thing assignable.
2650         * text.C:
2651         * text2.C: adjust
2652
2653         * tabular.[Ch]: fix crash after 'row-insert'
2654
2655 2003-10-08  Angus Leeming  <leeming@lyx.org>
2656
2657         Fix doxygen warnings.
2658
2659         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2660         Remove CutAndPaste:: prefix from header file declaration.
2661
2662         * LColor.h (fill): remove LColor:: prefix from declaration.
2663
2664         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2665         use lyx::depth_type rather than Paragraph::depth_type so that
2666         header file and .C file match.
2667
2668         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2669
2670         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2671         * aspell.C: \file aspell_local.C -> \file aspell.C
2672         * gettext.C: \file gettext.C -> \file src/gettext.C
2673         * gettext.h: \file gettext.h -> \file src/gettext.h
2674         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2675         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2676         * text.C: \file text.C -> \file src/text.C
2677
2678         * toc.C: move comment so that doxygen is not confused.
2679
2680 2003-10-07  Angus Leeming  <leeming@lyx.org>
2681
2682         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2683
2684 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2685
2686         * aspell.C:
2687         * aspell_local.h: add forgotten std::string's.
2688
2689 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2690
2691         * LaTeXFeatures.C:
2692         * LyXAction.C:
2693         * factory.C:
2694         * lfuns.h:
2695         * lyxfunc.C:
2696         * text3.C: The Box patch. Fancybox support, minipage, parbox
2697
2698 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2699
2700         * CutAndPaste.h:
2701         * DepTable.h:
2702         * FloatList.h:
2703         * LaTeXFeatures.h:
2704         * ParagraphParameters.h:
2705         * TextCache.h:
2706         * Thesaurus.h:
2707         * bufferlist.h:
2708         * exporter.h:
2709         * importer.h:
2710         * lastfiles.h:
2711         * lyxfind.h:
2712         * lyxfont.h:
2713         * lyxlex.h:
2714         * lyxtextclasslist.h:
2715         * messages.h:
2716         * paragraph.h:
2717         * paragraph_pimpl.C:
2718         * textcursor.h: add <string> and other small fixes to make Lars'
2719         std::string patch compile with STLport.
2720
2721 2003-10-06  Angus Leeming  <leeming@lyx.org>
2722
2723         * LColor.h: Add missing #include <string>.
2724
2725 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * All most all file in all subdirs: Make <string> be the prefered
2728         way of getting to std::string, add using declarations.
2729
2730 2003-10-06  André Pönitz  <poenitz@gmx.net>
2731
2732         * metricsinfo.C: initialize LyXFont before changing attribute.
2733         (fixes the 'math in \emph is upright' bug)
2734
2735 2003-10-06  André Pönitz  <poenitz@gmx.net>
2736
2737         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2738
2739 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2740
2741         * graph.C:
2742         * paragraph_pimpl.C: Small fixes to build using STLport
2743
2744 2003-10-02  André Pönitz  <poenitz@gmx.net>
2745
2746         * lyxfunc.C:
2747         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2748
2749 2003-10-01  André Pönitz  <poenitz@gmx.net>
2750
2751         * factory.C: assert early
2752
2753 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * lyx_main.C: remove the global debug object
2756
2757         * debug.h: adjust for new debugstream
2758
2759         * debug.C: adjust for new debugstream and keep the global debug
2760         object here.
2761
2762 2003-09-22  Angus Leeming  <leeming@lyx.org>
2763
2764         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2765         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2766         an incomplete class LyXFont.
2767
2768 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2769
2770         * factory.C: bug fix in branches
2771
2772 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * lyxfunc.C (processKeySym): adjust
2775         (dispatch): adjust
2776         (dispatch): change arg name from ev to func, adjust
2777         (sendDispatchMessage): ditto
2778
2779         * lyx_main.C (defaultKeyBindings): adjust keybindings
2780         (deadKeyBindings): ditto
2781
2782         * kbsequence.C (addkey): return a FuncRequest
2783
2784         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2785
2786         * kbmap.C (bind): take a FuncRequest as arg, adjust
2787         (read): adjust
2788         (lookup): adjust
2789         (defkey): change to take a FuncRequest as arg, adjust
2790         (findbinding): take a FuncRequest as arg, adjust.
2791
2792         * funcrequest.h (operator=): added
2793
2794         * funcrequest.C (FuncRequest): default kb_action changed from
2795         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2796
2797         * buffer.C (dispatch): simplify
2798         (dispatch): adjust to take a FuncRequest as arg, adjust
2799
2800         * boost.C (assertion_failed): change assertion message slightly
2801
2802         * ToolbarBackend.C (read): simplify
2803
2804         * MenuBackend.C (binding): adjust call to findbinding, add a
2805         message if no binding is found.
2806         (read): simplify
2807         (expandToc): correct by adding a empty FuncRequest
2808
2809         * LyXAction.C: include <boost/assert.hpp>
2810         (isPseudoAction): delete function
2811         (LookupFunc): change name to...
2812         (lookupFunc): this. change return type to FuncRequest.
2813         (getActionName): take kb_action as arg, simplify
2814         (funcHasFlag): add an assert, simplify.
2815
2816 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * toc.C (action): return a FuncRequest, simplify
2819
2820         * lyxfunc.C (processKeySym): adjust
2821         (getStatus): delete version that takes an int.
2822         (getStatus): adjust
2823         (dispatch): delete version that takes action as int
2824         (dispatch): adjust
2825         (sendDispatchMessage): simplify and adjust
2826
2827         * funcrequest.C (getArg): take unsigned int as arg
2828
2829         * ToolbarBackend.C (read): adjust
2830         (add): delete version that takes func as a string.
2831         (getIton): take a FuncRequest as arg
2832
2833         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2834         action.
2835
2836         * MenuBackend.C (MenuItem): add a new construct that only takes a
2837         Kind, simplify the constructor use for submenus.
2838         (add): adjust
2839         (expandLastfiles): adjust
2840         (expandDocuments): adjust
2841         (expandFormats): adjust
2842         (expandFloatListInsert): adjust
2843         (expandFloatInsert): adjust
2844         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2845
2846         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2847         Remove class variables lyx_pseudo_map and lyx_arg_map
2848
2849         * LyXAction.C (searchActionArg): delete function
2850         (getPseudoAction): delete function
2851         (retrieveActionArg): delete function
2852         (LookupFunc): make it return kb_action, simplify.
2853         (getActionName): simplify
2854
2855         * factory.C (createInset): fix new bug
2856
2857 2003-09-19  Angus Leeming  <leeming@lyx.org>
2858
2859         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2860         masterFilename_ parameter in the include inset.
2861
2862         * factory.C (createInset): changes due to the changes to InsetInclude.
2863
2864 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2865
2866         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2867
2868 2003-09-18  Angus Leeming  <leeming@lyx.org>
2869
2870         * buffer.C:
2871         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2872         Inset::fillWithBibKeys.
2873         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2874
2875 2003-09-18  Angus Leeming  <leeming@lyx.org>
2876
2877         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2878         variables.
2879         (ctor): pass and store a 'Buffer const &'
2880         (buffer): new member function.
2881
2882         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2883         '*this' to the LaTeXFeatures ctor.
2884
2885 2003-09-18  Angus Leeming  <leeming@lyx.org>
2886
2887         * LColor.h:
2888         * lyxfont.C:
2889         * lyxfont.h:
2890         * lyxtext.h:
2891         * text.C: rename EnumLColor as LColor_color.
2892
2893 2003-09-18  Angus Leeming  <leeming@lyx.org>
2894
2895         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2896         remove #include "insets/insetbase.h" from cursor.h.
2897
2898 2003-09-18  Angus Leeming  <leeming@lyx.org>
2899
2900         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2901         InsetOld_code to remove #include "inset.h".
2902
2903         * iterators.C: add #include "insets/inset.h"
2904
2905 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2906
2907         * BufferView.C: remove more locking stuff that apparently doesn't
2908         do anything sensible.
2909
2910 2003-09-16  André Pönitz  <poenitz@gmx.net>
2911
2912         * paragraph.[Ch]:
2913         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2914           performance boost.
2915
2916 2003-09-16  Angus Leeming  <leeming@lyx.org>
2917
2918         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2919
2920         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2921         arg/return type.
2922
2923         * paragraph.h: remove #include "lyxfont.h". Forward declare
2924         LyXFont_size.
2925
2926 2003-09-16  Angus Leeming  <leeming@lyx.org>
2927
2928         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2929         of support/textutils.h.
2930         (isWord): move the contents of support/textutils.h's IsWordChar here.
2931
2932         * buffer.C:
2933         * lyxfind.C:
2934         * rowpainter.C:
2935         * text.C:
2936         * text2.C: add #include "paragraph.h".
2937
2938         * rowpainter.C:
2939         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2940
2941 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * main.C:
2944         * lyx_main.C:
2945         * lyx_cb.C:
2946         * buffer.C:
2947         * LaTeX.C: use namespace alias for lyx::support::os
2948
2949 2003-09-16  Angus Leeming  <leeming@lyx.org>
2950
2951         * bufferparams.C:
2952         * bufferview_funcs.C:
2953         * factory.C:
2954         * lyxfunc.C:
2955         * paragraph_pimpl.C:
2956         * rowpainter.C:
2957         * text.C: add #include "LColor.h".
2958
2959 2003-09-16  Angus Leeming  <leeming@lyx.org>
2960
2961         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2962         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2963         return LyXFont &.
2964         Store the FontBits::color variable as an int rather than as an
2965         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2966         file.
2967
2968         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2969         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2970         string calls together.
2971
2972         * lyxrc.C: add #include "LColor.h".
2973
2974 2003-09-15  Angus Leeming  <leeming@lyx.org>
2975
2976         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2977         a cow_ptr.
2978
2979 2003-09-15  Angus Leeming  <leeming@lyx.org>
2980
2981         * LColor.h: add an EnumLColor wrapper for LColor::color.
2982
2983         * lyxfont.[Ch] (color, setColor, realColor):
2984         * lyxtext.h, text.C (backgroundColor):
2985         pass EnumLColor args to/from the functions, rather than LColor::color
2986         ones.
2987
2988         * lyxfont.h:
2989         * lyxtext.h: forward declare EnumLColor.
2990
2991         * lyx_main.C: add #include "LColor.h".
2992
2993 2003-09-15  Angus Leeming  <leeming@lyx.org>
2994
2995         * .cvsignore: add lyx-gtk.
2996
2997 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * Chktex.C
3000         * LaTeX.C
3001         * LaTeXFeatures.C
3002         * ParagraphParameters.C
3003         * Spacing.C
3004         * buffer.C
3005         * bufferparams.C
3006         * bufferview_funcs.C
3007         * chset.C
3008         * counters.C
3009         * funcrequest.C
3010         * lyxfont.C
3011         * lyxgluelength.C
3012         * lyxlength.C
3013         * paragraph.C
3014         * paragraph_funcs.C
3015         * text3.C
3016         * vc-backend.C: remove usage of STRCONV
3017
3018 2003-09-15  Angus Leeming  <leeming@lyx.org>
3019
3020         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3021         explicitly define the color passed to the painter.
3022
3023 2003-09-15  Angus Leeming  <leeming@lyx.org>
3024
3025         * bufferparams.C (BufferParams): reorder member initializers to avoid
3026         compiler warning.
3027
3028 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3029
3030         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3031         * text.C (updateRowPositions): remove an unusual nop
3032
3033 2003-09-12  André Pönitz  <poenitz@gmx.net>
3034
3035         * BufferView_pimpl.C:
3036         * Bullet.C:
3037         * layout.h:
3038         * lyxfunc.C:
3039         * lyxlayout.[Ch]:
3040         * lyxtextclass.C:
3041         * rowpainter.C:
3042         * text.C:
3043         * text2.C:
3044         * Counters.[Ch]: finish the 'automatic counters' job
3045
3046 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3047
3048         * aspell.C: include <boost/assert.cpp> (compile fix)
3049
3050 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3051
3052         * boost.C (assertion_failed): use lyx::support::abort instead of
3053         assert.
3054
3055 2003-09-10  Angus Leeming  <leeming@lyx.org>
3056
3057         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3058         with their _fwd progeny.
3059
3060 2003-09-09  Angus Leeming  <leeming@lyx.org>
3061
3062         134 files throughtout the source tree: replace 'using namespace abc;'
3063         directives with the appropriate 'using abc::xyz;' declarations.
3064
3065 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3066
3067         * boost.C (emergencyCleanup): moved here from LAssert.c
3068         (assertion_failed): new function, called by BOOST_ASSERT
3069
3070         * several files: change Assert to BOOST_ASSERT
3071
3072 2003-09-09  Angus Leeming  <leeming@lyx.org>
3073
3074         * buffer.[Ch]: Add an Impl class and move Buffer's member
3075         variables into it. As a result move several header files out of
3076         buffer.h.
3077
3078         Add header files to lots of .C files all over the tree as a result.
3079
3080 2003-09-09  Angus Leeming  <leeming@lyx.org>
3081
3082         * buffer.[Ch]: make Buffer's member variables private. Add
3083         accessor functions.
3084
3085         Lots of changes all over the tree as a result.
3086
3087 2003-09-08  Angus Leeming  <leeming@lyx.org>
3088
3089         * graph.C: #include <config.h>.
3090
3091 2003-09-08  Angus Leeming  <leeming@lyx.org>
3092
3093         * BranchList.C:
3094         * BufferView.C:
3095         * BufferView_pimpl.C:
3096         * CutAndPaste.C:
3097         * DepTable.C:
3098         * LaTeX.C:
3099         * LaTeXFeatures.C:
3100         * LyXAction.C:
3101         * MenuBackend.C:
3102         * TextCache.C:
3103         * aspell.C:
3104         * buffer.C:
3105         * bufferlist.C:
3106         * changes.C:
3107         * chset.C:
3108         * converter.C:
3109         * counters.C:
3110         * debug.C:
3111         * graph.C:
3112         * ispell.C:
3113         * lyx_cb.C:
3114         * lyxfind.C:
3115         * lyxfunc.C:
3116         * lyxlex_pimpl.C:
3117         * lyxrc.C:
3118         * lyxrow.C:
3119         * paragraph.C:
3120         * rowpainter.C:
3121         * texrow.C:
3122         * text.C:
3123         * text2.C:
3124         * toc.C: remove redundant using directives.
3125
3126 2003-09-07  Angus Leeming  <leeming@lyx.org>
3127
3128         * LaTeXFeatures.h: remove #include "support/types.h".
3129         * ToolbarBackend.h: remove #include <algorithm>.
3130         * changes.h: remove #include <ctime>.
3131         * debug.h: remove #include <iosfwd>.
3132         * graph.h: remove #include "support/std_string.h".
3133         * lyx_main.h: remove #include <csignal>.
3134         * lyxlex_pimpl.h: remove #include <fstream>.
3135         * sgml.h: remove #include <algorithm>, <utility>.
3136         * toc.h: remove #include "support/std_ostream.h".
3137         Add #include <iosfwd>.
3138
3139 2003-09-07  Angus Leeming  <leeming@lyx.org>
3140
3141         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3142
3143         * converter.h: forward declare LatexRunParams.
3144         * encoding.h: remove #include "lyxrc.h".
3145         * lyxtext.h: remove #include "LColor.h".
3146         * lyxtextclass.h: remove #include "support/types.h".
3147         * trans.h: remove #include "tex-accent.h".
3148         * trans_mgr.h: remove #include "tex-accent.h".
3149         * insets/inset.h: remove #include "support/types.h", <vector>.
3150         * insets/insetcollapsable.h: remove #include "LColor.h".
3151         * insets/insetinclude.h: remove #include "dimension.h".
3152         * insets/insetlatexaccent.h: remove #include "dimension.h".
3153         * insets/insetoptarg.h:: remove #include "insettext.h".
3154         * insets/insettext.h: remove #include "dimension.h",
3155         <boost/shared_ptr.hpp>
3156
3157         * insets/renderers.h: add #include "dimension.h".
3158         * insets/updatableinset.h: add #include "support/types.h".
3159
3160         * many .C files: Associated changes.
3161
3162 2003-09-06  Angus Leeming  <leeming@lyx.org>
3163
3164         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3165         one, inside testInvariant.
3166
3167         * PrinterParams.C: new file.
3168         * PrinterParams.[Ch]: move the function bodies out of line.
3169
3170 2003-09-06  Angus Leeming  <leeming@lyx.org>
3171
3172         * ParagraphParameters.h: forward declare ParameterStruct rather than
3173         including its header file.
3174         (depth): moved out-of-line.
3175
3176 2003-09-06  Angus Leeming  <leeming@lyx.org>
3177
3178         * BufferView_pimpl.h:
3179         * kbmap.h:
3180         * kbsequence.h:
3181         * lyxfunc.h: forward declare LyXKeySym rather than
3182         #include "frontends/LyXKeySym.h".
3183
3184         * BufferView_pimpl.C:
3185         * kbmap.C:
3186         * kbsequence.C:
3187         * lyxfunc.C: associated changes.
3188
3189 2003-09-06  Angus Leeming  <leeming@lyx.org>
3190
3191         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3192         As a result, can remove the #include "insets/inset.h" from BufferView.h
3193
3194 2003-09-06  Angus Leeming  <leeming@lyx.org>
3195
3196         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3197         As a result, can remove the #include "insets/inset.h" from BufferView.h
3198
3199 2003-09-06  Angus Leeming  <leeming@lyx.org>
3200
3201         * buffer_funcs.C:
3202         * buffer.h:
3203         * bufferlist.C:
3204         * BufferView.C:
3205         * bufferview_funcs.C:
3206         * BufferView_pimpl.C:
3207         * CutAndPaste.C:
3208         * lyx_cb.C:
3209         * lyxfunc.C:
3210         * paragraph.h:
3211         * ParagraphParameters.C:
3212         * tabular.C:
3213         * text3.C:
3214         * toc.C:
3215         * undo_funcs.C:
3216         * frontends/controllers/ControlDocument.C:
3217         * insets/insetcaption.C: rearrange the #includes into some sort of
3218         coherent order.
3219
3220         * buffer.h: remove #includes ErrorList.h, undo.h
3221
3222 2003-09-06  Angus Leeming  <leeming@lyx.org>
3223
3224         * support/types.h: add a 'depth_type' typedef, used to store the
3225         nesting depth of a paragraph.
3226
3227         * paragraph.h:
3228         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3229         defining explicitly.
3230
3231         * buffer.h:
3232         * paragraph_funcs.h:
3233         * ParagraphParameters.h:
3234         * sgml.h: use lyx::depth_type rather than Paragraph or
3235         ParameterStruct's depth_type.
3236
3237         * buffer.h
3238         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3239
3240         * BufferView.C:
3241         * BufferView_pimpl.C:
3242         * CutAndPaste.C:
3243         * ParagraphParameters.C:
3244         * buffer_funcs.C:
3245         * bufferlist.C:
3246         * bufferview_funcs.C:
3247         * lyx_cb.C:
3248         * lyxfunc.C:
3249         * tabular.C:
3250         * text3.C:
3251         * toc.C:
3252         * undo_funcs.C:
3253         * frontends/LyXView.C:
3254         * frontends/controllers/ControlDocument.C:
3255         * frontends/controllers/ControlErrorList.C:
3256         * insets/insetbibitem.C:
3257         * insets/insetbranch.C:
3258         * insets/insetcaption.C:
3259         * insets/insetcollapsable.C:
3260         * insets/insetenv.C:
3261         * insets/insetert.C:
3262         * insets/insetfloat.C:
3263         * insets/insetfoot.C:
3264         * insets/insetfootlike.C:
3265         * insets/insetnewline.C:
3266         * insets/insetquotes.C:
3267         * insets/insettabular.C:
3268         * insets/insettext.C:
3269         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3270
3271         * frontends/controllers/ControlChanges.C: #include "changes.h".
3272
3273 2003-09-06  Angus Leeming  <leeming@lyx.org>
3274
3275         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3276         than #including paragraph.h.
3277
3278         * ParagraphList.h:
3279         * RowList.h: deleted. Superfluous.
3280
3281         * CutAndPaste.h:
3282         * iterators.h:
3283         * lyxcursor.h:
3284         * lyxtext.h:
3285         * text_funcs.h:
3286         * undo.h:
3287         * undo_funcs.h:
3288         * insets/inset.h:
3289         * insets/insettext.h: use ParagraphList_fwd.h rather than
3290         ParagraphList.h.
3291
3292         * paragraph.h: don't forward declare ParagraphList.
3293
3294         * buffer.h:
3295         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3296         rather than ParagraphList.h. paragraph.h is still needed for the
3297         Paragraph::depth_type parameters.
3298
3299         * textcursor.h: enable it to compile stand-alone in light of the
3300         above changes.
3301
3302         * bufferview_funcs.C:
3303         * iterators.C:
3304         * lyxfunc.C:
3305         * lyxrow_funcs.C:
3306         * paragraph.C:
3307         * rowpainter.C:
3308         * text.C:
3309         * text2.C:
3310         * text3.C:
3311         * text_funcs.C:
3312         * textcursor.C:
3313         * undo.C:
3314         * frontends/controllers/ControlParagraph.C:
3315         * frontends/controllers/ControlTabular.C:
3316         * insets/insetmarginal.C:
3317         * insets/insetminipage.C:
3318         * insets/insetnote.C:
3319         * insets/insetoptarg.C: add header files needed to compile again.
3320
3321 2003-09-06  Angus Leeming  <leeming@lyx.org>
3322
3323         * RowList_fwd.h: new file, forward-declaring Row rather than
3324         #including lyxrow.h.
3325
3326         * lyxrow_funcs.h:
3327         * lyxtext.h:
3328         * paragraph.h:
3329         * insets/insettext.h: use it instead of RowList.h
3330
3331         * bufferview_funcs.C:
3332         * lyxfunc.C:
3333         * lyxrow_funcs.C:
3334         * paragraph.C:
3335         * rowpainter.C:
3336         * text.C:
3337         * text2.C:
3338         * text3.C: #include "RowList.h".
3339
3340 2003-09-05  Angus Leeming  <leeming@lyx.org>
3341
3342         * factory.C (createInset):
3343         * vspace.C (c-tor): replace sscanf call with an istringstream.
3344         * ispell.C: re-add missing HP/UX headers.
3345         * lyxserver.C: re-add missing  os2 headers.
3346
3347 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3348
3349         * BranchList.C:
3350         * graph.C:
3351         * ispell.C:
3352         * lastfiles.C:
3353         * lyx_cb.C:
3354         * lyxserver.C:
3355         * texrow.C:
3356         * text3.C: re-add missing system headers, needed for 2.95.2.
3357
3358 2003-09-05  Angus Leeming  <leeming@lyx.org>
3359
3360         Changes most place everywhere due to the removal of using directives
3361         from support/std_sstream.h.
3362
3363 2003-09-05  Angus Leeming  <leeming@lyx.org>
3364
3365         Replace LString.h with support/std_string.h,
3366         Lsstream.h with support/std_sstream.h,
3367         support/LIstream.h with support/std_istream.h,
3368         support/LOstream.h with support/std_ostream.h.
3369
3370         Changes resulting throughout the tree.
3371
3372 2003-09-05  Angus Leeming  <leeming@lyx.org>
3373
3374         * sgml.h: ensure that the header file can be compiled stand-alone.
3375         * *.C: strip out redundant #includes. (320 in total.)
3376
3377 2003-09-04  Angus Leeming  <leeming@lyx.org>
3378
3379         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3380         here (from getPackages).
3381
3382         * debug.[Ch]: add a new EXTERNAL tag.
3383
3384 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3385
3386         * text2.C (cursorEnd): simplify
3387         (setCursor): adjust
3388         (getColumnNearX): adjust
3389
3390         * text.C (computeBidiTables): adjust
3391         (fill): adjust
3392
3393         * rowpainter.C (paintChars): adjust
3394         (paintSelection): adjust
3395         (paintChangeBar): adjust
3396         (paintText): adjust
3397
3398         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3399         lastPos instead.
3400         (numberOfSeparators): adjust
3401
3402 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3403
3404         * LyXAction.C:
3405         * box.[Ch]:
3406         * lfuns.h:
3407         * lyxfunc.C:
3408         * text3.C: Restricts the mouse click functionality
3409         of insets like bibtex, include, toc and floatlist to the visible
3410         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3411         up the dialogs. Cursor has to be in front of the inset (i.e.
3412         start of row) for this to function.
3413
3414 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3415
3416         * bufferview_funcs.C (currentState): output row information
3417
3418 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3419
3420         * bufferview_funcs.C (currentState): output paragraph position
3421
3422 2003-09-04  Angus Leeming  <leeming@lyx.org>
3423
3424         * FloatList.h: move out #include "Floating.h".
3425         * LaTeX.h: move out #include "DepTable.h".
3426         * LyXAction.h: move out #include "funcrequest.h".
3427         * buffer.h: move out #include "author.h", "iterators.h".
3428         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3429         * lyx_main.h: move out #include "errorlist.h".
3430         * lyxfunc.h: move out #include "FuncStatus.h".
3431         * lyxtext: move out #include "lyxcursor.h".
3432         * paragraph_pimpl.h: move out #include "counters.h".
3433
3434 2003-09-03  Angus Leeming  <leeming@lyx.org>
3435
3436         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3437         preamble_snippets list, enabling us to add snippets to the preamble
3438         only if the snippet was not there already.
3439
3440 2003-09-04  Angus Leeming  <leeming@lyx.org>
3441
3442         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3443
3444 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3447         update
3448
3449 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3450
3451         * BranchList.C: point fix, earlier forgotten
3452
3453 2003-09-02  Angus Leeming  <leeming@lyx.org>
3454
3455         * box.C (contains): renamed from 'contained' after a fantastic
3456         amount of hot air.
3457
3458 2003-09-02  John Levon  <levon@movementarian.org>
3459
3460         * BufferView.C:
3461         * lyxcursor.h:
3462         * lyxcursor.C:
3463         * lyxfunc.C:
3464         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3465
3466 2003-09-02  John Levon  <levon@movementarian.org>
3467
3468         * text2.C: simplification of cursorEnd(), including partial
3469         fix for bug 1376
3470
3471 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * buffer.C (readFile): add a space
3474
3475 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3476
3477         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3478
3479 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * buffer.C (readFile): new function, take a filename and a
3482         ParagraphList::iterator
3483         (readFile): adjust
3484         (readFile): adjust, make it private. don't use setStream, make
3485         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3486         always contain the filename.
3487
3488         * BufferView.C (insertLyXFile): simplify and make it work for
3489         gzipped files.
3490
3491 2003-08-30  John Levon  <levon@movementarian.org>
3492
3493         * Makefile.am: fix dist (from Kayvan)
3494
3495 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * most files: change to use const Buffer refs
3498
3499 2003-08-27  André Pönitz  <poenitz@gmx.net>
3500
3501         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3502         on top of ownerPar().
3503
3504 2003-08-27  John Levon  <levon@movementarian.org>
3505
3506         * funcrequest.C: properly initialise POD members
3507
3508 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * lyxtext.h (top_y): move top_y from here
3511         * text.C:
3512         * text2.C:
3513         * text3.C:
3514         * BufferView.[Ch]:
3515         * BufferView_pimpl.[Ch]: to here
3516         * frontends/screen.C:
3517         * insets/insettabular.C:
3518         * insets/insettext.C: adjust
3519         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3520
3521 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * BufferView.[Ch]:
3524         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3525
3526 2003-08-26  André Pönitz  <poenitz@gmx.net>
3527
3528         * paragraph_func.[Ch] (outerPar): new function
3529
3530         * paragraph.C:
3531         * paragraph_funcs.C:
3532         * paragraph_funcs.h:
3533         * paragraph_pimpl.C:
3534         * text2.C: remove Inset::par_owner
3535
3536 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3537
3538         * lyxrow_funcs.C:
3539         * lyxtext.h:
3540         * text.C:
3541         * text2.C: eliminates the needFullRow/display() stuff
3542         altogether, putting the logic in metrics/draw in the insets.
3543
3544 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * text2.C (redoParagraphInternal, redoParagraphs):
3547         * text.C (redoParagraph): add a call to updateRowPositions at the
3548         end of each 'metrics-like' call. Remove all others.
3549         (getRow): remove the 'y-computing' version.
3550         (getRowNearY): do not compute nor return the real y. Solve the
3551         'y < 0' problem and simplify.
3552
3553 2003-08-22  Angus Leeming  <leeming@lyx.org>
3554
3555         * *.[Ch]: clean-up of licence and author blurbs.
3556         Also move config.h out of a few .h files and into a few .C files.
3557
3558 2003-08-22  André Pönitz  <poenitz@gmx.net>
3559
3560         * lyxrow.[Ch]: add x_ and *fill_ members
3561
3562         * lyxtext.h:
3563         * text.C:
3564         * rowpainter.C:
3565         * text2.C: adjust/remove prepareToPrint() calls
3566
3567 2003-08-22  André Pönitz  <poenitz@gmx.net>
3568
3569         * lyxrow.[Ch]: add  end_ member
3570
3571         * lyxrow_funcs.C: use LyXRow::end_
3572
3573         * lyxtext.h (singleWidth): add LyXFont parameter
3574
3575         * rowpainter.C:
3576         * text2.C: adjust LyXText::singleWidth() calls
3577
3578         * text.C (redoParagraph): simplify row breaking logic
3579
3580
3581 2003-08-19  André Pönitz  <poenitz@gmx.net>
3582
3583         * funcrequest.C: initialize button_ member
3584
3585         * text3.C:
3586         * rowpainter.[Ch]: interface consolidation
3587
3588 2003-08-18  André Pönitz  <poenitz@gmx.net>
3589
3590         * BufferView.C:
3591         * BufferView_pimpl.C:
3592         * lyxfind.C:
3593         * paragraph_funcs.C:
3594         * rowpainter.C:
3595         * text3.C: remove LyXScreen::draw() and fitCursor calls
3596
3597         * BranchList.h: remove spurious semicolons
3598
3599         * MenuBackend.C: fix branchlist related crash
3600
3601 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3602
3603         * BranchList.[Ch]:
3604         * InsetList.[Ch]:
3605         * LColor.[Ch]:
3606         * LyXAction.C:
3607         * Makefile.am:
3608         * MenuBackend.[Ch]:
3609         * bufferparams.[Ch]:
3610         * factory.C:
3611         * lfuns.h:
3612         * lyxfunc.C:
3613         * text3.C: implements the 'branch inset'
3614         idea. This allows the output of various versions of a document
3615         from a single source version, selectively outputing or suppressing
3616         output of parts of the text.
3617         This implementation contains a 'branch list editor' in a separate
3618         tab of the document settings dialog. Branches are user definable
3619         and have a "display colour" to distinguish them on-screen.
3620
3621         ColorHandler was somewhat cleaned up.
3622         (1) make possible a dynamically growing LColor list by allowing
3623         the graphic context cache to grow along (vector);
3624         (2) eliminate an IMHO unnecessary step in colour allocation.
3625
3626 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3627
3628         * BufferView_pimpl.C: compile fix
3629
3630 2003-08-15  André Pönitz  <poenitz@gmx.net>
3631
3632         * rowpainter.C: remove extra metrics calls
3633
3634         * lyxtext.h: merge the two constructors into a single one,
3635           pass reference to owner's par list
3636
3637         * BufferView_pimpl.C:
3638         * text.C:
3639         * text2.C: adjust
3640
3641 2003-08-15  André Pönitz  <poenitz@gmx.net>
3642
3643         * lyxrow_funcs.[Ch]:
3644         * lyxtext.h:
3645         * paragraph.h:
3646         * paragraph_funcs.C:
3647         * rowpainter.C:
3648         * text.C:
3649         * text2.C:
3650         * text3.C:
3651         * text_funcs.C: split LyXText::rowlist_ into individual
3652         Paragraph::rows_ chunks
3653
3654         * BufferView.[Ch]:
3655         * BufferView_pimpl.[Ch]:
3656         * lyxfind.C:
3657         * lyxtext.h:
3658         * text3.C: remove toggleSelection()
3659
3660 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3661
3662         * bufferlist.C: beautify two alerts (shorter text of buttons)
3663         * buffer.C: Remove redundant ' ' from message
3664         * tabular.h:
3665         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3666         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3667         rename VALIGN_CENTER to VALIGN_MIDDLE
3668
3669 2003-08-11  André Pönitz  <poenitz@gmx.net>
3670
3671         * lyxtext.h (getPar):
3672         * text.C: new function
3673
3674 2003-08-11  André Pönitz  <poenitz@gmx.net>
3675
3676         * Makefile.am:
3677         * tracer.[Ch]: remove unneeded files
3678
3679         * InsetList.[Ch]: remove resizeInsetsLyXText()
3680
3681         * lyxtext.h:
3682         * text.C:
3683         * text2.C:
3684         * text3.C: merge insertParagraphs() and appendParagraph()
3685         remove breakAgain(), update()
3686
3687         * BufferView_pimpl.[Ch]:
3688         * bufferview_funcs.[Ch]:
3689         * lyxfunc.C:
3690         * paragraph.[Ch]:
3691         * rowpainter.C:
3692         * tabular.C: adjust after text & InsetList changes.
3693
3694 2003-08-08  André Pönitz  <poenitz@gmx.net>
3695
3696         * text.C (insertChar, backspace): replace rowlist fiddling
3697         with rebreak of full par
3698
3699         * lyxtext.h:
3700         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3701         checkParagraph, updateInset): removed
3702
3703 2003-08-07  André Pönitz  <poenitz@gmx.net>
3704
3705         * paragraph.C:
3706         * text3.C: merge some LFUN handlers, remove dead code
3707
3708 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3709
3710         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3711
3712 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * text2.C (DEPM): fix part of bug 1255 and 1256
3715
3716 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3717
3718         * BufferView_pimpl.C (workAreaDispatch): change to use
3719         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3720         that are no mouse related.
3721
3722 2003-08-05  André Pönitz  <poenitz@gmx.net>
3723
3724         * BufferView.[Ch]:
3725         * BufferView_pimpl.[Ch]:
3726         * bufferview_funcs.C:
3727         * text2.C:
3728         * text3.C: rip out "deep update"
3729
3730         * textcursor.[Ch] (last_sel_cursor): remove unused member
3731
3732 2003-08-04  André Pönitz  <poenitz@gmx.net>
3733
3734         * BufferView.[Ch]:
3735         * BufferView_pimpl.[Ch]:
3736         * ParagraphParameters.C:
3737         * bufferview_funcs.C:
3738         * lyx_cb.C:
3739         * lyxfind.C:
3740         * lyxfunc.C:
3741         * text.C:
3742         * text2.C:
3743         * text3.C: replace "complicated" BufferView::update(...) calls with
3744         simpler ones.
3745
3746         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3747
3748 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3749
3750         * Makefile.am (lyx_SOURCES): add paper.h
3751
3752 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3753
3754         * Makefile.am: move things around so that both lyx-qt and
3755         lyx-xforms can be built (according to --with-frontend). Then lyx
3756         is a symbolic link to lyx-[firstfrontend]
3757
3758 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3759
3760         * Always use std::endl with lyxerr
3761
3762 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3763
3764         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3765
3766 2003-08-01  André Pönitz  <poenitz@gmx.net>
3767
3768         * BufferView.[Ch]:
3769         * BufferView_pimpl.[Ch]:
3770         * lyxfunc.C:
3771         * text3.C: merge BufferView::repaint() and BufferView::update()
3772
3773 2003-08-01  José Matos  <jamatos@lyx.org>
3774
3775         * buffer.[Ch]: file_format is no longer a buffer data element.
3776
3777 2003-08-01  André Pönitz  <poenitz@gmx.net>
3778
3779         * BufferView.C:
3780         * lyxtext.h:
3781         * text.C:
3782         * text2.C: make redoParagraph more independent of current cursor
3783
3784         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3785         * text.C:
3786         * text2.C: remove unneeded members
3787
3788 2003-07-30  André Pönitz  <poenitz@gmx.net>
3789
3790         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3791
3792         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3793           create a single function...
3794
3795         * paragraph_funcs.C (moveItem): ... here.
3796
3797         * text.C:
3798           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3799
3800 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * LColor.[Ch]: Add comment and greyedout logical colors.
3803
3804 2003-07-30  André Pönitz  <poenitz@gmx.net>
3805
3806         * tabular.C: don't use Assert too heavily. This crashes where it
3807           shouldn't
3808
3809 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3812         is disabled (bug 1232)
3813
3814 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3815
3816         * factory.C: limited 'arg' scope
3817
3818 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * factory.C: fixed Note submenu issues
3821
3822 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * factory.C: submenu for Note/Comment/Greyedout
3825
3826 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3827
3828         * lyx_main.C (LyX):
3829         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3830
3831 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3832
3833         * LaTeXFeatures.C:
3834         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3835         greyedout. Patch provided by Jürgen Spitzmüller.
3836
3837 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3838
3839         * kbmap.C (read): fix error message when reading bind files
3840
3841 2003-07-29  Angus Leeming  <leeming@lyx.org>
3842
3843         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3844         certainly does not do what it purports to do. I am doing it, and
3845         us, a favour by killing it.
3846
3847 2003-07-28  José Matos  <jamatos@lyx.org>
3848
3849         * buffer.C (readBody, do_writeFile):
3850         * paragraph.C(readParagraph): \end_document replaces \the_end.
3851
3852 2003-07-29  André Pönitz  <poenitz@gmx.net>
3853
3854         * BufferView.[Ch]:
3855         * BufferView_pimpl.[Ch]:
3856         * lyxfunc.C:
3857         * text2.C:
3858         * text3.C:
3859         * textcursor.[Ch]: remove toggleToggle & Co
3860
3861 2003-07-28  José Matos  <jamatos@fep.up.pt>
3862
3863         * buffer.C (readParagraph):
3864         * params_func (readParToken, readParagraph):
3865         * paragraph.C (write): \layout -> \begin_layout.
3866
3867 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * lyxlex_pimpl.C (setFile): clean up slightly.
3870
3871         * bufferparams.h: add compressed var
3872
3873         * buffer_funcs.C (readFile): adjust for LyXLex change
3874         (newFile): ditto + simplify
3875
3876         * buffer.C (writeFile): handle writing of compressed files
3877
3878         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3879         Check if the file is compressed and set a bufferparm if so.
3880
3881         * Makefile.am (lyx_LDADD): remove explicit -lz
3882
3883 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3884
3885         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3886         makeDocBookFile): put the real LyX version in the first line of
3887         the file
3888
3889         * version.h:
3890         * version.C.in: remove lyx_docversion
3891
3892         * tabular.C (write_attribute): add a template-based version to
3893         write enums properly
3894
3895 2003-07-28  André Pönitz  <poenitz@gmx.net>
3896
3897         * lyxtext.h:
3898         * text.C:
3899         * text2.C:
3900         * text3.C: use doubles again for x-coordinates. They are needed.
3901
3902 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * messages.C (getLocaleDir): use lyx_localedir()
3905
3906         * lyxlex_pimpl.C (setFile): compress stuff
3907
3908         * buffer.C (writeFile): add some compression stuff
3909         (do_writeFile): new func, dont call expliti close... will this
3910         breake anything?
3911
3912         * Makefile.am (lyx_LDADD): add -lz
3913
3914 2003-07-28  José Matos  <jamatos@fep.up.pt>
3915
3916         * buffer.C: increment file format.
3917         * paragraph_funcs (readParagraph, readParToken):
3918         * paragraph.C (readParagraph): add \end_layout.
3919
3920 2003-07-27  Angus Leeming  <leeming@lyx.org>
3921
3922         * Makefile.am: remove special casing for configure-time setting of
3923         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3924
3925         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3926         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3927
3928 2003-07-26  André Pönitz  <poenitz@gmx.net>
3929
3930         * paragraph_func.[Ch]:
3931         * paragraph.C (realizeFont): inline it whereever it is used
3932
3933         * rowpainter.C:
3934         * text.C:
3935         * text2.C:
3936         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3937
3938
3939 2003-07-26  André Pönitz  <poenitz@gmx.net>
3940
3941         *       lyxtext.h:
3942         * text.C:
3943         * text2.C: get rid of LyXText::need_break_row
3944
3945 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * toc.[Ch]: put namespace toc inside namespace lyx
3948
3949         * MenuBackend.C (expandToc2): adjust for lyx::toc
3950         (expandToc): ditto
3951
3952         * lyxfunc.C (dispatch): adjust for lyx::find
3953
3954         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3955         lyx::find instead. Reorganize a bit.
3956         (LyXReplace): rename to replace
3957         (LyXFind): rename to find
3958
3959         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3960         (dispatch): ditto
3961
3962 2003-07-26  André Pönitz  <poenitz@gmx.net>
3963
3964         * text.C (setHeightOfRow): restrict scope of temporary variable
3965
3966         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3967           code (never has been used?)
3968
3969 2003-07-27  Asger Alstrup  <alstrup@local>
3970
3971         * text.C (fill): Optimise algorithm to exploit that we can reuse
3972         the LyXFont for many characters.
3973         (setHeightOfRow): Same thing.
3974         (rowBreakPoint): Same thing.
3975
3976 2003-07-26  Asger Alstrup  <alstrup@local>
3977
3978         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3979
3980         * text.C (singleWidth): Spurious font copying in hot-spot
3981         singleWidth avoided. Reorder tests for arabic for efficiency.
3982
3983         * text.C (fill): handle empty paragraphs better.
3984
3985 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3986
3987         * ispell.C:
3988         * encoding.h: add includes
3989
3990         * lyxrc.C: remove reading of bind files
3991
3992         * lyx_main.C (init): setup bindings and menus only if we have a
3993         gui.
3994
3995         * kbmap.C (read): new method. Do the actual reading of bind
3996         files.
3997
3998         * converter.C (dvipdfm_options):
3999         * bufferparams.C:
4000         * lyxrc.C (read):
4001         (output): adapt PAPER_* enums.
4002
4003         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4004
4005         * bufferparams.h: remove paper-related enums from there
4006
4007         * paper.h: New file. A trivial header file to hold paper-related
4008         enums. It should later expand to contain many paper-related
4009         horrors access.
4010
4011         * lyxrc.C: declare extern displayTranslator
4012
4013 2003-07-27  José Matos  <jamatos@fep.up.pt>
4014
4015         * tabular.[Ch] (linuxdoc): add support for tables and figures
4016         (linuxdoc).
4017
4018 2003-07-27  José Matos  <jamatos@fep.up.pt>
4019
4020         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4021         consistency in both functions.
4022         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4023
4024 2003-07-26  Asger Alstrup  <alstrup@local>
4025
4026         * rowpainter.C (paintRows): Change algorithm to work directly on
4027         the insets rather than asking every character in the document
4028         whether its an inset.
4029
4030 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * buffer.C (openFileWrite): factorize some code
4033
4034 2003-07-26  Angus Leeming  <leeming@lyx.org>
4035
4036         * lyx_cb.C:
4037         * lyx_main.[Ch]: replace occurances of system_tempdir with
4038         os::getTmpDir().
4039
4040 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * rename Inset to InsetOld
4043
4044 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4045
4046         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4047         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4048         which I think is a bit clearer. EDIT is gone, since it was
4049         premature optimisation, and broken for mathed anyway.
4050         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4051         with cursor positioning in insets as well (math insets still do not
4052         work, but that's a different story anyway.) It mysteriously
4053         crashes sometimes with undo in the first paragraph, but I'm fairly
4054         confident that this is a compiler bug.
4055
4056 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * paragraph.C (Paragraph): adjust for new clone return type
4059         (operator==): ditto
4060         (copyIntoMinibuffer): ditto
4061
4062 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4063
4064         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4065         by not having a special case, and always doing a full rebreak of
4066         the document after undo.
4067
4068 2003-07-23  Angus Leeming  <leeming@lyx.org>
4069
4070         * factory.C (createInset): InsetExternal::setParams now takes a
4071         Buffer const * arg.
4072
4073 2003-07-23  Angus Leeming  <leeming@lyx.org>
4074
4075         * factory.C (createInset): changed interface to the external and
4076         graphics mailers' string2params functions.
4077
4078 2003-07-23  Angus Leeming  <leeming@lyx.org>
4079
4080         * factory.C (createInset): pass a
4081         Buffer const * parameter to InsetExternalMailer's string2params.
4082
4083 2003-07-22  John Levon  <levon@movementarian.org>
4084
4085         * Thesaurus.h: include the right aiksaurus header
4086
4087 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4088
4089         * MenuBackend.C (expand): check menu shortcuts unconditionally
4090
4091 2003-07-21  Angus Leeming  <leeming@lyx.org>
4092
4093         * factory.C (createInset): pass a
4094         buffer_path parameter to InsetGraphicsMailer's string2params.
4095
4096 2003-07-21  Angus Leeming  <leeming@lyx.org>
4097
4098         * BufferView_pimpl.C (buffer):
4099         * buffer.C (d-tor):
4100         * lyx_main.C (LyX):
4101         * lyxfunc.C (dispatch):
4102         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4103         rather than the grfx shortcut.
4104
4105 2003-07-21  André Pönitz  <poenitz@gmx.net>
4106
4107         * rowpainter.C: remove unused variables
4108
4109         * tabular_funcs.C:
4110         * tabular_funcs.h: move to tabular.C
4111         * Makefile.am: adjust
4112
4113         * tabular.[Ch]: basic optical cleaning
4114
4115         * author.h: pass references, not values
4116
4117 2003-07-18  André Pönitz  <poenitz@gmx.net>
4118
4119         * lyxtext.h:
4120         * metricsinfo.C:
4121         * metricsinfo.h:
4122         * rowpainter.C:
4123         * text.C:
4124         * text2.C:
4125         * text3.C: two-phase drawing for InsetText and InsetTabular
4126         some float -> int changes.
4127
4128 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * lyx_main.C: fix the fix
4131
4132 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * lyx_main.C: fix a crash in batch mode if no files specified
4135         * converter.C: ws
4136
4137 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4138
4139         * format.[Ch] (papersize): moved to BufferParams
4140         * converter.[Ch] (dvips_options): moved to BufferParams
4141         (dvipdfm_options): moved to anon namespace
4142         * bufferparams.[Ch]: added above functions.
4143
4144 2003-07-17  André Pönitz  <poenitz@gmx.net>
4145
4146         * lyxtext.h:
4147         * rowpainter.C:
4148         * text2.C: don't call inset->update() anymore
4149
4150         * metricsinfo.[Ch]: add convenience constructor
4151
4152 2003-07-16  André Pönitz  <poenitz@gmx.net>
4153
4154         * lyxcursor.[Ch]:
4155         * lyxfunc.[Ch]:
4156         * text.C:
4157         * text2.C: replace the LyXCursor::irow_ member with
4158          on-demand computation of the value
4159
4160 2003-07-16  John Levon  <levon@movementarian.org>
4161
4162         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4163
4164 2003-07-15  André Pönitz  <poenitz@gmx.net>
4165
4166         * text.C:
4167         * text2.C: remove no more needed refresh_row
4168
4169 2003-07-15  André Pönitz  <poenitz@gmx.net>
4170
4171         * lyxtext.h:
4172         * rowpainter.C:
4173         * text2.C:
4174         * text3.C: refresh_status tristate -> need_update bool
4175
4176 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * lyxtext.h (init): remove reinit argument (act as if always true)
4179         * text2.C: adjust to that
4180
4181 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4182
4183         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4184         * text3.C: use it to delete selections in some cases
4185         (bugs 441, 673, 702, 954).
4186
4187 2003-07-14  André Pönitz  <poenitz@gmx.net>
4188
4189         * rowpainter.[Ch]: reduce interface
4190
4191 2003-07-14  André Pönitz  <poenitz@gmx.net>
4192
4193         * BufferView_pimpl.C:
4194         * text2.C: adjust after removing unused BufferView * argument
4195
4196 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * text2.C (init): fix a crash fired on resize
4199
4200 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * buffer.[Ch]: added new closing signal
4203         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4204         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4205         BufferView::Pimpl via the closing the signal
4206
4207 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * buffer.[Ch]: take out all bv-related from buffer
4210         * BufferView.C:
4211         * BufferView_pimpl.[Ch]: connect to new signals
4212         * CutAndPaste.C: removed useless asserts
4213         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4214         * lyxvc.[Ch]:
4215         * vc-backend.[Ch]:
4216         * lyxfunc.C: moved view-related funciontality from vc here
4217         * paragraph.C: removed outdated comments
4218         * text.C: ws
4219
4220 2003-07-10  André Pönitz  <poenitz@gmx.net>
4221
4222         * BufferView_pimpl.C:
4223         * tabular.h:
4224         * tabular_funcs.C:
4225         * text.C:
4226         * text2.C: remove InsetText::InnerCache, clean up consequences
4227
4228 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4229
4230         * ispell.C: fix two typos in error messages
4231
4232 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4233
4234         * Extend Note inset to other forms of annotation like Comment
4235         and Greyedout. Right button click gives dialog.
4236
4237         Files modified or added (+):
4238
4239         * insetnote.[Ch]
4240         * FormNote.[Ch]      +
4241         * ControlNote.[Ch]   +
4242         * form_note.fd       +
4243         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4244         frontends/controllers
4245         * xforms/Dialogs.C
4246         * factory.C
4247
4248 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4249
4250         * aspell.C: add missing namespace lyx::support
4251
4252 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * BufferView.[Ch] (newFile): Add
4255         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4256         * LaTeX.[Ch] (message): added this signal and use it
4257         * buffer.[Ch] (busy, message): added these signals and use them
4258         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4259         * converter.C:
4260         * exporter.C:
4261         * format.C:
4262         * importer.C: use buffer signals instead of direct bv calling
4263         * lyx_cb.[Ch] (ShowMessage): removed
4264         * lyx_main.C:
4265         * lyxfunc.C:
4266         * paragraph_funcs.C:
4267         * text2.C: use buffer signals
4268
4269 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * introduce namespace lyx::graphics
4272
4273 2003-07-02  André Pönitz  <poenitz@gmx.net>
4274
4275         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4276
4277 2003-07-01  André Pönitz  <poenitz@gmx.net>
4278
4279         * text.C:
4280         * text2.C:
4281         * text3.C:
4282         * text_funcs.[Ch]:
4283         * textcursor.h:
4284         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4285           text*.C to text_func.C
4286
4287 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * introduce namespace lyx::support
4290
4291 2003-06-30  André Pönitz  <poenitz@gmx.net>
4292
4293         * Chktex.C:
4294         * funcrequest.C:
4295         * lyxtext.h:
4296         * text.C: re-enable --with-included-string
4297
4298 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * textcursor.C: add <config.h>
4301
4302         * text.C (getWord): remove const from word_location arg
4303
4304         * lyxvc.C (getLogFile): fix const type order
4305
4306         * lyxtext.h: remove const from word_location arg, add arg name
4307
4308         * lyxlayout.h: currect type on labeltype.
4309
4310         * importer.C: correct \file
4311
4312         * converter.C (intToFormat): use std:: on ret val, ws changes
4313
4314         * bufferlist.h: correct \file
4315
4316         * buffer.C (makeLinuxDocFile): fix const type order
4317         (makeDocBookFile): ditto
4318         (fillWithBibKeys): use std:: on stdlib args.
4319
4320         * CutAndPaste.C: fix authors.
4321         (availableSelections): use std:: on return vector
4322
4323 2003-06-27  André Pönitz  <poenitz@gmx.net>
4324
4325         * BufferView_pimpl.C:
4326         * bufferview_funcs.C:
4327         * lyxcursor.C:
4328         * lyxcursor.h:
4329         * lyxfunc.C:
4330         * lyxtext.h:
4331         * rowpainter.C:
4332         * text.C:
4333         * text2.C:
4334         * text3.C: remove LyXCursor::row_ member
4335
4336         * lyxtext.h:
4337         * text.C: rename fullRebreak() to partialRebreak() and implement
4338           a fullRebreak() that really bereks fully
4339
4340         * textcursor.h: new struct for cursor-related data
4341
4342 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * lyx_main.C (LyX): get full path of document loaded on the
4345         command line
4346
4347 2003-06-26  André Pönitz  <poenitz@gmx.net>
4348
4349         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4350           remove unused/broken operator>,<,>=.
4351
4352         *       text.C: remove only use of broken operator<= in an Assert().
4353
4354 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4355
4356         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4357         moved errorlist_.clear to showErrorList
4358
4359 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4360
4361         * converter.C (scanLog, runLaTeX):
4362         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4363         move the bv->showErrorList call to the callers
4364         * lyxfunc.C: i.e. here...
4365         * text2.C: and here
4366         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4367         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4368         namespace, the second to...
4369         * buffer_funcs (BufferFormat, parseErrors): added
4370         * errorlist.C (ErrorList(TeXErrors const &)): removed
4371
4372 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4373
4374         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4375
4376 2003-06-24  "Garst R. Reese" <reese@isn.net>
4377
4378         * debug.C: fix typo
4379
4380 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4381
4382         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4383
4384         * version.C.in: change docversion to 1.4
4385
4386 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4387
4388         * buffer.C: fix a bug just introduced
4389
4390 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * buffer.[Ch]: added the parseError signal and use it, removed
4393         sgmlError
4394         * BufferView.[Ch] (addError): moved to ...
4395         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4396         to the Buffer::parseError signal to catch (guess what) parse errors
4397         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4398
4399 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4402         ability to create a buffer and to return an existing one from
4403         the list. Moved these functions to...
4404         * buffer_funcs.[Ch]: added
4405         * BufferView.[Ch] (loadLyXFile): added
4406         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4407         job removed from bufferlist::loadLyXFile.
4408         * buffer.C (setReadOnly): make it work without view
4409         (i.e added an if (users))
4410
4411 2003-06-19  Angus Leeming  <leeming@lyx.org>
4412
4413         * lfuns.h:
4414         * LyXAction.C (init):
4415         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4416         with LFUN_DIALOG_SHOW <name> <data>.
4417
4418 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4419
4420         * CutAndPaste.C (availableSelections): small compilation fix for
4421         ancient (gcc 2.9x) compilers
4422
4423 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * text3.C (cursorNext): add tmp var
4426
4427         * text2.C (updateCounters): for function calling out of for clause
4428         (replaceSelectionWithString): ditto
4429         (insertStringAsParagraphs): ditto
4430         (getColumnNearX): add tmp var
4431         (setCursorFromCoordinates): add tmp var
4432         (cursorDownParagraph): add tmp var
4433         (deleteEmptyParagraphMechanism): add tmp var
4434
4435         * text.C (insertChar): add tmp var
4436
4437         * rowpainter.C (paintDepthBar): add tmp var
4438
4439         * CutAndPaste.C (availableSelections): potentially check all
4440         paragraphs in a cut to fill the shown strings.
4441
4442 2003-06-18  André Pönitz  <poenitz@gmx.net>
4443
4444         * kbmap.[Ch]: use vector<> instead of list<>
4445
4446 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4447
4448         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4449         pasteSelection with index
4450
4451         * text2.C (pasteSelection): modify, call pasteSelection with index
4452
4453         * paragraph.C (asString): reimplement version with no interval to
4454         call the one with interval.
4455
4456         * lyxtext.h: add index arg to pasteSelection
4457
4458         * MenuBackend.C (MenuItem): handle PasteRecent
4459         (Menu::read::Menutags): add md_pasterecent
4460         (read): handle it
4461         (expandPasteRecent): new function
4462         (expand): use it
4463
4464         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4465
4466         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4467         the limited stack
4468         (availableSelections): new function
4469
4470 2003-06-17  Angus Leeming  <leeming@lyx.org>
4471
4472         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4473
4474 2003-06-17  Angus Leeming  <leeming@lyx.org>
4475
4476         * lfuns.h:
4477         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4478
4479         * lyxfunc.C (dispatch): invoke it.
4480
4481 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4482
4483         * iterators.C (operator++, ParPosition): reintroduce some
4484         const_cast for the benefit of older compilers.
4485
4486 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4487
4488         * text3.C (dispatch): do not modify clipboard when doing
4489         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4490         LFUN_DELETE_SKIP on a selection selection
4491
4492 2003-06-16  André Pönitz  <poenitz@gmx.net>
4493
4494         * BufferView.C:
4495         * buffer.C:
4496         * buffer.h:
4497         * paragraph.C:
4498         * tabular.[Ch]: IU of clone() and getLabelList();
4499
4500 2003-06-13  André Pönitz  <poenitz@gmx.net>
4501
4502         * tabular.h: compactification
4503
4504 2003-06-12  André Pönitz  <poenitz@gmx.net>
4505
4506         * tabular.C:
4507         * tabular.h:
4508         * tabular_funcs.h: some renaming plus whitespace
4509
4510 2003-06-12  André Pönitz  <poenitz@gmx.net>
4511
4512         * BufferView.C:
4513         * BufferView_pimpl.C:
4514         * CutAndPaste.C:
4515         * buffer.C:
4516         * iterators.[Ch]:
4517         * lyxfunc.C:
4518         * text.C:
4519         * toc.C: Return a Paragraph & for ParIterator::operator*()
4520
4521 2003-06-11  John Levon  <levon@movementarian.org>
4522
4523         * lyx_main.C:
4524         * ToolbarBackend.h:
4525         * ToolbarBackend.C: add "Toolbars" section and
4526         put the flags there
4527
4528 2003-06-10  Angus Leeming  <leeming@lyx.org>
4529
4530         * lfuns.h:
4531         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4532
4533         * lyxfunc.C (dispatch): invoke it.
4534
4535 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * main.C: protect <ios> with HAVE_IOS
4538         (main): protect sync_with_stdio with HAVE_IOS
4539
4540 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4541
4542         * text2.C (cutSelection): adjust
4543         (pasteSelection): adjust
4544
4545         * messages.C: handle get of empty string
4546
4547         * main.C (main): use sync_with_stdio(false)
4548
4549         * lyxfunc.C (dispatch): adjust
4550
4551         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4552         (WriteAs): remove unneeded BufferView arg.
4553
4554         * bufferparams.h: use correct types on papersize, papersize2 and
4555         paperpackage.
4556
4557         * bufferparams.C (readToken): adjust for type
4558         (writeLaTeX): add missing cases to switch.
4559
4560         * bufferlist.C (quitWriteBuffer): adjust
4561         (close): adjust
4562
4563         * buffer.C (asciiParagraph): remove some commented code.
4564
4565         * CutAndPaste.C: remove current_view extern variable.
4566         (cutSelection): add BufferParams arg.
4567         (eraseSelection): add BufferParams arg.
4568         (pasteSelection): add Buffer const & arg
4569
4570 2003-06-07  John Levon  <levon@movementarian.org>
4571
4572         * buffer.C:
4573         * paragraph_funcs.C:
4574         * paragraph_pimpl.C:
4575         * text.C:
4576         * text2.C:
4577         * paragraph.h:
4578         * paragraph.C: allow InsetERT to freely space lines,
4579         and some consolidation of code
4580
4581 2003-06-06  José Matos  <jamatos@fep.up.pt>
4582
4583         * buffer.C (makeDocBookFile): fix bug #821
4584
4585 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4588
4589 2003-06-04  Angus Leeming  <leeming@lyx.org>
4590
4591         * buffer.C: bump format to 224.
4592
4593 2003-06-05  André Pönitz  <poenitz@gmx.net>
4594
4595         * text2.C (redoParagraphs): remove two const_cast<>
4596
4597 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4598
4599         * ParagraphList.h: remove last remnants of NO_STD_LIST
4600
4601 2003-06-03  Angus Leeming  <leeming@lyx.org>
4602
4603         * factory.C (createInset): small change to the way InsetExternal's params
4604         are set.
4605
4606 2003-06-04  André Pönitz  <poenitz@gmx.net>
4607
4608         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4609
4610         * paragraph_pimpl.h:
4611         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4612
4613         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4614
4615         * undo_funcs.C: make some simple cases of undo work again
4616
4617 2003-06-03  John Levon  <levon@movementarian.org>
4618
4619         * ispell.C: HPUX doesn't have sys/select.h
4620         (from Albert Chin)
4621
4622 2003-06-03  John Levon  <levon@movementarian.org>
4623
4624         * CutAndPaste.C: update tabular and include inset
4625         buffer references
4626
4627         * buffer.h:
4628         * paragraph.h:
4629         * paragraph.C: remove owningBuffer(), don't pass Buffer
4630         to clone()
4631
4632         * factory.C: insetGraphicsParams changed
4633
4634 2003-06-02  John Levon  <levon@movementarian.org>
4635
4636         * LyXAction.C:
4637         * factory.C:
4638         * lfuns.h:
4639         * lyxfunc.C:
4640         * text3.C: remove insetparent
4641
4642 2003-06-02  John Levon  <levon@movementarian.org>
4643
4644         * buffer.h:
4645         * buffer.C: fix inset_iterator.end(), move out of line
4646         (bug 1149)
4647
4648 2003-06-01  John Levon  <levon@movementarian.org>
4649
4650         * text3.C: use a proper cut/paste when doing inset
4651         insert (from Jürgen Spitzmüller)
4652
4653 2003-06-01  John Levon  <levon@movementarian.org>
4654
4655         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4656
4657 2003-05-30  André Pönitz  <poenitz@gmx.net>
4658
4659         * rowpainter.C: unify second drawing phase
4660
4661 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * trans_mgr.C: remove one case of current_view
4664
4665         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4666
4667         * paragraph_funcs.h: remove paragraph.h include
4668
4669         * paragraph.h: delete NO_STD_LIST stuff
4670
4671         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4672
4673         * buffer.h: remove paragraph.h include
4674
4675         * ParagraphList.C: delete file
4676
4677         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4678
4679         * toc.C (getTocList): adjust
4680
4681         * paragraph_pimpl.C (validate): adjust
4682
4683         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4684
4685         * paragraph.C (Paragraph): adjust
4686         (getPositionOfInset): use const_iterator, adjust
4687         (bibitem): use const_iterator, adjust
4688         (setInsetOwner): adjust
4689
4690         * iterators.C (operator++): adjust
4691
4692         * InsetList.[Ch]: Replace selfmade iterator with standard
4693         vector::iterator also introduce const_iterator. Remove getPos,
4694         getInset and setInset from InsetTable. Adjust accordingly.
4695
4696         * BufferView.C (lockInset): adjust
4697         (ChangeInsets): adjust
4698
4699         * tabular.[Ch]: delete commented same_id functions
4700
4701 2003-05-28  John Levon  <levon@movementarian.org>
4702
4703         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4704
4705 2003-05-28  André Pönitz  <poenitz@gmx.net>
4706
4707         * metricsinfo.[Ch]: remove 'fullredraw' member
4708
4709 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4710
4711         * lyxtextclass.C (operator): remove caching.
4712
4713 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * text3.C: adjust
4716
4717         * text2.C (cursorBottom): adjust
4718         (setCounter): use ParagraphList::find, adjust
4719
4720         * text.C (workWidth): use ParagraphList::find, adjust
4721
4722         * lyxcursor.C (LyXCursor): adjust
4723
4724         * buffer.C (inset_iterator): adjust
4725
4726         * ParagraphList.h: make iterator(value_type) private, make
4727         ParagraphList a friend of iterator.
4728
4729         * ParagraphList.C (find): new function
4730
4731         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4732
4733 2003-05-27  André Pönitz  <poenitz@gmx.net>
4734
4735         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4736
4737 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4738
4739         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4740
4741 2003-05-26  John Levon  <levon@movementarian.org>
4742
4743         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4744
4745 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * remove same_id from function signatures, adjust.
4748
4749 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4752
4753         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4754
4755         * paragraph.C (Paragraph): get rid of same_ids parameter
4756
4757         * ParagraphList.C (insert): adjust
4758         (push_back): adjust
4759
4760 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * paragraph_funcs.C (breakParagraph): adjust
4763         (breakParagraphConservative): adjust
4764
4765         * buffer.C (readParagraph): adjust
4766
4767         * ParagraphList.C (insert): take a reference instead of a pointer
4768         (insert): adjust
4769
4770         * paragraph.[Ch] (id): new function
4771
4772         * bufferlist.C (newFile): adjust
4773
4774         * ParagraphList.C (ParagraphList): adjust
4775         (assign): adjust
4776         (push_back): take a reference instead of a pointer.
4777
4778         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4779
4780         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4781         instead.
4782
4783         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4784         set else use old code.
4785
4786         * ParagraphList.C: remove all NO_NEXT code and only compile this
4787         code of NO_STD_LIST is set.
4788
4789 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * BufferView_pimpl.C:
4792         * TextCache.C:
4793         * TextCache.h:
4794         * bufferlist.C:
4795         * errorlist.h:
4796         * format.C:
4797         * format.h:
4798         * graph.C:
4799         * lyxfunc.C:
4800         * lyxrc.C:
4801         * graphics/GraphicsConverter.C:
4802         * graphics/PreviewLoader.C: header adjustment
4803
4804 2003-05-23  Angus Leeming  <leeming@lyx.org>
4805
4806         * LaTeXFeatures.[Ch] (useBabel): new method.
4807         * bufferparams.C (writeLaTeX): use it.
4808
4809 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * ParagraphList.h (set): remove unused function.
4812
4813 2003-05-23  André Pönitz  <poenitz@gmx.net>
4814
4815         * BufferView.C:
4816         * BufferView_pimpl.C:
4817         * buffer.C:
4818         * buffer.h:
4819         * lyxfunc.C:
4820         * undo_funcs.C: setUndo reworked
4821
4822         * iterators.[Ch]: add access to topmost ParagraphList
4823
4824         * lyxtext.[Ch] (workWidth): add a const
4825
4826 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * texrow.[Ch] (increasePos): remove function
4829         * exporter.C (export): removed unused var and outdated comment
4830
4831 2003-05-23  Angus Leeming  <leeming@lyx.org>
4832
4833         * latexrunparams.h: rename fragile as moving_arg.
4834         * paragraph.C (simpleTeXOnePar): ditto.
4835         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4836
4837 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4840         (createUndo): ditto
4841         (textUndoOrRedo): comment out a currently unused var.
4842
4843         * paragraph.h (NO_NEXT): enable NO_NEXT
4844
4845         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4846
4847         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4848
4849         * exporter.C (Export): adjust for removeAutoInsets removal.
4850
4851         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4852
4853         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4854
4855         * BufferView.[Ch] (removeAutoInsets): delete function
4856
4857 2003-05-22  Angus Leeming  <leeming@lyx.org>
4858
4859         * latexrunparams.h: add a free_spacing variable.
4860
4861         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4862         to pass moving_arg, as the data is stored in runparams.fragile.
4863
4864         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4865         to Inset::latexOptional or to simpleTeXOnePar.
4866
4867         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4868         free_spacing arg to Inset::latexOptional.
4869
4870         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4871         free_spacing arg.
4872
4873 2003-05-22  Angus Leeming  <leeming@lyx.org>
4874
4875         * latexrunparams.h: add fragile and use_babel variables.
4876
4877         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4878         * buffer.C (makeLaTeXFile): store this returned value in
4879         runparams.use_babel, thus passing it to the inset::latex methods.
4880
4881         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4882         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4883
4884         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4885         longer has a fragile arg, as it is stored in runparams.fragile.
4886
4887         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4888         moving_arg parameter as the data is stored in runparams.fragile.
4889
4890         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4891         a fragile parameter as the data is stored in runparams.fragile.
4892
4893 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4896
4897 2003-05-22  Angus Leeming  <leeming@lyx.org>
4898
4899         * latexrunparams.h: add a 'bool nice' which defaults to false.
4900
4901         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4902         now encapsulated within runparams.
4903
4904         * bufferlist.C (updateIncludedTeXfiles):
4905         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4906
4907 2003-05-22  Angus Leeming  <leeming@lyx.org>
4908
4909         * latexrunparams.h: new file containing struct LatexRunParams.
4910         * Makefile.am: add new file.
4911
4912         * LaTeX.[Ch] (c-tor, run):
4913         * buffer.[Ch] (makeLaTeXFile):
4914         * bufferlist.[Ch] (updateIncludedTeXfiles):
4915         * converter.C (convert, scanLog):
4916         * converter.[Ch] (runLaTeX):
4917         * exporter.C (Export):
4918         * paragraph.[Ch] (simpleTeXOnePar):
4919         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4920         * paragraph_funcs.[Ch] (latexParagraphs):
4921         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4922         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4923         pass around a LatexRunParams parameter.
4924
4925 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * paragraph.[Ch]: remove unused constructor
4928
4929         * ParagraphList.C (erase): new function, taking two iterators
4930
4931 2003-05-22  André Pönitz  <poenitz@gmx.net>
4932
4933         * undo_funcs.C: remove duplicated code
4934
4935         * iterator.[Ch]: operator=
4936
4937 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * tabular.C (SetMultiColumn): ws changes
4940
4941         * rowpainter.C (paintFirst): get rid of a ->previous
4942
4943         * lyx_cb.C (getPossibleLabel): parlist simplification
4944
4945         * BufferView.C (ChangeInsets): simplify slightly.
4946
4947 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4948
4949         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4950         * lfuns.h: new LFUN_SPACE
4951         * lyxfunc.C: protected space has a new lfun
4952         * paragraph_funcs.C: read new space insets
4953         * text3.C:
4954         * factory.C: handle new space insets
4955
4956 2003-05-22  André Pönitz  <poenitz@gmx.net>
4957
4958         * BufferView.C:
4959         * BufferView_pimpl.C:
4960         * buffer.[Ch]:
4961         * lyxfunc.C:
4962         * undo_funcs.C: return a ParIterator from getParFromID.
4963
4964         * iterators.[Ch]: add two const's
4965
4966 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * toc.C (getTocList): adjust
4969
4970         * iterators.[Ch]: rework for parlist
4971
4972         * buffer.C (par_iterator_begin): adjust
4973         (par_iterator_end): adjust
4974
4975         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4976
4977         * BufferView.C (removeAutoInsets): adjust
4978         (ChangeInsets): adjust
4979
4980 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * text.C (top_y): fix bug 1110
4983
4984 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * errorlist.[Ch]: added
4987         * buffer.C:
4988         * BufferView.[Ch]:
4989         * BufferView_pimpl.C:
4990         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4991         instead
4992
4993 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * Makefile.am: ensure that lyx is relinked upon changes to the
4996         various "convenience" libs.
4997
4998 2003-05-20  Angus Leeming  <leeming@lyx.org>
4999
5000         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5001         files are compiled in alphabetical order again.
5002
5003         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5004
5005 2003-05-19  Angus Leeming  <leeming@lyx.org>
5006
5007         * gettext.[Ch]: remove "char const * _(char const *)".
5008
5009 2003-05-19  André Pönitz  <poenitz@gmx.net>
5010
5011         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5012
5013         * Makefile.am:
5014         * BufferView.C:
5015         * DepTable.h:
5016         * LaTeXFeatures.C:
5017         * buffer.C:
5018         * lyxfont.C:
5019         * lyxlex.h:
5020         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5021
5022 2003-05-19  André Pönitz  <poenitz@gmx.net>
5023
5024         * buffer.C:
5025         * lyxlayout.[Ch]:
5026         * lyxtextclass.[Ch]:
5027         * paragraph.C:
5028         * paragraph_funcs.[Ch]:
5029         * text2.C:
5030         * text3.C: more insetenv work
5031
5032 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * ParagraphParameters.C (params2string): small bug fixed
5035
5036 2003-05-16  André Pönitz  <poenitz@gmx.net>
5037
5038         * debug.C:
5039         * bufferview_funcs.C: patch from Kornel Benko to prevent
5040           crash when _(...) is called twice in a statement
5041
5042 2003-05-16  André Pönitz  <poenitz@gmx.net>
5043
5044         * BufferView.C:
5045         * lyxfunc.C:
5046         * text.C:
5047         * text2.C:
5048         * text3.C:
5049         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5050
5051 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * lyx_main.C (init): remove spurious static_cast
5054
5055 2003-05-14  André Pönitz  <poenitz@gmx.net>
5056
5057         * BufferView.C: fix format string
5058
5059 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * BufferView.[Ch] (insertErrors): removed
5062         * BufferView.[Ch] (showErrorList): added
5063         * buffer.C (runChkTeX):
5064         * converter.C (scanLog): call showErrorList instead of inserterrors
5065
5066 2003-05-13  André Pönitz  <poenitz@gmx.net>
5067
5068         * BufferView_pimpl.C:
5069         * buffer.C:
5070         * bufferview_func.C:
5071         * MenuBackend.C:
5072         * lyxfunc.C:
5073         * lyxrc.C:
5074         * tex-accent.C:
5075         * text3.C:
5076         * toc.C:
5077         * tabular_funcs.h: tostr() from its own header
5078
5079         * ParagraphParameters.C:
5080         * ToolbarBackend.C:
5081         * bufferparams.C:
5082         * format.C:
5083         * lyxlex_pimpl.C:
5084         * text3.C: STRCONV()
5085
5086 2003-05-12  André Pönitz  <poenitz@gmx.net>
5087
5088         * BufferView.C:
5089         * BufferView_pimpl.C:
5090         * CutAndPaste.C:
5091         * LaTeX.C:
5092         * LaTeXFeatures.C:
5093         * ParagraphParameters.C:
5094         * buffer.C:
5095         * bufferlist.C:
5096         * bufferparams.C:
5097         * bufferview_funcs.C:
5098         * converter.C:
5099         * counters.C:
5100         * debug.C:
5101         * exporter.C:
5102         * format.C:
5103         * importer.C:
5104         * lyx_cb.C:
5105         * lyx_main.C:
5106         * lyxfont.C:
5107         * lyxfunc.C:
5108         * lyxvc.C:
5109         * paragraph.C:
5110         * paragraph_funcs.C:
5111         * tabular.C:
5112         * tabular_funcs.C:
5113         * text2.C:
5114         * text3.C:  boost::format -> bformat  all over the place
5115
5116
5117 2003-05-09  André Pönitz  <poenitz@gmx.net>
5118
5119         * LColor.[Ch]: Pimpl the #include <map> away
5120
5121 2003-05-09  John Levon  <levon@movementarian.org>
5122
5123         * bufferlist.C: never remove emergency saves
5124
5125 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * Makefile.am: better lib building
5128
5129 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5132         instead.
5133         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5134         (simpleTeXSpecialChars): adjust
5135         (simpleTeXSpecialChars): adjust
5136         * paragraph.C (simpleTeXOnePar): adjust
5137         * buffer.C (makeLaTeXFile): adjust
5138
5139         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5140
5141         * text2.C (changeDepth): parlist cleanup
5142         (getColumnNearX): ditto
5143
5144         * rowpainter.C (getLabelFont): parlist cleanup
5145
5146         * bufferlist.C (newFile): parlist cleanup
5147
5148         * CutAndPaste.C (eraseSelection): parlist cleanup
5149
5150         * BufferView_pimpl.C (trackChanges): parlist cleanup
5151         (dispatch): ditto
5152
5153         * BufferView.C (lockInset): parlist cleanup.
5154         (ChangeInsets): ditto
5155
5156 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * CutAndPaste.h: Update file header.
5159
5160         * CutAndPaste.C: Update file header.
5161         Store the parts cut out of the Document in a limited_stack.
5162         (copySelection): adjust
5163         (pasteSelection): new function, takes the index in the limited stack.
5164         (nrOfParagraphs): adjust
5165         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5166         simplify error inset insertion.
5167         (checkPastePossible): adjust
5168
5169 2003-05-06  John Levon  <levon@movementarian.org>
5170
5171         * text2.C: don't cast wrap inset to float
5172
5173 2003-05-05  André Pönitz  <poenitz@gmx.net>
5174
5175         * iterator.C:
5176         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5177
5178         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5179           few naked Paragraph *.
5180
5181 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5182
5183         * bufferparams.C: Output warning if a document with missing
5184         TeX document class is loaded
5185         * exporter.C: Disable TeX exports if the document class is missing
5186         * lyxtextclass.C:
5187         * lyxtextclass.h:
5188         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5189         isTeXClassAvailable()
5190
5191 2003-05-03  John Levon  <levon@movementarian.org>
5192
5193         * BufferView.h:
5194         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5195         explicit cursor show/hide
5196
5197         * BufferView_pimpl.h:
5198         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5199         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5200
5201         * lyxfunc.C: hide cursor before dispatching.
5202
5203         * lyx_cb.C:
5204         * lyxfind.C:
5205         * text.C:
5206         * text3.C: remove explicit cursor hides
5207
5208 2003-05-02  André Pönitz  <poenitz@gmx.net>
5209
5210         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5211
5212         * undo_funcs.C:
5213         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5214           linked lists
5215
5216         * text2.C: tiny whitespace
5217
5218 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * undo_funcs.C: almost only ws changes.
5221
5222         * ParagraphList.C (splice): just return if pl is empty.
5223
5224 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * ParagraphList.C (splice): new function.
5227
5228         * CutAndPaste.C (pasteSelection): use it
5229
5230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * CutAndPaste.C (pasteSelection): remove the last next and
5233         previous from this file.
5234
5235 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * CutAndPaste.C (pasteSelection): more clean up, user proper
5238         ParagraphList functions for pasteing.
5239
5240         * ParagraphList.C (insert): new function, three arg insert
5241
5242 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * ParagraphList.C (insert): new function, three arg insert
5245
5246         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5247         not on paragraphs.
5248
5249 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5252
5253 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5256
5257 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5260         (copySelection): clean up a bit.
5261         (pasteSelection): use make_pair
5262
5263         * ParagraphList.C (ParagraphList): implement copy constructor
5264         (operator=): implement, base on copy constructor.
5265         (assign): new func
5266
5267         * paragraph.C (erase): return a bool
5268
5269         * paragraph_pimpl.C (erasePos): remove function, move contents...
5270         (erase): ... here. Return a bool.
5271         (erase): call erase instead of erasePos.
5272
5273 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * ParagraphList.h: define PitPosPair
5276         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5277         ParagraphList, fix a bug on pasting multiple pars
5278         * text2.C: change interface to C&P
5279
5280 2003-04-30  André Pönitz  <poenitz@gmx.net>
5281
5282         * undo_func.C: revert part of yesterday's patch 2
5283
5284 2003-04-30  John Levon  <levon@movementarian.org>
5285
5286         * LColor.C: s/tabular/table/
5287
5288 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * text3.C (dispatch): do not convert iterator -> pointer
5291         * undo_funcs.C (setCursorParUndo): ditto
5292         * text_funcs.C (transposeChars): ditto
5293
5294         * text2.C (setLayout): ws changes only
5295
5296         * text.C (breakParagraph): do not convert iterator -> pointer
5297         (insertChar): ditto
5298         (acceptChange): ditto
5299         (rejectChange): ditto
5300         (changeCase): ditto
5301         (Delete): ditto
5302         (backspace): ditto
5303
5304         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5305         pointer
5306
5307 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * text3.C (gotoInset): YABG (yet another bad getChar)
5310
5311 2003-04-29  André Pönitz  <poenitz@gmx.net>
5312
5313         * paragraph.h: make operator= private unimplemented as long as
5314           it is unusable
5315
5316         * ParagraphList.C: whitespace
5317
5318         * paragraph.[Ch]:
5319         * paragraph_pimpl.[Ch]:
5320         * paragraph_funcs.C:
5321         * CutAndPaste.C:
5322         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5323
5324         * text2.C:
5325           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5326
5327 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5330         * paragraph.[Ch] (erase):
5331         * paragraph_pimpl.[Ch] (erase): change return type and value
5332         * text2.C (cutSelection): some rework
5333
5334 2003-04-28  John Levon  <levon@movementarian.org>
5335
5336         * bufferlist.C: changes for unsaved changes dialog
5337
5338 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * bufferlist.C (newFile): set language (messages_) for new
5341         documents also.
5342
5343         * buffer.C (readFile): ws changes only.
5344
5345 2003-04-28  André Pönitz  <poenitz@gmx.net>
5346
5347         * undo_funcs.C:
5348         * lyxfunc.C:
5349         * buffer.[Ch]:
5350         * BufferView_pimpl.C:
5351         * BufferView.C: getParFromID related ParagraphList::iterator changes
5352
5353 2003-04-28  André Pönitz  <poenitz@gmx.net>
5354
5355         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5356           Changes
5357
5358 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * messages.C: remove one more localedir class variable.
5361
5362 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * messages.C (getLocaleDir): singleton generation function
5365         (Pimpl): use it.
5366         (Messages): add a default constructor.
5367
5368         * main.C (main): do not setup localedir here, do not call
5369         gettext_init.
5370
5371         * gettext.C (_): use it.
5372         (gettext_init): delete funciton
5373
5374 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * gettext.C (getLyXMessages): new singleton generating function.
5377
5378         * buffer.C (updateDocLang): adjust
5379
5380         * Makefile.am (messages.o): add target
5381         (main.o): remove target
5382
5383 2003-04-27  John Levon  <levon@movementarian.org>
5384
5385         * bufferlist.C:
5386         * lyx_cb.C:
5387         * lyxfunc.C:
5388         * lyxvc.C: specify cancel button in Alert::prompt
5389
5390 2003-04-26  John Levon  <levon@movementarian.org>
5391
5392         * text3.C:
5393         * lyxfunc.C:
5394         * lfuns.h:
5395         * LyXAction.C: add LFUN_INSET_SETTINGS
5396
5397         * lyxfunc.C: don't enable tabular-feature when there's
5398         just any locking inset
5399
5400 2003-04-26  John Levon  <levon@movementarian.org>
5401
5402         * bufferlist.C: re-add Cancel to buffer close question
5403
5404         * lyxfunc.C: fix import UI a bit
5405
5406 2003-04-25  John Levon  <levon@movementarian.org>
5407
5408         * gettext.C: remove the broken asserts for now
5409
5410 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * messages.C: make case where setlocale cannot comply work better.
5413
5414         * buffer.C (updateDocLang): new function
5415         (changeLanguage): use it
5416         (readFile): use it
5417
5418         * text2.C (setCounter): use B_ a bit.
5419
5420         * lyxlayout.C (Read): be sure to trim the label strings.
5421
5422         * messages.C (Messages): fix typo in comment
5423
5424         * buffer.C (readFile): set message_ after file is loaded.
5425         (makeDocBookFile): remove double return
5426         (changeLanguage): reset message_ upon language change.
5427         (B_): new func, use this to get translated buffer strings.
5428
5429         * main.C: add myself and Jean Marc as authors.
5430
5431 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * messages.[hC]: pimplify Messages, and three different pimpls to be
5434         used in different circumstances.
5435
5436         * gettext.[Ch]: change for use with new message code.
5437
5438 2003-04-24 André Pönitz <poenitz@gmx.net>
5439
5440         * factory.C: support for eqref
5441
5442 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * messages.[Ch]: add missing char
5445
5446         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5447
5448         * messages.[Ch]: New files
5449
5450 2003-04-18  John Levon  <levon@movementarian.org>
5451
5452         * BufferView.h:
5453         * BufferView.C:
5454         * BufferView_pimpl.C:
5455         * lfuns.h:
5456         * LyXAction.C:
5457         * lyxtext.h:
5458         * text2.C: remove layout-copy/paste (bug 778)
5459
5460 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5461
5462         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5463
5464 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5465
5466         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5467         if they succeed. Act accordingly.
5468
5469 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * text2.C (setCharFont): adjust
5472         (setCounter): adjust
5473         (insertStringAsLines): adjust
5474
5475         * text.C (leftMargin): adjust
5476         (setHeightOfRow): adjust
5477
5478         * rowpainter.C (paintFirst): adjust
5479         (paintLast): adjust
5480
5481         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5482         (outerHook): ditto
5483         (isFirstInSequence): ditto
5484         (getEndLabel): ditto
5485         (outerFont): adjust
5486
5487         * paragraph.C (getParLanguage): comment out some hard stuff.
5488
5489         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5490         (sgmlError): ditto
5491         (simpleDocBookOnePar): ditto
5492         (makeDocBookFile): use ParagraphList::iterator
5493
5494         * CutAndPaste.C (pasteSelection): adjust
5495
5496 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * text2.C (getFont): adjust
5499         (getLayoutFont): adjust
5500         (getLabelFont): adjust
5501
5502         * paragraph_funcs.C (TeXOnePar): adjust
5503
5504         * buffer.C (simpleLinuxDocOnePar): adjust
5505         (simpleDocBookOnePar): adjust
5506
5507         * CutAndPaste.C (pasteSelection): adjust
5508
5509         * BufferView.C (getEncoding): adjust
5510
5511         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5512
5513 2003-04-16  John Levon  <levon@movementarian.org>
5514
5515         * lyxfind.C: use parlist stuff for search/changes
5516
5517 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5520
5521         * text2.C (deleteEmptyParagraphMechanism): adjust
5522
5523         * text2.[Ch] (ownerParagraph): delete func (both of them
5524
5525 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5528
5529 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * ParagraphList.C: prepare for NO_NEXT
5532
5533 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * text2.C (getFont): adjust
5536         (getLayoutFont): adjust
5537         (getLabelFont): adjust
5538
5539         * paragraph.C (getFont): adjust
5540         (getLabelFont): adjust
5541         (getLayoutFont): adjust
5542
5543         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5544
5545 2003-04-15  John Levon  <levon@movementarian.org>
5546
5547         From Angus Leeming
5548
5549         * lyx_main.C: handle Include in .ui files
5550
5551 2003-04-15  John Levon  <levon@movementarian.org>
5552
5553         * MenuBackend.C: make the doc files length shorter
5554
5555         * ToolbarBackend.h:
5556         * ToolbarBackend.C: handle toolbar placement flags,
5557         Minibuffer
5558
5559 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5562         adjust
5563
5564         * paragraph_funcs.C (TeXOnePar): adjust
5565
5566         * paragraph.C (getLabelFont): add outerfont arg, adjust
5567         (getLayoutFont): ditto
5568         (simpleTeXOnePar): adjust
5569
5570         * paragraph_pimpl.C (realizeFont): delete func
5571
5572 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5573
5574         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5575         row argument, constify cur argument.
5576
5577 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * text2.C (getFont): adjust
5580         (getLayoutFont): adjust
5581         (getLabelFont): adjust
5582
5583         * paragraph_funcs.C (TeXOnePar): adjust
5584         (outerFont): new func...
5585         (realizeFont): ...moved out from here, changed this to facilitate
5586         transition
5587
5588         * paragraph.C (getFont): take outerfont as arg, adjust
5589         (simpleTeXOnePar): add outerfont arg, adjust
5590
5591         * buffer.C (simpleLinuxDocOnePar): adjust
5592         (simpleDocBookOnePar): adjust
5593
5594         * CutAndPaste.C (pasteSelection): adjust
5595
5596         * BufferView.C (getEncoding): adjust
5597
5598 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * text2.C (setCharFont): adjust
5601         (setCounter): adjust
5602
5603         * text.C (leftMargin): adjust
5604         (setHeightOfRow): adjust
5605
5606         * rowpainter.C (paintFirst): adjust
5607         (paintLast): adjust
5608
5609         * paragraph_pimpl.C (realizeFont): adjust
5610
5611         * paragraph.C (isFirstInSequence): move from here...
5612         * paragraph_funcs.C (isFirstInSequence): ...to here
5613
5614         * paragraph.C (outerHook): move from here...
5615         * paragraph_funcs.C (outerHook): ...to here
5616
5617         * paragraph.C (depthHook): move from here...
5618         * paragraph_funcs.C (depthHook): ...to here
5619
5620         * paragraph.C (getEndLabel): move from here...
5621         * paragraph_funcs.C (getEndLabel): ...to here
5622
5623         * text2.C (realizeFont): move from here...
5624         * paragraph_funcs.C (realizeFont): ...to here
5625
5626 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5629
5630 2003-04-14  Angus Leeming  <leeming@lyx.org>
5631
5632         * LColor.[Ch]: scrap LColor mathcursor.
5633
5634 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * lyxlex.[Ch] (text): delete function
5637         * trans.C (Load): adjust
5638         * paragraph_funcs.C (readParToken): adjust
5639
5640 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5643         vector<char> instead of a char[].
5644
5645         * lyxlex_pimpl.C (getString): adjust
5646         (next): adjust
5647         (lex): use getString
5648         (eatLine): adjust
5649         (nextToken): adjust
5650
5651         * lyxlex.C (text): use pimpl_->getString()
5652         (getBool): ditto
5653         (findToken): ditto
5654
5655 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5658         (makeFontEntriesLayoutSpecific): temp var for par.size()
5659         (setLayout): temp var for ownerParagraphs().end()
5660         (fullRebreak): temp var for rows().end()
5661         (selectionAsString): temp var for boost::next(startpit), realize
5662         that the while really is a regular for loop.
5663         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5664         setCursor in one place.
5665         (setParagraph): temp vr for ownerParagraphs().end()
5666         (updateCounters): make the while loop a for loop
5667         (cutSelection): temp var for ownerParagraphs().end()
5668         (updateInset): make the do {} while() a regular for loop
5669         (getCursorX): use temp vars
5670         (setCurrentFont): use temp vars
5671         (getColumnNearX): use temp vars
5672
5673 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * text.C (transformChar): use temp var for getChar
5676         (computeBidiTables): use temp var for row->par()
5677         (fill): move temp vars for row->par() and pit->layout() earlier in
5678         the function.
5679         (labelFill): use temp var for row->par()
5680         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5681         asc and desc, realize that pit never changes and that firstpit is
5682         just a duplicate and not needed. Exchange rit->par() with pit in a
5683         lot of places.
5684         (breakAgain): use a temp var for boost::next(rit)
5685         (breakAgainOneRow): ditto
5686         (breakParagraph): use a temp var for rows().begin()
5687         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5688         (cursorRightOneWord): use temp var for cursor.par() and
5689         cursor.pos(), remove usage of tmpcursor.
5690         (cursorLeftOneWord): use temp var for cursor.par() and
5691         cursor.pos() only set cur at end of function.
5692
5693 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * text.C, text2.C: exchange all usage of Paragraph::next with
5696         boost::next(ParagraphList::iterator)
5697
5698         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5699
5700         * text2.C (cursorTop): simplify implementation
5701         (cursorBottom): ditto
5702         (setParagraph): use ParagraphList::iterator
5703         (setCurrentFont): adjust
5704         (getColumnNearX): adjust
5705         (cursorRight): adjust
5706         (cursorLeft): remove usage of Paragraph::previous
5707         (cursorUpParagraph): ditto
5708         (deleteEmptyParagraphMechanism): slight cleanup
5709
5710         * text.C (isBoundary): take a Paragraph const & instead of a
5711         pointer as arg.
5712         (addressBreakPoint): ditto
5713         (leftMargin): remove usage of Paragraph::previous.
5714         (setHeightOfRow): ditto
5715         (cursorLeftOneWord): ditto
5716         (selectNextWordToSpellcheck): ditto
5717         (Delete): ditto
5718         (backspace): ditto
5719         (breakParagraph): remove one usage of Paragraph::next
5720         (redoParagraph): ditto
5721         (acceptChange): ditto
5722         (insertChar): adjust
5723         (rowBreakPoint): adjust
5724
5725         * bufferview_funcs.C (toggleAndShow): adjust
5726
5727 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5730         methods to access it.
5731         * lyxtext.h:
5732         * text.C: Added updateRowPositions to compute all row positions.
5733         Make top_y and getRowNearY() to use the cached y position
5734
5735 2003-04-11  John Levon  <levon@movementarian.org>
5736
5737         * text.C (rowBreakPoint): reintroduce the labelEnd
5738         checks, code copied from the row fill stuff. Deep voodoo.
5739
5740         * text.C (fill): add a comment and debugging for the
5741         next poor soul.
5742
5743 2003-04-11  John Levon  <levon@movementarian.org>
5744
5745         * text.C: make sure fullrow insets get wrapped to the next line,
5746         even when they're in a manual label
5747
5748 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * text2.C (insertParagraph): make it take ParagraphList::iterator
5751         as arg.
5752         (setLayout): make it return ParagraphList::iterator
5753         (redoParagraphs): ditto
5754         (setCounter): ditto
5755         (checkParagraph): ditto
5756
5757         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5758
5759         * text2.C: adjust several funcs.
5760         (realizeFont): take a ParagraphList::iterator as arg.
5761         (getLayoutFont): ditto
5762         (getLabelFont): ditto
5763         (setCharFont): ditto
5764
5765         * text.C: adjust several funcs.
5766
5767 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5768
5769         * text.C (selectNextWordToSpellcheck): don't accidentally
5770         skip insets
5771
5772 2003-04-10  John Levon  <levon@movementarian.org>
5773
5774         * ToolbarBackend.C (getIcon): special handling for
5775         LFUN_MATH_DELIM
5776
5777 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5778
5779         * text2.C (cursorRight): a getChar assert fixed
5780
5781 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * text2.C (getFont): change to take a ParagraphList::iterator
5784         instead of Paragraph*
5785         Adjust several functions.
5786
5787         * text.C (transformChar): change to take a ParagraphList::iterator
5788         instead of Paragraph*
5789         (singleWidth): ditto
5790         Adjust several functions.
5791
5792         * rowpainter.C: adjust several functions
5793         * rowpainter.h:store a ParagraphList::iterator and not a
5794         Paragraph&.
5795
5796
5797 2003-04-09  John Levon  <levon@movementarian.org>
5798
5799         * lyxfunc.C:
5800         * lfuns.h:
5801         * LyXAction.h:
5802         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5803         and the "help" bits as well
5804
5805 2003-04-09  John Levon  <levon@movementarian.org>
5806
5807         * ToolbarBackend.h:
5808         * ToolbarBackend.C: allow multiple toolbars
5809
5810 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * undo_funcs.C (setCursorParUndo): adjust
5813
5814         * text_funcs.C (transposeChars): adjust
5815
5816         * text3.C (gotoNextInset): adjust
5817         (dispatch): adjust
5818
5819         * text2.C (setLayout): adjust
5820         (changeDepth): adjust
5821         (setFont): adjust
5822         (redoParagraphs): adjust
5823         (selectionAsString): adjust
5824         (setParagraph): adjust
5825         (insertInset): adjust
5826         (cutSelection): adjust
5827         (copySelection): adjust
5828         (pasteSelection): adjust
5829         (insertStringAsLines): adjust
5830         (updateInset): adjust
5831         (setCursor): change to take a ParagraphList::iterator parameter
5832         (setCursorIntern): change to take a ParagraphList::iterator parameter
5833         (setCurrentFont): adjust
5834         (cursorLeft): adjust
5835         (cursorRight): adjust
5836         (deleteEmptyParagraphMechanism): adjust
5837
5838         * text.C (breakParagraph): adjust
5839         (insertChar): adjust
5840         (acceptChange): adjust
5841         (rejectChange): adjust
5842         (selectNextWordToSpellcheck): adjust
5843         (changeCase): adjust
5844         (Delete): adjust
5845         (backspace): adjust
5846
5847         * lyxfind.C (SearchForward): adjust
5848         (SearchBackward): adjust
5849         (nextChange): adjust
5850
5851         * lyxcursor.C (par): adjust
5852
5853         * lyxcursor.h: store a ParagraphList::iterator instead of a
5854         Paragraph*
5855
5856         * lyx_cb.C (getPossibleLabel): adjust
5857
5858         * bufferview_funcs.C (toggleAndShow): adjust
5859
5860         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5861         (dispatch): adjust
5862
5863         * BufferView.C (removeAutoInsets): adjust
5864         (lockedInsetStoreUndo): adjust
5865
5866 2003-04-09  John Levon  <levon@movementarian.org>
5867
5868         * ToolbarBackend.C: try icon without argument
5869         if with argument fails
5870
5871 2003-04-08  John Levon  <levon@movementarian.org>
5872
5873         * ToolbarBackend.h:
5874         * ToolbarBackend.C: add getIcon(), handle tooltip,
5875         and change from "Icon" to "Item".
5876
5877 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * BufferView.C (lockInset): another bad getchar crunched
5880
5881 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5884         again)
5885
5886 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5887
5888         * lyxfind.C (searchForward, searchBackwards): bug 782
5889
5890 2003-04-07  John Levon  <levon@movementarian.org>
5891
5892         * paragraph.C: remove dead comment
5893
5894         * text.C: remove troublesome depth-fiddling code
5895         in leftMargin() and rightMargin() (bug 1017)
5896
5897         * text.C: fix breaking of rows in nested lists
5898         (bug 1004)
5899
5900         * text2.C (updateCounters): fix up depth values
5901         (bug 1013)
5902
5903 2003-04-07  John Levon  <levon@movementarian.org>
5904
5905         * BufferView_pimpl.C: clear message when doc finishes resizing,
5906         and after a mouse event
5907
5908         * lyxfunc.C: clear message after exiting inset
5909
5910 2003-04-07  John Levon  <levon@movementarian.org>
5911
5912         * bufferview_funcs.C: show math status not outside
5913         status in the statusbar
5914
5915 2003-04-07  John Levon  <levon@movementarian.org>
5916
5917         * lyxfunc.C: note status changed after a depth change
5918
5919 2003-04-04  Angus Leeming  <leeming@lyx.org>
5920
5921         * LaTeX.h: move AuxInfo operator==, != out of line.
5922         Remove LaTeX virtual destructor; nothing derives from it.
5923         Move operator()() out of public area and rename it startscript().
5924         Change protected for private.
5925
5926 2003-04-04  Angus Leeming  <leeming@lyx.org>
5927
5928         * lyxfunc.C:
5929         * text2.C: remove unneeded #includes.
5930
5931 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5932
5933         * text2.C (dEPM): fix the heigth of the next row
5934
5935 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * text.C: squashed an invalid getChar requester + some ws changes
5938
5939 2003-04-03  John Levon  <levon@movementarian.org>
5940
5941         * bufferview_funcs.h:
5942         * bufferview_funcs.C:
5943         * lyxfunc.C:
5944         * lyxtext.h:
5945         * text2.C: make getStatus work for the env depth lfuns
5946
5947 2003-04-03  John Levon  <levon@movementarian.org>
5948
5949         * bufferview_funcs.h:
5950         * bufferview_funcs.C:
5951         * lyxfunc.C:
5952         * lyxtext.h:
5953         * text2.C: parlistize decDepth(), by merging it with incDepth()
5954
5955 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5956
5957         * lyxrow.h: store a ParagraphList::iterator instead of a
5958         Paragraph* and adjust other class functions to suit.
5959
5960         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5961         above.
5962
5963 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5964
5965         * text2.C (setCursor): do not anchor to cursor row for the time being
5966
5967 2003-04-02  John Levon  <levon@movementarian.org>
5968
5969         * LyXAction.C:
5970         * lfuns.h:
5971         * lyx_main.C:
5972         * lyxtext.h:
5973         * text.C:
5974         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5975
5976 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * paragraph.h: make ParagraphList and ParagraphList::iterator
5979         friends of Paragraph.
5980
5981         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5982
5983         * ParagraphList.C: Use the private next_ and previous_ from
5984         Paragraph.
5985
5986 2003-04-01  John Levon  <levon@movementarian.org>
5987
5988         * ToolbarBackend.h:
5989         * ToolbarBackend.C:
5990         * Makefile.am: rename, remove defaults gunk
5991
5992         * MenuBackend.h:
5993         * MenuBackend.C: remove defaults gunk
5994
5995         * Languages.h:
5996         * Languages.C: remove defaults gunk
5997
5998         * lyx_main.h:
5999         * lyx_main.C: error out if files couldn't be found.
6000
6001 2003-04-02  John Levon  <levon@movementarian.org>
6002
6003         * text2.C: make incDepth() use parlist
6004
6005 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * undo_funcs.C (firstUndoParagraph): adjust
6008
6009         * text3.C (gotoInset): adjust
6010         (dispatch): adjust, and rewrite loop.
6011
6012         * text2.C (init): adjust, and rewrite loop.
6013         (redoParagraphs): adjust
6014         (updateInset): adjust, and rewrite loop.
6015         (deleteEmptyParagraphMechanism): adjust
6016
6017         * tabular.C (LyXTabular): adjust
6018         (SetMultiColumn): adjust
6019         (TeXRow): adjust
6020
6021         * lyxtext.[Ch] (ownerParagraph): delete function
6022         (ownerParagraphs): new function returns a ParagraphList.
6023
6024         * BufferView.C (removeAutoInsets): adjust
6025         (insertErrors): adjust
6026         (setCursorFromRow): adjust
6027
6028 2003-04-01  Angus Leeming  <leeming@lyx.org>
6029
6030         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6031         in the frontends.
6032
6033 2003-04-02  John Levon  <levon@movementarian.org>
6034
6035         * lyxtext.h:
6036         * text.C:
6037         * Makefile.am:
6038         * text_funcs.h:
6039         * text_funcs.C: make transposeChars a free function
6040
6041         * lyxrow_funcs.C: remove wrong comment
6042
6043 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * lyxtext.h: adjust
6046         * rowpainter.C: adjust
6047         * text.C: adjust
6048         * text2.C: adjust
6049         * text3.C: adjust
6050
6051         * lyxrow_funcs. [Ch]: new files
6052
6053         * lyxrow.[Ch]: remove next and previous pointers
6054         (next,previous): remove accessor functions
6055         (isParEnd): move to lyxrow_funcs
6056         (lastPos): move to lyxrow_funcs
6057         (nextRowIsAllInset): move to lyxrow_funcs
6058         (lastPrintablePos): move to lyxrow_funcs
6059         (numberOfSeparators): move to lyxrow_funcs
6060         (numberOfHfills): move to lyxrow_funcs
6061         (numberOfLabelHfills): move to lyxrow_funcs
6062         (hfillExpansion): move to lyxrow_funcs
6063
6064         * lyxfunc.C: adjust
6065
6066         * bufferview_funcs.C (toggleAndShow): adjust
6067
6068         * RowList.h: Remove class RowList from file leave just a
6069         std::list<Row>.
6070
6071         * RowList.C: delete file
6072
6073         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6074         and lyxrow_funcs.h
6075
6076 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * text3.C (cursorPrevious): adjust
6079         (cursorNext): adjust
6080         (dispatch): adjust
6081
6082         * text2.C (redoHeightOfParagraph): adjust
6083         (redoDrawingOfParagraph): adjust
6084         (setCursor): adjust
6085
6086         * text.C (breakParagraph): adjust
6087         (insertChar): adjust
6088         (backspace): adjust
6089
6090         * rowpainter.C (RowPainter): adjust
6091         (leftMargin): simplify and adjust
6092         (most rowpainter functions): adjust.
6093
6094         * rowpainter.h: store the row as RowList::iterator not as Row*
6095
6096         * lyxcursor.C (row): taka RowList::iterator as arg
6097         (irow): ditto
6098
6099         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6100         of Row*.
6101
6102 2003-04-01  Angus Leeming  <leeming@lyx.org>
6103
6104         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6105         stuff like bool Bool.
6106
6107 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6110         rewrite a loop
6111
6112 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6115         RowList::iterator.
6116
6117         * lyxtext.h (rows): drop one version and leve a const variant that
6118         returns a RowList::iterator.
6119
6120 2003-03-31  Angus Leeming  <leeming@lyx.org>
6121
6122         * text.C (fill): ensure that the signature is the same as that in the
6123         header file.
6124
6125 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * text2.C (redoParagraphs): adjust
6128         (updateCounters): adjust
6129         (checkParagraph): adjust
6130         (getColumnNearX): adjust and reformat a bit.
6131
6132         * text.C (top_y): adjust
6133         (workWidth): adjust
6134         (leftMargin): adjust
6135         (prepareToPrint): adjust
6136         (getRow): adjust
6137         (getRowNearY): adjust
6138
6139         * lyxtext.h: make rowlist_ mutable.
6140
6141         * RowList.h: add const_iterator
6142         * RowList.C: adjust for RowList::const_iterator.
6143
6144         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6145         adjust.
6146
6147 2003-03-31  John Levon  <levon@movementarian.org>
6148
6149         * lyxrc.h:
6150         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6151
6152         * lyx_main.C: set default fonts from using lyx_gui funcs
6153
6154         * exporter.C: pdf_mode moved from lyxrc
6155
6156         * lyx_cb.C:
6157         * lyxfunc.C: changes from above
6158
6159 2003-03-31  John Levon  <levon@movementarian.org>
6160
6161         * lyx_main.C: fix to the last fix
6162
6163 2003-03-31  John Levon  <levon@movementarian.org>
6164
6165         * bufferlist.C: "Load original" -> "Load Original"
6166
6167         * converter.C:
6168         * exporter.C:
6169         * importer.C:
6170         * lyx_main.C:
6171         * format.C: more Alert cleanups
6172
6173 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * text2.C (removeParagraph): make it take a RowList::iterator as
6176         arg, adjust.
6177         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6178         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6179
6180         * text.C (anchor_row): make it take a RowList::iterator as arg,
6181         adjust.
6182         (computeBidiTables): make it take a const reference to Row instead
6183         of Row pointer, adjust.
6184         (leftMargin): make it take a RowList::iterator as arg, adjust.
6185         (rowBreakPoint): adjust
6186         (breakAgainOneRow): make it take a RowList::iterator as arg,
6187         adjust.
6188         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6189
6190         * bufferview_funcs.C (toggleAndShow): adjust
6191
6192 2003-03-30  John Levon  <levon@movementarian.org>
6193
6194         * Makefile.am:
6195         * BoostFormat.h:
6196         * boost-inst.C: moved to support
6197
6198         * several files: changes as a result
6199
6200 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6201
6202         * text2.C (LyXText): adjust.
6203         (init): adjust
6204         (removeRow): make it take a RowList::iterator as arg, adjust.
6205         (fullRebreak): adjust
6206         (deleteEmptyParagraphMechanism): adjust
6207         (clearPaint): adjust
6208         (postPaint): adjust
6209
6210         * text.C (top_y): adjust
6211         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6212         (breakAgain): make it take a RowList::iterator as arg, adjust.
6213         (breakParagraph): adjust
6214         (insertChar): adjust
6215         (backspace): adjust
6216
6217         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6218         need_break_row, and refresh_row.
6219
6220         * text3.C (dispatch): adjust
6221
6222         * text2.C (checkParagraph): adjust
6223         (setCursor): adjust
6224         (setCursorFromCoordinates): adjust
6225
6226         * text.C (top_y): adjust
6227         (workWidth): adjust
6228         (getRow): make it return a RowList::iterator, adjust
6229         (getRowNearY): make it return a RowList::iterator, adjust
6230
6231         * text2.C (init): adjust
6232         (insertRow): remove function
6233         (insertParagraph): adjust
6234         (redoParagraphs): adjust
6235         (fullRebreak): adjust
6236         (updateCounters): adjust
6237
6238         * text.C (top_y): rewrite to use RowList iterators.
6239         (top_y): adjust
6240         (setHeightOfRow): rewrite to sue RowList iterators.
6241         (appendParagraph): adjust
6242         (breakAgain): adjust
6243         (breakAgainOneRow): adjust
6244         (breakParagraph): adjust
6245         (getRow): adjust
6246         (getRowNearY): adjust, and remove commented code.
6247
6248         * lyxtext.h (firstRow): delete function
6249         (lastRow): delete function
6250         (rows): new function (const and non-const versions.)
6251         (insertRow): delete function
6252
6253         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6254
6255 2003-03-29  John Levon  <levon@movementarian.org>
6256
6257         * BufferView_pimpl.C: always update scrollbar top
6258         because pasting text when we're anchored could mean we
6259         miss an update altogether
6260
6261 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * text2.C (init): use rowlist_.end() and not 0.
6264         (insertRow): change to take a RowList::iterator as arg, adjust
6265         for this.
6266         (insertParagraph): change to take a RowList::iterator as arg,
6267         adjust for this.
6268         (redoParagraphs): remove some debug msgs.
6269
6270         * text.C (appendParagraph): change to take a RowList::iterator
6271         arg, adjust for this.
6272         (breakAgain): add an assert
6273         (breakAgainOneRow): ditto
6274
6275 2003-03-29  John Levon  <levon@movementarian.org>
6276
6277         * text2.C: do not clear selection after inc/decDepth
6278         (bug 550)
6279
6280 2003-03-29  John Levon  <levon@movementarian.org>
6281
6282         * BufferView.C:
6283         * buffer.C: fix broken strerrors according to Lars
6284
6285 2003-03-29  John Levon  <levon@movementarian.org>
6286
6287         * converters.C: more Alert cleanups
6288
6289 2003-03-29  John Levon  <levon@movementarian.org>
6290
6291         * bufferview_funcs.C: remove pointless Alert
6292
6293         * buffer.C: fix confusing error message when
6294         a template is chmoded 000
6295
6296 2003-03-29  John Levon  <levon@movementarian.org>
6297
6298         * BufferView.C:
6299         * BufferView.h:
6300         * BufferView_pimpl.C: Alert fixes
6301
6302         * Makefile.am:
6303         * tabular.C:
6304         * tabular-old.C: remove unused table compat reading
6305
6306 2003-03-29  John Levon  <levon@movementarian.org>
6307
6308         * BufferView.C:
6309         * buffer.C:
6310         * lyx_cb.h:
6311         * lyx_cb.C: more Alert cleanups
6312
6313         * lyxfunc.C: don't allow chktex if not latex document
6314
6315 2003-03-29  John Levon  <levon@movementarian.org>
6316
6317         * lyx_cb.C:
6318         * BufferView.C:
6319         * buffer.C: warnings pushed down from support/,
6320         kill err_alert
6321
6322 2003-03-29  John Levon  <levon@movementarian.org>
6323
6324         * lyxfunc.C: safety check for C-r (revert)
6325
6326 2003-03-29  John Levon  <levon@movementarian.org>
6327
6328         * bufferlist.h:
6329         * bufferlist.C: several UI fixes using Alert::prompt.
6330         Fix the pointless looping quit code. Fix stupid revert
6331         behaviour (bug 938)
6332
6333         * lyxvc.h:
6334         * lyxvc.C:
6335         * lyx_cb.C: use Alert::prompt
6336
6337         * lyx_main.C: remove a silly question
6338
6339         * lyxfunc.C: remove a couple of silly questions,
6340         use Alert::prompt
6341
6342 2003-03-28  John Levon  <levon@movementarian.org>
6343
6344         * text2.C: fix bug 974 (End on empty par)
6345
6346 2003-03-28  John Levon  <levon@movementarian.org>
6347
6348         * BufferView_pimpl.C:
6349         * LyXAction.C:
6350         * lfuns.h: remove do-nothing math greek lfuns
6351
6352 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * lyxgluelength.h (isValidGlueLength): add default arg on
6355         parameter 2. Remove default arg from friend in class.
6356
6357         * lyxlength.h (isValidLength): add default arg on parameter 2.
6358         Remove default arg from friend in class.
6359
6360         * text2.C (LyXText): adjust, initialize refresh_row.
6361         (init): adjust
6362         (removeRow): adjust
6363         (insertRow): adjust
6364         (insertParagraph): adjst
6365         (redoParagraphs): adjust
6366         (fullRebreak): adjust
6367         (updateCounters): adjust
6368         (deleteEmptyParagraphMechanism): first attempt at fixing a
6369         crashing bug.
6370
6371         * text.C (top_y): adjust
6372         (setHeightOfRow): adjust
6373         (getRow): adjust
6374         (getRowNearY): adjust
6375
6376         * lyxtext.h: include RowList.h
6377         (~LyXText): not needed anymore, deleted.
6378         (firstRow): modify for RowList
6379         (lastRow): new function
6380         Delete firstrow and lastrow class variables, add a Rowlist
6381         rowlist_ class variable.
6382
6383         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6384         paragraph is empty.
6385
6386         * RowList.C (insert): fix case where it == begin().
6387
6388 2003-03-26  Angus Leeming  <leeming@lyx.org>
6389
6390         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6391         the thesaurus dialog.
6392
6393 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6396
6397         * RowList.[Ch]: new files
6398
6399         * ParagraphList.C (erase): handle the case where it == begin
6400         correctly.
6401
6402 2003-03-25  John Levon  <levon@movementarian.org>
6403
6404         * Makefile.am:
6405         * aspell_local.h:
6406         * aspell.C: add new aspell support
6407
6408         * lyxrc.h:
6409         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6410         have it accessible.
6411
6412 2003-03-25  Angus Leeming  <leeming@lyx.org>
6413
6414         * lfuns.h:
6415         * LyXAction.C (init): new LFUN_INSET_INSERT.
6416
6417         * BufferView_pimpl.C (dispatch): split out part of the
6418         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6419
6420         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6421         LFUN_INSET_APPLY.
6422
6423 2003-03-25  Angus Leeming  <leeming@lyx.org>
6424
6425         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6426
6427 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * text2.C:
6430         * text3.C: remove useless row->height(0)
6431
6432 2003-03-25  John Levon  <levon@movementarian.org>
6433
6434         * lyxtext.h:
6435         * text2.C:
6436         * text3.C: rename the refreshing stuff to better names
6437
6438 2003-03-24  John Levon  <levon@movementarian.org>
6439
6440         * BufferView_pimpl.h:
6441         * BufferView_pimpl.C: update layout choice on a mouse
6442         press/release
6443
6444 2003-03-23  John Levon  <levon@movementarian.org>
6445
6446         * Makefile.am: fix commandtags.h reference
6447
6448 2003-03-22  John Levon  <levon@movementarian.org>
6449
6450         * BufferView_pimpl.C:
6451         * lyxtext.h:
6452         * rowpainter.C:
6453         * rowpainter.h:
6454         * text.C:
6455         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6456
6457 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * lyxtext.h:
6460         * text.C: take the rtl methods out of line
6461
6462 2003-03-21 André Pönitz <poenitz@gmx.net>
6463
6464         * metricsinfo.[Ch]: new files containing structures to be passed around
6465         during the two-phase-drawing...
6466
6467 2003-03-21 André Pönitz <poenitz@gmx.net>
6468
6469         * lyxtextclass.C: read 'environment' tag.
6470
6471 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6472
6473         * text2.C (removeRow): fix bug 964
6474
6475 2003-03-20  John Levon  <levon@movementarian.org>
6476
6477         * rowpainter.C:
6478         * text.C:
6479         * text2.C: paint cleanups. Inset::update() dropped font
6480         parameter
6481
6482 2003-03-19  John Levon  <levon@movementarian.org>
6483
6484         * lyxfunc.C: only fitcursor/markDirty if available()
6485
6486 2003-03-19  John Levon  <levon@movementarian.org>
6487
6488         * commandtags.h: rename to ...
6489
6490         * lfuns.h: ... this, and renumber / cleanup
6491
6492 2003-03-19  John Levon  <levon@movementarian.org>
6493
6494         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6495         fit the cursor after an lfun
6496
6497         * BufferView.h:
6498         * BufferView.C:
6499         * BufferView_pimpl.h:
6500         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6501
6502         * LyXAction.C: layout-character should have ReadOnly
6503
6504         * ParagraphParameters.C:
6505         * buffer.C:
6506         * bufferview_funcs.C:
6507         * lyx_cb.C:
6508         * lyxfind.C:
6509         * lyxtext.h:
6510         * text.C:
6511         * text2.C:
6512         * text3.C:
6513         * undo_funcs.C: changes from above
6514
6515 2003-03-18  John Levon  <levon@movementarian.org>
6516
6517         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6518         remove it from update()
6519
6520         * lyxfunc.C: update layout choice after an lfun
6521
6522         * text3.C: remove extra updateLayoutChoice()s
6523
6524 2003-03-18  John Levon  <levon@movementarian.org>
6525
6526         * text.C: top_y change means full repaint, fix
6527         a drawing bug with cursor movement
6528
6529 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * lyxtext.h:
6532         * text.C:
6533         * text2.C: anchor row on setCursor
6534
6535 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * lyxtext.h: remove almost all mutable keywords
6538         * text.C:
6539         * text2.C:
6540         * text3.C: remove const keywords accordingly
6541
6542 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6545         anon namespace
6546         (TeXEnvironment): ditto
6547         (TeXOnePar): ditto
6548
6549 2003-03-17  John Levon  <levon@movementarian.org>
6550
6551         * text.C (rowBreakPoint): remove attempt to fix displayed
6552         math insets inside a manual label
6553
6554 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * lyxtext.h: remove BufferView* as first arg from almost all class
6557         functions.
6558         * other files: adjust.
6559
6560 2003-03-17  John Levon  <levon@movementarian.org>
6561
6562         * lyxtext.h:
6563         * undo_funcs.C:
6564         * text2.C: more paint cleanups
6565
6566         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6567
6568         * rowpainter.h:
6569         * rowpainter.C: remove "smart" background painting code
6570
6571 2003-03-16  John Levon  <levon@movementarian.org>
6572
6573         * lyxtext.h:
6574         * text.C:
6575         * text2.C:
6576         * text3.C: add helper functions for setting refresh_row/y
6577
6578 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6579
6580         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6581         newline inset which *can* get inserted in the pass_thru layouts.
6582         This is primarily for literate documents.
6583
6584 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6585
6586         * buffer.C: increment LYX_FORMAT to 223
6587
6588 2003-03-14 André Pönitz <poenitz@gmx.net>
6589
6590         * textclass.h: prepare for environment handling, ws changes
6591         * lyxlayout.C: read latexheader and latexfooter tags
6592
6593 2003-03-14  John Levon  <levon@movementarian.org>
6594
6595         * text2.C: rewrite ::status() a bit
6596
6597 2003-03-13  John Levon  <levon@movementarian.org>
6598
6599         * lyxtext.h: add some docs
6600
6601 2003-03-13  John Levon  <levon@movementarian.org>
6602
6603         * lyxtext.h:
6604         * text.C:
6605         * text2.C:
6606         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6607
6608 2003-03-13  John Levon  <levon@movementarian.org>
6609
6610         * text3.C: fix appendix redrawing
6611
6612 2003-03-13  John Levon  <levon@movementarian.org>
6613
6614         * text.C (setHeightOfRow):
6615         * rowpainter.h:
6616         * rowpainter.C: make appendix mark have the text
6617           "Appendix" so the user knows what it is
6618
6619         * LColor.h:
6620         * LColor.C: s/appendixline/appendix/ from above
6621
6622 2003-03-13  John Levon  <levon@movementarian.org>
6623
6624         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6625
6626         * text.C: fix a getChar(pos) bug properly
6627
6628 2003-03-13  Angus Leeming  <leeming@lyx.org>
6629
6630         * commandtags.h:
6631         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6632         Probably only temporary. Let's see how things pan out.
6633
6634         * BufferView.C (unlockInset):
6635         * BufferView_pimpl.C (fitCursor):
6636         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6637
6638         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6639         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6640
6641         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6642         new functions that convert ParagraphParameters to and from a string.
6643
6644         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6645         BufferView::Pimpl's dispatch.
6646         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6647
6648 2003-03-13 André Pönitz <poenitz@gmx.net>
6649
6650         * lyxfunc.C:
6651         * text3.C:
6652         * factory.C: make it aware of InsetEnv
6653
6654 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * text2.C (setCursor): never ask for one past last
6657         (setCursor): add some debugging messages.
6658
6659         * text.C (singleWidth): never ask for one past last
6660         (singleWidth): ditto
6661         (leftMargin): ditto
6662         (rightMargin): ditto
6663         (rowBreakPoint): ditto
6664         (setHeightOfRow): ditto
6665         (prepareToPrint): ditto
6666
6667         * rowpainter.C (paintBackground): never ask for one past last
6668         (paintText): never ask for one past last
6669
6670         * paragraph_pimpl.C (getChar): make the assert stricter, never
6671         allow the one past last pos to be taken
6672
6673         * paragraph.C (getChar): ws changes only
6674
6675         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6676         (numberOfSeparators): ditto
6677         (numberOfHfills): ditto
6678
6679 2003-03-12  John Levon  <levon@movementarian.org>
6680
6681         * author.h:
6682         * author.C:
6683         * bufferparams.h:
6684         * bufferparams.C:
6685         * paragraph_funcs.C: fix per-buffer authorlists
6686
6687 2003-03-12  John Levon  <levon@movementarian.org>
6688
6689         * text.C: fix newline in right address
6690
6691 2003-03-12  Angus Leeming  <leeming@lyx.org>
6692
6693         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6694         duplicate those in LyXFunc::dispatch.
6695
6696         * commandtags.h:
6697         * LyXAction.C:
6698         * ToolbarDefaults.C:
6699         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6700         Add LFUN_FONTFREE_UPDATE.
6701
6702         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6703         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6704
6705         * bufferview_func.[Ch]: several new functions to facilliate
6706         transfer of data to and from the character dialog.
6707
6708 2003-03-12  John Levon  <levon@movementarian.org>
6709
6710         * buffer.C:
6711         * paragraph.h:
6712         * paragraph.C:
6713         * paragraph_funcs.C:
6714         * paragraph_pimpl.C:
6715         * sgml.C:
6716         * tabular.C:
6717         * text.C:
6718         * text3.C: remove META_NEWLINE in favour of an inset
6719
6720         * rowpainter.h:
6721         * rowpainter.C: remove paintNewline (done by inset)
6722
6723 2003-03-12  John Levon  <levon@movementarian.org>
6724
6725         * paragraph_pimpl.C: complain about bad getChar()s
6726         for a while at least
6727
6728 2003-03-12  John Levon  <levon@movementarian.org>
6729
6730         * buffer.h:
6731         * buffer.C: move paragraph read into a separate function,
6732         a little renaming to reflect that.
6733
6734         * bufferparams.h:
6735         * bufferparams.C: remove the author_ids map, not necessary now
6736
6737         * factory.h:
6738         * factory.C: moved Buffer::readInset to here
6739
6740         * paragraph_funcs.h:
6741         * paragraph_funcs.C: readParagraph free function moved from
6742         buffer.C
6743
6744         * tabular.C: name change
6745
6746 2003-03-12  John Levon  <levon@movementarian.org>
6747
6748         * buffer.C:
6749         * ParagraphParameters.C: move par params input to
6750         a read() method
6751
6752         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6753         behave like a normal read from the stream wrt reading
6754         a line vs. a \\token
6755
6756 2003-03-12  John Levon  <levon@movementarian.org>
6757
6758         * paragraph.C:
6759         * ParagraphParameters.h:
6760         * ParagraphParameters.C: move output code to a
6761         ::write() method
6762
6763 2003-03-12  John Levon  <levon@movementarian.org>
6764
6765         * BufferView.C (insertLyXFile):
6766         * buffer.h:
6767         * buffer.C:
6768         * tabular.C: use a parlist iterator for creating the
6769           document.
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * buffer.C: make current_change static local not
6774           static file-scope
6775
6776 2003-03-12  John Levon  <levon@movementarian.org>
6777
6778         * buffer.C: fix insertStringAsLines for change tracking
6779
6780 2003-03-12  John Levon  <levon@movementarian.org>
6781
6782         * BufferView.C:
6783         * tabular.C:
6784         * buffer.h:
6785         * buffer.C:
6786         * bufferparams.h:
6787         * bufferparams.C: move author list into params. Rename some
6788           functions. Move the header reading into a separate token
6789           loop. Move the header token reading into BufferParams.
6790
6791 2003-03-12  John Levon  <levon@movementarian.org>
6792
6793         * changes.C: put debug inside lyxerr.debugging() checks
6794
6795 2003-03-11 André Pönitz <poenitz@gmx.net>
6796
6797         * factory.C: make it aware of InsetHFill
6798
6799 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6800
6801         * buffer.C (latexParagraphs): move function from here...
6802         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6803         args.
6804
6805 2003-03-10  Angus Leeming  <leeming@lyx.org>
6806
6807         * LyXAction.C (init): fix bug in poplating array with multiple entries
6808         with the same LFUN (spotted by JMarc).
6809
6810 2003-03-10  John Levon  <levon@movementarian.org>
6811
6812         * text.C:
6813         * text2.C: move getColumnNearX() near its
6814         only call site
6815
6816 2003-03-10  John Levon  <levon@movementarian.org>
6817
6818         * text.C: fix break before a minipage
6819
6820 2003-03-10  John Levon  <levon@movementarian.org>
6821
6822         * text.C: fix the last commit
6823
6824 2003-03-09  John Levon  <levon@movementarian.org>
6825
6826         * lyxtext.h:
6827         * text.C:
6828         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6829         bug 365 (don't break before insets unless needed). Don't
6830         return a value > last under any circumstances.
6831
6832 2003-03-09  Angus Leeming  <leeming@lyx.org>
6833
6834         * BufferView_pimpl.C (trackChanges, dispatch): call
6835         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6836
6837 2003-03-09  Angus Leeming  <leeming@lyx.org>
6838
6839         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6840         than Dialogs::showAboutlyx().
6841
6842 2003-03-09  Angus Leeming  <leeming@lyx.org>
6843
6844         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6845         than Dialogs::showTabularCreate().
6846
6847 2003-03-09  John Levon  <levon@movementarian.org>
6848
6849         * lyxtext.h:
6850         * text.C:
6851         * text2.C: 3rd arg to nextBreakPoint was always the same.
6852           Use references.
6853
6854 2003-03-08  John Levon  <levon@movementarian.org>
6855
6856         * lyxrow.C:
6857         * paragraph.C:
6858         * paragraph.h:
6859         * rowpainter.C:
6860         * text.C:
6861         * text2.C: Remove the "main" bit from the "main body"
6862           notion.
6863
6864 2003-03-08  John Levon  <levon@movementarian.org>
6865
6866         * text.C (leftMargin): The left margin of an empty
6867         manual label paragraph should not include the label width
6868         string length.
6869
6870         * text.C (prepareToPrint): don't attempt to measure hfills
6871         for empty manual label paragraphs - the answer should be 0
6872
6873 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * CutAndPaste.C: remove commented code and reindent.
6876
6877 2003-03-08  John Levon  <levon@movementarian.org>
6878
6879         * lyxfunc.h:
6880         * lyxfunc.C: move reloadBuffer()
6881
6882         * BufferView.h:
6883         * BufferView.C: to here
6884
6885         * lyxvc.C: add comment
6886
6887         * vc-backend.h:
6888         * vc-backend.C: call bv->reload() to avoid
6889           getStatus() check on MENURELOAD
6890
6891 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6892
6893         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6894         to an old format .dep file.
6895
6896 2003-03-07  Angus Leeming  <leeming@lyx.org>
6897
6898         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6899         when the LFUN_MOUSE_RELEASE should have been handled by
6900         inset->localDispatch.
6901
6902 2003-03-07  Angus Leeming  <leeming@lyx.org>
6903
6904         * BufferView_pimpl.C (dispatch):
6905         * LyXAction.C (init):
6906         * ToolbarDefaults.C (init):
6907         * commandtags.h:
6908         * lyxfunc.C (getStatus):
6909         remove LFUN_INSET_GRAPHICS.
6910
6911         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6912
6913 2003-03-07  Angus Leeming  <leeming@lyx.org>
6914
6915         * commandtags.h:
6916         * LyXAction.C (init):
6917         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6918
6919         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6920
6921         * commandtags.h:
6922         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6923
6924         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6925         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6926
6927 2003-03-07  Angus Leeming  <leeming@lyx.org>
6928
6929         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6930         remove "ert".
6931
6932 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * ParagraphList.C (front): new function
6935         (back): implement
6936
6937 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6938
6939         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6940         and top_row_offset_. removed var first_y.
6941         * text.C (top_y):
6942         * text2.C (LyXText, removeRow):
6943         * text3.C:
6944         * BufferView_pimpl.C:
6945         use these methods instead of using first_y
6946
6947 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * text2.C (pasteSelection): adjust for checkPastePossible
6950
6951         * CutAndPaste.C: remove Paragraph * buf and replace with
6952         ParagraphList paragraphs.
6953         (DeleteBuffer): delete
6954         (cutSelection): change the tc type to textclass_type
6955         (copySelection): change the tc type to textclass_type
6956         (copySelection): adjust for ParagraphList
6957         (pasteSelection): change the tc type to textclass_type
6958         (pasteSelection): adjust for Paragraphlist
6959         (nrOfParagraphs): simplify for ParagraphList
6960         (checkPastePossible): simplify for ParagraphList
6961         (checkPastePossible): remove unused arg
6962
6963         * ParagraphList.C (insert): handle the case where there are no
6964         paragraphs yet.
6965
6966         * CutAndPaste.h: make CutAndPaste a namespace.
6967
6968         * text3.C (dispatch): adjust
6969
6970         * text.C (breakParagraph): add a ParagraphList as arg
6971
6972         * paragraph_funcs.C (breakParagraph): change to take a
6973         BufferParams and a ParagraphList as args.
6974         (breakParagraphConservative): ditto
6975         (mergeParagraph): ditto
6976         (TeXDeeper): add a ParagraphList arg
6977         (TeXEnvironment): ditto
6978         (TeXOnePar): ditto
6979
6980         * buffer.C (readLyXformat2): adjust
6981         (insertStringAsLines): adjust
6982         (latexParagraphs): adjust
6983
6984         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6985         (cutSelection): adjust
6986         (pasteSelection): adjust
6987
6988         * BufferView_pimpl.C (insertInset): adjust
6989
6990 2003-03-05  Angus Leeming  <leeming@lyx.org>
6991
6992         * commandtags.h:
6993         * LyXAction.C (init):
6994         * BufferView_pimpl.C (dispatch):
6995         * lyxfunc.C (getStatus):
6996         remove LFUN_CHILD_INSERT.
6997
6998         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6999
7000 2003-03-05  Angus Leeming  <leeming@lyx.org>
7001
7002         * commandtags.h:
7003         * LyXAction.C (init):
7004         * src/factory.C (createInset):
7005         * lyxfunc.C (getStatus):
7006         * text3.C (dispatch):
7007         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7008
7009         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7010
7011 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * ParagraphList.C (insert): handle insert right before end()
7014         (erase): fix cases where it can be first or last paragraph.
7015
7016 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7019         Paragraph::next and Paragraph::previous
7020         (TeXOnePar): ditto
7021
7022         * text.C (breakParagraph): adjust
7023
7024         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7025         BufferParams& as arg.
7026         (breakParagraph): use ParagraphList::insert
7027         (breakParagraphConservative): take a Buffer* instead of a
7028         BufferParams& as arg.
7029         (breakParagraphConservative): use ParagraphList::insert.
7030
7031         * buffer.C (insertStringAsLines): un-const it
7032         (insertStringAsLines): adjust
7033
7034         * ParagraphList.C (insert): new function
7035
7036         * CutAndPaste.C (pasteSelection): adjust
7037
7038         * text.C (backspace): adjust
7039
7040         * tabular.C (SetMultiColumn): adjust
7041
7042         * CutAndPaste.C (cutSelection): adjust
7043         (pasteSelection): adjust
7044
7045         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7046         Buffer const * as arg
7047
7048         * ParagraphList.C (erase): new function
7049         * paragraph_funcs.C (mergeParagraph): use it
7050         (mergeParagraph): make it take a Buffer* instead of a
7051         BufferParams* as arg
7052
7053         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7054         as arg
7055         (breakParagraphConservative): ditto
7056
7057         * paragraph.h: remove the breakParagraph friend
7058
7059         * paragraph.C (eraseIntern): new function
7060         (setChange): new function
7061
7062         * paragraph_funcs.C (mergeParagraph): make it take a
7063         ParagraphList::iterator instead of a Paragraph *, adjust
7064         accordingly.
7065
7066         * paragraph.h: move an #endif so that the change tracking stuff
7067         also works in the NO_NEXT case.
7068
7069 2003-03-04  Angus Leeming  <leeming@lyx.org>
7070
7071         * commandtags.h:
7072         * LyXAction.C: new LFUN_INSET_MODIFY.
7073
7074         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7075         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7076
7077 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * several files: ws changes only
7080
7081         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7082         (TeXEnvironment): ditto
7083         (TeXDeeper): ditto
7084
7085         * buffer.C (makeLaTeXFile): adjust
7086         (latexParagraphs): make it take ParagraphList::iterator as args
7087
7088 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * buffer.C (latexParagraphs): adjust
7091
7092         * paragraph.C (TeXOnePar): move function...
7093         (optArgInset): move function...
7094         (TeXEnvironment): move function...
7095         * paragraph_pimpl.C (TeXDeeper): move function...
7096         * paragraph_funcs.C: ...here
7097
7098         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7099
7100 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * buffer.C (readInset): remove compability code for old Figure and
7103         InsetInfo insets
7104
7105 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * buffer.C: ws changes
7108         (readInset):
7109
7110         * BufferView_pimpl.C: ditto
7111         * author.C: ditto
7112         * buffer.h: ditto
7113         * bufferlist.h: ditto
7114         * changes.h: ditto
7115         * lyxfunc.C: ditto
7116
7117 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7118
7119         * converter.[Ch]: split into itself +
7120         * graph.[Ch]
7121         * format.[Ch]
7122         * Makefile.am: += graph.[Ch] + format.[Ch]
7123         * MenuBackend.C
7124         * buffer.C
7125         * exporter.C
7126         * importer.C
7127         * lyx_main.C
7128         * lyxfunc.C
7129         * lyxrc.C: added #include "format.h"
7130
7131 2003-02-27  Angus Leeming  <leeming@lyx.org>
7132
7133         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7134           a label.
7135
7136         * factory.C (createInset): add "label" to the factory.
7137
7138         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7139           string and do no more.
7140
7141 2003-02-27  Angus Leeming  <leeming@lyx.org>
7142
7143         * commandtags.h:
7144         * LyXAction.C (init):
7145         * factory.C (createInset):
7146         * BufferView_pimpl.C (dispatch):
7147           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7148
7149         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7150
7151         * lyxfunc.C (dispatch):
7152         * text3.C (dispatch): pass name to params2string.
7153
7154 2003-02-26  Angus Leeming  <leeming@lyx.org>
7155
7156         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7157           blocks together.
7158           Rearrange the ~includes. Strip out the unnecessary ones.
7159
7160         * factory.C (createInset): reformat.
7161           create new insets for the various LFUN_XYZ_APPLY lfuns.
7162
7163 2003-02-26  John Levon  <levon@movementarian.org>
7164
7165         * lyxrow.h:
7166         * lyxrow.C: add isParStart,isParEnd helpers
7167
7168         * paragraph.h: make isInserted/DeletedText take refs
7169
7170         * paragraph_funcs.h:
7171         * paragraph_funcs.C: remove #if 0'd code
7172
7173         * lyxtext.h:
7174         * text3.C:
7175         * text2.C:
7176         * text.C: use lyxrow helpers above.
7177           Move draw and paint routines to RowPainter.
7178           Make several methods use refs not pointers.
7179           Make backgroundColor() const.
7180           Add markChangeInDraw(), isInInset().
7181           Merge changeRegionCase into changeCase.
7182           Make workWidth() shouldn't-happen code into an Assert.
7183
7184         * rowpainter.h:
7185         * rowpainter.C: new class for painting a row.
7186
7187         * vspace.h:
7188         * vspace.C: make inPixels take a ref
7189
7190 2003-02-26  Angus Leeming  <leeming@lyx.org>
7191
7192         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7193         LFUN_REF_APPLY.
7194
7195 2003-02-25  John Levon  <levon@movementarian.org>
7196
7197         * ispell.C: give the forked command a more accurate name
7198
7199 2003-02-22  John Levon  <levon@movementarian.org>
7200
7201         * toc.h:
7202         * toc.C: make TocItem store an id not a Paragraph *
7203           (bug #913)
7204
7205 2003-02-21  Angus Leeming  <leeming@lyx.org>
7206
7207         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7208           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7209           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7210           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7211           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7212           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7213
7214         * BufferView_pimpl.C (dispatch):
7215         * LyXAction.C (init):
7216         * factory.C (createInset):
7217         * lyxfunc.C (getStatus, dispatch):
7218         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7219
7220 2003-02-21  Angus Leeming  <leeming@lyx.org>
7221
7222         * BufferView_pimpl.C (MenuInsertLyXFile):
7223         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7224         * lyxfunc.C (menuNew, open, doImport):
7225           no longer pass a LyXView & to fileDlg.
7226
7227 2003-02-21  Angus Leeming  <leeming@lyx.org>
7228
7229         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7230         * LyXAction.C: change, BIBKEY to BIBITEM.
7231         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7232         Change InsetBibKey to InsetBibitem.
7233         Change BIBKEY_CODE to BIBITEM_CODE.
7234         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7235         * factory.C: replace insetbib.h with insetbibitem.h.
7236         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7237         * paragraph.C: replace insetbib.h with insetbibitem.h.
7238         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7239         Change bibkey() to bibitem().
7240         * text.C: remove insetbib.h.
7241         * text2.C: replace insetbib.h with insetbibitem.h.
7242         change bibkey() to bibitem().
7243         * text3.C: remove insetbib.h.
7244         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7245
7246 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7247
7248         * lyxrc.C (output): enclose user email in quotes (in case there are
7249         several words)
7250
7251 2003-02-18  John Levon  <levon@movementarian.org>
7252
7253         * buffer.h: add std::
7254
7255 2003-02-17  John Levon  <levon@movementarian.org>
7256
7257         * SpellBase.h:
7258         * ispell.h:
7259         * ispell.C:
7260         * pspell.h:
7261         * pspell.C: reworking. Especially in ispell, a large
7262           number of clean ups and bug fixes.
7263
7264         * lyxfunc.C: fix revert to behave sensibly
7265
7266 2003-02-17 André Pönitz <poenitz@gmx.net>
7267
7268         * LyXAction.C:
7269         * commandtags.h: new LFUN_INSERT_BIBKEY
7270
7271         * layout.h:
7272         * lyxlayout.C:
7273         * buffer.C:
7274         * factory.C:
7275         * text.C:
7276         * text2.C:
7277         * text3.C:
7278         * paragraph.[Ch]:
7279         * paragraph_func.C: remove special bibkey handling
7280
7281 2003-02-17  John Levon  <levon@movementarian.org>
7282
7283         * text.C (Delete): fix case where delete at the end of
7284           the very first paragraph would not merge the pars
7285
7286 2003-02-17  John Levon  <levon@movementarian.org>
7287
7288         * lyxrow.C: fix lastPrintablePos()
7289
7290 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7291
7292         * bufferparams.C (writeLaTeX): add a std:here
7293
7294         * buffer.C: and remove a using directive there
7295
7296 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7297
7298         * buffer.C (makeLaTeXFile): move the code that generates the
7299           preamble...
7300
7301         * bufferparams.C (writeLaTeX): ... in this new method
7302
7303         * LaTeXFeatures.C (getEncodingSet): make const
7304           (getLanguages): make const
7305
7306         * MenuBackend.C (binding): returns the binding associated to this
7307           action
7308           (add): sets the status of each item by calling getStatus. Adds
7309           some intelligence.
7310           (read): add support for OptSubMenu
7311           (expand): remove extra separator at the end of expanded menu
7312
7313 2003-02-15  John Levon  <levon@movementarian.org>
7314
7315         * BufferView.C:
7316         * BufferView_pimpl.C:
7317         * bufferlist.h:
7318         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7319           inset code that had no actual effect. Remove unneeded status
7320           code.
7321
7322 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7323
7324         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7325           in preamble
7326
7327 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7328
7329         * text.C (drawLengthMarker): also draw an arrow marker for
7330           symbolic lengths (medskip...)
7331
7332 2003-02-14  John Levon  <levon@movementarian.org>
7333
7334         * tabular.h:
7335         * tabular.C: better method names
7336
7337 2003-02-14  John Levon  <levon@movementarian.org>
7338
7339         * BufferView_pimpl.C:
7340         * bufferlist.C:
7341         * buffer.C:
7342         * converter.C:
7343         * lyx_cb.C:
7344         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7345           it's a more accurate name. Remove some pointless uses.
7346
7347 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7348
7349         * text2.C (LyXText): change order of initilizers to shut off
7350           warnings
7351
7352 2003-02-14  John Levon  <levon@movementarian.org>
7353
7354         * buffer.C: use ParIterator for getParFromID()
7355
7356         * paragraph.h:
7357         * paragraph.C:
7358         * paragraph_pimpl.h:
7359         * paragraph_pimpl.C: remove unused getParFromID()
7360
7361 2003-02-14  John Levon  <levon@movementarian.org>
7362
7363         * buffer.C: remove some very old #if 0'd parse code
7364
7365 2003-02-13  John Levon  <levon@movementarian.org>
7366
7367         * text.h:
7368         * text.C:
7369         * text2.C: move hfillExpansion(), numberOfSeparators(),
7370           rowLast(), rowLastPrintable(), numberofHfills(),
7371           numberOfLabelHfills() ...
7372
7373         * lyxrow.h:
7374         * lyxrow.C: ... to member functions here.
7375
7376         * paragraph.h:
7377         * paragraph.C:
7378         * lyxtext.h:
7379         * text.C: remove LyXText::beginningOfMainBody(), and call
7380           p->beginningOfMainBody() directly. Move the check for
7381           LABEL_MANUAL into the latter.
7382
7383         * text.h:
7384         * text.C:
7385         * text2.C:
7386         * vspace.C:
7387         * BufferView.h:
7388         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7389
7390         * text.h:
7391         * text.C:
7392         * text2.C:
7393         * text3.C:
7394         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7395           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7396
7397 2003-02-13  John Levon  <levon@movementarian.org>
7398
7399         * CutAndPaste.C: remove debug
7400
7401 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7402
7403         * paragraph.C (asString): remove two unused variables
7404
7405         * lyxtextclass.C (readTitleType):
7406           (Read):
7407           (LyXTextClass): handle new members titletype_ and titlename_
7408
7409         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7410
7411 2003-02-09  John Levon  <levon@movementarian.org>
7412
7413         * buffer.h:
7414         * buffer.C: replace hand-coded list with a map for the dep clean
7415
7416 2003-02-08  John Levon  <levon@movementarian.org>
7417
7418         * LaTeX.C: consolidate code into showRunMessage() helper
7419
7420 2003-02-08  John Levon  <levon@movementarian.org>
7421
7422         * lyxfind.C:
7423         * lyxtext.h:
7424         * text2.C:
7425         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7426           and pass the size in explicitly
7427
7428         * BufferView_pimpl.h:
7429         * BufferView_pimpl.C:
7430         * BufferView.h:
7431         * BufferView.C: add getCurrentChange()
7432
7433         * BufferView_pimpl.h:
7434         * BufferView_pimpl.C: handle change lfuns
7435
7436         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7437           for changes. Mark pasted paragraphs as new.
7438
7439         * support/lyxtime.h:
7440         * support/lyxtime.C:
7441         * DepTable.C: abstract time_t as lyx::time_type
7442
7443         * LColor.h:
7444         * LColor.C: add colours for new text, deleted text, changebars
7445
7446         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7447           package use "usenames" option.
7448
7449         * commandtags.h:
7450         * lyxfunc.C:
7451         * LyXAction.C: add change lfuns
7452
7453         * Makefile.am:
7454         * author.h:
7455         * author.C: author handling
7456
7457         * buffer.h:
7458         * buffer.C: add a per-buffer author list, with first entry as
7459           current author. Handle new .lyx tokens for change tracking. Output
7460           author list to .lyx file. Output dvipost stuff to .tex preamble.
7461           Bump lyx format to 222.
7462
7463         * bufferlist.h:
7464         * bufferlist.C: add setCurrentAuthor() to reset current author details
7465           in all buffers.
7466
7467         * bufferparams.h:
7468         * bufferparams.C: add param for tracking
7469
7470         * bufferview_funcs.C: output change info in minibuffer
7471
7472         * Makefile.am:
7473         * changes.h:
7474         * changes.C: add change-tracking structure
7475
7476         * debug.h:
7477         * debug.C: add CHANGES debug flag
7478
7479         * lyxfind.h:
7480         * lyxfind.C: add code for finding the next change piece
7481
7482         * lyxrc.h:
7483         * lyxrc.C: add user_name and user_email
7484
7485         * lyxrow.h:
7486         * lyxrow.C: add a metric for the top of the text line
7487
7488         * lyxtext.h:
7489         * text.C: implement accept/rejectChange()
7490
7491         * lyxtext.h:
7492         * text.C: paint changebars. Paint new/deleted text in the chosen
7493         colours. Strike through deleted text.
7494
7495         * paragraph.h:
7496         * paragraph.C:
7497         * paragraph_pimpl.h:
7498         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7499           in the current change to the insert functions. Rework erase to
7500           mark text as deleted, adding an eraseIntern() and a range-based
7501           erase(). Implement per-paragraph change lookup and
7502           accept/reject.
7503
7504         * paragraph_funcs.C: Fixup paste for change tracking.
7505
7506         * tabular.C: mark added row/columns as new.
7507
7508         * text.C: fix rowLast() to never return -1. Don't allow
7509           spellchecking of deleted text. Track transpose changes. Don't
7510           allow paragraph break or merge where appropriate.
7511
7512         * text2.C: leave cursor at end of selection after a cut.
7513
7514 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7515
7516         * text.C (getLengthMarkerHeight):
7517         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7518         visible on screen too.
7519
7520 2003-02-07  John Levon  <levon@movementarian.org>
7521
7522         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7523
7524 2003-02-05  Angus Leeming  <leeming@lyx.org>
7525
7526         * lyxserver.C (read_ready): revert my patch of 11 September last year
7527         as it sends PC cpu through the roof. Presumably this means that
7528         the lyxserver will no longer run on an Alpha...
7529
7530 2003-01-30  Angus Leeming  <leeming@lyx.org>
7531
7532         * factory.C (createInset): create an InsetCommandParam of type "index"
7533         and use it to 'do the right thing'.
7534
7535         * text2.C (getStringToIndex): ensure that cursor position is always
7536         reset to the reset_cursor position.
7537
7538 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7539
7540         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7541         disabled.
7542
7543 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7544
7545         * bufferview.C:
7546         * lyxcb.C:
7547         * lyxfunc.C: Output messages with identical spelling, punctuation,
7548         and spaces
7549
7550 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7551
7552         * MenuBackend.C (expandFormats): List only viewable export formats
7553         in "View" menu
7554
7555         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7556         message
7557
7558         * lyxfunc.C (getStatus): Make sure that formats other than
7559         "fax" can also be disabled
7560
7561 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7562
7563         * text3.C (dispatch): put the lfuns that insert insets in 3
7564         groups, and call doInsertInset with appropriate arguments.
7565         (doInsertInset): new function, that creates an inset and inserts
7566         it according to some boolean parameters.
7567
7568 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * buffer.C (readFile): remember to pass on 'par' when calling
7571         readFile recursively.
7572
7573 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7574
7575         * MenuBackend.C (expandFormats): add "..." to import formats.
7576
7577 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7578
7579         * paragraph.C (asString): Remove XForms RTL hacks.
7580
7581 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7582         * buffer.C: fix typo
7583
7584 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * Makefile.am (LIBS): delete var
7587         (lyx_LDADD): add @LIBS@ here instead.
7588
7589 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7590
7591         * Clarify the meaning of "wheel mouse jump"
7592
7593 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7594
7595         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7596         tabular in a float
7597
7598 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7599
7600         * importer.C (Loaders): do not preallocate 3 elements in the
7601         vector, since one ends up with 6 elements otherwise
7602
7603 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7604
7605         * DepTable.C (write): write the file name as last element of the
7606         .dep file (because it may contain spaces)
7607         (read): read info in the right order
7608
7609 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7610
7611         * paragraph_pimpl.C (simpleTeXBlanks):
7612         (simpleTeXSpecialChars):
7613         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7614
7615         * tabular.C (latex): add some missing case statements. Reindent.
7616
7617         * MenuBackend.C (expandToc): remove unused variable.
7618
7619 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7620
7621         * LColor.C:
7622         * LaTeX.C:
7623         * LyXAction.C:
7624         * MenuBackend.C:
7625         * buffer.C:
7626         * exporter.C:
7627         * lyxfunc.C:
7628         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7629         and the like.
7630
7631 2003-01-05  John Levon  <levon@movementarian.org>
7632
7633         * BufferView.h:
7634         * BufferView.C: add getEncoding()
7635
7636         * kbsequence.h:
7637         * kbsequence.C: do not store last keypress
7638
7639         * lyxfunc.h:
7640         * lyxfunc.C: store last keypress here instead. Pass encoding
7641           to getISOEncoded()
7642
7643 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7644
7645         * lyx_main.C (init): remove annoying error message when following
7646         symbolic links (bug #780)
7647
7648 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7649
7650         * text.C (insertChar):
7651         * lyxrc.C (getDescription): remove extra spaces
7652
7653 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7654
7655         * lyxrc.C (getDescription): remove extra spaces
7656
7657 2002-12-20  John Levon  <levon@movementarian.org>
7658
7659         * text3.C: hack fix for page up/down across tall rows
7660
7661 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7662
7663         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7664         not been invoked
7665
7666 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7667
7668         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7669         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7670         thesaurus is not compiled in
7671
7672 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7673
7674         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7675
7676 2002-12-16  Angus Leeming  <leeming@lyx.org>
7677
7678         * lyxrc.[Ch]:
7679         * lyx_main.C (init): remove override_x_deadkeys stuff.
7680
7681 2002-12-12  John Levon  <levon@movementarian.org>
7682
7683         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7684           insert. Only remove shift modifier under strict
7685           circumstances.
7686
7687 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * MenuBackend.C (expandToc): fix crash.
7690
7691 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * MenuBackend.C (expandToc): gettext on float names.
7694
7695 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7696
7697         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7698         implement bool empty() [bug 490]
7699
7700 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7703
7704 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * several files: ws changes
7707
7708 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * text2.C (setCounter): clean up a bit, use boost.format.
7711         (updateCounters): initialize par upon declaration.
7712
7713         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7714         if the layout exists. We do not just store the layout any more.
7715         (SwitchLayoutsBetweenClasses): use boost.format
7716
7717 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7718
7719         * converter.C (convert): if from and to files are the same, use a
7720         temporary files as intermediary
7721
7722 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7723
7724         * commandtags.h:
7725         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7726
7727 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7728
7729         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7730
7731 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * tabular.C (asciiPrintCell): use string(size, char) instead of
7734         explicit loop.
7735
7736         * sgml.C (openTag): fix order of arguments to string constructor
7737         (closeTag): ditto
7738
7739         * lyxfunc.C (dispatch): use boost.format
7740
7741         * lots of files: change "c" -> 'c'
7742
7743 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7744
7745         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7746
7747 2002-11-25  Angus Leeming  <leeming@lyx.org>
7748
7749         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7750
7751         * lyx_main.C (init): compile fix.
7752
7753 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * lyx_cb.C (start): boost.formatify
7756         do not include <iostream>
7757
7758         * lengthcommon.C: ws only
7759
7760         * boost-inst.C,BoostFormat.h: add more explict instantations
7761
7762 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * lots of files: handle USE_BOOST_FORMAT
7765
7766 2002-11-21  John Levon  <levon@movementarian.org>
7767
7768         * pspell.C: fix compile
7769
7770 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7771
7772         * lyxfunc.C (dispatch): use boost::format
7773         (open): ditto
7774         (doImport): ditto
7775
7776         * lyxfont.C (stateText): use boost::format
7777
7778         * lyx_main.C (LyX): use boost::format
7779         (init): ditto
7780         (queryUserLyXDir): ditto
7781         (readRcFile): ditto
7782         (parse_dbg): ditto
7783         (typedef boost::function): use the recommened syntax.
7784
7785         * importer.C (Import): use boost::format
7786
7787         * debug.C (showLevel): use boost::format
7788
7789         * converter.C (view): use boost::format
7790         (convert): ditto
7791         (move): ditto
7792         (scanLog): ditto
7793
7794         * bufferview_funcs.C (currentState): use boost::format
7795
7796         * bufferlist.C (emergencyWrite): use boost::format
7797
7798         * buffer.C (readLyXformat2): use boost::format
7799         (parseSingleLyXformat2Token): ditto
7800
7801         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7802
7803         * LaTeX.C (run): use boost::format
7804
7805         * Chktex.C (scanLogFile): use boost::format
7806
7807         * BufferView_pimpl.C (savePosition): use boost::format
7808         (restorePosition): ditto
7809         (MenuInsertLyXFile): ditto
7810
7811         * BoostFormat.h: help file for explicit instation.
7812
7813 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * tabular.C (latex): Support for block alignment in fixed width
7816         columns.
7817
7818 2002-11-17  John Levon  <levon@movementarian.org>
7819
7820         * BufferView_pimpl.C:
7821         * lyx_cb.C:
7822         * lyxfunc.C: split filedialog into open/save
7823
7824 2002-11-08  Juergen Vigna  <jug@sad.it>
7825
7826         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7827         by my last patch (hopefully).
7828
7829 2002-11-08  John Levon  <levon@movementarian.org>
7830
7831         * iterators.h:
7832         * iterators.C:
7833         * buffer.h:
7834         * buffer.C:
7835         * paragraph.h:
7836         * paragraph.C:
7837         * toc.h:
7838         * toc.C: ParConstIterator, and use it (from Lars)
7839
7840 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7841
7842         * lyxtextclass.[Ch]: revise and add doxygen comments
7843
7844 2002-11-07  John Levon  <levon@movementarian.org>
7845
7846         * text.C: fix progress value for spellchecker
7847
7848         * toc.C: fix navigate menu for insetwrap inside minipage
7849
7850         * paragraph_funcs.C: added FIXME for suspect code
7851
7852 2002-11-07  John Levon  <levon@movementarian.org>
7853
7854         * BufferView_pimpl.C: fix redrawing of insets
7855           on buffer switch
7856
7857 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7858
7859         * text2.C (updateCounters): fix bug 668
7860
7861 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7862
7863         * text3.C (dispatch): Do not make the buffer dirty when moving the
7864         cursor.
7865
7866 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * vc-backend.C: STRCONV
7869         (scanMaster): ditto
7870
7871         * text2.C (setCounter): STRCONV
7872
7873         * paragraph.C (asString): STRCONV
7874
7875         * lyxlength.C (asString): STRCONV
7876         (asLatexString): ditto
7877
7878         * lyxgluelength.C (asString): STRCONV
7879         (asLatexString): ditto
7880
7881         * lyxfunc.C (dispatch): STRCONV
7882         (open): ditto
7883
7884         * lyxfont.C (stateText): STRCONV
7885
7886         * importer.C (Import): STRCONV
7887
7888         * counters.C (labelItem): STRCONV
7889         (numberLabel): ditto
7890         (numberLabel): remove unused ostringstream o
7891
7892         * chset.C: STRCONV
7893         (loadFile): ditto
7894
7895         * bufferview_funcs.C (currentState): STRCONV
7896
7897         * buffer.C (readFile): STRCONV
7898         (asciiParagraph): ditto
7899         (makeLaTeXFile): ditto
7900
7901         * Spacing.C (writeEnvirBegin): STRCONV
7902
7903         * LaTeXFeatures.C (getLanguages): STRCONV
7904         (getPackages): ditto
7905         (getMacros): ditto
7906         (getBabelOptions): ditto
7907         (getTClassPreamble): ditto
7908         (getLyXSGMLEntities): ditto
7909         (getIncludedFiles): ditto
7910
7911         * LaTeX.C: STRCONV
7912         (run): ditto
7913         (scanAuxFile): ditto
7914         (deplog): ditto
7915
7916         * LString.h: add the STRCONV macros
7917
7918         * BufferView_pimpl.C (savePosition): STRCONV
7919         (restorePosition): ditto
7920         (MenuInsertLyXFile): ditto
7921
7922         * vc-backend.C (scanMaster): change from submatch[...] to
7923         submatch.str(...)
7924
7925         * funcrequest.C: include config.h
7926
7927         * factory.C: include config.h
7928
7929         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7930
7931         * box.C: include config.h
7932
7933         * LaTeX.C (scanAuxFile): change from submatch[...] to
7934         submatch.str(...)
7935         (deplog): ditto
7936
7937 2002-10-25  Angus Leeming  <leeming@lyx.org>
7938
7939         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7940
7941         * ispell.[Ch] (setError): new method.
7942         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7943         Use setError() insetead of goto END.
7944
7945         * lyx_cb.C (AutoSave): move out child process into new class
7946         AutoSaveBuffer.
7947
7948 2002-10-30  John Levon  <levon@movementarian.org>
7949
7950         * text3.C: make start appendix undoable
7951
7952 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7953
7954         * lyxlength.C (inPixels): Fix returned value.
7955
7956         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7957         environment.
7958
7959 2002-10-24  Angus Leeming  <leeming@lyx.org>
7960
7961         * lyxgluelength.h: no need to forward declare BufferParams
7962         or BufferView, so don't.
7963
7964 2002-10-21  John Levon  <levon@movementarian.org>
7965
7966         * BufferView.C: menuUndo ->undo, redo
7967
7968         * BufferView.h: document, remove dead, make some methods private
7969
7970         * paragraph_funcs.h:
7971         * paragraph_funcs.C:
7972         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7973
7974         * buffer.h:
7975         * buffer.C:
7976         * sgml.h:
7977         * sgml.C: move sgml open/close tag into sgml.C
7978
7979         * bufferview_funcs.h: unused prototype
7980
7981         * lyxfunc.h:
7982         * lyxfunc.C: remove unused
7983
7984         * lyxtext.h:
7985         * text.C: remove unused
7986
7987 2002-10-21  John Levon  <levon@movementarian.org>
7988
7989         * BufferView.h:
7990         * BufferView.C:
7991         * BufferView_pimpl.h:
7992         * BufferView_pimpl.C: fix mouse wheel handling based on
7993           patch from Darren Freeman
7994
7995 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7996
7997         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7998
7999 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8000
8001         * lyxlength.C (inPixels): Fix hanfling of negative length.
8002         Fix LyXLength::MU case.
8003
8004 2002-10-16  John Levon  <levon@movementarian.org>
8005
8006         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8007
8008 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8009
8010         * converter.C (view): add support for $$i (file name) and $$p
8011         (file path) for the viewer command. If $$i is not specified, then
8012         it is appended to the command (for compatibility with old syntax)
8013
8014 2002-10-14  Juergen Vigna  <jug@sad.it>
8015
8016         * undo_funcs.C (textHandleUndo): alter the order in which the
8017         new undopar is added to the LyXText, as we have to set first
8018         the right prev/next and then add it as otherwise the rebuild of
8019         LyXText is not correct. Also reset the cursor to the right paragraph,
8020         with this IMO we could remove the hack in "redoParagraphs()".
8021
8022 2002-10-09  Angus Leeming  <leeming@lyx.org>
8023
8024         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8025         to turn off an optimisation if a new inset is to be inserted.
8026
8027 2002-10-11 André Pönitz <poenitz@gmx.net>
8028
8029         * lyxtext.h: make some functions public to allow access
8030         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8031
8032 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8033
8034         * text3.C (dispatch): when changing layout, avoid an infinite loop
8035         [bug #652]
8036
8037 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8038
8039         * lyxrc.C (read): treat a viewer or converter command of "none" as
8040         if it were empty.
8041
8042         * MenuBackend.C (expandFormats): for an update, also allow the
8043         formats that are not viewable
8044
8045         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8046         script if it is newer than the lyxrc.defaults in user directory
8047
8048 2002-10-07 André Pönitz <poenitz@gmx.net>
8049
8050         * text.C: Vitaly Lipatov's small i18n fix
8051
8052 2002-09-25  Angus Leeming  <leeming@lyx.org>
8053
8054         * ispell.h: doxygen fix.
8055
8056 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8057
8058         * buffer.h (readFile): Add a new argument to the method, to allow
8059         reading of old-format templates.
8060
8061 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8062
8063         * toc.C (getTocList): Get TOC from InsetWrap.
8064
8065 2002-09-16  John Levon  <levon@movementarian.org>
8066
8067         * lyxfunc.C: check tabular for cut/copy too
8068
8069 2002-09-12  John Levon  <levon@movementarian.org>
8070
8071         * LyXAction.C: tidy
8072
8073         * factory.h:
8074         * factory.C: add header
8075
8076         * paragraph_funcs.h:
8077         * paragraph_funcs.C: cleanup
8078
8079 2002-09-11  John Levon  <levon@movementarian.org>
8080
8081         * PrinterParams.h: odd/even default to true
8082
8083 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8084
8085         * PrinterParams.h: update printer parameters for new xforms dialog
8086
8087 2002-09-11  Angus Leeming  <leeming@lyx.org>
8088
8089         * lyxserver.C (read_ready): re-write to make it more transparent
8090         and to make it work in coherent fashion under Tru64 Unix.
8091
8092 2002-09-11  André Pönitz <poenitz@gmx.net>
8093
8094         * commandtags.h:
8095         * LyXAction.C:
8096         * text3.C: implement LFUN_WORDSEL
8097
8098 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8101         make floatlist_ a boost::shared_ptr<FloatList>
8102
8103         * lyxtextclass.C: include FloatList.h
8104         (LyXTextClass): initialize floatlist_
8105         (TextClassTags): add TC_NOFLOAT
8106         (Read): match "nofloat" to TC_NOFLOAT and use it.
8107         (readFloat): modify call to floatlist_
8108         (floats): ditto
8109         (floats): ditto
8110
8111         * FloatList.[Ch] (FloatList): remove commented out float
8112         initialization.
8113         (erase): new function
8114
8115 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8116
8117         * MenuBackend.C (expandToc): fix crash when there is no document
8118         open
8119
8120 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8121
8122         * many files: Add insetwrap.
8123
8124 2002-09-09  John Levon  <levon@movementarian.org>
8125
8126         * text2.C: remove confusing and awkward depth wraparound
8127
8128 2002-09-09  John Levon  <levon@movementarian.org>
8129
8130         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8131
8132         * buffer.h:
8133         * buffer.C: remove getIncludeonlyList()
8134
8135         * paragraph.C:
8136         * lyxfunc.C: remove headers
8137
8138 2002-09-09  Juergen Vigna  <jug@sad.it>
8139
8140         * text.C (getColumnNearX): fix form Michael this is most
8141         probably a cut&paste bug.
8142
8143 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8146
8147         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8148         references, ws changes.
8149
8150         * text2.C (init): update counters after init
8151         (insertParagraph): no need to set counter on idividual paragraphs.
8152         (setCounter): access the counters object in the textclass object
8153         on in the buffer object.
8154         (updateCounters): ditto
8155
8156         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8157         shared_ptr<Counters> to avoid loading counters.h in all
8158         compilation units.
8159         (LyXTextClass): initialize ctrs_
8160         (TextClassTags): add TC_COUNTER, and ...
8161         (Read): use it here.
8162         (CounterTags): new tags
8163         (readCounter): new function
8164         (counters): new funtion
8165         (defaultLayoutName): return a const reference
8166
8167         * counters.C (Counters): remove contructor
8168         (newCounter): remove a couple of unneeded statements.
8169         (newCounter): simplify a bit.
8170         (numberLabel): some small formatting changes.
8171
8172         * buffer.[Ch]: remove all traces of counters, move the Counters
8173         object to the LyXTextClass.
8174
8175 2002-09-06  Alain Castera  <castera@in2p3.fr>
8176
8177         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8178         package to set the horizontal alignment on fixed width columns.
8179
8180         * lyx_sty.C:
8181         * lyx_sty.h: added tabularnewline macro def.
8182
8183         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8184
8185 2002-09-06  John Levon  <levon@movementarian.org>
8186
8187         * LyXAction.C: tooltips for sub/superscript
8188
8189         * MenuBackend.C: a bit more verbose
8190
8191         * lyxfunc.C: tiny clean
8192
8193         * undo_funcs.C: document undo_frozen
8194
8195 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * counters.C (Counters): add missing algorithm counter.
8198
8199         * text2.C (setCounter): lookup the counter with layouts latexname
8200         instead of by section number.
8201         (setCounter): use a hackish way to lookup the correct enum
8202         counter.
8203         a float name->type change
8204         reset enum couners with counter name directly instead of depth value.
8205
8206         * counters.C (Counters): remove the push_backs, change to use the
8207         float type not the float name.
8208         (labelItem): remove unused string, float name->type change
8209
8210         * counters.h: don't include vector, loose the enums and sects vectors
8211
8212 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8215         (Read): add float->TC_FLOAT to textclassTags
8216         (Read): and handle it in the switch
8217         (readFloat): new function
8218
8219         * FloatList.C (FloatList): comment out the hardcoded float
8220         definitions.
8221
8222         * lyxlayout.h: ws change.
8223
8224 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8227
8228 2002-09-03  Angus Leeming  <leeming@lyx.org>
8229
8230         * BufferView_pimpl.h: qualified name is not allowed in member
8231         declaration: WorkArea & Pimpl::workarea() const;
8232
8233         * factory.C: added using std::endl directive.
8234
8235         * text3.C: added using std::find and std::vector directives.
8236
8237 2002-08-29  André Pönitz <poenitz@gmx.net>
8238
8239         * lyxtext.h:
8240         * text2.C: remove unused member number_of_rows
8241
8242         * Makefile.am:
8243         * BufferView2.C: remove file, move contents to...
8244         * BufferView.C: ... here
8245
8246         * BufferView_pimpl.C:
8247         * factory.C: move more inset creation to factory
8248
8249         * vspace.C: avoid direct usage of LyXText, ws changes
8250
8251         * BufferView.[Ch]:
8252                 don't provide direct access to WorkArea, use two simple
8253                 acessors haveSelction() and workHeight() instead
8254
8255
8256 2002-08-29  John Levon  <levon@movementarian.org>
8257
8258         * BufferView_pimpl.C (dispatch): do not continue when
8259           no buffer
8260
8261 2002-08-28  André Pönitz <poenitz@gmx.net>
8262
8263         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8264
8265         * BufferView.h:
8266         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8267
8268 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8269
8270         * buffer.C: increment LYX_FORMAT to 221
8271
8272         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8273         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8274
8275         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8276
8277         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8278
8279 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8280
8281         * factory.C (createInset): use LyXTextClass::floats
8282
8283         * MenuBackend.C (expandFloatListInsert):
8284         (expandFloatInsert):
8285         (expandToc):
8286
8287         * text2.C (setCounter):
8288
8289         * LaTeXFeatures.C (useFloat):
8290         (getFloatDefinitions):
8291
8292         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8293
8294         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8295         floatlist_, with accessor floats().
8296
8297         * FloatList.h: remove global FloatList
8298
8299 2002-08-26  André Pönitz <poenitz@gmx.net>
8300
8301         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8302
8303         * BufferView.h:
8304         * BufferView2.C:
8305         * BufferView_pimpl.C:
8306         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8307
8308 2002-08-25  John Levon  <levon@movementarian.org>
8309
8310         * LyXAction.C: fix margin note description
8311
8312 2002-08-24  John Levon  <levon@movementarian.org>
8313
8314         * buffer.C:
8315         * bufferlist.C:
8316         * bufferview_funcs.C:
8317         * lyxfont.C:
8318         * undo_funcs.C: cleanups
8319
8320         * lyxfunc.C: disable CUT/COPY when no selection
8321
8322 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8323
8324         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8325         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8326
8327         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8328         Add backward compatibility to "mono", "gray" and "no".
8329
8330 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8331
8332         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8333         (and file_format >= 200).
8334
8335 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8336
8337         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8338
8339 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8342
8343 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8344
8345         * BufferView_pimpl.C:
8346         * LyXAction.C:
8347         * buffer.C:
8348         * commandtags.h:
8349         * lyxfunc.C:
8350         * paragraph.[Ch]:
8351         * text2.C:
8352         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8353         inset and code to make it  work with the paragraph code. The inset
8354         can be anywhere in the paragraph, but will only do the expected
8355         thing in LaTeX if the layout file contains the parameter line
8356                         OptionalArgs    1
8357         (or more generally, a nonzero value) for that layout.
8358
8359 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * paragraph.h: remove the declaration of undefined counters class
8362         function.
8363
8364 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8365
8366         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8367         Dr. Richard Hawkins.
8368
8369 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * paragraph_funcs.h: remove some unneeded includes
8372
8373         * text.C (backspace): pasteParagraph now in global scipe
8374
8375         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8376         (pasteSelection): ditto
8377
8378         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8379         * paragraph_funcs.C (pasteParagraph): ... here
8380
8381 2002-08-20  André Pönitz <poenitz@gmx.net>
8382
8383         * commandtags.h: new LFUNs for swapping/copying table row/colums
8384
8385         * LyXAction.C:
8386         * lyxfunc.C: support for new lfuns
8387
8388 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * tabular.C:
8391         * buffer.[Ch]: remove NO_COMPABILITY stuff
8392
8393 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * boost.C (throw_exception): new file, with helper function for
8396         boost compiled without exceptions.
8397
8398         * paragraph.h:
8399         * lyxlength.C:
8400         * buffer.C:
8401         * ParameterStruct.h:
8402         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8403
8404         * bufferlist.C (emergencyWriteAll): use boost bind
8405
8406         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8407
8408         * text.C: include paragraph_funcs.h
8409         (breakParagraph): breakParagraph is now in global scope
8410
8411         * paragraph_funcs.[Ch]: new files
8412
8413         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8414         global scope
8415
8416         * buffer.C: include paragraph_funcs.h
8417         (insertStringAsLines): breakParagraph is now in global scope
8418
8419         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8420         paragraph_funcs.C
8421
8422         * CutAndPaste.C: include paragraph_funcs.h
8423         (cutSelection): breakParagraphConservative is now in global scope
8424         (pasteSelection): ditto
8425
8426         * buffer.h: declare oprator== and operator!= for
8427         Buffer::inset_iterator
8428
8429         * bufferlist.C (emergencyWrite): don't use fmt(...)
8430
8431         * text3.C: add using std::endl
8432
8433         * BufferView.C (moveCursorUpdate): remove default arg
8434
8435 2002-08-20  André Pönitz <poenitz@gmx.net>
8436
8437         * buffer.[Ch]: move inline functions to .C
8438
8439         * BufferView2.C:
8440         * BufferView_pimpl.C:
8441         * text.C:
8442         * buffer.[Ch]: use improved inset_iterator
8443
8444         * buffer.C:
8445         * paragraph.[Ch]: write one paragraph at a time
8446
8447 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8448
8449         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8450         style if style is not specified.
8451
8452 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * text2.C (setCounter): when searching for right label for a
8455         caption, make sure to recurse to parent insets (so that a caption
8456         in a minipage in a figure float works) (bug #568)
8457
8458 2002-08-20  André Pönitz <poenitz@gmx.net>
8459
8460         * text3.C: new file for LyXText::dispatch() and helpers
8461
8462         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8463
8464         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8465
8466 2002-08-19  André Pönitz <poenitz@gmx.net>
8467
8468         * lyxtext.h:
8469         * text.C: new LyXText::dispatch()
8470
8471         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8472
8473 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8476
8477         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8478         Hebrew text.
8479
8480 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * Makefile.am: use $(variables) instead of @substitutions@
8483
8484 2002-08-15  André Pönitz <poenitz@gmx.net>
8485
8486         * lyxfunc.C:
8487         * BufferView_pimpl.C: streamlining mathed <-> outer world
8488         interaction
8489
8490         * commandtags.h:
8491         * LyXAction.C: remove unused LFUN_MATH
8492
8493 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8496
8497 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * paragraph.C (Paragraph): reformat a bit
8500         (cutIntoMinibuffer): use builtin InsetList function instad of
8501         doing it manually.
8502         (getInset): ditto
8503
8504         * buffer.C: include boost/bind.hpp, add using std::for_each
8505         (writeFileAscii): use ParagraphList iterators
8506         (validate): use for_each for validate traversal of paragraphs
8507         (getBibkeyList): use ParagraphList iterators
8508         (resizeInsets): use for_each to resizeInsetsLyXText for all
8509         paragraphs.
8510         (getParFromID): use ParagraphList iterators
8511
8512         * BufferView2.C (lockInset): use paragraph list and iterators
8513
8514 2002-08-14  John Levon  <levon@movementarian.org>
8515
8516         * lyxserver.C: remove spurious xforms include
8517
8518 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8521
8522 2002-08-13  André Pönitz <poenitz@gmx.net>
8523
8524         * LyXAction.[Ch]:
8525         * lyxfunc.C: further cleaning
8526
8527 2002-08-13  André Pönitz <poenitz@gmx.net>
8528
8529         * funcrequest.h: new constructor
8530
8531         * funcrequest.C: move stuff here from .h
8532
8533         * Makefile.am:
8534         * BufferView_pimpl.C:
8535         * LyXAction.C:
8536         * toc.C:
8537         * lyxfunc.C: subsequent changes
8538
8539         * lyxfunc.h: new view() member function
8540
8541         * lyxfunc.C: subsequent changes
8542
8543 2002-08-13  Angus Leeming  <leeming@lyx.org>
8544
8545         * BufferView2.C:
8546         * BufferView_pimpl.C:
8547         * buffer.C:
8548         * converter.C:
8549         * importer.C:
8550         * lyxfunc.C:
8551         * lyxvc.C:
8552         * toc.C:
8553         * vc-backend.C:
8554         changes due to the changed LyXView interface that now returns references
8555         to member variables not pointers.
8556
8557 2002-08-13  Angus Leeming  <leeming@lyx.org>
8558
8559         * WordLangTuple (word, lang_code): return references to strings,
8560         not strings.
8561
8562         * BufferView.h:
8563         * SpellBase.h:
8564         * lyxtext.h: forward-declare WordLangTuple.
8565
8566         * BufferView2.C:
8567         * ispell.C:
8568         * pspell.C:
8569         * text.C: #include "WordLangTuple.h".
8570
8571         * lyxtext.h:
8572         * text.C: (selectNextWordToSpellcheck): constify return type.
8573
8574 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8575
8576         * buffer.C:
8577         * buffer.h:
8578         * lyxtext.h:
8579         * paragraph.C:
8580         * paragraph_pimpl.h:
8581         * text.C:
8582         * text2.C:
8583         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8584         suggested by Angus.
8585         Made updateCounter always count from start of buffer, and removed
8586         second argument (par).
8587         Reverted floats number display to '#'. Perhaps I'll try again when the
8588         code base is sanitized a bit.
8589
8590 2002-08-12  Angus Leeming  <leeming@lyx.org>
8591
8592         * buffer.[Ch] (getLabelList): constify.
8593
8594 2002-08-07  André Pönitz <poenitz@gmx.net>
8595
8596         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8597
8598         * funcrequest.h: extension to keep mouse (x,y) position
8599
8600 2002-08-12  Juergen Vigna  <jug@sad.it>
8601
8602         * BufferView2.C (insertErrors): forbid undo when inserting error
8603         insets.
8604
8605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8606
8607 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * ParagraphList.[Ch]: new files
8610
8611         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8612
8613         * BufferView2.C (lockInset): ParagraphList changes
8614         * toc.C: ditto
8615         * text2.C: ditto
8616         * bufferlist.C: ditto
8617         * buffer.h: ditto
8618         * buffer.C: ditto
8619
8620 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8621
8622         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8623         unused class variable counter_,
8624
8625         * paragraph.[Ch] (getFirstCounter): delete unused function
8626
8627         * counters.C: include LAssert.h
8628         (reset): add a new function with no arg, change other version to
8629         not have def. arg and to not allow empty arg.
8630
8631         * text2.C (setCounter): remove empty arg from call to Counters::reset
8632
8633 2002-08-11  John Levon  <levon@movementarian.org>
8634
8635         * Makefile.am: add WordLangTuple.h
8636
8637 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8638
8639         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8640         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8641
8642         * insets/insettext.C: InsetList changes
8643
8644         * graphics/GraphicsSupport.C (operator()): InsetList changes
8645
8646         * toc.C (getTocList): InsetList changes
8647
8648         * paragraph_pimpl.[Ch]: InsetList changes
8649
8650         * paragraph.[Ch]: InsetList changes
8651
8652         * buffer.C (inset_iterator): InsetList changes
8653         (setParagraph): ditto
8654         * buffer.h (inset_iterator): ditto
8655         * iterators.C (operator++): ditto
8656         * iterators.h: ditto
8657
8658         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8659
8660         * InsetList.[Ch]: new files, most InsetList handling moved out of
8661         paragraph.C.
8662
8663         * BufferView2.C (removeAutoInsets): InsetList changes
8664         (lockInset): ditto
8665         (ChangeInsets): ditto
8666
8667 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * paragraph_pimpl.h (empty): new function
8670
8671         * paragraph.[Ch] (empty): new function
8672
8673         * other files: use the new Paragraph::empty function
8674
8675 2002-08-09  John Levon  <levon@movementarian.org>
8676
8677         * lyxtext.h: remove unused refresh_height
8678
8679 2002-08-09  John Levon  <levon@movementarian.org>
8680
8681         * Makefile.am:
8682         * sgml.h:
8683         * sgml.C:
8684         * buffer.C:
8685         * paragraph.h:
8686         * paragraph.C: move sgml char escaping out of paragraph
8687
8688         * paragraph.h:
8689         * paragraph.C: remove id setter
8690
8691         * buffer.C:
8692         * paragraph.C:
8693         * paragraph_pimpl.C: remove dead tex_code_break_column
8694
8695         * bufferview_funcs.C: small cleanup
8696
8697         * lyxfunc.C: remove dead proto
8698
8699         * lyxtext.h: make some stuff private. Remove some dead stuff.
8700
8701         * lyxgluelength.C: make as[LyX]String() readable
8702
8703 2002-08-08  John Levon  <levon@movementarian.org>
8704
8705         * LyXAction.h:
8706         * LyXAction.C:
8707         * MenuBackend.C:
8708         * ToolbarDefaults.C:
8709         * lyxfunc.C:
8710         * lyxrc.C:
8711         * toc.C: lyxaction cleanup
8712
8713 2002-08-08  John Levon  <levon@movementarian.org>
8714
8715         * BufferView2.C: small cleanup
8716
8717         * lyxfind.h:
8718         * lyxfind.C: move unnecessary header into the .C
8719
8720 2002-08-08  John Levon  <levon@movementarian.org>
8721
8722         * funcrequest.h: just tedious nonsense
8723
8724         * lyx_main.h:
8725         * lyx_main.C: cleanups
8726
8727         * buffer.C:
8728         * vspace.C: remove dead header lyx_main.h
8729
8730 2002-08-07  Angus Leeming  <leeming@lyx.org>
8731
8732         * Paragraph.[Ch]:
8733         * paragraph_pimpl.h:
8734         Forward declare class Counters in paragraph.h by moving the ctrs member
8735         variable into Paragraph::Pimpl.
8736         (counters): new method, returning a reference to pimpl_->ctrs.
8737
8738         * text2.C: ensuing changes.
8739
8740 2002-08-07  John Levon  <levon@movementarian.org>
8741
8742         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8743
8744         * BufferView_pimpl.C: announce X selection on double/triple
8745           click
8746
8747         * lyx_main.C: use correct bool in batch dispatch
8748
8749         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8750
8751 2002-08-07  André Pönitz <poenitz@gmx.net>
8752
8753         * funcrequest.h: new class to wrap a kb_action and its argument
8754
8755         * BufferView.[Ch]:
8756         * BufferView_pimpl[Ch]:
8757         * LaTeX.C:
8758         * LyXAction.[Ch]:
8759         * lyxfunc.[Ch]:
8760         * lyxrc.C: subsequent changes
8761
8762
8763 2002-08-07  John Levon  <levon@movementarian.org>
8764
8765         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8766           document options change.
8767
8768 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8769
8770         * counters.[Ch]
8771         * text2.C
8772         * paragraph.[Ch]
8773         * makefile.am: move counters functionality over from
8774         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8775
8776 2002-08-06  John Levon  <levon@movementarian.org>
8777
8778         * WordLangTuple.h: new file for word + language code tuple
8779
8780         * SpellBase.h:
8781         * pspell.h:
8782         * pspell.C:
8783         * ispell.h:
8784         * ispell.C:
8785         * lyxtext.h:
8786         * text.C:
8787         * text2.C:
8788         * BufferView.h:
8789         * BufferView2.C: use WordLangTuple
8790
8791         * layout.h:
8792         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8793
8794 2002-08-06  John Levon  <levon@movementarian.org>
8795
8796         * lyx_main.C: fix cmdline batch handling
8797
8798 2002-08-06  André Pönitz <poenitz@gmx.net>
8799
8800         * lyxrc.C: set default for show_banner to true
8801
8802 2002-08-06  John Levon  <levon@movementarian.org>
8803
8804         * pspell.C: fix a crash, and allow new aspell to work
8805
8806 2002-08-06  John Levon  <levon@movementarian.org>
8807
8808         * lyxfunc.C:
8809         * kbmap.C: small cleanup
8810
8811         * vspace.h:
8812         * vspace.C: add const
8813
8814 2002-08-05  John Levon  <levon@movementarian.org>
8815
8816         * LyXAction.C: back to tabular-insert
8817
8818 2002-08-04  John Levon  <levon@movementarian.org>
8819
8820         * BufferView.h:
8821         * BufferView.C: cosmetic change
8822
8823         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8824
8825         * bufferlist.C:
8826         * buffer.h:
8827         * buffer.C:
8828         * lyxcb.h:
8829         * lyxcb.C:
8830         * lyxserver.C:
8831         * lyxvc.C:
8832         * vc-backend.C:
8833         * BufferView2.C: purge all "Lyx" not "LyX" strings
8834
8835         * lyxcursor.h:
8836         * lyxcursor.C: attempt to add some documentation
8837
8838         * lyxfunc.C:
8839         * commandtags.h:
8840         * LyXAction.C:
8841         * ToolbarDefaults.C:
8842         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8843           merge with LFUN_TABULAR_INSERT
8844
8845         * Makefile.am:
8846         * SpellBase.h:
8847         * ispell.h:
8848         * ispell.C:
8849         * pspell.h:
8850         * pspell.C: split up i/pspell implementations into separate
8851           files, many cleanups
8852
8853         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8854
8855         * text2.C: some cleanup
8856
8857         * lyxfunc.C: don't check for isp_command == "none" any more, it
8858           didn't make any sense
8859
8860 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8861
8862         * counters.[Ch]
8863         * text2.C
8864         * paragraph.[Ch]
8865         * makefile.am: move counters functionality over
8866         from text2.C/paragraph.[Ch] to counters.[Ch], and
8867         make proper C++.
8868 2002-08-02  John Levon  <levon@movementarian.org>
8869
8870         * buffer.C: s/lyxconvert/lyx2lyx/
8871
8872 2002-08-02  Angus Leeming  <leeming@lyx.org>
8873
8874         * lyxlex.C: revert John's change as it breaks reading of the user
8875         preamble.
8876
8877 2002-08-02  Angus Leeming  <leeming@lyx.org>
8878
8879         * importer.C (Import):
8880         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8881         changes due to LyXView::view() now returning a boost::shared_ptr.
8882
8883 2002-08-02  John Levon  <levon@movementarian.org>
8884
8885         * lyxlex.C: small cleanup
8886
8887 2002-08-02  John Levon  <levon@movementarian.org>
8888
8889         * text2.C (status): small cleanup, no logic change
8890
8891 2002-08-01  John Levon  <levon@movementarian.org>
8892
8893         * buffer.h:
8894         * buffer.C (writeFile): don't output alerts, caller
8895           handles this
8896
8897         * bufferlist.C:
8898         * lyx_cb.C: from above
8899
8900         * lyxfunc.C: allow to open non-existent files
8901
8902 2002-07-31  John Levon  <levon@movementarian.org>
8903
8904         * lyxserver.C: don't let incidental errors get
8905           in the way (errno)
8906
8907 2002-07-30  John Levon  <levon@movementarian.org>
8908
8909         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8910
8911 2002-07-30  John Levon  <levon@movementarian.org>
8912
8913         * lyxserver.h:
8914         * lyxserver.C: remove I/O callback too
8915
8916 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8919         log.
8920
8921 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8922
8923         * many files: strip,frontStrip -> trim,ltrim,rtrim
8924
8925 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8926
8927         * PrinterParams.h: remove extern containsOnly, and include
8928         support/lstrings.h instead.
8929
8930         * LaTeX.C (scanAuxFile): modify because of strip changes
8931         (deplog): ditto
8932         * buffer.C (makeLaTeXFile): ditto
8933         * bufferparams.C (writeFile): ditt
8934         * lyxfont.C (stateText): ditto
8935         * lyxserver.C (read_ready): ditto
8936         * vc-backend.C (scanMaster): ditto
8937
8938         * BufferView_pimpl.h: ws changes
8939
8940         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8941
8942 2002-07-26  André Pönitz <poenitz@gmx.net>
8943
8944         * kb_sequence.C: remove unnedred usings
8945
8946 2002-07-26  Juergen Vigna  <jug@sad.it>
8947
8948         * lyxfind.C (LyXReplace): we have to check better if the returned
8949         text is not of theLockingInset()->getLockingInset().
8950
8951 2002-07-25  Juergen Vigna  <jug@sad.it>
8952
8953         * lyxfind.C (LyXReplace): don't replace if we don't get the
8954         right LyXText.
8955
8956         * undo_funcs.C (createUndo): remove debugging code.
8957
8958 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * buffer.C (parseSingleLyXformat2Token): Use default placement
8961         when reading old floats.
8962
8963         * FloatList.C (FloatList): Change the default placement of figure
8964         and tables to "tbp".
8965
8966 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8967
8968         * MenuBackend.C: using std::max
8969
8970 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * MenuBackend.C (expandToc):
8973         (expandToc2): code moved from xforms menu frontend. It is now
8974         generic and TOCs are transparent to menu frontends.
8975
8976 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8977
8978         * toc.C (getTocList): protect against buf=0
8979
8980         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8981         Menu as first parameter. Now, this calls itself recursively to
8982         expand a whole tree (this will be useful for TOC handling)
8983         (expandFloatInsert): remove 'wide' version of floats
8984
8985         * MenuBackend.h (submenuname): returns the name of the submenu.
8986         (submenu): returns the submenu itself, provided it has been
8987         created by MenuBackend::expand
8988
8989 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8990
8991         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8992         insets which have noFontChange == true. (bug #172)
8993
8994 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8995
8996         * BufferView_pimpl.C: add connection objects and use them...
8997         (Pimpl): here.
8998
8999 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * MenuBackend.C (expandLastfiles):
9002         (expandDocuments):
9003         (expandFormats):
9004         (expandFloatListInsert):
9005         (expandFloatInsert):
9006         (expand): split expand in parts
9007
9008 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9009
9010         * lyx_gui.C: use lyx_gui::exit()
9011
9012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * LyXAction.C: show the failing pseudo action
9015
9016 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9017
9018         * buffer.C (readFile): Run the lyxconvert script in order to read
9019         old files.
9020
9021 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * LyXAction.C:
9024         * commandtags.h:
9025         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9026
9027 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9028
9029         * LyXAction.C:
9030         * commandtags.h:
9031         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9032
9033 2002-07-22  Herbert Voss  <voss@lyx.org>
9034
9035         * lengthcommon.C:
9036         * lyxlength.[Ch]: add support for the vertical lengths
9037
9038 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * toc.[Ch]: std:: fixes
9041
9042 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9043
9044         * lyxrc.C: do not include lyx_main.h
9045
9046         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9047         for layouts
9048
9049         * lyxrc.C:
9050         * encoding.C:
9051         * bufferlist.C:
9052         * BufferView2.C: include "lyxlex.h"
9053
9054         * tabular.h:
9055         * bufferparams.h: do not #include "lyxlex.h"
9056
9057         * lyxtextclasslist.C (Add): remove method
9058         (classlist): renamed to classlist_
9059
9060         * paragraph_pimpl.C:
9061         * paragraph.C:
9062         * text2.C:
9063         * CutAndPaste.C:
9064         * bufferview_funcs.C:
9065         * bufferlist.C:
9066         * text.C:
9067         * LaTeXFeatures.C:
9068         * buffer.C:
9069         * toc.C (getTocList): use BufferParams::getLyXTextClass
9070
9071         * toc.C (getTocList): use InsetFloat::addToToc
9072
9073         * toc.[Ch]: new files, containing helper functions to handle table
9074         of contents
9075
9076         * lyxfunc.C (dispatch): no need to remove spaces around command
9077         given as a string
9078         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9079         first command of the sequence; it is not very clever, but I do not
9080         have a better idea, actually
9081
9082         * LyXAction.C (LookupFunc): make sure to remove space at the
9083         beginning and end of the command
9084
9085 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * MenuBackend.C (getMenubar): new method: return the menubar of
9088         this menu set
9089         (read): treat differently reading of menu and menubar (in
9090         particular, the menubar has no name now)
9091         (Menu::menubar): remove
9092
9093         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9094         saving is finished
9095
9096 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9097
9098         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9099         a bibitem inset in a RTL paragraph.
9100
9101 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9102
9103         * paragraph_pimpl.C: constify
9104
9105         * BufferView_pimpl.C:
9106         * LaTeX.C:
9107         * lyxfunc.C: fix dispatch in a nicer way
9108
9109 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9110
9111         * lyxfunc.C (dispatch):
9112         * BufferView_pimpl.C:
9113         * BufferView_pimpl.h:
9114         * BufferView.C:
9115         * BufferView.h: rename Dispatch() to dispatch()
9116
9117         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9118
9119         * lyxlayout.C (Read): honor DependsOn tag
9120
9121         * lyxlayout.[Ch] (depends_on): new method
9122
9123         * version.C.in: update lyx_docversion
9124
9125         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9126
9127         * paragraph.C (validate): remove from here...
9128         * paragraph_pimpl.C (validate): ... and move here
9129         (isTextAt): make it const
9130
9131         * buffer.C (getLists): ws cleanup
9132
9133 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9134
9135         * language.C (read): Use iso8859-1 encoding in latex_lang
9136         (this prevents LyX from crashing when using iso10646-1 encoding).
9137
9138 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * text2.C (toggleInset): if cursor is inside an inset, close the
9141         inset and leave cursor _after_ it
9142
9143 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * lyxfunc.C: move minibuffer completion handling out of here
9146
9147 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * BufferView_pimpl.C:
9150         * LaTeX.C: fix dispatch calls
9151
9152 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9153
9154         * text.C (drawChars): Fix Arabic text rendering.
9155
9156 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * LyXAction.C:
9159         * commandtags.h:
9160         * lyxfunc.C: remove message-push/pop
9161
9162         * lyxserver.C:
9163         * lyxfunc.h:
9164         * lyxfunc.C: rationalise some code by removing verboseDispatch
9165           in favour of a bool argument to dispatch()
9166
9167 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9168
9169         * lyx_main.C (init): make sure to read symlinks as absolute paths
9170
9171 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * lyxfunc.h:
9174         * lyxfunc.C: no need for commandshortcut to be a member
9175
9176 2002-07-15  André Pönitz <poenitz@gmx.net>
9177
9178         * converter.C: add support for $$s (scripts from lib/scripts dir)
9179         * lyx_main.C: white space
9180
9181 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9182
9183         * bufferlist.C:
9184         * lyxrc.h:
9185         * lyxrc.C: remove second exit confirmation
9186
9187 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * BufferView.h:
9190         * BufferView.C:
9191         * BufferView2.C:
9192         * BufferView_pimpl.h:
9193         * BufferView_pimpl.C:
9194         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9195
9196 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * MenuBackend.C (expand): add numeric shortcuts to document menu
9199
9200         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9201
9202 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * lyxfont.C (setLyXFamily):
9205         (setLyXSeries):
9206         (setLyXShape):
9207         (setLyXSize):
9208         (setLyXMisc):
9209         (lyxRead):
9210         * debug.C (value):
9211         * buffer.C (asciiParagraph): use ascii_lowercase
9212
9213 2002-07-15  Mike Fabian  <mfabian@suse.de>
9214
9215         * lyxlex_pimpl.C (search_kw):
9216         * lyxlex.C (getLongString):
9217         * converter.h (operator<):
9218         * converter.C (operator<):
9219         * buffer.C (parseSingleLyXformat2Token):
9220         (asciiParagraph):
9221         * ToolbarDefaults.C (read):
9222         * MenuBackend.C (checkShortcuts):
9223         (read):
9224         * LColor.C (getFromGUIName):
9225         (getFromLyXName): use the compare_ascii_no_case instead of
9226         compare_no_case, because in turkish, 'i' is not the lowercase
9227         version of 'I', and thus turkish locale breaks parsing of tags.
9228
9229 2002-07-16  Angus Leeming  <leeming@lyx.org>
9230
9231         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9232         now takes a Buffer const & argument.
9233
9234 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * BufferView.C (resize): check there's a buffer to resize
9237
9238 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * lyxfunc.C: remove dead code
9241
9242         * lyxserver.h:
9243         * lyxserver.C: use lyx_guii::set_read_callback
9244
9245 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9246
9247         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9248         an inset in a RTL paragraph.
9249
9250 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * lyxfunc.C: repaint after a font size update
9253
9254 2002-07-15  André Pönitz <poenitz@gmx.net>
9255
9256         * lyxlength.C: inBP should be able to return negative values
9257
9258 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * lyxfunc.C: use lyx_gui::update_fonts()
9261
9262 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * lyxfunc.C: use lyx_gui::update_color()
9265
9266 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * bufferlist.C:
9269         * lyxfunc.h:
9270         * lyxfunc.C:
9271         * lyxrc.h:
9272         * lyxrc.C: remove file->new asks for name option, and let
9273           buffer-new take an argument
9274
9275 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * BufferView_pimpl.C: remove unneeded extra repaint()
9278
9279 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * LyXAction.C: allow command-sequence with NoBuffer
9282
9283         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9284
9285 2002-07-10  Angus Leeming  <leeming@lyx.org>
9286
9287         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9288
9289 2002-07-09  Angus Leeming  <leeming@lyx.org>
9290
9291         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9292
9293 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * lengthcommon.h: whitespace
9296
9297         * lyxfunc.C: update scrollbar after goto paragraph
9298
9299         * lyxtext.h: factor out page break drawing, and fix it so
9300           page break/added space paints as selected nicely
9301
9302 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * BufferView_pimpl.C: add FIXMEs, clean up a little
9305
9306 2002-07-09  André Pönitz <poenitz@gmx.net>
9307
9308         * lyxfont.[Ch]: support for wasy symbols
9309
9310 2002-07-08  André Pönitz <poenitz@gmx.net>
9311
9312         * BufferView_pimpl.C: apply John's patch for #93.
9313
9314 2002-07-05  Angus Leeming  <leeming@lyx.org>
9315
9316         * BufferView_pimpl.C (buffer): generate previews if desired.
9317
9318         * LColor.h: add "preview" to the color enum.
9319
9320         * LColor.C (LColor): add a corresponding entry to the items array.
9321
9322         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9323         with this buffer.
9324
9325 2002-07-05  Angus Leeming  <leeming@lyx.org>
9326
9327         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9328         The body of the code is now in the method that is passed an ostream &
9329         rather than a file name.
9330         Pass an additional only_preamble parameter, useful for the forthcoming
9331         preview stuff.
9332
9333 2002-07-03  André Pönitz <poenitz@gmx.net>
9334
9335         * lyxfunc.C: simplify getStatus() a bit for math stuff
9336
9337 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9338
9339         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9340
9341 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * text.C (changeRegionCase): do not change case of all the
9344         document when region ends at paragraph end (bug #461)
9345
9346 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9347
9348         * paragraph.C (startTeXParParams):
9349         (endTeXParParams): add \protect when necessary
9350
9351 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9352
9353         * BufferView_pimpl.C (workAreaExpose): remove warning
9354
9355 2002-06-27  Angus Leeming  <leeming@lyx.org>
9356
9357         * Makefile.am: add lyxlayout_ptr_fwd.h.
9358
9359 2002-06-26  André Pönitz <poenitz@gmx.net>
9360
9361         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9362
9363 2002-06-25  Angus Leeming  <leeming@lyx.org>
9364
9365         * lyxfunc.C (dispatch): Comment out the call to
9366         grfx::GCache::changeDisplay. The method no longer exists now that the
9367         pixmap generation part of the graphics loader has been moved into
9368         InsetGraphics.
9369
9370 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9371
9372         * text2.C: layout as layout
9373
9374         * text.C: layout as layout
9375
9376         * tabular.C (OldFormatRead): layout as layout
9377
9378         * paragraph_pimpl.C (TeXDeeper): layout as layout
9379         (realizeFont): layout as layout
9380
9381         * paragraph.C (writeFile): layout as layout
9382         (validate): layout as layout
9383         (getFont): layout as layout
9384         (getLabelFont): layout as layout
9385         (getLayoutFont): layout as layout
9386         (breakParagraph): layout as layout
9387         (stripLeadingSpaces): layout as layout
9388         (getEndLabel): layout as layout
9389         (getMaxDepthAfter): layout as layout
9390         (applyLayout): layout as layout
9391         (TeXOnePar): layout as layout
9392         (simpleTeXOnePar): layout as layout
9393         (TeXEnvironment): layout as layout
9394         (layout): layout as layout
9395         (layout): layout as layout
9396
9397         * lyxtextclass.C (compare_name): new functor to work with
9398         shared_ptr, layout as layout
9399         (Read): layout as layout
9400         (hasLayout): layout as layout
9401         (operator): layout as layout
9402         (delete_layout): layout as layout
9403         (defaultLayout): layout as layout
9404
9405         * lyxlayout_ptr_fwd.h: new file
9406
9407         * lyxlayout.C (Read): layout as layout
9408
9409         * lyx_cb.C (MenuInsertLabel): layout as layout
9410
9411         * bufferlist.C (newFile): layout as layout
9412
9413         * buffer.C (readLyXformat2): layout as layout
9414         (parseSingleLyXformat2Token): layout as layout
9415         (insertStringAsLines): layout as layout
9416         (asciiParagraph): layout as layout
9417         (latexParagraphs): layout as layout
9418         (makeLinuxDocFile): layout as layout
9419         (simpleLinuxDocOnePar): layout as layout
9420         (makeDocBookFile): layout as layout
9421         (simpleDocBookOnePar): layout as layout
9422         (getLists): layout as layout
9423
9424         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9425
9426         * CutAndPaste.C (cutSelection): layout as layout
9427         (pasteSelection): layout as layout
9428         (SwitchLayoutsBetweenClasses): layout as layout
9429
9430         * BufferView_pimpl.C (Dispatch): layout as layout
9431         (smartQuote): layout as layout
9432
9433         * BufferView2.C (unlockInset): layout as layout
9434
9435 2002-06-24  André Pönitz <poenitz@gmx.net>
9436
9437         * lyxfunc.C: fix #487
9438
9439 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * lyxrc.h:
9442         * lyxrc.C:
9443         * lyxfunc.C: remove display_shortcuts, show_banner
9444
9445 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * Buffer_pimpl.C: oops, update on resize
9448
9449 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9450
9451         * buffer.C:
9452         * converter.C:
9453         * exporter.C:
9454         * lyxfunc.C:
9455         * BufferView.h:
9456         * BufferView.C: use repaint()
9457
9458         * BufferView_pimpl.h:
9459         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9460           as it's a clearer description. Remove superfluous
9461           redraws.
9462
9463 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * text.C: fix bug 488. Not ideal, but getting
9466           getWord() to work properly for the insets that
9467           matter is more difficult ...
9468
9469 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * BufferView_pimpl.C:
9472         * LyXAction.C:
9473         * commandtags.h:
9474         * lyxfunc.C: remove the six million index lyxfuncs to just
9475           one, and DTRT (bug 458)
9476
9477 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * BufferView.h:
9480         * BufferView.C:
9481         * BufferView_pimpl.h:
9482         * BufferView_pimpl.C: clean up resize() stuff,
9483           and unnecessary updateScreen()s
9484
9485 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * BufferView.h:
9488         * BufferView.C:
9489         * BufferView_pimpl.h:
9490         * BufferView_pimpl.C:
9491         * lyxfind.h:
9492         * lyxfind.C:
9493         * minibuffer.C: remove focus management of workarea,
9494           not needed. Use screen's greyOut()
9495
9496 2002-06-17  Herbert Voss  <voss@lyx.org>
9497
9498         * converter.C: (convert) do not post a message, when converting
9499         fails, let the calling function decide what to do in this case
9500
9501 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9502
9503         * lyxfunc.C: tidy up a little
9504
9505 2002-06-16    <alstrup@diku.dk>
9506
9507         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9508         Got rid of FORMS_H_LOCATION include. Now we are
9509         GUII.
9510
9511 2002-06-15  LyX Development team  <lyx@rilke>
9512
9513         * buffer.[Ch] (sgmlOpenTag):
9514         (sgmlCloseTag): Added support for avoiding pernicious mixed
9515         content. Return number of lines written.
9516
9517         (makeLinuxDocFile):
9518         (makeDocBookFile): Fixed calls to sgml*Tag.
9519         Simple white space clean.
9520
9521         (simpleDocBookOnePar): Simple white space clean.
9522
9523         * tabular.[Ch] (docBook): Renamed to docbook and got another
9524         argument to related with the pernicious mixed content.
9525
9526         (docbookRow): Fixed calls for docbook inset method.
9527
9528 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9529
9530         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9531         so it's X11 independent.
9532
9533         * kb*.[Ch]: ditto.
9534
9535         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9536
9537 2002-06-15  Lyx Development team  <lyx@electronia>
9538
9539         * intl.h: Renamed getTrans to getTransManager.
9540
9541 2002-06-14  Angus Leeming  <leeming@lyx.org>
9542
9543         * Makefile.am: nuke forgotten stl_string_fwd.h.
9544
9545 2002-06-12  Angus Leeming  <leeming@lyx.org>
9546
9547         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9548
9549 2002-06-13  Angus Leeming  <leeming@lyx.org>
9550
9551         * LaTeX.C:
9552         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9553
9554 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9555
9556         * kbmap.C (getiso): add support for cyrillic and greek
9557
9558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * BufferView.h:
9561         * BufferView.C:
9562         * BufferView_pimpl.h:
9563         * BufferView_pimpl.C: move bogus scrolling logic
9564           to xforms
9565
9566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * lyxfunc.C:
9569         * BufferView_pimpl.C: view->resize() change
9570
9571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * BufferView_pimpl.C: topCursorVisible
9574           prototype change
9575
9576 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * Makefile.am:
9579         * lyx_gui.h:
9580         * lyx_gui.C: move to frontends/
9581
9582         * main.C:
9583         * lyx_main.h:
9584         * lyx_main.C: changes from above
9585
9586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * intl.C:
9589         * intl.h:
9590         * kbmap.C:
9591         * kbsequence.C:
9592         * lyx_cb.C:
9593         * lyx_main.C: minor tidy
9594
9595 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * BufferView_pimpl.h:
9598         * BufferView_pimpl.C:
9599         * BufferView.h:
9600         * BufferView.C: make painter() const,
9601           remove dead code
9602
9603         * BufferView2.C: use screen() accessor
9604
9605         * lyx_main.h:
9606         * lyx_main.C: some minor cleanup
9607
9608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * BufferView_pimpl.h:
9611         * BufferView_pimpl.C: remove enter/leaveView,
9612           use workHeight()
9613
9614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * BufferView.h:
9617         * BufferView.C:
9618         * BufferView2.C:
9619         * BufferView_pimpl.h:
9620         * BufferView_pimpl.C: only construct screen once,
9621           rename
9622
9623         * lyxrc.C: remove pointless comment
9624
9625 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * BufferView.h:
9628         * BufferView.C: remove active() and belowMouse()
9629
9630         * BufferView_pimpl.h:
9631         * BufferView_pimpl.C: use workarea() not workarea_,
9632           and make it use a scoped_ptr instead
9633
9634 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * lyx_gui.C: add debug message on BadWindow
9637
9638 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9639
9640         * sp_spell.C: fdopen is not part of the C++ standard.
9641
9642         * paragraph.C (InsetIterator): use >= instead of ==
9643
9644 2002-06-07  Angus Leeming  <leeming@lyx.org>
9645
9646         Fixes needed to compile with Compaq cxx 6.5.
9647         * BufferView_pimpl.C:
9648         * DepTable.C:
9649         * buffer.C:
9650         * converter.C:
9651         * encoding.C:
9652         * lyx_gui.C:
9653         * lyx_main.C:
9654         * lyxtextclasslist.C:
9655         * minibuffer.C:
9656         * sp_spell.C:
9657         * tabular_funcs.C:
9658         * vc-backend.C:
9659         all c-library variables have been moved into namespace std. Wrap
9660         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9661
9662         * lyxlength.C:
9663         * tabular-old.C:
9664         * tabular.C:
9665         Add a using std::abs declaration.
9666
9667         * kbmap.h (modifier_pair):
9668         * paragraph.h (InsetTable, InsetList):
9669         * lyxfont.h (FontBits):
9670         type definition made public.
9671
9672         * bufferlist.C (emergencyWriteAll): the compiler complains that
9673         there is more than one possible lyx::class_fun template to choose from.
9674         I re-named the void specialisation as lyx::void_class_fun.
9675
9676         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9677
9678         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9679         the compiler is is unable to find tostr in write_attribute.
9680
9681 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9682
9683         * buffer.C (sgmlError): hide #warning
9684
9685 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * xtl/*: get rid of xtl, which is not in use anyway
9688
9689         * LyXAction.C (init):
9690         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9691         were unimplemented xtl experimentation
9692
9693 2002-06-04  André Pönitz <poenitz@gmx.net>
9694
9695         * lyxfunc.C: disable array operation on simple formulae
9696
9697 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * converter.C: constify a bit
9700
9701 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * lyx_gui.C: check xforms version correctly
9704
9705 2002-04-30  Herbert Voss  <voss@lyx.org>
9706
9707         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9708         "keep" option
9709
9710 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9711
9712         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9713           attempt to register it with a VCS)
9714
9715 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * lyx_main.C (init): honor variables LYX_DIR_13x and
9718         LYX_USERDIR_13x
9719
9720 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * buffer.h:
9723         * buffer.C:
9724         * lyx_main.C: fix a crash on bad command line,
9725           and give a useful exit status on error
9726
9727         * lyxfunc.C (doImport): allow -i lyx to work
9728
9729 2002-03-30  André Pönitz <poenitz@gmx.net>
9730
9731         * lyxfunc.C: mathed font changes
9732
9733 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * LaTeX.C:
9736         * importer.h:
9737         * importer.C:
9738         * lyx_sty.h:
9739         * lyx_sty.C:
9740         * lyxlex.C:
9741         * lyxrow.h:
9742         * lyxtext.h:
9743         * paragraph.h:
9744         * paragraph.C:
9745         * texrow.h:
9746         * texrow.C:
9747         * text.C:
9748         * trans_mgr.h: srcdocs, and some minor cleanups
9749
9750 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9753         call getFont all the time)
9754
9755 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9756
9757         * switch from SigC signals to boost::signals
9758
9759 2002-05-29  André Pönitz <poenitz@gmx.net>
9760
9761         * paragraph_pimpl.C (getChar): don't call size() too often...
9762
9763 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * paragraph_pimpl.C (insertChar): do not try to update tables when
9766         appending (pos == size())
9767
9768         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9769         in order to reduce drastically the number of comparisons needed to
9770         parse a large document
9771
9772 2002-05-29  André Pönitz <poenitz@gmx.net>
9773
9774         * text.C:
9775         * text2.C:
9776         * lyxtextclass.C:
9777         * sp_pspell.h:
9778         * textclasslist.[Ch]:
9779         * sp_ispell.h: whitespace change
9780
9781 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9784         lyxaction directly now.
9785
9786 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * trans.C:
9789         * lyxfont.C:
9790         * lyxvc.C: remove unused headers
9791
9792 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * Makefile.am:
9795         * buffer.h:
9796         * undostack.h:
9797         * undostack.C:
9798         * undo_funcs.h:
9799         * undo_funcs.C: some cleanups. Use shared_ptr
9800           and a template for the undo stacks.
9801
9802 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * BufferView_pimpl.h:
9805         * BufferView_pimpl.C:
9806         * kbmap.h:
9807         * kbmap.C:
9808         * kbsequence.h:
9809         * kbsequence.C:
9810         * lyxfunc.h:
9811         * lyxfunc.C:
9812         * text2.C: use key_state/mouse_state
9813
9814 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9817         and LSubstring
9818
9819         * chset.C: change include order
9820         (loadFile): use boost regex and get rid of LRegex and LSubstring
9821
9822         * Makefile.am (BOOST_LIBS): new variable
9823         (lyx_LDADD): use it
9824
9825         * LaTeX.C: change include order.
9826         (scanAuxFile): use boost regex and get rid of LRegex and
9827         LSubstring
9828         (deplog): ditto
9829
9830 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9831
9832         * ColorHandler.h:
9833         * ColorHandler.C:
9834         * FontInfo.h:
9835         * FontInfo.C: moved to frontends/xforms/
9836
9837         * FontLoader.h:
9838         * FontLoader.C: moved into frontends for GUIIzation
9839
9840         * Makefile.am:
9841         * lyx_gui.C:
9842         * lyxfont.C:
9843         * lyxfunc.C: changes from above
9844
9845 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * LColor.C: remove spurious X include
9848
9849         * BufferView_pimpl.C:
9850         * Makefile.am:
9851         * font.h:
9852         * font.C:
9853         * text.C:
9854         * text2.C: move font metrics to frontends/
9855
9856 2002-05-24  Juergen Vigna  <jug@sad.it>
9857
9858         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9859         setting the undo_cursor.
9860
9861         * ParagraphParameters.h: include local includes first.
9862
9863 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * BufferView_pimpl.C:
9866         * BufferView_pimpl.h:
9867         * Makefile.am:
9868         * WorkArea.h:
9869         * WorkArea.C:
9870         * screen.C: move WorkArea into frontends/
9871
9872         * lyxscreen.h:
9873         * screen.C:
9874         * text.C:
9875         * BufferView.C:
9876         * BufferView2.C: move LyXScreen into frontends/
9877
9878         * lyxlookup.h:
9879         * lyxlookup.C:
9880         * lyx_gui.C: move lyxlookup into frontends/xforms/
9881
9882 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * BufferView2.C:
9885         * BufferView_pimpl.C:
9886         * FontLoader.C:
9887         * LyXView.h:
9888         * LyXView.C:
9889         * Makefile.am:
9890         * WorkArea.C:
9891         * XFormsView.h:
9892         * XFormsView.C:
9893         * buffer.C:
9894         * bufferlist.C:
9895         * bufferview_funcs.C:
9896         * converter.C:
9897         * importer.C:
9898         * lyx_cb.C:
9899         * lyx_gui.C:
9900         * lyx_main.C:
9901         * lyx_find.C:
9902         * lyxfunc.C:
9903         * lyxvc.C:
9904         * minibuffer.C:
9905         * text.C:
9906         * text2.C:
9907         * trans.C:
9908         * vc-backend.C: move LyX/XFormsView into frontends/
9909
9910 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * Makefile.am:
9913         * PainterBase.C:
9914         * PainterBase.h:
9915         * Painter.C:
9916         * Painter.h:
9917         * WorkArea.C:
9918         * WorkArea.h:
9919         * screen.C:
9920         * tabular.C:
9921         * text.C:
9922         * text2.C: move Painter to frontends/
9923
9924 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * buffer.C: comment out some some code that depend upon lyx_format
9927         < 220
9928
9929         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9930         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9931
9932         * buffer.h (NO_COMPABILITY): turn off compability
9933
9934         * ColorHandler.C: include scoped_array.hpp
9935
9936         * font.C: Use more specific smart_ptr header.
9937         * Painter.C: ditto
9938         * gettext.C: ditto
9939         * ShareContainer.h: ditto
9940         * lyx_main.h: ditto
9941         * kbmap.h: ditto
9942         * FontInfo.h: ditto
9943         * BufferView_pimpl.h: ditto
9944         * ColorHandler.h: ditto
9945
9946         * kbmap.C (defkey): change call to shared_ptr::reset
9947
9948 2002-05-21  Juergen Vigna  <jug@sad.it>
9949
9950         * buffer.C (insertErtContents): fix to insert ert asis if it is
9951         non empty. Skip it completely if it contains only whitespaces.
9952
9953 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * BufferView_pimpl.C:
9956         * BufferView2.C: clear selection on paste (bug 393)
9957
9958 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * DepTable.C: include ctime
9961
9962 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9965
9966 2002-05-14  Juergen Vigna  <jug@sad.it>
9967
9968         * text.C (breakParagraph): fixed function to honor the keepempty
9969         layout in the right maner and also to permit the right breaking
9970         algorithm on empty or non empyt keepempty paragraphs.
9971
9972         * paragraph.C (breakParagraph): we have to check also if the par
9973         is really empty (!size()) for isempty otherwise we do the wrong
9974         paragraph break.
9975
9976 2002-05-10  Juergen Vigna  <jug@sad.it>
9977
9978         * buffer.[Ch] : The following are only changes to the ert
9979         compatibility read reading old LaTeX layout and font stuff and
9980         convert it to ERTInsets.
9981
9982         * buffer.h: added isErtInset().
9983
9984         * buffer.C (struct ErtComp): add a fromlayout bool to check
9985         if we're inside a LaTeX layout.
9986         (isErtInset): new helper function.
9987         (insertErtContents): look for other ert insets before this one
9988         and insert the contents there, so that we don't have subsequent
9989         ERT insets with nothing between them. This way we create only one
9990         inset with multiple paragraphs. Also check if we don't insert only
9991         spaces ' ' as they are ignored anyway afterwards in the .tex file
9992         so if we have only spaces we will ignore this latex part in the
9993         new file.
9994         (parseSingleLyXformat2Token \\layout): better compatibility when
9995         reading layout-latex stuff.
9996         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9997         language tag.
9998         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9999         stuff after reading the inset only get the information back from
10000         the stack.
10001
10002 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10003
10004         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10005
10006         * LaTeXFeatures.C (getBabelOptions): New method.
10007
10008 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * BufferView_pimpl.C (Dispatch): work around missing argument for
10011         'layout'
10012
10013 2002-05-08  Juergen Vigna  <jug@sad.it>
10014
10015         * text.C (leftMargin): handle paragraph leftindent.
10016
10017         * paragraph.C (writeFile): write the new \\leftindent tag.
10018         (validate): handle leftindent code.
10019         (TeXEnvironment): handle paragraphleftindent code again.
10020
10021         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10022
10023         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10024         for paragrap_extra indent code and new token \\leftindent.
10025         (latexParagraphs): handle the leftindent as environment.
10026
10027         * ParameterStruct.h: added leftindent support.
10028
10029         * ParagraphParameters.C (leftIndent): added support functions for
10030         the paragraph left indent.
10031
10032         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10033         more appropriate.
10034
10035 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10038         inside insetERT.
10039
10040         * text.C (computeBidiTables): No bidi in insetERT.
10041
10042         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10043         in RTL documents.
10044
10045 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10046
10047         * version.C.in: pre 5
10048
10049 2002-05-02  José Matos  <jamatos@fep.up.pt>
10050         * buffer.C (makeDocBookFile): white space changes, add newline to
10051         command styles.
10052         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10053
10054         * tabular.C (docBook): fix typo.
10055
10056 2002-05-03  Juergen Vigna  <jug@sad.it>
10057
10058         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10059         change in LyXText as we can not be sure it was not freed.
10060         (drawOneRow): remove unused code.
10061
10062         * text.C (drawInset): redo the calculation of the need_break_row as
10063         it could have a row which was already freed.
10064         (draw): look at the return value of drawInset and return false if
10065         it also returned false.
10066         (paintRowText): look at the return value of draw and return false if
10067         it also returned false.
10068
10069         * lyxtext.h: added bool return type to drawInset() and draw() so that
10070         if we have a change in the row so that the rowbreak has to be redone
10071         we abort drawing as it will be called again.
10072
10073 2002-05-02  Juergen Vigna  <jug@sad.it>
10074
10075         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10076         a change in the maintext also if we're inside an inset.
10077         (Dispatch): set the cursor again after a break line and after the
10078         screen has been updated as it could be we're in a different row.
10079
10080         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10081         to set the cursor behind the pargraph with > size().
10082         (setCursor): check also for the same paragraph when checking where
10083         to put the cursor if we have a NFR inset.
10084
10085         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10086         parts of layout read further up as it still was in the wrong
10087         position.
10088
10089 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10090
10091         * screen.C (drawFromTo): change sine fullRebreak always return
10092         true.
10093
10094         * buffer.C (parseSingleLyXformat2Token): reindent some
10095
10096         * BufferView_pimpl.C (update): change since fullRebreak always
10097         return true.
10098         (Dispatch): git rid of the last hardcoded "Standard"s.
10099
10100 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * text2.[Ch] (fullRebreak): make it return void now that we always
10103         returned true.
10104
10105 2002-04-30  Juergen Vigna  <jug@sad.it>
10106
10107         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10108         ert compatibility check for "latex" layout.
10109
10110 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10111
10112         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10113         minipages: use col% instead of p%, and also use the current font.
10114         (makeLaTeXFile): Fix use babel condition.
10115         (parseSingleLyXformat2Token): Correct font when reading old floats.
10116
10117 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10118
10119         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10120         inserting list of floats.
10121
10122 2002-04-25  Herbert Voss  <voss@lyx.org>
10123
10124         * MenuBackend.C (expand): don't add the graphics extensions to the
10125         export menu
10126
10127 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10128
10129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10130         non-existing layout, do not complain if it was the default layout
10131         of the original class (bug #342)
10132
10133 2002-04-24  Juergen Vigna  <jug@sad.it>
10134
10135         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10136         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10137
10138 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10139
10140         * buffer.C (getBibkeyList): If using \bibliography, return the
10141         option field with the reference itself. Enables us to provide natbib
10142         support when using \bibliography.
10143
10144 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10145
10146         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10147
10148         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10149         natbib is provided by the LaTeX class.
10150
10151 2002-04-23  Juergen Vigna  <jug@sad.it>
10152
10153         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10154         Wakeup functions.
10155
10156         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10157
10158 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10161
10162         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10163         ensuremath around textordmasculine, textordfeminine and
10164         textdegree.
10165
10166 2002-04-19  Juergen Vigna  <jug@sad.it>
10167
10168         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10169         reinitializing the buffer otherwise row-dimensions may be wrong.
10170         (update): reset also the selection cursors if they do exits otherwise
10171         their x/y positions may be wrong.
10172
10173         * text2.C (cursorDown): don't enter the inset if we came from a row
10174         above and are one row over the inset.
10175
10176         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10177         really leaving an inset.
10178
10179 2002-04-18  Juergen Vigna  <jug@sad.it>
10180
10181         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10182         of the selected paragraph does not have the selected layout also if
10183         the last one had!
10184
10185         * text2.C (setLayout): fixed bug which did not change last selected
10186         paragraph.
10187
10188         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10189         changed the read and substituted \\end_float with \\end_inset!
10190
10191         * BufferView_pimpl.C (cursorPrevious):
10192         (cursorNext): fixed to make it work with rows heigher than the work
10193         area without moving the cursor only the draw of the row.
10194         (workAreaMotionNotify): fix jumping over high rows.
10195
10196 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10197
10198         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10199         Ressler.
10200
10201 2002-04-16  Juergen Vigna  <jug@sad.it>
10202
10203         * text2.C (setCursor): set also the irow().
10204         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10205         (cursorUp):
10206         (cursorDown): support for locking an inset if the x_fix value goes
10207         inside it. That way I can transverse insets too with cursor up/down.
10208
10209         * lyxrow.h: added irow helper function same as other (i) functions.
10210
10211         * BufferView_pimpl.C (cursorPrevious):
10212         (cursorNext): fixed for insets!
10213
10214 2002-04-15  Juergen Vigna  <jug@sad.it>
10215
10216         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10217         position otherwise it is wrong in some cases.
10218
10219         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10220         inside the inset before the call.
10221
10222 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10223
10224         * buffer.[Ch] (getBibkeyList): make it const.
10225
10226 2002-04-12  Juergen Vigna  <jug@sad.it>
10227
10228         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10229
10230         * text2.C (getCursorX): new helper function
10231         (setCursor): compute also ix_
10232         (setCursorFromCoordinates): set also ix.
10233
10234         * lyxcursor.h: added ix_ and helper functions.
10235
10236         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10237
10238         * buffer.C (insertStringAsLines): dont break paragraph if the this
10239         paragraph is inside an inset which does not permit it!
10240
10241         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10242         also with no chars on this paragraph.
10243         (paintRowText): only paint stuff if it's inside the workarea!
10244
10245         * paragraph.C (breakParagraph): honor keepempty flag and break the
10246         paragraph always below not above.
10247
10248         * BufferView2.C (unlockInset): update the paragraph layout on inset
10249         unlock as we changed paragraph in such a case.
10250
10251         * lyxfind.C (LyXFind): clear the former selection if not found!
10252
10253         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10254         again called in insertChar().
10255
10256         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10257         an inset which uses the whole row!
10258         (rightMargin): ditto.
10259         (insertChar): force a rebreak if we inserted an inset!
10260
10261 2002-03-28  Herbert Voss  <voss@lyx.org>
10262
10263         * lyxlength.[Ch]: add inBP() to get the right PS-point
10264         units (BigPoint). With inPixels we have rounding errors
10265
10266 2002-04-11  Juergen Vigna  <jug@sad.it>
10267
10268         * text2.C (setCursorFromCoordinates): set iy to the right value.
10269         (setCursor): add check if row->previous exists!
10270
10271         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10272         an old float_type as this was the case in the old code!
10273
10274         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10275
10276         * BufferView2.C (showLockedInsetCursor): use iy
10277         (fitLockedInsetCursor): ditto
10278
10279         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10280         locked insets as there we have the right value now.
10281
10282         * lyxcursor.C: added iy_ variable and iy functions to set to the
10283         baseline of cursor-y of the locked inset.
10284
10285         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10286         (setCursor): fixed for insets which need a full row.
10287
10288         * text.C (rowLastPrintable): don't ignore the last space when before
10289         an inset which needs a full row.
10290         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10291         as last character of a row when before a inset which needs a full row.
10292
10293 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * version.C.in: update date
10296
10297         * text2.C (fullRebreak): try to always return true and see what
10298         happens...
10299
10300 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * MenuBackend.C (expand): use Floating::listName
10303
10304         * FloatList.C (FloatList): add listName argument to the built-in
10305         floats
10306
10307         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10308         text associated with the float.
10309
10310 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10313
10314 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * ShareContainer.h: add a couple of missing typenames.
10317
10318 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10319
10320         * lyxrc.C (getDescription): use _() correctly rather than N_().
10321
10322 2002-03-28  Herbert Voss  <voss@lyx.org>
10323
10324         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10325         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10326
10327 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10330         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10331
10332 2002-03-29  Juergen Vigna  <jug@sad.it>
10333
10334         * lyxfunc.C (dispatch): add a missing fitCursor call.
10335
10336         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10337         it was scrolled by a cursor move, so return the bool status.
10338
10339         * BufferView.C (fitCursor): return the bool flag also to the outside
10340         world as this is needed.
10341
10342         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10343
10344         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10345         call the edit() as it is not needed (and wrong) IMO.
10346         (workAreaButtonPress): set the screen_first variable before evt.
10347         unlock the inset as this may change screen_first and then we have
10348         a wrong y position for the click!
10349
10350 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * MenuBackend.C (expand): another translation that I missed
10353
10354 2002-03-28  Juergen Vigna  <jug@sad.it>
10355
10356         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10357
10358         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10359
10360 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10363
10364         * MenuBackend.C (expand): fix export/view/update when there is no
10365         document open.
10366
10367 2002-03-27  Herbert Voss  <voss@lyx.org>
10368
10369         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10370         and text%
10371
10372 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * bufferview_funcs.C (currentState): only show paragraph number
10375         for is DEVEL_VERSION is set.
10376
10377         * lyxfunc.C (dispatch): put warning in INFO channel
10378
10379         * MenuBackend.C (expand): translate the name of floats
10380
10381         * FloatList.C (FloatList): mark the float names for translation
10382
10383         * converter.C (convert): use LibScriptSearch
10384
10385 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * MenuBackend.C (defaults): fix default menu (we might as well get
10388         rid of it...)
10389
10390 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10393         directory.
10394
10395 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * lyxvc.C: reorder includes.
10398
10399 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10402           properly
10403
10404 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * CutAndPaste.C: change layouts earlier on paste
10407           to avoid crashing when calling getFont()
10408
10409 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10410
10411         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10412         irritating #error.
10413
10414 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10415
10416         * WorkArea.C: remove 'Pending' debug message.
10417
10418         * most files: ws cleanup
10419
10420         * buffer.[Ch]: ws changes
10421
10422         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10423
10424 2002-03-21  Juergen Vigna  <jug@sad.it>
10425
10426         * tabular.C (SetMultiColumn): collapse also the contents of the
10427         cells and set the last border right. Added a Buffer const * param.
10428
10429 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10432         linking or not.
10433
10434 2002-03-19  Juergen Vigna  <jug@sad.it>
10435
10436         * text2.C (clearSelection): reset also xsel_cache.
10437
10438         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10439         where it needs to be called (John tells us to do so too :)
10440         (selectionLost): reset sel_cache.
10441
10442         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10443
10444 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * text2.C (setCursorIntern): put debuging code in INSETS channel
10447
10448 2002-03-19  André Pönitz <poenitz@gmx.net>
10449
10450         * lyxfunc.C: tiny whitespace change
10451
10452 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * ToolbarDefaults.C (init):
10455         * LyXAction.C (init):
10456         * commandtags.h:
10457         * BufferView_pimpl.C (Dispatch):
10458         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10459
10460 2002-03-19  Allan Rae  <rae@lyx.org>
10461
10462         * exporter.C (Export): removeAutoInsets before doing anything else.
10463         While I've just introduced a dependency on BufferView this really is
10464         the best place to clean the buffer otherwise you need to cleanup in
10465         a dozen places before calling export or cleanup in a dozen functions
10466         that export calls.
10467
10468         * converter.C (runLaTeX):
10469         (scanLog): Better handling of removeAutoInsets and screen updates.
10470
10471         * lyxfunc.C (dispatch): small whitespace changes
10472
10473 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10474
10475         * WorkArea.C (C_WorkAreaEvent): return a value.
10476         (event_cb): return 1 if we handled the event, 0 otherwise.
10477
10478         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10479
10480 2002-03-18  Juergen Vigna  <jug@sad.it>
10481
10482         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10483         (GetAdditionalWidth): ditto.
10484         (RightLine): ditto.
10485         (LeftLine): ditto.
10486
10487         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10488         inset if we're there actually (probably not used right now but this
10489         is the direction to go for unifying code).
10490         (paste): disable code to clear the selection.
10491
10492         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10493         inside an InsetText and move the check further up as it is in the
10494         wrong place.
10495
10496         * text2.C (pasteSelection): set a selection over the pasted text.
10497
10498 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10499
10500         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10501         and libgraphics to build on Cygwin.
10502
10503 2002-03-15  Juergen Vigna  <jug@sad.it>
10504
10505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10506         inserting an Inset into the paragraph. I know this is not the best
10507         fix but we already use current_view in CutAndPaste so we will remove
10508         all of it's using at the same time.
10509
10510         * buffer.C (sgmlError): deactivated function till it is rewritten in
10511         the right mode, now it can create problems.
10512
10513         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10514         before accessing it.
10515
10516 2002-03-14  Juergen Vigna  <jug@sad.it>
10517
10518         * undo_funcs.C (textHandleUndo): do the right thing when updating
10519         the inset after the undo/redo.
10520
10521         * text2.C (setCursor): just some testcode for #44 not ready yet.
10522
10523         * undo_funcs.C (textHandleUndo): set the next() and previous()
10524         pointers of the paragraph to 0 before deleting otherwise we have
10525         problems with the Paragraph::[destructor].
10526
10527         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10528         on a paragraph insertion.
10529
10530 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * buffer.C (asciiParagraph): use += operator for char append to
10533         string.
10534
10535         * paragraph.C (getFontSettings): compare >= not just >
10536         (highestFontInRange): ditto
10537         (setFont): ditto
10538
10539 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * paragraph.C: change several algorithm to be more appripriate for
10542         the problem domain. This is lookip in FontList and in the InsetList.
10543
10544 2002-03-13  André Pönitz <poenitz@gmx.net>
10545
10546         * commandtags.h:
10547         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10548
10549 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * commandtags.h:
10552         * LyXAction.C:
10553         * lyxfunc.C:
10554         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10555
10556 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * Painter.C (display): anon helper function, adjust code for this
10559         change.
10560         (pixmap): remove function.
10561
10562         * Painter.h: remove private display variable.
10563
10564         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10565
10566 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10567
10568         * WorkArea.[Ch]: remove figinset_canvas cruft.
10569
10570 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10571
10572         * lyxtextclass.C (operator): add one item cache optimization.
10573
10574         * bufferlist.h: doxy changes
10575
10576         * bufferlist.C: ws changes
10577
10578         * DepTable.[Ch] (ext_exist): place const in the right spot.
10579
10580         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10581         call resizeInsets.
10582         (workAreaExpose): call resizeInsets when the with BufferView changes.
10583         (Dispatch): adjust for protectedBlank removal
10584         (specialChar): call updateInset if the insert went ok.
10585
10586         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10587         specialChar instead.
10588
10589         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10590
10591         * BufferView.h: doxy change
10592
10593         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10594
10595         * lyxtextclass.C (operator[]): remove non-const version
10596         (defaultLayout): remove non-const version
10597
10598 2002-03-12  Juergen Vigna  <jug@sad.it>
10599
10600         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10601         did resize the LyXText too.
10602
10603         * buffer.C (readLyXformat2): set layout information on newly allocated
10604         paragraphs.
10605
10606         * tabular.C (OldFormatRead): set layout information on the paragraph.
10607
10608 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10609
10610         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10611
10612 2002-03-11  Juergen Vigna  <jug@sad.it>
10613
10614         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10615         plainly wrong.
10616         (resizeCurrentBuffer): force also the insets to resize themselfes.
10617         (moveCursorUpdate): fixed up for InsetText.
10618
10619 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10620
10621         * commandtags.h:
10622         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10623         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10624         value of Dialogs::tooltipsEnabled().
10625         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10626
10627 2002-03-08  Juergen Vigna  <jug@sad.it>
10628
10629         * BufferView_pimpl.C (updateInset): update inset inside inset also
10630         if it isn't inside theLockingInset().
10631
10632 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * buffer.C (asciiParagraph): redo some of the word and line length
10635         handling.
10636         (getLists): look for Caption instead of caption.
10637
10638 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * buffer.C (Buffer): initialize niceFile to true
10641         (makeLaTeXFile):
10642         (makeLinuxDocFile):
10643         (makeDocBookFile): make sure niceFile is true on exit
10644
10645 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10646
10647         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10648
10649 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10650
10651         * LyXSendto.C: remove.
10652         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10653         * lyx_gui.C: remove now-redundant comment.
10654         * ColorHandler.h: remove forward declaration of class WorkArea.
10655         * lyxfunc.C: remove #include "WorkArea.h".
10656
10657 2002-03-07  Juergen Vigna  <jug@sad.it>
10658
10659         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10660         got moved away with the DEPM and also set the inset_owner always
10661         right which before could have been omitted.
10662
10663 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10664
10665         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10666         wanted layout is not found.
10667
10668 2002-03-07  Juergen Vigna  <jug@sad.it>
10669
10670         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10671
10672 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10673
10674         * paragraph.C (breakParagraph): use default layout not layout of
10675         prev paragraph.
10676         (Paragraph): clear ParagraphParameters.
10677
10678 2002-03-06  Juergen Vigna  <jug@sad.it>
10679
10680         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10681         otherwise it would not be a valid lenght. Fixed a special case in
10682         the minipage compatibility read where we end the document with a
10683         minipage.
10684
10685         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10686         was set as it could be 0 for InsetTexts first entry.
10687
10688 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * paragraph.C (writeFile): if layout is empty write out
10691         defaultLayoutName().
10692
10693         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10694         file without named layout we set layout to defaultLayoutName().
10695
10696 2002-03-06  Juergen Vigna  <jug@sad.it>
10697
10698         * CutAndPaste.C (copySelection): set layout for new paragraph.
10699
10700         * text.C (prepareToPrint): leave ERT inset left aligned
10701         (leftMargin): don't indent paragraphs inside ERT insets
10702
10703 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10704
10705         * paragraph.C (breakParagraph): dont call clear do the work manually
10706
10707         * paragraph.[Ch] (clear): remove function
10708
10709 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * paragraph.C (Paragraph): dont call clear, the work has already
10712         been done.
10713
10714         * lyxtextclass.C (operator): assert if n is empty
10715
10716         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10717         work manually instead.
10718
10719 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView_pimpl.C: protect selectionLost against text == 0
10722
10723 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10724
10725         * text.C (breakParagraph): fix a setting layout to '0' problem.
10726
10727 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10728
10729         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10730         final location of file, for the included files, and graphics.
10731
10732 2002-03-05  Juergen Vigna  <jug@sad.it>
10733
10734         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10735
10736 2002-03-04  Juergen Vigna  <jug@sad.it>
10737
10738         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10739
10740         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10741         last column of multicolumn cells.
10742         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10743
10744 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10745
10746         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10747         file if it doesn't go to a temporary file.
10748
10749         * buffer.C (sgmlOpenTag):
10750         (sgmlCloseTag):  remove extra newline insertion.
10751
10752 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * text.C (getRowNearY): comment out debug msg
10755
10756 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10757
10758         * text2.C: first -> first_y
10759
10760         * text.C (getRowNearY): add some attemts at a possible
10761         optimization, not working.
10762
10763         * tabular.[Ch]: add BufferParams to several function so that newly
10764         created paragraph can be initialized to he default layotu for the
10765         buffers textclass.
10766
10767         * tabular-old.C (ReadOld): add buf->params to call of Init
10768
10769         * screen.C: rename text->first to text->first_y
10770
10771         * paragraph.C (breakParagraph): always set layout in the broken
10772         paragraph
10773
10774         * lyxtextclass.C (Read): remove lowercase
10775         (hasLayout): ditto
10776         (operator): ditto
10777         (delete_layout): ditto
10778
10779         * lyxtext.h: rename first -> first_y
10780
10781         * lyxlayout.C (Read): remove lowercase
10782         (name): ditto
10783         (setName): ditto
10784         (obsoleted_by): ditto
10785
10786         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10787
10788         * buffer.C (insertErtContents): add params are to InsetERT
10789         (parseSingleLyXformat2Token): add code to check if a paragraphs
10790         layout really exist.
10791         (parseSingleLyXformat2Token): add params to several inset
10792         constructors
10793         (asciiParagraph): remove lowercase, do the layout comparisons with
10794         no_case
10795
10796         * BufferView_pimpl.C (cursorNext): first -> first_y
10797         (resizeCurrentBuffer): first -> first_y
10798         (updateScrollbar): first -> first_y
10799         (scrollCB): first -> first_y
10800         (workAreaMotionNotify): first -> first_y
10801         (workAreaButtonPress): first -> first_y
10802         (checkInsetHit): first -> first_y
10803         (cursorPrevious): first -> first_y
10804         (cursorNext): first -> first_y
10805         (Dispatch): add buffer_->params to severl inset contructors
10806
10807 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * lyxlayout.C (Read): remove some debug info that I forgot.
10810
10811         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10812         clean up the code slightly.
10813         (makeLinuxDocFile): ditto
10814         (makeDocBookFile): ditto
10815
10816         * text2.C: layout as string
10817
10818         * text.C: layout as string
10819
10820         * paragraph_pimpl.C: layout as string
10821
10822         * paragraph.[Ch]: layout as string
10823
10824         * lyxtextclasslist.[Ch]: layout as string
10825
10826         * lyxtextclass.[Ch]: layout as string
10827
10828         * lyxtext.h: layout as string
10829
10830         * lyxlayout.[Ch]: layout as string
10831
10832         * lyx_cb.C: layout as string
10833
10834         * bufferview_funcs.C: layout as string
10835
10836         * bufferparams.C: layout as string
10837
10838         * buffer.C: layout as string
10839
10840         * LyXView.[Ch]: layout as string
10841
10842         * LaTeXFeatures.[Ch]: layout as string
10843
10844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10845
10846         * BufferView_pimpl.C: change current_layout to string, remove
10847         lyx::layout_type.
10848         (Dispatch):
10849         (smartQuote):
10850         (insertInset):
10851         (workAreaButtonRelease): layout as string
10852
10853         * BufferView2.C (unlockInset): adjust
10854
10855         * vspace.C (asLatexCommand): use an explict temp variable.
10856
10857 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * Makefile.am: use FRONTEND_*
10860
10861 2002-03-01  Juergen Vigna  <jug@sad.it>
10862
10863         * tabular.C (SetWidthOfMulticolCell): changed to something better
10864         I hope but still work in progress.
10865         (recalculateMulticolumnsOfColumn): renamed function from
10866         recalculateMulticolCells as it is more appropriate now.
10867         (SetWidthOfCell): calculate multicols better.
10868
10869 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10870
10871         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10872
10873         * lyxfunc.C (processKeySym): print sequence also if it is
10874         `deleted' (complete)
10875
10876         * kbsequence.C (print): print sequence even if it is deleted
10877         (complete would be a better word, actually).
10878
10879         * lyxfunc.C (dispatch): print complete options after a prefix key
10880
10881         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10882
10883 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10884
10885         * text2.C (setCharFont): eliminate setCharFont code duplication.
10886
10887 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10888
10889         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10890         LFUN_TABULAR_FEATURE (bug #177)
10891
10892 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10893
10894         * Makefile.am: remove figure.h
10895
10896 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10897
10898         * Bufferview_pimpl.C:
10899         * CutAndPasteC:
10900         * LaTeX.C:
10901         * LyXSendto.C:
10902         * buffer.C:
10903         * bufferlist.C:
10904         * converter.C:
10905         * language.C:
10906         * lyxfunc.C:
10907         * lyxvc.C:
10908         * paragraph.C:
10909         * text.C:
10910         * text2.C: remove #include "lyx_gui_misc.h".
10911
10912         * LaTeX.C: added #include <cstdio>
10913
10914 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10917         that the paragraph following this one can have.
10918
10919         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10920
10921         * vspace.C (asLatexCommand): fix bogus gcc warning
10922
10923         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10924
10925 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10926
10927         * text2.C (setLayout): get rid of redundant code
10928
10929 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10930
10931         * text2.C (incDepth): make sure depth cannot be increased beyond
10932         reasonable values.
10933
10934 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10935
10936         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10937         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10938
10939         * PainterBase.h (image):
10940         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10941         a LyXImage const *.
10942
10943 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * BufferView.C:
10946         * BufferView.h:
10947         * BufferView_pimpl.C:
10948         * BufferView_pimpl.h:
10949         * LaTeXFeatures.C:
10950         * LyXAction.C:
10951         * LyXView.C:
10952         * Makefile.am:
10953         * UpdateList.h:
10954         * UpdateList.C:
10955         * buffer.C:
10956         * figure.h:
10957         * figureForm.C:
10958         * figureForm.h:
10959         * figure_form.C:
10960         * figure_form.h:
10961         * lyx_cb.C:
10962         * lyx_gui.C:
10963         * lyx_gui_misc.C:
10964         * lyxfunc.C:
10965         * sp_base.h:
10966         * sp_ispell.h:
10967         * sp_pspell.h:
10968         * sp_spell.C: remove fig inset, and the crap house of
10969           cards that follows it
10970
10971 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * Makefile.am:
10974         * lyxserver.C:
10975         * os2_defines.h:
10976         * os2_errortable.h:
10977         * nt_defines.h: move .h into support/
10978
10979         * vms_defines.h: remove
10980
10981         * WorkArea.C: add space in debug output
10982
10983         * text2.C:
10984         * paragraph.C:
10985         * buffer.C: add WITH_WARNINGS
10986
10987         * vc-backend.h:
10988         * vc-backend.C:
10989         * bufferlist.C: s/retrive/retrieve/, add docs
10990
10991         * vspace.h:
10992         * vspace.C:
10993         * kbmap.h:
10994         * lyxlength.h:
10995         * lyxgluelength.h:
10996         * length_common.h:
10997         * chset.h:
10998         * chset.C: add docs
10999
11000         * lyxgui.C: add ID to X error handler
11001
11002         * lyxtestclass.c: fix typo
11003
11004 2002-02-26  Juergen Vigna  <jug@sad.it>
11005
11006         * tabular_funcs.C (write_attribute): changed so that some default
11007         attributes are not written at all.
11008         (getTokenValue): set default values before trying to read the
11009         value so we have the return value always set as default if we don't
11010         find the token we search for.
11011
11012         * tabular.C (Write): write bools as bools not as strings!
11013
11014 2002-02-22  Juergen Vigna  <jug@sad.it>
11015
11016         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11017         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11018
11019         * text.C (leftMargin): don't add an indent for paragraphs inside
11020         tabular cells (fix #208).
11021
11022 2002-02-21  José Matos  <jamatos@fep.up.pt>
11023
11024         * tabular.C (docBook): fixed support for long tables.
11025
11026 2002-02-20  Juergen Vigna  <jug@sad.it>
11027
11028         * text2.C (getFont): get the drawing font of the Inset if this
11029         paragraph is inside an inset (only important for InsetERT for now).
11030
11031         * buffer.C (insertErtContents): use new lanugage params in ERT
11032         constructor.
11033
11034         * CutAndPaste.C: commenting out seemingly uneeded code.
11035
11036 2002-02-19  Allan Rae  <rae@lyx.org>
11037
11038         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11039         Iterators might be simple to use but they also get invalidated.
11040         (removeAutoInsets): renamed saved cursor tracking variables and added
11041         some comments to clarify what everything does.
11042
11043 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11044
11045         * Chktex.C:
11046         * LaTeX.C:
11047         * LyXSendto.C:
11048         * converter.C:
11049         * lyx_cb.C:
11050         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11051         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11052
11053         * lyxfunc.C:
11054         * vc-backend.h: remove #include "support/syscall.h"
11055
11056         * LaTeX.C:
11057         * LyXSendto.C:
11058         * converter.C: rearrange #includes in Lars' approved fashion.
11059
11060         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11061         forward declare class Timeout in the header file.
11062
11063         * XFormsView.C: changes due to the above.
11064
11065         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11066         similar to LyXView.
11067
11068         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11069         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11070
11071 2002-02-18  José Matos  <jamatos@fep.up.pt>
11072
11073         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11074         insets contents.
11075
11076 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11077
11078         * a lot of small ws changes
11079         * add a lot of using std::XXX
11080         * use std construcs some places where approp.
11081         * use some exisint stuff from lyxfunctional where approp.
11082         * Make file changes to use partial linking (lets test this now...)
11083
11084 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11085
11086         * Chktex.C:
11087         * buffer.C:
11088         remove #include "support/syscontr.h" as it's redundant. Always has been.
11089
11090         * Chktex.C:
11091         * LaTeX.C:
11092         * LyXSendto.C:
11093         * converter.C:
11094         * lyx_cb.C:
11095         * vc-backend.C:
11096         change Systemcalls::System to Systemcalls::Wait and
11097         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11098         No change of functionality, just reflects the stripped down Systemcalls
11099         class.
11100
11101 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * debug.[Ch]: add a GRAPHICS type to the enum.
11104
11105 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11108
11109         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11110         there is an inset.
11111
11112 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11115         match the changes below.
11116
11117         * text2.C (toggleInset): if there is not editable inset at cursor
11118         position, try to see if cursor is _inside_ a collapsable inset
11119         and close it.
11120
11121 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11124         document menu has a nice checkbox
11125
11126 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * lyxlength.C (asLatexString): change PW to output as percent of
11129         \textwidth.
11130
11131         * lengthcommon.C: change '%' to 't%'
11132
11133         * lyxfunc.C (dispatch): a few comments from Martin
11134
11135 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11136
11137         * WorkArea.h:
11138         * WorkArea.C:
11139         * BufferView_pimpl.h:
11140         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11141           the X selection.
11142
11143 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * vspace.C (inPixels): fix compiler warning
11146
11147 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxfunc.C (getStatus): fix status message for disabled commands.
11150
11151 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * BufferView_pimpl.C: fix crash on close buffer
11154         during selection (#227)
11155
11156 2002-01-27  Herbert Voss  <voss@lyx.org>
11157
11158         * buffer.C: link old Figure to new graphic inset
11159
11160 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11161
11162         * FontLoader.C (getFontinfo): Change the latex font names in order
11163         to match the names of type1inst.
11164
11165 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11168
11169         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11170         (extchanged): ditto
11171         (ext_exist): ditto
11172         (remove_files_with_extension): ditto
11173         (remove_file): ditto
11174         (write): ditto
11175
11176         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11177         document is smaller than the work area height. Do not initialize
11178         static variables to 0.
11179
11180 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11183
11184         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11185         LFUN_LAYOUT_PARAGRAPHS.
11186
11187         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11188         tabular. It is possible to provide a possible cell, which will
11189         typically be the actcell from the corresponding insettabular
11190
11191         * lyxfunc.C (getStatus): small cleanup; disable
11192         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11193         true
11194
11195 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11198
11199         * paragraph.C (startTeXParParams):
11200         (endTeXParParams): new methods. The LaTeX code to
11201         start/end paragraph formatting
11202         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11203         empty (fixes bug #200)
11204
11205         * vspace.C (inPixels): adapt to the change below
11206         (inPixels): [later] more cleanups (remove unused variables)
11207
11208         * lyxlength.C (inPixels): change to use a width and a height as
11209         parameter.
11210
11211 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11214         Replaced with \paperwidth
11215
11216         * DepTable.C (insert): add std:: qualifier
11217
11218 2002-01-18  Allan Rae  <rae@lyx.org>
11219
11220         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11221         updated also?
11222
11223         * text.C (drawInset): Turned out I didn't know enough about how
11224         rebreaking worked.  This fixes most of the redraw problems.  I see
11225         an occasional cursor trail when a line is broken now and the cursor
11226         placement can seem out by a few pixels also after a rebreak.
11227
11228 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * buffer.C (parseSingleLyXformat2Token): update because minipage
11231         width is now a LyXLength
11232
11233         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11234
11235         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11236         math insets
11237
11238 2002-01-17  Juergen Vigna  <jug@sad.it>
11239
11240         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11241
11242         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11243         is set correctly and the inset is updated correctly.
11244
11245 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11248         the beginning of the loop.
11249
11250 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * lyxrc.C: improve help for use_scalable_fonts
11253
11254 2002-01-17  Allan Rae  <rae@lyx.org>
11255
11256         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11257
11258 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11259
11260         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11261         make sure to set their inset_owner to the right value (bug #171)
11262
11263 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11264
11265         * DepTable.h
11266         * DepTable.C: Implement mtime checking to reduce time spent doing
11267         CRCs.
11268
11269 2002-01-16  Juergen Vigna  <jug@sad.it>
11270
11271         * tabular.C (GetAdditionalHeight): one of error fixed.
11272
11273         * lyxrc.C (output): small fix in writing use_pspell.
11274
11275 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11276
11277         * sp_base.h: #include LString.h
11278
11279 2002-01-16  Allan Rae  <rae@lyx.org>
11280
11281         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11282         Can someone check this please?
11283
11284         * text.C (drawInset): It was possible that p.row would be removed by
11285         breakAgainOneRow upsetting a few other settings.  There may be another
11286         small tweak possible by setting need_break_row = 0 when p.row has been
11287         removed but I don't know enough about the logic here.
11288
11289 2002-01-15  Allan Rae  <rae@lyx.org>
11290
11291         * text.C (insertChar): removed conditional truism.
11292
11293         * BufferView2.C (removeAutoInsets): More tweaks.
11294         cur_par_prev could be a stray pointer.  Check for trailing empty line
11295         in case last line was cur_par and only had an error inset on it.
11296
11297 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11300         absolute
11301
11302         * vc-backend.C (most methods):
11303         * exporter.C (Export):
11304         * converter.C (convert):
11305         (runLaTeX):
11306         * LyXSendto.C (SendtoApplyCB):
11307         * lyxfunc.C (dispatch):
11308         (menuNew):
11309         (open):
11310         (doImport):
11311         * lyx_cb.C (AutoSave):
11312         (InsertAsciiFile):
11313         * BufferView_pimpl.C (MenuInsertLyXFile):
11314         * buffer.C (runChktex): use Buffer::filePath().
11315
11316         * buffer.h: rename filename to filename_; rename filepath to
11317         filepath_ and make it private
11318         (filePath): new method
11319
11320         * buffer.C (writeFile): use fileName()
11321         (getLatexName):
11322
11323         * lyx_main.C (init): fix starting  of LyX when the binary is a
11324         link from so,ewhere else.
11325
11326         * minibuffer.C: include <cctype> for isprint
11327
11328 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11331         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11332         name clash with InsetCollapsable's width function.
11333
11334 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11335
11336         * lastfiles.C: include <iterator>
11337
11338 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11339
11340         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11341         std::count.
11342
11343         * buffer.C (makeLaTeXFile): ditto.
11344         Also make loop operation more transparent.
11345
11346 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * ToolbarDefaults.C: remove trailing comma closing namespace.
11349
11350         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11351
11352         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11353         as in WorkArea.
11354
11355         * trans.C (Load): comment out unused variable, allowed.
11356
11357 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * minibuffer.[Ch] (append_char): new method to recieve input from the
11360         drop-down completion browser. If a key was pressed, then recieve this
11361         char and append it to the existing string.
11362         (peek_event): modify the positioning data passed to the completion
11363         browser so that it can be placed above the minibuffer rather than below.
11364 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * LyXAction.C (init): alloe error-next for readonly documents.
11367
11368         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11369         count.
11370
11371 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * bufferlist.C (readFile): create the buffer _after_ checking that
11374         the file exists.
11375
11376         * lyxfunc.C (verboseDispatch): fix handling of arguments
11377
11378         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11379
11380         * lyxrc.C: use string::erase() instead of initializing to "".
11381
11382
11383 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView_pimpl.h:
11386         * BufferView_pimpl.C:
11387         * WorkArea.h:
11388         * WorkArea.C:
11389         * text2.C: tell X when we have made a selection for copying
11390
11391 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * BufferView_pimpl.C (MenuInsertLyXFile):
11394         * lyxfunc.C (menuNew):
11395         (open):
11396         (doImport): add shortcuts to directory buttons
11397
11398         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11399         open a float)
11400
11401         * lyxfunc.C (setStatusMessage):
11402         (getStatusMessage): new methods
11403         (getStatus):use setStatusMessage instead of setErrorMessage
11404         (dispatch): when function is disabled, set error message here
11405         [instead of in getStatus previously]
11406
11407         * BufferView_pimpl.C (workAreaButtonRelease): update
11408         toolbar/menubar here too.
11409
11410 2002-01-13  Allan Rae  <rae@lyx.org>
11411
11412         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11413         Now seems indestructible.  Remaining task is to audit all other
11414         code affected by deleteEmptyParagraphMechanism.  One small quirk
11415         left is that an empty document with an error in the preamble can
11416         be made to report an error but no error box appears.  I don't know
11417         where it goes.
11418         (removeAutoInsets): Improved comments.
11419
11420 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * Thesaurus.h:
11423         * Thesaurus.C: update for Aiksaurus 0.14
11424
11425 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * text2.C (firstParagraph): removed member function, all uses
11428         replaces with ownerParagraph
11429         (redoParagraphs): here
11430         (updateInset): here
11431         (toggleAppendix): here
11432         * BufferView2.C (insertErrors): here
11433         (setCursorFromRow): here
11434
11435 2002-01-13  Allan Rae  <rae@lyx.org>
11436
11437         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11438         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11439         There is still a way to segfault this although you may have to do this
11440         multiple times: Have an InsetERT with an unknown command in it.
11441         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11442         <down-arrow>, <Enter> again, View->DVI, BANG!
11443
11444         * text2.C (setCursor):
11445         (deleteEmptyParagraphMechanism):
11446         * lyxtext.h (setCursor):
11447         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11448         Making use of the return value may help fix other bugs.
11449
11450 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11453
11454         * LyXView.C (updateMenubar): call MenuBar::update here
11455         (updateToolbar): but not here
11456         (showState): do not update toolbar/menubar
11457
11458         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11459         should need to care about that.
11460
11461         * lyxfunc.C (verboseDispatch): simplify a bit
11462         (getStatus): have a version which takes a pseudoaction, and
11463         another which requires a (kb_action,string).
11464
11465         * LyXAction.C (retrieveActionArg): make it work also when action
11466         is not a pseudo-action.
11467         (getActionName): simplify a bit
11468         (helpText):
11469
11470 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * lyxfunc.C (verboseDispatch): new families of methods with
11473         several ways to specify a command and a bool to indicate whether
11474         the command name and shortcut should be displayed in minibuffer
11475         (eventually, we could extend that to a finer bitmask like
11476         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11477         (dispatch): the pristine dispatch command which just, well,
11478         dispatchs! Note it still sets its result to minibuffer; I'm not
11479         sure we want that.
11480
11481         * lyxfunc.h: remove setHintMessage
11482
11483         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11484
11485 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11486
11487         * BufferView_pimpl.C (specialChar): delete new inset if we have
11488         not been able to insert it.
11489
11490         * kbmap.C: revert to using int instead of kb_action, since all we
11491         are dealing with is pseudo-actions.
11492
11493         * LyXAction.C (searchActionArg): change to return int instead of
11494         kb_action, since the result is a pseudoaction.
11495
11496 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11497
11498         * buffer.C (insertErtContents): Fix (partially) the font bug.
11499
11500 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11503         as the other one is broken on my machine!
11504
11505 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11506
11507         * commandtags.h:
11508         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11509
11510 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11513         reflect their actual use. Provide compatibility code for older lyxrc
11514         files.
11515
11516         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11517         FL_NORMAL_STYLE.
11518         change names of popup font variables in line with the changes to lyxrc.C
11519
11520 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11521
11522         * buffer.C (asciiParagraph): avoid outputing a word twice after
11523         an inset.
11524
11525         * lyxrc.C (getDescription): document that document_path and
11526         template_path can be empty.
11527
11528 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * LaTeXFeatures.C (getMacros):
11531         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11532
11533         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11534
11535         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11536         getPackages.
11537         (getPackages): rename feature "floats" to "float". Use an array to
11538         iterate over 'simple' features (i.e. just a \usepackage). Add
11539         handling of "amsmath" (renamed from "amsstyle").
11540
11541 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11542
11543         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11544         features list.
11545
11546 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11549         FuncStaus::FuncStatus & FuncStaus::some_method().
11550
11551 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11552
11553         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11554         of the func_satus stuff. Edited and massaged in various ways by
11555         JMarc.
11556
11557         * lyxfunc.C (getStatus): use FuncStatus
11558
11559 2002-01-08  Juergen Vigna  <jug@sad.it>
11560
11561         * text.C (nextBreakPoint): use function Inset::isChar().
11562
11563         * paragraph.C (TeXOnePar): use function
11564         Inset::forceDefaultParagraphs.
11565
11566         * buffer.C (latexParagraphs): use function
11567         Inset::forceDefaultParagraphs.
11568
11569 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11570
11571         * lyx_gui.C (init): set the style of the menu popups to
11572         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11573
11574 2002-01-07  Juergen Vigna  <jug@sad.it>
11575
11576         * text.C (setHeightOfRow): small fix
11577         (prepareToPrint): don't look at alignment if we don't have the place
11578         for doing it.
11579
11580 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11581
11582         * box.C: New file. Move the Box methods and functions out of box.h,
11583         following Lars' suggestion.
11584
11585 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11586
11587         * box.h: #include "support/LOstream.h", needed for inlined function.
11588
11589         * lyxtextclass.C:
11590         * lyxtextclasslist.C: added some using std declarations.
11591
11592 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * box.h: make signed dimensions to allow insets wider than
11595           the screen (bug #162)
11596
11597         * BufferView_pimpl.C: add some insetHit debug
11598
11599 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * vc-backend.C: add FIXME
11602
11603 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * lyxfunc.C (getStatus): enable code for showing math font status
11606         in toolbar/menu.
11607
11608 2002-01-07  Juergen Vigna  <jug@sad.it>
11609
11610         * text.C (nextBreakPoint): removed debug output not needed anymore.
11611
11612 2002-01-06  Juergen Vigna  <jug@sad.it>
11613
11614         * text.C (nextBreakPoint): fixed up this function we had this bug
11615         since ever but now hopefully we break row better.
11616         (insertChar): we have to check if an inset is the next char as it
11617         could now happen that a large inset is causing a break.
11618
11619 2002-01-05  Juergen Vigna  <jug@sad.it>
11620
11621         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11622         if it doesn't like to be drawed.
11623
11624 2002-01-04  Juergen Vigna  <jug@sad.it>
11625
11626         * BufferView2.C (lockInset): forgot to set a cursor.
11627
11628         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11629
11630 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11631
11632         * FormMathsPanel.C:
11633         * FormMathsPanel.h
11634         * MathsSymbols.C:
11635         * form_maths_panel.C:
11636         * form_maths_panel.h:
11637         * form_maths_panel.fd: implemented sub- and super- buttons in math
11638         panel.
11639
11640         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11641         (or ^ space) to be used as in TeX (req'd by André).
11642
11643         * lyxfunc.C: Allow ^ and _ again to be used both as
11644         super/subscript (mathed) and as themselves (in text).
11645
11646 2002-01-03  Allan Rae  <rae@lyx.org>
11647
11648         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11649         "LyX" or the filename of the current buffer if it has one.  This is a
11650         modified form of John Levon's patch.
11651
11652         * XFormsView.C (setWindowTitle): also set icon title.
11653
11654         * LyXView.h (setWindowTitle): signature changed.
11655         * XFormsView.h (setWindowTitle): ditto.
11656
11657 2002-01-02  Juergen Vigna  <jug@sad.it>
11658
11659         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11660
11661 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * screen.C (topCursorVisible): introduce a temp var for
11664         text->cursor.row(), handle the case where this row is null. (kindo
11665         hachish)
11666
11667         * text2.C (setCursor): add a couple of asserts.
11668
11669         * paragraph.h (inset_iterator): add -> operator
11670
11671         * paragraph.[Ch] (autoDeleteInsets): remove member function
11672
11673         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11674         cursor pos correctly and handle inset deletion by itself.
11675         (insertErrors): move iterator declaration out of for expression
11676
11677         * lyxtextclass.C: add <algorithm>
11678
11679         * Makefile.am: added the new files to sources, removed layout.C
11680
11681         * layout.C: removed file
11682
11683         * layout.h: remove LYX_DUMMY_LAYOUT
11684
11685         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11686         layout.
11687
11688         * lyxlayout.[Ch]:
11689         * lyxtextclass.[Ch]:
11690         * lyxtextclasslist.[Ch]: new files
11691
11692         * include order changes to a lot of files, also changes because of
11693         the six new files.
11694
11695 2001-12-27  Juergen Vigna  <jug@sad.it>
11696
11697         * buffer.C (asciiParagraph): more fixes.
11698
11699         * tabular.C (ascii): make ascii export support export of only the
11700         data separated by a column-delimiter.
11701         (ascii): better support for ascii export.
11702
11703         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11704
11705 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * tabular_funcs.C: use a "using std::getline" instead of the
11708         previous fix from Angus (necessary for cxx + lyxstring)
11709
11710 2001-12-24  Juergen Vigna  <jug@sad.it>
11711
11712         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11713
11714         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11715         problems. First check a minipage also if we have some ert-contents
11716         (not only on par->size(), second set the right depth of the paragraph
11717         on the relink to the root-paragraph-list!
11718
11719         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11720         which then did not anymore update the main paragraphs on undo/redo!
11721
11722 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11723
11724         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11725         code. Support all font-changing funcs (even those which are not in
11726         menu currently). Support for reporting font settings in
11727         mathed (disabled until Andre provides a function on mathed's side).
11728
11729         * func_status.h (toggle): small helper function to set toggle
11730         state on a flag.
11731
11732 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * tabular_funcs.C: getline -> std::getline
11735
11736 2001-12-21  Juergen Vigna  <jug@sad.it>
11737
11738         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11739         accessed and could be 0 (I couldn't generate this but it seems
11740         Michael could!).
11741
11742 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11745         * tabular_funcs.h: here and include iosfwd
11746
11747 2001-12-20  Juergen Vigna  <jug@sad.it>
11748
11749         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11750         inside inset but undo_par was.
11751
11752 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * Thesaurus.C: always include <config.h> in sources.
11755
11756         * Painter.h:
11757         * lyxlookup.h:
11758         * box.h: do not include <config.h> in header files
11759
11760         * text.C (paintLastRow): remove unused variable
11761
11762         * text.C (transformChar):
11763         (insertChar):
11764         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11765
11766         * Painter.C (text):
11767         * font.C (width): rewrite to use uppercase() instead of
11768         islower/toupper.
11769
11770         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11771
11772 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * lyxfind.C: clean up of find failure position change
11775
11776 2001-12-20  Juergen Vigna  <jug@sad.it>
11777
11778         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11779
11780         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11781         (TeXRow): added to LaTeX a single tabular row.
11782         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11783         (Latex): simplified and finally good LT-h/f support.
11784         (various_functions): just small adaptions for LT-h/f support.
11785
11786         * tabular_funcs.[hC]: added and moved here all not classfunctions
11787         of LyXTabular.
11788
11789 2001-12-19  Juergen Vigna  <jug@sad.it>
11790
11791         * tabular.[Ch]: better support for longtabular options (not finished
11792         yet!)
11793
11794 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * text.C (paintLastRow): use the label font instead of the font of
11797         the last character to compute the size of *_BOX. This makes more
11798         sense and avoids a crash with empty paragraphs.
11799         Use Painter::rectangle to draw EMPTY_BOX.
11800
11801 2001-12-19  Juergen Vigna  <jug@sad.it>
11802
11803         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11804         the paragraphs if the replaced paragraph is not the first one!
11805         Tried to delete not used paragraphs but does not work yet so for
11806         now it's inside #ifdef's and by default off!
11807
11808 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * MenuBackend.C: include "lyx_main.h" instead of declaring
11811         lastfiles (actually was declared as LastFiles* instead of a
11812         scoped_ptr).
11813
11814 2001-12-17  Juergen Vigna  <jug@sad.it>
11815
11816         * tabular.C (AppendColumn): applied John's fix
11817
11818 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * BufferView.h:
11821         * BufferView.C:
11822         * BufferView_pimpl.h:
11823         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11824
11825         * Makefile.am:
11826         * box.h: new start of class for above
11827
11828         * lyxfunc.C: ignore space-only minibuffer dispatches.
11829           Show the command name when it doesn't exist
11830
11831         * minibuffer.C: don't add empty lines to the history
11832
11833         * minibuffer.C: add a space on dropdown completion
11834
11835 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * text.C: fix line above/below drawing in insets
11838
11839 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11840
11841         * lyxlength.C (LyXLength): Initialize private variables.
11842
11843 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11844
11845         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11846         when inserting error insets.
11847
11848 2001-12-13  Juergen Vigna  <jug@sad.it>
11849
11850         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11851         actually sometimes the before-paragraph.
11852         (setUndo): don't clear the redostack if we're not actually undoing!
11853
11854 2001-12-06  Juergen Vigna  <jug@sad.it>
11855
11856         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11857         and fixed redoing of main paragraph, so we can use it now ;)
11858
11859         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11860
11861 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11864         Juergen's request
11865
11866 2001-12-13  André Pönitz <poenitz@gmx.net>
11867
11868         * undostack.[Ch]:
11869         * undo_func.C: minor cleanup
11870
11871 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11872
11873         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11874         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11875         font in urw-fonts package which is marked as -urw-fontspecific and
11876         does not work (incidentally, changing the encoding in the
11877         fonts.dir of this package to -adobe-fontspecific fixes the
11878         problem).
11879
11880         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11881         is a crash when undoing first paragraph (Juergen, please take a
11882         look). THis does not mean the undo fix is wrong, just that it
11883         uncovers problems.
11884
11885         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11886         the (Paragraph*) version when needed instead of duplicating the
11887         code.
11888
11889         * text.C (workWidth): use Inset::parOwner to find out where the
11890         inset has been inserted. This is a huge performance gain for large
11891         documents with lots of insets. If Inset::parOwner is not set, fall
11892         back on the brute force method
11893
11894         * paragraph_pimpl.C (insertInset):
11895         * paragraph.C (Paragraph):
11896         (cutIntoMinibuffer): set parOwner of insets when
11897         inserting/removing them
11898
11899         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11900
11901 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11902
11903         * commandtags.h:
11904         * LyXAction.C:
11905         * lyx_main.C:
11906         * lyxfunc.C:
11907         * mathed/formulabase.C:
11908         * mathed/math_cursor.[Ch]:
11909         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11910
11911
11912 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * lyxlength.[Ch] (operator!=): new function
11915
11916 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * text.C (workWidth): use Inset::parOwner to find out where the
11919         inset has been inserted. This is a huge performance gain for large
11920         documents with lots of insets. If Inset::parOwner is not set, fall
11921         back on the brute force method
11922
11923         * paragraph_pimpl.C (insertInset):
11924         * paragraph.C (Paragraph):
11925         (cutIntoMinibuffer): set parOwner of insets when
11926         inserting/removing them
11927
11928         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11929
11930 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * tabular-old.C (getTokenValue):
11933         * tabular.C (getTokenValue):
11934         (write_attribute): new versions for LyXLength
11935         (everywhere): adjust the use of widths
11936
11937         * tabular.h: change the type of widths from string to LyXLength
11938
11939 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11940
11941         * paragraph.C: fixed missing line number count when exporting
11942         Environments to LaTeX file
11943
11944         * buffer.C: added informational message for checking line numbers.
11945
11946 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11949         paragraph, do the 'double space' part, but not the 'empty
11950         paragraph' one.
11951
11952         * text.C (workWidth): small optimization
11953         (getLengthMarkerHeight): use minimal size for negative lengths.
11954
11955 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11956
11957         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11958
11959         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11960
11961 2001-12-11  André Pönitz <poenitz@gmx.net>
11962
11963         * FontLoader.C:
11964         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11965
11966 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * text2.C: keep selection on a setFont()
11969
11970 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * lyx_cb.C: another bv->text misuse, from insert label
11973
11974 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * kbsequence.h:
11977         * kbsequence.C: re-instate nmodifier mask
11978
11979 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11980
11981         * lyx_main.h: make lyxGUI private.
11982
11983 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyxfind.C: place the cursor correctly on failed search
11986
11987 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * text.C (getLengthMarkerHeight): for small heights, the arrows
11990         are not always on top/bottom of the text
11991         (drawLengthMarker): smaller arrows; take the left margin in
11992         account; draw also vfills.
11993         (paintFirstRow):
11994         (paintLastRow): remove special code for vfill and standard spaces,
11995         since everything is handled in drawLengthMarker now.
11996
11997 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11998
11999         * buffer.C (insertErtContents): try to handle font and language
12000         interaction a bit better.g
12001
12002         * ColorHandler.C (updateColor): change the hash to cover the whole
12003         LColor enum, ws cleanup
12004         (getGCLinepars): ditto
12005         (getGCLinepars): only lookup in the linecache once.
12006
12007 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12008
12009         * iterators.C (operator++): Make the iterator more robust
12010
12011         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12012         (John's patch)
12013         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12014
12015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * lyxtext.h:
12018         * text.C: better added space drawing
12019
12020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * LyXView.C:
12023         * BufferView2.C: fix layout combo update on inset unlock
12024
12025 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * Makefile.am: don't compile unused files
12028
12029 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfunc.C:
12032         * commandtags.h:
12033         * LyXAction.C: remove old LFUN_LAYOUTNO
12034
12035 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * paragraph_pimpl.h:
12038         * paragraph_pimpl.C: isTextAt() doesn't need font param
12039
12040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * lyxlex.h:
12043         * lyxlex.C: little cleanup
12044
12045 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * BufferView_pimpl.C: fix insertAscii for insets
12048
12049 2001-12-05  Juergen Vigna  <jug@sad.it>
12050
12051         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12052         set the right font on the "multi" paragraph paste!
12053
12054 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12055
12056         * trans_decl.h:
12057         * trans_mgr.[Ch]:
12058         * trans.[Ch]:
12059         * lyxgluelength.C:
12060         * lyxlength.C: remove out-commented code.
12061
12062         * BufferView_pimpl:
12063         * CutAndPaste.C:
12064         * DepTable.C:
12065         * buffer.C:
12066         * chset.C:
12067         * lastfiles.C:
12068         * lyxlex.C:
12069         * lyxlex_pimpl.C:
12070         * lyxserver.C:
12071         * screen.C:
12072         * tabular-old.C:
12073         * tabular.C:
12074         * text.C:
12075         * trans_mgr.C:
12076         * vc-backend.C: change "while(" to "while ("
12077
12078         * lyxlength.[Ch]: add zero function to check if length is zero or
12079         not
12080         * lyxgluelength.C: use it
12081
12082 2001-12-05  Allan Rae  <rae@lyx.org>
12083
12084         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12085         Works for 2.95.3, from what I understand of Garst's reports this should
12086         work for other g++ versions.  We're screwed if the abs(int) definition
12087         changed between bugfix releases of gcc.
12088
12089 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * text.C: fix chapter label offset !
12092
12093 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * lyxtext.h:
12096         * text.C: fix hfill at end of line, clean up
12097
12098 2001-12-04  Juergen Vigna  <jug@sad.it>
12099
12100         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12101         that we force an update of the inset and it's owners if neccessary.
12102
12103 2001-12-03  Juergen Vigna  <jug@sad.it>
12104
12105         * text.C (rowLast): simplified code
12106
12107 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * lyxfunc.C: fix show options on timeout
12110
12111 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * screen.C (topCursorVisible): scroll half a page when the cursor
12114         reached top of bottom of screen
12115
12116 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * minibuffer.C: deactivate on loss of focus
12119
12120 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * vspace.[Ch] (operator!=): add operator.
12123
12124 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * BufferView_pimpl.C: refuse to open an inset when
12127         there's a selection.
12128
12129 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * BufferView_pimpl.C: allow to click on RHS of full row insets
12132
12133 2001-11-30  Juergen Vigna  <jug@sad.it>
12134
12135         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12136         insets for undo reasons.
12137
12138 2001-11-28  André Pönitz <poenitz@gmx.net>
12139
12140         * vspace.[Ch]: cosmetical changes
12141
12142 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * LyXAction.h:
12145         * LyXAction.C:
12146         * lyxfunc.h:
12147         * lyxfunc.C:
12148         * kbmap.h:
12149         * kbmap.C:
12150         * lyxrc.C:
12151         * kbsequence.h:
12152         * kbsequence.C: part re-write of old kb code
12153
12154         * Painter.C:
12155         * WorkArea.C: remove Lgb_bug_find_hack
12156
12157 2001-11-30  José Matos <jamatos@fep.up.pt>
12158
12159         * buffer.C (makeDocBookFile): add a comment to point a hack.
12160         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12161         Fixed a double write of labels.
12162
12163 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12164
12165         * LaTeX.C:
12166         * LaTeX.h Fixed bug in LaTeX class where it would not
12167         re-run latex if no depfiles were changed, but the .dvi was removed.
12168
12169 2001-11-28  André Pönitz <poenitz@gmx.net>
12170
12171         * all the files from the change on 2001/11/26:
12172         use lyx::layout_type instead of LyXTextClass::size_type
12173         use lyx::textclass_type instead of LyXTextClassList::size_type
12174
12175 2001-11-29  Juergen Vigna  <jug@sad.it>
12176
12177         * text.C: added support for paragraph::isFreeSpacing()
12178
12179         * buffer.C: same as above
12180
12181         * paragraph.h: inserted isFreeSpacing() function to enable
12182         FreeSpacing inside InsetERT.
12183
12184         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12185         of the paragraph's in the cut/copy buffer to 0!
12186
12187         * text2.C (removeRow): remove the assert as it can!
12188
12189         * lyxtext.h: added helper function firstRow returning firstrow and
12190         made firstrow private again.
12191
12192         * BufferView2.C (lockInset): don't relock if we're already locked!
12193
12194         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12195         the only paragraph.
12196         (removeRow): added Assert::(firstrow)
12197
12198         * debug.C: forgot to add INSETTEXT here.
12199
12200 2001-11-28  Juergen Vigna  <jug@sad.it>
12201
12202         * sp_spell.C (initialize): changed error text to more general
12203         spellchecker command use (not only ispell!)
12204
12205         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12206
12207         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12208
12209 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * vspace.C: initialise lyxgluelength on failure
12212
12213 2001-11-28  Allan Rae  <rae@lyx.org>
12214
12215         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12216         declaration & definition that looks like a function declaration.
12217
12218 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * BufferView2.C (copy):
12221         (copyEnvironment): do not clear the selection when doing a copy.
12222
12223         * text.C (paintFirstRow): compilation fix
12224
12225 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12226
12227         * tabular.C (Latex): correct line count when writing latex.
12228
12229 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * paragraph_pimpl.h:
12232         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12233           bug a bit
12234
12235 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * text.C:
12238         * LColor.h:
12239         * LColor.C: change vfillline->added_space
12240
12241         * text.C: add markers and text for added space
12242
12243         * vspace.C: fix comment
12244
12245 2001-11-28  André Pönitz <poenitz@gmx.net>
12246
12247         * paragraph.C: whitespace changes
12248         * all the other files from the change on 2001/11/26:
12249         change *::pos_type into lyx::pos_type
12250
12251 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12252
12253         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12254         language of the document when inserting error insets.
12255
12256 2001-11-26  André Pönitz <poenitz@gmx.net>
12257
12258         * BufferView_pimpl.[Ch]:
12259         *       CutAndPaste.C:
12260         * buffer.[Ch]:
12261         * lyxcursor.[Ch]:
12262         * lyxfind.C:
12263         * lyxfunc.C:
12264         * lyxrow.[Ch]:
12265         * paragraph.[Ch]:
12266         * paragraph_pimpl.[Ch]:
12267         * sp_spell.C:
12268         * text.C:
12269         * text2.C: reduce header dependencies, introduce type for positions
12270
12271 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * <various>: change to use Alert.h
12274
12275 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12276
12277         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12278         when encountering an unknown token.
12279         (readLyXformat2): Show an error message if there were unknown tokens.
12280
12281 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView2.C:
12284         * BufferView_pimpl.C:
12285         * buffer.C:
12286         * paragraph.h:
12287         * text.C:
12288         * text2.C: use par->isInset()
12289
12290 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * paragraph_pimpl.h:
12293         * paragraph_pimpl.C: cleanup
12294
12295 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * text2.C (removeRow):
12298         * text.C (setHeightOfRow): remove useless (and costly) call to
12299         getRow.
12300
12301 2001-11-20  Allan Rae  <rae@lyx.org>
12302
12303         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12304         Now need Inset*::checkInsertChar() to return true for appropriate
12305         cases so that the characters in the minibuffer will actually be
12306         inserted.
12307
12308 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * text.C: change the order of the includes.
12311         (workWidth): initialize it at once.
12312         (workWidth): make maxw unsigned
12313         (setHeightOfRow): remove unused variable (inset)
12314         (selectSelectedWord): remove unused variable (inset)
12315         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12316
12317 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12320         server is not running.
12321         (openConnection):
12322         (closeConnection): add debug info when server is disabled.
12323
12324         * ColorHandler.C (getGCForeground): send debug message to GUI
12325         channel.
12326
12327         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12328
12329         * kbmap.C (bind): modify because return conventions of
12330         kb_sequence::parse have changed.
12331
12332         * kbsequence.C (parse): only ignore spaces and not any stupid
12333         control character. This avoids tests like s[i] <= ' ', which are
12334         guaranteed to fail with 8bit characters and signed chars.
12335         Change return code to string::npos when there have been no error
12336         (0 was a bad idea when error is at first character)
12337
12338 2001-11-14  José Matos  <jamatos@fep.up.pt>
12339
12340         * buffer.h:
12341         * buffer.C (simpleDocBookOnePar): removed unused argument.
12342
12343 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12344
12345         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12346         insets which are part of a word. Paragraph::isLetter takes care of
12347         that now. Use Paragraph::isInset to identify insets.
12348         (selectSelectedWord): do not test for hyphenation break.
12349
12350         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12351         that protected spaces are considered as spaces.
12352
12353         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12354         Inset::isLetter.
12355
12356 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * lyxserver.h:
12359         * lyxserver.C: fix it. and small cleanup.
12360
12361 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * BufferView_pimpl.C: use inline helpers
12364
12365         * LaTeXFeatures.h:
12366         * LaTeXFeatures.C: fix typos
12367
12368         * Spacing.h:
12369         * Spacing.C: move spacing_string into class
12370
12371         * ToolbarDefaults.C: move stuff into namespace anon
12372
12373         * layout.h: update enum
12374
12375         * lyxfunc.C: use better debug
12376
12377         * minibuffer.h: fix typo
12378
12379         * debug.h:
12380         * debug.C:
12381         * WorkArea.C: add and use Debug::WORKAREA
12382
12383         * lyxtext.h:
12384         * text.C:
12385         * text2.C: code re-organisation, inline helpers
12386
12387 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12388
12389         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12390         std::vector.empty().
12391
12392 2001-11-09  Allan Rae  <rae@lyx.org>
12393
12394         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12395         '\n's after tables.  Tabular and ERT inset work now makes this no
12396         longer necessary.
12397
12398 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * minibuffer.h:
12401         * minibuffer.C: fix crash, improve drop-down completion
12402
12403 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * lyxserver.h:
12406         * lyxserver.C: invalidate fd's when doing endPipe()
12407
12408 2001-11-08  José Matos  <jamatos@fep.up.pt>
12409
12410         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12411         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12412
12413         * paragraph.h:
12414         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12415
12416 2001-11-07  José Matos  <jamatos@fep.up.pt>
12417
12418         * buffer.h:
12419         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12420         const qualifier.
12421
12422         * buffer.C (sgmlOpenTag):
12423         * buffer.C (sgmlCloseTag): removed debug info.
12424
12425         * buffer.h (sgmlOpenTag):
12426         * buffer.h (sgmlCloseTag): made public.
12427
12428 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * buffer.C (saveParamsAsDefaults):
12431         * lyx_cb.C (MenuLayoutSave): remove
12432
12433         * LyXAction.C (init):
12434         * commandtags.h:
12435         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12436
12437 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * buffer.C (setPaperStuff): removed from here...
12440
12441         * bufferparams.C (setPaperStuff): ... and moved there.
12442
12443 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * minibuffer.h:
12446         * minibuffer.C:
12447         * XFormsView.C: add support for drop-down completion
12448
12449 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12450
12451         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12452         commands.
12453
12454 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12457         disabled.
12458
12459 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * lyx_main.C: change ref to known bugs
12462
12463 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12464
12465         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12466         to work around older babel problems.
12467
12468 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12469
12470         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12471
12472 2001-10-24  Juergen Vigna  <jug@sad.it>
12473
12474         * tabular-old.C (ReadOld): below variable changes reflected.
12475
12476         * tabular.[Ch]: added ltType struct for longtable header/footer
12477         defines and changed all instances where they are used. Added
12478         future support for double top/bottom rows.
12479
12480 2001-10-24  José Matos  <jamatos@fep.up.pt>
12481
12482         * buffer.h (docbookHandleCaption):
12483         * buffer.C (docbookHandleCaption): removed unused function.
12484         (makeDocBookFile): moved docbook supported version to v4.1.
12485
12486 2001-10-24  José Matos  <jamatos@fep.up.pt>
12487
12488         * tabular.h:
12489         * tabular.C (docbookRow): new function to export docbook code of a row.
12490         (DocBook): now honors the longtable flags.
12491
12492 2001-10-23  José Matos  <jamatos@fep.up.pt>
12493
12494         * LaTeXFeatures.h:
12495         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12496         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12497
12498         * buffer.C (makeLinuxDocFile):
12499         (makeDocBookFile): reworked the preamble, more clean, and with
12500         support for lyx defined entities. Changed the document declaration
12501         to be more XML friendly.
12502
12503         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12504         if we need to output XML that should be done with a filter.
12505
12506 2001-10-22  Juergen Vigna  <jug@sad.it>
12507
12508         * sp_pspell.h (class PSpell): add alive function needed in the
12509         controller to see if the spellchecker could be started.
12510
12511 2001-10-22  Juergen Vigna  <jug@sad.it>
12512
12513         * buffer.C (insertStringAsLines): modify the font for inserting
12514         chars in certain conditions by calling checkInsertChar(font).
12515
12516 2001-10-19  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C (workWidth): use getRow instead of wrong algorithm.
12519         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12520
12521 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * lyxserver.h:
12524         * lyxserver.C:
12525         * lyx_main.h:
12526         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12527
12528 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12529
12530         * text.C (workWidth): do not search for the exact row when
12531         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12532         optimization for big documents.
12533
12534 2001-10-18  Juergen Vigna  <jug@sad.it>
12535
12536         * text.C (workWidth): new function with added Inset * parameter.
12537
12538 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12539
12540         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12541
12542         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12543         change return type of getColumnNearX.
12544
12545
12546         * text.C (changeRegionCase): use uppercase/lowercase instead of
12547         toupper/tolower.
12548         (leftMargin):
12549         (rightMargin): simplify code by factoring out the uses of
12550         textclasslist.
12551         (labelFill):
12552         (numberOfHfills):
12553         (setHeightOfRow):
12554         (appendParagraph): use Paragraph::size_type
12555
12556 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12557
12558         * vspace.C (asLatexString): add a missing break
12559
12560 2001-10-15  Herbert Voss  <voss@perce.de>
12561
12562         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12563
12564 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12565
12566         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12567         is not available.
12568
12569 2001-10-10  André Pönitz <poenitz@gmx.net>
12570
12571         * lyxfunc.C: removed greek_kb_flag.
12572
12573 2001-10-10  Herbert Voss  <voss@perce.de>
12574
12575         * lyx_main.C: delete global string help_lyxdir.
12576
12577 2001-10-09  Herbert Voss  <voss@perce.de>
12578
12579         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12580
12581         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12582
12583         * lyx_main.C: added global string help_lyxdir.
12584
12585         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12586
12587 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12588
12589         * lyxrc.C (set_font_norm_type): support iso8859-4
12590
12591 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12592
12593         * LaTeX.C (deplog): add another regex for MikTeX
12594
12595 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12596
12597         * lyxrc.C (set_font_norm_type): support iso8859-3
12598
12599 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12600
12601         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12602
12603         * LaTeXFeatures.C: remove special case of french and index
12604
12605         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12606         before \begin{document}). This solves several incompatibilities.
12607
12608 2001-10-03  Garst Reese  <reese@isn.net>
12609
12610         * lyx_cb.C: change CheckTex error msg.
12611
12612 2001-10-03  José Matos  <jamatos@fep.up.pt>
12613
12614         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12615
12616 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12617
12618         * .cvsignore: update
12619
12620         * lyx_main.C (commandLineVersionInfo): use new style version info.
12621
12622         * buffer.C (writeFile):
12623         (makeLaTeXFile):
12624         (makeLinuxDocFile):
12625         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12626
12627         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12628
12629         * version.h: update to use stuff in version.C
12630
12631         * version.C.in: new file. Contains version information determined
12632         at compile time. This is a merging of version.h and
12633         version_info.h.in.
12634
12635 2001-10-03  Juergen Vigna  <jug@sad.it>
12636
12637         * BufferView_pimpl.C (update): don't change "dirty" status in
12638         updateInset call.
12639
12640 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * WorkArea.C (c-tor): re-position version string slightly.
12643
12644 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12647         revert to previous code.
12648
12649         WorkArea.[Ch]: (show, destroySplash): methods removed.
12650
12651         WorkArea.C: rework code so that it's an amalgam of the codes before and
12652         after the splash screen was moved to WorkArea.
12653
12654 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * lyxrc.C (read):
12657         * vspace.C (inPixels):
12658         (lyx_advance):
12659         * kbmap.C (bind):
12660         * buffer.C (insertStringAsLines):
12661         (asciiParagraph): fix types to be large enough
12662
12663         * lyxlex_pimpl.h: change member status from short to int
12664
12665         * layout.h: fix type of endlabeltype
12666
12667         * kbmap.C (bind):
12668         * kbsequence.C (parse): change return type to string::size_type
12669
12670         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12671         variable
12672
12673         * Bullet.C (bulletSize):
12674         (bulletEntry): do not use short ints as parameters
12675
12676         * BufferView2.C (insertLyXFile): change a char to an int.
12677
12678         * WorkArea.C (WorkArea): remove unneeded floats in computation
12679
12680 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12681
12682         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12683
12684         * paragraph.C (asString): Do not ignore newline/hfill chars when
12685         copying to the clipboard.
12686
12687 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12690         after a multi-line inset.
12691
12692 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12693
12694         * paragraph.C (validate): Set NeedLyXFootnoteCode
12695
12696 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12699         and decrease-error to decrease.
12700
12701 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12704         it more readable (should be equivalent)
12705
12706 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12707
12708         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12709
12710 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12713         of a cursor (row, etc.) after a character has been deleted
12714         (deleteEmptyParagraphMechanism): call the method above on _all_
12715         cursors held by the LyXText when a double space has been
12716         detected/deleted.
12717
12718 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12719
12720         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12721         pixmap.
12722         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12723
12724         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12725         background. Use greyOut() and the new show() methods to toggle between
12726         the foreground and background. Add code to remove the splash after
12727         its initial showing.
12728
12729         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12730         (create_forms): no longer call Dialogs::showSplash.
12731
12732 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12733
12734         * .cvsignore: add version_info.h
12735
12736 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * version_info.h.in: new file
12739
12740         * Makefile.am: add version_info.h.in
12741
12742         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12743         version_info.h instead of VERSION_INFO
12744
12745 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12748         The ERT inset now returns string().
12749
12750 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12751
12752         * lyxtext.h, text.C (selectNextWord): renamed as
12753         selectNextWordToSpellcheck.
12754
12755         * text.C (selectNextWordToSpellcheck): Modified to not select
12756         words inside an ERT inset.
12757
12758 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * lyx_cb.C (MenuLayoutSave): change a bit the question
12761
12762         * sp_base.h: include <sys/types.h>
12763
12764 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12767
12768 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12769
12770         * several files: fix typos in user-visible strings
12771
12772 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12773
12774         * text2.C (pasteSelection): do not set the selection, since it
12775         will be cleared later. Actually, the intent was to fix the way the
12776         selection was set, but I figured rmoving the code was just as good.
12777
12778 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12779
12780         * FontLoader.C (available): Check if font is available without
12781         loading the font.
12782
12783 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12784
12785         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12786
12787 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12788
12789         * lyxrc.[Ch]: added display_graphics variable and associated code.
12790
12791 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * bufferparams.C (hasClassDefaults): new method. Returns true if
12794         the buffer parameters correspond to known class defaults
12795
12796 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * XFormsView.C (show): set minimum size to the main window.
12799
12800 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12801
12802         * text2.C (copySelection):
12803         (cutSelection):
12804         * lyxfind.C (LyXReplace):
12805         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12806         LyXText::selectionAsString.
12807
12808         * paragraph.C (asString): add "label" argument to the second form
12809
12810         * text2.C (selectionAsString): add "label" argument and pass it to
12811         Paragraph::asString.
12812
12813 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12814
12815         * lyx_main.C (commandLineHelp): remove version information
12816
12817 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12818
12819         * lyx_main.C: add -version commandline option
12820
12821 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * paragraph.h: make the optional constructor arg required instead.
12824         some modifications to other files because of this.
12825
12826         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12827
12828         * lyxserver.C (C_LyXComm_callback): make it static
12829
12830         * lyx_main.C (error_handler): make it static
12831
12832         * lyx_gui.C (LyX_XErrHandler): make it static
12833
12834         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12835
12836         * WorkArea.C: make the extern "C" methods static.
12837
12838         * Makefile.am (lyx_LDADD): simplify
12839
12840 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12841
12842         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12843         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12844
12845         * LyXAction.C (init):
12846         * lyxfunc.C (dispatch): associated code removal.
12847
12848 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * lyxfont.h (isSymbolFont): shut off warning
12851
12852         * text.C (setHeightOfRow):
12853         (getVisibleRow): fix crash with empty paragraphs which have a
12854         bottom line
12855
12856 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12857
12858         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12859         code.
12860
12861 2001-09-04  José Matos  <jamatos@fep.up.pt>
12862         * buffer.C
12863         * buffer.h
12864         * tabular.C (docbook): rename docBook method to docbook.
12865
12866 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12867
12868         * Makefile.am: add dependencies to main.o.
12869
12870 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12871
12872         * FontLoader.C (available): Return false if !lyxrc.use_gui
12873
12874 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12875
12876         * FontInfo.C (query):
12877         * converter.C (view):
12878         * importer.C (Import):
12879         * exporter.C (Export): Can not -> cannot.
12880
12881 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * BufferView_pimpl.C: allow to create index inset even if
12884           string is empty
12885
12886 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * buffer.C (getLists): replace boost::tie code with an explicit pair
12889         as boost::tie can break some compilers.
12890
12891         * iterators.h: Added a std:: declaration to the return type of
12892         ParIterator::size.
12893
12894 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12897           case.
12898
12899 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * iterators.[Ch]: New files. Provide paragraph iterators.
12902
12903         * buffer.C (changeLanguage): Use paragraph iterators.
12904         (isMultiLingual): ditto
12905
12906         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12907
12908 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * FontLoader.C: Support for cmr font.
12911
12912 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12915         (available): New method.
12916
12917         * FontInfo.C (getFontname): Use scalable fonts even when
12918         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12919         found.
12920
12921 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12922
12923         * converter.C (Formats::view): reverted! Incorrect fix.
12924
12925 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * converter.C (Formats::view): only output the -paper option
12928         if the dvi viewer is xdvi, thereby fixing bug #233429.
12929
12930 2001-08-23  Herbert Voss  <voss@perce>
12931
12932         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12933
12934 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * Spacing.h (Spacing): Set space to Default on in the default
12937         constructor.
12938
12939 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * vc-backend.h (RCS::versionString): add RCS to version
12942         (CVS::versionString): add CVS to version
12943
12944         * vc-backend.C (scanMaster): do not add CVS to version.
12945         (scanMaster): do not add RCS to version
12946
12947         * lyxvc.C (versionString): new method
12948
12949         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12950
12951 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * Spacing.C (set): initialize fval
12954
12955 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12956
12957         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12958         " or \.
12959
12960 2001-08-16  Juergen Vigna  <jug@sad.it>
12961
12962         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12963
12964 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * BufferView_pimpl.C:
12967         * figureForm.C:
12968         * lyxtext.h:
12969         * text2.C: setParagraph takes linespacing now
12970
12971 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12972
12973         * LyxAction.C: add internal LFUN_CITATION_INSERT
12974
12975         * LyXView.C: actually apply fix
12976
12977         * bufferlist.C: fix open non-existent file
12978
12979         * lyxfind.C: fix indentation
12980
12981         * lyxfunc.C: remove unneeded assert, fix typo
12982
12983 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * MenuBackend.C: use "Floatname List"
12986
12987 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12990         when converting LaTeX layout to insetERT.
12991         Generate a non-collapsed float when reading old float
12992
12993 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12996         ERT insets.
12997
12998 2001-08-13  Juergen Vigna  <jug@sad.it>
12999
13000         * text.C (fill): return 0 instead of 20 as this seems to be the more
13001         correct value.
13002
13003 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13004
13005         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13006         lyxrc.font_norm.
13007
13008 2001-08-13  Juergen Vigna  <jug@sad.it>
13009
13010         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13011         casesensitive off.
13012         (SearchBackward): comment out the unlocking of the inset_owner this
13013         should not be needed!
13014
13015 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13016
13017         * Many files: Remove inherit_language, and add latex_language
13018
13019         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13020         collapsible insets.
13021
13022 2001-08-10  Juergen Vigna  <jug@sad.it>
13023
13024         * text.C (prepareToPrint): fixed hfill-width in draw!
13025
13026         * BufferView2.C (selectLastWord): save the selection cursor as this
13027         now is cleared in the function LyXText::clearSelection!
13028
13029 2001-08-08  Juergen Vigna  <jug@sad.it>
13030
13031         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13032         BACKSPACE type functions.
13033
13034         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13035         is only cutted from the document but not put in the cut-buffer, where
13036         still the old stuff should be.
13037
13038         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13039
13040         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13041
13042         * tabular.C (SetWidthOfCell): fixed special case where the width
13043         was not updated!
13044         (LeftLine): handle '|' in align_special.
13045         (RightLine): ditto
13046         (LeftAlreadyDrawed): ditto
13047         (SetWidthOfCell): ditto
13048
13049 2001-08-07  Juergen Vigna  <jug@sad.it>
13050
13051         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13052
13053 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13056         * lyxlex.[hC]: ditto
13057
13058 2001-08-06  Juergen Vigna  <jug@sad.it>
13059
13060         * text.C (getVisibleRow): fix up row clearing a bit.
13061
13062 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * minibuffer.C: make sure the X server sees the changes in the input.
13065
13066 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * paragraph.C (getFont): split into...
13069         (getLabelFont): this
13070         (getLayoutFont): and this
13071         * paragraph_pimpl.C (realizeFont): calling this
13072
13073         * text2.C (getFont): split into...
13074         (getLayoutFont): this
13075         (getLabelFont): and this
13076         (realizeFont): all three calling this
13077
13078         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13079         files where used.
13080
13081 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13084
13085 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13086
13087         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13088         layouts from the Quote inset insertion.
13089
13090 2001-08-03  Juergen Vigna  <jug@sad.it>
13091
13092         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13093
13094         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13095         only if status not is already CHANGED_IN_DRAW (second level).
13096
13097         * text.C (draw): don't set the need_break_row when inside an
13098         InsetText LyXText.
13099
13100 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * buffer.C (parseSingleLyXformat2Token): handle more latex
13103         conversion cases.
13104
13105         * bufferview_funcs.[hC]: change function names to
13106         begin with small char, adjust other files.
13107
13108 2001-08-02  André Pönitz <poenitz@gmx.net>
13109
13110         * lyxfunc.C:
13111         BufferView_pimpl.C: remove broken special code for math-greek
13112
13113 2001-08-02  Juergen Vigna  <jug@sad.it>
13114
13115         * BufferView_pimpl.C (update): redone this function so that we
13116         update the text again if there was a CHANGE_IN_DRAW.
13117
13118         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13119         (drawFromTo): added a new internal bool which is used by draw() and
13120         redraw() function.
13121         (general): some cursor drawing problems fixed.
13122
13123 2001-08-01  Juergen Vigna  <jug@sad.it>
13124
13125         * lyxfind.C (LyXFind): fixed
13126         (SearchForward): ditto
13127         (SearchBackward): ditto
13128
13129         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13130         spurius drawing of the cursor in the main area.
13131
13132         * text2.C (status): small fix which could lead to a segfault!
13133         (clearSelection): remove unneeded BufferView param.
13134
13135 2001-08-01  André Pönitz <poenitz@gmx.net>
13136
13137         * lyxfunc.C: small change due to changed mathed interface
13138
13139 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13142
13143 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * lyxfunc.c: fail gracefully if file doesn't exist
13146
13147         * LyXSendto.C:
13148         * buffer.C:
13149         * lyxfunc.C:
13150         * BufferView_pimpl.C: IsDirWriteable() proto changed
13151
13152         * LyXView.C: fix updateWindowTitle() to store the last title
13153
13154 2001-07-31  Juergen Vigna  <jug@sad.it>
13155
13156         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13157         the font (wrong since using of Paragraph::highestFontInRange).
13158
13159         * paragraph.C (highestFontInRange): added a default_size parameter.
13160
13161         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13162         (setHeightOfRow): reformat
13163
13164 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * converter.[hC] + affected files: move to (inital-char)lowercase
13167         function names.
13168
13169         * ParagraphParameters.C (ParagraphParameters): remove commented code
13170
13171         * PainterBase.[Ch]: remove commented code
13172
13173         * LaTeXFeatures.h: add "bool floats" for float.sty
13174
13175         * LaTeXFeatures.C (LaTeXFeatures): init floats
13176         (require): handle float
13177         (getPackages): do it with floats
13178
13179 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * BufferView_pimpl.C (Dispatch): improve handling of
13182         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13183
13184         * commandtags.h: #include lyxfont.h here temporarily to avoid
13185         keybinding bug.
13186
13187         * bufferlist.h: include LString.h here.
13188
13189 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * text2.C (getStringToIndex): new method.
13192
13193 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13194
13195         * *: Reduced header file dependencies all over.
13196
13197 2001-07-30  Baruch Even  <baruch@lyx.org>
13198
13199         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13200
13201 2001-07-29  Baruch Even  <baruch@lyx.org>
13202
13203         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13204
13205 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * ParameterStruct.h (endif): add a default constructor to make
13208         sure that all variables is initialized.
13209
13210         * ParagraphParameters.C (ParagraphParameters): adjust
13211
13212 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13215         index; also, check that there is something to index, and that it
13216         does not span over several paragraphs.
13217         (doubleClick): use WHOLE_WORD_STRICT for double click.
13218
13219         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13220
13221         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13222         scheme.
13223
13224 2001-07-26  Baruch Even  <baruch@lyx.org>
13225
13226         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13227         an InsetFig figure, backwards compatible reading of old figure code.
13228
13229 2001-07-27  Juergen Vigna  <jug@sad.it>
13230
13231         * text2.C: font.realize function adaption.
13232
13233         * text.C (draw): add a warnings lyxerr text if needed.
13234
13235         * layout.C: font.realize function adaption.
13236
13237         * language.C: add inherit_language and implement it's handlings
13238
13239         * bufferview_funcs.C (StyleReset): remove language parameter from
13240         font creation (should be language_inherit now).
13241
13242         * bufferparams.C (writeFile): handle ignore_language.
13243
13244         * paragraph.C (getFontSettings): the language has to be resolved
13245         otherwise we have problems in LyXFont!
13246
13247         * lyxfont.C (lyxWriteChanges): added document_language parameter
13248         (update): removed unneeded language parameter
13249
13250         * paragraph.C (validate): fixed wrong output of color-package when
13251         using interface colors for certain fonts in certain environments,
13252         which should not seen as that on the final output.
13253
13254 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * BufferView_pimpl.C:
13257         * Thesaurus.h:
13258         * Thesaurus.C:
13259         * Makefile.am:
13260         * commandtags.h:
13261         * LyXAction.C: add thesaurus support
13262
13263         * lyxfind.h:
13264         * lyxfind.C: add "once" parameter, for thesaurus, to not
13265           move to the next match
13266
13267 2001-07-26  Juergen Vigna  <jug@sad.it>
13268
13269         * lyxfont.C (realize): honor ignore_language too!
13270         (resolved): ditto.
13271
13272         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13273
13274         * text.C (draw): one place more for ignore_language to not draw
13275         itself!
13276
13277 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13278
13279         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13280
13281 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13284         the minipage conversion problem.
13285
13286 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13289         insert an inset.
13290
13291 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * BufferView.h: don't forward declare WorkArea
13294
13295         * BufferView.C: don't include WorkArea.h
13296
13297 2001-07-25  André Pönitz <poenitz@gmx.net>
13298
13299         * commandtags.h:
13300         * LyXAction.C:
13301         * lyxfunc.C:  new LFUN 'math-space'
13302
13303         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13304
13305 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * text2.C (toggleInset): call open/close
13308
13309 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * lyxfunc.C (dispatch): add debug for the disabled case
13312
13313         * font.C (buttonText): make similar to rectText
13314
13315         * buffer.C (readInset): comment out parsing of insetlist and
13316         insttheorem
13317
13318         * PainterBase.C (rectText): small correction
13319
13320         * BufferView_pimpl.C: comment out insettheorem and insetlist
13321         * LyXAction.C: ditto
13322         * commandtags.h: ditto
13323
13324 2001-07-24  Juergen Vigna  <jug@sad.it>
13325
13326         * text.C (draw): honor the ignore_language.
13327
13328         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13329
13330 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13333         char inset.
13334
13335 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13336
13337         * lyxtext.h: remove unused (and unimplemented) methods
13338
13339 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13340
13341         * text.C (getVisibleRow): honor background color
13342
13343         * PainterBase.h:
13344         * Painter.h: remove default color argument for fillRectangle
13345
13346         * text.C (backgroundColor): new method
13347
13348 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * text.C (getVisibleRow): adjust
13351
13352         * font.[Ch] (rectText): new method, metrics
13353         (buttonText): new method, metrics
13354
13355         * PainterBase.[hC]: make rectText and buttonText always draw and take
13356         fewer paramteres.
13357
13358 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13359
13360         * ToolbarDefaults.C (read):
13361         * MenuBackend.C (read): allow escaping in all strings
13362
13363         * BufferView_pimpl.C (insertAndEditInset): new method.
13364         (Dispatch): use insertAndEditInset whenever appropriate.
13365
13366         * BufferView_pimpl.C (insertNote): removed
13367
13368         * BufferView_pimpl.C (smartQuote): new method, moved from
13369         BufferView; if an insetquote cannot be inserted, insert a '"'
13370         character instead.
13371
13372         * BufferView2.C: remove insertCorrectQuote();
13373
13374         * lyxfunc.C (getStatus): Add support for all remaingin
13375         inset-insert lfuns.
13376
13377         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13378
13379         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13380         command (necessary to pass " as parameter of self-insert.
13381
13382         * text.C (selectWordWhenUnderCursor):
13383         (selectWord): add word_location parameter
13384         (selectWordWhenUnderCursor): same + remove special code for word
13385         boundary.
13386         (selectNextWord): use kind() to guess type of insetspecialchar,
13387         not latex().
13388
13389         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13390         (insertErtContents): create ert insets as collapsed.
13391         (readInset): better compatibility code for Info inset.
13392
13393 2001-07-20  Juergen Vigna  <jug@sad.it>
13394
13395         * lyxfunc.C (dispatch): use always LyXFind now!
13396
13397         * text2.C (init): add a reinit flag so that the LyXText can be
13398         reinited instead of deleted and reallocated (used in InsetText).
13399
13400         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13401
13402         * text.C: ditto
13403
13404         * text2.C: ditto
13405
13406 2001-07-18  Juergen Vigna  <jug@sad.it>
13407
13408         * text.C (selectNextWord): handle insets inside inset by calling
13409         always the bv->text functions so that we can go up the_locking_inset!
13410
13411         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13412         in strange locations when inside an inset!
13413
13414         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13415         handling to include insets.
13416
13417         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13418
13419 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * LyXAction.C (init):
13422         * commandtags.h:
13423         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13424         LIGATURE_BREAK, since the name is so stupid.
13425
13426 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13429         InsetInfos.
13430
13431         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13432
13433         * sp_form.[Ch]: remove.
13434
13435         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13436
13437         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13438         InsetInfo.
13439
13440         * src/buffer.C (readInset): ditto.
13441
13442 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13443
13444         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13445         menuSeparator(), endOfSentenceDot(), ldots() and
13446         hyphenationPoint(), which are therefore removed.
13447         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13448
13449         * LyXAction.C (init):
13450         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13451
13452         * paragraph.C (getWord): removed.
13453
13454         * BufferView_pimpl.C (Dispatch): use last word or selection for
13455         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13456
13457         * lyx_main.C (queryUserLyXDir): do not ask before creating
13458         user_dir, except if it has been named explicitely.
13459
13460 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13463         a document of zero size.
13464
13465 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13466
13467         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13468         approriately in the c-tor and in require().
13469         (getPackages): output the appropriate LaTeX for natbib support.
13470
13471         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13472         variables "use_natbib" and "use_numerical_citations" when reading the
13473         LyX file.
13474         (readInset): read the various natbib cite commands.
13475         (validate): white-space change.
13476
13477         * bufferparams.[Ch]: new variables "bool use_natbib" and
13478         "bool use_numerical_citations".
13479         (writeFile): output them in the LyX file.
13480
13481 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13482
13483         * lyxfunc.C (getStatus): add support for all the inset insertion
13484         commands.
13485
13486         * text2.C (insertInset):
13487         * paragraph.C (insetAllowed):
13488         * BufferView_pimpl.C (insertInset): update to take in account the
13489         renaming of insertInsetAllowed
13490
13491         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13492
13493         * text2.C (getInset): new method. returns inset at cursor position.
13494
13495         * BufferView_pimpl.C (Dispatch): changes because of this.
13496
13497         * LyXAction.C (init): rename open-stuff to inset-toggle.
13498
13499         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13500
13501         * text2.C (toggleInset): renamed from openStuff; use
13502         Inset::open().
13503
13504 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13505
13506         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13507
13508         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13509
13510 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13511
13512         * buffer.C (readLyXformat2): Add filename to the error dialog
13513
13514 2001-07-18  Juergen Vigna  <jug@sad.it>
13515
13516         * tabular.C (GetCellNumber): put an assert here instead of the check!
13517
13518 2001-07-17  Juergen Vigna  <jug@sad.it>
13519
13520         * BufferView_pimpl.C (toggleSelection): adapted too.
13521
13522         * text.C (selectNextWord): adapted for use with insets.
13523         (selectSelectedWord): ditto
13524
13525 2001-07-17  Juergen Vigna  <jug@sad.it>
13526
13527         * sp_spell.C (PSpell): fix initialitation order.
13528
13529 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * paragraph.C: spacing
13532
13533 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13534
13535         * sp_spell.C: repair language selection for pspell
13536
13537 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * lyxfunc.h: change more methods to begin with lower char.
13540
13541 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13544         for unknown layouts.
13545
13546 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13547
13548         * buffer.C (readLyXformat2): Generate an error dialog if there are
13549         unknown layouts.
13550
13551 2001-07-16  Juergen Vigna  <jug@sad.it>
13552
13553         * sp_spell.C: always compile ISpell part.
13554
13555         * lyxrc.C: added use_pspell entry and it's handling.
13556
13557 2001-07-13  Juergen Vigna  <jug@sad.it>
13558
13559         * sp_spell.C: removed double includes.
13560
13561 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13562
13563         Consistent use of Lsstream.h:
13564         * Lsstream.h: added using std::stringstream for consistencies sake.
13565
13566         * buffer.C: removed using std::stringstream
13567
13568         * lyxfont.C (stateText):
13569         * paragraph.C (asString):
13570         * text.C (selectNextWord, selectSelectedWord):
13571         * text2.C (setCounter):
13572         * vspace.C (asString, asLatexString):
13573         std::ostringstream -> ostringstream.
13574
13575 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13576
13577         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13578         * commandtags.h: add LFUN_HELP_ABOUTLYX
13579         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13580
13581 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13582
13583         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13584         cursorToggle()
13585         * lyx_gui_misc.C: remove spellchecker
13586         * lyxfunc.C: showSpellchecker
13587         * sp_base.h: added
13588         * sp_ispell.h: added
13589         * sp_pspell.h: added
13590         * sp_spell.C: added
13591         * sp_form.[Ch]: removed
13592         * spellchecker.[Ch]: removed
13593
13594 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13595
13596         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13597         is set.
13598         (simpleTeXSpecialChars): Simply print the input character without
13599         any special translation if pass_thru is set.
13600
13601         * layout.h: Added bool pass_thru to layout class for being able to
13602         implement pass through of a paragraph for Literate Programming.
13603
13604         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13605         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13606         * layout.C (Read): add "passthru" to list of layout tags and add
13607         code to set the pass_thru boolean when it is read.
13608
13609 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * trans_decl.h: remove allowed from KmodInfo
13612
13613         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13614         remove allowed code
13615         (Load): adjust
13616
13617         * paragraph_pimpl.C (erase): use boost::prior
13618
13619         * Painter.C (text): use data() instead of c_str() when length is
13620         also provided.
13621         * WorkArea.C (putClipboard): ditto
13622         * font.h (width): ditto
13623
13624         * BufferView2.C: use it-> instead of (*it). for iterators
13625         * texrow.C: ditto
13626         * paragraph_pimpl.C: ditto
13627         * paragraph.C: ditto
13628         * minibuffer.C: ditto
13629         * language.C: ditto
13630         * kbmap.C: ditto
13631         * encoding.C: ditto
13632         * counters.C: ditto
13633         * converter.C: ditto
13634         * chset.C: ditto
13635         * Variables.C: ditto
13636         * TextCache.C: ditto
13637         * MenuBackend.C: ditto
13638         * LyXAction.C: ditto
13639         * LColor.C: ditto
13640         * FloatList.C: ditto
13641         * DepTable.C: ditto
13642         * ColorHandler.C (LyXColorHandler): ditto
13643
13644 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13645
13646         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13647
13648         * text2.C (openStuff): reintroduce this method (which had been
13649         nuked in NEW_INSETS frenzy).
13650
13651         * lyxfunc.C (Dispatch): when an action has not been handled, use
13652         its name in the error message, not its number.
13653
13654         * paragraph.C (inInset): change method name to begin with lowercase.
13655
13656         * undo_funcs.C:
13657         * text2.C: updates because of this.
13658
13659 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * ToolbarDefaults.C (add): add spaces in error message
13662
13663 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13666         (readLyXformat2): rename return_par to first_par, use lyxlex's
13667         pushToken and remove the manual push handling.
13668         (parseSingleLyXformat2Token): add another ert comp. variable:
13669         in_tabular, rename return_par to first_par. handle newlines better
13670
13671 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13672
13673         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13674
13675 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * text2.C (getParFromID): removed
13678
13679         * buffer.C (getParFromID): new method moved form lyxtext.
13680         * BufferView2.C (insertErrors): adjust
13681         (setCursorFromRow): adjust
13682         * BufferView_pimpl.C (restorePosition): adjust
13683         * lyxfunc.C (Dispatch): adjust
13684         * undo_funcs.C (textUndo): adjust
13685         (textRedo): adjust
13686         (textHandleUndo): adjust
13687         (textHandleUndo): adjust
13688
13689 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * buffer.C: up' the LYX_FORMAT
13692
13693         * lyxfont.h: turn NO_LATEX on as default
13694
13695         * buffer.C (insertErtContents): new methods of tex style compability.
13696         (parseSingleLyXformat2Token): use it several places.
13697         * tabular.C (OldFormatRead): and here
13698
13699 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * text2.C: remove some commented code.
13702         reindent file.
13703
13704         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13705         * trans.C: changes because of the above.
13706
13707 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13708
13709         * text2.C (setCounter): Fix counters bug with bibliography layout.
13710
13711 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13714         own member functions
13715         (simpleTeXSpecialChars): ditto
13716
13717 2001-07-06  Juergen Vigna  <jug@sad.it>
13718
13719         * a lot of files: changed the access to LyXText::status and the
13720         call of undo-functions.
13721
13722         * undo.[Ch]: added a inset_id to the undo informations.
13723
13724         * undo_funcs.[Ch]: added and moved here all undo functions.
13725
13726         * lyxtext.h: give the status enum a weight, made status_ a private
13727         variable and made accessor functions for it, removed the whole bunch
13728         of undo-functions as they are now in their own file, make some
13729         functions publically available. Added function ownerParagraph with
13730         int parameter.
13731
13732         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13733         made InInset() a const function, added getParFromID() function.
13734
13735         * buffer.[Ch]: added const version for inset_iterator functions,
13736         added getInsetFromID() function.
13737
13738         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13739         changed undo functions for new version.
13740
13741 2001-07-05  Juergen Vigna  <jug@sad.it>
13742
13743         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13744         unknow mechanism does not call the proper constructor but only this
13745         one also if I request the other!?
13746
13747 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13750
13751         * text2.C (LyXText): use initialization lists.
13752
13753         * lyxtext.h (Selection): initialize set_ and mark_
13754         (init): remove method
13755
13756 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13759
13760 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * screen.[Ch]: change method names to begin with lowercase
13763
13764         * BufferView_pimpl.C (updateScrollbar): simplify further and
13765         hopefully make it a bit faster.
13766
13767 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13770         calling directly xforms functions.
13771
13772         * Painter.C (Painter):
13773         * lyx_cb.C (MenuWrite):
13774         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13775         fl_display.
13776
13777         * lyx_gui.C: remove bogus guiruntime extern declaration.
13778
13779 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13782         in NEW_INSETS
13783         (redoDrawingOfParagraph): ditto
13784         (redoParagraphs): ditto
13785         (cutSelection): don't create a object for CutAndPaste use the
13786         static method directly
13787         (pasteSelection): ditto
13788
13789         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13790         LyXview (+ rename)
13791
13792 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * modifications to some other files because of this.
13795
13796         * Makefile.am (lyx_SOURCES): add XFormsView
13797
13798         * XFormsView.[Ch]: new files
13799
13800         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13801         the main window. Move the gui dependent stuff to XFormsView
13802
13803 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * tabular.C (GetCellInset): update cur_cell also in the row/col
13806         version of this function.
13807
13808         * lyxfunc.C: no need to include figure_form.h here.
13809
13810         * FontLoader.h:
13811         * lyxfunc.h:
13812         * lyxscreen.h:
13813         * text2.C:
13814         * lyxvc.C: no need to include forms.h here.
13815
13816 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13817
13818         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13819
13820         * lyxfunc.C (Dispatch):
13821         * Spacing.C (set):
13822         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13823         constructor argument.
13824
13825 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * paragraph.C (Paragraph): dont't clear, and just set layout.
13828         (makeSameLayout): use params's copy contructor.
13829
13830         * ParagraphParameters.[Ch] (makeSame): delete method
13831
13832 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13833
13834         * Variables.[Ch]: fix indentation, rename set to isSet
13835
13836 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * lyxfunc.C (Dispatch): fix typo
13839
13840 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13843         upper_bound.
13844
13845         * bufferlist.C: include assert.h for emergencyWrite().
13846
13847 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13850           give up at last (bug #425202) !
13851
13852 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * lyx_gui_misc.C:
13855         * sp_form.h:
13856         * sp_form.C:
13857         * spellchecker.h:
13858         * spellchecker.C: strip spellchecker options and bring up
13859           preferences tab instead
13860
13861 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13864         the istringstream constructor
13865
13866 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * paragraph.C (getLayout): fix return value
13869
13870         * paragraph.h: do not declare getLayout as inline.
13871
13872         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13873
13874 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * lyxcursor.h (operator<): new func
13877         (operator>): new func
13878         (operator>=): new func
13879         (operator<=): new func
13880
13881         * text.C (changeCase): use selection.start and selection.end
13882         (changeRegionCase): require from to be <= to. Require par to be a
13883         valid paragraph.
13884
13885         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13886
13887 2001-06-27  Juergen Vigna  <jug@sad.it>
13888
13889         * text.C (cursorLeftOneWord): changed to return the cursor and added
13890         overlay with BufferView * parameter which calls this one.
13891         (getWord): added
13892         (selectWord): use new getWord function.
13893         (changeCase): renamed from changeWordCase as and extended to work
13894         also on selections.
13895
13896         * lyxtext.h: added enum word_location
13897
13898         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13899         changeCase as this operates now also on selections.
13900
13901 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13902
13903         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13904
13905         * many files: send debug output to Debug::INFO instead of
13906         Debug::ANY.
13907
13908         * converter.C (View):
13909         (Convert):
13910         (Move): send debug output to Debug::FILES instead of console.
13911
13912 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13913
13914         * lyxfunc.C (getStatus): use func_status
13915
13916         * func_status.h: new header, describing the results of
13917         LyXFunc::getStatus;
13918
13919         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13920         LFUN_MATH_HALIGN.
13921
13922 2001-06-25  The LyX Project  <jug@sad.it>
13923
13924         * buffer.C (sgmlOpenTag):
13925         (sgmlCloseTag):
13926         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13927
13928 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * text2.C: remove some dead code
13931
13932         * tabular.C (GetCellInset): store the last cell checked (gotten)
13933
13934         * tabular.h: add the helper for the speedup
13935
13936         * lyxtext.h: remove some dead code
13937
13938 2001-06-26  The LyX Project  <Asger>
13939
13940         * paragraph.C: Change export to LaTeX of alignment to
13941         \begin{center} and family for better roundtrip work with reLyX.
13942
13943         * Tune the math drawing a bit.
13944
13945 2001-06-25  The LyX Project  <Asger>
13946
13947         * LColor.C (LColor): New color for math background. New color
13948         for buttons.
13949
13950 2001-06-25  The LyX Project  <jug@sad.it>
13951
13952         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13953
13954         * lyxfunc.C (Open):
13955         * bufferlist.C (newFile): do not restrict to files ending with
13956         .lyx
13957
13958         * BufferView_pimpl.C (MenuInsertLyXFile):
13959
13960 2001-06-24  The LyX Project  <jug@sad.it>
13961
13962         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13963         of compare_no_case
13964
13965 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * lyxtext.h: rename most methods to begin with a small char.
13968         Lots of changes because of this.
13969
13970         * paragraph.C (Paragraph): do not call fitToSize
13971         (erase): call Pimpl::erase
13972         (insertChar): call Pimpl::insertChar
13973         (insertInset): call Pipl::insertInset
13974         (breakParagraph): do not call fitToSize
13975         (breakParagraphConservative): do not call fitToSize
13976         (fitToSize): remove method
13977
13978         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13979
13980 2001-06-24  The LyX Project  <Asger>
13981
13982         * Fix Qt compilation^2
13983
13984 2001-06-24  The LyX Project  <jug@sad.it>
13985
13986         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13987         depthHook(getDepth()-1).
13988
13989         * paragraph.h:
13990         * ParagraphParameters.h:
13991         * ParameterStruct.h: change type of depth to unsigned int ==
13992         depth_type. Many adaptations to other files before of that.
13993
13994 2001-06-24  The LyX Project  <Asger>
13995
13996         * Fix Qt compilation.
13997
13998 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13999
14000         * paragraph.h: renamed several methods to begin with small letter.
14001         several changes to many parts of the code because of this.
14002
14003 2001-06-23  The LyX Project  <jug@sad.it>
14004
14005         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14006         rewritten to discard all double spaces when KeepEmpty is off
14007         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14008         to only handle newlines but not fiddle with spaces and friends.
14009
14010         * lyxfunc.C (MenuNew): when doing 'new from template', use
14011         template_path as default directory
14012
14013 2001-06-23  The LyX Project  <Asger>
14014
14015         * Clean-up of header file includes all over
14016         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14017
14018 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * paragraph.h: renamed from lyxparagraph.h
14021
14022 2001-06-23  Asger  <lyx@violet.home.sad.it>
14023
14024         * Buffer.h: Removed Buffer::resize
14025         * BufferList.h: Removed BufferList::resize
14026         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14027         the document lazily when we change the width, or the font settings.
14028
14029 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14030
14031         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14032
14033 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * buffer.h: remove out of date comment
14036
14037 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * lyxscreen.h:
14040         * screen.C: fix "theoretical" GC leak
14041
14042 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14043
14044         * LaTeX.C (scanAuxFile):
14045         (deplog): remove trailing \r when reading stream (useful under
14046         win32)
14047
14048 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14049
14050         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14051         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14052         and BufferView::theLockingInset(Inset*), so should use them and not
14053         access bv_->text->the_locking_inset directly.
14054
14055         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14056
14057 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * Makefile.am:
14060         * tex-defs.h: remove old unused file
14061
14062 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * BufferView_pimpl.C: fix typo, remove minibuffer message
14065           when buffer has loaded
14066
14067 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14068
14069         * lyxfunc.C (Dispatch): use stringstream
14070         (MenuNew): use stringstream
14071         (Open): use stringstream
14072
14073         * importer.C (Import): use stringstream
14074
14075         * bufferview_funcs.C (CurrentState): use stringstream
14076
14077         * LaTeX.C (run): use stringstream
14078
14079         * BufferView_pimpl.C (savePosition): use stringstream
14080         (restorePosition): use stringstream
14081         (MenuInsertLyXFile): use stringstream
14082
14083 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14084
14085         * BufferView.C:
14086         * Bullet.C:
14087         * ColorHandler.C:
14088         * FontInfo.C:
14089         * FontLoader.C:
14090         * LColor.C:
14091         * LaTeXFeatures.C:
14092         * Painter.C:
14093         * gettext.C:
14094         * lyx_gui_misc.C:
14095         * lyxserver.C:
14096         * vspace.C: removed // -*- C++ -*- as first line.
14097
14098         * lyxfind.h:
14099         * version.h: added // -*- C++ -*- as first line.
14100
14101 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14104
14105         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14106         of string
14107
14108 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14111         of floats.
14112
14113 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * gettext.C: include LString.h even when --disable-nls is on.
14116
14117 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * converter.h (Get): changed argument type from int to
14120         FormatList::size_type to avoid unnecessary conversion.
14121
14122         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14123         before using it.
14124
14125 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * gettext.h: include LString.h even when --disable-nls is on.
14128
14129 2001-06-07  Juergen Vigna  <jug@sad.it>
14130
14131         * text.C (BreakAgain): subst spaces with tabs.
14132
14133         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14134         (resizeInsetsLyXText): set force on resizeLyXText.
14135
14136 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * gettext.h (gettext_init):
14139         (locale_init): use a real definition instead of a macro
14140
14141 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * Bufferview_pimpl.C:
14144         * LColor.h:
14145         * LColor.C: further lcolor tidies
14146
14147 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14148
14149         * BufferView_pimpl.C (updateScrollbar): simplify.
14150
14151         * BufferView2.C: don't include insets/insetinfo.h, change
14152         prototype for insertInset and call the Pimpl version. let
14153         updateInset call Pimpl version.
14154
14155         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14156         gotoInset to BufferView::Pimpl
14157
14158 2001-06-01  Juergen Vigna  <jug@sad.it>
14159
14160         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14161         inside a LockingInset (is the update needed at all?).
14162
14163 2001-05-31  Juergen Vigna  <jug@sad.it>
14164
14165         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14166         here not the old one otherwise how should we compare it afterwards
14167         if it's the same!
14168
14169 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * lyxfont.C:
14172         * tabular.C:
14173         * tabular-old.C:
14174         * FontInfo.C: bring C functions into global namespace when
14175         necessary
14176
14177 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * LString.h: make sure config.h has been loaded before LString.h.
14180
14181         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14182         (one for each char read by EatLine!).
14183
14184         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14185         variables.
14186
14187 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14190         to the same as the par we break from
14191
14192 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14195
14196         * MenuBackend.C (expand): also create menu entries for wide
14197         versions of the floats.
14198
14199         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14200
14201         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14202
14203         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14204         frontends/Makefile.am
14205
14206         * text2.C: adjust
14207         * text.C: adjust
14208
14209
14210         * tabular.C (getTokenValue): add std::
14211
14212         * tabular-old.C (getTokenValue): add std::
14213         (getTokenValue): ditto
14214         (getTokenValue): ditto
14215
14216         * screen.C (ToggleSelection): adjust
14217
14218         * lyxtext.h: put selection cursors inside a Selection struct.
14219
14220         * lyxfunc.C (moveCursorUpdate): adjust
14221
14222         * lyxfont.C (latexWriteStartChanges): add std::
14223
14224         * lyxfind.C: adjust
14225
14226         * font.h: delete with(char const *, LyXFont const &)
14227
14228         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14229
14230         * FontInfo.C (getFontname): add std::
14231
14232         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14233         (workAreaButtonPress): adjust
14234         (tripleClick): adjust
14235         (update): adjust
14236         (moveCursorUpdate): adjust
14237         (Dispatch): adjust
14238
14239         * BufferView2.C (gotoInset): adjust
14240
14241 2001-05-30  Juergen Vigna  <jug@sad.it>
14242
14243         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14244         to check pspell I add this as default as I now have new pspell
14245         libraries and they seem to use this.
14246
14247 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14248
14249         * text2.C (CutSelection): make the cursor valid before the call to
14250         ClearSelection.
14251
14252 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14253
14254         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14255         relied on 0 terminated strings and other horrors. Bug found due to
14256         the new assert in lyxstring!
14257
14258         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14259         KP_ keys.
14260
14261 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14264         to latinkeys.bind.
14265
14266         * lyxfunc.C (processKeySym): change method of getting to the
14267         self-insert char.
14268
14269         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14270         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14271         * BufferView_pimpl.[Ch]: here as private methods.
14272
14273 2001-05-28  Juergen Vigna  <jug@sad.it>
14274
14275         * text.C (SetHeightOfRow): added the update() call again as it is
14276         needed to initialize inset dimensions!
14277
14278 2001-05-16  Juergen Vigna  <jug@sad.it>
14279
14280         * text2.C (SetCharFont): Add new function with BufferView * and
14281         bool toggleall parameters for setting insets internal fonts.
14282         (SetFont): Freeze the undo as we may change fonts in Insets and
14283         all this change should be inside only one Undo!
14284
14285         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14286         setting font's in insets as for them we have the SetFont function!
14287
14288 2001-05-15  Juergen Vigna  <jug@sad.it>
14289
14290         * text2.C (ClearSelection): to be sure we REALLY don't have any
14291         selection anymore!
14292
14293         * tabular.C (TeXCellPreamble): fixed the left border problem for
14294         multicolumn cells.
14295
14296 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14299         dependancy file
14300
14301 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14304         LFUN_BREAKPARAGRAPH.
14305
14306         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14307         help test to "internal only", similar for LFUN_INSERT_URL
14308
14309         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14310         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14311         auto_region_delete and deadkeys.
14312
14313 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * LColor.h:
14316         * LColor.C: remove some dead entries, tidy a little
14317
14318 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14321         commented code.
14322         (Dispatch): implement LFUN_ESCAPE
14323
14324         * commandtags.h: add LFUN_ESCAPE
14325
14326         * LyXAction.C (init): add entry for LFUN_ESCAPE
14327
14328         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14329         Remove commented code.
14330         (insertNote): moved here
14331         (open_new_inset): moved here
14332
14333         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14334         BufferView_pimpl
14335
14336 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * kbmap.C (findbinding): clean it up and make it work correctly.
14339
14340         * lyx_main.C (init): do not pass argc and argv as parameters
14341
14342 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14343
14344         * buffer.C: fix path for OS/2 & Win32
14345
14346         * lyx_gui.C:
14347         * lyx_main:
14348         * lyx_main.C: Added os:: class.
14349
14350         * os2_defines.h: update
14351
14352 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14353
14354         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14355         better by trying again with reduced state.
14356
14357 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14358
14359         * lyxrc.C (read): print error about invalid key sequence only when
14360         debugging (because not all latinX keysyms are known to some X
14361         servers)
14362
14363         * kbsequence.C (getiso): add a few std:: qualifiers
14364         (getiso): comment out extra return statement.
14365
14366 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14369         handling.
14370         (Dispatch): enhance the accent inset a bit. (not perfect)
14371
14372 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14375
14376 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * bufferlist.C (emergencyWrite): fix assert() call
14379
14380 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14381
14382         * text.C (InsertChar): Added trivial patch to only send the "you
14383         can not do multiple spaces this way" message once during a
14384         session.
14385
14386 2001-05-08  Baruch Even  <baruch@lyx.org>
14387
14388         * Makefile.am: Changed order of libraries to get LyX to link properly
14389         with the gnome frontend.
14390
14391 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * LaTeXFeatures.h: add a std:: qualifier
14394
14395 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * paragraph.C (String): use stringstream
14398
14399 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * paragraph.C (writeFile): remove footflag arg
14402
14403         * buffer.C (makeLaTeXFile): use stringstream
14404         (latexParagraphs): remove footnot gurba
14405
14406         * LaTeXFeatures.C (getPackages): use stringstream
14407         (getMacros): likewise
14408         (getTClassPreamble): likewise
14409         (getFloatDefinitions): new method
14410
14411         * paragraph.C (writeFile): reindent
14412         (Erase): reindent
14413
14414         * WorkArea.h: revert the xpos + etc changes.
14415
14416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14417
14418         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14419
14420         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14421         (pasteSelection): likewise
14422         * text2.C (CreateUndo): likewise
14423
14424 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * minibuffer.C (peek_event): temporarily reduce the functionality
14427         of the minibuffer (to allow args on lfuns)
14428
14429         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14430         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14431
14432         * buffer.C (readInset): add compability reading of old float
14433         lists, add reading of new style float list.
14434         (readInset): avoid reevaluation of inscmd.getCmdName()
14435         (getLists): reindent
14436
14437         * MenuBackend.C (MenuItem): implement parsing of
14438         md_floatlistinsert and md_floatinsert.
14439         (expand::LastFiles): move initalizaton of iterators out of loop,
14440         avoid reevaluation.
14441         (expand::Documents): introduce typdedef vector<string> Strings,
14442         and use it.
14443         (expand::ExportFormats): introduce typedef vector<Format const *>
14444         Formats, and use it.
14445         (expand): implement FloatListInsert and FloatInsert.
14446
14447         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14448         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14449         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14450
14451         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14452         handling.
14453         (Dispatch::LFUN_FLOAT_LIST): implement
14454
14455 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14456
14457         * LaTeX.C (run): Fix problem with --export code.
14458
14459 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14460
14461         * BufferView.[Ch] (workarea): removed.
14462         (getClipboard) new method; wrapper for workarea()->getClipboard()
14463
14464         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14465         bug.
14466
14467         * WorkArea.h (width, height, xpos, ypos): These methods all
14468         returned the dimensions of the work_area sub-area of WorkArea,
14469         resulting in a position error if the WorkArea were resized. Now
14470         return the dimensions of the entire WorkArea.
14471
14472         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14473
14474 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * LaTeX.C (deplog): correct the syntax of regex reg1
14477
14478 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * undo.C: remove !NEW_INSETS cruft
14481
14482 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14483
14484         * text2.C: remove !NEW_INSETS cruft
14485
14486         * text.C: remove !NEW_INSETS cruft
14487
14488         * tabular.C: remove !NEW_INSETS cruft
14489
14490         * spellchecker.C: remove !NEW_INSETS cruft
14491
14492         * lyxtext.h: remove !NEW_INSETS cruft
14493
14494         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14495
14496         * lyxfunc.C: remove !NEW_INSETS cruft
14497
14498         * lyxfind.C: remove !NEW_INSETS cruft
14499
14500         * lyx_cb.C: remove !NEW_INSETS cruft
14501
14502         * figureForm.C: remove  !NEW_INSETS cruft
14503
14504         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14505
14506         * buffer.[Ch]: remove !NEW_INSETS cruft
14507
14508         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14509
14510         * CutAndPaste.C: remove !NEW_INSETS cruft
14511
14512         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14513
14514         * BufferView2.C: remove !NEW_INSETS cruft
14515
14516         * BufferView.h: remove !NEW_INSETS cruft
14517
14518 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * Lsstream.h: include LString.h before the sstream headers to
14521         fix problem with gcc 2.95.3 and lyxstring
14522
14523 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * lyx_main.C: add using directives when needed for C functions
14526         declared in std:: namespace.
14527
14528 2001-04-27  Juergen Vigna  <jug@sad.it>
14529
14530         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14531         (SetHeightOfRow): comment out the update call should not be needed!
14532
14533 2001-04-13  Juergen Vigna  <jug@sad.it>
14534
14535         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14536         (LyXTabular): tried to minimize operator= operations (and realized
14537         hopfully Lars wish).
14538
14539 2001-04-27  Juergen Vigna  <jug@sad.it>
14540
14541         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14542
14543 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14544
14545         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14546
14547         * buffer.C (readInset): hack to make listof algorithm work
14548
14549         * BufferView_pimpl.C: hack to make listof algorithm work
14550
14551 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * LyXAction.C: removed all !NEW_INSETS cruft
14554         (init): moved lfun_item in method
14555
14556         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14557
14558 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14559
14560         * BufferView2.C (theLockingInset): white space.
14561
14562 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * minibuffer.C: include <iostream>
14565
14566         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14567
14568         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14569
14570         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14571
14572         * text.[Ch] (TransposeChars): new method
14573
14574 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * call message directly through LyXView instead of through LyXFunc
14577         * BufferView2.C: adjust
14578         * BufferView_pimpl.C: adjust
14579         * FontLoader.C: adjust
14580         * buffer.C: adjust
14581         * bufferview_funcs.C: adjust
14582         * converter.C: adjust
14583         * figureForm.C: adjust
14584         * importer.C: adjust
14585         * lyx_cb.C: adjust
14586         * lyx_gui_misc.C: adjust
14587         * lyxfunc.C: adjust
14588         * lyxvc.C: adjust
14589         * text2.C: adjust
14590         + more files in subdirs
14591
14592         * lyxparagraph.h (size): move up int file
14593         (GetLayout): ditto
14594
14595         * adjust all uses of Assert to lyx::Assert.
14596
14597         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14598         lyxfunctional in namespace lyx
14599         * layout.C (hasLayout): ditto
14600         (GetLayout): ditto
14601         (GetLayout): ditto
14602         (delete_layout): ditto
14603         (NumberOfClass): ditto
14604         * converter.C (GetFormat): ditto
14605         (GetNumber): ditto
14606         (Add): ditto
14607         (Delete): ditto
14608         (SetViewer): ditto
14609         * bufferlist.C (getFileNames): ditto
14610         (emergencyWriteAll): ditto
14611         (exists): ditto
14612         (getBuffer): ditto
14613         * MenuBackend.C (hasSubmenu): ditto
14614         (hasMenu): ditto
14615         (getMenu): ditto
14616         * BufferView_pimpl.C (getInsetByCode): ditto
14617
14618 2001-04-18  Juergen Vigna  <jug@sad.it>
14619
14620         * vspace.C (asLatexString): fixed the 100% problem.
14621
14622 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * lyxfunc.C (Dispatch):
14625         * minibuffer.C:
14626         * minibuffer.h: add a few std:: qualifiers
14627
14628 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * minibuffer.[Ch]: reimplement so that commands is initiated and
14631         run from lyxfunc, simplified som handling, and made the completion
14632         and history code for complete. wip.
14633
14634         * lyxfunc.C (processKeySym): call message
14635         (miniDispatch): new temporary method
14636         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14637         (LFUN_MESSAGE): implement
14638         (LFUN_MESSAGE_PUSH): implement
14639         (LFUN_MESSAGE_POP): implement
14640         (initMiniBuffer): the initial/defualt minibuffer message.
14641
14642         * lyxfont.[Ch]: inline some more getters
14643
14644         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14645
14646         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14647
14648         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14649         (AutoSave): use LFUN_MESSAGE
14650         (Reconfigure): ditto
14651
14652         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14653
14654         * figureForm.C: use LFUN_MESSAGE
14655
14656         * converter.C (runLaTeX): use LFUN_MESSAGE
14657
14658         * bufferview_funcs.C: use LFUN_MESSAGE
14659         (Melt): ditto
14660         (changeDepth): ditto
14661
14662         * bufferparams.h: use boost::
14663
14664         * bufferlist.h: inherit privately from noncopyable
14665
14666         * bufferlist.C (loadLyXFile): remove some commented code.
14667
14668         * buffer.C (runChktex): use LFUN_MESSAGE
14669
14670         * ShareContainer.h: inherit privately from noncopyable
14671
14672         * ParagraphParameters.[hC] (depth): inline it.
14673
14674         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14675         methods.
14676         (message): new method
14677         (messagePush): ditto
14678         (messagePop): ditto
14679         (show): init minibuffer
14680         (showState): direct call
14681
14682         * LaTeX.[Ch]: inherit privately from noncopyable
14683         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14684         instead of WriteStatus.
14685
14686         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14687
14688         * BufferView_pimpl.C (buffer): don't init minibuffer
14689         (workAreaButtonPress): use LFUN_MESSAGE
14690         (workAreaButtonRelease): ditto
14691         (savePosition): ditto
14692         (restorePosition): ditto
14693         (MenuInsertLyXFile): ditto
14694         (workAreaExpose): don't init minibuffer
14695         (update): remove commented code, simplify
14696
14697         * BufferView2.C (openStuff): use LFUN_MESSAGE
14698         (toggleFloat): ditto
14699         (menuUndo): ditto
14700         (menuRedo): ditto
14701         (copyEnvironment): ditto
14702         (pasteEnvironment): ditto
14703         (copy): ditto
14704         (cut): ditto
14705         (paste): ditto
14706         (gotoInset): ditto
14707         (updateInset): remove some commented code
14708
14709         * lastfiles.h: inherit privately from noncopyable
14710         * layout.h: ditto
14711         * lyx_gui.h: ditto
14712         * lyx_main.h: ditto
14713         * lyxlex.h: ditto
14714         * lyxlex_pimpl.h: ditto
14715
14716         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14717         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14718         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14719
14720         * LyXAction.h: inherit privately from noncopyable, add methods
14721         func_begin, func_end, returning iterators to the func map.
14722
14723         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14724         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14725         (func_begin): new method
14726         (func_end): new method
14727
14728         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14729         and not)
14730         (copySelection): ditto
14731         (pasteSelection): ditto
14732
14733         * BufferView.C: whitespace change
14734         * BufferView.h: inherit privately from noncopyable
14735
14736 2001-04-16  Allan Rae  <rae@lyx.org>
14737
14738         * tabular-old.C (l_getline):
14739         * spellchecker.C (sc_check_word):
14740         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14741         an unrecognised preprocessor directive.  So ensure they're wrapped.
14742
14743 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14744
14745         * src/exporter.C (Export): Give an error message when path to file
14746         contains spaces.
14747
14748 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14749
14750         * LaTeX.C (deplog): Always check that foundfile exists.
14751
14752 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * lyx_main.h:
14755         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14756
14757 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14758
14759         * tabular.[Ch] (getLabelList): implement new method
14760
14761         * minibuffer.h: comment ouf setTiimer
14762
14763         * minibuffer.C (ExecutingCB): constify res
14764         (peek_event): constify s
14765         (Set): constify ntext
14766         (Init): constify nicename
14767
14768         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14769
14770         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14771         (savePosition): use two params to Minibuffer::Set
14772         (restorePosition): ditto
14773
14774 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * lyx_main.C: include language.h
14777
14778         * Makefile.am (lyx_main.o): add language.h
14779
14780 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * exporter.C:
14783         * paragraph.C:
14784         * screen.C:
14785         * tabular.C:
14786         * CutAndPaste.C: include gettext.h
14787
14788         * lyxfont.h: remove old hack with ON and OFF.
14789
14790         * lyxparagraph.h:
14791         * lyxfont.h: do not include language.h...
14792
14793         * BufferView2.C:
14794         * LaTeXFeatures.C:
14795         * Painter.C:
14796         * bufferview_funcs.C:
14797         * font.C:
14798         * lyxfont.C:
14799         * text.C:
14800         * text2.C:
14801         * trans_mgr.C:
14802         * paragraph.C: ... but do it here instead
14803
14804 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14807
14808         * tabular.C: small reformat
14809
14810         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14811         NEW_INSETS version
14812         (GetChar): ditto
14813         (BreakParagraph): ditto
14814         (SetOnlyLayout): ditto
14815         (SetLayout): ditto
14816
14817         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14818         with one arg less.
14819
14820         * lastfiles.C: removed most using decl, add std:: where needed
14821
14822         * buffer.C: ws changes
14823
14824         * MenuBackend.C (class compare_format): put into anon namespace
14825         (expand): constify label, names, action, action2
14826         (expand):
14827
14828         * text.C (SingleWidth): constify font
14829         (IsBoundary): constify rtl2
14830         (GetVisibleRow): constify ww
14831
14832         * LaTeX.C (deplog): constify logfile
14833
14834         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14835         start_x, end_x
14836         (workAreaExpose): constify widthChange, heightChange
14837
14838         * lyxrow.C (par): moved
14839         (height): moved
14840         (next): moved
14841         * lyxrow.h: as inlines here
14842
14843         * lyxfont.h (shape): moved from lyxfont.C
14844         (emph): moved from lyxfont.C
14845
14846         * lyxfont.C (LyXFont): use initialization list for all
14847         constructors
14848         (shape): move to lyxfont.h as inline
14849         (emph): move to lyxfont.h as inline
14850
14851
14852 2001-04-04  Juergen Vigna  <jug@sad.it>
14853
14854         * vspace.C: had to include stdio.h for use of sscanf
14855
14856 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * BufferView.h:
14859         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14860         independent of xforms.
14861
14862 2001-04-02  Juergen Vigna  <jug@sad.it>
14863
14864         * spellchecker.C: fixed namespace placing!
14865
14866 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14867
14868         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14869         the LyXParagraph * is 0.
14870
14871 2001-03-29  Juergen Vigna  <jug@sad.it>
14872
14873         * vspace.C: added support for %, c%, p%, l%.
14874         (stringFromUnit): added helper function.
14875         (asLatexString): changed to give right results for the %-values.
14876
14877         * buffer.C: convert the widthp in a width%.
14878
14879 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14880
14881         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14882         figureForm.[Ch].
14883
14884         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14885         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14886
14887         * lyx_cb.[Ch]: see above.
14888
14889         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14890         form1.[Ch].
14891
14892         * form1.[Ch]:
14893         * lyx.[Ch]: replaced by figure_form.[Ch].
14894
14895         * lyx_gui.C:
14896         * lyx_gui_misc.C:
14897         * lyxfunc.C: changed headers associated with above changes.
14898
14899 2001-03-27  Juergen Vigna  <jug@sad.it>
14900
14901         * BufferView_pimpl.C: set the temporary cursor right!
14902
14903 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14904
14905         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14906
14907 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * LString.h: removed "using std::getline"!
14910
14911         * BufferView_pimpl.C (Dispatch): changes due to changes in
14912         InsetInclude::Params.
14913
14914         * buffer.C (tag_name): removed redundant break statements as they were
14915         producing lots of warnings with my compiler.
14916
14917 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * LString.h: add "using std::getline" when using the real <string>.
14920
14921 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14922
14923         * buffer.C: removed bitset usage.
14924         PAR_TAG moved to an anonymous name space.
14925         (tag_name): new funtion, also in the anonymous namespace.
14926         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14927         (makeDocBookFile): clean code. Completed transition from string arrays
14928         to string vectors.
14929         (SimpleDocBookOnePar): code clean.
14930
14931 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14932
14933         * tabular.C: add some comments.
14934
14935 2001-03-22  Juergen Vigna  <jug@sad.it>
14936
14937         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14938         compatibility read a bit and fixed bug with minipage in different
14939         depth.
14940
14941 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14942
14943         * buffer.C (pop_tag): removed.
14944         (push_tag): removed.
14945         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14946         array replaced with vector. Added support for CDATA sections.
14947         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14948         at any nest level.
14949         (makeDocBookFile): XML conformant declaration of CDATA section,
14950         fixed bug related to <emphasis> in the first paragraph char.
14951         (sgmlOpenTag): exclude empty tags.
14952         (sgmlCloseTag): ditto.
14953
14954         * buffer.h (pop_tag): removed.
14955         (push_tag): removed.
14956
14957 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14958
14959         * language.h (Languages): added size_type and size().
14960
14961 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14962
14963         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14964         response on compability reading of minipages. One probliem is that
14965         the old usage of minipages was «flertydig»
14966
14967         * several files here and in subdirs: don't use static at file
14968         scope use anon namespaces instead.
14969
14970 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14971
14972         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14973         LaTeX output. This is necessary for Literate document
14974         processing.
14975
14976 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14977
14978         * buffer.C: insert hfill when needed.
14979
14980         * tabular.C (l_getline): use string::erase, small whitespace change.
14981
14982         * BufferView_pimpl.C: try the anon namespace.
14983         * WorkArea.C: ditto
14984
14985 2001-03-16  Juergen Vigna  <jug@sad.it>
14986
14987         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14988         otherwise it won't open options-dialogs.
14989
14990         * buffer.C: honor pextraWidth(p) on converting minipages.
14991
14992         * tabular.C (l_getline): changed the functions to strip trailing \r.
14993
14994 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14995
14996         * BufferView_pimpl.C:
14997         * minibuffer..C: added "using SigC::slot" declaration.
14998
14999 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15000
15001         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15002
15003         * text2.C: ditto
15004
15005         * text.C: ditto
15006
15007         * paragraph.C: ditto
15008
15009         * lyxtext.h: NO_PEXTRA
15010
15011         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15012
15013         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15014         * ParameterStruct.h: ditto
15015         * ParagraphParameters.h: ditto
15016         * lyxparagraph.h: ditto
15017
15018 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15019
15020         * buffer.C: add compability for minipage alignment.
15021         (latexParagraphs): remove unwanted pextra check.
15022
15023         * several files: remove CXX_WORKING_NAMESPACES
15024
15025         * buffer.C (pop_tag): tie is in namespace boost
15026
15027         * BufferView.h: noncopyable is in namespace boost
15028         * lyxlex.h: ditto
15029         * lyx_main.h: ditto
15030         * lyx_gui.h: ditto
15031         * layout.h: ditto
15032         * lastfiles.h: ditto
15033         * bufferlist.h: ditto
15034         * ShareContainer.h: ditto
15035         * LyXView.h: ditto
15036         * LyXAction.h: ditto
15037         * LaTeX.h: ditto
15038
15039 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15040
15041         * Merging changes from BRANCH_MVC back into HEAD.
15042
15043         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15044
15045 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * BufferView_pimpl.C: change from intl.C
15048
15049         * combox.h:
15050         * combox.C:
15051         * Makefile.am: move combox.*
15052
15053         * form1.h:
15054         * form1.C:
15055         * lyx_gui.C:
15056         * intl.h:
15057         * intl.C: remove dialog (covered by prefs)
15058
15059 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15060
15061         * lyxfunc.C (Dispatch): removed redundant break statement.
15062
15063 2001-03-14  Juergen Vigna  <jug@sad.it>
15064
15065         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15066
15067 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15068
15069         * buffer.C: add hack to fix compability reading of minipages.
15070
15071 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15072
15073         * buffer.C (getLists): Cleanup.
15074
15075 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * lyxfont.C (update): don't honor toggleall on font size.
15078
15079 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * bmtable.c:
15082         * bmtable.h:
15083         * Makefile.am: moved to frontends/xforms/
15084
15085         * lyx_gui_misc.C:
15086         * lyxfunc.C:
15087         * BufferView_pimpl.C: changes for moved mathpanel
15088
15089 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * gettext.h: fix gettext_init() in --disable-nls
15092
15093 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15096
15097 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * lyx.C:
15100         * lyx.h: strip external form
15101
15102 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * BufferView_pimpl.C: add comment, destroySplash()
15105
15106 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * BufferView_pimpl.C:
15109         * LyXAction.C:
15110         * buffer.C:
15111         * commandtags.h:
15112         * lyxfunc.C: use re-worked insetinclude
15113
15114 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15115
15116         * buffer.C: add using std::stringstream.
15117
15118         * lyx_cb.C: readd using std::ios.
15119
15120         * buffer.C: add using std::map.
15121
15122         * BufferView_pimpl.C: add using std::vector.
15123
15124         * ShareContainer.h: add std:: to swap.
15125
15126         * buffer.h: add some typedefs
15127         * buffer.C (getLists): use them
15128         (getLists): renamed from getTocList.
15129         add a counter for the different float types and use it in the
15130         generated string.
15131         (getLists): use the same counter for the NEW_INSETS and the "non"
15132         NEW_INSETS
15133
15134         * lyx_cb.h: remove unused items, includes, using etc.
15135
15136         * ShareContainer.h: remove some commented code, add more comments
15137         and "documentation".
15138
15139 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15140
15141         * buffer.C (getTocList): make the list also when NEW_INSETS is
15142         defined.
15143
15144         * buffer.h: remove TocType
15145
15146         * buffer.C (getTocList): change to return a map<string,
15147         vector<TocItem> >, implement for dynamic number of list.
15148
15149         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15150         * text2.C (PasteSelection): adjust
15151         * CutAndPaste.C (pasteSelection): adjust
15152
15153         * FloatList.C (FloatList): update from the new_insets branch.
15154         * Floating.[Ch]: ditto
15155         * LaTeXFeatures.C: ditto
15156         * buffer.C: ditto
15157         * lyxlex_pimpl.C: ditto
15158
15159         * paragraph.C (Last): remove when NEW_INSETS is defined.
15160
15161         * other file: changes because of the above.
15162
15163 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15164
15165         * lyxparagraph.h: rename next to next_, previous to previous_,
15166         make them private for NEW_INSETS. Rename Next() to next(),
15167         Previous() to previous().
15168
15169         * other files: changes because of the above.
15170
15171 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * BufferView.h:
15174         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15175         problem.
15176
15177 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * main.C (main): pass lyx_localedir to gettext_init().
15180
15181         * gettext.h: remove locale_init and gettext_init macros
15182
15183         * gettext.C (locale_init): new function
15184         (gettext_init): new function
15185
15186         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15187         setlocale().
15188
15189 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15190
15191         * Moved credits to frontends:
15192         * credits.[Ch]: removed
15193         * credits_form.[Ch]: removed
15194         * lyx_gui_misc.C: remove credits stuff
15195         * Makefile.am:
15196
15197 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15198
15199         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15200
15201         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15202         unneeded destructor.
15203
15204         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15205         a standalone pointer again.
15206
15207         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15208
15209 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * Makefile.am:
15212         * filedlg.h:
15213         * filedlg.C:
15214         * LyXAction.C:
15215         * ToolbarDefaults.C:
15216         * bufferlist.C:
15217         * commandtags.h:
15218         * form1.C:
15219         * form1.h:
15220         * lyx_cb.C:
15221         * lyx_cb.h:
15222         * lyxfunc.h:
15223         * lyxfunc.C:
15224         * BufferView_pimpl.C: use new file dialog in GUII
15225
15226         * lyx_cb.h:
15227         * lyx_cb.C: remove LayoutsCB to Toolbar
15228
15229 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * ShareContainer.h (get): add std:: qualifier
15232
15233 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * ShareContainer.h: define a proper ShareContainer::value_type
15236         type (and use typename to please compaq cxx)
15237
15238 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15239
15240         * lyxparagraph.h: move serveral local vars to
15241         ParameterStruct/ParagraphParameters., use ShareContainer in
15242         FontTable., make vars in FontTable private and add getter and
15243         setter.
15244
15245         * paragraph.C: changes because of the above.
15246
15247         * lyxfont.h: remove copy constructor and copy assignment. (the
15248         default ones is ok), move number inside FontBits. move inlines to
15249         lyxfont.C
15250
15251         * lyxfont.C: add number to initializaton of statics, move several
15252         inlines here. constify several local vars. some whitespace
15253         cleanup. Dont hide outerscope variables.
15254
15255         * Spacing.h: add two new constructors to match the set methods.
15256
15257         * ShareContainer.h: new file, will perhaps be moved to support
15258
15259         * ParameterStruct.h: new file
15260
15261         * ParagraphParameters.h: new file
15262
15263         * ParagraphParameters.C: new file
15264
15265         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15266         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15267
15268         * BufferView_pimpl.C: ParagraphParameter changes.
15269         * buffer.C: Likewise.
15270         * bufferview_funcs.C: Likewise.
15271         * text.C: Likewise.
15272         * text2.C: Likewise.
15273
15274 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * lyxfind.C (LyXReplace): do not redefine default argument in
15277         implementation.
15278         (IsStringInText): ditto
15279         (SearchForward): ditto
15280         (SearchBackward): ditto
15281
15282 2001-03-06  Juergen Vigna  <jug@sad.it>
15283
15284         * lyxfind.C (IsStringInText): put parentes around expressions.
15285
15286 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15287
15288         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15289
15290 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15291
15292         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15293
15294         * stl_string_fwd.h: add comment
15295
15296         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15297
15298         * tabular.h:
15299         * tabular.C: remove unused DocBook methods
15300
15301         * intl.C:
15302         * language.C:
15303         * paragraph.C:
15304         * buffer.C:
15305         killed DO_USE_DEFAULT_LANGUAGE
15306
15307 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * lyx_gui.C: do not include language.h.
15310
15311         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15312         arguments in function implementation.
15313
15314 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15315
15316         * BufferView_pimpl.C: add <ctime>
15317
15318 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15319
15320         * BufferView_pimpl.C: add using std::find_if
15321
15322 2001-02-27  José Matos  <jamatos@fep.up.pt>
15323
15324         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15325         by OnlyPath.
15326
15327 2001-02-11  José Matos  <jamatos@fep.up.pt>
15328
15329         * buffer.C (makeDocBookFile): command styles now have a parameter as
15330         "title" by default.
15331
15332 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15333
15334         * layout_forms.[Ch]: removed
15335         * lyx_cb.[Ch]: out character
15336         * lyx_gui.C: out character
15337         * lyx_gui_misc.C: out character
15338         * bufferview_funcs.C: : out character,
15339         added toggleall as parameter in ToggleAndShow
15340
15341 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15342
15343         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15344
15345         * text2.C (SetCurrentFont): Disable number property at boundary.
15346
15347 2001-02-26  Juergen Vigna  <jug@sad.it>
15348
15349         * lyxfunc.C (getStatus): added a string argument override function so
15350         that this is correctly called from LyXFunc::Dispatch if it contains a
15351         do_not_use_argument which is used!
15352         (Dispatch): added check for "custom" export and call appropriate func.
15353
15354 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15355
15356         * lyxrc.C: Add language_command_local, language_use_babel and
15357         language_global_options.
15358
15359         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15360
15361         * buffer.C (makeLaTeXFile): Use language_use_babel and
15362         language_global_options.
15363
15364 2001-02-23  Juergen Vigna  <jug@sad.it>
15365
15366         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15367         which works with LyXText and putted it inside BufferView. Here now we
15368         only call for that part the BufferView::Dispatch() function.
15369
15370         * BufferView.C (Dispatch): added.
15371
15372         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15373         functions which needs to use a LyXText over from LyXFunc.
15374         (MenuInsertLyXFile): added
15375         (getInsetByCode): added
15376         (moveCursorUpdate): added
15377         (static TEXT): added
15378
15379 2001-02-22  Juergen Vigna  <jug@sad.it>
15380
15381         * BufferView_pimpl.C (update): call a status update to see if LyXText
15382         needs it.
15383
15384 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15385
15386         * vc-backend.C (revert): implement for CVS
15387         (getLog): implement for CVS
15388
15389 2001-02-20  Juergen Vigna  <jug@sad.it>
15390
15391         * text2.C (ClearSelection): added BufferView param for inset_owner call
15392
15393         * lyxfunc.C (TEXT): added this function and use it instead of
15394         directly owner->view()-text of getLyXText().
15395
15396 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15397
15398         * src/layout_forms.C: out preamble
15399         * src/layout_forms.h: out preamble
15400         * src/lyx_cb.C: out preamble
15401         * src/lyx_cb.h: out preamble
15402         * src/lyx_gui.C: out preamble
15403         * src/lyx_gui_misc.C: out preamble
15404         * src/lyxfunc.C: connect with guii preamble
15405
15406 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15407
15408         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15409
15410 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15411
15412         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15413         whether to run bibtex.
15414
15415 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15416
15417         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15418
15419 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15420
15421         * Makefile.am (lyx_SOURCES): removed bibforms.h
15422
15423         * vspace.h: doxygen
15424
15425         * text.C (GetVisibleRow): make several local vars const
15426
15427         * tabular.C: small cleanup.
15428
15429         * lyxserver.C (callback): use compare instead of strncmp
15430
15431         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15432         inlines to after class or to paragraph.C
15433
15434         * lyxfont.h: remove friend operator!=
15435
15436         * converter.h: move friend bool operator< to non friend and after
15437         class def.
15438
15439         * combox.h: small cleanup
15440
15441         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15442         to inlines after class def.
15443
15444         * buffer.C (pop_tag): use string operations instead of strcmp
15445
15446         * bmtable.c: doxygen, small cleanup
15447
15448         * LaTeX.h: remove friend operator==
15449
15450 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15451
15452         * screen.C:
15453         * lyxrc.[Ch]:
15454         * lyxfunc.C:
15455         * lyxfont.[Ch]:
15456         * lyx_cb.C:
15457         * intl.[Ch]:
15458         * commandtags.h:
15459         * buffer.C:
15460         * WorkArea.[Ch]:
15461         * LyXAction.C:
15462         * BufferView_pimpl.C:
15463         * BufferView.[Ch]: remove cruft
15464
15465 2001-02-14  Juergen Vigna  <jug@sad.it>
15466
15467         * lyxfunc.C: removed #if 0 unused code
15468
15469         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15470
15471         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15472
15473         * text2.C (SetSelection): added a BufferView * parameter
15474
15475 2001-02-13  Juergen Vigna  <jug@sad.it>
15476
15477         * lyxfunc.C (Dispatch): fixed protected blank problem.
15478         * BufferView2.C (protectedBlank): added LyxText * parameter.
15479
15480         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15481         (AppendColumn): same as above for column_info.
15482
15483         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15484         (moveCursorUpdate): use a LyXText param for support of InsetText.
15485
15486         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15487         (tripleClick): ditto
15488
15489         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15490
15491         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15492
15493         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15494
15495         * text2.C (SetSelection): set correct update status if inset_owner
15496         (ToggleFree): ditto
15497
15498 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15499
15500         * tabular.C: remove some commented code.
15501
15502 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15503
15504         * BufferView_pimpl.C: call hideSplash()
15505
15506         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15507
15508         * include_form.h:
15509         * bibforms.h: remove
15510
15511         * lyxfunc.C:
15512         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15513           add LFUN_CHILD_CREATE
15514
15515         * counters.h: fix tiny typo
15516
15517         * lyx_cb.C:
15518         * lyx.h:
15519         * lyx_gui.C:
15520         * lyx.C: move splash to frontends/xforms/
15521
15522         * lyx_gui_misc.C: move Include and Bibform to frontends
15523
15524         * lyxvc.h: clarify comment
15525
15526         * vspace.C: tiny housekeeping
15527
15528 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15529
15530         * text.C (PrepareToPrint): RTL Fix.
15531
15532         * paragraph.C (GetUChar): New method.
15533         (String):  Use GetUChar.
15534
15535         * buffer.C (asciiParagraph): Use GetUChar.
15536
15537 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15538
15539         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15540
15541 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15542
15543         * buffer.h:
15544         * buffer.C: rename to getLogName(), handle
15545           build log / latex log nicely
15546
15547 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * MenuBackend.C:
15550         * MenuBackend.h: remove support for reference menuitem type.
15551
15552 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15553
15554         * BufferView_pimpl.C: housekeeping
15555         * BufferView_pimpl.h:
15556         * LyXView.h:
15557         * Makefile.am:
15558         * Timeout.C:
15559         * Timeout.h:
15560         * minibuffer.h: move Timeout GUI-I
15561
15562 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15563
15564         * lyxrc.C (read): Update converters data-structures.
15565
15566 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15567
15568         * LaTeX.h (operator!=): add operator != for Aux_Info
15569
15570 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15571
15572         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15573
15574         * LaTeXLog.C: deleted, useful code moved to Buffer
15575
15576         * buffer.h:
15577         * buffer.C: new function getLatexLogName()
15578
15579         * lyx_gui_misc.C:
15580         * lyx_gui.C:
15581         * lyxvc.C:
15582         * lyxvc.h:
15583         * lyxfunc.C: use frontends for LaTeX and VC logs
15584
15585 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * LaTeX.h: yet another std:: that Allan forgot.
15588
15589         * Variables.C (set): renamed from isset(), because this clashes
15590         with some HP-UX macros (grr).
15591
15592 2001-02-06  Allan Rae  <rae@lyx.org>
15593
15594         * LaTeX.h: Another bug fix.  Missing std:: this time.
15595
15596 2001-02-04  Allan Rae  <rae@lyx.org>
15597
15598         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15599         floats problem. I've left it commented out because it's not quite
15600         correct.  It should also test that the current object is a table or
15601         figure inset.  But I haven't gotten around to figuring out how to do
15602         that.  I *think* it'll be something like: "table" == inset.type()
15603
15604         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15605         bool.
15606
15607 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15608
15609         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15610         all the citation/databases/styles in the auxilary file.
15611         (run): Rerun latex if there was a babel language error.
15612
15613 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15614
15615         * text.C (Backspace): Preserve the font when changing newline char
15616         with a space.
15617         (BreakParagraph): If the cursor is before a space, delete the space.
15618
15619         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15620
15621 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15624         new argument (code).
15625         (ChangeCitationsIfUnique): New method.
15626
15627         * paragraph.C (GetPositionOfInset): Handle bibkey.
15628
15629 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * BufferView_pimpl.h: change type of Position::par_pos to
15632         LyXParagraph::size_type.
15633
15634 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * BufferView_pimpl.C (savePosition, restorePosition): Write
15637         messages to minibuffer.
15638
15639 2001-01-28  José Matos  <jamatos@fep.up.pt>
15640
15641         * buffer.C (makeDocBookFile): adds support for document language.
15642         A silly restriction on the name of LatexCommand types where removed.
15643         Added support for CDATA sections, allows to chars unescaped, used
15644         among others in code, to avoid escape < and >.
15645
15646 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15647
15648         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15649         saved positions instrad of a stack. Furthermore, a position is
15650         stored using paragraph id/paragraph position.
15651
15652         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15653         Remove LFUN_REF_BACK.
15654
15655 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * converter.C (dvipdfm_options): New method.
15658
15659 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * vspace.C (isValidLength): Fix for empty input string.
15662
15663 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * LyXAction.C (init): change description of LFUN_FIGURE to
15666         "Insert Graphics"
15667
15668 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15669
15670         * LaTeX.C: add using directive
15671
15672 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * MenuBackend.C (expand): Fix the sorting of the formats.
15675
15676 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15677
15678         * lyx_main.C: tiny error message fix
15679
15680 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15681
15682         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15683         calling fl_initialize(). This fixes the problem with ',' as
15684         decimal separator in text files.
15685
15686 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * trans.C (process): Fix the keymap bug.
15689
15690 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * LaTeX.C (scanAuxFiles): New method. Provides support for
15693         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15694         (scanLogFile) Scan for "run BibTeX" messages.
15695
15696         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15697         OT1 font encoding. Also, load the aecompl package if the ae
15698         package is loaded.
15699
15700         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15701
15702 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * texrow.C (increasePos): turn two error messages into debug
15705         messages.
15706
15707 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15708
15709         * LaTeX.C (scanAux): Handle the \@input macro.
15710         (runBibTeX): Use scanAux().
15711
15712         * language.C (latex_options_): New field.
15713
15714         * LaTeXFeatures.C (getMacros): Add language macros.
15715
15716         * buffer.C (makeLaTeXFile): Small fix.
15717
15718 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15721
15722         * text2.C: add a using directive.
15723
15724 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15725
15726         * BufferView2.C:
15727         * lyx_gui_misc.h:
15728         * lyxfr1.C:
15729         * lyxfunc.C: kill LyXBell.
15730
15731 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15732
15733         * text.C (IsBoundary): Remove the error message
15734
15735         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15736
15737         * lyxrc.C (setDefaults): Correct initialization value for
15738         font_norm_type.
15739
15740 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15741
15742         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15743         gotoError().
15744
15745         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15746         and GotoNextNote().
15747
15748         * src/LyXAction.C: Added reference-next.
15749
15750         * text.C (InsertChar): Use contains instead of strchr.
15751
15752         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15753
15754 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15757         alignment commands (when needed).
15758
15759         * text.C (InsertChar): Add ':' to number separator chars.