]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
handle framewidths != 1
[lyx.git] / src / ChangeLog
1 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         Fix toggling of collapsable insets with the mouse (bug 1558)
4         
5         * lyxfunc.C (dispatch): adapt to LCursor changes
6
7         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
8         make sure that dispatch is not invoked twice
9
10         * cursor.C (needsUpdate): new method
11         (dispatch): return void
12         (result): new method, to access the DispatchResult of the cursor.
13
14 2004-08-13  José Matos  <jamatos@lyx.org>
15
16         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
17
18 2004-08-13  André Pönitz  <poenitz@gmx.net>
19
20         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
21
22         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
23           multiple cells
24    
25 2004-08-12  André Pönitz  <poenitz@gmx.net>
26
27         * text3.C: take out the 'cursor right' form insertInset and only
28         do it in those places when it is really needed. Fixes crash on
29         C-m...
30
31 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
34
35         * BufferView_pimpl.C (setBuffer): initialize the current font of
36         the underlying LyXText
37
38 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * kbsequence.C (print): use UI native formatting for menu
41         shortcuts
42
43         * text.C (insertChar): call Paragraph::insertChar with a font
44         argument (cosmetic)
45
46         * paragraph.C (insertInset, insertChar): the version that takes a
47         LyXFont argument is now a wrapper around the other one (the
48         opposite used to be true). 
49
50         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
51         argument. Font setting is done in Paragraph now.
52
53 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * outputparams.h: add new members intitle and lang.
56
57         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
58         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
59
60 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * text3.C (dispatch): remove special handling of button 4 and 5,
63         it is now taken care of in the frontend code.
64
65 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
66
67         * Spacing.h: add <string> (STLPort compile fix)
68
69 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
70
71         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
72
73 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
74
75         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
76         to bool.
77
78         * converter.C (showMessage): inherit from unary_function, make
79         operator() const.
80
81         * buffer.C (writeFile): initialize retval
82
83         * InsetList.h: rename private variable list to list_
84         * InsetList.[Ch]: adjust accordingly.
85
86 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
87
88         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
89         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
90         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
91         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
92         * ParagraphParameters.C, LaTeXFeatures.C: replace
93         "support/std_sstream.h" with <sstream>
94
95 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
96
97         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
98         * lyxsocket.C (LyXServerSocket): ditto
99         (serverCallback): ditto
100
101 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
102
103         * LaTeXFeatures.C: check release date when loading jurabib.
104
105 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
106
107         * lyxserver.C (startPipe): call register_socket_callback
108         (endPipe): call unregister_socket_callback
109
110 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
111
112         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
113         (LyXServerSocket): register the callback
114         (LyXServerSocket): unregister the callback
115         (fd): delete function
116         (serverCallback): improve error checking and setup the callbacks.
117         (dataCallback): change arg to fd.
118         (writeln): new func (copied fro the client socket) used for server
119         write to client.
120         (LyXDataSocket): simplify
121         (~LyXDataSocket): close ann unregiser callback
122         (server): delete function
123         (fd): delete function
124         (readln): small changes, improve some std::string usage
125         (writeln): constify a bit
126
127 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
130         Qt frontend
131
132 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * BufferView_pimpl.C (setBuffer): set the layout combox value only
135         after it has been populated
136
137 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * text2.C (insertInset): move cursor when inserting inset.
140
141 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * kbmap.C (findbindings): a couple of new methods. returns a
144         container of kb_sequence objects. The real work is done by the
145         private recursive version
146         (printbindings): uses findbindings to print out a bracketed list
147         of bindings (renamed from findbinding).
148
149         * MenuBackend.C (binding): use kb_keymap::findbindings
150
151         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
152
153 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
156
157 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * paragraph.C (isWord): return true on insets that report
160         isLetter().
161
162         * text.C (getWord): use Paragraph::isWord to decide what is in a
163         word and what is not; fix bug 1609.
164
165 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * tex-strings.C: add "none" to string_paperpackages[], fixes
168         off-by-one-error in the paperpackage selection.
169
170         * lyxlex.[Ch]:
171         * tex-strings.[Ch]: char const * string[n]
172         -> char const * const string[]
173
174 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
177         command, return early.
178
179 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * debug.h: add DEBUG to enum and fix size of ANY.
182
183         * debug.C: add support for Debug::DEBUG
184         (showTags): cast errorTags.level to unsigned int
185
186         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
187         (redoCurrentBuffer): ditto
188         (updateScrollbar): ditto
189         * cursor.C (dispatch): ditto
190         * text2.C (setLayout): ditto
191         (setFont): ditto
192         (updateCounters): ditto
193         (editXY): ditto
194         (deleteEmptyParagraphMechanism): ditto
195
196 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
199         annotations to cleanup the Makefile slightly.
200
201 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * lyxrc.C: do not set user_email to a default value but use empty
204         instead. The entry used to be translated, which does not work
205         since at the point where lyxrc is constructed there is no
206         translation service available
207
208         * messages.C (getLocaleDir): remove and use directly
209         lyx_localedir() instead
210
211 2004-06-02  Angus Leeming  <leeming@lyx.org>
212
213         Fix crash caused by dereferencing null pointer 'exportdata' in
214         OutputParams by creating a new ExportData variable on the heap,
215         storing it in a boost::shared_ptr.
216         The crash was triggered when generating an Instant Preview
217         of an external inset.
218
219         * Makefile.am: add outputparams.C
220
221         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
222         (c-tor): allocate memory to it.
223
224         * exporter.C (c-tor): associated changes.
225
226 2004-06-01  Angus Leeming  <leeming@lyx.org>
227
228         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
229         contains data before calling isInset(0). (Bug 1513.)
230
231 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
232
233         * exporter.C (checkOverwrite): new method
234         * exporter.C (copyFile): new method
235         * exporter.C (Export): copy referenced files to the document dir
236         * exporter.[Ch]: new class ExportedFile
237         * exporter.[Ch]: new class ExportData. Contains currently the
238         names of referenced external files
239         * outputparams.h: add exportdata member.
240
241 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
242
243         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
244         version.C-tmp
245
246 2004-05-19  Angus Leeming  <leeming@lyx.org>
247
248         * LaTeXFeatures.C:
249         * ToolbarBackend.C:
250         * bufferparams.C:
251         * lyxfunc.C: small changes due to the introduction of namespace
252         lyx::frontend and the moving of namespace biblio to lyx::biblio.
253
254 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
255
256         * text3.C (dispatch): supress update when only moving the cursor
257         * cursor.C (selHandle): remove commented code
258
259 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * paragraph.C (startTeXParParams): correct column count
262         * CutAndPaste.C (pasteSelection): remove const_cast
263         * output_docbook.C (docbookParagraphs): remove const_cast
264         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
265         const_cast and return ParagraphList::const_iterator
266         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
267         * output_plaintext.C (writeFileAscii): remove const_cast
268         * paragraph.[Ch] (simpleTeXOnePar): make const
269         * paragraph_funcs.C (outerPar): use const iterators
270         * paragraph_pimpl.C (validate): use const iterators
271         * text.C (setHeightOfRow): use const iterators
272
273 2004-05-17  Angus Leeming  <leeming@lyx.org>
274
275         * lfuns.h:
276         * LyXAction.C (init): new LFUN_INSET_REFRESH.
277
278         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
279         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
280         if the citation engine has changed.
281
282 2004-05-14  José Matos  <jamatos@lyx.org>
283
284         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
285         if the textclass does not provide it. Have it different for sgml and
286         xml.
287         support the language of document.
288         * output_docbook.C (docbookParagraphs):
289         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
290         first anchor as the id of the paragraph, remove special case code.
291         * sgml.C (escapeChar): escape only < & >.
292
293 2004-05-14  Angus Leeming  <leeming@lyx.org>
294
295         * bufferparams.h: move biblio::CiteEngine enum here to minimize
296         dependencies on src/frontends/controllers/biblio.h. Define a
297         CiteEngine_enum wrapper class to enable the enum to be forward
298         declared.
299
300 2004-05-12  Angus Leeming  <leeming@lyx.org>
301
302         * buffer.C: up LYX_FORMAT to 234.
303         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
304         use_numerical_citations with a single biblio::CiteEngine cite_engine
305         variable.
306         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
307
308 2004-05-13  José Matos  <jamatos@lyx.org>
309
310         * converter.h:
311         * converter.C (Converter, readFlags): add xml member.
312         * outputparams.h: add XML flavor.
313         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
314
315 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * lyxfunc.C (dispatch):
318         (getStatus): fix handling of LFUN_SEQUENCE
319
320 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * debug.C (showLevel): do not forget the end-of-line marker
323
324 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * kbmap.C (read): do not stop parsing a bind file when an error
327         occurs (bug 1575)
328
329 2004-04-29  Angus Leeming  <leeming@lyx.org>
330
331         * cursor.C:
332         * factory.C:
333         * pariterator.C:
334         * text2.C: wrap a bunch of #warning statements
335         inside #ifdef WITH_WARNINGS blocks.
336
337 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * buffer.C: increment format to 233.
340
341 2004-04-28  Angus Leeming  <leeming@lyx.org>
342
343         * BufferView_pimpl.C:
344         * lyxfunc.C:
345         * text3.C:
346         s/updateToolbar()/updateToolbars()/
347         s/Toolbar.h/Toolbars.h/
348
349 2004-04-28  Angus Leeming  <leeming@lyx.org>
350
351         * BufferView.[Ch] (c-tor):
352         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
353         No longer passes these data to the WorkArea generator.
354
355 2004-04-28  Angus Leeming  <leeming@lyx.org>
356
357         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
358
359 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
360
361         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
362
363 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * output_latex.C (TeXEnvironment): make sure that there is a line
366         break before \end{foo} for the last paragraph of a document
367         (TeXOnePar): if the paragraph is at the end of the document (or
368         inset) and the language has to be reset, then make sure that the
369         line break is _before_ the language command, not after (fixes bug
370         1225); also make sure that the language reset command is the first
371         thing after the paragraph (to ensure proper nesting of
372         environments and thus fix bug 1404)
373
374 2004-04-21  John Levon  <levon@movementarian.org>
375
376         * ToolbarBackend.h:
377         * ToolbarBackend.C: make "name" be a programmatic name
378         and a gui_name field.
379
380         * lyxfunc.C: display the minibuffer on M-x
381
382 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
385         (bug 1526)
386
387 2004-04-19  Angus Leeming  <leeming@lyx.org>
388
389         * BufferView_pimpl.C (setBuffer): changed preview interface.
390
391         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
392         possible values.
393
394 2004-04-19  John Levon  <levon@movementarian.org>
395
396         * BufferView_pimpl.C:
397         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
398
399 2004-04-05  Angus Leeming  <leeming@lyx.org>
400
401         * text.C (redoParagraphs): add call to updateCounters(), thereby
402         fixing the missing "Figure #:" label from the caption of a
403         figure float.
404
405 2004-04-13  Angus Leeming  <leeming@lyx.org>
406
407         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
408         cursor is clicked out of an inset.
409
410 2004-04-13  Angus Leeming  <leeming@lyx.org>
411
412         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
413         than an InsetOld one.
414
415 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
416
417         * format.[Ch]: add editor to Format
418         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
419         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
420
421 2004-04-08  André Pönitz  <poenitz@gmx.net>
422
423         * metricsinfo.h: remove PainterInfo::width member
424
425 2004-04-08  Angus Leeming  <leeming@lyx.org>
426
427         * lyx_sty.C (boldsymbol_def): modify so that it outputs
428         "\providecommand" rather than "\newcommand", thereby preventing
429         clashes with packages that define "\boldsymbol" themselves.
430         Eg, beamer.
431
432 2004-04-08  Angus Leeming  <leeming@lyx.org>
433
434         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
435         thereby squashing an unnecessary warning.
436
437 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
438
439         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
440         setBuffer()
441
442 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * BufferView.C (setCursor): call redoParagraph (some insets could
445         have been opened)
446         (putSelectionAt): remove the 'double update' trick
447
448         * BufferView_pimpl.C (fitCursor): call refreshPar
449         (workAreaDispatch): remove an uneeded update call
450         (dispatch): remove some manual update calls
451
452         * cursor.[Ch]: remove cached_y_, updatePos
453         (selHandle): set noUpdate when appropriate
454
455         * lyxfunc.C (dispatch): track if we need an update
456
457         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
458
459         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
460         (paintSelection): cheap optimization, do not call cursorX when not
461         needed
462         (paintPars): change signature
463         (refreshPar): add
464         (paintText): adjust
465         (paintTextInset): adjust
466
467         * text.C: adjust
468
469 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lengthcommon.C: compilation fix: remove explicit array size from
472         unit_name[] and friends
473
474 2004-04-05  Angus Leeming  <leeming@lyx.org>
475
476         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
477
478         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
479         present only for the preferences dialog.
480         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
481
482 2004-04-05  Angus Leeming  <leeming@lyx.org>
483
484         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
485         to enable the frontends to export changes to lyxrc correctly.
486
487         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
488
489 2004-04-07  André Pönitz  <poenitz@gmx.net>
490
491         * cursor.[Ch] (selClear, adjust): remove math
492
493         * cursor_slice.C: more agressive assert
494
495         * lyxfunc.C:
496         * BufferView_pimpl.C: rework mouse event dispatch
497
498         * dociterator.C:
499         * paragraph.C:
500         * text2.C:
501         * text3.C: adjust
502
503 2004-04-05  André Pönitz  <poenitz@gmx.net>
504
505         * cursor.[Ch] (valign, halign...): remove unneeded functions
506
507 2004-04-05  Angus Leeming  <leeming@lyx.org>
508
509         * lyxlength.[Ch] (unit_name et al.): const-correct.
510
511 2004-04-05  Angus Leeming  <leeming@lyx.org>
512
513         * BufferView_pimpl.C:
514         * buffer.C:
515         * counters.C:
516         * cursor.C:
517         * lyxfunc.C
518         * paragraph.C:
519         * pariterator.C:
520         * text.C:
521         * text2.C:
522         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
523
524 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * text3.C (getStatus): add LFUN_BEGINNINGBUF
527
528 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
529
530         * lyxfind.C: add a couple of inTexted() tests + other small fixes
531         * BufferView_pimpl.[Ch] (getStatus)
532         * BufferView.[Ch] (getStatus): add
533         * lyxfunc.C (getStatus): move lfuns handled in
534         BufferView::dispatch to te function above
535         * Cursor.C (setSelection): set selection() = true
536
537 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
538
539         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
540
541 2004-03-31  Angus Leeming  <leeming@lyx.org>
542
543         * lyxfunc.C (dispatch): Fall through to the generic
544         Dialogs::show("preamble").
545
546 2004-03-31  Angus Leeming  <leeming@lyx.org>
547
548         * lyxfunc.C (dispatch): Fall through to the generic
549         Dialogs::show("spellchecker").
550
551 2004-03-31  Angus Leeming  <leeming@lyx.org>
552
553         * lyxfunc.C (getStatus, dispatch): changed invocation of the
554         preferences dialog.
555
556 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * BufferView.C
559         * cursor.[Ch]
560         * dociterator.[Ch]:
561         * insetiterator.[Ch]:
562         * lyxfind.C:
563         * lyxfunc.C:
564         * pariterator.[Ch]:
565         * text2.C:
566         * undo.[Ch]: s/DocumentIterator/DocIterator/g
567
568 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * BufferView.C (setCursor, putSelectionAt): call edit to open the
571         insets where we are putting the cursor.
572
573 2004-03-31  Angus Leeming  <leeming@lyx.org>
574
575         * lfuns.h:
576         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
577
578         * lyxrc.[Ch] (read, write): overloaded member functions taking
579         a std::[io]stream arguments.
580
581         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
582
583 2004-03-31  Angus Leeming  <leeming@lyx.org>
584
585         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
586         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
587
588         * lyxtextclass.C (load): if the text class couldn't be loaded, then
589         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
590
591 2004-03-31  Angus Leeming  <leeming@lyx.org>
592
593         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
594         the LFUN_ALL_INSETS_TOGGLE code.
595
596 2004-03-30  Angus Leeming  <leeming@lyx.org>
597
598         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
599         has died. Fall through to the generic Dialogs::show("document").
600
601 2004-03-30  Angus Leeming  <leeming@lyx.org>
602
603         * lfuns.h:
604         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
605         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
606
607         * lyxfunc.C (getStatus, dispatch): define the actions for these
608         lfuns. Little more than a cut and pste job from ControlDocument.C
609
610         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
611
612 2004-03-30  Angus Leeming  <leeming@lyx.org>
613
614         * lfuns.h:
615         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
616         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
617
618         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
619         open/closed state of ollapsable insets. Usage:
620
621         all-inset-toggle <state> <name>, where
622         <state> == "open" || "closed" || "toggle" and
623         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
624
625         * lyxtext.h, text2.C (toggleInset): removed.
626
627         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
628         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
629         now passes LFUN_INSET_TOGGLE to the found inset.
630
631         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
632         is now invoked as "all-insets-toggle toggle branch".
633
634 2004-03-30  Angus Leeming  <leeming@lyx.org>
635
636         * dociterator.C:
637         * insetiterator.C:
638         * pariterator.[Ch]: added/corrected header blurb.
639
640 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
641
642         * dociterator.[Ch]: add an inset_ member
643         (backwardPos): implemented
644         (backwardPos, forwardPos): use inset_ when the stack is empty.
645         (doc_iterator_begin, doc_iterator_end): implemented
646         * pariterator.[Ch]: adjust, add begin, end
647         * insetiterator.[Ch]: adjust, add begin, end
648         * cursor.C:
649         * document.C:
650         * BufferView.C:
651         * BufferView_pimpl.C:
652         * CutAndPaste.C: adjust
653
654 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
655
656         * buffer.C: increment file format to 232.
657         * LaTeXFeatures.C: add bibtopic package.
658         * bufferparams.[Ch]: param \use_bibtopic.
659
660         * lyxrc.[Ch]: add lyxrc bibtex_command
661         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
662
663         * buffer.C: increment file format to 231.
664
665 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * dociterator.C: implement forwardPar
668         * iterators.[Ch]: remove, replaced by
669         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
670         * BufferView.C:
671         * BufferView_pimpl.C:
672         * CutAndPaste.C:
673         * buffer.C:
674         * bufferview_funcs.C:
675         * cursor.C:
676         * lyxfind.C
677         * lyxfunc.C
678         * paragraph_funcs.C
679         * toc.C:
680         * Makefile.am: adjust
681
682 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * CutAndPaste.C (pasteSelection): fix 2 crashes
685         (eraseSelection): fix a crash
686         * paragraph_funcs.C: remove a warning
687
688 2004-03-28  Angus Leeming  <leeming@lyx.org>
689
690         * lfuns.h:
691         * LyXAction.C (init): new LFUN_PRINT.
692
693         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
694
695 2004-03-27  Angus Leeming  <leeming@lyx.org>
696
697         * lfuns.h:
698         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
699
700         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
701
702 2004-03-27  Angus Leeming  <leeming@lyx.org>
703
704         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
705         insetlist always contains non-null pointers to insets.
706
707 2004-03-26  Angus Leeming  <leeming@lyx.org>
708
709         * src/BufferView_pimpl.C:
710         * src/CutAndPaste.C:
711         * src/buffer.C:
712         * src/iterators.C:
713         * src/output_plaintext.C:
714         * src/outputparams.h:
715         * src/paragraph_funcs.C:
716         * src/rowpainter.C:
717         * src/text.C:
718         * src/text2.C:
719         * src/frontends/controllers/ControlErrorList.C:
720         * src/frontends/gtk/FileDialogPrivate.C:
721         * src/frontends/gtk/GPainter.C:
722         * src/frontends/gtk/GToolbar.C:
723         * src/frontends/qt2/QRef.C:
724         * src/mathed/math_scriptinset.C: squash compiler warnings.
725
726 2004-03-26  Angus Leeming  <leeming@lyx.org>
727
728         * ispell.C (LaunchIspell::start):
729         * lyx_cb.C (AutoSaveBuffer::start):
730         invoke run(DontWait) rather than runNonBlocking().
731
732 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
733
734         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
735
736 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * kbsequence.C (print): adjust
739
740         * kbmap.C (printKeySym): rename and change signature
741         (printKey): use LyXKeySym::print()
742
743 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * undo.C: add using std::advance to compile for stlport
746
747 2004-03-24  Angus Leeming  <leeming@lyx.org>
748
749         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
750         it leads to a crash when no buffer is present.
751
752 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753             Martin Vermeer  <martin.vermeer@hut.fi>
754
755         * lyxfunc.C (dispatch):
756         * bufferparams.C (readToken): use the new LColor::setColor
757
758         * LColor.[Ch] (setColor): new version that takes two strings as
759         argument and creates a new color entry if necessary
760
761 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
762
763         * buffer.C (makeLaTeXFile): if the main latex file that is
764         processed is usually a subdocument of some master, then pretend
765         for a while that it is actually the master
766
767 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
768
769         * buffer.C (getLabelList):
770         (getBibkeyList): use getMasterBuffer()
771         (getMasterBuffer): new method. Returns the main document in the
772         case where one is using included documents.
773
774 2004-03-25  André Pönitz  <poenitz@gmx.net>
775
776         * Makefile.am:
777         * iterators.[Ch]:
778         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
779
780         * ParagraphList_fwd.h: change ParagraphList to a std::vector
781
782         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
783         text*.C over here. Rename namespace CutAndPaste to lyx::cap
784
785         * ParameterStruct.h: merge with ParagraphParameters
786
787         * lyxtext.h: remove LyXText::parOffset() and getPar()
788
789         * text3.C: Remove all 'manual' update calls. We do now one per user
790         interaction which is completely sufficient.
791
792         * Bidi.C:
793         * BufferView.[Ch]:
794         * BufferView_pimpl.C:
795         * FontIterator.[Ch]:
796         * MenuBackend.C:
797         * ParagraphParameters.[Ch]:
798         * buffer.C:
799         * buffer.h:
800         * bufferlist.C:
801         * cursor.[Ch]:
802         * cursor_slice.[Ch]:
803         * dociterator.[Ch]:
804         * errorlist.[Ch]:
805         * factory.C:
806         * lfuns.h:
807         * lyxfind.C:
808         * lyxfunc.C:
809         * output_docbook.[Ch]:
810         * output_latex.[Ch]:
811         * output_linuxdoc.[Ch]:
812         * output_plaintext.[Ch]:
813         * paragraph.[Ch]:
814         * paragraph_funcs.[Ch]:
815         * paragraph_pimpl.[Ch]:
816         * rowpainter.C:
817         * tabular.[Ch]:
818         * text.C:
819         * text2.C:
820         * toc.C:
821         * undo.[Ch]: adjust
822
823         * frontends/controllers/ControlDocument.C:
824         * frontends/controllers/ControlErrorList.C:
825         * frontends/controllers/ControlSpellchecker.C:
826         * insets/inset.C:
827         * insets/inset.h:
828         * insets/insetbase.h:
829         * insets/insetbibitem.C:
830         * insets/insetbox.C:
831         * insets/insetbranch.C:
832         * insets/insetcaption.C:
833         * insets/insetcharstyle.C:
834         * insets/insetcharstyle.h:
835         * insets/insetcollapsable.C:
836         * insets/insetcollapsable.h:
837         * insets/insetert.C:
838         * insets/insetfloat.C:
839         * insets/insetfoot.C:
840         * insets/insetmarginal.C:
841         * insets/insetnote.C:
842         * insets/insetoptarg.C:
843         * insets/insettabular.C:
844         * insets/insettext.C:
845         * insets/insettext.h:
846         * insets/insetwrap.C:
847         * mathed/math_mboxinset.C:
848         * mathed/math_nestinset.C:
849         * mathed/math_scriptinset.C:
850         * mathed/math_scriptinset.h:
851         * support/types.h:
852
853 2004-03-24  Angus Leeming  <leeming@lyx.org>
854
855         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
856         deal with any child processes that have finished but are waiting to
857         communicate this fact to the rest of LyX.
858
859 2004-03-24  Angus Leeming  <leeming@lyx.org>
860
861         64-bit compile fixes.
862
863         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
864         (c-tor): pass lyx::pos_types rather than ints.
865
866         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
867         lyx::pos_type.
868
869         * text.C (Delete): compile fix.
870         (getPar): ensure that function declaration is the same as that in
871         the header file.
872
873 2004-03-23  Angus Leeming  <leeming@lyx.org>
874
875         * ispell.C (LaunchIspell):
876         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
877         a boost::shred_ptr rather than a std::auto_ptr.
878
879 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * lyxfunc.C (getStatus): handle read-only buffers correctly;
882         handle LFUN_FILE_INSERT_*
883
884         * lyxrc.C (setDefaults, getDescription, output, read):
885         * lyxrc.h: remove ps_command
886
887 2004-03-22  Angus Leeming  <leeming@lyx.org>
888
889         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
890         Ensure that error_handler is processed once only and that all data
891         is saved before attempting to output any warning messages.
892
893         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
894
895 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * tabular.C (TeXRow): crash fix (from Kayvan and André)
898
899 2004-03-19  André Pönitz  <poenitz@gmx.net>
900
901         * cursor.[Ch] (reset): take main text inset as argument
902
903         * BufferView: adjust
904         * BufferView_pimpl.C: adjust
905
906         * paragraph.[Ch]: fix completely broken operator=()
907
908 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * LColor.C (getFromLyXName): make sure that the color name is used
911         as lowercase.
912
913 2004-03-17  Angus Leeming  <leeming@lyx.org>
914
915         * lfuns.h:
916         * LyXAction.C (init): remove LFUN_FORKS_KILL.
917
918         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
919         dialog and to kill a forked process.
920
921 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
922
923         * text2.C (setCursorFromCoordinates): fix font problem
924
925 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
926
927         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
928         bogus "rebuild cursor" code
929
930 2004-03-11  André Pönitz  <poenitz@gmx.net>
931
932         * buffer.[Ch]: use InsetText instead of LyXText as container for
933         the main lyx text.
934
935         * dociterator.[Ch]: drop the BufferView * member which is not needed
936         anymore after the change to buffer.C
937
938         * paragraph_funcs.C:
939         * text.C:
940         * text2.C:
941         * BufferView.[Ch]:
942         * BufferView_pimpl.[Ch]:
943         * cursor.[Ch]:
944         * cursor_slice.[Ch]: adjust
945
946         * text3.C: fix bug in mathDispatch
947
948 2004-03-08  André Pönitz  <poenitz@gmx.net>
949
950         * undo.[Ch]: use 'StableDocumentIterator' as base for
951         the Undo struct.
952
953 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
954
955         * LaTeXFeatures.C:
956         * bufferparams.[Ch]: add jurabib support and param.
957
958         * LaTeX.C: add FIXME/comment.
959
960 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * buffer.C: increment file format to 230.
963
964 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * cursor.C (dispatch): avoid infinite loops
967
968 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * rowpainter.C (paintSelection): fix x coordinates
971
972 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
973
974         * text.C (rowBreakPoint): fix breaking before displayed insets
975
976 2004-03-01  André Pönitz  <poenitz@gmx.net>
977
978         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
979
980         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
981
982         * Makefile.am:
983         * BufferView.C:
984         * BufferView_pimpl.C:
985         * buffer.C:
986         * lyxfind.C:
987         * lyxfunc.C:
988         * text.C:
989         * text2.C:
990         * text3.C: adjust
991
992 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
993
994         * lyxtext.h:
995         * text.C:
996         * text2.C:
997         * rowpainter.C:
998         * BufferView_pimpl.C: rename textwidth -> maxwidth,
999         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1000
1001 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * Bidi.[Ch] (computeTables): const correctness
1004         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1005         fill_hfill, fill_label_hfill and x from Row
1006         * lyxtext.h: prepareToPrint returns a RowMetrics
1007         * rowPainter.C: adjust
1008         * text.C (prepareToPrint): use width, not textWidth. adjust
1009         (redoParagraphInternal, cursorX): adjust
1010         * text2.C (getColumnNearX): adjust
1011         (init): put a default value to the top LyXText::width
1012
1013 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1016
1017 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * lyxtext.h: add FontIterator class
1020
1021         * text.C (FontIterator, operator*, operator->, operator++): add
1022         (rowBreakPoint, setRowWidth): adjust (fixing a
1023         rebreaking bug)
1024
1025 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * BufferView_pimpl.C (workAreaDispatch): allow also
1028         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1029
1030 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * text.C (rowBreakPoint): fix a bug showing with very large insets
1033
1034 2004-02-25  André Pönitz  <poenitz@gmx.net>
1035
1036         * text3.C:
1037         * cursor.[Ch]: move some mathed specific code to mathed
1038
1039 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1040
1041         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1042         use_tempdir in preferences
1043         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1044         tempfile creation
1045         * lyx_main.C: ensure that tempdir is valid
1046         * lyxlex.h: correct typo
1047         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1048         * paragraph.[Ch] (isMultiLingual): make const
1049         * cursor.[Ch] (openable): make const
1050
1051 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1052
1053         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1054
1055 2004-02-20  André Pönitz  <poenitz@gmx.net>
1056
1057         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1058
1059         * cursor.[Ch]: prepare for localized getStatus()
1060
1061         * lyxtext.h:
1062         * tabular.C:
1063         * text.C:
1064         * text2.C:
1065         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1066
1067 2004-02-20  André Pönitz  <poenitz@gmx.net>
1068
1069         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1070
1071 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * text2.C (setCursorFromCoordinates): switch to absolute coords
1074         (cursorUp): adjust
1075         (cursorDown): adjust
1076         * text3.C (dispatch): adjust
1077
1078 2004-02-16  André Pönitz  <poenitz@gmx.net>
1079
1080         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1081           insets/ChangeLog)
1082
1083         * cursor_slice.[Ch]: remove unneeded acessor function
1084
1085         * lyxtext.h: rename rtl() to isRTL()
1086
1087         * rowpainter.C:
1088         * tabular.C:
1089         * text.C:
1090         * text2.C:
1091         * text3.C: adjust
1092
1093 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1094
1095         * rowpainter.C (paintSelection): coord fix
1096
1097 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1098
1099         * Spacing.C: compile fix
1100
1101 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1102
1103         * cursor.C (dispatch): restore current_ before returning
1104
1105 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1106
1107         * text2.C (cursorUp, cursorDown): fix coords
1108         (moveUp): fix crash
1109
1110 2004-02-12  André Pönitz  <poenitz@gmx.net>
1111
1112         * lyxtext.h:
1113         * text.C:
1114         * text2.C:
1115         * text3.C: add LCursor & parameter to most cursor movement functions
1116           remove usage of LyXText::cursorRow() and cursorPar()
1117
1118         * cursor.[Ch]: add textRow() needed members
1119
1120         * BufferView.C:
1121         * BufferView_pimpl.C:
1122         * paragraph.[Ch]:
1123         * BufferView.C:
1124         * BufferView_pimpl.C: adjust
1125
1126 2004-02-11  André Pönitz  <poenitz@gmx.net>
1127
1128         * lyxfunc.C:
1129         * BufferView.[Ch]:
1130         * BufferView_pimpl.C: shift undo/redo handling
1131
1132         * cursor.[Ch]: fix mathed crash
1133
1134         * lyxfind.C:
1135         * lyxtext.h: move selectionAsText to LCursor
1136
1137         * output_latex.C:
1138         * paragraph.C:
1139         * text.C:
1140         * text2.C:
1141         * text3.C: adjust
1142
1143         * rowpainter.C: fix excessive drawing
1144
1145 2004-02-06  André Pönitz  <poenitz@gmx.net>
1146
1147         * BufferView.[Ch]:
1148         * BufferView_pimpl.[Ch]:
1149         * text3.C: move some text specific LFUN handling
1150
1151 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1152
1153         * text3.C (checkInsetHit): adjust coords
1154         * text2.C (getColumnNearX): adjust coords
1155         (edit): adjust coords
1156         * text.C (getRowNearY): add two asserts
1157
1158 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * converter.C:
1161         * format.C: add using std::distance to compile on gcc 2.95/stlport
1162
1163 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1164
1165         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1166
1167 2004-02-04  André Pönitz  <poenitz@gmx.net>
1168
1169         * BufferView.[Ch] (insertInset):
1170         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1171
1172         * text2.C:
1173         * text3.C: adjust
1174
1175 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1178         on the default clause of the switch
1179         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1180         wasn't catched by LCursor::dispatch
1181
1182 2004-02-03  André Pönitz  <poenitz@gmx.net>
1183
1184         * BufferView.C:
1185         * cursor.[Ch]: some additional asserts
1186
1187         * undo.[Ch]: remove LyXText dependency in interface
1188
1189         * lyxfunc.C: adjust
1190
1191         * lyxtext.h (firstPar, lastPar): remove dead functions
1192
1193         * text.C:
1194         * text2.C:
1195         * text3.C:
1196         * paragraph.[Ch]: adjust
1197
1198 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1199
1200         * lyxfind.C (find): fix argument order in call to ::find
1201
1202 2004-02-02  André Pönitz  <poenitz@gmx.net>
1203
1204         * cursor.[Ch]: remove direct access to anchor
1205
1206         * text.C: remove findText() hack
1207
1208 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1209
1210         * iterators.[Ch] (lockPath): remove in favour of...
1211         * BufferView.[Ch] (setCursor): this addition
1212         * BufferView.C (putSelectionAt): adjust
1213         * undo.C (performUndoOrRedo): adjust
1214         * lyxfunc.C (dispatch): adjust
1215
1216 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * iterators.C (lockPath): add a missing slice
1219         * undo.C (performUndoOrRedo): remove redundant positioning code
1220
1221 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1222
1223         * vc-backend.C (scanMaster): ";" -> ';'
1224
1225 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1226
1227         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1228         std::binary_function
1229
1230         * lyxtextclass.C (compare_name): rename to...
1231         (LayoutNamesEqual): ...this
1232
1233         * lyxlex_pimpl.C (compare_tags): inherit from
1234         std::binary_function, put back into anon namespace
1235
1236         * lyxfind.C (MatchString): inherig from std::binary_function
1237         (findChange): use empty() istead of !size()
1238
1239         * format.C (FormatNamesEqual): new functor
1240         (getFormat): use it
1241         (getNumber): use it
1242         (add): use it
1243         (erase): use it
1244         (setViewer): use it
1245
1246         * converter.C (compare_Converter): rename to...
1247         (ConverterEqual): ...this, and fixup a bit.
1248         (getConverter): use it, and make function const
1249         (getNumber): use it, and make function const
1250         (add): use it
1251         (erase): use it:
1252
1253         * bufferlist.C: add using boost::bind
1254
1255         * MenuBackend.C (MenuNamesEqual): new functor
1256         (hasMenu): use it, and make function const
1257         (hasSubmenu): use nested bind to get rid of compare_memfun.
1258
1259 2004-01-30  André Pönitz  <poenitz@gmx.net>
1260
1261         * BufferView_pimpl.C:
1262         * cursor.C:
1263         * cursor.h:
1264         * cursor_slice.[Ch]:
1265         * lyxfunc.C:
1266         * lyxtext.h:
1267         * paragraph_funcs.C:
1268         * paragraph_funcs.h:
1269         * rowpainter.C:
1270         * text.C:
1271         * text2.C:
1272         * text3.C: move some of the edit(x,y) handling to the insets
1273         some coordinate changes.
1274
1275 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1276
1277         * text.C: add using statements for std::advance and std::distance
1278
1279         * paragraph.C: add using statement for std::distance
1280
1281         * lyxfind.C: add using statement for std::advance
1282
1283         * cursor.C (region): remove std:: from swap
1284         (openable): use nucleus in stead of operator->
1285
1286         * BufferView.C: add using statements for std::distance and std::swap
1287
1288 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1289
1290         * iterators.C: Remove the pimple, move the needed structures to
1291         the header file. Create accessor for the positions stack.
1292         (asPosIterator): remove function
1293
1294         * PosIterator.C (PosIterator): move constructors to top of file
1295         (PosIterator): reimplement the constructor taking a ParIterator in
1296         terms of setFrom.
1297         (setFrom): new function
1298         (operator!=): inline it
1299
1300 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1301
1302         * lyxfind.C (replaceAll): use std::advance
1303
1304         * iterators.h: inherit from std::iterator.
1305
1306         * PosIterator.C (advance, distance): remove
1307         * PosIterator.h: interit from std::iterator.
1308
1309 2004-01-26  André Pönitz  <poenitz@gmx.net>
1310
1311         * BufferView.[Ch]:
1312         * BufferView_pimpl.[Ch]:
1313         * InsetList.[Ch]:
1314         * PosIterator.[Ch]:
1315         * buffer.h:
1316         * bufferview_funcs.C:
1317         * cursor.[Ch]:
1318         * cursor_slice.h:
1319         * factory.[Ch]:
1320         * iterators.[Ch]:
1321         * lyxfind.C:
1322         * lyxfunc.C:
1323         * lyxtext.h:
1324         * output_docbook.C:
1325         * output_latex.C:
1326         * output_linuxdoc.C:
1327         * output_plaintext.C:
1328         * paragraph.[Ch]:
1329         * paragraph_funcs.[Ch]:
1330         * paragraph_pimpl.[Ch]:
1331         * rowpainter.C:
1332         * tabular.C:
1333         * tabular.h:
1334         * text.C:
1335         * text2.C:
1336         * text3.C: more IU:  dumps most of the rest of the mathcursor
1337     implementation into cursor.[Ch]; "globalize" a bit of it.
1338
1339 2004-01-25  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1342
1343 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1344
1345         * LaTeXFeatures.h: add nice_ and nice() const
1346         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1347
1348 2004-01-20  André Pönitz  <poenitz@gmx.net>
1349
1350         * BufferView.[Ch]:
1351         * BufferView_pimpl.C:
1352         * PosIterator.C:
1353         * bufferview_funcs.C:
1354         * cursor.[Ch]:
1355         * cursor_slice.[Ch]:
1356         * factory.C:
1357         * iterators.C:
1358         * lyx_cb.C:
1359         * lyxfind.C:
1360         * lyxfunc.C:
1361         * lyxtext.h:
1362         * rowpainter.C:
1363         * text.C:
1364         * text2.C:
1365         * text3.C:
1366         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1367           LCursor and mathcursor parts to LCursor and InsetBase.
1368
1369 2004-01-15  André Pönitz  <poenitz@gmx.net>
1370
1371         * cursor_slice.[Ch]: add a few covienience functions
1372
1373         * funcrequest.[Ch]: remove BufferView * member
1374
1375         * BufferView_pimpl.C:
1376         * cursor.C:
1377         * factory.[Ch]:
1378         * lyxfind.[Ch]:
1379         * lyxfunc.C:
1380         * lyxtext.h:
1381         * text3.C:
1382         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1383
1384 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1387         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1388
1389 2004-01-13  André Pönitz  <poenitz@gmx.net>
1390
1391         * textcursor.[Ch]:
1392         * lyxtext.h: hide cursor and selection anchor behind accessor function
1393
1394         * BufferView.C:
1395         * BufferView_pimpl.[Ch]:
1396         * PosIterator.C:
1397         * bufferview_funcs.C:
1398         * cursor.h:
1399         * lyxfind.C:
1400         * lyxfunc.C:
1401         * text.C:
1402         * text2.C:
1403         * text3.C:
1404         * undo.C: adjust
1405
1406         * cursor.h:
1407         * cursor_slice.[Ch]: some integer type changes for inset unification
1408
1409         * lyxcursor.[hC]: remove, it's CursorSlice now.
1410
1411         * Makefile.am:
1412         * BufferView_pimpl.[Ch]:
1413         * bufferview_funcs.C:
1414         * cursor_slice.C:
1415         * lyxtext.h:
1416         * text.C:
1417         * text2.C:
1418         * text3.C:
1419         * textcursor.[Ch]: adjust
1420
1421 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * text2.C (undoSpan): add and use
1424         * text.C (breakParagraph): use undoSpan (fix bug 578)
1425         * lyxtext.h: adjust
1426
1427 2004-01-08  Angus Leeming  <leeming@lyx.org>
1428
1429         * BufferView_pimpl.C (MenuInsertLyXFile):
1430         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1431         * lyxfunc.C (menuNew, open, doImport):
1432         FileFilterList change to the FileDialog open and save functions.
1433
1434 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * ShareContainer.h: make isEqual and isUnique adaptable
1437
1438         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1439
1440 2004-01-07  Angus Leeming  <leeming@lyx.org>
1441
1442         * LyXAction.C:
1443         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1444
1445         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1446
1447         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1448         functions replacing find, replace and replaceAll.
1449
1450         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1451         LFUN_WORDFIND(FORWARD|BACKWARD).
1452
1453 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * text.C (breakParagraph): remove an outdated #warning
1456
1457 2004-01-07  André Pönitz  <poenitz@gmx.net>
1458
1459         * lyxfind.C: somewhat clearer logic
1460
1461         * text.C: prevent crash in cursorX on unitialized row cache
1462
1463 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1464
1465         * lyxcursor.[Ch] (operator>): add
1466         * textcursor.C (selStart, selEnd): use std::min and std::max
1467
1468 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1469
1470         * Chktex.C: include boost/format.hpp
1471
1472 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1473
1474         * InsetList.C: replace functor MathcIt with adaptable functor
1475         InsetTablePosLess
1476         (insetIterator): modify accordingly
1477
1478         * BranchList.h: move the BranchNamesEqual functor here from...
1479         * BranchList.C: ... to here
1480
1481         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1482         SameName and match.
1483         (add): replace a finding loop with std::find_if.
1484
1485 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * output_docbook.C: moving LatexParam functionality into
1488         .layout files
1489
1490 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1491
1492         * buffer.C: increment format to 229.
1493
1494 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1495
1496         * LaTeXFeatures.C:
1497         * lyx_sty.[Ch]: remove minipageindent_def
1498
1499         * LyXAction.C:
1500         * factory.C:
1501         * lfuns.h:
1502         * lyxfunc.C:
1503         * text3.C: remove LFUN_INSET_MINIPAGE
1504
1505 2003-12-28  Angus Leeming  <leeming@lyx.org>
1506
1507         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1508
1509 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * text2.C (setParagraph): fix off-by-one crash
1512
1513 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1514
1515         * output_docbook.C: header stuff for AGU
1516
1517 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * text2.C (redoCursor): remove
1520         * text.C:
1521         * text3.C:
1522         * BufferView_pimpl.C: remove calls to redoCursor and
1523         setCursor(cursor.par(), cursor.pos()) all around
1524
1525 2003-12-15  Angus Leeming  <leeming@lyx.org>
1526
1527         * buffer.C: up the format to 228.
1528
1529 2003-12-15  André Pönitz  <poenitz@gmx.net>
1530
1531         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1532         slices
1533
1534         * Makefile.am:
1535
1536         * BufferView_pimpl.C:
1537         * cursor.[Ch]:
1538         * lyxcursor.[Ch]:
1539         * rowpainter.[Ch]:
1540         * lyxtext.h:
1541         * text.C:
1542         * text2.C:
1543         * text3.C: adjust
1544
1545 2003-12-15  Angus Leeming  <leeming@lyx.org>
1546
1547         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1548         than getFromGUIName to manipulate the color.
1549
1550 2003-12-14  Angus Leeming  <leeming@lyx.org>
1551
1552         * BranchList.[Ch]: minimize the API.
1553         (Branch::getBranch, getColor): now return a 'const &'.
1554         (Branch::setSelected) now returns a bool set to true if the
1555         selection status changes.
1556         (BranchList::clear, size, getColor, setColor, setSelected,
1557         allBranches, allSelected, separator): removed.
1558         (BranchList::find): new functions, returning the Branch with
1559         the given name.
1560         (BranchList::add, remove): return a bool indicating that
1561         the operation was successful.
1562
1563         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1564         new InsetBranch::isBranchSlected member function.
1565
1566         * LColor.[Ch]: mimimize the API.
1567         (fill): renamed as addColor and made private.
1568         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1569         versions of these functions taking a string arg have been removed.
1570
1571         * bufferparams.C (readToken):
1572         * lyxfunc.C (dispatch):
1573         * lyxrc.C (read): changes due to the altered BranchList and
1574         LColor APIs.
1575
1576         * factory.C (createInset, readInset): changes due to altered
1577         InsetBranch c-tor.
1578
1579 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1580
1581         * factory.C:
1582         * lyxfunc.C: remove insetminipage. "minipage-insert"
1583         now produces a frameless minipage box inset.
1584
1585 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * textcursor.[Ch] (selStart,selEnd): add new methods
1588         remove selection::start, end, use LyXCursor::operator<
1589         * lyxcursor.[Ch] (operator<): add
1590         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1591         * BufferView.[Ch] (unsetXSel): add
1592         * text2.C (clearSelection): use unsetXSel,adjust
1593         * text.C: adjust
1594         * text3.C: adjust
1595         * rowpainter.C: adjust
1596         * bufferview_funcs.C (put_selection_at): adjust
1597
1598 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * BufferView_pimpl.C: small coord. correction
1601
1602 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1605         dragging over the splash screen.
1606
1607 2003-12-11  Angus Leeming  <leeming@lyx.org>
1608
1609         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1610         as it is now handled in LyXText::dispatch.
1611
1612         * text3.C (doInsertInset): remove a level of nesting.
1613
1614 2003-12-11  Angus Leeming  <leeming@lyx.org>
1615
1616         * factory.C (createInset): changes due to the changed interface to
1617         InsetCommandMailer::string2params.
1618
1619 2003-12-10  Angus Leeming  <leeming@lyx.org>
1620
1621         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1622         'dialog-show-new-inset <inset name>'
1623
1624 2003-12-10  Angus Leeming  <leeming@lyx.org>
1625
1626         * buffer.C: up the format to 227.
1627
1628         * factory.C: the box inset is now identified simply by 'Box'.
1629
1630 2003-12-10  Angus Leeming  <leeming@lyx.org>
1631
1632         * buffer.C: up the format to 226.
1633
1634         * factory.C: the note inset is now identified simply by 'Note'.
1635
1636 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1637
1638         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1639         when a pit is enough. Standarize a couple of loops.
1640
1641 2003-12-05  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1644         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1645         data to the re-worked "log" dialog.
1646
1647 2003-12-03  André Pönitz  <poenitz@gmx.net>
1648
1649         * PosIterator.C:
1650         * iterators.C:
1651         * lyxtext.h:
1652         * output_latex.C:
1653         * paragraph_funcs.C:
1654         * text.C:
1655         * text2.C: use Inset::getText instead of Inset::getParagraph
1656
1657 2003-12-03  André Pönitz  <poenitz@gmx.net>
1658
1659         * buffer.[Ch]:
1660         * lyxtext.h:
1661         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1662         InsetText::read() as LyXText::read()
1663
1664 2003-12-02  Angus Leeming  <leeming@lyx.org>
1665
1666         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1667         type. Add a comment in the implementation that the function uses
1668         the stream's bad() function rather than fail() as the std::streams
1669         would do.
1670
1671 2003-12-02  André Pönitz  <poenitz@gmx.net>
1672
1673         * lyxlex.[Ch]: make interface more similar to std::stream
1674
1675         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1676
1677 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1678
1679         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1680
1681 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1682
1683         * vspace.[Ch]: remove VSpace::NONE
1684
1685 2003-12-01  André Pönitz  <poenitz@gmx.net>
1686
1687         * buffer.[Ch]:
1688         * lyxtext.h: move ParagraphList member to LyXText
1689         rename LyXText::ownerParagraphs to LyXText::paragraph
1690
1691         * CutAndPaste.C:
1692         * bufferview_funcs.C:
1693         * iterators.[Ch]:
1694         * lyx_cb.C:
1695         * paragraph.C:
1696         * rowpainter.C:
1697         * tabular.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: adjust
1701
1702         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1703
1704         * undo.C: fix cursor positioning
1705
1706 2003-12-01  John Levon  <levon@movementarian.org>
1707
1708         * BufferView_pimpl.C: fix a crash on exit with
1709         a buffer open
1710
1711 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1712
1713         * BranchList.C: fix setSelected() method.
1714
1715 2003-11-28  André Pönitz  <poenitz@gmx.net>
1716
1717         * ParagraphParameters.[Ch]:
1718         * ParameterStruct.h: remove space above/below from Paragraph to
1719          InsetVSpace
1720
1721         * BufferView_pimpl.C:
1722         * factory.C:
1723         * lyxfunc.C:
1724         * lyxtext.h:
1725         * output_latex.C:
1726         * paragraph.C:
1727         * paragraph_funcs.C:
1728         * rowpainter.[Ch]:
1729         * text.C:
1730         * text2.C:
1731         * text3.C: adjust
1732
1733 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1734
1735         * factory.C: Syntax change for CharStyles
1736
1737 2003-11-28  André Pönitz  <poenitz@gmx.net>
1738
1739         * BufferView.[Ch]:
1740         * BufferView.[Ch]:
1741         * buffer.[Ch]:
1742         * buffer.[Ch]: move LyXText member
1743
1744 2003-11-28  André Pönitz  <poenitz@gmx.net>
1745
1746         * BufferView.[Ch]: make LyXText * text a private member
1747
1748         * BufferView_pimpl.C:
1749         * cursor.C:
1750         * iterators.C:
1751         * lyx_cb.C:
1752         * lyxfind.C:
1753         * lyxtext.h:
1754         * rowpainter.[Ch]:
1755         * text.C:
1756         * text2.C:
1757         * undo.C: adjust
1758
1759         * output_plaintext.C: cleanup
1760
1761 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1762
1763         * buffer.C:
1764         * lyxtextclass.[Ch]: parametrize SGML document header
1765
1766 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1767
1768         * converter.[Ch]:
1769         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1770         getFlavor().
1771
1772 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * text2.C (setFont): rework using PosIterator (no more recursive)
1775         (setCharFont): no more needed
1776         (setLayout): no more selection cursors fiddling (done by redoCursor)
1777         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1778         destroy remaining ones)
1779
1780 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1783         * lyxtext.h: ditto
1784         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1785         selection cursors
1786         * lyxfunc.C: adjust
1787         * text3.C: adjust + re-allow multi par depth changes
1788         * textcursor.C: simplify a bit
1789
1790 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1791
1792         * src/buffer.C:
1793         * src/lyxlayout.C:
1794         * src/lyxlayout.h:
1795         * src/lyxtext.h:
1796         * src/output_docbook.C:
1797         * src/output_latex.C:
1798         * src/paragraph.C:
1799         * src/paragraph.h:
1800         * src/sgml.C:
1801         * src/sgml.h:
1802         * src/text2.C: Introducing a number of tags parametrizing various
1803         XML formats that we may want to support
1804
1805 2003-11-25  André Pönitz  <poenitz@gmx.net>
1806
1807         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1808
1809         * lyxtext.h (leftMargin/rightMargin): simplify interface
1810
1811         * rowpainter.C:
1812         * text.C:
1813         * text2.C:
1814         * text3.C: adjust
1815
1816 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1817
1818         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1819         master file to any child files. Fixes bug 546.
1820
1821 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1824
1825 2003-11-24  André Pönitz  <poenitz@gmx.net>
1826
1827         * rowpainter.C: simplification
1828
1829         * text2.C (updateCounters): remove call to redoParagraph on
1830         changed labels as this is far too expensive.
1831
1832 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1833
1834         * converter.C (convert): fix a crash: this function gets
1835         called with buffer == 0 from importer code.
1836
1837 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1838
1839         * text3.C (cursorPrevious): make sure that we do not compare
1840         iterators form different containers.
1841         (cursorNext): ditto
1842
1843         * rowpainter.C (paintSelection): make sure that we do not compare
1844         iterators from different containers.
1845
1846         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1847         iterators from different ParagraphList containers.
1848         [NEXT] ditto
1849
1850         * text2.C (LyXText): change order of initialization slightly
1851         (operator=): new function. copy all variables except cache_par_
1852         (moveUp): make sure that we do not compare iterators from
1853         different ParagraphList constainers.
1854         (moveDown): ditto
1855
1856         * text.C (firstPar): new function
1857         (lastPar): new function
1858         (endPar): new function
1859
1860         * lyxtext.h: move things around and group public functions, public
1861         variables, private functions, private variables
1862
1863 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1864
1865         * factory.C: change call to InsetERT constructor to avoid
1866         additional invocation of method status
1867         * text2.C (toggleInset): remove redundant update() call
1868         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1869         instead of a Bufferview pointer
1870
1871 2003-11-21  André Pönitz  <poenitz@gmx.net>
1872
1873         * rowpainter.C: simplification
1874
1875 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * text3.C (dispatch): make possible to extend a word/row selection
1878         with the mouse
1879
1880 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1881
1882         * lyxtext.h: x0_,y0_ -> xo_,yo_
1883         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1884         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1885         * rowpainter.C (paintRows): paint full paragraphs
1886
1887 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1888
1889         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1890         screen coordinates)
1891
1892 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1893
1894         * lyxtext.h: add x0_, y0_
1895         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1896         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1897
1898 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * text2.C (setCursorIntern): move the x_target update here *
1901         * text3.C: change some bv() to true/false in calls to
1902         cursorUp/Down/Right/Left
1903         * cursor.C: use helper function.
1904
1905 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1908         * paragraph_funcs.[Ch]: correct comment
1909         * rowpainter.C: do not paint selections away from bv->cursor()
1910         Fix a long standing selection painting bug.
1911         * text3.C: generalize mouse-selection code to LyXTexts other that
1912         top one
1913         * textcursor.C: do not use y coords if we can use par offsets
1914
1915 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1916
1917         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1918         cursor position after e.g. inset insert)
1919
1920 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1921
1922         * lyxfind.C (replace): adjust to locking removal + some
1923         code simplification
1924
1925 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1928         of the path
1929
1930 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1931
1932         * lyxlayout.[Ch]:
1933         * output_docbook.C: XML sanitation: new layout
1934         parameters InnerTag and CommandDepth
1935
1936 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * BufferView_pimpl.C:
1939         * factory.C:
1940         * text3.C: Fix the insertion and modification of button-style
1941         insets
1942
1943 2003-11-13  André Pönitz  <poenitz@gmx.net>
1944
1945         * InsetList.[Ch]: remove deleteLyXText
1946
1947         * paragraph.[Ch]: cache beginOfBody position
1948
1949         * Bidi.C:
1950         * text.C:
1951         * text2.C:
1952         * text3.C: remove superfluous update() calls
1953
1954         * vspace.C: cleanup
1955
1956 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1957
1958         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1959         * BufferView.C (fitLockedInsetCursor): remove
1960         * cursor.[Ch] (getDim): add
1961         * text.C (getRowNearY): add faster version
1962         * text3.C: remove some update calls
1963
1964 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1965
1966         * LaTeXFeatures.C:
1967         * LyXAction.C:
1968         * MenuBackend.C:
1969         * MenuBackend.h:
1970         * dispatchresult.h:
1971         * factory.C:
1972         * lfuns.h:
1973         * lyxfunc.C:
1974         * lyxtextclass.C:
1975         * lyxtextclass.h:
1976         * text3.C: The Character Style /XML short element patch.
1977
1978 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1979
1980         * text3.C:
1981         * factory.C: Small step to solving 'unable to insert some insets'
1982         problem
1983
1984 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * cursor.[Ch] (updatePos): new function for updating the y
1987         position of the tip inset
1988         * bufferview_funcs.C (put_selection_at):
1989         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1990
1991 2003-11-11  André Pönitz  <poenitz@gmx.net>
1992
1993         * text.C: remove big comment on invalid Paragraph pointers as it is
1994         not valid anymore
1995
1996 2003-11-11  André Pönitz  <poenitz@gmx.net>
1997
1998         * text_funcs.[Ch]: merge with ...
1999
2000         * text.C: ... this
2001
2002         * lyxtext.h:
2003         * text2.C:
2004         * text3.C: adjust
2005
2006         * Makefile.am: remove text_funcs.[Ch]
2007
2008 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2009
2010         * cursor.C (getPos): return absolute cached y coord
2011
2012         * BufferView_pimpl.C (fitCursor): new simplistic code
2013         (workAreaDispatch): add a fitCursor call
2014
2015 2003-11-10  André Pönitz  <poenitz@gmx.net>
2016
2017         * BufferView.[Ch]:
2018         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2019
2020 2003-11-10  André Pönitz  <poenitz@gmx.net>
2021
2022         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2023         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2024         indicate that the cursor needs to leave an inset
2025
2026         * lyxtext.h: remove inset locking
2027
2028         * cursor.[Ch]: re-implement functionality provided by inset locking
2029
2030         * BufferView.[Ch]:
2031         * BufferView_pimpl.[Ch]:
2032         * LyXAction.C:
2033         * bufferview_funcs.[Ch]:
2034         * factory.C:
2035         * funcrequest.[Ch]:
2036         * iterators.C:
2037         * lyx_cb.C:
2038         * lyxfind.C:
2039         * lyxfunc.C:
2040         * text.C:
2041         * text2.C:
2042         * text3.C:
2043         * undo.C: adjust
2044
2045 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2046
2047         * PosIterator.[Ch]: replace the stack with a vector, add inset
2048         accesor
2049         * iterators.[C]: adjust
2050
2051 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2052
2053         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2054         replaced
2055         * paragraph_funcs.C (readParToken): put the correct id in the
2056         error item, not the id of the top paragraph
2057
2058 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2059
2060         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2061         * bufferview_funcs.C (put_selection_at): use the above
2062
2063 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2064
2065         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2066
2067 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * output_linuxdoc.h:
2070         * output_plaintext.h:
2071         * output.h:
2072         * output_docbook.h: add #include statements
2073
2074 2003-11-05  José Matos  <jamatos@lyx.org>
2075
2076         * output_docbook.[Ch]:
2077         * output_latex.[Ch]:
2078         * output_linuxdoc.[Ch]:
2079         * output_plaintext.[Ch]: New files for output formats.
2080         * output.[Ch]: New file for helper functions.
2081
2082         * buffer.[Ch]:
2083         * paragraph_funcs.[Ch]: output functions moved to new files.
2084
2085         * outputparams.h: rename of latexrunparams.h
2086
2087         * LaTeX.[Ch]:
2088         * buffer.[Ch]:
2089         * bufferlist.[Ch]:
2090         * converter.[Ch]:
2091         * exporter.C:
2092         * paragraph.[Ch]:
2093         * paragraph_funcs.[Ch]:
2094         * paragraph_pimpl.[Ch]:
2095         * tabular.[Ch]: rename ascii to plaintext
2096         and LatexRunParams to OutputParams.
2097
2098 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2099
2100         * iterators.[Ch] (text): require bv argument
2101         * undo.C (recordUndo):
2102         * lyxfunc.C (dispatch):
2103         * bufferview_funcs.C (put_selection_at): adjust
2104
2105 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2106
2107         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2108
2109 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2110
2111         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2112         nestings
2113
2114 2003-11-04  André Pönitz  <poenitz@gmx.net>
2115
2116         * cursor.[Ch]: restructure
2117
2118         * BufferView.[Ch]:
2119         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2120
2121         * iterators.[Ch] (asCursor): remove
2122
2123         * lfuns.h: remove LFUN_INSET_EDIT
2124
2125         * lyxfunc.C:
2126         * tabular.C:
2127         * text.C:
2128         * text2.C:
2129         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2130
2131 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2132
2133         * lyxfind.[Ch]: complete overhaul
2134         * BufferView_pimpl.C:
2135         * lyxfunc.C: adjust
2136         * paragraph.[Ch] (insert): add
2137
2138 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2139
2140         * BufferView.[Ch]:
2141         * lyxtext.h:
2142         * text.C: remove dead spellcheck code
2143
2144 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * dispatchresult.h: add a val setter
2147
2148         * cursor.C (dispatch): use a tempvar for data_[i]
2149
2150 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2151
2152         * PosIterator.[Ch]: compile fix
2153
2154 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2155
2156         * text.C (cursorPar): deactivate the cursor cache
2157
2158 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2159
2160         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2161
2162 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * text3.C (dispatch): adjust for new DisptchResult semantics.
2165
2166         * lyxfunc.C (dispatch): handle update when return from
2167         Cursor::dispatch, adjust for new DispatchResult semantics.
2168
2169         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2170         DispatchResult(true) mean to not update. Add class functions for
2171         setting dispatched and update, as well as reading.
2172
2173         * cursor.C (dispatch): don't handle update here
2174
2175 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2178         * trans_mgr.C: adjust
2179
2180         * paragraph_funcs.C (readParToken): exception safety
2181
2182         * lyxvc.h: store the vcs pointer in a scoped_ptr
2183         * lyxvc.C: adjust
2184
2185         * lyxsocket.C (serverCallback): exception safety
2186
2187         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2188
2189         * ispell.C (clone): make it return a auto_ptr
2190
2191         * factory.C (createInset): exception safety
2192         (readInset): exception safety
2193
2194         * bufferlist.C (newBuffer): exception safety
2195
2196         * Thesaurus.C (Thesaurus): use initialization for aik_
2197
2198         * MenuBackend.C (expandToc): exception safety.
2199
2200 2003-11-03  André Pönitz  <poenitz@gmx.net>
2201
2202         * buffer.C:
2203         * buffer.h:
2204         * bufferview_funcs.C: remove getInsetFromId()
2205
2206         * lyxcursor.[Ch]:
2207         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2208
2209         * lyxfunc.C:
2210         * text2.C:
2211         * text3.C: adjust
2212
2213 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2214
2215         * PosIterator.C (distance, advance): new
2216         * bufferview_funcs.[Ch] (put_selection_at): new
2217         * iterators.[Ch] (lockPath): new
2218
2219 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2220
2221         * iterators.[Ch] (asPosIterator): added
2222         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2223         * PosIterator.[Ch]: added
2224
2225 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2226
2227         * text3.C:
2228         * lyxfunc.C:
2229         * cursor.C (dispatch):
2230         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2231
2232         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2233         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2234         contructor, add a class function dispatched. Remove operator>=
2235
2236 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * debug.C: only use the default constructor for debugstream
2239         (lyxerr) here.
2240
2241         * main.C (main): include debug.h and setup the lyxerr streambuf
2242         here.
2243
2244 2003-10-31  José Matos  <jamatos@lyx.org>
2245
2246         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2247
2248         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2249         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2250         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2251         * paragraph_pimpl.C (simpleTeXSpecialC):
2252         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2253         add LatexRunParams argument.
2254
2255         * exporter.C (Export): change call accordingly.
2256
2257         * latexrunparams.h: add new member to take care of the other backends.
2258 2003-10-30  José Matos  <jamatos@lyx.org>
2259
2260         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2261         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2262         factorise code for paragraph output.
2263         * buffer.[Ch]:
2264         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2265         move functions.
2266
2267 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * text3.C (dispatch):
2270         * lyxfunc.C (dispatch):
2271         * cursor.C (dispatch):
2272         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2273
2274         * dispatchresult.h: make the dispatch_result_t ctor explicit
2275
2276 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * sgml.[Ch]:
2279         * buffer.C: small refactoring of docbook stuff
2280
2281 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2282
2283         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2284         meaning.
2285
2286 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2289         operator dispatch_result_t, and operators for == != and >=
2290
2291         * cursor.C (dispatch): adjust for operator dispatch_result_t
2292         removal. comment out call to update
2293
2294         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2295
2296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * text3.C:
2299         * text2.C:
2300         * text.C:
2301         * lyxtext.h:
2302         * lyxfunc.C:
2303         * cursor.C:
2304         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2305         (dispatch):
2306
2307         * dispatchresult.h: new file, DispatchResult broken out of
2308         insets/insetbase.h
2309
2310         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2311
2312 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2313
2314         * text.C (rowBreakPoint): put a hack inside #if 0
2315
2316 2003-10-28  André Pönitz  <poenitz@gmx.net>
2317
2318         * lyxtext.h:
2319         * metricsinfo.C:
2320         * paragraph_funcs.C:
2321         * rowpainter.C:
2322         * text.C:
2323         * text2.C: general cleanup (lots of small stuff)
2324
2325 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2326
2327         * text2.C (cursorEnd): simple fix to the "end key goes to one
2328         before the end on last row" bug
2329
2330 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2331
2332         * text.C (backspace): fix the "zombie characters"
2333
2334 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2337
2338 2003-10-27  André Pönitz  <poenitz@gmx.net>
2339
2340         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2341
2342         * factory.C: handle new InsetPagebreak, InsetLine
2343
2344         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2345         and move handling into new InsetPagebreak, InsetLine
2346
2347         * BufferView_pimpl.C:
2348         * LyXAction.C:
2349         * ParagraphParameters.C:
2350         * ParameterStruct.h:
2351         * lyxfunc.C:
2352         * lyxtext.h:
2353         * paragraph.C:
2354         * paragraph.h:
2355         * paragraph_funcs.C:
2356         * paragraph_pimpl.C:
2357         * rowpainter.C:
2358         * text.C:
2359         * text2.C:
2360         * text3.C: adjust
2361
2362 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2363
2364         * text.C:
2365         * lyxrow_funcs.[Ch]:
2366         * Bidi.C:
2367         * paragraph.C:
2368         * lyxtext.h:
2369         * rowpainter.C:
2370         * text2.C:
2371         * text3.C: remove lastPos uses in favour of Row::endpos
2372
2373 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * undo.C (performUndoOrRedo): fix two crashes by setting a
2376         cursor by hand and reordering some calls. Use bv->lockInset instead
2377         of inset->edit because the latter loses cursor information
2378
2379 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2380
2381         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2382         by Martin
2383         (rowBreakPoint): fix width. change point to point + 1.
2384         Add a missing check.
2385
2386 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * MenuBackend.C:
2389         * lyxfunc.C: fix (at least partly) the problems
2390         with the Nav menu and headers inside branch insets
2391         reported by Kayvan
2392
2393 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2394
2395         * paragraph.C (getChar): add strong asserts
2396
2397         * lyxrow_funcs.C (lastPos): remove hideous hack
2398
2399         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2400         (fill): adjust to that (avoid an infinite loop)
2401
2402 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2403
2404         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2405
2406 2003-10-23  André Pönitz  <poenitz@gmx.net>
2407
2408         * RowList_fwd.h: change list<> to vector<> to gain speed
2409         after suggestion from Alfredo
2410
2411 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * lyxtext.h: move the bidi stuff from here...
2414         * text.C: and here
2415         * text2.C: and here
2416         * Bidi.[Ch]: ... to here
2417
2418 2003-10-23  André Pönitz  <poenitz@gmx.net>
2419
2420         * lyxtext.h:
2421         * text.C (isLastRow, isFirstRow): new functions
2422
2423         * paragraph.h: new width cache member
2424
2425         * rowpainter.C: replace RowList::iterator with Row & where possible
2426
2427         * lyxfunc.C: replace several view()->text with a single call
2428
2429         * toc.C: fix 'unused' warning
2430
2431 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2434         when woring with stream::pos_type
2435         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2436
2437 2003-10-22  André Pönitz  <poenitz@gmx.net>
2438
2439         * lyxtext.h:
2440         * text.C: use Row & instead of RowList::iterator
2441
2442         * lyxrow.h: rename end() to endpos()
2443
2444         * rowpainter.C:
2445         * text.C:
2446         * text2.C: adjust
2447
2448 2003-10-22  Angus Leeming  <leeming@lyx.org>
2449
2450         * buffer.[Ch] (fully_loaded): new member function, returning true
2451         only when the file has been loaded fully.
2452         Used to prevent the premature generation of previews and by the
2453         citation inset to prevent computation of the natbib-style label.
2454
2455         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2456         templates are all set up.
2457
2458         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2459
2460 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * text.C: fixed an "oops" in the "is a bit silly"
2463         bug fix
2464
2465 2003-10-21  André Pönitz  <poenitz@gmx.net>
2466
2467         * FuncStatus.[Ch]: small stuff, whitespace
2468
2469         * lyxfont.[Ch]: operator<<() for debug reasons
2470
2471         * lyxfunc.C:
2472         * lyxrow_funcs.C:
2473         * lyxtext.h: whitespace, spelling
2474
2475         * paragraph.C: naming of variables
2476
2477         * text.C:
2478         * text2.C: small stuff
2479
2480
2481 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2482
2483         * text.C: (1) finish off the inset display() work;
2484         (2) fix the "is a bit silly" bug (accessing char
2485         past end of par).
2486
2487 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2488
2489         * text.C: re-introduce display() for insets, fixing the
2490         various bugs (stretch of line above, math inset
2491         positioning, ...)
2492
2493 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2494
2495         * text.C (rightMargin): remove spurious semicolon
2496
2497         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2498         1415)
2499
2500 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2501
2502         * text3.C: fix one crash due to wrong cursor def
2503
2504 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * vc-backend.C (scanMaster): make the regex static
2507
2508         * LaTeX.C (scanAuxFile): make the regexs static
2509
2510         * text3.C (doInsertInset, dispatch, dispatch):
2511         * text2.C (cursorUp, cursorDown):
2512         * text.C (selectNextWordToSpellcheck):
2513         * BufferView_pimpl.C (dispatch):
2514         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2515
2516 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2517
2518         * lyxsocket.C: include <cerrno>
2519
2520 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * lyxfunc.C (dispatch): remove textcache stuff
2523
2524         * bufferlist.C (release): remove textcache stuff
2525         (closeAll): ditto
2526
2527         * TextCache.C: delete file
2528         * TextCache.h: delete file
2529
2530         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2531
2532         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2533         delete of the bv_->text.
2534         (resizeCurrentBuffer): remove texcache stuff
2535         (workAreaResize): ditto
2536
2537 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2540         action.
2541
2542 2003-10-16  André Pönitz  <poenitz@gmx.net>
2543
2544         * lyxrow.[Ch]:
2545         * paragraph.h:
2546         * rowpainter.C:
2547         * text.C:
2548         * text2.C:
2549         * text3.C: speed up by storing y positions per paragraph plus per-row
2550         offset instead of having a 'full' y position in the row.
2551
2552 2003-10-15  André Pönitz  <poenitz@gmx.net>
2553
2554         * iterators.[Ch]:
2555         * iterators.[Ch]:
2556         * undo.[Ch]: make undo aware of inner insets
2557
2558 2003-10-14  Angus Leeming  <leeming@lyx.org>
2559
2560         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2561         static member functions LyX::ref() and LyX::cref.
2562         (lastfiles): new accessor functions for the new lastfiles_ member var.
2563         (addLyXView, views_): add a new LyXView to the list of views_.
2564         (updateInset): loop over all LyXViews to call their own updateInset
2565         member function, returning a pointer to the Buffer owning the inset.
2566
2567         * BufferView_pimpl.C (loadLyXFile):
2568         * MenuBackend.C (expandLastfiles):
2569         * bufferlist.C (MenuWrite, QuitLyX):
2570         lastfiles is no longer a global variable.
2571         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2572
2573         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2574         static function. Access through LyX::cref().emergencyCleanup().
2575
2576 2003-10-14  André Pönitz  <poenitz@gmx.net>
2577
2578         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2579
2580         * undo.[Ch]: restoring part of 'undo in insets'
2581
2582         * Makefile.am:
2583         * undo_funcs.[Ch]: merge with undo.[Ch]
2584
2585         * tabular.C: small cleansing stuff
2586
2587 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2588
2589         * paragraph_funcs.C (readParToken): report unknown insets as error
2590         boxes. Use the outer paragraph as location (also for unknown
2591         tokens).
2592
2593         * factory.C (readInset): do not abort on reading an unknown inset.
2594         Eat it and return 0.
2595
2596 2003-10-13  Angus Leeming  <leeming@lyx.org>
2597
2598         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2599
2600         * lyxrc.C: displayTranslator is now a function,
2601         declared in GraphicsTypes.h.
2602
2603 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2604
2605         * format.C: new placeholder $$a to pass the socket address.
2606
2607         * bufferlist.[Ch]: new function getBufferFromTmp.
2608
2609         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2610           files in the temporary dir.
2611
2612 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2613
2614         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2615
2616         * Makefile.am: add lyxsocket.[Ch].
2617
2618         * lyx_main.C (error_handler): handle SIGPIPE.
2619
2620 2003-10-13  André Pönitz  <poenitz@gmx.net>
2621
2622         * BufferView_pimpl.C:
2623         * lyxtext.h:
2624         * text.C:
2625         * text2.C:
2626         * text3.C:
2627         * undo_funcs.[Ch]: use paroffset_type instead of
2628           ParagraphList::iterators to prevent multiple conversion
2629           (and get a more robust interface)
2630
2631 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2634         * lyxtext.h: ditto
2635         * text3.C (dispatch): ditto
2636
2637 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2640         move the onlyfile, use onlyfile instead of foundfile in a couple
2641         of places.
2642
2643         * DepTable.C (update): flush the error stream a bit more
2644
2645 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * lyxserver.C (callback): adjust
2648
2649         * lyxfunc.C (getStatus): add a missing brace in commented code
2650         (ensureBufferClean): reindent
2651         (dispatch): delete version taking a string
2652
2653 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * LaTeX.C (deplog): move found file handlig from here...
2656         (handleFoundFile): .. to new function here.
2657         (deplog): make sure to discover several files mentioned on the
2658         same log line.
2659
2660 2003-10-10  André Pönitz  <poenitz@gmx.net>
2661
2662         * lyxfunc.C:
2663         * lyxtext.h:
2664         * tabular.C:
2665         * text.C:
2666         * text2.C:
2667         * text3.C: fix some of the tabular crashes
2668
2669 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2670
2671         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2672
2673         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2674
2675 2003-10-09  André Pönitz  <poenitz@gmx.net>
2676
2677         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2678
2679         * BufferView.C:
2680         * BufferView_pimpl.C:
2681         * bufferview_funcs.C:
2682         * lyx_cb.C:
2683         * lyxcursor.C:
2684         * lyxfind.C:
2685         * lyxfunc.C:
2686         * lyxtext.h:
2687         * text.C:
2688         * text2.C:
2689         * text3.C:
2690         * text_funcs.[Ch]:
2691         * textcursor.[Ch]:
2692         * undo_funcs.C: adjust
2693
2694 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * text2.C (incrementItemDepth): new function, use a backtracking
2697         algorithm to discover the correct item depth.
2698         (resetEnumCounterIfNeeded): new function, use a backtracking
2699         algorithm to discover if counter reset is needed.
2700         (setCounter): use them. Simplify a bit. Add different labels for
2701         different item depths for itemize.
2702
2703         * paragraph.C (Paragraph): remove initialization of enumdepth
2704         (operator=): ditto
2705
2706         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2707         enumerate and itemize. Change the type of itemdepth to signed char.
2708
2709 2003-10-08  André Pönitz  <poenitz@gmx.net>
2710
2711         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2712           thing assignable.
2713         * text.C:
2714         * text2.C: adjust
2715
2716         * tabular.[Ch]: fix crash after 'row-insert'
2717
2718 2003-10-08  Angus Leeming  <leeming@lyx.org>
2719
2720         Fix doxygen warnings.
2721
2722         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2723         Remove CutAndPaste:: prefix from header file declaration.
2724
2725         * LColor.h (fill): remove LColor:: prefix from declaration.
2726
2727         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2728         use lyx::depth_type rather than Paragraph::depth_type so that
2729         header file and .C file match.
2730
2731         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2732
2733         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2734         * aspell.C: \file aspell_local.C -> \file aspell.C
2735         * gettext.C: \file gettext.C -> \file src/gettext.C
2736         * gettext.h: \file gettext.h -> \file src/gettext.h
2737         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2738         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2739         * text.C: \file text.C -> \file src/text.C
2740
2741         * toc.C: move comment so that doxygen is not confused.
2742
2743 2003-10-07  Angus Leeming  <leeming@lyx.org>
2744
2745         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2746
2747 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2748
2749         * aspell.C:
2750         * aspell_local.h: add forgotten std::string's.
2751
2752 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2753
2754         * LaTeXFeatures.C:
2755         * LyXAction.C:
2756         * factory.C:
2757         * lfuns.h:
2758         * lyxfunc.C:
2759         * text3.C: The Box patch. Fancybox support, minipage, parbox
2760
2761 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2762
2763         * CutAndPaste.h:
2764         * DepTable.h:
2765         * FloatList.h:
2766         * LaTeXFeatures.h:
2767         * ParagraphParameters.h:
2768         * TextCache.h:
2769         * Thesaurus.h:
2770         * bufferlist.h:
2771         * exporter.h:
2772         * importer.h:
2773         * lastfiles.h:
2774         * lyxfind.h:
2775         * lyxfont.h:
2776         * lyxlex.h:
2777         * lyxtextclasslist.h:
2778         * messages.h:
2779         * paragraph.h:
2780         * paragraph_pimpl.C:
2781         * textcursor.h: add <string> and other small fixes to make Lars'
2782         std::string patch compile with STLport.
2783
2784 2003-10-06  Angus Leeming  <leeming@lyx.org>
2785
2786         * LColor.h: Add missing #include <string>.
2787
2788 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * All most all file in all subdirs: Make <string> be the prefered
2791         way of getting to std::string, add using declarations.
2792
2793 2003-10-06  André Pönitz  <poenitz@gmx.net>
2794
2795         * metricsinfo.C: initialize LyXFont before changing attribute.
2796         (fixes the 'math in \emph is upright' bug)
2797
2798 2003-10-06  André Pönitz  <poenitz@gmx.net>
2799
2800         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2801
2802 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * graph.C:
2805         * paragraph_pimpl.C: Small fixes to build using STLport
2806
2807 2003-10-02  André Pönitz  <poenitz@gmx.net>
2808
2809         * lyxfunc.C:
2810         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2811
2812 2003-10-01  André Pönitz  <poenitz@gmx.net>
2813
2814         * factory.C: assert early
2815
2816 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * lyx_main.C: remove the global debug object
2819
2820         * debug.h: adjust for new debugstream
2821
2822         * debug.C: adjust for new debugstream and keep the global debug
2823         object here.
2824
2825 2003-09-22  Angus Leeming  <leeming@lyx.org>
2826
2827         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2828         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2829         an incomplete class LyXFont.
2830
2831 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2832
2833         * factory.C: bug fix in branches
2834
2835 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * lyxfunc.C (processKeySym): adjust
2838         (dispatch): adjust
2839         (dispatch): change arg name from ev to func, adjust
2840         (sendDispatchMessage): ditto
2841
2842         * lyx_main.C (defaultKeyBindings): adjust keybindings
2843         (deadKeyBindings): ditto
2844
2845         * kbsequence.C (addkey): return a FuncRequest
2846
2847         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2848
2849         * kbmap.C (bind): take a FuncRequest as arg, adjust
2850         (read): adjust
2851         (lookup): adjust
2852         (defkey): change to take a FuncRequest as arg, adjust
2853         (findbinding): take a FuncRequest as arg, adjust.
2854
2855         * funcrequest.h (operator=): added
2856
2857         * funcrequest.C (FuncRequest): default kb_action changed from
2858         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2859
2860         * buffer.C (dispatch): simplify
2861         (dispatch): adjust to take a FuncRequest as arg, adjust
2862
2863         * boost.C (assertion_failed): change assertion message slightly
2864
2865         * ToolbarBackend.C (read): simplify
2866
2867         * MenuBackend.C (binding): adjust call to findbinding, add a
2868         message if no binding is found.
2869         (read): simplify
2870         (expandToc): correct by adding a empty FuncRequest
2871
2872         * LyXAction.C: include <boost/assert.hpp>
2873         (isPseudoAction): delete function
2874         (LookupFunc): change name to...
2875         (lookupFunc): this. change return type to FuncRequest.
2876         (getActionName): take kb_action as arg, simplify
2877         (funcHasFlag): add an assert, simplify.
2878
2879 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * toc.C (action): return a FuncRequest, simplify
2882
2883         * lyxfunc.C (processKeySym): adjust
2884         (getStatus): delete version that takes an int.
2885         (getStatus): adjust
2886         (dispatch): delete version that takes action as int
2887         (dispatch): adjust
2888         (sendDispatchMessage): simplify and adjust
2889
2890         * funcrequest.C (getArg): take unsigned int as arg
2891
2892         * ToolbarBackend.C (read): adjust
2893         (add): delete version that takes func as a string.
2894         (getIton): take a FuncRequest as arg
2895
2896         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2897         action.
2898
2899         * MenuBackend.C (MenuItem): add a new construct that only takes a
2900         Kind, simplify the constructor use for submenus.
2901         (add): adjust
2902         (expandLastfiles): adjust
2903         (expandDocuments): adjust
2904         (expandFormats): adjust
2905         (expandFloatListInsert): adjust
2906         (expandFloatInsert): adjust
2907         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2908
2909         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2910         Remove class variables lyx_pseudo_map and lyx_arg_map
2911
2912         * LyXAction.C (searchActionArg): delete function
2913         (getPseudoAction): delete function
2914         (retrieveActionArg): delete function
2915         (LookupFunc): make it return kb_action, simplify.
2916         (getActionName): simplify
2917
2918         * factory.C (createInset): fix new bug
2919
2920 2003-09-19  Angus Leeming  <leeming@lyx.org>
2921
2922         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2923         masterFilename_ parameter in the include inset.
2924
2925         * factory.C (createInset): changes due to the changes to InsetInclude.
2926
2927 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2928
2929         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2930
2931 2003-09-18  Angus Leeming  <leeming@lyx.org>
2932
2933         * buffer.C:
2934         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2935         Inset::fillWithBibKeys.
2936         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2937
2938 2003-09-18  Angus Leeming  <leeming@lyx.org>
2939
2940         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2941         variables.
2942         (ctor): pass and store a 'Buffer const &'
2943         (buffer): new member function.
2944
2945         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2946         '*this' to the LaTeXFeatures ctor.
2947
2948 2003-09-18  Angus Leeming  <leeming@lyx.org>
2949
2950         * LColor.h:
2951         * lyxfont.C:
2952         * lyxfont.h:
2953         * lyxtext.h:
2954         * text.C: rename EnumLColor as LColor_color.
2955
2956 2003-09-18  Angus Leeming  <leeming@lyx.org>
2957
2958         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2959         remove #include "insets/insetbase.h" from cursor.h.
2960
2961 2003-09-18  Angus Leeming  <leeming@lyx.org>
2962
2963         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2964         InsetOld_code to remove #include "inset.h".
2965
2966         * iterators.C: add #include "insets/inset.h"
2967
2968 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * BufferView.C: remove more locking stuff that apparently doesn't
2971         do anything sensible.
2972
2973 2003-09-16  André Pönitz  <poenitz@gmx.net>
2974
2975         * paragraph.[Ch]:
2976         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2977           performance boost.
2978
2979 2003-09-16  Angus Leeming  <leeming@lyx.org>
2980
2981         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2982
2983         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2984         arg/return type.
2985
2986         * paragraph.h: remove #include "lyxfont.h". Forward declare
2987         LyXFont_size.
2988
2989 2003-09-16  Angus Leeming  <leeming@lyx.org>
2990
2991         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2992         of support/textutils.h.
2993         (isWord): move the contents of support/textutils.h's IsWordChar here.
2994
2995         * buffer.C:
2996         * lyxfind.C:
2997         * rowpainter.C:
2998         * text.C:
2999         * text2.C: add #include "paragraph.h".
3000
3001         * rowpainter.C:
3002         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3003
3004 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3005
3006         * main.C:
3007         * lyx_main.C:
3008         * lyx_cb.C:
3009         * buffer.C:
3010         * LaTeX.C: use namespace alias for lyx::support::os
3011
3012 2003-09-16  Angus Leeming  <leeming@lyx.org>
3013
3014         * bufferparams.C:
3015         * bufferview_funcs.C:
3016         * factory.C:
3017         * lyxfunc.C:
3018         * paragraph_pimpl.C:
3019         * rowpainter.C:
3020         * text.C: add #include "LColor.h".
3021
3022 2003-09-16  Angus Leeming  <leeming@lyx.org>
3023
3024         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3025         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3026         return LyXFont &.
3027         Store the FontBits::color variable as an int rather than as an
3028         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3029         file.
3030
3031         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3032         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3033         string calls together.
3034
3035         * lyxrc.C: add #include "LColor.h".
3036
3037 2003-09-15  Angus Leeming  <leeming@lyx.org>
3038
3039         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3040         a cow_ptr.
3041
3042 2003-09-15  Angus Leeming  <leeming@lyx.org>
3043
3044         * LColor.h: add an EnumLColor wrapper for LColor::color.
3045
3046         * lyxfont.[Ch] (color, setColor, realColor):
3047         * lyxtext.h, text.C (backgroundColor):
3048         pass EnumLColor args to/from the functions, rather than LColor::color
3049         ones.
3050
3051         * lyxfont.h:
3052         * lyxtext.h: forward declare EnumLColor.
3053
3054         * lyx_main.C: add #include "LColor.h".
3055
3056 2003-09-15  Angus Leeming  <leeming@lyx.org>
3057
3058         * .cvsignore: add lyx-gtk.
3059
3060 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * Chktex.C
3063         * LaTeX.C
3064         * LaTeXFeatures.C
3065         * ParagraphParameters.C
3066         * Spacing.C
3067         * buffer.C
3068         * bufferparams.C
3069         * bufferview_funcs.C
3070         * chset.C
3071         * counters.C
3072         * funcrequest.C
3073         * lyxfont.C
3074         * lyxgluelength.C
3075         * lyxlength.C
3076         * paragraph.C
3077         * paragraph_funcs.C
3078         * text3.C
3079         * vc-backend.C: remove usage of STRCONV
3080
3081 2003-09-15  Angus Leeming  <leeming@lyx.org>
3082
3083         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3084         explicitly define the color passed to the painter.
3085
3086 2003-09-15  Angus Leeming  <leeming@lyx.org>
3087
3088         * bufferparams.C (BufferParams): reorder member initializers to avoid
3089         compiler warning.
3090
3091 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3092
3093         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3094         * text.C (updateRowPositions): remove an unusual nop
3095
3096 2003-09-12  André Pönitz  <poenitz@gmx.net>
3097
3098         * BufferView_pimpl.C:
3099         * Bullet.C:
3100         * layout.h:
3101         * lyxfunc.C:
3102         * lyxlayout.[Ch]:
3103         * lyxtextclass.C:
3104         * rowpainter.C:
3105         * text.C:
3106         * text2.C:
3107         * Counters.[Ch]: finish the 'automatic counters' job
3108
3109 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3110
3111         * aspell.C: include <boost/assert.cpp> (compile fix)
3112
3113 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3114
3115         * boost.C (assertion_failed): use lyx::support::abort instead of
3116         assert.
3117
3118 2003-09-10  Angus Leeming  <leeming@lyx.org>
3119
3120         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3121         with their _fwd progeny.
3122
3123 2003-09-09  Angus Leeming  <leeming@lyx.org>
3124
3125         134 files throughtout the source tree: replace 'using namespace abc;'
3126         directives with the appropriate 'using abc::xyz;' declarations.
3127
3128 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3129
3130         * boost.C (emergencyCleanup): moved here from LAssert.c
3131         (assertion_failed): new function, called by BOOST_ASSERT
3132
3133         * several files: change Assert to BOOST_ASSERT
3134
3135 2003-09-09  Angus Leeming  <leeming@lyx.org>
3136
3137         * buffer.[Ch]: Add an Impl class and move Buffer's member
3138         variables into it. As a result move several header files out of
3139         buffer.h.
3140
3141         Add header files to lots of .C files all over the tree as a result.
3142
3143 2003-09-09  Angus Leeming  <leeming@lyx.org>
3144
3145         * buffer.[Ch]: make Buffer's member variables private. Add
3146         accessor functions.
3147
3148         Lots of changes all over the tree as a result.
3149
3150 2003-09-08  Angus Leeming  <leeming@lyx.org>
3151
3152         * graph.C: #include <config.h>.
3153
3154 2003-09-08  Angus Leeming  <leeming@lyx.org>
3155
3156         * BranchList.C:
3157         * BufferView.C:
3158         * BufferView_pimpl.C:
3159         * CutAndPaste.C:
3160         * DepTable.C:
3161         * LaTeX.C:
3162         * LaTeXFeatures.C:
3163         * LyXAction.C:
3164         * MenuBackend.C:
3165         * TextCache.C:
3166         * aspell.C:
3167         * buffer.C:
3168         * bufferlist.C:
3169         * changes.C:
3170         * chset.C:
3171         * converter.C:
3172         * counters.C:
3173         * debug.C:
3174         * graph.C:
3175         * ispell.C:
3176         * lyx_cb.C:
3177         * lyxfind.C:
3178         * lyxfunc.C:
3179         * lyxlex_pimpl.C:
3180         * lyxrc.C:
3181         * lyxrow.C:
3182         * paragraph.C:
3183         * rowpainter.C:
3184         * texrow.C:
3185         * text.C:
3186         * text2.C:
3187         * toc.C: remove redundant using directives.
3188
3189 2003-09-07  Angus Leeming  <leeming@lyx.org>
3190
3191         * LaTeXFeatures.h: remove #include "support/types.h".
3192         * ToolbarBackend.h: remove #include <algorithm>.
3193         * changes.h: remove #include <ctime>.
3194         * debug.h: remove #include <iosfwd>.
3195         * graph.h: remove #include "support/std_string.h".
3196         * lyx_main.h: remove #include <csignal>.
3197         * lyxlex_pimpl.h: remove #include <fstream>.
3198         * sgml.h: remove #include <algorithm>, <utility>.
3199         * toc.h: remove #include "support/std_ostream.h".
3200         Add #include <iosfwd>.
3201
3202 2003-09-07  Angus Leeming  <leeming@lyx.org>
3203
3204         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3205
3206         * converter.h: forward declare LatexRunParams.
3207         * encoding.h: remove #include "lyxrc.h".
3208         * lyxtext.h: remove #include "LColor.h".
3209         * lyxtextclass.h: remove #include "support/types.h".
3210         * trans.h: remove #include "tex-accent.h".
3211         * trans_mgr.h: remove #include "tex-accent.h".
3212         * insets/inset.h: remove #include "support/types.h", <vector>.
3213         * insets/insetcollapsable.h: remove #include "LColor.h".
3214         * insets/insetinclude.h: remove #include "dimension.h".
3215         * insets/insetlatexaccent.h: remove #include "dimension.h".
3216         * insets/insetoptarg.h:: remove #include "insettext.h".
3217         * insets/insettext.h: remove #include "dimension.h",
3218         <boost/shared_ptr.hpp>
3219
3220         * insets/renderers.h: add #include "dimension.h".
3221         * insets/updatableinset.h: add #include "support/types.h".
3222
3223         * many .C files: Associated changes.
3224
3225 2003-09-06  Angus Leeming  <leeming@lyx.org>
3226
3227         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3228         one, inside testInvariant.
3229
3230         * PrinterParams.C: new file.
3231         * PrinterParams.[Ch]: move the function bodies out of line.
3232
3233 2003-09-06  Angus Leeming  <leeming@lyx.org>
3234
3235         * ParagraphParameters.h: forward declare ParameterStruct rather than
3236         including its header file.
3237         (depth): moved out-of-line.
3238
3239 2003-09-06  Angus Leeming  <leeming@lyx.org>
3240
3241         * BufferView_pimpl.h:
3242         * kbmap.h:
3243         * kbsequence.h:
3244         * lyxfunc.h: forward declare LyXKeySym rather than
3245         #include "frontends/LyXKeySym.h".
3246
3247         * BufferView_pimpl.C:
3248         * kbmap.C:
3249         * kbsequence.C:
3250         * lyxfunc.C: associated changes.
3251
3252 2003-09-06  Angus Leeming  <leeming@lyx.org>
3253
3254         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3255         As a result, can remove the #include "insets/inset.h" from BufferView.h
3256
3257 2003-09-06  Angus Leeming  <leeming@lyx.org>
3258
3259         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3260         As a result, can remove the #include "insets/inset.h" from BufferView.h
3261
3262 2003-09-06  Angus Leeming  <leeming@lyx.org>
3263
3264         * buffer_funcs.C:
3265         * buffer.h:
3266         * bufferlist.C:
3267         * BufferView.C:
3268         * bufferview_funcs.C:
3269         * BufferView_pimpl.C:
3270         * CutAndPaste.C:
3271         * lyx_cb.C:
3272         * lyxfunc.C:
3273         * paragraph.h:
3274         * ParagraphParameters.C:
3275         * tabular.C:
3276         * text3.C:
3277         * toc.C:
3278         * undo_funcs.C:
3279         * frontends/controllers/ControlDocument.C:
3280         * insets/insetcaption.C: rearrange the #includes into some sort of
3281         coherent order.
3282
3283         * buffer.h: remove #includes ErrorList.h, undo.h
3284
3285 2003-09-06  Angus Leeming  <leeming@lyx.org>
3286
3287         * support/types.h: add a 'depth_type' typedef, used to store the
3288         nesting depth of a paragraph.
3289
3290         * paragraph.h:
3291         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3292         defining explicitly.
3293
3294         * buffer.h:
3295         * paragraph_funcs.h:
3296         * ParagraphParameters.h:
3297         * sgml.h: use lyx::depth_type rather than Paragraph or
3298         ParameterStruct's depth_type.
3299
3300         * buffer.h
3301         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3302
3303         * BufferView.C:
3304         * BufferView_pimpl.C:
3305         * CutAndPaste.C:
3306         * ParagraphParameters.C:
3307         * buffer_funcs.C:
3308         * bufferlist.C:
3309         * bufferview_funcs.C:
3310         * lyx_cb.C:
3311         * lyxfunc.C:
3312         * tabular.C:
3313         * text3.C:
3314         * toc.C:
3315         * undo_funcs.C:
3316         * frontends/LyXView.C:
3317         * frontends/controllers/ControlDocument.C:
3318         * frontends/controllers/ControlErrorList.C:
3319         * insets/insetbibitem.C:
3320         * insets/insetbranch.C:
3321         * insets/insetcaption.C:
3322         * insets/insetcollapsable.C:
3323         * insets/insetenv.C:
3324         * insets/insetert.C:
3325         * insets/insetfloat.C:
3326         * insets/insetfoot.C:
3327         * insets/insetfootlike.C:
3328         * insets/insetnewline.C:
3329         * insets/insetquotes.C:
3330         * insets/insettabular.C:
3331         * insets/insettext.C:
3332         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3333
3334         * frontends/controllers/ControlChanges.C: #include "changes.h".
3335
3336 2003-09-06  Angus Leeming  <leeming@lyx.org>
3337
3338         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3339         than #including paragraph.h.
3340
3341         * ParagraphList.h:
3342         * RowList.h: deleted. Superfluous.
3343
3344         * CutAndPaste.h:
3345         * iterators.h:
3346         * lyxcursor.h:
3347         * lyxtext.h:
3348         * text_funcs.h:
3349         * undo.h:
3350         * undo_funcs.h:
3351         * insets/inset.h:
3352         * insets/insettext.h: use ParagraphList_fwd.h rather than
3353         ParagraphList.h.
3354
3355         * paragraph.h: don't forward declare ParagraphList.
3356
3357         * buffer.h:
3358         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3359         rather than ParagraphList.h. paragraph.h is still needed for the
3360         Paragraph::depth_type parameters.
3361
3362         * textcursor.h: enable it to compile stand-alone in light of the
3363         above changes.
3364
3365         * bufferview_funcs.C:
3366         * iterators.C:
3367         * lyxfunc.C:
3368         * lyxrow_funcs.C:
3369         * paragraph.C:
3370         * rowpainter.C:
3371         * text.C:
3372         * text2.C:
3373         * text3.C:
3374         * text_funcs.C:
3375         * textcursor.C:
3376         * undo.C:
3377         * frontends/controllers/ControlParagraph.C:
3378         * frontends/controllers/ControlTabular.C:
3379         * insets/insetmarginal.C:
3380         * insets/insetminipage.C:
3381         * insets/insetnote.C:
3382         * insets/insetoptarg.C: add header files needed to compile again.
3383
3384 2003-09-06  Angus Leeming  <leeming@lyx.org>
3385
3386         * RowList_fwd.h: new file, forward-declaring Row rather than
3387         #including lyxrow.h.
3388
3389         * lyxrow_funcs.h:
3390         * lyxtext.h:
3391         * paragraph.h:
3392         * insets/insettext.h: use it instead of RowList.h
3393
3394         * bufferview_funcs.C:
3395         * lyxfunc.C:
3396         * lyxrow_funcs.C:
3397         * paragraph.C:
3398         * rowpainter.C:
3399         * text.C:
3400         * text2.C:
3401         * text3.C: #include "RowList.h".
3402
3403 2003-09-05  Angus Leeming  <leeming@lyx.org>
3404
3405         * factory.C (createInset):
3406         * vspace.C (c-tor): replace sscanf call with an istringstream.
3407         * ispell.C: re-add missing HP/UX headers.
3408         * lyxserver.C: re-add missing  os2 headers.
3409
3410 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3411
3412         * BranchList.C:
3413         * graph.C:
3414         * ispell.C:
3415         * lastfiles.C:
3416         * lyx_cb.C:
3417         * lyxserver.C:
3418         * texrow.C:
3419         * text3.C: re-add missing system headers, needed for 2.95.2.
3420
3421 2003-09-05  Angus Leeming  <leeming@lyx.org>
3422
3423         Changes most place everywhere due to the removal of using directives
3424         from support/std_sstream.h.
3425
3426 2003-09-05  Angus Leeming  <leeming@lyx.org>
3427
3428         Replace LString.h with support/std_string.h,
3429         Lsstream.h with support/std_sstream.h,
3430         support/LIstream.h with support/std_istream.h,
3431         support/LOstream.h with support/std_ostream.h.
3432
3433         Changes resulting throughout the tree.
3434
3435 2003-09-05  Angus Leeming  <leeming@lyx.org>
3436
3437         * sgml.h: ensure that the header file can be compiled stand-alone.
3438         * *.C: strip out redundant #includes. (320 in total.)
3439
3440 2003-09-04  Angus Leeming  <leeming@lyx.org>
3441
3442         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3443         here (from getPackages).
3444
3445         * debug.[Ch]: add a new EXTERNAL tag.
3446
3447 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3448
3449         * text2.C (cursorEnd): simplify
3450         (setCursor): adjust
3451         (getColumnNearX): adjust
3452
3453         * text.C (computeBidiTables): adjust
3454         (fill): adjust
3455
3456         * rowpainter.C (paintChars): adjust
3457         (paintSelection): adjust
3458         (paintChangeBar): adjust
3459         (paintText): adjust
3460
3461         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3462         lastPos instead.
3463         (numberOfSeparators): adjust
3464
3465 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3466
3467         * LyXAction.C:
3468         * box.[Ch]:
3469         * lfuns.h:
3470         * lyxfunc.C:
3471         * text3.C: Restricts the mouse click functionality
3472         of insets like bibtex, include, toc and floatlist to the visible
3473         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3474         up the dialogs. Cursor has to be in front of the inset (i.e.
3475         start of row) for this to function.
3476
3477 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3478
3479         * bufferview_funcs.C (currentState): output row information
3480
3481 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3482
3483         * bufferview_funcs.C (currentState): output paragraph position
3484
3485 2003-09-04  Angus Leeming  <leeming@lyx.org>
3486
3487         * FloatList.h: move out #include "Floating.h".
3488         * LaTeX.h: move out #include "DepTable.h".
3489         * LyXAction.h: move out #include "funcrequest.h".
3490         * buffer.h: move out #include "author.h", "iterators.h".
3491         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3492         * lyx_main.h: move out #include "errorlist.h".
3493         * lyxfunc.h: move out #include "FuncStatus.h".
3494         * lyxtext: move out #include "lyxcursor.h".
3495         * paragraph_pimpl.h: move out #include "counters.h".
3496
3497 2003-09-03  Angus Leeming  <leeming@lyx.org>
3498
3499         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3500         preamble_snippets list, enabling us to add snippets to the preamble
3501         only if the snippet was not there already.
3502
3503 2003-09-04  Angus Leeming  <leeming@lyx.org>
3504
3505         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3506
3507 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3510         update
3511
3512 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * BranchList.C: point fix, earlier forgotten
3515
3516 2003-09-02  Angus Leeming  <leeming@lyx.org>
3517
3518         * box.C (contains): renamed from 'contained' after a fantastic
3519         amount of hot air.
3520
3521 2003-09-02  John Levon  <levon@movementarian.org>
3522
3523         * BufferView.C:
3524         * lyxcursor.h:
3525         * lyxcursor.C:
3526         * lyxfunc.C:
3527         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3528
3529 2003-09-02  John Levon  <levon@movementarian.org>
3530
3531         * text2.C: simplification of cursorEnd(), including partial
3532         fix for bug 1376
3533
3534 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * buffer.C (readFile): add a space
3537
3538 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3541
3542 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3543
3544         * buffer.C (readFile): new function, take a filename and a
3545         ParagraphList::iterator
3546         (readFile): adjust
3547         (readFile): adjust, make it private. don't use setStream, make
3548         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3549         always contain the filename.
3550
3551         * BufferView.C (insertLyXFile): simplify and make it work for
3552         gzipped files.
3553
3554 2003-08-30  John Levon  <levon@movementarian.org>
3555
3556         * Makefile.am: fix dist (from Kayvan)
3557
3558 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * most files: change to use const Buffer refs
3561
3562 2003-08-27  André Pönitz  <poenitz@gmx.net>
3563
3564         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3565         on top of ownerPar().
3566
3567 2003-08-27  John Levon  <levon@movementarian.org>
3568
3569         * funcrequest.C: properly initialise POD members
3570
3571 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3572
3573         * lyxtext.h (top_y): move top_y from here
3574         * text.C:
3575         * text2.C:
3576         * text3.C:
3577         * BufferView.[Ch]:
3578         * BufferView_pimpl.[Ch]: to here
3579         * frontends/screen.C:
3580         * insets/insettabular.C:
3581         * insets/insettext.C: adjust
3582         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3583
3584 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * BufferView.[Ch]:
3587         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3588
3589 2003-08-26  André Pönitz  <poenitz@gmx.net>
3590
3591         * paragraph_func.[Ch] (outerPar): new function
3592
3593         * paragraph.C:
3594         * paragraph_funcs.C:
3595         * paragraph_funcs.h:
3596         * paragraph_pimpl.C:
3597         * text2.C: remove Inset::par_owner
3598
3599 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3600
3601         * lyxrow_funcs.C:
3602         * lyxtext.h:
3603         * text.C:
3604         * text2.C: eliminates the needFullRow/display() stuff
3605         altogether, putting the logic in metrics/draw in the insets.
3606
3607 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * text2.C (redoParagraphInternal, redoParagraphs):
3610         * text.C (redoParagraph): add a call to updateRowPositions at the
3611         end of each 'metrics-like' call. Remove all others.
3612         (getRow): remove the 'y-computing' version.
3613         (getRowNearY): do not compute nor return the real y. Solve the
3614         'y < 0' problem and simplify.
3615
3616 2003-08-22  Angus Leeming  <leeming@lyx.org>
3617
3618         * *.[Ch]: clean-up of licence and author blurbs.
3619         Also move config.h out of a few .h files and into a few .C files.
3620
3621 2003-08-22  André Pönitz  <poenitz@gmx.net>
3622
3623         * lyxrow.[Ch]: add x_ and *fill_ members
3624
3625         * lyxtext.h:
3626         * text.C:
3627         * rowpainter.C:
3628         * text2.C: adjust/remove prepareToPrint() calls
3629
3630 2003-08-22  André Pönitz  <poenitz@gmx.net>
3631
3632         * lyxrow.[Ch]: add  end_ member
3633
3634         * lyxrow_funcs.C: use LyXRow::end_
3635
3636         * lyxtext.h (singleWidth): add LyXFont parameter
3637
3638         * rowpainter.C:
3639         * text2.C: adjust LyXText::singleWidth() calls
3640
3641         * text.C (redoParagraph): simplify row breaking logic
3642
3643
3644 2003-08-19  André Pönitz  <poenitz@gmx.net>
3645
3646         * funcrequest.C: initialize button_ member
3647
3648         * text3.C:
3649         * rowpainter.[Ch]: interface consolidation
3650
3651 2003-08-18  André Pönitz  <poenitz@gmx.net>
3652
3653         * BufferView.C:
3654         * BufferView_pimpl.C:
3655         * lyxfind.C:
3656         * paragraph_funcs.C:
3657         * rowpainter.C:
3658         * text3.C: remove LyXScreen::draw() and fitCursor calls
3659
3660         * BranchList.h: remove spurious semicolons
3661
3662         * MenuBackend.C: fix branchlist related crash
3663
3664 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3665
3666         * BranchList.[Ch]:
3667         * InsetList.[Ch]:
3668         * LColor.[Ch]:
3669         * LyXAction.C:
3670         * Makefile.am:
3671         * MenuBackend.[Ch]:
3672         * bufferparams.[Ch]:
3673         * factory.C:
3674         * lfuns.h:
3675         * lyxfunc.C:
3676         * text3.C: implements the 'branch inset'
3677         idea. This allows the output of various versions of a document
3678         from a single source version, selectively outputing or suppressing
3679         output of parts of the text.
3680         This implementation contains a 'branch list editor' in a separate
3681         tab of the document settings dialog. Branches are user definable
3682         and have a "display colour" to distinguish them on-screen.
3683
3684         ColorHandler was somewhat cleaned up.
3685         (1) make possible a dynamically growing LColor list by allowing
3686         the graphic context cache to grow along (vector);
3687         (2) eliminate an IMHO unnecessary step in colour allocation.
3688
3689 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3690
3691         * BufferView_pimpl.C: compile fix
3692
3693 2003-08-15  André Pönitz  <poenitz@gmx.net>
3694
3695         * rowpainter.C: remove extra metrics calls
3696
3697         * lyxtext.h: merge the two constructors into a single one,
3698           pass reference to owner's par list
3699
3700         * BufferView_pimpl.C:
3701         * text.C:
3702         * text2.C: adjust
3703
3704 2003-08-15  André Pönitz  <poenitz@gmx.net>
3705
3706         * lyxrow_funcs.[Ch]:
3707         * lyxtext.h:
3708         * paragraph.h:
3709         * paragraph_funcs.C:
3710         * rowpainter.C:
3711         * text.C:
3712         * text2.C:
3713         * text3.C:
3714         * text_funcs.C: split LyXText::rowlist_ into individual
3715         Paragraph::rows_ chunks
3716
3717         * BufferView.[Ch]:
3718         * BufferView_pimpl.[Ch]:
3719         * lyxfind.C:
3720         * lyxtext.h:
3721         * text3.C: remove toggleSelection()
3722
3723 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3724
3725         * bufferlist.C: beautify two alerts (shorter text of buttons)
3726         * buffer.C: Remove redundant ' ' from message
3727         * tabular.h:
3728         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3729         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3730         rename VALIGN_CENTER to VALIGN_MIDDLE
3731
3732 2003-08-11  André Pönitz  <poenitz@gmx.net>
3733
3734         * lyxtext.h (getPar):
3735         * text.C: new function
3736
3737 2003-08-11  André Pönitz  <poenitz@gmx.net>
3738
3739         * Makefile.am:
3740         * tracer.[Ch]: remove unneeded files
3741
3742         * InsetList.[Ch]: remove resizeInsetsLyXText()
3743
3744         * lyxtext.h:
3745         * text.C:
3746         * text2.C:
3747         * text3.C: merge insertParagraphs() and appendParagraph()
3748         remove breakAgain(), update()
3749
3750         * BufferView_pimpl.[Ch]:
3751         * bufferview_funcs.[Ch]:
3752         * lyxfunc.C:
3753         * paragraph.[Ch]:
3754         * rowpainter.C:
3755         * tabular.C: adjust after text & InsetList changes.
3756
3757 2003-08-08  André Pönitz  <poenitz@gmx.net>
3758
3759         * text.C (insertChar, backspace): replace rowlist fiddling
3760         with rebreak of full par
3761
3762         * lyxtext.h:
3763         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3764         checkParagraph, updateInset): removed
3765
3766 2003-08-07  André Pönitz  <poenitz@gmx.net>
3767
3768         * paragraph.C:
3769         * text3.C: merge some LFUN handlers, remove dead code
3770
3771 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3772
3773         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3774
3775 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * text2.C (DEPM): fix part of bug 1255 and 1256
3778
3779 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3780
3781         * BufferView_pimpl.C (workAreaDispatch): change to use
3782         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3783         that are no mouse related.
3784
3785 2003-08-05  André Pönitz  <poenitz@gmx.net>
3786
3787         * BufferView.[Ch]:
3788         * BufferView_pimpl.[Ch]:
3789         * bufferview_funcs.C:
3790         * text2.C:
3791         * text3.C: rip out "deep update"
3792
3793         * textcursor.[Ch] (last_sel_cursor): remove unused member
3794
3795 2003-08-04  André Pönitz  <poenitz@gmx.net>
3796
3797         * BufferView.[Ch]:
3798         * BufferView_pimpl.[Ch]:
3799         * ParagraphParameters.C:
3800         * bufferview_funcs.C:
3801         * lyx_cb.C:
3802         * lyxfind.C:
3803         * lyxfunc.C:
3804         * text.C:
3805         * text2.C:
3806         * text3.C: replace "complicated" BufferView::update(...) calls with
3807         simpler ones.
3808
3809         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3810
3811 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3812
3813         * Makefile.am (lyx_SOURCES): add paper.h
3814
3815 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3816
3817         * Makefile.am: move things around so that both lyx-qt and
3818         lyx-xforms can be built (according to --with-frontend). Then lyx
3819         is a symbolic link to lyx-[firstfrontend]
3820
3821 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3822
3823         * Always use std::endl with lyxerr
3824
3825 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3826
3827         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3828
3829 2003-08-01  André Pönitz  <poenitz@gmx.net>
3830
3831         * BufferView.[Ch]:
3832         * BufferView_pimpl.[Ch]:
3833         * lyxfunc.C:
3834         * text3.C: merge BufferView::repaint() and BufferView::update()
3835
3836 2003-08-01  José Matos  <jamatos@lyx.org>
3837
3838         * buffer.[Ch]: file_format is no longer a buffer data element.
3839
3840 2003-08-01  André Pönitz  <poenitz@gmx.net>
3841
3842         * BufferView.C:
3843         * lyxtext.h:
3844         * text.C:
3845         * text2.C: make redoParagraph more independent of current cursor
3846
3847         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3848         * text.C:
3849         * text2.C: remove unneeded members
3850
3851 2003-07-30  André Pönitz  <poenitz@gmx.net>
3852
3853         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3854
3855         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3856           create a single function...
3857
3858         * paragraph_funcs.C (moveItem): ... here.
3859
3860         * text.C:
3861           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3862
3863 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3864
3865         * LColor.[Ch]: Add comment and greyedout logical colors.
3866
3867 2003-07-30  André Pönitz  <poenitz@gmx.net>
3868
3869         * tabular.C: don't use Assert too heavily. This crashes where it
3870           shouldn't
3871
3872 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3875         is disabled (bug 1232)
3876
3877 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * factory.C: limited 'arg' scope
3880
3881 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * factory.C: fixed Note submenu issues
3884
3885 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3886
3887         * factory.C: submenu for Note/Comment/Greyedout
3888
3889 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * lyx_main.C (LyX):
3892         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3893
3894 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * LaTeXFeatures.C:
3897         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3898         greyedout. Patch provided by Jürgen Spitzmüller.
3899
3900 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3901
3902         * kbmap.C (read): fix error message when reading bind files
3903
3904 2003-07-29  Angus Leeming  <leeming@lyx.org>
3905
3906         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3907         certainly does not do what it purports to do. I am doing it, and
3908         us, a favour by killing it.
3909
3910 2003-07-28  José Matos  <jamatos@lyx.org>
3911
3912         * buffer.C (readBody, do_writeFile):
3913         * paragraph.C(readParagraph): \end_document replaces \the_end.
3914
3915 2003-07-29  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView.[Ch]:
3918         * BufferView_pimpl.[Ch]:
3919         * lyxfunc.C:
3920         * text2.C:
3921         * text3.C:
3922         * textcursor.[Ch]: remove toggleToggle & Co
3923
3924 2003-07-28  José Matos  <jamatos@fep.up.pt>
3925
3926         * buffer.C (readParagraph):
3927         * params_func (readParToken, readParagraph):
3928         * paragraph.C (write): \layout -> \begin_layout.
3929
3930 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * lyxlex_pimpl.C (setFile): clean up slightly.
3933
3934         * bufferparams.h: add compressed var
3935
3936         * buffer_funcs.C (readFile): adjust for LyXLex change
3937         (newFile): ditto + simplify
3938
3939         * buffer.C (writeFile): handle writing of compressed files
3940
3941         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3942         Check if the file is compressed and set a bufferparm if so.
3943
3944         * Makefile.am (lyx_LDADD): remove explicit -lz
3945
3946 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3947
3948         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3949         makeDocBookFile): put the real LyX version in the first line of
3950         the file
3951
3952         * version.h:
3953         * version.C.in: remove lyx_docversion
3954
3955         * tabular.C (write_attribute): add a template-based version to
3956         write enums properly
3957
3958 2003-07-28  André Pönitz  <poenitz@gmx.net>
3959
3960         * lyxtext.h:
3961         * text.C:
3962         * text2.C:
3963         * text3.C: use doubles again for x-coordinates. They are needed.
3964
3965 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * messages.C (getLocaleDir): use lyx_localedir()
3968
3969         * lyxlex_pimpl.C (setFile): compress stuff
3970
3971         * buffer.C (writeFile): add some compression stuff
3972         (do_writeFile): new func, dont call expliti close... will this
3973         breake anything?
3974
3975         * Makefile.am (lyx_LDADD): add -lz
3976
3977 2003-07-28  José Matos  <jamatos@fep.up.pt>
3978
3979         * buffer.C: increment file format.
3980         * paragraph_funcs (readParagraph, readParToken):
3981         * paragraph.C (readParagraph): add \end_layout.
3982
3983 2003-07-27  Angus Leeming  <leeming@lyx.org>
3984
3985         * Makefile.am: remove special casing for configure-time setting of
3986         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3987
3988         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3989         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3990
3991 2003-07-26  André Pönitz  <poenitz@gmx.net>
3992
3993         * paragraph_func.[Ch]:
3994         * paragraph.C (realizeFont): inline it whereever it is used
3995
3996         * rowpainter.C:
3997         * text.C:
3998         * text2.C:
3999         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4000
4001
4002 2003-07-26  André Pönitz  <poenitz@gmx.net>
4003
4004         *       lyxtext.h:
4005         * text.C:
4006         * text2.C: get rid of LyXText::need_break_row
4007
4008 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * toc.[Ch]: put namespace toc inside namespace lyx
4011
4012         * MenuBackend.C (expandToc2): adjust for lyx::toc
4013         (expandToc): ditto
4014
4015         * lyxfunc.C (dispatch): adjust for lyx::find
4016
4017         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4018         lyx::find instead. Reorganize a bit.
4019         (LyXReplace): rename to replace
4020         (LyXFind): rename to find
4021
4022         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4023         (dispatch): ditto
4024
4025 2003-07-26  André Pönitz  <poenitz@gmx.net>
4026
4027         * text.C (setHeightOfRow): restrict scope of temporary variable
4028
4029         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4030           code (never has been used?)
4031
4032 2003-07-27  Asger Alstrup  <alstrup@local>
4033
4034         * text.C (fill): Optimise algorithm to exploit that we can reuse
4035         the LyXFont for many characters.
4036         (setHeightOfRow): Same thing.
4037         (rowBreakPoint): Same thing.
4038
4039 2003-07-26  Asger Alstrup  <alstrup@local>
4040
4041         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4042
4043         * text.C (singleWidth): Spurious font copying in hot-spot
4044         singleWidth avoided. Reorder tests for arabic for efficiency.
4045
4046         * text.C (fill): handle empty paragraphs better.
4047
4048 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4049
4050         * ispell.C:
4051         * encoding.h: add includes
4052
4053         * lyxrc.C: remove reading of bind files
4054
4055         * lyx_main.C (init): setup bindings and menus only if we have a
4056         gui.
4057
4058         * kbmap.C (read): new method. Do the actual reading of bind
4059         files.
4060
4061         * converter.C (dvipdfm_options):
4062         * bufferparams.C:
4063         * lyxrc.C (read):
4064         (output): adapt PAPER_* enums.
4065
4066         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4067
4068         * bufferparams.h: remove paper-related enums from there
4069
4070         * paper.h: New file. A trivial header file to hold paper-related
4071         enums. It should later expand to contain many paper-related
4072         horrors access.
4073
4074         * lyxrc.C: declare extern displayTranslator
4075
4076 2003-07-27  José Matos  <jamatos@fep.up.pt>
4077
4078         * tabular.[Ch] (linuxdoc): add support for tables and figures
4079         (linuxdoc).
4080
4081 2003-07-27  José Matos  <jamatos@fep.up.pt>
4082
4083         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4084         consistency in both functions.
4085         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4086
4087 2003-07-26  Asger Alstrup  <alstrup@local>
4088
4089         * rowpainter.C (paintRows): Change algorithm to work directly on
4090         the insets rather than asking every character in the document
4091         whether its an inset.
4092
4093 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4094
4095         * buffer.C (openFileWrite): factorize some code
4096
4097 2003-07-26  Angus Leeming  <leeming@lyx.org>
4098
4099         * lyx_cb.C:
4100         * lyx_main.[Ch]: replace occurances of system_tempdir with
4101         os::getTmpDir().
4102
4103 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * rename Inset to InsetOld
4106
4107 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4108
4109         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4110         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4111         which I think is a bit clearer. EDIT is gone, since it was
4112         premature optimisation, and broken for mathed anyway.
4113         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4114         with cursor positioning in insets as well (math insets still do not
4115         work, but that's a different story anyway.) It mysteriously
4116         crashes sometimes with undo in the first paragraph, but I'm fairly
4117         confident that this is a compiler bug.
4118
4119 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * paragraph.C (Paragraph): adjust for new clone return type
4122         (operator==): ditto
4123         (copyIntoMinibuffer): ditto
4124
4125 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4126
4127         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4128         by not having a special case, and always doing a full rebreak of
4129         the document after undo.
4130
4131 2003-07-23  Angus Leeming  <leeming@lyx.org>
4132
4133         * factory.C (createInset): InsetExternal::setParams now takes a
4134         Buffer const * arg.
4135
4136 2003-07-23  Angus Leeming  <leeming@lyx.org>
4137
4138         * factory.C (createInset): changed interface to the external and
4139         graphics mailers' string2params functions.
4140
4141 2003-07-23  Angus Leeming  <leeming@lyx.org>
4142
4143         * factory.C (createInset): pass a
4144         Buffer const * parameter to InsetExternalMailer's string2params.
4145
4146 2003-07-22  John Levon  <levon@movementarian.org>
4147
4148         * Thesaurus.h: include the right aiksaurus header
4149
4150 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4151
4152         * MenuBackend.C (expand): check menu shortcuts unconditionally
4153
4154 2003-07-21  Angus Leeming  <leeming@lyx.org>
4155
4156         * factory.C (createInset): pass a
4157         buffer_path parameter to InsetGraphicsMailer's string2params.
4158
4159 2003-07-21  Angus Leeming  <leeming@lyx.org>
4160
4161         * BufferView_pimpl.C (buffer):
4162         * buffer.C (d-tor):
4163         * lyx_main.C (LyX):
4164         * lyxfunc.C (dispatch):
4165         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4166         rather than the grfx shortcut.
4167
4168 2003-07-21  André Pönitz  <poenitz@gmx.net>
4169
4170         * rowpainter.C: remove unused variables
4171
4172         * tabular_funcs.C:
4173         * tabular_funcs.h: move to tabular.C
4174         * Makefile.am: adjust
4175
4176         * tabular.[Ch]: basic optical cleaning
4177
4178         * author.h: pass references, not values
4179
4180 2003-07-18  André Pönitz  <poenitz@gmx.net>
4181
4182         * lyxtext.h:
4183         * metricsinfo.C:
4184         * metricsinfo.h:
4185         * rowpainter.C:
4186         * text.C:
4187         * text2.C:
4188         * text3.C: two-phase drawing for InsetText and InsetTabular
4189         some float -> int changes.
4190
4191 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * lyx_main.C: fix the fix
4194
4195 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * lyx_main.C: fix a crash in batch mode if no files specified
4198         * converter.C: ws
4199
4200 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * format.[Ch] (papersize): moved to BufferParams
4203         * converter.[Ch] (dvips_options): moved to BufferParams
4204         (dvipdfm_options): moved to anon namespace
4205         * bufferparams.[Ch]: added above functions.
4206
4207 2003-07-17  André Pönitz  <poenitz@gmx.net>
4208
4209         * lyxtext.h:
4210         * rowpainter.C:
4211         * text2.C: don't call inset->update() anymore
4212
4213         * metricsinfo.[Ch]: add convenience constructor
4214
4215 2003-07-16  André Pönitz  <poenitz@gmx.net>
4216
4217         * lyxcursor.[Ch]:
4218         * lyxfunc.[Ch]:
4219         * text.C:
4220         * text2.C: replace the LyXCursor::irow_ member with
4221          on-demand computation of the value
4222
4223 2003-07-16  John Levon  <levon@movementarian.org>
4224
4225         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4226
4227 2003-07-15  André Pönitz  <poenitz@gmx.net>
4228
4229         * text.C:
4230         * text2.C: remove no more needed refresh_row
4231
4232 2003-07-15  André Pönitz  <poenitz@gmx.net>
4233
4234         * lyxtext.h:
4235         * rowpainter.C:
4236         * text2.C:
4237         * text3.C: refresh_status tristate -> need_update bool
4238
4239 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * lyxtext.h (init): remove reinit argument (act as if always true)
4242         * text2.C: adjust to that
4243
4244 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4245
4246         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4247         * text3.C: use it to delete selections in some cases
4248         (bugs 441, 673, 702, 954).
4249
4250 2003-07-14  André Pönitz  <poenitz@gmx.net>
4251
4252         * rowpainter.[Ch]: reduce interface
4253
4254 2003-07-14  André Pönitz  <poenitz@gmx.net>
4255
4256         * BufferView_pimpl.C:
4257         * text2.C: adjust after removing unused BufferView * argument
4258
4259 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4260
4261         * text2.C (init): fix a crash fired on resize
4262
4263 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * buffer.[Ch]: added new closing signal
4266         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4267         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4268         BufferView::Pimpl via the closing the signal
4269
4270 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * buffer.[Ch]: take out all bv-related from buffer
4273         * BufferView.C:
4274         * BufferView_pimpl.[Ch]: connect to new signals
4275         * CutAndPaste.C: removed useless asserts
4276         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4277         * lyxvc.[Ch]:
4278         * vc-backend.[Ch]:
4279         * lyxfunc.C: moved view-related funciontality from vc here
4280         * paragraph.C: removed outdated comments
4281         * text.C: ws
4282
4283 2003-07-10  André Pönitz  <poenitz@gmx.net>
4284
4285         * BufferView_pimpl.C:
4286         * tabular.h:
4287         * tabular_funcs.C:
4288         * text.C:
4289         * text2.C: remove InsetText::InnerCache, clean up consequences
4290
4291 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4292
4293         * ispell.C: fix two typos in error messages
4294
4295 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4296
4297         * Extend Note inset to other forms of annotation like Comment
4298         and Greyedout. Right button click gives dialog.
4299
4300         Files modified or added (+):
4301
4302         * insetnote.[Ch]
4303         * FormNote.[Ch]      +
4304         * ControlNote.[Ch]   +
4305         * form_note.fd       +
4306         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4307         frontends/controllers
4308         * xforms/Dialogs.C
4309         * factory.C
4310
4311 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4312
4313         * aspell.C: add missing namespace lyx::support
4314
4315 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * BufferView.[Ch] (newFile): Add
4318         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4319         * LaTeX.[Ch] (message): added this signal and use it
4320         * buffer.[Ch] (busy, message): added these signals and use them
4321         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4322         * converter.C:
4323         * exporter.C:
4324         * format.C:
4325         * importer.C: use buffer signals instead of direct bv calling
4326         * lyx_cb.[Ch] (ShowMessage): removed
4327         * lyx_main.C:
4328         * lyxfunc.C:
4329         * paragraph_funcs.C:
4330         * text2.C: use buffer signals
4331
4332 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * introduce namespace lyx::graphics
4335
4336 2003-07-02  André Pönitz  <poenitz@gmx.net>
4337
4338         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4339
4340 2003-07-01  André Pönitz  <poenitz@gmx.net>
4341
4342         * text.C:
4343         * text2.C:
4344         * text3.C:
4345         * text_funcs.[Ch]:
4346         * textcursor.h:
4347         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4348           text*.C to text_func.C
4349
4350 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * introduce namespace lyx::support
4353
4354 2003-06-30  André Pönitz  <poenitz@gmx.net>
4355
4356         * Chktex.C:
4357         * funcrequest.C:
4358         * lyxtext.h:
4359         * text.C: re-enable --with-included-string
4360
4361 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * textcursor.C: add <config.h>
4364
4365         * text.C (getWord): remove const from word_location arg
4366
4367         * lyxvc.C (getLogFile): fix const type order
4368
4369         * lyxtext.h: remove const from word_location arg, add arg name
4370
4371         * lyxlayout.h: currect type on labeltype.
4372
4373         * importer.C: correct \file
4374
4375         * converter.C (intToFormat): use std:: on ret val, ws changes
4376
4377         * bufferlist.h: correct \file
4378
4379         * buffer.C (makeLinuxDocFile): fix const type order
4380         (makeDocBookFile): ditto
4381         (fillWithBibKeys): use std:: on stdlib args.
4382
4383         * CutAndPaste.C: fix authors.
4384         (availableSelections): use std:: on return vector
4385
4386 2003-06-27  André Pönitz  <poenitz@gmx.net>
4387
4388         * BufferView_pimpl.C:
4389         * bufferview_funcs.C:
4390         * lyxcursor.C:
4391         * lyxcursor.h:
4392         * lyxfunc.C:
4393         * lyxtext.h:
4394         * rowpainter.C:
4395         * text.C:
4396         * text2.C:
4397         * text3.C: remove LyXCursor::row_ member
4398
4399         * lyxtext.h:
4400         * text.C: rename fullRebreak() to partialRebreak() and implement
4401           a fullRebreak() that really bereks fully
4402
4403         * textcursor.h: new struct for cursor-related data
4404
4405 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4406
4407         * lyx_main.C (LyX): get full path of document loaded on the
4408         command line
4409
4410 2003-06-26  André Pönitz  <poenitz@gmx.net>
4411
4412         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4413           remove unused/broken operator>,<,>=.
4414
4415         *       text.C: remove only use of broken operator<= in an Assert().
4416
4417 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4418
4419         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4420         moved errorlist_.clear to showErrorList
4421
4422 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4423
4424         * converter.C (scanLog, runLaTeX):
4425         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4426         move the bv->showErrorList call to the callers
4427         * lyxfunc.C: i.e. here...
4428         * text2.C: and here
4429         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4430         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4431         namespace, the second to...
4432         * buffer_funcs (BufferFormat, parseErrors): added
4433         * errorlist.C (ErrorList(TeXErrors const &)): removed
4434
4435 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4436
4437         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4438
4439 2003-06-24  "Garst R. Reese" <reese@isn.net>
4440
4441         * debug.C: fix typo
4442
4443 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4444
4445         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4446
4447         * version.C.in: change docversion to 1.4
4448
4449 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * buffer.C: fix a bug just introduced
4452
4453 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * buffer.[Ch]: added the parseError signal and use it, removed
4456         sgmlError
4457         * BufferView.[Ch] (addError): moved to ...
4458         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4459         to the Buffer::parseError signal to catch (guess what) parse errors
4460         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4461
4462 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4465         ability to create a buffer and to return an existing one from
4466         the list. Moved these functions to...
4467         * buffer_funcs.[Ch]: added
4468         * BufferView.[Ch] (loadLyXFile): added
4469         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4470         job removed from bufferlist::loadLyXFile.
4471         * buffer.C (setReadOnly): make it work without view
4472         (i.e added an if (users))
4473
4474 2003-06-19  Angus Leeming  <leeming@lyx.org>
4475
4476         * lfuns.h:
4477         * LyXAction.C (init):
4478         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4479         with LFUN_DIALOG_SHOW <name> <data>.
4480
4481 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4482
4483         * CutAndPaste.C (availableSelections): small compilation fix for
4484         ancient (gcc 2.9x) compilers
4485
4486 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * text3.C (cursorNext): add tmp var
4489
4490         * text2.C (updateCounters): for function calling out of for clause
4491         (replaceSelectionWithString): ditto
4492         (insertStringAsParagraphs): ditto
4493         (getColumnNearX): add tmp var
4494         (setCursorFromCoordinates): add tmp var
4495         (cursorDownParagraph): add tmp var
4496         (deleteEmptyParagraphMechanism): add tmp var
4497
4498         * text.C (insertChar): add tmp var
4499
4500         * rowpainter.C (paintDepthBar): add tmp var
4501
4502         * CutAndPaste.C (availableSelections): potentially check all
4503         paragraphs in a cut to fill the shown strings.
4504
4505 2003-06-18  André Pönitz  <poenitz@gmx.net>
4506
4507         * kbmap.[Ch]: use vector<> instead of list<>
4508
4509 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4510
4511         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4512         pasteSelection with index
4513
4514         * text2.C (pasteSelection): modify, call pasteSelection with index
4515
4516         * paragraph.C (asString): reimplement version with no interval to
4517         call the one with interval.
4518
4519         * lyxtext.h: add index arg to pasteSelection
4520
4521         * MenuBackend.C (MenuItem): handle PasteRecent
4522         (Menu::read::Menutags): add md_pasterecent
4523         (read): handle it
4524         (expandPasteRecent): new function
4525         (expand): use it
4526
4527         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4528
4529         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4530         the limited stack
4531         (availableSelections): new function
4532
4533 2003-06-17  Angus Leeming  <leeming@lyx.org>
4534
4535         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4536
4537 2003-06-17  Angus Leeming  <leeming@lyx.org>
4538
4539         * lfuns.h:
4540         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4541
4542         * lyxfunc.C (dispatch): invoke it.
4543
4544 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4545
4546         * iterators.C (operator++, ParPosition): reintroduce some
4547         const_cast for the benefit of older compilers.
4548
4549 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4550
4551         * text3.C (dispatch): do not modify clipboard when doing
4552         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4553         LFUN_DELETE_SKIP on a selection selection
4554
4555 2003-06-16  André Pönitz  <poenitz@gmx.net>
4556
4557         * BufferView.C:
4558         * buffer.C:
4559         * buffer.h:
4560         * paragraph.C:
4561         * tabular.[Ch]: IU of clone() and getLabelList();
4562
4563 2003-06-13  André Pönitz  <poenitz@gmx.net>
4564
4565         * tabular.h: compactification
4566
4567 2003-06-12  André Pönitz  <poenitz@gmx.net>
4568
4569         * tabular.C:
4570         * tabular.h:
4571         * tabular_funcs.h: some renaming plus whitespace
4572
4573 2003-06-12  André Pönitz  <poenitz@gmx.net>
4574
4575         * BufferView.C:
4576         * BufferView_pimpl.C:
4577         * CutAndPaste.C:
4578         * buffer.C:
4579         * iterators.[Ch]:
4580         * lyxfunc.C:
4581         * text.C:
4582         * toc.C: Return a Paragraph & for ParIterator::operator*()
4583
4584 2003-06-11  John Levon  <levon@movementarian.org>
4585
4586         * lyx_main.C:
4587         * ToolbarBackend.h:
4588         * ToolbarBackend.C: add "Toolbars" section and
4589         put the flags there
4590
4591 2003-06-10  Angus Leeming  <leeming@lyx.org>
4592
4593         * lfuns.h:
4594         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4595
4596         * lyxfunc.C (dispatch): invoke it.
4597
4598 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * main.C: protect <ios> with HAVE_IOS
4601         (main): protect sync_with_stdio with HAVE_IOS
4602
4603 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4604
4605         * text2.C (cutSelection): adjust
4606         (pasteSelection): adjust
4607
4608         * messages.C: handle get of empty string
4609
4610         * main.C (main): use sync_with_stdio(false)
4611
4612         * lyxfunc.C (dispatch): adjust
4613
4614         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4615         (WriteAs): remove unneeded BufferView arg.
4616
4617         * bufferparams.h: use correct types on papersize, papersize2 and
4618         paperpackage.
4619
4620         * bufferparams.C (readToken): adjust for type
4621         (writeLaTeX): add missing cases to switch.
4622
4623         * bufferlist.C (quitWriteBuffer): adjust
4624         (close): adjust
4625
4626         * buffer.C (asciiParagraph): remove some commented code.
4627
4628         * CutAndPaste.C: remove current_view extern variable.
4629         (cutSelection): add BufferParams arg.
4630         (eraseSelection): add BufferParams arg.
4631         (pasteSelection): add Buffer const & arg
4632
4633 2003-06-07  John Levon  <levon@movementarian.org>
4634
4635         * buffer.C:
4636         * paragraph_funcs.C:
4637         * paragraph_pimpl.C:
4638         * text.C:
4639         * text2.C:
4640         * paragraph.h:
4641         * paragraph.C: allow InsetERT to freely space lines,
4642         and some consolidation of code
4643
4644 2003-06-06  José Matos  <jamatos@fep.up.pt>
4645
4646         * buffer.C (makeDocBookFile): fix bug #821
4647
4648 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4651
4652 2003-06-04  Angus Leeming  <leeming@lyx.org>
4653
4654         * buffer.C: bump format to 224.
4655
4656 2003-06-05  André Pönitz  <poenitz@gmx.net>
4657
4658         * text2.C (redoParagraphs): remove two const_cast<>
4659
4660 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4661
4662         * ParagraphList.h: remove last remnants of NO_STD_LIST
4663
4664 2003-06-03  Angus Leeming  <leeming@lyx.org>
4665
4666         * factory.C (createInset): small change to the way InsetExternal's params
4667         are set.
4668
4669 2003-06-04  André Pönitz  <poenitz@gmx.net>
4670
4671         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4672
4673         * paragraph_pimpl.h:
4674         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4675
4676         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4677
4678         * undo_funcs.C: make some simple cases of undo work again
4679
4680 2003-06-03  John Levon  <levon@movementarian.org>
4681
4682         * ispell.C: HPUX doesn't have sys/select.h
4683         (from Albert Chin)
4684
4685 2003-06-03  John Levon  <levon@movementarian.org>
4686
4687         * CutAndPaste.C: update tabular and include inset
4688         buffer references
4689
4690         * buffer.h:
4691         * paragraph.h:
4692         * paragraph.C: remove owningBuffer(), don't pass Buffer
4693         to clone()
4694
4695         * factory.C: insetGraphicsParams changed
4696
4697 2003-06-02  John Levon  <levon@movementarian.org>
4698
4699         * LyXAction.C:
4700         * factory.C:
4701         * lfuns.h:
4702         * lyxfunc.C:
4703         * text3.C: remove insetparent
4704
4705 2003-06-02  John Levon  <levon@movementarian.org>
4706
4707         * buffer.h:
4708         * buffer.C: fix inset_iterator.end(), move out of line
4709         (bug 1149)
4710
4711 2003-06-01  John Levon  <levon@movementarian.org>
4712
4713         * text3.C: use a proper cut/paste when doing inset
4714         insert (from Jürgen Spitzmüller)
4715
4716 2003-06-01  John Levon  <levon@movementarian.org>
4717
4718         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4719
4720 2003-05-30  André Pönitz  <poenitz@gmx.net>
4721
4722         * rowpainter.C: unify second drawing phase
4723
4724 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * trans_mgr.C: remove one case of current_view
4727
4728         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4729
4730         * paragraph_funcs.h: remove paragraph.h include
4731
4732         * paragraph.h: delete NO_STD_LIST stuff
4733
4734         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4735
4736         * buffer.h: remove paragraph.h include
4737
4738         * ParagraphList.C: delete file
4739
4740         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4741
4742         * toc.C (getTocList): adjust
4743
4744         * paragraph_pimpl.C (validate): adjust
4745
4746         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4747
4748         * paragraph.C (Paragraph): adjust
4749         (getPositionOfInset): use const_iterator, adjust
4750         (bibitem): use const_iterator, adjust
4751         (setInsetOwner): adjust
4752
4753         * iterators.C (operator++): adjust
4754
4755         * InsetList.[Ch]: Replace selfmade iterator with standard
4756         vector::iterator also introduce const_iterator. Remove getPos,
4757         getInset and setInset from InsetTable. Adjust accordingly.
4758
4759         * BufferView.C (lockInset): adjust
4760         (ChangeInsets): adjust
4761
4762         * tabular.[Ch]: delete commented same_id functions
4763
4764 2003-05-28  John Levon  <levon@movementarian.org>
4765
4766         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4767
4768 2003-05-28  André Pönitz  <poenitz@gmx.net>
4769
4770         * metricsinfo.[Ch]: remove 'fullredraw' member
4771
4772 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4773
4774         * lyxtextclass.C (operator): remove caching.
4775
4776 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * text3.C: adjust
4779
4780         * text2.C (cursorBottom): adjust
4781         (setCounter): use ParagraphList::find, adjust
4782
4783         * text.C (workWidth): use ParagraphList::find, adjust
4784
4785         * lyxcursor.C (LyXCursor): adjust
4786
4787         * buffer.C (inset_iterator): adjust
4788
4789         * ParagraphList.h: make iterator(value_type) private, make
4790         ParagraphList a friend of iterator.
4791
4792         * ParagraphList.C (find): new function
4793
4794         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4795
4796 2003-05-27  André Pönitz  <poenitz@gmx.net>
4797
4798         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4799
4800 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4801
4802         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4803
4804 2003-05-26  John Levon  <levon@movementarian.org>
4805
4806         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4807
4808 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * remove same_id from function signatures, adjust.
4811
4812 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4815
4816         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4817
4818         * paragraph.C (Paragraph): get rid of same_ids parameter
4819
4820         * ParagraphList.C (insert): adjust
4821         (push_back): adjust
4822
4823 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4824
4825         * paragraph_funcs.C (breakParagraph): adjust
4826         (breakParagraphConservative): adjust
4827
4828         * buffer.C (readParagraph): adjust
4829
4830         * ParagraphList.C (insert): take a reference instead of a pointer
4831         (insert): adjust
4832
4833         * paragraph.[Ch] (id): new function
4834
4835         * bufferlist.C (newFile): adjust
4836
4837         * ParagraphList.C (ParagraphList): adjust
4838         (assign): adjust
4839         (push_back): take a reference instead of a pointer.
4840
4841         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4842
4843         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4844         instead.
4845
4846         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4847         set else use old code.
4848
4849         * ParagraphList.C: remove all NO_NEXT code and only compile this
4850         code of NO_STD_LIST is set.
4851
4852 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4853
4854         * BufferView_pimpl.C:
4855         * TextCache.C:
4856         * TextCache.h:
4857         * bufferlist.C:
4858         * errorlist.h:
4859         * format.C:
4860         * format.h:
4861         * graph.C:
4862         * lyxfunc.C:
4863         * lyxrc.C:
4864         * graphics/GraphicsConverter.C:
4865         * graphics/PreviewLoader.C: header adjustment
4866
4867 2003-05-23  Angus Leeming  <leeming@lyx.org>
4868
4869         * LaTeXFeatures.[Ch] (useBabel): new method.
4870         * bufferparams.C (writeLaTeX): use it.
4871
4872 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * ParagraphList.h (set): remove unused function.
4875
4876 2003-05-23  André Pönitz  <poenitz@gmx.net>
4877
4878         * BufferView.C:
4879         * BufferView_pimpl.C:
4880         * buffer.C:
4881         * buffer.h:
4882         * lyxfunc.C:
4883         * undo_funcs.C: setUndo reworked
4884
4885         * iterators.[Ch]: add access to topmost ParagraphList
4886
4887         * lyxtext.[Ch] (workWidth): add a const
4888
4889 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * texrow.[Ch] (increasePos): remove function
4892         * exporter.C (export): removed unused var and outdated comment
4893
4894 2003-05-23  Angus Leeming  <leeming@lyx.org>
4895
4896         * latexrunparams.h: rename fragile as moving_arg.
4897         * paragraph.C (simpleTeXOnePar): ditto.
4898         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4899
4900 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4903         (createUndo): ditto
4904         (textUndoOrRedo): comment out a currently unused var.
4905
4906         * paragraph.h (NO_NEXT): enable NO_NEXT
4907
4908         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4909
4910         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4911
4912         * exporter.C (Export): adjust for removeAutoInsets removal.
4913
4914         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4915
4916         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4917
4918         * BufferView.[Ch] (removeAutoInsets): delete function
4919
4920 2003-05-22  Angus Leeming  <leeming@lyx.org>
4921
4922         * latexrunparams.h: add a free_spacing variable.
4923
4924         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4925         to pass moving_arg, as the data is stored in runparams.fragile.
4926
4927         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4928         to Inset::latexOptional or to simpleTeXOnePar.
4929
4930         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4931         free_spacing arg to Inset::latexOptional.
4932
4933         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4934         free_spacing arg.
4935
4936 2003-05-22  Angus Leeming  <leeming@lyx.org>
4937
4938         * latexrunparams.h: add fragile and use_babel variables.
4939
4940         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4941         * buffer.C (makeLaTeXFile): store this returned value in
4942         runparams.use_babel, thus passing it to the inset::latex methods.
4943
4944         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4945         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4946
4947         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4948         longer has a fragile arg, as it is stored in runparams.fragile.
4949
4950         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4951         moving_arg parameter as the data is stored in runparams.fragile.
4952
4953         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4954         a fragile parameter as the data is stored in runparams.fragile.
4955
4956 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4959
4960 2003-05-22  Angus Leeming  <leeming@lyx.org>
4961
4962         * latexrunparams.h: add a 'bool nice' which defaults to false.
4963
4964         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4965         now encapsulated within runparams.
4966
4967         * bufferlist.C (updateIncludedTeXfiles):
4968         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4969
4970 2003-05-22  Angus Leeming  <leeming@lyx.org>
4971
4972         * latexrunparams.h: new file containing struct LatexRunParams.
4973         * Makefile.am: add new file.
4974
4975         * LaTeX.[Ch] (c-tor, run):
4976         * buffer.[Ch] (makeLaTeXFile):
4977         * bufferlist.[Ch] (updateIncludedTeXfiles):
4978         * converter.C (convert, scanLog):
4979         * converter.[Ch] (runLaTeX):
4980         * exporter.C (Export):
4981         * paragraph.[Ch] (simpleTeXOnePar):
4982         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4983         * paragraph_funcs.[Ch] (latexParagraphs):
4984         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4985         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4986         pass around a LatexRunParams parameter.
4987
4988 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * paragraph.[Ch]: remove unused constructor
4991
4992         * ParagraphList.C (erase): new function, taking two iterators
4993
4994 2003-05-22  André Pönitz  <poenitz@gmx.net>
4995
4996         * undo_funcs.C: remove duplicated code
4997
4998         * iterator.[Ch]: operator=
4999
5000 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * tabular.C (SetMultiColumn): ws changes
5003
5004         * rowpainter.C (paintFirst): get rid of a ->previous
5005
5006         * lyx_cb.C (getPossibleLabel): parlist simplification
5007
5008         * BufferView.C (ChangeInsets): simplify slightly.
5009
5010 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5011
5012         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5013         * lfuns.h: new LFUN_SPACE
5014         * lyxfunc.C: protected space has a new lfun
5015         * paragraph_funcs.C: read new space insets
5016         * text3.C:
5017         * factory.C: handle new space insets
5018
5019 2003-05-22  André Pönitz  <poenitz@gmx.net>
5020
5021         * BufferView.C:
5022         * BufferView_pimpl.C:
5023         * buffer.[Ch]:
5024         * lyxfunc.C:
5025         * undo_funcs.C: return a ParIterator from getParFromID.
5026
5027         * iterators.[Ch]: add two const's
5028
5029 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * toc.C (getTocList): adjust
5032
5033         * iterators.[Ch]: rework for parlist
5034
5035         * buffer.C (par_iterator_begin): adjust
5036         (par_iterator_end): adjust
5037
5038         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5039
5040         * BufferView.C (removeAutoInsets): adjust
5041         (ChangeInsets): adjust
5042
5043 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * text.C (top_y): fix bug 1110
5046
5047 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * errorlist.[Ch]: added
5050         * buffer.C:
5051         * BufferView.[Ch]:
5052         * BufferView_pimpl.C:
5053         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5054         instead
5055
5056 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * Makefile.am: ensure that lyx is relinked upon changes to the
5059         various "convenience" libs.
5060
5061 2003-05-20  Angus Leeming  <leeming@lyx.org>
5062
5063         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5064         files are compiled in alphabetical order again.
5065
5066         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5067
5068 2003-05-19  Angus Leeming  <leeming@lyx.org>
5069
5070         * gettext.[Ch]: remove "char const * _(char const *)".
5071
5072 2003-05-19  André Pönitz  <poenitz@gmx.net>
5073
5074         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5075
5076         * Makefile.am:
5077         * BufferView.C:
5078         * DepTable.h:
5079         * LaTeXFeatures.C:
5080         * buffer.C:
5081         * lyxfont.C:
5082         * lyxlex.h:
5083         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5084
5085 2003-05-19  André Pönitz  <poenitz@gmx.net>
5086
5087         * buffer.C:
5088         * lyxlayout.[Ch]:
5089         * lyxtextclass.[Ch]:
5090         * paragraph.C:
5091         * paragraph_funcs.[Ch]:
5092         * text2.C:
5093         * text3.C: more insetenv work
5094
5095 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * ParagraphParameters.C (params2string): small bug fixed
5098
5099 2003-05-16  André Pönitz  <poenitz@gmx.net>
5100
5101         * debug.C:
5102         * bufferview_funcs.C: patch from Kornel Benko to prevent
5103           crash when _(...) is called twice in a statement
5104
5105 2003-05-16  André Pönitz  <poenitz@gmx.net>
5106
5107         * BufferView.C:
5108         * lyxfunc.C:
5109         * text.C:
5110         * text2.C:
5111         * text3.C:
5112         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5113
5114 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * lyx_main.C (init): remove spurious static_cast
5117
5118 2003-05-14  André Pönitz  <poenitz@gmx.net>
5119
5120         * BufferView.C: fix format string
5121
5122 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * BufferView.[Ch] (insertErrors): removed
5125         * BufferView.[Ch] (showErrorList): added
5126         * buffer.C (runChkTeX):
5127         * converter.C (scanLog): call showErrorList instead of inserterrors
5128
5129 2003-05-13  André Pönitz  <poenitz@gmx.net>
5130
5131         * BufferView_pimpl.C:
5132         * buffer.C:
5133         * bufferview_func.C:
5134         * MenuBackend.C:
5135         * lyxfunc.C:
5136         * lyxrc.C:
5137         * tex-accent.C:
5138         * text3.C:
5139         * toc.C:
5140         * tabular_funcs.h: tostr() from its own header
5141
5142         * ParagraphParameters.C:
5143         * ToolbarBackend.C:
5144         * bufferparams.C:
5145         * format.C:
5146         * lyxlex_pimpl.C:
5147         * text3.C: STRCONV()
5148
5149 2003-05-12  André Pönitz  <poenitz@gmx.net>
5150
5151         * BufferView.C:
5152         * BufferView_pimpl.C:
5153         * CutAndPaste.C:
5154         * LaTeX.C:
5155         * LaTeXFeatures.C:
5156         * ParagraphParameters.C:
5157         * buffer.C:
5158         * bufferlist.C:
5159         * bufferparams.C:
5160         * bufferview_funcs.C:
5161         * converter.C:
5162         * counters.C:
5163         * debug.C:
5164         * exporter.C:
5165         * format.C:
5166         * importer.C:
5167         * lyx_cb.C:
5168         * lyx_main.C:
5169         * lyxfont.C:
5170         * lyxfunc.C:
5171         * lyxvc.C:
5172         * paragraph.C:
5173         * paragraph_funcs.C:
5174         * tabular.C:
5175         * tabular_funcs.C:
5176         * text2.C:
5177         * text3.C:  boost::format -> bformat  all over the place
5178
5179
5180 2003-05-09  André Pönitz  <poenitz@gmx.net>
5181
5182         * LColor.[Ch]: Pimpl the #include <map> away
5183
5184 2003-05-09  John Levon  <levon@movementarian.org>
5185
5186         * bufferlist.C: never remove emergency saves
5187
5188 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * Makefile.am: better lib building
5191
5192 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5195         instead.
5196         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5197         (simpleTeXSpecialChars): adjust
5198         (simpleTeXSpecialChars): adjust
5199         * paragraph.C (simpleTeXOnePar): adjust
5200         * buffer.C (makeLaTeXFile): adjust
5201
5202         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5203
5204         * text2.C (changeDepth): parlist cleanup
5205         (getColumnNearX): ditto
5206
5207         * rowpainter.C (getLabelFont): parlist cleanup
5208
5209         * bufferlist.C (newFile): parlist cleanup
5210
5211         * CutAndPaste.C (eraseSelection): parlist cleanup
5212
5213         * BufferView_pimpl.C (trackChanges): parlist cleanup
5214         (dispatch): ditto
5215
5216         * BufferView.C (lockInset): parlist cleanup.
5217         (ChangeInsets): ditto
5218
5219 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5220
5221         * CutAndPaste.h: Update file header.
5222
5223         * CutAndPaste.C: Update file header.
5224         Store the parts cut out of the Document in a limited_stack.
5225         (copySelection): adjust
5226         (pasteSelection): new function, takes the index in the limited stack.
5227         (nrOfParagraphs): adjust
5228         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5229         simplify error inset insertion.
5230         (checkPastePossible): adjust
5231
5232 2003-05-06  John Levon  <levon@movementarian.org>
5233
5234         * text2.C: don't cast wrap inset to float
5235
5236 2003-05-05  André Pönitz  <poenitz@gmx.net>
5237
5238         * iterator.C:
5239         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5240
5241         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5242           few naked Paragraph *.
5243
5244 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5245
5246         * bufferparams.C: Output warning if a document with missing
5247         TeX document class is loaded
5248         * exporter.C: Disable TeX exports if the document class is missing
5249         * lyxtextclass.C:
5250         * lyxtextclass.h:
5251         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5252         isTeXClassAvailable()
5253
5254 2003-05-03  John Levon  <levon@movementarian.org>
5255
5256         * BufferView.h:
5257         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5258         explicit cursor show/hide
5259
5260         * BufferView_pimpl.h:
5261         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5262         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5263
5264         * lyxfunc.C: hide cursor before dispatching.
5265
5266         * lyx_cb.C:
5267         * lyxfind.C:
5268         * text.C:
5269         * text3.C: remove explicit cursor hides
5270
5271 2003-05-02  André Pönitz  <poenitz@gmx.net>
5272
5273         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5274
5275         * undo_funcs.C:
5276         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5277           linked lists
5278
5279         * text2.C: tiny whitespace
5280
5281 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * undo_funcs.C: almost only ws changes.
5284
5285         * ParagraphList.C (splice): just return if pl is empty.
5286
5287 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * ParagraphList.C (splice): new function.
5290
5291         * CutAndPaste.C (pasteSelection): use it
5292
5293 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * CutAndPaste.C (pasteSelection): remove the last next and
5296         previous from this file.
5297
5298 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * CutAndPaste.C (pasteSelection): more clean up, user proper
5301         ParagraphList functions for pasteing.
5302
5303         * ParagraphList.C (insert): new function, three arg insert
5304
5305 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * ParagraphList.C (insert): new function, three arg insert
5308
5309         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5310         not on paragraphs.
5311
5312 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5315
5316 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5319
5320 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5323         (copySelection): clean up a bit.
5324         (pasteSelection): use make_pair
5325
5326         * ParagraphList.C (ParagraphList): implement copy constructor
5327         (operator=): implement, base on copy constructor.
5328         (assign): new func
5329
5330         * paragraph.C (erase): return a bool
5331
5332         * paragraph_pimpl.C (erasePos): remove function, move contents...
5333         (erase): ... here. Return a bool.
5334         (erase): call erase instead of erasePos.
5335
5336 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5337
5338         * ParagraphList.h: define PitPosPair
5339         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5340         ParagraphList, fix a bug on pasting multiple pars
5341         * text2.C: change interface to C&P
5342
5343 2003-04-30  André Pönitz  <poenitz@gmx.net>
5344
5345         * undo_func.C: revert part of yesterday's patch 2
5346
5347 2003-04-30  John Levon  <levon@movementarian.org>
5348
5349         * LColor.C: s/tabular/table/
5350
5351 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * text3.C (dispatch): do not convert iterator -> pointer
5354         * undo_funcs.C (setCursorParUndo): ditto
5355         * text_funcs.C (transposeChars): ditto
5356
5357         * text2.C (setLayout): ws changes only
5358
5359         * text.C (breakParagraph): do not convert iterator -> pointer
5360         (insertChar): ditto
5361         (acceptChange): ditto
5362         (rejectChange): ditto
5363         (changeCase): ditto
5364         (Delete): ditto
5365         (backspace): ditto
5366
5367         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5368         pointer
5369
5370 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5371
5372         * text3.C (gotoInset): YABG (yet another bad getChar)
5373
5374 2003-04-29  André Pönitz  <poenitz@gmx.net>
5375
5376         * paragraph.h: make operator= private unimplemented as long as
5377           it is unusable
5378
5379         * ParagraphList.C: whitespace
5380
5381         * paragraph.[Ch]:
5382         * paragraph_pimpl.[Ch]:
5383         * paragraph_funcs.C:
5384         * CutAndPaste.C:
5385         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5386
5387         * text2.C:
5388           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5389
5390 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5393         * paragraph.[Ch] (erase):
5394         * paragraph_pimpl.[Ch] (erase): change return type and value
5395         * text2.C (cutSelection): some rework
5396
5397 2003-04-28  John Levon  <levon@movementarian.org>
5398
5399         * bufferlist.C: changes for unsaved changes dialog
5400
5401 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * bufferlist.C (newFile): set language (messages_) for new
5404         documents also.
5405
5406         * buffer.C (readFile): ws changes only.
5407
5408 2003-04-28  André Pönitz  <poenitz@gmx.net>
5409
5410         * undo_funcs.C:
5411         * lyxfunc.C:
5412         * buffer.[Ch]:
5413         * BufferView_pimpl.C:
5414         * BufferView.C: getParFromID related ParagraphList::iterator changes
5415
5416 2003-04-28  André Pönitz  <poenitz@gmx.net>
5417
5418         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5419           Changes
5420
5421 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * messages.C: remove one more localedir class variable.
5424
5425 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * messages.C (getLocaleDir): singleton generation function
5428         (Pimpl): use it.
5429         (Messages): add a default constructor.
5430
5431         * main.C (main): do not setup localedir here, do not call
5432         gettext_init.
5433
5434         * gettext.C (_): use it.
5435         (gettext_init): delete funciton
5436
5437 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * gettext.C (getLyXMessages): new singleton generating function.
5440
5441         * buffer.C (updateDocLang): adjust
5442
5443         * Makefile.am (messages.o): add target
5444         (main.o): remove target
5445
5446 2003-04-27  John Levon  <levon@movementarian.org>
5447
5448         * bufferlist.C:
5449         * lyx_cb.C:
5450         * lyxfunc.C:
5451         * lyxvc.C: specify cancel button in Alert::prompt
5452
5453 2003-04-26  John Levon  <levon@movementarian.org>
5454
5455         * text3.C:
5456         * lyxfunc.C:
5457         * lfuns.h:
5458         * LyXAction.C: add LFUN_INSET_SETTINGS
5459
5460         * lyxfunc.C: don't enable tabular-feature when there's
5461         just any locking inset
5462
5463 2003-04-26  John Levon  <levon@movementarian.org>
5464
5465         * bufferlist.C: re-add Cancel to buffer close question
5466
5467         * lyxfunc.C: fix import UI a bit
5468
5469 2003-04-25  John Levon  <levon@movementarian.org>
5470
5471         * gettext.C: remove the broken asserts for now
5472
5473 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * messages.C: make case where setlocale cannot comply work better.
5476
5477         * buffer.C (updateDocLang): new function
5478         (changeLanguage): use it
5479         (readFile): use it
5480
5481         * text2.C (setCounter): use B_ a bit.
5482
5483         * lyxlayout.C (Read): be sure to trim the label strings.
5484
5485         * messages.C (Messages): fix typo in comment
5486
5487         * buffer.C (readFile): set message_ after file is loaded.
5488         (makeDocBookFile): remove double return
5489         (changeLanguage): reset message_ upon language change.
5490         (B_): new func, use this to get translated buffer strings.
5491
5492         * main.C: add myself and Jean Marc as authors.
5493
5494 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * messages.[hC]: pimplify Messages, and three different pimpls to be
5497         used in different circumstances.
5498
5499         * gettext.[Ch]: change for use with new message code.
5500
5501 2003-04-24 André Pönitz <poenitz@gmx.net>
5502
5503         * factory.C: support for eqref
5504
5505 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * messages.[Ch]: add missing char
5508
5509         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5510
5511         * messages.[Ch]: New files
5512
5513 2003-04-18  John Levon  <levon@movementarian.org>
5514
5515         * BufferView.h:
5516         * BufferView.C:
5517         * BufferView_pimpl.C:
5518         * lfuns.h:
5519         * LyXAction.C:
5520         * lyxtext.h:
5521         * text2.C: remove layout-copy/paste (bug 778)
5522
5523 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5524
5525         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5526
5527 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5528
5529         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5530         if they succeed. Act accordingly.
5531
5532 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * text2.C (setCharFont): adjust
5535         (setCounter): adjust
5536         (insertStringAsLines): adjust
5537
5538         * text.C (leftMargin): adjust
5539         (setHeightOfRow): adjust
5540
5541         * rowpainter.C (paintFirst): adjust
5542         (paintLast): adjust
5543
5544         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5545         (outerHook): ditto
5546         (isFirstInSequence): ditto
5547         (getEndLabel): ditto
5548         (outerFont): adjust
5549
5550         * paragraph.C (getParLanguage): comment out some hard stuff.
5551
5552         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5553         (sgmlError): ditto
5554         (simpleDocBookOnePar): ditto
5555         (makeDocBookFile): use ParagraphList::iterator
5556
5557         * CutAndPaste.C (pasteSelection): adjust
5558
5559 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * text2.C (getFont): adjust
5562         (getLayoutFont): adjust
5563         (getLabelFont): adjust
5564
5565         * paragraph_funcs.C (TeXOnePar): adjust
5566
5567         * buffer.C (simpleLinuxDocOnePar): adjust
5568         (simpleDocBookOnePar): adjust
5569
5570         * CutAndPaste.C (pasteSelection): adjust
5571
5572         * BufferView.C (getEncoding): adjust
5573
5574         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5575
5576 2003-04-16  John Levon  <levon@movementarian.org>
5577
5578         * lyxfind.C: use parlist stuff for search/changes
5579
5580 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5583
5584         * text2.C (deleteEmptyParagraphMechanism): adjust
5585
5586         * text2.[Ch] (ownerParagraph): delete func (both of them
5587
5588 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5591
5592 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * ParagraphList.C: prepare for NO_NEXT
5595
5596 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * text2.C (getFont): adjust
5599         (getLayoutFont): adjust
5600         (getLabelFont): adjust
5601
5602         * paragraph.C (getFont): adjust
5603         (getLabelFont): adjust
5604         (getLayoutFont): adjust
5605
5606         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5607
5608 2003-04-15  John Levon  <levon@movementarian.org>
5609
5610         From Angus Leeming
5611
5612         * lyx_main.C: handle Include in .ui files
5613
5614 2003-04-15  John Levon  <levon@movementarian.org>
5615
5616         * MenuBackend.C: make the doc files length shorter
5617
5618         * ToolbarBackend.h:
5619         * ToolbarBackend.C: handle toolbar placement flags,
5620         Minibuffer
5621
5622 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5625         adjust
5626
5627         * paragraph_funcs.C (TeXOnePar): adjust
5628
5629         * paragraph.C (getLabelFont): add outerfont arg, adjust
5630         (getLayoutFont): ditto
5631         (simpleTeXOnePar): adjust
5632
5633         * paragraph_pimpl.C (realizeFont): delete func
5634
5635 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5636
5637         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5638         row argument, constify cur argument.
5639
5640 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * text2.C (getFont): adjust
5643         (getLayoutFont): adjust
5644         (getLabelFont): adjust
5645
5646         * paragraph_funcs.C (TeXOnePar): adjust
5647         (outerFont): new func...
5648         (realizeFont): ...moved out from here, changed this to facilitate
5649         transition
5650
5651         * paragraph.C (getFont): take outerfont as arg, adjust
5652         (simpleTeXOnePar): add outerfont arg, adjust
5653
5654         * buffer.C (simpleLinuxDocOnePar): adjust
5655         (simpleDocBookOnePar): adjust
5656
5657         * CutAndPaste.C (pasteSelection): adjust
5658
5659         * BufferView.C (getEncoding): adjust
5660
5661 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * text2.C (setCharFont): adjust
5664         (setCounter): adjust
5665
5666         * text.C (leftMargin): adjust
5667         (setHeightOfRow): adjust
5668
5669         * rowpainter.C (paintFirst): adjust
5670         (paintLast): adjust
5671
5672         * paragraph_pimpl.C (realizeFont): adjust
5673
5674         * paragraph.C (isFirstInSequence): move from here...
5675         * paragraph_funcs.C (isFirstInSequence): ...to here
5676
5677         * paragraph.C (outerHook): move from here...
5678         * paragraph_funcs.C (outerHook): ...to here
5679
5680         * paragraph.C (depthHook): move from here...
5681         * paragraph_funcs.C (depthHook): ...to here
5682
5683         * paragraph.C (getEndLabel): move from here...
5684         * paragraph_funcs.C (getEndLabel): ...to here
5685
5686         * text2.C (realizeFont): move from here...
5687         * paragraph_funcs.C (realizeFont): ...to here
5688
5689 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5692
5693 2003-04-14  Angus Leeming  <leeming@lyx.org>
5694
5695         * LColor.[Ch]: scrap LColor mathcursor.
5696
5697 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * lyxlex.[Ch] (text): delete function
5700         * trans.C (Load): adjust
5701         * paragraph_funcs.C (readParToken): adjust
5702
5703 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5706         vector<char> instead of a char[].
5707
5708         * lyxlex_pimpl.C (getString): adjust
5709         (next): adjust
5710         (lex): use getString
5711         (eatLine): adjust
5712         (nextToken): adjust
5713
5714         * lyxlex.C (text): use pimpl_->getString()
5715         (getBool): ditto
5716         (findToken): ditto
5717
5718 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5721         (makeFontEntriesLayoutSpecific): temp var for par.size()
5722         (setLayout): temp var for ownerParagraphs().end()
5723         (fullRebreak): temp var for rows().end()
5724         (selectionAsString): temp var for boost::next(startpit), realize
5725         that the while really is a regular for loop.
5726         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5727         setCursor in one place.
5728         (setParagraph): temp vr for ownerParagraphs().end()
5729         (updateCounters): make the while loop a for loop
5730         (cutSelection): temp var for ownerParagraphs().end()
5731         (updateInset): make the do {} while() a regular for loop
5732         (getCursorX): use temp vars
5733         (setCurrentFont): use temp vars
5734         (getColumnNearX): use temp vars
5735
5736 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * text.C (transformChar): use temp var for getChar
5739         (computeBidiTables): use temp var for row->par()
5740         (fill): move temp vars for row->par() and pit->layout() earlier in
5741         the function.
5742         (labelFill): use temp var for row->par()
5743         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5744         asc and desc, realize that pit never changes and that firstpit is
5745         just a duplicate and not needed. Exchange rit->par() with pit in a
5746         lot of places.
5747         (breakAgain): use a temp var for boost::next(rit)
5748         (breakAgainOneRow): ditto
5749         (breakParagraph): use a temp var for rows().begin()
5750         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5751         (cursorRightOneWord): use temp var for cursor.par() and
5752         cursor.pos(), remove usage of tmpcursor.
5753         (cursorLeftOneWord): use temp var for cursor.par() and
5754         cursor.pos() only set cur at end of function.
5755
5756 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * text.C, text2.C: exchange all usage of Paragraph::next with
5759         boost::next(ParagraphList::iterator)
5760
5761         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5762
5763         * text2.C (cursorTop): simplify implementation
5764         (cursorBottom): ditto
5765         (setParagraph): use ParagraphList::iterator
5766         (setCurrentFont): adjust
5767         (getColumnNearX): adjust
5768         (cursorRight): adjust
5769         (cursorLeft): remove usage of Paragraph::previous
5770         (cursorUpParagraph): ditto
5771         (deleteEmptyParagraphMechanism): slight cleanup
5772
5773         * text.C (isBoundary): take a Paragraph const & instead of a
5774         pointer as arg.
5775         (addressBreakPoint): ditto
5776         (leftMargin): remove usage of Paragraph::previous.
5777         (setHeightOfRow): ditto
5778         (cursorLeftOneWord): ditto
5779         (selectNextWordToSpellcheck): ditto
5780         (Delete): ditto
5781         (backspace): ditto
5782         (breakParagraph): remove one usage of Paragraph::next
5783         (redoParagraph): ditto
5784         (acceptChange): ditto
5785         (insertChar): adjust
5786         (rowBreakPoint): adjust
5787
5788         * bufferview_funcs.C (toggleAndShow): adjust
5789
5790 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5791
5792         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5793         methods to access it.
5794         * lyxtext.h:
5795         * text.C: Added updateRowPositions to compute all row positions.
5796         Make top_y and getRowNearY() to use the cached y position
5797
5798 2003-04-11  John Levon  <levon@movementarian.org>
5799
5800         * text.C (rowBreakPoint): reintroduce the labelEnd
5801         checks, code copied from the row fill stuff. Deep voodoo.
5802
5803         * text.C (fill): add a comment and debugging for the
5804         next poor soul.
5805
5806 2003-04-11  John Levon  <levon@movementarian.org>
5807
5808         * text.C: make sure fullrow insets get wrapped to the next line,
5809         even when they're in a manual label
5810
5811 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * text2.C (insertParagraph): make it take ParagraphList::iterator
5814         as arg.
5815         (setLayout): make it return ParagraphList::iterator
5816         (redoParagraphs): ditto
5817         (setCounter): ditto
5818         (checkParagraph): ditto
5819
5820         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5821
5822         * text2.C: adjust several funcs.
5823         (realizeFont): take a ParagraphList::iterator as arg.
5824         (getLayoutFont): ditto
5825         (getLabelFont): ditto
5826         (setCharFont): ditto
5827
5828         * text.C: adjust several funcs.
5829
5830 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5831
5832         * text.C (selectNextWordToSpellcheck): don't accidentally
5833         skip insets
5834
5835 2003-04-10  John Levon  <levon@movementarian.org>
5836
5837         * ToolbarBackend.C (getIcon): special handling for
5838         LFUN_MATH_DELIM
5839
5840 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * text2.C (cursorRight): a getChar assert fixed
5843
5844 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * text2.C (getFont): change to take a ParagraphList::iterator
5847         instead of Paragraph*
5848         Adjust several functions.
5849
5850         * text.C (transformChar): change to take a ParagraphList::iterator
5851         instead of Paragraph*
5852         (singleWidth): ditto
5853         Adjust several functions.
5854
5855         * rowpainter.C: adjust several functions
5856         * rowpainter.h:store a ParagraphList::iterator and not a
5857         Paragraph&.
5858
5859
5860 2003-04-09  John Levon  <levon@movementarian.org>
5861
5862         * lyxfunc.C:
5863         * lfuns.h:
5864         * LyXAction.h:
5865         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5866         and the "help" bits as well
5867
5868 2003-04-09  John Levon  <levon@movementarian.org>
5869
5870         * ToolbarBackend.h:
5871         * ToolbarBackend.C: allow multiple toolbars
5872
5873 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * undo_funcs.C (setCursorParUndo): adjust
5876
5877         * text_funcs.C (transposeChars): adjust
5878
5879         * text3.C (gotoNextInset): adjust
5880         (dispatch): adjust
5881
5882         * text2.C (setLayout): adjust
5883         (changeDepth): adjust
5884         (setFont): adjust
5885         (redoParagraphs): adjust
5886         (selectionAsString): adjust
5887         (setParagraph): adjust
5888         (insertInset): adjust
5889         (cutSelection): adjust
5890         (copySelection): adjust
5891         (pasteSelection): adjust
5892         (insertStringAsLines): adjust
5893         (updateInset): adjust
5894         (setCursor): change to take a ParagraphList::iterator parameter
5895         (setCursorIntern): change to take a ParagraphList::iterator parameter
5896         (setCurrentFont): adjust
5897         (cursorLeft): adjust
5898         (cursorRight): adjust
5899         (deleteEmptyParagraphMechanism): adjust
5900
5901         * text.C (breakParagraph): adjust
5902         (insertChar): adjust
5903         (acceptChange): adjust
5904         (rejectChange): adjust
5905         (selectNextWordToSpellcheck): adjust
5906         (changeCase): adjust
5907         (Delete): adjust
5908         (backspace): adjust
5909
5910         * lyxfind.C (SearchForward): adjust
5911         (SearchBackward): adjust
5912         (nextChange): adjust
5913
5914         * lyxcursor.C (par): adjust
5915
5916         * lyxcursor.h: store a ParagraphList::iterator instead of a
5917         Paragraph*
5918
5919         * lyx_cb.C (getPossibleLabel): adjust
5920
5921         * bufferview_funcs.C (toggleAndShow): adjust
5922
5923         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5924         (dispatch): adjust
5925
5926         * BufferView.C (removeAutoInsets): adjust
5927         (lockedInsetStoreUndo): adjust
5928
5929 2003-04-09  John Levon  <levon@movementarian.org>
5930
5931         * ToolbarBackend.C: try icon without argument
5932         if with argument fails
5933
5934 2003-04-08  John Levon  <levon@movementarian.org>
5935
5936         * ToolbarBackend.h:
5937         * ToolbarBackend.C: add getIcon(), handle tooltip,
5938         and change from "Icon" to "Item".
5939
5940 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * BufferView.C (lockInset): another bad getchar crunched
5943
5944 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5947         again)
5948
5949 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5950
5951         * lyxfind.C (searchForward, searchBackwards): bug 782
5952
5953 2003-04-07  John Levon  <levon@movementarian.org>
5954
5955         * paragraph.C: remove dead comment
5956
5957         * text.C: remove troublesome depth-fiddling code
5958         in leftMargin() and rightMargin() (bug 1017)
5959
5960         * text.C: fix breaking of rows in nested lists
5961         (bug 1004)
5962
5963         * text2.C (updateCounters): fix up depth values
5964         (bug 1013)
5965
5966 2003-04-07  John Levon  <levon@movementarian.org>
5967
5968         * BufferView_pimpl.C: clear message when doc finishes resizing,
5969         and after a mouse event
5970
5971         * lyxfunc.C: clear message after exiting inset
5972
5973 2003-04-07  John Levon  <levon@movementarian.org>
5974
5975         * bufferview_funcs.C: show math status not outside
5976         status in the statusbar
5977
5978 2003-04-07  John Levon  <levon@movementarian.org>
5979
5980         * lyxfunc.C: note status changed after a depth change
5981
5982 2003-04-04  Angus Leeming  <leeming@lyx.org>
5983
5984         * LaTeX.h: move AuxInfo operator==, != out of line.
5985         Remove LaTeX virtual destructor; nothing derives from it.
5986         Move operator()() out of public area and rename it startscript().
5987         Change protected for private.
5988
5989 2003-04-04  Angus Leeming  <leeming@lyx.org>
5990
5991         * lyxfunc.C:
5992         * text2.C: remove unneeded #includes.
5993
5994 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * text2.C (dEPM): fix the heigth of the next row
5997
5998 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * text.C: squashed an invalid getChar requester + some ws changes
6001
6002 2003-04-03  John Levon  <levon@movementarian.org>
6003
6004         * bufferview_funcs.h:
6005         * bufferview_funcs.C:
6006         * lyxfunc.C:
6007         * lyxtext.h:
6008         * text2.C: make getStatus work for the env depth lfuns
6009
6010 2003-04-03  John Levon  <levon@movementarian.org>
6011
6012         * bufferview_funcs.h:
6013         * bufferview_funcs.C:
6014         * lyxfunc.C:
6015         * lyxtext.h:
6016         * text2.C: parlistize decDepth(), by merging it with incDepth()
6017
6018 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * lyxrow.h: store a ParagraphList::iterator instead of a
6021         Paragraph* and adjust other class functions to suit.
6022
6023         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6024         above.
6025
6026 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * text2.C (setCursor): do not anchor to cursor row for the time being
6029
6030 2003-04-02  John Levon  <levon@movementarian.org>
6031
6032         * LyXAction.C:
6033         * lfuns.h:
6034         * lyx_main.C:
6035         * lyxtext.h:
6036         * text.C:
6037         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6038
6039 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * paragraph.h: make ParagraphList and ParagraphList::iterator
6042         friends of Paragraph.
6043
6044         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6045
6046         * ParagraphList.C: Use the private next_ and previous_ from
6047         Paragraph.
6048
6049 2003-04-01  John Levon  <levon@movementarian.org>
6050
6051         * ToolbarBackend.h:
6052         * ToolbarBackend.C:
6053         * Makefile.am: rename, remove defaults gunk
6054
6055         * MenuBackend.h:
6056         * MenuBackend.C: remove defaults gunk
6057
6058         * Languages.h:
6059         * Languages.C: remove defaults gunk
6060
6061         * lyx_main.h:
6062         * lyx_main.C: error out if files couldn't be found.
6063
6064 2003-04-02  John Levon  <levon@movementarian.org>
6065
6066         * text2.C: make incDepth() use parlist
6067
6068 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * undo_funcs.C (firstUndoParagraph): adjust
6071
6072         * text3.C (gotoInset): adjust
6073         (dispatch): adjust, and rewrite loop.
6074
6075         * text2.C (init): adjust, and rewrite loop.
6076         (redoParagraphs): adjust
6077         (updateInset): adjust, and rewrite loop.
6078         (deleteEmptyParagraphMechanism): adjust
6079
6080         * tabular.C (LyXTabular): adjust
6081         (SetMultiColumn): adjust
6082         (TeXRow): adjust
6083
6084         * lyxtext.[Ch] (ownerParagraph): delete function
6085         (ownerParagraphs): new function returns a ParagraphList.
6086
6087         * BufferView.C (removeAutoInsets): adjust
6088         (insertErrors): adjust
6089         (setCursorFromRow): adjust
6090
6091 2003-04-01  Angus Leeming  <leeming@lyx.org>
6092
6093         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6094         in the frontends.
6095
6096 2003-04-02  John Levon  <levon@movementarian.org>
6097
6098         * lyxtext.h:
6099         * text.C:
6100         * Makefile.am:
6101         * text_funcs.h:
6102         * text_funcs.C: make transposeChars a free function
6103
6104         * lyxrow_funcs.C: remove wrong comment
6105
6106 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * lyxtext.h: adjust
6109         * rowpainter.C: adjust
6110         * text.C: adjust
6111         * text2.C: adjust
6112         * text3.C: adjust
6113
6114         * lyxrow_funcs. [Ch]: new files
6115
6116         * lyxrow.[Ch]: remove next and previous pointers
6117         (next,previous): remove accessor functions
6118         (isParEnd): move to lyxrow_funcs
6119         (lastPos): move to lyxrow_funcs
6120         (nextRowIsAllInset): move to lyxrow_funcs
6121         (lastPrintablePos): move to lyxrow_funcs
6122         (numberOfSeparators): move to lyxrow_funcs
6123         (numberOfHfills): move to lyxrow_funcs
6124         (numberOfLabelHfills): move to lyxrow_funcs
6125         (hfillExpansion): move to lyxrow_funcs
6126
6127         * lyxfunc.C: adjust
6128
6129         * bufferview_funcs.C (toggleAndShow): adjust
6130
6131         * RowList.h: Remove class RowList from file leave just a
6132         std::list<Row>.
6133
6134         * RowList.C: delete file
6135
6136         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6137         and lyxrow_funcs.h
6138
6139 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * text3.C (cursorPrevious): adjust
6142         (cursorNext): adjust
6143         (dispatch): adjust
6144
6145         * text2.C (redoHeightOfParagraph): adjust
6146         (redoDrawingOfParagraph): adjust
6147         (setCursor): adjust
6148
6149         * text.C (breakParagraph): adjust
6150         (insertChar): adjust
6151         (backspace): adjust
6152
6153         * rowpainter.C (RowPainter): adjust
6154         (leftMargin): simplify and adjust
6155         (most rowpainter functions): adjust.
6156
6157         * rowpainter.h: store the row as RowList::iterator not as Row*
6158
6159         * lyxcursor.C (row): taka RowList::iterator as arg
6160         (irow): ditto
6161
6162         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6163         of Row*.
6164
6165 2003-04-01  Angus Leeming  <leeming@lyx.org>
6166
6167         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6168         stuff like bool Bool.
6169
6170 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6173         rewrite a loop
6174
6175 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6178         RowList::iterator.
6179
6180         * lyxtext.h (rows): drop one version and leve a const variant that
6181         returns a RowList::iterator.
6182
6183 2003-03-31  Angus Leeming  <leeming@lyx.org>
6184
6185         * text.C (fill): ensure that the signature is the same as that in the
6186         header file.
6187
6188 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * text2.C (redoParagraphs): adjust
6191         (updateCounters): adjust
6192         (checkParagraph): adjust
6193         (getColumnNearX): adjust and reformat a bit.
6194
6195         * text.C (top_y): adjust
6196         (workWidth): adjust
6197         (leftMargin): adjust
6198         (prepareToPrint): adjust
6199         (getRow): adjust
6200         (getRowNearY): adjust
6201
6202         * lyxtext.h: make rowlist_ mutable.
6203
6204         * RowList.h: add const_iterator
6205         * RowList.C: adjust for RowList::const_iterator.
6206
6207         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6208         adjust.
6209
6210 2003-03-31  John Levon  <levon@movementarian.org>
6211
6212         * lyxrc.h:
6213         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6214
6215         * lyx_main.C: set default fonts from using lyx_gui funcs
6216
6217         * exporter.C: pdf_mode moved from lyxrc
6218
6219         * lyx_cb.C:
6220         * lyxfunc.C: changes from above
6221
6222 2003-03-31  John Levon  <levon@movementarian.org>
6223
6224         * lyx_main.C: fix to the last fix
6225
6226 2003-03-31  John Levon  <levon@movementarian.org>
6227
6228         * bufferlist.C: "Load original" -> "Load Original"
6229
6230         * converter.C:
6231         * exporter.C:
6232         * importer.C:
6233         * lyx_main.C:
6234         * format.C: more Alert cleanups
6235
6236 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * text2.C (removeParagraph): make it take a RowList::iterator as
6239         arg, adjust.
6240         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6241         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6242
6243         * text.C (anchor_row): make it take a RowList::iterator as arg,
6244         adjust.
6245         (computeBidiTables): make it take a const reference to Row instead
6246         of Row pointer, adjust.
6247         (leftMargin): make it take a RowList::iterator as arg, adjust.
6248         (rowBreakPoint): adjust
6249         (breakAgainOneRow): make it take a RowList::iterator as arg,
6250         adjust.
6251         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6252
6253         * bufferview_funcs.C (toggleAndShow): adjust
6254
6255 2003-03-30  John Levon  <levon@movementarian.org>
6256
6257         * Makefile.am:
6258         * BoostFormat.h:
6259         * boost-inst.C: moved to support
6260
6261         * several files: changes as a result
6262
6263 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * text2.C (LyXText): adjust.
6266         (init): adjust
6267         (removeRow): make it take a RowList::iterator as arg, adjust.
6268         (fullRebreak): adjust
6269         (deleteEmptyParagraphMechanism): adjust
6270         (clearPaint): adjust
6271         (postPaint): adjust
6272
6273         * text.C (top_y): adjust
6274         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6275         (breakAgain): make it take a RowList::iterator as arg, adjust.
6276         (breakParagraph): adjust
6277         (insertChar): adjust
6278         (backspace): adjust
6279
6280         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6281         need_break_row, and refresh_row.
6282
6283         * text3.C (dispatch): adjust
6284
6285         * text2.C (checkParagraph): adjust
6286         (setCursor): adjust
6287         (setCursorFromCoordinates): adjust
6288
6289         * text.C (top_y): adjust
6290         (workWidth): adjust
6291         (getRow): make it return a RowList::iterator, adjust
6292         (getRowNearY): make it return a RowList::iterator, adjust
6293
6294         * text2.C (init): adjust
6295         (insertRow): remove function
6296         (insertParagraph): adjust
6297         (redoParagraphs): adjust
6298         (fullRebreak): adjust
6299         (updateCounters): adjust
6300
6301         * text.C (top_y): rewrite to use RowList iterators.
6302         (top_y): adjust
6303         (setHeightOfRow): rewrite to sue RowList iterators.
6304         (appendParagraph): adjust
6305         (breakAgain): adjust
6306         (breakAgainOneRow): adjust
6307         (breakParagraph): adjust
6308         (getRow): adjust
6309         (getRowNearY): adjust, and remove commented code.
6310
6311         * lyxtext.h (firstRow): delete function
6312         (lastRow): delete function
6313         (rows): new function (const and non-const versions.)
6314         (insertRow): delete function
6315
6316         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6317
6318 2003-03-29  John Levon  <levon@movementarian.org>
6319
6320         * BufferView_pimpl.C: always update scrollbar top
6321         because pasting text when we're anchored could mean we
6322         miss an update altogether
6323
6324 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * text2.C (init): use rowlist_.end() and not 0.
6327         (insertRow): change to take a RowList::iterator as arg, adjust
6328         for this.
6329         (insertParagraph): change to take a RowList::iterator as arg,
6330         adjust for this.
6331         (redoParagraphs): remove some debug msgs.
6332
6333         * text.C (appendParagraph): change to take a RowList::iterator
6334         arg, adjust for this.
6335         (breakAgain): add an assert
6336         (breakAgainOneRow): ditto
6337
6338 2003-03-29  John Levon  <levon@movementarian.org>
6339
6340         * text2.C: do not clear selection after inc/decDepth
6341         (bug 550)
6342
6343 2003-03-29  John Levon  <levon@movementarian.org>
6344
6345         * BufferView.C:
6346         * buffer.C: fix broken strerrors according to Lars
6347
6348 2003-03-29  John Levon  <levon@movementarian.org>
6349
6350         * converters.C: more Alert cleanups
6351
6352 2003-03-29  John Levon  <levon@movementarian.org>
6353
6354         * bufferview_funcs.C: remove pointless Alert
6355
6356         * buffer.C: fix confusing error message when
6357         a template is chmoded 000
6358
6359 2003-03-29  John Levon  <levon@movementarian.org>
6360
6361         * BufferView.C:
6362         * BufferView.h:
6363         * BufferView_pimpl.C: Alert fixes
6364
6365         * Makefile.am:
6366         * tabular.C:
6367         * tabular-old.C: remove unused table compat reading
6368
6369 2003-03-29  John Levon  <levon@movementarian.org>
6370
6371         * BufferView.C:
6372         * buffer.C:
6373         * lyx_cb.h:
6374         * lyx_cb.C: more Alert cleanups
6375
6376         * lyxfunc.C: don't allow chktex if not latex document
6377
6378 2003-03-29  John Levon  <levon@movementarian.org>
6379
6380         * lyx_cb.C:
6381         * BufferView.C:
6382         * buffer.C: warnings pushed down from support/,
6383         kill err_alert
6384
6385 2003-03-29  John Levon  <levon@movementarian.org>
6386
6387         * lyxfunc.C: safety check for C-r (revert)
6388
6389 2003-03-29  John Levon  <levon@movementarian.org>
6390
6391         * bufferlist.h:
6392         * bufferlist.C: several UI fixes using Alert::prompt.
6393         Fix the pointless looping quit code. Fix stupid revert
6394         behaviour (bug 938)
6395
6396         * lyxvc.h:
6397         * lyxvc.C:
6398         * lyx_cb.C: use Alert::prompt
6399
6400         * lyx_main.C: remove a silly question
6401
6402         * lyxfunc.C: remove a couple of silly questions,
6403         use Alert::prompt
6404
6405 2003-03-28  John Levon  <levon@movementarian.org>
6406
6407         * text2.C: fix bug 974 (End on empty par)
6408
6409 2003-03-28  John Levon  <levon@movementarian.org>
6410
6411         * BufferView_pimpl.C:
6412         * LyXAction.C:
6413         * lfuns.h: remove do-nothing math greek lfuns
6414
6415 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * lyxgluelength.h (isValidGlueLength): add default arg on
6418         parameter 2. Remove default arg from friend in class.
6419
6420         * lyxlength.h (isValidLength): add default arg on parameter 2.
6421         Remove default arg from friend in class.
6422
6423         * text2.C (LyXText): adjust, initialize refresh_row.
6424         (init): adjust
6425         (removeRow): adjust
6426         (insertRow): adjust
6427         (insertParagraph): adjst
6428         (redoParagraphs): adjust
6429         (fullRebreak): adjust
6430         (updateCounters): adjust
6431         (deleteEmptyParagraphMechanism): first attempt at fixing a
6432         crashing bug.
6433
6434         * text.C (top_y): adjust
6435         (setHeightOfRow): adjust
6436         (getRow): adjust
6437         (getRowNearY): adjust
6438
6439         * lyxtext.h: include RowList.h
6440         (~LyXText): not needed anymore, deleted.
6441         (firstRow): modify for RowList
6442         (lastRow): new function
6443         Delete firstrow and lastrow class variables, add a Rowlist
6444         rowlist_ class variable.
6445
6446         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6447         paragraph is empty.
6448
6449         * RowList.C (insert): fix case where it == begin().
6450
6451 2003-03-26  Angus Leeming  <leeming@lyx.org>
6452
6453         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6454         the thesaurus dialog.
6455
6456 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6459
6460         * RowList.[Ch]: new files
6461
6462         * ParagraphList.C (erase): handle the case where it == begin
6463         correctly.
6464
6465 2003-03-25  John Levon  <levon@movementarian.org>
6466
6467         * Makefile.am:
6468         * aspell_local.h:
6469         * aspell.C: add new aspell support
6470
6471         * lyxrc.h:
6472         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6473         have it accessible.
6474
6475 2003-03-25  Angus Leeming  <leeming@lyx.org>
6476
6477         * lfuns.h:
6478         * LyXAction.C (init): new LFUN_INSET_INSERT.
6479
6480         * BufferView_pimpl.C (dispatch): split out part of the
6481         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6482
6483         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6484         LFUN_INSET_APPLY.
6485
6486 2003-03-25  Angus Leeming  <leeming@lyx.org>
6487
6488         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6489
6490 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * text2.C:
6493         * text3.C: remove useless row->height(0)
6494
6495 2003-03-25  John Levon  <levon@movementarian.org>
6496
6497         * lyxtext.h:
6498         * text2.C:
6499         * text3.C: rename the refreshing stuff to better names
6500
6501 2003-03-24  John Levon  <levon@movementarian.org>
6502
6503         * BufferView_pimpl.h:
6504         * BufferView_pimpl.C: update layout choice on a mouse
6505         press/release
6506
6507 2003-03-23  John Levon  <levon@movementarian.org>
6508
6509         * Makefile.am: fix commandtags.h reference
6510
6511 2003-03-22  John Levon  <levon@movementarian.org>
6512
6513         * BufferView_pimpl.C:
6514         * lyxtext.h:
6515         * rowpainter.C:
6516         * rowpainter.h:
6517         * text.C:
6518         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6519
6520 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * lyxtext.h:
6523         * text.C: take the rtl methods out of line
6524
6525 2003-03-21 André Pönitz <poenitz@gmx.net>
6526
6527         * metricsinfo.[Ch]: new files containing structures to be passed around
6528         during the two-phase-drawing...
6529
6530 2003-03-21 André Pönitz <poenitz@gmx.net>
6531
6532         * lyxtextclass.C: read 'environment' tag.
6533
6534 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * text2.C (removeRow): fix bug 964
6537
6538 2003-03-20  John Levon  <levon@movementarian.org>
6539
6540         * rowpainter.C:
6541         * text.C:
6542         * text2.C: paint cleanups. Inset::update() dropped font
6543         parameter
6544
6545 2003-03-19  John Levon  <levon@movementarian.org>
6546
6547         * lyxfunc.C: only fitcursor/markDirty if available()
6548
6549 2003-03-19  John Levon  <levon@movementarian.org>
6550
6551         * commandtags.h: rename to ...
6552
6553         * lfuns.h: ... this, and renumber / cleanup
6554
6555 2003-03-19  John Levon  <levon@movementarian.org>
6556
6557         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6558         fit the cursor after an lfun
6559
6560         * BufferView.h:
6561         * BufferView.C:
6562         * BufferView_pimpl.h:
6563         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6564
6565         * LyXAction.C: layout-character should have ReadOnly
6566
6567         * ParagraphParameters.C:
6568         * buffer.C:
6569         * bufferview_funcs.C:
6570         * lyx_cb.C:
6571         * lyxfind.C:
6572         * lyxtext.h:
6573         * text.C:
6574         * text2.C:
6575         * text3.C:
6576         * undo_funcs.C: changes from above
6577
6578 2003-03-18  John Levon  <levon@movementarian.org>
6579
6580         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6581         remove it from update()
6582
6583         * lyxfunc.C: update layout choice after an lfun
6584
6585         * text3.C: remove extra updateLayoutChoice()s
6586
6587 2003-03-18  John Levon  <levon@movementarian.org>
6588
6589         * text.C: top_y change means full repaint, fix
6590         a drawing bug with cursor movement
6591
6592 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6593
6594         * lyxtext.h:
6595         * text.C:
6596         * text2.C: anchor row on setCursor
6597
6598 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6599
6600         * lyxtext.h: remove almost all mutable keywords
6601         * text.C:
6602         * text2.C:
6603         * text3.C: remove const keywords accordingly
6604
6605 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6608         anon namespace
6609         (TeXEnvironment): ditto
6610         (TeXOnePar): ditto
6611
6612 2003-03-17  John Levon  <levon@movementarian.org>
6613
6614         * text.C (rowBreakPoint): remove attempt to fix displayed
6615         math insets inside a manual label
6616
6617 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * lyxtext.h: remove BufferView* as first arg from almost all class
6620         functions.
6621         * other files: adjust.
6622
6623 2003-03-17  John Levon  <levon@movementarian.org>
6624
6625         * lyxtext.h:
6626         * undo_funcs.C:
6627         * text2.C: more paint cleanups
6628
6629         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6630
6631         * rowpainter.h:
6632         * rowpainter.C: remove "smart" background painting code
6633
6634 2003-03-16  John Levon  <levon@movementarian.org>
6635
6636         * lyxtext.h:
6637         * text.C:
6638         * text2.C:
6639         * text3.C: add helper functions for setting refresh_row/y
6640
6641 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6642
6643         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6644         newline inset which *can* get inserted in the pass_thru layouts.
6645         This is primarily for literate documents.
6646
6647 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6648
6649         * buffer.C: increment LYX_FORMAT to 223
6650
6651 2003-03-14 André Pönitz <poenitz@gmx.net>
6652
6653         * textclass.h: prepare for environment handling, ws changes
6654         * lyxlayout.C: read latexheader and latexfooter tags
6655
6656 2003-03-14  John Levon  <levon@movementarian.org>
6657
6658         * text2.C: rewrite ::status() a bit
6659
6660 2003-03-13  John Levon  <levon@movementarian.org>
6661
6662         * lyxtext.h: add some docs
6663
6664 2003-03-13  John Levon  <levon@movementarian.org>
6665
6666         * lyxtext.h:
6667         * text.C:
6668         * text2.C:
6669         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6670
6671 2003-03-13  John Levon  <levon@movementarian.org>
6672
6673         * text3.C: fix appendix redrawing
6674
6675 2003-03-13  John Levon  <levon@movementarian.org>
6676
6677         * text.C (setHeightOfRow):
6678         * rowpainter.h:
6679         * rowpainter.C: make appendix mark have the text
6680           "Appendix" so the user knows what it is
6681
6682         * LColor.h:
6683         * LColor.C: s/appendixline/appendix/ from above
6684
6685 2003-03-13  John Levon  <levon@movementarian.org>
6686
6687         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6688
6689         * text.C: fix a getChar(pos) bug properly
6690
6691 2003-03-13  Angus Leeming  <leeming@lyx.org>
6692
6693         * commandtags.h:
6694         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6695         Probably only temporary. Let's see how things pan out.
6696
6697         * BufferView.C (unlockInset):
6698         * BufferView_pimpl.C (fitCursor):
6699         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6700
6701         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6702         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6703
6704         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6705         new functions that convert ParagraphParameters to and from a string.
6706
6707         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6708         BufferView::Pimpl's dispatch.
6709         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6710
6711 2003-03-13 André Pönitz <poenitz@gmx.net>
6712
6713         * lyxfunc.C:
6714         * text3.C:
6715         * factory.C: make it aware of InsetEnv
6716
6717 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * text2.C (setCursor): never ask for one past last
6720         (setCursor): add some debugging messages.
6721
6722         * text.C (singleWidth): never ask for one past last
6723         (singleWidth): ditto
6724         (leftMargin): ditto
6725         (rightMargin): ditto
6726         (rowBreakPoint): ditto
6727         (setHeightOfRow): ditto
6728         (prepareToPrint): ditto
6729
6730         * rowpainter.C (paintBackground): never ask for one past last
6731         (paintText): never ask for one past last
6732
6733         * paragraph_pimpl.C (getChar): make the assert stricter, never
6734         allow the one past last pos to be taken
6735
6736         * paragraph.C (getChar): ws changes only
6737
6738         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6739         (numberOfSeparators): ditto
6740         (numberOfHfills): ditto
6741
6742 2003-03-12  John Levon  <levon@movementarian.org>
6743
6744         * author.h:
6745         * author.C:
6746         * bufferparams.h:
6747         * bufferparams.C:
6748         * paragraph_funcs.C: fix per-buffer authorlists
6749
6750 2003-03-12  John Levon  <levon@movementarian.org>
6751
6752         * text.C: fix newline in right address
6753
6754 2003-03-12  Angus Leeming  <leeming@lyx.org>
6755
6756         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6757         duplicate those in LyXFunc::dispatch.
6758
6759         * commandtags.h:
6760         * LyXAction.C:
6761         * ToolbarDefaults.C:
6762         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6763         Add LFUN_FONTFREE_UPDATE.
6764
6765         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6766         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6767
6768         * bufferview_func.[Ch]: several new functions to facilliate
6769         transfer of data to and from the character dialog.
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * buffer.C:
6774         * paragraph.h:
6775         * paragraph.C:
6776         * paragraph_funcs.C:
6777         * paragraph_pimpl.C:
6778         * sgml.C:
6779         * tabular.C:
6780         * text.C:
6781         * text3.C: remove META_NEWLINE in favour of an inset
6782
6783         * rowpainter.h:
6784         * rowpainter.C: remove paintNewline (done by inset)
6785
6786 2003-03-12  John Levon  <levon@movementarian.org>
6787
6788         * paragraph_pimpl.C: complain about bad getChar()s
6789         for a while at least
6790
6791 2003-03-12  John Levon  <levon@movementarian.org>
6792
6793         * buffer.h:
6794         * buffer.C: move paragraph read into a separate function,
6795         a little renaming to reflect that.
6796
6797         * bufferparams.h:
6798         * bufferparams.C: remove the author_ids map, not necessary now
6799
6800         * factory.h:
6801         * factory.C: moved Buffer::readInset to here
6802
6803         * paragraph_funcs.h:
6804         * paragraph_funcs.C: readParagraph free function moved from
6805         buffer.C
6806
6807         * tabular.C: name change
6808
6809 2003-03-12  John Levon  <levon@movementarian.org>
6810
6811         * buffer.C:
6812         * ParagraphParameters.C: move par params input to
6813         a read() method
6814
6815         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6816         behave like a normal read from the stream wrt reading
6817         a line vs. a \\token
6818
6819 2003-03-12  John Levon  <levon@movementarian.org>
6820
6821         * paragraph.C:
6822         * ParagraphParameters.h:
6823         * ParagraphParameters.C: move output code to a
6824         ::write() method
6825
6826 2003-03-12  John Levon  <levon@movementarian.org>
6827
6828         * BufferView.C (insertLyXFile):
6829         * buffer.h:
6830         * buffer.C:
6831         * tabular.C: use a parlist iterator for creating the
6832           document.
6833
6834 2003-03-12  John Levon  <levon@movementarian.org>
6835
6836         * buffer.C: make current_change static local not
6837           static file-scope
6838
6839 2003-03-12  John Levon  <levon@movementarian.org>
6840
6841         * buffer.C: fix insertStringAsLines for change tracking
6842
6843 2003-03-12  John Levon  <levon@movementarian.org>
6844
6845         * BufferView.C:
6846         * tabular.C:
6847         * buffer.h:
6848         * buffer.C:
6849         * bufferparams.h:
6850         * bufferparams.C: move author list into params. Rename some
6851           functions. Move the header reading into a separate token
6852           loop. Move the header token reading into BufferParams.
6853
6854 2003-03-12  John Levon  <levon@movementarian.org>
6855
6856         * changes.C: put debug inside lyxerr.debugging() checks
6857
6858 2003-03-11 André Pönitz <poenitz@gmx.net>
6859
6860         * factory.C: make it aware of InsetHFill
6861
6862 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6863
6864         * buffer.C (latexParagraphs): move function from here...
6865         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6866         args.
6867
6868 2003-03-10  Angus Leeming  <leeming@lyx.org>
6869
6870         * LyXAction.C (init): fix bug in poplating array with multiple entries
6871         with the same LFUN (spotted by JMarc).
6872
6873 2003-03-10  John Levon  <levon@movementarian.org>
6874
6875         * text.C:
6876         * text2.C: move getColumnNearX() near its
6877         only call site
6878
6879 2003-03-10  John Levon  <levon@movementarian.org>
6880
6881         * text.C: fix break before a minipage
6882
6883 2003-03-10  John Levon  <levon@movementarian.org>
6884
6885         * text.C: fix the last commit
6886
6887 2003-03-09  John Levon  <levon@movementarian.org>
6888
6889         * lyxtext.h:
6890         * text.C:
6891         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6892         bug 365 (don't break before insets unless needed). Don't
6893         return a value > last under any circumstances.
6894
6895 2003-03-09  Angus Leeming  <leeming@lyx.org>
6896
6897         * BufferView_pimpl.C (trackChanges, dispatch): call
6898         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6899
6900 2003-03-09  Angus Leeming  <leeming@lyx.org>
6901
6902         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6903         than Dialogs::showAboutlyx().
6904
6905 2003-03-09  Angus Leeming  <leeming@lyx.org>
6906
6907         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6908         than Dialogs::showTabularCreate().
6909
6910 2003-03-09  John Levon  <levon@movementarian.org>
6911
6912         * lyxtext.h:
6913         * text.C:
6914         * text2.C: 3rd arg to nextBreakPoint was always the same.
6915           Use references.
6916
6917 2003-03-08  John Levon  <levon@movementarian.org>
6918
6919         * lyxrow.C:
6920         * paragraph.C:
6921         * paragraph.h:
6922         * rowpainter.C:
6923         * text.C:
6924         * text2.C: Remove the "main" bit from the "main body"
6925           notion.
6926
6927 2003-03-08  John Levon  <levon@movementarian.org>
6928
6929         * text.C (leftMargin): The left margin of an empty
6930         manual label paragraph should not include the label width
6931         string length.
6932
6933         * text.C (prepareToPrint): don't attempt to measure hfills
6934         for empty manual label paragraphs - the answer should be 0
6935
6936 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * CutAndPaste.C: remove commented code and reindent.
6939
6940 2003-03-08  John Levon  <levon@movementarian.org>
6941
6942         * lyxfunc.h:
6943         * lyxfunc.C: move reloadBuffer()
6944
6945         * BufferView.h:
6946         * BufferView.C: to here
6947
6948         * lyxvc.C: add comment
6949
6950         * vc-backend.h:
6951         * vc-backend.C: call bv->reload() to avoid
6952           getStatus() check on MENURELOAD
6953
6954 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6955
6956         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6957         to an old format .dep file.
6958
6959 2003-03-07  Angus Leeming  <leeming@lyx.org>
6960
6961         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6962         when the LFUN_MOUSE_RELEASE should have been handled by
6963         inset->localDispatch.
6964
6965 2003-03-07  Angus Leeming  <leeming@lyx.org>
6966
6967         * BufferView_pimpl.C (dispatch):
6968         * LyXAction.C (init):
6969         * ToolbarDefaults.C (init):
6970         * commandtags.h:
6971         * lyxfunc.C (getStatus):
6972         remove LFUN_INSET_GRAPHICS.
6973
6974         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6975
6976 2003-03-07  Angus Leeming  <leeming@lyx.org>
6977
6978         * commandtags.h:
6979         * LyXAction.C (init):
6980         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6981
6982         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6983
6984         * commandtags.h:
6985         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6986
6987         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6988         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6989
6990 2003-03-07  Angus Leeming  <leeming@lyx.org>
6991
6992         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6993         remove "ert".
6994
6995 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * ParagraphList.C (front): new function
6998         (back): implement
6999
7000 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7001
7002         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7003         and top_row_offset_. removed var first_y.
7004         * text.C (top_y):
7005         * text2.C (LyXText, removeRow):
7006         * text3.C:
7007         * BufferView_pimpl.C:
7008         use these methods instead of using first_y
7009
7010 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * text2.C (pasteSelection): adjust for checkPastePossible
7013
7014         * CutAndPaste.C: remove Paragraph * buf and replace with
7015         ParagraphList paragraphs.
7016         (DeleteBuffer): delete
7017         (cutSelection): change the tc type to textclass_type
7018         (copySelection): change the tc type to textclass_type
7019         (copySelection): adjust for ParagraphList
7020         (pasteSelection): change the tc type to textclass_type
7021         (pasteSelection): adjust for Paragraphlist
7022         (nrOfParagraphs): simplify for ParagraphList
7023         (checkPastePossible): simplify for ParagraphList
7024         (checkPastePossible): remove unused arg
7025
7026         * ParagraphList.C (insert): handle the case where there are no
7027         paragraphs yet.
7028
7029         * CutAndPaste.h: make CutAndPaste a namespace.
7030
7031         * text3.C (dispatch): adjust
7032
7033         * text.C (breakParagraph): add a ParagraphList as arg
7034
7035         * paragraph_funcs.C (breakParagraph): change to take a
7036         BufferParams and a ParagraphList as args.
7037         (breakParagraphConservative): ditto
7038         (mergeParagraph): ditto
7039         (TeXDeeper): add a ParagraphList arg
7040         (TeXEnvironment): ditto
7041         (TeXOnePar): ditto
7042
7043         * buffer.C (readLyXformat2): adjust
7044         (insertStringAsLines): adjust
7045         (latexParagraphs): adjust
7046
7047         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7048         (cutSelection): adjust
7049         (pasteSelection): adjust
7050
7051         * BufferView_pimpl.C (insertInset): adjust
7052
7053 2003-03-05  Angus Leeming  <leeming@lyx.org>
7054
7055         * commandtags.h:
7056         * LyXAction.C (init):
7057         * BufferView_pimpl.C (dispatch):
7058         * lyxfunc.C (getStatus):
7059         remove LFUN_CHILD_INSERT.
7060
7061         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7062
7063 2003-03-05  Angus Leeming  <leeming@lyx.org>
7064
7065         * commandtags.h:
7066         * LyXAction.C (init):
7067         * src/factory.C (createInset):
7068         * lyxfunc.C (getStatus):
7069         * text3.C (dispatch):
7070         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7071
7072         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7073
7074 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * ParagraphList.C (insert): handle insert right before end()
7077         (erase): fix cases where it can be first or last paragraph.
7078
7079 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7082         Paragraph::next and Paragraph::previous
7083         (TeXOnePar): ditto
7084
7085         * text.C (breakParagraph): adjust
7086
7087         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7088         BufferParams& as arg.
7089         (breakParagraph): use ParagraphList::insert
7090         (breakParagraphConservative): take a Buffer* instead of a
7091         BufferParams& as arg.
7092         (breakParagraphConservative): use ParagraphList::insert.
7093
7094         * buffer.C (insertStringAsLines): un-const it
7095         (insertStringAsLines): adjust
7096
7097         * ParagraphList.C (insert): new function
7098
7099         * CutAndPaste.C (pasteSelection): adjust
7100
7101         * text.C (backspace): adjust
7102
7103         * tabular.C (SetMultiColumn): adjust
7104
7105         * CutAndPaste.C (cutSelection): adjust
7106         (pasteSelection): adjust
7107
7108         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7109         Buffer const * as arg
7110
7111         * ParagraphList.C (erase): new function
7112         * paragraph_funcs.C (mergeParagraph): use it
7113         (mergeParagraph): make it take a Buffer* instead of a
7114         BufferParams* as arg
7115
7116         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7117         as arg
7118         (breakParagraphConservative): ditto
7119
7120         * paragraph.h: remove the breakParagraph friend
7121
7122         * paragraph.C (eraseIntern): new function
7123         (setChange): new function
7124
7125         * paragraph_funcs.C (mergeParagraph): make it take a
7126         ParagraphList::iterator instead of a Paragraph *, adjust
7127         accordingly.
7128
7129         * paragraph.h: move an #endif so that the change tracking stuff
7130         also works in the NO_NEXT case.
7131
7132 2003-03-04  Angus Leeming  <leeming@lyx.org>
7133
7134         * commandtags.h:
7135         * LyXAction.C: new LFUN_INSET_MODIFY.
7136
7137         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7138         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7139
7140 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * several files: ws changes only
7143
7144         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7145         (TeXEnvironment): ditto
7146         (TeXDeeper): ditto
7147
7148         * buffer.C (makeLaTeXFile): adjust
7149         (latexParagraphs): make it take ParagraphList::iterator as args
7150
7151 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * buffer.C (latexParagraphs): adjust
7154
7155         * paragraph.C (TeXOnePar): move function...
7156         (optArgInset): move function...
7157         (TeXEnvironment): move function...
7158         * paragraph_pimpl.C (TeXDeeper): move function...
7159         * paragraph_funcs.C: ...here
7160
7161         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7162
7163 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * buffer.C (readInset): remove compability code for old Figure and
7166         InsetInfo insets
7167
7168 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * buffer.C: ws changes
7171         (readInset):
7172
7173         * BufferView_pimpl.C: ditto
7174         * author.C: ditto
7175         * buffer.h: ditto
7176         * bufferlist.h: ditto
7177         * changes.h: ditto
7178         * lyxfunc.C: ditto
7179
7180 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7181
7182         * converter.[Ch]: split into itself +
7183         * graph.[Ch]
7184         * format.[Ch]
7185         * Makefile.am: += graph.[Ch] + format.[Ch]
7186         * MenuBackend.C
7187         * buffer.C
7188         * exporter.C
7189         * importer.C
7190         * lyx_main.C
7191         * lyxfunc.C
7192         * lyxrc.C: added #include "format.h"
7193
7194 2003-02-27  Angus Leeming  <leeming@lyx.org>
7195
7196         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7197           a label.
7198
7199         * factory.C (createInset): add "label" to the factory.
7200
7201         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7202           string and do no more.
7203
7204 2003-02-27  Angus Leeming  <leeming@lyx.org>
7205
7206         * commandtags.h:
7207         * LyXAction.C (init):
7208         * factory.C (createInset):
7209         * BufferView_pimpl.C (dispatch):
7210           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7211
7212         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7213
7214         * lyxfunc.C (dispatch):
7215         * text3.C (dispatch): pass name to params2string.
7216
7217 2003-02-26  Angus Leeming  <leeming@lyx.org>
7218
7219         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7220           blocks together.
7221           Rearrange the ~includes. Strip out the unnecessary ones.
7222
7223         * factory.C (createInset): reformat.
7224           create new insets for the various LFUN_XYZ_APPLY lfuns.
7225
7226 2003-02-26  John Levon  <levon@movementarian.org>
7227
7228         * lyxrow.h:
7229         * lyxrow.C: add isParStart,isParEnd helpers
7230
7231         * paragraph.h: make isInserted/DeletedText take refs
7232
7233         * paragraph_funcs.h:
7234         * paragraph_funcs.C: remove #if 0'd code
7235
7236         * lyxtext.h:
7237         * text3.C:
7238         * text2.C:
7239         * text.C: use lyxrow helpers above.
7240           Move draw and paint routines to RowPainter.
7241           Make several methods use refs not pointers.
7242           Make backgroundColor() const.
7243           Add markChangeInDraw(), isInInset().
7244           Merge changeRegionCase into changeCase.
7245           Make workWidth() shouldn't-happen code into an Assert.
7246
7247         * rowpainter.h:
7248         * rowpainter.C: new class for painting a row.
7249
7250         * vspace.h:
7251         * vspace.C: make inPixels take a ref
7252
7253 2003-02-26  Angus Leeming  <leeming@lyx.org>
7254
7255         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7256         LFUN_REF_APPLY.
7257
7258 2003-02-25  John Levon  <levon@movementarian.org>
7259
7260         * ispell.C: give the forked command a more accurate name
7261
7262 2003-02-22  John Levon  <levon@movementarian.org>
7263
7264         * toc.h:
7265         * toc.C: make TocItem store an id not a Paragraph *
7266           (bug #913)
7267
7268 2003-02-21  Angus Leeming  <leeming@lyx.org>
7269
7270         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7271           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7272           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7273           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7274           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7275           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7276
7277         * BufferView_pimpl.C (dispatch):
7278         * LyXAction.C (init):
7279         * factory.C (createInset):
7280         * lyxfunc.C (getStatus, dispatch):
7281         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7282
7283 2003-02-21  Angus Leeming  <leeming@lyx.org>
7284
7285         * BufferView_pimpl.C (MenuInsertLyXFile):
7286         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7287         * lyxfunc.C (menuNew, open, doImport):
7288           no longer pass a LyXView & to fileDlg.
7289
7290 2003-02-21  Angus Leeming  <leeming@lyx.org>
7291
7292         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7293         * LyXAction.C: change, BIBKEY to BIBITEM.
7294         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7295         Change InsetBibKey to InsetBibitem.
7296         Change BIBKEY_CODE to BIBITEM_CODE.
7297         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7298         * factory.C: replace insetbib.h with insetbibitem.h.
7299         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7300         * paragraph.C: replace insetbib.h with insetbibitem.h.
7301         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7302         Change bibkey() to bibitem().
7303         * text.C: remove insetbib.h.
7304         * text2.C: replace insetbib.h with insetbibitem.h.
7305         change bibkey() to bibitem().
7306         * text3.C: remove insetbib.h.
7307         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7308
7309 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7310
7311         * lyxrc.C (output): enclose user email in quotes (in case there are
7312         several words)
7313
7314 2003-02-18  John Levon  <levon@movementarian.org>
7315
7316         * buffer.h: add std::
7317
7318 2003-02-17  John Levon  <levon@movementarian.org>
7319
7320         * SpellBase.h:
7321         * ispell.h:
7322         * ispell.C:
7323         * pspell.h:
7324         * pspell.C: reworking. Especially in ispell, a large
7325           number of clean ups and bug fixes.
7326
7327         * lyxfunc.C: fix revert to behave sensibly
7328
7329 2003-02-17 André Pönitz <poenitz@gmx.net>
7330
7331         * LyXAction.C:
7332         * commandtags.h: new LFUN_INSERT_BIBKEY
7333
7334         * layout.h:
7335         * lyxlayout.C:
7336         * buffer.C:
7337         * factory.C:
7338         * text.C:
7339         * text2.C:
7340         * text3.C:
7341         * paragraph.[Ch]:
7342         * paragraph_func.C: remove special bibkey handling
7343
7344 2003-02-17  John Levon  <levon@movementarian.org>
7345
7346         * text.C (Delete): fix case where delete at the end of
7347           the very first paragraph would not merge the pars
7348
7349 2003-02-17  John Levon  <levon@movementarian.org>
7350
7351         * lyxrow.C: fix lastPrintablePos()
7352
7353 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7354
7355         * bufferparams.C (writeLaTeX): add a std:here
7356
7357         * buffer.C: and remove a using directive there
7358
7359 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7360
7361         * buffer.C (makeLaTeXFile): move the code that generates the
7362           preamble...
7363
7364         * bufferparams.C (writeLaTeX): ... in this new method
7365
7366         * LaTeXFeatures.C (getEncodingSet): make const
7367           (getLanguages): make const
7368
7369         * MenuBackend.C (binding): returns the binding associated to this
7370           action
7371           (add): sets the status of each item by calling getStatus. Adds
7372           some intelligence.
7373           (read): add support for OptSubMenu
7374           (expand): remove extra separator at the end of expanded menu
7375
7376 2003-02-15  John Levon  <levon@movementarian.org>
7377
7378         * BufferView.C:
7379         * BufferView_pimpl.C:
7380         * bufferlist.h:
7381         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7382           inset code that had no actual effect. Remove unneeded status
7383           code.
7384
7385 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7386
7387         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7388           in preamble
7389
7390 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7391
7392         * text.C (drawLengthMarker): also draw an arrow marker for
7393           symbolic lengths (medskip...)
7394
7395 2003-02-14  John Levon  <levon@movementarian.org>
7396
7397         * tabular.h:
7398         * tabular.C: better method names
7399
7400 2003-02-14  John Levon  <levon@movementarian.org>
7401
7402         * BufferView_pimpl.C:
7403         * bufferlist.C:
7404         * buffer.C:
7405         * converter.C:
7406         * lyx_cb.C:
7407         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7408           it's a more accurate name. Remove some pointless uses.
7409
7410 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7411
7412         * text2.C (LyXText): change order of initilizers to shut off
7413           warnings
7414
7415 2003-02-14  John Levon  <levon@movementarian.org>
7416
7417         * buffer.C: use ParIterator for getParFromID()
7418
7419         * paragraph.h:
7420         * paragraph.C:
7421         * paragraph_pimpl.h:
7422         * paragraph_pimpl.C: remove unused getParFromID()
7423
7424 2003-02-14  John Levon  <levon@movementarian.org>
7425
7426         * buffer.C: remove some very old #if 0'd parse code
7427
7428 2003-02-13  John Levon  <levon@movementarian.org>
7429
7430         * text.h:
7431         * text.C:
7432         * text2.C: move hfillExpansion(), numberOfSeparators(),
7433           rowLast(), rowLastPrintable(), numberofHfills(),
7434           numberOfLabelHfills() ...
7435
7436         * lyxrow.h:
7437         * lyxrow.C: ... to member functions here.
7438
7439         * paragraph.h:
7440         * paragraph.C:
7441         * lyxtext.h:
7442         * text.C: remove LyXText::beginningOfMainBody(), and call
7443           p->beginningOfMainBody() directly. Move the check for
7444           LABEL_MANUAL into the latter.
7445
7446         * text.h:
7447         * text.C:
7448         * text2.C:
7449         * vspace.C:
7450         * BufferView.h:
7451         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7452
7453         * text.h:
7454         * text.C:
7455         * text2.C:
7456         * text3.C:
7457         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7458           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7459
7460 2003-02-13  John Levon  <levon@movementarian.org>
7461
7462         * CutAndPaste.C: remove debug
7463
7464 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7465
7466         * paragraph.C (asString): remove two unused variables
7467
7468         * lyxtextclass.C (readTitleType):
7469           (Read):
7470           (LyXTextClass): handle new members titletype_ and titlename_
7471
7472         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7473
7474 2003-02-09  John Levon  <levon@movementarian.org>
7475
7476         * buffer.h:
7477         * buffer.C: replace hand-coded list with a map for the dep clean
7478
7479 2003-02-08  John Levon  <levon@movementarian.org>
7480
7481         * LaTeX.C: consolidate code into showRunMessage() helper
7482
7483 2003-02-08  John Levon  <levon@movementarian.org>
7484
7485         * lyxfind.C:
7486         * lyxtext.h:
7487         * text2.C:
7488         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7489           and pass the size in explicitly
7490
7491         * BufferView_pimpl.h:
7492         * BufferView_pimpl.C:
7493         * BufferView.h:
7494         * BufferView.C: add getCurrentChange()
7495
7496         * BufferView_pimpl.h:
7497         * BufferView_pimpl.C: handle change lfuns
7498
7499         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7500           for changes. Mark pasted paragraphs as new.
7501
7502         * support/lyxtime.h:
7503         * support/lyxtime.C:
7504         * DepTable.C: abstract time_t as lyx::time_type
7505
7506         * LColor.h:
7507         * LColor.C: add colours for new text, deleted text, changebars
7508
7509         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7510           package use "usenames" option.
7511
7512         * commandtags.h:
7513         * lyxfunc.C:
7514         * LyXAction.C: add change lfuns
7515
7516         * Makefile.am:
7517         * author.h:
7518         * author.C: author handling
7519
7520         * buffer.h:
7521         * buffer.C: add a per-buffer author list, with first entry as
7522           current author. Handle new .lyx tokens for change tracking. Output
7523           author list to .lyx file. Output dvipost stuff to .tex preamble.
7524           Bump lyx format to 222.
7525
7526         * bufferlist.h:
7527         * bufferlist.C: add setCurrentAuthor() to reset current author details
7528           in all buffers.
7529
7530         * bufferparams.h:
7531         * bufferparams.C: add param for tracking
7532
7533         * bufferview_funcs.C: output change info in minibuffer
7534
7535         * Makefile.am:
7536         * changes.h:
7537         * changes.C: add change-tracking structure
7538
7539         * debug.h:
7540         * debug.C: add CHANGES debug flag
7541
7542         * lyxfind.h:
7543         * lyxfind.C: add code for finding the next change piece
7544
7545         * lyxrc.h:
7546         * lyxrc.C: add user_name and user_email
7547
7548         * lyxrow.h:
7549         * lyxrow.C: add a metric for the top of the text line
7550
7551         * lyxtext.h:
7552         * text.C: implement accept/rejectChange()
7553
7554         * lyxtext.h:
7555         * text.C: paint changebars. Paint new/deleted text in the chosen
7556         colours. Strike through deleted text.
7557
7558         * paragraph.h:
7559         * paragraph.C:
7560         * paragraph_pimpl.h:
7561         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7562           in the current change to the insert functions. Rework erase to
7563           mark text as deleted, adding an eraseIntern() and a range-based
7564           erase(). Implement per-paragraph change lookup and
7565           accept/reject.
7566
7567         * paragraph_funcs.C: Fixup paste for change tracking.
7568
7569         * tabular.C: mark added row/columns as new.
7570
7571         * text.C: fix rowLast() to never return -1. Don't allow
7572           spellchecking of deleted text. Track transpose changes. Don't
7573           allow paragraph break or merge where appropriate.
7574
7575         * text2.C: leave cursor at end of selection after a cut.
7576
7577 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7578
7579         * text.C (getLengthMarkerHeight):
7580         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7581         visible on screen too.
7582
7583 2003-02-07  John Levon  <levon@movementarian.org>
7584
7585         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7586
7587 2003-02-05  Angus Leeming  <leeming@lyx.org>
7588
7589         * lyxserver.C (read_ready): revert my patch of 11 September last year
7590         as it sends PC cpu through the roof. Presumably this means that
7591         the lyxserver will no longer run on an Alpha...
7592
7593 2003-01-30  Angus Leeming  <leeming@lyx.org>
7594
7595         * factory.C (createInset): create an InsetCommandParam of type "index"
7596         and use it to 'do the right thing'.
7597
7598         * text2.C (getStringToIndex): ensure that cursor position is always
7599         reset to the reset_cursor position.
7600
7601 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7602
7603         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7604         disabled.
7605
7606 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7607
7608         * bufferview.C:
7609         * lyxcb.C:
7610         * lyxfunc.C: Output messages with identical spelling, punctuation,
7611         and spaces
7612
7613 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7614
7615         * MenuBackend.C (expandFormats): List only viewable export formats
7616         in "View" menu
7617
7618         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7619         message
7620
7621         * lyxfunc.C (getStatus): Make sure that formats other than
7622         "fax" can also be disabled
7623
7624 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7625
7626         * text3.C (dispatch): put the lfuns that insert insets in 3
7627         groups, and call doInsertInset with appropriate arguments.
7628         (doInsertInset): new function, that creates an inset and inserts
7629         it according to some boolean parameters.
7630
7631 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * buffer.C (readFile): remember to pass on 'par' when calling
7634         readFile recursively.
7635
7636 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7637
7638         * MenuBackend.C (expandFormats): add "..." to import formats.
7639
7640 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7641
7642         * paragraph.C (asString): Remove XForms RTL hacks.
7643
7644 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7645         * buffer.C: fix typo
7646
7647 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * Makefile.am (LIBS): delete var
7650         (lyx_LDADD): add @LIBS@ here instead.
7651
7652 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7653
7654         * Clarify the meaning of "wheel mouse jump"
7655
7656 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7657
7658         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7659         tabular in a float
7660
7661 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7662
7663         * importer.C (Loaders): do not preallocate 3 elements in the
7664         vector, since one ends up with 6 elements otherwise
7665
7666 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7667
7668         * DepTable.C (write): write the file name as last element of the
7669         .dep file (because it may contain spaces)
7670         (read): read info in the right order
7671
7672 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7673
7674         * paragraph_pimpl.C (simpleTeXBlanks):
7675         (simpleTeXSpecialChars):
7676         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7677
7678         * tabular.C (latex): add some missing case statements. Reindent.
7679
7680         * MenuBackend.C (expandToc): remove unused variable.
7681
7682 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7683
7684         * LColor.C:
7685         * LaTeX.C:
7686         * LyXAction.C:
7687         * MenuBackend.C:
7688         * buffer.C:
7689         * exporter.C:
7690         * lyxfunc.C:
7691         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7692         and the like.
7693
7694 2003-01-05  John Levon  <levon@movementarian.org>
7695
7696         * BufferView.h:
7697         * BufferView.C: add getEncoding()
7698
7699         * kbsequence.h:
7700         * kbsequence.C: do not store last keypress
7701
7702         * lyxfunc.h:
7703         * lyxfunc.C: store last keypress here instead. Pass encoding
7704           to getISOEncoded()
7705
7706 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7707
7708         * lyx_main.C (init): remove annoying error message when following
7709         symbolic links (bug #780)
7710
7711 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7712
7713         * text.C (insertChar):
7714         * lyxrc.C (getDescription): remove extra spaces
7715
7716 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7717
7718         * lyxrc.C (getDescription): remove extra spaces
7719
7720 2002-12-20  John Levon  <levon@movementarian.org>
7721
7722         * text3.C: hack fix for page up/down across tall rows
7723
7724 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7725
7726         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7727         not been invoked
7728
7729 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7730
7731         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7732         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7733         thesaurus is not compiled in
7734
7735 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7736
7737         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7738
7739 2002-12-16  Angus Leeming  <leeming@lyx.org>
7740
7741         * lyxrc.[Ch]:
7742         * lyx_main.C (init): remove override_x_deadkeys stuff.
7743
7744 2002-12-12  John Levon  <levon@movementarian.org>
7745
7746         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7747           insert. Only remove shift modifier under strict
7748           circumstances.
7749
7750 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * MenuBackend.C (expandToc): fix crash.
7753
7754 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * MenuBackend.C (expandToc): gettext on float names.
7757
7758 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7759
7760         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7761         implement bool empty() [bug 490]
7762
7763 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7766
7767 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * several files: ws changes
7770
7771 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * text2.C (setCounter): clean up a bit, use boost.format.
7774         (updateCounters): initialize par upon declaration.
7775
7776         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7777         if the layout exists. We do not just store the layout any more.
7778         (SwitchLayoutsBetweenClasses): use boost.format
7779
7780 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7781
7782         * converter.C (convert): if from and to files are the same, use a
7783         temporary files as intermediary
7784
7785 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7786
7787         * commandtags.h:
7788         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7789
7790 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7791
7792         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7793
7794 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * tabular.C (asciiPrintCell): use string(size, char) instead of
7797         explicit loop.
7798
7799         * sgml.C (openTag): fix order of arguments to string constructor
7800         (closeTag): ditto
7801
7802         * lyxfunc.C (dispatch): use boost.format
7803
7804         * lots of files: change "c" -> 'c'
7805
7806 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7807
7808         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7809
7810 2002-11-25  Angus Leeming  <leeming@lyx.org>
7811
7812         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7813
7814         * lyx_main.C (init): compile fix.
7815
7816 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * lyx_cb.C (start): boost.formatify
7819         do not include <iostream>
7820
7821         * lengthcommon.C: ws only
7822
7823         * boost-inst.C,BoostFormat.h: add more explict instantations
7824
7825 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * lots of files: handle USE_BOOST_FORMAT
7828
7829 2002-11-21  John Levon  <levon@movementarian.org>
7830
7831         * pspell.C: fix compile
7832
7833 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7834
7835         * lyxfunc.C (dispatch): use boost::format
7836         (open): ditto
7837         (doImport): ditto
7838
7839         * lyxfont.C (stateText): use boost::format
7840
7841         * lyx_main.C (LyX): use boost::format
7842         (init): ditto
7843         (queryUserLyXDir): ditto
7844         (readRcFile): ditto
7845         (parse_dbg): ditto
7846         (typedef boost::function): use the recommened syntax.
7847
7848         * importer.C (Import): use boost::format
7849
7850         * debug.C (showLevel): use boost::format
7851
7852         * converter.C (view): use boost::format
7853         (convert): ditto
7854         (move): ditto
7855         (scanLog): ditto
7856
7857         * bufferview_funcs.C (currentState): use boost::format
7858
7859         * bufferlist.C (emergencyWrite): use boost::format
7860
7861         * buffer.C (readLyXformat2): use boost::format
7862         (parseSingleLyXformat2Token): ditto
7863
7864         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7865
7866         * LaTeX.C (run): use boost::format
7867
7868         * Chktex.C (scanLogFile): use boost::format
7869
7870         * BufferView_pimpl.C (savePosition): use boost::format
7871         (restorePosition): ditto
7872         (MenuInsertLyXFile): ditto
7873
7874         * BoostFormat.h: help file for explicit instation.
7875
7876 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7877
7878         * tabular.C (latex): Support for block alignment in fixed width
7879         columns.
7880
7881 2002-11-17  John Levon  <levon@movementarian.org>
7882
7883         * BufferView_pimpl.C:
7884         * lyx_cb.C:
7885         * lyxfunc.C: split filedialog into open/save
7886
7887 2002-11-08  Juergen Vigna  <jug@sad.it>
7888
7889         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7890         by my last patch (hopefully).
7891
7892 2002-11-08  John Levon  <levon@movementarian.org>
7893
7894         * iterators.h:
7895         * iterators.C:
7896         * buffer.h:
7897         * buffer.C:
7898         * paragraph.h:
7899         * paragraph.C:
7900         * toc.h:
7901         * toc.C: ParConstIterator, and use it (from Lars)
7902
7903 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7904
7905         * lyxtextclass.[Ch]: revise and add doxygen comments
7906
7907 2002-11-07  John Levon  <levon@movementarian.org>
7908
7909         * text.C: fix progress value for spellchecker
7910
7911         * toc.C: fix navigate menu for insetwrap inside minipage
7912
7913         * paragraph_funcs.C: added FIXME for suspect code
7914
7915 2002-11-07  John Levon  <levon@movementarian.org>
7916
7917         * BufferView_pimpl.C: fix redrawing of insets
7918           on buffer switch
7919
7920 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7921
7922         * text2.C (updateCounters): fix bug 668
7923
7924 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7925
7926         * text3.C (dispatch): Do not make the buffer dirty when moving the
7927         cursor.
7928
7929 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * vc-backend.C: STRCONV
7932         (scanMaster): ditto
7933
7934         * text2.C (setCounter): STRCONV
7935
7936         * paragraph.C (asString): STRCONV
7937
7938         * lyxlength.C (asString): STRCONV
7939         (asLatexString): ditto
7940
7941         * lyxgluelength.C (asString): STRCONV
7942         (asLatexString): ditto
7943
7944         * lyxfunc.C (dispatch): STRCONV
7945         (open): ditto
7946
7947         * lyxfont.C (stateText): STRCONV
7948
7949         * importer.C (Import): STRCONV
7950
7951         * counters.C (labelItem): STRCONV
7952         (numberLabel): ditto
7953         (numberLabel): remove unused ostringstream o
7954
7955         * chset.C: STRCONV
7956         (loadFile): ditto
7957
7958         * bufferview_funcs.C (currentState): STRCONV
7959
7960         * buffer.C (readFile): STRCONV
7961         (asciiParagraph): ditto
7962         (makeLaTeXFile): ditto
7963
7964         * Spacing.C (writeEnvirBegin): STRCONV
7965
7966         * LaTeXFeatures.C (getLanguages): STRCONV
7967         (getPackages): ditto
7968         (getMacros): ditto
7969         (getBabelOptions): ditto
7970         (getTClassPreamble): ditto
7971         (getLyXSGMLEntities): ditto
7972         (getIncludedFiles): ditto
7973
7974         * LaTeX.C: STRCONV
7975         (run): ditto
7976         (scanAuxFile): ditto
7977         (deplog): ditto
7978
7979         * LString.h: add the STRCONV macros
7980
7981         * BufferView_pimpl.C (savePosition): STRCONV
7982         (restorePosition): ditto
7983         (MenuInsertLyXFile): ditto
7984
7985         * vc-backend.C (scanMaster): change from submatch[...] to
7986         submatch.str(...)
7987
7988         * funcrequest.C: include config.h
7989
7990         * factory.C: include config.h
7991
7992         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7993
7994         * box.C: include config.h
7995
7996         * LaTeX.C (scanAuxFile): change from submatch[...] to
7997         submatch.str(...)
7998         (deplog): ditto
7999
8000 2002-10-25  Angus Leeming  <leeming@lyx.org>
8001
8002         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8003
8004         * ispell.[Ch] (setError): new method.
8005         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8006         Use setError() insetead of goto END.
8007
8008         * lyx_cb.C (AutoSave): move out child process into new class
8009         AutoSaveBuffer.
8010
8011 2002-10-30  John Levon  <levon@movementarian.org>
8012
8013         * text3.C: make start appendix undoable
8014
8015 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8016
8017         * lyxlength.C (inPixels): Fix returned value.
8018
8019         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8020         environment.
8021
8022 2002-10-24  Angus Leeming  <leeming@lyx.org>
8023
8024         * lyxgluelength.h: no need to forward declare BufferParams
8025         or BufferView, so don't.
8026
8027 2002-10-21  John Levon  <levon@movementarian.org>
8028
8029         * BufferView.C: menuUndo ->undo, redo
8030
8031         * BufferView.h: document, remove dead, make some methods private
8032
8033         * paragraph_funcs.h:
8034         * paragraph_funcs.C:
8035         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8036
8037         * buffer.h:
8038         * buffer.C:
8039         * sgml.h:
8040         * sgml.C: move sgml open/close tag into sgml.C
8041
8042         * bufferview_funcs.h: unused prototype
8043
8044         * lyxfunc.h:
8045         * lyxfunc.C: remove unused
8046
8047         * lyxtext.h:
8048         * text.C: remove unused
8049
8050 2002-10-21  John Levon  <levon@movementarian.org>
8051
8052         * BufferView.h:
8053         * BufferView.C:
8054         * BufferView_pimpl.h:
8055         * BufferView_pimpl.C: fix mouse wheel handling based on
8056           patch from Darren Freeman
8057
8058 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8059
8060         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8061
8062 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8063
8064         * lyxlength.C (inPixels): Fix hanfling of negative length.
8065         Fix LyXLength::MU case.
8066
8067 2002-10-16  John Levon  <levon@movementarian.org>
8068
8069         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8070
8071 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8072
8073         * converter.C (view): add support for $$i (file name) and $$p
8074         (file path) for the viewer command. If $$i is not specified, then
8075         it is appended to the command (for compatibility with old syntax)
8076
8077 2002-10-14  Juergen Vigna  <jug@sad.it>
8078
8079         * undo_funcs.C (textHandleUndo): alter the order in which the
8080         new undopar is added to the LyXText, as we have to set first
8081         the right prev/next and then add it as otherwise the rebuild of
8082         LyXText is not correct. Also reset the cursor to the right paragraph,
8083         with this IMO we could remove the hack in "redoParagraphs()".
8084
8085 2002-10-09  Angus Leeming  <leeming@lyx.org>
8086
8087         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8088         to turn off an optimisation if a new inset is to be inserted.
8089
8090 2002-10-11 André Pönitz <poenitz@gmx.net>
8091
8092         * lyxtext.h: make some functions public to allow access
8093         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8094
8095 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8096
8097         * text3.C (dispatch): when changing layout, avoid an infinite loop
8098         [bug #652]
8099
8100 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8101
8102         * lyxrc.C (read): treat a viewer or converter command of "none" as
8103         if it were empty.
8104
8105         * MenuBackend.C (expandFormats): for an update, also allow the
8106         formats that are not viewable
8107
8108         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8109         script if it is newer than the lyxrc.defaults in user directory
8110
8111 2002-10-07 André Pönitz <poenitz@gmx.net>
8112
8113         * text.C: Vitaly Lipatov's small i18n fix
8114
8115 2002-09-25  Angus Leeming  <leeming@lyx.org>
8116
8117         * ispell.h: doxygen fix.
8118
8119 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8120
8121         * buffer.h (readFile): Add a new argument to the method, to allow
8122         reading of old-format templates.
8123
8124 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * toc.C (getTocList): Get TOC from InsetWrap.
8127
8128 2002-09-16  John Levon  <levon@movementarian.org>
8129
8130         * lyxfunc.C: check tabular for cut/copy too
8131
8132 2002-09-12  John Levon  <levon@movementarian.org>
8133
8134         * LyXAction.C: tidy
8135
8136         * factory.h:
8137         * factory.C: add header
8138
8139         * paragraph_funcs.h:
8140         * paragraph_funcs.C: cleanup
8141
8142 2002-09-11  John Levon  <levon@movementarian.org>
8143
8144         * PrinterParams.h: odd/even default to true
8145
8146 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8147
8148         * PrinterParams.h: update printer parameters for new xforms dialog
8149
8150 2002-09-11  Angus Leeming  <leeming@lyx.org>
8151
8152         * lyxserver.C (read_ready): re-write to make it more transparent
8153         and to make it work in coherent fashion under Tru64 Unix.
8154
8155 2002-09-11  André Pönitz <poenitz@gmx.net>
8156
8157         * commandtags.h:
8158         * LyXAction.C:
8159         * text3.C: implement LFUN_WORDSEL
8160
8161 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8164         make floatlist_ a boost::shared_ptr<FloatList>
8165
8166         * lyxtextclass.C: include FloatList.h
8167         (LyXTextClass): initialize floatlist_
8168         (TextClassTags): add TC_NOFLOAT
8169         (Read): match "nofloat" to TC_NOFLOAT and use it.
8170         (readFloat): modify call to floatlist_
8171         (floats): ditto
8172         (floats): ditto
8173
8174         * FloatList.[Ch] (FloatList): remove commented out float
8175         initialization.
8176         (erase): new function
8177
8178 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8179
8180         * MenuBackend.C (expandToc): fix crash when there is no document
8181         open
8182
8183 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8184
8185         * many files: Add insetwrap.
8186
8187 2002-09-09  John Levon  <levon@movementarian.org>
8188
8189         * text2.C: remove confusing and awkward depth wraparound
8190
8191 2002-09-09  John Levon  <levon@movementarian.org>
8192
8193         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8194
8195         * buffer.h:
8196         * buffer.C: remove getIncludeonlyList()
8197
8198         * paragraph.C:
8199         * lyxfunc.C: remove headers
8200
8201 2002-09-09  Juergen Vigna  <jug@sad.it>
8202
8203         * text.C (getColumnNearX): fix form Michael this is most
8204         probably a cut&paste bug.
8205
8206 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8209
8210         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8211         references, ws changes.
8212
8213         * text2.C (init): update counters after init
8214         (insertParagraph): no need to set counter on idividual paragraphs.
8215         (setCounter): access the counters object in the textclass object
8216         on in the buffer object.
8217         (updateCounters): ditto
8218
8219         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8220         shared_ptr<Counters> to avoid loading counters.h in all
8221         compilation units.
8222         (LyXTextClass): initialize ctrs_
8223         (TextClassTags): add TC_COUNTER, and ...
8224         (Read): use it here.
8225         (CounterTags): new tags
8226         (readCounter): new function
8227         (counters): new funtion
8228         (defaultLayoutName): return a const reference
8229
8230         * counters.C (Counters): remove contructor
8231         (newCounter): remove a couple of unneeded statements.
8232         (newCounter): simplify a bit.
8233         (numberLabel): some small formatting changes.
8234
8235         * buffer.[Ch]: remove all traces of counters, move the Counters
8236         object to the LyXTextClass.
8237
8238 2002-09-06  Alain Castera  <castera@in2p3.fr>
8239
8240         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8241         package to set the horizontal alignment on fixed width columns.
8242
8243         * lyx_sty.C:
8244         * lyx_sty.h: added tabularnewline macro def.
8245
8246         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8247
8248 2002-09-06  John Levon  <levon@movementarian.org>
8249
8250         * LyXAction.C: tooltips for sub/superscript
8251
8252         * MenuBackend.C: a bit more verbose
8253
8254         * lyxfunc.C: tiny clean
8255
8256         * undo_funcs.C: document undo_frozen
8257
8258 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * counters.C (Counters): add missing algorithm counter.
8261
8262         * text2.C (setCounter): lookup the counter with layouts latexname
8263         instead of by section number.
8264         (setCounter): use a hackish way to lookup the correct enum
8265         counter.
8266         a float name->type change
8267         reset enum couners with counter name directly instead of depth value.
8268
8269         * counters.C (Counters): remove the push_backs, change to use the
8270         float type not the float name.
8271         (labelItem): remove unused string, float name->type change
8272
8273         * counters.h: don't include vector, loose the enums and sects vectors
8274
8275 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8278         (Read): add float->TC_FLOAT to textclassTags
8279         (Read): and handle it in the switch
8280         (readFloat): new function
8281
8282         * FloatList.C (FloatList): comment out the hardcoded float
8283         definitions.
8284
8285         * lyxlayout.h: ws change.
8286
8287 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8288
8289         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8290
8291 2002-09-03  Angus Leeming  <leeming@lyx.org>
8292
8293         * BufferView_pimpl.h: qualified name is not allowed in member
8294         declaration: WorkArea & Pimpl::workarea() const;
8295
8296         * factory.C: added using std::endl directive.
8297
8298         * text3.C: added using std::find and std::vector directives.
8299
8300 2002-08-29  André Pönitz <poenitz@gmx.net>
8301
8302         * lyxtext.h:
8303         * text2.C: remove unused member number_of_rows
8304
8305         * Makefile.am:
8306         * BufferView2.C: remove file, move contents to...
8307         * BufferView.C: ... here
8308
8309         * BufferView_pimpl.C:
8310         * factory.C: move more inset creation to factory
8311
8312         * vspace.C: avoid direct usage of LyXText, ws changes
8313
8314         * BufferView.[Ch]:
8315                 don't provide direct access to WorkArea, use two simple
8316                 acessors haveSelction() and workHeight() instead
8317
8318
8319 2002-08-29  John Levon  <levon@movementarian.org>
8320
8321         * BufferView_pimpl.C (dispatch): do not continue when
8322           no buffer
8323
8324 2002-08-28  André Pönitz <poenitz@gmx.net>
8325
8326         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8327
8328         * BufferView.h:
8329         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8330
8331 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8332
8333         * buffer.C: increment LYX_FORMAT to 221
8334
8335         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8336         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8337
8338         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8339
8340         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8341
8342 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * factory.C (createInset): use LyXTextClass::floats
8345
8346         * MenuBackend.C (expandFloatListInsert):
8347         (expandFloatInsert):
8348         (expandToc):
8349
8350         * text2.C (setCounter):
8351
8352         * LaTeXFeatures.C (useFloat):
8353         (getFloatDefinitions):
8354
8355         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8356
8357         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8358         floatlist_, with accessor floats().
8359
8360         * FloatList.h: remove global FloatList
8361
8362 2002-08-26  André Pönitz <poenitz@gmx.net>
8363
8364         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8365
8366         * BufferView.h:
8367         * BufferView2.C:
8368         * BufferView_pimpl.C:
8369         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8370
8371 2002-08-25  John Levon  <levon@movementarian.org>
8372
8373         * LyXAction.C: fix margin note description
8374
8375 2002-08-24  John Levon  <levon@movementarian.org>
8376
8377         * buffer.C:
8378         * bufferlist.C:
8379         * bufferview_funcs.C:
8380         * lyxfont.C:
8381         * undo_funcs.C: cleanups
8382
8383         * lyxfunc.C: disable CUT/COPY when no selection
8384
8385 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8386
8387         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8388         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8389
8390         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8391         Add backward compatibility to "mono", "gray" and "no".
8392
8393 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8394
8395         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8396         (and file_format >= 200).
8397
8398 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8399
8400         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8401
8402 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8403
8404         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8405
8406 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8407
8408         * BufferView_pimpl.C:
8409         * LyXAction.C:
8410         * buffer.C:
8411         * commandtags.h:
8412         * lyxfunc.C:
8413         * paragraph.[Ch]:
8414         * text2.C:
8415         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8416         inset and code to make it  work with the paragraph code. The inset
8417         can be anywhere in the paragraph, but will only do the expected
8418         thing in LaTeX if the layout file contains the parameter line
8419                         OptionalArgs    1
8420         (or more generally, a nonzero value) for that layout.
8421
8422 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * paragraph.h: remove the declaration of undefined counters class
8425         function.
8426
8427 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8428
8429         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8430         Dr. Richard Hawkins.
8431
8432 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8433
8434         * paragraph_funcs.h: remove some unneeded includes
8435
8436         * text.C (backspace): pasteParagraph now in global scipe
8437
8438         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8439         (pasteSelection): ditto
8440
8441         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8442         * paragraph_funcs.C (pasteParagraph): ... here
8443
8444 2002-08-20  André Pönitz <poenitz@gmx.net>
8445
8446         * commandtags.h: new LFUNs for swapping/copying table row/colums
8447
8448         * LyXAction.C:
8449         * lyxfunc.C: support for new lfuns
8450
8451 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8452
8453         * tabular.C:
8454         * buffer.[Ch]: remove NO_COMPABILITY stuff
8455
8456 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8457
8458         * boost.C (throw_exception): new file, with helper function for
8459         boost compiled without exceptions.
8460
8461         * paragraph.h:
8462         * lyxlength.C:
8463         * buffer.C:
8464         * ParameterStruct.h:
8465         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8466
8467         * bufferlist.C (emergencyWriteAll): use boost bind
8468
8469         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8470
8471         * text.C: include paragraph_funcs.h
8472         (breakParagraph): breakParagraph is now in global scope
8473
8474         * paragraph_funcs.[Ch]: new files
8475
8476         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8477         global scope
8478
8479         * buffer.C: include paragraph_funcs.h
8480         (insertStringAsLines): breakParagraph is now in global scope
8481
8482         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8483         paragraph_funcs.C
8484
8485         * CutAndPaste.C: include paragraph_funcs.h
8486         (cutSelection): breakParagraphConservative is now in global scope
8487         (pasteSelection): ditto
8488
8489         * buffer.h: declare oprator== and operator!= for
8490         Buffer::inset_iterator
8491
8492         * bufferlist.C (emergencyWrite): don't use fmt(...)
8493
8494         * text3.C: add using std::endl
8495
8496         * BufferView.C (moveCursorUpdate): remove default arg
8497
8498 2002-08-20  André Pönitz <poenitz@gmx.net>
8499
8500         * buffer.[Ch]: move inline functions to .C
8501
8502         * BufferView2.C:
8503         * BufferView_pimpl.C:
8504         * text.C:
8505         * buffer.[Ch]: use improved inset_iterator
8506
8507         * buffer.C:
8508         * paragraph.[Ch]: write one paragraph at a time
8509
8510 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8511
8512         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8513         style if style is not specified.
8514
8515 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8516
8517         * text2.C (setCounter): when searching for right label for a
8518         caption, make sure to recurse to parent insets (so that a caption
8519         in a minipage in a figure float works) (bug #568)
8520
8521 2002-08-20  André Pönitz <poenitz@gmx.net>
8522
8523         * text3.C: new file for LyXText::dispatch() and helpers
8524
8525         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8526
8527         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8528
8529 2002-08-19  André Pönitz <poenitz@gmx.net>
8530
8531         * lyxtext.h:
8532         * text.C: new LyXText::dispatch()
8533
8534         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8535
8536 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8539
8540         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8541         Hebrew text.
8542
8543 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8544
8545         * Makefile.am: use $(variables) instead of @substitutions@
8546
8547 2002-08-15  André Pönitz <poenitz@gmx.net>
8548
8549         * lyxfunc.C:
8550         * BufferView_pimpl.C: streamlining mathed <-> outer world
8551         interaction
8552
8553         * commandtags.h:
8554         * LyXAction.C: remove unused LFUN_MATH
8555
8556 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8559
8560 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * paragraph.C (Paragraph): reformat a bit
8563         (cutIntoMinibuffer): use builtin InsetList function instad of
8564         doing it manually.
8565         (getInset): ditto
8566
8567         * buffer.C: include boost/bind.hpp, add using std::for_each
8568         (writeFileAscii): use ParagraphList iterators
8569         (validate): use for_each for validate traversal of paragraphs
8570         (getBibkeyList): use ParagraphList iterators
8571         (resizeInsets): use for_each to resizeInsetsLyXText for all
8572         paragraphs.
8573         (getParFromID): use ParagraphList iterators
8574
8575         * BufferView2.C (lockInset): use paragraph list and iterators
8576
8577 2002-08-14  John Levon  <levon@movementarian.org>
8578
8579         * lyxserver.C: remove spurious xforms include
8580
8581 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8582
8583         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8584
8585 2002-08-13  André Pönitz <poenitz@gmx.net>
8586
8587         * LyXAction.[Ch]:
8588         * lyxfunc.C: further cleaning
8589
8590 2002-08-13  André Pönitz <poenitz@gmx.net>
8591
8592         * funcrequest.h: new constructor
8593
8594         * funcrequest.C: move stuff here from .h
8595
8596         * Makefile.am:
8597         * BufferView_pimpl.C:
8598         * LyXAction.C:
8599         * toc.C:
8600         * lyxfunc.C: subsequent changes
8601
8602         * lyxfunc.h: new view() member function
8603
8604         * lyxfunc.C: subsequent changes
8605
8606 2002-08-13  Angus Leeming  <leeming@lyx.org>
8607
8608         * BufferView2.C:
8609         * BufferView_pimpl.C:
8610         * buffer.C:
8611         * converter.C:
8612         * importer.C:
8613         * lyxfunc.C:
8614         * lyxvc.C:
8615         * toc.C:
8616         * vc-backend.C:
8617         changes due to the changed LyXView interface that now returns references
8618         to member variables not pointers.
8619
8620 2002-08-13  Angus Leeming  <leeming@lyx.org>
8621
8622         * WordLangTuple (word, lang_code): return references to strings,
8623         not strings.
8624
8625         * BufferView.h:
8626         * SpellBase.h:
8627         * lyxtext.h: forward-declare WordLangTuple.
8628
8629         * BufferView2.C:
8630         * ispell.C:
8631         * pspell.C:
8632         * text.C: #include "WordLangTuple.h".
8633
8634         * lyxtext.h:
8635         * text.C: (selectNextWordToSpellcheck): constify return type.
8636
8637 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8638
8639         * buffer.C:
8640         * buffer.h:
8641         * lyxtext.h:
8642         * paragraph.C:
8643         * paragraph_pimpl.h:
8644         * text.C:
8645         * text2.C:
8646         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8647         suggested by Angus.
8648         Made updateCounter always count from start of buffer, and removed
8649         second argument (par).
8650         Reverted floats number display to '#'. Perhaps I'll try again when the
8651         code base is sanitized a bit.
8652
8653 2002-08-12  Angus Leeming  <leeming@lyx.org>
8654
8655         * buffer.[Ch] (getLabelList): constify.
8656
8657 2002-08-07  André Pönitz <poenitz@gmx.net>
8658
8659         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8660
8661         * funcrequest.h: extension to keep mouse (x,y) position
8662
8663 2002-08-12  Juergen Vigna  <jug@sad.it>
8664
8665         * BufferView2.C (insertErrors): forbid undo when inserting error
8666         insets.
8667
8668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8669
8670 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8671
8672         * ParagraphList.[Ch]: new files
8673
8674         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8675
8676         * BufferView2.C (lockInset): ParagraphList changes
8677         * toc.C: ditto
8678         * text2.C: ditto
8679         * bufferlist.C: ditto
8680         * buffer.h: ditto
8681         * buffer.C: ditto
8682
8683 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8686         unused class variable counter_,
8687
8688         * paragraph.[Ch] (getFirstCounter): delete unused function
8689
8690         * counters.C: include LAssert.h
8691         (reset): add a new function with no arg, change other version to
8692         not have def. arg and to not allow empty arg.
8693
8694         * text2.C (setCounter): remove empty arg from call to Counters::reset
8695
8696 2002-08-11  John Levon  <levon@movementarian.org>
8697
8698         * Makefile.am: add WordLangTuple.h
8699
8700 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8703         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8704
8705         * insets/insettext.C: InsetList changes
8706
8707         * graphics/GraphicsSupport.C (operator()): InsetList changes
8708
8709         * toc.C (getTocList): InsetList changes
8710
8711         * paragraph_pimpl.[Ch]: InsetList changes
8712
8713         * paragraph.[Ch]: InsetList changes
8714
8715         * buffer.C (inset_iterator): InsetList changes
8716         (setParagraph): ditto
8717         * buffer.h (inset_iterator): ditto
8718         * iterators.C (operator++): ditto
8719         * iterators.h: ditto
8720
8721         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8722
8723         * InsetList.[Ch]: new files, most InsetList handling moved out of
8724         paragraph.C.
8725
8726         * BufferView2.C (removeAutoInsets): InsetList changes
8727         (lockInset): ditto
8728         (ChangeInsets): ditto
8729
8730 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8731
8732         * paragraph_pimpl.h (empty): new function
8733
8734         * paragraph.[Ch] (empty): new function
8735
8736         * other files: use the new Paragraph::empty function
8737
8738 2002-08-09  John Levon  <levon@movementarian.org>
8739
8740         * lyxtext.h: remove unused refresh_height
8741
8742 2002-08-09  John Levon  <levon@movementarian.org>
8743
8744         * Makefile.am:
8745         * sgml.h:
8746         * sgml.C:
8747         * buffer.C:
8748         * paragraph.h:
8749         * paragraph.C: move sgml char escaping out of paragraph
8750
8751         * paragraph.h:
8752         * paragraph.C: remove id setter
8753
8754         * buffer.C:
8755         * paragraph.C:
8756         * paragraph_pimpl.C: remove dead tex_code_break_column
8757
8758         * bufferview_funcs.C: small cleanup
8759
8760         * lyxfunc.C: remove dead proto
8761
8762         * lyxtext.h: make some stuff private. Remove some dead stuff.
8763
8764         * lyxgluelength.C: make as[LyX]String() readable
8765
8766 2002-08-08  John Levon  <levon@movementarian.org>
8767
8768         * LyXAction.h:
8769         * LyXAction.C:
8770         * MenuBackend.C:
8771         * ToolbarDefaults.C:
8772         * lyxfunc.C:
8773         * lyxrc.C:
8774         * toc.C: lyxaction cleanup
8775
8776 2002-08-08  John Levon  <levon@movementarian.org>
8777
8778         * BufferView2.C: small cleanup
8779
8780         * lyxfind.h:
8781         * lyxfind.C: move unnecessary header into the .C
8782
8783 2002-08-08  John Levon  <levon@movementarian.org>
8784
8785         * funcrequest.h: just tedious nonsense
8786
8787         * lyx_main.h:
8788         * lyx_main.C: cleanups
8789
8790         * buffer.C:
8791         * vspace.C: remove dead header lyx_main.h
8792
8793 2002-08-07  Angus Leeming  <leeming@lyx.org>
8794
8795         * Paragraph.[Ch]:
8796         * paragraph_pimpl.h:
8797         Forward declare class Counters in paragraph.h by moving the ctrs member
8798         variable into Paragraph::Pimpl.
8799         (counters): new method, returning a reference to pimpl_->ctrs.
8800
8801         * text2.C: ensuing changes.
8802
8803 2002-08-07  John Levon  <levon@movementarian.org>
8804
8805         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8806
8807         * BufferView_pimpl.C: announce X selection on double/triple
8808           click
8809
8810         * lyx_main.C: use correct bool in batch dispatch
8811
8812         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8813
8814 2002-08-07  André Pönitz <poenitz@gmx.net>
8815
8816         * funcrequest.h: new class to wrap a kb_action and its argument
8817
8818         * BufferView.[Ch]:
8819         * BufferView_pimpl[Ch]:
8820         * LaTeX.C:
8821         * LyXAction.[Ch]:
8822         * lyxfunc.[Ch]:
8823         * lyxrc.C: subsequent changes
8824
8825
8826 2002-08-07  John Levon  <levon@movementarian.org>
8827
8828         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8829           document options change.
8830
8831 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8832
8833         * counters.[Ch]
8834         * text2.C
8835         * paragraph.[Ch]
8836         * makefile.am: move counters functionality over from
8837         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8838
8839 2002-08-06  John Levon  <levon@movementarian.org>
8840
8841         * WordLangTuple.h: new file for word + language code tuple
8842
8843         * SpellBase.h:
8844         * pspell.h:
8845         * pspell.C:
8846         * ispell.h:
8847         * ispell.C:
8848         * lyxtext.h:
8849         * text.C:
8850         * text2.C:
8851         * BufferView.h:
8852         * BufferView2.C: use WordLangTuple
8853
8854         * layout.h:
8855         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8856
8857 2002-08-06  John Levon  <levon@movementarian.org>
8858
8859         * lyx_main.C: fix cmdline batch handling
8860
8861 2002-08-06  André Pönitz <poenitz@gmx.net>
8862
8863         * lyxrc.C: set default for show_banner to true
8864
8865 2002-08-06  John Levon  <levon@movementarian.org>
8866
8867         * pspell.C: fix a crash, and allow new aspell to work
8868
8869 2002-08-06  John Levon  <levon@movementarian.org>
8870
8871         * lyxfunc.C:
8872         * kbmap.C: small cleanup
8873
8874         * vspace.h:
8875         * vspace.C: add const
8876
8877 2002-08-05  John Levon  <levon@movementarian.org>
8878
8879         * LyXAction.C: back to tabular-insert
8880
8881 2002-08-04  John Levon  <levon@movementarian.org>
8882
8883         * BufferView.h:
8884         * BufferView.C: cosmetic change
8885
8886         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8887
8888         * bufferlist.C:
8889         * buffer.h:
8890         * buffer.C:
8891         * lyxcb.h:
8892         * lyxcb.C:
8893         * lyxserver.C:
8894         * lyxvc.C:
8895         * vc-backend.C:
8896         * BufferView2.C: purge all "Lyx" not "LyX" strings
8897
8898         * lyxcursor.h:
8899         * lyxcursor.C: attempt to add some documentation
8900
8901         * lyxfunc.C:
8902         * commandtags.h:
8903         * LyXAction.C:
8904         * ToolbarDefaults.C:
8905         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8906           merge with LFUN_TABULAR_INSERT
8907
8908         * Makefile.am:
8909         * SpellBase.h:
8910         * ispell.h:
8911         * ispell.C:
8912         * pspell.h:
8913         * pspell.C: split up i/pspell implementations into separate
8914           files, many cleanups
8915
8916         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8917
8918         * text2.C: some cleanup
8919
8920         * lyxfunc.C: don't check for isp_command == "none" any more, it
8921           didn't make any sense
8922
8923 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8924
8925         * counters.[Ch]
8926         * text2.C
8927         * paragraph.[Ch]
8928         * makefile.am: move counters functionality over
8929         from text2.C/paragraph.[Ch] to counters.[Ch], and
8930         make proper C++.
8931 2002-08-02  John Levon  <levon@movementarian.org>
8932
8933         * buffer.C: s/lyxconvert/lyx2lyx/
8934
8935 2002-08-02  Angus Leeming  <leeming@lyx.org>
8936
8937         * lyxlex.C: revert John's change as it breaks reading of the user
8938         preamble.
8939
8940 2002-08-02  Angus Leeming  <leeming@lyx.org>
8941
8942         * importer.C (Import):
8943         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8944         changes due to LyXView::view() now returning a boost::shared_ptr.
8945
8946 2002-08-02  John Levon  <levon@movementarian.org>
8947
8948         * lyxlex.C: small cleanup
8949
8950 2002-08-02  John Levon  <levon@movementarian.org>
8951
8952         * text2.C (status): small cleanup, no logic change
8953
8954 2002-08-01  John Levon  <levon@movementarian.org>
8955
8956         * buffer.h:
8957         * buffer.C (writeFile): don't output alerts, caller
8958           handles this
8959
8960         * bufferlist.C:
8961         * lyx_cb.C: from above
8962
8963         * lyxfunc.C: allow to open non-existent files
8964
8965 2002-07-31  John Levon  <levon@movementarian.org>
8966
8967         * lyxserver.C: don't let incidental errors get
8968           in the way (errno)
8969
8970 2002-07-30  John Levon  <levon@movementarian.org>
8971
8972         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8973
8974 2002-07-30  John Levon  <levon@movementarian.org>
8975
8976         * lyxserver.h:
8977         * lyxserver.C: remove I/O callback too
8978
8979 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8980
8981         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8982         log.
8983
8984 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8985
8986         * many files: strip,frontStrip -> trim,ltrim,rtrim
8987
8988 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * PrinterParams.h: remove extern containsOnly, and include
8991         support/lstrings.h instead.
8992
8993         * LaTeX.C (scanAuxFile): modify because of strip changes
8994         (deplog): ditto
8995         * buffer.C (makeLaTeXFile): ditto
8996         * bufferparams.C (writeFile): ditt
8997         * lyxfont.C (stateText): ditto
8998         * lyxserver.C (read_ready): ditto
8999         * vc-backend.C (scanMaster): ditto
9000
9001         * BufferView_pimpl.h: ws changes
9002
9003         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9004
9005 2002-07-26  André Pönitz <poenitz@gmx.net>
9006
9007         * kb_sequence.C: remove unnedred usings
9008
9009 2002-07-26  Juergen Vigna  <jug@sad.it>
9010
9011         * lyxfind.C (LyXReplace): we have to check better if the returned
9012         text is not of theLockingInset()->getLockingInset().
9013
9014 2002-07-25  Juergen Vigna  <jug@sad.it>
9015
9016         * lyxfind.C (LyXReplace): don't replace if we don't get the
9017         right LyXText.
9018
9019         * undo_funcs.C (createUndo): remove debugging code.
9020
9021 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9022
9023         * buffer.C (parseSingleLyXformat2Token): Use default placement
9024         when reading old floats.
9025
9026         * FloatList.C (FloatList): Change the default placement of figure
9027         and tables to "tbp".
9028
9029 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * MenuBackend.C: using std::max
9032
9033 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * MenuBackend.C (expandToc):
9036         (expandToc2): code moved from xforms menu frontend. It is now
9037         generic and TOCs are transparent to menu frontends.
9038
9039 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9040
9041         * toc.C (getTocList): protect against buf=0
9042
9043         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9044         Menu as first parameter. Now, this calls itself recursively to
9045         expand a whole tree (this will be useful for TOC handling)
9046         (expandFloatInsert): remove 'wide' version of floats
9047
9048         * MenuBackend.h (submenuname): returns the name of the submenu.
9049         (submenu): returns the submenu itself, provided it has been
9050         created by MenuBackend::expand
9051
9052 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9053
9054         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9055         insets which have noFontChange == true. (bug #172)
9056
9057 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9058
9059         * BufferView_pimpl.C: add connection objects and use them...
9060         (Pimpl): here.
9061
9062 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * MenuBackend.C (expandLastfiles):
9065         (expandDocuments):
9066         (expandFormats):
9067         (expandFloatListInsert):
9068         (expandFloatInsert):
9069         (expand): split expand in parts
9070
9071 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * lyx_gui.C: use lyx_gui::exit()
9074
9075 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9076
9077         * LyXAction.C: show the failing pseudo action
9078
9079 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * buffer.C (readFile): Run the lyxconvert script in order to read
9082         old files.
9083
9084 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * LyXAction.C:
9087         * commandtags.h:
9088         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9089
9090 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * LyXAction.C:
9093         * commandtags.h:
9094         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9095
9096 2002-07-22  Herbert Voss  <voss@lyx.org>
9097
9098         * lengthcommon.C:
9099         * lyxlength.[Ch]: add support for the vertical lengths
9100
9101 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9102
9103         * toc.[Ch]: std:: fixes
9104
9105 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9106
9107         * lyxrc.C: do not include lyx_main.h
9108
9109         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9110         for layouts
9111
9112         * lyxrc.C:
9113         * encoding.C:
9114         * bufferlist.C:
9115         * BufferView2.C: include "lyxlex.h"
9116
9117         * tabular.h:
9118         * bufferparams.h: do not #include "lyxlex.h"
9119
9120         * lyxtextclasslist.C (Add): remove method
9121         (classlist): renamed to classlist_
9122
9123         * paragraph_pimpl.C:
9124         * paragraph.C:
9125         * text2.C:
9126         * CutAndPaste.C:
9127         * bufferview_funcs.C:
9128         * bufferlist.C:
9129         * text.C:
9130         * LaTeXFeatures.C:
9131         * buffer.C:
9132         * toc.C (getTocList): use BufferParams::getLyXTextClass
9133
9134         * toc.C (getTocList): use InsetFloat::addToToc
9135
9136         * toc.[Ch]: new files, containing helper functions to handle table
9137         of contents
9138
9139         * lyxfunc.C (dispatch): no need to remove spaces around command
9140         given as a string
9141         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9142         first command of the sequence; it is not very clever, but I do not
9143         have a better idea, actually
9144
9145         * LyXAction.C (LookupFunc): make sure to remove space at the
9146         beginning and end of the command
9147
9148 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * MenuBackend.C (getMenubar): new method: return the menubar of
9151         this menu set
9152         (read): treat differently reading of menu and menubar (in
9153         particular, the menubar has no name now)
9154         (Menu::menubar): remove
9155
9156         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9157         saving is finished
9158
9159 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9160
9161         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9162         a bibitem inset in a RTL paragraph.
9163
9164 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * paragraph_pimpl.C: constify
9167
9168         * BufferView_pimpl.C:
9169         * LaTeX.C:
9170         * lyxfunc.C: fix dispatch in a nicer way
9171
9172 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9173
9174         * lyxfunc.C (dispatch):
9175         * BufferView_pimpl.C:
9176         * BufferView_pimpl.h:
9177         * BufferView.C:
9178         * BufferView.h: rename Dispatch() to dispatch()
9179
9180         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9181
9182         * lyxlayout.C (Read): honor DependsOn tag
9183
9184         * lyxlayout.[Ch] (depends_on): new method
9185
9186         * version.C.in: update lyx_docversion
9187
9188         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9189
9190         * paragraph.C (validate): remove from here...
9191         * paragraph_pimpl.C (validate): ... and move here
9192         (isTextAt): make it const
9193
9194         * buffer.C (getLists): ws cleanup
9195
9196 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9197
9198         * language.C (read): Use iso8859-1 encoding in latex_lang
9199         (this prevents LyX from crashing when using iso10646-1 encoding).
9200
9201 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * text2.C (toggleInset): if cursor is inside an inset, close the
9204         inset and leave cursor _after_ it
9205
9206 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * lyxfunc.C: move minibuffer completion handling out of here
9209
9210 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * BufferView_pimpl.C:
9213         * LaTeX.C: fix dispatch calls
9214
9215 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9216
9217         * text.C (drawChars): Fix Arabic text rendering.
9218
9219 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * LyXAction.C:
9222         * commandtags.h:
9223         * lyxfunc.C: remove message-push/pop
9224
9225         * lyxserver.C:
9226         * lyxfunc.h:
9227         * lyxfunc.C: rationalise some code by removing verboseDispatch
9228           in favour of a bool argument to dispatch()
9229
9230 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * lyx_main.C (init): make sure to read symlinks as absolute paths
9233
9234 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * lyxfunc.h:
9237         * lyxfunc.C: no need for commandshortcut to be a member
9238
9239 2002-07-15  André Pönitz <poenitz@gmx.net>
9240
9241         * converter.C: add support for $$s (scripts from lib/scripts dir)
9242         * lyx_main.C: white space
9243
9244 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * bufferlist.C:
9247         * lyxrc.h:
9248         * lyxrc.C: remove second exit confirmation
9249
9250 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * BufferView.h:
9253         * BufferView.C:
9254         * BufferView2.C:
9255         * BufferView_pimpl.h:
9256         * BufferView_pimpl.C:
9257         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9258
9259 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * MenuBackend.C (expand): add numeric shortcuts to document menu
9262
9263         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9264
9265 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9266
9267         * lyxfont.C (setLyXFamily):
9268         (setLyXSeries):
9269         (setLyXShape):
9270         (setLyXSize):
9271         (setLyXMisc):
9272         (lyxRead):
9273         * debug.C (value):
9274         * buffer.C (asciiParagraph): use ascii_lowercase
9275
9276 2002-07-15  Mike Fabian  <mfabian@suse.de>
9277
9278         * lyxlex_pimpl.C (search_kw):
9279         * lyxlex.C (getLongString):
9280         * converter.h (operator<):
9281         * converter.C (operator<):
9282         * buffer.C (parseSingleLyXformat2Token):
9283         (asciiParagraph):
9284         * ToolbarDefaults.C (read):
9285         * MenuBackend.C (checkShortcuts):
9286         (read):
9287         * LColor.C (getFromGUIName):
9288         (getFromLyXName): use the compare_ascii_no_case instead of
9289         compare_no_case, because in turkish, 'i' is not the lowercase
9290         version of 'I', and thus turkish locale breaks parsing of tags.
9291
9292 2002-07-16  Angus Leeming  <leeming@lyx.org>
9293
9294         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9295         now takes a Buffer const & argument.
9296
9297 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * BufferView.C (resize): check there's a buffer to resize
9300
9301 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * lyxfunc.C: remove dead code
9304
9305         * lyxserver.h:
9306         * lyxserver.C: use lyx_guii::set_read_callback
9307
9308 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9309
9310         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9311         an inset in a RTL paragraph.
9312
9313 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * lyxfunc.C: repaint after a font size update
9316
9317 2002-07-15  André Pönitz <poenitz@gmx.net>
9318
9319         * lyxlength.C: inBP should be able to return negative values
9320
9321 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * lyxfunc.C: use lyx_gui::update_fonts()
9324
9325 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * lyxfunc.C: use lyx_gui::update_color()
9328
9329 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * bufferlist.C:
9332         * lyxfunc.h:
9333         * lyxfunc.C:
9334         * lyxrc.h:
9335         * lyxrc.C: remove file->new asks for name option, and let
9336           buffer-new take an argument
9337
9338 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * BufferView_pimpl.C: remove unneeded extra repaint()
9341
9342 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * LyXAction.C: allow command-sequence with NoBuffer
9345
9346         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9347
9348 2002-07-10  Angus Leeming  <leeming@lyx.org>
9349
9350         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9351
9352 2002-07-09  Angus Leeming  <leeming@lyx.org>
9353
9354         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9355
9356 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * lengthcommon.h: whitespace
9359
9360         * lyxfunc.C: update scrollbar after goto paragraph
9361
9362         * lyxtext.h: factor out page break drawing, and fix it so
9363           page break/added space paints as selected nicely
9364
9365 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9366
9367         * BufferView_pimpl.C: add FIXMEs, clean up a little
9368
9369 2002-07-09  André Pönitz <poenitz@gmx.net>
9370
9371         * lyxfont.[Ch]: support for wasy symbols
9372
9373 2002-07-08  André Pönitz <poenitz@gmx.net>
9374
9375         * BufferView_pimpl.C: apply John's patch for #93.
9376
9377 2002-07-05  Angus Leeming  <leeming@lyx.org>
9378
9379         * BufferView_pimpl.C (buffer): generate previews if desired.
9380
9381         * LColor.h: add "preview" to the color enum.
9382
9383         * LColor.C (LColor): add a corresponding entry to the items array.
9384
9385         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9386         with this buffer.
9387
9388 2002-07-05  Angus Leeming  <leeming@lyx.org>
9389
9390         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9391         The body of the code is now in the method that is passed an ostream &
9392         rather than a file name.
9393         Pass an additional only_preamble parameter, useful for the forthcoming
9394         preview stuff.
9395
9396 2002-07-03  André Pönitz <poenitz@gmx.net>
9397
9398         * lyxfunc.C: simplify getStatus() a bit for math stuff
9399
9400 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9401
9402         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9403
9404 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * text.C (changeRegionCase): do not change case of all the
9407         document when region ends at paragraph end (bug #461)
9408
9409 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9410
9411         * paragraph.C (startTeXParParams):
9412         (endTeXParParams): add \protect when necessary
9413
9414 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * BufferView_pimpl.C (workAreaExpose): remove warning
9417
9418 2002-06-27  Angus Leeming  <leeming@lyx.org>
9419
9420         * Makefile.am: add lyxlayout_ptr_fwd.h.
9421
9422 2002-06-26  André Pönitz <poenitz@gmx.net>
9423
9424         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9425
9426 2002-06-25  Angus Leeming  <leeming@lyx.org>
9427
9428         * lyxfunc.C (dispatch): Comment out the call to
9429         grfx::GCache::changeDisplay. The method no longer exists now that the
9430         pixmap generation part of the graphics loader has been moved into
9431         InsetGraphics.
9432
9433 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9434
9435         * text2.C: layout as layout
9436
9437         * text.C: layout as layout
9438
9439         * tabular.C (OldFormatRead): layout as layout
9440
9441         * paragraph_pimpl.C (TeXDeeper): layout as layout
9442         (realizeFont): layout as layout
9443
9444         * paragraph.C (writeFile): layout as layout
9445         (validate): layout as layout
9446         (getFont): layout as layout
9447         (getLabelFont): layout as layout
9448         (getLayoutFont): layout as layout
9449         (breakParagraph): layout as layout
9450         (stripLeadingSpaces): layout as layout
9451         (getEndLabel): layout as layout
9452         (getMaxDepthAfter): layout as layout
9453         (applyLayout): layout as layout
9454         (TeXOnePar): layout as layout
9455         (simpleTeXOnePar): layout as layout
9456         (TeXEnvironment): layout as layout
9457         (layout): layout as layout
9458         (layout): layout as layout
9459
9460         * lyxtextclass.C (compare_name): new functor to work with
9461         shared_ptr, layout as layout
9462         (Read): layout as layout
9463         (hasLayout): layout as layout
9464         (operator): layout as layout
9465         (delete_layout): layout as layout
9466         (defaultLayout): layout as layout
9467
9468         * lyxlayout_ptr_fwd.h: new file
9469
9470         * lyxlayout.C (Read): layout as layout
9471
9472         * lyx_cb.C (MenuInsertLabel): layout as layout
9473
9474         * bufferlist.C (newFile): layout as layout
9475
9476         * buffer.C (readLyXformat2): layout as layout
9477         (parseSingleLyXformat2Token): layout as layout
9478         (insertStringAsLines): layout as layout
9479         (asciiParagraph): layout as layout
9480         (latexParagraphs): layout as layout
9481         (makeLinuxDocFile): layout as layout
9482         (simpleLinuxDocOnePar): layout as layout
9483         (makeDocBookFile): layout as layout
9484         (simpleDocBookOnePar): layout as layout
9485         (getLists): layout as layout
9486
9487         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9488
9489         * CutAndPaste.C (cutSelection): layout as layout
9490         (pasteSelection): layout as layout
9491         (SwitchLayoutsBetweenClasses): layout as layout
9492
9493         * BufferView_pimpl.C (Dispatch): layout as layout
9494         (smartQuote): layout as layout
9495
9496         * BufferView2.C (unlockInset): layout as layout
9497
9498 2002-06-24  André Pönitz <poenitz@gmx.net>
9499
9500         * lyxfunc.C: fix #487
9501
9502 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * lyxrc.h:
9505         * lyxrc.C:
9506         * lyxfunc.C: remove display_shortcuts, show_banner
9507
9508 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * Buffer_pimpl.C: oops, update on resize
9511
9512 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * buffer.C:
9515         * converter.C:
9516         * exporter.C:
9517         * lyxfunc.C:
9518         * BufferView.h:
9519         * BufferView.C: use repaint()
9520
9521         * BufferView_pimpl.h:
9522         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9523           as it's a clearer description. Remove superfluous
9524           redraws.
9525
9526 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * text.C: fix bug 488. Not ideal, but getting
9529           getWord() to work properly for the insets that
9530           matter is more difficult ...
9531
9532 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * BufferView_pimpl.C:
9535         * LyXAction.C:
9536         * commandtags.h:
9537         * lyxfunc.C: remove the six million index lyxfuncs to just
9538           one, and DTRT (bug 458)
9539
9540 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * BufferView.h:
9543         * BufferView.C:
9544         * BufferView_pimpl.h:
9545         * BufferView_pimpl.C: clean up resize() stuff,
9546           and unnecessary updateScreen()s
9547
9548 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * BufferView.h:
9551         * BufferView.C:
9552         * BufferView_pimpl.h:
9553         * BufferView_pimpl.C:
9554         * lyxfind.h:
9555         * lyxfind.C:
9556         * minibuffer.C: remove focus management of workarea,
9557           not needed. Use screen's greyOut()
9558
9559 2002-06-17  Herbert Voss  <voss@lyx.org>
9560
9561         * converter.C: (convert) do not post a message, when converting
9562         fails, let the calling function decide what to do in this case
9563
9564 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * lyxfunc.C: tidy up a little
9567
9568 2002-06-16    <alstrup@diku.dk>
9569
9570         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9571         Got rid of FORMS_H_LOCATION include. Now we are
9572         GUII.
9573
9574 2002-06-15  LyX Development team  <lyx@rilke>
9575
9576         * buffer.[Ch] (sgmlOpenTag):
9577         (sgmlCloseTag): Added support for avoiding pernicious mixed
9578         content. Return number of lines written.
9579
9580         (makeLinuxDocFile):
9581         (makeDocBookFile): Fixed calls to sgml*Tag.
9582         Simple white space clean.
9583
9584         (simpleDocBookOnePar): Simple white space clean.
9585
9586         * tabular.[Ch] (docBook): Renamed to docbook and got another
9587         argument to related with the pernicious mixed content.
9588
9589         (docbookRow): Fixed calls for docbook inset method.
9590
9591 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9592
9593         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9594         so it's X11 independent.
9595
9596         * kb*.[Ch]: ditto.
9597
9598         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9599
9600 2002-06-15  Lyx Development team  <lyx@electronia>
9601
9602         * intl.h: Renamed getTrans to getTransManager.
9603
9604 2002-06-14  Angus Leeming  <leeming@lyx.org>
9605
9606         * Makefile.am: nuke forgotten stl_string_fwd.h.
9607
9608 2002-06-12  Angus Leeming  <leeming@lyx.org>
9609
9610         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9611
9612 2002-06-13  Angus Leeming  <leeming@lyx.org>
9613
9614         * LaTeX.C:
9615         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9616
9617 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9618
9619         * kbmap.C (getiso): add support for cyrillic and greek
9620
9621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * BufferView.h:
9624         * BufferView.C:
9625         * BufferView_pimpl.h:
9626         * BufferView_pimpl.C: move bogus scrolling logic
9627           to xforms
9628
9629 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * lyxfunc.C:
9632         * BufferView_pimpl.C: view->resize() change
9633
9634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * BufferView_pimpl.C: topCursorVisible
9637           prototype change
9638
9639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * Makefile.am:
9642         * lyx_gui.h:
9643         * lyx_gui.C: move to frontends/
9644
9645         * main.C:
9646         * lyx_main.h:
9647         * lyx_main.C: changes from above
9648
9649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * intl.C:
9652         * intl.h:
9653         * kbmap.C:
9654         * kbsequence.C:
9655         * lyx_cb.C:
9656         * lyx_main.C: minor tidy
9657
9658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * BufferView_pimpl.h:
9661         * BufferView_pimpl.C:
9662         * BufferView.h:
9663         * BufferView.C: make painter() const,
9664           remove dead code
9665
9666         * BufferView2.C: use screen() accessor
9667
9668         * lyx_main.h:
9669         * lyx_main.C: some minor cleanup
9670
9671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9672
9673         * BufferView_pimpl.h:
9674         * BufferView_pimpl.C: remove enter/leaveView,
9675           use workHeight()
9676
9677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * BufferView.h:
9680         * BufferView.C:
9681         * BufferView2.C:
9682         * BufferView_pimpl.h:
9683         * BufferView_pimpl.C: only construct screen once,
9684           rename
9685
9686         * lyxrc.C: remove pointless comment
9687
9688 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * BufferView.h:
9691         * BufferView.C: remove active() and belowMouse()
9692
9693         * BufferView_pimpl.h:
9694         * BufferView_pimpl.C: use workarea() not workarea_,
9695           and make it use a scoped_ptr instead
9696
9697 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * lyx_gui.C: add debug message on BadWindow
9700
9701 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9702
9703         * sp_spell.C: fdopen is not part of the C++ standard.
9704
9705         * paragraph.C (InsetIterator): use >= instead of ==
9706
9707 2002-06-07  Angus Leeming  <leeming@lyx.org>
9708
9709         Fixes needed to compile with Compaq cxx 6.5.
9710         * BufferView_pimpl.C:
9711         * DepTable.C:
9712         * buffer.C:
9713         * converter.C:
9714         * encoding.C:
9715         * lyx_gui.C:
9716         * lyx_main.C:
9717         * lyxtextclasslist.C:
9718         * minibuffer.C:
9719         * sp_spell.C:
9720         * tabular_funcs.C:
9721         * vc-backend.C:
9722         all c-library variables have been moved into namespace std. Wrap
9723         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9724
9725         * lyxlength.C:
9726         * tabular-old.C:
9727         * tabular.C:
9728         Add a using std::abs declaration.
9729
9730         * kbmap.h (modifier_pair):
9731         * paragraph.h (InsetTable, InsetList):
9732         * lyxfont.h (FontBits):
9733         type definition made public.
9734
9735         * bufferlist.C (emergencyWriteAll): the compiler complains that
9736         there is more than one possible lyx::class_fun template to choose from.
9737         I re-named the void specialisation as lyx::void_class_fun.
9738
9739         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9740
9741         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9742         the compiler is is unable to find tostr in write_attribute.
9743
9744 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9745
9746         * buffer.C (sgmlError): hide #warning
9747
9748 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * xtl/*: get rid of xtl, which is not in use anyway
9751
9752         * LyXAction.C (init):
9753         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9754         were unimplemented xtl experimentation
9755
9756 2002-06-04  André Pönitz <poenitz@gmx.net>
9757
9758         * lyxfunc.C: disable array operation on simple formulae
9759
9760 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * converter.C: constify a bit
9763
9764 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyx_gui.C: check xforms version correctly
9767
9768 2002-04-30  Herbert Voss  <voss@lyx.org>
9769
9770         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9771         "keep" option
9772
9773 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9776           attempt to register it with a VCS)
9777
9778 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * lyx_main.C (init): honor variables LYX_DIR_13x and
9781         LYX_USERDIR_13x
9782
9783 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * buffer.h:
9786         * buffer.C:
9787         * lyx_main.C: fix a crash on bad command line,
9788           and give a useful exit status on error
9789
9790         * lyxfunc.C (doImport): allow -i lyx to work
9791
9792 2002-03-30  André Pönitz <poenitz@gmx.net>
9793
9794         * lyxfunc.C: mathed font changes
9795
9796 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * LaTeX.C:
9799         * importer.h:
9800         * importer.C:
9801         * lyx_sty.h:
9802         * lyx_sty.C:
9803         * lyxlex.C:
9804         * lyxrow.h:
9805         * lyxtext.h:
9806         * paragraph.h:
9807         * paragraph.C:
9808         * texrow.h:
9809         * texrow.C:
9810         * text.C:
9811         * trans_mgr.h: srcdocs, and some minor cleanups
9812
9813 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9816         call getFont all the time)
9817
9818 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9819
9820         * switch from SigC signals to boost::signals
9821
9822 2002-05-29  André Pönitz <poenitz@gmx.net>
9823
9824         * paragraph_pimpl.C (getChar): don't call size() too often...
9825
9826 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * paragraph_pimpl.C (insertChar): do not try to update tables when
9829         appending (pos == size())
9830
9831         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9832         in order to reduce drastically the number of comparisons needed to
9833         parse a large document
9834
9835 2002-05-29  André Pönitz <poenitz@gmx.net>
9836
9837         * text.C:
9838         * text2.C:
9839         * lyxtextclass.C:
9840         * sp_pspell.h:
9841         * textclasslist.[Ch]:
9842         * sp_ispell.h: whitespace change
9843
9844 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9847         lyxaction directly now.
9848
9849 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * trans.C:
9852         * lyxfont.C:
9853         * lyxvc.C: remove unused headers
9854
9855 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9856
9857         * Makefile.am:
9858         * buffer.h:
9859         * undostack.h:
9860         * undostack.C:
9861         * undo_funcs.h:
9862         * undo_funcs.C: some cleanups. Use shared_ptr
9863           and a template for the undo stacks.
9864
9865 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * BufferView_pimpl.h:
9868         * BufferView_pimpl.C:
9869         * kbmap.h:
9870         * kbmap.C:
9871         * kbsequence.h:
9872         * kbsequence.C:
9873         * lyxfunc.h:
9874         * lyxfunc.C:
9875         * text2.C: use key_state/mouse_state
9876
9877 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9880         and LSubstring
9881
9882         * chset.C: change include order
9883         (loadFile): use boost regex and get rid of LRegex and LSubstring
9884
9885         * Makefile.am (BOOST_LIBS): new variable
9886         (lyx_LDADD): use it
9887
9888         * LaTeX.C: change include order.
9889         (scanAuxFile): use boost regex and get rid of LRegex and
9890         LSubstring
9891         (deplog): ditto
9892
9893 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * ColorHandler.h:
9896         * ColorHandler.C:
9897         * FontInfo.h:
9898         * FontInfo.C: moved to frontends/xforms/
9899
9900         * FontLoader.h:
9901         * FontLoader.C: moved into frontends for GUIIzation
9902
9903         * Makefile.am:
9904         * lyx_gui.C:
9905         * lyxfont.C:
9906         * lyxfunc.C: changes from above
9907
9908 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * LColor.C: remove spurious X include
9911
9912         * BufferView_pimpl.C:
9913         * Makefile.am:
9914         * font.h:
9915         * font.C:
9916         * text.C:
9917         * text2.C: move font metrics to frontends/
9918
9919 2002-05-24  Juergen Vigna  <jug@sad.it>
9920
9921         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9922         setting the undo_cursor.
9923
9924         * ParagraphParameters.h: include local includes first.
9925
9926 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * BufferView_pimpl.C:
9929         * BufferView_pimpl.h:
9930         * Makefile.am:
9931         * WorkArea.h:
9932         * WorkArea.C:
9933         * screen.C: move WorkArea into frontends/
9934
9935         * lyxscreen.h:
9936         * screen.C:
9937         * text.C:
9938         * BufferView.C:
9939         * BufferView2.C: move LyXScreen into frontends/
9940
9941         * lyxlookup.h:
9942         * lyxlookup.C:
9943         * lyx_gui.C: move lyxlookup into frontends/xforms/
9944
9945 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * BufferView2.C:
9948         * BufferView_pimpl.C:
9949         * FontLoader.C:
9950         * LyXView.h:
9951         * LyXView.C:
9952         * Makefile.am:
9953         * WorkArea.C:
9954         * XFormsView.h:
9955         * XFormsView.C:
9956         * buffer.C:
9957         * bufferlist.C:
9958         * bufferview_funcs.C:
9959         * converter.C:
9960         * importer.C:
9961         * lyx_cb.C:
9962         * lyx_gui.C:
9963         * lyx_main.C:
9964         * lyx_find.C:
9965         * lyxfunc.C:
9966         * lyxvc.C:
9967         * minibuffer.C:
9968         * text.C:
9969         * text2.C:
9970         * trans.C:
9971         * vc-backend.C: move LyX/XFormsView into frontends/
9972
9973 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * Makefile.am:
9976         * PainterBase.C:
9977         * PainterBase.h:
9978         * Painter.C:
9979         * Painter.h:
9980         * WorkArea.C:
9981         * WorkArea.h:
9982         * screen.C:
9983         * tabular.C:
9984         * text.C:
9985         * text2.C: move Painter to frontends/
9986
9987 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9988
9989         * buffer.C: comment out some some code that depend upon lyx_format
9990         < 220
9991
9992         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9993         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9994
9995         * buffer.h (NO_COMPABILITY): turn off compability
9996
9997         * ColorHandler.C: include scoped_array.hpp
9998
9999         * font.C: Use more specific smart_ptr header.
10000         * Painter.C: ditto
10001         * gettext.C: ditto
10002         * ShareContainer.h: ditto
10003         * lyx_main.h: ditto
10004         * kbmap.h: ditto
10005         * FontInfo.h: ditto
10006         * BufferView_pimpl.h: ditto
10007         * ColorHandler.h: ditto
10008
10009         * kbmap.C (defkey): change call to shared_ptr::reset
10010
10011 2002-05-21  Juergen Vigna  <jug@sad.it>
10012
10013         * buffer.C (insertErtContents): fix to insert ert asis if it is
10014         non empty. Skip it completely if it contains only whitespaces.
10015
10016 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * BufferView_pimpl.C:
10019         * BufferView2.C: clear selection on paste (bug 393)
10020
10021 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10022
10023         * DepTable.C: include ctime
10024
10025 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10026
10027         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10028
10029 2002-05-14  Juergen Vigna  <jug@sad.it>
10030
10031         * text.C (breakParagraph): fixed function to honor the keepempty
10032         layout in the right maner and also to permit the right breaking
10033         algorithm on empty or non empyt keepempty paragraphs.
10034
10035         * paragraph.C (breakParagraph): we have to check also if the par
10036         is really empty (!size()) for isempty otherwise we do the wrong
10037         paragraph break.
10038
10039 2002-05-10  Juergen Vigna  <jug@sad.it>
10040
10041         * buffer.[Ch] : The following are only changes to the ert
10042         compatibility read reading old LaTeX layout and font stuff and
10043         convert it to ERTInsets.
10044
10045         * buffer.h: added isErtInset().
10046
10047         * buffer.C (struct ErtComp): add a fromlayout bool to check
10048         if we're inside a LaTeX layout.
10049         (isErtInset): new helper function.
10050         (insertErtContents): look for other ert insets before this one
10051         and insert the contents there, so that we don't have subsequent
10052         ERT insets with nothing between them. This way we create only one
10053         inset with multiple paragraphs. Also check if we don't insert only
10054         spaces ' ' as they are ignored anyway afterwards in the .tex file
10055         so if we have only spaces we will ignore this latex part in the
10056         new file.
10057         (parseSingleLyXformat2Token \\layout): better compatibility when
10058         reading layout-latex stuff.
10059         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10060         language tag.
10061         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10062         stuff after reading the inset only get the information back from
10063         the stack.
10064
10065 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10066
10067         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10068
10069         * LaTeXFeatures.C (getBabelOptions): New method.
10070
10071 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * BufferView_pimpl.C (Dispatch): work around missing argument for
10074         'layout'
10075
10076 2002-05-08  Juergen Vigna  <jug@sad.it>
10077
10078         * text.C (leftMargin): handle paragraph leftindent.
10079
10080         * paragraph.C (writeFile): write the new \\leftindent tag.
10081         (validate): handle leftindent code.
10082         (TeXEnvironment): handle paragraphleftindent code again.
10083
10084         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10085
10086         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10087         for paragrap_extra indent code and new token \\leftindent.
10088         (latexParagraphs): handle the leftindent as environment.
10089
10090         * ParameterStruct.h: added leftindent support.
10091
10092         * ParagraphParameters.C (leftIndent): added support functions for
10093         the paragraph left indent.
10094
10095         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10096         more appropriate.
10097
10098 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10099
10100         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10101         inside insetERT.
10102
10103         * text.C (computeBidiTables): No bidi in insetERT.
10104
10105         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10106         in RTL documents.
10107
10108 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10109
10110         * version.C.in: pre 5
10111
10112 2002-05-02  José Matos  <jamatos@fep.up.pt>
10113         * buffer.C (makeDocBookFile): white space changes, add newline to
10114         command styles.
10115         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10116
10117         * tabular.C (docBook): fix typo.
10118
10119 2002-05-03  Juergen Vigna  <jug@sad.it>
10120
10121         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10122         change in LyXText as we can not be sure it was not freed.
10123         (drawOneRow): remove unused code.
10124
10125         * text.C (drawInset): redo the calculation of the need_break_row as
10126         it could have a row which was already freed.
10127         (draw): look at the return value of drawInset and return false if
10128         it also returned false.
10129         (paintRowText): look at the return value of draw and return false if
10130         it also returned false.
10131
10132         * lyxtext.h: added bool return type to drawInset() and draw() so that
10133         if we have a change in the row so that the rowbreak has to be redone
10134         we abort drawing as it will be called again.
10135
10136 2002-05-02  Juergen Vigna  <jug@sad.it>
10137
10138         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10139         a change in the maintext also if we're inside an inset.
10140         (Dispatch): set the cursor again after a break line and after the
10141         screen has been updated as it could be we're in a different row.
10142
10143         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10144         to set the cursor behind the pargraph with > size().
10145         (setCursor): check also for the same paragraph when checking where
10146         to put the cursor if we have a NFR inset.
10147
10148         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10149         parts of layout read further up as it still was in the wrong
10150         position.
10151
10152 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10153
10154         * screen.C (drawFromTo): change sine fullRebreak always return
10155         true.
10156
10157         * buffer.C (parseSingleLyXformat2Token): reindent some
10158
10159         * BufferView_pimpl.C (update): change since fullRebreak always
10160         return true.
10161         (Dispatch): git rid of the last hardcoded "Standard"s.
10162
10163 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10164
10165         * text2.[Ch] (fullRebreak): make it return void now that we always
10166         returned true.
10167
10168 2002-04-30  Juergen Vigna  <jug@sad.it>
10169
10170         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10171         ert compatibility check for "latex" layout.
10172
10173 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10174
10175         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10176         minipages: use col% instead of p%, and also use the current font.
10177         (makeLaTeXFile): Fix use babel condition.
10178         (parseSingleLyXformat2Token): Correct font when reading old floats.
10179
10180 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10181
10182         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10183         inserting list of floats.
10184
10185 2002-04-25  Herbert Voss  <voss@lyx.org>
10186
10187         * MenuBackend.C (expand): don't add the graphics extensions to the
10188         export menu
10189
10190 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10193         non-existing layout, do not complain if it was the default layout
10194         of the original class (bug #342)
10195
10196 2002-04-24  Juergen Vigna  <jug@sad.it>
10197
10198         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10199         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10200
10201 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * buffer.C (getBibkeyList): If using \bibliography, return the
10204         option field with the reference itself. Enables us to provide natbib
10205         support when using \bibliography.
10206
10207 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10208
10209         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10210
10211         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10212         natbib is provided by the LaTeX class.
10213
10214 2002-04-23  Juergen Vigna  <jug@sad.it>
10215
10216         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10217         Wakeup functions.
10218
10219         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10220
10221 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10224
10225         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10226         ensuremath around textordmasculine, textordfeminine and
10227         textdegree.
10228
10229 2002-04-19  Juergen Vigna  <jug@sad.it>
10230
10231         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10232         reinitializing the buffer otherwise row-dimensions may be wrong.
10233         (update): reset also the selection cursors if they do exits otherwise
10234         their x/y positions may be wrong.
10235
10236         * text2.C (cursorDown): don't enter the inset if we came from a row
10237         above and are one row over the inset.
10238
10239         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10240         really leaving an inset.
10241
10242 2002-04-18  Juergen Vigna  <jug@sad.it>
10243
10244         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10245         of the selected paragraph does not have the selected layout also if
10246         the last one had!
10247
10248         * text2.C (setLayout): fixed bug which did not change last selected
10249         paragraph.
10250
10251         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10252         changed the read and substituted \\end_float with \\end_inset!
10253
10254         * BufferView_pimpl.C (cursorPrevious):
10255         (cursorNext): fixed to make it work with rows heigher than the work
10256         area without moving the cursor only the draw of the row.
10257         (workAreaMotionNotify): fix jumping over high rows.
10258
10259 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10260
10261         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10262         Ressler.
10263
10264 2002-04-16  Juergen Vigna  <jug@sad.it>
10265
10266         * text2.C (setCursor): set also the irow().
10267         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10268         (cursorUp):
10269         (cursorDown): support for locking an inset if the x_fix value goes
10270         inside it. That way I can transverse insets too with cursor up/down.
10271
10272         * lyxrow.h: added irow helper function same as other (i) functions.
10273
10274         * BufferView_pimpl.C (cursorPrevious):
10275         (cursorNext): fixed for insets!
10276
10277 2002-04-15  Juergen Vigna  <jug@sad.it>
10278
10279         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10280         position otherwise it is wrong in some cases.
10281
10282         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10283         inside the inset before the call.
10284
10285 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10286
10287         * buffer.[Ch] (getBibkeyList): make it const.
10288
10289 2002-04-12  Juergen Vigna  <jug@sad.it>
10290
10291         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10292
10293         * text2.C (getCursorX): new helper function
10294         (setCursor): compute also ix_
10295         (setCursorFromCoordinates): set also ix.
10296
10297         * lyxcursor.h: added ix_ and helper functions.
10298
10299         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10300
10301         * buffer.C (insertStringAsLines): dont break paragraph if the this
10302         paragraph is inside an inset which does not permit it!
10303
10304         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10305         also with no chars on this paragraph.
10306         (paintRowText): only paint stuff if it's inside the workarea!
10307
10308         * paragraph.C (breakParagraph): honor keepempty flag and break the
10309         paragraph always below not above.
10310
10311         * BufferView2.C (unlockInset): update the paragraph layout on inset
10312         unlock as we changed paragraph in such a case.
10313
10314         * lyxfind.C (LyXFind): clear the former selection if not found!
10315
10316         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10317         again called in insertChar().
10318
10319         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10320         an inset which uses the whole row!
10321         (rightMargin): ditto.
10322         (insertChar): force a rebreak if we inserted an inset!
10323
10324 2002-03-28  Herbert Voss  <voss@lyx.org>
10325
10326         * lyxlength.[Ch]: add inBP() to get the right PS-point
10327         units (BigPoint). With inPixels we have rounding errors
10328
10329 2002-04-11  Juergen Vigna  <jug@sad.it>
10330
10331         * text2.C (setCursorFromCoordinates): set iy to the right value.
10332         (setCursor): add check if row->previous exists!
10333
10334         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10335         an old float_type as this was the case in the old code!
10336
10337         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10338
10339         * BufferView2.C (showLockedInsetCursor): use iy
10340         (fitLockedInsetCursor): ditto
10341
10342         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10343         locked insets as there we have the right value now.
10344
10345         * lyxcursor.C: added iy_ variable and iy functions to set to the
10346         baseline of cursor-y of the locked inset.
10347
10348         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10349         (setCursor): fixed for insets which need a full row.
10350
10351         * text.C (rowLastPrintable): don't ignore the last space when before
10352         an inset which needs a full row.
10353         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10354         as last character of a row when before a inset which needs a full row.
10355
10356 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10357
10358         * version.C.in: update date
10359
10360         * text2.C (fullRebreak): try to always return true and see what
10361         happens...
10362
10363 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * MenuBackend.C (expand): use Floating::listName
10366
10367         * FloatList.C (FloatList): add listName argument to the built-in
10368         floats
10369
10370         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10371         text associated with the float.
10372
10373 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10376
10377 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * ShareContainer.h: add a couple of missing typenames.
10380
10381 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10382
10383         * lyxrc.C (getDescription): use _() correctly rather than N_().
10384
10385 2002-03-28  Herbert Voss  <voss@lyx.org>
10386
10387         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10388         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10389
10390 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10393         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10394
10395 2002-03-29  Juergen Vigna  <jug@sad.it>
10396
10397         * lyxfunc.C (dispatch): add a missing fitCursor call.
10398
10399         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10400         it was scrolled by a cursor move, so return the bool status.
10401
10402         * BufferView.C (fitCursor): return the bool flag also to the outside
10403         world as this is needed.
10404
10405         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10406
10407         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10408         call the edit() as it is not needed (and wrong) IMO.
10409         (workAreaButtonPress): set the screen_first variable before evt.
10410         unlock the inset as this may change screen_first and then we have
10411         a wrong y position for the click!
10412
10413 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * MenuBackend.C (expand): another translation that I missed
10416
10417 2002-03-28  Juergen Vigna  <jug@sad.it>
10418
10419         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10420
10421         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10422
10423 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10426
10427         * MenuBackend.C (expand): fix export/view/update when there is no
10428         document open.
10429
10430 2002-03-27  Herbert Voss  <voss@lyx.org>
10431
10432         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10433         and text%
10434
10435 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * bufferview_funcs.C (currentState): only show paragraph number
10438         for is DEVEL_VERSION is set.
10439
10440         * lyxfunc.C (dispatch): put warning in INFO channel
10441
10442         * MenuBackend.C (expand): translate the name of floats
10443
10444         * FloatList.C (FloatList): mark the float names for translation
10445
10446         * converter.C (convert): use LibScriptSearch
10447
10448 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * MenuBackend.C (defaults): fix default menu (we might as well get
10451         rid of it...)
10452
10453 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10456         directory.
10457
10458 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * lyxvc.C: reorder includes.
10461
10462 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10465           properly
10466
10467 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * CutAndPaste.C: change layouts earlier on paste
10470           to avoid crashing when calling getFont()
10471
10472 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10473
10474         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10475         irritating #error.
10476
10477 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * WorkArea.C: remove 'Pending' debug message.
10480
10481         * most files: ws cleanup
10482
10483         * buffer.[Ch]: ws changes
10484
10485         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10486
10487 2002-03-21  Juergen Vigna  <jug@sad.it>
10488
10489         * tabular.C (SetMultiColumn): collapse also the contents of the
10490         cells and set the last border right. Added a Buffer const * param.
10491
10492 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10493
10494         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10495         linking or not.
10496
10497 2002-03-19  Juergen Vigna  <jug@sad.it>
10498
10499         * text2.C (clearSelection): reset also xsel_cache.
10500
10501         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10502         where it needs to be called (John tells us to do so too :)
10503         (selectionLost): reset sel_cache.
10504
10505         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10506
10507 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10508
10509         * text2.C (setCursorIntern): put debuging code in INSETS channel
10510
10511 2002-03-19  André Pönitz <poenitz@gmx.net>
10512
10513         * lyxfunc.C: tiny whitespace change
10514
10515 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * ToolbarDefaults.C (init):
10518         * LyXAction.C (init):
10519         * commandtags.h:
10520         * BufferView_pimpl.C (Dispatch):
10521         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10522
10523 2002-03-19  Allan Rae  <rae@lyx.org>
10524
10525         * exporter.C (Export): removeAutoInsets before doing anything else.
10526         While I've just introduced a dependency on BufferView this really is
10527         the best place to clean the buffer otherwise you need to cleanup in
10528         a dozen places before calling export or cleanup in a dozen functions
10529         that export calls.
10530
10531         * converter.C (runLaTeX):
10532         (scanLog): Better handling of removeAutoInsets and screen updates.
10533
10534         * lyxfunc.C (dispatch): small whitespace changes
10535
10536 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10537
10538         * WorkArea.C (C_WorkAreaEvent): return a value.
10539         (event_cb): return 1 if we handled the event, 0 otherwise.
10540
10541         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10542
10543 2002-03-18  Juergen Vigna  <jug@sad.it>
10544
10545         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10546         (GetAdditionalWidth): ditto.
10547         (RightLine): ditto.
10548         (LeftLine): ditto.
10549
10550         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10551         inset if we're there actually (probably not used right now but this
10552         is the direction to go for unifying code).
10553         (paste): disable code to clear the selection.
10554
10555         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10556         inside an InsetText and move the check further up as it is in the
10557         wrong place.
10558
10559         * text2.C (pasteSelection): set a selection over the pasted text.
10560
10561 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10562
10563         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10564         and libgraphics to build on Cygwin.
10565
10566 2002-03-15  Juergen Vigna  <jug@sad.it>
10567
10568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10569         inserting an Inset into the paragraph. I know this is not the best
10570         fix but we already use current_view in CutAndPaste so we will remove
10571         all of it's using at the same time.
10572
10573         * buffer.C (sgmlError): deactivated function till it is rewritten in
10574         the right mode, now it can create problems.
10575
10576         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10577         before accessing it.
10578
10579 2002-03-14  Juergen Vigna  <jug@sad.it>
10580
10581         * undo_funcs.C (textHandleUndo): do the right thing when updating
10582         the inset after the undo/redo.
10583
10584         * text2.C (setCursor): just some testcode for #44 not ready yet.
10585
10586         * undo_funcs.C (textHandleUndo): set the next() and previous()
10587         pointers of the paragraph to 0 before deleting otherwise we have
10588         problems with the Paragraph::[destructor].
10589
10590         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10591         on a paragraph insertion.
10592
10593 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * buffer.C (asciiParagraph): use += operator for char append to
10596         string.
10597
10598         * paragraph.C (getFontSettings): compare >= not just >
10599         (highestFontInRange): ditto
10600         (setFont): ditto
10601
10602 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * paragraph.C: change several algorithm to be more appripriate for
10605         the problem domain. This is lookip in FontList and in the InsetList.
10606
10607 2002-03-13  André Pönitz <poenitz@gmx.net>
10608
10609         * commandtags.h:
10610         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10611
10612 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * commandtags.h:
10615         * LyXAction.C:
10616         * lyxfunc.C:
10617         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10618
10619 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * Painter.C (display): anon helper function, adjust code for this
10622         change.
10623         (pixmap): remove function.
10624
10625         * Painter.h: remove private display variable.
10626
10627         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10628
10629 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10630
10631         * WorkArea.[Ch]: remove figinset_canvas cruft.
10632
10633 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10634
10635         * lyxtextclass.C (operator): add one item cache optimization.
10636
10637         * bufferlist.h: doxy changes
10638
10639         * bufferlist.C: ws changes
10640
10641         * DepTable.[Ch] (ext_exist): place const in the right spot.
10642
10643         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10644         call resizeInsets.
10645         (workAreaExpose): call resizeInsets when the with BufferView changes.
10646         (Dispatch): adjust for protectedBlank removal
10647         (specialChar): call updateInset if the insert went ok.
10648
10649         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10650         specialChar instead.
10651
10652         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10653
10654         * BufferView.h: doxy change
10655
10656         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10657
10658         * lyxtextclass.C (operator[]): remove non-const version
10659         (defaultLayout): remove non-const version
10660
10661 2002-03-12  Juergen Vigna  <jug@sad.it>
10662
10663         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10664         did resize the LyXText too.
10665
10666         * buffer.C (readLyXformat2): set layout information on newly allocated
10667         paragraphs.
10668
10669         * tabular.C (OldFormatRead): set layout information on the paragraph.
10670
10671 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10672
10673         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10674
10675 2002-03-11  Juergen Vigna  <jug@sad.it>
10676
10677         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10678         plainly wrong.
10679         (resizeCurrentBuffer): force also the insets to resize themselfes.
10680         (moveCursorUpdate): fixed up for InsetText.
10681
10682 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10683
10684         * commandtags.h:
10685         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10686         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10687         value of Dialogs::tooltipsEnabled().
10688         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10689
10690 2002-03-08  Juergen Vigna  <jug@sad.it>
10691
10692         * BufferView_pimpl.C (updateInset): update inset inside inset also
10693         if it isn't inside theLockingInset().
10694
10695 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696
10697         * buffer.C (asciiParagraph): redo some of the word and line length
10698         handling.
10699         (getLists): look for Caption instead of caption.
10700
10701 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10702
10703         * buffer.C (Buffer): initialize niceFile to true
10704         (makeLaTeXFile):
10705         (makeLinuxDocFile):
10706         (makeDocBookFile): make sure niceFile is true on exit
10707
10708 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10711
10712 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10713
10714         * LyXSendto.C: remove.
10715         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10716         * lyx_gui.C: remove now-redundant comment.
10717         * ColorHandler.h: remove forward declaration of class WorkArea.
10718         * lyxfunc.C: remove #include "WorkArea.h".
10719
10720 2002-03-07  Juergen Vigna  <jug@sad.it>
10721
10722         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10723         got moved away with the DEPM and also set the inset_owner always
10724         right which before could have been omitted.
10725
10726 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10729         wanted layout is not found.
10730
10731 2002-03-07  Juergen Vigna  <jug@sad.it>
10732
10733         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10734
10735 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * paragraph.C (breakParagraph): use default layout not layout of
10738         prev paragraph.
10739         (Paragraph): clear ParagraphParameters.
10740
10741 2002-03-06  Juergen Vigna  <jug@sad.it>
10742
10743         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10744         otherwise it would not be a valid lenght. Fixed a special case in
10745         the minipage compatibility read where we end the document with a
10746         minipage.
10747
10748         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10749         was set as it could be 0 for InsetTexts first entry.
10750
10751 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10752
10753         * paragraph.C (writeFile): if layout is empty write out
10754         defaultLayoutName().
10755
10756         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10757         file without named layout we set layout to defaultLayoutName().
10758
10759 2002-03-06  Juergen Vigna  <jug@sad.it>
10760
10761         * CutAndPaste.C (copySelection): set layout for new paragraph.
10762
10763         * text.C (prepareToPrint): leave ERT inset left aligned
10764         (leftMargin): don't indent paragraphs inside ERT insets
10765
10766 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10767
10768         * paragraph.C (breakParagraph): dont call clear do the work manually
10769
10770         * paragraph.[Ch] (clear): remove function
10771
10772 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10773
10774         * paragraph.C (Paragraph): dont call clear, the work has already
10775         been done.
10776
10777         * lyxtextclass.C (operator): assert if n is empty
10778
10779         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10780         work manually instead.
10781
10782 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * BufferView_pimpl.C: protect selectionLost against text == 0
10785
10786 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10787
10788         * text.C (breakParagraph): fix a setting layout to '0' problem.
10789
10790 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10791
10792         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10793         final location of file, for the included files, and graphics.
10794
10795 2002-03-05  Juergen Vigna  <jug@sad.it>
10796
10797         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10798
10799 2002-03-04  Juergen Vigna  <jug@sad.it>
10800
10801         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10802
10803         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10804         last column of multicolumn cells.
10805         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10806
10807 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10808
10809         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10810         file if it doesn't go to a temporary file.
10811
10812         * buffer.C (sgmlOpenTag):
10813         (sgmlCloseTag):  remove extra newline insertion.
10814
10815 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * text.C (getRowNearY): comment out debug msg
10818
10819 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10820
10821         * text2.C: first -> first_y
10822
10823         * text.C (getRowNearY): add some attemts at a possible
10824         optimization, not working.
10825
10826         * tabular.[Ch]: add BufferParams to several function so that newly
10827         created paragraph can be initialized to he default layotu for the
10828         buffers textclass.
10829
10830         * tabular-old.C (ReadOld): add buf->params to call of Init
10831
10832         * screen.C: rename text->first to text->first_y
10833
10834         * paragraph.C (breakParagraph): always set layout in the broken
10835         paragraph
10836
10837         * lyxtextclass.C (Read): remove lowercase
10838         (hasLayout): ditto
10839         (operator): ditto
10840         (delete_layout): ditto
10841
10842         * lyxtext.h: rename first -> first_y
10843
10844         * lyxlayout.C (Read): remove lowercase
10845         (name): ditto
10846         (setName): ditto
10847         (obsoleted_by): ditto
10848
10849         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10850
10851         * buffer.C (insertErtContents): add params are to InsetERT
10852         (parseSingleLyXformat2Token): add code to check if a paragraphs
10853         layout really exist.
10854         (parseSingleLyXformat2Token): add params to several inset
10855         constructors
10856         (asciiParagraph): remove lowercase, do the layout comparisons with
10857         no_case
10858
10859         * BufferView_pimpl.C (cursorNext): first -> first_y
10860         (resizeCurrentBuffer): first -> first_y
10861         (updateScrollbar): first -> first_y
10862         (scrollCB): first -> first_y
10863         (workAreaMotionNotify): first -> first_y
10864         (workAreaButtonPress): first -> first_y
10865         (checkInsetHit): first -> first_y
10866         (cursorPrevious): first -> first_y
10867         (cursorNext): first -> first_y
10868         (Dispatch): add buffer_->params to severl inset contructors
10869
10870 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10871
10872         * lyxlayout.C (Read): remove some debug info that I forgot.
10873
10874         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10875         clean up the code slightly.
10876         (makeLinuxDocFile): ditto
10877         (makeDocBookFile): ditto
10878
10879         * text2.C: layout as string
10880
10881         * text.C: layout as string
10882
10883         * paragraph_pimpl.C: layout as string
10884
10885         * paragraph.[Ch]: layout as string
10886
10887         * lyxtextclasslist.[Ch]: layout as string
10888
10889         * lyxtextclass.[Ch]: layout as string
10890
10891         * lyxtext.h: layout as string
10892
10893         * lyxlayout.[Ch]: layout as string
10894
10895         * lyx_cb.C: layout as string
10896
10897         * bufferview_funcs.C: layout as string
10898
10899         * bufferparams.C: layout as string
10900
10901         * buffer.C: layout as string
10902
10903         * LyXView.[Ch]: layout as string
10904
10905         * LaTeXFeatures.[Ch]: layout as string
10906
10907         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10908
10909         * BufferView_pimpl.C: change current_layout to string, remove
10910         lyx::layout_type.
10911         (Dispatch):
10912         (smartQuote):
10913         (insertInset):
10914         (workAreaButtonRelease): layout as string
10915
10916         * BufferView2.C (unlockInset): adjust
10917
10918         * vspace.C (asLatexCommand): use an explict temp variable.
10919
10920 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * Makefile.am: use FRONTEND_*
10923
10924 2002-03-01  Juergen Vigna  <jug@sad.it>
10925
10926         * tabular.C (SetWidthOfMulticolCell): changed to something better
10927         I hope but still work in progress.
10928         (recalculateMulticolumnsOfColumn): renamed function from
10929         recalculateMulticolCells as it is more appropriate now.
10930         (SetWidthOfCell): calculate multicols better.
10931
10932 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10933
10934         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10935
10936         * lyxfunc.C (processKeySym): print sequence also if it is
10937         `deleted' (complete)
10938
10939         * kbsequence.C (print): print sequence even if it is deleted
10940         (complete would be a better word, actually).
10941
10942         * lyxfunc.C (dispatch): print complete options after a prefix key
10943
10944         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10945
10946 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10947
10948         * text2.C (setCharFont): eliminate setCharFont code duplication.
10949
10950 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10951
10952         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10953         LFUN_TABULAR_FEATURE (bug #177)
10954
10955 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10956
10957         * Makefile.am: remove figure.h
10958
10959 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10960
10961         * Bufferview_pimpl.C:
10962         * CutAndPasteC:
10963         * LaTeX.C:
10964         * LyXSendto.C:
10965         * buffer.C:
10966         * bufferlist.C:
10967         * converter.C:
10968         * language.C:
10969         * lyxfunc.C:
10970         * lyxvc.C:
10971         * paragraph.C:
10972         * text.C:
10973         * text2.C: remove #include "lyx_gui_misc.h".
10974
10975         * LaTeX.C: added #include <cstdio>
10976
10977 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10980         that the paragraph following this one can have.
10981
10982         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10983
10984         * vspace.C (asLatexCommand): fix bogus gcc warning
10985
10986         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10987
10988 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10989
10990         * text2.C (setLayout): get rid of redundant code
10991
10992 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10993
10994         * text2.C (incDepth): make sure depth cannot be increased beyond
10995         reasonable values.
10996
10997 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10998
10999         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11000         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11001
11002         * PainterBase.h (image):
11003         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11004         a LyXImage const *.
11005
11006 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * BufferView.C:
11009         * BufferView.h:
11010         * BufferView_pimpl.C:
11011         * BufferView_pimpl.h:
11012         * LaTeXFeatures.C:
11013         * LyXAction.C:
11014         * LyXView.C:
11015         * Makefile.am:
11016         * UpdateList.h:
11017         * UpdateList.C:
11018         * buffer.C:
11019         * figure.h:
11020         * figureForm.C:
11021         * figureForm.h:
11022         * figure_form.C:
11023         * figure_form.h:
11024         * lyx_cb.C:
11025         * lyx_gui.C:
11026         * lyx_gui_misc.C:
11027         * lyxfunc.C:
11028         * sp_base.h:
11029         * sp_ispell.h:
11030         * sp_pspell.h:
11031         * sp_spell.C: remove fig inset, and the crap house of
11032           cards that follows it
11033
11034 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * Makefile.am:
11037         * lyxserver.C:
11038         * os2_defines.h:
11039         * os2_errortable.h:
11040         * nt_defines.h: move .h into support/
11041
11042         * vms_defines.h: remove
11043
11044         * WorkArea.C: add space in debug output
11045
11046         * text2.C:
11047         * paragraph.C:
11048         * buffer.C: add WITH_WARNINGS
11049
11050         * vc-backend.h:
11051         * vc-backend.C:
11052         * bufferlist.C: s/retrive/retrieve/, add docs
11053
11054         * vspace.h:
11055         * vspace.C:
11056         * kbmap.h:
11057         * lyxlength.h:
11058         * lyxgluelength.h:
11059         * length_common.h:
11060         * chset.h:
11061         * chset.C: add docs
11062
11063         * lyxgui.C: add ID to X error handler
11064
11065         * lyxtestclass.c: fix typo
11066
11067 2002-02-26  Juergen Vigna  <jug@sad.it>
11068
11069         * tabular_funcs.C (write_attribute): changed so that some default
11070         attributes are not written at all.
11071         (getTokenValue): set default values before trying to read the
11072         value so we have the return value always set as default if we don't
11073         find the token we search for.
11074
11075         * tabular.C (Write): write bools as bools not as strings!
11076
11077 2002-02-22  Juergen Vigna  <jug@sad.it>
11078
11079         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11080         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11081
11082         * text.C (leftMargin): don't add an indent for paragraphs inside
11083         tabular cells (fix #208).
11084
11085 2002-02-21  José Matos  <jamatos@fep.up.pt>
11086
11087         * tabular.C (docBook): fixed support for long tables.
11088
11089 2002-02-20  Juergen Vigna  <jug@sad.it>
11090
11091         * text2.C (getFont): get the drawing font of the Inset if this
11092         paragraph is inside an inset (only important for InsetERT for now).
11093
11094         * buffer.C (insertErtContents): use new lanugage params in ERT
11095         constructor.
11096
11097         * CutAndPaste.C: commenting out seemingly uneeded code.
11098
11099 2002-02-19  Allan Rae  <rae@lyx.org>
11100
11101         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11102         Iterators might be simple to use but they also get invalidated.
11103         (removeAutoInsets): renamed saved cursor tracking variables and added
11104         some comments to clarify what everything does.
11105
11106 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11107
11108         * Chktex.C:
11109         * LaTeX.C:
11110         * LyXSendto.C:
11111         * converter.C:
11112         * lyx_cb.C:
11113         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11114         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11115
11116         * lyxfunc.C:
11117         * vc-backend.h: remove #include "support/syscall.h"
11118
11119         * LaTeX.C:
11120         * LyXSendto.C:
11121         * converter.C: rearrange #includes in Lars' approved fashion.
11122
11123         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11124         forward declare class Timeout in the header file.
11125
11126         * XFormsView.C: changes due to the above.
11127
11128         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11129         similar to LyXView.
11130
11131         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11132         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11133
11134 2002-02-18  José Matos  <jamatos@fep.up.pt>
11135
11136         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11137         insets contents.
11138
11139 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11140
11141         * a lot of small ws changes
11142         * add a lot of using std::XXX
11143         * use std construcs some places where approp.
11144         * use some exisint stuff from lyxfunctional where approp.
11145         * Make file changes to use partial linking (lets test this now...)
11146
11147 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11148
11149         * Chktex.C:
11150         * buffer.C:
11151         remove #include "support/syscontr.h" as it's redundant. Always has been.
11152
11153         * Chktex.C:
11154         * LaTeX.C:
11155         * LyXSendto.C:
11156         * converter.C:
11157         * lyx_cb.C:
11158         * vc-backend.C:
11159         change Systemcalls::System to Systemcalls::Wait and
11160         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11161         No change of functionality, just reflects the stripped down Systemcalls
11162         class.
11163
11164 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * debug.[Ch]: add a GRAPHICS type to the enum.
11167
11168 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11171
11172         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11173         there is an inset.
11174
11175 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11178         match the changes below.
11179
11180         * text2.C (toggleInset): if there is not editable inset at cursor
11181         position, try to see if cursor is _inside_ a collapsable inset
11182         and close it.
11183
11184 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11185
11186         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11187         document menu has a nice checkbox
11188
11189 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * lyxlength.C (asLatexString): change PW to output as percent of
11192         \textwidth.
11193
11194         * lengthcommon.C: change '%' to 't%'
11195
11196         * lyxfunc.C (dispatch): a few comments from Martin
11197
11198 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * WorkArea.h:
11201         * WorkArea.C:
11202         * BufferView_pimpl.h:
11203         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11204           the X selection.
11205
11206 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * vspace.C (inPixels): fix compiler warning
11209
11210 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * lyxfunc.C (getStatus): fix status message for disabled commands.
11213
11214 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * BufferView_pimpl.C: fix crash on close buffer
11217         during selection (#227)
11218
11219 2002-01-27  Herbert Voss  <voss@lyx.org>
11220
11221         * buffer.C: link old Figure to new graphic inset
11222
11223 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11224
11225         * FontLoader.C (getFontinfo): Change the latex font names in order
11226         to match the names of type1inst.
11227
11228 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11229
11230         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11231
11232         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11233         (extchanged): ditto
11234         (ext_exist): ditto
11235         (remove_files_with_extension): ditto
11236         (remove_file): ditto
11237         (write): ditto
11238
11239         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11240         document is smaller than the work area height. Do not initialize
11241         static variables to 0.
11242
11243 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11246
11247         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11248         LFUN_LAYOUT_PARAGRAPHS.
11249
11250         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11251         tabular. It is possible to provide a possible cell, which will
11252         typically be the actcell from the corresponding insettabular
11253
11254         * lyxfunc.C (getStatus): small cleanup; disable
11255         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11256         true
11257
11258 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11259
11260         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11261
11262         * paragraph.C (startTeXParParams):
11263         (endTeXParParams): new methods. The LaTeX code to
11264         start/end paragraph formatting
11265         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11266         empty (fixes bug #200)
11267
11268         * vspace.C (inPixels): adapt to the change below
11269         (inPixels): [later] more cleanups (remove unused variables)
11270
11271         * lyxlength.C (inPixels): change to use a width and a height as
11272         parameter.
11273
11274 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11277         Replaced with \paperwidth
11278
11279         * DepTable.C (insert): add std:: qualifier
11280
11281 2002-01-18  Allan Rae  <rae@lyx.org>
11282
11283         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11284         updated also?
11285
11286         * text.C (drawInset): Turned out I didn't know enough about how
11287         rebreaking worked.  This fixes most of the redraw problems.  I see
11288         an occasional cursor trail when a line is broken now and the cursor
11289         placement can seem out by a few pixels also after a rebreak.
11290
11291 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * buffer.C (parseSingleLyXformat2Token): update because minipage
11294         width is now a LyXLength
11295
11296         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11297
11298         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11299         math insets
11300
11301 2002-01-17  Juergen Vigna  <jug@sad.it>
11302
11303         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11304
11305         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11306         is set correctly and the inset is updated correctly.
11307
11308 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11311         the beginning of the loop.
11312
11313 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * lyxrc.C: improve help for use_scalable_fonts
11316
11317 2002-01-17  Allan Rae  <rae@lyx.org>
11318
11319         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11320
11321 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11322
11323         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11324         make sure to set their inset_owner to the right value (bug #171)
11325
11326 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11327
11328         * DepTable.h
11329         * DepTable.C: Implement mtime checking to reduce time spent doing
11330         CRCs.
11331
11332 2002-01-16  Juergen Vigna  <jug@sad.it>
11333
11334         * tabular.C (GetAdditionalHeight): one of error fixed.
11335
11336         * lyxrc.C (output): small fix in writing use_pspell.
11337
11338 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11339
11340         * sp_base.h: #include LString.h
11341
11342 2002-01-16  Allan Rae  <rae@lyx.org>
11343
11344         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11345         Can someone check this please?
11346
11347         * text.C (drawInset): It was possible that p.row would be removed by
11348         breakAgainOneRow upsetting a few other settings.  There may be another
11349         small tweak possible by setting need_break_row = 0 when p.row has been
11350         removed but I don't know enough about the logic here.
11351
11352 2002-01-15  Allan Rae  <rae@lyx.org>
11353
11354         * text.C (insertChar): removed conditional truism.
11355
11356         * BufferView2.C (removeAutoInsets): More tweaks.
11357         cur_par_prev could be a stray pointer.  Check for trailing empty line
11358         in case last line was cur_par and only had an error inset on it.
11359
11360 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11363         absolute
11364
11365         * vc-backend.C (most methods):
11366         * exporter.C (Export):
11367         * converter.C (convert):
11368         (runLaTeX):
11369         * LyXSendto.C (SendtoApplyCB):
11370         * lyxfunc.C (dispatch):
11371         (menuNew):
11372         (open):
11373         (doImport):
11374         * lyx_cb.C (AutoSave):
11375         (InsertAsciiFile):
11376         * BufferView_pimpl.C (MenuInsertLyXFile):
11377         * buffer.C (runChktex): use Buffer::filePath().
11378
11379         * buffer.h: rename filename to filename_; rename filepath to
11380         filepath_ and make it private
11381         (filePath): new method
11382
11383         * buffer.C (writeFile): use fileName()
11384         (getLatexName):
11385
11386         * lyx_main.C (init): fix starting  of LyX when the binary is a
11387         link from so,ewhere else.
11388
11389         * minibuffer.C: include <cctype> for isprint
11390
11391 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11392
11393         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11394         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11395         name clash with InsetCollapsable's width function.
11396
11397 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * lastfiles.C: include <iterator>
11400
11401 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11404         std::count.
11405
11406         * buffer.C (makeLaTeXFile): ditto.
11407         Also make loop operation more transparent.
11408
11409 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * ToolbarDefaults.C: remove trailing comma closing namespace.
11412
11413         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11414
11415         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11416         as in WorkArea.
11417
11418         * trans.C (Load): comment out unused variable, allowed.
11419
11420 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11421
11422         * minibuffer.[Ch] (append_char): new method to recieve input from the
11423         drop-down completion browser. If a key was pressed, then recieve this
11424         char and append it to the existing string.
11425         (peek_event): modify the positioning data passed to the completion
11426         browser so that it can be placed above the minibuffer rather than below.
11427 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * LyXAction.C (init): alloe error-next for readonly documents.
11430
11431         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11432         count.
11433
11434 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * bufferlist.C (readFile): create the buffer _after_ checking that
11437         the file exists.
11438
11439         * lyxfunc.C (verboseDispatch): fix handling of arguments
11440
11441         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11442
11443         * lyxrc.C: use string::erase() instead of initializing to "".
11444
11445
11446 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * BufferView_pimpl.h:
11449         * BufferView_pimpl.C:
11450         * WorkArea.h:
11451         * WorkArea.C:
11452         * text2.C: tell X when we have made a selection for copying
11453
11454 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11455
11456         * BufferView_pimpl.C (MenuInsertLyXFile):
11457         * lyxfunc.C (menuNew):
11458         (open):
11459         (doImport): add shortcuts to directory buttons
11460
11461         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11462         open a float)
11463
11464         * lyxfunc.C (setStatusMessage):
11465         (getStatusMessage): new methods
11466         (getStatus):use setStatusMessage instead of setErrorMessage
11467         (dispatch): when function is disabled, set error message here
11468         [instead of in getStatus previously]
11469
11470         * BufferView_pimpl.C (workAreaButtonRelease): update
11471         toolbar/menubar here too.
11472
11473 2002-01-13  Allan Rae  <rae@lyx.org>
11474
11475         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11476         Now seems indestructible.  Remaining task is to audit all other
11477         code affected by deleteEmptyParagraphMechanism.  One small quirk
11478         left is that an empty document with an error in the preamble can
11479         be made to report an error but no error box appears.  I don't know
11480         where it goes.
11481         (removeAutoInsets): Improved comments.
11482
11483 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * Thesaurus.h:
11486         * Thesaurus.C: update for Aiksaurus 0.14
11487
11488 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * text2.C (firstParagraph): removed member function, all uses
11491         replaces with ownerParagraph
11492         (redoParagraphs): here
11493         (updateInset): here
11494         (toggleAppendix): here
11495         * BufferView2.C (insertErrors): here
11496         (setCursorFromRow): here
11497
11498 2002-01-13  Allan Rae  <rae@lyx.org>
11499
11500         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11501         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11502         There is still a way to segfault this although you may have to do this
11503         multiple times: Have an InsetERT with an unknown command in it.
11504         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11505         <down-arrow>, <Enter> again, View->DVI, BANG!
11506
11507         * text2.C (setCursor):
11508         (deleteEmptyParagraphMechanism):
11509         * lyxtext.h (setCursor):
11510         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11511         Making use of the return value may help fix other bugs.
11512
11513 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11516
11517         * LyXView.C (updateMenubar): call MenuBar::update here
11518         (updateToolbar): but not here
11519         (showState): do not update toolbar/menubar
11520
11521         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11522         should need to care about that.
11523
11524         * lyxfunc.C (verboseDispatch): simplify a bit
11525         (getStatus): have a version which takes a pseudoaction, and
11526         another which requires a (kb_action,string).
11527
11528         * LyXAction.C (retrieveActionArg): make it work also when action
11529         is not a pseudo-action.
11530         (getActionName): simplify a bit
11531         (helpText):
11532
11533 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * lyxfunc.C (verboseDispatch): new families of methods with
11536         several ways to specify a command and a bool to indicate whether
11537         the command name and shortcut should be displayed in minibuffer
11538         (eventually, we could extend that to a finer bitmask like
11539         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11540         (dispatch): the pristine dispatch command which just, well,
11541         dispatchs! Note it still sets its result to minibuffer; I'm not
11542         sure we want that.
11543
11544         * lyxfunc.h: remove setHintMessage
11545
11546         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11547
11548 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * BufferView_pimpl.C (specialChar): delete new inset if we have
11551         not been able to insert it.
11552
11553         * kbmap.C: revert to using int instead of kb_action, since all we
11554         are dealing with is pseudo-actions.
11555
11556         * LyXAction.C (searchActionArg): change to return int instead of
11557         kb_action, since the result is a pseudoaction.
11558
11559 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11560
11561         * buffer.C (insertErtContents): Fix (partially) the font bug.
11562
11563 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11566         as the other one is broken on my machine!
11567
11568 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11569
11570         * commandtags.h:
11571         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11572
11573 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11574
11575         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11576         reflect their actual use. Provide compatibility code for older lyxrc
11577         files.
11578
11579         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11580         FL_NORMAL_STYLE.
11581         change names of popup font variables in line with the changes to lyxrc.C
11582
11583 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * buffer.C (asciiParagraph): avoid outputing a word twice after
11586         an inset.
11587
11588         * lyxrc.C (getDescription): document that document_path and
11589         template_path can be empty.
11590
11591 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * LaTeXFeatures.C (getMacros):
11594         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11595
11596         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11597
11598         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11599         getPackages.
11600         (getPackages): rename feature "floats" to "float". Use an array to
11601         iterate over 'simple' features (i.e. just a \usepackage). Add
11602         handling of "amsmath" (renamed from "amsstyle").
11603
11604 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11605
11606         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11607         features list.
11608
11609 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11610
11611         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11612         FuncStaus::FuncStatus & FuncStaus::some_method().
11613
11614 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11615
11616         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11617         of the func_satus stuff. Edited and massaged in various ways by
11618         JMarc.
11619
11620         * lyxfunc.C (getStatus): use FuncStatus
11621
11622 2002-01-08  Juergen Vigna  <jug@sad.it>
11623
11624         * text.C (nextBreakPoint): use function Inset::isChar().
11625
11626         * paragraph.C (TeXOnePar): use function
11627         Inset::forceDefaultParagraphs.
11628
11629         * buffer.C (latexParagraphs): use function
11630         Inset::forceDefaultParagraphs.
11631
11632 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11633
11634         * lyx_gui.C (init): set the style of the menu popups to
11635         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11636
11637 2002-01-07  Juergen Vigna  <jug@sad.it>
11638
11639         * text.C (setHeightOfRow): small fix
11640         (prepareToPrint): don't look at alignment if we don't have the place
11641         for doing it.
11642
11643 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * box.C: New file. Move the Box methods and functions out of box.h,
11646         following Lars' suggestion.
11647
11648 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11649
11650         * box.h: #include "support/LOstream.h", needed for inlined function.
11651
11652         * lyxtextclass.C:
11653         * lyxtextclasslist.C: added some using std declarations.
11654
11655 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * box.h: make signed dimensions to allow insets wider than
11658           the screen (bug #162)
11659
11660         * BufferView_pimpl.C: add some insetHit debug
11661
11662 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * vc-backend.C: add FIXME
11665
11666 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * lyxfunc.C (getStatus): enable code for showing math font status
11669         in toolbar/menu.
11670
11671 2002-01-07  Juergen Vigna  <jug@sad.it>
11672
11673         * text.C (nextBreakPoint): removed debug output not needed anymore.
11674
11675 2002-01-06  Juergen Vigna  <jug@sad.it>
11676
11677         * text.C (nextBreakPoint): fixed up this function we had this bug
11678         since ever but now hopefully we break row better.
11679         (insertChar): we have to check if an inset is the next char as it
11680         could now happen that a large inset is causing a break.
11681
11682 2002-01-05  Juergen Vigna  <jug@sad.it>
11683
11684         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11685         if it doesn't like to be drawed.
11686
11687 2002-01-04  Juergen Vigna  <jug@sad.it>
11688
11689         * BufferView2.C (lockInset): forgot to set a cursor.
11690
11691         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11692
11693 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11694
11695         * FormMathsPanel.C:
11696         * FormMathsPanel.h
11697         * MathsSymbols.C:
11698         * form_maths_panel.C:
11699         * form_maths_panel.h:
11700         * form_maths_panel.fd: implemented sub- and super- buttons in math
11701         panel.
11702
11703         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11704         (or ^ space) to be used as in TeX (req'd by André).
11705
11706         * lyxfunc.C: Allow ^ and _ again to be used both as
11707         super/subscript (mathed) and as themselves (in text).
11708
11709 2002-01-03  Allan Rae  <rae@lyx.org>
11710
11711         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11712         "LyX" or the filename of the current buffer if it has one.  This is a
11713         modified form of John Levon's patch.
11714
11715         * XFormsView.C (setWindowTitle): also set icon title.
11716
11717         * LyXView.h (setWindowTitle): signature changed.
11718         * XFormsView.h (setWindowTitle): ditto.
11719
11720 2002-01-02  Juergen Vigna  <jug@sad.it>
11721
11722         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11723
11724 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * screen.C (topCursorVisible): introduce a temp var for
11727         text->cursor.row(), handle the case where this row is null. (kindo
11728         hachish)
11729
11730         * text2.C (setCursor): add a couple of asserts.
11731
11732         * paragraph.h (inset_iterator): add -> operator
11733
11734         * paragraph.[Ch] (autoDeleteInsets): remove member function
11735
11736         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11737         cursor pos correctly and handle inset deletion by itself.
11738         (insertErrors): move iterator declaration out of for expression
11739
11740         * lyxtextclass.C: add <algorithm>
11741
11742         * Makefile.am: added the new files to sources, removed layout.C
11743
11744         * layout.C: removed file
11745
11746         * layout.h: remove LYX_DUMMY_LAYOUT
11747
11748         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11749         layout.
11750
11751         * lyxlayout.[Ch]:
11752         * lyxtextclass.[Ch]:
11753         * lyxtextclasslist.[Ch]: new files
11754
11755         * include order changes to a lot of files, also changes because of
11756         the six new files.
11757
11758 2001-12-27  Juergen Vigna  <jug@sad.it>
11759
11760         * buffer.C (asciiParagraph): more fixes.
11761
11762         * tabular.C (ascii): make ascii export support export of only the
11763         data separated by a column-delimiter.
11764         (ascii): better support for ascii export.
11765
11766         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11767
11768 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * tabular_funcs.C: use a "using std::getline" instead of the
11771         previous fix from Angus (necessary for cxx + lyxstring)
11772
11773 2001-12-24  Juergen Vigna  <jug@sad.it>
11774
11775         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11776
11777         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11778         problems. First check a minipage also if we have some ert-contents
11779         (not only on par->size(), second set the right depth of the paragraph
11780         on the relink to the root-paragraph-list!
11781
11782         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11783         which then did not anymore update the main paragraphs on undo/redo!
11784
11785 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11788         code. Support all font-changing funcs (even those which are not in
11789         menu currently). Support for reporting font settings in
11790         mathed (disabled until Andre provides a function on mathed's side).
11791
11792         * func_status.h (toggle): small helper function to set toggle
11793         state on a flag.
11794
11795 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * tabular_funcs.C: getline -> std::getline
11798
11799 2001-12-21  Juergen Vigna  <jug@sad.it>
11800
11801         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11802         accessed and could be 0 (I couldn't generate this but it seems
11803         Michael could!).
11804
11805 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11808         * tabular_funcs.h: here and include iosfwd
11809
11810 2001-12-20  Juergen Vigna  <jug@sad.it>
11811
11812         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11813         inside inset but undo_par was.
11814
11815 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * Thesaurus.C: always include <config.h> in sources.
11818
11819         * Painter.h:
11820         * lyxlookup.h:
11821         * box.h: do not include <config.h> in header files
11822
11823         * text.C (paintLastRow): remove unused variable
11824
11825         * text.C (transformChar):
11826         (insertChar):
11827         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11828
11829         * Painter.C (text):
11830         * font.C (width): rewrite to use uppercase() instead of
11831         islower/toupper.
11832
11833         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11834
11835 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * lyxfind.C: clean up of find failure position change
11838
11839 2001-12-20  Juergen Vigna  <jug@sad.it>
11840
11841         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11842
11843         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11844         (TeXRow): added to LaTeX a single tabular row.
11845         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11846         (Latex): simplified and finally good LT-h/f support.
11847         (various_functions): just small adaptions for LT-h/f support.
11848
11849         * tabular_funcs.[hC]: added and moved here all not classfunctions
11850         of LyXTabular.
11851
11852 2001-12-19  Juergen Vigna  <jug@sad.it>
11853
11854         * tabular.[Ch]: better support for longtabular options (not finished
11855         yet!)
11856
11857 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * text.C (paintLastRow): use the label font instead of the font of
11860         the last character to compute the size of *_BOX. This makes more
11861         sense and avoids a crash with empty paragraphs.
11862         Use Painter::rectangle to draw EMPTY_BOX.
11863
11864 2001-12-19  Juergen Vigna  <jug@sad.it>
11865
11866         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11867         the paragraphs if the replaced paragraph is not the first one!
11868         Tried to delete not used paragraphs but does not work yet so for
11869         now it's inside #ifdef's and by default off!
11870
11871 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11872
11873         * MenuBackend.C: include "lyx_main.h" instead of declaring
11874         lastfiles (actually was declared as LastFiles* instead of a
11875         scoped_ptr).
11876
11877 2001-12-17  Juergen Vigna  <jug@sad.it>
11878
11879         * tabular.C (AppendColumn): applied John's fix
11880
11881 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * BufferView.h:
11884         * BufferView.C:
11885         * BufferView_pimpl.h:
11886         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11887
11888         * Makefile.am:
11889         * box.h: new start of class for above
11890
11891         * lyxfunc.C: ignore space-only minibuffer dispatches.
11892           Show the command name when it doesn't exist
11893
11894         * minibuffer.C: don't add empty lines to the history
11895
11896         * minibuffer.C: add a space on dropdown completion
11897
11898 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * text.C: fix line above/below drawing in insets
11901
11902 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * lyxlength.C (LyXLength): Initialize private variables.
11905
11906 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11907
11908         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11909         when inserting error insets.
11910
11911 2001-12-13  Juergen Vigna  <jug@sad.it>
11912
11913         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11914         actually sometimes the before-paragraph.
11915         (setUndo): don't clear the redostack if we're not actually undoing!
11916
11917 2001-12-06  Juergen Vigna  <jug@sad.it>
11918
11919         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11920         and fixed redoing of main paragraph, so we can use it now ;)
11921
11922         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11923
11924 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11925
11926         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11927         Juergen's request
11928
11929 2001-12-13  André Pönitz <poenitz@gmx.net>
11930
11931         * undostack.[Ch]:
11932         * undo_func.C: minor cleanup
11933
11934 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11937         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11938         font in urw-fonts package which is marked as -urw-fontspecific and
11939         does not work (incidentally, changing the encoding in the
11940         fonts.dir of this package to -adobe-fontspecific fixes the
11941         problem).
11942
11943         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11944         is a crash when undoing first paragraph (Juergen, please take a
11945         look). THis does not mean the undo fix is wrong, just that it
11946         uncovers problems.
11947
11948         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11949         the (Paragraph*) version when needed instead of duplicating the
11950         code.
11951
11952         * text.C (workWidth): use Inset::parOwner to find out where the
11953         inset has been inserted. This is a huge performance gain for large
11954         documents with lots of insets. If Inset::parOwner is not set, fall
11955         back on the brute force method
11956
11957         * paragraph_pimpl.C (insertInset):
11958         * paragraph.C (Paragraph):
11959         (cutIntoMinibuffer): set parOwner of insets when
11960         inserting/removing them
11961
11962         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11963
11964 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11965
11966         * commandtags.h:
11967         * LyXAction.C:
11968         * lyx_main.C:
11969         * lyxfunc.C:
11970         * mathed/formulabase.C:
11971         * mathed/math_cursor.[Ch]:
11972         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11973
11974
11975 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * lyxlength.[Ch] (operator!=): new function
11978
11979 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * text.C (workWidth): use Inset::parOwner to find out where the
11982         inset has been inserted. This is a huge performance gain for large
11983         documents with lots of insets. If Inset::parOwner is not set, fall
11984         back on the brute force method
11985
11986         * paragraph_pimpl.C (insertInset):
11987         * paragraph.C (Paragraph):
11988         (cutIntoMinibuffer): set parOwner of insets when
11989         inserting/removing them
11990
11991         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11992
11993 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11994
11995         * tabular-old.C (getTokenValue):
11996         * tabular.C (getTokenValue):
11997         (write_attribute): new versions for LyXLength
11998         (everywhere): adjust the use of widths
11999
12000         * tabular.h: change the type of widths from string to LyXLength
12001
12002 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12003
12004         * paragraph.C: fixed missing line number count when exporting
12005         Environments to LaTeX file
12006
12007         * buffer.C: added informational message for checking line numbers.
12008
12009 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12012         paragraph, do the 'double space' part, but not the 'empty
12013         paragraph' one.
12014
12015         * text.C (workWidth): small optimization
12016         (getLengthMarkerHeight): use minimal size for negative lengths.
12017
12018 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12019
12020         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12021
12022         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12023
12024 2001-12-11  André Pönitz <poenitz@gmx.net>
12025
12026         * FontLoader.C:
12027         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12028
12029 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * text2.C: keep selection on a setFont()
12032
12033 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * lyx_cb.C: another bv->text misuse, from insert label
12036
12037 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * kbsequence.h:
12040         * kbsequence.C: re-instate nmodifier mask
12041
12042 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12043
12044         * lyx_main.h: make lyxGUI private.
12045
12046 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * lyxfind.C: place the cursor correctly on failed search
12049
12050 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * text.C (getLengthMarkerHeight): for small heights, the arrows
12053         are not always on top/bottom of the text
12054         (drawLengthMarker): smaller arrows; take the left margin in
12055         account; draw also vfills.
12056         (paintFirstRow):
12057         (paintLastRow): remove special code for vfill and standard spaces,
12058         since everything is handled in drawLengthMarker now.
12059
12060 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12061
12062         * buffer.C (insertErtContents): try to handle font and language
12063         interaction a bit better.g
12064
12065         * ColorHandler.C (updateColor): change the hash to cover the whole
12066         LColor enum, ws cleanup
12067         (getGCLinepars): ditto
12068         (getGCLinepars): only lookup in the linecache once.
12069
12070 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12071
12072         * iterators.C (operator++): Make the iterator more robust
12073
12074         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12075         (John's patch)
12076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12077
12078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * lyxtext.h:
12081         * text.C: better added space drawing
12082
12083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * LyXView.C:
12086         * BufferView2.C: fix layout combo update on inset unlock
12087
12088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * Makefile.am: don't compile unused files
12091
12092 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * lyxfunc.C:
12095         * commandtags.h:
12096         * LyXAction.C: remove old LFUN_LAYOUTNO
12097
12098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * paragraph_pimpl.h:
12101         * paragraph_pimpl.C: isTextAt() doesn't need font param
12102
12103 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * lyxlex.h:
12106         * lyxlex.C: little cleanup
12107
12108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * BufferView_pimpl.C: fix insertAscii for insets
12111
12112 2001-12-05  Juergen Vigna  <jug@sad.it>
12113
12114         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12115         set the right font on the "multi" paragraph paste!
12116
12117 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * trans_decl.h:
12120         * trans_mgr.[Ch]:
12121         * trans.[Ch]:
12122         * lyxgluelength.C:
12123         * lyxlength.C: remove out-commented code.
12124
12125         * BufferView_pimpl:
12126         * CutAndPaste.C:
12127         * DepTable.C:
12128         * buffer.C:
12129         * chset.C:
12130         * lastfiles.C:
12131         * lyxlex.C:
12132         * lyxlex_pimpl.C:
12133         * lyxserver.C:
12134         * screen.C:
12135         * tabular-old.C:
12136         * tabular.C:
12137         * text.C:
12138         * trans_mgr.C:
12139         * vc-backend.C: change "while(" to "while ("
12140
12141         * lyxlength.[Ch]: add zero function to check if length is zero or
12142         not
12143         * lyxgluelength.C: use it
12144
12145 2001-12-05  Allan Rae  <rae@lyx.org>
12146
12147         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12148         Works for 2.95.3, from what I understand of Garst's reports this should
12149         work for other g++ versions.  We're screwed if the abs(int) definition
12150         changed between bugfix releases of gcc.
12151
12152 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * text.C: fix chapter label offset !
12155
12156 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyxtext.h:
12159         * text.C: fix hfill at end of line, clean up
12160
12161 2001-12-04  Juergen Vigna  <jug@sad.it>
12162
12163         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12164         that we force an update of the inset and it's owners if neccessary.
12165
12166 2001-12-03  Juergen Vigna  <jug@sad.it>
12167
12168         * text.C (rowLast): simplified code
12169
12170 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * lyxfunc.C: fix show options on timeout
12173
12174 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * screen.C (topCursorVisible): scroll half a page when the cursor
12177         reached top of bottom of screen
12178
12179 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * minibuffer.C: deactivate on loss of focus
12182
12183 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * vspace.[Ch] (operator!=): add operator.
12186
12187 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * BufferView_pimpl.C: refuse to open an inset when
12190         there's a selection.
12191
12192 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * BufferView_pimpl.C: allow to click on RHS of full row insets
12195
12196 2001-11-30  Juergen Vigna  <jug@sad.it>
12197
12198         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12199         insets for undo reasons.
12200
12201 2001-11-28  André Pönitz <poenitz@gmx.net>
12202
12203         * vspace.[Ch]: cosmetical changes
12204
12205 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * LyXAction.h:
12208         * LyXAction.C:
12209         * lyxfunc.h:
12210         * lyxfunc.C:
12211         * kbmap.h:
12212         * kbmap.C:
12213         * lyxrc.C:
12214         * kbsequence.h:
12215         * kbsequence.C: part re-write of old kb code
12216
12217         * Painter.C:
12218         * WorkArea.C: remove Lgb_bug_find_hack
12219
12220 2001-11-30  José Matos <jamatos@fep.up.pt>
12221
12222         * buffer.C (makeDocBookFile): add a comment to point a hack.
12223         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12224         Fixed a double write of labels.
12225
12226 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12227
12228         * LaTeX.C:
12229         * LaTeX.h Fixed bug in LaTeX class where it would not
12230         re-run latex if no depfiles were changed, but the .dvi was removed.
12231
12232 2001-11-28  André Pönitz <poenitz@gmx.net>
12233
12234         * all the files from the change on 2001/11/26:
12235         use lyx::layout_type instead of LyXTextClass::size_type
12236         use lyx::textclass_type instead of LyXTextClassList::size_type
12237
12238 2001-11-29  Juergen Vigna  <jug@sad.it>
12239
12240         * text.C: added support for paragraph::isFreeSpacing()
12241
12242         * buffer.C: same as above
12243
12244         * paragraph.h: inserted isFreeSpacing() function to enable
12245         FreeSpacing inside InsetERT.
12246
12247         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12248         of the paragraph's in the cut/copy buffer to 0!
12249
12250         * text2.C (removeRow): remove the assert as it can!
12251
12252         * lyxtext.h: added helper function firstRow returning firstrow and
12253         made firstrow private again.
12254
12255         * BufferView2.C (lockInset): don't relock if we're already locked!
12256
12257         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12258         the only paragraph.
12259         (removeRow): added Assert::(firstrow)
12260
12261         * debug.C: forgot to add INSETTEXT here.
12262
12263 2001-11-28  Juergen Vigna  <jug@sad.it>
12264
12265         * sp_spell.C (initialize): changed error text to more general
12266         spellchecker command use (not only ispell!)
12267
12268         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12269
12270         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12271
12272 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * vspace.C: initialise lyxgluelength on failure
12275
12276 2001-11-28  Allan Rae  <rae@lyx.org>
12277
12278         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12279         declaration & definition that looks like a function declaration.
12280
12281 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * BufferView2.C (copy):
12284         (copyEnvironment): do not clear the selection when doing a copy.
12285
12286         * text.C (paintFirstRow): compilation fix
12287
12288 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12289
12290         * tabular.C (Latex): correct line count when writing latex.
12291
12292 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * paragraph_pimpl.h:
12295         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12296           bug a bit
12297
12298 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * text.C:
12301         * LColor.h:
12302         * LColor.C: change vfillline->added_space
12303
12304         * text.C: add markers and text for added space
12305
12306         * vspace.C: fix comment
12307
12308 2001-11-28  André Pönitz <poenitz@gmx.net>
12309
12310         * paragraph.C: whitespace changes
12311         * all the other files from the change on 2001/11/26:
12312         change *::pos_type into lyx::pos_type
12313
12314 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12317         language of the document when inserting error insets.
12318
12319 2001-11-26  André Pönitz <poenitz@gmx.net>
12320
12321         * BufferView_pimpl.[Ch]:
12322         *       CutAndPaste.C:
12323         * buffer.[Ch]:
12324         * lyxcursor.[Ch]:
12325         * lyxfind.C:
12326         * lyxfunc.C:
12327         * lyxrow.[Ch]:
12328         * paragraph.[Ch]:
12329         * paragraph_pimpl.[Ch]:
12330         * sp_spell.C:
12331         * text.C:
12332         * text2.C: reduce header dependencies, introduce type for positions
12333
12334 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * <various>: change to use Alert.h
12337
12338 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12339
12340         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12341         when encountering an unknown token.
12342         (readLyXformat2): Show an error message if there were unknown tokens.
12343
12344 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView2.C:
12347         * BufferView_pimpl.C:
12348         * buffer.C:
12349         * paragraph.h:
12350         * text.C:
12351         * text2.C: use par->isInset()
12352
12353 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * paragraph_pimpl.h:
12356         * paragraph_pimpl.C: cleanup
12357
12358 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12359
12360         * text2.C (removeRow):
12361         * text.C (setHeightOfRow): remove useless (and costly) call to
12362         getRow.
12363
12364 2001-11-20  Allan Rae  <rae@lyx.org>
12365
12366         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12367         Now need Inset*::checkInsertChar() to return true for appropriate
12368         cases so that the characters in the minibuffer will actually be
12369         inserted.
12370
12371 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * text.C: change the order of the includes.
12374         (workWidth): initialize it at once.
12375         (workWidth): make maxw unsigned
12376         (setHeightOfRow): remove unused variable (inset)
12377         (selectSelectedWord): remove unused variable (inset)
12378         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12379
12380 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12381
12382         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12383         server is not running.
12384         (openConnection):
12385         (closeConnection): add debug info when server is disabled.
12386
12387         * ColorHandler.C (getGCForeground): send debug message to GUI
12388         channel.
12389
12390         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12391
12392         * kbmap.C (bind): modify because return conventions of
12393         kb_sequence::parse have changed.
12394
12395         * kbsequence.C (parse): only ignore spaces and not any stupid
12396         control character. This avoids tests like s[i] <= ' ', which are
12397         guaranteed to fail with 8bit characters and signed chars.
12398         Change return code to string::npos when there have been no error
12399         (0 was a bad idea when error is at first character)
12400
12401 2001-11-14  José Matos  <jamatos@fep.up.pt>
12402
12403         * buffer.h:
12404         * buffer.C (simpleDocBookOnePar): removed unused argument.
12405
12406 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12409         insets which are part of a word. Paragraph::isLetter takes care of
12410         that now. Use Paragraph::isInset to identify insets.
12411         (selectSelectedWord): do not test for hyphenation break.
12412
12413         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12414         that protected spaces are considered as spaces.
12415
12416         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12417         Inset::isLetter.
12418
12419 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * lyxserver.h:
12422         * lyxserver.C: fix it. and small cleanup.
12423
12424 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * BufferView_pimpl.C: use inline helpers
12427
12428         * LaTeXFeatures.h:
12429         * LaTeXFeatures.C: fix typos
12430
12431         * Spacing.h:
12432         * Spacing.C: move spacing_string into class
12433
12434         * ToolbarDefaults.C: move stuff into namespace anon
12435
12436         * layout.h: update enum
12437
12438         * lyxfunc.C: use better debug
12439
12440         * minibuffer.h: fix typo
12441
12442         * debug.h:
12443         * debug.C:
12444         * WorkArea.C: add and use Debug::WORKAREA
12445
12446         * lyxtext.h:
12447         * text.C:
12448         * text2.C: code re-organisation, inline helpers
12449
12450 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12451
12452         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12453         std::vector.empty().
12454
12455 2001-11-09  Allan Rae  <rae@lyx.org>
12456
12457         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12458         '\n's after tables.  Tabular and ERT inset work now makes this no
12459         longer necessary.
12460
12461 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * minibuffer.h:
12464         * minibuffer.C: fix crash, improve drop-down completion
12465
12466 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * lyxserver.h:
12469         * lyxserver.C: invalidate fd's when doing endPipe()
12470
12471 2001-11-08  José Matos  <jamatos@fep.up.pt>
12472
12473         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12474         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12475
12476         * paragraph.h:
12477         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12478
12479 2001-11-07  José Matos  <jamatos@fep.up.pt>
12480
12481         * buffer.h:
12482         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12483         const qualifier.
12484
12485         * buffer.C (sgmlOpenTag):
12486         * buffer.C (sgmlCloseTag): removed debug info.
12487
12488         * buffer.h (sgmlOpenTag):
12489         * buffer.h (sgmlCloseTag): made public.
12490
12491 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * buffer.C (saveParamsAsDefaults):
12494         * lyx_cb.C (MenuLayoutSave): remove
12495
12496         * LyXAction.C (init):
12497         * commandtags.h:
12498         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12499
12500 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * buffer.C (setPaperStuff): removed from here...
12503
12504         * bufferparams.C (setPaperStuff): ... and moved there.
12505
12506 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * minibuffer.h:
12509         * minibuffer.C:
12510         * XFormsView.C: add support for drop-down completion
12511
12512 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12513
12514         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12515         commands.
12516
12517 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12518
12519         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12520         disabled.
12521
12522 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyx_main.C: change ref to known bugs
12525
12526 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12527
12528         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12529         to work around older babel problems.
12530
12531 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12532
12533         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12534
12535 2001-10-24  Juergen Vigna  <jug@sad.it>
12536
12537         * tabular-old.C (ReadOld): below variable changes reflected.
12538
12539         * tabular.[Ch]: added ltType struct for longtable header/footer
12540         defines and changed all instances where they are used. Added
12541         future support for double top/bottom rows.
12542
12543 2001-10-24  José Matos  <jamatos@fep.up.pt>
12544
12545         * buffer.h (docbookHandleCaption):
12546         * buffer.C (docbookHandleCaption): removed unused function.
12547         (makeDocBookFile): moved docbook supported version to v4.1.
12548
12549 2001-10-24  José Matos  <jamatos@fep.up.pt>
12550
12551         * tabular.h:
12552         * tabular.C (docbookRow): new function to export docbook code of a row.
12553         (DocBook): now honors the longtable flags.
12554
12555 2001-10-23  José Matos  <jamatos@fep.up.pt>
12556
12557         * LaTeXFeatures.h:
12558         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12559         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12560
12561         * buffer.C (makeLinuxDocFile):
12562         (makeDocBookFile): reworked the preamble, more clean, and with
12563         support for lyx defined entities. Changed the document declaration
12564         to be more XML friendly.
12565
12566         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12567         if we need to output XML that should be done with a filter.
12568
12569 2001-10-22  Juergen Vigna  <jug@sad.it>
12570
12571         * sp_pspell.h (class PSpell): add alive function needed in the
12572         controller to see if the spellchecker could be started.
12573
12574 2001-10-22  Juergen Vigna  <jug@sad.it>
12575
12576         * buffer.C (insertStringAsLines): modify the font for inserting
12577         chars in certain conditions by calling checkInsertChar(font).
12578
12579 2001-10-19  Juergen Vigna  <jug@sad.it>
12580
12581         * text.C (workWidth): use getRow instead of wrong algorithm.
12582         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12583
12584 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * lyxserver.h:
12587         * lyxserver.C:
12588         * lyx_main.h:
12589         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12590
12591 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * text.C (workWidth): do not search for the exact row when
12594         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12595         optimization for big documents.
12596
12597 2001-10-18  Juergen Vigna  <jug@sad.it>
12598
12599         * text.C (workWidth): new function with added Inset * parameter.
12600
12601 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12602
12603         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12604
12605         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12606         change return type of getColumnNearX.
12607
12608
12609         * text.C (changeRegionCase): use uppercase/lowercase instead of
12610         toupper/tolower.
12611         (leftMargin):
12612         (rightMargin): simplify code by factoring out the uses of
12613         textclasslist.
12614         (labelFill):
12615         (numberOfHfills):
12616         (setHeightOfRow):
12617         (appendParagraph): use Paragraph::size_type
12618
12619 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * vspace.C (asLatexString): add a missing break
12622
12623 2001-10-15  Herbert Voss  <voss@perce.de>
12624
12625         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12626
12627 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12628
12629         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12630         is not available.
12631
12632 2001-10-10  André Pönitz <poenitz@gmx.net>
12633
12634         * lyxfunc.C: removed greek_kb_flag.
12635
12636 2001-10-10  Herbert Voss  <voss@perce.de>
12637
12638         * lyx_main.C: delete global string help_lyxdir.
12639
12640 2001-10-09  Herbert Voss  <voss@perce.de>
12641
12642         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12643
12644         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12645
12646         * lyx_main.C: added global string help_lyxdir.
12647
12648         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12649
12650 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12651
12652         * lyxrc.C (set_font_norm_type): support iso8859-4
12653
12654 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12655
12656         * LaTeX.C (deplog): add another regex for MikTeX
12657
12658 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12659
12660         * lyxrc.C (set_font_norm_type): support iso8859-3
12661
12662 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12665
12666         * LaTeXFeatures.C: remove special case of french and index
12667
12668         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12669         before \begin{document}). This solves several incompatibilities.
12670
12671 2001-10-03  Garst Reese  <reese@isn.net>
12672
12673         * lyx_cb.C: change CheckTex error msg.
12674
12675 2001-10-03  José Matos  <jamatos@fep.up.pt>
12676
12677         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12678
12679 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * .cvsignore: update
12682
12683         * lyx_main.C (commandLineVersionInfo): use new style version info.
12684
12685         * buffer.C (writeFile):
12686         (makeLaTeXFile):
12687         (makeLinuxDocFile):
12688         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12689
12690         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12691
12692         * version.h: update to use stuff in version.C
12693
12694         * version.C.in: new file. Contains version information determined
12695         at compile time. This is a merging of version.h and
12696         version_info.h.in.
12697
12698 2001-10-03  Juergen Vigna  <jug@sad.it>
12699
12700         * BufferView_pimpl.C (update): don't change "dirty" status in
12701         updateInset call.
12702
12703 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12704
12705         * WorkArea.C (c-tor): re-position version string slightly.
12706
12707 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12710         revert to previous code.
12711
12712         WorkArea.[Ch]: (show, destroySplash): methods removed.
12713
12714         WorkArea.C: rework code so that it's an amalgam of the codes before and
12715         after the splash screen was moved to WorkArea.
12716
12717 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * lyxrc.C (read):
12720         * vspace.C (inPixels):
12721         (lyx_advance):
12722         * kbmap.C (bind):
12723         * buffer.C (insertStringAsLines):
12724         (asciiParagraph): fix types to be large enough
12725
12726         * lyxlex_pimpl.h: change member status from short to int
12727
12728         * layout.h: fix type of endlabeltype
12729
12730         * kbmap.C (bind):
12731         * kbsequence.C (parse): change return type to string::size_type
12732
12733         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12734         variable
12735
12736         * Bullet.C (bulletSize):
12737         (bulletEntry): do not use short ints as parameters
12738
12739         * BufferView2.C (insertLyXFile): change a char to an int.
12740
12741         * WorkArea.C (WorkArea): remove unneeded floats in computation
12742
12743 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12744
12745         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12746
12747         * paragraph.C (asString): Do not ignore newline/hfill chars when
12748         copying to the clipboard.
12749
12750 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12753         after a multi-line inset.
12754
12755 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12756
12757         * paragraph.C (validate): Set NeedLyXFootnoteCode
12758
12759 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12762         and decrease-error to decrease.
12763
12764 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12765
12766         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12767         it more readable (should be equivalent)
12768
12769 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12770
12771         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12772
12773 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12774
12775         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12776         of a cursor (row, etc.) after a character has been deleted
12777         (deleteEmptyParagraphMechanism): call the method above on _all_
12778         cursors held by the LyXText when a double space has been
12779         detected/deleted.
12780
12781 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12784         pixmap.
12785         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12786
12787         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12788         background. Use greyOut() and the new show() methods to toggle between
12789         the foreground and background. Add code to remove the splash after
12790         its initial showing.
12791
12792         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12793         (create_forms): no longer call Dialogs::showSplash.
12794
12795 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * .cvsignore: add version_info.h
12798
12799 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * version_info.h.in: new file
12802
12803         * Makefile.am: add version_info.h.in
12804
12805         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12806         version_info.h instead of VERSION_INFO
12807
12808 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12809
12810         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12811         The ERT inset now returns string().
12812
12813 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * lyxtext.h, text.C (selectNextWord): renamed as
12816         selectNextWordToSpellcheck.
12817
12818         * text.C (selectNextWordToSpellcheck): Modified to not select
12819         words inside an ERT inset.
12820
12821 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * lyx_cb.C (MenuLayoutSave): change a bit the question
12824
12825         * sp_base.h: include <sys/types.h>
12826
12827 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12830
12831 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12832
12833         * several files: fix typos in user-visible strings
12834
12835 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12836
12837         * text2.C (pasteSelection): do not set the selection, since it
12838         will be cleared later. Actually, the intent was to fix the way the
12839         selection was set, but I figured rmoving the code was just as good.
12840
12841 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * FontLoader.C (available): Check if font is available without
12844         loading the font.
12845
12846 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12847
12848         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12849
12850 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12851
12852         * lyxrc.[Ch]: added display_graphics variable and associated code.
12853
12854 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * bufferparams.C (hasClassDefaults): new method. Returns true if
12857         the buffer parameters correspond to known class defaults
12858
12859 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * XFormsView.C (show): set minimum size to the main window.
12862
12863 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12864
12865         * text2.C (copySelection):
12866         (cutSelection):
12867         * lyxfind.C (LyXReplace):
12868         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12869         LyXText::selectionAsString.
12870
12871         * paragraph.C (asString): add "label" argument to the second form
12872
12873         * text2.C (selectionAsString): add "label" argument and pass it to
12874         Paragraph::asString.
12875
12876 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * lyx_main.C (commandLineHelp): remove version information
12879
12880 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12881
12882         * lyx_main.C: add -version commandline option
12883
12884 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.h: make the optional constructor arg required instead.
12887         some modifications to other files because of this.
12888
12889         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12890
12891         * lyxserver.C (C_LyXComm_callback): make it static
12892
12893         * lyx_main.C (error_handler): make it static
12894
12895         * lyx_gui.C (LyX_XErrHandler): make it static
12896
12897         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12898
12899         * WorkArea.C: make the extern "C" methods static.
12900
12901         * Makefile.am (lyx_LDADD): simplify
12902
12903 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12904
12905         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12906         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12907
12908         * LyXAction.C (init):
12909         * lyxfunc.C (dispatch): associated code removal.
12910
12911 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * lyxfont.h (isSymbolFont): shut off warning
12914
12915         * text.C (setHeightOfRow):
12916         (getVisibleRow): fix crash with empty paragraphs which have a
12917         bottom line
12918
12919 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12920
12921         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12922         code.
12923
12924 2001-09-04  José Matos  <jamatos@fep.up.pt>
12925         * buffer.C
12926         * buffer.h
12927         * tabular.C (docbook): rename docBook method to docbook.
12928
12929 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * Makefile.am: add dependencies to main.o.
12932
12933 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * FontLoader.C (available): Return false if !lyxrc.use_gui
12936
12937 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12938
12939         * FontInfo.C (query):
12940         * converter.C (view):
12941         * importer.C (Import):
12942         * exporter.C (Export): Can not -> cannot.
12943
12944 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * BufferView_pimpl.C: allow to create index inset even if
12947           string is empty
12948
12949 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * buffer.C (getLists): replace boost::tie code with an explicit pair
12952         as boost::tie can break some compilers.
12953
12954         * iterators.h: Added a std:: declaration to the return type of
12955         ParIterator::size.
12956
12957 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12960           case.
12961
12962 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * iterators.[Ch]: New files. Provide paragraph iterators.
12965
12966         * buffer.C (changeLanguage): Use paragraph iterators.
12967         (isMultiLingual): ditto
12968
12969         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12970
12971 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12972
12973         * FontLoader.C: Support for cmr font.
12974
12975 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12976
12977         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12978         (available): New method.
12979
12980         * FontInfo.C (getFontname): Use scalable fonts even when
12981         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12982         found.
12983
12984 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12985
12986         * converter.C (Formats::view): reverted! Incorrect fix.
12987
12988 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * converter.C (Formats::view): only output the -paper option
12991         if the dvi viewer is xdvi, thereby fixing bug #233429.
12992
12993 2001-08-23  Herbert Voss  <voss@perce>
12994
12995         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12996
12997 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12998
12999         * Spacing.h (Spacing): Set space to Default on in the default
13000         constructor.
13001
13002 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * vc-backend.h (RCS::versionString): add RCS to version
13005         (CVS::versionString): add CVS to version
13006
13007         * vc-backend.C (scanMaster): do not add CVS to version.
13008         (scanMaster): do not add RCS to version
13009
13010         * lyxvc.C (versionString): new method
13011
13012         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13013
13014 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * Spacing.C (set): initialize fval
13017
13018 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13019
13020         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13021         " or \.
13022
13023 2001-08-16  Juergen Vigna  <jug@sad.it>
13024
13025         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13026
13027 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13028
13029         * BufferView_pimpl.C:
13030         * figureForm.C:
13031         * lyxtext.h:
13032         * text2.C: setParagraph takes linespacing now
13033
13034 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * LyxAction.C: add internal LFUN_CITATION_INSERT
13037
13038         * LyXView.C: actually apply fix
13039
13040         * bufferlist.C: fix open non-existent file
13041
13042         * lyxfind.C: fix indentation
13043
13044         * lyxfunc.C: remove unneeded assert, fix typo
13045
13046 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13047
13048         * MenuBackend.C: use "Floatname List"
13049
13050 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13051
13052         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13053         when converting LaTeX layout to insetERT.
13054         Generate a non-collapsed float when reading old float
13055
13056 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13059         ERT insets.
13060
13061 2001-08-13  Juergen Vigna  <jug@sad.it>
13062
13063         * text.C (fill): return 0 instead of 20 as this seems to be the more
13064         correct value.
13065
13066 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13067
13068         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13069         lyxrc.font_norm.
13070
13071 2001-08-13  Juergen Vigna  <jug@sad.it>
13072
13073         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13074         casesensitive off.
13075         (SearchBackward): comment out the unlocking of the inset_owner this
13076         should not be needed!
13077
13078 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * Many files: Remove inherit_language, and add latex_language
13081
13082         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13083         collapsible insets.
13084
13085 2001-08-10  Juergen Vigna  <jug@sad.it>
13086
13087         * text.C (prepareToPrint): fixed hfill-width in draw!
13088
13089         * BufferView2.C (selectLastWord): save the selection cursor as this
13090         now is cleared in the function LyXText::clearSelection!
13091
13092 2001-08-08  Juergen Vigna  <jug@sad.it>
13093
13094         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13095         BACKSPACE type functions.
13096
13097         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13098         is only cutted from the document but not put in the cut-buffer, where
13099         still the old stuff should be.
13100
13101         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13102
13103         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13104
13105         * tabular.C (SetWidthOfCell): fixed special case where the width
13106         was not updated!
13107         (LeftLine): handle '|' in align_special.
13108         (RightLine): ditto
13109         (LeftAlreadyDrawed): ditto
13110         (SetWidthOfCell): ditto
13111
13112 2001-08-07  Juergen Vigna  <jug@sad.it>
13113
13114         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13115
13116 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13119         * lyxlex.[hC]: ditto
13120
13121 2001-08-06  Juergen Vigna  <jug@sad.it>
13122
13123         * text.C (getVisibleRow): fix up row clearing a bit.
13124
13125 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * minibuffer.C: make sure the X server sees the changes in the input.
13128
13129 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * paragraph.C (getFont): split into...
13132         (getLabelFont): this
13133         (getLayoutFont): and this
13134         * paragraph_pimpl.C (realizeFont): calling this
13135
13136         * text2.C (getFont): split into...
13137         (getLayoutFont): this
13138         (getLabelFont): and this
13139         (realizeFont): all three calling this
13140
13141         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13142         files where used.
13143
13144 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13147
13148 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13149
13150         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13151         layouts from the Quote inset insertion.
13152
13153 2001-08-03  Juergen Vigna  <jug@sad.it>
13154
13155         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13156
13157         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13158         only if status not is already CHANGED_IN_DRAW (second level).
13159
13160         * text.C (draw): don't set the need_break_row when inside an
13161         InsetText LyXText.
13162
13163 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * buffer.C (parseSingleLyXformat2Token): handle more latex
13166         conversion cases.
13167
13168         * bufferview_funcs.[hC]: change function names to
13169         begin with small char, adjust other files.
13170
13171 2001-08-02  André Pönitz <poenitz@gmx.net>
13172
13173         * lyxfunc.C:
13174         BufferView_pimpl.C: remove broken special code for math-greek
13175
13176 2001-08-02  Juergen Vigna  <jug@sad.it>
13177
13178         * BufferView_pimpl.C (update): redone this function so that we
13179         update the text again if there was a CHANGE_IN_DRAW.
13180
13181         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13182         (drawFromTo): added a new internal bool which is used by draw() and
13183         redraw() function.
13184         (general): some cursor drawing problems fixed.
13185
13186 2001-08-01  Juergen Vigna  <jug@sad.it>
13187
13188         * lyxfind.C (LyXFind): fixed
13189         (SearchForward): ditto
13190         (SearchBackward): ditto
13191
13192         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13193         spurius drawing of the cursor in the main area.
13194
13195         * text2.C (status): small fix which could lead to a segfault!
13196         (clearSelection): remove unneeded BufferView param.
13197
13198 2001-08-01  André Pönitz <poenitz@gmx.net>
13199
13200         * lyxfunc.C: small change due to changed mathed interface
13201
13202 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13205
13206 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * lyxfunc.c: fail gracefully if file doesn't exist
13209
13210         * LyXSendto.C:
13211         * buffer.C:
13212         * lyxfunc.C:
13213         * BufferView_pimpl.C: IsDirWriteable() proto changed
13214
13215         * LyXView.C: fix updateWindowTitle() to store the last title
13216
13217 2001-07-31  Juergen Vigna  <jug@sad.it>
13218
13219         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13220         the font (wrong since using of Paragraph::highestFontInRange).
13221
13222         * paragraph.C (highestFontInRange): added a default_size parameter.
13223
13224         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13225         (setHeightOfRow): reformat
13226
13227 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * converter.[hC] + affected files: move to (inital-char)lowercase
13230         function names.
13231
13232         * ParagraphParameters.C (ParagraphParameters): remove commented code
13233
13234         * PainterBase.[Ch]: remove commented code
13235
13236         * LaTeXFeatures.h: add "bool floats" for float.sty
13237
13238         * LaTeXFeatures.C (LaTeXFeatures): init floats
13239         (require): handle float
13240         (getPackages): do it with floats
13241
13242 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * BufferView_pimpl.C (Dispatch): improve handling of
13245         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13246
13247         * commandtags.h: #include lyxfont.h here temporarily to avoid
13248         keybinding bug.
13249
13250         * bufferlist.h: include LString.h here.
13251
13252 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * text2.C (getStringToIndex): new method.
13255
13256 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13257
13258         * *: Reduced header file dependencies all over.
13259
13260 2001-07-30  Baruch Even  <baruch@lyx.org>
13261
13262         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13263
13264 2001-07-29  Baruch Even  <baruch@lyx.org>
13265
13266         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13267
13268 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * ParameterStruct.h (endif): add a default constructor to make
13271         sure that all variables is initialized.
13272
13273         * ParagraphParameters.C (ParagraphParameters): adjust
13274
13275 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13278         index; also, check that there is something to index, and that it
13279         does not span over several paragraphs.
13280         (doubleClick): use WHOLE_WORD_STRICT for double click.
13281
13282         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13283
13284         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13285         scheme.
13286
13287 2001-07-26  Baruch Even  <baruch@lyx.org>
13288
13289         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13290         an InsetFig figure, backwards compatible reading of old figure code.
13291
13292 2001-07-27  Juergen Vigna  <jug@sad.it>
13293
13294         * text2.C: font.realize function adaption.
13295
13296         * text.C (draw): add a warnings lyxerr text if needed.
13297
13298         * layout.C: font.realize function adaption.
13299
13300         * language.C: add inherit_language and implement it's handlings
13301
13302         * bufferview_funcs.C (StyleReset): remove language parameter from
13303         font creation (should be language_inherit now).
13304
13305         * bufferparams.C (writeFile): handle ignore_language.
13306
13307         * paragraph.C (getFontSettings): the language has to be resolved
13308         otherwise we have problems in LyXFont!
13309
13310         * lyxfont.C (lyxWriteChanges): added document_language parameter
13311         (update): removed unneeded language parameter
13312
13313         * paragraph.C (validate): fixed wrong output of color-package when
13314         using interface colors for certain fonts in certain environments,
13315         which should not seen as that on the final output.
13316
13317 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13318
13319         * BufferView_pimpl.C:
13320         * Thesaurus.h:
13321         * Thesaurus.C:
13322         * Makefile.am:
13323         * commandtags.h:
13324         * LyXAction.C: add thesaurus support
13325
13326         * lyxfind.h:
13327         * lyxfind.C: add "once" parameter, for thesaurus, to not
13328           move to the next match
13329
13330 2001-07-26  Juergen Vigna  <jug@sad.it>
13331
13332         * lyxfont.C (realize): honor ignore_language too!
13333         (resolved): ditto.
13334
13335         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13336
13337         * text.C (draw): one place more for ignore_language to not draw
13338         itself!
13339
13340 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13341
13342         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13343
13344 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13347         the minipage conversion problem.
13348
13349 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13352         insert an inset.
13353
13354 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13355
13356         * BufferView.h: don't forward declare WorkArea
13357
13358         * BufferView.C: don't include WorkArea.h
13359
13360 2001-07-25  André Pönitz <poenitz@gmx.net>
13361
13362         * commandtags.h:
13363         * LyXAction.C:
13364         * lyxfunc.C:  new LFUN 'math-space'
13365
13366         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13367
13368 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * text2.C (toggleInset): call open/close
13371
13372 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13373
13374         * lyxfunc.C (dispatch): add debug for the disabled case
13375
13376         * font.C (buttonText): make similar to rectText
13377
13378         * buffer.C (readInset): comment out parsing of insetlist and
13379         insttheorem
13380
13381         * PainterBase.C (rectText): small correction
13382
13383         * BufferView_pimpl.C: comment out insettheorem and insetlist
13384         * LyXAction.C: ditto
13385         * commandtags.h: ditto
13386
13387 2001-07-24  Juergen Vigna  <jug@sad.it>
13388
13389         * text.C (draw): honor the ignore_language.
13390
13391         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13392
13393 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13394
13395         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13396         char inset.
13397
13398 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13399
13400         * lyxtext.h: remove unused (and unimplemented) methods
13401
13402 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13403
13404         * text.C (getVisibleRow): honor background color
13405
13406         * PainterBase.h:
13407         * Painter.h: remove default color argument for fillRectangle
13408
13409         * text.C (backgroundColor): new method
13410
13411 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * text.C (getVisibleRow): adjust
13414
13415         * font.[Ch] (rectText): new method, metrics
13416         (buttonText): new method, metrics
13417
13418         * PainterBase.[hC]: make rectText and buttonText always draw and take
13419         fewer paramteres.
13420
13421 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13422
13423         * ToolbarDefaults.C (read):
13424         * MenuBackend.C (read): allow escaping in all strings
13425
13426         * BufferView_pimpl.C (insertAndEditInset): new method.
13427         (Dispatch): use insertAndEditInset whenever appropriate.
13428
13429         * BufferView_pimpl.C (insertNote): removed
13430
13431         * BufferView_pimpl.C (smartQuote): new method, moved from
13432         BufferView; if an insetquote cannot be inserted, insert a '"'
13433         character instead.
13434
13435         * BufferView2.C: remove insertCorrectQuote();
13436
13437         * lyxfunc.C (getStatus): Add support for all remaingin
13438         inset-insert lfuns.
13439
13440         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13441
13442         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13443         command (necessary to pass " as parameter of self-insert.
13444
13445         * text.C (selectWordWhenUnderCursor):
13446         (selectWord): add word_location parameter
13447         (selectWordWhenUnderCursor): same + remove special code for word
13448         boundary.
13449         (selectNextWord): use kind() to guess type of insetspecialchar,
13450         not latex().
13451
13452         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13453         (insertErtContents): create ert insets as collapsed.
13454         (readInset): better compatibility code for Info inset.
13455
13456 2001-07-20  Juergen Vigna  <jug@sad.it>
13457
13458         * lyxfunc.C (dispatch): use always LyXFind now!
13459
13460         * text2.C (init): add a reinit flag so that the LyXText can be
13461         reinited instead of deleted and reallocated (used in InsetText).
13462
13463         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13464
13465         * text.C: ditto
13466
13467         * text2.C: ditto
13468
13469 2001-07-18  Juergen Vigna  <jug@sad.it>
13470
13471         * text.C (selectNextWord): handle insets inside inset by calling
13472         always the bv->text functions so that we can go up the_locking_inset!
13473
13474         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13475         in strange locations when inside an inset!
13476
13477         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13478         handling to include insets.
13479
13480         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13481
13482 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * LyXAction.C (init):
13485         * commandtags.h:
13486         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13487         LIGATURE_BREAK, since the name is so stupid.
13488
13489 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13490
13491         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13492         InsetInfos.
13493
13494         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13495
13496         * sp_form.[Ch]: remove.
13497
13498         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13499
13500         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13501         InsetInfo.
13502
13503         * src/buffer.C (readInset): ditto.
13504
13505 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13506
13507         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13508         menuSeparator(), endOfSentenceDot(), ldots() and
13509         hyphenationPoint(), which are therefore removed.
13510         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13511
13512         * LyXAction.C (init):
13513         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13514
13515         * paragraph.C (getWord): removed.
13516
13517         * BufferView_pimpl.C (Dispatch): use last word or selection for
13518         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13519
13520         * lyx_main.C (queryUserLyXDir): do not ask before creating
13521         user_dir, except if it has been named explicitely.
13522
13523 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13526         a document of zero size.
13527
13528 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13529
13530         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13531         approriately in the c-tor and in require().
13532         (getPackages): output the appropriate LaTeX for natbib support.
13533
13534         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13535         variables "use_natbib" and "use_numerical_citations" when reading the
13536         LyX file.
13537         (readInset): read the various natbib cite commands.
13538         (validate): white-space change.
13539
13540         * bufferparams.[Ch]: new variables "bool use_natbib" and
13541         "bool use_numerical_citations".
13542         (writeFile): output them in the LyX file.
13543
13544 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13545
13546         * lyxfunc.C (getStatus): add support for all the inset insertion
13547         commands.
13548
13549         * text2.C (insertInset):
13550         * paragraph.C (insetAllowed):
13551         * BufferView_pimpl.C (insertInset): update to take in account the
13552         renaming of insertInsetAllowed
13553
13554         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13555
13556         * text2.C (getInset): new method. returns inset at cursor position.
13557
13558         * BufferView_pimpl.C (Dispatch): changes because of this.
13559
13560         * LyXAction.C (init): rename open-stuff to inset-toggle.
13561
13562         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13563
13564         * text2.C (toggleInset): renamed from openStuff; use
13565         Inset::open().
13566
13567 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13568
13569         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13570
13571         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13572
13573 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * buffer.C (readLyXformat2): Add filename to the error dialog
13576
13577 2001-07-18  Juergen Vigna  <jug@sad.it>
13578
13579         * tabular.C (GetCellNumber): put an assert here instead of the check!
13580
13581 2001-07-17  Juergen Vigna  <jug@sad.it>
13582
13583         * BufferView_pimpl.C (toggleSelection): adapted too.
13584
13585         * text.C (selectNextWord): adapted for use with insets.
13586         (selectSelectedWord): ditto
13587
13588 2001-07-17  Juergen Vigna  <jug@sad.it>
13589
13590         * sp_spell.C (PSpell): fix initialitation order.
13591
13592 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * paragraph.C: spacing
13595
13596 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13597
13598         * sp_spell.C: repair language selection for pspell
13599
13600 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * lyxfunc.h: change more methods to begin with lower char.
13603
13604 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13605
13606         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13607         for unknown layouts.
13608
13609 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13610
13611         * buffer.C (readLyXformat2): Generate an error dialog if there are
13612         unknown layouts.
13613
13614 2001-07-16  Juergen Vigna  <jug@sad.it>
13615
13616         * sp_spell.C: always compile ISpell part.
13617
13618         * lyxrc.C: added use_pspell entry and it's handling.
13619
13620 2001-07-13  Juergen Vigna  <jug@sad.it>
13621
13622         * sp_spell.C: removed double includes.
13623
13624 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         Consistent use of Lsstream.h:
13627         * Lsstream.h: added using std::stringstream for consistencies sake.
13628
13629         * buffer.C: removed using std::stringstream
13630
13631         * lyxfont.C (stateText):
13632         * paragraph.C (asString):
13633         * text.C (selectNextWord, selectSelectedWord):
13634         * text2.C (setCounter):
13635         * vspace.C (asString, asLatexString):
13636         std::ostringstream -> ostringstream.
13637
13638 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13639
13640         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13641         * commandtags.h: add LFUN_HELP_ABOUTLYX
13642         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13643
13644 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13645
13646         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13647         cursorToggle()
13648         * lyx_gui_misc.C: remove spellchecker
13649         * lyxfunc.C: showSpellchecker
13650         * sp_base.h: added
13651         * sp_ispell.h: added
13652         * sp_pspell.h: added
13653         * sp_spell.C: added
13654         * sp_form.[Ch]: removed
13655         * spellchecker.[Ch]: removed
13656
13657 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13658
13659         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13660         is set.
13661         (simpleTeXSpecialChars): Simply print the input character without
13662         any special translation if pass_thru is set.
13663
13664         * layout.h: Added bool pass_thru to layout class for being able to
13665         implement pass through of a paragraph for Literate Programming.
13666
13667         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13668         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13669         * layout.C (Read): add "passthru" to list of layout tags and add
13670         code to set the pass_thru boolean when it is read.
13671
13672 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * trans_decl.h: remove allowed from KmodInfo
13675
13676         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13677         remove allowed code
13678         (Load): adjust
13679
13680         * paragraph_pimpl.C (erase): use boost::prior
13681
13682         * Painter.C (text): use data() instead of c_str() when length is
13683         also provided.
13684         * WorkArea.C (putClipboard): ditto
13685         * font.h (width): ditto
13686
13687         * BufferView2.C: use it-> instead of (*it). for iterators
13688         * texrow.C: ditto
13689         * paragraph_pimpl.C: ditto
13690         * paragraph.C: ditto
13691         * minibuffer.C: ditto
13692         * language.C: ditto
13693         * kbmap.C: ditto
13694         * encoding.C: ditto
13695         * counters.C: ditto
13696         * converter.C: ditto
13697         * chset.C: ditto
13698         * Variables.C: ditto
13699         * TextCache.C: ditto
13700         * MenuBackend.C: ditto
13701         * LyXAction.C: ditto
13702         * LColor.C: ditto
13703         * FloatList.C: ditto
13704         * DepTable.C: ditto
13705         * ColorHandler.C (LyXColorHandler): ditto
13706
13707 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13710
13711         * text2.C (openStuff): reintroduce this method (which had been
13712         nuked in NEW_INSETS frenzy).
13713
13714         * lyxfunc.C (Dispatch): when an action has not been handled, use
13715         its name in the error message, not its number.
13716
13717         * paragraph.C (inInset): change method name to begin with lowercase.
13718
13719         * undo_funcs.C:
13720         * text2.C: updates because of this.
13721
13722 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13723
13724         * ToolbarDefaults.C (add): add spaces in error message
13725
13726 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13729         (readLyXformat2): rename return_par to first_par, use lyxlex's
13730         pushToken and remove the manual push handling.
13731         (parseSingleLyXformat2Token): add another ert comp. variable:
13732         in_tabular, rename return_par to first_par. handle newlines better
13733
13734 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13737
13738 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * text2.C (getParFromID): removed
13741
13742         * buffer.C (getParFromID): new method moved form lyxtext.
13743         * BufferView2.C (insertErrors): adjust
13744         (setCursorFromRow): adjust
13745         * BufferView_pimpl.C (restorePosition): adjust
13746         * lyxfunc.C (Dispatch): adjust
13747         * undo_funcs.C (textUndo): adjust
13748         (textRedo): adjust
13749         (textHandleUndo): adjust
13750         (textHandleUndo): adjust
13751
13752 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * buffer.C: up' the LYX_FORMAT
13755
13756         * lyxfont.h: turn NO_LATEX on as default
13757
13758         * buffer.C (insertErtContents): new methods of tex style compability.
13759         (parseSingleLyXformat2Token): use it several places.
13760         * tabular.C (OldFormatRead): and here
13761
13762 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * text2.C: remove some commented code.
13765         reindent file.
13766
13767         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13768         * trans.C: changes because of the above.
13769
13770 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13771
13772         * text2.C (setCounter): Fix counters bug with bibliography layout.
13773
13774 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13777         own member functions
13778         (simpleTeXSpecialChars): ditto
13779
13780 2001-07-06  Juergen Vigna  <jug@sad.it>
13781
13782         * a lot of files: changed the access to LyXText::status and the
13783         call of undo-functions.
13784
13785         * undo.[Ch]: added a inset_id to the undo informations.
13786
13787         * undo_funcs.[Ch]: added and moved here all undo functions.
13788
13789         * lyxtext.h: give the status enum a weight, made status_ a private
13790         variable and made accessor functions for it, removed the whole bunch
13791         of undo-functions as they are now in their own file, make some
13792         functions publically available. Added function ownerParagraph with
13793         int parameter.
13794
13795         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13796         made InInset() a const function, added getParFromID() function.
13797
13798         * buffer.[Ch]: added const version for inset_iterator functions,
13799         added getInsetFromID() function.
13800
13801         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13802         changed undo functions for new version.
13803
13804 2001-07-05  Juergen Vigna  <jug@sad.it>
13805
13806         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13807         unknow mechanism does not call the proper constructor but only this
13808         one also if I request the other!?
13809
13810 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13813
13814         * text2.C (LyXText): use initialization lists.
13815
13816         * lyxtext.h (Selection): initialize set_ and mark_
13817         (init): remove method
13818
13819 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13820
13821         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13822
13823 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * screen.[Ch]: change method names to begin with lowercase
13826
13827         * BufferView_pimpl.C (updateScrollbar): simplify further and
13828         hopefully make it a bit faster.
13829
13830 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13833         calling directly xforms functions.
13834
13835         * Painter.C (Painter):
13836         * lyx_cb.C (MenuWrite):
13837         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13838         fl_display.
13839
13840         * lyx_gui.C: remove bogus guiruntime extern declaration.
13841
13842 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13843
13844         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13845         in NEW_INSETS
13846         (redoDrawingOfParagraph): ditto
13847         (redoParagraphs): ditto
13848         (cutSelection): don't create a object for CutAndPaste use the
13849         static method directly
13850         (pasteSelection): ditto
13851
13852         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13853         LyXview (+ rename)
13854
13855 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * modifications to some other files because of this.
13858
13859         * Makefile.am (lyx_SOURCES): add XFormsView
13860
13861         * XFormsView.[Ch]: new files
13862
13863         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13864         the main window. Move the gui dependent stuff to XFormsView
13865
13866 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * tabular.C (GetCellInset): update cur_cell also in the row/col
13869         version of this function.
13870
13871         * lyxfunc.C: no need to include figure_form.h here.
13872
13873         * FontLoader.h:
13874         * lyxfunc.h:
13875         * lyxscreen.h:
13876         * text2.C:
13877         * lyxvc.C: no need to include forms.h here.
13878
13879 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13882
13883         * lyxfunc.C (Dispatch):
13884         * Spacing.C (set):
13885         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13886         constructor argument.
13887
13888 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * paragraph.C (Paragraph): dont't clear, and just set layout.
13891         (makeSameLayout): use params's copy contructor.
13892
13893         * ParagraphParameters.[Ch] (makeSame): delete method
13894
13895 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * Variables.[Ch]: fix indentation, rename set to isSet
13898
13899 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13900
13901         * lyxfunc.C (Dispatch): fix typo
13902
13903 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13904
13905         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13906         upper_bound.
13907
13908         * bufferlist.C: include assert.h for emergencyWrite().
13909
13910 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13913           give up at last (bug #425202) !
13914
13915 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13916
13917         * lyx_gui_misc.C:
13918         * sp_form.h:
13919         * sp_form.C:
13920         * spellchecker.h:
13921         * spellchecker.C: strip spellchecker options and bring up
13922           preferences tab instead
13923
13924 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13927         the istringstream constructor
13928
13929 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * paragraph.C (getLayout): fix return value
13932
13933         * paragraph.h: do not declare getLayout as inline.
13934
13935         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13936
13937 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13938
13939         * lyxcursor.h (operator<): new func
13940         (operator>): new func
13941         (operator>=): new func
13942         (operator<=): new func
13943
13944         * text.C (changeCase): use selection.start and selection.end
13945         (changeRegionCase): require from to be <= to. Require par to be a
13946         valid paragraph.
13947
13948         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13949
13950 2001-06-27  Juergen Vigna  <jug@sad.it>
13951
13952         * text.C (cursorLeftOneWord): changed to return the cursor and added
13953         overlay with BufferView * parameter which calls this one.
13954         (getWord): added
13955         (selectWord): use new getWord function.
13956         (changeCase): renamed from changeWordCase as and extended to work
13957         also on selections.
13958
13959         * lyxtext.h: added enum word_location
13960
13961         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13962         changeCase as this operates now also on selections.
13963
13964 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13965
13966         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13967
13968         * many files: send debug output to Debug::INFO instead of
13969         Debug::ANY.
13970
13971         * converter.C (View):
13972         (Convert):
13973         (Move): send debug output to Debug::FILES instead of console.
13974
13975 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13976
13977         * lyxfunc.C (getStatus): use func_status
13978
13979         * func_status.h: new header, describing the results of
13980         LyXFunc::getStatus;
13981
13982         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13983         LFUN_MATH_HALIGN.
13984
13985 2001-06-25  The LyX Project  <jug@sad.it>
13986
13987         * buffer.C (sgmlOpenTag):
13988         (sgmlCloseTag):
13989         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13990
13991 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * text2.C: remove some dead code
13994
13995         * tabular.C (GetCellInset): store the last cell checked (gotten)
13996
13997         * tabular.h: add the helper for the speedup
13998
13999         * lyxtext.h: remove some dead code
14000
14001 2001-06-26  The LyX Project  <Asger>
14002
14003         * paragraph.C: Change export to LaTeX of alignment to
14004         \begin{center} and family for better roundtrip work with reLyX.
14005
14006         * Tune the math drawing a bit.
14007
14008 2001-06-25  The LyX Project  <Asger>
14009
14010         * LColor.C (LColor): New color for math background. New color
14011         for buttons.
14012
14013 2001-06-25  The LyX Project  <jug@sad.it>
14014
14015         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14016
14017         * lyxfunc.C (Open):
14018         * bufferlist.C (newFile): do not restrict to files ending with
14019         .lyx
14020
14021         * BufferView_pimpl.C (MenuInsertLyXFile):
14022
14023 2001-06-24  The LyX Project  <jug@sad.it>
14024
14025         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14026         of compare_no_case
14027
14028 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029
14030         * lyxtext.h: rename most methods to begin with a small char.
14031         Lots of changes because of this.
14032
14033         * paragraph.C (Paragraph): do not call fitToSize
14034         (erase): call Pimpl::erase
14035         (insertChar): call Pimpl::insertChar
14036         (insertInset): call Pipl::insertInset
14037         (breakParagraph): do not call fitToSize
14038         (breakParagraphConservative): do not call fitToSize
14039         (fitToSize): remove method
14040
14041         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14042
14043 2001-06-24  The LyX Project  <Asger>
14044
14045         * Fix Qt compilation^2
14046
14047 2001-06-24  The LyX Project  <jug@sad.it>
14048
14049         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14050         depthHook(getDepth()-1).
14051
14052         * paragraph.h:
14053         * ParagraphParameters.h:
14054         * ParameterStruct.h: change type of depth to unsigned int ==
14055         depth_type. Many adaptations to other files before of that.
14056
14057 2001-06-24  The LyX Project  <Asger>
14058
14059         * Fix Qt compilation.
14060
14061 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * paragraph.h: renamed several methods to begin with small letter.
14064         several changes to many parts of the code because of this.
14065
14066 2001-06-23  The LyX Project  <jug@sad.it>
14067
14068         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14069         rewritten to discard all double spaces when KeepEmpty is off
14070         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14071         to only handle newlines but not fiddle with spaces and friends.
14072
14073         * lyxfunc.C (MenuNew): when doing 'new from template', use
14074         template_path as default directory
14075
14076 2001-06-23  The LyX Project  <Asger>
14077
14078         * Clean-up of header file includes all over
14079         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14080
14081 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14082
14083         * paragraph.h: renamed from lyxparagraph.h
14084
14085 2001-06-23  Asger  <lyx@violet.home.sad.it>
14086
14087         * Buffer.h: Removed Buffer::resize
14088         * BufferList.h: Removed BufferList::resize
14089         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14090         the document lazily when we change the width, or the font settings.
14091
14092 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14095
14096 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14097
14098         * buffer.h: remove out of date comment
14099
14100 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * lyxscreen.h:
14103         * screen.C: fix "theoretical" GC leak
14104
14105 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * LaTeX.C (scanAuxFile):
14108         (deplog): remove trailing \r when reading stream (useful under
14109         win32)
14110
14111 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14112
14113         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14114         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14115         and BufferView::theLockingInset(Inset*), so should use them and not
14116         access bv_->text->the_locking_inset directly.
14117
14118         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14119
14120 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * Makefile.am:
14123         * tex-defs.h: remove old unused file
14124
14125 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * BufferView_pimpl.C: fix typo, remove minibuffer message
14128           when buffer has loaded
14129
14130 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * lyxfunc.C (Dispatch): use stringstream
14133         (MenuNew): use stringstream
14134         (Open): use stringstream
14135
14136         * importer.C (Import): use stringstream
14137
14138         * bufferview_funcs.C (CurrentState): use stringstream
14139
14140         * LaTeX.C (run): use stringstream
14141
14142         * BufferView_pimpl.C (savePosition): use stringstream
14143         (restorePosition): use stringstream
14144         (MenuInsertLyXFile): use stringstream
14145
14146 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14147
14148         * BufferView.C:
14149         * Bullet.C:
14150         * ColorHandler.C:
14151         * FontInfo.C:
14152         * FontLoader.C:
14153         * LColor.C:
14154         * LaTeXFeatures.C:
14155         * Painter.C:
14156         * gettext.C:
14157         * lyx_gui_misc.C:
14158         * lyxserver.C:
14159         * vspace.C: removed // -*- C++ -*- as first line.
14160
14161         * lyxfind.h:
14162         * version.h: added // -*- C++ -*- as first line.
14163
14164 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14167
14168         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14169         of string
14170
14171 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14174         of floats.
14175
14176 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14177
14178         * gettext.C: include LString.h even when --disable-nls is on.
14179
14180 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * converter.h (Get): changed argument type from int to
14183         FormatList::size_type to avoid unnecessary conversion.
14184
14185         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14186         before using it.
14187
14188 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14189
14190         * gettext.h: include LString.h even when --disable-nls is on.
14191
14192 2001-06-07  Juergen Vigna  <jug@sad.it>
14193
14194         * text.C (BreakAgain): subst spaces with tabs.
14195
14196         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14197         (resizeInsetsLyXText): set force on resizeLyXText.
14198
14199 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14200
14201         * gettext.h (gettext_init):
14202         (locale_init): use a real definition instead of a macro
14203
14204 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14205
14206         * Bufferview_pimpl.C:
14207         * LColor.h:
14208         * LColor.C: further lcolor tidies
14209
14210 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14211
14212         * BufferView_pimpl.C (updateScrollbar): simplify.
14213
14214         * BufferView2.C: don't include insets/insetinfo.h, change
14215         prototype for insertInset and call the Pimpl version. let
14216         updateInset call Pimpl version.
14217
14218         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14219         gotoInset to BufferView::Pimpl
14220
14221 2001-06-01  Juergen Vigna  <jug@sad.it>
14222
14223         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14224         inside a LockingInset (is the update needed at all?).
14225
14226 2001-05-31  Juergen Vigna  <jug@sad.it>
14227
14228         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14229         here not the old one otherwise how should we compare it afterwards
14230         if it's the same!
14231
14232 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * lyxfont.C:
14235         * tabular.C:
14236         * tabular-old.C:
14237         * FontInfo.C: bring C functions into global namespace when
14238         necessary
14239
14240 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * LString.h: make sure config.h has been loaded before LString.h.
14243
14244         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14245         (one for each char read by EatLine!).
14246
14247         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14248         variables.
14249
14250 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14253         to the same as the par we break from
14254
14255 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14256
14257         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14258
14259         * MenuBackend.C (expand): also create menu entries for wide
14260         versions of the floats.
14261
14262         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14263
14264         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14265
14266         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14267         frontends/Makefile.am
14268
14269         * text2.C: adjust
14270         * text.C: adjust
14271
14272
14273         * tabular.C (getTokenValue): add std::
14274
14275         * tabular-old.C (getTokenValue): add std::
14276         (getTokenValue): ditto
14277         (getTokenValue): ditto
14278
14279         * screen.C (ToggleSelection): adjust
14280
14281         * lyxtext.h: put selection cursors inside a Selection struct.
14282
14283         * lyxfunc.C (moveCursorUpdate): adjust
14284
14285         * lyxfont.C (latexWriteStartChanges): add std::
14286
14287         * lyxfind.C: adjust
14288
14289         * font.h: delete with(char const *, LyXFont const &)
14290
14291         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14292
14293         * FontInfo.C (getFontname): add std::
14294
14295         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14296         (workAreaButtonPress): adjust
14297         (tripleClick): adjust
14298         (update): adjust
14299         (moveCursorUpdate): adjust
14300         (Dispatch): adjust
14301
14302         * BufferView2.C (gotoInset): adjust
14303
14304 2001-05-30  Juergen Vigna  <jug@sad.it>
14305
14306         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14307         to check pspell I add this as default as I now have new pspell
14308         libraries and they seem to use this.
14309
14310 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * text2.C (CutSelection): make the cursor valid before the call to
14313         ClearSelection.
14314
14315 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14316
14317         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14318         relied on 0 terminated strings and other horrors. Bug found due to
14319         the new assert in lyxstring!
14320
14321         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14322         KP_ keys.
14323
14324 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14327         to latinkeys.bind.
14328
14329         * lyxfunc.C (processKeySym): change method of getting to the
14330         self-insert char.
14331
14332         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14333         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14334         * BufferView_pimpl.[Ch]: here as private methods.
14335
14336 2001-05-28  Juergen Vigna  <jug@sad.it>
14337
14338         * text.C (SetHeightOfRow): added the update() call again as it is
14339         needed to initialize inset dimensions!
14340
14341 2001-05-16  Juergen Vigna  <jug@sad.it>
14342
14343         * text2.C (SetCharFont): Add new function with BufferView * and
14344         bool toggleall parameters for setting insets internal fonts.
14345         (SetFont): Freeze the undo as we may change fonts in Insets and
14346         all this change should be inside only one Undo!
14347
14348         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14349         setting font's in insets as for them we have the SetFont function!
14350
14351 2001-05-15  Juergen Vigna  <jug@sad.it>
14352
14353         * text2.C (ClearSelection): to be sure we REALLY don't have any
14354         selection anymore!
14355
14356         * tabular.C (TeXCellPreamble): fixed the left border problem for
14357         multicolumn cells.
14358
14359 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14360
14361         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14362         dependancy file
14363
14364 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14367         LFUN_BREAKPARAGRAPH.
14368
14369         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14370         help test to "internal only", similar for LFUN_INSERT_URL
14371
14372         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14373         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14374         auto_region_delete and deadkeys.
14375
14376 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * LColor.h:
14379         * LColor.C: remove some dead entries, tidy a little
14380
14381 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14384         commented code.
14385         (Dispatch): implement LFUN_ESCAPE
14386
14387         * commandtags.h: add LFUN_ESCAPE
14388
14389         * LyXAction.C (init): add entry for LFUN_ESCAPE
14390
14391         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14392         Remove commented code.
14393         (insertNote): moved here
14394         (open_new_inset): moved here
14395
14396         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14397         BufferView_pimpl
14398
14399 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * kbmap.C (findbinding): clean it up and make it work correctly.
14402
14403         * lyx_main.C (init): do not pass argc and argv as parameters
14404
14405 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14406
14407         * buffer.C: fix path for OS/2 & Win32
14408
14409         * lyx_gui.C:
14410         * lyx_main:
14411         * lyx_main.C: Added os:: class.
14412
14413         * os2_defines.h: update
14414
14415 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14418         better by trying again with reduced state.
14419
14420 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14421
14422         * lyxrc.C (read): print error about invalid key sequence only when
14423         debugging (because not all latinX keysyms are known to some X
14424         servers)
14425
14426         * kbsequence.C (getiso): add a few std:: qualifiers
14427         (getiso): comment out extra return statement.
14428
14429 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14430
14431         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14432         handling.
14433         (Dispatch): enhance the accent inset a bit. (not perfect)
14434
14435 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14438
14439 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * bufferlist.C (emergencyWrite): fix assert() call
14442
14443 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14444
14445         * text.C (InsertChar): Added trivial patch to only send the "you
14446         can not do multiple spaces this way" message once during a
14447         session.
14448
14449 2001-05-08  Baruch Even  <baruch@lyx.org>
14450
14451         * Makefile.am: Changed order of libraries to get LyX to link properly
14452         with the gnome frontend.
14453
14454 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * LaTeXFeatures.h: add a std:: qualifier
14457
14458 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * paragraph.C (String): use stringstream
14461
14462 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * paragraph.C (writeFile): remove footflag arg
14465
14466         * buffer.C (makeLaTeXFile): use stringstream
14467         (latexParagraphs): remove footnot gurba
14468
14469         * LaTeXFeatures.C (getPackages): use stringstream
14470         (getMacros): likewise
14471         (getTClassPreamble): likewise
14472         (getFloatDefinitions): new method
14473
14474         * paragraph.C (writeFile): reindent
14475         (Erase): reindent
14476
14477         * WorkArea.h: revert the xpos + etc changes.
14478
14479         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14480
14481         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14482
14483         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14484         (pasteSelection): likewise
14485         * text2.C (CreateUndo): likewise
14486
14487 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14488
14489         * minibuffer.C (peek_event): temporarily reduce the functionality
14490         of the minibuffer (to allow args on lfuns)
14491
14492         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14493         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14494
14495         * buffer.C (readInset): add compability reading of old float
14496         lists, add reading of new style float list.
14497         (readInset): avoid reevaluation of inscmd.getCmdName()
14498         (getLists): reindent
14499
14500         * MenuBackend.C (MenuItem): implement parsing of
14501         md_floatlistinsert and md_floatinsert.
14502         (expand::LastFiles): move initalizaton of iterators out of loop,
14503         avoid reevaluation.
14504         (expand::Documents): introduce typdedef vector<string> Strings,
14505         and use it.
14506         (expand::ExportFormats): introduce typedef vector<Format const *>
14507         Formats, and use it.
14508         (expand): implement FloatListInsert and FloatInsert.
14509
14510         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14511         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14512         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14513
14514         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14515         handling.
14516         (Dispatch::LFUN_FLOAT_LIST): implement
14517
14518 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14519
14520         * LaTeX.C (run): Fix problem with --export code.
14521
14522 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * BufferView.[Ch] (workarea): removed.
14525         (getClipboard) new method; wrapper for workarea()->getClipboard()
14526
14527         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14528         bug.
14529
14530         * WorkArea.h (width, height, xpos, ypos): These methods all
14531         returned the dimensions of the work_area sub-area of WorkArea,
14532         resulting in a position error if the WorkArea were resized. Now
14533         return the dimensions of the entire WorkArea.
14534
14535         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14536
14537 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14538
14539         * LaTeX.C (deplog): correct the syntax of regex reg1
14540
14541 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * undo.C: remove !NEW_INSETS cruft
14544
14545 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * text2.C: remove !NEW_INSETS cruft
14548
14549         * text.C: remove !NEW_INSETS cruft
14550
14551         * tabular.C: remove !NEW_INSETS cruft
14552
14553         * spellchecker.C: remove !NEW_INSETS cruft
14554
14555         * lyxtext.h: remove !NEW_INSETS cruft
14556
14557         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14558
14559         * lyxfunc.C: remove !NEW_INSETS cruft
14560
14561         * lyxfind.C: remove !NEW_INSETS cruft
14562
14563         * lyx_cb.C: remove !NEW_INSETS cruft
14564
14565         * figureForm.C: remove  !NEW_INSETS cruft
14566
14567         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14568
14569         * buffer.[Ch]: remove !NEW_INSETS cruft
14570
14571         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14572
14573         * CutAndPaste.C: remove !NEW_INSETS cruft
14574
14575         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14576
14577         * BufferView2.C: remove !NEW_INSETS cruft
14578
14579         * BufferView.h: remove !NEW_INSETS cruft
14580
14581 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14582
14583         * Lsstream.h: include LString.h before the sstream headers to
14584         fix problem with gcc 2.95.3 and lyxstring
14585
14586 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * lyx_main.C: add using directives when needed for C functions
14589         declared in std:: namespace.
14590
14591 2001-04-27  Juergen Vigna  <jug@sad.it>
14592
14593         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14594         (SetHeightOfRow): comment out the update call should not be needed!
14595
14596 2001-04-13  Juergen Vigna  <jug@sad.it>
14597
14598         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14599         (LyXTabular): tried to minimize operator= operations (and realized
14600         hopfully Lars wish).
14601
14602 2001-04-27  Juergen Vigna  <jug@sad.it>
14603
14604         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14605
14606 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14609
14610         * buffer.C (readInset): hack to make listof algorithm work
14611
14612         * BufferView_pimpl.C: hack to make listof algorithm work
14613
14614 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14615
14616         * LyXAction.C: removed all !NEW_INSETS cruft
14617         (init): moved lfun_item in method
14618
14619         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14620
14621 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14622
14623         * BufferView2.C (theLockingInset): white space.
14624
14625 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14626
14627         * minibuffer.C: include <iostream>
14628
14629         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14630
14631         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14632
14633         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14634
14635         * text.[Ch] (TransposeChars): new method
14636
14637 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * call message directly through LyXView instead of through LyXFunc
14640         * BufferView2.C: adjust
14641         * BufferView_pimpl.C: adjust
14642         * FontLoader.C: adjust
14643         * buffer.C: adjust
14644         * bufferview_funcs.C: adjust
14645         * converter.C: adjust
14646         * figureForm.C: adjust
14647         * importer.C: adjust
14648         * lyx_cb.C: adjust
14649         * lyx_gui_misc.C: adjust
14650         * lyxfunc.C: adjust
14651         * lyxvc.C: adjust
14652         * text2.C: adjust
14653         + more files in subdirs
14654
14655         * lyxparagraph.h (size): move up int file
14656         (GetLayout): ditto
14657
14658         * adjust all uses of Assert to lyx::Assert.
14659
14660         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14661         lyxfunctional in namespace lyx
14662         * layout.C (hasLayout): ditto
14663         (GetLayout): ditto
14664         (GetLayout): ditto
14665         (delete_layout): ditto
14666         (NumberOfClass): ditto
14667         * converter.C (GetFormat): ditto
14668         (GetNumber): ditto
14669         (Add): ditto
14670         (Delete): ditto
14671         (SetViewer): ditto
14672         * bufferlist.C (getFileNames): ditto
14673         (emergencyWriteAll): ditto
14674         (exists): ditto
14675         (getBuffer): ditto
14676         * MenuBackend.C (hasSubmenu): ditto
14677         (hasMenu): ditto
14678         (getMenu): ditto
14679         * BufferView_pimpl.C (getInsetByCode): ditto
14680
14681 2001-04-18  Juergen Vigna  <jug@sad.it>
14682
14683         * vspace.C (asLatexString): fixed the 100% problem.
14684
14685 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * lyxfunc.C (Dispatch):
14688         * minibuffer.C:
14689         * minibuffer.h: add a few std:: qualifiers
14690
14691 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14692
14693         * minibuffer.[Ch]: reimplement so that commands is initiated and
14694         run from lyxfunc, simplified som handling, and made the completion
14695         and history code for complete. wip.
14696
14697         * lyxfunc.C (processKeySym): call message
14698         (miniDispatch): new temporary method
14699         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14700         (LFUN_MESSAGE): implement
14701         (LFUN_MESSAGE_PUSH): implement
14702         (LFUN_MESSAGE_POP): implement
14703         (initMiniBuffer): the initial/defualt minibuffer message.
14704
14705         * lyxfont.[Ch]: inline some more getters
14706
14707         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14708
14709         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14710
14711         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14712         (AutoSave): use LFUN_MESSAGE
14713         (Reconfigure): ditto
14714
14715         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14716
14717         * figureForm.C: use LFUN_MESSAGE
14718
14719         * converter.C (runLaTeX): use LFUN_MESSAGE
14720
14721         * bufferview_funcs.C: use LFUN_MESSAGE
14722         (Melt): ditto
14723         (changeDepth): ditto
14724
14725         * bufferparams.h: use boost::
14726
14727         * bufferlist.h: inherit privately from noncopyable
14728
14729         * bufferlist.C (loadLyXFile): remove some commented code.
14730
14731         * buffer.C (runChktex): use LFUN_MESSAGE
14732
14733         * ShareContainer.h: inherit privately from noncopyable
14734
14735         * ParagraphParameters.[hC] (depth): inline it.
14736
14737         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14738         methods.
14739         (message): new method
14740         (messagePush): ditto
14741         (messagePop): ditto
14742         (show): init minibuffer
14743         (showState): direct call
14744
14745         * LaTeX.[Ch]: inherit privately from noncopyable
14746         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14747         instead of WriteStatus.
14748
14749         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14750
14751         * BufferView_pimpl.C (buffer): don't init minibuffer
14752         (workAreaButtonPress): use LFUN_MESSAGE
14753         (workAreaButtonRelease): ditto
14754         (savePosition): ditto
14755         (restorePosition): ditto
14756         (MenuInsertLyXFile): ditto
14757         (workAreaExpose): don't init minibuffer
14758         (update): remove commented code, simplify
14759
14760         * BufferView2.C (openStuff): use LFUN_MESSAGE
14761         (toggleFloat): ditto
14762         (menuUndo): ditto
14763         (menuRedo): ditto
14764         (copyEnvironment): ditto
14765         (pasteEnvironment): ditto
14766         (copy): ditto
14767         (cut): ditto
14768         (paste): ditto
14769         (gotoInset): ditto
14770         (updateInset): remove some commented code
14771
14772         * lastfiles.h: inherit privately from noncopyable
14773         * layout.h: ditto
14774         * lyx_gui.h: ditto
14775         * lyx_main.h: ditto
14776         * lyxlex.h: ditto
14777         * lyxlex_pimpl.h: ditto
14778
14779         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14780         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14781         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14782
14783         * LyXAction.h: inherit privately from noncopyable, add methods
14784         func_begin, func_end, returning iterators to the func map.
14785
14786         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14787         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14788         (func_begin): new method
14789         (func_end): new method
14790
14791         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14792         and not)
14793         (copySelection): ditto
14794         (pasteSelection): ditto
14795
14796         * BufferView.C: whitespace change
14797         * BufferView.h: inherit privately from noncopyable
14798
14799 2001-04-16  Allan Rae  <rae@lyx.org>
14800
14801         * tabular-old.C (l_getline):
14802         * spellchecker.C (sc_check_word):
14803         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14804         an unrecognised preprocessor directive.  So ensure they're wrapped.
14805
14806 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * src/exporter.C (Export): Give an error message when path to file
14809         contains spaces.
14810
14811 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14812
14813         * LaTeX.C (deplog): Always check that foundfile exists.
14814
14815 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * lyx_main.h:
14818         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14819
14820 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * tabular.[Ch] (getLabelList): implement new method
14823
14824         * minibuffer.h: comment ouf setTiimer
14825
14826         * minibuffer.C (ExecutingCB): constify res
14827         (peek_event): constify s
14828         (Set): constify ntext
14829         (Init): constify nicename
14830
14831         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14832
14833         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14834         (savePosition): use two params to Minibuffer::Set
14835         (restorePosition): ditto
14836
14837 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * lyx_main.C: include language.h
14840
14841         * Makefile.am (lyx_main.o): add language.h
14842
14843 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * exporter.C:
14846         * paragraph.C:
14847         * screen.C:
14848         * tabular.C:
14849         * CutAndPaste.C: include gettext.h
14850
14851         * lyxfont.h: remove old hack with ON and OFF.
14852
14853         * lyxparagraph.h:
14854         * lyxfont.h: do not include language.h...
14855
14856         * BufferView2.C:
14857         * LaTeXFeatures.C:
14858         * Painter.C:
14859         * bufferview_funcs.C:
14860         * font.C:
14861         * lyxfont.C:
14862         * text.C:
14863         * text2.C:
14864         * trans_mgr.C:
14865         * paragraph.C: ... but do it here instead
14866
14867 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14868
14869         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14870
14871         * tabular.C: small reformat
14872
14873         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14874         NEW_INSETS version
14875         (GetChar): ditto
14876         (BreakParagraph): ditto
14877         (SetOnlyLayout): ditto
14878         (SetLayout): ditto
14879
14880         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14881         with one arg less.
14882
14883         * lastfiles.C: removed most using decl, add std:: where needed
14884
14885         * buffer.C: ws changes
14886
14887         * MenuBackend.C (class compare_format): put into anon namespace
14888         (expand): constify label, names, action, action2
14889         (expand):
14890
14891         * text.C (SingleWidth): constify font
14892         (IsBoundary): constify rtl2
14893         (GetVisibleRow): constify ww
14894
14895         * LaTeX.C (deplog): constify logfile
14896
14897         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14898         start_x, end_x
14899         (workAreaExpose): constify widthChange, heightChange
14900
14901         * lyxrow.C (par): moved
14902         (height): moved
14903         (next): moved
14904         * lyxrow.h: as inlines here
14905
14906         * lyxfont.h (shape): moved from lyxfont.C
14907         (emph): moved from lyxfont.C
14908
14909         * lyxfont.C (LyXFont): use initialization list for all
14910         constructors
14911         (shape): move to lyxfont.h as inline
14912         (emph): move to lyxfont.h as inline
14913
14914
14915 2001-04-04  Juergen Vigna  <jug@sad.it>
14916
14917         * vspace.C: had to include stdio.h for use of sscanf
14918
14919 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14920
14921         * BufferView.h:
14922         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14923         independent of xforms.
14924
14925 2001-04-02  Juergen Vigna  <jug@sad.it>
14926
14927         * spellchecker.C: fixed namespace placing!
14928
14929 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14932         the LyXParagraph * is 0.
14933
14934 2001-03-29  Juergen Vigna  <jug@sad.it>
14935
14936         * vspace.C: added support for %, c%, p%, l%.
14937         (stringFromUnit): added helper function.
14938         (asLatexString): changed to give right results for the %-values.
14939
14940         * buffer.C: convert the widthp in a width%.
14941
14942 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14943
14944         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14945         figureForm.[Ch].
14946
14947         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14948         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14949
14950         * lyx_cb.[Ch]: see above.
14951
14952         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14953         form1.[Ch].
14954
14955         * form1.[Ch]:
14956         * lyx.[Ch]: replaced by figure_form.[Ch].
14957
14958         * lyx_gui.C:
14959         * lyx_gui_misc.C:
14960         * lyxfunc.C: changed headers associated with above changes.
14961
14962 2001-03-27  Juergen Vigna  <jug@sad.it>
14963
14964         * BufferView_pimpl.C: set the temporary cursor right!
14965
14966 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14967
14968         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14969
14970 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * LString.h: removed "using std::getline"!
14973
14974         * BufferView_pimpl.C (Dispatch): changes due to changes in
14975         InsetInclude::Params.
14976
14977         * buffer.C (tag_name): removed redundant break statements as they were
14978         producing lots of warnings with my compiler.
14979
14980 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * LString.h: add "using std::getline" when using the real <string>.
14983
14984 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14985
14986         * buffer.C: removed bitset usage.
14987         PAR_TAG moved to an anonymous name space.
14988         (tag_name): new funtion, also in the anonymous namespace.
14989         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14990         (makeDocBookFile): clean code. Completed transition from string arrays
14991         to string vectors.
14992         (SimpleDocBookOnePar): code clean.
14993
14994 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14995
14996         * tabular.C: add some comments.
14997
14998 2001-03-22  Juergen Vigna  <jug@sad.it>
14999
15000         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15001         compatibility read a bit and fixed bug with minipage in different
15002         depth.
15003
15004 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15005
15006         * buffer.C (pop_tag): removed.
15007         (push_tag): removed.
15008         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15009         array replaced with vector. Added support for CDATA sections.
15010         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15011         at any nest level.
15012         (makeDocBookFile): XML conformant declaration of CDATA section,
15013         fixed bug related to <emphasis> in the first paragraph char.
15014         (sgmlOpenTag): exclude empty tags.
15015         (sgmlCloseTag): ditto.
15016
15017         * buffer.h (pop_tag): removed.
15018         (push_tag): removed.
15019
15020 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * language.h (Languages): added size_type and size().
15023
15024 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15025
15026         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15027         response on compability reading of minipages. One probliem is that
15028         the old usage of minipages was «flertydig»
15029
15030         * several files here and in subdirs: don't use static at file
15031         scope use anon namespaces instead.
15032
15033 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15034
15035         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15036         LaTeX output. This is necessary for Literate document
15037         processing.
15038
15039 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15040
15041         * buffer.C: insert hfill when needed.
15042
15043         * tabular.C (l_getline): use string::erase, small whitespace change.
15044
15045         * BufferView_pimpl.C: try the anon namespace.
15046         * WorkArea.C: ditto
15047
15048 2001-03-16  Juergen Vigna  <jug@sad.it>
15049
15050         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15051         otherwise it won't open options-dialogs.
15052
15053         * buffer.C: honor pextraWidth(p) on converting minipages.
15054
15055         * tabular.C (l_getline): changed the functions to strip trailing \r.
15056
15057 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15058
15059         * BufferView_pimpl.C:
15060         * minibuffer..C: added "using SigC::slot" declaration.
15061
15062 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15063
15064         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15065
15066         * text2.C: ditto
15067
15068         * text.C: ditto
15069
15070         * paragraph.C: ditto
15071
15072         * lyxtext.h: NO_PEXTRA
15073
15074         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15075
15076         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15077         * ParameterStruct.h: ditto
15078         * ParagraphParameters.h: ditto
15079         * lyxparagraph.h: ditto
15080
15081 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15082
15083         * buffer.C: add compability for minipage alignment.
15084         (latexParagraphs): remove unwanted pextra check.
15085
15086         * several files: remove CXX_WORKING_NAMESPACES
15087
15088         * buffer.C (pop_tag): tie is in namespace boost
15089
15090         * BufferView.h: noncopyable is in namespace boost
15091         * lyxlex.h: ditto
15092         * lyx_main.h: ditto
15093         * lyx_gui.h: ditto
15094         * layout.h: ditto
15095         * lastfiles.h: ditto
15096         * bufferlist.h: ditto
15097         * ShareContainer.h: ditto
15098         * LyXView.h: ditto
15099         * LyXAction.h: ditto
15100         * LaTeX.h: ditto
15101
15102 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15103
15104         * Merging changes from BRANCH_MVC back into HEAD.
15105
15106         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15107
15108 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * BufferView_pimpl.C: change from intl.C
15111
15112         * combox.h:
15113         * combox.C:
15114         * Makefile.am: move combox.*
15115
15116         * form1.h:
15117         * form1.C:
15118         * lyx_gui.C:
15119         * intl.h:
15120         * intl.C: remove dialog (covered by prefs)
15121
15122 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15123
15124         * lyxfunc.C (Dispatch): removed redundant break statement.
15125
15126 2001-03-14  Juergen Vigna  <jug@sad.it>
15127
15128         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15129
15130 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15131
15132         * buffer.C: add hack to fix compability reading of minipages.
15133
15134 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * buffer.C (getLists): Cleanup.
15137
15138 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * lyxfont.C (update): don't honor toggleall on font size.
15141
15142 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15143
15144         * bmtable.c:
15145         * bmtable.h:
15146         * Makefile.am: moved to frontends/xforms/
15147
15148         * lyx_gui_misc.C:
15149         * lyxfunc.C:
15150         * BufferView_pimpl.C: changes for moved mathpanel
15151
15152 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * gettext.h: fix gettext_init() in --disable-nls
15155
15156 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15159
15160 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * lyx.C:
15163         * lyx.h: strip external form
15164
15165 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * BufferView_pimpl.C: add comment, destroySplash()
15168
15169 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * BufferView_pimpl.C:
15172         * LyXAction.C:
15173         * buffer.C:
15174         * commandtags.h:
15175         * lyxfunc.C: use re-worked insetinclude
15176
15177 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15178
15179         * buffer.C: add using std::stringstream.
15180
15181         * lyx_cb.C: readd using std::ios.
15182
15183         * buffer.C: add using std::map.
15184
15185         * BufferView_pimpl.C: add using std::vector.
15186
15187         * ShareContainer.h: add std:: to swap.
15188
15189         * buffer.h: add some typedefs
15190         * buffer.C (getLists): use them
15191         (getLists): renamed from getTocList.
15192         add a counter for the different float types and use it in the
15193         generated string.
15194         (getLists): use the same counter for the NEW_INSETS and the "non"
15195         NEW_INSETS
15196
15197         * lyx_cb.h: remove unused items, includes, using etc.
15198
15199         * ShareContainer.h: remove some commented code, add more comments
15200         and "documentation".
15201
15202 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15203
15204         * buffer.C (getTocList): make the list also when NEW_INSETS is
15205         defined.
15206
15207         * buffer.h: remove TocType
15208
15209         * buffer.C (getTocList): change to return a map<string,
15210         vector<TocItem> >, implement for dynamic number of list.
15211
15212         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15213         * text2.C (PasteSelection): adjust
15214         * CutAndPaste.C (pasteSelection): adjust
15215
15216         * FloatList.C (FloatList): update from the new_insets branch.
15217         * Floating.[Ch]: ditto
15218         * LaTeXFeatures.C: ditto
15219         * buffer.C: ditto
15220         * lyxlex_pimpl.C: ditto
15221
15222         * paragraph.C (Last): remove when NEW_INSETS is defined.
15223
15224         * other file: changes because of the above.
15225
15226 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15227
15228         * lyxparagraph.h: rename next to next_, previous to previous_,
15229         make them private for NEW_INSETS. Rename Next() to next(),
15230         Previous() to previous().
15231
15232         * other files: changes because of the above.
15233
15234 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15235
15236         * BufferView.h:
15237         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15238         problem.
15239
15240 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * main.C (main): pass lyx_localedir to gettext_init().
15243
15244         * gettext.h: remove locale_init and gettext_init macros
15245
15246         * gettext.C (locale_init): new function
15247         (gettext_init): new function
15248
15249         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15250         setlocale().
15251
15252 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15253
15254         * Moved credits to frontends:
15255         * credits.[Ch]: removed
15256         * credits_form.[Ch]: removed
15257         * lyx_gui_misc.C: remove credits stuff
15258         * Makefile.am:
15259
15260 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15261
15262         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15263
15264         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15265         unneeded destructor.
15266
15267         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15268         a standalone pointer again.
15269
15270         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15271
15272 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15273
15274         * Makefile.am:
15275         * filedlg.h:
15276         * filedlg.C:
15277         * LyXAction.C:
15278         * ToolbarDefaults.C:
15279         * bufferlist.C:
15280         * commandtags.h:
15281         * form1.C:
15282         * form1.h:
15283         * lyx_cb.C:
15284         * lyx_cb.h:
15285         * lyxfunc.h:
15286         * lyxfunc.C:
15287         * BufferView_pimpl.C: use new file dialog in GUII
15288
15289         * lyx_cb.h:
15290         * lyx_cb.C: remove LayoutsCB to Toolbar
15291
15292 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * ShareContainer.h (get): add std:: qualifier
15295
15296 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * ShareContainer.h: define a proper ShareContainer::value_type
15299         type (and use typename to please compaq cxx)
15300
15301 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15302
15303         * lyxparagraph.h: move serveral local vars to
15304         ParameterStruct/ParagraphParameters., use ShareContainer in
15305         FontTable., make vars in FontTable private and add getter and
15306         setter.
15307
15308         * paragraph.C: changes because of the above.
15309
15310         * lyxfont.h: remove copy constructor and copy assignment. (the
15311         default ones is ok), move number inside FontBits. move inlines to
15312         lyxfont.C
15313
15314         * lyxfont.C: add number to initializaton of statics, move several
15315         inlines here. constify several local vars. some whitespace
15316         cleanup. Dont hide outerscope variables.
15317
15318         * Spacing.h: add two new constructors to match the set methods.
15319
15320         * ShareContainer.h: new file, will perhaps be moved to support
15321
15322         * ParameterStruct.h: new file
15323
15324         * ParagraphParameters.h: new file
15325
15326         * ParagraphParameters.C: new file
15327
15328         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15329         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15330
15331         * BufferView_pimpl.C: ParagraphParameter changes.
15332         * buffer.C: Likewise.
15333         * bufferview_funcs.C: Likewise.
15334         * text.C: Likewise.
15335         * text2.C: Likewise.
15336
15337 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * lyxfind.C (LyXReplace): do not redefine default argument in
15340         implementation.
15341         (IsStringInText): ditto
15342         (SearchForward): ditto
15343         (SearchBackward): ditto
15344
15345 2001-03-06  Juergen Vigna  <jug@sad.it>
15346
15347         * lyxfind.C (IsStringInText): put parentes around expressions.
15348
15349 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15350
15351         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15352
15353 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15354
15355         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15356
15357         * stl_string_fwd.h: add comment
15358
15359         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15360
15361         * tabular.h:
15362         * tabular.C: remove unused DocBook methods
15363
15364         * intl.C:
15365         * language.C:
15366         * paragraph.C:
15367         * buffer.C:
15368         killed DO_USE_DEFAULT_LANGUAGE
15369
15370 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * lyx_gui.C: do not include language.h.
15373
15374         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15375         arguments in function implementation.
15376
15377 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15378
15379         * BufferView_pimpl.C: add <ctime>
15380
15381 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15382
15383         * BufferView_pimpl.C: add using std::find_if
15384
15385 2001-02-27  José Matos  <jamatos@fep.up.pt>
15386
15387         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15388         by OnlyPath.
15389
15390 2001-02-11  José Matos  <jamatos@fep.up.pt>
15391
15392         * buffer.C (makeDocBookFile): command styles now have a parameter as
15393         "title" by default.
15394
15395 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15396
15397         * layout_forms.[Ch]: removed
15398         * lyx_cb.[Ch]: out character
15399         * lyx_gui.C: out character
15400         * lyx_gui_misc.C: out character
15401         * bufferview_funcs.C: : out character,
15402         added toggleall as parameter in ToggleAndShow
15403
15404 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15405
15406         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15407
15408         * text2.C (SetCurrentFont): Disable number property at boundary.
15409
15410 2001-02-26  Juergen Vigna  <jug@sad.it>
15411
15412         * lyxfunc.C (getStatus): added a string argument override function so
15413         that this is correctly called from LyXFunc::Dispatch if it contains a
15414         do_not_use_argument which is used!
15415         (Dispatch): added check for "custom" export and call appropriate func.
15416
15417 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15418
15419         * lyxrc.C: Add language_command_local, language_use_babel and
15420         language_global_options.
15421
15422         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15423
15424         * buffer.C (makeLaTeXFile): Use language_use_babel and
15425         language_global_options.
15426
15427 2001-02-23  Juergen Vigna  <jug@sad.it>
15428
15429         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15430         which works with LyXText and putted it inside BufferView. Here now we
15431         only call for that part the BufferView::Dispatch() function.
15432
15433         * BufferView.C (Dispatch): added.
15434
15435         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15436         functions which needs to use a LyXText over from LyXFunc.
15437         (MenuInsertLyXFile): added
15438         (getInsetByCode): added
15439         (moveCursorUpdate): added
15440         (static TEXT): added
15441
15442 2001-02-22  Juergen Vigna  <jug@sad.it>
15443
15444         * BufferView_pimpl.C (update): call a status update to see if LyXText
15445         needs it.
15446
15447 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15448
15449         * vc-backend.C (revert): implement for CVS
15450         (getLog): implement for CVS
15451
15452 2001-02-20  Juergen Vigna  <jug@sad.it>
15453
15454         * text2.C (ClearSelection): added BufferView param for inset_owner call
15455
15456         * lyxfunc.C (TEXT): added this function and use it instead of
15457         directly owner->view()-text of getLyXText().
15458
15459 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15460
15461         * src/layout_forms.C: out preamble
15462         * src/layout_forms.h: out preamble
15463         * src/lyx_cb.C: out preamble
15464         * src/lyx_cb.h: out preamble
15465         * src/lyx_gui.C: out preamble
15466         * src/lyx_gui_misc.C: out preamble
15467         * src/lyxfunc.C: connect with guii preamble
15468
15469 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15470
15471         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15472
15473 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15474
15475         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15476         whether to run bibtex.
15477
15478 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15481
15482 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15483
15484         * Makefile.am (lyx_SOURCES): removed bibforms.h
15485
15486         * vspace.h: doxygen
15487
15488         * text.C (GetVisibleRow): make several local vars const
15489
15490         * tabular.C: small cleanup.
15491
15492         * lyxserver.C (callback): use compare instead of strncmp
15493
15494         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15495         inlines to after class or to paragraph.C
15496
15497         * lyxfont.h: remove friend operator!=
15498
15499         * converter.h: move friend bool operator< to non friend and after
15500         class def.
15501
15502         * combox.h: small cleanup
15503
15504         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15505         to inlines after class def.
15506
15507         * buffer.C (pop_tag): use string operations instead of strcmp
15508
15509         * bmtable.c: doxygen, small cleanup
15510
15511         * LaTeX.h: remove friend operator==
15512
15513 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15514
15515         * screen.C:
15516         * lyxrc.[Ch]:
15517         * lyxfunc.C:
15518         * lyxfont.[Ch]:
15519         * lyx_cb.C:
15520         * intl.[Ch]:
15521         * commandtags.h:
15522         * buffer.C:
15523         * WorkArea.[Ch]:
15524         * LyXAction.C:
15525         * BufferView_pimpl.C:
15526         * BufferView.[Ch]: remove cruft
15527
15528 2001-02-14  Juergen Vigna  <jug@sad.it>
15529
15530         * lyxfunc.C: removed #if 0 unused code
15531
15532         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15533
15534         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15535
15536         * text2.C (SetSelection): added a BufferView * parameter
15537
15538 2001-02-13  Juergen Vigna  <jug@sad.it>
15539
15540         * lyxfunc.C (Dispatch): fixed protected blank problem.
15541         * BufferView2.C (protectedBlank): added LyxText * parameter.
15542
15543         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15544         (AppendColumn): same as above for column_info.
15545
15546         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15547         (moveCursorUpdate): use a LyXText param for support of InsetText.
15548
15549         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15550         (tripleClick): ditto
15551
15552         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15553
15554         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15555
15556         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15557
15558         * text2.C (SetSelection): set correct update status if inset_owner
15559         (ToggleFree): ditto
15560
15561 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15562
15563         * tabular.C: remove some commented code.
15564
15565 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * BufferView_pimpl.C: call hideSplash()
15568
15569         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15570
15571         * include_form.h:
15572         * bibforms.h: remove
15573
15574         * lyxfunc.C:
15575         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15576           add LFUN_CHILD_CREATE
15577
15578         * counters.h: fix tiny typo
15579
15580         * lyx_cb.C:
15581         * lyx.h:
15582         * lyx_gui.C:
15583         * lyx.C: move splash to frontends/xforms/
15584
15585         * lyx_gui_misc.C: move Include and Bibform to frontends
15586
15587         * lyxvc.h: clarify comment
15588
15589         * vspace.C: tiny housekeeping
15590
15591 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15592
15593         * text.C (PrepareToPrint): RTL Fix.
15594
15595         * paragraph.C (GetUChar): New method.
15596         (String):  Use GetUChar.
15597
15598         * buffer.C (asciiParagraph): Use GetUChar.
15599
15600 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15601
15602         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15603
15604 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15605
15606         * buffer.h:
15607         * buffer.C: rename to getLogName(), handle
15608           build log / latex log nicely
15609
15610 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15611
15612         * MenuBackend.C:
15613         * MenuBackend.h: remove support for reference menuitem type.
15614
15615 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * BufferView_pimpl.C: housekeeping
15618         * BufferView_pimpl.h:
15619         * LyXView.h:
15620         * Makefile.am:
15621         * Timeout.C:
15622         * Timeout.h:
15623         * minibuffer.h: move Timeout GUI-I
15624
15625 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * lyxrc.C (read): Update converters data-structures.
15628
15629 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15630
15631         * LaTeX.h (operator!=): add operator != for Aux_Info
15632
15633 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15634
15635         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15636
15637         * LaTeXLog.C: deleted, useful code moved to Buffer
15638
15639         * buffer.h:
15640         * buffer.C: new function getLatexLogName()
15641
15642         * lyx_gui_misc.C:
15643         * lyx_gui.C:
15644         * lyxvc.C:
15645         * lyxvc.h:
15646         * lyxfunc.C: use frontends for LaTeX and VC logs
15647
15648 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15649
15650         * LaTeX.h: yet another std:: that Allan forgot.
15651
15652         * Variables.C (set): renamed from isset(), because this clashes
15653         with some HP-UX macros (grr).
15654
15655 2001-02-06  Allan Rae  <rae@lyx.org>
15656
15657         * LaTeX.h: Another bug fix.  Missing std:: this time.
15658
15659 2001-02-04  Allan Rae  <rae@lyx.org>
15660
15661         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15662         floats problem. I've left it commented out because it's not quite
15663         correct.  It should also test that the current object is a table or
15664         figure inset.  But I haven't gotten around to figuring out how to do
15665         that.  I *think* it'll be something like: "table" == inset.type()
15666
15667         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15668         bool.
15669
15670 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15671
15672         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15673         all the citation/databases/styles in the auxilary file.
15674         (run): Rerun latex if there was a babel language error.
15675
15676 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15677
15678         * text.C (Backspace): Preserve the font when changing newline char
15679         with a space.
15680         (BreakParagraph): If the cursor is before a space, delete the space.
15681
15682         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15683
15684 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15685
15686         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15687         new argument (code).
15688         (ChangeCitationsIfUnique): New method.
15689
15690         * paragraph.C (GetPositionOfInset): Handle bibkey.
15691
15692 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * BufferView_pimpl.h: change type of Position::par_pos to
15695         LyXParagraph::size_type.
15696
15697 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15698
15699         * BufferView_pimpl.C (savePosition, restorePosition): Write
15700         messages to minibuffer.
15701
15702 2001-01-28  José Matos  <jamatos@fep.up.pt>
15703
15704         * buffer.C (makeDocBookFile): adds support for document language.
15705         A silly restriction on the name of LatexCommand types where removed.
15706         Added support for CDATA sections, allows to chars unescaped, used
15707         among others in code, to avoid escape < and >.
15708
15709 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15712         saved positions instrad of a stack. Furthermore, a position is
15713         stored using paragraph id/paragraph position.
15714
15715         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15716         Remove LFUN_REF_BACK.
15717
15718 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * converter.C (dvipdfm_options): New method.
15721
15722 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * vspace.C (isValidLength): Fix for empty input string.
15725
15726 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * LyXAction.C (init): change description of LFUN_FIGURE to
15729         "Insert Graphics"
15730
15731 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * LaTeX.C: add using directive
15734
15735 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * MenuBackend.C (expand): Fix the sorting of the formats.
15738
15739 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15740
15741         * lyx_main.C: tiny error message fix
15742
15743 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15746         calling fl_initialize(). This fixes the problem with ',' as
15747         decimal separator in text files.
15748
15749 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15750
15751         * trans.C (process): Fix the keymap bug.
15752
15753 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15754
15755         * LaTeX.C (scanAuxFiles): New method. Provides support for
15756         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15757         (scanLogFile) Scan for "run BibTeX" messages.
15758
15759         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15760         OT1 font encoding. Also, load the aecompl package if the ae
15761         package is loaded.
15762
15763         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15764
15765 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * texrow.C (increasePos): turn two error messages into debug
15768         messages.
15769
15770 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * LaTeX.C (scanAux): Handle the \@input macro.
15773         (runBibTeX): Use scanAux().
15774
15775         * language.C (latex_options_): New field.
15776
15777         * LaTeXFeatures.C (getMacros): Add language macros.
15778
15779         * buffer.C (makeLaTeXFile): Small fix.
15780
15781 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15784
15785         * text2.C: add a using directive.
15786
15787 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * BufferView2.C:
15790         * lyx_gui_misc.h:
15791         * lyxfr1.C:
15792         * lyxfunc.C: kill LyXBell.
15793
15794 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * text.C (IsBoundary): Remove the error message
15797
15798         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15799
15800         * lyxrc.C (setDefaults): Correct initialization value for
15801         font_norm_type.
15802
15803 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15804
15805         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15806         gotoError().
15807
15808         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15809         and GotoNextNote().
15810
15811         * src/LyXAction.C: Added reference-next.
15812
15813         * text.C (InsertChar): Use contains instead of strchr.
15814
15815         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15816
15817 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15818
15819         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15820         alignment commands (when needed).
15821
15822         * text.C (InsertChar): Add ':' to number separator chars.