]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix portability problem with OS X
[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-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
11
12         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
13
14 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
15
16         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
17         to bool.
18
19         * converter.C (showMessage): inherit from unary_function, make
20         operator() const.
21
22         * buffer.C (writeFile): initialize retval
23
24         * InsetList.h: rename private variable list to list_
25         * InsetList.[Ch]: adjust accordingly.
26
27 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
28
29         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
30         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
31         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
32         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
33         * ParagraphParameters.C, LaTeXFeatures.C: replace
34         "support/std_sstream.h" with <sstream>
35
36 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
37
38         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
39         * lyxsocket.C (LyXServerSocket): ditto
40         (serverCallback): ditto
41
42 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
43
44         * LaTeXFeatures.C: check release date when loading jurabib.
45
46 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
47
48         * lyxserver.C (startPipe): call register_socket_callback
49         (endPipe): call unregister_socket_callback
50
51 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
52
53         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
54         (LyXServerSocket): register the callback
55         (LyXServerSocket): unregister the callback
56         (fd): delete function
57         (serverCallback): improve error checking and setup the callbacks.
58         (dataCallback): change arg to fd.
59         (writeln): new func (copied fro the client socket) used for server
60         write to client.
61         (LyXDataSocket): simplify
62         (~LyXDataSocket): close ann unregiser callback
63         (server): delete function
64         (fd): delete function
65         (readln): small changes, improve some std::string usage
66         (writeln): constify a bit
67
68 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
71         Qt frontend
72
73 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * BufferView_pimpl.C (setBuffer): set the layout combox value only
76         after it has been populated
77
78 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text2.C (insertInset): move cursor when inserting inset.
81
82 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * kbmap.C (findbindings): a couple of new methods. returns a
85         container of kb_sequence objects. The real work is done by the
86         private recursive version
87         (printbindings): uses findbindings to print out a bracketed list
88         of bindings (renamed from findbinding).
89
90         * MenuBackend.C (binding): use kb_keymap::findbindings
91
92         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
93
94 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
95
96         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
97
98 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * paragraph.C (isWord): return true on insets that report
101         isLetter().
102
103         * text.C (getWord): use Paragraph::isWord to decide what is in a
104         word and what is not; fix bug 1609.
105
106 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
107
108         * tex-strings.C: add "none" to string_paperpackages[], fixes
109         off-by-one-error in the paperpackage selection.
110
111         * lyxlex.[Ch]:
112         * tex-strings.[Ch]: char const * string[n]
113         -> char const * const string[]
114
115 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
118         command, return early.
119
120 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * debug.h: add DEBUG to enum and fix size of ANY.
123
124         * debug.C: add support for Debug::DEBUG
125         (showTags): cast errorTags.level to unsigned int
126
127         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
128         (redoCurrentBuffer): ditto
129         (updateScrollbar): ditto
130         * cursor.C (dispatch): ditto
131         * text2.C (setLayout): ditto
132         (setFont): ditto
133         (updateCounters): ditto
134         (editXY): ditto
135         (deleteEmptyParagraphMechanism): ditto
136
137 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
138
139         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
140         annotations to cleanup the Makefile slightly.
141
142 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * lyxrc.C: do not set user_email to a default value but use empty
145         instead. The entry used to be translated, which does not work
146         since at the point where lyxrc is constructed there is no
147         translation service available
148
149         * messages.C (getLocaleDir): remove and use directly
150         lyx_localedir() instead
151
152 2004-06-02  Angus Leeming  <leeming@lyx.org>
153
154         Fix crash caused by dereferencing null pointer 'exportdata' in
155         OutputParams by creating a new ExportData variable on the heap,
156         storing it in a boost::shared_ptr.
157         The crash was triggered when generating an Instant Preview
158         of an external inset.
159
160         * Makefile.am: add outputparams.C
161
162         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
163         (c-tor): allocate memory to it.
164
165         * exporter.C (c-tor): associated changes.
166
167 2004-06-01  Angus Leeming  <leeming@lyx.org>
168
169         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
170         contains data before calling isInset(0). (Bug 1513.)
171
172 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
173
174         * exporter.C (checkOverwrite): new method
175         * exporter.C (copyFile): new method
176         * exporter.C (Export): copy referenced files to the document dir
177         * exporter.[Ch]: new class ExportedFile
178         * exporter.[Ch]: new class ExportData. Contains currently the
179         names of referenced external files
180         * outputparams.h: add exportdata member.
181
182 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
185         version.C-tmp
186
187 2004-05-19  Angus Leeming  <leeming@lyx.org>
188
189         * LaTeXFeatures.C:
190         * ToolbarBackend.C:
191         * bufferparams.C:
192         * lyxfunc.C: small changes due to the introduction of namespace
193         lyx::frontend and the moving of namespace biblio to lyx::biblio.
194
195 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * text3.C (dispatch): supress update when only moving the cursor
198         * cursor.C (selHandle): remove commented code
199
200 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
201
202         * paragraph.C (startTeXParParams): correct column count
203         * CutAndPaste.C (pasteSelection): remove const_cast
204         * output_docbook.C (docbookParagraphs): remove const_cast
205         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
206         const_cast and return ParagraphList::const_iterator
207         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
208         * output_plaintext.C (writeFileAscii): remove const_cast
209         * paragraph.[Ch] (simpleTeXOnePar): make const
210         * paragraph_funcs.C (outerPar): use const iterators
211         * paragraph_pimpl.C (validate): use const iterators
212         * text.C (setHeightOfRow): use const iterators
213
214 2004-05-17  Angus Leeming  <leeming@lyx.org>
215
216         * lfuns.h:
217         * LyXAction.C (init): new LFUN_INSET_REFRESH.
218
219         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
220         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
221         if the citation engine has changed.
222
223 2004-05-14  José Matos  <jamatos@lyx.org>
224
225         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
226         if the textclass does not provide it. Have it different for sgml and
227         xml.
228         support the language of document.
229         * output_docbook.C (docbookParagraphs):
230         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
231         first anchor as the id of the paragraph, remove special case code.
232         * sgml.C (escapeChar): escape only < & >.
233
234 2004-05-14  Angus Leeming  <leeming@lyx.org>
235
236         * bufferparams.h: move biblio::CiteEngine enum here to minimize
237         dependencies on src/frontends/controllers/biblio.h. Define a
238         CiteEngine_enum wrapper class to enable the enum to be forward
239         declared.
240
241 2004-05-12  Angus Leeming  <leeming@lyx.org>
242
243         * buffer.C: up LYX_FORMAT to 234.
244         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
245         use_numerical_citations with a single biblio::CiteEngine cite_engine
246         variable.
247         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
248
249 2004-05-13  José Matos  <jamatos@lyx.org>
250
251         * converter.h:
252         * converter.C (Converter, readFlags): add xml member.
253         * outputparams.h: add XML flavor.
254         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
255
256 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * lyxfunc.C (dispatch):
259         (getStatus): fix handling of LFUN_SEQUENCE
260
261 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * debug.C (showLevel): do not forget the end-of-line marker
264
265 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * kbmap.C (read): do not stop parsing a bind file when an error
268         occurs (bug 1575)
269
270 2004-04-29  Angus Leeming  <leeming@lyx.org>
271
272         * cursor.C:
273         * factory.C:
274         * pariterator.C:
275         * text2.C: wrap a bunch of #warning statements
276         inside #ifdef WITH_WARNINGS blocks.
277
278 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
279
280         * buffer.C: increment format to 233.
281
282 2004-04-28  Angus Leeming  <leeming@lyx.org>
283
284         * BufferView_pimpl.C:
285         * lyxfunc.C:
286         * text3.C:
287         s/updateToolbar()/updateToolbars()/
288         s/Toolbar.h/Toolbars.h/
289
290 2004-04-28  Angus Leeming  <leeming@lyx.org>
291
292         * BufferView.[Ch] (c-tor):
293         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
294         No longer passes these data to the WorkArea generator.
295
296 2004-04-28  Angus Leeming  <leeming@lyx.org>
297
298         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
299
300 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
301
302         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
303
304 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * output_latex.C (TeXEnvironment): make sure that there is a line
307         break before \end{foo} for the last paragraph of a document
308         (TeXOnePar): if the paragraph is at the end of the document (or
309         inset) and the language has to be reset, then make sure that the
310         line break is _before_ the language command, not after (fixes bug
311         1225); also make sure that the language reset command is the first
312         thing after the paragraph (to ensure proper nesting of
313         environments and thus fix bug 1404)
314
315 2004-04-21  John Levon  <levon@movementarian.org>
316
317         * ToolbarBackend.h:
318         * ToolbarBackend.C: make "name" be a programmatic name
319         and a gui_name field.
320
321         * lyxfunc.C: display the minibuffer on M-x
322
323 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
326         (bug 1526)
327
328 2004-04-19  Angus Leeming  <leeming@lyx.org>
329
330         * BufferView_pimpl.C (setBuffer): changed preview interface.
331
332         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
333         possible values.
334
335 2004-04-19  John Levon  <levon@movementarian.org>
336
337         * BufferView_pimpl.C:
338         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
339
340 2004-04-05  Angus Leeming  <leeming@lyx.org>
341
342         * text.C (redoParagraphs): add call to updateCounters(), thereby
343         fixing the missing "Figure #:" label from the caption of a
344         figure float.
345
346 2004-04-13  Angus Leeming  <leeming@lyx.org>
347
348         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
349         cursor is clicked out of an inset.
350
351 2004-04-13  Angus Leeming  <leeming@lyx.org>
352
353         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
354         than an InsetOld one.
355
356 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * format.[Ch]: add editor to Format
359         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
360         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
361
362 2004-04-08  André Pönitz  <poenitz@gmx.net>
363
364         * metricsinfo.h: remove PainterInfo::width member
365
366 2004-04-08  Angus Leeming  <leeming@lyx.org>
367
368         * lyx_sty.C (boldsymbol_def): modify so that it outputs
369         "\providecommand" rather than "\newcommand", thereby preventing
370         clashes with packages that define "\boldsymbol" themselves.
371         Eg, beamer.
372
373 2004-04-08  Angus Leeming  <leeming@lyx.org>
374
375         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
376         thereby squashing an unnecessary warning.
377
378 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
381         setBuffer()
382
383 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * BufferView.C (setCursor): call redoParagraph (some insets could
386         have been opened)
387         (putSelectionAt): remove the 'double update' trick
388
389         * BufferView_pimpl.C (fitCursor): call refreshPar
390         (workAreaDispatch): remove an uneeded update call
391         (dispatch): remove some manual update calls
392
393         * cursor.[Ch]: remove cached_y_, updatePos
394         (selHandle): set noUpdate when appropriate
395
396         * lyxfunc.C (dispatch): track if we need an update
397
398         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
399
400         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
401         (paintSelection): cheap optimization, do not call cursorX when not
402         needed
403         (paintPars): change signature
404         (refreshPar): add
405         (paintText): adjust
406         (paintTextInset): adjust
407
408         * text.C: adjust
409
410 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * lengthcommon.C: compilation fix: remove explicit array size from
413         unit_name[] and friends
414
415 2004-04-05  Angus Leeming  <leeming@lyx.org>
416
417         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
418
419         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
420         present only for the preferences dialog.
421         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
422
423 2004-04-05  Angus Leeming  <leeming@lyx.org>
424
425         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
426         to enable the frontends to export changes to lyxrc correctly.
427
428         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
429
430 2004-04-07  André Pönitz  <poenitz@gmx.net>
431
432         * cursor.[Ch] (selClear, adjust): remove math
433
434         * cursor_slice.C: more agressive assert
435
436         * lyxfunc.C:
437         * BufferView_pimpl.C: rework mouse event dispatch
438
439         * dociterator.C:
440         * paragraph.C:
441         * text2.C:
442         * text3.C: adjust
443
444 2004-04-05  André Pönitz  <poenitz@gmx.net>
445
446         * cursor.[Ch] (valign, halign...): remove unneeded functions
447
448 2004-04-05  Angus Leeming  <leeming@lyx.org>
449
450         * lyxlength.[Ch] (unit_name et al.): const-correct.
451
452 2004-04-05  Angus Leeming  <leeming@lyx.org>
453
454         * BufferView_pimpl.C:
455         * buffer.C:
456         * counters.C:
457         * cursor.C:
458         * lyxfunc.C
459         * paragraph.C:
460         * pariterator.C:
461         * text.C:
462         * text2.C:
463         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
464
465 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * text3.C (getStatus): add LFUN_BEGINNINGBUF
468
469 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
470
471         * lyxfind.C: add a couple of inTexted() tests + other small fixes
472         * BufferView_pimpl.[Ch] (getStatus)
473         * BufferView.[Ch] (getStatus): add
474         * lyxfunc.C (getStatus): move lfuns handled in
475         BufferView::dispatch to te function above
476         * Cursor.C (setSelection): set selection() = true
477
478 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
481
482 2004-03-31  Angus Leeming  <leeming@lyx.org>
483
484         * lyxfunc.C (dispatch): Fall through to the generic
485         Dialogs::show("preamble").
486
487 2004-03-31  Angus Leeming  <leeming@lyx.org>
488
489         * lyxfunc.C (dispatch): Fall through to the generic
490         Dialogs::show("spellchecker").
491
492 2004-03-31  Angus Leeming  <leeming@lyx.org>
493
494         * lyxfunc.C (getStatus, dispatch): changed invocation of the
495         preferences dialog.
496
497 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * BufferView.C
500         * cursor.[Ch]
501         * dociterator.[Ch]:
502         * insetiterator.[Ch]:
503         * lyxfind.C:
504         * lyxfunc.C:
505         * pariterator.[Ch]:
506         * text2.C:
507         * undo.[Ch]: s/DocumentIterator/DocIterator/g
508
509 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * BufferView.C (setCursor, putSelectionAt): call edit to open the
512         insets where we are putting the cursor.
513
514 2004-03-31  Angus Leeming  <leeming@lyx.org>
515
516         * lfuns.h:
517         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
518
519         * lyxrc.[Ch] (read, write): overloaded member functions taking
520         a std::[io]stream arguments.
521
522         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
523
524 2004-03-31  Angus Leeming  <leeming@lyx.org>
525
526         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
527         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
528
529         * lyxtextclass.C (load): if the text class couldn't be loaded, then
530         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
531
532 2004-03-31  Angus Leeming  <leeming@lyx.org>
533
534         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
535         the LFUN_ALL_INSETS_TOGGLE code.
536
537 2004-03-30  Angus Leeming  <leeming@lyx.org>
538
539         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
540         has died. Fall through to the generic Dialogs::show("document").
541
542 2004-03-30  Angus Leeming  <leeming@lyx.org>
543
544         * lfuns.h:
545         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
546         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
547
548         * lyxfunc.C (getStatus, dispatch): define the actions for these
549         lfuns. Little more than a cut and pste job from ControlDocument.C
550
551         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
552
553 2004-03-30  Angus Leeming  <leeming@lyx.org>
554
555         * lfuns.h:
556         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
557         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
558
559         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
560         open/closed state of ollapsable insets. Usage:
561
562         all-inset-toggle <state> <name>, where
563         <state> == "open" || "closed" || "toggle" and
564         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
565
566         * lyxtext.h, text2.C (toggleInset): removed.
567
568         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
569         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
570         now passes LFUN_INSET_TOGGLE to the found inset.
571
572         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
573         is now invoked as "all-insets-toggle toggle branch".
574
575 2004-03-30  Angus Leeming  <leeming@lyx.org>
576
577         * dociterator.C:
578         * insetiterator.C:
579         * pariterator.[Ch]: added/corrected header blurb.
580
581 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * dociterator.[Ch]: add an inset_ member
584         (backwardPos): implemented
585         (backwardPos, forwardPos): use inset_ when the stack is empty.
586         (doc_iterator_begin, doc_iterator_end): implemented
587         * pariterator.[Ch]: adjust, add begin, end
588         * insetiterator.[Ch]: adjust, add begin, end
589         * cursor.C:
590         * document.C:
591         * BufferView.C:
592         * BufferView_pimpl.C:
593         * CutAndPaste.C: adjust
594
595 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
596
597         * buffer.C: increment file format to 232.
598         * LaTeXFeatures.C: add bibtopic package.
599         * bufferparams.[Ch]: param \use_bibtopic.
600
601         * lyxrc.[Ch]: add lyxrc bibtex_command
602         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
603
604         * buffer.C: increment file format to 231.
605
606 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * dociterator.C: implement forwardPar
609         * iterators.[Ch]: remove, replaced by
610         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
611         * BufferView.C:
612         * BufferView_pimpl.C:
613         * CutAndPaste.C:
614         * buffer.C:
615         * bufferview_funcs.C:
616         * cursor.C:
617         * lyxfind.C
618         * lyxfunc.C
619         * paragraph_funcs.C
620         * toc.C:
621         * Makefile.am: adjust
622
623 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
624
625         * CutAndPaste.C (pasteSelection): fix 2 crashes
626         (eraseSelection): fix a crash
627         * paragraph_funcs.C: remove a warning
628
629 2004-03-28  Angus Leeming  <leeming@lyx.org>
630
631         * lfuns.h:
632         * LyXAction.C (init): new LFUN_PRINT.
633
634         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
635
636 2004-03-27  Angus Leeming  <leeming@lyx.org>
637
638         * lfuns.h:
639         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
640
641         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
642
643 2004-03-27  Angus Leeming  <leeming@lyx.org>
644
645         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
646         insetlist always contains non-null pointers to insets.
647
648 2004-03-26  Angus Leeming  <leeming@lyx.org>
649
650         * src/BufferView_pimpl.C:
651         * src/CutAndPaste.C:
652         * src/buffer.C:
653         * src/iterators.C:
654         * src/output_plaintext.C:
655         * src/outputparams.h:
656         * src/paragraph_funcs.C:
657         * src/rowpainter.C:
658         * src/text.C:
659         * src/text2.C:
660         * src/frontends/controllers/ControlErrorList.C:
661         * src/frontends/gtk/FileDialogPrivate.C:
662         * src/frontends/gtk/GPainter.C:
663         * src/frontends/gtk/GToolbar.C:
664         * src/frontends/qt2/QRef.C:
665         * src/mathed/math_scriptinset.C: squash compiler warnings.
666
667 2004-03-26  Angus Leeming  <leeming@lyx.org>
668
669         * ispell.C (LaunchIspell::start):
670         * lyx_cb.C (AutoSaveBuffer::start):
671         invoke run(DontWait) rather than runNonBlocking().
672
673 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
676
677 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * kbsequence.C (print): adjust
680
681         * kbmap.C (printKeySym): rename and change signature
682         (printKey): use LyXKeySym::print()
683
684 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
685
686         * undo.C: add using std::advance to compile for stlport
687
688 2004-03-24  Angus Leeming  <leeming@lyx.org>
689
690         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
691         it leads to a crash when no buffer is present.
692
693 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694             Martin Vermeer  <martin.vermeer@hut.fi>
695
696         * lyxfunc.C (dispatch):
697         * bufferparams.C (readToken): use the new LColor::setColor
698
699         * LColor.[Ch] (setColor): new version that takes two strings as
700         argument and creates a new color entry if necessary
701
702 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
703
704         * buffer.C (makeLaTeXFile): if the main latex file that is
705         processed is usually a subdocument of some master, then pretend
706         for a while that it is actually the master
707
708 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
709
710         * buffer.C (getLabelList):
711         (getBibkeyList): use getMasterBuffer()
712         (getMasterBuffer): new method. Returns the main document in the
713         case where one is using included documents.
714
715 2004-03-25  André Pönitz  <poenitz@gmx.net>
716
717         * Makefile.am:
718         * iterators.[Ch]:
719         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
720
721         * ParagraphList_fwd.h: change ParagraphList to a std::vector
722
723         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
724         text*.C over here. Rename namespace CutAndPaste to lyx::cap
725
726         * ParameterStruct.h: merge with ParagraphParameters
727
728         * lyxtext.h: remove LyXText::parOffset() and getPar()
729
730         * text3.C: Remove all 'manual' update calls. We do now one per user
731         interaction which is completely sufficient.
732
733         * Bidi.C:
734         * BufferView.[Ch]:
735         * BufferView_pimpl.C:
736         * FontIterator.[Ch]:
737         * MenuBackend.C:
738         * ParagraphParameters.[Ch]:
739         * buffer.C:
740         * buffer.h:
741         * bufferlist.C:
742         * cursor.[Ch]:
743         * cursor_slice.[Ch]:
744         * dociterator.[Ch]:
745         * errorlist.[Ch]:
746         * factory.C:
747         * lfuns.h:
748         * lyxfind.C:
749         * lyxfunc.C:
750         * output_docbook.[Ch]:
751         * output_latex.[Ch]:
752         * output_linuxdoc.[Ch]:
753         * output_plaintext.[Ch]:
754         * paragraph.[Ch]:
755         * paragraph_funcs.[Ch]:
756         * paragraph_pimpl.[Ch]:
757         * rowpainter.C:
758         * tabular.[Ch]:
759         * text.C:
760         * text2.C:
761         * toc.C:
762         * undo.[Ch]: adjust
763
764         * frontends/controllers/ControlDocument.C:
765         * frontends/controllers/ControlErrorList.C:
766         * frontends/controllers/ControlSpellchecker.C:
767         * insets/inset.C:
768         * insets/inset.h:
769         * insets/insetbase.h:
770         * insets/insetbibitem.C:
771         * insets/insetbox.C:
772         * insets/insetbranch.C:
773         * insets/insetcaption.C:
774         * insets/insetcharstyle.C:
775         * insets/insetcharstyle.h:
776         * insets/insetcollapsable.C:
777         * insets/insetcollapsable.h:
778         * insets/insetert.C:
779         * insets/insetfloat.C:
780         * insets/insetfoot.C:
781         * insets/insetmarginal.C:
782         * insets/insetnote.C:
783         * insets/insetoptarg.C:
784         * insets/insettabular.C:
785         * insets/insettext.C:
786         * insets/insettext.h:
787         * insets/insetwrap.C:
788         * mathed/math_mboxinset.C:
789         * mathed/math_nestinset.C:
790         * mathed/math_scriptinset.C:
791         * mathed/math_scriptinset.h:
792         * support/types.h:
793
794 2004-03-24  Angus Leeming  <leeming@lyx.org>
795
796         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
797         deal with any child processes that have finished but are waiting to
798         communicate this fact to the rest of LyX.
799
800 2004-03-24  Angus Leeming  <leeming@lyx.org>
801
802         64-bit compile fixes.
803
804         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
805         (c-tor): pass lyx::pos_types rather than ints.
806
807         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
808         lyx::pos_type.
809
810         * text.C (Delete): compile fix.
811         (getPar): ensure that function declaration is the same as that in
812         the header file.
813
814 2004-03-23  Angus Leeming  <leeming@lyx.org>
815
816         * ispell.C (LaunchIspell):
817         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
818         a boost::shred_ptr rather than a std::auto_ptr.
819
820 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * lyxfunc.C (getStatus): handle read-only buffers correctly;
823         handle LFUN_FILE_INSERT_*
824
825         * lyxrc.C (setDefaults, getDescription, output, read):
826         * lyxrc.h: remove ps_command
827
828 2004-03-22  Angus Leeming  <leeming@lyx.org>
829
830         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
831         Ensure that error_handler is processed once only and that all data
832         is saved before attempting to output any warning messages.
833
834         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
835
836 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
837
838         * tabular.C (TeXRow): crash fix (from Kayvan and André)
839
840 2004-03-19  André Pönitz  <poenitz@gmx.net>
841
842         * cursor.[Ch] (reset): take main text inset as argument
843
844         * BufferView: adjust
845         * BufferView_pimpl.C: adjust
846
847         * paragraph.[Ch]: fix completely broken operator=()
848
849 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
850
851         * LColor.C (getFromLyXName): make sure that the color name is used
852         as lowercase.
853
854 2004-03-17  Angus Leeming  <leeming@lyx.org>
855
856         * lfuns.h:
857         * LyXAction.C (init): remove LFUN_FORKS_KILL.
858
859         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
860         dialog and to kill a forked process.
861
862 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * text2.C (setCursorFromCoordinates): fix font problem
865
866 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
867
868         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
869         bogus "rebuild cursor" code
870
871 2004-03-11  André Pönitz  <poenitz@gmx.net>
872
873         * buffer.[Ch]: use InsetText instead of LyXText as container for
874         the main lyx text.
875
876         * dociterator.[Ch]: drop the BufferView * member which is not needed
877         anymore after the change to buffer.C
878
879         * paragraph_funcs.C:
880         * text.C:
881         * text2.C:
882         * BufferView.[Ch]:
883         * BufferView_pimpl.[Ch]:
884         * cursor.[Ch]:
885         * cursor_slice.[Ch]: adjust
886
887         * text3.C: fix bug in mathDispatch
888
889 2004-03-08  André Pönitz  <poenitz@gmx.net>
890
891         * undo.[Ch]: use 'StableDocumentIterator' as base for
892         the Undo struct.
893
894 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
895
896         * LaTeXFeatures.C:
897         * bufferparams.[Ch]: add jurabib support and param.
898
899         * LaTeX.C: add FIXME/comment.
900
901 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
902
903         * buffer.C: increment file format to 230.
904
905 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * cursor.C (dispatch): avoid infinite loops
908
909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * rowpainter.C (paintSelection): fix x coordinates
912
913 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * text.C (rowBreakPoint): fix breaking before displayed insets
916
917 2004-03-01  André Pönitz  <poenitz@gmx.net>
918
919         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
920
921         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
922
923         * Makefile.am:
924         * BufferView.C:
925         * BufferView_pimpl.C:
926         * buffer.C:
927         * lyxfind.C:
928         * lyxfunc.C:
929         * text.C:
930         * text2.C:
931         * text3.C: adjust
932
933 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * lyxtext.h:
936         * text.C:
937         * text2.C:
938         * rowpainter.C:
939         * BufferView_pimpl.C: rename textwidth -> maxwidth,
940         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
941
942 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
943
944         * Bidi.[Ch] (computeTables): const correctness
945         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
946         fill_hfill, fill_label_hfill and x from Row
947         * lyxtext.h: prepareToPrint returns a RowMetrics
948         * rowPainter.C: adjust
949         * text.C (prepareToPrint): use width, not textWidth. adjust
950         (redoParagraphInternal, cursorX): adjust
951         * text2.C (getColumnNearX): adjust
952         (init): put a default value to the top LyXText::width
953
954 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
957
958 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * lyxtext.h: add FontIterator class
961
962         * text.C (FontIterator, operator*, operator->, operator++): add
963         (rowBreakPoint, setRowWidth): adjust (fixing a
964         rebreaking bug)
965
966 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * BufferView_pimpl.C (workAreaDispatch): allow also
969         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
970
971 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
972
973         * text.C (rowBreakPoint): fix a bug showing with very large insets
974
975 2004-02-25  André Pönitz  <poenitz@gmx.net>
976
977         * text3.C:
978         * cursor.[Ch]: move some mathed specific code to mathed
979
980 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
983         use_tempdir in preferences
984         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
985         tempfile creation
986         * lyx_main.C: ensure that tempdir is valid
987         * lyxlex.h: correct typo
988         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
989         * paragraph.[Ch] (isMultiLingual): make const
990         * cursor.[Ch] (openable): make const
991
992 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
993
994         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
995
996 2004-02-20  André Pönitz  <poenitz@gmx.net>
997
998         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
999
1000         * cursor.[Ch]: prepare for localized getStatus()
1001
1002         * lyxtext.h:
1003         * tabular.C:
1004         * text.C:
1005         * text2.C:
1006         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1007
1008 2004-02-20  André Pönitz  <poenitz@gmx.net>
1009
1010         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1011
1012 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * text2.C (setCursorFromCoordinates): switch to absolute coords
1015         (cursorUp): adjust
1016         (cursorDown): adjust
1017         * text3.C (dispatch): adjust
1018
1019 2004-02-16  André Pönitz  <poenitz@gmx.net>
1020
1021         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1022           insets/ChangeLog)
1023
1024         * cursor_slice.[Ch]: remove unneeded acessor function
1025
1026         * lyxtext.h: rename rtl() to isRTL()
1027
1028         * rowpainter.C:
1029         * tabular.C:
1030         * text.C:
1031         * text2.C:
1032         * text3.C: adjust
1033
1034 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * rowpainter.C (paintSelection): coord fix
1037
1038 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039
1040         * Spacing.C: compile fix
1041
1042 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * cursor.C (dispatch): restore current_ before returning
1045
1046 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * text2.C (cursorUp, cursorDown): fix coords
1049         (moveUp): fix crash
1050
1051 2004-02-12  André Pönitz  <poenitz@gmx.net>
1052
1053         * lyxtext.h:
1054         * text.C:
1055         * text2.C:
1056         * text3.C: add LCursor & parameter to most cursor movement functions
1057           remove usage of LyXText::cursorRow() and cursorPar()
1058
1059         * cursor.[Ch]: add textRow() needed members
1060
1061         * BufferView.C:
1062         * BufferView_pimpl.C:
1063         * paragraph.[Ch]:
1064         * BufferView.C:
1065         * BufferView_pimpl.C: adjust
1066
1067 2004-02-11  André Pönitz  <poenitz@gmx.net>
1068
1069         * lyxfunc.C:
1070         * BufferView.[Ch]:
1071         * BufferView_pimpl.C: shift undo/redo handling
1072
1073         * cursor.[Ch]: fix mathed crash
1074
1075         * lyxfind.C:
1076         * lyxtext.h: move selectionAsText to LCursor
1077
1078         * output_latex.C:
1079         * paragraph.C:
1080         * text.C:
1081         * text2.C:
1082         * text3.C: adjust
1083
1084         * rowpainter.C: fix excessive drawing
1085
1086 2004-02-06  André Pönitz  <poenitz@gmx.net>
1087
1088         * BufferView.[Ch]:
1089         * BufferView_pimpl.[Ch]:
1090         * text3.C: move some text specific LFUN handling
1091
1092 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * text3.C (checkInsetHit): adjust coords
1095         * text2.C (getColumnNearX): adjust coords
1096         (edit): adjust coords
1097         * text.C (getRowNearY): add two asserts
1098
1099 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * converter.C:
1102         * format.C: add using std::distance to compile on gcc 2.95/stlport
1103
1104 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1107
1108 2004-02-04  André Pönitz  <poenitz@gmx.net>
1109
1110         * BufferView.[Ch] (insertInset):
1111         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1112
1113         * text2.C:
1114         * text3.C: adjust
1115
1116 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1117
1118         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1119         on the default clause of the switch
1120         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1121         wasn't catched by LCursor::dispatch
1122
1123 2004-02-03  André Pönitz  <poenitz@gmx.net>
1124
1125         * BufferView.C:
1126         * cursor.[Ch]: some additional asserts
1127
1128         * undo.[Ch]: remove LyXText dependency in interface
1129
1130         * lyxfunc.C: adjust
1131
1132         * lyxtext.h (firstPar, lastPar): remove dead functions
1133
1134         * text.C:
1135         * text2.C:
1136         * text3.C:
1137         * paragraph.[Ch]: adjust
1138
1139 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1140
1141         * lyxfind.C (find): fix argument order in call to ::find
1142
1143 2004-02-02  André Pönitz  <poenitz@gmx.net>
1144
1145         * cursor.[Ch]: remove direct access to anchor
1146
1147         * text.C: remove findText() hack
1148
1149 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1150
1151         * iterators.[Ch] (lockPath): remove in favour of...
1152         * BufferView.[Ch] (setCursor): this addition
1153         * BufferView.C (putSelectionAt): adjust
1154         * undo.C (performUndoOrRedo): adjust
1155         * lyxfunc.C (dispatch): adjust
1156
1157 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * iterators.C (lockPath): add a missing slice
1160         * undo.C (performUndoOrRedo): remove redundant positioning code
1161
1162 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1163
1164         * vc-backend.C (scanMaster): ";" -> ';'
1165
1166 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1167
1168         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1169         std::binary_function
1170
1171         * lyxtextclass.C (compare_name): rename to...
1172         (LayoutNamesEqual): ...this
1173
1174         * lyxlex_pimpl.C (compare_tags): inherit from
1175         std::binary_function, put back into anon namespace
1176
1177         * lyxfind.C (MatchString): inherig from std::binary_function
1178         (findChange): use empty() istead of !size()
1179
1180         * format.C (FormatNamesEqual): new functor
1181         (getFormat): use it
1182         (getNumber): use it
1183         (add): use it
1184         (erase): use it
1185         (setViewer): use it
1186
1187         * converter.C (compare_Converter): rename to...
1188         (ConverterEqual): ...this, and fixup a bit.
1189         (getConverter): use it, and make function const
1190         (getNumber): use it, and make function const
1191         (add): use it
1192         (erase): use it:
1193
1194         * bufferlist.C: add using boost::bind
1195
1196         * MenuBackend.C (MenuNamesEqual): new functor
1197         (hasMenu): use it, and make function const
1198         (hasSubmenu): use nested bind to get rid of compare_memfun.
1199
1200 2004-01-30  André Pönitz  <poenitz@gmx.net>
1201
1202         * BufferView_pimpl.C:
1203         * cursor.C:
1204         * cursor.h:
1205         * cursor_slice.[Ch]:
1206         * lyxfunc.C:
1207         * lyxtext.h:
1208         * paragraph_funcs.C:
1209         * paragraph_funcs.h:
1210         * rowpainter.C:
1211         * text.C:
1212         * text2.C:
1213         * text3.C: move some of the edit(x,y) handling to the insets
1214         some coordinate changes.
1215
1216 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * text.C: add using statements for std::advance and std::distance
1219
1220         * paragraph.C: add using statement for std::distance
1221
1222         * lyxfind.C: add using statement for std::advance
1223
1224         * cursor.C (region): remove std:: from swap
1225         (openable): use nucleus in stead of operator->
1226
1227         * BufferView.C: add using statements for std::distance and std::swap
1228
1229 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1230
1231         * iterators.C: Remove the pimple, move the needed structures to
1232         the header file. Create accessor for the positions stack.
1233         (asPosIterator): remove function
1234
1235         * PosIterator.C (PosIterator): move constructors to top of file
1236         (PosIterator): reimplement the constructor taking a ParIterator in
1237         terms of setFrom.
1238         (setFrom): new function
1239         (operator!=): inline it
1240
1241 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1242
1243         * lyxfind.C (replaceAll): use std::advance
1244
1245         * iterators.h: inherit from std::iterator.
1246
1247         * PosIterator.C (advance, distance): remove
1248         * PosIterator.h: interit from std::iterator.
1249
1250 2004-01-26  André Pönitz  <poenitz@gmx.net>
1251
1252         * BufferView.[Ch]:
1253         * BufferView_pimpl.[Ch]:
1254         * InsetList.[Ch]:
1255         * PosIterator.[Ch]:
1256         * buffer.h:
1257         * bufferview_funcs.C:
1258         * cursor.[Ch]:
1259         * cursor_slice.h:
1260         * factory.[Ch]:
1261         * iterators.[Ch]:
1262         * lyxfind.C:
1263         * lyxfunc.C:
1264         * lyxtext.h:
1265         * output_docbook.C:
1266         * output_latex.C:
1267         * output_linuxdoc.C:
1268         * output_plaintext.C:
1269         * paragraph.[Ch]:
1270         * paragraph_funcs.[Ch]:
1271         * paragraph_pimpl.[Ch]:
1272         * rowpainter.C:
1273         * tabular.C:
1274         * tabular.h:
1275         * text.C:
1276         * text2.C:
1277         * text3.C: more IU:  dumps most of the rest of the mathcursor
1278     implementation into cursor.[Ch]; "globalize" a bit of it.
1279
1280 2004-01-25  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1283
1284 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * LaTeXFeatures.h: add nice_ and nice() const
1287         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1288
1289 2004-01-20  André Pönitz  <poenitz@gmx.net>
1290
1291         * BufferView.[Ch]:
1292         * BufferView_pimpl.C:
1293         * PosIterator.C:
1294         * bufferview_funcs.C:
1295         * cursor.[Ch]:
1296         * cursor_slice.[Ch]:
1297         * factory.C:
1298         * iterators.C:
1299         * lyx_cb.C:
1300         * lyxfind.C:
1301         * lyxfunc.C:
1302         * lyxtext.h:
1303         * rowpainter.C:
1304         * text.C:
1305         * text2.C:
1306         * text3.C:
1307         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1308           LCursor and mathcursor parts to LCursor and InsetBase.
1309
1310 2004-01-15  André Pönitz  <poenitz@gmx.net>
1311
1312         * cursor_slice.[Ch]: add a few covienience functions
1313
1314         * funcrequest.[Ch]: remove BufferView * member
1315
1316         * BufferView_pimpl.C:
1317         * cursor.C:
1318         * factory.[Ch]:
1319         * lyxfind.[Ch]:
1320         * lyxfunc.C:
1321         * lyxtext.h:
1322         * text3.C:
1323         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1324
1325 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1328         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1329
1330 2004-01-13  André Pönitz  <poenitz@gmx.net>
1331
1332         * textcursor.[Ch]:
1333         * lyxtext.h: hide cursor and selection anchor behind accessor function
1334
1335         * BufferView.C:
1336         * BufferView_pimpl.[Ch]:
1337         * PosIterator.C:
1338         * bufferview_funcs.C:
1339         * cursor.h:
1340         * lyxfind.C:
1341         * lyxfunc.C:
1342         * text.C:
1343         * text2.C:
1344         * text3.C:
1345         * undo.C: adjust
1346
1347         * cursor.h:
1348         * cursor_slice.[Ch]: some integer type changes for inset unification
1349
1350         * lyxcursor.[hC]: remove, it's CursorSlice now.
1351
1352         * Makefile.am:
1353         * BufferView_pimpl.[Ch]:
1354         * bufferview_funcs.C:
1355         * cursor_slice.C:
1356         * lyxtext.h:
1357         * text.C:
1358         * text2.C:
1359         * text3.C:
1360         * textcursor.[Ch]: adjust
1361
1362 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1363
1364         * text2.C (undoSpan): add and use
1365         * text.C (breakParagraph): use undoSpan (fix bug 578)
1366         * lyxtext.h: adjust
1367
1368 2004-01-08  Angus Leeming  <leeming@lyx.org>
1369
1370         * BufferView_pimpl.C (MenuInsertLyXFile):
1371         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1372         * lyxfunc.C (menuNew, open, doImport):
1373         FileFilterList change to the FileDialog open and save functions.
1374
1375 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1376
1377         * ShareContainer.h: make isEqual and isUnique adaptable
1378
1379         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1380
1381 2004-01-07  Angus Leeming  <leeming@lyx.org>
1382
1383         * LyXAction.C:
1384         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1385
1386         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1387
1388         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1389         functions replacing find, replace and replaceAll.
1390
1391         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1392         LFUN_WORDFIND(FORWARD|BACKWARD).
1393
1394 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text.C (breakParagraph): remove an outdated #warning
1397
1398 2004-01-07  André Pönitz  <poenitz@gmx.net>
1399
1400         * lyxfind.C: somewhat clearer logic
1401
1402         * text.C: prevent crash in cursorX on unitialized row cache
1403
1404 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * lyxcursor.[Ch] (operator>): add
1407         * textcursor.C (selStart, selEnd): use std::min and std::max
1408
1409 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1410
1411         * Chktex.C: include boost/format.hpp
1412
1413 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1414
1415         * InsetList.C: replace functor MathcIt with adaptable functor
1416         InsetTablePosLess
1417         (insetIterator): modify accordingly
1418
1419         * BranchList.h: move the BranchNamesEqual functor here from...
1420         * BranchList.C: ... to here
1421
1422         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1423         SameName and match.
1424         (add): replace a finding loop with std::find_if.
1425
1426 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1427
1428         * output_docbook.C: moving LatexParam functionality into
1429         .layout files
1430
1431 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1432
1433         * buffer.C: increment format to 229.
1434
1435 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1436
1437         * LaTeXFeatures.C:
1438         * lyx_sty.[Ch]: remove minipageindent_def
1439
1440         * LyXAction.C:
1441         * factory.C:
1442         * lfuns.h:
1443         * lyxfunc.C:
1444         * text3.C: remove LFUN_INSET_MINIPAGE
1445
1446 2003-12-28  Angus Leeming  <leeming@lyx.org>
1447
1448         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1449
1450 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * text2.C (setParagraph): fix off-by-one crash
1453
1454 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * output_docbook.C: header stuff for AGU
1457
1458 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * text2.C (redoCursor): remove
1461         * text.C:
1462         * text3.C:
1463         * BufferView_pimpl.C: remove calls to redoCursor and
1464         setCursor(cursor.par(), cursor.pos()) all around
1465
1466 2003-12-15  Angus Leeming  <leeming@lyx.org>
1467
1468         * buffer.C: up the format to 228.
1469
1470 2003-12-15  André Pönitz  <poenitz@gmx.net>
1471
1472         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1473         slices
1474
1475         * Makefile.am:
1476
1477         * BufferView_pimpl.C:
1478         * cursor.[Ch]:
1479         * lyxcursor.[Ch]:
1480         * rowpainter.[Ch]:
1481         * lyxtext.h:
1482         * text.C:
1483         * text2.C:
1484         * text3.C: adjust
1485
1486 2003-12-15  Angus Leeming  <leeming@lyx.org>
1487
1488         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1489         than getFromGUIName to manipulate the color.
1490
1491 2003-12-14  Angus Leeming  <leeming@lyx.org>
1492
1493         * BranchList.[Ch]: minimize the API.
1494         (Branch::getBranch, getColor): now return a 'const &'.
1495         (Branch::setSelected) now returns a bool set to true if the
1496         selection status changes.
1497         (BranchList::clear, size, getColor, setColor, setSelected,
1498         allBranches, allSelected, separator): removed.
1499         (BranchList::find): new functions, returning the Branch with
1500         the given name.
1501         (BranchList::add, remove): return a bool indicating that
1502         the operation was successful.
1503
1504         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1505         new InsetBranch::isBranchSlected member function.
1506
1507         * LColor.[Ch]: mimimize the API.
1508         (fill): renamed as addColor and made private.
1509         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1510         versions of these functions taking a string arg have been removed.
1511
1512         * bufferparams.C (readToken):
1513         * lyxfunc.C (dispatch):
1514         * lyxrc.C (read): changes due to the altered BranchList and
1515         LColor APIs.
1516
1517         * factory.C (createInset, readInset): changes due to altered
1518         InsetBranch c-tor.
1519
1520 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * factory.C:
1523         * lyxfunc.C: remove insetminipage. "minipage-insert"
1524         now produces a frameless minipage box inset.
1525
1526 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * textcursor.[Ch] (selStart,selEnd): add new methods
1529         remove selection::start, end, use LyXCursor::operator<
1530         * lyxcursor.[Ch] (operator<): add
1531         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1532         * BufferView.[Ch] (unsetXSel): add
1533         * text2.C (clearSelection): use unsetXSel,adjust
1534         * text.C: adjust
1535         * text3.C: adjust
1536         * rowpainter.C: adjust
1537         * bufferview_funcs.C (put_selection_at): adjust
1538
1539 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * BufferView_pimpl.C: small coord. correction
1542
1543 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1544
1545         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1546         dragging over the splash screen.
1547
1548 2003-12-11  Angus Leeming  <leeming@lyx.org>
1549
1550         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1551         as it is now handled in LyXText::dispatch.
1552
1553         * text3.C (doInsertInset): remove a level of nesting.
1554
1555 2003-12-11  Angus Leeming  <leeming@lyx.org>
1556
1557         * factory.C (createInset): changes due to the changed interface to
1558         InsetCommandMailer::string2params.
1559
1560 2003-12-10  Angus Leeming  <leeming@lyx.org>
1561
1562         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1563         'dialog-show-new-inset <inset name>'
1564
1565 2003-12-10  Angus Leeming  <leeming@lyx.org>
1566
1567         * buffer.C: up the format to 227.
1568
1569         * factory.C: the box inset is now identified simply by 'Box'.
1570
1571 2003-12-10  Angus Leeming  <leeming@lyx.org>
1572
1573         * buffer.C: up the format to 226.
1574
1575         * factory.C: the note inset is now identified simply by 'Note'.
1576
1577 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1578
1579         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1580         when a pit is enough. Standarize a couple of loops.
1581
1582 2003-12-05  Angus Leeming  <leeming@lyx.org>
1583
1584         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1585         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1586         data to the re-worked "log" dialog.
1587
1588 2003-12-03  André Pönitz  <poenitz@gmx.net>
1589
1590         * PosIterator.C:
1591         * iterators.C:
1592         * lyxtext.h:
1593         * output_latex.C:
1594         * paragraph_funcs.C:
1595         * text.C:
1596         * text2.C: use Inset::getText instead of Inset::getParagraph
1597
1598 2003-12-03  André Pönitz  <poenitz@gmx.net>
1599
1600         * buffer.[Ch]:
1601         * lyxtext.h:
1602         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1603         InsetText::read() as LyXText::read()
1604
1605 2003-12-02  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1608         type. Add a comment in the implementation that the function uses
1609         the stream's bad() function rather than fail() as the std::streams
1610         would do.
1611
1612 2003-12-02  André Pönitz  <poenitz@gmx.net>
1613
1614         * lyxlex.[Ch]: make interface more similar to std::stream
1615
1616         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1617
1618 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1619
1620         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1621
1622 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1623
1624         * vspace.[Ch]: remove VSpace::NONE
1625
1626 2003-12-01  André Pönitz  <poenitz@gmx.net>
1627
1628         * buffer.[Ch]:
1629         * lyxtext.h: move ParagraphList member to LyXText
1630         rename LyXText::ownerParagraphs to LyXText::paragraph
1631
1632         * CutAndPaste.C:
1633         * bufferview_funcs.C:
1634         * iterators.[Ch]:
1635         * lyx_cb.C:
1636         * paragraph.C:
1637         * rowpainter.C:
1638         * tabular.C:
1639         * text.C:
1640         * text2.C:
1641         * text3.C: adjust
1642
1643         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1644
1645         * undo.C: fix cursor positioning
1646
1647 2003-12-01  John Levon  <levon@movementarian.org>
1648
1649         * BufferView_pimpl.C: fix a crash on exit with
1650         a buffer open
1651
1652 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1653
1654         * BranchList.C: fix setSelected() method.
1655
1656 2003-11-28  André Pönitz  <poenitz@gmx.net>
1657
1658         * ParagraphParameters.[Ch]:
1659         * ParameterStruct.h: remove space above/below from Paragraph to
1660          InsetVSpace
1661
1662         * BufferView_pimpl.C:
1663         * factory.C:
1664         * lyxfunc.C:
1665         * lyxtext.h:
1666         * output_latex.C:
1667         * paragraph.C:
1668         * paragraph_funcs.C:
1669         * rowpainter.[Ch]:
1670         * text.C:
1671         * text2.C:
1672         * text3.C: adjust
1673
1674 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1675
1676         * factory.C: Syntax change for CharStyles
1677
1678 2003-11-28  André Pönitz  <poenitz@gmx.net>
1679
1680         * BufferView.[Ch]:
1681         * BufferView.[Ch]:
1682         * buffer.[Ch]:
1683         * buffer.[Ch]: move LyXText member
1684
1685 2003-11-28  André Pönitz  <poenitz@gmx.net>
1686
1687         * BufferView.[Ch]: make LyXText * text a private member
1688
1689         * BufferView_pimpl.C:
1690         * cursor.C:
1691         * iterators.C:
1692         * lyx_cb.C:
1693         * lyxfind.C:
1694         * lyxtext.h:
1695         * rowpainter.[Ch]:
1696         * text.C:
1697         * text2.C:
1698         * undo.C: adjust
1699
1700         * output_plaintext.C: cleanup
1701
1702 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1703
1704         * buffer.C:
1705         * lyxtextclass.[Ch]: parametrize SGML document header
1706
1707 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1708
1709         * converter.[Ch]:
1710         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1711         getFlavor().
1712
1713 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1714
1715         * text2.C (setFont): rework using PosIterator (no more recursive)
1716         (setCharFont): no more needed
1717         (setLayout): no more selection cursors fiddling (done by redoCursor)
1718         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1719         destroy remaining ones)
1720
1721 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1722
1723         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1724         * lyxtext.h: ditto
1725         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1726         selection cursors
1727         * lyxfunc.C: adjust
1728         * text3.C: adjust + re-allow multi par depth changes
1729         * textcursor.C: simplify a bit
1730
1731 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1732
1733         * src/buffer.C:
1734         * src/lyxlayout.C:
1735         * src/lyxlayout.h:
1736         * src/lyxtext.h:
1737         * src/output_docbook.C:
1738         * src/output_latex.C:
1739         * src/paragraph.C:
1740         * src/paragraph.h:
1741         * src/sgml.C:
1742         * src/sgml.h:
1743         * src/text2.C: Introducing a number of tags parametrizing various
1744         XML formats that we may want to support
1745
1746 2003-11-25  André Pönitz  <poenitz@gmx.net>
1747
1748         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1749
1750         * lyxtext.h (leftMargin/rightMargin): simplify interface
1751
1752         * rowpainter.C:
1753         * text.C:
1754         * text2.C:
1755         * text3.C: adjust
1756
1757 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1758
1759         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1760         master file to any child files. Fixes bug 546.
1761
1762 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1765
1766 2003-11-24  André Pönitz  <poenitz@gmx.net>
1767
1768         * rowpainter.C: simplification
1769
1770         * text2.C (updateCounters): remove call to redoParagraph on
1771         changed labels as this is far too expensive.
1772
1773 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1774
1775         * converter.C (convert): fix a crash: this function gets
1776         called with buffer == 0 from importer code.
1777
1778 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1779
1780         * text3.C (cursorPrevious): make sure that we do not compare
1781         iterators form different containers.
1782         (cursorNext): ditto
1783
1784         * rowpainter.C (paintSelection): make sure that we do not compare
1785         iterators from different containers.
1786
1787         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1788         iterators from different ParagraphList containers.
1789         [NEXT] ditto
1790
1791         * text2.C (LyXText): change order of initialization slightly
1792         (operator=): new function. copy all variables except cache_par_
1793         (moveUp): make sure that we do not compare iterators from
1794         different ParagraphList constainers.
1795         (moveDown): ditto
1796
1797         * text.C (firstPar): new function
1798         (lastPar): new function
1799         (endPar): new function
1800
1801         * lyxtext.h: move things around and group public functions, public
1802         variables, private functions, private variables
1803
1804 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1805
1806         * factory.C: change call to InsetERT constructor to avoid
1807         additional invocation of method status
1808         * text2.C (toggleInset): remove redundant update() call
1809         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1810         instead of a Bufferview pointer
1811
1812 2003-11-21  André Pönitz  <poenitz@gmx.net>
1813
1814         * rowpainter.C: simplification
1815
1816 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * text3.C (dispatch): make possible to extend a word/row selection
1819         with the mouse
1820
1821 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * lyxtext.h: x0_,y0_ -> xo_,yo_
1824         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1825         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1826         * rowpainter.C (paintRows): paint full paragraphs
1827
1828 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1829
1830         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1831         screen coordinates)
1832
1833 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * lyxtext.h: add x0_, y0_
1836         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1837         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1838
1839 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1840
1841         * text2.C (setCursorIntern): move the x_target update here *
1842         * text3.C: change some bv() to true/false in calls to
1843         cursorUp/Down/Right/Left
1844         * cursor.C: use helper function.
1845
1846 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1849         * paragraph_funcs.[Ch]: correct comment
1850         * rowpainter.C: do not paint selections away from bv->cursor()
1851         Fix a long standing selection painting bug.
1852         * text3.C: generalize mouse-selection code to LyXTexts other that
1853         top one
1854         * textcursor.C: do not use y coords if we can use par offsets
1855
1856 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1859         cursor position after e.g. inset insert)
1860
1861 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * lyxfind.C (replace): adjust to locking removal + some
1864         code simplification
1865
1866 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1867
1868         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1869         of the path
1870
1871 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1872
1873         * lyxlayout.[Ch]:
1874         * output_docbook.C: XML sanitation: new layout
1875         parameters InnerTag and CommandDepth
1876
1877 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * BufferView_pimpl.C:
1880         * factory.C:
1881         * text3.C: Fix the insertion and modification of button-style
1882         insets
1883
1884 2003-11-13  André Pönitz  <poenitz@gmx.net>
1885
1886         * InsetList.[Ch]: remove deleteLyXText
1887
1888         * paragraph.[Ch]: cache beginOfBody position
1889
1890         * Bidi.C:
1891         * text.C:
1892         * text2.C:
1893         * text3.C: remove superfluous update() calls
1894
1895         * vspace.C: cleanup
1896
1897 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1898
1899         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1900         * BufferView.C (fitLockedInsetCursor): remove
1901         * cursor.[Ch] (getDim): add
1902         * text.C (getRowNearY): add faster version
1903         * text3.C: remove some update calls
1904
1905 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * LaTeXFeatures.C:
1908         * LyXAction.C:
1909         * MenuBackend.C:
1910         * MenuBackend.h:
1911         * dispatchresult.h:
1912         * factory.C:
1913         * lfuns.h:
1914         * lyxfunc.C:
1915         * lyxtextclass.C:
1916         * lyxtextclass.h:
1917         * text3.C: The Character Style /XML short element patch.
1918
1919 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1920
1921         * text3.C:
1922         * factory.C: Small step to solving 'unable to insert some insets'
1923         problem
1924
1925 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * cursor.[Ch] (updatePos): new function for updating the y
1928         position of the tip inset
1929         * bufferview_funcs.C (put_selection_at):
1930         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1931
1932 2003-11-11  André Pönitz  <poenitz@gmx.net>
1933
1934         * text.C: remove big comment on invalid Paragraph pointers as it is
1935         not valid anymore
1936
1937 2003-11-11  André Pönitz  <poenitz@gmx.net>
1938
1939         * text_funcs.[Ch]: merge with ...
1940
1941         * text.C: ... this
1942
1943         * lyxtext.h:
1944         * text2.C:
1945         * text3.C: adjust
1946
1947         * Makefile.am: remove text_funcs.[Ch]
1948
1949 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1950
1951         * cursor.C (getPos): return absolute cached y coord
1952
1953         * BufferView_pimpl.C (fitCursor): new simplistic code
1954         (workAreaDispatch): add a fitCursor call
1955
1956 2003-11-10  André Pönitz  <poenitz@gmx.net>
1957
1958         * BufferView.[Ch]:
1959         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1960
1961 2003-11-10  André Pönitz  <poenitz@gmx.net>
1962
1963         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1964         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1965         indicate that the cursor needs to leave an inset
1966
1967         * lyxtext.h: remove inset locking
1968
1969         * cursor.[Ch]: re-implement functionality provided by inset locking
1970
1971         * BufferView.[Ch]:
1972         * BufferView_pimpl.[Ch]:
1973         * LyXAction.C:
1974         * bufferview_funcs.[Ch]:
1975         * factory.C:
1976         * funcrequest.[Ch]:
1977         * iterators.C:
1978         * lyx_cb.C:
1979         * lyxfind.C:
1980         * lyxfunc.C:
1981         * text.C:
1982         * text2.C:
1983         * text3.C:
1984         * undo.C: adjust
1985
1986 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * PosIterator.[Ch]: replace the stack with a vector, add inset
1989         accesor
1990         * iterators.[C]: adjust
1991
1992 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1993
1994         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1995         replaced
1996         * paragraph_funcs.C (readParToken): put the correct id in the
1997         error item, not the id of the top paragraph
1998
1999 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2000
2001         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2002         * bufferview_funcs.C (put_selection_at): use the above
2003
2004 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2005
2006         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2007
2008 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * output_linuxdoc.h:
2011         * output_plaintext.h:
2012         * output.h:
2013         * output_docbook.h: add #include statements
2014
2015 2003-11-05  José Matos  <jamatos@lyx.org>
2016
2017         * output_docbook.[Ch]:
2018         * output_latex.[Ch]:
2019         * output_linuxdoc.[Ch]:
2020         * output_plaintext.[Ch]: New files for output formats.
2021         * output.[Ch]: New file for helper functions.
2022
2023         * buffer.[Ch]:
2024         * paragraph_funcs.[Ch]: output functions moved to new files.
2025
2026         * outputparams.h: rename of latexrunparams.h
2027
2028         * LaTeX.[Ch]:
2029         * buffer.[Ch]:
2030         * bufferlist.[Ch]:
2031         * converter.[Ch]:
2032         * exporter.C:
2033         * paragraph.[Ch]:
2034         * paragraph_funcs.[Ch]:
2035         * paragraph_pimpl.[Ch]:
2036         * tabular.[Ch]: rename ascii to plaintext
2037         and LatexRunParams to OutputParams.
2038
2039 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2040
2041         * iterators.[Ch] (text): require bv argument
2042         * undo.C (recordUndo):
2043         * lyxfunc.C (dispatch):
2044         * bufferview_funcs.C (put_selection_at): adjust
2045
2046 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2047
2048         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2049
2050 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2051
2052         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2053         nestings
2054
2055 2003-11-04  André Pönitz  <poenitz@gmx.net>
2056
2057         * cursor.[Ch]: restructure
2058
2059         * BufferView.[Ch]:
2060         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2061
2062         * iterators.[Ch] (asCursor): remove
2063
2064         * lfuns.h: remove LFUN_INSET_EDIT
2065
2066         * lyxfunc.C:
2067         * tabular.C:
2068         * text.C:
2069         * text2.C:
2070         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2071
2072 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2073
2074         * lyxfind.[Ch]: complete overhaul
2075         * BufferView_pimpl.C:
2076         * lyxfunc.C: adjust
2077         * paragraph.[Ch] (insert): add
2078
2079 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * BufferView.[Ch]:
2082         * lyxtext.h:
2083         * text.C: remove dead spellcheck code
2084
2085 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * dispatchresult.h: add a val setter
2088
2089         * cursor.C (dispatch): use a tempvar for data_[i]
2090
2091 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2092
2093         * PosIterator.[Ch]: compile fix
2094
2095 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * text.C (cursorPar): deactivate the cursor cache
2098
2099 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2100
2101         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2102
2103 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * text3.C (dispatch): adjust for new DisptchResult semantics.
2106
2107         * lyxfunc.C (dispatch): handle update when return from
2108         Cursor::dispatch, adjust for new DispatchResult semantics.
2109
2110         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2111         DispatchResult(true) mean to not update. Add class functions for
2112         setting dispatched and update, as well as reading.
2113
2114         * cursor.C (dispatch): don't handle update here
2115
2116 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2117
2118         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2119         * trans_mgr.C: adjust
2120
2121         * paragraph_funcs.C (readParToken): exception safety
2122
2123         * lyxvc.h: store the vcs pointer in a scoped_ptr
2124         * lyxvc.C: adjust
2125
2126         * lyxsocket.C (serverCallback): exception safety
2127
2128         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2129
2130         * ispell.C (clone): make it return a auto_ptr
2131
2132         * factory.C (createInset): exception safety
2133         (readInset): exception safety
2134
2135         * bufferlist.C (newBuffer): exception safety
2136
2137         * Thesaurus.C (Thesaurus): use initialization for aik_
2138
2139         * MenuBackend.C (expandToc): exception safety.
2140
2141 2003-11-03  André Pönitz  <poenitz@gmx.net>
2142
2143         * buffer.C:
2144         * buffer.h:
2145         * bufferview_funcs.C: remove getInsetFromId()
2146
2147         * lyxcursor.[Ch]:
2148         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2149
2150         * lyxfunc.C:
2151         * text2.C:
2152         * text3.C: adjust
2153
2154 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2155
2156         * PosIterator.C (distance, advance): new
2157         * bufferview_funcs.[Ch] (put_selection_at): new
2158         * iterators.[Ch] (lockPath): new
2159
2160 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2161
2162         * iterators.[Ch] (asPosIterator): added
2163         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2164         * PosIterator.[Ch]: added
2165
2166 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2167
2168         * text3.C:
2169         * lyxfunc.C:
2170         * cursor.C (dispatch):
2171         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2172
2173         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2174         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2175         contructor, add a class function dispatched. Remove operator>=
2176
2177 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2178
2179         * debug.C: only use the default constructor for debugstream
2180         (lyxerr) here.
2181
2182         * main.C (main): include debug.h and setup the lyxerr streambuf
2183         here.
2184
2185 2003-10-31  José Matos  <jamatos@lyx.org>
2186
2187         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2188
2189         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2190         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2191         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2192         * paragraph_pimpl.C (simpleTeXSpecialC):
2193         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2194         add LatexRunParams argument.
2195
2196         * exporter.C (Export): change call accordingly.
2197
2198         * latexrunparams.h: add new member to take care of the other backends.
2199 2003-10-30  José Matos  <jamatos@lyx.org>
2200
2201         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2202         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2203         factorise code for paragraph output.
2204         * buffer.[Ch]:
2205         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2206         move functions.
2207
2208 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * text3.C (dispatch):
2211         * lyxfunc.C (dispatch):
2212         * cursor.C (dispatch):
2213         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2214
2215         * dispatchresult.h: make the dispatch_result_t ctor explicit
2216
2217 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2218
2219         * sgml.[Ch]:
2220         * buffer.C: small refactoring of docbook stuff
2221
2222 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2225         meaning.
2226
2227 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2228
2229         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2230         operator dispatch_result_t, and operators for == != and >=
2231
2232         * cursor.C (dispatch): adjust for operator dispatch_result_t
2233         removal. comment out call to update
2234
2235         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2236
2237 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * text3.C:
2240         * text2.C:
2241         * text.C:
2242         * lyxtext.h:
2243         * lyxfunc.C:
2244         * cursor.C:
2245         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2246         (dispatch):
2247
2248         * dispatchresult.h: new file, DispatchResult broken out of
2249         insets/insetbase.h
2250
2251         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2252
2253 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2254
2255         * text.C (rowBreakPoint): put a hack inside #if 0
2256
2257 2003-10-28  André Pönitz  <poenitz@gmx.net>
2258
2259         * lyxtext.h:
2260         * metricsinfo.C:
2261         * paragraph_funcs.C:
2262         * rowpainter.C:
2263         * text.C:
2264         * text2.C: general cleanup (lots of small stuff)
2265
2266 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * text2.C (cursorEnd): simple fix to the "end key goes to one
2269         before the end on last row" bug
2270
2271 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * text.C (backspace): fix the "zombie characters"
2274
2275 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2278
2279 2003-10-27  André Pönitz  <poenitz@gmx.net>
2280
2281         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2282
2283         * factory.C: handle new InsetPagebreak, InsetLine
2284
2285         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2286         and move handling into new InsetPagebreak, InsetLine
2287
2288         * BufferView_pimpl.C:
2289         * LyXAction.C:
2290         * ParagraphParameters.C:
2291         * ParameterStruct.h:
2292         * lyxfunc.C:
2293         * lyxtext.h:
2294         * paragraph.C:
2295         * paragraph.h:
2296         * paragraph_funcs.C:
2297         * paragraph_pimpl.C:
2298         * rowpainter.C:
2299         * text.C:
2300         * text2.C:
2301         * text3.C: adjust
2302
2303 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2304
2305         * text.C:
2306         * lyxrow_funcs.[Ch]:
2307         * Bidi.C:
2308         * paragraph.C:
2309         * lyxtext.h:
2310         * rowpainter.C:
2311         * text2.C:
2312         * text3.C: remove lastPos uses in favour of Row::endpos
2313
2314 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2315
2316         * undo.C (performUndoOrRedo): fix two crashes by setting a
2317         cursor by hand and reordering some calls. Use bv->lockInset instead
2318         of inset->edit because the latter loses cursor information
2319
2320 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2321
2322         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2323         by Martin
2324         (rowBreakPoint): fix width. change point to point + 1.
2325         Add a missing check.
2326
2327 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * MenuBackend.C:
2330         * lyxfunc.C: fix (at least partly) the problems
2331         with the Nav menu and headers inside branch insets
2332         reported by Kayvan
2333
2334 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * paragraph.C (getChar): add strong asserts
2337
2338         * lyxrow_funcs.C (lastPos): remove hideous hack
2339
2340         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2341         (fill): adjust to that (avoid an infinite loop)
2342
2343 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2344
2345         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2346
2347 2003-10-23  André Pönitz  <poenitz@gmx.net>
2348
2349         * RowList_fwd.h: change list<> to vector<> to gain speed
2350         after suggestion from Alfredo
2351
2352 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2353
2354         * lyxtext.h: move the bidi stuff from here...
2355         * text.C: and here
2356         * text2.C: and here
2357         * Bidi.[Ch]: ... to here
2358
2359 2003-10-23  André Pönitz  <poenitz@gmx.net>
2360
2361         * lyxtext.h:
2362         * text.C (isLastRow, isFirstRow): new functions
2363
2364         * paragraph.h: new width cache member
2365
2366         * rowpainter.C: replace RowList::iterator with Row & where possible
2367
2368         * lyxfunc.C: replace several view()->text with a single call
2369
2370         * toc.C: fix 'unused' warning
2371
2372 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2375         when woring with stream::pos_type
2376         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2377
2378 2003-10-22  André Pönitz  <poenitz@gmx.net>
2379
2380         * lyxtext.h:
2381         * text.C: use Row & instead of RowList::iterator
2382
2383         * lyxrow.h: rename end() to endpos()
2384
2385         * rowpainter.C:
2386         * text.C:
2387         * text2.C: adjust
2388
2389 2003-10-22  Angus Leeming  <leeming@lyx.org>
2390
2391         * buffer.[Ch] (fully_loaded): new member function, returning true
2392         only when the file has been loaded fully.
2393         Used to prevent the premature generation of previews and by the
2394         citation inset to prevent computation of the natbib-style label.
2395
2396         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2397         templates are all set up.
2398
2399         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2400
2401 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * text.C: fixed an "oops" in the "is a bit silly"
2404         bug fix
2405
2406 2003-10-21  André Pönitz  <poenitz@gmx.net>
2407
2408         * FuncStatus.[Ch]: small stuff, whitespace
2409
2410         * lyxfont.[Ch]: operator<<() for debug reasons
2411
2412         * lyxfunc.C:
2413         * lyxrow_funcs.C:
2414         * lyxtext.h: whitespace, spelling
2415
2416         * paragraph.C: naming of variables
2417
2418         * text.C:
2419         * text2.C: small stuff
2420
2421
2422 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2423
2424         * text.C: (1) finish off the inset display() work;
2425         (2) fix the "is a bit silly" bug (accessing char
2426         past end of par).
2427
2428 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * text.C: re-introduce display() for insets, fixing the
2431         various bugs (stretch of line above, math inset
2432         positioning, ...)
2433
2434 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * text.C (rightMargin): remove spurious semicolon
2437
2438         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2439         1415)
2440
2441 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * text3.C: fix one crash due to wrong cursor def
2444
2445 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * vc-backend.C (scanMaster): make the regex static
2448
2449         * LaTeX.C (scanAuxFile): make the regexs static
2450
2451         * text3.C (doInsertInset, dispatch, dispatch):
2452         * text2.C (cursorUp, cursorDown):
2453         * text.C (selectNextWordToSpellcheck):
2454         * BufferView_pimpl.C (dispatch):
2455         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2456
2457 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458
2459         * lyxsocket.C: include <cerrno>
2460
2461 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2462
2463         * lyxfunc.C (dispatch): remove textcache stuff
2464
2465         * bufferlist.C (release): remove textcache stuff
2466         (closeAll): ditto
2467
2468         * TextCache.C: delete file
2469         * TextCache.h: delete file
2470
2471         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2472
2473         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2474         delete of the bv_->text.
2475         (resizeCurrentBuffer): remove texcache stuff
2476         (workAreaResize): ditto
2477
2478 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2481         action.
2482
2483 2003-10-16  André Pönitz  <poenitz@gmx.net>
2484
2485         * lyxrow.[Ch]:
2486         * paragraph.h:
2487         * rowpainter.C:
2488         * text.C:
2489         * text2.C:
2490         * text3.C: speed up by storing y positions per paragraph plus per-row
2491         offset instead of having a 'full' y position in the row.
2492
2493 2003-10-15  André Pönitz  <poenitz@gmx.net>
2494
2495         * iterators.[Ch]:
2496         * iterators.[Ch]:
2497         * undo.[Ch]: make undo aware of inner insets
2498
2499 2003-10-14  Angus Leeming  <leeming@lyx.org>
2500
2501         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2502         static member functions LyX::ref() and LyX::cref.
2503         (lastfiles): new accessor functions for the new lastfiles_ member var.
2504         (addLyXView, views_): add a new LyXView to the list of views_.
2505         (updateInset): loop over all LyXViews to call their own updateInset
2506         member function, returning a pointer to the Buffer owning the inset.
2507
2508         * BufferView_pimpl.C (loadLyXFile):
2509         * MenuBackend.C (expandLastfiles):
2510         * bufferlist.C (MenuWrite, QuitLyX):
2511         lastfiles is no longer a global variable.
2512         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2513
2514         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2515         static function. Access through LyX::cref().emergencyCleanup().
2516
2517 2003-10-14  André Pönitz  <poenitz@gmx.net>
2518
2519         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2520
2521         * undo.[Ch]: restoring part of 'undo in insets'
2522
2523         * Makefile.am:
2524         * undo_funcs.[Ch]: merge with undo.[Ch]
2525
2526         * tabular.C: small cleansing stuff
2527
2528 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * paragraph_funcs.C (readParToken): report unknown insets as error
2531         boxes. Use the outer paragraph as location (also for unknown
2532         tokens).
2533
2534         * factory.C (readInset): do not abort on reading an unknown inset.
2535         Eat it and return 0.
2536
2537 2003-10-13  Angus Leeming  <leeming@lyx.org>
2538
2539         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2540
2541         * lyxrc.C: displayTranslator is now a function,
2542         declared in GraphicsTypes.h.
2543
2544 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2545
2546         * format.C: new placeholder $$a to pass the socket address.
2547
2548         * bufferlist.[Ch]: new function getBufferFromTmp.
2549
2550         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2551           files in the temporary dir.
2552
2553 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2554
2555         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2556
2557         * Makefile.am: add lyxsocket.[Ch].
2558
2559         * lyx_main.C (error_handler): handle SIGPIPE.
2560
2561 2003-10-13  André Pönitz  <poenitz@gmx.net>
2562
2563         * BufferView_pimpl.C:
2564         * lyxtext.h:
2565         * text.C:
2566         * text2.C:
2567         * text3.C:
2568         * undo_funcs.[Ch]: use paroffset_type instead of
2569           ParagraphList::iterators to prevent multiple conversion
2570           (and get a more robust interface)
2571
2572 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2575         * lyxtext.h: ditto
2576         * text3.C (dispatch): ditto
2577
2578 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2581         move the onlyfile, use onlyfile instead of foundfile in a couple
2582         of places.
2583
2584         * DepTable.C (update): flush the error stream a bit more
2585
2586 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * lyxserver.C (callback): adjust
2589
2590         * lyxfunc.C (getStatus): add a missing brace in commented code
2591         (ensureBufferClean): reindent
2592         (dispatch): delete version taking a string
2593
2594 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * LaTeX.C (deplog): move found file handlig from here...
2597         (handleFoundFile): .. to new function here.
2598         (deplog): make sure to discover several files mentioned on the
2599         same log line.
2600
2601 2003-10-10  André Pönitz  <poenitz@gmx.net>
2602
2603         * lyxfunc.C:
2604         * lyxtext.h:
2605         * tabular.C:
2606         * text.C:
2607         * text2.C:
2608         * text3.C: fix some of the tabular crashes
2609
2610 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2611
2612         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2613
2614         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2615
2616 2003-10-09  André Pönitz  <poenitz@gmx.net>
2617
2618         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2619
2620         * BufferView.C:
2621         * BufferView_pimpl.C:
2622         * bufferview_funcs.C:
2623         * lyx_cb.C:
2624         * lyxcursor.C:
2625         * lyxfind.C:
2626         * lyxfunc.C:
2627         * lyxtext.h:
2628         * text.C:
2629         * text2.C:
2630         * text3.C:
2631         * text_funcs.[Ch]:
2632         * textcursor.[Ch]:
2633         * undo_funcs.C: adjust
2634
2635 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * text2.C (incrementItemDepth): new function, use a backtracking
2638         algorithm to discover the correct item depth.
2639         (resetEnumCounterIfNeeded): new function, use a backtracking
2640         algorithm to discover if counter reset is needed.
2641         (setCounter): use them. Simplify a bit. Add different labels for
2642         different item depths for itemize.
2643
2644         * paragraph.C (Paragraph): remove initialization of enumdepth
2645         (operator=): ditto
2646
2647         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2648         enumerate and itemize. Change the type of itemdepth to signed char.
2649
2650 2003-10-08  André Pönitz  <poenitz@gmx.net>
2651
2652         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2653           thing assignable.
2654         * text.C:
2655         * text2.C: adjust
2656
2657         * tabular.[Ch]: fix crash after 'row-insert'
2658
2659 2003-10-08  Angus Leeming  <leeming@lyx.org>
2660
2661         Fix doxygen warnings.
2662
2663         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2664         Remove CutAndPaste:: prefix from header file declaration.
2665
2666         * LColor.h (fill): remove LColor:: prefix from declaration.
2667
2668         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2669         use lyx::depth_type rather than Paragraph::depth_type so that
2670         header file and .C file match.
2671
2672         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2673
2674         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2675         * aspell.C: \file aspell_local.C -> \file aspell.C
2676         * gettext.C: \file gettext.C -> \file src/gettext.C
2677         * gettext.h: \file gettext.h -> \file src/gettext.h
2678         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2679         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2680         * text.C: \file text.C -> \file src/text.C
2681
2682         * toc.C: move comment so that doxygen is not confused.
2683
2684 2003-10-07  Angus Leeming  <leeming@lyx.org>
2685
2686         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2687
2688 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2689
2690         * aspell.C:
2691         * aspell_local.h: add forgotten std::string's.
2692
2693 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2694
2695         * LaTeXFeatures.C:
2696         * LyXAction.C:
2697         * factory.C:
2698         * lfuns.h:
2699         * lyxfunc.C:
2700         * text3.C: The Box patch. Fancybox support, minipage, parbox
2701
2702 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2703
2704         * CutAndPaste.h:
2705         * DepTable.h:
2706         * FloatList.h:
2707         * LaTeXFeatures.h:
2708         * ParagraphParameters.h:
2709         * TextCache.h:
2710         * Thesaurus.h:
2711         * bufferlist.h:
2712         * exporter.h:
2713         * importer.h:
2714         * lastfiles.h:
2715         * lyxfind.h:
2716         * lyxfont.h:
2717         * lyxlex.h:
2718         * lyxtextclasslist.h:
2719         * messages.h:
2720         * paragraph.h:
2721         * paragraph_pimpl.C:
2722         * textcursor.h: add <string> and other small fixes to make Lars'
2723         std::string patch compile with STLport.
2724
2725 2003-10-06  Angus Leeming  <leeming@lyx.org>
2726
2727         * LColor.h: Add missing #include <string>.
2728
2729 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * All most all file in all subdirs: Make <string> be the prefered
2732         way of getting to std::string, add using declarations.
2733
2734 2003-10-06  André Pönitz  <poenitz@gmx.net>
2735
2736         * metricsinfo.C: initialize LyXFont before changing attribute.
2737         (fixes the 'math in \emph is upright' bug)
2738
2739 2003-10-06  André Pönitz  <poenitz@gmx.net>
2740
2741         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2742
2743 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2744
2745         * graph.C:
2746         * paragraph_pimpl.C: Small fixes to build using STLport
2747
2748 2003-10-02  André Pönitz  <poenitz@gmx.net>
2749
2750         * lyxfunc.C:
2751         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2752
2753 2003-10-01  André Pönitz  <poenitz@gmx.net>
2754
2755         * factory.C: assert early
2756
2757 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * lyx_main.C: remove the global debug object
2760
2761         * debug.h: adjust for new debugstream
2762
2763         * debug.C: adjust for new debugstream and keep the global debug
2764         object here.
2765
2766 2003-09-22  Angus Leeming  <leeming@lyx.org>
2767
2768         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2769         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2770         an incomplete class LyXFont.
2771
2772 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2773
2774         * factory.C: bug fix in branches
2775
2776 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * lyxfunc.C (processKeySym): adjust
2779         (dispatch): adjust
2780         (dispatch): change arg name from ev to func, adjust
2781         (sendDispatchMessage): ditto
2782
2783         * lyx_main.C (defaultKeyBindings): adjust keybindings
2784         (deadKeyBindings): ditto
2785
2786         * kbsequence.C (addkey): return a FuncRequest
2787
2788         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2789
2790         * kbmap.C (bind): take a FuncRequest as arg, adjust
2791         (read): adjust
2792         (lookup): adjust
2793         (defkey): change to take a FuncRequest as arg, adjust
2794         (findbinding): take a FuncRequest as arg, adjust.
2795
2796         * funcrequest.h (operator=): added
2797
2798         * funcrequest.C (FuncRequest): default kb_action changed from
2799         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2800
2801         * buffer.C (dispatch): simplify
2802         (dispatch): adjust to take a FuncRequest as arg, adjust
2803
2804         * boost.C (assertion_failed): change assertion message slightly
2805
2806         * ToolbarBackend.C (read): simplify
2807
2808         * MenuBackend.C (binding): adjust call to findbinding, add a
2809         message if no binding is found.
2810         (read): simplify
2811         (expandToc): correct by adding a empty FuncRequest
2812
2813         * LyXAction.C: include <boost/assert.hpp>
2814         (isPseudoAction): delete function
2815         (LookupFunc): change name to...
2816         (lookupFunc): this. change return type to FuncRequest.
2817         (getActionName): take kb_action as arg, simplify
2818         (funcHasFlag): add an assert, simplify.
2819
2820 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * toc.C (action): return a FuncRequest, simplify
2823
2824         * lyxfunc.C (processKeySym): adjust
2825         (getStatus): delete version that takes an int.
2826         (getStatus): adjust
2827         (dispatch): delete version that takes action as int
2828         (dispatch): adjust
2829         (sendDispatchMessage): simplify and adjust
2830
2831         * funcrequest.C (getArg): take unsigned int as arg
2832
2833         * ToolbarBackend.C (read): adjust
2834         (add): delete version that takes func as a string.
2835         (getIton): take a FuncRequest as arg
2836
2837         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2838         action.
2839
2840         * MenuBackend.C (MenuItem): add a new construct that only takes a
2841         Kind, simplify the constructor use for submenus.
2842         (add): adjust
2843         (expandLastfiles): adjust
2844         (expandDocuments): adjust
2845         (expandFormats): adjust
2846         (expandFloatListInsert): adjust
2847         (expandFloatInsert): adjust
2848         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2849
2850         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2851         Remove class variables lyx_pseudo_map and lyx_arg_map
2852
2853         * LyXAction.C (searchActionArg): delete function
2854         (getPseudoAction): delete function
2855         (retrieveActionArg): delete function
2856         (LookupFunc): make it return kb_action, simplify.
2857         (getActionName): simplify
2858
2859         * factory.C (createInset): fix new bug
2860
2861 2003-09-19  Angus Leeming  <leeming@lyx.org>
2862
2863         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2864         masterFilename_ parameter in the include inset.
2865
2866         * factory.C (createInset): changes due to the changes to InsetInclude.
2867
2868 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2869
2870         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2871
2872 2003-09-18  Angus Leeming  <leeming@lyx.org>
2873
2874         * buffer.C:
2875         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2876         Inset::fillWithBibKeys.
2877         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2878
2879 2003-09-18  Angus Leeming  <leeming@lyx.org>
2880
2881         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2882         variables.
2883         (ctor): pass and store a 'Buffer const &'
2884         (buffer): new member function.
2885
2886         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2887         '*this' to the LaTeXFeatures ctor.
2888
2889 2003-09-18  Angus Leeming  <leeming@lyx.org>
2890
2891         * LColor.h:
2892         * lyxfont.C:
2893         * lyxfont.h:
2894         * lyxtext.h:
2895         * text.C: rename EnumLColor as LColor_color.
2896
2897 2003-09-18  Angus Leeming  <leeming@lyx.org>
2898
2899         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2900         remove #include "insets/insetbase.h" from cursor.h.
2901
2902 2003-09-18  Angus Leeming  <leeming@lyx.org>
2903
2904         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2905         InsetOld_code to remove #include "inset.h".
2906
2907         * iterators.C: add #include "insets/inset.h"
2908
2909 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2910
2911         * BufferView.C: remove more locking stuff that apparently doesn't
2912         do anything sensible.
2913
2914 2003-09-16  André Pönitz  <poenitz@gmx.net>
2915
2916         * paragraph.[Ch]:
2917         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2918           performance boost.
2919
2920 2003-09-16  Angus Leeming  <leeming@lyx.org>
2921
2922         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2923
2924         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2925         arg/return type.
2926
2927         * paragraph.h: remove #include "lyxfont.h". Forward declare
2928         LyXFont_size.
2929
2930 2003-09-16  Angus Leeming  <leeming@lyx.org>
2931
2932         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2933         of support/textutils.h.
2934         (isWord): move the contents of support/textutils.h's IsWordChar here.
2935
2936         * buffer.C:
2937         * lyxfind.C:
2938         * rowpainter.C:
2939         * text.C:
2940         * text2.C: add #include "paragraph.h".
2941
2942         * rowpainter.C:
2943         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2944
2945 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * main.C:
2948         * lyx_main.C:
2949         * lyx_cb.C:
2950         * buffer.C:
2951         * LaTeX.C: use namespace alias for lyx::support::os
2952
2953 2003-09-16  Angus Leeming  <leeming@lyx.org>
2954
2955         * bufferparams.C:
2956         * bufferview_funcs.C:
2957         * factory.C:
2958         * lyxfunc.C:
2959         * paragraph_pimpl.C:
2960         * rowpainter.C:
2961         * text.C: add #include "LColor.h".
2962
2963 2003-09-16  Angus Leeming  <leeming@lyx.org>
2964
2965         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2966         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2967         return LyXFont &.
2968         Store the FontBits::color variable as an int rather than as an
2969         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2970         file.
2971
2972         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2973         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2974         string calls together.
2975
2976         * lyxrc.C: add #include "LColor.h".
2977
2978 2003-09-15  Angus Leeming  <leeming@lyx.org>
2979
2980         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2981         a cow_ptr.
2982
2983 2003-09-15  Angus Leeming  <leeming@lyx.org>
2984
2985         * LColor.h: add an EnumLColor wrapper for LColor::color.
2986
2987         * lyxfont.[Ch] (color, setColor, realColor):
2988         * lyxtext.h, text.C (backgroundColor):
2989         pass EnumLColor args to/from the functions, rather than LColor::color
2990         ones.
2991
2992         * lyxfont.h:
2993         * lyxtext.h: forward declare EnumLColor.
2994
2995         * lyx_main.C: add #include "LColor.h".
2996
2997 2003-09-15  Angus Leeming  <leeming@lyx.org>
2998
2999         * .cvsignore: add lyx-gtk.
3000
3001 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * Chktex.C
3004         * LaTeX.C
3005         * LaTeXFeatures.C
3006         * ParagraphParameters.C
3007         * Spacing.C
3008         * buffer.C
3009         * bufferparams.C
3010         * bufferview_funcs.C
3011         * chset.C
3012         * counters.C
3013         * funcrequest.C
3014         * lyxfont.C
3015         * lyxgluelength.C
3016         * lyxlength.C
3017         * paragraph.C
3018         * paragraph_funcs.C
3019         * text3.C
3020         * vc-backend.C: remove usage of STRCONV
3021
3022 2003-09-15  Angus Leeming  <leeming@lyx.org>
3023
3024         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3025         explicitly define the color passed to the painter.
3026
3027 2003-09-15  Angus Leeming  <leeming@lyx.org>
3028
3029         * bufferparams.C (BufferParams): reorder member initializers to avoid
3030         compiler warning.
3031
3032 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3035         * text.C (updateRowPositions): remove an unusual nop
3036
3037 2003-09-12  André Pönitz  <poenitz@gmx.net>
3038
3039         * BufferView_pimpl.C:
3040         * Bullet.C:
3041         * layout.h:
3042         * lyxfunc.C:
3043         * lyxlayout.[Ch]:
3044         * lyxtextclass.C:
3045         * rowpainter.C:
3046         * text.C:
3047         * text2.C:
3048         * Counters.[Ch]: finish the 'automatic counters' job
3049
3050 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3051
3052         * aspell.C: include <boost/assert.cpp> (compile fix)
3053
3054 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3055
3056         * boost.C (assertion_failed): use lyx::support::abort instead of
3057         assert.
3058
3059 2003-09-10  Angus Leeming  <leeming@lyx.org>
3060
3061         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3062         with their _fwd progeny.
3063
3064 2003-09-09  Angus Leeming  <leeming@lyx.org>
3065
3066         134 files throughtout the source tree: replace 'using namespace abc;'
3067         directives with the appropriate 'using abc::xyz;' declarations.
3068
3069 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3070
3071         * boost.C (emergencyCleanup): moved here from LAssert.c
3072         (assertion_failed): new function, called by BOOST_ASSERT
3073
3074         * several files: change Assert to BOOST_ASSERT
3075
3076 2003-09-09  Angus Leeming  <leeming@lyx.org>
3077
3078         * buffer.[Ch]: Add an Impl class and move Buffer's member
3079         variables into it. As a result move several header files out of
3080         buffer.h.
3081
3082         Add header files to lots of .C files all over the tree as a result.
3083
3084 2003-09-09  Angus Leeming  <leeming@lyx.org>
3085
3086         * buffer.[Ch]: make Buffer's member variables private. Add
3087         accessor functions.
3088
3089         Lots of changes all over the tree as a result.
3090
3091 2003-09-08  Angus Leeming  <leeming@lyx.org>
3092
3093         * graph.C: #include <config.h>.
3094
3095 2003-09-08  Angus Leeming  <leeming@lyx.org>
3096
3097         * BranchList.C:
3098         * BufferView.C:
3099         * BufferView_pimpl.C:
3100         * CutAndPaste.C:
3101         * DepTable.C:
3102         * LaTeX.C:
3103         * LaTeXFeatures.C:
3104         * LyXAction.C:
3105         * MenuBackend.C:
3106         * TextCache.C:
3107         * aspell.C:
3108         * buffer.C:
3109         * bufferlist.C:
3110         * changes.C:
3111         * chset.C:
3112         * converter.C:
3113         * counters.C:
3114         * debug.C:
3115         * graph.C:
3116         * ispell.C:
3117         * lyx_cb.C:
3118         * lyxfind.C:
3119         * lyxfunc.C:
3120         * lyxlex_pimpl.C:
3121         * lyxrc.C:
3122         * lyxrow.C:
3123         * paragraph.C:
3124         * rowpainter.C:
3125         * texrow.C:
3126         * text.C:
3127         * text2.C:
3128         * toc.C: remove redundant using directives.
3129
3130 2003-09-07  Angus Leeming  <leeming@lyx.org>
3131
3132         * LaTeXFeatures.h: remove #include "support/types.h".
3133         * ToolbarBackend.h: remove #include <algorithm>.
3134         * changes.h: remove #include <ctime>.
3135         * debug.h: remove #include <iosfwd>.
3136         * graph.h: remove #include "support/std_string.h".
3137         * lyx_main.h: remove #include <csignal>.
3138         * lyxlex_pimpl.h: remove #include <fstream>.
3139         * sgml.h: remove #include <algorithm>, <utility>.
3140         * toc.h: remove #include "support/std_ostream.h".
3141         Add #include <iosfwd>.
3142
3143 2003-09-07  Angus Leeming  <leeming@lyx.org>
3144
3145         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3146
3147         * converter.h: forward declare LatexRunParams.
3148         * encoding.h: remove #include "lyxrc.h".
3149         * lyxtext.h: remove #include "LColor.h".
3150         * lyxtextclass.h: remove #include "support/types.h".
3151         * trans.h: remove #include "tex-accent.h".
3152         * trans_mgr.h: remove #include "tex-accent.h".
3153         * insets/inset.h: remove #include "support/types.h", <vector>.
3154         * insets/insetcollapsable.h: remove #include "LColor.h".
3155         * insets/insetinclude.h: remove #include "dimension.h".
3156         * insets/insetlatexaccent.h: remove #include "dimension.h".
3157         * insets/insetoptarg.h:: remove #include "insettext.h".
3158         * insets/insettext.h: remove #include "dimension.h",
3159         <boost/shared_ptr.hpp>
3160
3161         * insets/renderers.h: add #include "dimension.h".
3162         * insets/updatableinset.h: add #include "support/types.h".
3163
3164         * many .C files: Associated changes.
3165
3166 2003-09-06  Angus Leeming  <leeming@lyx.org>
3167
3168         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3169         one, inside testInvariant.
3170
3171         * PrinterParams.C: new file.
3172         * PrinterParams.[Ch]: move the function bodies out of line.
3173
3174 2003-09-06  Angus Leeming  <leeming@lyx.org>
3175
3176         * ParagraphParameters.h: forward declare ParameterStruct rather than
3177         including its header file.
3178         (depth): moved out-of-line.
3179
3180 2003-09-06  Angus Leeming  <leeming@lyx.org>
3181
3182         * BufferView_pimpl.h:
3183         * kbmap.h:
3184         * kbsequence.h:
3185         * lyxfunc.h: forward declare LyXKeySym rather than
3186         #include "frontends/LyXKeySym.h".
3187
3188         * BufferView_pimpl.C:
3189         * kbmap.C:
3190         * kbsequence.C:
3191         * lyxfunc.C: associated changes.
3192
3193 2003-09-06  Angus Leeming  <leeming@lyx.org>
3194
3195         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3196         As a result, can remove the #include "insets/inset.h" from BufferView.h
3197
3198 2003-09-06  Angus Leeming  <leeming@lyx.org>
3199
3200         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3201         As a result, can remove the #include "insets/inset.h" from BufferView.h
3202
3203 2003-09-06  Angus Leeming  <leeming@lyx.org>
3204
3205         * buffer_funcs.C:
3206         * buffer.h:
3207         * bufferlist.C:
3208         * BufferView.C:
3209         * bufferview_funcs.C:
3210         * BufferView_pimpl.C:
3211         * CutAndPaste.C:
3212         * lyx_cb.C:
3213         * lyxfunc.C:
3214         * paragraph.h:
3215         * ParagraphParameters.C:
3216         * tabular.C:
3217         * text3.C:
3218         * toc.C:
3219         * undo_funcs.C:
3220         * frontends/controllers/ControlDocument.C:
3221         * insets/insetcaption.C: rearrange the #includes into some sort of
3222         coherent order.
3223
3224         * buffer.h: remove #includes ErrorList.h, undo.h
3225
3226 2003-09-06  Angus Leeming  <leeming@lyx.org>
3227
3228         * support/types.h: add a 'depth_type' typedef, used to store the
3229         nesting depth of a paragraph.
3230
3231         * paragraph.h:
3232         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3233         defining explicitly.
3234
3235         * buffer.h:
3236         * paragraph_funcs.h:
3237         * ParagraphParameters.h:
3238         * sgml.h: use lyx::depth_type rather than Paragraph or
3239         ParameterStruct's depth_type.
3240
3241         * buffer.h
3242         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3243
3244         * BufferView.C:
3245         * BufferView_pimpl.C:
3246         * CutAndPaste.C:
3247         * ParagraphParameters.C:
3248         * buffer_funcs.C:
3249         * bufferlist.C:
3250         * bufferview_funcs.C:
3251         * lyx_cb.C:
3252         * lyxfunc.C:
3253         * tabular.C:
3254         * text3.C:
3255         * toc.C:
3256         * undo_funcs.C:
3257         * frontends/LyXView.C:
3258         * frontends/controllers/ControlDocument.C:
3259         * frontends/controllers/ControlErrorList.C:
3260         * insets/insetbibitem.C:
3261         * insets/insetbranch.C:
3262         * insets/insetcaption.C:
3263         * insets/insetcollapsable.C:
3264         * insets/insetenv.C:
3265         * insets/insetert.C:
3266         * insets/insetfloat.C:
3267         * insets/insetfoot.C:
3268         * insets/insetfootlike.C:
3269         * insets/insetnewline.C:
3270         * insets/insetquotes.C:
3271         * insets/insettabular.C:
3272         * insets/insettext.C:
3273         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3274
3275         * frontends/controllers/ControlChanges.C: #include "changes.h".
3276
3277 2003-09-06  Angus Leeming  <leeming@lyx.org>
3278
3279         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3280         than #including paragraph.h.
3281
3282         * ParagraphList.h:
3283         * RowList.h: deleted. Superfluous.
3284
3285         * CutAndPaste.h:
3286         * iterators.h:
3287         * lyxcursor.h:
3288         * lyxtext.h:
3289         * text_funcs.h:
3290         * undo.h:
3291         * undo_funcs.h:
3292         * insets/inset.h:
3293         * insets/insettext.h: use ParagraphList_fwd.h rather than
3294         ParagraphList.h.
3295
3296         * paragraph.h: don't forward declare ParagraphList.
3297
3298         * buffer.h:
3299         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3300         rather than ParagraphList.h. paragraph.h is still needed for the
3301         Paragraph::depth_type parameters.
3302
3303         * textcursor.h: enable it to compile stand-alone in light of the
3304         above changes.
3305
3306         * bufferview_funcs.C:
3307         * iterators.C:
3308         * lyxfunc.C:
3309         * lyxrow_funcs.C:
3310         * paragraph.C:
3311         * rowpainter.C:
3312         * text.C:
3313         * text2.C:
3314         * text3.C:
3315         * text_funcs.C:
3316         * textcursor.C:
3317         * undo.C:
3318         * frontends/controllers/ControlParagraph.C:
3319         * frontends/controllers/ControlTabular.C:
3320         * insets/insetmarginal.C:
3321         * insets/insetminipage.C:
3322         * insets/insetnote.C:
3323         * insets/insetoptarg.C: add header files needed to compile again.
3324
3325 2003-09-06  Angus Leeming  <leeming@lyx.org>
3326
3327         * RowList_fwd.h: new file, forward-declaring Row rather than
3328         #including lyxrow.h.
3329
3330         * lyxrow_funcs.h:
3331         * lyxtext.h:
3332         * paragraph.h:
3333         * insets/insettext.h: use it instead of RowList.h
3334
3335         * bufferview_funcs.C:
3336         * lyxfunc.C:
3337         * lyxrow_funcs.C:
3338         * paragraph.C:
3339         * rowpainter.C:
3340         * text.C:
3341         * text2.C:
3342         * text3.C: #include "RowList.h".
3343
3344 2003-09-05  Angus Leeming  <leeming@lyx.org>
3345
3346         * factory.C (createInset):
3347         * vspace.C (c-tor): replace sscanf call with an istringstream.
3348         * ispell.C: re-add missing HP/UX headers.
3349         * lyxserver.C: re-add missing  os2 headers.
3350
3351 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3352
3353         * BranchList.C:
3354         * graph.C:
3355         * ispell.C:
3356         * lastfiles.C:
3357         * lyx_cb.C:
3358         * lyxserver.C:
3359         * texrow.C:
3360         * text3.C: re-add missing system headers, needed for 2.95.2.
3361
3362 2003-09-05  Angus Leeming  <leeming@lyx.org>
3363
3364         Changes most place everywhere due to the removal of using directives
3365         from support/std_sstream.h.
3366
3367 2003-09-05  Angus Leeming  <leeming@lyx.org>
3368
3369         Replace LString.h with support/std_string.h,
3370         Lsstream.h with support/std_sstream.h,
3371         support/LIstream.h with support/std_istream.h,
3372         support/LOstream.h with support/std_ostream.h.
3373
3374         Changes resulting throughout the tree.
3375
3376 2003-09-05  Angus Leeming  <leeming@lyx.org>
3377
3378         * sgml.h: ensure that the header file can be compiled stand-alone.
3379         * *.C: strip out redundant #includes. (320 in total.)
3380
3381 2003-09-04  Angus Leeming  <leeming@lyx.org>
3382
3383         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3384         here (from getPackages).
3385
3386         * debug.[Ch]: add a new EXTERNAL tag.
3387
3388 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3389
3390         * text2.C (cursorEnd): simplify
3391         (setCursor): adjust
3392         (getColumnNearX): adjust
3393
3394         * text.C (computeBidiTables): adjust
3395         (fill): adjust
3396
3397         * rowpainter.C (paintChars): adjust
3398         (paintSelection): adjust
3399         (paintChangeBar): adjust
3400         (paintText): adjust
3401
3402         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3403         lastPos instead.
3404         (numberOfSeparators): adjust
3405
3406 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3407
3408         * LyXAction.C:
3409         * box.[Ch]:
3410         * lfuns.h:
3411         * lyxfunc.C:
3412         * text3.C: Restricts the mouse click functionality
3413         of insets like bibtex, include, toc and floatlist to the visible
3414         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3415         up the dialogs. Cursor has to be in front of the inset (i.e.
3416         start of row) for this to function.
3417
3418 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3419
3420         * bufferview_funcs.C (currentState): output row information
3421
3422 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3423
3424         * bufferview_funcs.C (currentState): output paragraph position
3425
3426 2003-09-04  Angus Leeming  <leeming@lyx.org>
3427
3428         * FloatList.h: move out #include "Floating.h".
3429         * LaTeX.h: move out #include "DepTable.h".
3430         * LyXAction.h: move out #include "funcrequest.h".
3431         * buffer.h: move out #include "author.h", "iterators.h".
3432         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3433         * lyx_main.h: move out #include "errorlist.h".
3434         * lyxfunc.h: move out #include "FuncStatus.h".
3435         * lyxtext: move out #include "lyxcursor.h".
3436         * paragraph_pimpl.h: move out #include "counters.h".
3437
3438 2003-09-03  Angus Leeming  <leeming@lyx.org>
3439
3440         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3441         preamble_snippets list, enabling us to add snippets to the preamble
3442         only if the snippet was not there already.
3443
3444 2003-09-04  Angus Leeming  <leeming@lyx.org>
3445
3446         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3447
3448 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3451         update
3452
3453 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * BranchList.C: point fix, earlier forgotten
3456
3457 2003-09-02  Angus Leeming  <leeming@lyx.org>
3458
3459         * box.C (contains): renamed from 'contained' after a fantastic
3460         amount of hot air.
3461
3462 2003-09-02  John Levon  <levon@movementarian.org>
3463
3464         * BufferView.C:
3465         * lyxcursor.h:
3466         * lyxcursor.C:
3467         * lyxfunc.C:
3468         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3469
3470 2003-09-02  John Levon  <levon@movementarian.org>
3471
3472         * text2.C: simplification of cursorEnd(), including partial
3473         fix for bug 1376
3474
3475 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * buffer.C (readFile): add a space
3478
3479 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3482
3483 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * buffer.C (readFile): new function, take a filename and a
3486         ParagraphList::iterator
3487         (readFile): adjust
3488         (readFile): adjust, make it private. don't use setStream, make
3489         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3490         always contain the filename.
3491
3492         * BufferView.C (insertLyXFile): simplify and make it work for
3493         gzipped files.
3494
3495 2003-08-30  John Levon  <levon@movementarian.org>
3496
3497         * Makefile.am: fix dist (from Kayvan)
3498
3499 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3500
3501         * most files: change to use const Buffer refs
3502
3503 2003-08-27  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3506         on top of ownerPar().
3507
3508 2003-08-27  John Levon  <levon@movementarian.org>
3509
3510         * funcrequest.C: properly initialise POD members
3511
3512 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * lyxtext.h (top_y): move top_y from here
3515         * text.C:
3516         * text2.C:
3517         * text3.C:
3518         * BufferView.[Ch]:
3519         * BufferView_pimpl.[Ch]: to here
3520         * frontends/screen.C:
3521         * insets/insettabular.C:
3522         * insets/insettext.C: adjust
3523         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3524
3525 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3526
3527         * BufferView.[Ch]:
3528         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3529
3530 2003-08-26  André Pönitz  <poenitz@gmx.net>
3531
3532         * paragraph_func.[Ch] (outerPar): new function
3533
3534         * paragraph.C:
3535         * paragraph_funcs.C:
3536         * paragraph_funcs.h:
3537         * paragraph_pimpl.C:
3538         * text2.C: remove Inset::par_owner
3539
3540 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3541
3542         * lyxrow_funcs.C:
3543         * lyxtext.h:
3544         * text.C:
3545         * text2.C: eliminates the needFullRow/display() stuff
3546         altogether, putting the logic in metrics/draw in the insets.
3547
3548 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * text2.C (redoParagraphInternal, redoParagraphs):
3551         * text.C (redoParagraph): add a call to updateRowPositions at the
3552         end of each 'metrics-like' call. Remove all others.
3553         (getRow): remove the 'y-computing' version.
3554         (getRowNearY): do not compute nor return the real y. Solve the
3555         'y < 0' problem and simplify.
3556
3557 2003-08-22  Angus Leeming  <leeming@lyx.org>
3558
3559         * *.[Ch]: clean-up of licence and author blurbs.
3560         Also move config.h out of a few .h files and into a few .C files.
3561
3562 2003-08-22  André Pönitz  <poenitz@gmx.net>
3563
3564         * lyxrow.[Ch]: add x_ and *fill_ members
3565
3566         * lyxtext.h:
3567         * text.C:
3568         * rowpainter.C:
3569         * text2.C: adjust/remove prepareToPrint() calls
3570
3571 2003-08-22  André Pönitz  <poenitz@gmx.net>
3572
3573         * lyxrow.[Ch]: add  end_ member
3574
3575         * lyxrow_funcs.C: use LyXRow::end_
3576
3577         * lyxtext.h (singleWidth): add LyXFont parameter
3578
3579         * rowpainter.C:
3580         * text2.C: adjust LyXText::singleWidth() calls
3581
3582         * text.C (redoParagraph): simplify row breaking logic
3583
3584
3585 2003-08-19  André Pönitz  <poenitz@gmx.net>
3586
3587         * funcrequest.C: initialize button_ member
3588
3589         * text3.C:
3590         * rowpainter.[Ch]: interface consolidation
3591
3592 2003-08-18  André Pönitz  <poenitz@gmx.net>
3593
3594         * BufferView.C:
3595         * BufferView_pimpl.C:
3596         * lyxfind.C:
3597         * paragraph_funcs.C:
3598         * rowpainter.C:
3599         * text3.C: remove LyXScreen::draw() and fitCursor calls
3600
3601         * BranchList.h: remove spurious semicolons
3602
3603         * MenuBackend.C: fix branchlist related crash
3604
3605 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3606
3607         * BranchList.[Ch]:
3608         * InsetList.[Ch]:
3609         * LColor.[Ch]:
3610         * LyXAction.C:
3611         * Makefile.am:
3612         * MenuBackend.[Ch]:
3613         * bufferparams.[Ch]:
3614         * factory.C:
3615         * lfuns.h:
3616         * lyxfunc.C:
3617         * text3.C: implements the 'branch inset'
3618         idea. This allows the output of various versions of a document
3619         from a single source version, selectively outputing or suppressing
3620         output of parts of the text.
3621         This implementation contains a 'branch list editor' in a separate
3622         tab of the document settings dialog. Branches are user definable
3623         and have a "display colour" to distinguish them on-screen.
3624
3625         ColorHandler was somewhat cleaned up.
3626         (1) make possible a dynamically growing LColor list by allowing
3627         the graphic context cache to grow along (vector);
3628         (2) eliminate an IMHO unnecessary step in colour allocation.
3629
3630 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3631
3632         * BufferView_pimpl.C: compile fix
3633
3634 2003-08-15  André Pönitz  <poenitz@gmx.net>
3635
3636         * rowpainter.C: remove extra metrics calls
3637
3638         * lyxtext.h: merge the two constructors into a single one,
3639           pass reference to owner's par list
3640
3641         * BufferView_pimpl.C:
3642         * text.C:
3643         * text2.C: adjust
3644
3645 2003-08-15  André Pönitz  <poenitz@gmx.net>
3646
3647         * lyxrow_funcs.[Ch]:
3648         * lyxtext.h:
3649         * paragraph.h:
3650         * paragraph_funcs.C:
3651         * rowpainter.C:
3652         * text.C:
3653         * text2.C:
3654         * text3.C:
3655         * text_funcs.C: split LyXText::rowlist_ into individual
3656         Paragraph::rows_ chunks
3657
3658         * BufferView.[Ch]:
3659         * BufferView_pimpl.[Ch]:
3660         * lyxfind.C:
3661         * lyxtext.h:
3662         * text3.C: remove toggleSelection()
3663
3664 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3665
3666         * bufferlist.C: beautify two alerts (shorter text of buttons)
3667         * buffer.C: Remove redundant ' ' from message
3668         * tabular.h:
3669         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3670         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3671         rename VALIGN_CENTER to VALIGN_MIDDLE
3672
3673 2003-08-11  André Pönitz  <poenitz@gmx.net>
3674
3675         * lyxtext.h (getPar):
3676         * text.C: new function
3677
3678 2003-08-11  André Pönitz  <poenitz@gmx.net>
3679
3680         * Makefile.am:
3681         * tracer.[Ch]: remove unneeded files
3682
3683         * InsetList.[Ch]: remove resizeInsetsLyXText()
3684
3685         * lyxtext.h:
3686         * text.C:
3687         * text2.C:
3688         * text3.C: merge insertParagraphs() and appendParagraph()
3689         remove breakAgain(), update()
3690
3691         * BufferView_pimpl.[Ch]:
3692         * bufferview_funcs.[Ch]:
3693         * lyxfunc.C:
3694         * paragraph.[Ch]:
3695         * rowpainter.C:
3696         * tabular.C: adjust after text & InsetList changes.
3697
3698 2003-08-08  André Pönitz  <poenitz@gmx.net>
3699
3700         * text.C (insertChar, backspace): replace rowlist fiddling
3701         with rebreak of full par
3702
3703         * lyxtext.h:
3704         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3705         checkParagraph, updateInset): removed
3706
3707 2003-08-07  André Pönitz  <poenitz@gmx.net>
3708
3709         * paragraph.C:
3710         * text3.C: merge some LFUN handlers, remove dead code
3711
3712 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3713
3714         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3715
3716 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3717
3718         * text2.C (DEPM): fix part of bug 1255 and 1256
3719
3720 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3721
3722         * BufferView_pimpl.C (workAreaDispatch): change to use
3723         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3724         that are no mouse related.
3725
3726 2003-08-05  André Pönitz  <poenitz@gmx.net>
3727
3728         * BufferView.[Ch]:
3729         * BufferView_pimpl.[Ch]:
3730         * bufferview_funcs.C:
3731         * text2.C:
3732         * text3.C: rip out "deep update"
3733
3734         * textcursor.[Ch] (last_sel_cursor): remove unused member
3735
3736 2003-08-04  André Pönitz  <poenitz@gmx.net>
3737
3738         * BufferView.[Ch]:
3739         * BufferView_pimpl.[Ch]:
3740         * ParagraphParameters.C:
3741         * bufferview_funcs.C:
3742         * lyx_cb.C:
3743         * lyxfind.C:
3744         * lyxfunc.C:
3745         * text.C:
3746         * text2.C:
3747         * text3.C: replace "complicated" BufferView::update(...) calls with
3748         simpler ones.
3749
3750         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3751
3752 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3753
3754         * Makefile.am (lyx_SOURCES): add paper.h
3755
3756 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3757
3758         * Makefile.am: move things around so that both lyx-qt and
3759         lyx-xforms can be built (according to --with-frontend). Then lyx
3760         is a symbolic link to lyx-[firstfrontend]
3761
3762 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3763
3764         * Always use std::endl with lyxerr
3765
3766 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3767
3768         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3769
3770 2003-08-01  André Pönitz  <poenitz@gmx.net>
3771
3772         * BufferView.[Ch]:
3773         * BufferView_pimpl.[Ch]:
3774         * lyxfunc.C:
3775         * text3.C: merge BufferView::repaint() and BufferView::update()
3776
3777 2003-08-01  José Matos  <jamatos@lyx.org>
3778
3779         * buffer.[Ch]: file_format is no longer a buffer data element.
3780
3781 2003-08-01  André Pönitz  <poenitz@gmx.net>
3782
3783         * BufferView.C:
3784         * lyxtext.h:
3785         * text.C:
3786         * text2.C: make redoParagraph more independent of current cursor
3787
3788         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3789         * text.C:
3790         * text2.C: remove unneeded members
3791
3792 2003-07-30  André Pönitz  <poenitz@gmx.net>
3793
3794         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3795
3796         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3797           create a single function...
3798
3799         * paragraph_funcs.C (moveItem): ... here.
3800
3801         * text.C:
3802           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3803
3804 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * LColor.[Ch]: Add comment and greyedout logical colors.
3807
3808 2003-07-30  André Pönitz  <poenitz@gmx.net>
3809
3810         * tabular.C: don't use Assert too heavily. This crashes where it
3811           shouldn't
3812
3813 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3816         is disabled (bug 1232)
3817
3818 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * factory.C: limited 'arg' scope
3821
3822 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * factory.C: fixed Note submenu issues
3825
3826 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * factory.C: submenu for Note/Comment/Greyedout
3829
3830 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3831
3832         * lyx_main.C (LyX):
3833         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3834
3835 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3836
3837         * LaTeXFeatures.C:
3838         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3839         greyedout. Patch provided by Jürgen Spitzmüller.
3840
3841 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3842
3843         * kbmap.C (read): fix error message when reading bind files
3844
3845 2003-07-29  Angus Leeming  <leeming@lyx.org>
3846
3847         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3848         certainly does not do what it purports to do. I am doing it, and
3849         us, a favour by killing it.
3850
3851 2003-07-28  José Matos  <jamatos@lyx.org>
3852
3853         * buffer.C (readBody, do_writeFile):
3854         * paragraph.C(readParagraph): \end_document replaces \the_end.
3855
3856 2003-07-29  André Pönitz  <poenitz@gmx.net>
3857
3858         * BufferView.[Ch]:
3859         * BufferView_pimpl.[Ch]:
3860         * lyxfunc.C:
3861         * text2.C:
3862         * text3.C:
3863         * textcursor.[Ch]: remove toggleToggle & Co
3864
3865 2003-07-28  José Matos  <jamatos@fep.up.pt>
3866
3867         * buffer.C (readParagraph):
3868         * params_func (readParToken, readParagraph):
3869         * paragraph.C (write): \layout -> \begin_layout.
3870
3871 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * lyxlex_pimpl.C (setFile): clean up slightly.
3874
3875         * bufferparams.h: add compressed var
3876
3877         * buffer_funcs.C (readFile): adjust for LyXLex change
3878         (newFile): ditto + simplify
3879
3880         * buffer.C (writeFile): handle writing of compressed files
3881
3882         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3883         Check if the file is compressed and set a bufferparm if so.
3884
3885         * Makefile.am (lyx_LDADD): remove explicit -lz
3886
3887 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3888
3889         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3890         makeDocBookFile): put the real LyX version in the first line of
3891         the file
3892
3893         * version.h:
3894         * version.C.in: remove lyx_docversion
3895
3896         * tabular.C (write_attribute): add a template-based version to
3897         write enums properly
3898
3899 2003-07-28  André Pönitz  <poenitz@gmx.net>
3900
3901         * lyxtext.h:
3902         * text.C:
3903         * text2.C:
3904         * text3.C: use doubles again for x-coordinates. They are needed.
3905
3906 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * messages.C (getLocaleDir): use lyx_localedir()
3909
3910         * lyxlex_pimpl.C (setFile): compress stuff
3911
3912         * buffer.C (writeFile): add some compression stuff
3913         (do_writeFile): new func, dont call expliti close... will this
3914         breake anything?
3915
3916         * Makefile.am (lyx_LDADD): add -lz
3917
3918 2003-07-28  José Matos  <jamatos@fep.up.pt>
3919
3920         * buffer.C: increment file format.
3921         * paragraph_funcs (readParagraph, readParToken):
3922         * paragraph.C (readParagraph): add \end_layout.
3923
3924 2003-07-27  Angus Leeming  <leeming@lyx.org>
3925
3926         * Makefile.am: remove special casing for configure-time setting of
3927         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3928
3929         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3930         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3931
3932 2003-07-26  André Pönitz  <poenitz@gmx.net>
3933
3934         * paragraph_func.[Ch]:
3935         * paragraph.C (realizeFont): inline it whereever it is used
3936
3937         * rowpainter.C:
3938         * text.C:
3939         * text2.C:
3940         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3941
3942
3943 2003-07-26  André Pönitz  <poenitz@gmx.net>
3944
3945         *       lyxtext.h:
3946         * text.C:
3947         * text2.C: get rid of LyXText::need_break_row
3948
3949 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * toc.[Ch]: put namespace toc inside namespace lyx
3952
3953         * MenuBackend.C (expandToc2): adjust for lyx::toc
3954         (expandToc): ditto
3955
3956         * lyxfunc.C (dispatch): adjust for lyx::find
3957
3958         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3959         lyx::find instead. Reorganize a bit.
3960         (LyXReplace): rename to replace
3961         (LyXFind): rename to find
3962
3963         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3964         (dispatch): ditto
3965
3966 2003-07-26  André Pönitz  <poenitz@gmx.net>
3967
3968         * text.C (setHeightOfRow): restrict scope of temporary variable
3969
3970         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3971           code (never has been used?)
3972
3973 2003-07-27  Asger Alstrup  <alstrup@local>
3974
3975         * text.C (fill): Optimise algorithm to exploit that we can reuse
3976         the LyXFont for many characters.
3977         (setHeightOfRow): Same thing.
3978         (rowBreakPoint): Same thing.
3979
3980 2003-07-26  Asger Alstrup  <alstrup@local>
3981
3982         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3983
3984         * text.C (singleWidth): Spurious font copying in hot-spot
3985         singleWidth avoided. Reorder tests for arabic for efficiency.
3986
3987         * text.C (fill): handle empty paragraphs better.
3988
3989 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3990
3991         * ispell.C:
3992         * encoding.h: add includes
3993
3994         * lyxrc.C: remove reading of bind files
3995
3996         * lyx_main.C (init): setup bindings and menus only if we have a
3997         gui.
3998
3999         * kbmap.C (read): new method. Do the actual reading of bind
4000         files.
4001
4002         * converter.C (dvipdfm_options):
4003         * bufferparams.C:
4004         * lyxrc.C (read):
4005         (output): adapt PAPER_* enums.
4006
4007         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4008
4009         * bufferparams.h: remove paper-related enums from there
4010
4011         * paper.h: New file. A trivial header file to hold paper-related
4012         enums. It should later expand to contain many paper-related
4013         horrors access.
4014
4015         * lyxrc.C: declare extern displayTranslator
4016
4017 2003-07-27  José Matos  <jamatos@fep.up.pt>
4018
4019         * tabular.[Ch] (linuxdoc): add support for tables and figures
4020         (linuxdoc).
4021
4022 2003-07-27  José Matos  <jamatos@fep.up.pt>
4023
4024         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4025         consistency in both functions.
4026         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4027
4028 2003-07-26  Asger Alstrup  <alstrup@local>
4029
4030         * rowpainter.C (paintRows): Change algorithm to work directly on
4031         the insets rather than asking every character in the document
4032         whether its an inset.
4033
4034 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * buffer.C (openFileWrite): factorize some code
4037
4038 2003-07-26  Angus Leeming  <leeming@lyx.org>
4039
4040         * lyx_cb.C:
4041         * lyx_main.[Ch]: replace occurances of system_tempdir with
4042         os::getTmpDir().
4043
4044 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * rename Inset to InsetOld
4047
4048 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4049
4050         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4051         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4052         which I think is a bit clearer. EDIT is gone, since it was
4053         premature optimisation, and broken for mathed anyway.
4054         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4055         with cursor positioning in insets as well (math insets still do not
4056         work, but that's a different story anyway.) It mysteriously
4057         crashes sometimes with undo in the first paragraph, but I'm fairly
4058         confident that this is a compiler bug.
4059
4060 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * paragraph.C (Paragraph): adjust for new clone return type
4063         (operator==): ditto
4064         (copyIntoMinibuffer): ditto
4065
4066 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4067
4068         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4069         by not having a special case, and always doing a full rebreak of
4070         the document after undo.
4071
4072 2003-07-23  Angus Leeming  <leeming@lyx.org>
4073
4074         * factory.C (createInset): InsetExternal::setParams now takes a
4075         Buffer const * arg.
4076
4077 2003-07-23  Angus Leeming  <leeming@lyx.org>
4078
4079         * factory.C (createInset): changed interface to the external and
4080         graphics mailers' string2params functions.
4081
4082 2003-07-23  Angus Leeming  <leeming@lyx.org>
4083
4084         * factory.C (createInset): pass a
4085         Buffer const * parameter to InsetExternalMailer's string2params.
4086
4087 2003-07-22  John Levon  <levon@movementarian.org>
4088
4089         * Thesaurus.h: include the right aiksaurus header
4090
4091 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4092
4093         * MenuBackend.C (expand): check menu shortcuts unconditionally
4094
4095 2003-07-21  Angus Leeming  <leeming@lyx.org>
4096
4097         * factory.C (createInset): pass a
4098         buffer_path parameter to InsetGraphicsMailer's string2params.
4099
4100 2003-07-21  Angus Leeming  <leeming@lyx.org>
4101
4102         * BufferView_pimpl.C (buffer):
4103         * buffer.C (d-tor):
4104         * lyx_main.C (LyX):
4105         * lyxfunc.C (dispatch):
4106         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4107         rather than the grfx shortcut.
4108
4109 2003-07-21  André Pönitz  <poenitz@gmx.net>
4110
4111         * rowpainter.C: remove unused variables
4112
4113         * tabular_funcs.C:
4114         * tabular_funcs.h: move to tabular.C
4115         * Makefile.am: adjust
4116
4117         * tabular.[Ch]: basic optical cleaning
4118
4119         * author.h: pass references, not values
4120
4121 2003-07-18  André Pönitz  <poenitz@gmx.net>
4122
4123         * lyxtext.h:
4124         * metricsinfo.C:
4125         * metricsinfo.h:
4126         * rowpainter.C:
4127         * text.C:
4128         * text2.C:
4129         * text3.C: two-phase drawing for InsetText and InsetTabular
4130         some float -> int changes.
4131
4132 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * lyx_main.C: fix the fix
4135
4136 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4137
4138         * lyx_main.C: fix a crash in batch mode if no files specified
4139         * converter.C: ws
4140
4141 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * format.[Ch] (papersize): moved to BufferParams
4144         * converter.[Ch] (dvips_options): moved to BufferParams
4145         (dvipdfm_options): moved to anon namespace
4146         * bufferparams.[Ch]: added above functions.
4147
4148 2003-07-17  André Pönitz  <poenitz@gmx.net>
4149
4150         * lyxtext.h:
4151         * rowpainter.C:
4152         * text2.C: don't call inset->update() anymore
4153
4154         * metricsinfo.[Ch]: add convenience constructor
4155
4156 2003-07-16  André Pönitz  <poenitz@gmx.net>
4157
4158         * lyxcursor.[Ch]:
4159         * lyxfunc.[Ch]:
4160         * text.C:
4161         * text2.C: replace the LyXCursor::irow_ member with
4162          on-demand computation of the value
4163
4164 2003-07-16  John Levon  <levon@movementarian.org>
4165
4166         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4167
4168 2003-07-15  André Pönitz  <poenitz@gmx.net>
4169
4170         * text.C:
4171         * text2.C: remove no more needed refresh_row
4172
4173 2003-07-15  André Pönitz  <poenitz@gmx.net>
4174
4175         * lyxtext.h:
4176         * rowpainter.C:
4177         * text2.C:
4178         * text3.C: refresh_status tristate -> need_update bool
4179
4180 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * lyxtext.h (init): remove reinit argument (act as if always true)
4183         * text2.C: adjust to that
4184
4185 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4186
4187         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4188         * text3.C: use it to delete selections in some cases
4189         (bugs 441, 673, 702, 954).
4190
4191 2003-07-14  André Pönitz  <poenitz@gmx.net>
4192
4193         * rowpainter.[Ch]: reduce interface
4194
4195 2003-07-14  André Pönitz  <poenitz@gmx.net>
4196
4197         * BufferView_pimpl.C:
4198         * text2.C: adjust after removing unused BufferView * argument
4199
4200 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * text2.C (init): fix a crash fired on resize
4203
4204 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4205
4206         * buffer.[Ch]: added new closing signal
4207         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4208         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4209         BufferView::Pimpl via the closing the signal
4210
4211 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * buffer.[Ch]: take out all bv-related from buffer
4214         * BufferView.C:
4215         * BufferView_pimpl.[Ch]: connect to new signals
4216         * CutAndPaste.C: removed useless asserts
4217         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4218         * lyxvc.[Ch]:
4219         * vc-backend.[Ch]:
4220         * lyxfunc.C: moved view-related funciontality from vc here
4221         * paragraph.C: removed outdated comments
4222         * text.C: ws
4223
4224 2003-07-10  André Pönitz  <poenitz@gmx.net>
4225
4226         * BufferView_pimpl.C:
4227         * tabular.h:
4228         * tabular_funcs.C:
4229         * text.C:
4230         * text2.C: remove InsetText::InnerCache, clean up consequences
4231
4232 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4233
4234         * ispell.C: fix two typos in error messages
4235
4236 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * Extend Note inset to other forms of annotation like Comment
4239         and Greyedout. Right button click gives dialog.
4240
4241         Files modified or added (+):
4242
4243         * insetnote.[Ch]
4244         * FormNote.[Ch]      +
4245         * ControlNote.[Ch]   +
4246         * form_note.fd       +
4247         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4248         frontends/controllers
4249         * xforms/Dialogs.C
4250         * factory.C
4251
4252 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4253
4254         * aspell.C: add missing namespace lyx::support
4255
4256 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * BufferView.[Ch] (newFile): Add
4259         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4260         * LaTeX.[Ch] (message): added this signal and use it
4261         * buffer.[Ch] (busy, message): added these signals and use them
4262         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4263         * converter.C:
4264         * exporter.C:
4265         * format.C:
4266         * importer.C: use buffer signals instead of direct bv calling
4267         * lyx_cb.[Ch] (ShowMessage): removed
4268         * lyx_main.C:
4269         * lyxfunc.C:
4270         * paragraph_funcs.C:
4271         * text2.C: use buffer signals
4272
4273 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * introduce namespace lyx::graphics
4276
4277 2003-07-02  André Pönitz  <poenitz@gmx.net>
4278
4279         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4280
4281 2003-07-01  André Pönitz  <poenitz@gmx.net>
4282
4283         * text.C:
4284         * text2.C:
4285         * text3.C:
4286         * text_funcs.[Ch]:
4287         * textcursor.h:
4288         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4289           text*.C to text_func.C
4290
4291 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * introduce namespace lyx::support
4294
4295 2003-06-30  André Pönitz  <poenitz@gmx.net>
4296
4297         * Chktex.C:
4298         * funcrequest.C:
4299         * lyxtext.h:
4300         * text.C: re-enable --with-included-string
4301
4302 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * textcursor.C: add <config.h>
4305
4306         * text.C (getWord): remove const from word_location arg
4307
4308         * lyxvc.C (getLogFile): fix const type order
4309
4310         * lyxtext.h: remove const from word_location arg, add arg name
4311
4312         * lyxlayout.h: currect type on labeltype.
4313
4314         * importer.C: correct \file
4315
4316         * converter.C (intToFormat): use std:: on ret val, ws changes
4317
4318         * bufferlist.h: correct \file
4319
4320         * buffer.C (makeLinuxDocFile): fix const type order
4321         (makeDocBookFile): ditto
4322         (fillWithBibKeys): use std:: on stdlib args.
4323
4324         * CutAndPaste.C: fix authors.
4325         (availableSelections): use std:: on return vector
4326
4327 2003-06-27  André Pönitz  <poenitz@gmx.net>
4328
4329         * BufferView_pimpl.C:
4330         * bufferview_funcs.C:
4331         * lyxcursor.C:
4332         * lyxcursor.h:
4333         * lyxfunc.C:
4334         * lyxtext.h:
4335         * rowpainter.C:
4336         * text.C:
4337         * text2.C:
4338         * text3.C: remove LyXCursor::row_ member
4339
4340         * lyxtext.h:
4341         * text.C: rename fullRebreak() to partialRebreak() and implement
4342           a fullRebreak() that really bereks fully
4343
4344         * textcursor.h: new struct for cursor-related data
4345
4346 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4347
4348         * lyx_main.C (LyX): get full path of document loaded on the
4349         command line
4350
4351 2003-06-26  André Pönitz  <poenitz@gmx.net>
4352
4353         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4354           remove unused/broken operator>,<,>=.
4355
4356         *       text.C: remove only use of broken operator<= in an Assert().
4357
4358 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4359
4360         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4361         moved errorlist_.clear to showErrorList
4362
4363 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4364
4365         * converter.C (scanLog, runLaTeX):
4366         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4367         move the bv->showErrorList call to the callers
4368         * lyxfunc.C: i.e. here...
4369         * text2.C: and here
4370         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4371         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4372         namespace, the second to...
4373         * buffer_funcs (BufferFormat, parseErrors): added
4374         * errorlist.C (ErrorList(TeXErrors const &)): removed
4375
4376 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4377
4378         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4379
4380 2003-06-24  "Garst R. Reese" <reese@isn.net>
4381
4382         * debug.C: fix typo
4383
4384 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4385
4386         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4387
4388         * version.C.in: change docversion to 1.4
4389
4390 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * buffer.C: fix a bug just introduced
4393
4394 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * buffer.[Ch]: added the parseError signal and use it, removed
4397         sgmlError
4398         * BufferView.[Ch] (addError): moved to ...
4399         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4400         to the Buffer::parseError signal to catch (guess what) parse errors
4401         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4402
4403 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4406         ability to create a buffer and to return an existing one from
4407         the list. Moved these functions to...
4408         * buffer_funcs.[Ch]: added
4409         * BufferView.[Ch] (loadLyXFile): added
4410         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4411         job removed from bufferlist::loadLyXFile.
4412         * buffer.C (setReadOnly): make it work without view
4413         (i.e added an if (users))
4414
4415 2003-06-19  Angus Leeming  <leeming@lyx.org>
4416
4417         * lfuns.h:
4418         * LyXAction.C (init):
4419         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4420         with LFUN_DIALOG_SHOW <name> <data>.
4421
4422 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4423
4424         * CutAndPaste.C (availableSelections): small compilation fix for
4425         ancient (gcc 2.9x) compilers
4426
4427 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * text3.C (cursorNext): add tmp var
4430
4431         * text2.C (updateCounters): for function calling out of for clause
4432         (replaceSelectionWithString): ditto
4433         (insertStringAsParagraphs): ditto
4434         (getColumnNearX): add tmp var
4435         (setCursorFromCoordinates): add tmp var
4436         (cursorDownParagraph): add tmp var
4437         (deleteEmptyParagraphMechanism): add tmp var
4438
4439         * text.C (insertChar): add tmp var
4440
4441         * rowpainter.C (paintDepthBar): add tmp var
4442
4443         * CutAndPaste.C (availableSelections): potentially check all
4444         paragraphs in a cut to fill the shown strings.
4445
4446 2003-06-18  André Pönitz  <poenitz@gmx.net>
4447
4448         * kbmap.[Ch]: use vector<> instead of list<>
4449
4450 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4451
4452         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4453         pasteSelection with index
4454
4455         * text2.C (pasteSelection): modify, call pasteSelection with index
4456
4457         * paragraph.C (asString): reimplement version with no interval to
4458         call the one with interval.
4459
4460         * lyxtext.h: add index arg to pasteSelection
4461
4462         * MenuBackend.C (MenuItem): handle PasteRecent
4463         (Menu::read::Menutags): add md_pasterecent
4464         (read): handle it
4465         (expandPasteRecent): new function
4466         (expand): use it
4467
4468         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4469
4470         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4471         the limited stack
4472         (availableSelections): new function
4473
4474 2003-06-17  Angus Leeming  <leeming@lyx.org>
4475
4476         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4477
4478 2003-06-17  Angus Leeming  <leeming@lyx.org>
4479
4480         * lfuns.h:
4481         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4482
4483         * lyxfunc.C (dispatch): invoke it.
4484
4485 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4486
4487         * iterators.C (operator++, ParPosition): reintroduce some
4488         const_cast for the benefit of older compilers.
4489
4490 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4491
4492         * text3.C (dispatch): do not modify clipboard when doing
4493         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4494         LFUN_DELETE_SKIP on a selection selection
4495
4496 2003-06-16  André Pönitz  <poenitz@gmx.net>
4497
4498         * BufferView.C:
4499         * buffer.C:
4500         * buffer.h:
4501         * paragraph.C:
4502         * tabular.[Ch]: IU of clone() and getLabelList();
4503
4504 2003-06-13  André Pönitz  <poenitz@gmx.net>
4505
4506         * tabular.h: compactification
4507
4508 2003-06-12  André Pönitz  <poenitz@gmx.net>
4509
4510         * tabular.C:
4511         * tabular.h:
4512         * tabular_funcs.h: some renaming plus whitespace
4513
4514 2003-06-12  André Pönitz  <poenitz@gmx.net>
4515
4516         * BufferView.C:
4517         * BufferView_pimpl.C:
4518         * CutAndPaste.C:
4519         * buffer.C:
4520         * iterators.[Ch]:
4521         * lyxfunc.C:
4522         * text.C:
4523         * toc.C: Return a Paragraph & for ParIterator::operator*()
4524
4525 2003-06-11  John Levon  <levon@movementarian.org>
4526
4527         * lyx_main.C:
4528         * ToolbarBackend.h:
4529         * ToolbarBackend.C: add "Toolbars" section and
4530         put the flags there
4531
4532 2003-06-10  Angus Leeming  <leeming@lyx.org>
4533
4534         * lfuns.h:
4535         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4536
4537         * lyxfunc.C (dispatch): invoke it.
4538
4539 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * main.C: protect <ios> with HAVE_IOS
4542         (main): protect sync_with_stdio with HAVE_IOS
4543
4544 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4545
4546         * text2.C (cutSelection): adjust
4547         (pasteSelection): adjust
4548
4549         * messages.C: handle get of empty string
4550
4551         * main.C (main): use sync_with_stdio(false)
4552
4553         * lyxfunc.C (dispatch): adjust
4554
4555         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4556         (WriteAs): remove unneeded BufferView arg.
4557
4558         * bufferparams.h: use correct types on papersize, papersize2 and
4559         paperpackage.
4560
4561         * bufferparams.C (readToken): adjust for type
4562         (writeLaTeX): add missing cases to switch.
4563
4564         * bufferlist.C (quitWriteBuffer): adjust
4565         (close): adjust
4566
4567         * buffer.C (asciiParagraph): remove some commented code.
4568
4569         * CutAndPaste.C: remove current_view extern variable.
4570         (cutSelection): add BufferParams arg.
4571         (eraseSelection): add BufferParams arg.
4572         (pasteSelection): add Buffer const & arg
4573
4574 2003-06-07  John Levon  <levon@movementarian.org>
4575
4576         * buffer.C:
4577         * paragraph_funcs.C:
4578         * paragraph_pimpl.C:
4579         * text.C:
4580         * text2.C:
4581         * paragraph.h:
4582         * paragraph.C: allow InsetERT to freely space lines,
4583         and some consolidation of code
4584
4585 2003-06-06  José Matos  <jamatos@fep.up.pt>
4586
4587         * buffer.C (makeDocBookFile): fix bug #821
4588
4589 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4592
4593 2003-06-04  Angus Leeming  <leeming@lyx.org>
4594
4595         * buffer.C: bump format to 224.
4596
4597 2003-06-05  André Pönitz  <poenitz@gmx.net>
4598
4599         * text2.C (redoParagraphs): remove two const_cast<>
4600
4601 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4602
4603         * ParagraphList.h: remove last remnants of NO_STD_LIST
4604
4605 2003-06-03  Angus Leeming  <leeming@lyx.org>
4606
4607         * factory.C (createInset): small change to the way InsetExternal's params
4608         are set.
4609
4610 2003-06-04  André Pönitz  <poenitz@gmx.net>
4611
4612         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4613
4614         * paragraph_pimpl.h:
4615         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4616
4617         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4618
4619         * undo_funcs.C: make some simple cases of undo work again
4620
4621 2003-06-03  John Levon  <levon@movementarian.org>
4622
4623         * ispell.C: HPUX doesn't have sys/select.h
4624         (from Albert Chin)
4625
4626 2003-06-03  John Levon  <levon@movementarian.org>
4627
4628         * CutAndPaste.C: update tabular and include inset
4629         buffer references
4630
4631         * buffer.h:
4632         * paragraph.h:
4633         * paragraph.C: remove owningBuffer(), don't pass Buffer
4634         to clone()
4635
4636         * factory.C: insetGraphicsParams changed
4637
4638 2003-06-02  John Levon  <levon@movementarian.org>
4639
4640         * LyXAction.C:
4641         * factory.C:
4642         * lfuns.h:
4643         * lyxfunc.C:
4644         * text3.C: remove insetparent
4645
4646 2003-06-02  John Levon  <levon@movementarian.org>
4647
4648         * buffer.h:
4649         * buffer.C: fix inset_iterator.end(), move out of line
4650         (bug 1149)
4651
4652 2003-06-01  John Levon  <levon@movementarian.org>
4653
4654         * text3.C: use a proper cut/paste when doing inset
4655         insert (from Jürgen Spitzmüller)
4656
4657 2003-06-01  John Levon  <levon@movementarian.org>
4658
4659         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4660
4661 2003-05-30  André Pönitz  <poenitz@gmx.net>
4662
4663         * rowpainter.C: unify second drawing phase
4664
4665 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * trans_mgr.C: remove one case of current_view
4668
4669         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4670
4671         * paragraph_funcs.h: remove paragraph.h include
4672
4673         * paragraph.h: delete NO_STD_LIST stuff
4674
4675         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4676
4677         * buffer.h: remove paragraph.h include
4678
4679         * ParagraphList.C: delete file
4680
4681         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4682
4683         * toc.C (getTocList): adjust
4684
4685         * paragraph_pimpl.C (validate): adjust
4686
4687         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4688
4689         * paragraph.C (Paragraph): adjust
4690         (getPositionOfInset): use const_iterator, adjust
4691         (bibitem): use const_iterator, adjust
4692         (setInsetOwner): adjust
4693
4694         * iterators.C (operator++): adjust
4695
4696         * InsetList.[Ch]: Replace selfmade iterator with standard
4697         vector::iterator also introduce const_iterator. Remove getPos,
4698         getInset and setInset from InsetTable. Adjust accordingly.
4699
4700         * BufferView.C (lockInset): adjust
4701         (ChangeInsets): adjust
4702
4703         * tabular.[Ch]: delete commented same_id functions
4704
4705 2003-05-28  John Levon  <levon@movementarian.org>
4706
4707         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4708
4709 2003-05-28  André Pönitz  <poenitz@gmx.net>
4710
4711         * metricsinfo.[Ch]: remove 'fullredraw' member
4712
4713 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4714
4715         * lyxtextclass.C (operator): remove caching.
4716
4717 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * text3.C: adjust
4720
4721         * text2.C (cursorBottom): adjust
4722         (setCounter): use ParagraphList::find, adjust
4723
4724         * text.C (workWidth): use ParagraphList::find, adjust
4725
4726         * lyxcursor.C (LyXCursor): adjust
4727
4728         * buffer.C (inset_iterator): adjust
4729
4730         * ParagraphList.h: make iterator(value_type) private, make
4731         ParagraphList a friend of iterator.
4732
4733         * ParagraphList.C (find): new function
4734
4735         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4736
4737 2003-05-27  André Pönitz  <poenitz@gmx.net>
4738
4739         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4740
4741 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4742
4743         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4744
4745 2003-05-26  John Levon  <levon@movementarian.org>
4746
4747         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4748
4749 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * remove same_id from function signatures, adjust.
4752
4753 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4756
4757         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4758
4759         * paragraph.C (Paragraph): get rid of same_ids parameter
4760
4761         * ParagraphList.C (insert): adjust
4762         (push_back): adjust
4763
4764 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * paragraph_funcs.C (breakParagraph): adjust
4767         (breakParagraphConservative): adjust
4768
4769         * buffer.C (readParagraph): adjust
4770
4771         * ParagraphList.C (insert): take a reference instead of a pointer
4772         (insert): adjust
4773
4774         * paragraph.[Ch] (id): new function
4775
4776         * bufferlist.C (newFile): adjust
4777
4778         * ParagraphList.C (ParagraphList): adjust
4779         (assign): adjust
4780         (push_back): take a reference instead of a pointer.
4781
4782         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4783
4784         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4785         instead.
4786
4787         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4788         set else use old code.
4789
4790         * ParagraphList.C: remove all NO_NEXT code and only compile this
4791         code of NO_STD_LIST is set.
4792
4793 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4794
4795         * BufferView_pimpl.C:
4796         * TextCache.C:
4797         * TextCache.h:
4798         * bufferlist.C:
4799         * errorlist.h:
4800         * format.C:
4801         * format.h:
4802         * graph.C:
4803         * lyxfunc.C:
4804         * lyxrc.C:
4805         * graphics/GraphicsConverter.C:
4806         * graphics/PreviewLoader.C: header adjustment
4807
4808 2003-05-23  Angus Leeming  <leeming@lyx.org>
4809
4810         * LaTeXFeatures.[Ch] (useBabel): new method.
4811         * bufferparams.C (writeLaTeX): use it.
4812
4813 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * ParagraphList.h (set): remove unused function.
4816
4817 2003-05-23  André Pönitz  <poenitz@gmx.net>
4818
4819         * BufferView.C:
4820         * BufferView_pimpl.C:
4821         * buffer.C:
4822         * buffer.h:
4823         * lyxfunc.C:
4824         * undo_funcs.C: setUndo reworked
4825
4826         * iterators.[Ch]: add access to topmost ParagraphList
4827
4828         * lyxtext.[Ch] (workWidth): add a const
4829
4830 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * texrow.[Ch] (increasePos): remove function
4833         * exporter.C (export): removed unused var and outdated comment
4834
4835 2003-05-23  Angus Leeming  <leeming@lyx.org>
4836
4837         * latexrunparams.h: rename fragile as moving_arg.
4838         * paragraph.C (simpleTeXOnePar): ditto.
4839         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4840
4841 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4844         (createUndo): ditto
4845         (textUndoOrRedo): comment out a currently unused var.
4846
4847         * paragraph.h (NO_NEXT): enable NO_NEXT
4848
4849         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4850
4851         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4852
4853         * exporter.C (Export): adjust for removeAutoInsets removal.
4854
4855         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4856
4857         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4858
4859         * BufferView.[Ch] (removeAutoInsets): delete function
4860
4861 2003-05-22  Angus Leeming  <leeming@lyx.org>
4862
4863         * latexrunparams.h: add a free_spacing variable.
4864
4865         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4866         to pass moving_arg, as the data is stored in runparams.fragile.
4867
4868         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4869         to Inset::latexOptional or to simpleTeXOnePar.
4870
4871         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4872         free_spacing arg to Inset::latexOptional.
4873
4874         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4875         free_spacing arg.
4876
4877 2003-05-22  Angus Leeming  <leeming@lyx.org>
4878
4879         * latexrunparams.h: add fragile and use_babel variables.
4880
4881         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4882         * buffer.C (makeLaTeXFile): store this returned value in
4883         runparams.use_babel, thus passing it to the inset::latex methods.
4884
4885         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4886         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4887
4888         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4889         longer has a fragile arg, as it is stored in runparams.fragile.
4890
4891         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4892         moving_arg parameter as the data is stored in runparams.fragile.
4893
4894         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4895         a fragile parameter as the data is stored in runparams.fragile.
4896
4897 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4900
4901 2003-05-22  Angus Leeming  <leeming@lyx.org>
4902
4903         * latexrunparams.h: add a 'bool nice' which defaults to false.
4904
4905         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4906         now encapsulated within runparams.
4907
4908         * bufferlist.C (updateIncludedTeXfiles):
4909         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4910
4911 2003-05-22  Angus Leeming  <leeming@lyx.org>
4912
4913         * latexrunparams.h: new file containing struct LatexRunParams.
4914         * Makefile.am: add new file.
4915
4916         * LaTeX.[Ch] (c-tor, run):
4917         * buffer.[Ch] (makeLaTeXFile):
4918         * bufferlist.[Ch] (updateIncludedTeXfiles):
4919         * converter.C (convert, scanLog):
4920         * converter.[Ch] (runLaTeX):
4921         * exporter.C (Export):
4922         * paragraph.[Ch] (simpleTeXOnePar):
4923         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4924         * paragraph_funcs.[Ch] (latexParagraphs):
4925         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4926         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4927         pass around a LatexRunParams parameter.
4928
4929 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * paragraph.[Ch]: remove unused constructor
4932
4933         * ParagraphList.C (erase): new function, taking two iterators
4934
4935 2003-05-22  André Pönitz  <poenitz@gmx.net>
4936
4937         * undo_funcs.C: remove duplicated code
4938
4939         * iterator.[Ch]: operator=
4940
4941 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * tabular.C (SetMultiColumn): ws changes
4944
4945         * rowpainter.C (paintFirst): get rid of a ->previous
4946
4947         * lyx_cb.C (getPossibleLabel): parlist simplification
4948
4949         * BufferView.C (ChangeInsets): simplify slightly.
4950
4951 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4952
4953         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4954         * lfuns.h: new LFUN_SPACE
4955         * lyxfunc.C: protected space has a new lfun
4956         * paragraph_funcs.C: read new space insets
4957         * text3.C:
4958         * factory.C: handle new space insets
4959
4960 2003-05-22  André Pönitz  <poenitz@gmx.net>
4961
4962         * BufferView.C:
4963         * BufferView_pimpl.C:
4964         * buffer.[Ch]:
4965         * lyxfunc.C:
4966         * undo_funcs.C: return a ParIterator from getParFromID.
4967
4968         * iterators.[Ch]: add two const's
4969
4970 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * toc.C (getTocList): adjust
4973
4974         * iterators.[Ch]: rework for parlist
4975
4976         * buffer.C (par_iterator_begin): adjust
4977         (par_iterator_end): adjust
4978
4979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4980
4981         * BufferView.C (removeAutoInsets): adjust
4982         (ChangeInsets): adjust
4983
4984 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * text.C (top_y): fix bug 1110
4987
4988 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * errorlist.[Ch]: added
4991         * buffer.C:
4992         * BufferView.[Ch]:
4993         * BufferView_pimpl.C:
4994         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4995         instead
4996
4997 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * Makefile.am: ensure that lyx is relinked upon changes to the
5000         various "convenience" libs.
5001
5002 2003-05-20  Angus Leeming  <leeming@lyx.org>
5003
5004         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5005         files are compiled in alphabetical order again.
5006
5007         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5008
5009 2003-05-19  Angus Leeming  <leeming@lyx.org>
5010
5011         * gettext.[Ch]: remove "char const * _(char const *)".
5012
5013 2003-05-19  André Pönitz  <poenitz@gmx.net>
5014
5015         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5016
5017         * Makefile.am:
5018         * BufferView.C:
5019         * DepTable.h:
5020         * LaTeXFeatures.C:
5021         * buffer.C:
5022         * lyxfont.C:
5023         * lyxlex.h:
5024         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5025
5026 2003-05-19  André Pönitz  <poenitz@gmx.net>
5027
5028         * buffer.C:
5029         * lyxlayout.[Ch]:
5030         * lyxtextclass.[Ch]:
5031         * paragraph.C:
5032         * paragraph_funcs.[Ch]:
5033         * text2.C:
5034         * text3.C: more insetenv work
5035
5036 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * ParagraphParameters.C (params2string): small bug fixed
5039
5040 2003-05-16  André Pönitz  <poenitz@gmx.net>
5041
5042         * debug.C:
5043         * bufferview_funcs.C: patch from Kornel Benko to prevent
5044           crash when _(...) is called twice in a statement
5045
5046 2003-05-16  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView.C:
5049         * lyxfunc.C:
5050         * text.C:
5051         * text2.C:
5052         * text3.C:
5053         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5054
5055 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * lyx_main.C (init): remove spurious static_cast
5058
5059 2003-05-14  André Pönitz  <poenitz@gmx.net>
5060
5061         * BufferView.C: fix format string
5062
5063 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * BufferView.[Ch] (insertErrors): removed
5066         * BufferView.[Ch] (showErrorList): added
5067         * buffer.C (runChkTeX):
5068         * converter.C (scanLog): call showErrorList instead of inserterrors
5069
5070 2003-05-13  André Pönitz  <poenitz@gmx.net>
5071
5072         * BufferView_pimpl.C:
5073         * buffer.C:
5074         * bufferview_func.C:
5075         * MenuBackend.C:
5076         * lyxfunc.C:
5077         * lyxrc.C:
5078         * tex-accent.C:
5079         * text3.C:
5080         * toc.C:
5081         * tabular_funcs.h: tostr() from its own header
5082
5083         * ParagraphParameters.C:
5084         * ToolbarBackend.C:
5085         * bufferparams.C:
5086         * format.C:
5087         * lyxlex_pimpl.C:
5088         * text3.C: STRCONV()
5089
5090 2003-05-12  André Pönitz  <poenitz@gmx.net>
5091
5092         * BufferView.C:
5093         * BufferView_pimpl.C:
5094         * CutAndPaste.C:
5095         * LaTeX.C:
5096         * LaTeXFeatures.C:
5097         * ParagraphParameters.C:
5098         * buffer.C:
5099         * bufferlist.C:
5100         * bufferparams.C:
5101         * bufferview_funcs.C:
5102         * converter.C:
5103         * counters.C:
5104         * debug.C:
5105         * exporter.C:
5106         * format.C:
5107         * importer.C:
5108         * lyx_cb.C:
5109         * lyx_main.C:
5110         * lyxfont.C:
5111         * lyxfunc.C:
5112         * lyxvc.C:
5113         * paragraph.C:
5114         * paragraph_funcs.C:
5115         * tabular.C:
5116         * tabular_funcs.C:
5117         * text2.C:
5118         * text3.C:  boost::format -> bformat  all over the place
5119
5120
5121 2003-05-09  André Pönitz  <poenitz@gmx.net>
5122
5123         * LColor.[Ch]: Pimpl the #include <map> away
5124
5125 2003-05-09  John Levon  <levon@movementarian.org>
5126
5127         * bufferlist.C: never remove emergency saves
5128
5129 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * Makefile.am: better lib building
5132
5133 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5136         instead.
5137         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5138         (simpleTeXSpecialChars): adjust
5139         (simpleTeXSpecialChars): adjust
5140         * paragraph.C (simpleTeXOnePar): adjust
5141         * buffer.C (makeLaTeXFile): adjust
5142
5143         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5144
5145         * text2.C (changeDepth): parlist cleanup
5146         (getColumnNearX): ditto
5147
5148         * rowpainter.C (getLabelFont): parlist cleanup
5149
5150         * bufferlist.C (newFile): parlist cleanup
5151
5152         * CutAndPaste.C (eraseSelection): parlist cleanup
5153
5154         * BufferView_pimpl.C (trackChanges): parlist cleanup
5155         (dispatch): ditto
5156
5157         * BufferView.C (lockInset): parlist cleanup.
5158         (ChangeInsets): ditto
5159
5160 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * CutAndPaste.h: Update file header.
5163
5164         * CutAndPaste.C: Update file header.
5165         Store the parts cut out of the Document in a limited_stack.
5166         (copySelection): adjust
5167         (pasteSelection): new function, takes the index in the limited stack.
5168         (nrOfParagraphs): adjust
5169         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5170         simplify error inset insertion.
5171         (checkPastePossible): adjust
5172
5173 2003-05-06  John Levon  <levon@movementarian.org>
5174
5175         * text2.C: don't cast wrap inset to float
5176
5177 2003-05-05  André Pönitz  <poenitz@gmx.net>
5178
5179         * iterator.C:
5180         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5181
5182         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5183           few naked Paragraph *.
5184
5185 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5186
5187         * bufferparams.C: Output warning if a document with missing
5188         TeX document class is loaded
5189         * exporter.C: Disable TeX exports if the document class is missing
5190         * lyxtextclass.C:
5191         * lyxtextclass.h:
5192         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5193         isTeXClassAvailable()
5194
5195 2003-05-03  John Levon  <levon@movementarian.org>
5196
5197         * BufferView.h:
5198         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5199         explicit cursor show/hide
5200
5201         * BufferView_pimpl.h:
5202         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5203         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5204
5205         * lyxfunc.C: hide cursor before dispatching.
5206
5207         * lyx_cb.C:
5208         * lyxfind.C:
5209         * text.C:
5210         * text3.C: remove explicit cursor hides
5211
5212 2003-05-02  André Pönitz  <poenitz@gmx.net>
5213
5214         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5215
5216         * undo_funcs.C:
5217         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5218           linked lists
5219
5220         * text2.C: tiny whitespace
5221
5222 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * undo_funcs.C: almost only ws changes.
5225
5226         * ParagraphList.C (splice): just return if pl is empty.
5227
5228 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * ParagraphList.C (splice): new function.
5231
5232         * CutAndPaste.C (pasteSelection): use it
5233
5234 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * CutAndPaste.C (pasteSelection): remove the last next and
5237         previous from this file.
5238
5239 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * CutAndPaste.C (pasteSelection): more clean up, user proper
5242         ParagraphList functions for pasteing.
5243
5244         * ParagraphList.C (insert): new function, three arg insert
5245
5246 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * ParagraphList.C (insert): new function, three arg insert
5249
5250         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5251         not on paragraphs.
5252
5253 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5256
5257 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5260
5261 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5264         (copySelection): clean up a bit.
5265         (pasteSelection): use make_pair
5266
5267         * ParagraphList.C (ParagraphList): implement copy constructor
5268         (operator=): implement, base on copy constructor.
5269         (assign): new func
5270
5271         * paragraph.C (erase): return a bool
5272
5273         * paragraph_pimpl.C (erasePos): remove function, move contents...
5274         (erase): ... here. Return a bool.
5275         (erase): call erase instead of erasePos.
5276
5277 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * ParagraphList.h: define PitPosPair
5280         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5281         ParagraphList, fix a bug on pasting multiple pars
5282         * text2.C: change interface to C&P
5283
5284 2003-04-30  André Pönitz  <poenitz@gmx.net>
5285
5286         * undo_func.C: revert part of yesterday's patch 2
5287
5288 2003-04-30  John Levon  <levon@movementarian.org>
5289
5290         * LColor.C: s/tabular/table/
5291
5292 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * text3.C (dispatch): do not convert iterator -> pointer
5295         * undo_funcs.C (setCursorParUndo): ditto
5296         * text_funcs.C (transposeChars): ditto
5297
5298         * text2.C (setLayout): ws changes only
5299
5300         * text.C (breakParagraph): do not convert iterator -> pointer
5301         (insertChar): ditto
5302         (acceptChange): ditto
5303         (rejectChange): ditto
5304         (changeCase): ditto
5305         (Delete): ditto
5306         (backspace): ditto
5307
5308         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5309         pointer
5310
5311 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * text3.C (gotoInset): YABG (yet another bad getChar)
5314
5315 2003-04-29  André Pönitz  <poenitz@gmx.net>
5316
5317         * paragraph.h: make operator= private unimplemented as long as
5318           it is unusable
5319
5320         * ParagraphList.C: whitespace
5321
5322         * paragraph.[Ch]:
5323         * paragraph_pimpl.[Ch]:
5324         * paragraph_funcs.C:
5325         * CutAndPaste.C:
5326         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5327
5328         * text2.C:
5329           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5330
5331 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5334         * paragraph.[Ch] (erase):
5335         * paragraph_pimpl.[Ch] (erase): change return type and value
5336         * text2.C (cutSelection): some rework
5337
5338 2003-04-28  John Levon  <levon@movementarian.org>
5339
5340         * bufferlist.C: changes for unsaved changes dialog
5341
5342 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * bufferlist.C (newFile): set language (messages_) for new
5345         documents also.
5346
5347         * buffer.C (readFile): ws changes only.
5348
5349 2003-04-28  André Pönitz  <poenitz@gmx.net>
5350
5351         * undo_funcs.C:
5352         * lyxfunc.C:
5353         * buffer.[Ch]:
5354         * BufferView_pimpl.C:
5355         * BufferView.C: getParFromID related ParagraphList::iterator changes
5356
5357 2003-04-28  André Pönitz  <poenitz@gmx.net>
5358
5359         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5360           Changes
5361
5362 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * messages.C: remove one more localedir class variable.
5365
5366 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * messages.C (getLocaleDir): singleton generation function
5369         (Pimpl): use it.
5370         (Messages): add a default constructor.
5371
5372         * main.C (main): do not setup localedir here, do not call
5373         gettext_init.
5374
5375         * gettext.C (_): use it.
5376         (gettext_init): delete funciton
5377
5378 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * gettext.C (getLyXMessages): new singleton generating function.
5381
5382         * buffer.C (updateDocLang): adjust
5383
5384         * Makefile.am (messages.o): add target
5385         (main.o): remove target
5386
5387 2003-04-27  John Levon  <levon@movementarian.org>
5388
5389         * bufferlist.C:
5390         * lyx_cb.C:
5391         * lyxfunc.C:
5392         * lyxvc.C: specify cancel button in Alert::prompt
5393
5394 2003-04-26  John Levon  <levon@movementarian.org>
5395
5396         * text3.C:
5397         * lyxfunc.C:
5398         * lfuns.h:
5399         * LyXAction.C: add LFUN_INSET_SETTINGS
5400
5401         * lyxfunc.C: don't enable tabular-feature when there's
5402         just any locking inset
5403
5404 2003-04-26  John Levon  <levon@movementarian.org>
5405
5406         * bufferlist.C: re-add Cancel to buffer close question
5407
5408         * lyxfunc.C: fix import UI a bit
5409
5410 2003-04-25  John Levon  <levon@movementarian.org>
5411
5412         * gettext.C: remove the broken asserts for now
5413
5414 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * messages.C: make case where setlocale cannot comply work better.
5417
5418         * buffer.C (updateDocLang): new function
5419         (changeLanguage): use it
5420         (readFile): use it
5421
5422         * text2.C (setCounter): use B_ a bit.
5423
5424         * lyxlayout.C (Read): be sure to trim the label strings.
5425
5426         * messages.C (Messages): fix typo in comment
5427
5428         * buffer.C (readFile): set message_ after file is loaded.
5429         (makeDocBookFile): remove double return
5430         (changeLanguage): reset message_ upon language change.
5431         (B_): new func, use this to get translated buffer strings.
5432
5433         * main.C: add myself and Jean Marc as authors.
5434
5435 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * messages.[hC]: pimplify Messages, and three different pimpls to be
5438         used in different circumstances.
5439
5440         * gettext.[Ch]: change for use with new message code.
5441
5442 2003-04-24 André Pönitz <poenitz@gmx.net>
5443
5444         * factory.C: support for eqref
5445
5446 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * messages.[Ch]: add missing char
5449
5450         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5451
5452         * messages.[Ch]: New files
5453
5454 2003-04-18  John Levon  <levon@movementarian.org>
5455
5456         * BufferView.h:
5457         * BufferView.C:
5458         * BufferView_pimpl.C:
5459         * lfuns.h:
5460         * LyXAction.C:
5461         * lyxtext.h:
5462         * text2.C: remove layout-copy/paste (bug 778)
5463
5464 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5465
5466         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5467
5468 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5469
5470         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5471         if they succeed. Act accordingly.
5472
5473 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * text2.C (setCharFont): adjust
5476         (setCounter): adjust
5477         (insertStringAsLines): adjust
5478
5479         * text.C (leftMargin): adjust
5480         (setHeightOfRow): adjust
5481
5482         * rowpainter.C (paintFirst): adjust
5483         (paintLast): adjust
5484
5485         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5486         (outerHook): ditto
5487         (isFirstInSequence): ditto
5488         (getEndLabel): ditto
5489         (outerFont): adjust
5490
5491         * paragraph.C (getParLanguage): comment out some hard stuff.
5492
5493         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5494         (sgmlError): ditto
5495         (simpleDocBookOnePar): ditto
5496         (makeDocBookFile): use ParagraphList::iterator
5497
5498         * CutAndPaste.C (pasteSelection): adjust
5499
5500 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * text2.C (getFont): adjust
5503         (getLayoutFont): adjust
5504         (getLabelFont): adjust
5505
5506         * paragraph_funcs.C (TeXOnePar): adjust
5507
5508         * buffer.C (simpleLinuxDocOnePar): adjust
5509         (simpleDocBookOnePar): adjust
5510
5511         * CutAndPaste.C (pasteSelection): adjust
5512
5513         * BufferView.C (getEncoding): adjust
5514
5515         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5516
5517 2003-04-16  John Levon  <levon@movementarian.org>
5518
5519         * lyxfind.C: use parlist stuff for search/changes
5520
5521 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5524
5525         * text2.C (deleteEmptyParagraphMechanism): adjust
5526
5527         * text2.[Ch] (ownerParagraph): delete func (both of them
5528
5529 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5532
5533 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * ParagraphList.C: prepare for NO_NEXT
5536
5537 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * text2.C (getFont): adjust
5540         (getLayoutFont): adjust
5541         (getLabelFont): adjust
5542
5543         * paragraph.C (getFont): adjust
5544         (getLabelFont): adjust
5545         (getLayoutFont): adjust
5546
5547         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5548
5549 2003-04-15  John Levon  <levon@movementarian.org>
5550
5551         From Angus Leeming
5552
5553         * lyx_main.C: handle Include in .ui files
5554
5555 2003-04-15  John Levon  <levon@movementarian.org>
5556
5557         * MenuBackend.C: make the doc files length shorter
5558
5559         * ToolbarBackend.h:
5560         * ToolbarBackend.C: handle toolbar placement flags,
5561         Minibuffer
5562
5563 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5566         adjust
5567
5568         * paragraph_funcs.C (TeXOnePar): adjust
5569
5570         * paragraph.C (getLabelFont): add outerfont arg, adjust
5571         (getLayoutFont): ditto
5572         (simpleTeXOnePar): adjust
5573
5574         * paragraph_pimpl.C (realizeFont): delete func
5575
5576 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5579         row argument, constify cur argument.
5580
5581 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * text2.C (getFont): adjust
5584         (getLayoutFont): adjust
5585         (getLabelFont): adjust
5586
5587         * paragraph_funcs.C (TeXOnePar): adjust
5588         (outerFont): new func...
5589         (realizeFont): ...moved out from here, changed this to facilitate
5590         transition
5591
5592         * paragraph.C (getFont): take outerfont as arg, adjust
5593         (simpleTeXOnePar): add outerfont arg, adjust
5594
5595         * buffer.C (simpleLinuxDocOnePar): adjust
5596         (simpleDocBookOnePar): adjust
5597
5598         * CutAndPaste.C (pasteSelection): adjust
5599
5600         * BufferView.C (getEncoding): adjust
5601
5602 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * text2.C (setCharFont): adjust
5605         (setCounter): adjust
5606
5607         * text.C (leftMargin): adjust
5608         (setHeightOfRow): adjust
5609
5610         * rowpainter.C (paintFirst): adjust
5611         (paintLast): adjust
5612
5613         * paragraph_pimpl.C (realizeFont): adjust
5614
5615         * paragraph.C (isFirstInSequence): move from here...
5616         * paragraph_funcs.C (isFirstInSequence): ...to here
5617
5618         * paragraph.C (outerHook): move from here...
5619         * paragraph_funcs.C (outerHook): ...to here
5620
5621         * paragraph.C (depthHook): move from here...
5622         * paragraph_funcs.C (depthHook): ...to here
5623
5624         * paragraph.C (getEndLabel): move from here...
5625         * paragraph_funcs.C (getEndLabel): ...to here
5626
5627         * text2.C (realizeFont): move from here...
5628         * paragraph_funcs.C (realizeFont): ...to here
5629
5630 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5633
5634 2003-04-14  Angus Leeming  <leeming@lyx.org>
5635
5636         * LColor.[Ch]: scrap LColor mathcursor.
5637
5638 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * lyxlex.[Ch] (text): delete function
5641         * trans.C (Load): adjust
5642         * paragraph_funcs.C (readParToken): adjust
5643
5644 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5647         vector<char> instead of a char[].
5648
5649         * lyxlex_pimpl.C (getString): adjust
5650         (next): adjust
5651         (lex): use getString
5652         (eatLine): adjust
5653         (nextToken): adjust
5654
5655         * lyxlex.C (text): use pimpl_->getString()
5656         (getBool): ditto
5657         (findToken): ditto
5658
5659 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5662         (makeFontEntriesLayoutSpecific): temp var for par.size()
5663         (setLayout): temp var for ownerParagraphs().end()
5664         (fullRebreak): temp var for rows().end()
5665         (selectionAsString): temp var for boost::next(startpit), realize
5666         that the while really is a regular for loop.
5667         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5668         setCursor in one place.
5669         (setParagraph): temp vr for ownerParagraphs().end()
5670         (updateCounters): make the while loop a for loop
5671         (cutSelection): temp var for ownerParagraphs().end()
5672         (updateInset): make the do {} while() a regular for loop
5673         (getCursorX): use temp vars
5674         (setCurrentFont): use temp vars
5675         (getColumnNearX): use temp vars
5676
5677 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * text.C (transformChar): use temp var for getChar
5680         (computeBidiTables): use temp var for row->par()
5681         (fill): move temp vars for row->par() and pit->layout() earlier in
5682         the function.
5683         (labelFill): use temp var for row->par()
5684         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5685         asc and desc, realize that pit never changes and that firstpit is
5686         just a duplicate and not needed. Exchange rit->par() with pit in a
5687         lot of places.
5688         (breakAgain): use a temp var for boost::next(rit)
5689         (breakAgainOneRow): ditto
5690         (breakParagraph): use a temp var for rows().begin()
5691         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5692         (cursorRightOneWord): use temp var for cursor.par() and
5693         cursor.pos(), remove usage of tmpcursor.
5694         (cursorLeftOneWord): use temp var for cursor.par() and
5695         cursor.pos() only set cur at end of function.
5696
5697 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * text.C, text2.C: exchange all usage of Paragraph::next with
5700         boost::next(ParagraphList::iterator)
5701
5702         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5703
5704         * text2.C (cursorTop): simplify implementation
5705         (cursorBottom): ditto
5706         (setParagraph): use ParagraphList::iterator
5707         (setCurrentFont): adjust
5708         (getColumnNearX): adjust
5709         (cursorRight): adjust
5710         (cursorLeft): remove usage of Paragraph::previous
5711         (cursorUpParagraph): ditto
5712         (deleteEmptyParagraphMechanism): slight cleanup
5713
5714         * text.C (isBoundary): take a Paragraph const & instead of a
5715         pointer as arg.
5716         (addressBreakPoint): ditto
5717         (leftMargin): remove usage of Paragraph::previous.
5718         (setHeightOfRow): ditto
5719         (cursorLeftOneWord): ditto
5720         (selectNextWordToSpellcheck): ditto
5721         (Delete): ditto
5722         (backspace): ditto
5723         (breakParagraph): remove one usage of Paragraph::next
5724         (redoParagraph): ditto
5725         (acceptChange): ditto
5726         (insertChar): adjust
5727         (rowBreakPoint): adjust
5728
5729         * bufferview_funcs.C (toggleAndShow): adjust
5730
5731 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5732
5733         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5734         methods to access it.
5735         * lyxtext.h:
5736         * text.C: Added updateRowPositions to compute all row positions.
5737         Make top_y and getRowNearY() to use the cached y position
5738
5739 2003-04-11  John Levon  <levon@movementarian.org>
5740
5741         * text.C (rowBreakPoint): reintroduce the labelEnd
5742         checks, code copied from the row fill stuff. Deep voodoo.
5743
5744         * text.C (fill): add a comment and debugging for the
5745         next poor soul.
5746
5747 2003-04-11  John Levon  <levon@movementarian.org>
5748
5749         * text.C: make sure fullrow insets get wrapped to the next line,
5750         even when they're in a manual label
5751
5752 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * text2.C (insertParagraph): make it take ParagraphList::iterator
5755         as arg.
5756         (setLayout): make it return ParagraphList::iterator
5757         (redoParagraphs): ditto
5758         (setCounter): ditto
5759         (checkParagraph): ditto
5760
5761         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5762
5763         * text2.C: adjust several funcs.
5764         (realizeFont): take a ParagraphList::iterator as arg.
5765         (getLayoutFont): ditto
5766         (getLabelFont): ditto
5767         (setCharFont): ditto
5768
5769         * text.C: adjust several funcs.
5770
5771 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5772
5773         * text.C (selectNextWordToSpellcheck): don't accidentally
5774         skip insets
5775
5776 2003-04-10  John Levon  <levon@movementarian.org>
5777
5778         * ToolbarBackend.C (getIcon): special handling for
5779         LFUN_MATH_DELIM
5780
5781 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * text2.C (cursorRight): a getChar assert fixed
5784
5785 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * text2.C (getFont): change to take a ParagraphList::iterator
5788         instead of Paragraph*
5789         Adjust several functions.
5790
5791         * text.C (transformChar): change to take a ParagraphList::iterator
5792         instead of Paragraph*
5793         (singleWidth): ditto
5794         Adjust several functions.
5795
5796         * rowpainter.C: adjust several functions
5797         * rowpainter.h:store a ParagraphList::iterator and not a
5798         Paragraph&.
5799
5800
5801 2003-04-09  John Levon  <levon@movementarian.org>
5802
5803         * lyxfunc.C:
5804         * lfuns.h:
5805         * LyXAction.h:
5806         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5807         and the "help" bits as well
5808
5809 2003-04-09  John Levon  <levon@movementarian.org>
5810
5811         * ToolbarBackend.h:
5812         * ToolbarBackend.C: allow multiple toolbars
5813
5814 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * undo_funcs.C (setCursorParUndo): adjust
5817
5818         * text_funcs.C (transposeChars): adjust
5819
5820         * text3.C (gotoNextInset): adjust
5821         (dispatch): adjust
5822
5823         * text2.C (setLayout): adjust
5824         (changeDepth): adjust
5825         (setFont): adjust
5826         (redoParagraphs): adjust
5827         (selectionAsString): adjust
5828         (setParagraph): adjust
5829         (insertInset): adjust
5830         (cutSelection): adjust
5831         (copySelection): adjust
5832         (pasteSelection): adjust
5833         (insertStringAsLines): adjust
5834         (updateInset): adjust
5835         (setCursor): change to take a ParagraphList::iterator parameter
5836         (setCursorIntern): change to take a ParagraphList::iterator parameter
5837         (setCurrentFont): adjust
5838         (cursorLeft): adjust
5839         (cursorRight): adjust
5840         (deleteEmptyParagraphMechanism): adjust
5841
5842         * text.C (breakParagraph): adjust
5843         (insertChar): adjust
5844         (acceptChange): adjust
5845         (rejectChange): adjust
5846         (selectNextWordToSpellcheck): adjust
5847         (changeCase): adjust
5848         (Delete): adjust
5849         (backspace): adjust
5850
5851         * lyxfind.C (SearchForward): adjust
5852         (SearchBackward): adjust
5853         (nextChange): adjust
5854
5855         * lyxcursor.C (par): adjust
5856
5857         * lyxcursor.h: store a ParagraphList::iterator instead of a
5858         Paragraph*
5859
5860         * lyx_cb.C (getPossibleLabel): adjust
5861
5862         * bufferview_funcs.C (toggleAndShow): adjust
5863
5864         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5865         (dispatch): adjust
5866
5867         * BufferView.C (removeAutoInsets): adjust
5868         (lockedInsetStoreUndo): adjust
5869
5870 2003-04-09  John Levon  <levon@movementarian.org>
5871
5872         * ToolbarBackend.C: try icon without argument
5873         if with argument fails
5874
5875 2003-04-08  John Levon  <levon@movementarian.org>
5876
5877         * ToolbarBackend.h:
5878         * ToolbarBackend.C: add getIcon(), handle tooltip,
5879         and change from "Icon" to "Item".
5880
5881 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * BufferView.C (lockInset): another bad getchar crunched
5884
5885 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5886
5887         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5888         again)
5889
5890 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * lyxfind.C (searchForward, searchBackwards): bug 782
5893
5894 2003-04-07  John Levon  <levon@movementarian.org>
5895
5896         * paragraph.C: remove dead comment
5897
5898         * text.C: remove troublesome depth-fiddling code
5899         in leftMargin() and rightMargin() (bug 1017)
5900
5901         * text.C: fix breaking of rows in nested lists
5902         (bug 1004)
5903
5904         * text2.C (updateCounters): fix up depth values
5905         (bug 1013)
5906
5907 2003-04-07  John Levon  <levon@movementarian.org>
5908
5909         * BufferView_pimpl.C: clear message when doc finishes resizing,
5910         and after a mouse event
5911
5912         * lyxfunc.C: clear message after exiting inset
5913
5914 2003-04-07  John Levon  <levon@movementarian.org>
5915
5916         * bufferview_funcs.C: show math status not outside
5917         status in the statusbar
5918
5919 2003-04-07  John Levon  <levon@movementarian.org>
5920
5921         * lyxfunc.C: note status changed after a depth change
5922
5923 2003-04-04  Angus Leeming  <leeming@lyx.org>
5924
5925         * LaTeX.h: move AuxInfo operator==, != out of line.
5926         Remove LaTeX virtual destructor; nothing derives from it.
5927         Move operator()() out of public area and rename it startscript().
5928         Change protected for private.
5929
5930 2003-04-04  Angus Leeming  <leeming@lyx.org>
5931
5932         * lyxfunc.C:
5933         * text2.C: remove unneeded #includes.
5934
5935 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * text2.C (dEPM): fix the heigth of the next row
5938
5939 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * text.C: squashed an invalid getChar requester + some ws changes
5942
5943 2003-04-03  John Levon  <levon@movementarian.org>
5944
5945         * bufferview_funcs.h:
5946         * bufferview_funcs.C:
5947         * lyxfunc.C:
5948         * lyxtext.h:
5949         * text2.C: make getStatus work for the env depth lfuns
5950
5951 2003-04-03  John Levon  <levon@movementarian.org>
5952
5953         * bufferview_funcs.h:
5954         * bufferview_funcs.C:
5955         * lyxfunc.C:
5956         * lyxtext.h:
5957         * text2.C: parlistize decDepth(), by merging it with incDepth()
5958
5959 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * lyxrow.h: store a ParagraphList::iterator instead of a
5962         Paragraph* and adjust other class functions to suit.
5963
5964         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5965         above.
5966
5967 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5968
5969         * text2.C (setCursor): do not anchor to cursor row for the time being
5970
5971 2003-04-02  John Levon  <levon@movementarian.org>
5972
5973         * LyXAction.C:
5974         * lfuns.h:
5975         * lyx_main.C:
5976         * lyxtext.h:
5977         * text.C:
5978         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5979
5980 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * paragraph.h: make ParagraphList and ParagraphList::iterator
5983         friends of Paragraph.
5984
5985         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5986
5987         * ParagraphList.C: Use the private next_ and previous_ from
5988         Paragraph.
5989
5990 2003-04-01  John Levon  <levon@movementarian.org>
5991
5992         * ToolbarBackend.h:
5993         * ToolbarBackend.C:
5994         * Makefile.am: rename, remove defaults gunk
5995
5996         * MenuBackend.h:
5997         * MenuBackend.C: remove defaults gunk
5998
5999         * Languages.h:
6000         * Languages.C: remove defaults gunk
6001
6002         * lyx_main.h:
6003         * lyx_main.C: error out if files couldn't be found.
6004
6005 2003-04-02  John Levon  <levon@movementarian.org>
6006
6007         * text2.C: make incDepth() use parlist
6008
6009 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * undo_funcs.C (firstUndoParagraph): adjust
6012
6013         * text3.C (gotoInset): adjust
6014         (dispatch): adjust, and rewrite loop.
6015
6016         * text2.C (init): adjust, and rewrite loop.
6017         (redoParagraphs): adjust
6018         (updateInset): adjust, and rewrite loop.
6019         (deleteEmptyParagraphMechanism): adjust
6020
6021         * tabular.C (LyXTabular): adjust
6022         (SetMultiColumn): adjust
6023         (TeXRow): adjust
6024
6025         * lyxtext.[Ch] (ownerParagraph): delete function
6026         (ownerParagraphs): new function returns a ParagraphList.
6027
6028         * BufferView.C (removeAutoInsets): adjust
6029         (insertErrors): adjust
6030         (setCursorFromRow): adjust
6031
6032 2003-04-01  Angus Leeming  <leeming@lyx.org>
6033
6034         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6035         in the frontends.
6036
6037 2003-04-02  John Levon  <levon@movementarian.org>
6038
6039         * lyxtext.h:
6040         * text.C:
6041         * Makefile.am:
6042         * text_funcs.h:
6043         * text_funcs.C: make transposeChars a free function
6044
6045         * lyxrow_funcs.C: remove wrong comment
6046
6047 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * lyxtext.h: adjust
6050         * rowpainter.C: adjust
6051         * text.C: adjust
6052         * text2.C: adjust
6053         * text3.C: adjust
6054
6055         * lyxrow_funcs. [Ch]: new files
6056
6057         * lyxrow.[Ch]: remove next and previous pointers
6058         (next,previous): remove accessor functions
6059         (isParEnd): move to lyxrow_funcs
6060         (lastPos): move to lyxrow_funcs
6061         (nextRowIsAllInset): move to lyxrow_funcs
6062         (lastPrintablePos): move to lyxrow_funcs
6063         (numberOfSeparators): move to lyxrow_funcs
6064         (numberOfHfills): move to lyxrow_funcs
6065         (numberOfLabelHfills): move to lyxrow_funcs
6066         (hfillExpansion): move to lyxrow_funcs
6067
6068         * lyxfunc.C: adjust
6069
6070         * bufferview_funcs.C (toggleAndShow): adjust
6071
6072         * RowList.h: Remove class RowList from file leave just a
6073         std::list<Row>.
6074
6075         * RowList.C: delete file
6076
6077         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6078         and lyxrow_funcs.h
6079
6080 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * text3.C (cursorPrevious): adjust
6083         (cursorNext): adjust
6084         (dispatch): adjust
6085
6086         * text2.C (redoHeightOfParagraph): adjust
6087         (redoDrawingOfParagraph): adjust
6088         (setCursor): adjust
6089
6090         * text.C (breakParagraph): adjust
6091         (insertChar): adjust
6092         (backspace): adjust
6093
6094         * rowpainter.C (RowPainter): adjust
6095         (leftMargin): simplify and adjust
6096         (most rowpainter functions): adjust.
6097
6098         * rowpainter.h: store the row as RowList::iterator not as Row*
6099
6100         * lyxcursor.C (row): taka RowList::iterator as arg
6101         (irow): ditto
6102
6103         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6104         of Row*.
6105
6106 2003-04-01  Angus Leeming  <leeming@lyx.org>
6107
6108         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6109         stuff like bool Bool.
6110
6111 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6114         rewrite a loop
6115
6116 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6119         RowList::iterator.
6120
6121         * lyxtext.h (rows): drop one version and leve a const variant that
6122         returns a RowList::iterator.
6123
6124 2003-03-31  Angus Leeming  <leeming@lyx.org>
6125
6126         * text.C (fill): ensure that the signature is the same as that in the
6127         header file.
6128
6129 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * text2.C (redoParagraphs): adjust
6132         (updateCounters): adjust
6133         (checkParagraph): adjust
6134         (getColumnNearX): adjust and reformat a bit.
6135
6136         * text.C (top_y): adjust
6137         (workWidth): adjust
6138         (leftMargin): adjust
6139         (prepareToPrint): adjust
6140         (getRow): adjust
6141         (getRowNearY): adjust
6142
6143         * lyxtext.h: make rowlist_ mutable.
6144
6145         * RowList.h: add const_iterator
6146         * RowList.C: adjust for RowList::const_iterator.
6147
6148         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6149         adjust.
6150
6151 2003-03-31  John Levon  <levon@movementarian.org>
6152
6153         * lyxrc.h:
6154         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6155
6156         * lyx_main.C: set default fonts from using lyx_gui funcs
6157
6158         * exporter.C: pdf_mode moved from lyxrc
6159
6160         * lyx_cb.C:
6161         * lyxfunc.C: changes from above
6162
6163 2003-03-31  John Levon  <levon@movementarian.org>
6164
6165         * lyx_main.C: fix to the last fix
6166
6167 2003-03-31  John Levon  <levon@movementarian.org>
6168
6169         * bufferlist.C: "Load original" -> "Load Original"
6170
6171         * converter.C:
6172         * exporter.C:
6173         * importer.C:
6174         * lyx_main.C:
6175         * format.C: more Alert cleanups
6176
6177 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * text2.C (removeParagraph): make it take a RowList::iterator as
6180         arg, adjust.
6181         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6182         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6183
6184         * text.C (anchor_row): make it take a RowList::iterator as arg,
6185         adjust.
6186         (computeBidiTables): make it take a const reference to Row instead
6187         of Row pointer, adjust.
6188         (leftMargin): make it take a RowList::iterator as arg, adjust.
6189         (rowBreakPoint): adjust
6190         (breakAgainOneRow): make it take a RowList::iterator as arg,
6191         adjust.
6192         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6193
6194         * bufferview_funcs.C (toggleAndShow): adjust
6195
6196 2003-03-30  John Levon  <levon@movementarian.org>
6197
6198         * Makefile.am:
6199         * BoostFormat.h:
6200         * boost-inst.C: moved to support
6201
6202         * several files: changes as a result
6203
6204 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * text2.C (LyXText): adjust.
6207         (init): adjust
6208         (removeRow): make it take a RowList::iterator as arg, adjust.
6209         (fullRebreak): adjust
6210         (deleteEmptyParagraphMechanism): adjust
6211         (clearPaint): adjust
6212         (postPaint): adjust
6213
6214         * text.C (top_y): adjust
6215         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6216         (breakAgain): make it take a RowList::iterator as arg, adjust.
6217         (breakParagraph): adjust
6218         (insertChar): adjust
6219         (backspace): adjust
6220
6221         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6222         need_break_row, and refresh_row.
6223
6224         * text3.C (dispatch): adjust
6225
6226         * text2.C (checkParagraph): adjust
6227         (setCursor): adjust
6228         (setCursorFromCoordinates): adjust
6229
6230         * text.C (top_y): adjust
6231         (workWidth): adjust
6232         (getRow): make it return a RowList::iterator, adjust
6233         (getRowNearY): make it return a RowList::iterator, adjust
6234
6235         * text2.C (init): adjust
6236         (insertRow): remove function
6237         (insertParagraph): adjust
6238         (redoParagraphs): adjust
6239         (fullRebreak): adjust
6240         (updateCounters): adjust
6241
6242         * text.C (top_y): rewrite to use RowList iterators.
6243         (top_y): adjust
6244         (setHeightOfRow): rewrite to sue RowList iterators.
6245         (appendParagraph): adjust
6246         (breakAgain): adjust
6247         (breakAgainOneRow): adjust
6248         (breakParagraph): adjust
6249         (getRow): adjust
6250         (getRowNearY): adjust, and remove commented code.
6251
6252         * lyxtext.h (firstRow): delete function
6253         (lastRow): delete function
6254         (rows): new function (const and non-const versions.)
6255         (insertRow): delete function
6256
6257         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6258
6259 2003-03-29  John Levon  <levon@movementarian.org>
6260
6261         * BufferView_pimpl.C: always update scrollbar top
6262         because pasting text when we're anchored could mean we
6263         miss an update altogether
6264
6265 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * text2.C (init): use rowlist_.end() and not 0.
6268         (insertRow): change to take a RowList::iterator as arg, adjust
6269         for this.
6270         (insertParagraph): change to take a RowList::iterator as arg,
6271         adjust for this.
6272         (redoParagraphs): remove some debug msgs.
6273
6274         * text.C (appendParagraph): change to take a RowList::iterator
6275         arg, adjust for this.
6276         (breakAgain): add an assert
6277         (breakAgainOneRow): ditto
6278
6279 2003-03-29  John Levon  <levon@movementarian.org>
6280
6281         * text2.C: do not clear selection after inc/decDepth
6282         (bug 550)
6283
6284 2003-03-29  John Levon  <levon@movementarian.org>
6285
6286         * BufferView.C:
6287         * buffer.C: fix broken strerrors according to Lars
6288
6289 2003-03-29  John Levon  <levon@movementarian.org>
6290
6291         * converters.C: more Alert cleanups
6292
6293 2003-03-29  John Levon  <levon@movementarian.org>
6294
6295         * bufferview_funcs.C: remove pointless Alert
6296
6297         * buffer.C: fix confusing error message when
6298         a template is chmoded 000
6299
6300 2003-03-29  John Levon  <levon@movementarian.org>
6301
6302         * BufferView.C:
6303         * BufferView.h:
6304         * BufferView_pimpl.C: Alert fixes
6305
6306         * Makefile.am:
6307         * tabular.C:
6308         * tabular-old.C: remove unused table compat reading
6309
6310 2003-03-29  John Levon  <levon@movementarian.org>
6311
6312         * BufferView.C:
6313         * buffer.C:
6314         * lyx_cb.h:
6315         * lyx_cb.C: more Alert cleanups
6316
6317         * lyxfunc.C: don't allow chktex if not latex document
6318
6319 2003-03-29  John Levon  <levon@movementarian.org>
6320
6321         * lyx_cb.C:
6322         * BufferView.C:
6323         * buffer.C: warnings pushed down from support/,
6324         kill err_alert
6325
6326 2003-03-29  John Levon  <levon@movementarian.org>
6327
6328         * lyxfunc.C: safety check for C-r (revert)
6329
6330 2003-03-29  John Levon  <levon@movementarian.org>
6331
6332         * bufferlist.h:
6333         * bufferlist.C: several UI fixes using Alert::prompt.
6334         Fix the pointless looping quit code. Fix stupid revert
6335         behaviour (bug 938)
6336
6337         * lyxvc.h:
6338         * lyxvc.C:
6339         * lyx_cb.C: use Alert::prompt
6340
6341         * lyx_main.C: remove a silly question
6342
6343         * lyxfunc.C: remove a couple of silly questions,
6344         use Alert::prompt
6345
6346 2003-03-28  John Levon  <levon@movementarian.org>
6347
6348         * text2.C: fix bug 974 (End on empty par)
6349
6350 2003-03-28  John Levon  <levon@movementarian.org>
6351
6352         * BufferView_pimpl.C:
6353         * LyXAction.C:
6354         * lfuns.h: remove do-nothing math greek lfuns
6355
6356 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * lyxgluelength.h (isValidGlueLength): add default arg on
6359         parameter 2. Remove default arg from friend in class.
6360
6361         * lyxlength.h (isValidLength): add default arg on parameter 2.
6362         Remove default arg from friend in class.
6363
6364         * text2.C (LyXText): adjust, initialize refresh_row.
6365         (init): adjust
6366         (removeRow): adjust
6367         (insertRow): adjust
6368         (insertParagraph): adjst
6369         (redoParagraphs): adjust
6370         (fullRebreak): adjust
6371         (updateCounters): adjust
6372         (deleteEmptyParagraphMechanism): first attempt at fixing a
6373         crashing bug.
6374
6375         * text.C (top_y): adjust
6376         (setHeightOfRow): adjust
6377         (getRow): adjust
6378         (getRowNearY): adjust
6379
6380         * lyxtext.h: include RowList.h
6381         (~LyXText): not needed anymore, deleted.
6382         (firstRow): modify for RowList
6383         (lastRow): new function
6384         Delete firstrow and lastrow class variables, add a Rowlist
6385         rowlist_ class variable.
6386
6387         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6388         paragraph is empty.
6389
6390         * RowList.C (insert): fix case where it == begin().
6391
6392 2003-03-26  Angus Leeming  <leeming@lyx.org>
6393
6394         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6395         the thesaurus dialog.
6396
6397 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6400
6401         * RowList.[Ch]: new files
6402
6403         * ParagraphList.C (erase): handle the case where it == begin
6404         correctly.
6405
6406 2003-03-25  John Levon  <levon@movementarian.org>
6407
6408         * Makefile.am:
6409         * aspell_local.h:
6410         * aspell.C: add new aspell support
6411
6412         * lyxrc.h:
6413         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6414         have it accessible.
6415
6416 2003-03-25  Angus Leeming  <leeming@lyx.org>
6417
6418         * lfuns.h:
6419         * LyXAction.C (init): new LFUN_INSET_INSERT.
6420
6421         * BufferView_pimpl.C (dispatch): split out part of the
6422         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6423
6424         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6425         LFUN_INSET_APPLY.
6426
6427 2003-03-25  Angus Leeming  <leeming@lyx.org>
6428
6429         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6430
6431 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * text2.C:
6434         * text3.C: remove useless row->height(0)
6435
6436 2003-03-25  John Levon  <levon@movementarian.org>
6437
6438         * lyxtext.h:
6439         * text2.C:
6440         * text3.C: rename the refreshing stuff to better names
6441
6442 2003-03-24  John Levon  <levon@movementarian.org>
6443
6444         * BufferView_pimpl.h:
6445         * BufferView_pimpl.C: update layout choice on a mouse
6446         press/release
6447
6448 2003-03-23  John Levon  <levon@movementarian.org>
6449
6450         * Makefile.am: fix commandtags.h reference
6451
6452 2003-03-22  John Levon  <levon@movementarian.org>
6453
6454         * BufferView_pimpl.C:
6455         * lyxtext.h:
6456         * rowpainter.C:
6457         * rowpainter.h:
6458         * text.C:
6459         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6460
6461 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6462
6463         * lyxtext.h:
6464         * text.C: take the rtl methods out of line
6465
6466 2003-03-21 André Pönitz <poenitz@gmx.net>
6467
6468         * metricsinfo.[Ch]: new files containing structures to be passed around
6469         during the two-phase-drawing...
6470
6471 2003-03-21 André Pönitz <poenitz@gmx.net>
6472
6473         * lyxtextclass.C: read 'environment' tag.
6474
6475 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * text2.C (removeRow): fix bug 964
6478
6479 2003-03-20  John Levon  <levon@movementarian.org>
6480
6481         * rowpainter.C:
6482         * text.C:
6483         * text2.C: paint cleanups. Inset::update() dropped font
6484         parameter
6485
6486 2003-03-19  John Levon  <levon@movementarian.org>
6487
6488         * lyxfunc.C: only fitcursor/markDirty if available()
6489
6490 2003-03-19  John Levon  <levon@movementarian.org>
6491
6492         * commandtags.h: rename to ...
6493
6494         * lfuns.h: ... this, and renumber / cleanup
6495
6496 2003-03-19  John Levon  <levon@movementarian.org>
6497
6498         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6499         fit the cursor after an lfun
6500
6501         * BufferView.h:
6502         * BufferView.C:
6503         * BufferView_pimpl.h:
6504         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6505
6506         * LyXAction.C: layout-character should have ReadOnly
6507
6508         * ParagraphParameters.C:
6509         * buffer.C:
6510         * bufferview_funcs.C:
6511         * lyx_cb.C:
6512         * lyxfind.C:
6513         * lyxtext.h:
6514         * text.C:
6515         * text2.C:
6516         * text3.C:
6517         * undo_funcs.C: changes from above
6518
6519 2003-03-18  John Levon  <levon@movementarian.org>
6520
6521         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6522         remove it from update()
6523
6524         * lyxfunc.C: update layout choice after an lfun
6525
6526         * text3.C: remove extra updateLayoutChoice()s
6527
6528 2003-03-18  John Levon  <levon@movementarian.org>
6529
6530         * text.C: top_y change means full repaint, fix
6531         a drawing bug with cursor movement
6532
6533 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * lyxtext.h:
6536         * text.C:
6537         * text2.C: anchor row on setCursor
6538
6539 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * lyxtext.h: remove almost all mutable keywords
6542         * text.C:
6543         * text2.C:
6544         * text3.C: remove const keywords accordingly
6545
6546 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6549         anon namespace
6550         (TeXEnvironment): ditto
6551         (TeXOnePar): ditto
6552
6553 2003-03-17  John Levon  <levon@movementarian.org>
6554
6555         * text.C (rowBreakPoint): remove attempt to fix displayed
6556         math insets inside a manual label
6557
6558 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * lyxtext.h: remove BufferView* as first arg from almost all class
6561         functions.
6562         * other files: adjust.
6563
6564 2003-03-17  John Levon  <levon@movementarian.org>
6565
6566         * lyxtext.h:
6567         * undo_funcs.C:
6568         * text2.C: more paint cleanups
6569
6570         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6571
6572         * rowpainter.h:
6573         * rowpainter.C: remove "smart" background painting code
6574
6575 2003-03-16  John Levon  <levon@movementarian.org>
6576
6577         * lyxtext.h:
6578         * text.C:
6579         * text2.C:
6580         * text3.C: add helper functions for setting refresh_row/y
6581
6582 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6583
6584         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6585         newline inset which *can* get inserted in the pass_thru layouts.
6586         This is primarily for literate documents.
6587
6588 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6589
6590         * buffer.C: increment LYX_FORMAT to 223
6591
6592 2003-03-14 André Pönitz <poenitz@gmx.net>
6593
6594         * textclass.h: prepare for environment handling, ws changes
6595         * lyxlayout.C: read latexheader and latexfooter tags
6596
6597 2003-03-14  John Levon  <levon@movementarian.org>
6598
6599         * text2.C: rewrite ::status() a bit
6600
6601 2003-03-13  John Levon  <levon@movementarian.org>
6602
6603         * lyxtext.h: add some docs
6604
6605 2003-03-13  John Levon  <levon@movementarian.org>
6606
6607         * lyxtext.h:
6608         * text.C:
6609         * text2.C:
6610         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6611
6612 2003-03-13  John Levon  <levon@movementarian.org>
6613
6614         * text3.C: fix appendix redrawing
6615
6616 2003-03-13  John Levon  <levon@movementarian.org>
6617
6618         * text.C (setHeightOfRow):
6619         * rowpainter.h:
6620         * rowpainter.C: make appendix mark have the text
6621           "Appendix" so the user knows what it is
6622
6623         * LColor.h:
6624         * LColor.C: s/appendixline/appendix/ from above
6625
6626 2003-03-13  John Levon  <levon@movementarian.org>
6627
6628         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6629
6630         * text.C: fix a getChar(pos) bug properly
6631
6632 2003-03-13  Angus Leeming  <leeming@lyx.org>
6633
6634         * commandtags.h:
6635         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6636         Probably only temporary. Let's see how things pan out.
6637
6638         * BufferView.C (unlockInset):
6639         * BufferView_pimpl.C (fitCursor):
6640         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6641
6642         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6643         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6644
6645         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6646         new functions that convert ParagraphParameters to and from a string.
6647
6648         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6649         BufferView::Pimpl's dispatch.
6650         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6651
6652 2003-03-13 André Pönitz <poenitz@gmx.net>
6653
6654         * lyxfunc.C:
6655         * text3.C:
6656         * factory.C: make it aware of InsetEnv
6657
6658 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * text2.C (setCursor): never ask for one past last
6661         (setCursor): add some debugging messages.
6662
6663         * text.C (singleWidth): never ask for one past last
6664         (singleWidth): ditto
6665         (leftMargin): ditto
6666         (rightMargin): ditto
6667         (rowBreakPoint): ditto
6668         (setHeightOfRow): ditto
6669         (prepareToPrint): ditto
6670
6671         * rowpainter.C (paintBackground): never ask for one past last
6672         (paintText): never ask for one past last
6673
6674         * paragraph_pimpl.C (getChar): make the assert stricter, never
6675         allow the one past last pos to be taken
6676
6677         * paragraph.C (getChar): ws changes only
6678
6679         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6680         (numberOfSeparators): ditto
6681         (numberOfHfills): ditto
6682
6683 2003-03-12  John Levon  <levon@movementarian.org>
6684
6685         * author.h:
6686         * author.C:
6687         * bufferparams.h:
6688         * bufferparams.C:
6689         * paragraph_funcs.C: fix per-buffer authorlists
6690
6691 2003-03-12  John Levon  <levon@movementarian.org>
6692
6693         * text.C: fix newline in right address
6694
6695 2003-03-12  Angus Leeming  <leeming@lyx.org>
6696
6697         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6698         duplicate those in LyXFunc::dispatch.
6699
6700         * commandtags.h:
6701         * LyXAction.C:
6702         * ToolbarDefaults.C:
6703         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6704         Add LFUN_FONTFREE_UPDATE.
6705
6706         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6707         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6708
6709         * bufferview_func.[Ch]: several new functions to facilliate
6710         transfer of data to and from the character dialog.
6711
6712 2003-03-12  John Levon  <levon@movementarian.org>
6713
6714         * buffer.C:
6715         * paragraph.h:
6716         * paragraph.C:
6717         * paragraph_funcs.C:
6718         * paragraph_pimpl.C:
6719         * sgml.C:
6720         * tabular.C:
6721         * text.C:
6722         * text3.C: remove META_NEWLINE in favour of an inset
6723
6724         * rowpainter.h:
6725         * rowpainter.C: remove paintNewline (done by inset)
6726
6727 2003-03-12  John Levon  <levon@movementarian.org>
6728
6729         * paragraph_pimpl.C: complain about bad getChar()s
6730         for a while at least
6731
6732 2003-03-12  John Levon  <levon@movementarian.org>
6733
6734         * buffer.h:
6735         * buffer.C: move paragraph read into a separate function,
6736         a little renaming to reflect that.
6737
6738         * bufferparams.h:
6739         * bufferparams.C: remove the author_ids map, not necessary now
6740
6741         * factory.h:
6742         * factory.C: moved Buffer::readInset to here
6743
6744         * paragraph_funcs.h:
6745         * paragraph_funcs.C: readParagraph free function moved from
6746         buffer.C
6747
6748         * tabular.C: name change
6749
6750 2003-03-12  John Levon  <levon@movementarian.org>
6751
6752         * buffer.C:
6753         * ParagraphParameters.C: move par params input to
6754         a read() method
6755
6756         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6757         behave like a normal read from the stream wrt reading
6758         a line vs. a \\token
6759
6760 2003-03-12  John Levon  <levon@movementarian.org>
6761
6762         * paragraph.C:
6763         * ParagraphParameters.h:
6764         * ParagraphParameters.C: move output code to a
6765         ::write() method
6766
6767 2003-03-12  John Levon  <levon@movementarian.org>
6768
6769         * BufferView.C (insertLyXFile):
6770         * buffer.h:
6771         * buffer.C:
6772         * tabular.C: use a parlist iterator for creating the
6773           document.
6774
6775 2003-03-12  John Levon  <levon@movementarian.org>
6776
6777         * buffer.C: make current_change static local not
6778           static file-scope
6779
6780 2003-03-12  John Levon  <levon@movementarian.org>
6781
6782         * buffer.C: fix insertStringAsLines for change tracking
6783
6784 2003-03-12  John Levon  <levon@movementarian.org>
6785
6786         * BufferView.C:
6787         * tabular.C:
6788         * buffer.h:
6789         * buffer.C:
6790         * bufferparams.h:
6791         * bufferparams.C: move author list into params. Rename some
6792           functions. Move the header reading into a separate token
6793           loop. Move the header token reading into BufferParams.
6794
6795 2003-03-12  John Levon  <levon@movementarian.org>
6796
6797         * changes.C: put debug inside lyxerr.debugging() checks
6798
6799 2003-03-11 André Pönitz <poenitz@gmx.net>
6800
6801         * factory.C: make it aware of InsetHFill
6802
6803 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6804
6805         * buffer.C (latexParagraphs): move function from here...
6806         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6807         args.
6808
6809 2003-03-10  Angus Leeming  <leeming@lyx.org>
6810
6811         * LyXAction.C (init): fix bug in poplating array with multiple entries
6812         with the same LFUN (spotted by JMarc).
6813
6814 2003-03-10  John Levon  <levon@movementarian.org>
6815
6816         * text.C:
6817         * text2.C: move getColumnNearX() near its
6818         only call site
6819
6820 2003-03-10  John Levon  <levon@movementarian.org>
6821
6822         * text.C: fix break before a minipage
6823
6824 2003-03-10  John Levon  <levon@movementarian.org>
6825
6826         * text.C: fix the last commit
6827
6828 2003-03-09  John Levon  <levon@movementarian.org>
6829
6830         * lyxtext.h:
6831         * text.C:
6832         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6833         bug 365 (don't break before insets unless needed). Don't
6834         return a value > last under any circumstances.
6835
6836 2003-03-09  Angus Leeming  <leeming@lyx.org>
6837
6838         * BufferView_pimpl.C (trackChanges, dispatch): call
6839         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6840
6841 2003-03-09  Angus Leeming  <leeming@lyx.org>
6842
6843         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6844         than Dialogs::showAboutlyx().
6845
6846 2003-03-09  Angus Leeming  <leeming@lyx.org>
6847
6848         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6849         than Dialogs::showTabularCreate().
6850
6851 2003-03-09  John Levon  <levon@movementarian.org>
6852
6853         * lyxtext.h:
6854         * text.C:
6855         * text2.C: 3rd arg to nextBreakPoint was always the same.
6856           Use references.
6857
6858 2003-03-08  John Levon  <levon@movementarian.org>
6859
6860         * lyxrow.C:
6861         * paragraph.C:
6862         * paragraph.h:
6863         * rowpainter.C:
6864         * text.C:
6865         * text2.C: Remove the "main" bit from the "main body"
6866           notion.
6867
6868 2003-03-08  John Levon  <levon@movementarian.org>
6869
6870         * text.C (leftMargin): The left margin of an empty
6871         manual label paragraph should not include the label width
6872         string length.
6873
6874         * text.C (prepareToPrint): don't attempt to measure hfills
6875         for empty manual label paragraphs - the answer should be 0
6876
6877 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * CutAndPaste.C: remove commented code and reindent.
6880
6881 2003-03-08  John Levon  <levon@movementarian.org>
6882
6883         * lyxfunc.h:
6884         * lyxfunc.C: move reloadBuffer()
6885
6886         * BufferView.h:
6887         * BufferView.C: to here
6888
6889         * lyxvc.C: add comment
6890
6891         * vc-backend.h:
6892         * vc-backend.C: call bv->reload() to avoid
6893           getStatus() check on MENURELOAD
6894
6895 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6896
6897         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6898         to an old format .dep file.
6899
6900 2003-03-07  Angus Leeming  <leeming@lyx.org>
6901
6902         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6903         when the LFUN_MOUSE_RELEASE should have been handled by
6904         inset->localDispatch.
6905
6906 2003-03-07  Angus Leeming  <leeming@lyx.org>
6907
6908         * BufferView_pimpl.C (dispatch):
6909         * LyXAction.C (init):
6910         * ToolbarDefaults.C (init):
6911         * commandtags.h:
6912         * lyxfunc.C (getStatus):
6913         remove LFUN_INSET_GRAPHICS.
6914
6915         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6916
6917 2003-03-07  Angus Leeming  <leeming@lyx.org>
6918
6919         * commandtags.h:
6920         * LyXAction.C (init):
6921         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6922
6923         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6924
6925         * commandtags.h:
6926         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6927
6928         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6929         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6930
6931 2003-03-07  Angus Leeming  <leeming@lyx.org>
6932
6933         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6934         remove "ert".
6935
6936 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * ParagraphList.C (front): new function
6939         (back): implement
6940
6941 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6944         and top_row_offset_. removed var first_y.
6945         * text.C (top_y):
6946         * text2.C (LyXText, removeRow):
6947         * text3.C:
6948         * BufferView_pimpl.C:
6949         use these methods instead of using first_y
6950
6951 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * text2.C (pasteSelection): adjust for checkPastePossible
6954
6955         * CutAndPaste.C: remove Paragraph * buf and replace with
6956         ParagraphList paragraphs.
6957         (DeleteBuffer): delete
6958         (cutSelection): change the tc type to textclass_type
6959         (copySelection): change the tc type to textclass_type
6960         (copySelection): adjust for ParagraphList
6961         (pasteSelection): change the tc type to textclass_type
6962         (pasteSelection): adjust for Paragraphlist
6963         (nrOfParagraphs): simplify for ParagraphList
6964         (checkPastePossible): simplify for ParagraphList
6965         (checkPastePossible): remove unused arg
6966
6967         * ParagraphList.C (insert): handle the case where there are no
6968         paragraphs yet.
6969
6970         * CutAndPaste.h: make CutAndPaste a namespace.
6971
6972         * text3.C (dispatch): adjust
6973
6974         * text.C (breakParagraph): add a ParagraphList as arg
6975
6976         * paragraph_funcs.C (breakParagraph): change to take a
6977         BufferParams and a ParagraphList as args.
6978         (breakParagraphConservative): ditto
6979         (mergeParagraph): ditto
6980         (TeXDeeper): add a ParagraphList arg
6981         (TeXEnvironment): ditto
6982         (TeXOnePar): ditto
6983
6984         * buffer.C (readLyXformat2): adjust
6985         (insertStringAsLines): adjust
6986         (latexParagraphs): adjust
6987
6988         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6989         (cutSelection): adjust
6990         (pasteSelection): adjust
6991
6992         * BufferView_pimpl.C (insertInset): adjust
6993
6994 2003-03-05  Angus Leeming  <leeming@lyx.org>
6995
6996         * commandtags.h:
6997         * LyXAction.C (init):
6998         * BufferView_pimpl.C (dispatch):
6999         * lyxfunc.C (getStatus):
7000         remove LFUN_CHILD_INSERT.
7001
7002         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7003
7004 2003-03-05  Angus Leeming  <leeming@lyx.org>
7005
7006         * commandtags.h:
7007         * LyXAction.C (init):
7008         * src/factory.C (createInset):
7009         * lyxfunc.C (getStatus):
7010         * text3.C (dispatch):
7011         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7012
7013         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7014
7015 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * ParagraphList.C (insert): handle insert right before end()
7018         (erase): fix cases where it can be first or last paragraph.
7019
7020 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7023         Paragraph::next and Paragraph::previous
7024         (TeXOnePar): ditto
7025
7026         * text.C (breakParagraph): adjust
7027
7028         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7029         BufferParams& as arg.
7030         (breakParagraph): use ParagraphList::insert
7031         (breakParagraphConservative): take a Buffer* instead of a
7032         BufferParams& as arg.
7033         (breakParagraphConservative): use ParagraphList::insert.
7034
7035         * buffer.C (insertStringAsLines): un-const it
7036         (insertStringAsLines): adjust
7037
7038         * ParagraphList.C (insert): new function
7039
7040         * CutAndPaste.C (pasteSelection): adjust
7041
7042         * text.C (backspace): adjust
7043
7044         * tabular.C (SetMultiColumn): adjust
7045
7046         * CutAndPaste.C (cutSelection): adjust
7047         (pasteSelection): adjust
7048
7049         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7050         Buffer const * as arg
7051
7052         * ParagraphList.C (erase): new function
7053         * paragraph_funcs.C (mergeParagraph): use it
7054         (mergeParagraph): make it take a Buffer* instead of a
7055         BufferParams* as arg
7056
7057         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7058         as arg
7059         (breakParagraphConservative): ditto
7060
7061         * paragraph.h: remove the breakParagraph friend
7062
7063         * paragraph.C (eraseIntern): new function
7064         (setChange): new function
7065
7066         * paragraph_funcs.C (mergeParagraph): make it take a
7067         ParagraphList::iterator instead of a Paragraph *, adjust
7068         accordingly.
7069
7070         * paragraph.h: move an #endif so that the change tracking stuff
7071         also works in the NO_NEXT case.
7072
7073 2003-03-04  Angus Leeming  <leeming@lyx.org>
7074
7075         * commandtags.h:
7076         * LyXAction.C: new LFUN_INSET_MODIFY.
7077
7078         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7079         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7080
7081 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * several files: ws changes only
7084
7085         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7086         (TeXEnvironment): ditto
7087         (TeXDeeper): ditto
7088
7089         * buffer.C (makeLaTeXFile): adjust
7090         (latexParagraphs): make it take ParagraphList::iterator as args
7091
7092 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * buffer.C (latexParagraphs): adjust
7095
7096         * paragraph.C (TeXOnePar): move function...
7097         (optArgInset): move function...
7098         (TeXEnvironment): move function...
7099         * paragraph_pimpl.C (TeXDeeper): move function...
7100         * paragraph_funcs.C: ...here
7101
7102         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7103
7104 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * buffer.C (readInset): remove compability code for old Figure and
7107         InsetInfo insets
7108
7109 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * buffer.C: ws changes
7112         (readInset):
7113
7114         * BufferView_pimpl.C: ditto
7115         * author.C: ditto
7116         * buffer.h: ditto
7117         * bufferlist.h: ditto
7118         * changes.h: ditto
7119         * lyxfunc.C: ditto
7120
7121 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7122
7123         * converter.[Ch]: split into itself +
7124         * graph.[Ch]
7125         * format.[Ch]
7126         * Makefile.am: += graph.[Ch] + format.[Ch]
7127         * MenuBackend.C
7128         * buffer.C
7129         * exporter.C
7130         * importer.C
7131         * lyx_main.C
7132         * lyxfunc.C
7133         * lyxrc.C: added #include "format.h"
7134
7135 2003-02-27  Angus Leeming  <leeming@lyx.org>
7136
7137         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7138           a label.
7139
7140         * factory.C (createInset): add "label" to the factory.
7141
7142         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7143           string and do no more.
7144
7145 2003-02-27  Angus Leeming  <leeming@lyx.org>
7146
7147         * commandtags.h:
7148         * LyXAction.C (init):
7149         * factory.C (createInset):
7150         * BufferView_pimpl.C (dispatch):
7151           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7152
7153         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7154
7155         * lyxfunc.C (dispatch):
7156         * text3.C (dispatch): pass name to params2string.
7157
7158 2003-02-26  Angus Leeming  <leeming@lyx.org>
7159
7160         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7161           blocks together.
7162           Rearrange the ~includes. Strip out the unnecessary ones.
7163
7164         * factory.C (createInset): reformat.
7165           create new insets for the various LFUN_XYZ_APPLY lfuns.
7166
7167 2003-02-26  John Levon  <levon@movementarian.org>
7168
7169         * lyxrow.h:
7170         * lyxrow.C: add isParStart,isParEnd helpers
7171
7172         * paragraph.h: make isInserted/DeletedText take refs
7173
7174         * paragraph_funcs.h:
7175         * paragraph_funcs.C: remove #if 0'd code
7176
7177         * lyxtext.h:
7178         * text3.C:
7179         * text2.C:
7180         * text.C: use lyxrow helpers above.
7181           Move draw and paint routines to RowPainter.
7182           Make several methods use refs not pointers.
7183           Make backgroundColor() const.
7184           Add markChangeInDraw(), isInInset().
7185           Merge changeRegionCase into changeCase.
7186           Make workWidth() shouldn't-happen code into an Assert.
7187
7188         * rowpainter.h:
7189         * rowpainter.C: new class for painting a row.
7190
7191         * vspace.h:
7192         * vspace.C: make inPixels take a ref
7193
7194 2003-02-26  Angus Leeming  <leeming@lyx.org>
7195
7196         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7197         LFUN_REF_APPLY.
7198
7199 2003-02-25  John Levon  <levon@movementarian.org>
7200
7201         * ispell.C: give the forked command a more accurate name
7202
7203 2003-02-22  John Levon  <levon@movementarian.org>
7204
7205         * toc.h:
7206         * toc.C: make TocItem store an id not a Paragraph *
7207           (bug #913)
7208
7209 2003-02-21  Angus Leeming  <leeming@lyx.org>
7210
7211         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7212           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7213           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7214           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7215           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7216           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7217
7218         * BufferView_pimpl.C (dispatch):
7219         * LyXAction.C (init):
7220         * factory.C (createInset):
7221         * lyxfunc.C (getStatus, dispatch):
7222         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7223
7224 2003-02-21  Angus Leeming  <leeming@lyx.org>
7225
7226         * BufferView_pimpl.C (MenuInsertLyXFile):
7227         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7228         * lyxfunc.C (menuNew, open, doImport):
7229           no longer pass a LyXView & to fileDlg.
7230
7231 2003-02-21  Angus Leeming  <leeming@lyx.org>
7232
7233         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7234         * LyXAction.C: change, BIBKEY to BIBITEM.
7235         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7236         Change InsetBibKey to InsetBibitem.
7237         Change BIBKEY_CODE to BIBITEM_CODE.
7238         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7239         * factory.C: replace insetbib.h with insetbibitem.h.
7240         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7241         * paragraph.C: replace insetbib.h with insetbibitem.h.
7242         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7243         Change bibkey() to bibitem().
7244         * text.C: remove insetbib.h.
7245         * text2.C: replace insetbib.h with insetbibitem.h.
7246         change bibkey() to bibitem().
7247         * text3.C: remove insetbib.h.
7248         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7249
7250 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7251
7252         * lyxrc.C (output): enclose user email in quotes (in case there are
7253         several words)
7254
7255 2003-02-18  John Levon  <levon@movementarian.org>
7256
7257         * buffer.h: add std::
7258
7259 2003-02-17  John Levon  <levon@movementarian.org>
7260
7261         * SpellBase.h:
7262         * ispell.h:
7263         * ispell.C:
7264         * pspell.h:
7265         * pspell.C: reworking. Especially in ispell, a large
7266           number of clean ups and bug fixes.
7267
7268         * lyxfunc.C: fix revert to behave sensibly
7269
7270 2003-02-17 André Pönitz <poenitz@gmx.net>
7271
7272         * LyXAction.C:
7273         * commandtags.h: new LFUN_INSERT_BIBKEY
7274
7275         * layout.h:
7276         * lyxlayout.C:
7277         * buffer.C:
7278         * factory.C:
7279         * text.C:
7280         * text2.C:
7281         * text3.C:
7282         * paragraph.[Ch]:
7283         * paragraph_func.C: remove special bibkey handling
7284
7285 2003-02-17  John Levon  <levon@movementarian.org>
7286
7287         * text.C (Delete): fix case where delete at the end of
7288           the very first paragraph would not merge the pars
7289
7290 2003-02-17  John Levon  <levon@movementarian.org>
7291
7292         * lyxrow.C: fix lastPrintablePos()
7293
7294 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7295
7296         * bufferparams.C (writeLaTeX): add a std:here
7297
7298         * buffer.C: and remove a using directive there
7299
7300 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7301
7302         * buffer.C (makeLaTeXFile): move the code that generates the
7303           preamble...
7304
7305         * bufferparams.C (writeLaTeX): ... in this new method
7306
7307         * LaTeXFeatures.C (getEncodingSet): make const
7308           (getLanguages): make const
7309
7310         * MenuBackend.C (binding): returns the binding associated to this
7311           action
7312           (add): sets the status of each item by calling getStatus. Adds
7313           some intelligence.
7314           (read): add support for OptSubMenu
7315           (expand): remove extra separator at the end of expanded menu
7316
7317 2003-02-15  John Levon  <levon@movementarian.org>
7318
7319         * BufferView.C:
7320         * BufferView_pimpl.C:
7321         * bufferlist.h:
7322         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7323           inset code that had no actual effect. Remove unneeded status
7324           code.
7325
7326 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7327
7328         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7329           in preamble
7330
7331 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7332
7333         * text.C (drawLengthMarker): also draw an arrow marker for
7334           symbolic lengths (medskip...)
7335
7336 2003-02-14  John Levon  <levon@movementarian.org>
7337
7338         * tabular.h:
7339         * tabular.C: better method names
7340
7341 2003-02-14  John Levon  <levon@movementarian.org>
7342
7343         * BufferView_pimpl.C:
7344         * bufferlist.C:
7345         * buffer.C:
7346         * converter.C:
7347         * lyx_cb.C:
7348         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7349           it's a more accurate name. Remove some pointless uses.
7350
7351 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7352
7353         * text2.C (LyXText): change order of initilizers to shut off
7354           warnings
7355
7356 2003-02-14  John Levon  <levon@movementarian.org>
7357
7358         * buffer.C: use ParIterator for getParFromID()
7359
7360         * paragraph.h:
7361         * paragraph.C:
7362         * paragraph_pimpl.h:
7363         * paragraph_pimpl.C: remove unused getParFromID()
7364
7365 2003-02-14  John Levon  <levon@movementarian.org>
7366
7367         * buffer.C: remove some very old #if 0'd parse code
7368
7369 2003-02-13  John Levon  <levon@movementarian.org>
7370
7371         * text.h:
7372         * text.C:
7373         * text2.C: move hfillExpansion(), numberOfSeparators(),
7374           rowLast(), rowLastPrintable(), numberofHfills(),
7375           numberOfLabelHfills() ...
7376
7377         * lyxrow.h:
7378         * lyxrow.C: ... to member functions here.
7379
7380         * paragraph.h:
7381         * paragraph.C:
7382         * lyxtext.h:
7383         * text.C: remove LyXText::beginningOfMainBody(), and call
7384           p->beginningOfMainBody() directly. Move the check for
7385           LABEL_MANUAL into the latter.
7386
7387         * text.h:
7388         * text.C:
7389         * text2.C:
7390         * vspace.C:
7391         * BufferView.h:
7392         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7393
7394         * text.h:
7395         * text.C:
7396         * text2.C:
7397         * text3.C:
7398         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7399           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7400
7401 2003-02-13  John Levon  <levon@movementarian.org>
7402
7403         * CutAndPaste.C: remove debug
7404
7405 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7406
7407         * paragraph.C (asString): remove two unused variables
7408
7409         * lyxtextclass.C (readTitleType):
7410           (Read):
7411           (LyXTextClass): handle new members titletype_ and titlename_
7412
7413         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7414
7415 2003-02-09  John Levon  <levon@movementarian.org>
7416
7417         * buffer.h:
7418         * buffer.C: replace hand-coded list with a map for the dep clean
7419
7420 2003-02-08  John Levon  <levon@movementarian.org>
7421
7422         * LaTeX.C: consolidate code into showRunMessage() helper
7423
7424 2003-02-08  John Levon  <levon@movementarian.org>
7425
7426         * lyxfind.C:
7427         * lyxtext.h:
7428         * text2.C:
7429         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7430           and pass the size in explicitly
7431
7432         * BufferView_pimpl.h:
7433         * BufferView_pimpl.C:
7434         * BufferView.h:
7435         * BufferView.C: add getCurrentChange()
7436
7437         * BufferView_pimpl.h:
7438         * BufferView_pimpl.C: handle change lfuns
7439
7440         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7441           for changes. Mark pasted paragraphs as new.
7442
7443         * support/lyxtime.h:
7444         * support/lyxtime.C:
7445         * DepTable.C: abstract time_t as lyx::time_type
7446
7447         * LColor.h:
7448         * LColor.C: add colours for new text, deleted text, changebars
7449
7450         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7451           package use "usenames" option.
7452
7453         * commandtags.h:
7454         * lyxfunc.C:
7455         * LyXAction.C: add change lfuns
7456
7457         * Makefile.am:
7458         * author.h:
7459         * author.C: author handling
7460
7461         * buffer.h:
7462         * buffer.C: add a per-buffer author list, with first entry as
7463           current author. Handle new .lyx tokens for change tracking. Output
7464           author list to .lyx file. Output dvipost stuff to .tex preamble.
7465           Bump lyx format to 222.
7466
7467         * bufferlist.h:
7468         * bufferlist.C: add setCurrentAuthor() to reset current author details
7469           in all buffers.
7470
7471         * bufferparams.h:
7472         * bufferparams.C: add param for tracking
7473
7474         * bufferview_funcs.C: output change info in minibuffer
7475
7476         * Makefile.am:
7477         * changes.h:
7478         * changes.C: add change-tracking structure
7479
7480         * debug.h:
7481         * debug.C: add CHANGES debug flag
7482
7483         * lyxfind.h:
7484         * lyxfind.C: add code for finding the next change piece
7485
7486         * lyxrc.h:
7487         * lyxrc.C: add user_name and user_email
7488
7489         * lyxrow.h:
7490         * lyxrow.C: add a metric for the top of the text line
7491
7492         * lyxtext.h:
7493         * text.C: implement accept/rejectChange()
7494
7495         * lyxtext.h:
7496         * text.C: paint changebars. Paint new/deleted text in the chosen
7497         colours. Strike through deleted text.
7498
7499         * paragraph.h:
7500         * paragraph.C:
7501         * paragraph_pimpl.h:
7502         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7503           in the current change to the insert functions. Rework erase to
7504           mark text as deleted, adding an eraseIntern() and a range-based
7505           erase(). Implement per-paragraph change lookup and
7506           accept/reject.
7507
7508         * paragraph_funcs.C: Fixup paste for change tracking.
7509
7510         * tabular.C: mark added row/columns as new.
7511
7512         * text.C: fix rowLast() to never return -1. Don't allow
7513           spellchecking of deleted text. Track transpose changes. Don't
7514           allow paragraph break or merge where appropriate.
7515
7516         * text2.C: leave cursor at end of selection after a cut.
7517
7518 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7519
7520         * text.C (getLengthMarkerHeight):
7521         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7522         visible on screen too.
7523
7524 2003-02-07  John Levon  <levon@movementarian.org>
7525
7526         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7527
7528 2003-02-05  Angus Leeming  <leeming@lyx.org>
7529
7530         * lyxserver.C (read_ready): revert my patch of 11 September last year
7531         as it sends PC cpu through the roof. Presumably this means that
7532         the lyxserver will no longer run on an Alpha...
7533
7534 2003-01-30  Angus Leeming  <leeming@lyx.org>
7535
7536         * factory.C (createInset): create an InsetCommandParam of type "index"
7537         and use it to 'do the right thing'.
7538
7539         * text2.C (getStringToIndex): ensure that cursor position is always
7540         reset to the reset_cursor position.
7541
7542 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7543
7544         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7545         disabled.
7546
7547 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7548
7549         * bufferview.C:
7550         * lyxcb.C:
7551         * lyxfunc.C: Output messages with identical spelling, punctuation,
7552         and spaces
7553
7554 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7555
7556         * MenuBackend.C (expandFormats): List only viewable export formats
7557         in "View" menu
7558
7559         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7560         message
7561
7562         * lyxfunc.C (getStatus): Make sure that formats other than
7563         "fax" can also be disabled
7564
7565 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7566
7567         * text3.C (dispatch): put the lfuns that insert insets in 3
7568         groups, and call doInsertInset with appropriate arguments.
7569         (doInsertInset): new function, that creates an inset and inserts
7570         it according to some boolean parameters.
7571
7572 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * buffer.C (readFile): remember to pass on 'par' when calling
7575         readFile recursively.
7576
7577 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7578
7579         * MenuBackend.C (expandFormats): add "..." to import formats.
7580
7581 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7582
7583         * paragraph.C (asString): Remove XForms RTL hacks.
7584
7585 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7586         * buffer.C: fix typo
7587
7588 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * Makefile.am (LIBS): delete var
7591         (lyx_LDADD): add @LIBS@ here instead.
7592
7593 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7594
7595         * Clarify the meaning of "wheel mouse jump"
7596
7597 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7598
7599         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7600         tabular in a float
7601
7602 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7603
7604         * importer.C (Loaders): do not preallocate 3 elements in the
7605         vector, since one ends up with 6 elements otherwise
7606
7607 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7608
7609         * DepTable.C (write): write the file name as last element of the
7610         .dep file (because it may contain spaces)
7611         (read): read info in the right order
7612
7613 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7614
7615         * paragraph_pimpl.C (simpleTeXBlanks):
7616         (simpleTeXSpecialChars):
7617         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7618
7619         * tabular.C (latex): add some missing case statements. Reindent.
7620
7621         * MenuBackend.C (expandToc): remove unused variable.
7622
7623 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7624
7625         * LColor.C:
7626         * LaTeX.C:
7627         * LyXAction.C:
7628         * MenuBackend.C:
7629         * buffer.C:
7630         * exporter.C:
7631         * lyxfunc.C:
7632         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7633         and the like.
7634
7635 2003-01-05  John Levon  <levon@movementarian.org>
7636
7637         * BufferView.h:
7638         * BufferView.C: add getEncoding()
7639
7640         * kbsequence.h:
7641         * kbsequence.C: do not store last keypress
7642
7643         * lyxfunc.h:
7644         * lyxfunc.C: store last keypress here instead. Pass encoding
7645           to getISOEncoded()
7646
7647 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7648
7649         * lyx_main.C (init): remove annoying error message when following
7650         symbolic links (bug #780)
7651
7652 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * text.C (insertChar):
7655         * lyxrc.C (getDescription): remove extra spaces
7656
7657 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7658
7659         * lyxrc.C (getDescription): remove extra spaces
7660
7661 2002-12-20  John Levon  <levon@movementarian.org>
7662
7663         * text3.C: hack fix for page up/down across tall rows
7664
7665 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7666
7667         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7668         not been invoked
7669
7670 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7671
7672         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7673         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7674         thesaurus is not compiled in
7675
7676 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7677
7678         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7679
7680 2002-12-16  Angus Leeming  <leeming@lyx.org>
7681
7682         * lyxrc.[Ch]:
7683         * lyx_main.C (init): remove override_x_deadkeys stuff.
7684
7685 2002-12-12  John Levon  <levon@movementarian.org>
7686
7687         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7688           insert. Only remove shift modifier under strict
7689           circumstances.
7690
7691 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * MenuBackend.C (expandToc): fix crash.
7694
7695 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * MenuBackend.C (expandToc): gettext on float names.
7698
7699 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7700
7701         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7702         implement bool empty() [bug 490]
7703
7704 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7707
7708 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * several files: ws changes
7711
7712 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * text2.C (setCounter): clean up a bit, use boost.format.
7715         (updateCounters): initialize par upon declaration.
7716
7717         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7718         if the layout exists. We do not just store the layout any more.
7719         (SwitchLayoutsBetweenClasses): use boost.format
7720
7721 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7722
7723         * converter.C (convert): if from and to files are the same, use a
7724         temporary files as intermediary
7725
7726 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7727
7728         * commandtags.h:
7729         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7730
7731 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7732
7733         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7734
7735 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * tabular.C (asciiPrintCell): use string(size, char) instead of
7738         explicit loop.
7739
7740         * sgml.C (openTag): fix order of arguments to string constructor
7741         (closeTag): ditto
7742
7743         * lyxfunc.C (dispatch): use boost.format
7744
7745         * lots of files: change "c" -> 'c'
7746
7747 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7748
7749         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7750
7751 2002-11-25  Angus Leeming  <leeming@lyx.org>
7752
7753         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7754
7755         * lyx_main.C (init): compile fix.
7756
7757 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * lyx_cb.C (start): boost.formatify
7760         do not include <iostream>
7761
7762         * lengthcommon.C: ws only
7763
7764         * boost-inst.C,BoostFormat.h: add more explict instantations
7765
7766 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * lots of files: handle USE_BOOST_FORMAT
7769
7770 2002-11-21  John Levon  <levon@movementarian.org>
7771
7772         * pspell.C: fix compile
7773
7774 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7775
7776         * lyxfunc.C (dispatch): use boost::format
7777         (open): ditto
7778         (doImport): ditto
7779
7780         * lyxfont.C (stateText): use boost::format
7781
7782         * lyx_main.C (LyX): use boost::format
7783         (init): ditto
7784         (queryUserLyXDir): ditto
7785         (readRcFile): ditto
7786         (parse_dbg): ditto
7787         (typedef boost::function): use the recommened syntax.
7788
7789         * importer.C (Import): use boost::format
7790
7791         * debug.C (showLevel): use boost::format
7792
7793         * converter.C (view): use boost::format
7794         (convert): ditto
7795         (move): ditto
7796         (scanLog): ditto
7797
7798         * bufferview_funcs.C (currentState): use boost::format
7799
7800         * bufferlist.C (emergencyWrite): use boost::format
7801
7802         * buffer.C (readLyXformat2): use boost::format
7803         (parseSingleLyXformat2Token): ditto
7804
7805         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7806
7807         * LaTeX.C (run): use boost::format
7808
7809         * Chktex.C (scanLogFile): use boost::format
7810
7811         * BufferView_pimpl.C (savePosition): use boost::format
7812         (restorePosition): ditto
7813         (MenuInsertLyXFile): ditto
7814
7815         * BoostFormat.h: help file for explicit instation.
7816
7817 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7818
7819         * tabular.C (latex): Support for block alignment in fixed width
7820         columns.
7821
7822 2002-11-17  John Levon  <levon@movementarian.org>
7823
7824         * BufferView_pimpl.C:
7825         * lyx_cb.C:
7826         * lyxfunc.C: split filedialog into open/save
7827
7828 2002-11-08  Juergen Vigna  <jug@sad.it>
7829
7830         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7831         by my last patch (hopefully).
7832
7833 2002-11-08  John Levon  <levon@movementarian.org>
7834
7835         * iterators.h:
7836         * iterators.C:
7837         * buffer.h:
7838         * buffer.C:
7839         * paragraph.h:
7840         * paragraph.C:
7841         * toc.h:
7842         * toc.C: ParConstIterator, and use it (from Lars)
7843
7844 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7845
7846         * lyxtextclass.[Ch]: revise and add doxygen comments
7847
7848 2002-11-07  John Levon  <levon@movementarian.org>
7849
7850         * text.C: fix progress value for spellchecker
7851
7852         * toc.C: fix navigate menu for insetwrap inside minipage
7853
7854         * paragraph_funcs.C: added FIXME for suspect code
7855
7856 2002-11-07  John Levon  <levon@movementarian.org>
7857
7858         * BufferView_pimpl.C: fix redrawing of insets
7859           on buffer switch
7860
7861 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7862
7863         * text2.C (updateCounters): fix bug 668
7864
7865 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7866
7867         * text3.C (dispatch): Do not make the buffer dirty when moving the
7868         cursor.
7869
7870 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * vc-backend.C: STRCONV
7873         (scanMaster): ditto
7874
7875         * text2.C (setCounter): STRCONV
7876
7877         * paragraph.C (asString): STRCONV
7878
7879         * lyxlength.C (asString): STRCONV
7880         (asLatexString): ditto
7881
7882         * lyxgluelength.C (asString): STRCONV
7883         (asLatexString): ditto
7884
7885         * lyxfunc.C (dispatch): STRCONV
7886         (open): ditto
7887
7888         * lyxfont.C (stateText): STRCONV
7889
7890         * importer.C (Import): STRCONV
7891
7892         * counters.C (labelItem): STRCONV
7893         (numberLabel): ditto
7894         (numberLabel): remove unused ostringstream o
7895
7896         * chset.C: STRCONV
7897         (loadFile): ditto
7898
7899         * bufferview_funcs.C (currentState): STRCONV
7900
7901         * buffer.C (readFile): STRCONV
7902         (asciiParagraph): ditto
7903         (makeLaTeXFile): ditto
7904
7905         * Spacing.C (writeEnvirBegin): STRCONV
7906
7907         * LaTeXFeatures.C (getLanguages): STRCONV
7908         (getPackages): ditto
7909         (getMacros): ditto
7910         (getBabelOptions): ditto
7911         (getTClassPreamble): ditto
7912         (getLyXSGMLEntities): ditto
7913         (getIncludedFiles): ditto
7914
7915         * LaTeX.C: STRCONV
7916         (run): ditto
7917         (scanAuxFile): ditto
7918         (deplog): ditto
7919
7920         * LString.h: add the STRCONV macros
7921
7922         * BufferView_pimpl.C (savePosition): STRCONV
7923         (restorePosition): ditto
7924         (MenuInsertLyXFile): ditto
7925
7926         * vc-backend.C (scanMaster): change from submatch[...] to
7927         submatch.str(...)
7928
7929         * funcrequest.C: include config.h
7930
7931         * factory.C: include config.h
7932
7933         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7934
7935         * box.C: include config.h
7936
7937         * LaTeX.C (scanAuxFile): change from submatch[...] to
7938         submatch.str(...)
7939         (deplog): ditto
7940
7941 2002-10-25  Angus Leeming  <leeming@lyx.org>
7942
7943         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7944
7945         * ispell.[Ch] (setError): new method.
7946         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7947         Use setError() insetead of goto END.
7948
7949         * lyx_cb.C (AutoSave): move out child process into new class
7950         AutoSaveBuffer.
7951
7952 2002-10-30  John Levon  <levon@movementarian.org>
7953
7954         * text3.C: make start appendix undoable
7955
7956 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7957
7958         * lyxlength.C (inPixels): Fix returned value.
7959
7960         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7961         environment.
7962
7963 2002-10-24  Angus Leeming  <leeming@lyx.org>
7964
7965         * lyxgluelength.h: no need to forward declare BufferParams
7966         or BufferView, so don't.
7967
7968 2002-10-21  John Levon  <levon@movementarian.org>
7969
7970         * BufferView.C: menuUndo ->undo, redo
7971
7972         * BufferView.h: document, remove dead, make some methods private
7973
7974         * paragraph_funcs.h:
7975         * paragraph_funcs.C:
7976         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7977
7978         * buffer.h:
7979         * buffer.C:
7980         * sgml.h:
7981         * sgml.C: move sgml open/close tag into sgml.C
7982
7983         * bufferview_funcs.h: unused prototype
7984
7985         * lyxfunc.h:
7986         * lyxfunc.C: remove unused
7987
7988         * lyxtext.h:
7989         * text.C: remove unused
7990
7991 2002-10-21  John Levon  <levon@movementarian.org>
7992
7993         * BufferView.h:
7994         * BufferView.C:
7995         * BufferView_pimpl.h:
7996         * BufferView_pimpl.C: fix mouse wheel handling based on
7997           patch from Darren Freeman
7998
7999 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8000
8001         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8002
8003 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8004
8005         * lyxlength.C (inPixels): Fix hanfling of negative length.
8006         Fix LyXLength::MU case.
8007
8008 2002-10-16  John Levon  <levon@movementarian.org>
8009
8010         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8011
8012 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8013
8014         * converter.C (view): add support for $$i (file name) and $$p
8015         (file path) for the viewer command. If $$i is not specified, then
8016         it is appended to the command (for compatibility with old syntax)
8017
8018 2002-10-14  Juergen Vigna  <jug@sad.it>
8019
8020         * undo_funcs.C (textHandleUndo): alter the order in which the
8021         new undopar is added to the LyXText, as we have to set first
8022         the right prev/next and then add it as otherwise the rebuild of
8023         LyXText is not correct. Also reset the cursor to the right paragraph,
8024         with this IMO we could remove the hack in "redoParagraphs()".
8025
8026 2002-10-09  Angus Leeming  <leeming@lyx.org>
8027
8028         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8029         to turn off an optimisation if a new inset is to be inserted.
8030
8031 2002-10-11 André Pönitz <poenitz@gmx.net>
8032
8033         * lyxtext.h: make some functions public to allow access
8034         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8035
8036 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8037
8038         * text3.C (dispatch): when changing layout, avoid an infinite loop
8039         [bug #652]
8040
8041 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8042
8043         * lyxrc.C (read): treat a viewer or converter command of "none" as
8044         if it were empty.
8045
8046         * MenuBackend.C (expandFormats): for an update, also allow the
8047         formats that are not viewable
8048
8049         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8050         script if it is newer than the lyxrc.defaults in user directory
8051
8052 2002-10-07 André Pönitz <poenitz@gmx.net>
8053
8054         * text.C: Vitaly Lipatov's small i18n fix
8055
8056 2002-09-25  Angus Leeming  <leeming@lyx.org>
8057
8058         * ispell.h: doxygen fix.
8059
8060 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8061
8062         * buffer.h (readFile): Add a new argument to the method, to allow
8063         reading of old-format templates.
8064
8065 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * toc.C (getTocList): Get TOC from InsetWrap.
8068
8069 2002-09-16  John Levon  <levon@movementarian.org>
8070
8071         * lyxfunc.C: check tabular for cut/copy too
8072
8073 2002-09-12  John Levon  <levon@movementarian.org>
8074
8075         * LyXAction.C: tidy
8076
8077         * factory.h:
8078         * factory.C: add header
8079
8080         * paragraph_funcs.h:
8081         * paragraph_funcs.C: cleanup
8082
8083 2002-09-11  John Levon  <levon@movementarian.org>
8084
8085         * PrinterParams.h: odd/even default to true
8086
8087 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8088
8089         * PrinterParams.h: update printer parameters for new xforms dialog
8090
8091 2002-09-11  Angus Leeming  <leeming@lyx.org>
8092
8093         * lyxserver.C (read_ready): re-write to make it more transparent
8094         and to make it work in coherent fashion under Tru64 Unix.
8095
8096 2002-09-11  André Pönitz <poenitz@gmx.net>
8097
8098         * commandtags.h:
8099         * LyXAction.C:
8100         * text3.C: implement LFUN_WORDSEL
8101
8102 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8105         make floatlist_ a boost::shared_ptr<FloatList>
8106
8107         * lyxtextclass.C: include FloatList.h
8108         (LyXTextClass): initialize floatlist_
8109         (TextClassTags): add TC_NOFLOAT
8110         (Read): match "nofloat" to TC_NOFLOAT and use it.
8111         (readFloat): modify call to floatlist_
8112         (floats): ditto
8113         (floats): ditto
8114
8115         * FloatList.[Ch] (FloatList): remove commented out float
8116         initialization.
8117         (erase): new function
8118
8119 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8120
8121         * MenuBackend.C (expandToc): fix crash when there is no document
8122         open
8123
8124 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * many files: Add insetwrap.
8127
8128 2002-09-09  John Levon  <levon@movementarian.org>
8129
8130         * text2.C: remove confusing and awkward depth wraparound
8131
8132 2002-09-09  John Levon  <levon@movementarian.org>
8133
8134         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8135
8136         * buffer.h:
8137         * buffer.C: remove getIncludeonlyList()
8138
8139         * paragraph.C:
8140         * lyxfunc.C: remove headers
8141
8142 2002-09-09  Juergen Vigna  <jug@sad.it>
8143
8144         * text.C (getColumnNearX): fix form Michael this is most
8145         probably a cut&paste bug.
8146
8147 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8150
8151         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8152         references, ws changes.
8153
8154         * text2.C (init): update counters after init
8155         (insertParagraph): no need to set counter on idividual paragraphs.
8156         (setCounter): access the counters object in the textclass object
8157         on in the buffer object.
8158         (updateCounters): ditto
8159
8160         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8161         shared_ptr<Counters> to avoid loading counters.h in all
8162         compilation units.
8163         (LyXTextClass): initialize ctrs_
8164         (TextClassTags): add TC_COUNTER, and ...
8165         (Read): use it here.
8166         (CounterTags): new tags
8167         (readCounter): new function
8168         (counters): new funtion
8169         (defaultLayoutName): return a const reference
8170
8171         * counters.C (Counters): remove contructor
8172         (newCounter): remove a couple of unneeded statements.
8173         (newCounter): simplify a bit.
8174         (numberLabel): some small formatting changes.
8175
8176         * buffer.[Ch]: remove all traces of counters, move the Counters
8177         object to the LyXTextClass.
8178
8179 2002-09-06  Alain Castera  <castera@in2p3.fr>
8180
8181         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8182         package to set the horizontal alignment on fixed width columns.
8183
8184         * lyx_sty.C:
8185         * lyx_sty.h: added tabularnewline macro def.
8186
8187         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8188
8189 2002-09-06  John Levon  <levon@movementarian.org>
8190
8191         * LyXAction.C: tooltips for sub/superscript
8192
8193         * MenuBackend.C: a bit more verbose
8194
8195         * lyxfunc.C: tiny clean
8196
8197         * undo_funcs.C: document undo_frozen
8198
8199 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * counters.C (Counters): add missing algorithm counter.
8202
8203         * text2.C (setCounter): lookup the counter with layouts latexname
8204         instead of by section number.
8205         (setCounter): use a hackish way to lookup the correct enum
8206         counter.
8207         a float name->type change
8208         reset enum couners with counter name directly instead of depth value.
8209
8210         * counters.C (Counters): remove the push_backs, change to use the
8211         float type not the float name.
8212         (labelItem): remove unused string, float name->type change
8213
8214         * counters.h: don't include vector, loose the enums and sects vectors
8215
8216 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8219         (Read): add float->TC_FLOAT to textclassTags
8220         (Read): and handle it in the switch
8221         (readFloat): new function
8222
8223         * FloatList.C (FloatList): comment out the hardcoded float
8224         definitions.
8225
8226         * lyxlayout.h: ws change.
8227
8228 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8229
8230         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8231
8232 2002-09-03  Angus Leeming  <leeming@lyx.org>
8233
8234         * BufferView_pimpl.h: qualified name is not allowed in member
8235         declaration: WorkArea & Pimpl::workarea() const;
8236
8237         * factory.C: added using std::endl directive.
8238
8239         * text3.C: added using std::find and std::vector directives.
8240
8241 2002-08-29  André Pönitz <poenitz@gmx.net>
8242
8243         * lyxtext.h:
8244         * text2.C: remove unused member number_of_rows
8245
8246         * Makefile.am:
8247         * BufferView2.C: remove file, move contents to...
8248         * BufferView.C: ... here
8249
8250         * BufferView_pimpl.C:
8251         * factory.C: move more inset creation to factory
8252
8253         * vspace.C: avoid direct usage of LyXText, ws changes
8254
8255         * BufferView.[Ch]:
8256                 don't provide direct access to WorkArea, use two simple
8257                 acessors haveSelction() and workHeight() instead
8258
8259
8260 2002-08-29  John Levon  <levon@movementarian.org>
8261
8262         * BufferView_pimpl.C (dispatch): do not continue when
8263           no buffer
8264
8265 2002-08-28  André Pönitz <poenitz@gmx.net>
8266
8267         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8268
8269         * BufferView.h:
8270         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8271
8272 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8273
8274         * buffer.C: increment LYX_FORMAT to 221
8275
8276         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8277         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8278
8279         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8280
8281         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8282
8283 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8284
8285         * factory.C (createInset): use LyXTextClass::floats
8286
8287         * MenuBackend.C (expandFloatListInsert):
8288         (expandFloatInsert):
8289         (expandToc):
8290
8291         * text2.C (setCounter):
8292
8293         * LaTeXFeatures.C (useFloat):
8294         (getFloatDefinitions):
8295
8296         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8297
8298         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8299         floatlist_, with accessor floats().
8300
8301         * FloatList.h: remove global FloatList
8302
8303 2002-08-26  André Pönitz <poenitz@gmx.net>
8304
8305         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8306
8307         * BufferView.h:
8308         * BufferView2.C:
8309         * BufferView_pimpl.C:
8310         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8311
8312 2002-08-25  John Levon  <levon@movementarian.org>
8313
8314         * LyXAction.C: fix margin note description
8315
8316 2002-08-24  John Levon  <levon@movementarian.org>
8317
8318         * buffer.C:
8319         * bufferlist.C:
8320         * bufferview_funcs.C:
8321         * lyxfont.C:
8322         * undo_funcs.C: cleanups
8323
8324         * lyxfunc.C: disable CUT/COPY when no selection
8325
8326 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8327
8328         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8329         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8330
8331         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8332         Add backward compatibility to "mono", "gray" and "no".
8333
8334 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8335
8336         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8337         (and file_format >= 200).
8338
8339 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8342
8343 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8344
8345         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8346
8347 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8348
8349         * BufferView_pimpl.C:
8350         * LyXAction.C:
8351         * buffer.C:
8352         * commandtags.h:
8353         * lyxfunc.C:
8354         * paragraph.[Ch]:
8355         * text2.C:
8356         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8357         inset and code to make it  work with the paragraph code. The inset
8358         can be anywhere in the paragraph, but will only do the expected
8359         thing in LaTeX if the layout file contains the parameter line
8360                         OptionalArgs    1
8361         (or more generally, a nonzero value) for that layout.
8362
8363 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * paragraph.h: remove the declaration of undefined counters class
8366         function.
8367
8368 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8369
8370         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8371         Dr. Richard Hawkins.
8372
8373 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * paragraph_funcs.h: remove some unneeded includes
8376
8377         * text.C (backspace): pasteParagraph now in global scipe
8378
8379         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8380         (pasteSelection): ditto
8381
8382         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8383         * paragraph_funcs.C (pasteParagraph): ... here
8384
8385 2002-08-20  André Pönitz <poenitz@gmx.net>
8386
8387         * commandtags.h: new LFUNs for swapping/copying table row/colums
8388
8389         * LyXAction.C:
8390         * lyxfunc.C: support for new lfuns
8391
8392 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * tabular.C:
8395         * buffer.[Ch]: remove NO_COMPABILITY stuff
8396
8397 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * boost.C (throw_exception): new file, with helper function for
8400         boost compiled without exceptions.
8401
8402         * paragraph.h:
8403         * lyxlength.C:
8404         * buffer.C:
8405         * ParameterStruct.h:
8406         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8407
8408         * bufferlist.C (emergencyWriteAll): use boost bind
8409
8410         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8411
8412         * text.C: include paragraph_funcs.h
8413         (breakParagraph): breakParagraph is now in global scope
8414
8415         * paragraph_funcs.[Ch]: new files
8416
8417         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8418         global scope
8419
8420         * buffer.C: include paragraph_funcs.h
8421         (insertStringAsLines): breakParagraph is now in global scope
8422
8423         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8424         paragraph_funcs.C
8425
8426         * CutAndPaste.C: include paragraph_funcs.h
8427         (cutSelection): breakParagraphConservative is now in global scope
8428         (pasteSelection): ditto
8429
8430         * buffer.h: declare oprator== and operator!= for
8431         Buffer::inset_iterator
8432
8433         * bufferlist.C (emergencyWrite): don't use fmt(...)
8434
8435         * text3.C: add using std::endl
8436
8437         * BufferView.C (moveCursorUpdate): remove default arg
8438
8439 2002-08-20  André Pönitz <poenitz@gmx.net>
8440
8441         * buffer.[Ch]: move inline functions to .C
8442
8443         * BufferView2.C:
8444         * BufferView_pimpl.C:
8445         * text.C:
8446         * buffer.[Ch]: use improved inset_iterator
8447
8448         * buffer.C:
8449         * paragraph.[Ch]: write one paragraph at a time
8450
8451 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8452
8453         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8454         style if style is not specified.
8455
8456 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8457
8458         * text2.C (setCounter): when searching for right label for a
8459         caption, make sure to recurse to parent insets (so that a caption
8460         in a minipage in a figure float works) (bug #568)
8461
8462 2002-08-20  André Pönitz <poenitz@gmx.net>
8463
8464         * text3.C: new file for LyXText::dispatch() and helpers
8465
8466         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8467
8468         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8469
8470 2002-08-19  André Pönitz <poenitz@gmx.net>
8471
8472         * lyxtext.h:
8473         * text.C: new LyXText::dispatch()
8474
8475         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8476
8477 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8478
8479         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8480
8481         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8482         Hebrew text.
8483
8484 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * Makefile.am: use $(variables) instead of @substitutions@
8487
8488 2002-08-15  André Pönitz <poenitz@gmx.net>
8489
8490         * lyxfunc.C:
8491         * BufferView_pimpl.C: streamlining mathed <-> outer world
8492         interaction
8493
8494         * commandtags.h:
8495         * LyXAction.C: remove unused LFUN_MATH
8496
8497 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8500
8501 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * paragraph.C (Paragraph): reformat a bit
8504         (cutIntoMinibuffer): use builtin InsetList function instad of
8505         doing it manually.
8506         (getInset): ditto
8507
8508         * buffer.C: include boost/bind.hpp, add using std::for_each
8509         (writeFileAscii): use ParagraphList iterators
8510         (validate): use for_each for validate traversal of paragraphs
8511         (getBibkeyList): use ParagraphList iterators
8512         (resizeInsets): use for_each to resizeInsetsLyXText for all
8513         paragraphs.
8514         (getParFromID): use ParagraphList iterators
8515
8516         * BufferView2.C (lockInset): use paragraph list and iterators
8517
8518 2002-08-14  John Levon  <levon@movementarian.org>
8519
8520         * lyxserver.C: remove spurious xforms include
8521
8522 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8523
8524         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8525
8526 2002-08-13  André Pönitz <poenitz@gmx.net>
8527
8528         * LyXAction.[Ch]:
8529         * lyxfunc.C: further cleaning
8530
8531 2002-08-13  André Pönitz <poenitz@gmx.net>
8532
8533         * funcrequest.h: new constructor
8534
8535         * funcrequest.C: move stuff here from .h
8536
8537         * Makefile.am:
8538         * BufferView_pimpl.C:
8539         * LyXAction.C:
8540         * toc.C:
8541         * lyxfunc.C: subsequent changes
8542
8543         * lyxfunc.h: new view() member function
8544
8545         * lyxfunc.C: subsequent changes
8546
8547 2002-08-13  Angus Leeming  <leeming@lyx.org>
8548
8549         * BufferView2.C:
8550         * BufferView_pimpl.C:
8551         * buffer.C:
8552         * converter.C:
8553         * importer.C:
8554         * lyxfunc.C:
8555         * lyxvc.C:
8556         * toc.C:
8557         * vc-backend.C:
8558         changes due to the changed LyXView interface that now returns references
8559         to member variables not pointers.
8560
8561 2002-08-13  Angus Leeming  <leeming@lyx.org>
8562
8563         * WordLangTuple (word, lang_code): return references to strings,
8564         not strings.
8565
8566         * BufferView.h:
8567         * SpellBase.h:
8568         * lyxtext.h: forward-declare WordLangTuple.
8569
8570         * BufferView2.C:
8571         * ispell.C:
8572         * pspell.C:
8573         * text.C: #include "WordLangTuple.h".
8574
8575         * lyxtext.h:
8576         * text.C: (selectNextWordToSpellcheck): constify return type.
8577
8578 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8579
8580         * buffer.C:
8581         * buffer.h:
8582         * lyxtext.h:
8583         * paragraph.C:
8584         * paragraph_pimpl.h:
8585         * text.C:
8586         * text2.C:
8587         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8588         suggested by Angus.
8589         Made updateCounter always count from start of buffer, and removed
8590         second argument (par).
8591         Reverted floats number display to '#'. Perhaps I'll try again when the
8592         code base is sanitized a bit.
8593
8594 2002-08-12  Angus Leeming  <leeming@lyx.org>
8595
8596         * buffer.[Ch] (getLabelList): constify.
8597
8598 2002-08-07  André Pönitz <poenitz@gmx.net>
8599
8600         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8601
8602         * funcrequest.h: extension to keep mouse (x,y) position
8603
8604 2002-08-12  Juergen Vigna  <jug@sad.it>
8605
8606         * BufferView2.C (insertErrors): forbid undo when inserting error
8607         insets.
8608
8609         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8610
8611 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * ParagraphList.[Ch]: new files
8614
8615         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8616
8617         * BufferView2.C (lockInset): ParagraphList changes
8618         * toc.C: ditto
8619         * text2.C: ditto
8620         * bufferlist.C: ditto
8621         * buffer.h: ditto
8622         * buffer.C: ditto
8623
8624 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8627         unused class variable counter_,
8628
8629         * paragraph.[Ch] (getFirstCounter): delete unused function
8630
8631         * counters.C: include LAssert.h
8632         (reset): add a new function with no arg, change other version to
8633         not have def. arg and to not allow empty arg.
8634
8635         * text2.C (setCounter): remove empty arg from call to Counters::reset
8636
8637 2002-08-11  John Levon  <levon@movementarian.org>
8638
8639         * Makefile.am: add WordLangTuple.h
8640
8641 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8644         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8645
8646         * insets/insettext.C: InsetList changes
8647
8648         * graphics/GraphicsSupport.C (operator()): InsetList changes
8649
8650         * toc.C (getTocList): InsetList changes
8651
8652         * paragraph_pimpl.[Ch]: InsetList changes
8653
8654         * paragraph.[Ch]: InsetList changes
8655
8656         * buffer.C (inset_iterator): InsetList changes
8657         (setParagraph): ditto
8658         * buffer.h (inset_iterator): ditto
8659         * iterators.C (operator++): ditto
8660         * iterators.h: ditto
8661
8662         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8663
8664         * InsetList.[Ch]: new files, most InsetList handling moved out of
8665         paragraph.C.
8666
8667         * BufferView2.C (removeAutoInsets): InsetList changes
8668         (lockInset): ditto
8669         (ChangeInsets): ditto
8670
8671 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * paragraph_pimpl.h (empty): new function
8674
8675         * paragraph.[Ch] (empty): new function
8676
8677         * other files: use the new Paragraph::empty function
8678
8679 2002-08-09  John Levon  <levon@movementarian.org>
8680
8681         * lyxtext.h: remove unused refresh_height
8682
8683 2002-08-09  John Levon  <levon@movementarian.org>
8684
8685         * Makefile.am:
8686         * sgml.h:
8687         * sgml.C:
8688         * buffer.C:
8689         * paragraph.h:
8690         * paragraph.C: move sgml char escaping out of paragraph
8691
8692         * paragraph.h:
8693         * paragraph.C: remove id setter
8694
8695         * buffer.C:
8696         * paragraph.C:
8697         * paragraph_pimpl.C: remove dead tex_code_break_column
8698
8699         * bufferview_funcs.C: small cleanup
8700
8701         * lyxfunc.C: remove dead proto
8702
8703         * lyxtext.h: make some stuff private. Remove some dead stuff.
8704
8705         * lyxgluelength.C: make as[LyX]String() readable
8706
8707 2002-08-08  John Levon  <levon@movementarian.org>
8708
8709         * LyXAction.h:
8710         * LyXAction.C:
8711         * MenuBackend.C:
8712         * ToolbarDefaults.C:
8713         * lyxfunc.C:
8714         * lyxrc.C:
8715         * toc.C: lyxaction cleanup
8716
8717 2002-08-08  John Levon  <levon@movementarian.org>
8718
8719         * BufferView2.C: small cleanup
8720
8721         * lyxfind.h:
8722         * lyxfind.C: move unnecessary header into the .C
8723
8724 2002-08-08  John Levon  <levon@movementarian.org>
8725
8726         * funcrequest.h: just tedious nonsense
8727
8728         * lyx_main.h:
8729         * lyx_main.C: cleanups
8730
8731         * buffer.C:
8732         * vspace.C: remove dead header lyx_main.h
8733
8734 2002-08-07  Angus Leeming  <leeming@lyx.org>
8735
8736         * Paragraph.[Ch]:
8737         * paragraph_pimpl.h:
8738         Forward declare class Counters in paragraph.h by moving the ctrs member
8739         variable into Paragraph::Pimpl.
8740         (counters): new method, returning a reference to pimpl_->ctrs.
8741
8742         * text2.C: ensuing changes.
8743
8744 2002-08-07  John Levon  <levon@movementarian.org>
8745
8746         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8747
8748         * BufferView_pimpl.C: announce X selection on double/triple
8749           click
8750
8751         * lyx_main.C: use correct bool in batch dispatch
8752
8753         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8754
8755 2002-08-07  André Pönitz <poenitz@gmx.net>
8756
8757         * funcrequest.h: new class to wrap a kb_action and its argument
8758
8759         * BufferView.[Ch]:
8760         * BufferView_pimpl[Ch]:
8761         * LaTeX.C:
8762         * LyXAction.[Ch]:
8763         * lyxfunc.[Ch]:
8764         * lyxrc.C: subsequent changes
8765
8766
8767 2002-08-07  John Levon  <levon@movementarian.org>
8768
8769         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8770           document options change.
8771
8772 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8773
8774         * counters.[Ch]
8775         * text2.C
8776         * paragraph.[Ch]
8777         * makefile.am: move counters functionality over from
8778         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8779
8780 2002-08-06  John Levon  <levon@movementarian.org>
8781
8782         * WordLangTuple.h: new file for word + language code tuple
8783
8784         * SpellBase.h:
8785         * pspell.h:
8786         * pspell.C:
8787         * ispell.h:
8788         * ispell.C:
8789         * lyxtext.h:
8790         * text.C:
8791         * text2.C:
8792         * BufferView.h:
8793         * BufferView2.C: use WordLangTuple
8794
8795         * layout.h:
8796         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8797
8798 2002-08-06  John Levon  <levon@movementarian.org>
8799
8800         * lyx_main.C: fix cmdline batch handling
8801
8802 2002-08-06  André Pönitz <poenitz@gmx.net>
8803
8804         * lyxrc.C: set default for show_banner to true
8805
8806 2002-08-06  John Levon  <levon@movementarian.org>
8807
8808         * pspell.C: fix a crash, and allow new aspell to work
8809
8810 2002-08-06  John Levon  <levon@movementarian.org>
8811
8812         * lyxfunc.C:
8813         * kbmap.C: small cleanup
8814
8815         * vspace.h:
8816         * vspace.C: add const
8817
8818 2002-08-05  John Levon  <levon@movementarian.org>
8819
8820         * LyXAction.C: back to tabular-insert
8821
8822 2002-08-04  John Levon  <levon@movementarian.org>
8823
8824         * BufferView.h:
8825         * BufferView.C: cosmetic change
8826
8827         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8828
8829         * bufferlist.C:
8830         * buffer.h:
8831         * buffer.C:
8832         * lyxcb.h:
8833         * lyxcb.C:
8834         * lyxserver.C:
8835         * lyxvc.C:
8836         * vc-backend.C:
8837         * BufferView2.C: purge all "Lyx" not "LyX" strings
8838
8839         * lyxcursor.h:
8840         * lyxcursor.C: attempt to add some documentation
8841
8842         * lyxfunc.C:
8843         * commandtags.h:
8844         * LyXAction.C:
8845         * ToolbarDefaults.C:
8846         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8847           merge with LFUN_TABULAR_INSERT
8848
8849         * Makefile.am:
8850         * SpellBase.h:
8851         * ispell.h:
8852         * ispell.C:
8853         * pspell.h:
8854         * pspell.C: split up i/pspell implementations into separate
8855           files, many cleanups
8856
8857         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8858
8859         * text2.C: some cleanup
8860
8861         * lyxfunc.C: don't check for isp_command == "none" any more, it
8862           didn't make any sense
8863
8864 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8865
8866         * counters.[Ch]
8867         * text2.C
8868         * paragraph.[Ch]
8869         * makefile.am: move counters functionality over
8870         from text2.C/paragraph.[Ch] to counters.[Ch], and
8871         make proper C++.
8872 2002-08-02  John Levon  <levon@movementarian.org>
8873
8874         * buffer.C: s/lyxconvert/lyx2lyx/
8875
8876 2002-08-02  Angus Leeming  <leeming@lyx.org>
8877
8878         * lyxlex.C: revert John's change as it breaks reading of the user
8879         preamble.
8880
8881 2002-08-02  Angus Leeming  <leeming@lyx.org>
8882
8883         * importer.C (Import):
8884         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8885         changes due to LyXView::view() now returning a boost::shared_ptr.
8886
8887 2002-08-02  John Levon  <levon@movementarian.org>
8888
8889         * lyxlex.C: small cleanup
8890
8891 2002-08-02  John Levon  <levon@movementarian.org>
8892
8893         * text2.C (status): small cleanup, no logic change
8894
8895 2002-08-01  John Levon  <levon@movementarian.org>
8896
8897         * buffer.h:
8898         * buffer.C (writeFile): don't output alerts, caller
8899           handles this
8900
8901         * bufferlist.C:
8902         * lyx_cb.C: from above
8903
8904         * lyxfunc.C: allow to open non-existent files
8905
8906 2002-07-31  John Levon  <levon@movementarian.org>
8907
8908         * lyxserver.C: don't let incidental errors get
8909           in the way (errno)
8910
8911 2002-07-30  John Levon  <levon@movementarian.org>
8912
8913         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8914
8915 2002-07-30  John Levon  <levon@movementarian.org>
8916
8917         * lyxserver.h:
8918         * lyxserver.C: remove I/O callback too
8919
8920 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8923         log.
8924
8925 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8926
8927         * many files: strip,frontStrip -> trim,ltrim,rtrim
8928
8929 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8930
8931         * PrinterParams.h: remove extern containsOnly, and include
8932         support/lstrings.h instead.
8933
8934         * LaTeX.C (scanAuxFile): modify because of strip changes
8935         (deplog): ditto
8936         * buffer.C (makeLaTeXFile): ditto
8937         * bufferparams.C (writeFile): ditt
8938         * lyxfont.C (stateText): ditto
8939         * lyxserver.C (read_ready): ditto
8940         * vc-backend.C (scanMaster): ditto
8941
8942         * BufferView_pimpl.h: ws changes
8943
8944         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8945
8946 2002-07-26  André Pönitz <poenitz@gmx.net>
8947
8948         * kb_sequence.C: remove unnedred usings
8949
8950 2002-07-26  Juergen Vigna  <jug@sad.it>
8951
8952         * lyxfind.C (LyXReplace): we have to check better if the returned
8953         text is not of theLockingInset()->getLockingInset().
8954
8955 2002-07-25  Juergen Vigna  <jug@sad.it>
8956
8957         * lyxfind.C (LyXReplace): don't replace if we don't get the
8958         right LyXText.
8959
8960         * undo_funcs.C (createUndo): remove debugging code.
8961
8962 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8963
8964         * buffer.C (parseSingleLyXformat2Token): Use default placement
8965         when reading old floats.
8966
8967         * FloatList.C (FloatList): Change the default placement of figure
8968         and tables to "tbp".
8969
8970 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8971
8972         * MenuBackend.C: using std::max
8973
8974 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8975
8976         * MenuBackend.C (expandToc):
8977         (expandToc2): code moved from xforms menu frontend. It is now
8978         generic and TOCs are transparent to menu frontends.
8979
8980 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * toc.C (getTocList): protect against buf=0
8983
8984         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8985         Menu as first parameter. Now, this calls itself recursively to
8986         expand a whole tree (this will be useful for TOC handling)
8987         (expandFloatInsert): remove 'wide' version of floats
8988
8989         * MenuBackend.h (submenuname): returns the name of the submenu.
8990         (submenu): returns the submenu itself, provided it has been
8991         created by MenuBackend::expand
8992
8993 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8994
8995         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8996         insets which have noFontChange == true. (bug #172)
8997
8998 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8999
9000         * BufferView_pimpl.C: add connection objects and use them...
9001         (Pimpl): here.
9002
9003 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * MenuBackend.C (expandLastfiles):
9006         (expandDocuments):
9007         (expandFormats):
9008         (expandFloatListInsert):
9009         (expandFloatInsert):
9010         (expand): split expand in parts
9011
9012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * lyx_gui.C: use lyx_gui::exit()
9015
9016 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * LyXAction.C: show the failing pseudo action
9019
9020 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9021
9022         * buffer.C (readFile): Run the lyxconvert script in order to read
9023         old files.
9024
9025 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * LyXAction.C:
9028         * commandtags.h:
9029         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9030
9031 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * LyXAction.C:
9034         * commandtags.h:
9035         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9036
9037 2002-07-22  Herbert Voss  <voss@lyx.org>
9038
9039         * lengthcommon.C:
9040         * lyxlength.[Ch]: add support for the vertical lengths
9041
9042 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * toc.[Ch]: std:: fixes
9045
9046 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * lyxrc.C: do not include lyx_main.h
9049
9050         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9051         for layouts
9052
9053         * lyxrc.C:
9054         * encoding.C:
9055         * bufferlist.C:
9056         * BufferView2.C: include "lyxlex.h"
9057
9058         * tabular.h:
9059         * bufferparams.h: do not #include "lyxlex.h"
9060
9061         * lyxtextclasslist.C (Add): remove method
9062         (classlist): renamed to classlist_
9063
9064         * paragraph_pimpl.C:
9065         * paragraph.C:
9066         * text2.C:
9067         * CutAndPaste.C:
9068         * bufferview_funcs.C:
9069         * bufferlist.C:
9070         * text.C:
9071         * LaTeXFeatures.C:
9072         * buffer.C:
9073         * toc.C (getTocList): use BufferParams::getLyXTextClass
9074
9075         * toc.C (getTocList): use InsetFloat::addToToc
9076
9077         * toc.[Ch]: new files, containing helper functions to handle table
9078         of contents
9079
9080         * lyxfunc.C (dispatch): no need to remove spaces around command
9081         given as a string
9082         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9083         first command of the sequence; it is not very clever, but I do not
9084         have a better idea, actually
9085
9086         * LyXAction.C (LookupFunc): make sure to remove space at the
9087         beginning and end of the command
9088
9089 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9090
9091         * MenuBackend.C (getMenubar): new method: return the menubar of
9092         this menu set
9093         (read): treat differently reading of menu and menubar (in
9094         particular, the menubar has no name now)
9095         (Menu::menubar): remove
9096
9097         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9098         saving is finished
9099
9100 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9101
9102         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9103         a bibitem inset in a RTL paragraph.
9104
9105 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * paragraph_pimpl.C: constify
9108
9109         * BufferView_pimpl.C:
9110         * LaTeX.C:
9111         * lyxfunc.C: fix dispatch in a nicer way
9112
9113 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9114
9115         * lyxfunc.C (dispatch):
9116         * BufferView_pimpl.C:
9117         * BufferView_pimpl.h:
9118         * BufferView.C:
9119         * BufferView.h: rename Dispatch() to dispatch()
9120
9121         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9122
9123         * lyxlayout.C (Read): honor DependsOn tag
9124
9125         * lyxlayout.[Ch] (depends_on): new method
9126
9127         * version.C.in: update lyx_docversion
9128
9129         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9130
9131         * paragraph.C (validate): remove from here...
9132         * paragraph_pimpl.C (validate): ... and move here
9133         (isTextAt): make it const
9134
9135         * buffer.C (getLists): ws cleanup
9136
9137 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * language.C (read): Use iso8859-1 encoding in latex_lang
9140         (this prevents LyX from crashing when using iso10646-1 encoding).
9141
9142 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9143
9144         * text2.C (toggleInset): if cursor is inside an inset, close the
9145         inset and leave cursor _after_ it
9146
9147 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * lyxfunc.C: move minibuffer completion handling out of here
9150
9151 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * BufferView_pimpl.C:
9154         * LaTeX.C: fix dispatch calls
9155
9156 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * text.C (drawChars): Fix Arabic text rendering.
9159
9160 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * LyXAction.C:
9163         * commandtags.h:
9164         * lyxfunc.C: remove message-push/pop
9165
9166         * lyxserver.C:
9167         * lyxfunc.h:
9168         * lyxfunc.C: rationalise some code by removing verboseDispatch
9169           in favour of a bool argument to dispatch()
9170
9171 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9172
9173         * lyx_main.C (init): make sure to read symlinks as absolute paths
9174
9175 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * lyxfunc.h:
9178         * lyxfunc.C: no need for commandshortcut to be a member
9179
9180 2002-07-15  André Pönitz <poenitz@gmx.net>
9181
9182         * converter.C: add support for $$s (scripts from lib/scripts dir)
9183         * lyx_main.C: white space
9184
9185 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * bufferlist.C:
9188         * lyxrc.h:
9189         * lyxrc.C: remove second exit confirmation
9190
9191 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * BufferView.h:
9194         * BufferView.C:
9195         * BufferView2.C:
9196         * BufferView_pimpl.h:
9197         * BufferView_pimpl.C:
9198         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9199
9200 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9201
9202         * MenuBackend.C (expand): add numeric shortcuts to document menu
9203
9204         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9205
9206 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * lyxfont.C (setLyXFamily):
9209         (setLyXSeries):
9210         (setLyXShape):
9211         (setLyXSize):
9212         (setLyXMisc):
9213         (lyxRead):
9214         * debug.C (value):
9215         * buffer.C (asciiParagraph): use ascii_lowercase
9216
9217 2002-07-15  Mike Fabian  <mfabian@suse.de>
9218
9219         * lyxlex_pimpl.C (search_kw):
9220         * lyxlex.C (getLongString):
9221         * converter.h (operator<):
9222         * converter.C (operator<):
9223         * buffer.C (parseSingleLyXformat2Token):
9224         (asciiParagraph):
9225         * ToolbarDefaults.C (read):
9226         * MenuBackend.C (checkShortcuts):
9227         (read):
9228         * LColor.C (getFromGUIName):
9229         (getFromLyXName): use the compare_ascii_no_case instead of
9230         compare_no_case, because in turkish, 'i' is not the lowercase
9231         version of 'I', and thus turkish locale breaks parsing of tags.
9232
9233 2002-07-16  Angus Leeming  <leeming@lyx.org>
9234
9235         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9236         now takes a Buffer const & argument.
9237
9238 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * BufferView.C (resize): check there's a buffer to resize
9241
9242 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * lyxfunc.C: remove dead code
9245
9246         * lyxserver.h:
9247         * lyxserver.C: use lyx_guii::set_read_callback
9248
9249 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9250
9251         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9252         an inset in a RTL paragraph.
9253
9254 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * lyxfunc.C: repaint after a font size update
9257
9258 2002-07-15  André Pönitz <poenitz@gmx.net>
9259
9260         * lyxlength.C: inBP should be able to return negative values
9261
9262 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * lyxfunc.C: use lyx_gui::update_fonts()
9265
9266 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * lyxfunc.C: use lyx_gui::update_color()
9269
9270 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * bufferlist.C:
9273         * lyxfunc.h:
9274         * lyxfunc.C:
9275         * lyxrc.h:
9276         * lyxrc.C: remove file->new asks for name option, and let
9277           buffer-new take an argument
9278
9279 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * BufferView_pimpl.C: remove unneeded extra repaint()
9282
9283 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * LyXAction.C: allow command-sequence with NoBuffer
9286
9287         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9288
9289 2002-07-10  Angus Leeming  <leeming@lyx.org>
9290
9291         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9292
9293 2002-07-09  Angus Leeming  <leeming@lyx.org>
9294
9295         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9296
9297 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * lengthcommon.h: whitespace
9300
9301         * lyxfunc.C: update scrollbar after goto paragraph
9302
9303         * lyxtext.h: factor out page break drawing, and fix it so
9304           page break/added space paints as selected nicely
9305
9306 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9307
9308         * BufferView_pimpl.C: add FIXMEs, clean up a little
9309
9310 2002-07-09  André Pönitz <poenitz@gmx.net>
9311
9312         * lyxfont.[Ch]: support for wasy symbols
9313
9314 2002-07-08  André Pönitz <poenitz@gmx.net>
9315
9316         * BufferView_pimpl.C: apply John's patch for #93.
9317
9318 2002-07-05  Angus Leeming  <leeming@lyx.org>
9319
9320         * BufferView_pimpl.C (buffer): generate previews if desired.
9321
9322         * LColor.h: add "preview" to the color enum.
9323
9324         * LColor.C (LColor): add a corresponding entry to the items array.
9325
9326         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9327         with this buffer.
9328
9329 2002-07-05  Angus Leeming  <leeming@lyx.org>
9330
9331         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9332         The body of the code is now in the method that is passed an ostream &
9333         rather than a file name.
9334         Pass an additional only_preamble parameter, useful for the forthcoming
9335         preview stuff.
9336
9337 2002-07-03  André Pönitz <poenitz@gmx.net>
9338
9339         * lyxfunc.C: simplify getStatus() a bit for math stuff
9340
9341 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9344
9345 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9346
9347         * text.C (changeRegionCase): do not change case of all the
9348         document when region ends at paragraph end (bug #461)
9349
9350 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9351
9352         * paragraph.C (startTeXParParams):
9353         (endTeXParParams): add \protect when necessary
9354
9355 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * BufferView_pimpl.C (workAreaExpose): remove warning
9358
9359 2002-06-27  Angus Leeming  <leeming@lyx.org>
9360
9361         * Makefile.am: add lyxlayout_ptr_fwd.h.
9362
9363 2002-06-26  André Pönitz <poenitz@gmx.net>
9364
9365         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9366
9367 2002-06-25  Angus Leeming  <leeming@lyx.org>
9368
9369         * lyxfunc.C (dispatch): Comment out the call to
9370         grfx::GCache::changeDisplay. The method no longer exists now that the
9371         pixmap generation part of the graphics loader has been moved into
9372         InsetGraphics.
9373
9374 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9375
9376         * text2.C: layout as layout
9377
9378         * text.C: layout as layout
9379
9380         * tabular.C (OldFormatRead): layout as layout
9381
9382         * paragraph_pimpl.C (TeXDeeper): layout as layout
9383         (realizeFont): layout as layout
9384
9385         * paragraph.C (writeFile): layout as layout
9386         (validate): layout as layout
9387         (getFont): layout as layout
9388         (getLabelFont): layout as layout
9389         (getLayoutFont): layout as layout
9390         (breakParagraph): layout as layout
9391         (stripLeadingSpaces): layout as layout
9392         (getEndLabel): layout as layout
9393         (getMaxDepthAfter): layout as layout
9394         (applyLayout): layout as layout
9395         (TeXOnePar): layout as layout
9396         (simpleTeXOnePar): layout as layout
9397         (TeXEnvironment): layout as layout
9398         (layout): layout as layout
9399         (layout): layout as layout
9400
9401         * lyxtextclass.C (compare_name): new functor to work with
9402         shared_ptr, layout as layout
9403         (Read): layout as layout
9404         (hasLayout): layout as layout
9405         (operator): layout as layout
9406         (delete_layout): layout as layout
9407         (defaultLayout): layout as layout
9408
9409         * lyxlayout_ptr_fwd.h: new file
9410
9411         * lyxlayout.C (Read): layout as layout
9412
9413         * lyx_cb.C (MenuInsertLabel): layout as layout
9414
9415         * bufferlist.C (newFile): layout as layout
9416
9417         * buffer.C (readLyXformat2): layout as layout
9418         (parseSingleLyXformat2Token): layout as layout
9419         (insertStringAsLines): layout as layout
9420         (asciiParagraph): layout as layout
9421         (latexParagraphs): layout as layout
9422         (makeLinuxDocFile): layout as layout
9423         (simpleLinuxDocOnePar): layout as layout
9424         (makeDocBookFile): layout as layout
9425         (simpleDocBookOnePar): layout as layout
9426         (getLists): layout as layout
9427
9428         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9429
9430         * CutAndPaste.C (cutSelection): layout as layout
9431         (pasteSelection): layout as layout
9432         (SwitchLayoutsBetweenClasses): layout as layout
9433
9434         * BufferView_pimpl.C (Dispatch): layout as layout
9435         (smartQuote): layout as layout
9436
9437         * BufferView2.C (unlockInset): layout as layout
9438
9439 2002-06-24  André Pönitz <poenitz@gmx.net>
9440
9441         * lyxfunc.C: fix #487
9442
9443 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * lyxrc.h:
9446         * lyxrc.C:
9447         * lyxfunc.C: remove display_shortcuts, show_banner
9448
9449 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9450
9451         * Buffer_pimpl.C: oops, update on resize
9452
9453 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9454
9455         * buffer.C:
9456         * converter.C:
9457         * exporter.C:
9458         * lyxfunc.C:
9459         * BufferView.h:
9460         * BufferView.C: use repaint()
9461
9462         * BufferView_pimpl.h:
9463         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9464           as it's a clearer description. Remove superfluous
9465           redraws.
9466
9467 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * text.C: fix bug 488. Not ideal, but getting
9470           getWord() to work properly for the insets that
9471           matter is more difficult ...
9472
9473 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9474
9475         * BufferView_pimpl.C:
9476         * LyXAction.C:
9477         * commandtags.h:
9478         * lyxfunc.C: remove the six million index lyxfuncs to just
9479           one, and DTRT (bug 458)
9480
9481 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView.h:
9484         * BufferView.C:
9485         * BufferView_pimpl.h:
9486         * BufferView_pimpl.C: clean up resize() stuff,
9487           and unnecessary updateScreen()s
9488
9489 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * BufferView.h:
9492         * BufferView.C:
9493         * BufferView_pimpl.h:
9494         * BufferView_pimpl.C:
9495         * lyxfind.h:
9496         * lyxfind.C:
9497         * minibuffer.C: remove focus management of workarea,
9498           not needed. Use screen's greyOut()
9499
9500 2002-06-17  Herbert Voss  <voss@lyx.org>
9501
9502         * converter.C: (convert) do not post a message, when converting
9503         fails, let the calling function decide what to do in this case
9504
9505 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9506
9507         * lyxfunc.C: tidy up a little
9508
9509 2002-06-16    <alstrup@diku.dk>
9510
9511         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9512         Got rid of FORMS_H_LOCATION include. Now we are
9513         GUII.
9514
9515 2002-06-15  LyX Development team  <lyx@rilke>
9516
9517         * buffer.[Ch] (sgmlOpenTag):
9518         (sgmlCloseTag): Added support for avoiding pernicious mixed
9519         content. Return number of lines written.
9520
9521         (makeLinuxDocFile):
9522         (makeDocBookFile): Fixed calls to sgml*Tag.
9523         Simple white space clean.
9524
9525         (simpleDocBookOnePar): Simple white space clean.
9526
9527         * tabular.[Ch] (docBook): Renamed to docbook and got another
9528         argument to related with the pernicious mixed content.
9529
9530         (docbookRow): Fixed calls for docbook inset method.
9531
9532 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9533
9534         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9535         so it's X11 independent.
9536
9537         * kb*.[Ch]: ditto.
9538
9539         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9540
9541 2002-06-15  Lyx Development team  <lyx@electronia>
9542
9543         * intl.h: Renamed getTrans to getTransManager.
9544
9545 2002-06-14  Angus Leeming  <leeming@lyx.org>
9546
9547         * Makefile.am: nuke forgotten stl_string_fwd.h.
9548
9549 2002-06-12  Angus Leeming  <leeming@lyx.org>
9550
9551         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9552
9553 2002-06-13  Angus Leeming  <leeming@lyx.org>
9554
9555         * LaTeX.C:
9556         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9557
9558 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9559
9560         * kbmap.C (getiso): add support for cyrillic and greek
9561
9562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * BufferView.h:
9565         * BufferView.C:
9566         * BufferView_pimpl.h:
9567         * BufferView_pimpl.C: move bogus scrolling logic
9568           to xforms
9569
9570 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * lyxfunc.C:
9573         * BufferView_pimpl.C: view->resize() change
9574
9575 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * BufferView_pimpl.C: topCursorVisible
9578           prototype change
9579
9580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * Makefile.am:
9583         * lyx_gui.h:
9584         * lyx_gui.C: move to frontends/
9585
9586         * main.C:
9587         * lyx_main.h:
9588         * lyx_main.C: changes from above
9589
9590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * intl.C:
9593         * intl.h:
9594         * kbmap.C:
9595         * kbsequence.C:
9596         * lyx_cb.C:
9597         * lyx_main.C: minor tidy
9598
9599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * BufferView_pimpl.h:
9602         * BufferView_pimpl.C:
9603         * BufferView.h:
9604         * BufferView.C: make painter() const,
9605           remove dead code
9606
9607         * BufferView2.C: use screen() accessor
9608
9609         * lyx_main.h:
9610         * lyx_main.C: some minor cleanup
9611
9612 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * BufferView_pimpl.h:
9615         * BufferView_pimpl.C: remove enter/leaveView,
9616           use workHeight()
9617
9618 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * BufferView.h:
9621         * BufferView.C:
9622         * BufferView2.C:
9623         * BufferView_pimpl.h:
9624         * BufferView_pimpl.C: only construct screen once,
9625           rename
9626
9627         * lyxrc.C: remove pointless comment
9628
9629 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * BufferView.h:
9632         * BufferView.C: remove active() and belowMouse()
9633
9634         * BufferView_pimpl.h:
9635         * BufferView_pimpl.C: use workarea() not workarea_,
9636           and make it use a scoped_ptr instead
9637
9638 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * lyx_gui.C: add debug message on BadWindow
9641
9642 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9643
9644         * sp_spell.C: fdopen is not part of the C++ standard.
9645
9646         * paragraph.C (InsetIterator): use >= instead of ==
9647
9648 2002-06-07  Angus Leeming  <leeming@lyx.org>
9649
9650         Fixes needed to compile with Compaq cxx 6.5.
9651         * BufferView_pimpl.C:
9652         * DepTable.C:
9653         * buffer.C:
9654         * converter.C:
9655         * encoding.C:
9656         * lyx_gui.C:
9657         * lyx_main.C:
9658         * lyxtextclasslist.C:
9659         * minibuffer.C:
9660         * sp_spell.C:
9661         * tabular_funcs.C:
9662         * vc-backend.C:
9663         all c-library variables have been moved into namespace std. Wrap
9664         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9665
9666         * lyxlength.C:
9667         * tabular-old.C:
9668         * tabular.C:
9669         Add a using std::abs declaration.
9670
9671         * kbmap.h (modifier_pair):
9672         * paragraph.h (InsetTable, InsetList):
9673         * lyxfont.h (FontBits):
9674         type definition made public.
9675
9676         * bufferlist.C (emergencyWriteAll): the compiler complains that
9677         there is more than one possible lyx::class_fun template to choose from.
9678         I re-named the void specialisation as lyx::void_class_fun.
9679
9680         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9681
9682         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9683         the compiler is is unable to find tostr in write_attribute.
9684
9685 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * buffer.C (sgmlError): hide #warning
9688
9689 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * xtl/*: get rid of xtl, which is not in use anyway
9692
9693         * LyXAction.C (init):
9694         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9695         were unimplemented xtl experimentation
9696
9697 2002-06-04  André Pönitz <poenitz@gmx.net>
9698
9699         * lyxfunc.C: disable array operation on simple formulae
9700
9701 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * converter.C: constify a bit
9704
9705 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * lyx_gui.C: check xforms version correctly
9708
9709 2002-04-30  Herbert Voss  <voss@lyx.org>
9710
9711         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9712         "keep" option
9713
9714 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9717           attempt to register it with a VCS)
9718
9719 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9720
9721         * lyx_main.C (init): honor variables LYX_DIR_13x and
9722         LYX_USERDIR_13x
9723
9724 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * buffer.h:
9727         * buffer.C:
9728         * lyx_main.C: fix a crash on bad command line,
9729           and give a useful exit status on error
9730
9731         * lyxfunc.C (doImport): allow -i lyx to work
9732
9733 2002-03-30  André Pönitz <poenitz@gmx.net>
9734
9735         * lyxfunc.C: mathed font changes
9736
9737 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * LaTeX.C:
9740         * importer.h:
9741         * importer.C:
9742         * lyx_sty.h:
9743         * lyx_sty.C:
9744         * lyxlex.C:
9745         * lyxrow.h:
9746         * lyxtext.h:
9747         * paragraph.h:
9748         * paragraph.C:
9749         * texrow.h:
9750         * texrow.C:
9751         * text.C:
9752         * trans_mgr.h: srcdocs, and some minor cleanups
9753
9754 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9757         call getFont all the time)
9758
9759 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9760
9761         * switch from SigC signals to boost::signals
9762
9763 2002-05-29  André Pönitz <poenitz@gmx.net>
9764
9765         * paragraph_pimpl.C (getChar): don't call size() too often...
9766
9767 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * paragraph_pimpl.C (insertChar): do not try to update tables when
9770         appending (pos == size())
9771
9772         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9773         in order to reduce drastically the number of comparisons needed to
9774         parse a large document
9775
9776 2002-05-29  André Pönitz <poenitz@gmx.net>
9777
9778         * text.C:
9779         * text2.C:
9780         * lyxtextclass.C:
9781         * sp_pspell.h:
9782         * textclasslist.[Ch]:
9783         * sp_ispell.h: whitespace change
9784
9785 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9788         lyxaction directly now.
9789
9790 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * trans.C:
9793         * lyxfont.C:
9794         * lyxvc.C: remove unused headers
9795
9796 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * Makefile.am:
9799         * buffer.h:
9800         * undostack.h:
9801         * undostack.C:
9802         * undo_funcs.h:
9803         * undo_funcs.C: some cleanups. Use shared_ptr
9804           and a template for the undo stacks.
9805
9806 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * BufferView_pimpl.h:
9809         * BufferView_pimpl.C:
9810         * kbmap.h:
9811         * kbmap.C:
9812         * kbsequence.h:
9813         * kbsequence.C:
9814         * lyxfunc.h:
9815         * lyxfunc.C:
9816         * text2.C: use key_state/mouse_state
9817
9818 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9819
9820         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9821         and LSubstring
9822
9823         * chset.C: change include order
9824         (loadFile): use boost regex and get rid of LRegex and LSubstring
9825
9826         * Makefile.am (BOOST_LIBS): new variable
9827         (lyx_LDADD): use it
9828
9829         * LaTeX.C: change include order.
9830         (scanAuxFile): use boost regex and get rid of LRegex and
9831         LSubstring
9832         (deplog): ditto
9833
9834 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * ColorHandler.h:
9837         * ColorHandler.C:
9838         * FontInfo.h:
9839         * FontInfo.C: moved to frontends/xforms/
9840
9841         * FontLoader.h:
9842         * FontLoader.C: moved into frontends for GUIIzation
9843
9844         * Makefile.am:
9845         * lyx_gui.C:
9846         * lyxfont.C:
9847         * lyxfunc.C: changes from above
9848
9849 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * LColor.C: remove spurious X include
9852
9853         * BufferView_pimpl.C:
9854         * Makefile.am:
9855         * font.h:
9856         * font.C:
9857         * text.C:
9858         * text2.C: move font metrics to frontends/
9859
9860 2002-05-24  Juergen Vigna  <jug@sad.it>
9861
9862         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9863         setting the undo_cursor.
9864
9865         * ParagraphParameters.h: include local includes first.
9866
9867 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * BufferView_pimpl.C:
9870         * BufferView_pimpl.h:
9871         * Makefile.am:
9872         * WorkArea.h:
9873         * WorkArea.C:
9874         * screen.C: move WorkArea into frontends/
9875
9876         * lyxscreen.h:
9877         * screen.C:
9878         * text.C:
9879         * BufferView.C:
9880         * BufferView2.C: move LyXScreen into frontends/
9881
9882         * lyxlookup.h:
9883         * lyxlookup.C:
9884         * lyx_gui.C: move lyxlookup into frontends/xforms/
9885
9886 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * BufferView2.C:
9889         * BufferView_pimpl.C:
9890         * FontLoader.C:
9891         * LyXView.h:
9892         * LyXView.C:
9893         * Makefile.am:
9894         * WorkArea.C:
9895         * XFormsView.h:
9896         * XFormsView.C:
9897         * buffer.C:
9898         * bufferlist.C:
9899         * bufferview_funcs.C:
9900         * converter.C:
9901         * importer.C:
9902         * lyx_cb.C:
9903         * lyx_gui.C:
9904         * lyx_main.C:
9905         * lyx_find.C:
9906         * lyxfunc.C:
9907         * lyxvc.C:
9908         * minibuffer.C:
9909         * text.C:
9910         * text2.C:
9911         * trans.C:
9912         * vc-backend.C: move LyX/XFormsView into frontends/
9913
9914 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * Makefile.am:
9917         * PainterBase.C:
9918         * PainterBase.h:
9919         * Painter.C:
9920         * Painter.h:
9921         * WorkArea.C:
9922         * WorkArea.h:
9923         * screen.C:
9924         * tabular.C:
9925         * text.C:
9926         * text2.C: move Painter to frontends/
9927
9928 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9929
9930         * buffer.C: comment out some some code that depend upon lyx_format
9931         < 220
9932
9933         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9934         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9935
9936         * buffer.h (NO_COMPABILITY): turn off compability
9937
9938         * ColorHandler.C: include scoped_array.hpp
9939
9940         * font.C: Use more specific smart_ptr header.
9941         * Painter.C: ditto
9942         * gettext.C: ditto
9943         * ShareContainer.h: ditto
9944         * lyx_main.h: ditto
9945         * kbmap.h: ditto
9946         * FontInfo.h: ditto
9947         * BufferView_pimpl.h: ditto
9948         * ColorHandler.h: ditto
9949
9950         * kbmap.C (defkey): change call to shared_ptr::reset
9951
9952 2002-05-21  Juergen Vigna  <jug@sad.it>
9953
9954         * buffer.C (insertErtContents): fix to insert ert asis if it is
9955         non empty. Skip it completely if it contains only whitespaces.
9956
9957 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView_pimpl.C:
9960         * BufferView2.C: clear selection on paste (bug 393)
9961
9962 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9963
9964         * DepTable.C: include ctime
9965
9966 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9969
9970 2002-05-14  Juergen Vigna  <jug@sad.it>
9971
9972         * text.C (breakParagraph): fixed function to honor the keepempty
9973         layout in the right maner and also to permit the right breaking
9974         algorithm on empty or non empyt keepempty paragraphs.
9975
9976         * paragraph.C (breakParagraph): we have to check also if the par
9977         is really empty (!size()) for isempty otherwise we do the wrong
9978         paragraph break.
9979
9980 2002-05-10  Juergen Vigna  <jug@sad.it>
9981
9982         * buffer.[Ch] : The following are only changes to the ert
9983         compatibility read reading old LaTeX layout and font stuff and
9984         convert it to ERTInsets.
9985
9986         * buffer.h: added isErtInset().
9987
9988         * buffer.C (struct ErtComp): add a fromlayout bool to check
9989         if we're inside a LaTeX layout.
9990         (isErtInset): new helper function.
9991         (insertErtContents): look for other ert insets before this one
9992         and insert the contents there, so that we don't have subsequent
9993         ERT insets with nothing between them. This way we create only one
9994         inset with multiple paragraphs. Also check if we don't insert only
9995         spaces ' ' as they are ignored anyway afterwards in the .tex file
9996         so if we have only spaces we will ignore this latex part in the
9997         new file.
9998         (parseSingleLyXformat2Token \\layout): better compatibility when
9999         reading layout-latex stuff.
10000         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10001         language tag.
10002         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10003         stuff after reading the inset only get the information back from
10004         the stack.
10005
10006 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10007
10008         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10009
10010         * LaTeXFeatures.C (getBabelOptions): New method.
10011
10012 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10013
10014         * BufferView_pimpl.C (Dispatch): work around missing argument for
10015         'layout'
10016
10017 2002-05-08  Juergen Vigna  <jug@sad.it>
10018
10019         * text.C (leftMargin): handle paragraph leftindent.
10020
10021         * paragraph.C (writeFile): write the new \\leftindent tag.
10022         (validate): handle leftindent code.
10023         (TeXEnvironment): handle paragraphleftindent code again.
10024
10025         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10026
10027         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10028         for paragrap_extra indent code and new token \\leftindent.
10029         (latexParagraphs): handle the leftindent as environment.
10030
10031         * ParameterStruct.h: added leftindent support.
10032
10033         * ParagraphParameters.C (leftIndent): added support functions for
10034         the paragraph left indent.
10035
10036         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10037         more appropriate.
10038
10039 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10040
10041         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10042         inside insetERT.
10043
10044         * text.C (computeBidiTables): No bidi in insetERT.
10045
10046         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10047         in RTL documents.
10048
10049 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * version.C.in: pre 5
10052
10053 2002-05-02  José Matos  <jamatos@fep.up.pt>
10054         * buffer.C (makeDocBookFile): white space changes, add newline to
10055         command styles.
10056         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10057
10058         * tabular.C (docBook): fix typo.
10059
10060 2002-05-03  Juergen Vigna  <jug@sad.it>
10061
10062         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10063         change in LyXText as we can not be sure it was not freed.
10064         (drawOneRow): remove unused code.
10065
10066         * text.C (drawInset): redo the calculation of the need_break_row as
10067         it could have a row which was already freed.
10068         (draw): look at the return value of drawInset and return false if
10069         it also returned false.
10070         (paintRowText): look at the return value of draw and return false if
10071         it also returned false.
10072
10073         * lyxtext.h: added bool return type to drawInset() and draw() so that
10074         if we have a change in the row so that the rowbreak has to be redone
10075         we abort drawing as it will be called again.
10076
10077 2002-05-02  Juergen Vigna  <jug@sad.it>
10078
10079         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10080         a change in the maintext also if we're inside an inset.
10081         (Dispatch): set the cursor again after a break line and after the
10082         screen has been updated as it could be we're in a different row.
10083
10084         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10085         to set the cursor behind the pargraph with > size().
10086         (setCursor): check also for the same paragraph when checking where
10087         to put the cursor if we have a NFR inset.
10088
10089         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10090         parts of layout read further up as it still was in the wrong
10091         position.
10092
10093 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * screen.C (drawFromTo): change sine fullRebreak always return
10096         true.
10097
10098         * buffer.C (parseSingleLyXformat2Token): reindent some
10099
10100         * BufferView_pimpl.C (update): change since fullRebreak always
10101         return true.
10102         (Dispatch): git rid of the last hardcoded "Standard"s.
10103
10104 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10105
10106         * text2.[Ch] (fullRebreak): make it return void now that we always
10107         returned true.
10108
10109 2002-04-30  Juergen Vigna  <jug@sad.it>
10110
10111         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10112         ert compatibility check for "latex" layout.
10113
10114 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10115
10116         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10117         minipages: use col% instead of p%, and also use the current font.
10118         (makeLaTeXFile): Fix use babel condition.
10119         (parseSingleLyXformat2Token): Correct font when reading old floats.
10120
10121 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10122
10123         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10124         inserting list of floats.
10125
10126 2002-04-25  Herbert Voss  <voss@lyx.org>
10127
10128         * MenuBackend.C (expand): don't add the graphics extensions to the
10129         export menu
10130
10131 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10134         non-existing layout, do not complain if it was the default layout
10135         of the original class (bug #342)
10136
10137 2002-04-24  Juergen Vigna  <jug@sad.it>
10138
10139         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10140         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10141
10142 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * buffer.C (getBibkeyList): If using \bibliography, return the
10145         option field with the reference itself. Enables us to provide natbib
10146         support when using \bibliography.
10147
10148 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10149
10150         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10151
10152         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10153         natbib is provided by the LaTeX class.
10154
10155 2002-04-23  Juergen Vigna  <jug@sad.it>
10156
10157         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10158         Wakeup functions.
10159
10160         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10161
10162 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10165
10166         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10167         ensuremath around textordmasculine, textordfeminine and
10168         textdegree.
10169
10170 2002-04-19  Juergen Vigna  <jug@sad.it>
10171
10172         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10173         reinitializing the buffer otherwise row-dimensions may be wrong.
10174         (update): reset also the selection cursors if they do exits otherwise
10175         their x/y positions may be wrong.
10176
10177         * text2.C (cursorDown): don't enter the inset if we came from a row
10178         above and are one row over the inset.
10179
10180         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10181         really leaving an inset.
10182
10183 2002-04-18  Juergen Vigna  <jug@sad.it>
10184
10185         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10186         of the selected paragraph does not have the selected layout also if
10187         the last one had!
10188
10189         * text2.C (setLayout): fixed bug which did not change last selected
10190         paragraph.
10191
10192         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10193         changed the read and substituted \\end_float with \\end_inset!
10194
10195         * BufferView_pimpl.C (cursorPrevious):
10196         (cursorNext): fixed to make it work with rows heigher than the work
10197         area without moving the cursor only the draw of the row.
10198         (workAreaMotionNotify): fix jumping over high rows.
10199
10200 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10203         Ressler.
10204
10205 2002-04-16  Juergen Vigna  <jug@sad.it>
10206
10207         * text2.C (setCursor): set also the irow().
10208         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10209         (cursorUp):
10210         (cursorDown): support for locking an inset if the x_fix value goes
10211         inside it. That way I can transverse insets too with cursor up/down.
10212
10213         * lyxrow.h: added irow helper function same as other (i) functions.
10214
10215         * BufferView_pimpl.C (cursorPrevious):
10216         (cursorNext): fixed for insets!
10217
10218 2002-04-15  Juergen Vigna  <jug@sad.it>
10219
10220         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10221         position otherwise it is wrong in some cases.
10222
10223         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10224         inside the inset before the call.
10225
10226 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10227
10228         * buffer.[Ch] (getBibkeyList): make it const.
10229
10230 2002-04-12  Juergen Vigna  <jug@sad.it>
10231
10232         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10233
10234         * text2.C (getCursorX): new helper function
10235         (setCursor): compute also ix_
10236         (setCursorFromCoordinates): set also ix.
10237
10238         * lyxcursor.h: added ix_ and helper functions.
10239
10240         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10241
10242         * buffer.C (insertStringAsLines): dont break paragraph if the this
10243         paragraph is inside an inset which does not permit it!
10244
10245         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10246         also with no chars on this paragraph.
10247         (paintRowText): only paint stuff if it's inside the workarea!
10248
10249         * paragraph.C (breakParagraph): honor keepempty flag and break the
10250         paragraph always below not above.
10251
10252         * BufferView2.C (unlockInset): update the paragraph layout on inset
10253         unlock as we changed paragraph in such a case.
10254
10255         * lyxfind.C (LyXFind): clear the former selection if not found!
10256
10257         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10258         again called in insertChar().
10259
10260         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10261         an inset which uses the whole row!
10262         (rightMargin): ditto.
10263         (insertChar): force a rebreak if we inserted an inset!
10264
10265 2002-03-28  Herbert Voss  <voss@lyx.org>
10266
10267         * lyxlength.[Ch]: add inBP() to get the right PS-point
10268         units (BigPoint). With inPixels we have rounding errors
10269
10270 2002-04-11  Juergen Vigna  <jug@sad.it>
10271
10272         * text2.C (setCursorFromCoordinates): set iy to the right value.
10273         (setCursor): add check if row->previous exists!
10274
10275         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10276         an old float_type as this was the case in the old code!
10277
10278         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10279
10280         * BufferView2.C (showLockedInsetCursor): use iy
10281         (fitLockedInsetCursor): ditto
10282
10283         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10284         locked insets as there we have the right value now.
10285
10286         * lyxcursor.C: added iy_ variable and iy functions to set to the
10287         baseline of cursor-y of the locked inset.
10288
10289         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10290         (setCursor): fixed for insets which need a full row.
10291
10292         * text.C (rowLastPrintable): don't ignore the last space when before
10293         an inset which needs a full row.
10294         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10295         as last character of a row when before a inset which needs a full row.
10296
10297 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * version.C.in: update date
10300
10301         * text2.C (fullRebreak): try to always return true and see what
10302         happens...
10303
10304 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10305
10306         * MenuBackend.C (expand): use Floating::listName
10307
10308         * FloatList.C (FloatList): add listName argument to the built-in
10309         floats
10310
10311         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10312         text associated with the float.
10313
10314 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10317
10318 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10319
10320         * ShareContainer.h: add a couple of missing typenames.
10321
10322 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * lyxrc.C (getDescription): use _() correctly rather than N_().
10325
10326 2002-03-28  Herbert Voss  <voss@lyx.org>
10327
10328         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10329         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10330
10331 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10334         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10335
10336 2002-03-29  Juergen Vigna  <jug@sad.it>
10337
10338         * lyxfunc.C (dispatch): add a missing fitCursor call.
10339
10340         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10341         it was scrolled by a cursor move, so return the bool status.
10342
10343         * BufferView.C (fitCursor): return the bool flag also to the outside
10344         world as this is needed.
10345
10346         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10347
10348         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10349         call the edit() as it is not needed (and wrong) IMO.
10350         (workAreaButtonPress): set the screen_first variable before evt.
10351         unlock the inset as this may change screen_first and then we have
10352         a wrong y position for the click!
10353
10354 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * MenuBackend.C (expand): another translation that I missed
10357
10358 2002-03-28  Juergen Vigna  <jug@sad.it>
10359
10360         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10361
10362         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10363
10364 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10367
10368         * MenuBackend.C (expand): fix export/view/update when there is no
10369         document open.
10370
10371 2002-03-27  Herbert Voss  <voss@lyx.org>
10372
10373         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10374         and text%
10375
10376 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * bufferview_funcs.C (currentState): only show paragraph number
10379         for is DEVEL_VERSION is set.
10380
10381         * lyxfunc.C (dispatch): put warning in INFO channel
10382
10383         * MenuBackend.C (expand): translate the name of floats
10384
10385         * FloatList.C (FloatList): mark the float names for translation
10386
10387         * converter.C (convert): use LibScriptSearch
10388
10389 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * MenuBackend.C (defaults): fix default menu (we might as well get
10392         rid of it...)
10393
10394 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10395
10396         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10397         directory.
10398
10399 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10400
10401         * lyxvc.C: reorder includes.
10402
10403 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10406           properly
10407
10408 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * CutAndPaste.C: change layouts earlier on paste
10411           to avoid crashing when calling getFont()
10412
10413 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10416         irritating #error.
10417
10418 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * WorkArea.C: remove 'Pending' debug message.
10421
10422         * most files: ws cleanup
10423
10424         * buffer.[Ch]: ws changes
10425
10426         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10427
10428 2002-03-21  Juergen Vigna  <jug@sad.it>
10429
10430         * tabular.C (SetMultiColumn): collapse also the contents of the
10431         cells and set the last border right. Added a Buffer const * param.
10432
10433 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10436         linking or not.
10437
10438 2002-03-19  Juergen Vigna  <jug@sad.it>
10439
10440         * text2.C (clearSelection): reset also xsel_cache.
10441
10442         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10443         where it needs to be called (John tells us to do so too :)
10444         (selectionLost): reset sel_cache.
10445
10446         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10447
10448 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * text2.C (setCursorIntern): put debuging code in INSETS channel
10451
10452 2002-03-19  André Pönitz <poenitz@gmx.net>
10453
10454         * lyxfunc.C: tiny whitespace change
10455
10456 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * ToolbarDefaults.C (init):
10459         * LyXAction.C (init):
10460         * commandtags.h:
10461         * BufferView_pimpl.C (Dispatch):
10462         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10463
10464 2002-03-19  Allan Rae  <rae@lyx.org>
10465
10466         * exporter.C (Export): removeAutoInsets before doing anything else.
10467         While I've just introduced a dependency on BufferView this really is
10468         the best place to clean the buffer otherwise you need to cleanup in
10469         a dozen places before calling export or cleanup in a dozen functions
10470         that export calls.
10471
10472         * converter.C (runLaTeX):
10473         (scanLog): Better handling of removeAutoInsets and screen updates.
10474
10475         * lyxfunc.C (dispatch): small whitespace changes
10476
10477 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * WorkArea.C (C_WorkAreaEvent): return a value.
10480         (event_cb): return 1 if we handled the event, 0 otherwise.
10481
10482         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10483
10484 2002-03-18  Juergen Vigna  <jug@sad.it>
10485
10486         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10487         (GetAdditionalWidth): ditto.
10488         (RightLine): ditto.
10489         (LeftLine): ditto.
10490
10491         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10492         inset if we're there actually (probably not used right now but this
10493         is the direction to go for unifying code).
10494         (paste): disable code to clear the selection.
10495
10496         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10497         inside an InsetText and move the check further up as it is in the
10498         wrong place.
10499
10500         * text2.C (pasteSelection): set a selection over the pasted text.
10501
10502 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10503
10504         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10505         and libgraphics to build on Cygwin.
10506
10507 2002-03-15  Juergen Vigna  <jug@sad.it>
10508
10509         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10510         inserting an Inset into the paragraph. I know this is not the best
10511         fix but we already use current_view in CutAndPaste so we will remove
10512         all of it's using at the same time.
10513
10514         * buffer.C (sgmlError): deactivated function till it is rewritten in
10515         the right mode, now it can create problems.
10516
10517         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10518         before accessing it.
10519
10520 2002-03-14  Juergen Vigna  <jug@sad.it>
10521
10522         * undo_funcs.C (textHandleUndo): do the right thing when updating
10523         the inset after the undo/redo.
10524
10525         * text2.C (setCursor): just some testcode for #44 not ready yet.
10526
10527         * undo_funcs.C (textHandleUndo): set the next() and previous()
10528         pointers of the paragraph to 0 before deleting otherwise we have
10529         problems with the Paragraph::[destructor].
10530
10531         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10532         on a paragraph insertion.
10533
10534 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * buffer.C (asciiParagraph): use += operator for char append to
10537         string.
10538
10539         * paragraph.C (getFontSettings): compare >= not just >
10540         (highestFontInRange): ditto
10541         (setFont): ditto
10542
10543 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * paragraph.C: change several algorithm to be more appripriate for
10546         the problem domain. This is lookip in FontList and in the InsetList.
10547
10548 2002-03-13  André Pönitz <poenitz@gmx.net>
10549
10550         * commandtags.h:
10551         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10552
10553 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * commandtags.h:
10556         * LyXAction.C:
10557         * lyxfunc.C:
10558         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10559
10560 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10561
10562         * Painter.C (display): anon helper function, adjust code for this
10563         change.
10564         (pixmap): remove function.
10565
10566         * Painter.h: remove private display variable.
10567
10568         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10569
10570 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10571
10572         * WorkArea.[Ch]: remove figinset_canvas cruft.
10573
10574 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * lyxtextclass.C (operator): add one item cache optimization.
10577
10578         * bufferlist.h: doxy changes
10579
10580         * bufferlist.C: ws changes
10581
10582         * DepTable.[Ch] (ext_exist): place const in the right spot.
10583
10584         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10585         call resizeInsets.
10586         (workAreaExpose): call resizeInsets when the with BufferView changes.
10587         (Dispatch): adjust for protectedBlank removal
10588         (specialChar): call updateInset if the insert went ok.
10589
10590         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10591         specialChar instead.
10592
10593         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10594
10595         * BufferView.h: doxy change
10596
10597         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10598
10599         * lyxtextclass.C (operator[]): remove non-const version
10600         (defaultLayout): remove non-const version
10601
10602 2002-03-12  Juergen Vigna  <jug@sad.it>
10603
10604         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10605         did resize the LyXText too.
10606
10607         * buffer.C (readLyXformat2): set layout information on newly allocated
10608         paragraphs.
10609
10610         * tabular.C (OldFormatRead): set layout information on the paragraph.
10611
10612 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10613
10614         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10615
10616 2002-03-11  Juergen Vigna  <jug@sad.it>
10617
10618         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10619         plainly wrong.
10620         (resizeCurrentBuffer): force also the insets to resize themselfes.
10621         (moveCursorUpdate): fixed up for InsetText.
10622
10623 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10624
10625         * commandtags.h:
10626         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10627         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10628         value of Dialogs::tooltipsEnabled().
10629         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10630
10631 2002-03-08  Juergen Vigna  <jug@sad.it>
10632
10633         * BufferView_pimpl.C (updateInset): update inset inside inset also
10634         if it isn't inside theLockingInset().
10635
10636 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10637
10638         * buffer.C (asciiParagraph): redo some of the word and line length
10639         handling.
10640         (getLists): look for Caption instead of caption.
10641
10642 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * buffer.C (Buffer): initialize niceFile to true
10645         (makeLaTeXFile):
10646         (makeLinuxDocFile):
10647         (makeDocBookFile): make sure niceFile is true on exit
10648
10649 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10652
10653 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10654
10655         * LyXSendto.C: remove.
10656         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10657         * lyx_gui.C: remove now-redundant comment.
10658         * ColorHandler.h: remove forward declaration of class WorkArea.
10659         * lyxfunc.C: remove #include "WorkArea.h".
10660
10661 2002-03-07  Juergen Vigna  <jug@sad.it>
10662
10663         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10664         got moved away with the DEPM and also set the inset_owner always
10665         right which before could have been omitted.
10666
10667 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10670         wanted layout is not found.
10671
10672 2002-03-07  Juergen Vigna  <jug@sad.it>
10673
10674         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10675
10676 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * paragraph.C (breakParagraph): use default layout not layout of
10679         prev paragraph.
10680         (Paragraph): clear ParagraphParameters.
10681
10682 2002-03-06  Juergen Vigna  <jug@sad.it>
10683
10684         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10685         otherwise it would not be a valid lenght. Fixed a special case in
10686         the minipage compatibility read where we end the document with a
10687         minipage.
10688
10689         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10690         was set as it could be 0 for InsetTexts first entry.
10691
10692 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * paragraph.C (writeFile): if layout is empty write out
10695         defaultLayoutName().
10696
10697         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10698         file without named layout we set layout to defaultLayoutName().
10699
10700 2002-03-06  Juergen Vigna  <jug@sad.it>
10701
10702         * CutAndPaste.C (copySelection): set layout for new paragraph.
10703
10704         * text.C (prepareToPrint): leave ERT inset left aligned
10705         (leftMargin): don't indent paragraphs inside ERT insets
10706
10707 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * paragraph.C (breakParagraph): dont call clear do the work manually
10710
10711         * paragraph.[Ch] (clear): remove function
10712
10713 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * paragraph.C (Paragraph): dont call clear, the work has already
10716         been done.
10717
10718         * lyxtextclass.C (operator): assert if n is empty
10719
10720         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10721         work manually instead.
10722
10723 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * BufferView_pimpl.C: protect selectionLost against text == 0
10726
10727 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * text.C (breakParagraph): fix a setting layout to '0' problem.
10730
10731 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10732
10733         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10734         final location of file, for the included files, and graphics.
10735
10736 2002-03-05  Juergen Vigna  <jug@sad.it>
10737
10738         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10739
10740 2002-03-04  Juergen Vigna  <jug@sad.it>
10741
10742         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10743
10744         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10745         last column of multicolumn cells.
10746         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10747
10748 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10749
10750         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10751         file if it doesn't go to a temporary file.
10752
10753         * buffer.C (sgmlOpenTag):
10754         (sgmlCloseTag):  remove extra newline insertion.
10755
10756 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10757
10758         * text.C (getRowNearY): comment out debug msg
10759
10760 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10761
10762         * text2.C: first -> first_y
10763
10764         * text.C (getRowNearY): add some attemts at a possible
10765         optimization, not working.
10766
10767         * tabular.[Ch]: add BufferParams to several function so that newly
10768         created paragraph can be initialized to he default layotu for the
10769         buffers textclass.
10770
10771         * tabular-old.C (ReadOld): add buf->params to call of Init
10772
10773         * screen.C: rename text->first to text->first_y
10774
10775         * paragraph.C (breakParagraph): always set layout in the broken
10776         paragraph
10777
10778         * lyxtextclass.C (Read): remove lowercase
10779         (hasLayout): ditto
10780         (operator): ditto
10781         (delete_layout): ditto
10782
10783         * lyxtext.h: rename first -> first_y
10784
10785         * lyxlayout.C (Read): remove lowercase
10786         (name): ditto
10787         (setName): ditto
10788         (obsoleted_by): ditto
10789
10790         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10791
10792         * buffer.C (insertErtContents): add params are to InsetERT
10793         (parseSingleLyXformat2Token): add code to check if a paragraphs
10794         layout really exist.
10795         (parseSingleLyXformat2Token): add params to several inset
10796         constructors
10797         (asciiParagraph): remove lowercase, do the layout comparisons with
10798         no_case
10799
10800         * BufferView_pimpl.C (cursorNext): first -> first_y
10801         (resizeCurrentBuffer): first -> first_y
10802         (updateScrollbar): first -> first_y
10803         (scrollCB): first -> first_y
10804         (workAreaMotionNotify): first -> first_y
10805         (workAreaButtonPress): first -> first_y
10806         (checkInsetHit): first -> first_y
10807         (cursorPrevious): first -> first_y
10808         (cursorNext): first -> first_y
10809         (Dispatch): add buffer_->params to severl inset contructors
10810
10811 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * lyxlayout.C (Read): remove some debug info that I forgot.
10814
10815         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10816         clean up the code slightly.
10817         (makeLinuxDocFile): ditto
10818         (makeDocBookFile): ditto
10819
10820         * text2.C: layout as string
10821
10822         * text.C: layout as string
10823
10824         * paragraph_pimpl.C: layout as string
10825
10826         * paragraph.[Ch]: layout as string
10827
10828         * lyxtextclasslist.[Ch]: layout as string
10829
10830         * lyxtextclass.[Ch]: layout as string
10831
10832         * lyxtext.h: layout as string
10833
10834         * lyxlayout.[Ch]: layout as string
10835
10836         * lyx_cb.C: layout as string
10837
10838         * bufferview_funcs.C: layout as string
10839
10840         * bufferparams.C: layout as string
10841
10842         * buffer.C: layout as string
10843
10844         * LyXView.[Ch]: layout as string
10845
10846         * LaTeXFeatures.[Ch]: layout as string
10847
10848         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10849
10850         * BufferView_pimpl.C: change current_layout to string, remove
10851         lyx::layout_type.
10852         (Dispatch):
10853         (smartQuote):
10854         (insertInset):
10855         (workAreaButtonRelease): layout as string
10856
10857         * BufferView2.C (unlockInset): adjust
10858
10859         * vspace.C (asLatexCommand): use an explict temp variable.
10860
10861 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * Makefile.am: use FRONTEND_*
10864
10865 2002-03-01  Juergen Vigna  <jug@sad.it>
10866
10867         * tabular.C (SetWidthOfMulticolCell): changed to something better
10868         I hope but still work in progress.
10869         (recalculateMulticolumnsOfColumn): renamed function from
10870         recalculateMulticolCells as it is more appropriate now.
10871         (SetWidthOfCell): calculate multicols better.
10872
10873 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10876
10877         * lyxfunc.C (processKeySym): print sequence also if it is
10878         `deleted' (complete)
10879
10880         * kbsequence.C (print): print sequence even if it is deleted
10881         (complete would be a better word, actually).
10882
10883         * lyxfunc.C (dispatch): print complete options after a prefix key
10884
10885         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10886
10887 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10888
10889         * text2.C (setCharFont): eliminate setCharFont code duplication.
10890
10891 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10894         LFUN_TABULAR_FEATURE (bug #177)
10895
10896 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10897
10898         * Makefile.am: remove figure.h
10899
10900 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10901
10902         * Bufferview_pimpl.C:
10903         * CutAndPasteC:
10904         * LaTeX.C:
10905         * LyXSendto.C:
10906         * buffer.C:
10907         * bufferlist.C:
10908         * converter.C:
10909         * language.C:
10910         * lyxfunc.C:
10911         * lyxvc.C:
10912         * paragraph.C:
10913         * text.C:
10914         * text2.C: remove #include "lyx_gui_misc.h".
10915
10916         * LaTeX.C: added #include <cstdio>
10917
10918 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10921         that the paragraph following this one can have.
10922
10923         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10924
10925         * vspace.C (asLatexCommand): fix bogus gcc warning
10926
10927         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10928
10929 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10930
10931         * text2.C (setLayout): get rid of redundant code
10932
10933 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10934
10935         * text2.C (incDepth): make sure depth cannot be increased beyond
10936         reasonable values.
10937
10938 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10939
10940         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10941         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10942
10943         * PainterBase.h (image):
10944         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10945         a LyXImage const *.
10946
10947 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * BufferView.C:
10950         * BufferView.h:
10951         * BufferView_pimpl.C:
10952         * BufferView_pimpl.h:
10953         * LaTeXFeatures.C:
10954         * LyXAction.C:
10955         * LyXView.C:
10956         * Makefile.am:
10957         * UpdateList.h:
10958         * UpdateList.C:
10959         * buffer.C:
10960         * figure.h:
10961         * figureForm.C:
10962         * figureForm.h:
10963         * figure_form.C:
10964         * figure_form.h:
10965         * lyx_cb.C:
10966         * lyx_gui.C:
10967         * lyx_gui_misc.C:
10968         * lyxfunc.C:
10969         * sp_base.h:
10970         * sp_ispell.h:
10971         * sp_pspell.h:
10972         * sp_spell.C: remove fig inset, and the crap house of
10973           cards that follows it
10974
10975 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * Makefile.am:
10978         * lyxserver.C:
10979         * os2_defines.h:
10980         * os2_errortable.h:
10981         * nt_defines.h: move .h into support/
10982
10983         * vms_defines.h: remove
10984
10985         * WorkArea.C: add space in debug output
10986
10987         * text2.C:
10988         * paragraph.C:
10989         * buffer.C: add WITH_WARNINGS
10990
10991         * vc-backend.h:
10992         * vc-backend.C:
10993         * bufferlist.C: s/retrive/retrieve/, add docs
10994
10995         * vspace.h:
10996         * vspace.C:
10997         * kbmap.h:
10998         * lyxlength.h:
10999         * lyxgluelength.h:
11000         * length_common.h:
11001         * chset.h:
11002         * chset.C: add docs
11003
11004         * lyxgui.C: add ID to X error handler
11005
11006         * lyxtestclass.c: fix typo
11007
11008 2002-02-26  Juergen Vigna  <jug@sad.it>
11009
11010         * tabular_funcs.C (write_attribute): changed so that some default
11011         attributes are not written at all.
11012         (getTokenValue): set default values before trying to read the
11013         value so we have the return value always set as default if we don't
11014         find the token we search for.
11015
11016         * tabular.C (Write): write bools as bools not as strings!
11017
11018 2002-02-22  Juergen Vigna  <jug@sad.it>
11019
11020         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11021         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11022
11023         * text.C (leftMargin): don't add an indent for paragraphs inside
11024         tabular cells (fix #208).
11025
11026 2002-02-21  José Matos  <jamatos@fep.up.pt>
11027
11028         * tabular.C (docBook): fixed support for long tables.
11029
11030 2002-02-20  Juergen Vigna  <jug@sad.it>
11031
11032         * text2.C (getFont): get the drawing font of the Inset if this
11033         paragraph is inside an inset (only important for InsetERT for now).
11034
11035         * buffer.C (insertErtContents): use new lanugage params in ERT
11036         constructor.
11037
11038         * CutAndPaste.C: commenting out seemingly uneeded code.
11039
11040 2002-02-19  Allan Rae  <rae@lyx.org>
11041
11042         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11043         Iterators might be simple to use but they also get invalidated.
11044         (removeAutoInsets): renamed saved cursor tracking variables and added
11045         some comments to clarify what everything does.
11046
11047 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11048
11049         * Chktex.C:
11050         * LaTeX.C:
11051         * LyXSendto.C:
11052         * converter.C:
11053         * lyx_cb.C:
11054         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11055         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11056
11057         * lyxfunc.C:
11058         * vc-backend.h: remove #include "support/syscall.h"
11059
11060         * LaTeX.C:
11061         * LyXSendto.C:
11062         * converter.C: rearrange #includes in Lars' approved fashion.
11063
11064         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11065         forward declare class Timeout in the header file.
11066
11067         * XFormsView.C: changes due to the above.
11068
11069         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11070         similar to LyXView.
11071
11072         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11073         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11074
11075 2002-02-18  José Matos  <jamatos@fep.up.pt>
11076
11077         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11078         insets contents.
11079
11080 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11081
11082         * a lot of small ws changes
11083         * add a lot of using std::XXX
11084         * use std construcs some places where approp.
11085         * use some exisint stuff from lyxfunctional where approp.
11086         * Make file changes to use partial linking (lets test this now...)
11087
11088 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11089
11090         * Chktex.C:
11091         * buffer.C:
11092         remove #include "support/syscontr.h" as it's redundant. Always has been.
11093
11094         * Chktex.C:
11095         * LaTeX.C:
11096         * LyXSendto.C:
11097         * converter.C:
11098         * lyx_cb.C:
11099         * vc-backend.C:
11100         change Systemcalls::System to Systemcalls::Wait and
11101         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11102         No change of functionality, just reflects the stripped down Systemcalls
11103         class.
11104
11105 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11106
11107         * debug.[Ch]: add a GRAPHICS type to the enum.
11108
11109 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11112
11113         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11114         there is an inset.
11115
11116 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11119         match the changes below.
11120
11121         * text2.C (toggleInset): if there is not editable inset at cursor
11122         position, try to see if cursor is _inside_ a collapsable inset
11123         and close it.
11124
11125 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11126
11127         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11128         document menu has a nice checkbox
11129
11130 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * lyxlength.C (asLatexString): change PW to output as percent of
11133         \textwidth.
11134
11135         * lengthcommon.C: change '%' to 't%'
11136
11137         * lyxfunc.C (dispatch): a few comments from Martin
11138
11139 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * WorkArea.h:
11142         * WorkArea.C:
11143         * BufferView_pimpl.h:
11144         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11145           the X selection.
11146
11147 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * vspace.C (inPixels): fix compiler warning
11150
11151 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * lyxfunc.C (getStatus): fix status message for disabled commands.
11154
11155 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * BufferView_pimpl.C: fix crash on close buffer
11158         during selection (#227)
11159
11160 2002-01-27  Herbert Voss  <voss@lyx.org>
11161
11162         * buffer.C: link old Figure to new graphic inset
11163
11164 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11165
11166         * FontLoader.C (getFontinfo): Change the latex font names in order
11167         to match the names of type1inst.
11168
11169 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11172
11173         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11174         (extchanged): ditto
11175         (ext_exist): ditto
11176         (remove_files_with_extension): ditto
11177         (remove_file): ditto
11178         (write): ditto
11179
11180         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11181         document is smaller than the work area height. Do not initialize
11182         static variables to 0.
11183
11184 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11185
11186         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11187
11188         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11189         LFUN_LAYOUT_PARAGRAPHS.
11190
11191         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11192         tabular. It is possible to provide a possible cell, which will
11193         typically be the actcell from the corresponding insettabular
11194
11195         * lyxfunc.C (getStatus): small cleanup; disable
11196         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11197         true
11198
11199 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11202
11203         * paragraph.C (startTeXParParams):
11204         (endTeXParParams): new methods. The LaTeX code to
11205         start/end paragraph formatting
11206         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11207         empty (fixes bug #200)
11208
11209         * vspace.C (inPixels): adapt to the change below
11210         (inPixels): [later] more cleanups (remove unused variables)
11211
11212         * lyxlength.C (inPixels): change to use a width and a height as
11213         parameter.
11214
11215 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11218         Replaced with \paperwidth
11219
11220         * DepTable.C (insert): add std:: qualifier
11221
11222 2002-01-18  Allan Rae  <rae@lyx.org>
11223
11224         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11225         updated also?
11226
11227         * text.C (drawInset): Turned out I didn't know enough about how
11228         rebreaking worked.  This fixes most of the redraw problems.  I see
11229         an occasional cursor trail when a line is broken now and the cursor
11230         placement can seem out by a few pixels also after a rebreak.
11231
11232 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11233
11234         * buffer.C (parseSingleLyXformat2Token): update because minipage
11235         width is now a LyXLength
11236
11237         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11238
11239         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11240         math insets
11241
11242 2002-01-17  Juergen Vigna  <jug@sad.it>
11243
11244         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11245
11246         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11247         is set correctly and the inset is updated correctly.
11248
11249 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11252         the beginning of the loop.
11253
11254 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * lyxrc.C: improve help for use_scalable_fonts
11257
11258 2002-01-17  Allan Rae  <rae@lyx.org>
11259
11260         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11261
11262 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11265         make sure to set their inset_owner to the right value (bug #171)
11266
11267 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11268
11269         * DepTable.h
11270         * DepTable.C: Implement mtime checking to reduce time spent doing
11271         CRCs.
11272
11273 2002-01-16  Juergen Vigna  <jug@sad.it>
11274
11275         * tabular.C (GetAdditionalHeight): one of error fixed.
11276
11277         * lyxrc.C (output): small fix in writing use_pspell.
11278
11279 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11280
11281         * sp_base.h: #include LString.h
11282
11283 2002-01-16  Allan Rae  <rae@lyx.org>
11284
11285         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11286         Can someone check this please?
11287
11288         * text.C (drawInset): It was possible that p.row would be removed by
11289         breakAgainOneRow upsetting a few other settings.  There may be another
11290         small tweak possible by setting need_break_row = 0 when p.row has been
11291         removed but I don't know enough about the logic here.
11292
11293 2002-01-15  Allan Rae  <rae@lyx.org>
11294
11295         * text.C (insertChar): removed conditional truism.
11296
11297         * BufferView2.C (removeAutoInsets): More tweaks.
11298         cur_par_prev could be a stray pointer.  Check for trailing empty line
11299         in case last line was cur_par and only had an error inset on it.
11300
11301 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11304         absolute
11305
11306         * vc-backend.C (most methods):
11307         * exporter.C (Export):
11308         * converter.C (convert):
11309         (runLaTeX):
11310         * LyXSendto.C (SendtoApplyCB):
11311         * lyxfunc.C (dispatch):
11312         (menuNew):
11313         (open):
11314         (doImport):
11315         * lyx_cb.C (AutoSave):
11316         (InsertAsciiFile):
11317         * BufferView_pimpl.C (MenuInsertLyXFile):
11318         * buffer.C (runChktex): use Buffer::filePath().
11319
11320         * buffer.h: rename filename to filename_; rename filepath to
11321         filepath_ and make it private
11322         (filePath): new method
11323
11324         * buffer.C (writeFile): use fileName()
11325         (getLatexName):
11326
11327         * lyx_main.C (init): fix starting  of LyX when the binary is a
11328         link from so,ewhere else.
11329
11330         * minibuffer.C: include <cctype> for isprint
11331
11332 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11333
11334         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11335         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11336         name clash with InsetCollapsable's width function.
11337
11338 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * lastfiles.C: include <iterator>
11341
11342 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11343
11344         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11345         std::count.
11346
11347         * buffer.C (makeLaTeXFile): ditto.
11348         Also make loop operation more transparent.
11349
11350 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11351
11352         * ToolbarDefaults.C: remove trailing comma closing namespace.
11353
11354         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11355
11356         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11357         as in WorkArea.
11358
11359         * trans.C (Load): comment out unused variable, allowed.
11360
11361 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * minibuffer.[Ch] (append_char): new method to recieve input from the
11364         drop-down completion browser. If a key was pressed, then recieve this
11365         char and append it to the existing string.
11366         (peek_event): modify the positioning data passed to the completion
11367         browser so that it can be placed above the minibuffer rather than below.
11368 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11369
11370         * LyXAction.C (init): alloe error-next for readonly documents.
11371
11372         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11373         count.
11374
11375 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * bufferlist.C (readFile): create the buffer _after_ checking that
11378         the file exists.
11379
11380         * lyxfunc.C (verboseDispatch): fix handling of arguments
11381
11382         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11383
11384         * lyxrc.C: use string::erase() instead of initializing to "".
11385
11386
11387 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * BufferView_pimpl.h:
11390         * BufferView_pimpl.C:
11391         * WorkArea.h:
11392         * WorkArea.C:
11393         * text2.C: tell X when we have made a selection for copying
11394
11395 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11396
11397         * BufferView_pimpl.C (MenuInsertLyXFile):
11398         * lyxfunc.C (menuNew):
11399         (open):
11400         (doImport): add shortcuts to directory buttons
11401
11402         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11403         open a float)
11404
11405         * lyxfunc.C (setStatusMessage):
11406         (getStatusMessage): new methods
11407         (getStatus):use setStatusMessage instead of setErrorMessage
11408         (dispatch): when function is disabled, set error message here
11409         [instead of in getStatus previously]
11410
11411         * BufferView_pimpl.C (workAreaButtonRelease): update
11412         toolbar/menubar here too.
11413
11414 2002-01-13  Allan Rae  <rae@lyx.org>
11415
11416         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11417         Now seems indestructible.  Remaining task is to audit all other
11418         code affected by deleteEmptyParagraphMechanism.  One small quirk
11419         left is that an empty document with an error in the preamble can
11420         be made to report an error but no error box appears.  I don't know
11421         where it goes.
11422         (removeAutoInsets): Improved comments.
11423
11424 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * Thesaurus.h:
11427         * Thesaurus.C: update for Aiksaurus 0.14
11428
11429 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * text2.C (firstParagraph): removed member function, all uses
11432         replaces with ownerParagraph
11433         (redoParagraphs): here
11434         (updateInset): here
11435         (toggleAppendix): here
11436         * BufferView2.C (insertErrors): here
11437         (setCursorFromRow): here
11438
11439 2002-01-13  Allan Rae  <rae@lyx.org>
11440
11441         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11442         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11443         There is still a way to segfault this although you may have to do this
11444         multiple times: Have an InsetERT with an unknown command in it.
11445         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11446         <down-arrow>, <Enter> again, View->DVI, BANG!
11447
11448         * text2.C (setCursor):
11449         (deleteEmptyParagraphMechanism):
11450         * lyxtext.h (setCursor):
11451         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11452         Making use of the return value may help fix other bugs.
11453
11454 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11455
11456         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11457
11458         * LyXView.C (updateMenubar): call MenuBar::update here
11459         (updateToolbar): but not here
11460         (showState): do not update toolbar/menubar
11461
11462         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11463         should need to care about that.
11464
11465         * lyxfunc.C (verboseDispatch): simplify a bit
11466         (getStatus): have a version which takes a pseudoaction, and
11467         another which requires a (kb_action,string).
11468
11469         * LyXAction.C (retrieveActionArg): make it work also when action
11470         is not a pseudo-action.
11471         (getActionName): simplify a bit
11472         (helpText):
11473
11474 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * lyxfunc.C (verboseDispatch): new families of methods with
11477         several ways to specify a command and a bool to indicate whether
11478         the command name and shortcut should be displayed in minibuffer
11479         (eventually, we could extend that to a finer bitmask like
11480         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11481         (dispatch): the pristine dispatch command which just, well,
11482         dispatchs! Note it still sets its result to minibuffer; I'm not
11483         sure we want that.
11484
11485         * lyxfunc.h: remove setHintMessage
11486
11487         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11488
11489 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * BufferView_pimpl.C (specialChar): delete new inset if we have
11492         not been able to insert it.
11493
11494         * kbmap.C: revert to using int instead of kb_action, since all we
11495         are dealing with is pseudo-actions.
11496
11497         * LyXAction.C (searchActionArg): change to return int instead of
11498         kb_action, since the result is a pseudoaction.
11499
11500 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * buffer.C (insertErtContents): Fix (partially) the font bug.
11503
11504 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11507         as the other one is broken on my machine!
11508
11509 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11510
11511         * commandtags.h:
11512         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11513
11514 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11515
11516         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11517         reflect their actual use. Provide compatibility code for older lyxrc
11518         files.
11519
11520         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11521         FL_NORMAL_STYLE.
11522         change names of popup font variables in line with the changes to lyxrc.C
11523
11524 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * buffer.C (asciiParagraph): avoid outputing a word twice after
11527         an inset.
11528
11529         * lyxrc.C (getDescription): document that document_path and
11530         template_path can be empty.
11531
11532 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * LaTeXFeatures.C (getMacros):
11535         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11536
11537         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11538
11539         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11540         getPackages.
11541         (getPackages): rename feature "floats" to "float". Use an array to
11542         iterate over 'simple' features (i.e. just a \usepackage). Add
11543         handling of "amsmath" (renamed from "amsstyle").
11544
11545 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11546
11547         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11548         features list.
11549
11550 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11551
11552         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11553         FuncStaus::FuncStatus & FuncStaus::some_method().
11554
11555 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11556
11557         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11558         of the func_satus stuff. Edited and massaged in various ways by
11559         JMarc.
11560
11561         * lyxfunc.C (getStatus): use FuncStatus
11562
11563 2002-01-08  Juergen Vigna  <jug@sad.it>
11564
11565         * text.C (nextBreakPoint): use function Inset::isChar().
11566
11567         * paragraph.C (TeXOnePar): use function
11568         Inset::forceDefaultParagraphs.
11569
11570         * buffer.C (latexParagraphs): use function
11571         Inset::forceDefaultParagraphs.
11572
11573 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11574
11575         * lyx_gui.C (init): set the style of the menu popups to
11576         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11577
11578 2002-01-07  Juergen Vigna  <jug@sad.it>
11579
11580         * text.C (setHeightOfRow): small fix
11581         (prepareToPrint): don't look at alignment if we don't have the place
11582         for doing it.
11583
11584 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11585
11586         * box.C: New file. Move the Box methods and functions out of box.h,
11587         following Lars' suggestion.
11588
11589 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * box.h: #include "support/LOstream.h", needed for inlined function.
11592
11593         * lyxtextclass.C:
11594         * lyxtextclasslist.C: added some using std declarations.
11595
11596 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * box.h: make signed dimensions to allow insets wider than
11599           the screen (bug #162)
11600
11601         * BufferView_pimpl.C: add some insetHit debug
11602
11603 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * vc-backend.C: add FIXME
11606
11607 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * lyxfunc.C (getStatus): enable code for showing math font status
11610         in toolbar/menu.
11611
11612 2002-01-07  Juergen Vigna  <jug@sad.it>
11613
11614         * text.C (nextBreakPoint): removed debug output not needed anymore.
11615
11616 2002-01-06  Juergen Vigna  <jug@sad.it>
11617
11618         * text.C (nextBreakPoint): fixed up this function we had this bug
11619         since ever but now hopefully we break row better.
11620         (insertChar): we have to check if an inset is the next char as it
11621         could now happen that a large inset is causing a break.
11622
11623 2002-01-05  Juergen Vigna  <jug@sad.it>
11624
11625         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11626         if it doesn't like to be drawed.
11627
11628 2002-01-04  Juergen Vigna  <jug@sad.it>
11629
11630         * BufferView2.C (lockInset): forgot to set a cursor.
11631
11632         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11633
11634 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11635
11636         * FormMathsPanel.C:
11637         * FormMathsPanel.h
11638         * MathsSymbols.C:
11639         * form_maths_panel.C:
11640         * form_maths_panel.h:
11641         * form_maths_panel.fd: implemented sub- and super- buttons in math
11642         panel.
11643
11644         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11645         (or ^ space) to be used as in TeX (req'd by André).
11646
11647         * lyxfunc.C: Allow ^ and _ again to be used both as
11648         super/subscript (mathed) and as themselves (in text).
11649
11650 2002-01-03  Allan Rae  <rae@lyx.org>
11651
11652         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11653         "LyX" or the filename of the current buffer if it has one.  This is a
11654         modified form of John Levon's patch.
11655
11656         * XFormsView.C (setWindowTitle): also set icon title.
11657
11658         * LyXView.h (setWindowTitle): signature changed.
11659         * XFormsView.h (setWindowTitle): ditto.
11660
11661 2002-01-02  Juergen Vigna  <jug@sad.it>
11662
11663         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11664
11665 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * screen.C (topCursorVisible): introduce a temp var for
11668         text->cursor.row(), handle the case where this row is null. (kindo
11669         hachish)
11670
11671         * text2.C (setCursor): add a couple of asserts.
11672
11673         * paragraph.h (inset_iterator): add -> operator
11674
11675         * paragraph.[Ch] (autoDeleteInsets): remove member function
11676
11677         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11678         cursor pos correctly and handle inset deletion by itself.
11679         (insertErrors): move iterator declaration out of for expression
11680
11681         * lyxtextclass.C: add <algorithm>
11682
11683         * Makefile.am: added the new files to sources, removed layout.C
11684
11685         * layout.C: removed file
11686
11687         * layout.h: remove LYX_DUMMY_LAYOUT
11688
11689         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11690         layout.
11691
11692         * lyxlayout.[Ch]:
11693         * lyxtextclass.[Ch]:
11694         * lyxtextclasslist.[Ch]: new files
11695
11696         * include order changes to a lot of files, also changes because of
11697         the six new files.
11698
11699 2001-12-27  Juergen Vigna  <jug@sad.it>
11700
11701         * buffer.C (asciiParagraph): more fixes.
11702
11703         * tabular.C (ascii): make ascii export support export of only the
11704         data separated by a column-delimiter.
11705         (ascii): better support for ascii export.
11706
11707         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11708
11709 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11710
11711         * tabular_funcs.C: use a "using std::getline" instead of the
11712         previous fix from Angus (necessary for cxx + lyxstring)
11713
11714 2001-12-24  Juergen Vigna  <jug@sad.it>
11715
11716         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11717
11718         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11719         problems. First check a minipage also if we have some ert-contents
11720         (not only on par->size(), second set the right depth of the paragraph
11721         on the relink to the root-paragraph-list!
11722
11723         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11724         which then did not anymore update the main paragraphs on undo/redo!
11725
11726 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11727
11728         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11729         code. Support all font-changing funcs (even those which are not in
11730         menu currently). Support for reporting font settings in
11731         mathed (disabled until Andre provides a function on mathed's side).
11732
11733         * func_status.h (toggle): small helper function to set toggle
11734         state on a flag.
11735
11736 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11737
11738         * tabular_funcs.C: getline -> std::getline
11739
11740 2001-12-21  Juergen Vigna  <jug@sad.it>
11741
11742         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11743         accessed and could be 0 (I couldn't generate this but it seems
11744         Michael could!).
11745
11746 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11749         * tabular_funcs.h: here and include iosfwd
11750
11751 2001-12-20  Juergen Vigna  <jug@sad.it>
11752
11753         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11754         inside inset but undo_par was.
11755
11756 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * Thesaurus.C: always include <config.h> in sources.
11759
11760         * Painter.h:
11761         * lyxlookup.h:
11762         * box.h: do not include <config.h> in header files
11763
11764         * text.C (paintLastRow): remove unused variable
11765
11766         * text.C (transformChar):
11767         (insertChar):
11768         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11769
11770         * Painter.C (text):
11771         * font.C (width): rewrite to use uppercase() instead of
11772         islower/toupper.
11773
11774         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11775
11776 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * lyxfind.C: clean up of find failure position change
11779
11780 2001-12-20  Juergen Vigna  <jug@sad.it>
11781
11782         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11783
11784         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11785         (TeXRow): added to LaTeX a single tabular row.
11786         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11787         (Latex): simplified and finally good LT-h/f support.
11788         (various_functions): just small adaptions for LT-h/f support.
11789
11790         * tabular_funcs.[hC]: added and moved here all not classfunctions
11791         of LyXTabular.
11792
11793 2001-12-19  Juergen Vigna  <jug@sad.it>
11794
11795         * tabular.[Ch]: better support for longtabular options (not finished
11796         yet!)
11797
11798 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * text.C (paintLastRow): use the label font instead of the font of
11801         the last character to compute the size of *_BOX. This makes more
11802         sense and avoids a crash with empty paragraphs.
11803         Use Painter::rectangle to draw EMPTY_BOX.
11804
11805 2001-12-19  Juergen Vigna  <jug@sad.it>
11806
11807         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11808         the paragraphs if the replaced paragraph is not the first one!
11809         Tried to delete not used paragraphs but does not work yet so for
11810         now it's inside #ifdef's and by default off!
11811
11812 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11813
11814         * MenuBackend.C: include "lyx_main.h" instead of declaring
11815         lastfiles (actually was declared as LastFiles* instead of a
11816         scoped_ptr).
11817
11818 2001-12-17  Juergen Vigna  <jug@sad.it>
11819
11820         * tabular.C (AppendColumn): applied John's fix
11821
11822 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * BufferView.h:
11825         * BufferView.C:
11826         * BufferView_pimpl.h:
11827         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11828
11829         * Makefile.am:
11830         * box.h: new start of class for above
11831
11832         * lyxfunc.C: ignore space-only minibuffer dispatches.
11833           Show the command name when it doesn't exist
11834
11835         * minibuffer.C: don't add empty lines to the history
11836
11837         * minibuffer.C: add a space on dropdown completion
11838
11839 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * text.C: fix line above/below drawing in insets
11842
11843 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * lyxlength.C (LyXLength): Initialize private variables.
11846
11847 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11850         when inserting error insets.
11851
11852 2001-12-13  Juergen Vigna  <jug@sad.it>
11853
11854         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11855         actually sometimes the before-paragraph.
11856         (setUndo): don't clear the redostack if we're not actually undoing!
11857
11858 2001-12-06  Juergen Vigna  <jug@sad.it>
11859
11860         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11861         and fixed redoing of main paragraph, so we can use it now ;)
11862
11863         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11864
11865 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11868         Juergen's request
11869
11870 2001-12-13  André Pönitz <poenitz@gmx.net>
11871
11872         * undostack.[Ch]:
11873         * undo_func.C: minor cleanup
11874
11875 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11876
11877         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11878         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11879         font in urw-fonts package which is marked as -urw-fontspecific and
11880         does not work (incidentally, changing the encoding in the
11881         fonts.dir of this package to -adobe-fontspecific fixes the
11882         problem).
11883
11884         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11885         is a crash when undoing first paragraph (Juergen, please take a
11886         look). THis does not mean the undo fix is wrong, just that it
11887         uncovers problems.
11888
11889         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11890         the (Paragraph*) version when needed instead of duplicating the
11891         code.
11892
11893         * text.C (workWidth): use Inset::parOwner to find out where the
11894         inset has been inserted. This is a huge performance gain for large
11895         documents with lots of insets. If Inset::parOwner is not set, fall
11896         back on the brute force method
11897
11898         * paragraph_pimpl.C (insertInset):
11899         * paragraph.C (Paragraph):
11900         (cutIntoMinibuffer): set parOwner of insets when
11901         inserting/removing them
11902
11903         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11904
11905 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11906
11907         * commandtags.h:
11908         * LyXAction.C:
11909         * lyx_main.C:
11910         * lyxfunc.C:
11911         * mathed/formulabase.C:
11912         * mathed/math_cursor.[Ch]:
11913         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11914
11915
11916 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * lyxlength.[Ch] (operator!=): new function
11919
11920 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * text.C (workWidth): use Inset::parOwner to find out where the
11923         inset has been inserted. This is a huge performance gain for large
11924         documents with lots of insets. If Inset::parOwner is not set, fall
11925         back on the brute force method
11926
11927         * paragraph_pimpl.C (insertInset):
11928         * paragraph.C (Paragraph):
11929         (cutIntoMinibuffer): set parOwner of insets when
11930         inserting/removing them
11931
11932         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11933
11934 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * tabular-old.C (getTokenValue):
11937         * tabular.C (getTokenValue):
11938         (write_attribute): new versions for LyXLength
11939         (everywhere): adjust the use of widths
11940
11941         * tabular.h: change the type of widths from string to LyXLength
11942
11943 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11944
11945         * paragraph.C: fixed missing line number count when exporting
11946         Environments to LaTeX file
11947
11948         * buffer.C: added informational message for checking line numbers.
11949
11950 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11951
11952         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11953         paragraph, do the 'double space' part, but not the 'empty
11954         paragraph' one.
11955
11956         * text.C (workWidth): small optimization
11957         (getLengthMarkerHeight): use minimal size for negative lengths.
11958
11959 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11960
11961         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11962
11963         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11964
11965 2001-12-11  André Pönitz <poenitz@gmx.net>
11966
11967         * FontLoader.C:
11968         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11969
11970 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * text2.C: keep selection on a setFont()
11973
11974 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyx_cb.C: another bv->text misuse, from insert label
11977
11978 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * kbsequence.h:
11981         * kbsequence.C: re-instate nmodifier mask
11982
11983 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11984
11985         * lyx_main.h: make lyxGUI private.
11986
11987 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * lyxfind.C: place the cursor correctly on failed search
11990
11991 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * text.C (getLengthMarkerHeight): for small heights, the arrows
11994         are not always on top/bottom of the text
11995         (drawLengthMarker): smaller arrows; take the left margin in
11996         account; draw also vfills.
11997         (paintFirstRow):
11998         (paintLastRow): remove special code for vfill and standard spaces,
11999         since everything is handled in drawLengthMarker now.
12000
12001 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * buffer.C (insertErtContents): try to handle font and language
12004         interaction a bit better.g
12005
12006         * ColorHandler.C (updateColor): change the hash to cover the whole
12007         LColor enum, ws cleanup
12008         (getGCLinepars): ditto
12009         (getGCLinepars): only lookup in the linecache once.
12010
12011 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12012
12013         * iterators.C (operator++): Make the iterator more robust
12014
12015         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12016         (John's patch)
12017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12018
12019 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * lyxtext.h:
12022         * text.C: better added space drawing
12023
12024 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * LyXView.C:
12027         * BufferView2.C: fix layout combo update on inset unlock
12028
12029 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * Makefile.am: don't compile unused files
12032
12033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * lyxfunc.C:
12036         * commandtags.h:
12037         * LyXAction.C: remove old LFUN_LAYOUTNO
12038
12039 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * paragraph_pimpl.h:
12042         * paragraph_pimpl.C: isTextAt() doesn't need font param
12043
12044 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * lyxlex.h:
12047         * lyxlex.C: little cleanup
12048
12049 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * BufferView_pimpl.C: fix insertAscii for insets
12052
12053 2001-12-05  Juergen Vigna  <jug@sad.it>
12054
12055         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12056         set the right font on the "multi" paragraph paste!
12057
12058 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * trans_decl.h:
12061         * trans_mgr.[Ch]:
12062         * trans.[Ch]:
12063         * lyxgluelength.C:
12064         * lyxlength.C: remove out-commented code.
12065
12066         * BufferView_pimpl:
12067         * CutAndPaste.C:
12068         * DepTable.C:
12069         * buffer.C:
12070         * chset.C:
12071         * lastfiles.C:
12072         * lyxlex.C:
12073         * lyxlex_pimpl.C:
12074         * lyxserver.C:
12075         * screen.C:
12076         * tabular-old.C:
12077         * tabular.C:
12078         * text.C:
12079         * trans_mgr.C:
12080         * vc-backend.C: change "while(" to "while ("
12081
12082         * lyxlength.[Ch]: add zero function to check if length is zero or
12083         not
12084         * lyxgluelength.C: use it
12085
12086 2001-12-05  Allan Rae  <rae@lyx.org>
12087
12088         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12089         Works for 2.95.3, from what I understand of Garst's reports this should
12090         work for other g++ versions.  We're screwed if the abs(int) definition
12091         changed between bugfix releases of gcc.
12092
12093 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * text.C: fix chapter label offset !
12096
12097 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * lyxtext.h:
12100         * text.C: fix hfill at end of line, clean up
12101
12102 2001-12-04  Juergen Vigna  <jug@sad.it>
12103
12104         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12105         that we force an update of the inset and it's owners if neccessary.
12106
12107 2001-12-03  Juergen Vigna  <jug@sad.it>
12108
12109         * text.C (rowLast): simplified code
12110
12111 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * lyxfunc.C: fix show options on timeout
12114
12115 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * screen.C (topCursorVisible): scroll half a page when the cursor
12118         reached top of bottom of screen
12119
12120 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * minibuffer.C: deactivate on loss of focus
12123
12124 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * vspace.[Ch] (operator!=): add operator.
12127
12128 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * BufferView_pimpl.C: refuse to open an inset when
12131         there's a selection.
12132
12133 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * BufferView_pimpl.C: allow to click on RHS of full row insets
12136
12137 2001-11-30  Juergen Vigna  <jug@sad.it>
12138
12139         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12140         insets for undo reasons.
12141
12142 2001-11-28  André Pönitz <poenitz@gmx.net>
12143
12144         * vspace.[Ch]: cosmetical changes
12145
12146 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * LyXAction.h:
12149         * LyXAction.C:
12150         * lyxfunc.h:
12151         * lyxfunc.C:
12152         * kbmap.h:
12153         * kbmap.C:
12154         * lyxrc.C:
12155         * kbsequence.h:
12156         * kbsequence.C: part re-write of old kb code
12157
12158         * Painter.C:
12159         * WorkArea.C: remove Lgb_bug_find_hack
12160
12161 2001-11-30  José Matos <jamatos@fep.up.pt>
12162
12163         * buffer.C (makeDocBookFile): add a comment to point a hack.
12164         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12165         Fixed a double write of labels.
12166
12167 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12168
12169         * LaTeX.C:
12170         * LaTeX.h Fixed bug in LaTeX class where it would not
12171         re-run latex if no depfiles were changed, but the .dvi was removed.
12172
12173 2001-11-28  André Pönitz <poenitz@gmx.net>
12174
12175         * all the files from the change on 2001/11/26:
12176         use lyx::layout_type instead of LyXTextClass::size_type
12177         use lyx::textclass_type instead of LyXTextClassList::size_type
12178
12179 2001-11-29  Juergen Vigna  <jug@sad.it>
12180
12181         * text.C: added support for paragraph::isFreeSpacing()
12182
12183         * buffer.C: same as above
12184
12185         * paragraph.h: inserted isFreeSpacing() function to enable
12186         FreeSpacing inside InsetERT.
12187
12188         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12189         of the paragraph's in the cut/copy buffer to 0!
12190
12191         * text2.C (removeRow): remove the assert as it can!
12192
12193         * lyxtext.h: added helper function firstRow returning firstrow and
12194         made firstrow private again.
12195
12196         * BufferView2.C (lockInset): don't relock if we're already locked!
12197
12198         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12199         the only paragraph.
12200         (removeRow): added Assert::(firstrow)
12201
12202         * debug.C: forgot to add INSETTEXT here.
12203
12204 2001-11-28  Juergen Vigna  <jug@sad.it>
12205
12206         * sp_spell.C (initialize): changed error text to more general
12207         spellchecker command use (not only ispell!)
12208
12209         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12210
12211         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12212
12213 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * vspace.C: initialise lyxgluelength on failure
12216
12217 2001-11-28  Allan Rae  <rae@lyx.org>
12218
12219         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12220         declaration & definition that looks like a function declaration.
12221
12222 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * BufferView2.C (copy):
12225         (copyEnvironment): do not clear the selection when doing a copy.
12226
12227         * text.C (paintFirstRow): compilation fix
12228
12229 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12230
12231         * tabular.C (Latex): correct line count when writing latex.
12232
12233 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * paragraph_pimpl.h:
12236         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12237           bug a bit
12238
12239 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * text.C:
12242         * LColor.h:
12243         * LColor.C: change vfillline->added_space
12244
12245         * text.C: add markers and text for added space
12246
12247         * vspace.C: fix comment
12248
12249 2001-11-28  André Pönitz <poenitz@gmx.net>
12250
12251         * paragraph.C: whitespace changes
12252         * all the other files from the change on 2001/11/26:
12253         change *::pos_type into lyx::pos_type
12254
12255 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12258         language of the document when inserting error insets.
12259
12260 2001-11-26  André Pönitz <poenitz@gmx.net>
12261
12262         * BufferView_pimpl.[Ch]:
12263         *       CutAndPaste.C:
12264         * buffer.[Ch]:
12265         * lyxcursor.[Ch]:
12266         * lyxfind.C:
12267         * lyxfunc.C:
12268         * lyxrow.[Ch]:
12269         * paragraph.[Ch]:
12270         * paragraph_pimpl.[Ch]:
12271         * sp_spell.C:
12272         * text.C:
12273         * text2.C: reduce header dependencies, introduce type for positions
12274
12275 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * <various>: change to use Alert.h
12278
12279 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12280
12281         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12282         when encountering an unknown token.
12283         (readLyXformat2): Show an error message if there were unknown tokens.
12284
12285 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * BufferView2.C:
12288         * BufferView_pimpl.C:
12289         * buffer.C:
12290         * paragraph.h:
12291         * text.C:
12292         * text2.C: use par->isInset()
12293
12294 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * paragraph_pimpl.h:
12297         * paragraph_pimpl.C: cleanup
12298
12299 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12300
12301         * text2.C (removeRow):
12302         * text.C (setHeightOfRow): remove useless (and costly) call to
12303         getRow.
12304
12305 2001-11-20  Allan Rae  <rae@lyx.org>
12306
12307         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12308         Now need Inset*::checkInsertChar() to return true for appropriate
12309         cases so that the characters in the minibuffer will actually be
12310         inserted.
12311
12312 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * text.C: change the order of the includes.
12315         (workWidth): initialize it at once.
12316         (workWidth): make maxw unsigned
12317         (setHeightOfRow): remove unused variable (inset)
12318         (selectSelectedWord): remove unused variable (inset)
12319         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12320
12321 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12324         server is not running.
12325         (openConnection):
12326         (closeConnection): add debug info when server is disabled.
12327
12328         * ColorHandler.C (getGCForeground): send debug message to GUI
12329         channel.
12330
12331         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12332
12333         * kbmap.C (bind): modify because return conventions of
12334         kb_sequence::parse have changed.
12335
12336         * kbsequence.C (parse): only ignore spaces and not any stupid
12337         control character. This avoids tests like s[i] <= ' ', which are
12338         guaranteed to fail with 8bit characters and signed chars.
12339         Change return code to string::npos when there have been no error
12340         (0 was a bad idea when error is at first character)
12341
12342 2001-11-14  José Matos  <jamatos@fep.up.pt>
12343
12344         * buffer.h:
12345         * buffer.C (simpleDocBookOnePar): removed unused argument.
12346
12347 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12348
12349         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12350         insets which are part of a word. Paragraph::isLetter takes care of
12351         that now. Use Paragraph::isInset to identify insets.
12352         (selectSelectedWord): do not test for hyphenation break.
12353
12354         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12355         that protected spaces are considered as spaces.
12356
12357         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12358         Inset::isLetter.
12359
12360 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * lyxserver.h:
12363         * lyxserver.C: fix it. and small cleanup.
12364
12365 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView_pimpl.C: use inline helpers
12368
12369         * LaTeXFeatures.h:
12370         * LaTeXFeatures.C: fix typos
12371
12372         * Spacing.h:
12373         * Spacing.C: move spacing_string into class
12374
12375         * ToolbarDefaults.C: move stuff into namespace anon
12376
12377         * layout.h: update enum
12378
12379         * lyxfunc.C: use better debug
12380
12381         * minibuffer.h: fix typo
12382
12383         * debug.h:
12384         * debug.C:
12385         * WorkArea.C: add and use Debug::WORKAREA
12386
12387         * lyxtext.h:
12388         * text.C:
12389         * text2.C: code re-organisation, inline helpers
12390
12391 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12392
12393         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12394         std::vector.empty().
12395
12396 2001-11-09  Allan Rae  <rae@lyx.org>
12397
12398         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12399         '\n's after tables.  Tabular and ERT inset work now makes this no
12400         longer necessary.
12401
12402 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * minibuffer.h:
12405         * minibuffer.C: fix crash, improve drop-down completion
12406
12407 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * lyxserver.h:
12410         * lyxserver.C: invalidate fd's when doing endPipe()
12411
12412 2001-11-08  José Matos  <jamatos@fep.up.pt>
12413
12414         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12415         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12416
12417         * paragraph.h:
12418         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12419
12420 2001-11-07  José Matos  <jamatos@fep.up.pt>
12421
12422         * buffer.h:
12423         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12424         const qualifier.
12425
12426         * buffer.C (sgmlOpenTag):
12427         * buffer.C (sgmlCloseTag): removed debug info.
12428
12429         * buffer.h (sgmlOpenTag):
12430         * buffer.h (sgmlCloseTag): made public.
12431
12432 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * buffer.C (saveParamsAsDefaults):
12435         * lyx_cb.C (MenuLayoutSave): remove
12436
12437         * LyXAction.C (init):
12438         * commandtags.h:
12439         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12440
12441 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * buffer.C (setPaperStuff): removed from here...
12444
12445         * bufferparams.C (setPaperStuff): ... and moved there.
12446
12447 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * minibuffer.h:
12450         * minibuffer.C:
12451         * XFormsView.C: add support for drop-down completion
12452
12453 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12454
12455         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12456         commands.
12457
12458 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12461         disabled.
12462
12463 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * lyx_main.C: change ref to known bugs
12466
12467 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12468
12469         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12470         to work around older babel problems.
12471
12472 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12473
12474         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12475
12476 2001-10-24  Juergen Vigna  <jug@sad.it>
12477
12478         * tabular-old.C (ReadOld): below variable changes reflected.
12479
12480         * tabular.[Ch]: added ltType struct for longtable header/footer
12481         defines and changed all instances where they are used. Added
12482         future support for double top/bottom rows.
12483
12484 2001-10-24  José Matos  <jamatos@fep.up.pt>
12485
12486         * buffer.h (docbookHandleCaption):
12487         * buffer.C (docbookHandleCaption): removed unused function.
12488         (makeDocBookFile): moved docbook supported version to v4.1.
12489
12490 2001-10-24  José Matos  <jamatos@fep.up.pt>
12491
12492         * tabular.h:
12493         * tabular.C (docbookRow): new function to export docbook code of a row.
12494         (DocBook): now honors the longtable flags.
12495
12496 2001-10-23  José Matos  <jamatos@fep.up.pt>
12497
12498         * LaTeXFeatures.h:
12499         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12500         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12501
12502         * buffer.C (makeLinuxDocFile):
12503         (makeDocBookFile): reworked the preamble, more clean, and with
12504         support for lyx defined entities. Changed the document declaration
12505         to be more XML friendly.
12506
12507         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12508         if we need to output XML that should be done with a filter.
12509
12510 2001-10-22  Juergen Vigna  <jug@sad.it>
12511
12512         * sp_pspell.h (class PSpell): add alive function needed in the
12513         controller to see if the spellchecker could be started.
12514
12515 2001-10-22  Juergen Vigna  <jug@sad.it>
12516
12517         * buffer.C (insertStringAsLines): modify the font for inserting
12518         chars in certain conditions by calling checkInsertChar(font).
12519
12520 2001-10-19  Juergen Vigna  <jug@sad.it>
12521
12522         * text.C (workWidth): use getRow instead of wrong algorithm.
12523         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12524
12525 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * lyxserver.h:
12528         * lyxserver.C:
12529         * lyx_main.h:
12530         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12531
12532 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12533
12534         * text.C (workWidth): do not search for the exact row when
12535         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12536         optimization for big documents.
12537
12538 2001-10-18  Juergen Vigna  <jug@sad.it>
12539
12540         * text.C (workWidth): new function with added Inset * parameter.
12541
12542 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12545
12546         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12547         change return type of getColumnNearX.
12548
12549
12550         * text.C (changeRegionCase): use uppercase/lowercase instead of
12551         toupper/tolower.
12552         (leftMargin):
12553         (rightMargin): simplify code by factoring out the uses of
12554         textclasslist.
12555         (labelFill):
12556         (numberOfHfills):
12557         (setHeightOfRow):
12558         (appendParagraph): use Paragraph::size_type
12559
12560 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * vspace.C (asLatexString): add a missing break
12563
12564 2001-10-15  Herbert Voss  <voss@perce.de>
12565
12566         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12567
12568 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12571         is not available.
12572
12573 2001-10-10  André Pönitz <poenitz@gmx.net>
12574
12575         * lyxfunc.C: removed greek_kb_flag.
12576
12577 2001-10-10  Herbert Voss  <voss@perce.de>
12578
12579         * lyx_main.C: delete global string help_lyxdir.
12580
12581 2001-10-09  Herbert Voss  <voss@perce.de>
12582
12583         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12584
12585         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12586
12587         * lyx_main.C: added global string help_lyxdir.
12588
12589         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12590
12591 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12592
12593         * lyxrc.C (set_font_norm_type): support iso8859-4
12594
12595 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12596
12597         * LaTeX.C (deplog): add another regex for MikTeX
12598
12599 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12600
12601         * lyxrc.C (set_font_norm_type): support iso8859-3
12602
12603 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12606
12607         * LaTeXFeatures.C: remove special case of french and index
12608
12609         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12610         before \begin{document}). This solves several incompatibilities.
12611
12612 2001-10-03  Garst Reese  <reese@isn.net>
12613
12614         * lyx_cb.C: change CheckTex error msg.
12615
12616 2001-10-03  José Matos  <jamatos@fep.up.pt>
12617
12618         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12619
12620 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * .cvsignore: update
12623
12624         * lyx_main.C (commandLineVersionInfo): use new style version info.
12625
12626         * buffer.C (writeFile):
12627         (makeLaTeXFile):
12628         (makeLinuxDocFile):
12629         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12630
12631         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12632
12633         * version.h: update to use stuff in version.C
12634
12635         * version.C.in: new file. Contains version information determined
12636         at compile time. This is a merging of version.h and
12637         version_info.h.in.
12638
12639 2001-10-03  Juergen Vigna  <jug@sad.it>
12640
12641         * BufferView_pimpl.C (update): don't change "dirty" status in
12642         updateInset call.
12643
12644 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * WorkArea.C (c-tor): re-position version string slightly.
12647
12648 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12649
12650         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12651         revert to previous code.
12652
12653         WorkArea.[Ch]: (show, destroySplash): methods removed.
12654
12655         WorkArea.C: rework code so that it's an amalgam of the codes before and
12656         after the splash screen was moved to WorkArea.
12657
12658 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * lyxrc.C (read):
12661         * vspace.C (inPixels):
12662         (lyx_advance):
12663         * kbmap.C (bind):
12664         * buffer.C (insertStringAsLines):
12665         (asciiParagraph): fix types to be large enough
12666
12667         * lyxlex_pimpl.h: change member status from short to int
12668
12669         * layout.h: fix type of endlabeltype
12670
12671         * kbmap.C (bind):
12672         * kbsequence.C (parse): change return type to string::size_type
12673
12674         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12675         variable
12676
12677         * Bullet.C (bulletSize):
12678         (bulletEntry): do not use short ints as parameters
12679
12680         * BufferView2.C (insertLyXFile): change a char to an int.
12681
12682         * WorkArea.C (WorkArea): remove unneeded floats in computation
12683
12684 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12685
12686         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12687
12688         * paragraph.C (asString): Do not ignore newline/hfill chars when
12689         copying to the clipboard.
12690
12691 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12694         after a multi-line inset.
12695
12696 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12697
12698         * paragraph.C (validate): Set NeedLyXFootnoteCode
12699
12700 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12701
12702         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12703         and decrease-error to decrease.
12704
12705 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12708         it more readable (should be equivalent)
12709
12710 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12711
12712         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12713
12714 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12717         of a cursor (row, etc.) after a character has been deleted
12718         (deleteEmptyParagraphMechanism): call the method above on _all_
12719         cursors held by the LyXText when a double space has been
12720         detected/deleted.
12721
12722 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12725         pixmap.
12726         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12727
12728         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12729         background. Use greyOut() and the new show() methods to toggle between
12730         the foreground and background. Add code to remove the splash after
12731         its initial showing.
12732
12733         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12734         (create_forms): no longer call Dialogs::showSplash.
12735
12736 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * .cvsignore: add version_info.h
12739
12740 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * version_info.h.in: new file
12743
12744         * Makefile.am: add version_info.h.in
12745
12746         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12747         version_info.h instead of VERSION_INFO
12748
12749 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12750
12751         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12752         The ERT inset now returns string().
12753
12754 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12755
12756         * lyxtext.h, text.C (selectNextWord): renamed as
12757         selectNextWordToSpellcheck.
12758
12759         * text.C (selectNextWordToSpellcheck): Modified to not select
12760         words inside an ERT inset.
12761
12762 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12763
12764         * lyx_cb.C (MenuLayoutSave): change a bit the question
12765
12766         * sp_base.h: include <sys/types.h>
12767
12768 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12771
12772 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12773
12774         * several files: fix typos in user-visible strings
12775
12776 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * text2.C (pasteSelection): do not set the selection, since it
12779         will be cleared later. Actually, the intent was to fix the way the
12780         selection was set, but I figured rmoving the code was just as good.
12781
12782 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12783
12784         * FontLoader.C (available): Check if font is available without
12785         loading the font.
12786
12787 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12788
12789         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12790
12791 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * lyxrc.[Ch]: added display_graphics variable and associated code.
12794
12795 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * bufferparams.C (hasClassDefaults): new method. Returns true if
12798         the buffer parameters correspond to known class defaults
12799
12800 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * XFormsView.C (show): set minimum size to the main window.
12803
12804 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * text2.C (copySelection):
12807         (cutSelection):
12808         * lyxfind.C (LyXReplace):
12809         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12810         LyXText::selectionAsString.
12811
12812         * paragraph.C (asString): add "label" argument to the second form
12813
12814         * text2.C (selectionAsString): add "label" argument and pass it to
12815         Paragraph::asString.
12816
12817 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12818
12819         * lyx_main.C (commandLineHelp): remove version information
12820
12821 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12822
12823         * lyx_main.C: add -version commandline option
12824
12825 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * paragraph.h: make the optional constructor arg required instead.
12828         some modifications to other files because of this.
12829
12830         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12831
12832         * lyxserver.C (C_LyXComm_callback): make it static
12833
12834         * lyx_main.C (error_handler): make it static
12835
12836         * lyx_gui.C (LyX_XErrHandler): make it static
12837
12838         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12839
12840         * WorkArea.C: make the extern "C" methods static.
12841
12842         * Makefile.am (lyx_LDADD): simplify
12843
12844 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12845
12846         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12847         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12848
12849         * LyXAction.C (init):
12850         * lyxfunc.C (dispatch): associated code removal.
12851
12852 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * lyxfont.h (isSymbolFont): shut off warning
12855
12856         * text.C (setHeightOfRow):
12857         (getVisibleRow): fix crash with empty paragraphs which have a
12858         bottom line
12859
12860 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12861
12862         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12863         code.
12864
12865 2001-09-04  José Matos  <jamatos@fep.up.pt>
12866         * buffer.C
12867         * buffer.h
12868         * tabular.C (docbook): rename docBook method to docbook.
12869
12870 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12871
12872         * Makefile.am: add dependencies to main.o.
12873
12874 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12875
12876         * FontLoader.C (available): Return false if !lyxrc.use_gui
12877
12878 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12879
12880         * FontInfo.C (query):
12881         * converter.C (view):
12882         * importer.C (Import):
12883         * exporter.C (Export): Can not -> cannot.
12884
12885 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * BufferView_pimpl.C: allow to create index inset even if
12888           string is empty
12889
12890 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * buffer.C (getLists): replace boost::tie code with an explicit pair
12893         as boost::tie can break some compilers.
12894
12895         * iterators.h: Added a std:: declaration to the return type of
12896         ParIterator::size.
12897
12898 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12901           case.
12902
12903 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * iterators.[Ch]: New files. Provide paragraph iterators.
12906
12907         * buffer.C (changeLanguage): Use paragraph iterators.
12908         (isMultiLingual): ditto
12909
12910         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12911
12912 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * FontLoader.C: Support for cmr font.
12915
12916 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12917
12918         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12919         (available): New method.
12920
12921         * FontInfo.C (getFontname): Use scalable fonts even when
12922         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12923         found.
12924
12925 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * converter.C (Formats::view): reverted! Incorrect fix.
12928
12929 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * converter.C (Formats::view): only output the -paper option
12932         if the dvi viewer is xdvi, thereby fixing bug #233429.
12933
12934 2001-08-23  Herbert Voss  <voss@perce>
12935
12936         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12937
12938 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * Spacing.h (Spacing): Set space to Default on in the default
12941         constructor.
12942
12943 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * vc-backend.h (RCS::versionString): add RCS to version
12946         (CVS::versionString): add CVS to version
12947
12948         * vc-backend.C (scanMaster): do not add CVS to version.
12949         (scanMaster): do not add RCS to version
12950
12951         * lyxvc.C (versionString): new method
12952
12953         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12954
12955 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12956
12957         * Spacing.C (set): initialize fval
12958
12959 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12962         " or \.
12963
12964 2001-08-16  Juergen Vigna  <jug@sad.it>
12965
12966         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12967
12968 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * BufferView_pimpl.C:
12971         * figureForm.C:
12972         * lyxtext.h:
12973         * text2.C: setParagraph takes linespacing now
12974
12975 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * LyxAction.C: add internal LFUN_CITATION_INSERT
12978
12979         * LyXView.C: actually apply fix
12980
12981         * bufferlist.C: fix open non-existent file
12982
12983         * lyxfind.C: fix indentation
12984
12985         * lyxfunc.C: remove unneeded assert, fix typo
12986
12987 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * MenuBackend.C: use "Floatname List"
12990
12991 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12994         when converting LaTeX layout to insetERT.
12995         Generate a non-collapsed float when reading old float
12996
12997 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12998
12999         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13000         ERT insets.
13001
13002 2001-08-13  Juergen Vigna  <jug@sad.it>
13003
13004         * text.C (fill): return 0 instead of 20 as this seems to be the more
13005         correct value.
13006
13007 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13010         lyxrc.font_norm.
13011
13012 2001-08-13  Juergen Vigna  <jug@sad.it>
13013
13014         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13015         casesensitive off.
13016         (SearchBackward): comment out the unlocking of the inset_owner this
13017         should not be needed!
13018
13019 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * Many files: Remove inherit_language, and add latex_language
13022
13023         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13024         collapsible insets.
13025
13026 2001-08-10  Juergen Vigna  <jug@sad.it>
13027
13028         * text.C (prepareToPrint): fixed hfill-width in draw!
13029
13030         * BufferView2.C (selectLastWord): save the selection cursor as this
13031         now is cleared in the function LyXText::clearSelection!
13032
13033 2001-08-08  Juergen Vigna  <jug@sad.it>
13034
13035         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13036         BACKSPACE type functions.
13037
13038         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13039         is only cutted from the document but not put in the cut-buffer, where
13040         still the old stuff should be.
13041
13042         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13043
13044         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13045
13046         * tabular.C (SetWidthOfCell): fixed special case where the width
13047         was not updated!
13048         (LeftLine): handle '|' in align_special.
13049         (RightLine): ditto
13050         (LeftAlreadyDrawed): ditto
13051         (SetWidthOfCell): ditto
13052
13053 2001-08-07  Juergen Vigna  <jug@sad.it>
13054
13055         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13056
13057 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13060         * lyxlex.[hC]: ditto
13061
13062 2001-08-06  Juergen Vigna  <jug@sad.it>
13063
13064         * text.C (getVisibleRow): fix up row clearing a bit.
13065
13066 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * minibuffer.C: make sure the X server sees the changes in the input.
13069
13070 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * paragraph.C (getFont): split into...
13073         (getLabelFont): this
13074         (getLayoutFont): and this
13075         * paragraph_pimpl.C (realizeFont): calling this
13076
13077         * text2.C (getFont): split into...
13078         (getLayoutFont): this
13079         (getLabelFont): and this
13080         (realizeFont): all three calling this
13081
13082         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13083         files where used.
13084
13085 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13088
13089 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13090
13091         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13092         layouts from the Quote inset insertion.
13093
13094 2001-08-03  Juergen Vigna  <jug@sad.it>
13095
13096         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13097
13098         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13099         only if status not is already CHANGED_IN_DRAW (second level).
13100
13101         * text.C (draw): don't set the need_break_row when inside an
13102         InsetText LyXText.
13103
13104 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * buffer.C (parseSingleLyXformat2Token): handle more latex
13107         conversion cases.
13108
13109         * bufferview_funcs.[hC]: change function names to
13110         begin with small char, adjust other files.
13111
13112 2001-08-02  André Pönitz <poenitz@gmx.net>
13113
13114         * lyxfunc.C:
13115         BufferView_pimpl.C: remove broken special code for math-greek
13116
13117 2001-08-02  Juergen Vigna  <jug@sad.it>
13118
13119         * BufferView_pimpl.C (update): redone this function so that we
13120         update the text again if there was a CHANGE_IN_DRAW.
13121
13122         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13123         (drawFromTo): added a new internal bool which is used by draw() and
13124         redraw() function.
13125         (general): some cursor drawing problems fixed.
13126
13127 2001-08-01  Juergen Vigna  <jug@sad.it>
13128
13129         * lyxfind.C (LyXFind): fixed
13130         (SearchForward): ditto
13131         (SearchBackward): ditto
13132
13133         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13134         spurius drawing of the cursor in the main area.
13135
13136         * text2.C (status): small fix which could lead to a segfault!
13137         (clearSelection): remove unneeded BufferView param.
13138
13139 2001-08-01  André Pönitz <poenitz@gmx.net>
13140
13141         * lyxfunc.C: small change due to changed mathed interface
13142
13143 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13146
13147 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * lyxfunc.c: fail gracefully if file doesn't exist
13150
13151         * LyXSendto.C:
13152         * buffer.C:
13153         * lyxfunc.C:
13154         * BufferView_pimpl.C: IsDirWriteable() proto changed
13155
13156         * LyXView.C: fix updateWindowTitle() to store the last title
13157
13158 2001-07-31  Juergen Vigna  <jug@sad.it>
13159
13160         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13161         the font (wrong since using of Paragraph::highestFontInRange).
13162
13163         * paragraph.C (highestFontInRange): added a default_size parameter.
13164
13165         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13166         (setHeightOfRow): reformat
13167
13168 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * converter.[hC] + affected files: move to (inital-char)lowercase
13171         function names.
13172
13173         * ParagraphParameters.C (ParagraphParameters): remove commented code
13174
13175         * PainterBase.[Ch]: remove commented code
13176
13177         * LaTeXFeatures.h: add "bool floats" for float.sty
13178
13179         * LaTeXFeatures.C (LaTeXFeatures): init floats
13180         (require): handle float
13181         (getPackages): do it with floats
13182
13183 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13184
13185         * BufferView_pimpl.C (Dispatch): improve handling of
13186         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13187
13188         * commandtags.h: #include lyxfont.h here temporarily to avoid
13189         keybinding bug.
13190
13191         * bufferlist.h: include LString.h here.
13192
13193 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * text2.C (getStringToIndex): new method.
13196
13197 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13198
13199         * *: Reduced header file dependencies all over.
13200
13201 2001-07-30  Baruch Even  <baruch@lyx.org>
13202
13203         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13204
13205 2001-07-29  Baruch Even  <baruch@lyx.org>
13206
13207         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13208
13209 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * ParameterStruct.h (endif): add a default constructor to make
13212         sure that all variables is initialized.
13213
13214         * ParagraphParameters.C (ParagraphParameters): adjust
13215
13216 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13219         index; also, check that there is something to index, and that it
13220         does not span over several paragraphs.
13221         (doubleClick): use WHOLE_WORD_STRICT for double click.
13222
13223         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13224
13225         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13226         scheme.
13227
13228 2001-07-26  Baruch Even  <baruch@lyx.org>
13229
13230         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13231         an InsetFig figure, backwards compatible reading of old figure code.
13232
13233 2001-07-27  Juergen Vigna  <jug@sad.it>
13234
13235         * text2.C: font.realize function adaption.
13236
13237         * text.C (draw): add a warnings lyxerr text if needed.
13238
13239         * layout.C: font.realize function adaption.
13240
13241         * language.C: add inherit_language and implement it's handlings
13242
13243         * bufferview_funcs.C (StyleReset): remove language parameter from
13244         font creation (should be language_inherit now).
13245
13246         * bufferparams.C (writeFile): handle ignore_language.
13247
13248         * paragraph.C (getFontSettings): the language has to be resolved
13249         otherwise we have problems in LyXFont!
13250
13251         * lyxfont.C (lyxWriteChanges): added document_language parameter
13252         (update): removed unneeded language parameter
13253
13254         * paragraph.C (validate): fixed wrong output of color-package when
13255         using interface colors for certain fonts in certain environments,
13256         which should not seen as that on the final output.
13257
13258 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * BufferView_pimpl.C:
13261         * Thesaurus.h:
13262         * Thesaurus.C:
13263         * Makefile.am:
13264         * commandtags.h:
13265         * LyXAction.C: add thesaurus support
13266
13267         * lyxfind.h:
13268         * lyxfind.C: add "once" parameter, for thesaurus, to not
13269           move to the next match
13270
13271 2001-07-26  Juergen Vigna  <jug@sad.it>
13272
13273         * lyxfont.C (realize): honor ignore_language too!
13274         (resolved): ditto.
13275
13276         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13277
13278         * text.C (draw): one place more for ignore_language to not draw
13279         itself!
13280
13281 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13282
13283         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13284
13285 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13288         the minipage conversion problem.
13289
13290 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13293         insert an inset.
13294
13295 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13296
13297         * BufferView.h: don't forward declare WorkArea
13298
13299         * BufferView.C: don't include WorkArea.h
13300
13301 2001-07-25  André Pönitz <poenitz@gmx.net>
13302
13303         * commandtags.h:
13304         * LyXAction.C:
13305         * lyxfunc.C:  new LFUN 'math-space'
13306
13307         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13308
13309 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * text2.C (toggleInset): call open/close
13312
13313 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * lyxfunc.C (dispatch): add debug for the disabled case
13316
13317         * font.C (buttonText): make similar to rectText
13318
13319         * buffer.C (readInset): comment out parsing of insetlist and
13320         insttheorem
13321
13322         * PainterBase.C (rectText): small correction
13323
13324         * BufferView_pimpl.C: comment out insettheorem and insetlist
13325         * LyXAction.C: ditto
13326         * commandtags.h: ditto
13327
13328 2001-07-24  Juergen Vigna  <jug@sad.it>
13329
13330         * text.C (draw): honor the ignore_language.
13331
13332         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13333
13334 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13337         char inset.
13338
13339 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13340
13341         * lyxtext.h: remove unused (and unimplemented) methods
13342
13343 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13344
13345         * text.C (getVisibleRow): honor background color
13346
13347         * PainterBase.h:
13348         * Painter.h: remove default color argument for fillRectangle
13349
13350         * text.C (backgroundColor): new method
13351
13352 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * text.C (getVisibleRow): adjust
13355
13356         * font.[Ch] (rectText): new method, metrics
13357         (buttonText): new method, metrics
13358
13359         * PainterBase.[hC]: make rectText and buttonText always draw and take
13360         fewer paramteres.
13361
13362 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13363
13364         * ToolbarDefaults.C (read):
13365         * MenuBackend.C (read): allow escaping in all strings
13366
13367         * BufferView_pimpl.C (insertAndEditInset): new method.
13368         (Dispatch): use insertAndEditInset whenever appropriate.
13369
13370         * BufferView_pimpl.C (insertNote): removed
13371
13372         * BufferView_pimpl.C (smartQuote): new method, moved from
13373         BufferView; if an insetquote cannot be inserted, insert a '"'
13374         character instead.
13375
13376         * BufferView2.C: remove insertCorrectQuote();
13377
13378         * lyxfunc.C (getStatus): Add support for all remaingin
13379         inset-insert lfuns.
13380
13381         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13382
13383         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13384         command (necessary to pass " as parameter of self-insert.
13385
13386         * text.C (selectWordWhenUnderCursor):
13387         (selectWord): add word_location parameter
13388         (selectWordWhenUnderCursor): same + remove special code for word
13389         boundary.
13390         (selectNextWord): use kind() to guess type of insetspecialchar,
13391         not latex().
13392
13393         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13394         (insertErtContents): create ert insets as collapsed.
13395         (readInset): better compatibility code for Info inset.
13396
13397 2001-07-20  Juergen Vigna  <jug@sad.it>
13398
13399         * lyxfunc.C (dispatch): use always LyXFind now!
13400
13401         * text2.C (init): add a reinit flag so that the LyXText can be
13402         reinited instead of deleted and reallocated (used in InsetText).
13403
13404         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13405
13406         * text.C: ditto
13407
13408         * text2.C: ditto
13409
13410 2001-07-18  Juergen Vigna  <jug@sad.it>
13411
13412         * text.C (selectNextWord): handle insets inside inset by calling
13413         always the bv->text functions so that we can go up the_locking_inset!
13414
13415         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13416         in strange locations when inside an inset!
13417
13418         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13419         handling to include insets.
13420
13421         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13422
13423 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13424
13425         * LyXAction.C (init):
13426         * commandtags.h:
13427         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13428         LIGATURE_BREAK, since the name is so stupid.
13429
13430 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13433         InsetInfos.
13434
13435         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13436
13437         * sp_form.[Ch]: remove.
13438
13439         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13440
13441         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13442         InsetInfo.
13443
13444         * src/buffer.C (readInset): ditto.
13445
13446 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13447
13448         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13449         menuSeparator(), endOfSentenceDot(), ldots() and
13450         hyphenationPoint(), which are therefore removed.
13451         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13452
13453         * LyXAction.C (init):
13454         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13455
13456         * paragraph.C (getWord): removed.
13457
13458         * BufferView_pimpl.C (Dispatch): use last word or selection for
13459         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13460
13461         * lyx_main.C (queryUserLyXDir): do not ask before creating
13462         user_dir, except if it has been named explicitely.
13463
13464 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13465
13466         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13467         a document of zero size.
13468
13469 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13472         approriately in the c-tor and in require().
13473         (getPackages): output the appropriate LaTeX for natbib support.
13474
13475         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13476         variables "use_natbib" and "use_numerical_citations" when reading the
13477         LyX file.
13478         (readInset): read the various natbib cite commands.
13479         (validate): white-space change.
13480
13481         * bufferparams.[Ch]: new variables "bool use_natbib" and
13482         "bool use_numerical_citations".
13483         (writeFile): output them in the LyX file.
13484
13485 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13486
13487         * lyxfunc.C (getStatus): add support for all the inset insertion
13488         commands.
13489
13490         * text2.C (insertInset):
13491         * paragraph.C (insetAllowed):
13492         * BufferView_pimpl.C (insertInset): update to take in account the
13493         renaming of insertInsetAllowed
13494
13495         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13496
13497         * text2.C (getInset): new method. returns inset at cursor position.
13498
13499         * BufferView_pimpl.C (Dispatch): changes because of this.
13500
13501         * LyXAction.C (init): rename open-stuff to inset-toggle.
13502
13503         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13504
13505         * text2.C (toggleInset): renamed from openStuff; use
13506         Inset::open().
13507
13508 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13509
13510         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13511
13512         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13513
13514 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13515
13516         * buffer.C (readLyXformat2): Add filename to the error dialog
13517
13518 2001-07-18  Juergen Vigna  <jug@sad.it>
13519
13520         * tabular.C (GetCellNumber): put an assert here instead of the check!
13521
13522 2001-07-17  Juergen Vigna  <jug@sad.it>
13523
13524         * BufferView_pimpl.C (toggleSelection): adapted too.
13525
13526         * text.C (selectNextWord): adapted for use with insets.
13527         (selectSelectedWord): ditto
13528
13529 2001-07-17  Juergen Vigna  <jug@sad.it>
13530
13531         * sp_spell.C (PSpell): fix initialitation order.
13532
13533 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * paragraph.C: spacing
13536
13537 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13538
13539         * sp_spell.C: repair language selection for pspell
13540
13541 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * lyxfunc.h: change more methods to begin with lower char.
13544
13545 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13546
13547         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13548         for unknown layouts.
13549
13550 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * buffer.C (readLyXformat2): Generate an error dialog if there are
13553         unknown layouts.
13554
13555 2001-07-16  Juergen Vigna  <jug@sad.it>
13556
13557         * sp_spell.C: always compile ISpell part.
13558
13559         * lyxrc.C: added use_pspell entry and it's handling.
13560
13561 2001-07-13  Juergen Vigna  <jug@sad.it>
13562
13563         * sp_spell.C: removed double includes.
13564
13565 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13566
13567         Consistent use of Lsstream.h:
13568         * Lsstream.h: added using std::stringstream for consistencies sake.
13569
13570         * buffer.C: removed using std::stringstream
13571
13572         * lyxfont.C (stateText):
13573         * paragraph.C (asString):
13574         * text.C (selectNextWord, selectSelectedWord):
13575         * text2.C (setCounter):
13576         * vspace.C (asString, asLatexString):
13577         std::ostringstream -> ostringstream.
13578
13579 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13580
13581         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13582         * commandtags.h: add LFUN_HELP_ABOUTLYX
13583         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13584
13585 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13586
13587         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13588         cursorToggle()
13589         * lyx_gui_misc.C: remove spellchecker
13590         * lyxfunc.C: showSpellchecker
13591         * sp_base.h: added
13592         * sp_ispell.h: added
13593         * sp_pspell.h: added
13594         * sp_spell.C: added
13595         * sp_form.[Ch]: removed
13596         * spellchecker.[Ch]: removed
13597
13598 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13599
13600         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13601         is set.
13602         (simpleTeXSpecialChars): Simply print the input character without
13603         any special translation if pass_thru is set.
13604
13605         * layout.h: Added bool pass_thru to layout class for being able to
13606         implement pass through of a paragraph for Literate Programming.
13607
13608         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13609         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13610         * layout.C (Read): add "passthru" to list of layout tags and add
13611         code to set the pass_thru boolean when it is read.
13612
13613 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * trans_decl.h: remove allowed from KmodInfo
13616
13617         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13618         remove allowed code
13619         (Load): adjust
13620
13621         * paragraph_pimpl.C (erase): use boost::prior
13622
13623         * Painter.C (text): use data() instead of c_str() when length is
13624         also provided.
13625         * WorkArea.C (putClipboard): ditto
13626         * font.h (width): ditto
13627
13628         * BufferView2.C: use it-> instead of (*it). for iterators
13629         * texrow.C: ditto
13630         * paragraph_pimpl.C: ditto
13631         * paragraph.C: ditto
13632         * minibuffer.C: ditto
13633         * language.C: ditto
13634         * kbmap.C: ditto
13635         * encoding.C: ditto
13636         * counters.C: ditto
13637         * converter.C: ditto
13638         * chset.C: ditto
13639         * Variables.C: ditto
13640         * TextCache.C: ditto
13641         * MenuBackend.C: ditto
13642         * LyXAction.C: ditto
13643         * LColor.C: ditto
13644         * FloatList.C: ditto
13645         * DepTable.C: ditto
13646         * ColorHandler.C (LyXColorHandler): ditto
13647
13648 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13651
13652         * text2.C (openStuff): reintroduce this method (which had been
13653         nuked in NEW_INSETS frenzy).
13654
13655         * lyxfunc.C (Dispatch): when an action has not been handled, use
13656         its name in the error message, not its number.
13657
13658         * paragraph.C (inInset): change method name to begin with lowercase.
13659
13660         * undo_funcs.C:
13661         * text2.C: updates because of this.
13662
13663 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * ToolbarDefaults.C (add): add spaces in error message
13666
13667 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13670         (readLyXformat2): rename return_par to first_par, use lyxlex's
13671         pushToken and remove the manual push handling.
13672         (parseSingleLyXformat2Token): add another ert comp. variable:
13673         in_tabular, rename return_par to first_par. handle newlines better
13674
13675 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13678
13679 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13680
13681         * text2.C (getParFromID): removed
13682
13683         * buffer.C (getParFromID): new method moved form lyxtext.
13684         * BufferView2.C (insertErrors): adjust
13685         (setCursorFromRow): adjust
13686         * BufferView_pimpl.C (restorePosition): adjust
13687         * lyxfunc.C (Dispatch): adjust
13688         * undo_funcs.C (textUndo): adjust
13689         (textRedo): adjust
13690         (textHandleUndo): adjust
13691         (textHandleUndo): adjust
13692
13693 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * buffer.C: up' the LYX_FORMAT
13696
13697         * lyxfont.h: turn NO_LATEX on as default
13698
13699         * buffer.C (insertErtContents): new methods of tex style compability.
13700         (parseSingleLyXformat2Token): use it several places.
13701         * tabular.C (OldFormatRead): and here
13702
13703 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13704
13705         * text2.C: remove some commented code.
13706         reindent file.
13707
13708         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13709         * trans.C: changes because of the above.
13710
13711 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13712
13713         * text2.C (setCounter): Fix counters bug with bibliography layout.
13714
13715 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13718         own member functions
13719         (simpleTeXSpecialChars): ditto
13720
13721 2001-07-06  Juergen Vigna  <jug@sad.it>
13722
13723         * a lot of files: changed the access to LyXText::status and the
13724         call of undo-functions.
13725
13726         * undo.[Ch]: added a inset_id to the undo informations.
13727
13728         * undo_funcs.[Ch]: added and moved here all undo functions.
13729
13730         * lyxtext.h: give the status enum a weight, made status_ a private
13731         variable and made accessor functions for it, removed the whole bunch
13732         of undo-functions as they are now in their own file, make some
13733         functions publically available. Added function ownerParagraph with
13734         int parameter.
13735
13736         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13737         made InInset() a const function, added getParFromID() function.
13738
13739         * buffer.[Ch]: added const version for inset_iterator functions,
13740         added getInsetFromID() function.
13741
13742         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13743         changed undo functions for new version.
13744
13745 2001-07-05  Juergen Vigna  <jug@sad.it>
13746
13747         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13748         unknow mechanism does not call the proper constructor but only this
13749         one also if I request the other!?
13750
13751 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13752
13753         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13754
13755         * text2.C (LyXText): use initialization lists.
13756
13757         * lyxtext.h (Selection): initialize set_ and mark_
13758         (init): remove method
13759
13760 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13763
13764 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * screen.[Ch]: change method names to begin with lowercase
13767
13768         * BufferView_pimpl.C (updateScrollbar): simplify further and
13769         hopefully make it a bit faster.
13770
13771 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13772
13773         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13774         calling directly xforms functions.
13775
13776         * Painter.C (Painter):
13777         * lyx_cb.C (MenuWrite):
13778         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13779         fl_display.
13780
13781         * lyx_gui.C: remove bogus guiruntime extern declaration.
13782
13783 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13786         in NEW_INSETS
13787         (redoDrawingOfParagraph): ditto
13788         (redoParagraphs): ditto
13789         (cutSelection): don't create a object for CutAndPaste use the
13790         static method directly
13791         (pasteSelection): ditto
13792
13793         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13794         LyXview (+ rename)
13795
13796 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * modifications to some other files because of this.
13799
13800         * Makefile.am (lyx_SOURCES): add XFormsView
13801
13802         * XFormsView.[Ch]: new files
13803
13804         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13805         the main window. Move the gui dependent stuff to XFormsView
13806
13807 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * tabular.C (GetCellInset): update cur_cell also in the row/col
13810         version of this function.
13811
13812         * lyxfunc.C: no need to include figure_form.h here.
13813
13814         * FontLoader.h:
13815         * lyxfunc.h:
13816         * lyxscreen.h:
13817         * text2.C:
13818         * lyxvc.C: no need to include forms.h here.
13819
13820 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13823
13824         * lyxfunc.C (Dispatch):
13825         * Spacing.C (set):
13826         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13827         constructor argument.
13828
13829 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * paragraph.C (Paragraph): dont't clear, and just set layout.
13832         (makeSameLayout): use params's copy contructor.
13833
13834         * ParagraphParameters.[Ch] (makeSame): delete method
13835
13836 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * Variables.[Ch]: fix indentation, rename set to isSet
13839
13840 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * lyxfunc.C (Dispatch): fix typo
13843
13844 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13847         upper_bound.
13848
13849         * bufferlist.C: include assert.h for emergencyWrite().
13850
13851 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13852
13853         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13854           give up at last (bug #425202) !
13855
13856 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13857
13858         * lyx_gui_misc.C:
13859         * sp_form.h:
13860         * sp_form.C:
13861         * spellchecker.h:
13862         * spellchecker.C: strip spellchecker options and bring up
13863           preferences tab instead
13864
13865 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13866
13867         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13868         the istringstream constructor
13869
13870 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * paragraph.C (getLayout): fix return value
13873
13874         * paragraph.h: do not declare getLayout as inline.
13875
13876         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13877
13878 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * lyxcursor.h (operator<): new func
13881         (operator>): new func
13882         (operator>=): new func
13883         (operator<=): new func
13884
13885         * text.C (changeCase): use selection.start and selection.end
13886         (changeRegionCase): require from to be <= to. Require par to be a
13887         valid paragraph.
13888
13889         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13890
13891 2001-06-27  Juergen Vigna  <jug@sad.it>
13892
13893         * text.C (cursorLeftOneWord): changed to return the cursor and added
13894         overlay with BufferView * parameter which calls this one.
13895         (getWord): added
13896         (selectWord): use new getWord function.
13897         (changeCase): renamed from changeWordCase as and extended to work
13898         also on selections.
13899
13900         * lyxtext.h: added enum word_location
13901
13902         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13903         changeCase as this operates now also on selections.
13904
13905 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13906
13907         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13908
13909         * many files: send debug output to Debug::INFO instead of
13910         Debug::ANY.
13911
13912         * converter.C (View):
13913         (Convert):
13914         (Move): send debug output to Debug::FILES instead of console.
13915
13916 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13917
13918         * lyxfunc.C (getStatus): use func_status
13919
13920         * func_status.h: new header, describing the results of
13921         LyXFunc::getStatus;
13922
13923         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13924         LFUN_MATH_HALIGN.
13925
13926 2001-06-25  The LyX Project  <jug@sad.it>
13927
13928         * buffer.C (sgmlOpenTag):
13929         (sgmlCloseTag):
13930         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13931
13932 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * text2.C: remove some dead code
13935
13936         * tabular.C (GetCellInset): store the last cell checked (gotten)
13937
13938         * tabular.h: add the helper for the speedup
13939
13940         * lyxtext.h: remove some dead code
13941
13942 2001-06-26  The LyX Project  <Asger>
13943
13944         * paragraph.C: Change export to LaTeX of alignment to
13945         \begin{center} and family for better roundtrip work with reLyX.
13946
13947         * Tune the math drawing a bit.
13948
13949 2001-06-25  The LyX Project  <Asger>
13950
13951         * LColor.C (LColor): New color for math background. New color
13952         for buttons.
13953
13954 2001-06-25  The LyX Project  <jug@sad.it>
13955
13956         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13957
13958         * lyxfunc.C (Open):
13959         * bufferlist.C (newFile): do not restrict to files ending with
13960         .lyx
13961
13962         * BufferView_pimpl.C (MenuInsertLyXFile):
13963
13964 2001-06-24  The LyX Project  <jug@sad.it>
13965
13966         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13967         of compare_no_case
13968
13969 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * lyxtext.h: rename most methods to begin with a small char.
13972         Lots of changes because of this.
13973
13974         * paragraph.C (Paragraph): do not call fitToSize
13975         (erase): call Pimpl::erase
13976         (insertChar): call Pimpl::insertChar
13977         (insertInset): call Pipl::insertInset
13978         (breakParagraph): do not call fitToSize
13979         (breakParagraphConservative): do not call fitToSize
13980         (fitToSize): remove method
13981
13982         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13983
13984 2001-06-24  The LyX Project  <Asger>
13985
13986         * Fix Qt compilation^2
13987
13988 2001-06-24  The LyX Project  <jug@sad.it>
13989
13990         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13991         depthHook(getDepth()-1).
13992
13993         * paragraph.h:
13994         * ParagraphParameters.h:
13995         * ParameterStruct.h: change type of depth to unsigned int ==
13996         depth_type. Many adaptations to other files before of that.
13997
13998 2001-06-24  The LyX Project  <Asger>
13999
14000         * Fix Qt compilation.
14001
14002 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14003
14004         * paragraph.h: renamed several methods to begin with small letter.
14005         several changes to many parts of the code because of this.
14006
14007 2001-06-23  The LyX Project  <jug@sad.it>
14008
14009         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14010         rewritten to discard all double spaces when KeepEmpty is off
14011         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14012         to only handle newlines but not fiddle with spaces and friends.
14013
14014         * lyxfunc.C (MenuNew): when doing 'new from template', use
14015         template_path as default directory
14016
14017 2001-06-23  The LyX Project  <Asger>
14018
14019         * Clean-up of header file includes all over
14020         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14021
14022 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14023
14024         * paragraph.h: renamed from lyxparagraph.h
14025
14026 2001-06-23  Asger  <lyx@violet.home.sad.it>
14027
14028         * Buffer.h: Removed Buffer::resize
14029         * BufferList.h: Removed BufferList::resize
14030         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14031         the document lazily when we change the width, or the font settings.
14032
14033 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14036
14037 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * buffer.h: remove out of date comment
14040
14041 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * lyxscreen.h:
14044         * screen.C: fix "theoretical" GC leak
14045
14046 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * LaTeX.C (scanAuxFile):
14049         (deplog): remove trailing \r when reading stream (useful under
14050         win32)
14051
14052 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14055         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14056         and BufferView::theLockingInset(Inset*), so should use them and not
14057         access bv_->text->the_locking_inset directly.
14058
14059         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14060
14061 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * Makefile.am:
14064         * tex-defs.h: remove old unused file
14065
14066 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * BufferView_pimpl.C: fix typo, remove minibuffer message
14069           when buffer has loaded
14070
14071 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * lyxfunc.C (Dispatch): use stringstream
14074         (MenuNew): use stringstream
14075         (Open): use stringstream
14076
14077         * importer.C (Import): use stringstream
14078
14079         * bufferview_funcs.C (CurrentState): use stringstream
14080
14081         * LaTeX.C (run): use stringstream
14082
14083         * BufferView_pimpl.C (savePosition): use stringstream
14084         (restorePosition): use stringstream
14085         (MenuInsertLyXFile): use stringstream
14086
14087 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14088
14089         * BufferView.C:
14090         * Bullet.C:
14091         * ColorHandler.C:
14092         * FontInfo.C:
14093         * FontLoader.C:
14094         * LColor.C:
14095         * LaTeXFeatures.C:
14096         * Painter.C:
14097         * gettext.C:
14098         * lyx_gui_misc.C:
14099         * lyxserver.C:
14100         * vspace.C: removed // -*- C++ -*- as first line.
14101
14102         * lyxfind.h:
14103         * version.h: added // -*- C++ -*- as first line.
14104
14105 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14108
14109         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14110         of string
14111
14112 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14115         of floats.
14116
14117 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * gettext.C: include LString.h even when --disable-nls is on.
14120
14121 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14122
14123         * converter.h (Get): changed argument type from int to
14124         FormatList::size_type to avoid unnecessary conversion.
14125
14126         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14127         before using it.
14128
14129 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * gettext.h: include LString.h even when --disable-nls is on.
14132
14133 2001-06-07  Juergen Vigna  <jug@sad.it>
14134
14135         * text.C (BreakAgain): subst spaces with tabs.
14136
14137         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14138         (resizeInsetsLyXText): set force on resizeLyXText.
14139
14140 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14141
14142         * gettext.h (gettext_init):
14143         (locale_init): use a real definition instead of a macro
14144
14145 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * Bufferview_pimpl.C:
14148         * LColor.h:
14149         * LColor.C: further lcolor tidies
14150
14151 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * BufferView_pimpl.C (updateScrollbar): simplify.
14154
14155         * BufferView2.C: don't include insets/insetinfo.h, change
14156         prototype for insertInset and call the Pimpl version. let
14157         updateInset call Pimpl version.
14158
14159         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14160         gotoInset to BufferView::Pimpl
14161
14162 2001-06-01  Juergen Vigna  <jug@sad.it>
14163
14164         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14165         inside a LockingInset (is the update needed at all?).
14166
14167 2001-05-31  Juergen Vigna  <jug@sad.it>
14168
14169         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14170         here not the old one otherwise how should we compare it afterwards
14171         if it's the same!
14172
14173 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14174
14175         * lyxfont.C:
14176         * tabular.C:
14177         * tabular-old.C:
14178         * FontInfo.C: bring C functions into global namespace when
14179         necessary
14180
14181 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * LString.h: make sure config.h has been loaded before LString.h.
14184
14185         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14186         (one for each char read by EatLine!).
14187
14188         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14189         variables.
14190
14191 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14192
14193         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14194         to the same as the par we break from
14195
14196 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14199
14200         * MenuBackend.C (expand): also create menu entries for wide
14201         versions of the floats.
14202
14203         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14204
14205         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14206
14207         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14208         frontends/Makefile.am
14209
14210         * text2.C: adjust
14211         * text.C: adjust
14212
14213
14214         * tabular.C (getTokenValue): add std::
14215
14216         * tabular-old.C (getTokenValue): add std::
14217         (getTokenValue): ditto
14218         (getTokenValue): ditto
14219
14220         * screen.C (ToggleSelection): adjust
14221
14222         * lyxtext.h: put selection cursors inside a Selection struct.
14223
14224         * lyxfunc.C (moveCursorUpdate): adjust
14225
14226         * lyxfont.C (latexWriteStartChanges): add std::
14227
14228         * lyxfind.C: adjust
14229
14230         * font.h: delete with(char const *, LyXFont const &)
14231
14232         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14233
14234         * FontInfo.C (getFontname): add std::
14235
14236         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14237         (workAreaButtonPress): adjust
14238         (tripleClick): adjust
14239         (update): adjust
14240         (moveCursorUpdate): adjust
14241         (Dispatch): adjust
14242
14243         * BufferView2.C (gotoInset): adjust
14244
14245 2001-05-30  Juergen Vigna  <jug@sad.it>
14246
14247         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14248         to check pspell I add this as default as I now have new pspell
14249         libraries and they seem to use this.
14250
14251 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * text2.C (CutSelection): make the cursor valid before the call to
14254         ClearSelection.
14255
14256 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14259         relied on 0 terminated strings and other horrors. Bug found due to
14260         the new assert in lyxstring!
14261
14262         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14263         KP_ keys.
14264
14265 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14268         to latinkeys.bind.
14269
14270         * lyxfunc.C (processKeySym): change method of getting to the
14271         self-insert char.
14272
14273         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14274         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14275         * BufferView_pimpl.[Ch]: here as private methods.
14276
14277 2001-05-28  Juergen Vigna  <jug@sad.it>
14278
14279         * text.C (SetHeightOfRow): added the update() call again as it is
14280         needed to initialize inset dimensions!
14281
14282 2001-05-16  Juergen Vigna  <jug@sad.it>
14283
14284         * text2.C (SetCharFont): Add new function with BufferView * and
14285         bool toggleall parameters for setting insets internal fonts.
14286         (SetFont): Freeze the undo as we may change fonts in Insets and
14287         all this change should be inside only one Undo!
14288
14289         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14290         setting font's in insets as for them we have the SetFont function!
14291
14292 2001-05-15  Juergen Vigna  <jug@sad.it>
14293
14294         * text2.C (ClearSelection): to be sure we REALLY don't have any
14295         selection anymore!
14296
14297         * tabular.C (TeXCellPreamble): fixed the left border problem for
14298         multicolumn cells.
14299
14300 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14303         dependancy file
14304
14305 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14306
14307         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14308         LFUN_BREAKPARAGRAPH.
14309
14310         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14311         help test to "internal only", similar for LFUN_INSERT_URL
14312
14313         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14314         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14315         auto_region_delete and deadkeys.
14316
14317 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * LColor.h:
14320         * LColor.C: remove some dead entries, tidy a little
14321
14322 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14325         commented code.
14326         (Dispatch): implement LFUN_ESCAPE
14327
14328         * commandtags.h: add LFUN_ESCAPE
14329
14330         * LyXAction.C (init): add entry for LFUN_ESCAPE
14331
14332         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14333         Remove commented code.
14334         (insertNote): moved here
14335         (open_new_inset): moved here
14336
14337         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14338         BufferView_pimpl
14339
14340 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * kbmap.C (findbinding): clean it up and make it work correctly.
14343
14344         * lyx_main.C (init): do not pass argc and argv as parameters
14345
14346 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14347
14348         * buffer.C: fix path for OS/2 & Win32
14349
14350         * lyx_gui.C:
14351         * lyx_main:
14352         * lyx_main.C: Added os:: class.
14353
14354         * os2_defines.h: update
14355
14356 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14357
14358         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14359         better by trying again with reduced state.
14360
14361 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * lyxrc.C (read): print error about invalid key sequence only when
14364         debugging (because not all latinX keysyms are known to some X
14365         servers)
14366
14367         * kbsequence.C (getiso): add a few std:: qualifiers
14368         (getiso): comment out extra return statement.
14369
14370 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14373         handling.
14374         (Dispatch): enhance the accent inset a bit. (not perfect)
14375
14376 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14379
14380 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14381
14382         * bufferlist.C (emergencyWrite): fix assert() call
14383
14384 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14385
14386         * text.C (InsertChar): Added trivial patch to only send the "you
14387         can not do multiple spaces this way" message once during a
14388         session.
14389
14390 2001-05-08  Baruch Even  <baruch@lyx.org>
14391
14392         * Makefile.am: Changed order of libraries to get LyX to link properly
14393         with the gnome frontend.
14394
14395 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * LaTeXFeatures.h: add a std:: qualifier
14398
14399 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * paragraph.C (String): use stringstream
14402
14403 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * paragraph.C (writeFile): remove footflag arg
14406
14407         * buffer.C (makeLaTeXFile): use stringstream
14408         (latexParagraphs): remove footnot gurba
14409
14410         * LaTeXFeatures.C (getPackages): use stringstream
14411         (getMacros): likewise
14412         (getTClassPreamble): likewise
14413         (getFloatDefinitions): new method
14414
14415         * paragraph.C (writeFile): reindent
14416         (Erase): reindent
14417
14418         * WorkArea.h: revert the xpos + etc changes.
14419
14420         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14421
14422         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14423
14424         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14425         (pasteSelection): likewise
14426         * text2.C (CreateUndo): likewise
14427
14428 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * minibuffer.C (peek_event): temporarily reduce the functionality
14431         of the minibuffer (to allow args on lfuns)
14432
14433         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14434         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14435
14436         * buffer.C (readInset): add compability reading of old float
14437         lists, add reading of new style float list.
14438         (readInset): avoid reevaluation of inscmd.getCmdName()
14439         (getLists): reindent
14440
14441         * MenuBackend.C (MenuItem): implement parsing of
14442         md_floatlistinsert and md_floatinsert.
14443         (expand::LastFiles): move initalizaton of iterators out of loop,
14444         avoid reevaluation.
14445         (expand::Documents): introduce typdedef vector<string> Strings,
14446         and use it.
14447         (expand::ExportFormats): introduce typedef vector<Format const *>
14448         Formats, and use it.
14449         (expand): implement FloatListInsert and FloatInsert.
14450
14451         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14452         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14453         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14454
14455         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14456         handling.
14457         (Dispatch::LFUN_FLOAT_LIST): implement
14458
14459 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14460
14461         * LaTeX.C (run): Fix problem with --export code.
14462
14463 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14464
14465         * BufferView.[Ch] (workarea): removed.
14466         (getClipboard) new method; wrapper for workarea()->getClipboard()
14467
14468         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14469         bug.
14470
14471         * WorkArea.h (width, height, xpos, ypos): These methods all
14472         returned the dimensions of the work_area sub-area of WorkArea,
14473         resulting in a position error if the WorkArea were resized. Now
14474         return the dimensions of the entire WorkArea.
14475
14476         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14477
14478 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * LaTeX.C (deplog): correct the syntax of regex reg1
14481
14482 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14483
14484         * undo.C: remove !NEW_INSETS cruft
14485
14486 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * text2.C: remove !NEW_INSETS cruft
14489
14490         * text.C: remove !NEW_INSETS cruft
14491
14492         * tabular.C: remove !NEW_INSETS cruft
14493
14494         * spellchecker.C: remove !NEW_INSETS cruft
14495
14496         * lyxtext.h: remove !NEW_INSETS cruft
14497
14498         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14499
14500         * lyxfunc.C: remove !NEW_INSETS cruft
14501
14502         * lyxfind.C: remove !NEW_INSETS cruft
14503
14504         * lyx_cb.C: remove !NEW_INSETS cruft
14505
14506         * figureForm.C: remove  !NEW_INSETS cruft
14507
14508         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14509
14510         * buffer.[Ch]: remove !NEW_INSETS cruft
14511
14512         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14513
14514         * CutAndPaste.C: remove !NEW_INSETS cruft
14515
14516         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14517
14518         * BufferView2.C: remove !NEW_INSETS cruft
14519
14520         * BufferView.h: remove !NEW_INSETS cruft
14521
14522 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * Lsstream.h: include LString.h before the sstream headers to
14525         fix problem with gcc 2.95.3 and lyxstring
14526
14527 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * lyx_main.C: add using directives when needed for C functions
14530         declared in std:: namespace.
14531
14532 2001-04-27  Juergen Vigna  <jug@sad.it>
14533
14534         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14535         (SetHeightOfRow): comment out the update call should not be needed!
14536
14537 2001-04-13  Juergen Vigna  <jug@sad.it>
14538
14539         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14540         (LyXTabular): tried to minimize operator= operations (and realized
14541         hopfully Lars wish).
14542
14543 2001-04-27  Juergen Vigna  <jug@sad.it>
14544
14545         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14546
14547 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14550
14551         * buffer.C (readInset): hack to make listof algorithm work
14552
14553         * BufferView_pimpl.C: hack to make listof algorithm work
14554
14555 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * LyXAction.C: removed all !NEW_INSETS cruft
14558         (init): moved lfun_item in method
14559
14560         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14561
14562 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14563
14564         * BufferView2.C (theLockingInset): white space.
14565
14566 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * minibuffer.C: include <iostream>
14569
14570         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14571
14572         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14573
14574         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14575
14576         * text.[Ch] (TransposeChars): new method
14577
14578 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * call message directly through LyXView instead of through LyXFunc
14581         * BufferView2.C: adjust
14582         * BufferView_pimpl.C: adjust
14583         * FontLoader.C: adjust
14584         * buffer.C: adjust
14585         * bufferview_funcs.C: adjust
14586         * converter.C: adjust
14587         * figureForm.C: adjust
14588         * importer.C: adjust
14589         * lyx_cb.C: adjust
14590         * lyx_gui_misc.C: adjust
14591         * lyxfunc.C: adjust
14592         * lyxvc.C: adjust
14593         * text2.C: adjust
14594         + more files in subdirs
14595
14596         * lyxparagraph.h (size): move up int file
14597         (GetLayout): ditto
14598
14599         * adjust all uses of Assert to lyx::Assert.
14600
14601         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14602         lyxfunctional in namespace lyx
14603         * layout.C (hasLayout): ditto
14604         (GetLayout): ditto
14605         (GetLayout): ditto
14606         (delete_layout): ditto
14607         (NumberOfClass): ditto
14608         * converter.C (GetFormat): ditto
14609         (GetNumber): ditto
14610         (Add): ditto
14611         (Delete): ditto
14612         (SetViewer): ditto
14613         * bufferlist.C (getFileNames): ditto
14614         (emergencyWriteAll): ditto
14615         (exists): ditto
14616         (getBuffer): ditto
14617         * MenuBackend.C (hasSubmenu): ditto
14618         (hasMenu): ditto
14619         (getMenu): ditto
14620         * BufferView_pimpl.C (getInsetByCode): ditto
14621
14622 2001-04-18  Juergen Vigna  <jug@sad.it>
14623
14624         * vspace.C (asLatexString): fixed the 100% problem.
14625
14626 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14627
14628         * lyxfunc.C (Dispatch):
14629         * minibuffer.C:
14630         * minibuffer.h: add a few std:: qualifiers
14631
14632 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14633
14634         * minibuffer.[Ch]: reimplement so that commands is initiated and
14635         run from lyxfunc, simplified som handling, and made the completion
14636         and history code for complete. wip.
14637
14638         * lyxfunc.C (processKeySym): call message
14639         (miniDispatch): new temporary method
14640         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14641         (LFUN_MESSAGE): implement
14642         (LFUN_MESSAGE_PUSH): implement
14643         (LFUN_MESSAGE_POP): implement
14644         (initMiniBuffer): the initial/defualt minibuffer message.
14645
14646         * lyxfont.[Ch]: inline some more getters
14647
14648         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14649
14650         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14651
14652         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14653         (AutoSave): use LFUN_MESSAGE
14654         (Reconfigure): ditto
14655
14656         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14657
14658         * figureForm.C: use LFUN_MESSAGE
14659
14660         * converter.C (runLaTeX): use LFUN_MESSAGE
14661
14662         * bufferview_funcs.C: use LFUN_MESSAGE
14663         (Melt): ditto
14664         (changeDepth): ditto
14665
14666         * bufferparams.h: use boost::
14667
14668         * bufferlist.h: inherit privately from noncopyable
14669
14670         * bufferlist.C (loadLyXFile): remove some commented code.
14671
14672         * buffer.C (runChktex): use LFUN_MESSAGE
14673
14674         * ShareContainer.h: inherit privately from noncopyable
14675
14676         * ParagraphParameters.[hC] (depth): inline it.
14677
14678         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14679         methods.
14680         (message): new method
14681         (messagePush): ditto
14682         (messagePop): ditto
14683         (show): init minibuffer
14684         (showState): direct call
14685
14686         * LaTeX.[Ch]: inherit privately from noncopyable
14687         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14688         instead of WriteStatus.
14689
14690         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14691
14692         * BufferView_pimpl.C (buffer): don't init minibuffer
14693         (workAreaButtonPress): use LFUN_MESSAGE
14694         (workAreaButtonRelease): ditto
14695         (savePosition): ditto
14696         (restorePosition): ditto
14697         (MenuInsertLyXFile): ditto
14698         (workAreaExpose): don't init minibuffer
14699         (update): remove commented code, simplify
14700
14701         * BufferView2.C (openStuff): use LFUN_MESSAGE
14702         (toggleFloat): ditto
14703         (menuUndo): ditto
14704         (menuRedo): ditto
14705         (copyEnvironment): ditto
14706         (pasteEnvironment): ditto
14707         (copy): ditto
14708         (cut): ditto
14709         (paste): ditto
14710         (gotoInset): ditto
14711         (updateInset): remove some commented code
14712
14713         * lastfiles.h: inherit privately from noncopyable
14714         * layout.h: ditto
14715         * lyx_gui.h: ditto
14716         * lyx_main.h: ditto
14717         * lyxlex.h: ditto
14718         * lyxlex_pimpl.h: ditto
14719
14720         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14721         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14722         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14723
14724         * LyXAction.h: inherit privately from noncopyable, add methods
14725         func_begin, func_end, returning iterators to the func map.
14726
14727         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14728         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14729         (func_begin): new method
14730         (func_end): new method
14731
14732         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14733         and not)
14734         (copySelection): ditto
14735         (pasteSelection): ditto
14736
14737         * BufferView.C: whitespace change
14738         * BufferView.h: inherit privately from noncopyable
14739
14740 2001-04-16  Allan Rae  <rae@lyx.org>
14741
14742         * tabular-old.C (l_getline):
14743         * spellchecker.C (sc_check_word):
14744         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14745         an unrecognised preprocessor directive.  So ensure they're wrapped.
14746
14747 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14748
14749         * src/exporter.C (Export): Give an error message when path to file
14750         contains spaces.
14751
14752 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14753
14754         * LaTeX.C (deplog): Always check that foundfile exists.
14755
14756 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14757
14758         * lyx_main.h:
14759         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14760
14761 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * tabular.[Ch] (getLabelList): implement new method
14764
14765         * minibuffer.h: comment ouf setTiimer
14766
14767         * minibuffer.C (ExecutingCB): constify res
14768         (peek_event): constify s
14769         (Set): constify ntext
14770         (Init): constify nicename
14771
14772         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14773
14774         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14775         (savePosition): use two params to Minibuffer::Set
14776         (restorePosition): ditto
14777
14778 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * lyx_main.C: include language.h
14781
14782         * Makefile.am (lyx_main.o): add language.h
14783
14784 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * exporter.C:
14787         * paragraph.C:
14788         * screen.C:
14789         * tabular.C:
14790         * CutAndPaste.C: include gettext.h
14791
14792         * lyxfont.h: remove old hack with ON and OFF.
14793
14794         * lyxparagraph.h:
14795         * lyxfont.h: do not include language.h...
14796
14797         * BufferView2.C:
14798         * LaTeXFeatures.C:
14799         * Painter.C:
14800         * bufferview_funcs.C:
14801         * font.C:
14802         * lyxfont.C:
14803         * text.C:
14804         * text2.C:
14805         * trans_mgr.C:
14806         * paragraph.C: ... but do it here instead
14807
14808 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14811
14812         * tabular.C: small reformat
14813
14814         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14815         NEW_INSETS version
14816         (GetChar): ditto
14817         (BreakParagraph): ditto
14818         (SetOnlyLayout): ditto
14819         (SetLayout): ditto
14820
14821         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14822         with one arg less.
14823
14824         * lastfiles.C: removed most using decl, add std:: where needed
14825
14826         * buffer.C: ws changes
14827
14828         * MenuBackend.C (class compare_format): put into anon namespace
14829         (expand): constify label, names, action, action2
14830         (expand):
14831
14832         * text.C (SingleWidth): constify font
14833         (IsBoundary): constify rtl2
14834         (GetVisibleRow): constify ww
14835
14836         * LaTeX.C (deplog): constify logfile
14837
14838         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14839         start_x, end_x
14840         (workAreaExpose): constify widthChange, heightChange
14841
14842         * lyxrow.C (par): moved
14843         (height): moved
14844         (next): moved
14845         * lyxrow.h: as inlines here
14846
14847         * lyxfont.h (shape): moved from lyxfont.C
14848         (emph): moved from lyxfont.C
14849
14850         * lyxfont.C (LyXFont): use initialization list for all
14851         constructors
14852         (shape): move to lyxfont.h as inline
14853         (emph): move to lyxfont.h as inline
14854
14855
14856 2001-04-04  Juergen Vigna  <jug@sad.it>
14857
14858         * vspace.C: had to include stdio.h for use of sscanf
14859
14860 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14861
14862         * BufferView.h:
14863         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14864         independent of xforms.
14865
14866 2001-04-02  Juergen Vigna  <jug@sad.it>
14867
14868         * spellchecker.C: fixed namespace placing!
14869
14870 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14873         the LyXParagraph * is 0.
14874
14875 2001-03-29  Juergen Vigna  <jug@sad.it>
14876
14877         * vspace.C: added support for %, c%, p%, l%.
14878         (stringFromUnit): added helper function.
14879         (asLatexString): changed to give right results for the %-values.
14880
14881         * buffer.C: convert the widthp in a width%.
14882
14883 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14884
14885         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14886         figureForm.[Ch].
14887
14888         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14889         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14890
14891         * lyx_cb.[Ch]: see above.
14892
14893         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14894         form1.[Ch].
14895
14896         * form1.[Ch]:
14897         * lyx.[Ch]: replaced by figure_form.[Ch].
14898
14899         * lyx_gui.C:
14900         * lyx_gui_misc.C:
14901         * lyxfunc.C: changed headers associated with above changes.
14902
14903 2001-03-27  Juergen Vigna  <jug@sad.it>
14904
14905         * BufferView_pimpl.C: set the temporary cursor right!
14906
14907 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14910
14911 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14912
14913         * LString.h: removed "using std::getline"!
14914
14915         * BufferView_pimpl.C (Dispatch): changes due to changes in
14916         InsetInclude::Params.
14917
14918         * buffer.C (tag_name): removed redundant break statements as they were
14919         producing lots of warnings with my compiler.
14920
14921 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * LString.h: add "using std::getline" when using the real <string>.
14924
14925 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14926
14927         * buffer.C: removed bitset usage.
14928         PAR_TAG moved to an anonymous name space.
14929         (tag_name): new funtion, also in the anonymous namespace.
14930         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14931         (makeDocBookFile): clean code. Completed transition from string arrays
14932         to string vectors.
14933         (SimpleDocBookOnePar): code clean.
14934
14935 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14936
14937         * tabular.C: add some comments.
14938
14939 2001-03-22  Juergen Vigna  <jug@sad.it>
14940
14941         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14942         compatibility read a bit and fixed bug with minipage in different
14943         depth.
14944
14945 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14946
14947         * buffer.C (pop_tag): removed.
14948         (push_tag): removed.
14949         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14950         array replaced with vector. Added support for CDATA sections.
14951         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14952         at any nest level.
14953         (makeDocBookFile): XML conformant declaration of CDATA section,
14954         fixed bug related to <emphasis> in the first paragraph char.
14955         (sgmlOpenTag): exclude empty tags.
14956         (sgmlCloseTag): ditto.
14957
14958         * buffer.h (pop_tag): removed.
14959         (push_tag): removed.
14960
14961 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14962
14963         * language.h (Languages): added size_type and size().
14964
14965 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14966
14967         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14968         response on compability reading of minipages. One probliem is that
14969         the old usage of minipages was «flertydig»
14970
14971         * several files here and in subdirs: don't use static at file
14972         scope use anon namespaces instead.
14973
14974 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14975
14976         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14977         LaTeX output. This is necessary for Literate document
14978         processing.
14979
14980 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14981
14982         * buffer.C: insert hfill when needed.
14983
14984         * tabular.C (l_getline): use string::erase, small whitespace change.
14985
14986         * BufferView_pimpl.C: try the anon namespace.
14987         * WorkArea.C: ditto
14988
14989 2001-03-16  Juergen Vigna  <jug@sad.it>
14990
14991         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14992         otherwise it won't open options-dialogs.
14993
14994         * buffer.C: honor pextraWidth(p) on converting minipages.
14995
14996         * tabular.C (l_getline): changed the functions to strip trailing \r.
14997
14998 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14999
15000         * BufferView_pimpl.C:
15001         * minibuffer..C: added "using SigC::slot" declaration.
15002
15003 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15004
15005         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15006
15007         * text2.C: ditto
15008
15009         * text.C: ditto
15010
15011         * paragraph.C: ditto
15012
15013         * lyxtext.h: NO_PEXTRA
15014
15015         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15016
15017         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15018         * ParameterStruct.h: ditto
15019         * ParagraphParameters.h: ditto
15020         * lyxparagraph.h: ditto
15021
15022 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15023
15024         * buffer.C: add compability for minipage alignment.
15025         (latexParagraphs): remove unwanted pextra check.
15026
15027         * several files: remove CXX_WORKING_NAMESPACES
15028
15029         * buffer.C (pop_tag): tie is in namespace boost
15030
15031         * BufferView.h: noncopyable is in namespace boost
15032         * lyxlex.h: ditto
15033         * lyx_main.h: ditto
15034         * lyx_gui.h: ditto
15035         * layout.h: ditto
15036         * lastfiles.h: ditto
15037         * bufferlist.h: ditto
15038         * ShareContainer.h: ditto
15039         * LyXView.h: ditto
15040         * LyXAction.h: ditto
15041         * LaTeX.h: ditto
15042
15043 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15044
15045         * Merging changes from BRANCH_MVC back into HEAD.
15046
15047         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15048
15049 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15050
15051         * BufferView_pimpl.C: change from intl.C
15052
15053         * combox.h:
15054         * combox.C:
15055         * Makefile.am: move combox.*
15056
15057         * form1.h:
15058         * form1.C:
15059         * lyx_gui.C:
15060         * intl.h:
15061         * intl.C: remove dialog (covered by prefs)
15062
15063 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15064
15065         * lyxfunc.C (Dispatch): removed redundant break statement.
15066
15067 2001-03-14  Juergen Vigna  <jug@sad.it>
15068
15069         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15070
15071 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15072
15073         * buffer.C: add hack to fix compability reading of minipages.
15074
15075 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * buffer.C (getLists): Cleanup.
15078
15079 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * lyxfont.C (update): don't honor toggleall on font size.
15082
15083 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * bmtable.c:
15086         * bmtable.h:
15087         * Makefile.am: moved to frontends/xforms/
15088
15089         * lyx_gui_misc.C:
15090         * lyxfunc.C:
15091         * BufferView_pimpl.C: changes for moved mathpanel
15092
15093 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * gettext.h: fix gettext_init() in --disable-nls
15096
15097 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15100
15101 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * lyx.C:
15104         * lyx.h: strip external form
15105
15106 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * BufferView_pimpl.C: add comment, destroySplash()
15109
15110 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * BufferView_pimpl.C:
15113         * LyXAction.C:
15114         * buffer.C:
15115         * commandtags.h:
15116         * lyxfunc.C: use re-worked insetinclude
15117
15118 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15119
15120         * buffer.C: add using std::stringstream.
15121
15122         * lyx_cb.C: readd using std::ios.
15123
15124         * buffer.C: add using std::map.
15125
15126         * BufferView_pimpl.C: add using std::vector.
15127
15128         * ShareContainer.h: add std:: to swap.
15129
15130         * buffer.h: add some typedefs
15131         * buffer.C (getLists): use them
15132         (getLists): renamed from getTocList.
15133         add a counter for the different float types and use it in the
15134         generated string.
15135         (getLists): use the same counter for the NEW_INSETS and the "non"
15136         NEW_INSETS
15137
15138         * lyx_cb.h: remove unused items, includes, using etc.
15139
15140         * ShareContainer.h: remove some commented code, add more comments
15141         and "documentation".
15142
15143 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15144
15145         * buffer.C (getTocList): make the list also when NEW_INSETS is
15146         defined.
15147
15148         * buffer.h: remove TocType
15149
15150         * buffer.C (getTocList): change to return a map<string,
15151         vector<TocItem> >, implement for dynamic number of list.
15152
15153         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15154         * text2.C (PasteSelection): adjust
15155         * CutAndPaste.C (pasteSelection): adjust
15156
15157         * FloatList.C (FloatList): update from the new_insets branch.
15158         * Floating.[Ch]: ditto
15159         * LaTeXFeatures.C: ditto
15160         * buffer.C: ditto
15161         * lyxlex_pimpl.C: ditto
15162
15163         * paragraph.C (Last): remove when NEW_INSETS is defined.
15164
15165         * other file: changes because of the above.
15166
15167 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15168
15169         * lyxparagraph.h: rename next to next_, previous to previous_,
15170         make them private for NEW_INSETS. Rename Next() to next(),
15171         Previous() to previous().
15172
15173         * other files: changes because of the above.
15174
15175 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * BufferView.h:
15178         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15179         problem.
15180
15181 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * main.C (main): pass lyx_localedir to gettext_init().
15184
15185         * gettext.h: remove locale_init and gettext_init macros
15186
15187         * gettext.C (locale_init): new function
15188         (gettext_init): new function
15189
15190         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15191         setlocale().
15192
15193 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15194
15195         * Moved credits to frontends:
15196         * credits.[Ch]: removed
15197         * credits_form.[Ch]: removed
15198         * lyx_gui_misc.C: remove credits stuff
15199         * Makefile.am:
15200
15201 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15202
15203         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15204
15205         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15206         unneeded destructor.
15207
15208         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15209         a standalone pointer again.
15210
15211         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15212
15213 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15214
15215         * Makefile.am:
15216         * filedlg.h:
15217         * filedlg.C:
15218         * LyXAction.C:
15219         * ToolbarDefaults.C:
15220         * bufferlist.C:
15221         * commandtags.h:
15222         * form1.C:
15223         * form1.h:
15224         * lyx_cb.C:
15225         * lyx_cb.h:
15226         * lyxfunc.h:
15227         * lyxfunc.C:
15228         * BufferView_pimpl.C: use new file dialog in GUII
15229
15230         * lyx_cb.h:
15231         * lyx_cb.C: remove LayoutsCB to Toolbar
15232
15233 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * ShareContainer.h (get): add std:: qualifier
15236
15237 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * ShareContainer.h: define a proper ShareContainer::value_type
15240         type (and use typename to please compaq cxx)
15241
15242 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15243
15244         * lyxparagraph.h: move serveral local vars to
15245         ParameterStruct/ParagraphParameters., use ShareContainer in
15246         FontTable., make vars in FontTable private and add getter and
15247         setter.
15248
15249         * paragraph.C: changes because of the above.
15250
15251         * lyxfont.h: remove copy constructor and copy assignment. (the
15252         default ones is ok), move number inside FontBits. move inlines to
15253         lyxfont.C
15254
15255         * lyxfont.C: add number to initializaton of statics, move several
15256         inlines here. constify several local vars. some whitespace
15257         cleanup. Dont hide outerscope variables.
15258
15259         * Spacing.h: add two new constructors to match the set methods.
15260
15261         * ShareContainer.h: new file, will perhaps be moved to support
15262
15263         * ParameterStruct.h: new file
15264
15265         * ParagraphParameters.h: new file
15266
15267         * ParagraphParameters.C: new file
15268
15269         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15270         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15271
15272         * BufferView_pimpl.C: ParagraphParameter changes.
15273         * buffer.C: Likewise.
15274         * bufferview_funcs.C: Likewise.
15275         * text.C: Likewise.
15276         * text2.C: Likewise.
15277
15278 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * lyxfind.C (LyXReplace): do not redefine default argument in
15281         implementation.
15282         (IsStringInText): ditto
15283         (SearchForward): ditto
15284         (SearchBackward): ditto
15285
15286 2001-03-06  Juergen Vigna  <jug@sad.it>
15287
15288         * lyxfind.C (IsStringInText): put parentes around expressions.
15289
15290 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15291
15292         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15293
15294 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15295
15296         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15297
15298         * stl_string_fwd.h: add comment
15299
15300         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15301
15302         * tabular.h:
15303         * tabular.C: remove unused DocBook methods
15304
15305         * intl.C:
15306         * language.C:
15307         * paragraph.C:
15308         * buffer.C:
15309         killed DO_USE_DEFAULT_LANGUAGE
15310
15311 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * lyx_gui.C: do not include language.h.
15314
15315         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15316         arguments in function implementation.
15317
15318 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15319
15320         * BufferView_pimpl.C: add <ctime>
15321
15322 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15323
15324         * BufferView_pimpl.C: add using std::find_if
15325
15326 2001-02-27  José Matos  <jamatos@fep.up.pt>
15327
15328         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15329         by OnlyPath.
15330
15331 2001-02-11  José Matos  <jamatos@fep.up.pt>
15332
15333         * buffer.C (makeDocBookFile): command styles now have a parameter as
15334         "title" by default.
15335
15336 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15337
15338         * layout_forms.[Ch]: removed
15339         * lyx_cb.[Ch]: out character
15340         * lyx_gui.C: out character
15341         * lyx_gui_misc.C: out character
15342         * bufferview_funcs.C: : out character,
15343         added toggleall as parameter in ToggleAndShow
15344
15345 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15346
15347         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15348
15349         * text2.C (SetCurrentFont): Disable number property at boundary.
15350
15351 2001-02-26  Juergen Vigna  <jug@sad.it>
15352
15353         * lyxfunc.C (getStatus): added a string argument override function so
15354         that this is correctly called from LyXFunc::Dispatch if it contains a
15355         do_not_use_argument which is used!
15356         (Dispatch): added check for "custom" export and call appropriate func.
15357
15358 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15359
15360         * lyxrc.C: Add language_command_local, language_use_babel and
15361         language_global_options.
15362
15363         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15364
15365         * buffer.C (makeLaTeXFile): Use language_use_babel and
15366         language_global_options.
15367
15368 2001-02-23  Juergen Vigna  <jug@sad.it>
15369
15370         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15371         which works with LyXText and putted it inside BufferView. Here now we
15372         only call for that part the BufferView::Dispatch() function.
15373
15374         * BufferView.C (Dispatch): added.
15375
15376         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15377         functions which needs to use a LyXText over from LyXFunc.
15378         (MenuInsertLyXFile): added
15379         (getInsetByCode): added
15380         (moveCursorUpdate): added
15381         (static TEXT): added
15382
15383 2001-02-22  Juergen Vigna  <jug@sad.it>
15384
15385         * BufferView_pimpl.C (update): call a status update to see if LyXText
15386         needs it.
15387
15388 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15389
15390         * vc-backend.C (revert): implement for CVS
15391         (getLog): implement for CVS
15392
15393 2001-02-20  Juergen Vigna  <jug@sad.it>
15394
15395         * text2.C (ClearSelection): added BufferView param for inset_owner call
15396
15397         * lyxfunc.C (TEXT): added this function and use it instead of
15398         directly owner->view()-text of getLyXText().
15399
15400 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15401
15402         * src/layout_forms.C: out preamble
15403         * src/layout_forms.h: out preamble
15404         * src/lyx_cb.C: out preamble
15405         * src/lyx_cb.h: out preamble
15406         * src/lyx_gui.C: out preamble
15407         * src/lyx_gui_misc.C: out preamble
15408         * src/lyxfunc.C: connect with guii preamble
15409
15410 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15411
15412         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15413
15414 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15415
15416         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15417         whether to run bibtex.
15418
15419 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15420
15421         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15422
15423 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15424
15425         * Makefile.am (lyx_SOURCES): removed bibforms.h
15426
15427         * vspace.h: doxygen
15428
15429         * text.C (GetVisibleRow): make several local vars const
15430
15431         * tabular.C: small cleanup.
15432
15433         * lyxserver.C (callback): use compare instead of strncmp
15434
15435         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15436         inlines to after class or to paragraph.C
15437
15438         * lyxfont.h: remove friend operator!=
15439
15440         * converter.h: move friend bool operator< to non friend and after
15441         class def.
15442
15443         * combox.h: small cleanup
15444
15445         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15446         to inlines after class def.
15447
15448         * buffer.C (pop_tag): use string operations instead of strcmp
15449
15450         * bmtable.c: doxygen, small cleanup
15451
15452         * LaTeX.h: remove friend operator==
15453
15454 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15455
15456         * screen.C:
15457         * lyxrc.[Ch]:
15458         * lyxfunc.C:
15459         * lyxfont.[Ch]:
15460         * lyx_cb.C:
15461         * intl.[Ch]:
15462         * commandtags.h:
15463         * buffer.C:
15464         * WorkArea.[Ch]:
15465         * LyXAction.C:
15466         * BufferView_pimpl.C:
15467         * BufferView.[Ch]: remove cruft
15468
15469 2001-02-14  Juergen Vigna  <jug@sad.it>
15470
15471         * lyxfunc.C: removed #if 0 unused code
15472
15473         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15474
15475         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15476
15477         * text2.C (SetSelection): added a BufferView * parameter
15478
15479 2001-02-13  Juergen Vigna  <jug@sad.it>
15480
15481         * lyxfunc.C (Dispatch): fixed protected blank problem.
15482         * BufferView2.C (protectedBlank): added LyxText * parameter.
15483
15484         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15485         (AppendColumn): same as above for column_info.
15486
15487         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15488         (moveCursorUpdate): use a LyXText param for support of InsetText.
15489
15490         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15491         (tripleClick): ditto
15492
15493         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15494
15495         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15496
15497         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15498
15499         * text2.C (SetSelection): set correct update status if inset_owner
15500         (ToggleFree): ditto
15501
15502 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15503
15504         * tabular.C: remove some commented code.
15505
15506 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * BufferView_pimpl.C: call hideSplash()
15509
15510         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15511
15512         * include_form.h:
15513         * bibforms.h: remove
15514
15515         * lyxfunc.C:
15516         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15517           add LFUN_CHILD_CREATE
15518
15519         * counters.h: fix tiny typo
15520
15521         * lyx_cb.C:
15522         * lyx.h:
15523         * lyx_gui.C:
15524         * lyx.C: move splash to frontends/xforms/
15525
15526         * lyx_gui_misc.C: move Include and Bibform to frontends
15527
15528         * lyxvc.h: clarify comment
15529
15530         * vspace.C: tiny housekeeping
15531
15532 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * text.C (PrepareToPrint): RTL Fix.
15535
15536         * paragraph.C (GetUChar): New method.
15537         (String):  Use GetUChar.
15538
15539         * buffer.C (asciiParagraph): Use GetUChar.
15540
15541 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15544
15545 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15546
15547         * buffer.h:
15548         * buffer.C: rename to getLogName(), handle
15549           build log / latex log nicely
15550
15551 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * MenuBackend.C:
15554         * MenuBackend.h: remove support for reference menuitem type.
15555
15556 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15557
15558         * BufferView_pimpl.C: housekeeping
15559         * BufferView_pimpl.h:
15560         * LyXView.h:
15561         * Makefile.am:
15562         * Timeout.C:
15563         * Timeout.h:
15564         * minibuffer.h: move Timeout GUI-I
15565
15566 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * lyxrc.C (read): Update converters data-structures.
15569
15570 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15571
15572         * LaTeX.h (operator!=): add operator != for Aux_Info
15573
15574 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15575
15576         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15577
15578         * LaTeXLog.C: deleted, useful code moved to Buffer
15579
15580         * buffer.h:
15581         * buffer.C: new function getLatexLogName()
15582
15583         * lyx_gui_misc.C:
15584         * lyx_gui.C:
15585         * lyxvc.C:
15586         * lyxvc.h:
15587         * lyxfunc.C: use frontends for LaTeX and VC logs
15588
15589 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * LaTeX.h: yet another std:: that Allan forgot.
15592
15593         * Variables.C (set): renamed from isset(), because this clashes
15594         with some HP-UX macros (grr).
15595
15596 2001-02-06  Allan Rae  <rae@lyx.org>
15597
15598         * LaTeX.h: Another bug fix.  Missing std:: this time.
15599
15600 2001-02-04  Allan Rae  <rae@lyx.org>
15601
15602         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15603         floats problem. I've left it commented out because it's not quite
15604         correct.  It should also test that the current object is a table or
15605         figure inset.  But I haven't gotten around to figuring out how to do
15606         that.  I *think* it'll be something like: "table" == inset.type()
15607
15608         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15609         bool.
15610
15611 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15614         all the citation/databases/styles in the auxilary file.
15615         (run): Rerun latex if there was a babel language error.
15616
15617 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * text.C (Backspace): Preserve the font when changing newline char
15620         with a space.
15621         (BreakParagraph): If the cursor is before a space, delete the space.
15622
15623         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15624
15625 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15628         new argument (code).
15629         (ChangeCitationsIfUnique): New method.
15630
15631         * paragraph.C (GetPositionOfInset): Handle bibkey.
15632
15633 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * BufferView_pimpl.h: change type of Position::par_pos to
15636         LyXParagraph::size_type.
15637
15638 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15639
15640         * BufferView_pimpl.C (savePosition, restorePosition): Write
15641         messages to minibuffer.
15642
15643 2001-01-28  José Matos  <jamatos@fep.up.pt>
15644
15645         * buffer.C (makeDocBookFile): adds support for document language.
15646         A silly restriction on the name of LatexCommand types where removed.
15647         Added support for CDATA sections, allows to chars unescaped, used
15648         among others in code, to avoid escape < and >.
15649
15650 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15653         saved positions instrad of a stack. Furthermore, a position is
15654         stored using paragraph id/paragraph position.
15655
15656         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15657         Remove LFUN_REF_BACK.
15658
15659 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * converter.C (dvipdfm_options): New method.
15662
15663 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * vspace.C (isValidLength): Fix for empty input string.
15666
15667 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15668
15669         * LyXAction.C (init): change description of LFUN_FIGURE to
15670         "Insert Graphics"
15671
15672 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15673
15674         * LaTeX.C: add using directive
15675
15676 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15677
15678         * MenuBackend.C (expand): Fix the sorting of the formats.
15679
15680 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * lyx_main.C: tiny error message fix
15683
15684 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15687         calling fl_initialize(). This fixes the problem with ',' as
15688         decimal separator in text files.
15689
15690 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * trans.C (process): Fix the keymap bug.
15693
15694 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15695
15696         * LaTeX.C (scanAuxFiles): New method. Provides support for
15697         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15698         (scanLogFile) Scan for "run BibTeX" messages.
15699
15700         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15701         OT1 font encoding. Also, load the aecompl package if the ae
15702         package is loaded.
15703
15704         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15705
15706 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * texrow.C (increasePos): turn two error messages into debug
15709         messages.
15710
15711 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15712
15713         * LaTeX.C (scanAux): Handle the \@input macro.
15714         (runBibTeX): Use scanAux().
15715
15716         * language.C (latex_options_): New field.
15717
15718         * LaTeXFeatures.C (getMacros): Add language macros.
15719
15720         * buffer.C (makeLaTeXFile): Small fix.
15721
15722 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15725
15726         * text2.C: add a using directive.
15727
15728 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15729
15730         * BufferView2.C:
15731         * lyx_gui_misc.h:
15732         * lyxfr1.C:
15733         * lyxfunc.C: kill LyXBell.
15734
15735 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * text.C (IsBoundary): Remove the error message
15738
15739         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15740
15741         * lyxrc.C (setDefaults): Correct initialization value for
15742         font_norm_type.
15743
15744 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15745
15746         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15747         gotoError().
15748
15749         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15750         and GotoNextNote().
15751
15752         * src/LyXAction.C: Added reference-next.
15753
15754         * text.C (InsertChar): Use contains instead of strchr.
15755
15756         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15757
15758 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15759
15760         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15761         alignment commands (when needed).
15762
15763         * text.C (InsertChar): Add ':' to number separator chars.