]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bug 1147.
[lyx.git] / src / ChangeLog
1 2004-08-13  José Matos  <jamatos@lyx.org>
2
3         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
4
5 2004-08-13  André Pönitz  <poenitz@gmx.net>
6
7         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
8
9         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
10           multiple cells
11    
12 2004-08-12  André Pönitz  <poenitz@gmx.net>
13
14         * text3.C: take out the 'cursor right' form insertInset and only
15    do it in those places when it is really needed. Fixes crash on C-m...
16
17 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
20
21         * BufferView_pimpl.C (setBuffer): initialize the current font of
22         the underlying LyXText
23
24 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         * kbsequence.C (print): use UI native formatting for menu
27         shortcuts
28
29         * text.C (insertChar): call Paragraph::insertChar with a font
30         argument (cosmetic)
31
32         * paragraph.C (insertInset, insertChar): the version that takes a
33         LyXFont argument is now a wrapper around the other one (the
34         opposite used to be true). 
35
36         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
37         argument. Font setting is done in Paragraph now.
38
39 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * outputparams.h: add new members intitle and lang.
42
43         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
44         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
45
46 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
47
48         * text3.C (dispatch): remove special handling of button 4 and 5,
49         it is now taken care of in the frontend code.
50
51 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * Spacing.h: add <string> (STLPort compile fix)
54
55 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
56
57         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
58
59 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
60
61         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
62         to bool.
63
64         * converter.C (showMessage): inherit from unary_function, make
65         operator() const.
66
67         * buffer.C (writeFile): initialize retval
68
69         * InsetList.h: rename private variable list to list_
70         * InsetList.[Ch]: adjust accordingly.
71
72 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
73
74         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
75         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
76         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
77         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
78         * ParagraphParameters.C, LaTeXFeatures.C: replace
79         "support/std_sstream.h" with <sstream>
80
81 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
82
83         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
84         * lyxsocket.C (LyXServerSocket): ditto
85         (serverCallback): ditto
86
87 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
88
89         * LaTeXFeatures.C: check release date when loading jurabib.
90
91 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
92
93         * lyxserver.C (startPipe): call register_socket_callback
94         (endPipe): call unregister_socket_callback
95
96 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
99         (LyXServerSocket): register the callback
100         (LyXServerSocket): unregister the callback
101         (fd): delete function
102         (serverCallback): improve error checking and setup the callbacks.
103         (dataCallback): change arg to fd.
104         (writeln): new func (copied fro the client socket) used for server
105         write to client.
106         (LyXDataSocket): simplify
107         (~LyXDataSocket): close ann unregiser callback
108         (server): delete function
109         (fd): delete function
110         (readln): small changes, improve some std::string usage
111         (writeln): constify a bit
112
113 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
116         Qt frontend
117
118 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * BufferView_pimpl.C (setBuffer): set the layout combox value only
121         after it has been populated
122
123 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text2.C (insertInset): move cursor when inserting inset.
126
127 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * kbmap.C (findbindings): a couple of new methods. returns a
130         container of kb_sequence objects. The real work is done by the
131         private recursive version
132         (printbindings): uses findbindings to print out a bracketed list
133         of bindings (renamed from findbinding).
134
135         * MenuBackend.C (binding): use kb_keymap::findbindings
136
137         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
138
139 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
140
141         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
142
143 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * paragraph.C (isWord): return true on insets that report
146         isLetter().
147
148         * text.C (getWord): use Paragraph::isWord to decide what is in a
149         word and what is not; fix bug 1609.
150
151 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
152
153         * tex-strings.C: add "none" to string_paperpackages[], fixes
154         off-by-one-error in the paperpackage selection.
155
156         * lyxlex.[Ch]:
157         * tex-strings.[Ch]: char const * string[n]
158         -> char const * const string[]
159
160 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
163         command, return early.
164
165 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
166
167         * debug.h: add DEBUG to enum and fix size of ANY.
168
169         * debug.C: add support for Debug::DEBUG
170         (showTags): cast errorTags.level to unsigned int
171
172         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
173         (redoCurrentBuffer): ditto
174         (updateScrollbar): ditto
175         * cursor.C (dispatch): ditto
176         * text2.C (setLayout): ditto
177         (setFont): ditto
178         (updateCounters): ditto
179         (editXY): ditto
180         (deleteEmptyParagraphMechanism): ditto
181
182 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
185         annotations to cleanup the Makefile slightly.
186
187 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * lyxrc.C: do not set user_email to a default value but use empty
190         instead. The entry used to be translated, which does not work
191         since at the point where lyxrc is constructed there is no
192         translation service available
193
194         * messages.C (getLocaleDir): remove and use directly
195         lyx_localedir() instead
196
197 2004-06-02  Angus Leeming  <leeming@lyx.org>
198
199         Fix crash caused by dereferencing null pointer 'exportdata' in
200         OutputParams by creating a new ExportData variable on the heap,
201         storing it in a boost::shared_ptr.
202         The crash was triggered when generating an Instant Preview
203         of an external inset.
204
205         * Makefile.am: add outputparams.C
206
207         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
208         (c-tor): allocate memory to it.
209
210         * exporter.C (c-tor): associated changes.
211
212 2004-06-01  Angus Leeming  <leeming@lyx.org>
213
214         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
215         contains data before calling isInset(0). (Bug 1513.)
216
217 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
218
219         * exporter.C (checkOverwrite): new method
220         * exporter.C (copyFile): new method
221         * exporter.C (Export): copy referenced files to the document dir
222         * exporter.[Ch]: new class ExportedFile
223         * exporter.[Ch]: new class ExportData. Contains currently the
224         names of referenced external files
225         * outputparams.h: add exportdata member.
226
227 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
228
229         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
230         version.C-tmp
231
232 2004-05-19  Angus Leeming  <leeming@lyx.org>
233
234         * LaTeXFeatures.C:
235         * ToolbarBackend.C:
236         * bufferparams.C:
237         * lyxfunc.C: small changes due to the introduction of namespace
238         lyx::frontend and the moving of namespace biblio to lyx::biblio.
239
240 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
241
242         * text3.C (dispatch): supress update when only moving the cursor
243         * cursor.C (selHandle): remove commented code
244
245 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * paragraph.C (startTeXParParams): correct column count
248         * CutAndPaste.C (pasteSelection): remove const_cast
249         * output_docbook.C (docbookParagraphs): remove const_cast
250         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
251         const_cast and return ParagraphList::const_iterator
252         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
253         * output_plaintext.C (writeFileAscii): remove const_cast
254         * paragraph.[Ch] (simpleTeXOnePar): make const
255         * paragraph_funcs.C (outerPar): use const iterators
256         * paragraph_pimpl.C (validate): use const iterators
257         * text.C (setHeightOfRow): use const iterators
258
259 2004-05-17  Angus Leeming  <leeming@lyx.org>
260
261         * lfuns.h:
262         * LyXAction.C (init): new LFUN_INSET_REFRESH.
263
264         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
265         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
266         if the citation engine has changed.
267
268 2004-05-14  José Matos  <jamatos@lyx.org>
269
270         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
271         if the textclass does not provide it. Have it different for sgml and
272         xml.
273         support the language of document.
274         * output_docbook.C (docbookParagraphs):
275         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
276         first anchor as the id of the paragraph, remove special case code.
277         * sgml.C (escapeChar): escape only < & >.
278
279 2004-05-14  Angus Leeming  <leeming@lyx.org>
280
281         * bufferparams.h: move biblio::CiteEngine enum here to minimize
282         dependencies on src/frontends/controllers/biblio.h. Define a
283         CiteEngine_enum wrapper class to enable the enum to be forward
284         declared.
285
286 2004-05-12  Angus Leeming  <leeming@lyx.org>
287
288         * buffer.C: up LYX_FORMAT to 234.
289         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
290         use_numerical_citations with a single biblio::CiteEngine cite_engine
291         variable.
292         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
293
294 2004-05-13  José Matos  <jamatos@lyx.org>
295
296         * converter.h:
297         * converter.C (Converter, readFlags): add xml member.
298         * outputparams.h: add XML flavor.
299         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
300
301 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * lyxfunc.C (dispatch):
304         (getStatus): fix handling of LFUN_SEQUENCE
305
306 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * debug.C (showLevel): do not forget the end-of-line marker
309
310 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * kbmap.C (read): do not stop parsing a bind file when an error
313         occurs (bug 1575)
314
315 2004-04-29  Angus Leeming  <leeming@lyx.org>
316
317         * cursor.C:
318         * factory.C:
319         * pariterator.C:
320         * text2.C: wrap a bunch of #warning statements
321         inside #ifdef WITH_WARNINGS blocks.
322
323 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
324
325         * buffer.C: increment format to 233.
326
327 2004-04-28  Angus Leeming  <leeming@lyx.org>
328
329         * BufferView_pimpl.C:
330         * lyxfunc.C:
331         * text3.C:
332         s/updateToolbar()/updateToolbars()/
333         s/Toolbar.h/Toolbars.h/
334
335 2004-04-28  Angus Leeming  <leeming@lyx.org>
336
337         * BufferView.[Ch] (c-tor):
338         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
339         No longer passes these data to the WorkArea generator.
340
341 2004-04-28  Angus Leeming  <leeming@lyx.org>
342
343         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
344
345 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
346
347         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
348
349 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * output_latex.C (TeXEnvironment): make sure that there is a line
352         break before \end{foo} for the last paragraph of a document
353         (TeXOnePar): if the paragraph is at the end of the document (or
354         inset) and the language has to be reset, then make sure that the
355         line break is _before_ the language command, not after (fixes bug
356         1225); also make sure that the language reset command is the first
357         thing after the paragraph (to ensure proper nesting of
358         environments and thus fix bug 1404)
359
360 2004-04-21  John Levon  <levon@movementarian.org>
361
362         * ToolbarBackend.h:
363         * ToolbarBackend.C: make "name" be a programmatic name
364         and a gui_name field.
365
366         * lyxfunc.C: display the minibuffer on M-x
367
368 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
371         (bug 1526)
372
373 2004-04-19  Angus Leeming  <leeming@lyx.org>
374
375         * BufferView_pimpl.C (setBuffer): changed preview interface.
376
377         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
378         possible values.
379
380 2004-04-19  John Levon  <levon@movementarian.org>
381
382         * BufferView_pimpl.C:
383         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
384
385 2004-04-05  Angus Leeming  <leeming@lyx.org>
386
387         * text.C (redoParagraphs): add call to updateCounters(), thereby
388         fixing the missing "Figure #:" label from the caption of a
389         figure float.
390
391 2004-04-13  Angus Leeming  <leeming@lyx.org>
392
393         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
394         cursor is clicked out of an inset.
395
396 2004-04-13  Angus Leeming  <leeming@lyx.org>
397
398         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
399         than an InsetOld one.
400
401 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
402
403         * format.[Ch]: add editor to Format
404         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
405         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
406
407 2004-04-08  André Pönitz  <poenitz@gmx.net>
408
409         * metricsinfo.h: remove PainterInfo::width member
410
411 2004-04-08  Angus Leeming  <leeming@lyx.org>
412
413         * lyx_sty.C (boldsymbol_def): modify so that it outputs
414         "\providecommand" rather than "\newcommand", thereby preventing
415         clashes with packages that define "\boldsymbol" themselves.
416         Eg, beamer.
417
418 2004-04-08  Angus Leeming  <leeming@lyx.org>
419
420         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
421         thereby squashing an unnecessary warning.
422
423 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
424
425         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
426         setBuffer()
427
428 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * BufferView.C (setCursor): call redoParagraph (some insets could
431         have been opened)
432         (putSelectionAt): remove the 'double update' trick
433
434         * BufferView_pimpl.C (fitCursor): call refreshPar
435         (workAreaDispatch): remove an uneeded update call
436         (dispatch): remove some manual update calls
437
438         * cursor.[Ch]: remove cached_y_, updatePos
439         (selHandle): set noUpdate when appropriate
440
441         * lyxfunc.C (dispatch): track if we need an update
442
443         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
444
445         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
446         (paintSelection): cheap optimization, do not call cursorX when not
447         needed
448         (paintPars): change signature
449         (refreshPar): add
450         (paintText): adjust
451         (paintTextInset): adjust
452
453         * text.C: adjust
454
455 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lengthcommon.C: compilation fix: remove explicit array size from
458         unit_name[] and friends
459
460 2004-04-05  Angus Leeming  <leeming@lyx.org>
461
462         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
463
464         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
465         present only for the preferences dialog.
466         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
467
468 2004-04-05  Angus Leeming  <leeming@lyx.org>
469
470         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
471         to enable the frontends to export changes to lyxrc correctly.
472
473         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
474
475 2004-04-07  André Pönitz  <poenitz@gmx.net>
476
477         * cursor.[Ch] (selClear, adjust): remove math
478
479         * cursor_slice.C: more agressive assert
480
481         * lyxfunc.C:
482         * BufferView_pimpl.C: rework mouse event dispatch
483
484         * dociterator.C:
485         * paragraph.C:
486         * text2.C:
487         * text3.C: adjust
488
489 2004-04-05  André Pönitz  <poenitz@gmx.net>
490
491         * cursor.[Ch] (valign, halign...): remove unneeded functions
492
493 2004-04-05  Angus Leeming  <leeming@lyx.org>
494
495         * lyxlength.[Ch] (unit_name et al.): const-correct.
496
497 2004-04-05  Angus Leeming  <leeming@lyx.org>
498
499         * BufferView_pimpl.C:
500         * buffer.C:
501         * counters.C:
502         * cursor.C:
503         * lyxfunc.C
504         * paragraph.C:
505         * pariterator.C:
506         * text.C:
507         * text2.C:
508         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
509
510 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * text3.C (getStatus): add LFUN_BEGINNINGBUF
513
514 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
515
516         * lyxfind.C: add a couple of inTexted() tests + other small fixes
517         * BufferView_pimpl.[Ch] (getStatus)
518         * BufferView.[Ch] (getStatus): add
519         * lyxfunc.C (getStatus): move lfuns handled in
520         BufferView::dispatch to te function above
521         * Cursor.C (setSelection): set selection() = true
522
523 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
526
527 2004-03-31  Angus Leeming  <leeming@lyx.org>
528
529         * lyxfunc.C (dispatch): Fall through to the generic
530         Dialogs::show("preamble").
531
532 2004-03-31  Angus Leeming  <leeming@lyx.org>
533
534         * lyxfunc.C (dispatch): Fall through to the generic
535         Dialogs::show("spellchecker").
536
537 2004-03-31  Angus Leeming  <leeming@lyx.org>
538
539         * lyxfunc.C (getStatus, dispatch): changed invocation of the
540         preferences dialog.
541
542 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * BufferView.C
545         * cursor.[Ch]
546         * dociterator.[Ch]:
547         * insetiterator.[Ch]:
548         * lyxfind.C:
549         * lyxfunc.C:
550         * pariterator.[Ch]:
551         * text2.C:
552         * undo.[Ch]: s/DocumentIterator/DocIterator/g
553
554 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * BufferView.C (setCursor, putSelectionAt): call edit to open the
557         insets where we are putting the cursor.
558
559 2004-03-31  Angus Leeming  <leeming@lyx.org>
560
561         * lfuns.h:
562         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
563
564         * lyxrc.[Ch] (read, write): overloaded member functions taking
565         a std::[io]stream arguments.
566
567         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
568
569 2004-03-31  Angus Leeming  <leeming@lyx.org>
570
571         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
572         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
573
574         * lyxtextclass.C (load): if the text class couldn't be loaded, then
575         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
576
577 2004-03-31  Angus Leeming  <leeming@lyx.org>
578
579         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
580         the LFUN_ALL_INSETS_TOGGLE code.
581
582 2004-03-30  Angus Leeming  <leeming@lyx.org>
583
584         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
585         has died. Fall through to the generic Dialogs::show("document").
586
587 2004-03-30  Angus Leeming  <leeming@lyx.org>
588
589         * lfuns.h:
590         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
591         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
592
593         * lyxfunc.C (getStatus, dispatch): define the actions for these
594         lfuns. Little more than a cut and pste job from ControlDocument.C
595
596         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
597
598 2004-03-30  Angus Leeming  <leeming@lyx.org>
599
600         * lfuns.h:
601         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
602         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
603
604         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
605         open/closed state of ollapsable insets. Usage:
606
607         all-inset-toggle <state> <name>, where
608         <state> == "open" || "closed" || "toggle" and
609         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
610
611         * lyxtext.h, text2.C (toggleInset): removed.
612
613         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
614         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
615         now passes LFUN_INSET_TOGGLE to the found inset.
616
617         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
618         is now invoked as "all-insets-toggle toggle branch".
619
620 2004-03-30  Angus Leeming  <leeming@lyx.org>
621
622         * dociterator.C:
623         * insetiterator.C:
624         * pariterator.[Ch]: added/corrected header blurb.
625
626 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * dociterator.[Ch]: add an inset_ member
629         (backwardPos): implemented
630         (backwardPos, forwardPos): use inset_ when the stack is empty.
631         (doc_iterator_begin, doc_iterator_end): implemented
632         * pariterator.[Ch]: adjust, add begin, end
633         * insetiterator.[Ch]: adjust, add begin, end
634         * cursor.C:
635         * document.C:
636         * BufferView.C:
637         * BufferView_pimpl.C:
638         * CutAndPaste.C: adjust
639
640 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
641
642         * buffer.C: increment file format to 232.
643         * LaTeXFeatures.C: add bibtopic package.
644         * bufferparams.[Ch]: param \use_bibtopic.
645
646         * lyxrc.[Ch]: add lyxrc bibtex_command
647         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
648
649         * buffer.C: increment file format to 231.
650
651 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
652
653         * dociterator.C: implement forwardPar
654         * iterators.[Ch]: remove, replaced by
655         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
656         * BufferView.C:
657         * BufferView_pimpl.C:
658         * CutAndPaste.C:
659         * buffer.C:
660         * bufferview_funcs.C:
661         * cursor.C:
662         * lyxfind.C
663         * lyxfunc.C
664         * paragraph_funcs.C
665         * toc.C:
666         * Makefile.am: adjust
667
668 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
669
670         * CutAndPaste.C (pasteSelection): fix 2 crashes
671         (eraseSelection): fix a crash
672         * paragraph_funcs.C: remove a warning
673
674 2004-03-28  Angus Leeming  <leeming@lyx.org>
675
676         * lfuns.h:
677         * LyXAction.C (init): new LFUN_PRINT.
678
679         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
680
681 2004-03-27  Angus Leeming  <leeming@lyx.org>
682
683         * lfuns.h:
684         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
685
686         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
687
688 2004-03-27  Angus Leeming  <leeming@lyx.org>
689
690         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
691         insetlist always contains non-null pointers to insets.
692
693 2004-03-26  Angus Leeming  <leeming@lyx.org>
694
695         * src/BufferView_pimpl.C:
696         * src/CutAndPaste.C:
697         * src/buffer.C:
698         * src/iterators.C:
699         * src/output_plaintext.C:
700         * src/outputparams.h:
701         * src/paragraph_funcs.C:
702         * src/rowpainter.C:
703         * src/text.C:
704         * src/text2.C:
705         * src/frontends/controllers/ControlErrorList.C:
706         * src/frontends/gtk/FileDialogPrivate.C:
707         * src/frontends/gtk/GPainter.C:
708         * src/frontends/gtk/GToolbar.C:
709         * src/frontends/qt2/QRef.C:
710         * src/mathed/math_scriptinset.C: squash compiler warnings.
711
712 2004-03-26  Angus Leeming  <leeming@lyx.org>
713
714         * ispell.C (LaunchIspell::start):
715         * lyx_cb.C (AutoSaveBuffer::start):
716         invoke run(DontWait) rather than runNonBlocking().
717
718 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
721
722 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * kbsequence.C (print): adjust
725
726         * kbmap.C (printKeySym): rename and change signature
727         (printKey): use LyXKeySym::print()
728
729 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * undo.C: add using std::advance to compile for stlport
732
733 2004-03-24  Angus Leeming  <leeming@lyx.org>
734
735         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
736         it leads to a crash when no buffer is present.
737
738 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739             Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * lyxfunc.C (dispatch):
742         * bufferparams.C (readToken): use the new LColor::setColor
743
744         * LColor.[Ch] (setColor): new version that takes two strings as
745         argument and creates a new color entry if necessary
746
747 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
748
749         * buffer.C (makeLaTeXFile): if the main latex file that is
750         processed is usually a subdocument of some master, then pretend
751         for a while that it is actually the master
752
753 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
754
755         * buffer.C (getLabelList):
756         (getBibkeyList): use getMasterBuffer()
757         (getMasterBuffer): new method. Returns the main document in the
758         case where one is using included documents.
759
760 2004-03-25  André Pönitz  <poenitz@gmx.net>
761
762         * Makefile.am:
763         * iterators.[Ch]:
764         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
765
766         * ParagraphList_fwd.h: change ParagraphList to a std::vector
767
768         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
769         text*.C over here. Rename namespace CutAndPaste to lyx::cap
770
771         * ParameterStruct.h: merge with ParagraphParameters
772
773         * lyxtext.h: remove LyXText::parOffset() and getPar()
774
775         * text3.C: Remove all 'manual' update calls. We do now one per user
776         interaction which is completely sufficient.
777
778         * Bidi.C:
779         * BufferView.[Ch]:
780         * BufferView_pimpl.C:
781         * FontIterator.[Ch]:
782         * MenuBackend.C:
783         * ParagraphParameters.[Ch]:
784         * buffer.C:
785         * buffer.h:
786         * bufferlist.C:
787         * cursor.[Ch]:
788         * cursor_slice.[Ch]:
789         * dociterator.[Ch]:
790         * errorlist.[Ch]:
791         * factory.C:
792         * lfuns.h:
793         * lyxfind.C:
794         * lyxfunc.C:
795         * output_docbook.[Ch]:
796         * output_latex.[Ch]:
797         * output_linuxdoc.[Ch]:
798         * output_plaintext.[Ch]:
799         * paragraph.[Ch]:
800         * paragraph_funcs.[Ch]:
801         * paragraph_pimpl.[Ch]:
802         * rowpainter.C:
803         * tabular.[Ch]:
804         * text.C:
805         * text2.C:
806         * toc.C:
807         * undo.[Ch]: adjust
808
809         * frontends/controllers/ControlDocument.C:
810         * frontends/controllers/ControlErrorList.C:
811         * frontends/controllers/ControlSpellchecker.C:
812         * insets/inset.C:
813         * insets/inset.h:
814         * insets/insetbase.h:
815         * insets/insetbibitem.C:
816         * insets/insetbox.C:
817         * insets/insetbranch.C:
818         * insets/insetcaption.C:
819         * insets/insetcharstyle.C:
820         * insets/insetcharstyle.h:
821         * insets/insetcollapsable.C:
822         * insets/insetcollapsable.h:
823         * insets/insetert.C:
824         * insets/insetfloat.C:
825         * insets/insetfoot.C:
826         * insets/insetmarginal.C:
827         * insets/insetnote.C:
828         * insets/insetoptarg.C:
829         * insets/insettabular.C:
830         * insets/insettext.C:
831         * insets/insettext.h:
832         * insets/insetwrap.C:
833         * mathed/math_mboxinset.C:
834         * mathed/math_nestinset.C:
835         * mathed/math_scriptinset.C:
836         * mathed/math_scriptinset.h:
837         * support/types.h:
838
839 2004-03-24  Angus Leeming  <leeming@lyx.org>
840
841         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
842         deal with any child processes that have finished but are waiting to
843         communicate this fact to the rest of LyX.
844
845 2004-03-24  Angus Leeming  <leeming@lyx.org>
846
847         64-bit compile fixes.
848
849         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
850         (c-tor): pass lyx::pos_types rather than ints.
851
852         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
853         lyx::pos_type.
854
855         * text.C (Delete): compile fix.
856         (getPar): ensure that function declaration is the same as that in
857         the header file.
858
859 2004-03-23  Angus Leeming  <leeming@lyx.org>
860
861         * ispell.C (LaunchIspell):
862         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
863         a boost::shred_ptr rather than a std::auto_ptr.
864
865 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * lyxfunc.C (getStatus): handle read-only buffers correctly;
868         handle LFUN_FILE_INSERT_*
869
870         * lyxrc.C (setDefaults, getDescription, output, read):
871         * lyxrc.h: remove ps_command
872
873 2004-03-22  Angus Leeming  <leeming@lyx.org>
874
875         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
876         Ensure that error_handler is processed once only and that all data
877         is saved before attempting to output any warning messages.
878
879         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
880
881 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * tabular.C (TeXRow): crash fix (from Kayvan and André)
884
885 2004-03-19  André Pönitz  <poenitz@gmx.net>
886
887         * cursor.[Ch] (reset): take main text inset as argument
888
889         * BufferView: adjust
890         * BufferView_pimpl.C: adjust
891
892         * paragraph.[Ch]: fix completely broken operator=()
893
894 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * LColor.C (getFromLyXName): make sure that the color name is used
897         as lowercase.
898
899 2004-03-17  Angus Leeming  <leeming@lyx.org>
900
901         * lfuns.h:
902         * LyXAction.C (init): remove LFUN_FORKS_KILL.
903
904         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
905         dialog and to kill a forked process.
906
907 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * text2.C (setCursorFromCoordinates): fix font problem
910
911 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
912
913         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
914         bogus "rebuild cursor" code
915
916 2004-03-11  André Pönitz  <poenitz@gmx.net>
917
918         * buffer.[Ch]: use InsetText instead of LyXText as container for
919         the main lyx text.
920
921         * dociterator.[Ch]: drop the BufferView * member which is not needed
922         anymore after the change to buffer.C
923
924         * paragraph_funcs.C:
925         * text.C:
926         * text2.C:
927         * BufferView.[Ch]:
928         * BufferView_pimpl.[Ch]:
929         * cursor.[Ch]:
930         * cursor_slice.[Ch]: adjust
931
932         * text3.C: fix bug in mathDispatch
933
934 2004-03-08  André Pönitz  <poenitz@gmx.net>
935
936         * undo.[Ch]: use 'StableDocumentIterator' as base for
937         the Undo struct.
938
939 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
940
941         * LaTeXFeatures.C:
942         * bufferparams.[Ch]: add jurabib support and param.
943
944         * LaTeX.C: add FIXME/comment.
945
946 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
947
948         * buffer.C: increment file format to 230.
949
950 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * cursor.C (dispatch): avoid infinite loops
953
954 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * rowpainter.C (paintSelection): fix x coordinates
957
958 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * text.C (rowBreakPoint): fix breaking before displayed insets
961
962 2004-03-01  André Pönitz  <poenitz@gmx.net>
963
964         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
965
966         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
967
968         * Makefile.am:
969         * BufferView.C:
970         * BufferView_pimpl.C:
971         * buffer.C:
972         * lyxfind.C:
973         * lyxfunc.C:
974         * text.C:
975         * text2.C:
976         * text3.C: adjust
977
978 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * lyxtext.h:
981         * text.C:
982         * text2.C:
983         * rowpainter.C:
984         * BufferView_pimpl.C: rename textwidth -> maxwidth,
985         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
986
987 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * Bidi.[Ch] (computeTables): const correctness
990         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
991         fill_hfill, fill_label_hfill and x from Row
992         * lyxtext.h: prepareToPrint returns a RowMetrics
993         * rowPainter.C: adjust
994         * text.C (prepareToPrint): use width, not textWidth. adjust
995         (redoParagraphInternal, cursorX): adjust
996         * text2.C (getColumnNearX): adjust
997         (init): put a default value to the top LyXText::width
998
999 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1002
1003 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * lyxtext.h: add FontIterator class
1006
1007         * text.C (FontIterator, operator*, operator->, operator++): add
1008         (rowBreakPoint, setRowWidth): adjust (fixing a
1009         rebreaking bug)
1010
1011 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         * BufferView_pimpl.C (workAreaDispatch): allow also
1014         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1015
1016 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1017
1018         * text.C (rowBreakPoint): fix a bug showing with very large insets
1019
1020 2004-02-25  André Pönitz  <poenitz@gmx.net>
1021
1022         * text3.C:
1023         * cursor.[Ch]: move some mathed specific code to mathed
1024
1025 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1026
1027         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1028         use_tempdir in preferences
1029         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1030         tempfile creation
1031         * lyx_main.C: ensure that tempdir is valid
1032         * lyxlex.h: correct typo
1033         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1034         * paragraph.[Ch] (isMultiLingual): make const
1035         * cursor.[Ch] (openable): make const
1036
1037 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1038
1039         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1040
1041 2004-02-20  André Pönitz  <poenitz@gmx.net>
1042
1043         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1044
1045         * cursor.[Ch]: prepare for localized getStatus()
1046
1047         * lyxtext.h:
1048         * tabular.C:
1049         * text.C:
1050         * text2.C:
1051         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1052
1053 2004-02-20  André Pönitz  <poenitz@gmx.net>
1054
1055         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1056
1057 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * text2.C (setCursorFromCoordinates): switch to absolute coords
1060         (cursorUp): adjust
1061         (cursorDown): adjust
1062         * text3.C (dispatch): adjust
1063
1064 2004-02-16  André Pönitz  <poenitz@gmx.net>
1065
1066         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1067           insets/ChangeLog)
1068
1069         * cursor_slice.[Ch]: remove unneeded acessor function
1070
1071         * lyxtext.h: rename rtl() to isRTL()
1072
1073         * rowpainter.C:
1074         * tabular.C:
1075         * text.C:
1076         * text2.C:
1077         * text3.C: adjust
1078
1079 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * rowpainter.C (paintSelection): coord fix
1082
1083 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084
1085         * Spacing.C: compile fix
1086
1087 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1088
1089         * cursor.C (dispatch): restore current_ before returning
1090
1091 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1092
1093         * text2.C (cursorUp, cursorDown): fix coords
1094         (moveUp): fix crash
1095
1096 2004-02-12  André Pönitz  <poenitz@gmx.net>
1097
1098         * lyxtext.h:
1099         * text.C:
1100         * text2.C:
1101         * text3.C: add LCursor & parameter to most cursor movement functions
1102           remove usage of LyXText::cursorRow() and cursorPar()
1103
1104         * cursor.[Ch]: add textRow() needed members
1105
1106         * BufferView.C:
1107         * BufferView_pimpl.C:
1108         * paragraph.[Ch]:
1109         * BufferView.C:
1110         * BufferView_pimpl.C: adjust
1111
1112 2004-02-11  André Pönitz  <poenitz@gmx.net>
1113
1114         * lyxfunc.C:
1115         * BufferView.[Ch]:
1116         * BufferView_pimpl.C: shift undo/redo handling
1117
1118         * cursor.[Ch]: fix mathed crash
1119
1120         * lyxfind.C:
1121         * lyxtext.h: move selectionAsText to LCursor
1122
1123         * output_latex.C:
1124         * paragraph.C:
1125         * text.C:
1126         * text2.C:
1127         * text3.C: adjust
1128
1129         * rowpainter.C: fix excessive drawing
1130
1131 2004-02-06  André Pönitz  <poenitz@gmx.net>
1132
1133         * BufferView.[Ch]:
1134         * BufferView_pimpl.[Ch]:
1135         * text3.C: move some text specific LFUN handling
1136
1137 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1138
1139         * text3.C (checkInsetHit): adjust coords
1140         * text2.C (getColumnNearX): adjust coords
1141         (edit): adjust coords
1142         * text.C (getRowNearY): add two asserts
1143
1144 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * converter.C:
1147         * format.C: add using std::distance to compile on gcc 2.95/stlport
1148
1149 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1150
1151         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1152
1153 2004-02-04  André Pönitz  <poenitz@gmx.net>
1154
1155         * BufferView.[Ch] (insertInset):
1156         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1157
1158         * text2.C:
1159         * text3.C: adjust
1160
1161 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1164         on the default clause of the switch
1165         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1166         wasn't catched by LCursor::dispatch
1167
1168 2004-02-03  André Pönitz  <poenitz@gmx.net>
1169
1170         * BufferView.C:
1171         * cursor.[Ch]: some additional asserts
1172
1173         * undo.[Ch]: remove LyXText dependency in interface
1174
1175         * lyxfunc.C: adjust
1176
1177         * lyxtext.h (firstPar, lastPar): remove dead functions
1178
1179         * text.C:
1180         * text2.C:
1181         * text3.C:
1182         * paragraph.[Ch]: adjust
1183
1184 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * lyxfind.C (find): fix argument order in call to ::find
1187
1188 2004-02-02  André Pönitz  <poenitz@gmx.net>
1189
1190         * cursor.[Ch]: remove direct access to anchor
1191
1192         * text.C: remove findText() hack
1193
1194 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1195
1196         * iterators.[Ch] (lockPath): remove in favour of...
1197         * BufferView.[Ch] (setCursor): this addition
1198         * BufferView.C (putSelectionAt): adjust
1199         * undo.C (performUndoOrRedo): adjust
1200         * lyxfunc.C (dispatch): adjust
1201
1202 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1203
1204         * iterators.C (lockPath): add a missing slice
1205         * undo.C (performUndoOrRedo): remove redundant positioning code
1206
1207 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1208
1209         * vc-backend.C (scanMaster): ";" -> ';'
1210
1211 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1212
1213         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1214         std::binary_function
1215
1216         * lyxtextclass.C (compare_name): rename to...
1217         (LayoutNamesEqual): ...this
1218
1219         * lyxlex_pimpl.C (compare_tags): inherit from
1220         std::binary_function, put back into anon namespace
1221
1222         * lyxfind.C (MatchString): inherig from std::binary_function
1223         (findChange): use empty() istead of !size()
1224
1225         * format.C (FormatNamesEqual): new functor
1226         (getFormat): use it
1227         (getNumber): use it
1228         (add): use it
1229         (erase): use it
1230         (setViewer): use it
1231
1232         * converter.C (compare_Converter): rename to...
1233         (ConverterEqual): ...this, and fixup a bit.
1234         (getConverter): use it, and make function const
1235         (getNumber): use it, and make function const
1236         (add): use it
1237         (erase): use it:
1238
1239         * bufferlist.C: add using boost::bind
1240
1241         * MenuBackend.C (MenuNamesEqual): new functor
1242         (hasMenu): use it, and make function const
1243         (hasSubmenu): use nested bind to get rid of compare_memfun.
1244
1245 2004-01-30  André Pönitz  <poenitz@gmx.net>
1246
1247         * BufferView_pimpl.C:
1248         * cursor.C:
1249         * cursor.h:
1250         * cursor_slice.[Ch]:
1251         * lyxfunc.C:
1252         * lyxtext.h:
1253         * paragraph_funcs.C:
1254         * paragraph_funcs.h:
1255         * rowpainter.C:
1256         * text.C:
1257         * text2.C:
1258         * text3.C: move some of the edit(x,y) handling to the insets
1259         some coordinate changes.
1260
1261 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1262
1263         * text.C: add using statements for std::advance and std::distance
1264
1265         * paragraph.C: add using statement for std::distance
1266
1267         * lyxfind.C: add using statement for std::advance
1268
1269         * cursor.C (region): remove std:: from swap
1270         (openable): use nucleus in stead of operator->
1271
1272         * BufferView.C: add using statements for std::distance and std::swap
1273
1274 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1275
1276         * iterators.C: Remove the pimple, move the needed structures to
1277         the header file. Create accessor for the positions stack.
1278         (asPosIterator): remove function
1279
1280         * PosIterator.C (PosIterator): move constructors to top of file
1281         (PosIterator): reimplement the constructor taking a ParIterator in
1282         terms of setFrom.
1283         (setFrom): new function
1284         (operator!=): inline it
1285
1286 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1287
1288         * lyxfind.C (replaceAll): use std::advance
1289
1290         * iterators.h: inherit from std::iterator.
1291
1292         * PosIterator.C (advance, distance): remove
1293         * PosIterator.h: interit from std::iterator.
1294
1295 2004-01-26  André Pönitz  <poenitz@gmx.net>
1296
1297         * BufferView.[Ch]:
1298         * BufferView_pimpl.[Ch]:
1299         * InsetList.[Ch]:
1300         * PosIterator.[Ch]:
1301         * buffer.h:
1302         * bufferview_funcs.C:
1303         * cursor.[Ch]:
1304         * cursor_slice.h:
1305         * factory.[Ch]:
1306         * iterators.[Ch]:
1307         * lyxfind.C:
1308         * lyxfunc.C:
1309         * lyxtext.h:
1310         * output_docbook.C:
1311         * output_latex.C:
1312         * output_linuxdoc.C:
1313         * output_plaintext.C:
1314         * paragraph.[Ch]:
1315         * paragraph_funcs.[Ch]:
1316         * paragraph_pimpl.[Ch]:
1317         * rowpainter.C:
1318         * tabular.C:
1319         * tabular.h:
1320         * text.C:
1321         * text2.C:
1322         * text3.C: more IU:  dumps most of the rest of the mathcursor
1323     implementation into cursor.[Ch]; "globalize" a bit of it.
1324
1325 2004-01-25  Angus Leeming  <leeming@lyx.org>
1326
1327         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1328
1329 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1330
1331         * LaTeXFeatures.h: add nice_ and nice() const
1332         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1333
1334 2004-01-20  André Pönitz  <poenitz@gmx.net>
1335
1336         * BufferView.[Ch]:
1337         * BufferView_pimpl.C:
1338         * PosIterator.C:
1339         * bufferview_funcs.C:
1340         * cursor.[Ch]:
1341         * cursor_slice.[Ch]:
1342         * factory.C:
1343         * iterators.C:
1344         * lyx_cb.C:
1345         * lyxfind.C:
1346         * lyxfunc.C:
1347         * lyxtext.h:
1348         * rowpainter.C:
1349         * text.C:
1350         * text2.C:
1351         * text3.C:
1352         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1353           LCursor and mathcursor parts to LCursor and InsetBase.
1354
1355 2004-01-15  André Pönitz  <poenitz@gmx.net>
1356
1357         * cursor_slice.[Ch]: add a few covienience functions
1358
1359         * funcrequest.[Ch]: remove BufferView * member
1360
1361         * BufferView_pimpl.C:
1362         * cursor.C:
1363         * factory.[Ch]:
1364         * lyxfind.[Ch]:
1365         * lyxfunc.C:
1366         * lyxtext.h:
1367         * text3.C:
1368         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1369
1370 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1373         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1374
1375 2004-01-13  André Pönitz  <poenitz@gmx.net>
1376
1377         * textcursor.[Ch]:
1378         * lyxtext.h: hide cursor and selection anchor behind accessor function
1379
1380         * BufferView.C:
1381         * BufferView_pimpl.[Ch]:
1382         * PosIterator.C:
1383         * bufferview_funcs.C:
1384         * cursor.h:
1385         * lyxfind.C:
1386         * lyxfunc.C:
1387         * text.C:
1388         * text2.C:
1389         * text3.C:
1390         * undo.C: adjust
1391
1392         * cursor.h:
1393         * cursor_slice.[Ch]: some integer type changes for inset unification
1394
1395         * lyxcursor.[hC]: remove, it's CursorSlice now.
1396
1397         * Makefile.am:
1398         * BufferView_pimpl.[Ch]:
1399         * bufferview_funcs.C:
1400         * cursor_slice.C:
1401         * lyxtext.h:
1402         * text.C:
1403         * text2.C:
1404         * text3.C:
1405         * textcursor.[Ch]: adjust
1406
1407 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * text2.C (undoSpan): add and use
1410         * text.C (breakParagraph): use undoSpan (fix bug 578)
1411         * lyxtext.h: adjust
1412
1413 2004-01-08  Angus Leeming  <leeming@lyx.org>
1414
1415         * BufferView_pimpl.C (MenuInsertLyXFile):
1416         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1417         * lyxfunc.C (menuNew, open, doImport):
1418         FileFilterList change to the FileDialog open and save functions.
1419
1420 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1421
1422         * ShareContainer.h: make isEqual and isUnique adaptable
1423
1424         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1425
1426 2004-01-07  Angus Leeming  <leeming@lyx.org>
1427
1428         * LyXAction.C:
1429         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1430
1431         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1432
1433         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1434         functions replacing find, replace and replaceAll.
1435
1436         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1437         LFUN_WORDFIND(FORWARD|BACKWARD).
1438
1439 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1440
1441         * text.C (breakParagraph): remove an outdated #warning
1442
1443 2004-01-07  André Pönitz  <poenitz@gmx.net>
1444
1445         * lyxfind.C: somewhat clearer logic
1446
1447         * text.C: prevent crash in cursorX on unitialized row cache
1448
1449 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * lyxcursor.[Ch] (operator>): add
1452         * textcursor.C (selStart, selEnd): use std::min and std::max
1453
1454 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1455
1456         * Chktex.C: include boost/format.hpp
1457
1458 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1459
1460         * InsetList.C: replace functor MathcIt with adaptable functor
1461         InsetTablePosLess
1462         (insetIterator): modify accordingly
1463
1464         * BranchList.h: move the BranchNamesEqual functor here from...
1465         * BranchList.C: ... to here
1466
1467         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1468         SameName and match.
1469         (add): replace a finding loop with std::find_if.
1470
1471 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1472
1473         * output_docbook.C: moving LatexParam functionality into
1474         .layout files
1475
1476 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1477
1478         * buffer.C: increment format to 229.
1479
1480 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1481
1482         * LaTeXFeatures.C:
1483         * lyx_sty.[Ch]: remove minipageindent_def
1484
1485         * LyXAction.C:
1486         * factory.C:
1487         * lfuns.h:
1488         * lyxfunc.C:
1489         * text3.C: remove LFUN_INSET_MINIPAGE
1490
1491 2003-12-28  Angus Leeming  <leeming@lyx.org>
1492
1493         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1494
1495 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1496
1497         * text2.C (setParagraph): fix off-by-one crash
1498
1499 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1500
1501         * output_docbook.C: header stuff for AGU
1502
1503 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1504
1505         * text2.C (redoCursor): remove
1506         * text.C:
1507         * text3.C:
1508         * BufferView_pimpl.C: remove calls to redoCursor and
1509         setCursor(cursor.par(), cursor.pos()) all around
1510
1511 2003-12-15  Angus Leeming  <leeming@lyx.org>
1512
1513         * buffer.C: up the format to 228.
1514
1515 2003-12-15  André Pönitz  <poenitz@gmx.net>
1516
1517         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1518         slices
1519
1520         * Makefile.am:
1521
1522         * BufferView_pimpl.C:
1523         * cursor.[Ch]:
1524         * lyxcursor.[Ch]:
1525         * rowpainter.[Ch]:
1526         * lyxtext.h:
1527         * text.C:
1528         * text2.C:
1529         * text3.C: adjust
1530
1531 2003-12-15  Angus Leeming  <leeming@lyx.org>
1532
1533         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1534         than getFromGUIName to manipulate the color.
1535
1536 2003-12-14  Angus Leeming  <leeming@lyx.org>
1537
1538         * BranchList.[Ch]: minimize the API.
1539         (Branch::getBranch, getColor): now return a 'const &'.
1540         (Branch::setSelected) now returns a bool set to true if the
1541         selection status changes.
1542         (BranchList::clear, size, getColor, setColor, setSelected,
1543         allBranches, allSelected, separator): removed.
1544         (BranchList::find): new functions, returning the Branch with
1545         the given name.
1546         (BranchList::add, remove): return a bool indicating that
1547         the operation was successful.
1548
1549         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1550         new InsetBranch::isBranchSlected member function.
1551
1552         * LColor.[Ch]: mimimize the API.
1553         (fill): renamed as addColor and made private.
1554         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1555         versions of these functions taking a string arg have been removed.
1556
1557         * bufferparams.C (readToken):
1558         * lyxfunc.C (dispatch):
1559         * lyxrc.C (read): changes due to the altered BranchList and
1560         LColor APIs.
1561
1562         * factory.C (createInset, readInset): changes due to altered
1563         InsetBranch c-tor.
1564
1565 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1566
1567         * factory.C:
1568         * lyxfunc.C: remove insetminipage. "minipage-insert"
1569         now produces a frameless minipage box inset.
1570
1571 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1572
1573         * textcursor.[Ch] (selStart,selEnd): add new methods
1574         remove selection::start, end, use LyXCursor::operator<
1575         * lyxcursor.[Ch] (operator<): add
1576         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1577         * BufferView.[Ch] (unsetXSel): add
1578         * text2.C (clearSelection): use unsetXSel,adjust
1579         * text.C: adjust
1580         * text3.C: adjust
1581         * rowpainter.C: adjust
1582         * bufferview_funcs.C (put_selection_at): adjust
1583
1584 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1585
1586         * BufferView_pimpl.C: small coord. correction
1587
1588 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1591         dragging over the splash screen.
1592
1593 2003-12-11  Angus Leeming  <leeming@lyx.org>
1594
1595         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1596         as it is now handled in LyXText::dispatch.
1597
1598         * text3.C (doInsertInset): remove a level of nesting.
1599
1600 2003-12-11  Angus Leeming  <leeming@lyx.org>
1601
1602         * factory.C (createInset): changes due to the changed interface to
1603         InsetCommandMailer::string2params.
1604
1605 2003-12-10  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1608         'dialog-show-new-inset <inset name>'
1609
1610 2003-12-10  Angus Leeming  <leeming@lyx.org>
1611
1612         * buffer.C: up the format to 227.
1613
1614         * factory.C: the box inset is now identified simply by 'Box'.
1615
1616 2003-12-10  Angus Leeming  <leeming@lyx.org>
1617
1618         * buffer.C: up the format to 226.
1619
1620         * factory.C: the note inset is now identified simply by 'Note'.
1621
1622 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1623
1624         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1625         when a pit is enough. Standarize a couple of loops.
1626
1627 2003-12-05  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1630         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1631         data to the re-worked "log" dialog.
1632
1633 2003-12-03  André Pönitz  <poenitz@gmx.net>
1634
1635         * PosIterator.C:
1636         * iterators.C:
1637         * lyxtext.h:
1638         * output_latex.C:
1639         * paragraph_funcs.C:
1640         * text.C:
1641         * text2.C: use Inset::getText instead of Inset::getParagraph
1642
1643 2003-12-03  André Pönitz  <poenitz@gmx.net>
1644
1645         * buffer.[Ch]:
1646         * lyxtext.h:
1647         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1648         InsetText::read() as LyXText::read()
1649
1650 2003-12-02  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1653         type. Add a comment in the implementation that the function uses
1654         the stream's bad() function rather than fail() as the std::streams
1655         would do.
1656
1657 2003-12-02  André Pönitz  <poenitz@gmx.net>
1658
1659         * lyxlex.[Ch]: make interface more similar to std::stream
1660
1661         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1662
1663 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1664
1665         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1666
1667 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1668
1669         * vspace.[Ch]: remove VSpace::NONE
1670
1671 2003-12-01  André Pönitz  <poenitz@gmx.net>
1672
1673         * buffer.[Ch]:
1674         * lyxtext.h: move ParagraphList member to LyXText
1675         rename LyXText::ownerParagraphs to LyXText::paragraph
1676
1677         * CutAndPaste.C:
1678         * bufferview_funcs.C:
1679         * iterators.[Ch]:
1680         * lyx_cb.C:
1681         * paragraph.C:
1682         * rowpainter.C:
1683         * tabular.C:
1684         * text.C:
1685         * text2.C:
1686         * text3.C: adjust
1687
1688         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1689
1690         * undo.C: fix cursor positioning
1691
1692 2003-12-01  John Levon  <levon@movementarian.org>
1693
1694         * BufferView_pimpl.C: fix a crash on exit with
1695         a buffer open
1696
1697 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1698
1699         * BranchList.C: fix setSelected() method.
1700
1701 2003-11-28  André Pönitz  <poenitz@gmx.net>
1702
1703         * ParagraphParameters.[Ch]:
1704         * ParameterStruct.h: remove space above/below from Paragraph to
1705          InsetVSpace
1706
1707         * BufferView_pimpl.C:
1708         * factory.C:
1709         * lyxfunc.C:
1710         * lyxtext.h:
1711         * output_latex.C:
1712         * paragraph.C:
1713         * paragraph_funcs.C:
1714         * rowpainter.[Ch]:
1715         * text.C:
1716         * text2.C:
1717         * text3.C: adjust
1718
1719 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1720
1721         * factory.C: Syntax change for CharStyles
1722
1723 2003-11-28  André Pönitz  <poenitz@gmx.net>
1724
1725         * BufferView.[Ch]:
1726         * BufferView.[Ch]:
1727         * buffer.[Ch]:
1728         * buffer.[Ch]: move LyXText member
1729
1730 2003-11-28  André Pönitz  <poenitz@gmx.net>
1731
1732         * BufferView.[Ch]: make LyXText * text a private member
1733
1734         * BufferView_pimpl.C:
1735         * cursor.C:
1736         * iterators.C:
1737         * lyx_cb.C:
1738         * lyxfind.C:
1739         * lyxtext.h:
1740         * rowpainter.[Ch]:
1741         * text.C:
1742         * text2.C:
1743         * undo.C: adjust
1744
1745         * output_plaintext.C: cleanup
1746
1747 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1748
1749         * buffer.C:
1750         * lyxtextclass.[Ch]: parametrize SGML document header
1751
1752 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1753
1754         * converter.[Ch]:
1755         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1756         getFlavor().
1757
1758 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1759
1760         * text2.C (setFont): rework using PosIterator (no more recursive)
1761         (setCharFont): no more needed
1762         (setLayout): no more selection cursors fiddling (done by redoCursor)
1763         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1764         destroy remaining ones)
1765
1766 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1767
1768         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1769         * lyxtext.h: ditto
1770         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1771         selection cursors
1772         * lyxfunc.C: adjust
1773         * text3.C: adjust + re-allow multi par depth changes
1774         * textcursor.C: simplify a bit
1775
1776 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1777
1778         * src/buffer.C:
1779         * src/lyxlayout.C:
1780         * src/lyxlayout.h:
1781         * src/lyxtext.h:
1782         * src/output_docbook.C:
1783         * src/output_latex.C:
1784         * src/paragraph.C:
1785         * src/paragraph.h:
1786         * src/sgml.C:
1787         * src/sgml.h:
1788         * src/text2.C: Introducing a number of tags parametrizing various
1789         XML formats that we may want to support
1790
1791 2003-11-25  André Pönitz  <poenitz@gmx.net>
1792
1793         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1794
1795         * lyxtext.h (leftMargin/rightMargin): simplify interface
1796
1797         * rowpainter.C:
1798         * text.C:
1799         * text2.C:
1800         * text3.C: adjust
1801
1802 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1803
1804         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1805         master file to any child files. Fixes bug 546.
1806
1807 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1808
1809         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1810
1811 2003-11-24  André Pönitz  <poenitz@gmx.net>
1812
1813         * rowpainter.C: simplification
1814
1815         * text2.C (updateCounters): remove call to redoParagraph on
1816         changed labels as this is far too expensive.
1817
1818 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1819
1820         * converter.C (convert): fix a crash: this function gets
1821         called with buffer == 0 from importer code.
1822
1823 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1824
1825         * text3.C (cursorPrevious): make sure that we do not compare
1826         iterators form different containers.
1827         (cursorNext): ditto
1828
1829         * rowpainter.C (paintSelection): make sure that we do not compare
1830         iterators from different containers.
1831
1832         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1833         iterators from different ParagraphList containers.
1834         [NEXT] ditto
1835
1836         * text2.C (LyXText): change order of initialization slightly
1837         (operator=): new function. copy all variables except cache_par_
1838         (moveUp): make sure that we do not compare iterators from
1839         different ParagraphList constainers.
1840         (moveDown): ditto
1841
1842         * text.C (firstPar): new function
1843         (lastPar): new function
1844         (endPar): new function
1845
1846         * lyxtext.h: move things around and group public functions, public
1847         variables, private functions, private variables
1848
1849 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1850
1851         * factory.C: change call to InsetERT constructor to avoid
1852         additional invocation of method status
1853         * text2.C (toggleInset): remove redundant update() call
1854         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1855         instead of a Bufferview pointer
1856
1857 2003-11-21  André Pönitz  <poenitz@gmx.net>
1858
1859         * rowpainter.C: simplification
1860
1861 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * text3.C (dispatch): make possible to extend a word/row selection
1864         with the mouse
1865
1866 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1867
1868         * lyxtext.h: x0_,y0_ -> xo_,yo_
1869         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1870         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1871         * rowpainter.C (paintRows): paint full paragraphs
1872
1873 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1876         screen coordinates)
1877
1878 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * lyxtext.h: add x0_, y0_
1881         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1882         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1883
1884 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1885
1886         * text2.C (setCursorIntern): move the x_target update here *
1887         * text3.C: change some bv() to true/false in calls to
1888         cursorUp/Down/Right/Left
1889         * cursor.C: use helper function.
1890
1891 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1894         * paragraph_funcs.[Ch]: correct comment
1895         * rowpainter.C: do not paint selections away from bv->cursor()
1896         Fix a long standing selection painting bug.
1897         * text3.C: generalize mouse-selection code to LyXTexts other that
1898         top one
1899         * textcursor.C: do not use y coords if we can use par offsets
1900
1901 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1904         cursor position after e.g. inset insert)
1905
1906 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1907
1908         * lyxfind.C (replace): adjust to locking removal + some
1909         code simplification
1910
1911 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1912
1913         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1914         of the path
1915
1916 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * lyxlayout.[Ch]:
1919         * output_docbook.C: XML sanitation: new layout
1920         parameters InnerTag and CommandDepth
1921
1922 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1923
1924         * BufferView_pimpl.C:
1925         * factory.C:
1926         * text3.C: Fix the insertion and modification of button-style
1927         insets
1928
1929 2003-11-13  André Pönitz  <poenitz@gmx.net>
1930
1931         * InsetList.[Ch]: remove deleteLyXText
1932
1933         * paragraph.[Ch]: cache beginOfBody position
1934
1935         * Bidi.C:
1936         * text.C:
1937         * text2.C:
1938         * text3.C: remove superfluous update() calls
1939
1940         * vspace.C: cleanup
1941
1942 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1945         * BufferView.C (fitLockedInsetCursor): remove
1946         * cursor.[Ch] (getDim): add
1947         * text.C (getRowNearY): add faster version
1948         * text3.C: remove some update calls
1949
1950 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * LaTeXFeatures.C:
1953         * LyXAction.C:
1954         * MenuBackend.C:
1955         * MenuBackend.h:
1956         * dispatchresult.h:
1957         * factory.C:
1958         * lfuns.h:
1959         * lyxfunc.C:
1960         * lyxtextclass.C:
1961         * lyxtextclass.h:
1962         * text3.C: The Character Style /XML short element patch.
1963
1964 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1965
1966         * text3.C:
1967         * factory.C: Small step to solving 'unable to insert some insets'
1968         problem
1969
1970 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * cursor.[Ch] (updatePos): new function for updating the y
1973         position of the tip inset
1974         * bufferview_funcs.C (put_selection_at):
1975         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1976
1977 2003-11-11  André Pönitz  <poenitz@gmx.net>
1978
1979         * text.C: remove big comment on invalid Paragraph pointers as it is
1980         not valid anymore
1981
1982 2003-11-11  André Pönitz  <poenitz@gmx.net>
1983
1984         * text_funcs.[Ch]: merge with ...
1985
1986         * text.C: ... this
1987
1988         * lyxtext.h:
1989         * text2.C:
1990         * text3.C: adjust
1991
1992         * Makefile.am: remove text_funcs.[Ch]
1993
1994 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1995
1996         * cursor.C (getPos): return absolute cached y coord
1997
1998         * BufferView_pimpl.C (fitCursor): new simplistic code
1999         (workAreaDispatch): add a fitCursor call
2000
2001 2003-11-10  André Pönitz  <poenitz@gmx.net>
2002
2003         * BufferView.[Ch]:
2004         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2005
2006 2003-11-10  André Pönitz  <poenitz@gmx.net>
2007
2008         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2009         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2010         indicate that the cursor needs to leave an inset
2011
2012         * lyxtext.h: remove inset locking
2013
2014         * cursor.[Ch]: re-implement functionality provided by inset locking
2015
2016         * BufferView.[Ch]:
2017         * BufferView_pimpl.[Ch]:
2018         * LyXAction.C:
2019         * bufferview_funcs.[Ch]:
2020         * factory.C:
2021         * funcrequest.[Ch]:
2022         * iterators.C:
2023         * lyx_cb.C:
2024         * lyxfind.C:
2025         * lyxfunc.C:
2026         * text.C:
2027         * text2.C:
2028         * text3.C:
2029         * undo.C: adjust
2030
2031 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2032
2033         * PosIterator.[Ch]: replace the stack with a vector, add inset
2034         accesor
2035         * iterators.[C]: adjust
2036
2037 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2040         replaced
2041         * paragraph_funcs.C (readParToken): put the correct id in the
2042         error item, not the id of the top paragraph
2043
2044 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2045
2046         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2047         * bufferview_funcs.C (put_selection_at): use the above
2048
2049 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2050
2051         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2052
2053 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2054
2055         * output_linuxdoc.h:
2056         * output_plaintext.h:
2057         * output.h:
2058         * output_docbook.h: add #include statements
2059
2060 2003-11-05  José Matos  <jamatos@lyx.org>
2061
2062         * output_docbook.[Ch]:
2063         * output_latex.[Ch]:
2064         * output_linuxdoc.[Ch]:
2065         * output_plaintext.[Ch]: New files for output formats.
2066         * output.[Ch]: New file for helper functions.
2067
2068         * buffer.[Ch]:
2069         * paragraph_funcs.[Ch]: output functions moved to new files.
2070
2071         * outputparams.h: rename of latexrunparams.h
2072
2073         * LaTeX.[Ch]:
2074         * buffer.[Ch]:
2075         * bufferlist.[Ch]:
2076         * converter.[Ch]:
2077         * exporter.C:
2078         * paragraph.[Ch]:
2079         * paragraph_funcs.[Ch]:
2080         * paragraph_pimpl.[Ch]:
2081         * tabular.[Ch]: rename ascii to plaintext
2082         and LatexRunParams to OutputParams.
2083
2084 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2085
2086         * iterators.[Ch] (text): require bv argument
2087         * undo.C (recordUndo):
2088         * lyxfunc.C (dispatch):
2089         * bufferview_funcs.C (put_selection_at): adjust
2090
2091 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2092
2093         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2094
2095 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2098         nestings
2099
2100 2003-11-04  André Pönitz  <poenitz@gmx.net>
2101
2102         * cursor.[Ch]: restructure
2103
2104         * BufferView.[Ch]:
2105         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2106
2107         * iterators.[Ch] (asCursor): remove
2108
2109         * lfuns.h: remove LFUN_INSET_EDIT
2110
2111         * lyxfunc.C:
2112         * tabular.C:
2113         * text.C:
2114         * text2.C:
2115         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2116
2117 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * lyxfind.[Ch]: complete overhaul
2120         * BufferView_pimpl.C:
2121         * lyxfunc.C: adjust
2122         * paragraph.[Ch] (insert): add
2123
2124 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * BufferView.[Ch]:
2127         * lyxtext.h:
2128         * text.C: remove dead spellcheck code
2129
2130 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2131
2132         * dispatchresult.h: add a val setter
2133
2134         * cursor.C (dispatch): use a tempvar for data_[i]
2135
2136 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2137
2138         * PosIterator.[Ch]: compile fix
2139
2140 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2141
2142         * text.C (cursorPar): deactivate the cursor cache
2143
2144 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2145
2146         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2147
2148 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * text3.C (dispatch): adjust for new DisptchResult semantics.
2151
2152         * lyxfunc.C (dispatch): handle update when return from
2153         Cursor::dispatch, adjust for new DispatchResult semantics.
2154
2155         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2156         DispatchResult(true) mean to not update. Add class functions for
2157         setting dispatched and update, as well as reading.
2158
2159         * cursor.C (dispatch): don't handle update here
2160
2161 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2162
2163         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2164         * trans_mgr.C: adjust
2165
2166         * paragraph_funcs.C (readParToken): exception safety
2167
2168         * lyxvc.h: store the vcs pointer in a scoped_ptr
2169         * lyxvc.C: adjust
2170
2171         * lyxsocket.C (serverCallback): exception safety
2172
2173         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2174
2175         * ispell.C (clone): make it return a auto_ptr
2176
2177         * factory.C (createInset): exception safety
2178         (readInset): exception safety
2179
2180         * bufferlist.C (newBuffer): exception safety
2181
2182         * Thesaurus.C (Thesaurus): use initialization for aik_
2183
2184         * MenuBackend.C (expandToc): exception safety.
2185
2186 2003-11-03  André Pönitz  <poenitz@gmx.net>
2187
2188         * buffer.C:
2189         * buffer.h:
2190         * bufferview_funcs.C: remove getInsetFromId()
2191
2192         * lyxcursor.[Ch]:
2193         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2194
2195         * lyxfunc.C:
2196         * text2.C:
2197         * text3.C: adjust
2198
2199 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2200
2201         * PosIterator.C (distance, advance): new
2202         * bufferview_funcs.[Ch] (put_selection_at): new
2203         * iterators.[Ch] (lockPath): new
2204
2205 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * iterators.[Ch] (asPosIterator): added
2208         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2209         * PosIterator.[Ch]: added
2210
2211 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2212
2213         * text3.C:
2214         * lyxfunc.C:
2215         * cursor.C (dispatch):
2216         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2217
2218         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2219         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2220         contructor, add a class function dispatched. Remove operator>=
2221
2222 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * debug.C: only use the default constructor for debugstream
2225         (lyxerr) here.
2226
2227         * main.C (main): include debug.h and setup the lyxerr streambuf
2228         here.
2229
2230 2003-10-31  José Matos  <jamatos@lyx.org>
2231
2232         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2233
2234         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2235         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2236         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2237         * paragraph_pimpl.C (simpleTeXSpecialC):
2238         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2239         add LatexRunParams argument.
2240
2241         * exporter.C (Export): change call accordingly.
2242
2243         * latexrunparams.h: add new member to take care of the other backends.
2244 2003-10-30  José Matos  <jamatos@lyx.org>
2245
2246         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2247         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2248         factorise code for paragraph output.
2249         * buffer.[Ch]:
2250         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2251         move functions.
2252
2253 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * text3.C (dispatch):
2256         * lyxfunc.C (dispatch):
2257         * cursor.C (dispatch):
2258         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2259
2260         * dispatchresult.h: make the dispatch_result_t ctor explicit
2261
2262 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * sgml.[Ch]:
2265         * buffer.C: small refactoring of docbook stuff
2266
2267 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2270         meaning.
2271
2272 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2275         operator dispatch_result_t, and operators for == != and >=
2276
2277         * cursor.C (dispatch): adjust for operator dispatch_result_t
2278         removal. comment out call to update
2279
2280         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2281
2282 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * text3.C:
2285         * text2.C:
2286         * text.C:
2287         * lyxtext.h:
2288         * lyxfunc.C:
2289         * cursor.C:
2290         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2291         (dispatch):
2292
2293         * dispatchresult.h: new file, DispatchResult broken out of
2294         insets/insetbase.h
2295
2296         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2297
2298 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2299
2300         * text.C (rowBreakPoint): put a hack inside #if 0
2301
2302 2003-10-28  André Pönitz  <poenitz@gmx.net>
2303
2304         * lyxtext.h:
2305         * metricsinfo.C:
2306         * paragraph_funcs.C:
2307         * rowpainter.C:
2308         * text.C:
2309         * text2.C: general cleanup (lots of small stuff)
2310
2311 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * text2.C (cursorEnd): simple fix to the "end key goes to one
2314         before the end on last row" bug
2315
2316 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2317
2318         * text.C (backspace): fix the "zombie characters"
2319
2320 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2321
2322         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2323
2324 2003-10-27  André Pönitz  <poenitz@gmx.net>
2325
2326         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2327
2328         * factory.C: handle new InsetPagebreak, InsetLine
2329
2330         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2331         and move handling into new InsetPagebreak, InsetLine
2332
2333         * BufferView_pimpl.C:
2334         * LyXAction.C:
2335         * ParagraphParameters.C:
2336         * ParameterStruct.h:
2337         * lyxfunc.C:
2338         * lyxtext.h:
2339         * paragraph.C:
2340         * paragraph.h:
2341         * paragraph_funcs.C:
2342         * paragraph_pimpl.C:
2343         * rowpainter.C:
2344         * text.C:
2345         * text2.C:
2346         * text3.C: adjust
2347
2348 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2349
2350         * text.C:
2351         * lyxrow_funcs.[Ch]:
2352         * Bidi.C:
2353         * paragraph.C:
2354         * lyxtext.h:
2355         * rowpainter.C:
2356         * text2.C:
2357         * text3.C: remove lastPos uses in favour of Row::endpos
2358
2359 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2360
2361         * undo.C (performUndoOrRedo): fix two crashes by setting a
2362         cursor by hand and reordering some calls. Use bv->lockInset instead
2363         of inset->edit because the latter loses cursor information
2364
2365 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2366
2367         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2368         by Martin
2369         (rowBreakPoint): fix width. change point to point + 1.
2370         Add a missing check.
2371
2372 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2373
2374         * MenuBackend.C:
2375         * lyxfunc.C: fix (at least partly) the problems
2376         with the Nav menu and headers inside branch insets
2377         reported by Kayvan
2378
2379 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2380
2381         * paragraph.C (getChar): add strong asserts
2382
2383         * lyxrow_funcs.C (lastPos): remove hideous hack
2384
2385         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2386         (fill): adjust to that (avoid an infinite loop)
2387
2388 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2391
2392 2003-10-23  André Pönitz  <poenitz@gmx.net>
2393
2394         * RowList_fwd.h: change list<> to vector<> to gain speed
2395         after suggestion from Alfredo
2396
2397 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2398
2399         * lyxtext.h: move the bidi stuff from here...
2400         * text.C: and here
2401         * text2.C: and here
2402         * Bidi.[Ch]: ... to here
2403
2404 2003-10-23  André Pönitz  <poenitz@gmx.net>
2405
2406         * lyxtext.h:
2407         * text.C (isLastRow, isFirstRow): new functions
2408
2409         * paragraph.h: new width cache member
2410
2411         * rowpainter.C: replace RowList::iterator with Row & where possible
2412
2413         * lyxfunc.C: replace several view()->text with a single call
2414
2415         * toc.C: fix 'unused' warning
2416
2417 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2420         when woring with stream::pos_type
2421         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2422
2423 2003-10-22  André Pönitz  <poenitz@gmx.net>
2424
2425         * lyxtext.h:
2426         * text.C: use Row & instead of RowList::iterator
2427
2428         * lyxrow.h: rename end() to endpos()
2429
2430         * rowpainter.C:
2431         * text.C:
2432         * text2.C: adjust
2433
2434 2003-10-22  Angus Leeming  <leeming@lyx.org>
2435
2436         * buffer.[Ch] (fully_loaded): new member function, returning true
2437         only when the file has been loaded fully.
2438         Used to prevent the premature generation of previews and by the
2439         citation inset to prevent computation of the natbib-style label.
2440
2441         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2442         templates are all set up.
2443
2444         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2445
2446 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2447
2448         * text.C: fixed an "oops" in the "is a bit silly"
2449         bug fix
2450
2451 2003-10-21  André Pönitz  <poenitz@gmx.net>
2452
2453         * FuncStatus.[Ch]: small stuff, whitespace
2454
2455         * lyxfont.[Ch]: operator<<() for debug reasons
2456
2457         * lyxfunc.C:
2458         * lyxrow_funcs.C:
2459         * lyxtext.h: whitespace, spelling
2460
2461         * paragraph.C: naming of variables
2462
2463         * text.C:
2464         * text2.C: small stuff
2465
2466
2467 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2468
2469         * text.C: (1) finish off the inset display() work;
2470         (2) fix the "is a bit silly" bug (accessing char
2471         past end of par).
2472
2473 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2474
2475         * text.C: re-introduce display() for insets, fixing the
2476         various bugs (stretch of line above, math inset
2477         positioning, ...)
2478
2479 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * text.C (rightMargin): remove spurious semicolon
2482
2483         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2484         1415)
2485
2486 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2487
2488         * text3.C: fix one crash due to wrong cursor def
2489
2490 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * vc-backend.C (scanMaster): make the regex static
2493
2494         * LaTeX.C (scanAuxFile): make the regexs static
2495
2496         * text3.C (doInsertInset, dispatch, dispatch):
2497         * text2.C (cursorUp, cursorDown):
2498         * text.C (selectNextWordToSpellcheck):
2499         * BufferView_pimpl.C (dispatch):
2500         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2501
2502 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * lyxsocket.C: include <cerrno>
2505
2506 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * lyxfunc.C (dispatch): remove textcache stuff
2509
2510         * bufferlist.C (release): remove textcache stuff
2511         (closeAll): ditto
2512
2513         * TextCache.C: delete file
2514         * TextCache.h: delete file
2515
2516         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2517
2518         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2519         delete of the bv_->text.
2520         (resizeCurrentBuffer): remove texcache stuff
2521         (workAreaResize): ditto
2522
2523 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2524
2525         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2526         action.
2527
2528 2003-10-16  André Pönitz  <poenitz@gmx.net>
2529
2530         * lyxrow.[Ch]:
2531         * paragraph.h:
2532         * rowpainter.C:
2533         * text.C:
2534         * text2.C:
2535         * text3.C: speed up by storing y positions per paragraph plus per-row
2536         offset instead of having a 'full' y position in the row.
2537
2538 2003-10-15  André Pönitz  <poenitz@gmx.net>
2539
2540         * iterators.[Ch]:
2541         * iterators.[Ch]:
2542         * undo.[Ch]: make undo aware of inner insets
2543
2544 2003-10-14  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2547         static member functions LyX::ref() and LyX::cref.
2548         (lastfiles): new accessor functions for the new lastfiles_ member var.
2549         (addLyXView, views_): add a new LyXView to the list of views_.
2550         (updateInset): loop over all LyXViews to call their own updateInset
2551         member function, returning a pointer to the Buffer owning the inset.
2552
2553         * BufferView_pimpl.C (loadLyXFile):
2554         * MenuBackend.C (expandLastfiles):
2555         * bufferlist.C (MenuWrite, QuitLyX):
2556         lastfiles is no longer a global variable.
2557         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2558
2559         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2560         static function. Access through LyX::cref().emergencyCleanup().
2561
2562 2003-10-14  André Pönitz  <poenitz@gmx.net>
2563
2564         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2565
2566         * undo.[Ch]: restoring part of 'undo in insets'
2567
2568         * Makefile.am:
2569         * undo_funcs.[Ch]: merge with undo.[Ch]
2570
2571         * tabular.C: small cleansing stuff
2572
2573 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * paragraph_funcs.C (readParToken): report unknown insets as error
2576         boxes. Use the outer paragraph as location (also for unknown
2577         tokens).
2578
2579         * factory.C (readInset): do not abort on reading an unknown inset.
2580         Eat it and return 0.
2581
2582 2003-10-13  Angus Leeming  <leeming@lyx.org>
2583
2584         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2585
2586         * lyxrc.C: displayTranslator is now a function,
2587         declared in GraphicsTypes.h.
2588
2589 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2590
2591         * format.C: new placeholder $$a to pass the socket address.
2592
2593         * bufferlist.[Ch]: new function getBufferFromTmp.
2594
2595         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2596           files in the temporary dir.
2597
2598 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2599
2600         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2601
2602         * Makefile.am: add lyxsocket.[Ch].
2603
2604         * lyx_main.C (error_handler): handle SIGPIPE.
2605
2606 2003-10-13  André Pönitz  <poenitz@gmx.net>
2607
2608         * BufferView_pimpl.C:
2609         * lyxtext.h:
2610         * text.C:
2611         * text2.C:
2612         * text3.C:
2613         * undo_funcs.[Ch]: use paroffset_type instead of
2614           ParagraphList::iterators to prevent multiple conversion
2615           (and get a more robust interface)
2616
2617 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2620         * lyxtext.h: ditto
2621         * text3.C (dispatch): ditto
2622
2623 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2626         move the onlyfile, use onlyfile instead of foundfile in a couple
2627         of places.
2628
2629         * DepTable.C (update): flush the error stream a bit more
2630
2631 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * lyxserver.C (callback): adjust
2634
2635         * lyxfunc.C (getStatus): add a missing brace in commented code
2636         (ensureBufferClean): reindent
2637         (dispatch): delete version taking a string
2638
2639 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * LaTeX.C (deplog): move found file handlig from here...
2642         (handleFoundFile): .. to new function here.
2643         (deplog): make sure to discover several files mentioned on the
2644         same log line.
2645
2646 2003-10-10  André Pönitz  <poenitz@gmx.net>
2647
2648         * lyxfunc.C:
2649         * lyxtext.h:
2650         * tabular.C:
2651         * text.C:
2652         * text2.C:
2653         * text3.C: fix some of the tabular crashes
2654
2655 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2656
2657         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2658
2659         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2660
2661 2003-10-09  André Pönitz  <poenitz@gmx.net>
2662
2663         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2664
2665         * BufferView.C:
2666         * BufferView_pimpl.C:
2667         * bufferview_funcs.C:
2668         * lyx_cb.C:
2669         * lyxcursor.C:
2670         * lyxfind.C:
2671         * lyxfunc.C:
2672         * lyxtext.h:
2673         * text.C:
2674         * text2.C:
2675         * text3.C:
2676         * text_funcs.[Ch]:
2677         * textcursor.[Ch]:
2678         * undo_funcs.C: adjust
2679
2680 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * text2.C (incrementItemDepth): new function, use a backtracking
2683         algorithm to discover the correct item depth.
2684         (resetEnumCounterIfNeeded): new function, use a backtracking
2685         algorithm to discover if counter reset is needed.
2686         (setCounter): use them. Simplify a bit. Add different labels for
2687         different item depths for itemize.
2688
2689         * paragraph.C (Paragraph): remove initialization of enumdepth
2690         (operator=): ditto
2691
2692         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2693         enumerate and itemize. Change the type of itemdepth to signed char.
2694
2695 2003-10-08  André Pönitz  <poenitz@gmx.net>
2696
2697         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2698           thing assignable.
2699         * text.C:
2700         * text2.C: adjust
2701
2702         * tabular.[Ch]: fix crash after 'row-insert'
2703
2704 2003-10-08  Angus Leeming  <leeming@lyx.org>
2705
2706         Fix doxygen warnings.
2707
2708         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2709         Remove CutAndPaste:: prefix from header file declaration.
2710
2711         * LColor.h (fill): remove LColor:: prefix from declaration.
2712
2713         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2714         use lyx::depth_type rather than Paragraph::depth_type so that
2715         header file and .C file match.
2716
2717         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2718
2719         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2720         * aspell.C: \file aspell_local.C -> \file aspell.C
2721         * gettext.C: \file gettext.C -> \file src/gettext.C
2722         * gettext.h: \file gettext.h -> \file src/gettext.h
2723         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2724         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2725         * text.C: \file text.C -> \file src/text.C
2726
2727         * toc.C: move comment so that doxygen is not confused.
2728
2729 2003-10-07  Angus Leeming  <leeming@lyx.org>
2730
2731         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2732
2733 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2734
2735         * aspell.C:
2736         * aspell_local.h: add forgotten std::string's.
2737
2738 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2739
2740         * LaTeXFeatures.C:
2741         * LyXAction.C:
2742         * factory.C:
2743         * lfuns.h:
2744         * lyxfunc.C:
2745         * text3.C: The Box patch. Fancybox support, minipage, parbox
2746
2747 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2748
2749         * CutAndPaste.h:
2750         * DepTable.h:
2751         * FloatList.h:
2752         * LaTeXFeatures.h:
2753         * ParagraphParameters.h:
2754         * TextCache.h:
2755         * Thesaurus.h:
2756         * bufferlist.h:
2757         * exporter.h:
2758         * importer.h:
2759         * lastfiles.h:
2760         * lyxfind.h:
2761         * lyxfont.h:
2762         * lyxlex.h:
2763         * lyxtextclasslist.h:
2764         * messages.h:
2765         * paragraph.h:
2766         * paragraph_pimpl.C:
2767         * textcursor.h: add <string> and other small fixes to make Lars'
2768         std::string patch compile with STLport.
2769
2770 2003-10-06  Angus Leeming  <leeming@lyx.org>
2771
2772         * LColor.h: Add missing #include <string>.
2773
2774 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * All most all file in all subdirs: Make <string> be the prefered
2777         way of getting to std::string, add using declarations.
2778
2779 2003-10-06  André Pönitz  <poenitz@gmx.net>
2780
2781         * metricsinfo.C: initialize LyXFont before changing attribute.
2782         (fixes the 'math in \emph is upright' bug)
2783
2784 2003-10-06  André Pönitz  <poenitz@gmx.net>
2785
2786         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2787
2788 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2789
2790         * graph.C:
2791         * paragraph_pimpl.C: Small fixes to build using STLport
2792
2793 2003-10-02  André Pönitz  <poenitz@gmx.net>
2794
2795         * lyxfunc.C:
2796         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2797
2798 2003-10-01  André Pönitz  <poenitz@gmx.net>
2799
2800         * factory.C: assert early
2801
2802 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2803
2804         * lyx_main.C: remove the global debug object
2805
2806         * debug.h: adjust for new debugstream
2807
2808         * debug.C: adjust for new debugstream and keep the global debug
2809         object here.
2810
2811 2003-09-22  Angus Leeming  <leeming@lyx.org>
2812
2813         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2814         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2815         an incomplete class LyXFont.
2816
2817 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * factory.C: bug fix in branches
2820
2821 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * lyxfunc.C (processKeySym): adjust
2824         (dispatch): adjust
2825         (dispatch): change arg name from ev to func, adjust
2826         (sendDispatchMessage): ditto
2827
2828         * lyx_main.C (defaultKeyBindings): adjust keybindings
2829         (deadKeyBindings): ditto
2830
2831         * kbsequence.C (addkey): return a FuncRequest
2832
2833         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2834
2835         * kbmap.C (bind): take a FuncRequest as arg, adjust
2836         (read): adjust
2837         (lookup): adjust
2838         (defkey): change to take a FuncRequest as arg, adjust
2839         (findbinding): take a FuncRequest as arg, adjust.
2840
2841         * funcrequest.h (operator=): added
2842
2843         * funcrequest.C (FuncRequest): default kb_action changed from
2844         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2845
2846         * buffer.C (dispatch): simplify
2847         (dispatch): adjust to take a FuncRequest as arg, adjust
2848
2849         * boost.C (assertion_failed): change assertion message slightly
2850
2851         * ToolbarBackend.C (read): simplify
2852
2853         * MenuBackend.C (binding): adjust call to findbinding, add a
2854         message if no binding is found.
2855         (read): simplify
2856         (expandToc): correct by adding a empty FuncRequest
2857
2858         * LyXAction.C: include <boost/assert.hpp>
2859         (isPseudoAction): delete function
2860         (LookupFunc): change name to...
2861         (lookupFunc): this. change return type to FuncRequest.
2862         (getActionName): take kb_action as arg, simplify
2863         (funcHasFlag): add an assert, simplify.
2864
2865 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * toc.C (action): return a FuncRequest, simplify
2868
2869         * lyxfunc.C (processKeySym): adjust
2870         (getStatus): delete version that takes an int.
2871         (getStatus): adjust
2872         (dispatch): delete version that takes action as int
2873         (dispatch): adjust
2874         (sendDispatchMessage): simplify and adjust
2875
2876         * funcrequest.C (getArg): take unsigned int as arg
2877
2878         * ToolbarBackend.C (read): adjust
2879         (add): delete version that takes func as a string.
2880         (getIton): take a FuncRequest as arg
2881
2882         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2883         action.
2884
2885         * MenuBackend.C (MenuItem): add a new construct that only takes a
2886         Kind, simplify the constructor use for submenus.
2887         (add): adjust
2888         (expandLastfiles): adjust
2889         (expandDocuments): adjust
2890         (expandFormats): adjust
2891         (expandFloatListInsert): adjust
2892         (expandFloatInsert): adjust
2893         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2894
2895         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2896         Remove class variables lyx_pseudo_map and lyx_arg_map
2897
2898         * LyXAction.C (searchActionArg): delete function
2899         (getPseudoAction): delete function
2900         (retrieveActionArg): delete function
2901         (LookupFunc): make it return kb_action, simplify.
2902         (getActionName): simplify
2903
2904         * factory.C (createInset): fix new bug
2905
2906 2003-09-19  Angus Leeming  <leeming@lyx.org>
2907
2908         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2909         masterFilename_ parameter in the include inset.
2910
2911         * factory.C (createInset): changes due to the changes to InsetInclude.
2912
2913 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2914
2915         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2916
2917 2003-09-18  Angus Leeming  <leeming@lyx.org>
2918
2919         * buffer.C:
2920         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2921         Inset::fillWithBibKeys.
2922         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2923
2924 2003-09-18  Angus Leeming  <leeming@lyx.org>
2925
2926         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2927         variables.
2928         (ctor): pass and store a 'Buffer const &'
2929         (buffer): new member function.
2930
2931         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2932         '*this' to the LaTeXFeatures ctor.
2933
2934 2003-09-18  Angus Leeming  <leeming@lyx.org>
2935
2936         * LColor.h:
2937         * lyxfont.C:
2938         * lyxfont.h:
2939         * lyxtext.h:
2940         * text.C: rename EnumLColor as LColor_color.
2941
2942 2003-09-18  Angus Leeming  <leeming@lyx.org>
2943
2944         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2945         remove #include "insets/insetbase.h" from cursor.h.
2946
2947 2003-09-18  Angus Leeming  <leeming@lyx.org>
2948
2949         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2950         InsetOld_code to remove #include "inset.h".
2951
2952         * iterators.C: add #include "insets/inset.h"
2953
2954 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2955
2956         * BufferView.C: remove more locking stuff that apparently doesn't
2957         do anything sensible.
2958
2959 2003-09-16  André Pönitz  <poenitz@gmx.net>
2960
2961         * paragraph.[Ch]:
2962         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2963           performance boost.
2964
2965 2003-09-16  Angus Leeming  <leeming@lyx.org>
2966
2967         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2968
2969         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2970         arg/return type.
2971
2972         * paragraph.h: remove #include "lyxfont.h". Forward declare
2973         LyXFont_size.
2974
2975 2003-09-16  Angus Leeming  <leeming@lyx.org>
2976
2977         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2978         of support/textutils.h.
2979         (isWord): move the contents of support/textutils.h's IsWordChar here.
2980
2981         * buffer.C:
2982         * lyxfind.C:
2983         * rowpainter.C:
2984         * text.C:
2985         * text2.C: add #include "paragraph.h".
2986
2987         * rowpainter.C:
2988         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2989
2990 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2991
2992         * main.C:
2993         * lyx_main.C:
2994         * lyx_cb.C:
2995         * buffer.C:
2996         * LaTeX.C: use namespace alias for lyx::support::os
2997
2998 2003-09-16  Angus Leeming  <leeming@lyx.org>
2999
3000         * bufferparams.C:
3001         * bufferview_funcs.C:
3002         * factory.C:
3003         * lyxfunc.C:
3004         * paragraph_pimpl.C:
3005         * rowpainter.C:
3006         * text.C: add #include "LColor.h".
3007
3008 2003-09-16  Angus Leeming  <leeming@lyx.org>
3009
3010         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3011         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3012         return LyXFont &.
3013         Store the FontBits::color variable as an int rather than as an
3014         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3015         file.
3016
3017         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3018         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3019         string calls together.
3020
3021         * lyxrc.C: add #include "LColor.h".
3022
3023 2003-09-15  Angus Leeming  <leeming@lyx.org>
3024
3025         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3026         a cow_ptr.
3027
3028 2003-09-15  Angus Leeming  <leeming@lyx.org>
3029
3030         * LColor.h: add an EnumLColor wrapper for LColor::color.
3031
3032         * lyxfont.[Ch] (color, setColor, realColor):
3033         * lyxtext.h, text.C (backgroundColor):
3034         pass EnumLColor args to/from the functions, rather than LColor::color
3035         ones.
3036
3037         * lyxfont.h:
3038         * lyxtext.h: forward declare EnumLColor.
3039
3040         * lyx_main.C: add #include "LColor.h".
3041
3042 2003-09-15  Angus Leeming  <leeming@lyx.org>
3043
3044         * .cvsignore: add lyx-gtk.
3045
3046 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * Chktex.C
3049         * LaTeX.C
3050         * LaTeXFeatures.C
3051         * ParagraphParameters.C
3052         * Spacing.C
3053         * buffer.C
3054         * bufferparams.C
3055         * bufferview_funcs.C
3056         * chset.C
3057         * counters.C
3058         * funcrequest.C
3059         * lyxfont.C
3060         * lyxgluelength.C
3061         * lyxlength.C
3062         * paragraph.C
3063         * paragraph_funcs.C
3064         * text3.C
3065         * vc-backend.C: remove usage of STRCONV
3066
3067 2003-09-15  Angus Leeming  <leeming@lyx.org>
3068
3069         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3070         explicitly define the color passed to the painter.
3071
3072 2003-09-15  Angus Leeming  <leeming@lyx.org>
3073
3074         * bufferparams.C (BufferParams): reorder member initializers to avoid
3075         compiler warning.
3076
3077 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3078
3079         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3080         * text.C (updateRowPositions): remove an unusual nop
3081
3082 2003-09-12  André Pönitz  <poenitz@gmx.net>
3083
3084         * BufferView_pimpl.C:
3085         * Bullet.C:
3086         * layout.h:
3087         * lyxfunc.C:
3088         * lyxlayout.[Ch]:
3089         * lyxtextclass.C:
3090         * rowpainter.C:
3091         * text.C:
3092         * text2.C:
3093         * Counters.[Ch]: finish the 'automatic counters' job
3094
3095 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3096
3097         * aspell.C: include <boost/assert.cpp> (compile fix)
3098
3099 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3100
3101         * boost.C (assertion_failed): use lyx::support::abort instead of
3102         assert.
3103
3104 2003-09-10  Angus Leeming  <leeming@lyx.org>
3105
3106         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3107         with their _fwd progeny.
3108
3109 2003-09-09  Angus Leeming  <leeming@lyx.org>
3110
3111         134 files throughtout the source tree: replace 'using namespace abc;'
3112         directives with the appropriate 'using abc::xyz;' declarations.
3113
3114 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3115
3116         * boost.C (emergencyCleanup): moved here from LAssert.c
3117         (assertion_failed): new function, called by BOOST_ASSERT
3118
3119         * several files: change Assert to BOOST_ASSERT
3120
3121 2003-09-09  Angus Leeming  <leeming@lyx.org>
3122
3123         * buffer.[Ch]: Add an Impl class and move Buffer's member
3124         variables into it. As a result move several header files out of
3125         buffer.h.
3126
3127         Add header files to lots of .C files all over the tree as a result.
3128
3129 2003-09-09  Angus Leeming  <leeming@lyx.org>
3130
3131         * buffer.[Ch]: make Buffer's member variables private. Add
3132         accessor functions.
3133
3134         Lots of changes all over the tree as a result.
3135
3136 2003-09-08  Angus Leeming  <leeming@lyx.org>
3137
3138         * graph.C: #include <config.h>.
3139
3140 2003-09-08  Angus Leeming  <leeming@lyx.org>
3141
3142         * BranchList.C:
3143         * BufferView.C:
3144         * BufferView_pimpl.C:
3145         * CutAndPaste.C:
3146         * DepTable.C:
3147         * LaTeX.C:
3148         * LaTeXFeatures.C:
3149         * LyXAction.C:
3150         * MenuBackend.C:
3151         * TextCache.C:
3152         * aspell.C:
3153         * buffer.C:
3154         * bufferlist.C:
3155         * changes.C:
3156         * chset.C:
3157         * converter.C:
3158         * counters.C:
3159         * debug.C:
3160         * graph.C:
3161         * ispell.C:
3162         * lyx_cb.C:
3163         * lyxfind.C:
3164         * lyxfunc.C:
3165         * lyxlex_pimpl.C:
3166         * lyxrc.C:
3167         * lyxrow.C:
3168         * paragraph.C:
3169         * rowpainter.C:
3170         * texrow.C:
3171         * text.C:
3172         * text2.C:
3173         * toc.C: remove redundant using directives.
3174
3175 2003-09-07  Angus Leeming  <leeming@lyx.org>
3176
3177         * LaTeXFeatures.h: remove #include "support/types.h".
3178         * ToolbarBackend.h: remove #include <algorithm>.
3179         * changes.h: remove #include <ctime>.
3180         * debug.h: remove #include <iosfwd>.
3181         * graph.h: remove #include "support/std_string.h".
3182         * lyx_main.h: remove #include <csignal>.
3183         * lyxlex_pimpl.h: remove #include <fstream>.
3184         * sgml.h: remove #include <algorithm>, <utility>.
3185         * toc.h: remove #include "support/std_ostream.h".
3186         Add #include <iosfwd>.
3187
3188 2003-09-07  Angus Leeming  <leeming@lyx.org>
3189
3190         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3191
3192         * converter.h: forward declare LatexRunParams.
3193         * encoding.h: remove #include "lyxrc.h".
3194         * lyxtext.h: remove #include "LColor.h".
3195         * lyxtextclass.h: remove #include "support/types.h".
3196         * trans.h: remove #include "tex-accent.h".
3197         * trans_mgr.h: remove #include "tex-accent.h".
3198         * insets/inset.h: remove #include "support/types.h", <vector>.
3199         * insets/insetcollapsable.h: remove #include "LColor.h".
3200         * insets/insetinclude.h: remove #include "dimension.h".
3201         * insets/insetlatexaccent.h: remove #include "dimension.h".
3202         * insets/insetoptarg.h:: remove #include "insettext.h".
3203         * insets/insettext.h: remove #include "dimension.h",
3204         <boost/shared_ptr.hpp>
3205
3206         * insets/renderers.h: add #include "dimension.h".
3207         * insets/updatableinset.h: add #include "support/types.h".
3208
3209         * many .C files: Associated changes.
3210
3211 2003-09-06  Angus Leeming  <leeming@lyx.org>
3212
3213         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3214         one, inside testInvariant.
3215
3216         * PrinterParams.C: new file.
3217         * PrinterParams.[Ch]: move the function bodies out of line.
3218
3219 2003-09-06  Angus Leeming  <leeming@lyx.org>
3220
3221         * ParagraphParameters.h: forward declare ParameterStruct rather than
3222         including its header file.
3223         (depth): moved out-of-line.
3224
3225 2003-09-06  Angus Leeming  <leeming@lyx.org>
3226
3227         * BufferView_pimpl.h:
3228         * kbmap.h:
3229         * kbsequence.h:
3230         * lyxfunc.h: forward declare LyXKeySym rather than
3231         #include "frontends/LyXKeySym.h".
3232
3233         * BufferView_pimpl.C:
3234         * kbmap.C:
3235         * kbsequence.C:
3236         * lyxfunc.C: associated changes.
3237
3238 2003-09-06  Angus Leeming  <leeming@lyx.org>
3239
3240         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3241         As a result, can remove the #include "insets/inset.h" from BufferView.h
3242
3243 2003-09-06  Angus Leeming  <leeming@lyx.org>
3244
3245         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3246         As a result, can remove the #include "insets/inset.h" from BufferView.h
3247
3248 2003-09-06  Angus Leeming  <leeming@lyx.org>
3249
3250         * buffer_funcs.C:
3251         * buffer.h:
3252         * bufferlist.C:
3253         * BufferView.C:
3254         * bufferview_funcs.C:
3255         * BufferView_pimpl.C:
3256         * CutAndPaste.C:
3257         * lyx_cb.C:
3258         * lyxfunc.C:
3259         * paragraph.h:
3260         * ParagraphParameters.C:
3261         * tabular.C:
3262         * text3.C:
3263         * toc.C:
3264         * undo_funcs.C:
3265         * frontends/controllers/ControlDocument.C:
3266         * insets/insetcaption.C: rearrange the #includes into some sort of
3267         coherent order.
3268
3269         * buffer.h: remove #includes ErrorList.h, undo.h
3270
3271 2003-09-06  Angus Leeming  <leeming@lyx.org>
3272
3273         * support/types.h: add a 'depth_type' typedef, used to store the
3274         nesting depth of a paragraph.
3275
3276         * paragraph.h:
3277         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3278         defining explicitly.
3279
3280         * buffer.h:
3281         * paragraph_funcs.h:
3282         * ParagraphParameters.h:
3283         * sgml.h: use lyx::depth_type rather than Paragraph or
3284         ParameterStruct's depth_type.
3285
3286         * buffer.h
3287         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3288
3289         * BufferView.C:
3290         * BufferView_pimpl.C:
3291         * CutAndPaste.C:
3292         * ParagraphParameters.C:
3293         * buffer_funcs.C:
3294         * bufferlist.C:
3295         * bufferview_funcs.C:
3296         * lyx_cb.C:
3297         * lyxfunc.C:
3298         * tabular.C:
3299         * text3.C:
3300         * toc.C:
3301         * undo_funcs.C:
3302         * frontends/LyXView.C:
3303         * frontends/controllers/ControlDocument.C:
3304         * frontends/controllers/ControlErrorList.C:
3305         * insets/insetbibitem.C:
3306         * insets/insetbranch.C:
3307         * insets/insetcaption.C:
3308         * insets/insetcollapsable.C:
3309         * insets/insetenv.C:
3310         * insets/insetert.C:
3311         * insets/insetfloat.C:
3312         * insets/insetfoot.C:
3313         * insets/insetfootlike.C:
3314         * insets/insetnewline.C:
3315         * insets/insetquotes.C:
3316         * insets/insettabular.C:
3317         * insets/insettext.C:
3318         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3319
3320         * frontends/controllers/ControlChanges.C: #include "changes.h".
3321
3322 2003-09-06  Angus Leeming  <leeming@lyx.org>
3323
3324         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3325         than #including paragraph.h.
3326
3327         * ParagraphList.h:
3328         * RowList.h: deleted. Superfluous.
3329
3330         * CutAndPaste.h:
3331         * iterators.h:
3332         * lyxcursor.h:
3333         * lyxtext.h:
3334         * text_funcs.h:
3335         * undo.h:
3336         * undo_funcs.h:
3337         * insets/inset.h:
3338         * insets/insettext.h: use ParagraphList_fwd.h rather than
3339         ParagraphList.h.
3340
3341         * paragraph.h: don't forward declare ParagraphList.
3342
3343         * buffer.h:
3344         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3345         rather than ParagraphList.h. paragraph.h is still needed for the
3346         Paragraph::depth_type parameters.
3347
3348         * textcursor.h: enable it to compile stand-alone in light of the
3349         above changes.
3350
3351         * bufferview_funcs.C:
3352         * iterators.C:
3353         * lyxfunc.C:
3354         * lyxrow_funcs.C:
3355         * paragraph.C:
3356         * rowpainter.C:
3357         * text.C:
3358         * text2.C:
3359         * text3.C:
3360         * text_funcs.C:
3361         * textcursor.C:
3362         * undo.C:
3363         * frontends/controllers/ControlParagraph.C:
3364         * frontends/controllers/ControlTabular.C:
3365         * insets/insetmarginal.C:
3366         * insets/insetminipage.C:
3367         * insets/insetnote.C:
3368         * insets/insetoptarg.C: add header files needed to compile again.
3369
3370 2003-09-06  Angus Leeming  <leeming@lyx.org>
3371
3372         * RowList_fwd.h: new file, forward-declaring Row rather than
3373         #including lyxrow.h.
3374
3375         * lyxrow_funcs.h:
3376         * lyxtext.h:
3377         * paragraph.h:
3378         * insets/insettext.h: use it instead of RowList.h
3379
3380         * bufferview_funcs.C:
3381         * lyxfunc.C:
3382         * lyxrow_funcs.C:
3383         * paragraph.C:
3384         * rowpainter.C:
3385         * text.C:
3386         * text2.C:
3387         * text3.C: #include "RowList.h".
3388
3389 2003-09-05  Angus Leeming  <leeming@lyx.org>
3390
3391         * factory.C (createInset):
3392         * vspace.C (c-tor): replace sscanf call with an istringstream.
3393         * ispell.C: re-add missing HP/UX headers.
3394         * lyxserver.C: re-add missing  os2 headers.
3395
3396 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * BranchList.C:
3399         * graph.C:
3400         * ispell.C:
3401         * lastfiles.C:
3402         * lyx_cb.C:
3403         * lyxserver.C:
3404         * texrow.C:
3405         * text3.C: re-add missing system headers, needed for 2.95.2.
3406
3407 2003-09-05  Angus Leeming  <leeming@lyx.org>
3408
3409         Changes most place everywhere due to the removal of using directives
3410         from support/std_sstream.h.
3411
3412 2003-09-05  Angus Leeming  <leeming@lyx.org>
3413
3414         Replace LString.h with support/std_string.h,
3415         Lsstream.h with support/std_sstream.h,
3416         support/LIstream.h with support/std_istream.h,
3417         support/LOstream.h with support/std_ostream.h.
3418
3419         Changes resulting throughout the tree.
3420
3421 2003-09-05  Angus Leeming  <leeming@lyx.org>
3422
3423         * sgml.h: ensure that the header file can be compiled stand-alone.
3424         * *.C: strip out redundant #includes. (320 in total.)
3425
3426 2003-09-04  Angus Leeming  <leeming@lyx.org>
3427
3428         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3429         here (from getPackages).
3430
3431         * debug.[Ch]: add a new EXTERNAL tag.
3432
3433 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3434
3435         * text2.C (cursorEnd): simplify
3436         (setCursor): adjust
3437         (getColumnNearX): adjust
3438
3439         * text.C (computeBidiTables): adjust
3440         (fill): adjust
3441
3442         * rowpainter.C (paintChars): adjust
3443         (paintSelection): adjust
3444         (paintChangeBar): adjust
3445         (paintText): adjust
3446
3447         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3448         lastPos instead.
3449         (numberOfSeparators): adjust
3450
3451 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3452
3453         * LyXAction.C:
3454         * box.[Ch]:
3455         * lfuns.h:
3456         * lyxfunc.C:
3457         * text3.C: Restricts the mouse click functionality
3458         of insets like bibtex, include, toc and floatlist to the visible
3459         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3460         up the dialogs. Cursor has to be in front of the inset (i.e.
3461         start of row) for this to function.
3462
3463 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3464
3465         * bufferview_funcs.C (currentState): output row information
3466
3467 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3468
3469         * bufferview_funcs.C (currentState): output paragraph position
3470
3471 2003-09-04  Angus Leeming  <leeming@lyx.org>
3472
3473         * FloatList.h: move out #include "Floating.h".
3474         * LaTeX.h: move out #include "DepTable.h".
3475         * LyXAction.h: move out #include "funcrequest.h".
3476         * buffer.h: move out #include "author.h", "iterators.h".
3477         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3478         * lyx_main.h: move out #include "errorlist.h".
3479         * lyxfunc.h: move out #include "FuncStatus.h".
3480         * lyxtext: move out #include "lyxcursor.h".
3481         * paragraph_pimpl.h: move out #include "counters.h".
3482
3483 2003-09-03  Angus Leeming  <leeming@lyx.org>
3484
3485         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3486         preamble_snippets list, enabling us to add snippets to the preamble
3487         only if the snippet was not there already.
3488
3489 2003-09-04  Angus Leeming  <leeming@lyx.org>
3490
3491         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3492
3493 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3494
3495         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3496         update
3497
3498 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3499
3500         * BranchList.C: point fix, earlier forgotten
3501
3502 2003-09-02  Angus Leeming  <leeming@lyx.org>
3503
3504         * box.C (contains): renamed from 'contained' after a fantastic
3505         amount of hot air.
3506
3507 2003-09-02  John Levon  <levon@movementarian.org>
3508
3509         * BufferView.C:
3510         * lyxcursor.h:
3511         * lyxcursor.C:
3512         * lyxfunc.C:
3513         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3514
3515 2003-09-02  John Levon  <levon@movementarian.org>
3516
3517         * text2.C: simplification of cursorEnd(), including partial
3518         fix for bug 1376
3519
3520 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * buffer.C (readFile): add a space
3523
3524 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3525
3526         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3527
3528 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * buffer.C (readFile): new function, take a filename and a
3531         ParagraphList::iterator
3532         (readFile): adjust
3533         (readFile): adjust, make it private. don't use setStream, make
3534         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3535         always contain the filename.
3536
3537         * BufferView.C (insertLyXFile): simplify and make it work for
3538         gzipped files.
3539
3540 2003-08-30  John Levon  <levon@movementarian.org>
3541
3542         * Makefile.am: fix dist (from Kayvan)
3543
3544 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * most files: change to use const Buffer refs
3547
3548 2003-08-27  André Pönitz  <poenitz@gmx.net>
3549
3550         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3551         on top of ownerPar().
3552
3553 2003-08-27  John Levon  <levon@movementarian.org>
3554
3555         * funcrequest.C: properly initialise POD members
3556
3557 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * lyxtext.h (top_y): move top_y from here
3560         * text.C:
3561         * text2.C:
3562         * text3.C:
3563         * BufferView.[Ch]:
3564         * BufferView_pimpl.[Ch]: to here
3565         * frontends/screen.C:
3566         * insets/insettabular.C:
3567         * insets/insettext.C: adjust
3568         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3569
3570 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * BufferView.[Ch]:
3573         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3574
3575 2003-08-26  André Pönitz  <poenitz@gmx.net>
3576
3577         * paragraph_func.[Ch] (outerPar): new function
3578
3579         * paragraph.C:
3580         * paragraph_funcs.C:
3581         * paragraph_funcs.h:
3582         * paragraph_pimpl.C:
3583         * text2.C: remove Inset::par_owner
3584
3585 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * lyxrow_funcs.C:
3588         * lyxtext.h:
3589         * text.C:
3590         * text2.C: eliminates the needFullRow/display() stuff
3591         altogether, putting the logic in metrics/draw in the insets.
3592
3593 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3594
3595         * text2.C (redoParagraphInternal, redoParagraphs):
3596         * text.C (redoParagraph): add a call to updateRowPositions at the
3597         end of each 'metrics-like' call. Remove all others.
3598         (getRow): remove the 'y-computing' version.
3599         (getRowNearY): do not compute nor return the real y. Solve the
3600         'y < 0' problem and simplify.
3601
3602 2003-08-22  Angus Leeming  <leeming@lyx.org>
3603
3604         * *.[Ch]: clean-up of licence and author blurbs.
3605         Also move config.h out of a few .h files and into a few .C files.
3606
3607 2003-08-22  André Pönitz  <poenitz@gmx.net>
3608
3609         * lyxrow.[Ch]: add x_ and *fill_ members
3610
3611         * lyxtext.h:
3612         * text.C:
3613         * rowpainter.C:
3614         * text2.C: adjust/remove prepareToPrint() calls
3615
3616 2003-08-22  André Pönitz  <poenitz@gmx.net>
3617
3618         * lyxrow.[Ch]: add  end_ member
3619
3620         * lyxrow_funcs.C: use LyXRow::end_
3621
3622         * lyxtext.h (singleWidth): add LyXFont parameter
3623
3624         * rowpainter.C:
3625         * text2.C: adjust LyXText::singleWidth() calls
3626
3627         * text.C (redoParagraph): simplify row breaking logic
3628
3629
3630 2003-08-19  André Pönitz  <poenitz@gmx.net>
3631
3632         * funcrequest.C: initialize button_ member
3633
3634         * text3.C:
3635         * rowpainter.[Ch]: interface consolidation
3636
3637 2003-08-18  André Pönitz  <poenitz@gmx.net>
3638
3639         * BufferView.C:
3640         * BufferView_pimpl.C:
3641         * lyxfind.C:
3642         * paragraph_funcs.C:
3643         * rowpainter.C:
3644         * text3.C: remove LyXScreen::draw() and fitCursor calls
3645
3646         * BranchList.h: remove spurious semicolons
3647
3648         * MenuBackend.C: fix branchlist related crash
3649
3650 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3651
3652         * BranchList.[Ch]:
3653         * InsetList.[Ch]:
3654         * LColor.[Ch]:
3655         * LyXAction.C:
3656         * Makefile.am:
3657         * MenuBackend.[Ch]:
3658         * bufferparams.[Ch]:
3659         * factory.C:
3660         * lfuns.h:
3661         * lyxfunc.C:
3662         * text3.C: implements the 'branch inset'
3663         idea. This allows the output of various versions of a document
3664         from a single source version, selectively outputing or suppressing
3665         output of parts of the text.
3666         This implementation contains a 'branch list editor' in a separate
3667         tab of the document settings dialog. Branches are user definable
3668         and have a "display colour" to distinguish them on-screen.
3669
3670         ColorHandler was somewhat cleaned up.
3671         (1) make possible a dynamically growing LColor list by allowing
3672         the graphic context cache to grow along (vector);
3673         (2) eliminate an IMHO unnecessary step in colour allocation.
3674
3675 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3676
3677         * BufferView_pimpl.C: compile fix
3678
3679 2003-08-15  André Pönitz  <poenitz@gmx.net>
3680
3681         * rowpainter.C: remove extra metrics calls
3682
3683         * lyxtext.h: merge the two constructors into a single one,
3684           pass reference to owner's par list
3685
3686         * BufferView_pimpl.C:
3687         * text.C:
3688         * text2.C: adjust
3689
3690 2003-08-15  André Pönitz  <poenitz@gmx.net>
3691
3692         * lyxrow_funcs.[Ch]:
3693         * lyxtext.h:
3694         * paragraph.h:
3695         * paragraph_funcs.C:
3696         * rowpainter.C:
3697         * text.C:
3698         * text2.C:
3699         * text3.C:
3700         * text_funcs.C: split LyXText::rowlist_ into individual
3701         Paragraph::rows_ chunks
3702
3703         * BufferView.[Ch]:
3704         * BufferView_pimpl.[Ch]:
3705         * lyxfind.C:
3706         * lyxtext.h:
3707         * text3.C: remove toggleSelection()
3708
3709 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3710
3711         * bufferlist.C: beautify two alerts (shorter text of buttons)
3712         * buffer.C: Remove redundant ' ' from message
3713         * tabular.h:
3714         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3715         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3716         rename VALIGN_CENTER to VALIGN_MIDDLE
3717
3718 2003-08-11  André Pönitz  <poenitz@gmx.net>
3719
3720         * lyxtext.h (getPar):
3721         * text.C: new function
3722
3723 2003-08-11  André Pönitz  <poenitz@gmx.net>
3724
3725         * Makefile.am:
3726         * tracer.[Ch]: remove unneeded files
3727
3728         * InsetList.[Ch]: remove resizeInsetsLyXText()
3729
3730         * lyxtext.h:
3731         * text.C:
3732         * text2.C:
3733         * text3.C: merge insertParagraphs() and appendParagraph()
3734         remove breakAgain(), update()
3735
3736         * BufferView_pimpl.[Ch]:
3737         * bufferview_funcs.[Ch]:
3738         * lyxfunc.C:
3739         * paragraph.[Ch]:
3740         * rowpainter.C:
3741         * tabular.C: adjust after text & InsetList changes.
3742
3743 2003-08-08  André Pönitz  <poenitz@gmx.net>
3744
3745         * text.C (insertChar, backspace): replace rowlist fiddling
3746         with rebreak of full par
3747
3748         * lyxtext.h:
3749         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3750         checkParagraph, updateInset): removed
3751
3752 2003-08-07  André Pönitz  <poenitz@gmx.net>
3753
3754         * paragraph.C:
3755         * text3.C: merge some LFUN handlers, remove dead code
3756
3757 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3758
3759         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3760
3761 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * text2.C (DEPM): fix part of bug 1255 and 1256
3764
3765 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3766
3767         * BufferView_pimpl.C (workAreaDispatch): change to use
3768         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3769         that are no mouse related.
3770
3771 2003-08-05  André Pönitz  <poenitz@gmx.net>
3772
3773         * BufferView.[Ch]:
3774         * BufferView_pimpl.[Ch]:
3775         * bufferview_funcs.C:
3776         * text2.C:
3777         * text3.C: rip out "deep update"
3778
3779         * textcursor.[Ch] (last_sel_cursor): remove unused member
3780
3781 2003-08-04  André Pönitz  <poenitz@gmx.net>
3782
3783         * BufferView.[Ch]:
3784         * BufferView_pimpl.[Ch]:
3785         * ParagraphParameters.C:
3786         * bufferview_funcs.C:
3787         * lyx_cb.C:
3788         * lyxfind.C:
3789         * lyxfunc.C:
3790         * text.C:
3791         * text2.C:
3792         * text3.C: replace "complicated" BufferView::update(...) calls with
3793         simpler ones.
3794
3795         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3796
3797 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3798
3799         * Makefile.am (lyx_SOURCES): add paper.h
3800
3801 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3802
3803         * Makefile.am: move things around so that both lyx-qt and
3804         lyx-xforms can be built (according to --with-frontend). Then lyx
3805         is a symbolic link to lyx-[firstfrontend]
3806
3807 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3808
3809         * Always use std::endl with lyxerr
3810
3811 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3812
3813         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3814
3815 2003-08-01  André Pönitz  <poenitz@gmx.net>
3816
3817         * BufferView.[Ch]:
3818         * BufferView_pimpl.[Ch]:
3819         * lyxfunc.C:
3820         * text3.C: merge BufferView::repaint() and BufferView::update()
3821
3822 2003-08-01  José Matos  <jamatos@lyx.org>
3823
3824         * buffer.[Ch]: file_format is no longer a buffer data element.
3825
3826 2003-08-01  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView.C:
3829         * lyxtext.h:
3830         * text.C:
3831         * text2.C: make redoParagraph more independent of current cursor
3832
3833         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3834         * text.C:
3835         * text2.C: remove unneeded members
3836
3837 2003-07-30  André Pönitz  <poenitz@gmx.net>
3838
3839         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3840
3841         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3842           create a single function...
3843
3844         * paragraph_funcs.C (moveItem): ... here.
3845
3846         * text.C:
3847           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3848
3849 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3850
3851         * LColor.[Ch]: Add comment and greyedout logical colors.
3852
3853 2003-07-30  André Pönitz  <poenitz@gmx.net>
3854
3855         * tabular.C: don't use Assert too heavily. This crashes where it
3856           shouldn't
3857
3858 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3861         is disabled (bug 1232)
3862
3863 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3864
3865         * factory.C: limited 'arg' scope
3866
3867 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3868
3869         * factory.C: fixed Note submenu issues
3870
3871 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3872
3873         * factory.C: submenu for Note/Comment/Greyedout
3874
3875 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3876
3877         * lyx_main.C (LyX):
3878         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3879
3880 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3881
3882         * LaTeXFeatures.C:
3883         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3884         greyedout. Patch provided by Jürgen Spitzmüller.
3885
3886 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3887
3888         * kbmap.C (read): fix error message when reading bind files
3889
3890 2003-07-29  Angus Leeming  <leeming@lyx.org>
3891
3892         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3893         certainly does not do what it purports to do. I am doing it, and
3894         us, a favour by killing it.
3895
3896 2003-07-28  José Matos  <jamatos@lyx.org>
3897
3898         * buffer.C (readBody, do_writeFile):
3899         * paragraph.C(readParagraph): \end_document replaces \the_end.
3900
3901 2003-07-29  André Pönitz  <poenitz@gmx.net>
3902
3903         * BufferView.[Ch]:
3904         * BufferView_pimpl.[Ch]:
3905         * lyxfunc.C:
3906         * text2.C:
3907         * text3.C:
3908         * textcursor.[Ch]: remove toggleToggle & Co
3909
3910 2003-07-28  José Matos  <jamatos@fep.up.pt>
3911
3912         * buffer.C (readParagraph):
3913         * params_func (readParToken, readParagraph):
3914         * paragraph.C (write): \layout -> \begin_layout.
3915
3916 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3917
3918         * lyxlex_pimpl.C (setFile): clean up slightly.
3919
3920         * bufferparams.h: add compressed var
3921
3922         * buffer_funcs.C (readFile): adjust for LyXLex change
3923         (newFile): ditto + simplify
3924
3925         * buffer.C (writeFile): handle writing of compressed files
3926
3927         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3928         Check if the file is compressed and set a bufferparm if so.
3929
3930         * Makefile.am (lyx_LDADD): remove explicit -lz
3931
3932 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3933
3934         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3935         makeDocBookFile): put the real LyX version in the first line of
3936         the file
3937
3938         * version.h:
3939         * version.C.in: remove lyx_docversion
3940
3941         * tabular.C (write_attribute): add a template-based version to
3942         write enums properly
3943
3944 2003-07-28  André Pönitz  <poenitz@gmx.net>
3945
3946         * lyxtext.h:
3947         * text.C:
3948         * text2.C:
3949         * text3.C: use doubles again for x-coordinates. They are needed.
3950
3951 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * messages.C (getLocaleDir): use lyx_localedir()
3954
3955         * lyxlex_pimpl.C (setFile): compress stuff
3956
3957         * buffer.C (writeFile): add some compression stuff
3958         (do_writeFile): new func, dont call expliti close... will this
3959         breake anything?
3960
3961         * Makefile.am (lyx_LDADD): add -lz
3962
3963 2003-07-28  José Matos  <jamatos@fep.up.pt>
3964
3965         * buffer.C: increment file format.
3966         * paragraph_funcs (readParagraph, readParToken):
3967         * paragraph.C (readParagraph): add \end_layout.
3968
3969 2003-07-27  Angus Leeming  <leeming@lyx.org>
3970
3971         * Makefile.am: remove special casing for configure-time setting of
3972         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3973
3974         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3975         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3976
3977 2003-07-26  André Pönitz  <poenitz@gmx.net>
3978
3979         * paragraph_func.[Ch]:
3980         * paragraph.C (realizeFont): inline it whereever it is used
3981
3982         * rowpainter.C:
3983         * text.C:
3984         * text2.C:
3985         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3986
3987
3988 2003-07-26  André Pönitz  <poenitz@gmx.net>
3989
3990         *       lyxtext.h:
3991         * text.C:
3992         * text2.C: get rid of LyXText::need_break_row
3993
3994 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * toc.[Ch]: put namespace toc inside namespace lyx
3997
3998         * MenuBackend.C (expandToc2): adjust for lyx::toc
3999         (expandToc): ditto
4000
4001         * lyxfunc.C (dispatch): adjust for lyx::find
4002
4003         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4004         lyx::find instead. Reorganize a bit.
4005         (LyXReplace): rename to replace
4006         (LyXFind): rename to find
4007
4008         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4009         (dispatch): ditto
4010
4011 2003-07-26  André Pönitz  <poenitz@gmx.net>
4012
4013         * text.C (setHeightOfRow): restrict scope of temporary variable
4014
4015         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4016           code (never has been used?)
4017
4018 2003-07-27  Asger Alstrup  <alstrup@local>
4019
4020         * text.C (fill): Optimise algorithm to exploit that we can reuse
4021         the LyXFont for many characters.
4022         (setHeightOfRow): Same thing.
4023         (rowBreakPoint): Same thing.
4024
4025 2003-07-26  Asger Alstrup  <alstrup@local>
4026
4027         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4028
4029         * text.C (singleWidth): Spurious font copying in hot-spot
4030         singleWidth avoided. Reorder tests for arabic for efficiency.
4031
4032         * text.C (fill): handle empty paragraphs better.
4033
4034 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4035
4036         * ispell.C:
4037         * encoding.h: add includes
4038
4039         * lyxrc.C: remove reading of bind files
4040
4041         * lyx_main.C (init): setup bindings and menus only if we have a
4042         gui.
4043
4044         * kbmap.C (read): new method. Do the actual reading of bind
4045         files.
4046
4047         * converter.C (dvipdfm_options):
4048         * bufferparams.C:
4049         * lyxrc.C (read):
4050         (output): adapt PAPER_* enums.
4051
4052         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4053
4054         * bufferparams.h: remove paper-related enums from there
4055
4056         * paper.h: New file. A trivial header file to hold paper-related
4057         enums. It should later expand to contain many paper-related
4058         horrors access.
4059
4060         * lyxrc.C: declare extern displayTranslator
4061
4062 2003-07-27  José Matos  <jamatos@fep.up.pt>
4063
4064         * tabular.[Ch] (linuxdoc): add support for tables and figures
4065         (linuxdoc).
4066
4067 2003-07-27  José Matos  <jamatos@fep.up.pt>
4068
4069         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4070         consistency in both functions.
4071         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4072
4073 2003-07-26  Asger Alstrup  <alstrup@local>
4074
4075         * rowpainter.C (paintRows): Change algorithm to work directly on
4076         the insets rather than asking every character in the document
4077         whether its an inset.
4078
4079 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4080
4081         * buffer.C (openFileWrite): factorize some code
4082
4083 2003-07-26  Angus Leeming  <leeming@lyx.org>
4084
4085         * lyx_cb.C:
4086         * lyx_main.[Ch]: replace occurances of system_tempdir with
4087         os::getTmpDir().
4088
4089 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * rename Inset to InsetOld
4092
4093 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4094
4095         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4096         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4097         which I think is a bit clearer. EDIT is gone, since it was
4098         premature optimisation, and broken for mathed anyway.
4099         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4100         with cursor positioning in insets as well (math insets still do not
4101         work, but that's a different story anyway.) It mysteriously
4102         crashes sometimes with undo in the first paragraph, but I'm fairly
4103         confident that this is a compiler bug.
4104
4105 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * paragraph.C (Paragraph): adjust for new clone return type
4108         (operator==): ditto
4109         (copyIntoMinibuffer): ditto
4110
4111 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4112
4113         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4114         by not having a special case, and always doing a full rebreak of
4115         the document after undo.
4116
4117 2003-07-23  Angus Leeming  <leeming@lyx.org>
4118
4119         * factory.C (createInset): InsetExternal::setParams now takes a
4120         Buffer const * arg.
4121
4122 2003-07-23  Angus Leeming  <leeming@lyx.org>
4123
4124         * factory.C (createInset): changed interface to the external and
4125         graphics mailers' string2params functions.
4126
4127 2003-07-23  Angus Leeming  <leeming@lyx.org>
4128
4129         * factory.C (createInset): pass a
4130         Buffer const * parameter to InsetExternalMailer's string2params.
4131
4132 2003-07-22  John Levon  <levon@movementarian.org>
4133
4134         * Thesaurus.h: include the right aiksaurus header
4135
4136 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4137
4138         * MenuBackend.C (expand): check menu shortcuts unconditionally
4139
4140 2003-07-21  Angus Leeming  <leeming@lyx.org>
4141
4142         * factory.C (createInset): pass a
4143         buffer_path parameter to InsetGraphicsMailer's string2params.
4144
4145 2003-07-21  Angus Leeming  <leeming@lyx.org>
4146
4147         * BufferView_pimpl.C (buffer):
4148         * buffer.C (d-tor):
4149         * lyx_main.C (LyX):
4150         * lyxfunc.C (dispatch):
4151         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4152         rather than the grfx shortcut.
4153
4154 2003-07-21  André Pönitz  <poenitz@gmx.net>
4155
4156         * rowpainter.C: remove unused variables
4157
4158         * tabular_funcs.C:
4159         * tabular_funcs.h: move to tabular.C
4160         * Makefile.am: adjust
4161
4162         * tabular.[Ch]: basic optical cleaning
4163
4164         * author.h: pass references, not values
4165
4166 2003-07-18  André Pönitz  <poenitz@gmx.net>
4167
4168         * lyxtext.h:
4169         * metricsinfo.C:
4170         * metricsinfo.h:
4171         * rowpainter.C:
4172         * text.C:
4173         * text2.C:
4174         * text3.C: two-phase drawing for InsetText and InsetTabular
4175         some float -> int changes.
4176
4177 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * lyx_main.C: fix the fix
4180
4181 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * lyx_main.C: fix a crash in batch mode if no files specified
4184         * converter.C: ws
4185
4186 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * format.[Ch] (papersize): moved to BufferParams
4189         * converter.[Ch] (dvips_options): moved to BufferParams
4190         (dvipdfm_options): moved to anon namespace
4191         * bufferparams.[Ch]: added above functions.
4192
4193 2003-07-17  André Pönitz  <poenitz@gmx.net>
4194
4195         * lyxtext.h:
4196         * rowpainter.C:
4197         * text2.C: don't call inset->update() anymore
4198
4199         * metricsinfo.[Ch]: add convenience constructor
4200
4201 2003-07-16  André Pönitz  <poenitz@gmx.net>
4202
4203         * lyxcursor.[Ch]:
4204         * lyxfunc.[Ch]:
4205         * text.C:
4206         * text2.C: replace the LyXCursor::irow_ member with
4207          on-demand computation of the value
4208
4209 2003-07-16  John Levon  <levon@movementarian.org>
4210
4211         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4212
4213 2003-07-15  André Pönitz  <poenitz@gmx.net>
4214
4215         * text.C:
4216         * text2.C: remove no more needed refresh_row
4217
4218 2003-07-15  André Pönitz  <poenitz@gmx.net>
4219
4220         * lyxtext.h:
4221         * rowpainter.C:
4222         * text2.C:
4223         * text3.C: refresh_status tristate -> need_update bool
4224
4225 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4226
4227         * lyxtext.h (init): remove reinit argument (act as if always true)
4228         * text2.C: adjust to that
4229
4230 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4231
4232         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4233         * text3.C: use it to delete selections in some cases
4234         (bugs 441, 673, 702, 954).
4235
4236 2003-07-14  André Pönitz  <poenitz@gmx.net>
4237
4238         * rowpainter.[Ch]: reduce interface
4239
4240 2003-07-14  André Pönitz  <poenitz@gmx.net>
4241
4242         * BufferView_pimpl.C:
4243         * text2.C: adjust after removing unused BufferView * argument
4244
4245 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * text2.C (init): fix a crash fired on resize
4248
4249 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * buffer.[Ch]: added new closing signal
4252         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4253         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4254         BufferView::Pimpl via the closing the signal
4255
4256 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * buffer.[Ch]: take out all bv-related from buffer
4259         * BufferView.C:
4260         * BufferView_pimpl.[Ch]: connect to new signals
4261         * CutAndPaste.C: removed useless asserts
4262         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4263         * lyxvc.[Ch]:
4264         * vc-backend.[Ch]:
4265         * lyxfunc.C: moved view-related funciontality from vc here
4266         * paragraph.C: removed outdated comments
4267         * text.C: ws
4268
4269 2003-07-10  André Pönitz  <poenitz@gmx.net>
4270
4271         * BufferView_pimpl.C:
4272         * tabular.h:
4273         * tabular_funcs.C:
4274         * text.C:
4275         * text2.C: remove InsetText::InnerCache, clean up consequences
4276
4277 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4278
4279         * ispell.C: fix two typos in error messages
4280
4281 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * Extend Note inset to other forms of annotation like Comment
4284         and Greyedout. Right button click gives dialog.
4285
4286         Files modified or added (+):
4287
4288         * insetnote.[Ch]
4289         * FormNote.[Ch]      +
4290         * ControlNote.[Ch]   +
4291         * form_note.fd       +
4292         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4293         frontends/controllers
4294         * xforms/Dialogs.C
4295         * factory.C
4296
4297 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4298
4299         * aspell.C: add missing namespace lyx::support
4300
4301 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * BufferView.[Ch] (newFile): Add
4304         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4305         * LaTeX.[Ch] (message): added this signal and use it
4306         * buffer.[Ch] (busy, message): added these signals and use them
4307         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4308         * converter.C:
4309         * exporter.C:
4310         * format.C:
4311         * importer.C: use buffer signals instead of direct bv calling
4312         * lyx_cb.[Ch] (ShowMessage): removed
4313         * lyx_main.C:
4314         * lyxfunc.C:
4315         * paragraph_funcs.C:
4316         * text2.C: use buffer signals
4317
4318 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * introduce namespace lyx::graphics
4321
4322 2003-07-02  André Pönitz  <poenitz@gmx.net>
4323
4324         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4325
4326 2003-07-01  André Pönitz  <poenitz@gmx.net>
4327
4328         * text.C:
4329         * text2.C:
4330         * text3.C:
4331         * text_funcs.[Ch]:
4332         * textcursor.h:
4333         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4334           text*.C to text_func.C
4335
4336 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * introduce namespace lyx::support
4339
4340 2003-06-30  André Pönitz  <poenitz@gmx.net>
4341
4342         * Chktex.C:
4343         * funcrequest.C:
4344         * lyxtext.h:
4345         * text.C: re-enable --with-included-string
4346
4347 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * textcursor.C: add <config.h>
4350
4351         * text.C (getWord): remove const from word_location arg
4352
4353         * lyxvc.C (getLogFile): fix const type order
4354
4355         * lyxtext.h: remove const from word_location arg, add arg name
4356
4357         * lyxlayout.h: currect type on labeltype.
4358
4359         * importer.C: correct \file
4360
4361         * converter.C (intToFormat): use std:: on ret val, ws changes
4362
4363         * bufferlist.h: correct \file
4364
4365         * buffer.C (makeLinuxDocFile): fix const type order
4366         (makeDocBookFile): ditto
4367         (fillWithBibKeys): use std:: on stdlib args.
4368
4369         * CutAndPaste.C: fix authors.
4370         (availableSelections): use std:: on return vector
4371
4372 2003-06-27  André Pönitz  <poenitz@gmx.net>
4373
4374         * BufferView_pimpl.C:
4375         * bufferview_funcs.C:
4376         * lyxcursor.C:
4377         * lyxcursor.h:
4378         * lyxfunc.C:
4379         * lyxtext.h:
4380         * rowpainter.C:
4381         * text.C:
4382         * text2.C:
4383         * text3.C: remove LyXCursor::row_ member
4384
4385         * lyxtext.h:
4386         * text.C: rename fullRebreak() to partialRebreak() and implement
4387           a fullRebreak() that really bereks fully
4388
4389         * textcursor.h: new struct for cursor-related data
4390
4391 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4392
4393         * lyx_main.C (LyX): get full path of document loaded on the
4394         command line
4395
4396 2003-06-26  André Pönitz  <poenitz@gmx.net>
4397
4398         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4399           remove unused/broken operator>,<,>=.
4400
4401         *       text.C: remove only use of broken operator<= in an Assert().
4402
4403 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4404
4405         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4406         moved errorlist_.clear to showErrorList
4407
4408 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4409
4410         * converter.C (scanLog, runLaTeX):
4411         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4412         move the bv->showErrorList call to the callers
4413         * lyxfunc.C: i.e. here...
4414         * text2.C: and here
4415         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4416         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4417         namespace, the second to...
4418         * buffer_funcs (BufferFormat, parseErrors): added
4419         * errorlist.C (ErrorList(TeXErrors const &)): removed
4420
4421 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4422
4423         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4424
4425 2003-06-24  "Garst R. Reese" <reese@isn.net>
4426
4427         * debug.C: fix typo
4428
4429 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4430
4431         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4432
4433         * version.C.in: change docversion to 1.4
4434
4435 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * buffer.C: fix a bug just introduced
4438
4439 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * buffer.[Ch]: added the parseError signal and use it, removed
4442         sgmlError
4443         * BufferView.[Ch] (addError): moved to ...
4444         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4445         to the Buffer::parseError signal to catch (guess what) parse errors
4446         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4447
4448 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4451         ability to create a buffer and to return an existing one from
4452         the list. Moved these functions to...
4453         * buffer_funcs.[Ch]: added
4454         * BufferView.[Ch] (loadLyXFile): added
4455         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4456         job removed from bufferlist::loadLyXFile.
4457         * buffer.C (setReadOnly): make it work without view
4458         (i.e added an if (users))
4459
4460 2003-06-19  Angus Leeming  <leeming@lyx.org>
4461
4462         * lfuns.h:
4463         * LyXAction.C (init):
4464         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4465         with LFUN_DIALOG_SHOW <name> <data>.
4466
4467 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4468
4469         * CutAndPaste.C (availableSelections): small compilation fix for
4470         ancient (gcc 2.9x) compilers
4471
4472 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * text3.C (cursorNext): add tmp var
4475
4476         * text2.C (updateCounters): for function calling out of for clause
4477         (replaceSelectionWithString): ditto
4478         (insertStringAsParagraphs): ditto
4479         (getColumnNearX): add tmp var
4480         (setCursorFromCoordinates): add tmp var
4481         (cursorDownParagraph): add tmp var
4482         (deleteEmptyParagraphMechanism): add tmp var
4483
4484         * text.C (insertChar): add tmp var
4485
4486         * rowpainter.C (paintDepthBar): add tmp var
4487
4488         * CutAndPaste.C (availableSelections): potentially check all
4489         paragraphs in a cut to fill the shown strings.
4490
4491 2003-06-18  André Pönitz  <poenitz@gmx.net>
4492
4493         * kbmap.[Ch]: use vector<> instead of list<>
4494
4495 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4496
4497         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4498         pasteSelection with index
4499
4500         * text2.C (pasteSelection): modify, call pasteSelection with index
4501
4502         * paragraph.C (asString): reimplement version with no interval to
4503         call the one with interval.
4504
4505         * lyxtext.h: add index arg to pasteSelection
4506
4507         * MenuBackend.C (MenuItem): handle PasteRecent
4508         (Menu::read::Menutags): add md_pasterecent
4509         (read): handle it
4510         (expandPasteRecent): new function
4511         (expand): use it
4512
4513         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4514
4515         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4516         the limited stack
4517         (availableSelections): new function
4518
4519 2003-06-17  Angus Leeming  <leeming@lyx.org>
4520
4521         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4522
4523 2003-06-17  Angus Leeming  <leeming@lyx.org>
4524
4525         * lfuns.h:
4526         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4527
4528         * lyxfunc.C (dispatch): invoke it.
4529
4530 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4531
4532         * iterators.C (operator++, ParPosition): reintroduce some
4533         const_cast for the benefit of older compilers.
4534
4535 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4536
4537         * text3.C (dispatch): do not modify clipboard when doing
4538         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4539         LFUN_DELETE_SKIP on a selection selection
4540
4541 2003-06-16  André Pönitz  <poenitz@gmx.net>
4542
4543         * BufferView.C:
4544         * buffer.C:
4545         * buffer.h:
4546         * paragraph.C:
4547         * tabular.[Ch]: IU of clone() and getLabelList();
4548
4549 2003-06-13  André Pönitz  <poenitz@gmx.net>
4550
4551         * tabular.h: compactification
4552
4553 2003-06-12  André Pönitz  <poenitz@gmx.net>
4554
4555         * tabular.C:
4556         * tabular.h:
4557         * tabular_funcs.h: some renaming plus whitespace
4558
4559 2003-06-12  André Pönitz  <poenitz@gmx.net>
4560
4561         * BufferView.C:
4562         * BufferView_pimpl.C:
4563         * CutAndPaste.C:
4564         * buffer.C:
4565         * iterators.[Ch]:
4566         * lyxfunc.C:
4567         * text.C:
4568         * toc.C: Return a Paragraph & for ParIterator::operator*()
4569
4570 2003-06-11  John Levon  <levon@movementarian.org>
4571
4572         * lyx_main.C:
4573         * ToolbarBackend.h:
4574         * ToolbarBackend.C: add "Toolbars" section and
4575         put the flags there
4576
4577 2003-06-10  Angus Leeming  <leeming@lyx.org>
4578
4579         * lfuns.h:
4580         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4581
4582         * lyxfunc.C (dispatch): invoke it.
4583
4584 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * main.C: protect <ios> with HAVE_IOS
4587         (main): protect sync_with_stdio with HAVE_IOS
4588
4589 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4590
4591         * text2.C (cutSelection): adjust
4592         (pasteSelection): adjust
4593
4594         * messages.C: handle get of empty string
4595
4596         * main.C (main): use sync_with_stdio(false)
4597
4598         * lyxfunc.C (dispatch): adjust
4599
4600         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4601         (WriteAs): remove unneeded BufferView arg.
4602
4603         * bufferparams.h: use correct types on papersize, papersize2 and
4604         paperpackage.
4605
4606         * bufferparams.C (readToken): adjust for type
4607         (writeLaTeX): add missing cases to switch.
4608
4609         * bufferlist.C (quitWriteBuffer): adjust
4610         (close): adjust
4611
4612         * buffer.C (asciiParagraph): remove some commented code.
4613
4614         * CutAndPaste.C: remove current_view extern variable.
4615         (cutSelection): add BufferParams arg.
4616         (eraseSelection): add BufferParams arg.
4617         (pasteSelection): add Buffer const & arg
4618
4619 2003-06-07  John Levon  <levon@movementarian.org>
4620
4621         * buffer.C:
4622         * paragraph_funcs.C:
4623         * paragraph_pimpl.C:
4624         * text.C:
4625         * text2.C:
4626         * paragraph.h:
4627         * paragraph.C: allow InsetERT to freely space lines,
4628         and some consolidation of code
4629
4630 2003-06-06  José Matos  <jamatos@fep.up.pt>
4631
4632         * buffer.C (makeDocBookFile): fix bug #821
4633
4634 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4635
4636         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4637
4638 2003-06-04  Angus Leeming  <leeming@lyx.org>
4639
4640         * buffer.C: bump format to 224.
4641
4642 2003-06-05  André Pönitz  <poenitz@gmx.net>
4643
4644         * text2.C (redoParagraphs): remove two const_cast<>
4645
4646 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4647
4648         * ParagraphList.h: remove last remnants of NO_STD_LIST
4649
4650 2003-06-03  Angus Leeming  <leeming@lyx.org>
4651
4652         * factory.C (createInset): small change to the way InsetExternal's params
4653         are set.
4654
4655 2003-06-04  André Pönitz  <poenitz@gmx.net>
4656
4657         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4658
4659         * paragraph_pimpl.h:
4660         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4661
4662         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4663
4664         * undo_funcs.C: make some simple cases of undo work again
4665
4666 2003-06-03  John Levon  <levon@movementarian.org>
4667
4668         * ispell.C: HPUX doesn't have sys/select.h
4669         (from Albert Chin)
4670
4671 2003-06-03  John Levon  <levon@movementarian.org>
4672
4673         * CutAndPaste.C: update tabular and include inset
4674         buffer references
4675
4676         * buffer.h:
4677         * paragraph.h:
4678         * paragraph.C: remove owningBuffer(), don't pass Buffer
4679         to clone()
4680
4681         * factory.C: insetGraphicsParams changed
4682
4683 2003-06-02  John Levon  <levon@movementarian.org>
4684
4685         * LyXAction.C:
4686         * factory.C:
4687         * lfuns.h:
4688         * lyxfunc.C:
4689         * text3.C: remove insetparent
4690
4691 2003-06-02  John Levon  <levon@movementarian.org>
4692
4693         * buffer.h:
4694         * buffer.C: fix inset_iterator.end(), move out of line
4695         (bug 1149)
4696
4697 2003-06-01  John Levon  <levon@movementarian.org>
4698
4699         * text3.C: use a proper cut/paste when doing inset
4700         insert (from Jürgen Spitzmüller)
4701
4702 2003-06-01  John Levon  <levon@movementarian.org>
4703
4704         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4705
4706 2003-05-30  André Pönitz  <poenitz@gmx.net>
4707
4708         * rowpainter.C: unify second drawing phase
4709
4710 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * trans_mgr.C: remove one case of current_view
4713
4714         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4715
4716         * paragraph_funcs.h: remove paragraph.h include
4717
4718         * paragraph.h: delete NO_STD_LIST stuff
4719
4720         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4721
4722         * buffer.h: remove paragraph.h include
4723
4724         * ParagraphList.C: delete file
4725
4726         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4727
4728         * toc.C (getTocList): adjust
4729
4730         * paragraph_pimpl.C (validate): adjust
4731
4732         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4733
4734         * paragraph.C (Paragraph): adjust
4735         (getPositionOfInset): use const_iterator, adjust
4736         (bibitem): use const_iterator, adjust
4737         (setInsetOwner): adjust
4738
4739         * iterators.C (operator++): adjust
4740
4741         * InsetList.[Ch]: Replace selfmade iterator with standard
4742         vector::iterator also introduce const_iterator. Remove getPos,
4743         getInset and setInset from InsetTable. Adjust accordingly.
4744
4745         * BufferView.C (lockInset): adjust
4746         (ChangeInsets): adjust
4747
4748         * tabular.[Ch]: delete commented same_id functions
4749
4750 2003-05-28  John Levon  <levon@movementarian.org>
4751
4752         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4753
4754 2003-05-28  André Pönitz  <poenitz@gmx.net>
4755
4756         * metricsinfo.[Ch]: remove 'fullredraw' member
4757
4758 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4759
4760         * lyxtextclass.C (operator): remove caching.
4761
4762 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * text3.C: adjust
4765
4766         * text2.C (cursorBottom): adjust
4767         (setCounter): use ParagraphList::find, adjust
4768
4769         * text.C (workWidth): use ParagraphList::find, adjust
4770
4771         * lyxcursor.C (LyXCursor): adjust
4772
4773         * buffer.C (inset_iterator): adjust
4774
4775         * ParagraphList.h: make iterator(value_type) private, make
4776         ParagraphList a friend of iterator.
4777
4778         * ParagraphList.C (find): new function
4779
4780         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4781
4782 2003-05-27  André Pönitz  <poenitz@gmx.net>
4783
4784         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4785
4786 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4787
4788         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4789
4790 2003-05-26  John Levon  <levon@movementarian.org>
4791
4792         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4793
4794 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * remove same_id from function signatures, adjust.
4797
4798 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4801
4802         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4803
4804         * paragraph.C (Paragraph): get rid of same_ids parameter
4805
4806         * ParagraphList.C (insert): adjust
4807         (push_back): adjust
4808
4809 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * paragraph_funcs.C (breakParagraph): adjust
4812         (breakParagraphConservative): adjust
4813
4814         * buffer.C (readParagraph): adjust
4815
4816         * ParagraphList.C (insert): take a reference instead of a pointer
4817         (insert): adjust
4818
4819         * paragraph.[Ch] (id): new function
4820
4821         * bufferlist.C (newFile): adjust
4822
4823         * ParagraphList.C (ParagraphList): adjust
4824         (assign): adjust
4825         (push_back): take a reference instead of a pointer.
4826
4827         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4828
4829         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4830         instead.
4831
4832         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4833         set else use old code.
4834
4835         * ParagraphList.C: remove all NO_NEXT code and only compile this
4836         code of NO_STD_LIST is set.
4837
4838 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * BufferView_pimpl.C:
4841         * TextCache.C:
4842         * TextCache.h:
4843         * bufferlist.C:
4844         * errorlist.h:
4845         * format.C:
4846         * format.h:
4847         * graph.C:
4848         * lyxfunc.C:
4849         * lyxrc.C:
4850         * graphics/GraphicsConverter.C:
4851         * graphics/PreviewLoader.C: header adjustment
4852
4853 2003-05-23  Angus Leeming  <leeming@lyx.org>
4854
4855         * LaTeXFeatures.[Ch] (useBabel): new method.
4856         * bufferparams.C (writeLaTeX): use it.
4857
4858 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * ParagraphList.h (set): remove unused function.
4861
4862 2003-05-23  André Pönitz  <poenitz@gmx.net>
4863
4864         * BufferView.C:
4865         * BufferView_pimpl.C:
4866         * buffer.C:
4867         * buffer.h:
4868         * lyxfunc.C:
4869         * undo_funcs.C: setUndo reworked
4870
4871         * iterators.[Ch]: add access to topmost ParagraphList
4872
4873         * lyxtext.[Ch] (workWidth): add a const
4874
4875 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * texrow.[Ch] (increasePos): remove function
4878         * exporter.C (export): removed unused var and outdated comment
4879
4880 2003-05-23  Angus Leeming  <leeming@lyx.org>
4881
4882         * latexrunparams.h: rename fragile as moving_arg.
4883         * paragraph.C (simpleTeXOnePar): ditto.
4884         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4885
4886 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4889         (createUndo): ditto
4890         (textUndoOrRedo): comment out a currently unused var.
4891
4892         * paragraph.h (NO_NEXT): enable NO_NEXT
4893
4894         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4895
4896         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4897
4898         * exporter.C (Export): adjust for removeAutoInsets removal.
4899
4900         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4901
4902         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4903
4904         * BufferView.[Ch] (removeAutoInsets): delete function
4905
4906 2003-05-22  Angus Leeming  <leeming@lyx.org>
4907
4908         * latexrunparams.h: add a free_spacing variable.
4909
4910         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4911         to pass moving_arg, as the data is stored in runparams.fragile.
4912
4913         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4914         to Inset::latexOptional or to simpleTeXOnePar.
4915
4916         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4917         free_spacing arg to Inset::latexOptional.
4918
4919         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4920         free_spacing arg.
4921
4922 2003-05-22  Angus Leeming  <leeming@lyx.org>
4923
4924         * latexrunparams.h: add fragile and use_babel variables.
4925
4926         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4927         * buffer.C (makeLaTeXFile): store this returned value in
4928         runparams.use_babel, thus passing it to the inset::latex methods.
4929
4930         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4931         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4932
4933         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4934         longer has a fragile arg, as it is stored in runparams.fragile.
4935
4936         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4937         moving_arg parameter as the data is stored in runparams.fragile.
4938
4939         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4940         a fragile parameter as the data is stored in runparams.fragile.
4941
4942 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4945
4946 2003-05-22  Angus Leeming  <leeming@lyx.org>
4947
4948         * latexrunparams.h: add a 'bool nice' which defaults to false.
4949
4950         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4951         now encapsulated within runparams.
4952
4953         * bufferlist.C (updateIncludedTeXfiles):
4954         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4955
4956 2003-05-22  Angus Leeming  <leeming@lyx.org>
4957
4958         * latexrunparams.h: new file containing struct LatexRunParams.
4959         * Makefile.am: add new file.
4960
4961         * LaTeX.[Ch] (c-tor, run):
4962         * buffer.[Ch] (makeLaTeXFile):
4963         * bufferlist.[Ch] (updateIncludedTeXfiles):
4964         * converter.C (convert, scanLog):
4965         * converter.[Ch] (runLaTeX):
4966         * exporter.C (Export):
4967         * paragraph.[Ch] (simpleTeXOnePar):
4968         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4969         * paragraph_funcs.[Ch] (latexParagraphs):
4970         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4971         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4972         pass around a LatexRunParams parameter.
4973
4974 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * paragraph.[Ch]: remove unused constructor
4977
4978         * ParagraphList.C (erase): new function, taking two iterators
4979
4980 2003-05-22  André Pönitz  <poenitz@gmx.net>
4981
4982         * undo_funcs.C: remove duplicated code
4983
4984         * iterator.[Ch]: operator=
4985
4986 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * tabular.C (SetMultiColumn): ws changes
4989
4990         * rowpainter.C (paintFirst): get rid of a ->previous
4991
4992         * lyx_cb.C (getPossibleLabel): parlist simplification
4993
4994         * BufferView.C (ChangeInsets): simplify slightly.
4995
4996 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4997
4998         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4999         * lfuns.h: new LFUN_SPACE
5000         * lyxfunc.C: protected space has a new lfun
5001         * paragraph_funcs.C: read new space insets
5002         * text3.C:
5003         * factory.C: handle new space insets
5004
5005 2003-05-22  André Pönitz  <poenitz@gmx.net>
5006
5007         * BufferView.C:
5008         * BufferView_pimpl.C:
5009         * buffer.[Ch]:
5010         * lyxfunc.C:
5011         * undo_funcs.C: return a ParIterator from getParFromID.
5012
5013         * iterators.[Ch]: add two const's
5014
5015 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * toc.C (getTocList): adjust
5018
5019         * iterators.[Ch]: rework for parlist
5020
5021         * buffer.C (par_iterator_begin): adjust
5022         (par_iterator_end): adjust
5023
5024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5025
5026         * BufferView.C (removeAutoInsets): adjust
5027         (ChangeInsets): adjust
5028
5029 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * text.C (top_y): fix bug 1110
5032
5033 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5034
5035         * errorlist.[Ch]: added
5036         * buffer.C:
5037         * BufferView.[Ch]:
5038         * BufferView_pimpl.C:
5039         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5040         instead
5041
5042 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * Makefile.am: ensure that lyx is relinked upon changes to the
5045         various "convenience" libs.
5046
5047 2003-05-20  Angus Leeming  <leeming@lyx.org>
5048
5049         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5050         files are compiled in alphabetical order again.
5051
5052         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5053
5054 2003-05-19  Angus Leeming  <leeming@lyx.org>
5055
5056         * gettext.[Ch]: remove "char const * _(char const *)".
5057
5058 2003-05-19  André Pönitz  <poenitz@gmx.net>
5059
5060         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5061
5062         * Makefile.am:
5063         * BufferView.C:
5064         * DepTable.h:
5065         * LaTeXFeatures.C:
5066         * buffer.C:
5067         * lyxfont.C:
5068         * lyxlex.h:
5069         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5070
5071 2003-05-19  André Pönitz  <poenitz@gmx.net>
5072
5073         * buffer.C:
5074         * lyxlayout.[Ch]:
5075         * lyxtextclass.[Ch]:
5076         * paragraph.C:
5077         * paragraph_funcs.[Ch]:
5078         * text2.C:
5079         * text3.C: more insetenv work
5080
5081 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * ParagraphParameters.C (params2string): small bug fixed
5084
5085 2003-05-16  André Pönitz  <poenitz@gmx.net>
5086
5087         * debug.C:
5088         * bufferview_funcs.C: patch from Kornel Benko to prevent
5089           crash when _(...) is called twice in a statement
5090
5091 2003-05-16  André Pönitz  <poenitz@gmx.net>
5092
5093         * BufferView.C:
5094         * lyxfunc.C:
5095         * text.C:
5096         * text2.C:
5097         * text3.C:
5098         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5099
5100 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * lyx_main.C (init): remove spurious static_cast
5103
5104 2003-05-14  André Pönitz  <poenitz@gmx.net>
5105
5106         * BufferView.C: fix format string
5107
5108 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * BufferView.[Ch] (insertErrors): removed
5111         * BufferView.[Ch] (showErrorList): added
5112         * buffer.C (runChkTeX):
5113         * converter.C (scanLog): call showErrorList instead of inserterrors
5114
5115 2003-05-13  André Pönitz  <poenitz@gmx.net>
5116
5117         * BufferView_pimpl.C:
5118         * buffer.C:
5119         * bufferview_func.C:
5120         * MenuBackend.C:
5121         * lyxfunc.C:
5122         * lyxrc.C:
5123         * tex-accent.C:
5124         * text3.C:
5125         * toc.C:
5126         * tabular_funcs.h: tostr() from its own header
5127
5128         * ParagraphParameters.C:
5129         * ToolbarBackend.C:
5130         * bufferparams.C:
5131         * format.C:
5132         * lyxlex_pimpl.C:
5133         * text3.C: STRCONV()
5134
5135 2003-05-12  André Pönitz  <poenitz@gmx.net>
5136
5137         * BufferView.C:
5138         * BufferView_pimpl.C:
5139         * CutAndPaste.C:
5140         * LaTeX.C:
5141         * LaTeXFeatures.C:
5142         * ParagraphParameters.C:
5143         * buffer.C:
5144         * bufferlist.C:
5145         * bufferparams.C:
5146         * bufferview_funcs.C:
5147         * converter.C:
5148         * counters.C:
5149         * debug.C:
5150         * exporter.C:
5151         * format.C:
5152         * importer.C:
5153         * lyx_cb.C:
5154         * lyx_main.C:
5155         * lyxfont.C:
5156         * lyxfunc.C:
5157         * lyxvc.C:
5158         * paragraph.C:
5159         * paragraph_funcs.C:
5160         * tabular.C:
5161         * tabular_funcs.C:
5162         * text2.C:
5163         * text3.C:  boost::format -> bformat  all over the place
5164
5165
5166 2003-05-09  André Pönitz  <poenitz@gmx.net>
5167
5168         * LColor.[Ch]: Pimpl the #include <map> away
5169
5170 2003-05-09  John Levon  <levon@movementarian.org>
5171
5172         * bufferlist.C: never remove emergency saves
5173
5174 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * Makefile.am: better lib building
5177
5178 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5181         instead.
5182         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5183         (simpleTeXSpecialChars): adjust
5184         (simpleTeXSpecialChars): adjust
5185         * paragraph.C (simpleTeXOnePar): adjust
5186         * buffer.C (makeLaTeXFile): adjust
5187
5188         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5189
5190         * text2.C (changeDepth): parlist cleanup
5191         (getColumnNearX): ditto
5192
5193         * rowpainter.C (getLabelFont): parlist cleanup
5194
5195         * bufferlist.C (newFile): parlist cleanup
5196
5197         * CutAndPaste.C (eraseSelection): parlist cleanup
5198
5199         * BufferView_pimpl.C (trackChanges): parlist cleanup
5200         (dispatch): ditto
5201
5202         * BufferView.C (lockInset): parlist cleanup.
5203         (ChangeInsets): ditto
5204
5205 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * CutAndPaste.h: Update file header.
5208
5209         * CutAndPaste.C: Update file header.
5210         Store the parts cut out of the Document in a limited_stack.
5211         (copySelection): adjust
5212         (pasteSelection): new function, takes the index in the limited stack.
5213         (nrOfParagraphs): adjust
5214         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5215         simplify error inset insertion.
5216         (checkPastePossible): adjust
5217
5218 2003-05-06  John Levon  <levon@movementarian.org>
5219
5220         * text2.C: don't cast wrap inset to float
5221
5222 2003-05-05  André Pönitz  <poenitz@gmx.net>
5223
5224         * iterator.C:
5225         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5226
5227         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5228           few naked Paragraph *.
5229
5230 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5231
5232         * bufferparams.C: Output warning if a document with missing
5233         TeX document class is loaded
5234         * exporter.C: Disable TeX exports if the document class is missing
5235         * lyxtextclass.C:
5236         * lyxtextclass.h:
5237         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5238         isTeXClassAvailable()
5239
5240 2003-05-03  John Levon  <levon@movementarian.org>
5241
5242         * BufferView.h:
5243         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5244         explicit cursor show/hide
5245
5246         * BufferView_pimpl.h:
5247         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5248         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5249
5250         * lyxfunc.C: hide cursor before dispatching.
5251
5252         * lyx_cb.C:
5253         * lyxfind.C:
5254         * text.C:
5255         * text3.C: remove explicit cursor hides
5256
5257 2003-05-02  André Pönitz  <poenitz@gmx.net>
5258
5259         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5260
5261         * undo_funcs.C:
5262         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5263           linked lists
5264
5265         * text2.C: tiny whitespace
5266
5267 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * undo_funcs.C: almost only ws changes.
5270
5271         * ParagraphList.C (splice): just return if pl is empty.
5272
5273 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * ParagraphList.C (splice): new function.
5276
5277         * CutAndPaste.C (pasteSelection): use it
5278
5279 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * CutAndPaste.C (pasteSelection): remove the last next and
5282         previous from this file.
5283
5284 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * CutAndPaste.C (pasteSelection): more clean up, user proper
5287         ParagraphList functions for pasteing.
5288
5289         * ParagraphList.C (insert): new function, three arg insert
5290
5291 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * ParagraphList.C (insert): new function, three arg insert
5294
5295         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5296         not on paragraphs.
5297
5298 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5301
5302 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5305
5306 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5309         (copySelection): clean up a bit.
5310         (pasteSelection): use make_pair
5311
5312         * ParagraphList.C (ParagraphList): implement copy constructor
5313         (operator=): implement, base on copy constructor.
5314         (assign): new func
5315
5316         * paragraph.C (erase): return a bool
5317
5318         * paragraph_pimpl.C (erasePos): remove function, move contents...
5319         (erase): ... here. Return a bool.
5320         (erase): call erase instead of erasePos.
5321
5322 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * ParagraphList.h: define PitPosPair
5325         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5326         ParagraphList, fix a bug on pasting multiple pars
5327         * text2.C: change interface to C&P
5328
5329 2003-04-30  André Pönitz  <poenitz@gmx.net>
5330
5331         * undo_func.C: revert part of yesterday's patch 2
5332
5333 2003-04-30  John Levon  <levon@movementarian.org>
5334
5335         * LColor.C: s/tabular/table/
5336
5337 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * text3.C (dispatch): do not convert iterator -> pointer
5340         * undo_funcs.C (setCursorParUndo): ditto
5341         * text_funcs.C (transposeChars): ditto
5342
5343         * text2.C (setLayout): ws changes only
5344
5345         * text.C (breakParagraph): do not convert iterator -> pointer
5346         (insertChar): ditto
5347         (acceptChange): ditto
5348         (rejectChange): ditto
5349         (changeCase): ditto
5350         (Delete): ditto
5351         (backspace): ditto
5352
5353         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5354         pointer
5355
5356 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5357
5358         * text3.C (gotoInset): YABG (yet another bad getChar)
5359
5360 2003-04-29  André Pönitz  <poenitz@gmx.net>
5361
5362         * paragraph.h: make operator= private unimplemented as long as
5363           it is unusable
5364
5365         * ParagraphList.C: whitespace
5366
5367         * paragraph.[Ch]:
5368         * paragraph_pimpl.[Ch]:
5369         * paragraph_funcs.C:
5370         * CutAndPaste.C:
5371         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5372
5373         * text2.C:
5374           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5375
5376 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5379         * paragraph.[Ch] (erase):
5380         * paragraph_pimpl.[Ch] (erase): change return type and value
5381         * text2.C (cutSelection): some rework
5382
5383 2003-04-28  John Levon  <levon@movementarian.org>
5384
5385         * bufferlist.C: changes for unsaved changes dialog
5386
5387 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * bufferlist.C (newFile): set language (messages_) for new
5390         documents also.
5391
5392         * buffer.C (readFile): ws changes only.
5393
5394 2003-04-28  André Pönitz  <poenitz@gmx.net>
5395
5396         * undo_funcs.C:
5397         * lyxfunc.C:
5398         * buffer.[Ch]:
5399         * BufferView_pimpl.C:
5400         * BufferView.C: getParFromID related ParagraphList::iterator changes
5401
5402 2003-04-28  André Pönitz  <poenitz@gmx.net>
5403
5404         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5405           Changes
5406
5407 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * messages.C: remove one more localedir class variable.
5410
5411 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * messages.C (getLocaleDir): singleton generation function
5414         (Pimpl): use it.
5415         (Messages): add a default constructor.
5416
5417         * main.C (main): do not setup localedir here, do not call
5418         gettext_init.
5419
5420         * gettext.C (_): use it.
5421         (gettext_init): delete funciton
5422
5423 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * gettext.C (getLyXMessages): new singleton generating function.
5426
5427         * buffer.C (updateDocLang): adjust
5428
5429         * Makefile.am (messages.o): add target
5430         (main.o): remove target
5431
5432 2003-04-27  John Levon  <levon@movementarian.org>
5433
5434         * bufferlist.C:
5435         * lyx_cb.C:
5436         * lyxfunc.C:
5437         * lyxvc.C: specify cancel button in Alert::prompt
5438
5439 2003-04-26  John Levon  <levon@movementarian.org>
5440
5441         * text3.C:
5442         * lyxfunc.C:
5443         * lfuns.h:
5444         * LyXAction.C: add LFUN_INSET_SETTINGS
5445
5446         * lyxfunc.C: don't enable tabular-feature when there's
5447         just any locking inset
5448
5449 2003-04-26  John Levon  <levon@movementarian.org>
5450
5451         * bufferlist.C: re-add Cancel to buffer close question
5452
5453         * lyxfunc.C: fix import UI a bit
5454
5455 2003-04-25  John Levon  <levon@movementarian.org>
5456
5457         * gettext.C: remove the broken asserts for now
5458
5459 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * messages.C: make case where setlocale cannot comply work better.
5462
5463         * buffer.C (updateDocLang): new function
5464         (changeLanguage): use it
5465         (readFile): use it
5466
5467         * text2.C (setCounter): use B_ a bit.
5468
5469         * lyxlayout.C (Read): be sure to trim the label strings.
5470
5471         * messages.C (Messages): fix typo in comment
5472
5473         * buffer.C (readFile): set message_ after file is loaded.
5474         (makeDocBookFile): remove double return
5475         (changeLanguage): reset message_ upon language change.
5476         (B_): new func, use this to get translated buffer strings.
5477
5478         * main.C: add myself and Jean Marc as authors.
5479
5480 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * messages.[hC]: pimplify Messages, and three different pimpls to be
5483         used in different circumstances.
5484
5485         * gettext.[Ch]: change for use with new message code.
5486
5487 2003-04-24 André Pönitz <poenitz@gmx.net>
5488
5489         * factory.C: support for eqref
5490
5491 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * messages.[Ch]: add missing char
5494
5495         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5496
5497         * messages.[Ch]: New files
5498
5499 2003-04-18  John Levon  <levon@movementarian.org>
5500
5501         * BufferView.h:
5502         * BufferView.C:
5503         * BufferView_pimpl.C:
5504         * lfuns.h:
5505         * LyXAction.C:
5506         * lyxtext.h:
5507         * text2.C: remove layout-copy/paste (bug 778)
5508
5509 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5510
5511         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5512
5513 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5514
5515         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5516         if they succeed. Act accordingly.
5517
5518 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * text2.C (setCharFont): adjust
5521         (setCounter): adjust
5522         (insertStringAsLines): adjust
5523
5524         * text.C (leftMargin): adjust
5525         (setHeightOfRow): adjust
5526
5527         * rowpainter.C (paintFirst): adjust
5528         (paintLast): adjust
5529
5530         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5531         (outerHook): ditto
5532         (isFirstInSequence): ditto
5533         (getEndLabel): ditto
5534         (outerFont): adjust
5535
5536         * paragraph.C (getParLanguage): comment out some hard stuff.
5537
5538         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5539         (sgmlError): ditto
5540         (simpleDocBookOnePar): ditto
5541         (makeDocBookFile): use ParagraphList::iterator
5542
5543         * CutAndPaste.C (pasteSelection): adjust
5544
5545 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * text2.C (getFont): adjust
5548         (getLayoutFont): adjust
5549         (getLabelFont): adjust
5550
5551         * paragraph_funcs.C (TeXOnePar): adjust
5552
5553         * buffer.C (simpleLinuxDocOnePar): adjust
5554         (simpleDocBookOnePar): adjust
5555
5556         * CutAndPaste.C (pasteSelection): adjust
5557
5558         * BufferView.C (getEncoding): adjust
5559
5560         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5561
5562 2003-04-16  John Levon  <levon@movementarian.org>
5563
5564         * lyxfind.C: use parlist stuff for search/changes
5565
5566 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5569
5570         * text2.C (deleteEmptyParagraphMechanism): adjust
5571
5572         * text2.[Ch] (ownerParagraph): delete func (both of them
5573
5574 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5577
5578 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * ParagraphList.C: prepare for NO_NEXT
5581
5582 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * text2.C (getFont): adjust
5585         (getLayoutFont): adjust
5586         (getLabelFont): adjust
5587
5588         * paragraph.C (getFont): adjust
5589         (getLabelFont): adjust
5590         (getLayoutFont): adjust
5591
5592         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5593
5594 2003-04-15  John Levon  <levon@movementarian.org>
5595
5596         From Angus Leeming
5597
5598         * lyx_main.C: handle Include in .ui files
5599
5600 2003-04-15  John Levon  <levon@movementarian.org>
5601
5602         * MenuBackend.C: make the doc files length shorter
5603
5604         * ToolbarBackend.h:
5605         * ToolbarBackend.C: handle toolbar placement flags,
5606         Minibuffer
5607
5608 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5609
5610         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5611         adjust
5612
5613         * paragraph_funcs.C (TeXOnePar): adjust
5614
5615         * paragraph.C (getLabelFont): add outerfont arg, adjust
5616         (getLayoutFont): ditto
5617         (simpleTeXOnePar): adjust
5618
5619         * paragraph_pimpl.C (realizeFont): delete func
5620
5621 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5622
5623         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5624         row argument, constify cur argument.
5625
5626 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * text2.C (getFont): adjust
5629         (getLayoutFont): adjust
5630         (getLabelFont): adjust
5631
5632         * paragraph_funcs.C (TeXOnePar): adjust
5633         (outerFont): new func...
5634         (realizeFont): ...moved out from here, changed this to facilitate
5635         transition
5636
5637         * paragraph.C (getFont): take outerfont as arg, adjust
5638         (simpleTeXOnePar): add outerfont arg, adjust
5639
5640         * buffer.C (simpleLinuxDocOnePar): adjust
5641         (simpleDocBookOnePar): adjust
5642
5643         * CutAndPaste.C (pasteSelection): adjust
5644
5645         * BufferView.C (getEncoding): adjust
5646
5647 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * text2.C (setCharFont): adjust
5650         (setCounter): adjust
5651
5652         * text.C (leftMargin): adjust
5653         (setHeightOfRow): adjust
5654
5655         * rowpainter.C (paintFirst): adjust
5656         (paintLast): adjust
5657
5658         * paragraph_pimpl.C (realizeFont): adjust
5659
5660         * paragraph.C (isFirstInSequence): move from here...
5661         * paragraph_funcs.C (isFirstInSequence): ...to here
5662
5663         * paragraph.C (outerHook): move from here...
5664         * paragraph_funcs.C (outerHook): ...to here
5665
5666         * paragraph.C (depthHook): move from here...
5667         * paragraph_funcs.C (depthHook): ...to here
5668
5669         * paragraph.C (getEndLabel): move from here...
5670         * paragraph_funcs.C (getEndLabel): ...to here
5671
5672         * text2.C (realizeFont): move from here...
5673         * paragraph_funcs.C (realizeFont): ...to here
5674
5675 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5678
5679 2003-04-14  Angus Leeming  <leeming@lyx.org>
5680
5681         * LColor.[Ch]: scrap LColor mathcursor.
5682
5683 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * lyxlex.[Ch] (text): delete function
5686         * trans.C (Load): adjust
5687         * paragraph_funcs.C (readParToken): adjust
5688
5689 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5692         vector<char> instead of a char[].
5693
5694         * lyxlex_pimpl.C (getString): adjust
5695         (next): adjust
5696         (lex): use getString
5697         (eatLine): adjust
5698         (nextToken): adjust
5699
5700         * lyxlex.C (text): use pimpl_->getString()
5701         (getBool): ditto
5702         (findToken): ditto
5703
5704 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5707         (makeFontEntriesLayoutSpecific): temp var for par.size()
5708         (setLayout): temp var for ownerParagraphs().end()
5709         (fullRebreak): temp var for rows().end()
5710         (selectionAsString): temp var for boost::next(startpit), realize
5711         that the while really is a regular for loop.
5712         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5713         setCursor in one place.
5714         (setParagraph): temp vr for ownerParagraphs().end()
5715         (updateCounters): make the while loop a for loop
5716         (cutSelection): temp var for ownerParagraphs().end()
5717         (updateInset): make the do {} while() a regular for loop
5718         (getCursorX): use temp vars
5719         (setCurrentFont): use temp vars
5720         (getColumnNearX): use temp vars
5721
5722 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * text.C (transformChar): use temp var for getChar
5725         (computeBidiTables): use temp var for row->par()
5726         (fill): move temp vars for row->par() and pit->layout() earlier in
5727         the function.
5728         (labelFill): use temp var for row->par()
5729         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5730         asc and desc, realize that pit never changes and that firstpit is
5731         just a duplicate and not needed. Exchange rit->par() with pit in a
5732         lot of places.
5733         (breakAgain): use a temp var for boost::next(rit)
5734         (breakAgainOneRow): ditto
5735         (breakParagraph): use a temp var for rows().begin()
5736         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5737         (cursorRightOneWord): use temp var for cursor.par() and
5738         cursor.pos(), remove usage of tmpcursor.
5739         (cursorLeftOneWord): use temp var for cursor.par() and
5740         cursor.pos() only set cur at end of function.
5741
5742 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * text.C, text2.C: exchange all usage of Paragraph::next with
5745         boost::next(ParagraphList::iterator)
5746
5747         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5748
5749         * text2.C (cursorTop): simplify implementation
5750         (cursorBottom): ditto
5751         (setParagraph): use ParagraphList::iterator
5752         (setCurrentFont): adjust
5753         (getColumnNearX): adjust
5754         (cursorRight): adjust
5755         (cursorLeft): remove usage of Paragraph::previous
5756         (cursorUpParagraph): ditto
5757         (deleteEmptyParagraphMechanism): slight cleanup
5758
5759         * text.C (isBoundary): take a Paragraph const & instead of a
5760         pointer as arg.
5761         (addressBreakPoint): ditto
5762         (leftMargin): remove usage of Paragraph::previous.
5763         (setHeightOfRow): ditto
5764         (cursorLeftOneWord): ditto
5765         (selectNextWordToSpellcheck): ditto
5766         (Delete): ditto
5767         (backspace): ditto
5768         (breakParagraph): remove one usage of Paragraph::next
5769         (redoParagraph): ditto
5770         (acceptChange): ditto
5771         (insertChar): adjust
5772         (rowBreakPoint): adjust
5773
5774         * bufferview_funcs.C (toggleAndShow): adjust
5775
5776 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5779         methods to access it.
5780         * lyxtext.h:
5781         * text.C: Added updateRowPositions to compute all row positions.
5782         Make top_y and getRowNearY() to use the cached y position
5783
5784 2003-04-11  John Levon  <levon@movementarian.org>
5785
5786         * text.C (rowBreakPoint): reintroduce the labelEnd
5787         checks, code copied from the row fill stuff. Deep voodoo.
5788
5789         * text.C (fill): add a comment and debugging for the
5790         next poor soul.
5791
5792 2003-04-11  John Levon  <levon@movementarian.org>
5793
5794         * text.C: make sure fullrow insets get wrapped to the next line,
5795         even when they're in a manual label
5796
5797 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * text2.C (insertParagraph): make it take ParagraphList::iterator
5800         as arg.
5801         (setLayout): make it return ParagraphList::iterator
5802         (redoParagraphs): ditto
5803         (setCounter): ditto
5804         (checkParagraph): ditto
5805
5806         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5807
5808         * text2.C: adjust several funcs.
5809         (realizeFont): take a ParagraphList::iterator as arg.
5810         (getLayoutFont): ditto
5811         (getLabelFont): ditto
5812         (setCharFont): ditto
5813
5814         * text.C: adjust several funcs.
5815
5816 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * text.C (selectNextWordToSpellcheck): don't accidentally
5819         skip insets
5820
5821 2003-04-10  John Levon  <levon@movementarian.org>
5822
5823         * ToolbarBackend.C (getIcon): special handling for
5824         LFUN_MATH_DELIM
5825
5826 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5827
5828         * text2.C (cursorRight): a getChar assert fixed
5829
5830 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * text2.C (getFont): change to take a ParagraphList::iterator
5833         instead of Paragraph*
5834         Adjust several functions.
5835
5836         * text.C (transformChar): change to take a ParagraphList::iterator
5837         instead of Paragraph*
5838         (singleWidth): ditto
5839         Adjust several functions.
5840
5841         * rowpainter.C: adjust several functions
5842         * rowpainter.h:store a ParagraphList::iterator and not a
5843         Paragraph&.
5844
5845
5846 2003-04-09  John Levon  <levon@movementarian.org>
5847
5848         * lyxfunc.C:
5849         * lfuns.h:
5850         * LyXAction.h:
5851         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5852         and the "help" bits as well
5853
5854 2003-04-09  John Levon  <levon@movementarian.org>
5855
5856         * ToolbarBackend.h:
5857         * ToolbarBackend.C: allow multiple toolbars
5858
5859 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * undo_funcs.C (setCursorParUndo): adjust
5862
5863         * text_funcs.C (transposeChars): adjust
5864
5865         * text3.C (gotoNextInset): adjust
5866         (dispatch): adjust
5867
5868         * text2.C (setLayout): adjust
5869         (changeDepth): adjust
5870         (setFont): adjust
5871         (redoParagraphs): adjust
5872         (selectionAsString): adjust
5873         (setParagraph): adjust
5874         (insertInset): adjust
5875         (cutSelection): adjust
5876         (copySelection): adjust
5877         (pasteSelection): adjust
5878         (insertStringAsLines): adjust
5879         (updateInset): adjust
5880         (setCursor): change to take a ParagraphList::iterator parameter
5881         (setCursorIntern): change to take a ParagraphList::iterator parameter
5882         (setCurrentFont): adjust
5883         (cursorLeft): adjust
5884         (cursorRight): adjust
5885         (deleteEmptyParagraphMechanism): adjust
5886
5887         * text.C (breakParagraph): adjust
5888         (insertChar): adjust
5889         (acceptChange): adjust
5890         (rejectChange): adjust
5891         (selectNextWordToSpellcheck): adjust
5892         (changeCase): adjust
5893         (Delete): adjust
5894         (backspace): adjust
5895
5896         * lyxfind.C (SearchForward): adjust
5897         (SearchBackward): adjust
5898         (nextChange): adjust
5899
5900         * lyxcursor.C (par): adjust
5901
5902         * lyxcursor.h: store a ParagraphList::iterator instead of a
5903         Paragraph*
5904
5905         * lyx_cb.C (getPossibleLabel): adjust
5906
5907         * bufferview_funcs.C (toggleAndShow): adjust
5908
5909         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5910         (dispatch): adjust
5911
5912         * BufferView.C (removeAutoInsets): adjust
5913         (lockedInsetStoreUndo): adjust
5914
5915 2003-04-09  John Levon  <levon@movementarian.org>
5916
5917         * ToolbarBackend.C: try icon without argument
5918         if with argument fails
5919
5920 2003-04-08  John Levon  <levon@movementarian.org>
5921
5922         * ToolbarBackend.h:
5923         * ToolbarBackend.C: add getIcon(), handle tooltip,
5924         and change from "Icon" to "Item".
5925
5926 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * BufferView.C (lockInset): another bad getchar crunched
5929
5930 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5933         again)
5934
5935 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * lyxfind.C (searchForward, searchBackwards): bug 782
5938
5939 2003-04-07  John Levon  <levon@movementarian.org>
5940
5941         * paragraph.C: remove dead comment
5942
5943         * text.C: remove troublesome depth-fiddling code
5944         in leftMargin() and rightMargin() (bug 1017)
5945
5946         * text.C: fix breaking of rows in nested lists
5947         (bug 1004)
5948
5949         * text2.C (updateCounters): fix up depth values
5950         (bug 1013)
5951
5952 2003-04-07  John Levon  <levon@movementarian.org>
5953
5954         * BufferView_pimpl.C: clear message when doc finishes resizing,
5955         and after a mouse event
5956
5957         * lyxfunc.C: clear message after exiting inset
5958
5959 2003-04-07  John Levon  <levon@movementarian.org>
5960
5961         * bufferview_funcs.C: show math status not outside
5962         status in the statusbar
5963
5964 2003-04-07  John Levon  <levon@movementarian.org>
5965
5966         * lyxfunc.C: note status changed after a depth change
5967
5968 2003-04-04  Angus Leeming  <leeming@lyx.org>
5969
5970         * LaTeX.h: move AuxInfo operator==, != out of line.
5971         Remove LaTeX virtual destructor; nothing derives from it.
5972         Move operator()() out of public area and rename it startscript().
5973         Change protected for private.
5974
5975 2003-04-04  Angus Leeming  <leeming@lyx.org>
5976
5977         * lyxfunc.C:
5978         * text2.C: remove unneeded #includes.
5979
5980 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * text2.C (dEPM): fix the heigth of the next row
5983
5984 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * text.C: squashed an invalid getChar requester + some ws changes
5987
5988 2003-04-03  John Levon  <levon@movementarian.org>
5989
5990         * bufferview_funcs.h:
5991         * bufferview_funcs.C:
5992         * lyxfunc.C:
5993         * lyxtext.h:
5994         * text2.C: make getStatus work for the env depth lfuns
5995
5996 2003-04-03  John Levon  <levon@movementarian.org>
5997
5998         * bufferview_funcs.h:
5999         * bufferview_funcs.C:
6000         * lyxfunc.C:
6001         * lyxtext.h:
6002         * text2.C: parlistize decDepth(), by merging it with incDepth()
6003
6004 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * lyxrow.h: store a ParagraphList::iterator instead of a
6007         Paragraph* and adjust other class functions to suit.
6008
6009         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6010         above.
6011
6012 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * text2.C (setCursor): do not anchor to cursor row for the time being
6015
6016 2003-04-02  John Levon  <levon@movementarian.org>
6017
6018         * LyXAction.C:
6019         * lfuns.h:
6020         * lyx_main.C:
6021         * lyxtext.h:
6022         * text.C:
6023         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6024
6025 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * paragraph.h: make ParagraphList and ParagraphList::iterator
6028         friends of Paragraph.
6029
6030         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6031
6032         * ParagraphList.C: Use the private next_ and previous_ from
6033         Paragraph.
6034
6035 2003-04-01  John Levon  <levon@movementarian.org>
6036
6037         * ToolbarBackend.h:
6038         * ToolbarBackend.C:
6039         * Makefile.am: rename, remove defaults gunk
6040
6041         * MenuBackend.h:
6042         * MenuBackend.C: remove defaults gunk
6043
6044         * Languages.h:
6045         * Languages.C: remove defaults gunk
6046
6047         * lyx_main.h:
6048         * lyx_main.C: error out if files couldn't be found.
6049
6050 2003-04-02  John Levon  <levon@movementarian.org>
6051
6052         * text2.C: make incDepth() use parlist
6053
6054 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * undo_funcs.C (firstUndoParagraph): adjust
6057
6058         * text3.C (gotoInset): adjust
6059         (dispatch): adjust, and rewrite loop.
6060
6061         * text2.C (init): adjust, and rewrite loop.
6062         (redoParagraphs): adjust
6063         (updateInset): adjust, and rewrite loop.
6064         (deleteEmptyParagraphMechanism): adjust
6065
6066         * tabular.C (LyXTabular): adjust
6067         (SetMultiColumn): adjust
6068         (TeXRow): adjust
6069
6070         * lyxtext.[Ch] (ownerParagraph): delete function
6071         (ownerParagraphs): new function returns a ParagraphList.
6072
6073         * BufferView.C (removeAutoInsets): adjust
6074         (insertErrors): adjust
6075         (setCursorFromRow): adjust
6076
6077 2003-04-01  Angus Leeming  <leeming@lyx.org>
6078
6079         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6080         in the frontends.
6081
6082 2003-04-02  John Levon  <levon@movementarian.org>
6083
6084         * lyxtext.h:
6085         * text.C:
6086         * Makefile.am:
6087         * text_funcs.h:
6088         * text_funcs.C: make transposeChars a free function
6089
6090         * lyxrow_funcs.C: remove wrong comment
6091
6092 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * lyxtext.h: adjust
6095         * rowpainter.C: adjust
6096         * text.C: adjust
6097         * text2.C: adjust
6098         * text3.C: adjust
6099
6100         * lyxrow_funcs. [Ch]: new files
6101
6102         * lyxrow.[Ch]: remove next and previous pointers
6103         (next,previous): remove accessor functions
6104         (isParEnd): move to lyxrow_funcs
6105         (lastPos): move to lyxrow_funcs
6106         (nextRowIsAllInset): move to lyxrow_funcs
6107         (lastPrintablePos): move to lyxrow_funcs
6108         (numberOfSeparators): move to lyxrow_funcs
6109         (numberOfHfills): move to lyxrow_funcs
6110         (numberOfLabelHfills): move to lyxrow_funcs
6111         (hfillExpansion): move to lyxrow_funcs
6112
6113         * lyxfunc.C: adjust
6114
6115         * bufferview_funcs.C (toggleAndShow): adjust
6116
6117         * RowList.h: Remove class RowList from file leave just a
6118         std::list<Row>.
6119
6120         * RowList.C: delete file
6121
6122         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6123         and lyxrow_funcs.h
6124
6125 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * text3.C (cursorPrevious): adjust
6128         (cursorNext): adjust
6129         (dispatch): adjust
6130
6131         * text2.C (redoHeightOfParagraph): adjust
6132         (redoDrawingOfParagraph): adjust
6133         (setCursor): adjust
6134
6135         * text.C (breakParagraph): adjust
6136         (insertChar): adjust
6137         (backspace): adjust
6138
6139         * rowpainter.C (RowPainter): adjust
6140         (leftMargin): simplify and adjust
6141         (most rowpainter functions): adjust.
6142
6143         * rowpainter.h: store the row as RowList::iterator not as Row*
6144
6145         * lyxcursor.C (row): taka RowList::iterator as arg
6146         (irow): ditto
6147
6148         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6149         of Row*.
6150
6151 2003-04-01  Angus Leeming  <leeming@lyx.org>
6152
6153         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6154         stuff like bool Bool.
6155
6156 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6157
6158         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6159         rewrite a loop
6160
6161 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6164         RowList::iterator.
6165
6166         * lyxtext.h (rows): drop one version and leve a const variant that
6167         returns a RowList::iterator.
6168
6169 2003-03-31  Angus Leeming  <leeming@lyx.org>
6170
6171         * text.C (fill): ensure that the signature is the same as that in the
6172         header file.
6173
6174 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6175
6176         * text2.C (redoParagraphs): adjust
6177         (updateCounters): adjust
6178         (checkParagraph): adjust
6179         (getColumnNearX): adjust and reformat a bit.
6180
6181         * text.C (top_y): adjust
6182         (workWidth): adjust
6183         (leftMargin): adjust
6184         (prepareToPrint): adjust
6185         (getRow): adjust
6186         (getRowNearY): adjust
6187
6188         * lyxtext.h: make rowlist_ mutable.
6189
6190         * RowList.h: add const_iterator
6191         * RowList.C: adjust for RowList::const_iterator.
6192
6193         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6194         adjust.
6195
6196 2003-03-31  John Levon  <levon@movementarian.org>
6197
6198         * lyxrc.h:
6199         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6200
6201         * lyx_main.C: set default fonts from using lyx_gui funcs
6202
6203         * exporter.C: pdf_mode moved from lyxrc
6204
6205         * lyx_cb.C:
6206         * lyxfunc.C: changes from above
6207
6208 2003-03-31  John Levon  <levon@movementarian.org>
6209
6210         * lyx_main.C: fix to the last fix
6211
6212 2003-03-31  John Levon  <levon@movementarian.org>
6213
6214         * bufferlist.C: "Load original" -> "Load Original"
6215
6216         * converter.C:
6217         * exporter.C:
6218         * importer.C:
6219         * lyx_main.C:
6220         * format.C: more Alert cleanups
6221
6222 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * text2.C (removeParagraph): make it take a RowList::iterator as
6225         arg, adjust.
6226         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6227         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6228
6229         * text.C (anchor_row): make it take a RowList::iterator as arg,
6230         adjust.
6231         (computeBidiTables): make it take a const reference to Row instead
6232         of Row pointer, adjust.
6233         (leftMargin): make it take a RowList::iterator as arg, adjust.
6234         (rowBreakPoint): adjust
6235         (breakAgainOneRow): make it take a RowList::iterator as arg,
6236         adjust.
6237         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6238
6239         * bufferview_funcs.C (toggleAndShow): adjust
6240
6241 2003-03-30  John Levon  <levon@movementarian.org>
6242
6243         * Makefile.am:
6244         * BoostFormat.h:
6245         * boost-inst.C: moved to support
6246
6247         * several files: changes as a result
6248
6249 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * text2.C (LyXText): adjust.
6252         (init): adjust
6253         (removeRow): make it take a RowList::iterator as arg, adjust.
6254         (fullRebreak): adjust
6255         (deleteEmptyParagraphMechanism): adjust
6256         (clearPaint): adjust
6257         (postPaint): adjust
6258
6259         * text.C (top_y): adjust
6260         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6261         (breakAgain): make it take a RowList::iterator as arg, adjust.
6262         (breakParagraph): adjust
6263         (insertChar): adjust
6264         (backspace): adjust
6265
6266         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6267         need_break_row, and refresh_row.
6268
6269         * text3.C (dispatch): adjust
6270
6271         * text2.C (checkParagraph): adjust
6272         (setCursor): adjust
6273         (setCursorFromCoordinates): adjust
6274
6275         * text.C (top_y): adjust
6276         (workWidth): adjust
6277         (getRow): make it return a RowList::iterator, adjust
6278         (getRowNearY): make it return a RowList::iterator, adjust
6279
6280         * text2.C (init): adjust
6281         (insertRow): remove function
6282         (insertParagraph): adjust
6283         (redoParagraphs): adjust
6284         (fullRebreak): adjust
6285         (updateCounters): adjust
6286
6287         * text.C (top_y): rewrite to use RowList iterators.
6288         (top_y): adjust
6289         (setHeightOfRow): rewrite to sue RowList iterators.
6290         (appendParagraph): adjust
6291         (breakAgain): adjust
6292         (breakAgainOneRow): adjust
6293         (breakParagraph): adjust
6294         (getRow): adjust
6295         (getRowNearY): adjust, and remove commented code.
6296
6297         * lyxtext.h (firstRow): delete function
6298         (lastRow): delete function
6299         (rows): new function (const and non-const versions.)
6300         (insertRow): delete function
6301
6302         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6303
6304 2003-03-29  John Levon  <levon@movementarian.org>
6305
6306         * BufferView_pimpl.C: always update scrollbar top
6307         because pasting text when we're anchored could mean we
6308         miss an update altogether
6309
6310 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * text2.C (init): use rowlist_.end() and not 0.
6313         (insertRow): change to take a RowList::iterator as arg, adjust
6314         for this.
6315         (insertParagraph): change to take a RowList::iterator as arg,
6316         adjust for this.
6317         (redoParagraphs): remove some debug msgs.
6318
6319         * text.C (appendParagraph): change to take a RowList::iterator
6320         arg, adjust for this.
6321         (breakAgain): add an assert
6322         (breakAgainOneRow): ditto
6323
6324 2003-03-29  John Levon  <levon@movementarian.org>
6325
6326         * text2.C: do not clear selection after inc/decDepth
6327         (bug 550)
6328
6329 2003-03-29  John Levon  <levon@movementarian.org>
6330
6331         * BufferView.C:
6332         * buffer.C: fix broken strerrors according to Lars
6333
6334 2003-03-29  John Levon  <levon@movementarian.org>
6335
6336         * converters.C: more Alert cleanups
6337
6338 2003-03-29  John Levon  <levon@movementarian.org>
6339
6340         * bufferview_funcs.C: remove pointless Alert
6341
6342         * buffer.C: fix confusing error message when
6343         a template is chmoded 000
6344
6345 2003-03-29  John Levon  <levon@movementarian.org>
6346
6347         * BufferView.C:
6348         * BufferView.h:
6349         * BufferView_pimpl.C: Alert fixes
6350
6351         * Makefile.am:
6352         * tabular.C:
6353         * tabular-old.C: remove unused table compat reading
6354
6355 2003-03-29  John Levon  <levon@movementarian.org>
6356
6357         * BufferView.C:
6358         * buffer.C:
6359         * lyx_cb.h:
6360         * lyx_cb.C: more Alert cleanups
6361
6362         * lyxfunc.C: don't allow chktex if not latex document
6363
6364 2003-03-29  John Levon  <levon@movementarian.org>
6365
6366         * lyx_cb.C:
6367         * BufferView.C:
6368         * buffer.C: warnings pushed down from support/,
6369         kill err_alert
6370
6371 2003-03-29  John Levon  <levon@movementarian.org>
6372
6373         * lyxfunc.C: safety check for C-r (revert)
6374
6375 2003-03-29  John Levon  <levon@movementarian.org>
6376
6377         * bufferlist.h:
6378         * bufferlist.C: several UI fixes using Alert::prompt.
6379         Fix the pointless looping quit code. Fix stupid revert
6380         behaviour (bug 938)
6381
6382         * lyxvc.h:
6383         * lyxvc.C:
6384         * lyx_cb.C: use Alert::prompt
6385
6386         * lyx_main.C: remove a silly question
6387
6388         * lyxfunc.C: remove a couple of silly questions,
6389         use Alert::prompt
6390
6391 2003-03-28  John Levon  <levon@movementarian.org>
6392
6393         * text2.C: fix bug 974 (End on empty par)
6394
6395 2003-03-28  John Levon  <levon@movementarian.org>
6396
6397         * BufferView_pimpl.C:
6398         * LyXAction.C:
6399         * lfuns.h: remove do-nothing math greek lfuns
6400
6401 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * lyxgluelength.h (isValidGlueLength): add default arg on
6404         parameter 2. Remove default arg from friend in class.
6405
6406         * lyxlength.h (isValidLength): add default arg on parameter 2.
6407         Remove default arg from friend in class.
6408
6409         * text2.C (LyXText): adjust, initialize refresh_row.
6410         (init): adjust
6411         (removeRow): adjust
6412         (insertRow): adjust
6413         (insertParagraph): adjst
6414         (redoParagraphs): adjust
6415         (fullRebreak): adjust
6416         (updateCounters): adjust
6417         (deleteEmptyParagraphMechanism): first attempt at fixing a
6418         crashing bug.
6419
6420         * text.C (top_y): adjust
6421         (setHeightOfRow): adjust
6422         (getRow): adjust
6423         (getRowNearY): adjust
6424
6425         * lyxtext.h: include RowList.h
6426         (~LyXText): not needed anymore, deleted.
6427         (firstRow): modify for RowList
6428         (lastRow): new function
6429         Delete firstrow and lastrow class variables, add a Rowlist
6430         rowlist_ class variable.
6431
6432         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6433         paragraph is empty.
6434
6435         * RowList.C (insert): fix case where it == begin().
6436
6437 2003-03-26  Angus Leeming  <leeming@lyx.org>
6438
6439         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6440         the thesaurus dialog.
6441
6442 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6445
6446         * RowList.[Ch]: new files
6447
6448         * ParagraphList.C (erase): handle the case where it == begin
6449         correctly.
6450
6451 2003-03-25  John Levon  <levon@movementarian.org>
6452
6453         * Makefile.am:
6454         * aspell_local.h:
6455         * aspell.C: add new aspell support
6456
6457         * lyxrc.h:
6458         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6459         have it accessible.
6460
6461 2003-03-25  Angus Leeming  <leeming@lyx.org>
6462
6463         * lfuns.h:
6464         * LyXAction.C (init): new LFUN_INSET_INSERT.
6465
6466         * BufferView_pimpl.C (dispatch): split out part of the
6467         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6468
6469         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6470         LFUN_INSET_APPLY.
6471
6472 2003-03-25  Angus Leeming  <leeming@lyx.org>
6473
6474         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6475
6476 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * text2.C:
6479         * text3.C: remove useless row->height(0)
6480
6481 2003-03-25  John Levon  <levon@movementarian.org>
6482
6483         * lyxtext.h:
6484         * text2.C:
6485         * text3.C: rename the refreshing stuff to better names
6486
6487 2003-03-24  John Levon  <levon@movementarian.org>
6488
6489         * BufferView_pimpl.h:
6490         * BufferView_pimpl.C: update layout choice on a mouse
6491         press/release
6492
6493 2003-03-23  John Levon  <levon@movementarian.org>
6494
6495         * Makefile.am: fix commandtags.h reference
6496
6497 2003-03-22  John Levon  <levon@movementarian.org>
6498
6499         * BufferView_pimpl.C:
6500         * lyxtext.h:
6501         * rowpainter.C:
6502         * rowpainter.h:
6503         * text.C:
6504         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6505
6506 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * lyxtext.h:
6509         * text.C: take the rtl methods out of line
6510
6511 2003-03-21 André Pönitz <poenitz@gmx.net>
6512
6513         * metricsinfo.[Ch]: new files containing structures to be passed around
6514         during the two-phase-drawing...
6515
6516 2003-03-21 André Pönitz <poenitz@gmx.net>
6517
6518         * lyxtextclass.C: read 'environment' tag.
6519
6520 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * text2.C (removeRow): fix bug 964
6523
6524 2003-03-20  John Levon  <levon@movementarian.org>
6525
6526         * rowpainter.C:
6527         * text.C:
6528         * text2.C: paint cleanups. Inset::update() dropped font
6529         parameter
6530
6531 2003-03-19  John Levon  <levon@movementarian.org>
6532
6533         * lyxfunc.C: only fitcursor/markDirty if available()
6534
6535 2003-03-19  John Levon  <levon@movementarian.org>
6536
6537         * commandtags.h: rename to ...
6538
6539         * lfuns.h: ... this, and renumber / cleanup
6540
6541 2003-03-19  John Levon  <levon@movementarian.org>
6542
6543         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6544         fit the cursor after an lfun
6545
6546         * BufferView.h:
6547         * BufferView.C:
6548         * BufferView_pimpl.h:
6549         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6550
6551         * LyXAction.C: layout-character should have ReadOnly
6552
6553         * ParagraphParameters.C:
6554         * buffer.C:
6555         * bufferview_funcs.C:
6556         * lyx_cb.C:
6557         * lyxfind.C:
6558         * lyxtext.h:
6559         * text.C:
6560         * text2.C:
6561         * text3.C:
6562         * undo_funcs.C: changes from above
6563
6564 2003-03-18  John Levon  <levon@movementarian.org>
6565
6566         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6567         remove it from update()
6568
6569         * lyxfunc.C: update layout choice after an lfun
6570
6571         * text3.C: remove extra updateLayoutChoice()s
6572
6573 2003-03-18  John Levon  <levon@movementarian.org>
6574
6575         * text.C: top_y change means full repaint, fix
6576         a drawing bug with cursor movement
6577
6578 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * lyxtext.h:
6581         * text.C:
6582         * text2.C: anchor row on setCursor
6583
6584 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6585
6586         * lyxtext.h: remove almost all mutable keywords
6587         * text.C:
6588         * text2.C:
6589         * text3.C: remove const keywords accordingly
6590
6591 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6594         anon namespace
6595         (TeXEnvironment): ditto
6596         (TeXOnePar): ditto
6597
6598 2003-03-17  John Levon  <levon@movementarian.org>
6599
6600         * text.C (rowBreakPoint): remove attempt to fix displayed
6601         math insets inside a manual label
6602
6603 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * lyxtext.h: remove BufferView* as first arg from almost all class
6606         functions.
6607         * other files: adjust.
6608
6609 2003-03-17  John Levon  <levon@movementarian.org>
6610
6611         * lyxtext.h:
6612         * undo_funcs.C:
6613         * text2.C: more paint cleanups
6614
6615         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6616
6617         * rowpainter.h:
6618         * rowpainter.C: remove "smart" background painting code
6619
6620 2003-03-16  John Levon  <levon@movementarian.org>
6621
6622         * lyxtext.h:
6623         * text.C:
6624         * text2.C:
6625         * text3.C: add helper functions for setting refresh_row/y
6626
6627 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6628
6629         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6630         newline inset which *can* get inserted in the pass_thru layouts.
6631         This is primarily for literate documents.
6632
6633 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6634
6635         * buffer.C: increment LYX_FORMAT to 223
6636
6637 2003-03-14 André Pönitz <poenitz@gmx.net>
6638
6639         * textclass.h: prepare for environment handling, ws changes
6640         * lyxlayout.C: read latexheader and latexfooter tags
6641
6642 2003-03-14  John Levon  <levon@movementarian.org>
6643
6644         * text2.C: rewrite ::status() a bit
6645
6646 2003-03-13  John Levon  <levon@movementarian.org>
6647
6648         * lyxtext.h: add some docs
6649
6650 2003-03-13  John Levon  <levon@movementarian.org>
6651
6652         * lyxtext.h:
6653         * text.C:
6654         * text2.C:
6655         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6656
6657 2003-03-13  John Levon  <levon@movementarian.org>
6658
6659         * text3.C: fix appendix redrawing
6660
6661 2003-03-13  John Levon  <levon@movementarian.org>
6662
6663         * text.C (setHeightOfRow):
6664         * rowpainter.h:
6665         * rowpainter.C: make appendix mark have the text
6666           "Appendix" so the user knows what it is
6667
6668         * LColor.h:
6669         * LColor.C: s/appendixline/appendix/ from above
6670
6671 2003-03-13  John Levon  <levon@movementarian.org>
6672
6673         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6674
6675         * text.C: fix a getChar(pos) bug properly
6676
6677 2003-03-13  Angus Leeming  <leeming@lyx.org>
6678
6679         * commandtags.h:
6680         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6681         Probably only temporary. Let's see how things pan out.
6682
6683         * BufferView.C (unlockInset):
6684         * BufferView_pimpl.C (fitCursor):
6685         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6686
6687         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6688         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6689
6690         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6691         new functions that convert ParagraphParameters to and from a string.
6692
6693         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6694         BufferView::Pimpl's dispatch.
6695         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6696
6697 2003-03-13 André Pönitz <poenitz@gmx.net>
6698
6699         * lyxfunc.C:
6700         * text3.C:
6701         * factory.C: make it aware of InsetEnv
6702
6703 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * text2.C (setCursor): never ask for one past last
6706         (setCursor): add some debugging messages.
6707
6708         * text.C (singleWidth): never ask for one past last
6709         (singleWidth): ditto
6710         (leftMargin): ditto
6711         (rightMargin): ditto
6712         (rowBreakPoint): ditto
6713         (setHeightOfRow): ditto
6714         (prepareToPrint): ditto
6715
6716         * rowpainter.C (paintBackground): never ask for one past last
6717         (paintText): never ask for one past last
6718
6719         * paragraph_pimpl.C (getChar): make the assert stricter, never
6720         allow the one past last pos to be taken
6721
6722         * paragraph.C (getChar): ws changes only
6723
6724         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6725         (numberOfSeparators): ditto
6726         (numberOfHfills): ditto
6727
6728 2003-03-12  John Levon  <levon@movementarian.org>
6729
6730         * author.h:
6731         * author.C:
6732         * bufferparams.h:
6733         * bufferparams.C:
6734         * paragraph_funcs.C: fix per-buffer authorlists
6735
6736 2003-03-12  John Levon  <levon@movementarian.org>
6737
6738         * text.C: fix newline in right address
6739
6740 2003-03-12  Angus Leeming  <leeming@lyx.org>
6741
6742         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6743         duplicate those in LyXFunc::dispatch.
6744
6745         * commandtags.h:
6746         * LyXAction.C:
6747         * ToolbarDefaults.C:
6748         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6749         Add LFUN_FONTFREE_UPDATE.
6750
6751         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6752         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6753
6754         * bufferview_func.[Ch]: several new functions to facilliate
6755         transfer of data to and from the character dialog.
6756
6757 2003-03-12  John Levon  <levon@movementarian.org>
6758
6759         * buffer.C:
6760         * paragraph.h:
6761         * paragraph.C:
6762         * paragraph_funcs.C:
6763         * paragraph_pimpl.C:
6764         * sgml.C:
6765         * tabular.C:
6766         * text.C:
6767         * text3.C: remove META_NEWLINE in favour of an inset
6768
6769         * rowpainter.h:
6770         * rowpainter.C: remove paintNewline (done by inset)
6771
6772 2003-03-12  John Levon  <levon@movementarian.org>
6773
6774         * paragraph_pimpl.C: complain about bad getChar()s
6775         for a while at least
6776
6777 2003-03-12  John Levon  <levon@movementarian.org>
6778
6779         * buffer.h:
6780         * buffer.C: move paragraph read into a separate function,
6781         a little renaming to reflect that.
6782
6783         * bufferparams.h:
6784         * bufferparams.C: remove the author_ids map, not necessary now
6785
6786         * factory.h:
6787         * factory.C: moved Buffer::readInset to here
6788
6789         * paragraph_funcs.h:
6790         * paragraph_funcs.C: readParagraph free function moved from
6791         buffer.C
6792
6793         * tabular.C: name change
6794
6795 2003-03-12  John Levon  <levon@movementarian.org>
6796
6797         * buffer.C:
6798         * ParagraphParameters.C: move par params input to
6799         a read() method
6800
6801         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6802         behave like a normal read from the stream wrt reading
6803         a line vs. a \\token
6804
6805 2003-03-12  John Levon  <levon@movementarian.org>
6806
6807         * paragraph.C:
6808         * ParagraphParameters.h:
6809         * ParagraphParameters.C: move output code to a
6810         ::write() method
6811
6812 2003-03-12  John Levon  <levon@movementarian.org>
6813
6814         * BufferView.C (insertLyXFile):
6815         * buffer.h:
6816         * buffer.C:
6817         * tabular.C: use a parlist iterator for creating the
6818           document.
6819
6820 2003-03-12  John Levon  <levon@movementarian.org>
6821
6822         * buffer.C: make current_change static local not
6823           static file-scope
6824
6825 2003-03-12  John Levon  <levon@movementarian.org>
6826
6827         * buffer.C: fix insertStringAsLines for change tracking
6828
6829 2003-03-12  John Levon  <levon@movementarian.org>
6830
6831         * BufferView.C:
6832         * tabular.C:
6833         * buffer.h:
6834         * buffer.C:
6835         * bufferparams.h:
6836         * bufferparams.C: move author list into params. Rename some
6837           functions. Move the header reading into a separate token
6838           loop. Move the header token reading into BufferParams.
6839
6840 2003-03-12  John Levon  <levon@movementarian.org>
6841
6842         * changes.C: put debug inside lyxerr.debugging() checks
6843
6844 2003-03-11 André Pönitz <poenitz@gmx.net>
6845
6846         * factory.C: make it aware of InsetHFill
6847
6848 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6849
6850         * buffer.C (latexParagraphs): move function from here...
6851         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6852         args.
6853
6854 2003-03-10  Angus Leeming  <leeming@lyx.org>
6855
6856         * LyXAction.C (init): fix bug in poplating array with multiple entries
6857         with the same LFUN (spotted by JMarc).
6858
6859 2003-03-10  John Levon  <levon@movementarian.org>
6860
6861         * text.C:
6862         * text2.C: move getColumnNearX() near its
6863         only call site
6864
6865 2003-03-10  John Levon  <levon@movementarian.org>
6866
6867         * text.C: fix break before a minipage
6868
6869 2003-03-10  John Levon  <levon@movementarian.org>
6870
6871         * text.C: fix the last commit
6872
6873 2003-03-09  John Levon  <levon@movementarian.org>
6874
6875         * lyxtext.h:
6876         * text.C:
6877         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6878         bug 365 (don't break before insets unless needed). Don't
6879         return a value > last under any circumstances.
6880
6881 2003-03-09  Angus Leeming  <leeming@lyx.org>
6882
6883         * BufferView_pimpl.C (trackChanges, dispatch): call
6884         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6885
6886 2003-03-09  Angus Leeming  <leeming@lyx.org>
6887
6888         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6889         than Dialogs::showAboutlyx().
6890
6891 2003-03-09  Angus Leeming  <leeming@lyx.org>
6892
6893         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6894         than Dialogs::showTabularCreate().
6895
6896 2003-03-09  John Levon  <levon@movementarian.org>
6897
6898         * lyxtext.h:
6899         * text.C:
6900         * text2.C: 3rd arg to nextBreakPoint was always the same.
6901           Use references.
6902
6903 2003-03-08  John Levon  <levon@movementarian.org>
6904
6905         * lyxrow.C:
6906         * paragraph.C:
6907         * paragraph.h:
6908         * rowpainter.C:
6909         * text.C:
6910         * text2.C: Remove the "main" bit from the "main body"
6911           notion.
6912
6913 2003-03-08  John Levon  <levon@movementarian.org>
6914
6915         * text.C (leftMargin): The left margin of an empty
6916         manual label paragraph should not include the label width
6917         string length.
6918
6919         * text.C (prepareToPrint): don't attempt to measure hfills
6920         for empty manual label paragraphs - the answer should be 0
6921
6922 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * CutAndPaste.C: remove commented code and reindent.
6925
6926 2003-03-08  John Levon  <levon@movementarian.org>
6927
6928         * lyxfunc.h:
6929         * lyxfunc.C: move reloadBuffer()
6930
6931         * BufferView.h:
6932         * BufferView.C: to here
6933
6934         * lyxvc.C: add comment
6935
6936         * vc-backend.h:
6937         * vc-backend.C: call bv->reload() to avoid
6938           getStatus() check on MENURELOAD
6939
6940 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6941
6942         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6943         to an old format .dep file.
6944
6945 2003-03-07  Angus Leeming  <leeming@lyx.org>
6946
6947         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6948         when the LFUN_MOUSE_RELEASE should have been handled by
6949         inset->localDispatch.
6950
6951 2003-03-07  Angus Leeming  <leeming@lyx.org>
6952
6953         * BufferView_pimpl.C (dispatch):
6954         * LyXAction.C (init):
6955         * ToolbarDefaults.C (init):
6956         * commandtags.h:
6957         * lyxfunc.C (getStatus):
6958         remove LFUN_INSET_GRAPHICS.
6959
6960         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6961
6962 2003-03-07  Angus Leeming  <leeming@lyx.org>
6963
6964         * commandtags.h:
6965         * LyXAction.C (init):
6966         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6967
6968         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6969
6970         * commandtags.h:
6971         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6972
6973         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6974         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6975
6976 2003-03-07  Angus Leeming  <leeming@lyx.org>
6977
6978         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6979         remove "ert".
6980
6981 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * ParagraphList.C (front): new function
6984         (back): implement
6985
6986 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6987
6988         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6989         and top_row_offset_. removed var first_y.
6990         * text.C (top_y):
6991         * text2.C (LyXText, removeRow):
6992         * text3.C:
6993         * BufferView_pimpl.C:
6994         use these methods instead of using first_y
6995
6996 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6997
6998         * text2.C (pasteSelection): adjust for checkPastePossible
6999
7000         * CutAndPaste.C: remove Paragraph * buf and replace with
7001         ParagraphList paragraphs.
7002         (DeleteBuffer): delete
7003         (cutSelection): change the tc type to textclass_type
7004         (copySelection): change the tc type to textclass_type
7005         (copySelection): adjust for ParagraphList
7006         (pasteSelection): change the tc type to textclass_type
7007         (pasteSelection): adjust for Paragraphlist
7008         (nrOfParagraphs): simplify for ParagraphList
7009         (checkPastePossible): simplify for ParagraphList
7010         (checkPastePossible): remove unused arg
7011
7012         * ParagraphList.C (insert): handle the case where there are no
7013         paragraphs yet.
7014
7015         * CutAndPaste.h: make CutAndPaste a namespace.
7016
7017         * text3.C (dispatch): adjust
7018
7019         * text.C (breakParagraph): add a ParagraphList as arg
7020
7021         * paragraph_funcs.C (breakParagraph): change to take a
7022         BufferParams and a ParagraphList as args.
7023         (breakParagraphConservative): ditto
7024         (mergeParagraph): ditto
7025         (TeXDeeper): add a ParagraphList arg
7026         (TeXEnvironment): ditto
7027         (TeXOnePar): ditto
7028
7029         * buffer.C (readLyXformat2): adjust
7030         (insertStringAsLines): adjust
7031         (latexParagraphs): adjust
7032
7033         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7034         (cutSelection): adjust
7035         (pasteSelection): adjust
7036
7037         * BufferView_pimpl.C (insertInset): adjust
7038
7039 2003-03-05  Angus Leeming  <leeming@lyx.org>
7040
7041         * commandtags.h:
7042         * LyXAction.C (init):
7043         * BufferView_pimpl.C (dispatch):
7044         * lyxfunc.C (getStatus):
7045         remove LFUN_CHILD_INSERT.
7046
7047         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7048
7049 2003-03-05  Angus Leeming  <leeming@lyx.org>
7050
7051         * commandtags.h:
7052         * LyXAction.C (init):
7053         * src/factory.C (createInset):
7054         * lyxfunc.C (getStatus):
7055         * text3.C (dispatch):
7056         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7057
7058         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7059
7060 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * ParagraphList.C (insert): handle insert right before end()
7063         (erase): fix cases where it can be first or last paragraph.
7064
7065 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7068         Paragraph::next and Paragraph::previous
7069         (TeXOnePar): ditto
7070
7071         * text.C (breakParagraph): adjust
7072
7073         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7074         BufferParams& as arg.
7075         (breakParagraph): use ParagraphList::insert
7076         (breakParagraphConservative): take a Buffer* instead of a
7077         BufferParams& as arg.
7078         (breakParagraphConservative): use ParagraphList::insert.
7079
7080         * buffer.C (insertStringAsLines): un-const it
7081         (insertStringAsLines): adjust
7082
7083         * ParagraphList.C (insert): new function
7084
7085         * CutAndPaste.C (pasteSelection): adjust
7086
7087         * text.C (backspace): adjust
7088
7089         * tabular.C (SetMultiColumn): adjust
7090
7091         * CutAndPaste.C (cutSelection): adjust
7092         (pasteSelection): adjust
7093
7094         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7095         Buffer const * as arg
7096
7097         * ParagraphList.C (erase): new function
7098         * paragraph_funcs.C (mergeParagraph): use it
7099         (mergeParagraph): make it take a Buffer* instead of a
7100         BufferParams* as arg
7101
7102         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7103         as arg
7104         (breakParagraphConservative): ditto
7105
7106         * paragraph.h: remove the breakParagraph friend
7107
7108         * paragraph.C (eraseIntern): new function
7109         (setChange): new function
7110
7111         * paragraph_funcs.C (mergeParagraph): make it take a
7112         ParagraphList::iterator instead of a Paragraph *, adjust
7113         accordingly.
7114
7115         * paragraph.h: move an #endif so that the change tracking stuff
7116         also works in the NO_NEXT case.
7117
7118 2003-03-04  Angus Leeming  <leeming@lyx.org>
7119
7120         * commandtags.h:
7121         * LyXAction.C: new LFUN_INSET_MODIFY.
7122
7123         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7124         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7125
7126 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * several files: ws changes only
7129
7130         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7131         (TeXEnvironment): ditto
7132         (TeXDeeper): ditto
7133
7134         * buffer.C (makeLaTeXFile): adjust
7135         (latexParagraphs): make it take ParagraphList::iterator as args
7136
7137 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * buffer.C (latexParagraphs): adjust
7140
7141         * paragraph.C (TeXOnePar): move function...
7142         (optArgInset): move function...
7143         (TeXEnvironment): move function...
7144         * paragraph_pimpl.C (TeXDeeper): move function...
7145         * paragraph_funcs.C: ...here
7146
7147         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7148
7149 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * buffer.C (readInset): remove compability code for old Figure and
7152         InsetInfo insets
7153
7154 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * buffer.C: ws changes
7157         (readInset):
7158
7159         * BufferView_pimpl.C: ditto
7160         * author.C: ditto
7161         * buffer.h: ditto
7162         * bufferlist.h: ditto
7163         * changes.h: ditto
7164         * lyxfunc.C: ditto
7165
7166 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7167
7168         * converter.[Ch]: split into itself +
7169         * graph.[Ch]
7170         * format.[Ch]
7171         * Makefile.am: += graph.[Ch] + format.[Ch]
7172         * MenuBackend.C
7173         * buffer.C
7174         * exporter.C
7175         * importer.C
7176         * lyx_main.C
7177         * lyxfunc.C
7178         * lyxrc.C: added #include "format.h"
7179
7180 2003-02-27  Angus Leeming  <leeming@lyx.org>
7181
7182         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7183           a label.
7184
7185         * factory.C (createInset): add "label" to the factory.
7186
7187         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7188           string and do no more.
7189
7190 2003-02-27  Angus Leeming  <leeming@lyx.org>
7191
7192         * commandtags.h:
7193         * LyXAction.C (init):
7194         * factory.C (createInset):
7195         * BufferView_pimpl.C (dispatch):
7196           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7197
7198         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7199
7200         * lyxfunc.C (dispatch):
7201         * text3.C (dispatch): pass name to params2string.
7202
7203 2003-02-26  Angus Leeming  <leeming@lyx.org>
7204
7205         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7206           blocks together.
7207           Rearrange the ~includes. Strip out the unnecessary ones.
7208
7209         * factory.C (createInset): reformat.
7210           create new insets for the various LFUN_XYZ_APPLY lfuns.
7211
7212 2003-02-26  John Levon  <levon@movementarian.org>
7213
7214         * lyxrow.h:
7215         * lyxrow.C: add isParStart,isParEnd helpers
7216
7217         * paragraph.h: make isInserted/DeletedText take refs
7218
7219         * paragraph_funcs.h:
7220         * paragraph_funcs.C: remove #if 0'd code
7221
7222         * lyxtext.h:
7223         * text3.C:
7224         * text2.C:
7225         * text.C: use lyxrow helpers above.
7226           Move draw and paint routines to RowPainter.
7227           Make several methods use refs not pointers.
7228           Make backgroundColor() const.
7229           Add markChangeInDraw(), isInInset().
7230           Merge changeRegionCase into changeCase.
7231           Make workWidth() shouldn't-happen code into an Assert.
7232
7233         * rowpainter.h:
7234         * rowpainter.C: new class for painting a row.
7235
7236         * vspace.h:
7237         * vspace.C: make inPixels take a ref
7238
7239 2003-02-26  Angus Leeming  <leeming@lyx.org>
7240
7241         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7242         LFUN_REF_APPLY.
7243
7244 2003-02-25  John Levon  <levon@movementarian.org>
7245
7246         * ispell.C: give the forked command a more accurate name
7247
7248 2003-02-22  John Levon  <levon@movementarian.org>
7249
7250         * toc.h:
7251         * toc.C: make TocItem store an id not a Paragraph *
7252           (bug #913)
7253
7254 2003-02-21  Angus Leeming  <leeming@lyx.org>
7255
7256         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7257           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7258           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7259           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7260           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7261           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7262
7263         * BufferView_pimpl.C (dispatch):
7264         * LyXAction.C (init):
7265         * factory.C (createInset):
7266         * lyxfunc.C (getStatus, dispatch):
7267         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7268
7269 2003-02-21  Angus Leeming  <leeming@lyx.org>
7270
7271         * BufferView_pimpl.C (MenuInsertLyXFile):
7272         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7273         * lyxfunc.C (menuNew, open, doImport):
7274           no longer pass a LyXView & to fileDlg.
7275
7276 2003-02-21  Angus Leeming  <leeming@lyx.org>
7277
7278         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7279         * LyXAction.C: change, BIBKEY to BIBITEM.
7280         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7281         Change InsetBibKey to InsetBibitem.
7282         Change BIBKEY_CODE to BIBITEM_CODE.
7283         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7284         * factory.C: replace insetbib.h with insetbibitem.h.
7285         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7286         * paragraph.C: replace insetbib.h with insetbibitem.h.
7287         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7288         Change bibkey() to bibitem().
7289         * text.C: remove insetbib.h.
7290         * text2.C: replace insetbib.h with insetbibitem.h.
7291         change bibkey() to bibitem().
7292         * text3.C: remove insetbib.h.
7293         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7294
7295 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7296
7297         * lyxrc.C (output): enclose user email in quotes (in case there are
7298         several words)
7299
7300 2003-02-18  John Levon  <levon@movementarian.org>
7301
7302         * buffer.h: add std::
7303
7304 2003-02-17  John Levon  <levon@movementarian.org>
7305
7306         * SpellBase.h:
7307         * ispell.h:
7308         * ispell.C:
7309         * pspell.h:
7310         * pspell.C: reworking. Especially in ispell, a large
7311           number of clean ups and bug fixes.
7312
7313         * lyxfunc.C: fix revert to behave sensibly
7314
7315 2003-02-17 André Pönitz <poenitz@gmx.net>
7316
7317         * LyXAction.C:
7318         * commandtags.h: new LFUN_INSERT_BIBKEY
7319
7320         * layout.h:
7321         * lyxlayout.C:
7322         * buffer.C:
7323         * factory.C:
7324         * text.C:
7325         * text2.C:
7326         * text3.C:
7327         * paragraph.[Ch]:
7328         * paragraph_func.C: remove special bibkey handling
7329
7330 2003-02-17  John Levon  <levon@movementarian.org>
7331
7332         * text.C (Delete): fix case where delete at the end of
7333           the very first paragraph would not merge the pars
7334
7335 2003-02-17  John Levon  <levon@movementarian.org>
7336
7337         * lyxrow.C: fix lastPrintablePos()
7338
7339 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7340
7341         * bufferparams.C (writeLaTeX): add a std:here
7342
7343         * buffer.C: and remove a using directive there
7344
7345 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * buffer.C (makeLaTeXFile): move the code that generates the
7348           preamble...
7349
7350         * bufferparams.C (writeLaTeX): ... in this new method
7351
7352         * LaTeXFeatures.C (getEncodingSet): make const
7353           (getLanguages): make const
7354
7355         * MenuBackend.C (binding): returns the binding associated to this
7356           action
7357           (add): sets the status of each item by calling getStatus. Adds
7358           some intelligence.
7359           (read): add support for OptSubMenu
7360           (expand): remove extra separator at the end of expanded menu
7361
7362 2003-02-15  John Levon  <levon@movementarian.org>
7363
7364         * BufferView.C:
7365         * BufferView_pimpl.C:
7366         * bufferlist.h:
7367         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7368           inset code that had no actual effect. Remove unneeded status
7369           code.
7370
7371 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7372
7373         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7374           in preamble
7375
7376 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7377
7378         * text.C (drawLengthMarker): also draw an arrow marker for
7379           symbolic lengths (medskip...)
7380
7381 2003-02-14  John Levon  <levon@movementarian.org>
7382
7383         * tabular.h:
7384         * tabular.C: better method names
7385
7386 2003-02-14  John Levon  <levon@movementarian.org>
7387
7388         * BufferView_pimpl.C:
7389         * bufferlist.C:
7390         * buffer.C:
7391         * converter.C:
7392         * lyx_cb.C:
7393         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7394           it's a more accurate name. Remove some pointless uses.
7395
7396 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7397
7398         * text2.C (LyXText): change order of initilizers to shut off
7399           warnings
7400
7401 2003-02-14  John Levon  <levon@movementarian.org>
7402
7403         * buffer.C: use ParIterator for getParFromID()
7404
7405         * paragraph.h:
7406         * paragraph.C:
7407         * paragraph_pimpl.h:
7408         * paragraph_pimpl.C: remove unused getParFromID()
7409
7410 2003-02-14  John Levon  <levon@movementarian.org>
7411
7412         * buffer.C: remove some very old #if 0'd parse code
7413
7414 2003-02-13  John Levon  <levon@movementarian.org>
7415
7416         * text.h:
7417         * text.C:
7418         * text2.C: move hfillExpansion(), numberOfSeparators(),
7419           rowLast(), rowLastPrintable(), numberofHfills(),
7420           numberOfLabelHfills() ...
7421
7422         * lyxrow.h:
7423         * lyxrow.C: ... to member functions here.
7424
7425         * paragraph.h:
7426         * paragraph.C:
7427         * lyxtext.h:
7428         * text.C: remove LyXText::beginningOfMainBody(), and call
7429           p->beginningOfMainBody() directly. Move the check for
7430           LABEL_MANUAL into the latter.
7431
7432         * text.h:
7433         * text.C:
7434         * text2.C:
7435         * vspace.C:
7436         * BufferView.h:
7437         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7438
7439         * text.h:
7440         * text.C:
7441         * text2.C:
7442         * text3.C:
7443         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7444           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7445
7446 2003-02-13  John Levon  <levon@movementarian.org>
7447
7448         * CutAndPaste.C: remove debug
7449
7450 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7451
7452         * paragraph.C (asString): remove two unused variables
7453
7454         * lyxtextclass.C (readTitleType):
7455           (Read):
7456           (LyXTextClass): handle new members titletype_ and titlename_
7457
7458         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7459
7460 2003-02-09  John Levon  <levon@movementarian.org>
7461
7462         * buffer.h:
7463         * buffer.C: replace hand-coded list with a map for the dep clean
7464
7465 2003-02-08  John Levon  <levon@movementarian.org>
7466
7467         * LaTeX.C: consolidate code into showRunMessage() helper
7468
7469 2003-02-08  John Levon  <levon@movementarian.org>
7470
7471         * lyxfind.C:
7472         * lyxtext.h:
7473         * text2.C:
7474         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7475           and pass the size in explicitly
7476
7477         * BufferView_pimpl.h:
7478         * BufferView_pimpl.C:
7479         * BufferView.h:
7480         * BufferView.C: add getCurrentChange()
7481
7482         * BufferView_pimpl.h:
7483         * BufferView_pimpl.C: handle change lfuns
7484
7485         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7486           for changes. Mark pasted paragraphs as new.
7487
7488         * support/lyxtime.h:
7489         * support/lyxtime.C:
7490         * DepTable.C: abstract time_t as lyx::time_type
7491
7492         * LColor.h:
7493         * LColor.C: add colours for new text, deleted text, changebars
7494
7495         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7496           package use "usenames" option.
7497
7498         * commandtags.h:
7499         * lyxfunc.C:
7500         * LyXAction.C: add change lfuns
7501
7502         * Makefile.am:
7503         * author.h:
7504         * author.C: author handling
7505
7506         * buffer.h:
7507         * buffer.C: add a per-buffer author list, with first entry as
7508           current author. Handle new .lyx tokens for change tracking. Output
7509           author list to .lyx file. Output dvipost stuff to .tex preamble.
7510           Bump lyx format to 222.
7511
7512         * bufferlist.h:
7513         * bufferlist.C: add setCurrentAuthor() to reset current author details
7514           in all buffers.
7515
7516         * bufferparams.h:
7517         * bufferparams.C: add param for tracking
7518
7519         * bufferview_funcs.C: output change info in minibuffer
7520
7521         * Makefile.am:
7522         * changes.h:
7523         * changes.C: add change-tracking structure
7524
7525         * debug.h:
7526         * debug.C: add CHANGES debug flag
7527
7528         * lyxfind.h:
7529         * lyxfind.C: add code for finding the next change piece
7530
7531         * lyxrc.h:
7532         * lyxrc.C: add user_name and user_email
7533
7534         * lyxrow.h:
7535         * lyxrow.C: add a metric for the top of the text line
7536
7537         * lyxtext.h:
7538         * text.C: implement accept/rejectChange()
7539
7540         * lyxtext.h:
7541         * text.C: paint changebars. Paint new/deleted text in the chosen
7542         colours. Strike through deleted text.
7543
7544         * paragraph.h:
7545         * paragraph.C:
7546         * paragraph_pimpl.h:
7547         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7548           in the current change to the insert functions. Rework erase to
7549           mark text as deleted, adding an eraseIntern() and a range-based
7550           erase(). Implement per-paragraph change lookup and
7551           accept/reject.
7552
7553         * paragraph_funcs.C: Fixup paste for change tracking.
7554
7555         * tabular.C: mark added row/columns as new.
7556
7557         * text.C: fix rowLast() to never return -1. Don't allow
7558           spellchecking of deleted text. Track transpose changes. Don't
7559           allow paragraph break or merge where appropriate.
7560
7561         * text2.C: leave cursor at end of selection after a cut.
7562
7563 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7564
7565         * text.C (getLengthMarkerHeight):
7566         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7567         visible on screen too.
7568
7569 2003-02-07  John Levon  <levon@movementarian.org>
7570
7571         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7572
7573 2003-02-05  Angus Leeming  <leeming@lyx.org>
7574
7575         * lyxserver.C (read_ready): revert my patch of 11 September last year
7576         as it sends PC cpu through the roof. Presumably this means that
7577         the lyxserver will no longer run on an Alpha...
7578
7579 2003-01-30  Angus Leeming  <leeming@lyx.org>
7580
7581         * factory.C (createInset): create an InsetCommandParam of type "index"
7582         and use it to 'do the right thing'.
7583
7584         * text2.C (getStringToIndex): ensure that cursor position is always
7585         reset to the reset_cursor position.
7586
7587 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7590         disabled.
7591
7592 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7593
7594         * bufferview.C:
7595         * lyxcb.C:
7596         * lyxfunc.C: Output messages with identical spelling, punctuation,
7597         and spaces
7598
7599 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7600
7601         * MenuBackend.C (expandFormats): List only viewable export formats
7602         in "View" menu
7603
7604         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7605         message
7606
7607         * lyxfunc.C (getStatus): Make sure that formats other than
7608         "fax" can also be disabled
7609
7610 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7611
7612         * text3.C (dispatch): put the lfuns that insert insets in 3
7613         groups, and call doInsertInset with appropriate arguments.
7614         (doInsertInset): new function, that creates an inset and inserts
7615         it according to some boolean parameters.
7616
7617 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * buffer.C (readFile): remember to pass on 'par' when calling
7620         readFile recursively.
7621
7622 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7623
7624         * MenuBackend.C (expandFormats): add "..." to import formats.
7625
7626 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7627
7628         * paragraph.C (asString): Remove XForms RTL hacks.
7629
7630 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7631         * buffer.C: fix typo
7632
7633 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * Makefile.am (LIBS): delete var
7636         (lyx_LDADD): add @LIBS@ here instead.
7637
7638 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7639
7640         * Clarify the meaning of "wheel mouse jump"
7641
7642 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7643
7644         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7645         tabular in a float
7646
7647 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7648
7649         * importer.C (Loaders): do not preallocate 3 elements in the
7650         vector, since one ends up with 6 elements otherwise
7651
7652 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * DepTable.C (write): write the file name as last element of the
7655         .dep file (because it may contain spaces)
7656         (read): read info in the right order
7657
7658 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7659
7660         * paragraph_pimpl.C (simpleTeXBlanks):
7661         (simpleTeXSpecialChars):
7662         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7663
7664         * tabular.C (latex): add some missing case statements. Reindent.
7665
7666         * MenuBackend.C (expandToc): remove unused variable.
7667
7668 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7669
7670         * LColor.C:
7671         * LaTeX.C:
7672         * LyXAction.C:
7673         * MenuBackend.C:
7674         * buffer.C:
7675         * exporter.C:
7676         * lyxfunc.C:
7677         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7678         and the like.
7679
7680 2003-01-05  John Levon  <levon@movementarian.org>
7681
7682         * BufferView.h:
7683         * BufferView.C: add getEncoding()
7684
7685         * kbsequence.h:
7686         * kbsequence.C: do not store last keypress
7687
7688         * lyxfunc.h:
7689         * lyxfunc.C: store last keypress here instead. Pass encoding
7690           to getISOEncoded()
7691
7692 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7693
7694         * lyx_main.C (init): remove annoying error message when following
7695         symbolic links (bug #780)
7696
7697 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7698
7699         * text.C (insertChar):
7700         * lyxrc.C (getDescription): remove extra spaces
7701
7702 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7703
7704         * lyxrc.C (getDescription): remove extra spaces
7705
7706 2002-12-20  John Levon  <levon@movementarian.org>
7707
7708         * text3.C: hack fix for page up/down across tall rows
7709
7710 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7711
7712         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7713         not been invoked
7714
7715 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7716
7717         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7718         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7719         thesaurus is not compiled in
7720
7721 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7722
7723         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7724
7725 2002-12-16  Angus Leeming  <leeming@lyx.org>
7726
7727         * lyxrc.[Ch]:
7728         * lyx_main.C (init): remove override_x_deadkeys stuff.
7729
7730 2002-12-12  John Levon  <levon@movementarian.org>
7731
7732         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7733           insert. Only remove shift modifier under strict
7734           circumstances.
7735
7736 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * MenuBackend.C (expandToc): fix crash.
7739
7740 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * MenuBackend.C (expandToc): gettext on float names.
7743
7744 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7745
7746         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7747         implement bool empty() [bug 490]
7748
7749 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7752
7753 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * several files: ws changes
7756
7757 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * text2.C (setCounter): clean up a bit, use boost.format.
7760         (updateCounters): initialize par upon declaration.
7761
7762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7763         if the layout exists. We do not just store the layout any more.
7764         (SwitchLayoutsBetweenClasses): use boost.format
7765
7766 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7767
7768         * converter.C (convert): if from and to files are the same, use a
7769         temporary files as intermediary
7770
7771 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7772
7773         * commandtags.h:
7774         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7775
7776 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7777
7778         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7779
7780 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * tabular.C (asciiPrintCell): use string(size, char) instead of
7783         explicit loop.
7784
7785         * sgml.C (openTag): fix order of arguments to string constructor
7786         (closeTag): ditto
7787
7788         * lyxfunc.C (dispatch): use boost.format
7789
7790         * lots of files: change "c" -> 'c'
7791
7792 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7793
7794         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7795
7796 2002-11-25  Angus Leeming  <leeming@lyx.org>
7797
7798         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7799
7800         * lyx_main.C (init): compile fix.
7801
7802 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * lyx_cb.C (start): boost.formatify
7805         do not include <iostream>
7806
7807         * lengthcommon.C: ws only
7808
7809         * boost-inst.C,BoostFormat.h: add more explict instantations
7810
7811 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * lots of files: handle USE_BOOST_FORMAT
7814
7815 2002-11-21  John Levon  <levon@movementarian.org>
7816
7817         * pspell.C: fix compile
7818
7819 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7820
7821         * lyxfunc.C (dispatch): use boost::format
7822         (open): ditto
7823         (doImport): ditto
7824
7825         * lyxfont.C (stateText): use boost::format
7826
7827         * lyx_main.C (LyX): use boost::format
7828         (init): ditto
7829         (queryUserLyXDir): ditto
7830         (readRcFile): ditto
7831         (parse_dbg): ditto
7832         (typedef boost::function): use the recommened syntax.
7833
7834         * importer.C (Import): use boost::format
7835
7836         * debug.C (showLevel): use boost::format
7837
7838         * converter.C (view): use boost::format
7839         (convert): ditto
7840         (move): ditto
7841         (scanLog): ditto
7842
7843         * bufferview_funcs.C (currentState): use boost::format
7844
7845         * bufferlist.C (emergencyWrite): use boost::format
7846
7847         * buffer.C (readLyXformat2): use boost::format
7848         (parseSingleLyXformat2Token): ditto
7849
7850         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7851
7852         * LaTeX.C (run): use boost::format
7853
7854         * Chktex.C (scanLogFile): use boost::format
7855
7856         * BufferView_pimpl.C (savePosition): use boost::format
7857         (restorePosition): ditto
7858         (MenuInsertLyXFile): ditto
7859
7860         * BoostFormat.h: help file for explicit instation.
7861
7862 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7863
7864         * tabular.C (latex): Support for block alignment in fixed width
7865         columns.
7866
7867 2002-11-17  John Levon  <levon@movementarian.org>
7868
7869         * BufferView_pimpl.C:
7870         * lyx_cb.C:
7871         * lyxfunc.C: split filedialog into open/save
7872
7873 2002-11-08  Juergen Vigna  <jug@sad.it>
7874
7875         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7876         by my last patch (hopefully).
7877
7878 2002-11-08  John Levon  <levon@movementarian.org>
7879
7880         * iterators.h:
7881         * iterators.C:
7882         * buffer.h:
7883         * buffer.C:
7884         * paragraph.h:
7885         * paragraph.C:
7886         * toc.h:
7887         * toc.C: ParConstIterator, and use it (from Lars)
7888
7889 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7890
7891         * lyxtextclass.[Ch]: revise and add doxygen comments
7892
7893 2002-11-07  John Levon  <levon@movementarian.org>
7894
7895         * text.C: fix progress value for spellchecker
7896
7897         * toc.C: fix navigate menu for insetwrap inside minipage
7898
7899         * paragraph_funcs.C: added FIXME for suspect code
7900
7901 2002-11-07  John Levon  <levon@movementarian.org>
7902
7903         * BufferView_pimpl.C: fix redrawing of insets
7904           on buffer switch
7905
7906 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7907
7908         * text2.C (updateCounters): fix bug 668
7909
7910 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7911
7912         * text3.C (dispatch): Do not make the buffer dirty when moving the
7913         cursor.
7914
7915 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * vc-backend.C: STRCONV
7918         (scanMaster): ditto
7919
7920         * text2.C (setCounter): STRCONV
7921
7922         * paragraph.C (asString): STRCONV
7923
7924         * lyxlength.C (asString): STRCONV
7925         (asLatexString): ditto
7926
7927         * lyxgluelength.C (asString): STRCONV
7928         (asLatexString): ditto
7929
7930         * lyxfunc.C (dispatch): STRCONV
7931         (open): ditto
7932
7933         * lyxfont.C (stateText): STRCONV
7934
7935         * importer.C (Import): STRCONV
7936
7937         * counters.C (labelItem): STRCONV
7938         (numberLabel): ditto
7939         (numberLabel): remove unused ostringstream o
7940
7941         * chset.C: STRCONV
7942         (loadFile): ditto
7943
7944         * bufferview_funcs.C (currentState): STRCONV
7945
7946         * buffer.C (readFile): STRCONV
7947         (asciiParagraph): ditto
7948         (makeLaTeXFile): ditto
7949
7950         * Spacing.C (writeEnvirBegin): STRCONV
7951
7952         * LaTeXFeatures.C (getLanguages): STRCONV
7953         (getPackages): ditto
7954         (getMacros): ditto
7955         (getBabelOptions): ditto
7956         (getTClassPreamble): ditto
7957         (getLyXSGMLEntities): ditto
7958         (getIncludedFiles): ditto
7959
7960         * LaTeX.C: STRCONV
7961         (run): ditto
7962         (scanAuxFile): ditto
7963         (deplog): ditto
7964
7965         * LString.h: add the STRCONV macros
7966
7967         * BufferView_pimpl.C (savePosition): STRCONV
7968         (restorePosition): ditto
7969         (MenuInsertLyXFile): ditto
7970
7971         * vc-backend.C (scanMaster): change from submatch[...] to
7972         submatch.str(...)
7973
7974         * funcrequest.C: include config.h
7975
7976         * factory.C: include config.h
7977
7978         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7979
7980         * box.C: include config.h
7981
7982         * LaTeX.C (scanAuxFile): change from submatch[...] to
7983         submatch.str(...)
7984         (deplog): ditto
7985
7986 2002-10-25  Angus Leeming  <leeming@lyx.org>
7987
7988         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7989
7990         * ispell.[Ch] (setError): new method.
7991         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7992         Use setError() insetead of goto END.
7993
7994         * lyx_cb.C (AutoSave): move out child process into new class
7995         AutoSaveBuffer.
7996
7997 2002-10-30  John Levon  <levon@movementarian.org>
7998
7999         * text3.C: make start appendix undoable
8000
8001 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8002
8003         * lyxlength.C (inPixels): Fix returned value.
8004
8005         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8006         environment.
8007
8008 2002-10-24  Angus Leeming  <leeming@lyx.org>
8009
8010         * lyxgluelength.h: no need to forward declare BufferParams
8011         or BufferView, so don't.
8012
8013 2002-10-21  John Levon  <levon@movementarian.org>
8014
8015         * BufferView.C: menuUndo ->undo, redo
8016
8017         * BufferView.h: document, remove dead, make some methods private
8018
8019         * paragraph_funcs.h:
8020         * paragraph_funcs.C:
8021         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8022
8023         * buffer.h:
8024         * buffer.C:
8025         * sgml.h:
8026         * sgml.C: move sgml open/close tag into sgml.C
8027
8028         * bufferview_funcs.h: unused prototype
8029
8030         * lyxfunc.h:
8031         * lyxfunc.C: remove unused
8032
8033         * lyxtext.h:
8034         * text.C: remove unused
8035
8036 2002-10-21  John Levon  <levon@movementarian.org>
8037
8038         * BufferView.h:
8039         * BufferView.C:
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C: fix mouse wheel handling based on
8042           patch from Darren Freeman
8043
8044 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8045
8046         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8047
8048 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8049
8050         * lyxlength.C (inPixels): Fix hanfling of negative length.
8051         Fix LyXLength::MU case.
8052
8053 2002-10-16  John Levon  <levon@movementarian.org>
8054
8055         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8056
8057 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8058
8059         * converter.C (view): add support for $$i (file name) and $$p
8060         (file path) for the viewer command. If $$i is not specified, then
8061         it is appended to the command (for compatibility with old syntax)
8062
8063 2002-10-14  Juergen Vigna  <jug@sad.it>
8064
8065         * undo_funcs.C (textHandleUndo): alter the order in which the
8066         new undopar is added to the LyXText, as we have to set first
8067         the right prev/next and then add it as otherwise the rebuild of
8068         LyXText is not correct. Also reset the cursor to the right paragraph,
8069         with this IMO we could remove the hack in "redoParagraphs()".
8070
8071 2002-10-09  Angus Leeming  <leeming@lyx.org>
8072
8073         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8074         to turn off an optimisation if a new inset is to be inserted.
8075
8076 2002-10-11 André Pönitz <poenitz@gmx.net>
8077
8078         * lyxtext.h: make some functions public to allow access
8079         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8080
8081 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8082
8083         * text3.C (dispatch): when changing layout, avoid an infinite loop
8084         [bug #652]
8085
8086 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8087
8088         * lyxrc.C (read): treat a viewer or converter command of "none" as
8089         if it were empty.
8090
8091         * MenuBackend.C (expandFormats): for an update, also allow the
8092         formats that are not viewable
8093
8094         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8095         script if it is newer than the lyxrc.defaults in user directory
8096
8097 2002-10-07 André Pönitz <poenitz@gmx.net>
8098
8099         * text.C: Vitaly Lipatov's small i18n fix
8100
8101 2002-09-25  Angus Leeming  <leeming@lyx.org>
8102
8103         * ispell.h: doxygen fix.
8104
8105 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8106
8107         * buffer.h (readFile): Add a new argument to the method, to allow
8108         reading of old-format templates.
8109
8110 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8111
8112         * toc.C (getTocList): Get TOC from InsetWrap.
8113
8114 2002-09-16  John Levon  <levon@movementarian.org>
8115
8116         * lyxfunc.C: check tabular for cut/copy too
8117
8118 2002-09-12  John Levon  <levon@movementarian.org>
8119
8120         * LyXAction.C: tidy
8121
8122         * factory.h:
8123         * factory.C: add header
8124
8125         * paragraph_funcs.h:
8126         * paragraph_funcs.C: cleanup
8127
8128 2002-09-11  John Levon  <levon@movementarian.org>
8129
8130         * PrinterParams.h: odd/even default to true
8131
8132 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8133
8134         * PrinterParams.h: update printer parameters for new xforms dialog
8135
8136 2002-09-11  Angus Leeming  <leeming@lyx.org>
8137
8138         * lyxserver.C (read_ready): re-write to make it more transparent
8139         and to make it work in coherent fashion under Tru64 Unix.
8140
8141 2002-09-11  André Pönitz <poenitz@gmx.net>
8142
8143         * commandtags.h:
8144         * LyXAction.C:
8145         * text3.C: implement LFUN_WORDSEL
8146
8147 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8150         make floatlist_ a boost::shared_ptr<FloatList>
8151
8152         * lyxtextclass.C: include FloatList.h
8153         (LyXTextClass): initialize floatlist_
8154         (TextClassTags): add TC_NOFLOAT
8155         (Read): match "nofloat" to TC_NOFLOAT and use it.
8156         (readFloat): modify call to floatlist_
8157         (floats): ditto
8158         (floats): ditto
8159
8160         * FloatList.[Ch] (FloatList): remove commented out float
8161         initialization.
8162         (erase): new function
8163
8164 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8165
8166         * MenuBackend.C (expandToc): fix crash when there is no document
8167         open
8168
8169 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8170
8171         * many files: Add insetwrap.
8172
8173 2002-09-09  John Levon  <levon@movementarian.org>
8174
8175         * text2.C: remove confusing and awkward depth wraparound
8176
8177 2002-09-09  John Levon  <levon@movementarian.org>
8178
8179         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8180
8181         * buffer.h:
8182         * buffer.C: remove getIncludeonlyList()
8183
8184         * paragraph.C:
8185         * lyxfunc.C: remove headers
8186
8187 2002-09-09  Juergen Vigna  <jug@sad.it>
8188
8189         * text.C (getColumnNearX): fix form Michael this is most
8190         probably a cut&paste bug.
8191
8192 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8195
8196         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8197         references, ws changes.
8198
8199         * text2.C (init): update counters after init
8200         (insertParagraph): no need to set counter on idividual paragraphs.
8201         (setCounter): access the counters object in the textclass object
8202         on in the buffer object.
8203         (updateCounters): ditto
8204
8205         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8206         shared_ptr<Counters> to avoid loading counters.h in all
8207         compilation units.
8208         (LyXTextClass): initialize ctrs_
8209         (TextClassTags): add TC_COUNTER, and ...
8210         (Read): use it here.
8211         (CounterTags): new tags
8212         (readCounter): new function
8213         (counters): new funtion
8214         (defaultLayoutName): return a const reference
8215
8216         * counters.C (Counters): remove contructor
8217         (newCounter): remove a couple of unneeded statements.
8218         (newCounter): simplify a bit.
8219         (numberLabel): some small formatting changes.
8220
8221         * buffer.[Ch]: remove all traces of counters, move the Counters
8222         object to the LyXTextClass.
8223
8224 2002-09-06  Alain Castera  <castera@in2p3.fr>
8225
8226         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8227         package to set the horizontal alignment on fixed width columns.
8228
8229         * lyx_sty.C:
8230         * lyx_sty.h: added tabularnewline macro def.
8231
8232         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8233
8234 2002-09-06  John Levon  <levon@movementarian.org>
8235
8236         * LyXAction.C: tooltips for sub/superscript
8237
8238         * MenuBackend.C: a bit more verbose
8239
8240         * lyxfunc.C: tiny clean
8241
8242         * undo_funcs.C: document undo_frozen
8243
8244 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * counters.C (Counters): add missing algorithm counter.
8247
8248         * text2.C (setCounter): lookup the counter with layouts latexname
8249         instead of by section number.
8250         (setCounter): use a hackish way to lookup the correct enum
8251         counter.
8252         a float name->type change
8253         reset enum couners with counter name directly instead of depth value.
8254
8255         * counters.C (Counters): remove the push_backs, change to use the
8256         float type not the float name.
8257         (labelItem): remove unused string, float name->type change
8258
8259         * counters.h: don't include vector, loose the enums and sects vectors
8260
8261 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8264         (Read): add float->TC_FLOAT to textclassTags
8265         (Read): and handle it in the switch
8266         (readFloat): new function
8267
8268         * FloatList.C (FloatList): comment out the hardcoded float
8269         definitions.
8270
8271         * lyxlayout.h: ws change.
8272
8273 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8276
8277 2002-09-03  Angus Leeming  <leeming@lyx.org>
8278
8279         * BufferView_pimpl.h: qualified name is not allowed in member
8280         declaration: WorkArea & Pimpl::workarea() const;
8281
8282         * factory.C: added using std::endl directive.
8283
8284         * text3.C: added using std::find and std::vector directives.
8285
8286 2002-08-29  André Pönitz <poenitz@gmx.net>
8287
8288         * lyxtext.h:
8289         * text2.C: remove unused member number_of_rows
8290
8291         * Makefile.am:
8292         * BufferView2.C: remove file, move contents to...
8293         * BufferView.C: ... here
8294
8295         * BufferView_pimpl.C:
8296         * factory.C: move more inset creation to factory
8297
8298         * vspace.C: avoid direct usage of LyXText, ws changes
8299
8300         * BufferView.[Ch]:
8301                 don't provide direct access to WorkArea, use two simple
8302                 acessors haveSelction() and workHeight() instead
8303
8304
8305 2002-08-29  John Levon  <levon@movementarian.org>
8306
8307         * BufferView_pimpl.C (dispatch): do not continue when
8308           no buffer
8309
8310 2002-08-28  André Pönitz <poenitz@gmx.net>
8311
8312         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8313
8314         * BufferView.h:
8315         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8316
8317 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8318
8319         * buffer.C: increment LYX_FORMAT to 221
8320
8321         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8322         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8323
8324         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8325
8326         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8327
8328 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8329
8330         * factory.C (createInset): use LyXTextClass::floats
8331
8332         * MenuBackend.C (expandFloatListInsert):
8333         (expandFloatInsert):
8334         (expandToc):
8335
8336         * text2.C (setCounter):
8337
8338         * LaTeXFeatures.C (useFloat):
8339         (getFloatDefinitions):
8340
8341         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8342
8343         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8344         floatlist_, with accessor floats().
8345
8346         * FloatList.h: remove global FloatList
8347
8348 2002-08-26  André Pönitz <poenitz@gmx.net>
8349
8350         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8351
8352         * BufferView.h:
8353         * BufferView2.C:
8354         * BufferView_pimpl.C:
8355         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8356
8357 2002-08-25  John Levon  <levon@movementarian.org>
8358
8359         * LyXAction.C: fix margin note description
8360
8361 2002-08-24  John Levon  <levon@movementarian.org>
8362
8363         * buffer.C:
8364         * bufferlist.C:
8365         * bufferview_funcs.C:
8366         * lyxfont.C:
8367         * undo_funcs.C: cleanups
8368
8369         * lyxfunc.C: disable CUT/COPY when no selection
8370
8371 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8372
8373         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8374         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8375
8376         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8377         Add backward compatibility to "mono", "gray" and "no".
8378
8379 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8382         (and file_format >= 200).
8383
8384 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8385
8386         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8387
8388 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8389
8390         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8391
8392 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8393
8394         * BufferView_pimpl.C:
8395         * LyXAction.C:
8396         * buffer.C:
8397         * commandtags.h:
8398         * lyxfunc.C:
8399         * paragraph.[Ch]:
8400         * text2.C:
8401         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8402         inset and code to make it  work with the paragraph code. The inset
8403         can be anywhere in the paragraph, but will only do the expected
8404         thing in LaTeX if the layout file contains the parameter line
8405                         OptionalArgs    1
8406         (or more generally, a nonzero value) for that layout.
8407
8408 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * paragraph.h: remove the declaration of undefined counters class
8411         function.
8412
8413 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8414
8415         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8416         Dr. Richard Hawkins.
8417
8418 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8419
8420         * paragraph_funcs.h: remove some unneeded includes
8421
8422         * text.C (backspace): pasteParagraph now in global scipe
8423
8424         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8425         (pasteSelection): ditto
8426
8427         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8428         * paragraph_funcs.C (pasteParagraph): ... here
8429
8430 2002-08-20  André Pönitz <poenitz@gmx.net>
8431
8432         * commandtags.h: new LFUNs for swapping/copying table row/colums
8433
8434         * LyXAction.C:
8435         * lyxfunc.C: support for new lfuns
8436
8437 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * tabular.C:
8440         * buffer.[Ch]: remove NO_COMPABILITY stuff
8441
8442 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8443
8444         * boost.C (throw_exception): new file, with helper function for
8445         boost compiled without exceptions.
8446
8447         * paragraph.h:
8448         * lyxlength.C:
8449         * buffer.C:
8450         * ParameterStruct.h:
8451         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8452
8453         * bufferlist.C (emergencyWriteAll): use boost bind
8454
8455         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8456
8457         * text.C: include paragraph_funcs.h
8458         (breakParagraph): breakParagraph is now in global scope
8459
8460         * paragraph_funcs.[Ch]: new files
8461
8462         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8463         global scope
8464
8465         * buffer.C: include paragraph_funcs.h
8466         (insertStringAsLines): breakParagraph is now in global scope
8467
8468         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8469         paragraph_funcs.C
8470
8471         * CutAndPaste.C: include paragraph_funcs.h
8472         (cutSelection): breakParagraphConservative is now in global scope
8473         (pasteSelection): ditto
8474
8475         * buffer.h: declare oprator== and operator!= for
8476         Buffer::inset_iterator
8477
8478         * bufferlist.C (emergencyWrite): don't use fmt(...)
8479
8480         * text3.C: add using std::endl
8481
8482         * BufferView.C (moveCursorUpdate): remove default arg
8483
8484 2002-08-20  André Pönitz <poenitz@gmx.net>
8485
8486         * buffer.[Ch]: move inline functions to .C
8487
8488         * BufferView2.C:
8489         * BufferView_pimpl.C:
8490         * text.C:
8491         * buffer.[Ch]: use improved inset_iterator
8492
8493         * buffer.C:
8494         * paragraph.[Ch]: write one paragraph at a time
8495
8496 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8497
8498         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8499         style if style is not specified.
8500
8501 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8502
8503         * text2.C (setCounter): when searching for right label for a
8504         caption, make sure to recurse to parent insets (so that a caption
8505         in a minipage in a figure float works) (bug #568)
8506
8507 2002-08-20  André Pönitz <poenitz@gmx.net>
8508
8509         * text3.C: new file for LyXText::dispatch() and helpers
8510
8511         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8512
8513         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8514
8515 2002-08-19  André Pönitz <poenitz@gmx.net>
8516
8517         * lyxtext.h:
8518         * text.C: new LyXText::dispatch()
8519
8520         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8521
8522 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8523
8524         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8525
8526         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8527         Hebrew text.
8528
8529 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * Makefile.am: use $(variables) instead of @substitutions@
8532
8533 2002-08-15  André Pönitz <poenitz@gmx.net>
8534
8535         * lyxfunc.C:
8536         * BufferView_pimpl.C: streamlining mathed <-> outer world
8537         interaction
8538
8539         * commandtags.h:
8540         * LyXAction.C: remove unused LFUN_MATH
8541
8542 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8545
8546 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * paragraph.C (Paragraph): reformat a bit
8549         (cutIntoMinibuffer): use builtin InsetList function instad of
8550         doing it manually.
8551         (getInset): ditto
8552
8553         * buffer.C: include boost/bind.hpp, add using std::for_each
8554         (writeFileAscii): use ParagraphList iterators
8555         (validate): use for_each for validate traversal of paragraphs
8556         (getBibkeyList): use ParagraphList iterators
8557         (resizeInsets): use for_each to resizeInsetsLyXText for all
8558         paragraphs.
8559         (getParFromID): use ParagraphList iterators
8560
8561         * BufferView2.C (lockInset): use paragraph list and iterators
8562
8563 2002-08-14  John Levon  <levon@movementarian.org>
8564
8565         * lyxserver.C: remove spurious xforms include
8566
8567 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8568
8569         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8570
8571 2002-08-13  André Pönitz <poenitz@gmx.net>
8572
8573         * LyXAction.[Ch]:
8574         * lyxfunc.C: further cleaning
8575
8576 2002-08-13  André Pönitz <poenitz@gmx.net>
8577
8578         * funcrequest.h: new constructor
8579
8580         * funcrequest.C: move stuff here from .h
8581
8582         * Makefile.am:
8583         * BufferView_pimpl.C:
8584         * LyXAction.C:
8585         * toc.C:
8586         * lyxfunc.C: subsequent changes
8587
8588         * lyxfunc.h: new view() member function
8589
8590         * lyxfunc.C: subsequent changes
8591
8592 2002-08-13  Angus Leeming  <leeming@lyx.org>
8593
8594         * BufferView2.C:
8595         * BufferView_pimpl.C:
8596         * buffer.C:
8597         * converter.C:
8598         * importer.C:
8599         * lyxfunc.C:
8600         * lyxvc.C:
8601         * toc.C:
8602         * vc-backend.C:
8603         changes due to the changed LyXView interface that now returns references
8604         to member variables not pointers.
8605
8606 2002-08-13  Angus Leeming  <leeming@lyx.org>
8607
8608         * WordLangTuple (word, lang_code): return references to strings,
8609         not strings.
8610
8611         * BufferView.h:
8612         * SpellBase.h:
8613         * lyxtext.h: forward-declare WordLangTuple.
8614
8615         * BufferView2.C:
8616         * ispell.C:
8617         * pspell.C:
8618         * text.C: #include "WordLangTuple.h".
8619
8620         * lyxtext.h:
8621         * text.C: (selectNextWordToSpellcheck): constify return type.
8622
8623 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8624
8625         * buffer.C:
8626         * buffer.h:
8627         * lyxtext.h:
8628         * paragraph.C:
8629         * paragraph_pimpl.h:
8630         * text.C:
8631         * text2.C:
8632         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8633         suggested by Angus.
8634         Made updateCounter always count from start of buffer, and removed
8635         second argument (par).
8636         Reverted floats number display to '#'. Perhaps I'll try again when the
8637         code base is sanitized a bit.
8638
8639 2002-08-12  Angus Leeming  <leeming@lyx.org>
8640
8641         * buffer.[Ch] (getLabelList): constify.
8642
8643 2002-08-07  André Pönitz <poenitz@gmx.net>
8644
8645         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8646
8647         * funcrequest.h: extension to keep mouse (x,y) position
8648
8649 2002-08-12  Juergen Vigna  <jug@sad.it>
8650
8651         * BufferView2.C (insertErrors): forbid undo when inserting error
8652         insets.
8653
8654         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8655
8656 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * ParagraphList.[Ch]: new files
8659
8660         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8661
8662         * BufferView2.C (lockInset): ParagraphList changes
8663         * toc.C: ditto
8664         * text2.C: ditto
8665         * bufferlist.C: ditto
8666         * buffer.h: ditto
8667         * buffer.C: ditto
8668
8669 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8672         unused class variable counter_,
8673
8674         * paragraph.[Ch] (getFirstCounter): delete unused function
8675
8676         * counters.C: include LAssert.h
8677         (reset): add a new function with no arg, change other version to
8678         not have def. arg and to not allow empty arg.
8679
8680         * text2.C (setCounter): remove empty arg from call to Counters::reset
8681
8682 2002-08-11  John Levon  <levon@movementarian.org>
8683
8684         * Makefile.am: add WordLangTuple.h
8685
8686 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8689         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8690
8691         * insets/insettext.C: InsetList changes
8692
8693         * graphics/GraphicsSupport.C (operator()): InsetList changes
8694
8695         * toc.C (getTocList): InsetList changes
8696
8697         * paragraph_pimpl.[Ch]: InsetList changes
8698
8699         * paragraph.[Ch]: InsetList changes
8700
8701         * buffer.C (inset_iterator): InsetList changes
8702         (setParagraph): ditto
8703         * buffer.h (inset_iterator): ditto
8704         * iterators.C (operator++): ditto
8705         * iterators.h: ditto
8706
8707         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8708
8709         * InsetList.[Ch]: new files, most InsetList handling moved out of
8710         paragraph.C.
8711
8712         * BufferView2.C (removeAutoInsets): InsetList changes
8713         (lockInset): ditto
8714         (ChangeInsets): ditto
8715
8716 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8717
8718         * paragraph_pimpl.h (empty): new function
8719
8720         * paragraph.[Ch] (empty): new function
8721
8722         * other files: use the new Paragraph::empty function
8723
8724 2002-08-09  John Levon  <levon@movementarian.org>
8725
8726         * lyxtext.h: remove unused refresh_height
8727
8728 2002-08-09  John Levon  <levon@movementarian.org>
8729
8730         * Makefile.am:
8731         * sgml.h:
8732         * sgml.C:
8733         * buffer.C:
8734         * paragraph.h:
8735         * paragraph.C: move sgml char escaping out of paragraph
8736
8737         * paragraph.h:
8738         * paragraph.C: remove id setter
8739
8740         * buffer.C:
8741         * paragraph.C:
8742         * paragraph_pimpl.C: remove dead tex_code_break_column
8743
8744         * bufferview_funcs.C: small cleanup
8745
8746         * lyxfunc.C: remove dead proto
8747
8748         * lyxtext.h: make some stuff private. Remove some dead stuff.
8749
8750         * lyxgluelength.C: make as[LyX]String() readable
8751
8752 2002-08-08  John Levon  <levon@movementarian.org>
8753
8754         * LyXAction.h:
8755         * LyXAction.C:
8756         * MenuBackend.C:
8757         * ToolbarDefaults.C:
8758         * lyxfunc.C:
8759         * lyxrc.C:
8760         * toc.C: lyxaction cleanup
8761
8762 2002-08-08  John Levon  <levon@movementarian.org>
8763
8764         * BufferView2.C: small cleanup
8765
8766         * lyxfind.h:
8767         * lyxfind.C: move unnecessary header into the .C
8768
8769 2002-08-08  John Levon  <levon@movementarian.org>
8770
8771         * funcrequest.h: just tedious nonsense
8772
8773         * lyx_main.h:
8774         * lyx_main.C: cleanups
8775
8776         * buffer.C:
8777         * vspace.C: remove dead header lyx_main.h
8778
8779 2002-08-07  Angus Leeming  <leeming@lyx.org>
8780
8781         * Paragraph.[Ch]:
8782         * paragraph_pimpl.h:
8783         Forward declare class Counters in paragraph.h by moving the ctrs member
8784         variable into Paragraph::Pimpl.
8785         (counters): new method, returning a reference to pimpl_->ctrs.
8786
8787         * text2.C: ensuing changes.
8788
8789 2002-08-07  John Levon  <levon@movementarian.org>
8790
8791         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8792
8793         * BufferView_pimpl.C: announce X selection on double/triple
8794           click
8795
8796         * lyx_main.C: use correct bool in batch dispatch
8797
8798         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8799
8800 2002-08-07  André Pönitz <poenitz@gmx.net>
8801
8802         * funcrequest.h: new class to wrap a kb_action and its argument
8803
8804         * BufferView.[Ch]:
8805         * BufferView_pimpl[Ch]:
8806         * LaTeX.C:
8807         * LyXAction.[Ch]:
8808         * lyxfunc.[Ch]:
8809         * lyxrc.C: subsequent changes
8810
8811
8812 2002-08-07  John Levon  <levon@movementarian.org>
8813
8814         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8815           document options change.
8816
8817 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8818
8819         * counters.[Ch]
8820         * text2.C
8821         * paragraph.[Ch]
8822         * makefile.am: move counters functionality over from
8823         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8824
8825 2002-08-06  John Levon  <levon@movementarian.org>
8826
8827         * WordLangTuple.h: new file for word + language code tuple
8828
8829         * SpellBase.h:
8830         * pspell.h:
8831         * pspell.C:
8832         * ispell.h:
8833         * ispell.C:
8834         * lyxtext.h:
8835         * text.C:
8836         * text2.C:
8837         * BufferView.h:
8838         * BufferView2.C: use WordLangTuple
8839
8840         * layout.h:
8841         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8842
8843 2002-08-06  John Levon  <levon@movementarian.org>
8844
8845         * lyx_main.C: fix cmdline batch handling
8846
8847 2002-08-06  André Pönitz <poenitz@gmx.net>
8848
8849         * lyxrc.C: set default for show_banner to true
8850
8851 2002-08-06  John Levon  <levon@movementarian.org>
8852
8853         * pspell.C: fix a crash, and allow new aspell to work
8854
8855 2002-08-06  John Levon  <levon@movementarian.org>
8856
8857         * lyxfunc.C:
8858         * kbmap.C: small cleanup
8859
8860         * vspace.h:
8861         * vspace.C: add const
8862
8863 2002-08-05  John Levon  <levon@movementarian.org>
8864
8865         * LyXAction.C: back to tabular-insert
8866
8867 2002-08-04  John Levon  <levon@movementarian.org>
8868
8869         * BufferView.h:
8870         * BufferView.C: cosmetic change
8871
8872         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8873
8874         * bufferlist.C:
8875         * buffer.h:
8876         * buffer.C:
8877         * lyxcb.h:
8878         * lyxcb.C:
8879         * lyxserver.C:
8880         * lyxvc.C:
8881         * vc-backend.C:
8882         * BufferView2.C: purge all "Lyx" not "LyX" strings
8883
8884         * lyxcursor.h:
8885         * lyxcursor.C: attempt to add some documentation
8886
8887         * lyxfunc.C:
8888         * commandtags.h:
8889         * LyXAction.C:
8890         * ToolbarDefaults.C:
8891         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8892           merge with LFUN_TABULAR_INSERT
8893
8894         * Makefile.am:
8895         * SpellBase.h:
8896         * ispell.h:
8897         * ispell.C:
8898         * pspell.h:
8899         * pspell.C: split up i/pspell implementations into separate
8900           files, many cleanups
8901
8902         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8903
8904         * text2.C: some cleanup
8905
8906         * lyxfunc.C: don't check for isp_command == "none" any more, it
8907           didn't make any sense
8908
8909 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8910
8911         * counters.[Ch]
8912         * text2.C
8913         * paragraph.[Ch]
8914         * makefile.am: move counters functionality over
8915         from text2.C/paragraph.[Ch] to counters.[Ch], and
8916         make proper C++.
8917 2002-08-02  John Levon  <levon@movementarian.org>
8918
8919         * buffer.C: s/lyxconvert/lyx2lyx/
8920
8921 2002-08-02  Angus Leeming  <leeming@lyx.org>
8922
8923         * lyxlex.C: revert John's change as it breaks reading of the user
8924         preamble.
8925
8926 2002-08-02  Angus Leeming  <leeming@lyx.org>
8927
8928         * importer.C (Import):
8929         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8930         changes due to LyXView::view() now returning a boost::shared_ptr.
8931
8932 2002-08-02  John Levon  <levon@movementarian.org>
8933
8934         * lyxlex.C: small cleanup
8935
8936 2002-08-02  John Levon  <levon@movementarian.org>
8937
8938         * text2.C (status): small cleanup, no logic change
8939
8940 2002-08-01  John Levon  <levon@movementarian.org>
8941
8942         * buffer.h:
8943         * buffer.C (writeFile): don't output alerts, caller
8944           handles this
8945
8946         * bufferlist.C:
8947         * lyx_cb.C: from above
8948
8949         * lyxfunc.C: allow to open non-existent files
8950
8951 2002-07-31  John Levon  <levon@movementarian.org>
8952
8953         * lyxserver.C: don't let incidental errors get
8954           in the way (errno)
8955
8956 2002-07-30  John Levon  <levon@movementarian.org>
8957
8958         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8959
8960 2002-07-30  John Levon  <levon@movementarian.org>
8961
8962         * lyxserver.h:
8963         * lyxserver.C: remove I/O callback too
8964
8965 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8968         log.
8969
8970 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8971
8972         * many files: strip,frontStrip -> trim,ltrim,rtrim
8973
8974 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8975
8976         * PrinterParams.h: remove extern containsOnly, and include
8977         support/lstrings.h instead.
8978
8979         * LaTeX.C (scanAuxFile): modify because of strip changes
8980         (deplog): ditto
8981         * buffer.C (makeLaTeXFile): ditto
8982         * bufferparams.C (writeFile): ditt
8983         * lyxfont.C (stateText): ditto
8984         * lyxserver.C (read_ready): ditto
8985         * vc-backend.C (scanMaster): ditto
8986
8987         * BufferView_pimpl.h: ws changes
8988
8989         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8990
8991 2002-07-26  André Pönitz <poenitz@gmx.net>
8992
8993         * kb_sequence.C: remove unnedred usings
8994
8995 2002-07-26  Juergen Vigna  <jug@sad.it>
8996
8997         * lyxfind.C (LyXReplace): we have to check better if the returned
8998         text is not of theLockingInset()->getLockingInset().
8999
9000 2002-07-25  Juergen Vigna  <jug@sad.it>
9001
9002         * lyxfind.C (LyXReplace): don't replace if we don't get the
9003         right LyXText.
9004
9005         * undo_funcs.C (createUndo): remove debugging code.
9006
9007 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9008
9009         * buffer.C (parseSingleLyXformat2Token): Use default placement
9010         when reading old floats.
9011
9012         * FloatList.C (FloatList): Change the default placement of figure
9013         and tables to "tbp".
9014
9015 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * MenuBackend.C: using std::max
9018
9019 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9020
9021         * MenuBackend.C (expandToc):
9022         (expandToc2): code moved from xforms menu frontend. It is now
9023         generic and TOCs are transparent to menu frontends.
9024
9025 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * toc.C (getTocList): protect against buf=0
9028
9029         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9030         Menu as first parameter. Now, this calls itself recursively to
9031         expand a whole tree (this will be useful for TOC handling)
9032         (expandFloatInsert): remove 'wide' version of floats
9033
9034         * MenuBackend.h (submenuname): returns the name of the submenu.
9035         (submenu): returns the submenu itself, provided it has been
9036         created by MenuBackend::expand
9037
9038 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9041         insets which have noFontChange == true. (bug #172)
9042
9043 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9044
9045         * BufferView_pimpl.C: add connection objects and use them...
9046         (Pimpl): here.
9047
9048 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9049
9050         * MenuBackend.C (expandLastfiles):
9051         (expandDocuments):
9052         (expandFormats):
9053         (expandFloatListInsert):
9054         (expandFloatInsert):
9055         (expand): split expand in parts
9056
9057 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * lyx_gui.C: use lyx_gui::exit()
9060
9061 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * LyXAction.C: show the failing pseudo action
9064
9065 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9066
9067         * buffer.C (readFile): Run the lyxconvert script in order to read
9068         old files.
9069
9070 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * LyXAction.C:
9073         * commandtags.h:
9074         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9075
9076 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * LyXAction.C:
9079         * commandtags.h:
9080         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9081
9082 2002-07-22  Herbert Voss  <voss@lyx.org>
9083
9084         * lengthcommon.C:
9085         * lyxlength.[Ch]: add support for the vertical lengths
9086
9087 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * toc.[Ch]: std:: fixes
9090
9091 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9092
9093         * lyxrc.C: do not include lyx_main.h
9094
9095         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9096         for layouts
9097
9098         * lyxrc.C:
9099         * encoding.C:
9100         * bufferlist.C:
9101         * BufferView2.C: include "lyxlex.h"
9102
9103         * tabular.h:
9104         * bufferparams.h: do not #include "lyxlex.h"
9105
9106         * lyxtextclasslist.C (Add): remove method
9107         (classlist): renamed to classlist_
9108
9109         * paragraph_pimpl.C:
9110         * paragraph.C:
9111         * text2.C:
9112         * CutAndPaste.C:
9113         * bufferview_funcs.C:
9114         * bufferlist.C:
9115         * text.C:
9116         * LaTeXFeatures.C:
9117         * buffer.C:
9118         * toc.C (getTocList): use BufferParams::getLyXTextClass
9119
9120         * toc.C (getTocList): use InsetFloat::addToToc
9121
9122         * toc.[Ch]: new files, containing helper functions to handle table
9123         of contents
9124
9125         * lyxfunc.C (dispatch): no need to remove spaces around command
9126         given as a string
9127         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9128         first command of the sequence; it is not very clever, but I do not
9129         have a better idea, actually
9130
9131         * LyXAction.C (LookupFunc): make sure to remove space at the
9132         beginning and end of the command
9133
9134 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * MenuBackend.C (getMenubar): new method: return the menubar of
9137         this menu set
9138         (read): treat differently reading of menu and menubar (in
9139         particular, the menubar has no name now)
9140         (Menu::menubar): remove
9141
9142         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9143         saving is finished
9144
9145 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9146
9147         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9148         a bibitem inset in a RTL paragraph.
9149
9150 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9151
9152         * paragraph_pimpl.C: constify
9153
9154         * BufferView_pimpl.C:
9155         * LaTeX.C:
9156         * lyxfunc.C: fix dispatch in a nicer way
9157
9158 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * lyxfunc.C (dispatch):
9161         * BufferView_pimpl.C:
9162         * BufferView_pimpl.h:
9163         * BufferView.C:
9164         * BufferView.h: rename Dispatch() to dispatch()
9165
9166         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9167
9168         * lyxlayout.C (Read): honor DependsOn tag
9169
9170         * lyxlayout.[Ch] (depends_on): new method
9171
9172         * version.C.in: update lyx_docversion
9173
9174         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9175
9176         * paragraph.C (validate): remove from here...
9177         * paragraph_pimpl.C (validate): ... and move here
9178         (isTextAt): make it const
9179
9180         * buffer.C (getLists): ws cleanup
9181
9182 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9183
9184         * language.C (read): Use iso8859-1 encoding in latex_lang
9185         (this prevents LyX from crashing when using iso10646-1 encoding).
9186
9187 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9188
9189         * text2.C (toggleInset): if cursor is inside an inset, close the
9190         inset and leave cursor _after_ it
9191
9192 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * lyxfunc.C: move minibuffer completion handling out of here
9195
9196 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * BufferView_pimpl.C:
9199         * LaTeX.C: fix dispatch calls
9200
9201 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9202
9203         * text.C (drawChars): Fix Arabic text rendering.
9204
9205 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * LyXAction.C:
9208         * commandtags.h:
9209         * lyxfunc.C: remove message-push/pop
9210
9211         * lyxserver.C:
9212         * lyxfunc.h:
9213         * lyxfunc.C: rationalise some code by removing verboseDispatch
9214           in favour of a bool argument to dispatch()
9215
9216 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9217
9218         * lyx_main.C (init): make sure to read symlinks as absolute paths
9219
9220 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * lyxfunc.h:
9223         * lyxfunc.C: no need for commandshortcut to be a member
9224
9225 2002-07-15  André Pönitz <poenitz@gmx.net>
9226
9227         * converter.C: add support for $$s (scripts from lib/scripts dir)
9228         * lyx_main.C: white space
9229
9230 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * bufferlist.C:
9233         * lyxrc.h:
9234         * lyxrc.C: remove second exit confirmation
9235
9236 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9237
9238         * BufferView.h:
9239         * BufferView.C:
9240         * BufferView2.C:
9241         * BufferView_pimpl.h:
9242         * BufferView_pimpl.C:
9243         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9244
9245 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * MenuBackend.C (expand): add numeric shortcuts to document menu
9248
9249         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9250
9251 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * lyxfont.C (setLyXFamily):
9254         (setLyXSeries):
9255         (setLyXShape):
9256         (setLyXSize):
9257         (setLyXMisc):
9258         (lyxRead):
9259         * debug.C (value):
9260         * buffer.C (asciiParagraph): use ascii_lowercase
9261
9262 2002-07-15  Mike Fabian  <mfabian@suse.de>
9263
9264         * lyxlex_pimpl.C (search_kw):
9265         * lyxlex.C (getLongString):
9266         * converter.h (operator<):
9267         * converter.C (operator<):
9268         * buffer.C (parseSingleLyXformat2Token):
9269         (asciiParagraph):
9270         * ToolbarDefaults.C (read):
9271         * MenuBackend.C (checkShortcuts):
9272         (read):
9273         * LColor.C (getFromGUIName):
9274         (getFromLyXName): use the compare_ascii_no_case instead of
9275         compare_no_case, because in turkish, 'i' is not the lowercase
9276         version of 'I', and thus turkish locale breaks parsing of tags.
9277
9278 2002-07-16  Angus Leeming  <leeming@lyx.org>
9279
9280         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9281         now takes a Buffer const & argument.
9282
9283 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * BufferView.C (resize): check there's a buffer to resize
9286
9287 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * lyxfunc.C: remove dead code
9290
9291         * lyxserver.h:
9292         * lyxserver.C: use lyx_guii::set_read_callback
9293
9294 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9295
9296         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9297         an inset in a RTL paragraph.
9298
9299 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9300
9301         * lyxfunc.C: repaint after a font size update
9302
9303 2002-07-15  André Pönitz <poenitz@gmx.net>
9304
9305         * lyxlength.C: inBP should be able to return negative values
9306
9307 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * lyxfunc.C: use lyx_gui::update_fonts()
9310
9311 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * lyxfunc.C: use lyx_gui::update_color()
9314
9315 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * bufferlist.C:
9318         * lyxfunc.h:
9319         * lyxfunc.C:
9320         * lyxrc.h:
9321         * lyxrc.C: remove file->new asks for name option, and let
9322           buffer-new take an argument
9323
9324 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * BufferView_pimpl.C: remove unneeded extra repaint()
9327
9328 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9329
9330         * LyXAction.C: allow command-sequence with NoBuffer
9331
9332         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9333
9334 2002-07-10  Angus Leeming  <leeming@lyx.org>
9335
9336         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9337
9338 2002-07-09  Angus Leeming  <leeming@lyx.org>
9339
9340         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9341
9342 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * lengthcommon.h: whitespace
9345
9346         * lyxfunc.C: update scrollbar after goto paragraph
9347
9348         * lyxtext.h: factor out page break drawing, and fix it so
9349           page break/added space paints as selected nicely
9350
9351 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * BufferView_pimpl.C: add FIXMEs, clean up a little
9354
9355 2002-07-09  André Pönitz <poenitz@gmx.net>
9356
9357         * lyxfont.[Ch]: support for wasy symbols
9358
9359 2002-07-08  André Pönitz <poenitz@gmx.net>
9360
9361         * BufferView_pimpl.C: apply John's patch for #93.
9362
9363 2002-07-05  Angus Leeming  <leeming@lyx.org>
9364
9365         * BufferView_pimpl.C (buffer): generate previews if desired.
9366
9367         * LColor.h: add "preview" to the color enum.
9368
9369         * LColor.C (LColor): add a corresponding entry to the items array.
9370
9371         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9372         with this buffer.
9373
9374 2002-07-05  Angus Leeming  <leeming@lyx.org>
9375
9376         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9377         The body of the code is now in the method that is passed an ostream &
9378         rather than a file name.
9379         Pass an additional only_preamble parameter, useful for the forthcoming
9380         preview stuff.
9381
9382 2002-07-03  André Pönitz <poenitz@gmx.net>
9383
9384         * lyxfunc.C: simplify getStatus() a bit for math stuff
9385
9386 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9387
9388         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9389
9390 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * text.C (changeRegionCase): do not change case of all the
9393         document when region ends at paragraph end (bug #461)
9394
9395 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * paragraph.C (startTeXParParams):
9398         (endTeXParParams): add \protect when necessary
9399
9400 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9401
9402         * BufferView_pimpl.C (workAreaExpose): remove warning
9403
9404 2002-06-27  Angus Leeming  <leeming@lyx.org>
9405
9406         * Makefile.am: add lyxlayout_ptr_fwd.h.
9407
9408 2002-06-26  André Pönitz <poenitz@gmx.net>
9409
9410         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9411
9412 2002-06-25  Angus Leeming  <leeming@lyx.org>
9413
9414         * lyxfunc.C (dispatch): Comment out the call to
9415         grfx::GCache::changeDisplay. The method no longer exists now that the
9416         pixmap generation part of the graphics loader has been moved into
9417         InsetGraphics.
9418
9419 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9420
9421         * text2.C: layout as layout
9422
9423         * text.C: layout as layout
9424
9425         * tabular.C (OldFormatRead): layout as layout
9426
9427         * paragraph_pimpl.C (TeXDeeper): layout as layout
9428         (realizeFont): layout as layout
9429
9430         * paragraph.C (writeFile): layout as layout
9431         (validate): layout as layout
9432         (getFont): layout as layout
9433         (getLabelFont): layout as layout
9434         (getLayoutFont): layout as layout
9435         (breakParagraph): layout as layout
9436         (stripLeadingSpaces): layout as layout
9437         (getEndLabel): layout as layout
9438         (getMaxDepthAfter): layout as layout
9439         (applyLayout): layout as layout
9440         (TeXOnePar): layout as layout
9441         (simpleTeXOnePar): layout as layout
9442         (TeXEnvironment): layout as layout
9443         (layout): layout as layout
9444         (layout): layout as layout
9445
9446         * lyxtextclass.C (compare_name): new functor to work with
9447         shared_ptr, layout as layout
9448         (Read): layout as layout
9449         (hasLayout): layout as layout
9450         (operator): layout as layout
9451         (delete_layout): layout as layout
9452         (defaultLayout): layout as layout
9453
9454         * lyxlayout_ptr_fwd.h: new file
9455
9456         * lyxlayout.C (Read): layout as layout
9457
9458         * lyx_cb.C (MenuInsertLabel): layout as layout
9459
9460         * bufferlist.C (newFile): layout as layout
9461
9462         * buffer.C (readLyXformat2): layout as layout
9463         (parseSingleLyXformat2Token): layout as layout
9464         (insertStringAsLines): layout as layout
9465         (asciiParagraph): layout as layout
9466         (latexParagraphs): layout as layout
9467         (makeLinuxDocFile): layout as layout
9468         (simpleLinuxDocOnePar): layout as layout
9469         (makeDocBookFile): layout as layout
9470         (simpleDocBookOnePar): layout as layout
9471         (getLists): layout as layout
9472
9473         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9474
9475         * CutAndPaste.C (cutSelection): layout as layout
9476         (pasteSelection): layout as layout
9477         (SwitchLayoutsBetweenClasses): layout as layout
9478
9479         * BufferView_pimpl.C (Dispatch): layout as layout
9480         (smartQuote): layout as layout
9481
9482         * BufferView2.C (unlockInset): layout as layout
9483
9484 2002-06-24  André Pönitz <poenitz@gmx.net>
9485
9486         * lyxfunc.C: fix #487
9487
9488 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * lyxrc.h:
9491         * lyxrc.C:
9492         * lyxfunc.C: remove display_shortcuts, show_banner
9493
9494 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * Buffer_pimpl.C: oops, update on resize
9497
9498 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * buffer.C:
9501         * converter.C:
9502         * exporter.C:
9503         * lyxfunc.C:
9504         * BufferView.h:
9505         * BufferView.C: use repaint()
9506
9507         * BufferView_pimpl.h:
9508         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9509           as it's a clearer description. Remove superfluous
9510           redraws.
9511
9512 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * text.C: fix bug 488. Not ideal, but getting
9515           getWord() to work properly for the insets that
9516           matter is more difficult ...
9517
9518 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * BufferView_pimpl.C:
9521         * LyXAction.C:
9522         * commandtags.h:
9523         * lyxfunc.C: remove the six million index lyxfuncs to just
9524           one, and DTRT (bug 458)
9525
9526 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * BufferView.h:
9529         * BufferView.C:
9530         * BufferView_pimpl.h:
9531         * BufferView_pimpl.C: clean up resize() stuff,
9532           and unnecessary updateScreen()s
9533
9534 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * BufferView.h:
9537         * BufferView.C:
9538         * BufferView_pimpl.h:
9539         * BufferView_pimpl.C:
9540         * lyxfind.h:
9541         * lyxfind.C:
9542         * minibuffer.C: remove focus management of workarea,
9543           not needed. Use screen's greyOut()
9544
9545 2002-06-17  Herbert Voss  <voss@lyx.org>
9546
9547         * converter.C: (convert) do not post a message, when converting
9548         fails, let the calling function decide what to do in this case
9549
9550 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * lyxfunc.C: tidy up a little
9553
9554 2002-06-16    <alstrup@diku.dk>
9555
9556         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9557         Got rid of FORMS_H_LOCATION include. Now we are
9558         GUII.
9559
9560 2002-06-15  LyX Development team  <lyx@rilke>
9561
9562         * buffer.[Ch] (sgmlOpenTag):
9563         (sgmlCloseTag): Added support for avoiding pernicious mixed
9564         content. Return number of lines written.
9565
9566         (makeLinuxDocFile):
9567         (makeDocBookFile): Fixed calls to sgml*Tag.
9568         Simple white space clean.
9569
9570         (simpleDocBookOnePar): Simple white space clean.
9571
9572         * tabular.[Ch] (docBook): Renamed to docbook and got another
9573         argument to related with the pernicious mixed content.
9574
9575         (docbookRow): Fixed calls for docbook inset method.
9576
9577 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9578
9579         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9580         so it's X11 independent.
9581
9582         * kb*.[Ch]: ditto.
9583
9584         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9585
9586 2002-06-15  Lyx Development team  <lyx@electronia>
9587
9588         * intl.h: Renamed getTrans to getTransManager.
9589
9590 2002-06-14  Angus Leeming  <leeming@lyx.org>
9591
9592         * Makefile.am: nuke forgotten stl_string_fwd.h.
9593
9594 2002-06-12  Angus Leeming  <leeming@lyx.org>
9595
9596         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9597
9598 2002-06-13  Angus Leeming  <leeming@lyx.org>
9599
9600         * LaTeX.C:
9601         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9602
9603 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9604
9605         * kbmap.C (getiso): add support for cyrillic and greek
9606
9607 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * BufferView.h:
9610         * BufferView.C:
9611         * BufferView_pimpl.h:
9612         * BufferView_pimpl.C: move bogus scrolling logic
9613           to xforms
9614
9615 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9616
9617         * lyxfunc.C:
9618         * BufferView_pimpl.C: view->resize() change
9619
9620 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * BufferView_pimpl.C: topCursorVisible
9623           prototype change
9624
9625 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * Makefile.am:
9628         * lyx_gui.h:
9629         * lyx_gui.C: move to frontends/
9630
9631         * main.C:
9632         * lyx_main.h:
9633         * lyx_main.C: changes from above
9634
9635 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * intl.C:
9638         * intl.h:
9639         * kbmap.C:
9640         * kbsequence.C:
9641         * lyx_cb.C:
9642         * lyx_main.C: minor tidy
9643
9644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * BufferView_pimpl.h:
9647         * BufferView_pimpl.C:
9648         * BufferView.h:
9649         * BufferView.C: make painter() const,
9650           remove dead code
9651
9652         * BufferView2.C: use screen() accessor
9653
9654         * lyx_main.h:
9655         * lyx_main.C: some minor cleanup
9656
9657 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9658
9659         * BufferView_pimpl.h:
9660         * BufferView_pimpl.C: remove enter/leaveView,
9661           use workHeight()
9662
9663 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * BufferView.h:
9666         * BufferView.C:
9667         * BufferView2.C:
9668         * BufferView_pimpl.h:
9669         * BufferView_pimpl.C: only construct screen once,
9670           rename
9671
9672         * lyxrc.C: remove pointless comment
9673
9674 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * BufferView.h:
9677         * BufferView.C: remove active() and belowMouse()
9678
9679         * BufferView_pimpl.h:
9680         * BufferView_pimpl.C: use workarea() not workarea_,
9681           and make it use a scoped_ptr instead
9682
9683 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * lyx_gui.C: add debug message on BadWindow
9686
9687 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * sp_spell.C: fdopen is not part of the C++ standard.
9690
9691         * paragraph.C (InsetIterator): use >= instead of ==
9692
9693 2002-06-07  Angus Leeming  <leeming@lyx.org>
9694
9695         Fixes needed to compile with Compaq cxx 6.5.
9696         * BufferView_pimpl.C:
9697         * DepTable.C:
9698         * buffer.C:
9699         * converter.C:
9700         * encoding.C:
9701         * lyx_gui.C:
9702         * lyx_main.C:
9703         * lyxtextclasslist.C:
9704         * minibuffer.C:
9705         * sp_spell.C:
9706         * tabular_funcs.C:
9707         * vc-backend.C:
9708         all c-library variables have been moved into namespace std. Wrap
9709         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9710
9711         * lyxlength.C:
9712         * tabular-old.C:
9713         * tabular.C:
9714         Add a using std::abs declaration.
9715
9716         * kbmap.h (modifier_pair):
9717         * paragraph.h (InsetTable, InsetList):
9718         * lyxfont.h (FontBits):
9719         type definition made public.
9720
9721         * bufferlist.C (emergencyWriteAll): the compiler complains that
9722         there is more than one possible lyx::class_fun template to choose from.
9723         I re-named the void specialisation as lyx::void_class_fun.
9724
9725         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9726
9727         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9728         the compiler is is unable to find tostr in write_attribute.
9729
9730 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * buffer.C (sgmlError): hide #warning
9733
9734 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * xtl/*: get rid of xtl, which is not in use anyway
9737
9738         * LyXAction.C (init):
9739         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9740         were unimplemented xtl experimentation
9741
9742 2002-06-04  André Pönitz <poenitz@gmx.net>
9743
9744         * lyxfunc.C: disable array operation on simple formulae
9745
9746 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * converter.C: constify a bit
9749
9750 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * lyx_gui.C: check xforms version correctly
9753
9754 2002-04-30  Herbert Voss  <voss@lyx.org>
9755
9756         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9757         "keep" option
9758
9759 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9762           attempt to register it with a VCS)
9763
9764 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * lyx_main.C (init): honor variables LYX_DIR_13x and
9767         LYX_USERDIR_13x
9768
9769 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * buffer.h:
9772         * buffer.C:
9773         * lyx_main.C: fix a crash on bad command line,
9774           and give a useful exit status on error
9775
9776         * lyxfunc.C (doImport): allow -i lyx to work
9777
9778 2002-03-30  André Pönitz <poenitz@gmx.net>
9779
9780         * lyxfunc.C: mathed font changes
9781
9782 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * LaTeX.C:
9785         * importer.h:
9786         * importer.C:
9787         * lyx_sty.h:
9788         * lyx_sty.C:
9789         * lyxlex.C:
9790         * lyxrow.h:
9791         * lyxtext.h:
9792         * paragraph.h:
9793         * paragraph.C:
9794         * texrow.h:
9795         * texrow.C:
9796         * text.C:
9797         * trans_mgr.h: srcdocs, and some minor cleanups
9798
9799 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9802         call getFont all the time)
9803
9804 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9805
9806         * switch from SigC signals to boost::signals
9807
9808 2002-05-29  André Pönitz <poenitz@gmx.net>
9809
9810         * paragraph_pimpl.C (getChar): don't call size() too often...
9811
9812 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * paragraph_pimpl.C (insertChar): do not try to update tables when
9815         appending (pos == size())
9816
9817         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9818         in order to reduce drastically the number of comparisons needed to
9819         parse a large document
9820
9821 2002-05-29  André Pönitz <poenitz@gmx.net>
9822
9823         * text.C:
9824         * text2.C:
9825         * lyxtextclass.C:
9826         * sp_pspell.h:
9827         * textclasslist.[Ch]:
9828         * sp_ispell.h: whitespace change
9829
9830 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9833         lyxaction directly now.
9834
9835 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * trans.C:
9838         * lyxfont.C:
9839         * lyxvc.C: remove unused headers
9840
9841 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * Makefile.am:
9844         * buffer.h:
9845         * undostack.h:
9846         * undostack.C:
9847         * undo_funcs.h:
9848         * undo_funcs.C: some cleanups. Use shared_ptr
9849           and a template for the undo stacks.
9850
9851 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView_pimpl.h:
9854         * BufferView_pimpl.C:
9855         * kbmap.h:
9856         * kbmap.C:
9857         * kbsequence.h:
9858         * kbsequence.C:
9859         * lyxfunc.h:
9860         * lyxfunc.C:
9861         * text2.C: use key_state/mouse_state
9862
9863 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9866         and LSubstring
9867
9868         * chset.C: change include order
9869         (loadFile): use boost regex and get rid of LRegex and LSubstring
9870
9871         * Makefile.am (BOOST_LIBS): new variable
9872         (lyx_LDADD): use it
9873
9874         * LaTeX.C: change include order.
9875         (scanAuxFile): use boost regex and get rid of LRegex and
9876         LSubstring
9877         (deplog): ditto
9878
9879 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * ColorHandler.h:
9882         * ColorHandler.C:
9883         * FontInfo.h:
9884         * FontInfo.C: moved to frontends/xforms/
9885
9886         * FontLoader.h:
9887         * FontLoader.C: moved into frontends for GUIIzation
9888
9889         * Makefile.am:
9890         * lyx_gui.C:
9891         * lyxfont.C:
9892         * lyxfunc.C: changes from above
9893
9894 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * LColor.C: remove spurious X include
9897
9898         * BufferView_pimpl.C:
9899         * Makefile.am:
9900         * font.h:
9901         * font.C:
9902         * text.C:
9903         * text2.C: move font metrics to frontends/
9904
9905 2002-05-24  Juergen Vigna  <jug@sad.it>
9906
9907         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9908         setting the undo_cursor.
9909
9910         * ParagraphParameters.h: include local includes first.
9911
9912 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView_pimpl.C:
9915         * BufferView_pimpl.h:
9916         * Makefile.am:
9917         * WorkArea.h:
9918         * WorkArea.C:
9919         * screen.C: move WorkArea into frontends/
9920
9921         * lyxscreen.h:
9922         * screen.C:
9923         * text.C:
9924         * BufferView.C:
9925         * BufferView2.C: move LyXScreen into frontends/
9926
9927         * lyxlookup.h:
9928         * lyxlookup.C:
9929         * lyx_gui.C: move lyxlookup into frontends/xforms/
9930
9931 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * BufferView2.C:
9934         * BufferView_pimpl.C:
9935         * FontLoader.C:
9936         * LyXView.h:
9937         * LyXView.C:
9938         * Makefile.am:
9939         * WorkArea.C:
9940         * XFormsView.h:
9941         * XFormsView.C:
9942         * buffer.C:
9943         * bufferlist.C:
9944         * bufferview_funcs.C:
9945         * converter.C:
9946         * importer.C:
9947         * lyx_cb.C:
9948         * lyx_gui.C:
9949         * lyx_main.C:
9950         * lyx_find.C:
9951         * lyxfunc.C:
9952         * lyxvc.C:
9953         * minibuffer.C:
9954         * text.C:
9955         * text2.C:
9956         * trans.C:
9957         * vc-backend.C: move LyX/XFormsView into frontends/
9958
9959 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * Makefile.am:
9962         * PainterBase.C:
9963         * PainterBase.h:
9964         * Painter.C:
9965         * Painter.h:
9966         * WorkArea.C:
9967         * WorkArea.h:
9968         * screen.C:
9969         * tabular.C:
9970         * text.C:
9971         * text2.C: move Painter to frontends/
9972
9973 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9974
9975         * buffer.C: comment out some some code that depend upon lyx_format
9976         < 220
9977
9978         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9979         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9980
9981         * buffer.h (NO_COMPABILITY): turn off compability
9982
9983         * ColorHandler.C: include scoped_array.hpp
9984
9985         * font.C: Use more specific smart_ptr header.
9986         * Painter.C: ditto
9987         * gettext.C: ditto
9988         * ShareContainer.h: ditto
9989         * lyx_main.h: ditto
9990         * kbmap.h: ditto
9991         * FontInfo.h: ditto
9992         * BufferView_pimpl.h: ditto
9993         * ColorHandler.h: ditto
9994
9995         * kbmap.C (defkey): change call to shared_ptr::reset
9996
9997 2002-05-21  Juergen Vigna  <jug@sad.it>
9998
9999         * buffer.C (insertErtContents): fix to insert ert asis if it is
10000         non empty. Skip it completely if it contains only whitespaces.
10001
10002 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * BufferView_pimpl.C:
10005         * BufferView2.C: clear selection on paste (bug 393)
10006
10007 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * DepTable.C: include ctime
10010
10011 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10012
10013         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10014
10015 2002-05-14  Juergen Vigna  <jug@sad.it>
10016
10017         * text.C (breakParagraph): fixed function to honor the keepempty
10018         layout in the right maner and also to permit the right breaking
10019         algorithm on empty or non empyt keepempty paragraphs.
10020
10021         * paragraph.C (breakParagraph): we have to check also if the par
10022         is really empty (!size()) for isempty otherwise we do the wrong
10023         paragraph break.
10024
10025 2002-05-10  Juergen Vigna  <jug@sad.it>
10026
10027         * buffer.[Ch] : The following are only changes to the ert
10028         compatibility read reading old LaTeX layout and font stuff and
10029         convert it to ERTInsets.
10030
10031         * buffer.h: added isErtInset().
10032
10033         * buffer.C (struct ErtComp): add a fromlayout bool to check
10034         if we're inside a LaTeX layout.
10035         (isErtInset): new helper function.
10036         (insertErtContents): look for other ert insets before this one
10037         and insert the contents there, so that we don't have subsequent
10038         ERT insets with nothing between them. This way we create only one
10039         inset with multiple paragraphs. Also check if we don't insert only
10040         spaces ' ' as they are ignored anyway afterwards in the .tex file
10041         so if we have only spaces we will ignore this latex part in the
10042         new file.
10043         (parseSingleLyXformat2Token \\layout): better compatibility when
10044         reading layout-latex stuff.
10045         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10046         language tag.
10047         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10048         stuff after reading the inset only get the information back from
10049         the stack.
10050
10051 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10052
10053         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10054
10055         * LaTeXFeatures.C (getBabelOptions): New method.
10056
10057 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10058
10059         * BufferView_pimpl.C (Dispatch): work around missing argument for
10060         'layout'
10061
10062 2002-05-08  Juergen Vigna  <jug@sad.it>
10063
10064         * text.C (leftMargin): handle paragraph leftindent.
10065
10066         * paragraph.C (writeFile): write the new \\leftindent tag.
10067         (validate): handle leftindent code.
10068         (TeXEnvironment): handle paragraphleftindent code again.
10069
10070         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10071
10072         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10073         for paragrap_extra indent code and new token \\leftindent.
10074         (latexParagraphs): handle the leftindent as environment.
10075
10076         * ParameterStruct.h: added leftindent support.
10077
10078         * ParagraphParameters.C (leftIndent): added support functions for
10079         the paragraph left indent.
10080
10081         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10082         more appropriate.
10083
10084 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10085
10086         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10087         inside insetERT.
10088
10089         * text.C (computeBidiTables): No bidi in insetERT.
10090
10091         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10092         in RTL documents.
10093
10094 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10095
10096         * version.C.in: pre 5
10097
10098 2002-05-02  José Matos  <jamatos@fep.up.pt>
10099         * buffer.C (makeDocBookFile): white space changes, add newline to
10100         command styles.
10101         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10102
10103         * tabular.C (docBook): fix typo.
10104
10105 2002-05-03  Juergen Vigna  <jug@sad.it>
10106
10107         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10108         change in LyXText as we can not be sure it was not freed.
10109         (drawOneRow): remove unused code.
10110
10111         * text.C (drawInset): redo the calculation of the need_break_row as
10112         it could have a row which was already freed.
10113         (draw): look at the return value of drawInset and return false if
10114         it also returned false.
10115         (paintRowText): look at the return value of draw and return false if
10116         it also returned false.
10117
10118         * lyxtext.h: added bool return type to drawInset() and draw() so that
10119         if we have a change in the row so that the rowbreak has to be redone
10120         we abort drawing as it will be called again.
10121
10122 2002-05-02  Juergen Vigna  <jug@sad.it>
10123
10124         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10125         a change in the maintext also if we're inside an inset.
10126         (Dispatch): set the cursor again after a break line and after the
10127         screen has been updated as it could be we're in a different row.
10128
10129         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10130         to set the cursor behind the pargraph with > size().
10131         (setCursor): check also for the same paragraph when checking where
10132         to put the cursor if we have a NFR inset.
10133
10134         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10135         parts of layout read further up as it still was in the wrong
10136         position.
10137
10138 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10139
10140         * screen.C (drawFromTo): change sine fullRebreak always return
10141         true.
10142
10143         * buffer.C (parseSingleLyXformat2Token): reindent some
10144
10145         * BufferView_pimpl.C (update): change since fullRebreak always
10146         return true.
10147         (Dispatch): git rid of the last hardcoded "Standard"s.
10148
10149 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10150
10151         * text2.[Ch] (fullRebreak): make it return void now that we always
10152         returned true.
10153
10154 2002-04-30  Juergen Vigna  <jug@sad.it>
10155
10156         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10157         ert compatibility check for "latex" layout.
10158
10159 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10160
10161         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10162         minipages: use col% instead of p%, and also use the current font.
10163         (makeLaTeXFile): Fix use babel condition.
10164         (parseSingleLyXformat2Token): Correct font when reading old floats.
10165
10166 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10167
10168         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10169         inserting list of floats.
10170
10171 2002-04-25  Herbert Voss  <voss@lyx.org>
10172
10173         * MenuBackend.C (expand): don't add the graphics extensions to the
10174         export menu
10175
10176 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10179         non-existing layout, do not complain if it was the default layout
10180         of the original class (bug #342)
10181
10182 2002-04-24  Juergen Vigna  <jug@sad.it>
10183
10184         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10185         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10186
10187 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10188
10189         * buffer.C (getBibkeyList): If using \bibliography, return the
10190         option field with the reference itself. Enables us to provide natbib
10191         support when using \bibliography.
10192
10193 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10194
10195         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10196
10197         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10198         natbib is provided by the LaTeX class.
10199
10200 2002-04-23  Juergen Vigna  <jug@sad.it>
10201
10202         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10203         Wakeup functions.
10204
10205         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10206
10207 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10210
10211         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10212         ensuremath around textordmasculine, textordfeminine and
10213         textdegree.
10214
10215 2002-04-19  Juergen Vigna  <jug@sad.it>
10216
10217         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10218         reinitializing the buffer otherwise row-dimensions may be wrong.
10219         (update): reset also the selection cursors if they do exits otherwise
10220         their x/y positions may be wrong.
10221
10222         * text2.C (cursorDown): don't enter the inset if we came from a row
10223         above and are one row over the inset.
10224
10225         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10226         really leaving an inset.
10227
10228 2002-04-18  Juergen Vigna  <jug@sad.it>
10229
10230         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10231         of the selected paragraph does not have the selected layout also if
10232         the last one had!
10233
10234         * text2.C (setLayout): fixed bug which did not change last selected
10235         paragraph.
10236
10237         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10238         changed the read and substituted \\end_float with \\end_inset!
10239
10240         * BufferView_pimpl.C (cursorPrevious):
10241         (cursorNext): fixed to make it work with rows heigher than the work
10242         area without moving the cursor only the draw of the row.
10243         (workAreaMotionNotify): fix jumping over high rows.
10244
10245 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10248         Ressler.
10249
10250 2002-04-16  Juergen Vigna  <jug@sad.it>
10251
10252         * text2.C (setCursor): set also the irow().
10253         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10254         (cursorUp):
10255         (cursorDown): support for locking an inset if the x_fix value goes
10256         inside it. That way I can transverse insets too with cursor up/down.
10257
10258         * lyxrow.h: added irow helper function same as other (i) functions.
10259
10260         * BufferView_pimpl.C (cursorPrevious):
10261         (cursorNext): fixed for insets!
10262
10263 2002-04-15  Juergen Vigna  <jug@sad.it>
10264
10265         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10266         position otherwise it is wrong in some cases.
10267
10268         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10269         inside the inset before the call.
10270
10271 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10272
10273         * buffer.[Ch] (getBibkeyList): make it const.
10274
10275 2002-04-12  Juergen Vigna  <jug@sad.it>
10276
10277         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10278
10279         * text2.C (getCursorX): new helper function
10280         (setCursor): compute also ix_
10281         (setCursorFromCoordinates): set also ix.
10282
10283         * lyxcursor.h: added ix_ and helper functions.
10284
10285         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10286
10287         * buffer.C (insertStringAsLines): dont break paragraph if the this
10288         paragraph is inside an inset which does not permit it!
10289
10290         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10291         also with no chars on this paragraph.
10292         (paintRowText): only paint stuff if it's inside the workarea!
10293
10294         * paragraph.C (breakParagraph): honor keepempty flag and break the
10295         paragraph always below not above.
10296
10297         * BufferView2.C (unlockInset): update the paragraph layout on inset
10298         unlock as we changed paragraph in such a case.
10299
10300         * lyxfind.C (LyXFind): clear the former selection if not found!
10301
10302         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10303         again called in insertChar().
10304
10305         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10306         an inset which uses the whole row!
10307         (rightMargin): ditto.
10308         (insertChar): force a rebreak if we inserted an inset!
10309
10310 2002-03-28  Herbert Voss  <voss@lyx.org>
10311
10312         * lyxlength.[Ch]: add inBP() to get the right PS-point
10313         units (BigPoint). With inPixels we have rounding errors
10314
10315 2002-04-11  Juergen Vigna  <jug@sad.it>
10316
10317         * text2.C (setCursorFromCoordinates): set iy to the right value.
10318         (setCursor): add check if row->previous exists!
10319
10320         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10321         an old float_type as this was the case in the old code!
10322
10323         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10324
10325         * BufferView2.C (showLockedInsetCursor): use iy
10326         (fitLockedInsetCursor): ditto
10327
10328         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10329         locked insets as there we have the right value now.
10330
10331         * lyxcursor.C: added iy_ variable and iy functions to set to the
10332         baseline of cursor-y of the locked inset.
10333
10334         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10335         (setCursor): fixed for insets which need a full row.
10336
10337         * text.C (rowLastPrintable): don't ignore the last space when before
10338         an inset which needs a full row.
10339         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10340         as last character of a row when before a inset which needs a full row.
10341
10342 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * version.C.in: update date
10345
10346         * text2.C (fullRebreak): try to always return true and see what
10347         happens...
10348
10349 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10350
10351         * MenuBackend.C (expand): use Floating::listName
10352
10353         * FloatList.C (FloatList): add listName argument to the built-in
10354         floats
10355
10356         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10357         text associated with the float.
10358
10359 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10360
10361         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10362
10363 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * ShareContainer.h: add a couple of missing typenames.
10366
10367 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10368
10369         * lyxrc.C (getDescription): use _() correctly rather than N_().
10370
10371 2002-03-28  Herbert Voss  <voss@lyx.org>
10372
10373         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10374         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10375
10376 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10379         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10380
10381 2002-03-29  Juergen Vigna  <jug@sad.it>
10382
10383         * lyxfunc.C (dispatch): add a missing fitCursor call.
10384
10385         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10386         it was scrolled by a cursor move, so return the bool status.
10387
10388         * BufferView.C (fitCursor): return the bool flag also to the outside
10389         world as this is needed.
10390
10391         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10392
10393         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10394         call the edit() as it is not needed (and wrong) IMO.
10395         (workAreaButtonPress): set the screen_first variable before evt.
10396         unlock the inset as this may change screen_first and then we have
10397         a wrong y position for the click!
10398
10399 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10400
10401         * MenuBackend.C (expand): another translation that I missed
10402
10403 2002-03-28  Juergen Vigna  <jug@sad.it>
10404
10405         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10406
10407         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10408
10409 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10412
10413         * MenuBackend.C (expand): fix export/view/update when there is no
10414         document open.
10415
10416 2002-03-27  Herbert Voss  <voss@lyx.org>
10417
10418         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10419         and text%
10420
10421 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * bufferview_funcs.C (currentState): only show paragraph number
10424         for is DEVEL_VERSION is set.
10425
10426         * lyxfunc.C (dispatch): put warning in INFO channel
10427
10428         * MenuBackend.C (expand): translate the name of floats
10429
10430         * FloatList.C (FloatList): mark the float names for translation
10431
10432         * converter.C (convert): use LibScriptSearch
10433
10434 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * MenuBackend.C (defaults): fix default menu (we might as well get
10437         rid of it...)
10438
10439 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10440
10441         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10442         directory.
10443
10444 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * lyxvc.C: reorder includes.
10447
10448 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10451           properly
10452
10453 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * CutAndPaste.C: change layouts earlier on paste
10456           to avoid crashing when calling getFont()
10457
10458 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10459
10460         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10461         irritating #error.
10462
10463 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * WorkArea.C: remove 'Pending' debug message.
10466
10467         * most files: ws cleanup
10468
10469         * buffer.[Ch]: ws changes
10470
10471         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10472
10473 2002-03-21  Juergen Vigna  <jug@sad.it>
10474
10475         * tabular.C (SetMultiColumn): collapse also the contents of the
10476         cells and set the last border right. Added a Buffer const * param.
10477
10478 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10481         linking or not.
10482
10483 2002-03-19  Juergen Vigna  <jug@sad.it>
10484
10485         * text2.C (clearSelection): reset also xsel_cache.
10486
10487         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10488         where it needs to be called (John tells us to do so too :)
10489         (selectionLost): reset sel_cache.
10490
10491         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10492
10493 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * text2.C (setCursorIntern): put debuging code in INSETS channel
10496
10497 2002-03-19  André Pönitz <poenitz@gmx.net>
10498
10499         * lyxfunc.C: tiny whitespace change
10500
10501 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * ToolbarDefaults.C (init):
10504         * LyXAction.C (init):
10505         * commandtags.h:
10506         * BufferView_pimpl.C (Dispatch):
10507         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10508
10509 2002-03-19  Allan Rae  <rae@lyx.org>
10510
10511         * exporter.C (Export): removeAutoInsets before doing anything else.
10512         While I've just introduced a dependency on BufferView this really is
10513         the best place to clean the buffer otherwise you need to cleanup in
10514         a dozen places before calling export or cleanup in a dozen functions
10515         that export calls.
10516
10517         * converter.C (runLaTeX):
10518         (scanLog): Better handling of removeAutoInsets and screen updates.
10519
10520         * lyxfunc.C (dispatch): small whitespace changes
10521
10522 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * WorkArea.C (C_WorkAreaEvent): return a value.
10525         (event_cb): return 1 if we handled the event, 0 otherwise.
10526
10527         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10528
10529 2002-03-18  Juergen Vigna  <jug@sad.it>
10530
10531         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10532         (GetAdditionalWidth): ditto.
10533         (RightLine): ditto.
10534         (LeftLine): ditto.
10535
10536         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10537         inset if we're there actually (probably not used right now but this
10538         is the direction to go for unifying code).
10539         (paste): disable code to clear the selection.
10540
10541         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10542         inside an InsetText and move the check further up as it is in the
10543         wrong place.
10544
10545         * text2.C (pasteSelection): set a selection over the pasted text.
10546
10547 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10548
10549         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10550         and libgraphics to build on Cygwin.
10551
10552 2002-03-15  Juergen Vigna  <jug@sad.it>
10553
10554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10555         inserting an Inset into the paragraph. I know this is not the best
10556         fix but we already use current_view in CutAndPaste so we will remove
10557         all of it's using at the same time.
10558
10559         * buffer.C (sgmlError): deactivated function till it is rewritten in
10560         the right mode, now it can create problems.
10561
10562         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10563         before accessing it.
10564
10565 2002-03-14  Juergen Vigna  <jug@sad.it>
10566
10567         * undo_funcs.C (textHandleUndo): do the right thing when updating
10568         the inset after the undo/redo.
10569
10570         * text2.C (setCursor): just some testcode for #44 not ready yet.
10571
10572         * undo_funcs.C (textHandleUndo): set the next() and previous()
10573         pointers of the paragraph to 0 before deleting otherwise we have
10574         problems with the Paragraph::[destructor].
10575
10576         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10577         on a paragraph insertion.
10578
10579 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * buffer.C (asciiParagraph): use += operator for char append to
10582         string.
10583
10584         * paragraph.C (getFontSettings): compare >= not just >
10585         (highestFontInRange): ditto
10586         (setFont): ditto
10587
10588 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * paragraph.C: change several algorithm to be more appripriate for
10591         the problem domain. This is lookip in FontList and in the InsetList.
10592
10593 2002-03-13  André Pönitz <poenitz@gmx.net>
10594
10595         * commandtags.h:
10596         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10597
10598 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * commandtags.h:
10601         * LyXAction.C:
10602         * lyxfunc.C:
10603         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10604
10605 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * Painter.C (display): anon helper function, adjust code for this
10608         change.
10609         (pixmap): remove function.
10610
10611         * Painter.h: remove private display variable.
10612
10613         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10614
10615 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10616
10617         * WorkArea.[Ch]: remove figinset_canvas cruft.
10618
10619 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * lyxtextclass.C (operator): add one item cache optimization.
10622
10623         * bufferlist.h: doxy changes
10624
10625         * bufferlist.C: ws changes
10626
10627         * DepTable.[Ch] (ext_exist): place const in the right spot.
10628
10629         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10630         call resizeInsets.
10631         (workAreaExpose): call resizeInsets when the with BufferView changes.
10632         (Dispatch): adjust for protectedBlank removal
10633         (specialChar): call updateInset if the insert went ok.
10634
10635         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10636         specialChar instead.
10637
10638         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10639
10640         * BufferView.h: doxy change
10641
10642         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10643
10644         * lyxtextclass.C (operator[]): remove non-const version
10645         (defaultLayout): remove non-const version
10646
10647 2002-03-12  Juergen Vigna  <jug@sad.it>
10648
10649         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10650         did resize the LyXText too.
10651
10652         * buffer.C (readLyXformat2): set layout information on newly allocated
10653         paragraphs.
10654
10655         * tabular.C (OldFormatRead): set layout information on the paragraph.
10656
10657 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10658
10659         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10660
10661 2002-03-11  Juergen Vigna  <jug@sad.it>
10662
10663         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10664         plainly wrong.
10665         (resizeCurrentBuffer): force also the insets to resize themselfes.
10666         (moveCursorUpdate): fixed up for InsetText.
10667
10668 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10669
10670         * commandtags.h:
10671         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10672         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10673         value of Dialogs::tooltipsEnabled().
10674         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10675
10676 2002-03-08  Juergen Vigna  <jug@sad.it>
10677
10678         * BufferView_pimpl.C (updateInset): update inset inside inset also
10679         if it isn't inside theLockingInset().
10680
10681 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * buffer.C (asciiParagraph): redo some of the word and line length
10684         handling.
10685         (getLists): look for Caption instead of caption.
10686
10687 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10688
10689         * buffer.C (Buffer): initialize niceFile to true
10690         (makeLaTeXFile):
10691         (makeLinuxDocFile):
10692         (makeDocBookFile): make sure niceFile is true on exit
10693
10694 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10697
10698 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10699
10700         * LyXSendto.C: remove.
10701         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10702         * lyx_gui.C: remove now-redundant comment.
10703         * ColorHandler.h: remove forward declaration of class WorkArea.
10704         * lyxfunc.C: remove #include "WorkArea.h".
10705
10706 2002-03-07  Juergen Vigna  <jug@sad.it>
10707
10708         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10709         got moved away with the DEPM and also set the inset_owner always
10710         right which before could have been omitted.
10711
10712 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10713
10714         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10715         wanted layout is not found.
10716
10717 2002-03-07  Juergen Vigna  <jug@sad.it>
10718
10719         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10720
10721 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * paragraph.C (breakParagraph): use default layout not layout of
10724         prev paragraph.
10725         (Paragraph): clear ParagraphParameters.
10726
10727 2002-03-06  Juergen Vigna  <jug@sad.it>
10728
10729         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10730         otherwise it would not be a valid lenght. Fixed a special case in
10731         the minipage compatibility read where we end the document with a
10732         minipage.
10733
10734         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10735         was set as it could be 0 for InsetTexts first entry.
10736
10737 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * paragraph.C (writeFile): if layout is empty write out
10740         defaultLayoutName().
10741
10742         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10743         file without named layout we set layout to defaultLayoutName().
10744
10745 2002-03-06  Juergen Vigna  <jug@sad.it>
10746
10747         * CutAndPaste.C (copySelection): set layout for new paragraph.
10748
10749         * text.C (prepareToPrint): leave ERT inset left aligned
10750         (leftMargin): don't indent paragraphs inside ERT insets
10751
10752 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * paragraph.C (breakParagraph): dont call clear do the work manually
10755
10756         * paragraph.[Ch] (clear): remove function
10757
10758 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * paragraph.C (Paragraph): dont call clear, the work has already
10761         been done.
10762
10763         * lyxtextclass.C (operator): assert if n is empty
10764
10765         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10766         work manually instead.
10767
10768 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * BufferView_pimpl.C: protect selectionLost against text == 0
10771
10772 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10773
10774         * text.C (breakParagraph): fix a setting layout to '0' problem.
10775
10776 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10777
10778         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10779         final location of file, for the included files, and graphics.
10780
10781 2002-03-05  Juergen Vigna  <jug@sad.it>
10782
10783         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10784
10785 2002-03-04  Juergen Vigna  <jug@sad.it>
10786
10787         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10788
10789         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10790         last column of multicolumn cells.
10791         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10792
10793 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10794
10795         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10796         file if it doesn't go to a temporary file.
10797
10798         * buffer.C (sgmlOpenTag):
10799         (sgmlCloseTag):  remove extra newline insertion.
10800
10801 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10802
10803         * text.C (getRowNearY): comment out debug msg
10804
10805 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * text2.C: first -> first_y
10808
10809         * text.C (getRowNearY): add some attemts at a possible
10810         optimization, not working.
10811
10812         * tabular.[Ch]: add BufferParams to several function so that newly
10813         created paragraph can be initialized to he default layotu for the
10814         buffers textclass.
10815
10816         * tabular-old.C (ReadOld): add buf->params to call of Init
10817
10818         * screen.C: rename text->first to text->first_y
10819
10820         * paragraph.C (breakParagraph): always set layout in the broken
10821         paragraph
10822
10823         * lyxtextclass.C (Read): remove lowercase
10824         (hasLayout): ditto
10825         (operator): ditto
10826         (delete_layout): ditto
10827
10828         * lyxtext.h: rename first -> first_y
10829
10830         * lyxlayout.C (Read): remove lowercase
10831         (name): ditto
10832         (setName): ditto
10833         (obsoleted_by): ditto
10834
10835         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10836
10837         * buffer.C (insertErtContents): add params are to InsetERT
10838         (parseSingleLyXformat2Token): add code to check if a paragraphs
10839         layout really exist.
10840         (parseSingleLyXformat2Token): add params to several inset
10841         constructors
10842         (asciiParagraph): remove lowercase, do the layout comparisons with
10843         no_case
10844
10845         * BufferView_pimpl.C (cursorNext): first -> first_y
10846         (resizeCurrentBuffer): first -> first_y
10847         (updateScrollbar): first -> first_y
10848         (scrollCB): first -> first_y
10849         (workAreaMotionNotify): first -> first_y
10850         (workAreaButtonPress): first -> first_y
10851         (checkInsetHit): first -> first_y
10852         (cursorPrevious): first -> first_y
10853         (cursorNext): first -> first_y
10854         (Dispatch): add buffer_->params to severl inset contructors
10855
10856 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * lyxlayout.C (Read): remove some debug info that I forgot.
10859
10860         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10861         clean up the code slightly.
10862         (makeLinuxDocFile): ditto
10863         (makeDocBookFile): ditto
10864
10865         * text2.C: layout as string
10866
10867         * text.C: layout as string
10868
10869         * paragraph_pimpl.C: layout as string
10870
10871         * paragraph.[Ch]: layout as string
10872
10873         * lyxtextclasslist.[Ch]: layout as string
10874
10875         * lyxtextclass.[Ch]: layout as string
10876
10877         * lyxtext.h: layout as string
10878
10879         * lyxlayout.[Ch]: layout as string
10880
10881         * lyx_cb.C: layout as string
10882
10883         * bufferview_funcs.C: layout as string
10884
10885         * bufferparams.C: layout as string
10886
10887         * buffer.C: layout as string
10888
10889         * LyXView.[Ch]: layout as string
10890
10891         * LaTeXFeatures.[Ch]: layout as string
10892
10893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10894
10895         * BufferView_pimpl.C: change current_layout to string, remove
10896         lyx::layout_type.
10897         (Dispatch):
10898         (smartQuote):
10899         (insertInset):
10900         (workAreaButtonRelease): layout as string
10901
10902         * BufferView2.C (unlockInset): adjust
10903
10904         * vspace.C (asLatexCommand): use an explict temp variable.
10905
10906 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * Makefile.am: use FRONTEND_*
10909
10910 2002-03-01  Juergen Vigna  <jug@sad.it>
10911
10912         * tabular.C (SetWidthOfMulticolCell): changed to something better
10913         I hope but still work in progress.
10914         (recalculateMulticolumnsOfColumn): renamed function from
10915         recalculateMulticolCells as it is more appropriate now.
10916         (SetWidthOfCell): calculate multicols better.
10917
10918 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10921
10922         * lyxfunc.C (processKeySym): print sequence also if it is
10923         `deleted' (complete)
10924
10925         * kbsequence.C (print): print sequence even if it is deleted
10926         (complete would be a better word, actually).
10927
10928         * lyxfunc.C (dispatch): print complete options after a prefix key
10929
10930         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10931
10932 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10933
10934         * text2.C (setCharFont): eliminate setCharFont code duplication.
10935
10936 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10939         LFUN_TABULAR_FEATURE (bug #177)
10940
10941 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10942
10943         * Makefile.am: remove figure.h
10944
10945 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * Bufferview_pimpl.C:
10948         * CutAndPasteC:
10949         * LaTeX.C:
10950         * LyXSendto.C:
10951         * buffer.C:
10952         * bufferlist.C:
10953         * converter.C:
10954         * language.C:
10955         * lyxfunc.C:
10956         * lyxvc.C:
10957         * paragraph.C:
10958         * text.C:
10959         * text2.C: remove #include "lyx_gui_misc.h".
10960
10961         * LaTeX.C: added #include <cstdio>
10962
10963 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10966         that the paragraph following this one can have.
10967
10968         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10969
10970         * vspace.C (asLatexCommand): fix bogus gcc warning
10971
10972         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10973
10974 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10975
10976         * text2.C (setLayout): get rid of redundant code
10977
10978 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10979
10980         * text2.C (incDepth): make sure depth cannot be increased beyond
10981         reasonable values.
10982
10983 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10984
10985         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10986         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10987
10988         * PainterBase.h (image):
10989         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10990         a LyXImage const *.
10991
10992 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * BufferView.C:
10995         * BufferView.h:
10996         * BufferView_pimpl.C:
10997         * BufferView_pimpl.h:
10998         * LaTeXFeatures.C:
10999         * LyXAction.C:
11000         * LyXView.C:
11001         * Makefile.am:
11002         * UpdateList.h:
11003         * UpdateList.C:
11004         * buffer.C:
11005         * figure.h:
11006         * figureForm.C:
11007         * figureForm.h:
11008         * figure_form.C:
11009         * figure_form.h:
11010         * lyx_cb.C:
11011         * lyx_gui.C:
11012         * lyx_gui_misc.C:
11013         * lyxfunc.C:
11014         * sp_base.h:
11015         * sp_ispell.h:
11016         * sp_pspell.h:
11017         * sp_spell.C: remove fig inset, and the crap house of
11018           cards that follows it
11019
11020 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * Makefile.am:
11023         * lyxserver.C:
11024         * os2_defines.h:
11025         * os2_errortable.h:
11026         * nt_defines.h: move .h into support/
11027
11028         * vms_defines.h: remove
11029
11030         * WorkArea.C: add space in debug output
11031
11032         * text2.C:
11033         * paragraph.C:
11034         * buffer.C: add WITH_WARNINGS
11035
11036         * vc-backend.h:
11037         * vc-backend.C:
11038         * bufferlist.C: s/retrive/retrieve/, add docs
11039
11040         * vspace.h:
11041         * vspace.C:
11042         * kbmap.h:
11043         * lyxlength.h:
11044         * lyxgluelength.h:
11045         * length_common.h:
11046         * chset.h:
11047         * chset.C: add docs
11048
11049         * lyxgui.C: add ID to X error handler
11050
11051         * lyxtestclass.c: fix typo
11052
11053 2002-02-26  Juergen Vigna  <jug@sad.it>
11054
11055         * tabular_funcs.C (write_attribute): changed so that some default
11056         attributes are not written at all.
11057         (getTokenValue): set default values before trying to read the
11058         value so we have the return value always set as default if we don't
11059         find the token we search for.
11060
11061         * tabular.C (Write): write bools as bools not as strings!
11062
11063 2002-02-22  Juergen Vigna  <jug@sad.it>
11064
11065         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11066         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11067
11068         * text.C (leftMargin): don't add an indent for paragraphs inside
11069         tabular cells (fix #208).
11070
11071 2002-02-21  José Matos  <jamatos@fep.up.pt>
11072
11073         * tabular.C (docBook): fixed support for long tables.
11074
11075 2002-02-20  Juergen Vigna  <jug@sad.it>
11076
11077         * text2.C (getFont): get the drawing font of the Inset if this
11078         paragraph is inside an inset (only important for InsetERT for now).
11079
11080         * buffer.C (insertErtContents): use new lanugage params in ERT
11081         constructor.
11082
11083         * CutAndPaste.C: commenting out seemingly uneeded code.
11084
11085 2002-02-19  Allan Rae  <rae@lyx.org>
11086
11087         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11088         Iterators might be simple to use but they also get invalidated.
11089         (removeAutoInsets): renamed saved cursor tracking variables and added
11090         some comments to clarify what everything does.
11091
11092 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * Chktex.C:
11095         * LaTeX.C:
11096         * LyXSendto.C:
11097         * converter.C:
11098         * lyx_cb.C:
11099         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11100         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11101
11102         * lyxfunc.C:
11103         * vc-backend.h: remove #include "support/syscall.h"
11104
11105         * LaTeX.C:
11106         * LyXSendto.C:
11107         * converter.C: rearrange #includes in Lars' approved fashion.
11108
11109         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11110         forward declare class Timeout in the header file.
11111
11112         * XFormsView.C: changes due to the above.
11113
11114         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11115         similar to LyXView.
11116
11117         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11118         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11119
11120 2002-02-18  José Matos  <jamatos@fep.up.pt>
11121
11122         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11123         insets contents.
11124
11125 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11126
11127         * a lot of small ws changes
11128         * add a lot of using std::XXX
11129         * use std construcs some places where approp.
11130         * use some exisint stuff from lyxfunctional where approp.
11131         * Make file changes to use partial linking (lets test this now...)
11132
11133 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11134
11135         * Chktex.C:
11136         * buffer.C:
11137         remove #include "support/syscontr.h" as it's redundant. Always has been.
11138
11139         * Chktex.C:
11140         * LaTeX.C:
11141         * LyXSendto.C:
11142         * converter.C:
11143         * lyx_cb.C:
11144         * vc-backend.C:
11145         change Systemcalls::System to Systemcalls::Wait and
11146         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11147         No change of functionality, just reflects the stripped down Systemcalls
11148         class.
11149
11150 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11151
11152         * debug.[Ch]: add a GRAPHICS type to the enum.
11153
11154 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11155
11156         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11157
11158         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11159         there is an inset.
11160
11161 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11162
11163         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11164         match the changes below.
11165
11166         * text2.C (toggleInset): if there is not editable inset at cursor
11167         position, try to see if cursor is _inside_ a collapsable inset
11168         and close it.
11169
11170 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11171
11172         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11173         document menu has a nice checkbox
11174
11175 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * lyxlength.C (asLatexString): change PW to output as percent of
11178         \textwidth.
11179
11180         * lengthcommon.C: change '%' to 't%'
11181
11182         * lyxfunc.C (dispatch): a few comments from Martin
11183
11184 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * WorkArea.h:
11187         * WorkArea.C:
11188         * BufferView_pimpl.h:
11189         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11190           the X selection.
11191
11192 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * vspace.C (inPixels): fix compiler warning
11195
11196 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * lyxfunc.C (getStatus): fix status message for disabled commands.
11199
11200 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * BufferView_pimpl.C: fix crash on close buffer
11203         during selection (#227)
11204
11205 2002-01-27  Herbert Voss  <voss@lyx.org>
11206
11207         * buffer.C: link old Figure to new graphic inset
11208
11209 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11210
11211         * FontLoader.C (getFontinfo): Change the latex font names in order
11212         to match the names of type1inst.
11213
11214 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11215
11216         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11217
11218         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11219         (extchanged): ditto
11220         (ext_exist): ditto
11221         (remove_files_with_extension): ditto
11222         (remove_file): ditto
11223         (write): ditto
11224
11225         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11226         document is smaller than the work area height. Do not initialize
11227         static variables to 0.
11228
11229 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11232
11233         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11234         LFUN_LAYOUT_PARAGRAPHS.
11235
11236         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11237         tabular. It is possible to provide a possible cell, which will
11238         typically be the actcell from the corresponding insettabular
11239
11240         * lyxfunc.C (getStatus): small cleanup; disable
11241         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11242         true
11243
11244 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11247
11248         * paragraph.C (startTeXParParams):
11249         (endTeXParParams): new methods. The LaTeX code to
11250         start/end paragraph formatting
11251         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11252         empty (fixes bug #200)
11253
11254         * vspace.C (inPixels): adapt to the change below
11255         (inPixels): [later] more cleanups (remove unused variables)
11256
11257         * lyxlength.C (inPixels): change to use a width and a height as
11258         parameter.
11259
11260 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11263         Replaced with \paperwidth
11264
11265         * DepTable.C (insert): add std:: qualifier
11266
11267 2002-01-18  Allan Rae  <rae@lyx.org>
11268
11269         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11270         updated also?
11271
11272         * text.C (drawInset): Turned out I didn't know enough about how
11273         rebreaking worked.  This fixes most of the redraw problems.  I see
11274         an occasional cursor trail when a line is broken now and the cursor
11275         placement can seem out by a few pixels also after a rebreak.
11276
11277 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11278
11279         * buffer.C (parseSingleLyXformat2Token): update because minipage
11280         width is now a LyXLength
11281
11282         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11283
11284         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11285         math insets
11286
11287 2002-01-17  Juergen Vigna  <jug@sad.it>
11288
11289         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11290
11291         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11292         is set correctly and the inset is updated correctly.
11293
11294 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11297         the beginning of the loop.
11298
11299 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * lyxrc.C: improve help for use_scalable_fonts
11302
11303 2002-01-17  Allan Rae  <rae@lyx.org>
11304
11305         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11306
11307 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11310         make sure to set their inset_owner to the right value (bug #171)
11311
11312 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11313
11314         * DepTable.h
11315         * DepTable.C: Implement mtime checking to reduce time spent doing
11316         CRCs.
11317
11318 2002-01-16  Juergen Vigna  <jug@sad.it>
11319
11320         * tabular.C (GetAdditionalHeight): one of error fixed.
11321
11322         * lyxrc.C (output): small fix in writing use_pspell.
11323
11324 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * sp_base.h: #include LString.h
11327
11328 2002-01-16  Allan Rae  <rae@lyx.org>
11329
11330         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11331         Can someone check this please?
11332
11333         * text.C (drawInset): It was possible that p.row would be removed by
11334         breakAgainOneRow upsetting a few other settings.  There may be another
11335         small tweak possible by setting need_break_row = 0 when p.row has been
11336         removed but I don't know enough about the logic here.
11337
11338 2002-01-15  Allan Rae  <rae@lyx.org>
11339
11340         * text.C (insertChar): removed conditional truism.
11341
11342         * BufferView2.C (removeAutoInsets): More tweaks.
11343         cur_par_prev could be a stray pointer.  Check for trailing empty line
11344         in case last line was cur_par and only had an error inset on it.
11345
11346 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11349         absolute
11350
11351         * vc-backend.C (most methods):
11352         * exporter.C (Export):
11353         * converter.C (convert):
11354         (runLaTeX):
11355         * LyXSendto.C (SendtoApplyCB):
11356         * lyxfunc.C (dispatch):
11357         (menuNew):
11358         (open):
11359         (doImport):
11360         * lyx_cb.C (AutoSave):
11361         (InsertAsciiFile):
11362         * BufferView_pimpl.C (MenuInsertLyXFile):
11363         * buffer.C (runChktex): use Buffer::filePath().
11364
11365         * buffer.h: rename filename to filename_; rename filepath to
11366         filepath_ and make it private
11367         (filePath): new method
11368
11369         * buffer.C (writeFile): use fileName()
11370         (getLatexName):
11371
11372         * lyx_main.C (init): fix starting  of LyX when the binary is a
11373         link from so,ewhere else.
11374
11375         * minibuffer.C: include <cctype> for isprint
11376
11377 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11378
11379         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11380         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11381         name clash with InsetCollapsable's width function.
11382
11383 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * lastfiles.C: include <iterator>
11386
11387 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11390         std::count.
11391
11392         * buffer.C (makeLaTeXFile): ditto.
11393         Also make loop operation more transparent.
11394
11395 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11396
11397         * ToolbarDefaults.C: remove trailing comma closing namespace.
11398
11399         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11400
11401         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11402         as in WorkArea.
11403
11404         * trans.C (Load): comment out unused variable, allowed.
11405
11406 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11407
11408         * minibuffer.[Ch] (append_char): new method to recieve input from the
11409         drop-down completion browser. If a key was pressed, then recieve this
11410         char and append it to the existing string.
11411         (peek_event): modify the positioning data passed to the completion
11412         browser so that it can be placed above the minibuffer rather than below.
11413 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * LyXAction.C (init): alloe error-next for readonly documents.
11416
11417         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11418         count.
11419
11420 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * bufferlist.C (readFile): create the buffer _after_ checking that
11423         the file exists.
11424
11425         * lyxfunc.C (verboseDispatch): fix handling of arguments
11426
11427         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11428
11429         * lyxrc.C: use string::erase() instead of initializing to "".
11430
11431
11432 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView_pimpl.h:
11435         * BufferView_pimpl.C:
11436         * WorkArea.h:
11437         * WorkArea.C:
11438         * text2.C: tell X when we have made a selection for copying
11439
11440 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * BufferView_pimpl.C (MenuInsertLyXFile):
11443         * lyxfunc.C (menuNew):
11444         (open):
11445         (doImport): add shortcuts to directory buttons
11446
11447         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11448         open a float)
11449
11450         * lyxfunc.C (setStatusMessage):
11451         (getStatusMessage): new methods
11452         (getStatus):use setStatusMessage instead of setErrorMessage
11453         (dispatch): when function is disabled, set error message here
11454         [instead of in getStatus previously]
11455
11456         * BufferView_pimpl.C (workAreaButtonRelease): update
11457         toolbar/menubar here too.
11458
11459 2002-01-13  Allan Rae  <rae@lyx.org>
11460
11461         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11462         Now seems indestructible.  Remaining task is to audit all other
11463         code affected by deleteEmptyParagraphMechanism.  One small quirk
11464         left is that an empty document with an error in the preamble can
11465         be made to report an error but no error box appears.  I don't know
11466         where it goes.
11467         (removeAutoInsets): Improved comments.
11468
11469 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * Thesaurus.h:
11472         * Thesaurus.C: update for Aiksaurus 0.14
11473
11474 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * text2.C (firstParagraph): removed member function, all uses
11477         replaces with ownerParagraph
11478         (redoParagraphs): here
11479         (updateInset): here
11480         (toggleAppendix): here
11481         * BufferView2.C (insertErrors): here
11482         (setCursorFromRow): here
11483
11484 2002-01-13  Allan Rae  <rae@lyx.org>
11485
11486         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11487         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11488         There is still a way to segfault this although you may have to do this
11489         multiple times: Have an InsetERT with an unknown command in it.
11490         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11491         <down-arrow>, <Enter> again, View->DVI, BANG!
11492
11493         * text2.C (setCursor):
11494         (deleteEmptyParagraphMechanism):
11495         * lyxtext.h (setCursor):
11496         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11497         Making use of the return value may help fix other bugs.
11498
11499 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11502
11503         * LyXView.C (updateMenubar): call MenuBar::update here
11504         (updateToolbar): but not here
11505         (showState): do not update toolbar/menubar
11506
11507         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11508         should need to care about that.
11509
11510         * lyxfunc.C (verboseDispatch): simplify a bit
11511         (getStatus): have a version which takes a pseudoaction, and
11512         another which requires a (kb_action,string).
11513
11514         * LyXAction.C (retrieveActionArg): make it work also when action
11515         is not a pseudo-action.
11516         (getActionName): simplify a bit
11517         (helpText):
11518
11519 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * lyxfunc.C (verboseDispatch): new families of methods with
11522         several ways to specify a command and a bool to indicate whether
11523         the command name and shortcut should be displayed in minibuffer
11524         (eventually, we could extend that to a finer bitmask like
11525         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11526         (dispatch): the pristine dispatch command which just, well,
11527         dispatchs! Note it still sets its result to minibuffer; I'm not
11528         sure we want that.
11529
11530         * lyxfunc.h: remove setHintMessage
11531
11532         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11533
11534 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11535
11536         * BufferView_pimpl.C (specialChar): delete new inset if we have
11537         not been able to insert it.
11538
11539         * kbmap.C: revert to using int instead of kb_action, since all we
11540         are dealing with is pseudo-actions.
11541
11542         * LyXAction.C (searchActionArg): change to return int instead of
11543         kb_action, since the result is a pseudoaction.
11544
11545 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11546
11547         * buffer.C (insertErtContents): Fix (partially) the font bug.
11548
11549 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11550
11551         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11552         as the other one is broken on my machine!
11553
11554 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11555
11556         * commandtags.h:
11557         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11558
11559 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11560
11561         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11562         reflect their actual use. Provide compatibility code for older lyxrc
11563         files.
11564
11565         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11566         FL_NORMAL_STYLE.
11567         change names of popup font variables in line with the changes to lyxrc.C
11568
11569 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11570
11571         * buffer.C (asciiParagraph): avoid outputing a word twice after
11572         an inset.
11573
11574         * lyxrc.C (getDescription): document that document_path and
11575         template_path can be empty.
11576
11577 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * LaTeXFeatures.C (getMacros):
11580         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11581
11582         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11583
11584         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11585         getPackages.
11586         (getPackages): rename feature "floats" to "float". Use an array to
11587         iterate over 'simple' features (i.e. just a \usepackage). Add
11588         handling of "amsmath" (renamed from "amsstyle").
11589
11590 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11591
11592         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11593         features list.
11594
11595 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11596
11597         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11598         FuncStaus::FuncStatus & FuncStaus::some_method().
11599
11600 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11601
11602         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11603         of the func_satus stuff. Edited and massaged in various ways by
11604         JMarc.
11605
11606         * lyxfunc.C (getStatus): use FuncStatus
11607
11608 2002-01-08  Juergen Vigna  <jug@sad.it>
11609
11610         * text.C (nextBreakPoint): use function Inset::isChar().
11611
11612         * paragraph.C (TeXOnePar): use function
11613         Inset::forceDefaultParagraphs.
11614
11615         * buffer.C (latexParagraphs): use function
11616         Inset::forceDefaultParagraphs.
11617
11618 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11619
11620         * lyx_gui.C (init): set the style of the menu popups to
11621         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11622
11623 2002-01-07  Juergen Vigna  <jug@sad.it>
11624
11625         * text.C (setHeightOfRow): small fix
11626         (prepareToPrint): don't look at alignment if we don't have the place
11627         for doing it.
11628
11629 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11630
11631         * box.C: New file. Move the Box methods and functions out of box.h,
11632         following Lars' suggestion.
11633
11634 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11635
11636         * box.h: #include "support/LOstream.h", needed for inlined function.
11637
11638         * lyxtextclass.C:
11639         * lyxtextclasslist.C: added some using std declarations.
11640
11641 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * box.h: make signed dimensions to allow insets wider than
11644           the screen (bug #162)
11645
11646         * BufferView_pimpl.C: add some insetHit debug
11647
11648 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * vc-backend.C: add FIXME
11651
11652 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653
11654         * lyxfunc.C (getStatus): enable code for showing math font status
11655         in toolbar/menu.
11656
11657 2002-01-07  Juergen Vigna  <jug@sad.it>
11658
11659         * text.C (nextBreakPoint): removed debug output not needed anymore.
11660
11661 2002-01-06  Juergen Vigna  <jug@sad.it>
11662
11663         * text.C (nextBreakPoint): fixed up this function we had this bug
11664         since ever but now hopefully we break row better.
11665         (insertChar): we have to check if an inset is the next char as it
11666         could now happen that a large inset is causing a break.
11667
11668 2002-01-05  Juergen Vigna  <jug@sad.it>
11669
11670         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11671         if it doesn't like to be drawed.
11672
11673 2002-01-04  Juergen Vigna  <jug@sad.it>
11674
11675         * BufferView2.C (lockInset): forgot to set a cursor.
11676
11677         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11678
11679 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11680
11681         * FormMathsPanel.C:
11682         * FormMathsPanel.h
11683         * MathsSymbols.C:
11684         * form_maths_panel.C:
11685         * form_maths_panel.h:
11686         * form_maths_panel.fd: implemented sub- and super- buttons in math
11687         panel.
11688
11689         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11690         (or ^ space) to be used as in TeX (req'd by André).
11691
11692         * lyxfunc.C: Allow ^ and _ again to be used both as
11693         super/subscript (mathed) and as themselves (in text).
11694
11695 2002-01-03  Allan Rae  <rae@lyx.org>
11696
11697         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11698         "LyX" or the filename of the current buffer if it has one.  This is a
11699         modified form of John Levon's patch.
11700
11701         * XFormsView.C (setWindowTitle): also set icon title.
11702
11703         * LyXView.h (setWindowTitle): signature changed.
11704         * XFormsView.h (setWindowTitle): ditto.
11705
11706 2002-01-02  Juergen Vigna  <jug@sad.it>
11707
11708         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11709
11710 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11711
11712         * screen.C (topCursorVisible): introduce a temp var for
11713         text->cursor.row(), handle the case where this row is null. (kindo
11714         hachish)
11715
11716         * text2.C (setCursor): add a couple of asserts.
11717
11718         * paragraph.h (inset_iterator): add -> operator
11719
11720         * paragraph.[Ch] (autoDeleteInsets): remove member function
11721
11722         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11723         cursor pos correctly and handle inset deletion by itself.
11724         (insertErrors): move iterator declaration out of for expression
11725
11726         * lyxtextclass.C: add <algorithm>
11727
11728         * Makefile.am: added the new files to sources, removed layout.C
11729
11730         * layout.C: removed file
11731
11732         * layout.h: remove LYX_DUMMY_LAYOUT
11733
11734         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11735         layout.
11736
11737         * lyxlayout.[Ch]:
11738         * lyxtextclass.[Ch]:
11739         * lyxtextclasslist.[Ch]: new files
11740
11741         * include order changes to a lot of files, also changes because of
11742         the six new files.
11743
11744 2001-12-27  Juergen Vigna  <jug@sad.it>
11745
11746         * buffer.C (asciiParagraph): more fixes.
11747
11748         * tabular.C (ascii): make ascii export support export of only the
11749         data separated by a column-delimiter.
11750         (ascii): better support for ascii export.
11751
11752         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11753
11754 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * tabular_funcs.C: use a "using std::getline" instead of the
11757         previous fix from Angus (necessary for cxx + lyxstring)
11758
11759 2001-12-24  Juergen Vigna  <jug@sad.it>
11760
11761         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11762
11763         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11764         problems. First check a minipage also if we have some ert-contents
11765         (not only on par->size(), second set the right depth of the paragraph
11766         on the relink to the root-paragraph-list!
11767
11768         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11769         which then did not anymore update the main paragraphs on undo/redo!
11770
11771 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11772
11773         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11774         code. Support all font-changing funcs (even those which are not in
11775         menu currently). Support for reporting font settings in
11776         mathed (disabled until Andre provides a function on mathed's side).
11777
11778         * func_status.h (toggle): small helper function to set toggle
11779         state on a flag.
11780
11781 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11782
11783         * tabular_funcs.C: getline -> std::getline
11784
11785 2001-12-21  Juergen Vigna  <jug@sad.it>
11786
11787         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11788         accessed and could be 0 (I couldn't generate this but it seems
11789         Michael could!).
11790
11791 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11794         * tabular_funcs.h: here and include iosfwd
11795
11796 2001-12-20  Juergen Vigna  <jug@sad.it>
11797
11798         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11799         inside inset but undo_par was.
11800
11801 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802
11803         * Thesaurus.C: always include <config.h> in sources.
11804
11805         * Painter.h:
11806         * lyxlookup.h:
11807         * box.h: do not include <config.h> in header files
11808
11809         * text.C (paintLastRow): remove unused variable
11810
11811         * text.C (transformChar):
11812         (insertChar):
11813         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11814
11815         * Painter.C (text):
11816         * font.C (width): rewrite to use uppercase() instead of
11817         islower/toupper.
11818
11819         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11820
11821 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyxfind.C: clean up of find failure position change
11824
11825 2001-12-20  Juergen Vigna  <jug@sad.it>
11826
11827         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11828
11829         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11830         (TeXRow): added to LaTeX a single tabular row.
11831         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11832         (Latex): simplified and finally good LT-h/f support.
11833         (various_functions): just small adaptions for LT-h/f support.
11834
11835         * tabular_funcs.[hC]: added and moved here all not classfunctions
11836         of LyXTabular.
11837
11838 2001-12-19  Juergen Vigna  <jug@sad.it>
11839
11840         * tabular.[Ch]: better support for longtabular options (not finished
11841         yet!)
11842
11843 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11844
11845         * text.C (paintLastRow): use the label font instead of the font of
11846         the last character to compute the size of *_BOX. This makes more
11847         sense and avoids a crash with empty paragraphs.
11848         Use Painter::rectangle to draw EMPTY_BOX.
11849
11850 2001-12-19  Juergen Vigna  <jug@sad.it>
11851
11852         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11853         the paragraphs if the replaced paragraph is not the first one!
11854         Tried to delete not used paragraphs but does not work yet so for
11855         now it's inside #ifdef's and by default off!
11856
11857 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * MenuBackend.C: include "lyx_main.h" instead of declaring
11860         lastfiles (actually was declared as LastFiles* instead of a
11861         scoped_ptr).
11862
11863 2001-12-17  Juergen Vigna  <jug@sad.it>
11864
11865         * tabular.C (AppendColumn): applied John's fix
11866
11867 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * BufferView.h:
11870         * BufferView.C:
11871         * BufferView_pimpl.h:
11872         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11873
11874         * Makefile.am:
11875         * box.h: new start of class for above
11876
11877         * lyxfunc.C: ignore space-only minibuffer dispatches.
11878           Show the command name when it doesn't exist
11879
11880         * minibuffer.C: don't add empty lines to the history
11881
11882         * minibuffer.C: add a space on dropdown completion
11883
11884 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * text.C: fix line above/below drawing in insets
11887
11888 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * lyxlength.C (LyXLength): Initialize private variables.
11891
11892 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11895         when inserting error insets.
11896
11897 2001-12-13  Juergen Vigna  <jug@sad.it>
11898
11899         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11900         actually sometimes the before-paragraph.
11901         (setUndo): don't clear the redostack if we're not actually undoing!
11902
11903 2001-12-06  Juergen Vigna  <jug@sad.it>
11904
11905         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11906         and fixed redoing of main paragraph, so we can use it now ;)
11907
11908         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11909
11910 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11913         Juergen's request
11914
11915 2001-12-13  André Pönitz <poenitz@gmx.net>
11916
11917         * undostack.[Ch]:
11918         * undo_func.C: minor cleanup
11919
11920 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11923         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11924         font in urw-fonts package which is marked as -urw-fontspecific and
11925         does not work (incidentally, changing the encoding in the
11926         fonts.dir of this package to -adobe-fontspecific fixes the
11927         problem).
11928
11929         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11930         is a crash when undoing first paragraph (Juergen, please take a
11931         look). THis does not mean the undo fix is wrong, just that it
11932         uncovers problems.
11933
11934         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11935         the (Paragraph*) version when needed instead of duplicating the
11936         code.
11937
11938         * text.C (workWidth): use Inset::parOwner to find out where the
11939         inset has been inserted. This is a huge performance gain for large
11940         documents with lots of insets. If Inset::parOwner is not set, fall
11941         back on the brute force method
11942
11943         * paragraph_pimpl.C (insertInset):
11944         * paragraph.C (Paragraph):
11945         (cutIntoMinibuffer): set parOwner of insets when
11946         inserting/removing them
11947
11948         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11949
11950 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11951
11952         * commandtags.h:
11953         * LyXAction.C:
11954         * lyx_main.C:
11955         * lyxfunc.C:
11956         * mathed/formulabase.C:
11957         * mathed/math_cursor.[Ch]:
11958         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11959
11960
11961 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * lyxlength.[Ch] (operator!=): new function
11964
11965 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * text.C (workWidth): use Inset::parOwner to find out where the
11968         inset has been inserted. This is a huge performance gain for large
11969         documents with lots of insets. If Inset::parOwner is not set, fall
11970         back on the brute force method
11971
11972         * paragraph_pimpl.C (insertInset):
11973         * paragraph.C (Paragraph):
11974         (cutIntoMinibuffer): set parOwner of insets when
11975         inserting/removing them
11976
11977         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11978
11979 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * tabular-old.C (getTokenValue):
11982         * tabular.C (getTokenValue):
11983         (write_attribute): new versions for LyXLength
11984         (everywhere): adjust the use of widths
11985
11986         * tabular.h: change the type of widths from string to LyXLength
11987
11988 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11989
11990         * paragraph.C: fixed missing line number count when exporting
11991         Environments to LaTeX file
11992
11993         * buffer.C: added informational message for checking line numbers.
11994
11995 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11996
11997         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11998         paragraph, do the 'double space' part, but not the 'empty
11999         paragraph' one.
12000
12001         * text.C (workWidth): small optimization
12002         (getLengthMarkerHeight): use minimal size for negative lengths.
12003
12004 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12007
12008         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12009
12010 2001-12-11  André Pönitz <poenitz@gmx.net>
12011
12012         * FontLoader.C:
12013         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12014
12015 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * text2.C: keep selection on a setFont()
12018
12019 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * lyx_cb.C: another bv->text misuse, from insert label
12022
12023 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * kbsequence.h:
12026         * kbsequence.C: re-instate nmodifier mask
12027
12028 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * lyx_main.h: make lyxGUI private.
12031
12032 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * lyxfind.C: place the cursor correctly on failed search
12035
12036 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * text.C (getLengthMarkerHeight): for small heights, the arrows
12039         are not always on top/bottom of the text
12040         (drawLengthMarker): smaller arrows; take the left margin in
12041         account; draw also vfills.
12042         (paintFirstRow):
12043         (paintLastRow): remove special code for vfill and standard spaces,
12044         since everything is handled in drawLengthMarker now.
12045
12046 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * buffer.C (insertErtContents): try to handle font and language
12049         interaction a bit better.g
12050
12051         * ColorHandler.C (updateColor): change the hash to cover the whole
12052         LColor enum, ws cleanup
12053         (getGCLinepars): ditto
12054         (getGCLinepars): only lookup in the linecache once.
12055
12056 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12057
12058         * iterators.C (operator++): Make the iterator more robust
12059
12060         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12061         (John's patch)
12062         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12063
12064 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * lyxtext.h:
12067         * text.C: better added space drawing
12068
12069 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * LyXView.C:
12072         * BufferView2.C: fix layout combo update on inset unlock
12073
12074 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * Makefile.am: don't compile unused files
12077
12078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * lyxfunc.C:
12081         * commandtags.h:
12082         * LyXAction.C: remove old LFUN_LAYOUTNO
12083
12084 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * paragraph_pimpl.h:
12087         * paragraph_pimpl.C: isTextAt() doesn't need font param
12088
12089 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * lyxlex.h:
12092         * lyxlex.C: little cleanup
12093
12094 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView_pimpl.C: fix insertAscii for insets
12097
12098 2001-12-05  Juergen Vigna  <jug@sad.it>
12099
12100         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12101         set the right font on the "multi" paragraph paste!
12102
12103 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * trans_decl.h:
12106         * trans_mgr.[Ch]:
12107         * trans.[Ch]:
12108         * lyxgluelength.C:
12109         * lyxlength.C: remove out-commented code.
12110
12111         * BufferView_pimpl:
12112         * CutAndPaste.C:
12113         * DepTable.C:
12114         * buffer.C:
12115         * chset.C:
12116         * lastfiles.C:
12117         * lyxlex.C:
12118         * lyxlex_pimpl.C:
12119         * lyxserver.C:
12120         * screen.C:
12121         * tabular-old.C:
12122         * tabular.C:
12123         * text.C:
12124         * trans_mgr.C:
12125         * vc-backend.C: change "while(" to "while ("
12126
12127         * lyxlength.[Ch]: add zero function to check if length is zero or
12128         not
12129         * lyxgluelength.C: use it
12130
12131 2001-12-05  Allan Rae  <rae@lyx.org>
12132
12133         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12134         Works for 2.95.3, from what I understand of Garst's reports this should
12135         work for other g++ versions.  We're screwed if the abs(int) definition
12136         changed between bugfix releases of gcc.
12137
12138 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * text.C: fix chapter label offset !
12141
12142 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * lyxtext.h:
12145         * text.C: fix hfill at end of line, clean up
12146
12147 2001-12-04  Juergen Vigna  <jug@sad.it>
12148
12149         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12150         that we force an update of the inset and it's owners if neccessary.
12151
12152 2001-12-03  Juergen Vigna  <jug@sad.it>
12153
12154         * text.C (rowLast): simplified code
12155
12156 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyxfunc.C: fix show options on timeout
12159
12160 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * screen.C (topCursorVisible): scroll half a page when the cursor
12163         reached top of bottom of screen
12164
12165 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * minibuffer.C: deactivate on loss of focus
12168
12169 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * vspace.[Ch] (operator!=): add operator.
12172
12173 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * BufferView_pimpl.C: refuse to open an inset when
12176         there's a selection.
12177
12178 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * BufferView_pimpl.C: allow to click on RHS of full row insets
12181
12182 2001-11-30  Juergen Vigna  <jug@sad.it>
12183
12184         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12185         insets for undo reasons.
12186
12187 2001-11-28  André Pönitz <poenitz@gmx.net>
12188
12189         * vspace.[Ch]: cosmetical changes
12190
12191 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * LyXAction.h:
12194         * LyXAction.C:
12195         * lyxfunc.h:
12196         * lyxfunc.C:
12197         * kbmap.h:
12198         * kbmap.C:
12199         * lyxrc.C:
12200         * kbsequence.h:
12201         * kbsequence.C: part re-write of old kb code
12202
12203         * Painter.C:
12204         * WorkArea.C: remove Lgb_bug_find_hack
12205
12206 2001-11-30  José Matos <jamatos@fep.up.pt>
12207
12208         * buffer.C (makeDocBookFile): add a comment to point a hack.
12209         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12210         Fixed a double write of labels.
12211
12212 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12213
12214         * LaTeX.C:
12215         * LaTeX.h Fixed bug in LaTeX class where it would not
12216         re-run latex if no depfiles were changed, but the .dvi was removed.
12217
12218 2001-11-28  André Pönitz <poenitz@gmx.net>
12219
12220         * all the files from the change on 2001/11/26:
12221         use lyx::layout_type instead of LyXTextClass::size_type
12222         use lyx::textclass_type instead of LyXTextClassList::size_type
12223
12224 2001-11-29  Juergen Vigna  <jug@sad.it>
12225
12226         * text.C: added support for paragraph::isFreeSpacing()
12227
12228         * buffer.C: same as above
12229
12230         * paragraph.h: inserted isFreeSpacing() function to enable
12231         FreeSpacing inside InsetERT.
12232
12233         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12234         of the paragraph's in the cut/copy buffer to 0!
12235
12236         * text2.C (removeRow): remove the assert as it can!
12237
12238         * lyxtext.h: added helper function firstRow returning firstrow and
12239         made firstrow private again.
12240
12241         * BufferView2.C (lockInset): don't relock if we're already locked!
12242
12243         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12244         the only paragraph.
12245         (removeRow): added Assert::(firstrow)
12246
12247         * debug.C: forgot to add INSETTEXT here.
12248
12249 2001-11-28  Juergen Vigna  <jug@sad.it>
12250
12251         * sp_spell.C (initialize): changed error text to more general
12252         spellchecker command use (not only ispell!)
12253
12254         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12255
12256         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12257
12258 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * vspace.C: initialise lyxgluelength on failure
12261
12262 2001-11-28  Allan Rae  <rae@lyx.org>
12263
12264         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12265         declaration & definition that looks like a function declaration.
12266
12267 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * BufferView2.C (copy):
12270         (copyEnvironment): do not clear the selection when doing a copy.
12271
12272         * text.C (paintFirstRow): compilation fix
12273
12274 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12275
12276         * tabular.C (Latex): correct line count when writing latex.
12277
12278 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * paragraph_pimpl.h:
12281         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12282           bug a bit
12283
12284 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * text.C:
12287         * LColor.h:
12288         * LColor.C: change vfillline->added_space
12289
12290         * text.C: add markers and text for added space
12291
12292         * vspace.C: fix comment
12293
12294 2001-11-28  André Pönitz <poenitz@gmx.net>
12295
12296         * paragraph.C: whitespace changes
12297         * all the other files from the change on 2001/11/26:
12298         change *::pos_type into lyx::pos_type
12299
12300 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12301
12302         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12303         language of the document when inserting error insets.
12304
12305 2001-11-26  André Pönitz <poenitz@gmx.net>
12306
12307         * BufferView_pimpl.[Ch]:
12308         *       CutAndPaste.C:
12309         * buffer.[Ch]:
12310         * lyxcursor.[Ch]:
12311         * lyxfind.C:
12312         * lyxfunc.C:
12313         * lyxrow.[Ch]:
12314         * paragraph.[Ch]:
12315         * paragraph_pimpl.[Ch]:
12316         * sp_spell.C:
12317         * text.C:
12318         * text2.C: reduce header dependencies, introduce type for positions
12319
12320 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * <various>: change to use Alert.h
12323
12324 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12325
12326         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12327         when encountering an unknown token.
12328         (readLyXformat2): Show an error message if there were unknown tokens.
12329
12330 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * BufferView2.C:
12333         * BufferView_pimpl.C:
12334         * buffer.C:
12335         * paragraph.h:
12336         * text.C:
12337         * text2.C: use par->isInset()
12338
12339 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * paragraph_pimpl.h:
12342         * paragraph_pimpl.C: cleanup
12343
12344 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * text2.C (removeRow):
12347         * text.C (setHeightOfRow): remove useless (and costly) call to
12348         getRow.
12349
12350 2001-11-20  Allan Rae  <rae@lyx.org>
12351
12352         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12353         Now need Inset*::checkInsertChar() to return true for appropriate
12354         cases so that the characters in the minibuffer will actually be
12355         inserted.
12356
12357 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * text.C: change the order of the includes.
12360         (workWidth): initialize it at once.
12361         (workWidth): make maxw unsigned
12362         (setHeightOfRow): remove unused variable (inset)
12363         (selectSelectedWord): remove unused variable (inset)
12364         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12365
12366 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12369         server is not running.
12370         (openConnection):
12371         (closeConnection): add debug info when server is disabled.
12372
12373         * ColorHandler.C (getGCForeground): send debug message to GUI
12374         channel.
12375
12376         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12377
12378         * kbmap.C (bind): modify because return conventions of
12379         kb_sequence::parse have changed.
12380
12381         * kbsequence.C (parse): only ignore spaces and not any stupid
12382         control character. This avoids tests like s[i] <= ' ', which are
12383         guaranteed to fail with 8bit characters and signed chars.
12384         Change return code to string::npos when there have been no error
12385         (0 was a bad idea when error is at first character)
12386
12387 2001-11-14  José Matos  <jamatos@fep.up.pt>
12388
12389         * buffer.h:
12390         * buffer.C (simpleDocBookOnePar): removed unused argument.
12391
12392 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12393
12394         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12395         insets which are part of a word. Paragraph::isLetter takes care of
12396         that now. Use Paragraph::isInset to identify insets.
12397         (selectSelectedWord): do not test for hyphenation break.
12398
12399         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12400         that protected spaces are considered as spaces.
12401
12402         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12403         Inset::isLetter.
12404
12405 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * lyxserver.h:
12408         * lyxserver.C: fix it. and small cleanup.
12409
12410 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * BufferView_pimpl.C: use inline helpers
12413
12414         * LaTeXFeatures.h:
12415         * LaTeXFeatures.C: fix typos
12416
12417         * Spacing.h:
12418         * Spacing.C: move spacing_string into class
12419
12420         * ToolbarDefaults.C: move stuff into namespace anon
12421
12422         * layout.h: update enum
12423
12424         * lyxfunc.C: use better debug
12425
12426         * minibuffer.h: fix typo
12427
12428         * debug.h:
12429         * debug.C:
12430         * WorkArea.C: add and use Debug::WORKAREA
12431
12432         * lyxtext.h:
12433         * text.C:
12434         * text2.C: code re-organisation, inline helpers
12435
12436 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12437
12438         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12439         std::vector.empty().
12440
12441 2001-11-09  Allan Rae  <rae@lyx.org>
12442
12443         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12444         '\n's after tables.  Tabular and ERT inset work now makes this no
12445         longer necessary.
12446
12447 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * minibuffer.h:
12450         * minibuffer.C: fix crash, improve drop-down completion
12451
12452 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyxserver.h:
12455         * lyxserver.C: invalidate fd's when doing endPipe()
12456
12457 2001-11-08  José Matos  <jamatos@fep.up.pt>
12458
12459         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12460         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12461
12462         * paragraph.h:
12463         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12464
12465 2001-11-07  José Matos  <jamatos@fep.up.pt>
12466
12467         * buffer.h:
12468         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12469         const qualifier.
12470
12471         * buffer.C (sgmlOpenTag):
12472         * buffer.C (sgmlCloseTag): removed debug info.
12473
12474         * buffer.h (sgmlOpenTag):
12475         * buffer.h (sgmlCloseTag): made public.
12476
12477 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * buffer.C (saveParamsAsDefaults):
12480         * lyx_cb.C (MenuLayoutSave): remove
12481
12482         * LyXAction.C (init):
12483         * commandtags.h:
12484         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12485
12486 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12487
12488         * buffer.C (setPaperStuff): removed from here...
12489
12490         * bufferparams.C (setPaperStuff): ... and moved there.
12491
12492 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * minibuffer.h:
12495         * minibuffer.C:
12496         * XFormsView.C: add support for drop-down completion
12497
12498 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12499
12500         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12501         commands.
12502
12503 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12504
12505         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12506         disabled.
12507
12508 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyx_main.C: change ref to known bugs
12511
12512 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12513
12514         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12515         to work around older babel problems.
12516
12517 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12518
12519         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12520
12521 2001-10-24  Juergen Vigna  <jug@sad.it>
12522
12523         * tabular-old.C (ReadOld): below variable changes reflected.
12524
12525         * tabular.[Ch]: added ltType struct for longtable header/footer
12526         defines and changed all instances where they are used. Added
12527         future support for double top/bottom rows.
12528
12529 2001-10-24  José Matos  <jamatos@fep.up.pt>
12530
12531         * buffer.h (docbookHandleCaption):
12532         * buffer.C (docbookHandleCaption): removed unused function.
12533         (makeDocBookFile): moved docbook supported version to v4.1.
12534
12535 2001-10-24  José Matos  <jamatos@fep.up.pt>
12536
12537         * tabular.h:
12538         * tabular.C (docbookRow): new function to export docbook code of a row.
12539         (DocBook): now honors the longtable flags.
12540
12541 2001-10-23  José Matos  <jamatos@fep.up.pt>
12542
12543         * LaTeXFeatures.h:
12544         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12545         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12546
12547         * buffer.C (makeLinuxDocFile):
12548         (makeDocBookFile): reworked the preamble, more clean, and with
12549         support for lyx defined entities. Changed the document declaration
12550         to be more XML friendly.
12551
12552         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12553         if we need to output XML that should be done with a filter.
12554
12555 2001-10-22  Juergen Vigna  <jug@sad.it>
12556
12557         * sp_pspell.h (class PSpell): add alive function needed in the
12558         controller to see if the spellchecker could be started.
12559
12560 2001-10-22  Juergen Vigna  <jug@sad.it>
12561
12562         * buffer.C (insertStringAsLines): modify the font for inserting
12563         chars in certain conditions by calling checkInsertChar(font).
12564
12565 2001-10-19  Juergen Vigna  <jug@sad.it>
12566
12567         * text.C (workWidth): use getRow instead of wrong algorithm.
12568         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12569
12570 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * lyxserver.h:
12573         * lyxserver.C:
12574         * lyx_main.h:
12575         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12576
12577 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * text.C (workWidth): do not search for the exact row when
12580         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12581         optimization for big documents.
12582
12583 2001-10-18  Juergen Vigna  <jug@sad.it>
12584
12585         * text.C (workWidth): new function with added Inset * parameter.
12586
12587 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12590
12591         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12592         change return type of getColumnNearX.
12593
12594
12595         * text.C (changeRegionCase): use uppercase/lowercase instead of
12596         toupper/tolower.
12597         (leftMargin):
12598         (rightMargin): simplify code by factoring out the uses of
12599         textclasslist.
12600         (labelFill):
12601         (numberOfHfills):
12602         (setHeightOfRow):
12603         (appendParagraph): use Paragraph::size_type
12604
12605 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12606
12607         * vspace.C (asLatexString): add a missing break
12608
12609 2001-10-15  Herbert Voss  <voss@perce.de>
12610
12611         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12612
12613 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12614
12615         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12616         is not available.
12617
12618 2001-10-10  André Pönitz <poenitz@gmx.net>
12619
12620         * lyxfunc.C: removed greek_kb_flag.
12621
12622 2001-10-10  Herbert Voss  <voss@perce.de>
12623
12624         * lyx_main.C: delete global string help_lyxdir.
12625
12626 2001-10-09  Herbert Voss  <voss@perce.de>
12627
12628         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12629
12630         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12631
12632         * lyx_main.C: added global string help_lyxdir.
12633
12634         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12635
12636 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12637
12638         * lyxrc.C (set_font_norm_type): support iso8859-4
12639
12640 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12641
12642         * LaTeX.C (deplog): add another regex for MikTeX
12643
12644 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12645
12646         * lyxrc.C (set_font_norm_type): support iso8859-3
12647
12648 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12651
12652         * LaTeXFeatures.C: remove special case of french and index
12653
12654         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12655         before \begin{document}). This solves several incompatibilities.
12656
12657 2001-10-03  Garst Reese  <reese@isn.net>
12658
12659         * lyx_cb.C: change CheckTex error msg.
12660
12661 2001-10-03  José Matos  <jamatos@fep.up.pt>
12662
12663         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12664
12665 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12666
12667         * .cvsignore: update
12668
12669         * lyx_main.C (commandLineVersionInfo): use new style version info.
12670
12671         * buffer.C (writeFile):
12672         (makeLaTeXFile):
12673         (makeLinuxDocFile):
12674         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12675
12676         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12677
12678         * version.h: update to use stuff in version.C
12679
12680         * version.C.in: new file. Contains version information determined
12681         at compile time. This is a merging of version.h and
12682         version_info.h.in.
12683
12684 2001-10-03  Juergen Vigna  <jug@sad.it>
12685
12686         * BufferView_pimpl.C (update): don't change "dirty" status in
12687         updateInset call.
12688
12689 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12690
12691         * WorkArea.C (c-tor): re-position version string slightly.
12692
12693 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12696         revert to previous code.
12697
12698         WorkArea.[Ch]: (show, destroySplash): methods removed.
12699
12700         WorkArea.C: rework code so that it's an amalgam of the codes before and
12701         after the splash screen was moved to WorkArea.
12702
12703 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12704
12705         * lyxrc.C (read):
12706         * vspace.C (inPixels):
12707         (lyx_advance):
12708         * kbmap.C (bind):
12709         * buffer.C (insertStringAsLines):
12710         (asciiParagraph): fix types to be large enough
12711
12712         * lyxlex_pimpl.h: change member status from short to int
12713
12714         * layout.h: fix type of endlabeltype
12715
12716         * kbmap.C (bind):
12717         * kbsequence.C (parse): change return type to string::size_type
12718
12719         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12720         variable
12721
12722         * Bullet.C (bulletSize):
12723         (bulletEntry): do not use short ints as parameters
12724
12725         * BufferView2.C (insertLyXFile): change a char to an int.
12726
12727         * WorkArea.C (WorkArea): remove unneeded floats in computation
12728
12729 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12732
12733         * paragraph.C (asString): Do not ignore newline/hfill chars when
12734         copying to the clipboard.
12735
12736 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12737
12738         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12739         after a multi-line inset.
12740
12741 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12742
12743         * paragraph.C (validate): Set NeedLyXFootnoteCode
12744
12745 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12748         and decrease-error to decrease.
12749
12750 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12751
12752         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12753         it more readable (should be equivalent)
12754
12755 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12756
12757         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12758
12759 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12762         of a cursor (row, etc.) after a character has been deleted
12763         (deleteEmptyParagraphMechanism): call the method above on _all_
12764         cursors held by the LyXText when a double space has been
12765         detected/deleted.
12766
12767 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12768
12769         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12770         pixmap.
12771         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12772
12773         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12774         background. Use greyOut() and the new show() methods to toggle between
12775         the foreground and background. Add code to remove the splash after
12776         its initial showing.
12777
12778         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12779         (create_forms): no longer call Dialogs::showSplash.
12780
12781 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * .cvsignore: add version_info.h
12784
12785 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12786
12787         * version_info.h.in: new file
12788
12789         * Makefile.am: add version_info.h.in
12790
12791         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12792         version_info.h instead of VERSION_INFO
12793
12794 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12795
12796         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12797         The ERT inset now returns string().
12798
12799 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12800
12801         * lyxtext.h, text.C (selectNextWord): renamed as
12802         selectNextWordToSpellcheck.
12803
12804         * text.C (selectNextWordToSpellcheck): Modified to not select
12805         words inside an ERT inset.
12806
12807 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * lyx_cb.C (MenuLayoutSave): change a bit the question
12810
12811         * sp_base.h: include <sys/types.h>
12812
12813 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12816
12817 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12818
12819         * several files: fix typos in user-visible strings
12820
12821 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * text2.C (pasteSelection): do not set the selection, since it
12824         will be cleared later. Actually, the intent was to fix the way the
12825         selection was set, but I figured rmoving the code was just as good.
12826
12827 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12828
12829         * FontLoader.C (available): Check if font is available without
12830         loading the font.
12831
12832 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12833
12834         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12835
12836 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * lyxrc.[Ch]: added display_graphics variable and associated code.
12839
12840 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12841
12842         * bufferparams.C (hasClassDefaults): new method. Returns true if
12843         the buffer parameters correspond to known class defaults
12844
12845 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * XFormsView.C (show): set minimum size to the main window.
12848
12849 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * text2.C (copySelection):
12852         (cutSelection):
12853         * lyxfind.C (LyXReplace):
12854         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12855         LyXText::selectionAsString.
12856
12857         * paragraph.C (asString): add "label" argument to the second form
12858
12859         * text2.C (selectionAsString): add "label" argument and pass it to
12860         Paragraph::asString.
12861
12862 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12863
12864         * lyx_main.C (commandLineHelp): remove version information
12865
12866 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12867
12868         * lyx_main.C: add -version commandline option
12869
12870 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12871
12872         * paragraph.h: make the optional constructor arg required instead.
12873         some modifications to other files because of this.
12874
12875         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12876
12877         * lyxserver.C (C_LyXComm_callback): make it static
12878
12879         * lyx_main.C (error_handler): make it static
12880
12881         * lyx_gui.C (LyX_XErrHandler): make it static
12882
12883         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12884
12885         * WorkArea.C: make the extern "C" methods static.
12886
12887         * Makefile.am (lyx_LDADD): simplify
12888
12889 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12890
12891         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12892         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12893
12894         * LyXAction.C (init):
12895         * lyxfunc.C (dispatch): associated code removal.
12896
12897 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * lyxfont.h (isSymbolFont): shut off warning
12900
12901         * text.C (setHeightOfRow):
12902         (getVisibleRow): fix crash with empty paragraphs which have a
12903         bottom line
12904
12905 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12906
12907         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12908         code.
12909
12910 2001-09-04  José Matos  <jamatos@fep.up.pt>
12911         * buffer.C
12912         * buffer.h
12913         * tabular.C (docbook): rename docBook method to docbook.
12914
12915 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12916
12917         * Makefile.am: add dependencies to main.o.
12918
12919 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12920
12921         * FontLoader.C (available): Return false if !lyxrc.use_gui
12922
12923 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12924
12925         * FontInfo.C (query):
12926         * converter.C (view):
12927         * importer.C (Import):
12928         * exporter.C (Export): Can not -> cannot.
12929
12930 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * BufferView_pimpl.C: allow to create index inset even if
12933           string is empty
12934
12935 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * buffer.C (getLists): replace boost::tie code with an explicit pair
12938         as boost::tie can break some compilers.
12939
12940         * iterators.h: Added a std:: declaration to the return type of
12941         ParIterator::size.
12942
12943 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12946           case.
12947
12948 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12949
12950         * iterators.[Ch]: New files. Provide paragraph iterators.
12951
12952         * buffer.C (changeLanguage): Use paragraph iterators.
12953         (isMultiLingual): ditto
12954
12955         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12956
12957 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * FontLoader.C: Support for cmr font.
12960
12961 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12962
12963         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12964         (available): New method.
12965
12966         * FontInfo.C (getFontname): Use scalable fonts even when
12967         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12968         found.
12969
12970 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12971
12972         * converter.C (Formats::view): reverted! Incorrect fix.
12973
12974 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12975
12976         * converter.C (Formats::view): only output the -paper option
12977         if the dvi viewer is xdvi, thereby fixing bug #233429.
12978
12979 2001-08-23  Herbert Voss  <voss@perce>
12980
12981         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12982
12983 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * Spacing.h (Spacing): Set space to Default on in the default
12986         constructor.
12987
12988 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * vc-backend.h (RCS::versionString): add RCS to version
12991         (CVS::versionString): add CVS to version
12992
12993         * vc-backend.C (scanMaster): do not add CVS to version.
12994         (scanMaster): do not add RCS to version
12995
12996         * lyxvc.C (versionString): new method
12997
12998         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12999
13000 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * Spacing.C (set): initialize fval
13003
13004 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13007         " or \.
13008
13009 2001-08-16  Juergen Vigna  <jug@sad.it>
13010
13011         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13012
13013 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * BufferView_pimpl.C:
13016         * figureForm.C:
13017         * lyxtext.h:
13018         * text2.C: setParagraph takes linespacing now
13019
13020 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * LyxAction.C: add internal LFUN_CITATION_INSERT
13023
13024         * LyXView.C: actually apply fix
13025
13026         * bufferlist.C: fix open non-existent file
13027
13028         * lyxfind.C: fix indentation
13029
13030         * lyxfunc.C: remove unneeded assert, fix typo
13031
13032 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * MenuBackend.C: use "Floatname List"
13035
13036 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13037
13038         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13039         when converting LaTeX layout to insetERT.
13040         Generate a non-collapsed float when reading old float
13041
13042 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13043
13044         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13045         ERT insets.
13046
13047 2001-08-13  Juergen Vigna  <jug@sad.it>
13048
13049         * text.C (fill): return 0 instead of 20 as this seems to be the more
13050         correct value.
13051
13052 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13053
13054         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13055         lyxrc.font_norm.
13056
13057 2001-08-13  Juergen Vigna  <jug@sad.it>
13058
13059         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13060         casesensitive off.
13061         (SearchBackward): comment out the unlocking of the inset_owner this
13062         should not be needed!
13063
13064 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * Many files: Remove inherit_language, and add latex_language
13067
13068         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13069         collapsible insets.
13070
13071 2001-08-10  Juergen Vigna  <jug@sad.it>
13072
13073         * text.C (prepareToPrint): fixed hfill-width in draw!
13074
13075         * BufferView2.C (selectLastWord): save the selection cursor as this
13076         now is cleared in the function LyXText::clearSelection!
13077
13078 2001-08-08  Juergen Vigna  <jug@sad.it>
13079
13080         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13081         BACKSPACE type functions.
13082
13083         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13084         is only cutted from the document but not put in the cut-buffer, where
13085         still the old stuff should be.
13086
13087         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13088
13089         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13090
13091         * tabular.C (SetWidthOfCell): fixed special case where the width
13092         was not updated!
13093         (LeftLine): handle '|' in align_special.
13094         (RightLine): ditto
13095         (LeftAlreadyDrawed): ditto
13096         (SetWidthOfCell): ditto
13097
13098 2001-08-07  Juergen Vigna  <jug@sad.it>
13099
13100         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13101
13102 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13105         * lyxlex.[hC]: ditto
13106
13107 2001-08-06  Juergen Vigna  <jug@sad.it>
13108
13109         * text.C (getVisibleRow): fix up row clearing a bit.
13110
13111 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13112
13113         * minibuffer.C: make sure the X server sees the changes in the input.
13114
13115 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13116
13117         * paragraph.C (getFont): split into...
13118         (getLabelFont): this
13119         (getLayoutFont): and this
13120         * paragraph_pimpl.C (realizeFont): calling this
13121
13122         * text2.C (getFont): split into...
13123         (getLayoutFont): this
13124         (getLabelFont): and this
13125         (realizeFont): all three calling this
13126
13127         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13128         files where used.
13129
13130 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13133
13134 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13135
13136         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13137         layouts from the Quote inset insertion.
13138
13139 2001-08-03  Juergen Vigna  <jug@sad.it>
13140
13141         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13142
13143         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13144         only if status not is already CHANGED_IN_DRAW (second level).
13145
13146         * text.C (draw): don't set the need_break_row when inside an
13147         InsetText LyXText.
13148
13149 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * buffer.C (parseSingleLyXformat2Token): handle more latex
13152         conversion cases.
13153
13154         * bufferview_funcs.[hC]: change function names to
13155         begin with small char, adjust other files.
13156
13157 2001-08-02  André Pönitz <poenitz@gmx.net>
13158
13159         * lyxfunc.C:
13160         BufferView_pimpl.C: remove broken special code for math-greek
13161
13162 2001-08-02  Juergen Vigna  <jug@sad.it>
13163
13164         * BufferView_pimpl.C (update): redone this function so that we
13165         update the text again if there was a CHANGE_IN_DRAW.
13166
13167         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13168         (drawFromTo): added a new internal bool which is used by draw() and
13169         redraw() function.
13170         (general): some cursor drawing problems fixed.
13171
13172 2001-08-01  Juergen Vigna  <jug@sad.it>
13173
13174         * lyxfind.C (LyXFind): fixed
13175         (SearchForward): ditto
13176         (SearchBackward): ditto
13177
13178         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13179         spurius drawing of the cursor in the main area.
13180
13181         * text2.C (status): small fix which could lead to a segfault!
13182         (clearSelection): remove unneeded BufferView param.
13183
13184 2001-08-01  André Pönitz <poenitz@gmx.net>
13185
13186         * lyxfunc.C: small change due to changed mathed interface
13187
13188 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13191
13192 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * lyxfunc.c: fail gracefully if file doesn't exist
13195
13196         * LyXSendto.C:
13197         * buffer.C:
13198         * lyxfunc.C:
13199         * BufferView_pimpl.C: IsDirWriteable() proto changed
13200
13201         * LyXView.C: fix updateWindowTitle() to store the last title
13202
13203 2001-07-31  Juergen Vigna  <jug@sad.it>
13204
13205         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13206         the font (wrong since using of Paragraph::highestFontInRange).
13207
13208         * paragraph.C (highestFontInRange): added a default_size parameter.
13209
13210         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13211         (setHeightOfRow): reformat
13212
13213 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * converter.[hC] + affected files: move to (inital-char)lowercase
13216         function names.
13217
13218         * ParagraphParameters.C (ParagraphParameters): remove commented code
13219
13220         * PainterBase.[Ch]: remove commented code
13221
13222         * LaTeXFeatures.h: add "bool floats" for float.sty
13223
13224         * LaTeXFeatures.C (LaTeXFeatures): init floats
13225         (require): handle float
13226         (getPackages): do it with floats
13227
13228 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * BufferView_pimpl.C (Dispatch): improve handling of
13231         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13232
13233         * commandtags.h: #include lyxfont.h here temporarily to avoid
13234         keybinding bug.
13235
13236         * bufferlist.h: include LString.h here.
13237
13238 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * text2.C (getStringToIndex): new method.
13241
13242 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13243
13244         * *: Reduced header file dependencies all over.
13245
13246 2001-07-30  Baruch Even  <baruch@lyx.org>
13247
13248         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13249
13250 2001-07-29  Baruch Even  <baruch@lyx.org>
13251
13252         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13253
13254 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * ParameterStruct.h (endif): add a default constructor to make
13257         sure that all variables is initialized.
13258
13259         * ParagraphParameters.C (ParagraphParameters): adjust
13260
13261 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13264         index; also, check that there is something to index, and that it
13265         does not span over several paragraphs.
13266         (doubleClick): use WHOLE_WORD_STRICT for double click.
13267
13268         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13269
13270         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13271         scheme.
13272
13273 2001-07-26  Baruch Even  <baruch@lyx.org>
13274
13275         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13276         an InsetFig figure, backwards compatible reading of old figure code.
13277
13278 2001-07-27  Juergen Vigna  <jug@sad.it>
13279
13280         * text2.C: font.realize function adaption.
13281
13282         * text.C (draw): add a warnings lyxerr text if needed.
13283
13284         * layout.C: font.realize function adaption.
13285
13286         * language.C: add inherit_language and implement it's handlings
13287
13288         * bufferview_funcs.C (StyleReset): remove language parameter from
13289         font creation (should be language_inherit now).
13290
13291         * bufferparams.C (writeFile): handle ignore_language.
13292
13293         * paragraph.C (getFontSettings): the language has to be resolved
13294         otherwise we have problems in LyXFont!
13295
13296         * lyxfont.C (lyxWriteChanges): added document_language parameter
13297         (update): removed unneeded language parameter
13298
13299         * paragraph.C (validate): fixed wrong output of color-package when
13300         using interface colors for certain fonts in certain environments,
13301         which should not seen as that on the final output.
13302
13303 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * BufferView_pimpl.C:
13306         * Thesaurus.h:
13307         * Thesaurus.C:
13308         * Makefile.am:
13309         * commandtags.h:
13310         * LyXAction.C: add thesaurus support
13311
13312         * lyxfind.h:
13313         * lyxfind.C: add "once" parameter, for thesaurus, to not
13314           move to the next match
13315
13316 2001-07-26  Juergen Vigna  <jug@sad.it>
13317
13318         * lyxfont.C (realize): honor ignore_language too!
13319         (resolved): ditto.
13320
13321         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13322
13323         * text.C (draw): one place more for ignore_language to not draw
13324         itself!
13325
13326 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13329
13330 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13333         the minipage conversion problem.
13334
13335 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13338         insert an inset.
13339
13340 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * BufferView.h: don't forward declare WorkArea
13343
13344         * BufferView.C: don't include WorkArea.h
13345
13346 2001-07-25  André Pönitz <poenitz@gmx.net>
13347
13348         * commandtags.h:
13349         * LyXAction.C:
13350         * lyxfunc.C:  new LFUN 'math-space'
13351
13352         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13353
13354 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13355
13356         * text2.C (toggleInset): call open/close
13357
13358 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * lyxfunc.C (dispatch): add debug for the disabled case
13361
13362         * font.C (buttonText): make similar to rectText
13363
13364         * buffer.C (readInset): comment out parsing of insetlist and
13365         insttheorem
13366
13367         * PainterBase.C (rectText): small correction
13368
13369         * BufferView_pimpl.C: comment out insettheorem and insetlist
13370         * LyXAction.C: ditto
13371         * commandtags.h: ditto
13372
13373 2001-07-24  Juergen Vigna  <jug@sad.it>
13374
13375         * text.C (draw): honor the ignore_language.
13376
13377         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13378
13379 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13382         char inset.
13383
13384 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13385
13386         * lyxtext.h: remove unused (and unimplemented) methods
13387
13388 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13389
13390         * text.C (getVisibleRow): honor background color
13391
13392         * PainterBase.h:
13393         * Painter.h: remove default color argument for fillRectangle
13394
13395         * text.C (backgroundColor): new method
13396
13397 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * text.C (getVisibleRow): adjust
13400
13401         * font.[Ch] (rectText): new method, metrics
13402         (buttonText): new method, metrics
13403
13404         * PainterBase.[hC]: make rectText and buttonText always draw and take
13405         fewer paramteres.
13406
13407 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13408
13409         * ToolbarDefaults.C (read):
13410         * MenuBackend.C (read): allow escaping in all strings
13411
13412         * BufferView_pimpl.C (insertAndEditInset): new method.
13413         (Dispatch): use insertAndEditInset whenever appropriate.
13414
13415         * BufferView_pimpl.C (insertNote): removed
13416
13417         * BufferView_pimpl.C (smartQuote): new method, moved from
13418         BufferView; if an insetquote cannot be inserted, insert a '"'
13419         character instead.
13420
13421         * BufferView2.C: remove insertCorrectQuote();
13422
13423         * lyxfunc.C (getStatus): Add support for all remaingin
13424         inset-insert lfuns.
13425
13426         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13427
13428         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13429         command (necessary to pass " as parameter of self-insert.
13430
13431         * text.C (selectWordWhenUnderCursor):
13432         (selectWord): add word_location parameter
13433         (selectWordWhenUnderCursor): same + remove special code for word
13434         boundary.
13435         (selectNextWord): use kind() to guess type of insetspecialchar,
13436         not latex().
13437
13438         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13439         (insertErtContents): create ert insets as collapsed.
13440         (readInset): better compatibility code for Info inset.
13441
13442 2001-07-20  Juergen Vigna  <jug@sad.it>
13443
13444         * lyxfunc.C (dispatch): use always LyXFind now!
13445
13446         * text2.C (init): add a reinit flag so that the LyXText can be
13447         reinited instead of deleted and reallocated (used in InsetText).
13448
13449         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13450
13451         * text.C: ditto
13452
13453         * text2.C: ditto
13454
13455 2001-07-18  Juergen Vigna  <jug@sad.it>
13456
13457         * text.C (selectNextWord): handle insets inside inset by calling
13458         always the bv->text functions so that we can go up the_locking_inset!
13459
13460         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13461         in strange locations when inside an inset!
13462
13463         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13464         handling to include insets.
13465
13466         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13467
13468 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * LyXAction.C (init):
13471         * commandtags.h:
13472         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13473         LIGATURE_BREAK, since the name is so stupid.
13474
13475 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13476
13477         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13478         InsetInfos.
13479
13480         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13481
13482         * sp_form.[Ch]: remove.
13483
13484         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13485
13486         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13487         InsetInfo.
13488
13489         * src/buffer.C (readInset): ditto.
13490
13491 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13492
13493         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13494         menuSeparator(), endOfSentenceDot(), ldots() and
13495         hyphenationPoint(), which are therefore removed.
13496         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13497
13498         * LyXAction.C (init):
13499         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13500
13501         * paragraph.C (getWord): removed.
13502
13503         * BufferView_pimpl.C (Dispatch): use last word or selection for
13504         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13505
13506         * lyx_main.C (queryUserLyXDir): do not ask before creating
13507         user_dir, except if it has been named explicitely.
13508
13509 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13512         a document of zero size.
13513
13514 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13515
13516         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13517         approriately in the c-tor and in require().
13518         (getPackages): output the appropriate LaTeX for natbib support.
13519
13520         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13521         variables "use_natbib" and "use_numerical_citations" when reading the
13522         LyX file.
13523         (readInset): read the various natbib cite commands.
13524         (validate): white-space change.
13525
13526         * bufferparams.[Ch]: new variables "bool use_natbib" and
13527         "bool use_numerical_citations".
13528         (writeFile): output them in the LyX file.
13529
13530 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13531
13532         * lyxfunc.C (getStatus): add support for all the inset insertion
13533         commands.
13534
13535         * text2.C (insertInset):
13536         * paragraph.C (insetAllowed):
13537         * BufferView_pimpl.C (insertInset): update to take in account the
13538         renaming of insertInsetAllowed
13539
13540         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13541
13542         * text2.C (getInset): new method. returns inset at cursor position.
13543
13544         * BufferView_pimpl.C (Dispatch): changes because of this.
13545
13546         * LyXAction.C (init): rename open-stuff to inset-toggle.
13547
13548         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13549
13550         * text2.C (toggleInset): renamed from openStuff; use
13551         Inset::open().
13552
13553 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13554
13555         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13556
13557         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13558
13559 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * buffer.C (readLyXformat2): Add filename to the error dialog
13562
13563 2001-07-18  Juergen Vigna  <jug@sad.it>
13564
13565         * tabular.C (GetCellNumber): put an assert here instead of the check!
13566
13567 2001-07-17  Juergen Vigna  <jug@sad.it>
13568
13569         * BufferView_pimpl.C (toggleSelection): adapted too.
13570
13571         * text.C (selectNextWord): adapted for use with insets.
13572         (selectSelectedWord): ditto
13573
13574 2001-07-17  Juergen Vigna  <jug@sad.it>
13575
13576         * sp_spell.C (PSpell): fix initialitation order.
13577
13578 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * paragraph.C: spacing
13581
13582 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13583
13584         * sp_spell.C: repair language selection for pspell
13585
13586 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * lyxfunc.h: change more methods to begin with lower char.
13589
13590 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13591
13592         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13593         for unknown layouts.
13594
13595 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13596
13597         * buffer.C (readLyXformat2): Generate an error dialog if there are
13598         unknown layouts.
13599
13600 2001-07-16  Juergen Vigna  <jug@sad.it>
13601
13602         * sp_spell.C: always compile ISpell part.
13603
13604         * lyxrc.C: added use_pspell entry and it's handling.
13605
13606 2001-07-13  Juergen Vigna  <jug@sad.it>
13607
13608         * sp_spell.C: removed double includes.
13609
13610 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         Consistent use of Lsstream.h:
13613         * Lsstream.h: added using std::stringstream for consistencies sake.
13614
13615         * buffer.C: removed using std::stringstream
13616
13617         * lyxfont.C (stateText):
13618         * paragraph.C (asString):
13619         * text.C (selectNextWord, selectSelectedWord):
13620         * text2.C (setCounter):
13621         * vspace.C (asString, asLatexString):
13622         std::ostringstream -> ostringstream.
13623
13624 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13625
13626         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13627         * commandtags.h: add LFUN_HELP_ABOUTLYX
13628         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13629
13630 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13631
13632         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13633         cursorToggle()
13634         * lyx_gui_misc.C: remove spellchecker
13635         * lyxfunc.C: showSpellchecker
13636         * sp_base.h: added
13637         * sp_ispell.h: added
13638         * sp_pspell.h: added
13639         * sp_spell.C: added
13640         * sp_form.[Ch]: removed
13641         * spellchecker.[Ch]: removed
13642
13643 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13644
13645         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13646         is set.
13647         (simpleTeXSpecialChars): Simply print the input character without
13648         any special translation if pass_thru is set.
13649
13650         * layout.h: Added bool pass_thru to layout class for being able to
13651         implement pass through of a paragraph for Literate Programming.
13652
13653         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13654         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13655         * layout.C (Read): add "passthru" to list of layout tags and add
13656         code to set the pass_thru boolean when it is read.
13657
13658 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * trans_decl.h: remove allowed from KmodInfo
13661
13662         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13663         remove allowed code
13664         (Load): adjust
13665
13666         * paragraph_pimpl.C (erase): use boost::prior
13667
13668         * Painter.C (text): use data() instead of c_str() when length is
13669         also provided.
13670         * WorkArea.C (putClipboard): ditto
13671         * font.h (width): ditto
13672
13673         * BufferView2.C: use it-> instead of (*it). for iterators
13674         * texrow.C: ditto
13675         * paragraph_pimpl.C: ditto
13676         * paragraph.C: ditto
13677         * minibuffer.C: ditto
13678         * language.C: ditto
13679         * kbmap.C: ditto
13680         * encoding.C: ditto
13681         * counters.C: ditto
13682         * converter.C: ditto
13683         * chset.C: ditto
13684         * Variables.C: ditto
13685         * TextCache.C: ditto
13686         * MenuBackend.C: ditto
13687         * LyXAction.C: ditto
13688         * LColor.C: ditto
13689         * FloatList.C: ditto
13690         * DepTable.C: ditto
13691         * ColorHandler.C (LyXColorHandler): ditto
13692
13693 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13696
13697         * text2.C (openStuff): reintroduce this method (which had been
13698         nuked in NEW_INSETS frenzy).
13699
13700         * lyxfunc.C (Dispatch): when an action has not been handled, use
13701         its name in the error message, not its number.
13702
13703         * paragraph.C (inInset): change method name to begin with lowercase.
13704
13705         * undo_funcs.C:
13706         * text2.C: updates because of this.
13707
13708 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * ToolbarDefaults.C (add): add spaces in error message
13711
13712 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13715         (readLyXformat2): rename return_par to first_par, use lyxlex's
13716         pushToken and remove the manual push handling.
13717         (parseSingleLyXformat2Token): add another ert comp. variable:
13718         in_tabular, rename return_par to first_par. handle newlines better
13719
13720 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13721
13722         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13723
13724 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * text2.C (getParFromID): removed
13727
13728         * buffer.C (getParFromID): new method moved form lyxtext.
13729         * BufferView2.C (insertErrors): adjust
13730         (setCursorFromRow): adjust
13731         * BufferView_pimpl.C (restorePosition): adjust
13732         * lyxfunc.C (Dispatch): adjust
13733         * undo_funcs.C (textUndo): adjust
13734         (textRedo): adjust
13735         (textHandleUndo): adjust
13736         (textHandleUndo): adjust
13737
13738 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * buffer.C: up' the LYX_FORMAT
13741
13742         * lyxfont.h: turn NO_LATEX on as default
13743
13744         * buffer.C (insertErtContents): new methods of tex style compability.
13745         (parseSingleLyXformat2Token): use it several places.
13746         * tabular.C (OldFormatRead): and here
13747
13748 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * text2.C: remove some commented code.
13751         reindent file.
13752
13753         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13754         * trans.C: changes because of the above.
13755
13756 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * text2.C (setCounter): Fix counters bug with bibliography layout.
13759
13760 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13763         own member functions
13764         (simpleTeXSpecialChars): ditto
13765
13766 2001-07-06  Juergen Vigna  <jug@sad.it>
13767
13768         * a lot of files: changed the access to LyXText::status and the
13769         call of undo-functions.
13770
13771         * undo.[Ch]: added a inset_id to the undo informations.
13772
13773         * undo_funcs.[Ch]: added and moved here all undo functions.
13774
13775         * lyxtext.h: give the status enum a weight, made status_ a private
13776         variable and made accessor functions for it, removed the whole bunch
13777         of undo-functions as they are now in their own file, make some
13778         functions publically available. Added function ownerParagraph with
13779         int parameter.
13780
13781         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13782         made InInset() a const function, added getParFromID() function.
13783
13784         * buffer.[Ch]: added const version for inset_iterator functions,
13785         added getInsetFromID() function.
13786
13787         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13788         changed undo functions for new version.
13789
13790 2001-07-05  Juergen Vigna  <jug@sad.it>
13791
13792         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13793         unknow mechanism does not call the proper constructor but only this
13794         one also if I request the other!?
13795
13796 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13799
13800         * text2.C (LyXText): use initialization lists.
13801
13802         * lyxtext.h (Selection): initialize set_ and mark_
13803         (init): remove method
13804
13805 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13808
13809 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * screen.[Ch]: change method names to begin with lowercase
13812
13813         * BufferView_pimpl.C (updateScrollbar): simplify further and
13814         hopefully make it a bit faster.
13815
13816 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13817
13818         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13819         calling directly xforms functions.
13820
13821         * Painter.C (Painter):
13822         * lyx_cb.C (MenuWrite):
13823         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13824         fl_display.
13825
13826         * lyx_gui.C: remove bogus guiruntime extern declaration.
13827
13828 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13831         in NEW_INSETS
13832         (redoDrawingOfParagraph): ditto
13833         (redoParagraphs): ditto
13834         (cutSelection): don't create a object for CutAndPaste use the
13835         static method directly
13836         (pasteSelection): ditto
13837
13838         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13839         LyXview (+ rename)
13840
13841 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * modifications to some other files because of this.
13844
13845         * Makefile.am (lyx_SOURCES): add XFormsView
13846
13847         * XFormsView.[Ch]: new files
13848
13849         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13850         the main window. Move the gui dependent stuff to XFormsView
13851
13852 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * tabular.C (GetCellInset): update cur_cell also in the row/col
13855         version of this function.
13856
13857         * lyxfunc.C: no need to include figure_form.h here.
13858
13859         * FontLoader.h:
13860         * lyxfunc.h:
13861         * lyxscreen.h:
13862         * text2.C:
13863         * lyxvc.C: no need to include forms.h here.
13864
13865 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13866
13867         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13868
13869         * lyxfunc.C (Dispatch):
13870         * Spacing.C (set):
13871         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13872         constructor argument.
13873
13874 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * paragraph.C (Paragraph): dont't clear, and just set layout.
13877         (makeSameLayout): use params's copy contructor.
13878
13879         * ParagraphParameters.[Ch] (makeSame): delete method
13880
13881 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * Variables.[Ch]: fix indentation, rename set to isSet
13884
13885 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * lyxfunc.C (Dispatch): fix typo
13888
13889 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13892         upper_bound.
13893
13894         * bufferlist.C: include assert.h for emergencyWrite().
13895
13896 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13899           give up at last (bug #425202) !
13900
13901 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * lyx_gui_misc.C:
13904         * sp_form.h:
13905         * sp_form.C:
13906         * spellchecker.h:
13907         * spellchecker.C: strip spellchecker options and bring up
13908           preferences tab instead
13909
13910 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13913         the istringstream constructor
13914
13915 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13916
13917         * paragraph.C (getLayout): fix return value
13918
13919         * paragraph.h: do not declare getLayout as inline.
13920
13921         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13922
13923 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * lyxcursor.h (operator<): new func
13926         (operator>): new func
13927         (operator>=): new func
13928         (operator<=): new func
13929
13930         * text.C (changeCase): use selection.start and selection.end
13931         (changeRegionCase): require from to be <= to. Require par to be a
13932         valid paragraph.
13933
13934         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13935
13936 2001-06-27  Juergen Vigna  <jug@sad.it>
13937
13938         * text.C (cursorLeftOneWord): changed to return the cursor and added
13939         overlay with BufferView * parameter which calls this one.
13940         (getWord): added
13941         (selectWord): use new getWord function.
13942         (changeCase): renamed from changeWordCase as and extended to work
13943         also on selections.
13944
13945         * lyxtext.h: added enum word_location
13946
13947         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13948         changeCase as this operates now also on selections.
13949
13950 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13951
13952         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13953
13954         * many files: send debug output to Debug::INFO instead of
13955         Debug::ANY.
13956
13957         * converter.C (View):
13958         (Convert):
13959         (Move): send debug output to Debug::FILES instead of console.
13960
13961 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13962
13963         * lyxfunc.C (getStatus): use func_status
13964
13965         * func_status.h: new header, describing the results of
13966         LyXFunc::getStatus;
13967
13968         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13969         LFUN_MATH_HALIGN.
13970
13971 2001-06-25  The LyX Project  <jug@sad.it>
13972
13973         * buffer.C (sgmlOpenTag):
13974         (sgmlCloseTag):
13975         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13976
13977 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * text2.C: remove some dead code
13980
13981         * tabular.C (GetCellInset): store the last cell checked (gotten)
13982
13983         * tabular.h: add the helper for the speedup
13984
13985         * lyxtext.h: remove some dead code
13986
13987 2001-06-26  The LyX Project  <Asger>
13988
13989         * paragraph.C: Change export to LaTeX of alignment to
13990         \begin{center} and family for better roundtrip work with reLyX.
13991
13992         * Tune the math drawing a bit.
13993
13994 2001-06-25  The LyX Project  <Asger>
13995
13996         * LColor.C (LColor): New color for math background. New color
13997         for buttons.
13998
13999 2001-06-25  The LyX Project  <jug@sad.it>
14000
14001         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14002
14003         * lyxfunc.C (Open):
14004         * bufferlist.C (newFile): do not restrict to files ending with
14005         .lyx
14006
14007         * BufferView_pimpl.C (MenuInsertLyXFile):
14008
14009 2001-06-24  The LyX Project  <jug@sad.it>
14010
14011         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14012         of compare_no_case
14013
14014 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * lyxtext.h: rename most methods to begin with a small char.
14017         Lots of changes because of this.
14018
14019         * paragraph.C (Paragraph): do not call fitToSize
14020         (erase): call Pimpl::erase
14021         (insertChar): call Pimpl::insertChar
14022         (insertInset): call Pipl::insertInset
14023         (breakParagraph): do not call fitToSize
14024         (breakParagraphConservative): do not call fitToSize
14025         (fitToSize): remove method
14026
14027         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14028
14029 2001-06-24  The LyX Project  <Asger>
14030
14031         * Fix Qt compilation^2
14032
14033 2001-06-24  The LyX Project  <jug@sad.it>
14034
14035         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14036         depthHook(getDepth()-1).
14037
14038         * paragraph.h:
14039         * ParagraphParameters.h:
14040         * ParameterStruct.h: change type of depth to unsigned int ==
14041         depth_type. Many adaptations to other files before of that.
14042
14043 2001-06-24  The LyX Project  <Asger>
14044
14045         * Fix Qt compilation.
14046
14047 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14048
14049         * paragraph.h: renamed several methods to begin with small letter.
14050         several changes to many parts of the code because of this.
14051
14052 2001-06-23  The LyX Project  <jug@sad.it>
14053
14054         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14055         rewritten to discard all double spaces when KeepEmpty is off
14056         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14057         to only handle newlines but not fiddle with spaces and friends.
14058
14059         * lyxfunc.C (MenuNew): when doing 'new from template', use
14060         template_path as default directory
14061
14062 2001-06-23  The LyX Project  <Asger>
14063
14064         * Clean-up of header file includes all over
14065         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14066
14067 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14068
14069         * paragraph.h: renamed from lyxparagraph.h
14070
14071 2001-06-23  Asger  <lyx@violet.home.sad.it>
14072
14073         * Buffer.h: Removed Buffer::resize
14074         * BufferList.h: Removed BufferList::resize
14075         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14076         the document lazily when we change the width, or the font settings.
14077
14078 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14081
14082 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * buffer.h: remove out of date comment
14085
14086 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * lyxscreen.h:
14089         * screen.C: fix "theoretical" GC leak
14090
14091 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * LaTeX.C (scanAuxFile):
14094         (deplog): remove trailing \r when reading stream (useful under
14095         win32)
14096
14097 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14100         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14101         and BufferView::theLockingInset(Inset*), so should use them and not
14102         access bv_->text->the_locking_inset directly.
14103
14104         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14105
14106 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * Makefile.am:
14109         * tex-defs.h: remove old unused file
14110
14111 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * BufferView_pimpl.C: fix typo, remove minibuffer message
14114           when buffer has loaded
14115
14116 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * lyxfunc.C (Dispatch): use stringstream
14119         (MenuNew): use stringstream
14120         (Open): use stringstream
14121
14122         * importer.C (Import): use stringstream
14123
14124         * bufferview_funcs.C (CurrentState): use stringstream
14125
14126         * LaTeX.C (run): use stringstream
14127
14128         * BufferView_pimpl.C (savePosition): use stringstream
14129         (restorePosition): use stringstream
14130         (MenuInsertLyXFile): use stringstream
14131
14132 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * BufferView.C:
14135         * Bullet.C:
14136         * ColorHandler.C:
14137         * FontInfo.C:
14138         * FontLoader.C:
14139         * LColor.C:
14140         * LaTeXFeatures.C:
14141         * Painter.C:
14142         * gettext.C:
14143         * lyx_gui_misc.C:
14144         * lyxserver.C:
14145         * vspace.C: removed // -*- C++ -*- as first line.
14146
14147         * lyxfind.h:
14148         * version.h: added // -*- C++ -*- as first line.
14149
14150 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14151
14152         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14153
14154         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14155         of string
14156
14157 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14160         of floats.
14161
14162 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * gettext.C: include LString.h even when --disable-nls is on.
14165
14166 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14167
14168         * converter.h (Get): changed argument type from int to
14169         FormatList::size_type to avoid unnecessary conversion.
14170
14171         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14172         before using it.
14173
14174 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * gettext.h: include LString.h even when --disable-nls is on.
14177
14178 2001-06-07  Juergen Vigna  <jug@sad.it>
14179
14180         * text.C (BreakAgain): subst spaces with tabs.
14181
14182         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14183         (resizeInsetsLyXText): set force on resizeLyXText.
14184
14185 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * gettext.h (gettext_init):
14188         (locale_init): use a real definition instead of a macro
14189
14190 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * Bufferview_pimpl.C:
14193         * LColor.h:
14194         * LColor.C: further lcolor tidies
14195
14196 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * BufferView_pimpl.C (updateScrollbar): simplify.
14199
14200         * BufferView2.C: don't include insets/insetinfo.h, change
14201         prototype for insertInset and call the Pimpl version. let
14202         updateInset call Pimpl version.
14203
14204         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14205         gotoInset to BufferView::Pimpl
14206
14207 2001-06-01  Juergen Vigna  <jug@sad.it>
14208
14209         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14210         inside a LockingInset (is the update needed at all?).
14211
14212 2001-05-31  Juergen Vigna  <jug@sad.it>
14213
14214         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14215         here not the old one otherwise how should we compare it afterwards
14216         if it's the same!
14217
14218 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * lyxfont.C:
14221         * tabular.C:
14222         * tabular-old.C:
14223         * FontInfo.C: bring C functions into global namespace when
14224         necessary
14225
14226 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * LString.h: make sure config.h has been loaded before LString.h.
14229
14230         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14231         (one for each char read by EatLine!).
14232
14233         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14234         variables.
14235
14236 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14237
14238         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14239         to the same as the par we break from
14240
14241 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14244
14245         * MenuBackend.C (expand): also create menu entries for wide
14246         versions of the floats.
14247
14248         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14249
14250         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14251
14252         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14253         frontends/Makefile.am
14254
14255         * text2.C: adjust
14256         * text.C: adjust
14257
14258
14259         * tabular.C (getTokenValue): add std::
14260
14261         * tabular-old.C (getTokenValue): add std::
14262         (getTokenValue): ditto
14263         (getTokenValue): ditto
14264
14265         * screen.C (ToggleSelection): adjust
14266
14267         * lyxtext.h: put selection cursors inside a Selection struct.
14268
14269         * lyxfunc.C (moveCursorUpdate): adjust
14270
14271         * lyxfont.C (latexWriteStartChanges): add std::
14272
14273         * lyxfind.C: adjust
14274
14275         * font.h: delete with(char const *, LyXFont const &)
14276
14277         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14278
14279         * FontInfo.C (getFontname): add std::
14280
14281         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14282         (workAreaButtonPress): adjust
14283         (tripleClick): adjust
14284         (update): adjust
14285         (moveCursorUpdate): adjust
14286         (Dispatch): adjust
14287
14288         * BufferView2.C (gotoInset): adjust
14289
14290 2001-05-30  Juergen Vigna  <jug@sad.it>
14291
14292         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14293         to check pspell I add this as default as I now have new pspell
14294         libraries and they seem to use this.
14295
14296 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * text2.C (CutSelection): make the cursor valid before the call to
14299         ClearSelection.
14300
14301 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14304         relied on 0 terminated strings and other horrors. Bug found due to
14305         the new assert in lyxstring!
14306
14307         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14308         KP_ keys.
14309
14310 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14313         to latinkeys.bind.
14314
14315         * lyxfunc.C (processKeySym): change method of getting to the
14316         self-insert char.
14317
14318         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14319         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14320         * BufferView_pimpl.[Ch]: here as private methods.
14321
14322 2001-05-28  Juergen Vigna  <jug@sad.it>
14323
14324         * text.C (SetHeightOfRow): added the update() call again as it is
14325         needed to initialize inset dimensions!
14326
14327 2001-05-16  Juergen Vigna  <jug@sad.it>
14328
14329         * text2.C (SetCharFont): Add new function with BufferView * and
14330         bool toggleall parameters for setting insets internal fonts.
14331         (SetFont): Freeze the undo as we may change fonts in Insets and
14332         all this change should be inside only one Undo!
14333
14334         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14335         setting font's in insets as for them we have the SetFont function!
14336
14337 2001-05-15  Juergen Vigna  <jug@sad.it>
14338
14339         * text2.C (ClearSelection): to be sure we REALLY don't have any
14340         selection anymore!
14341
14342         * tabular.C (TeXCellPreamble): fixed the left border problem for
14343         multicolumn cells.
14344
14345 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14346
14347         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14348         dependancy file
14349
14350 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14353         LFUN_BREAKPARAGRAPH.
14354
14355         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14356         help test to "internal only", similar for LFUN_INSERT_URL
14357
14358         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14359         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14360         auto_region_delete and deadkeys.
14361
14362 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * LColor.h:
14365         * LColor.C: remove some dead entries, tidy a little
14366
14367 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14370         commented code.
14371         (Dispatch): implement LFUN_ESCAPE
14372
14373         * commandtags.h: add LFUN_ESCAPE
14374
14375         * LyXAction.C (init): add entry for LFUN_ESCAPE
14376
14377         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14378         Remove commented code.
14379         (insertNote): moved here
14380         (open_new_inset): moved here
14381
14382         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14383         BufferView_pimpl
14384
14385 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * kbmap.C (findbinding): clean it up and make it work correctly.
14388
14389         * lyx_main.C (init): do not pass argc and argv as parameters
14390
14391 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14392
14393         * buffer.C: fix path for OS/2 & Win32
14394
14395         * lyx_gui.C:
14396         * lyx_main:
14397         * lyx_main.C: Added os:: class.
14398
14399         * os2_defines.h: update
14400
14401 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14404         better by trying again with reduced state.
14405
14406 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * lyxrc.C (read): print error about invalid key sequence only when
14409         debugging (because not all latinX keysyms are known to some X
14410         servers)
14411
14412         * kbsequence.C (getiso): add a few std:: qualifiers
14413         (getiso): comment out extra return statement.
14414
14415 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14418         handling.
14419         (Dispatch): enhance the accent inset a bit. (not perfect)
14420
14421 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14424
14425 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14426
14427         * bufferlist.C (emergencyWrite): fix assert() call
14428
14429 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14430
14431         * text.C (InsertChar): Added trivial patch to only send the "you
14432         can not do multiple spaces this way" message once during a
14433         session.
14434
14435 2001-05-08  Baruch Even  <baruch@lyx.org>
14436
14437         * Makefile.am: Changed order of libraries to get LyX to link properly
14438         with the gnome frontend.
14439
14440 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * LaTeXFeatures.h: add a std:: qualifier
14443
14444 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * paragraph.C (String): use stringstream
14447
14448 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * paragraph.C (writeFile): remove footflag arg
14451
14452         * buffer.C (makeLaTeXFile): use stringstream
14453         (latexParagraphs): remove footnot gurba
14454
14455         * LaTeXFeatures.C (getPackages): use stringstream
14456         (getMacros): likewise
14457         (getTClassPreamble): likewise
14458         (getFloatDefinitions): new method
14459
14460         * paragraph.C (writeFile): reindent
14461         (Erase): reindent
14462
14463         * WorkArea.h: revert the xpos + etc changes.
14464
14465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14466
14467         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14468
14469         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14470         (pasteSelection): likewise
14471         * text2.C (CreateUndo): likewise
14472
14473 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * minibuffer.C (peek_event): temporarily reduce the functionality
14476         of the minibuffer (to allow args on lfuns)
14477
14478         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14479         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14480
14481         * buffer.C (readInset): add compability reading of old float
14482         lists, add reading of new style float list.
14483         (readInset): avoid reevaluation of inscmd.getCmdName()
14484         (getLists): reindent
14485
14486         * MenuBackend.C (MenuItem): implement parsing of
14487         md_floatlistinsert and md_floatinsert.
14488         (expand::LastFiles): move initalizaton of iterators out of loop,
14489         avoid reevaluation.
14490         (expand::Documents): introduce typdedef vector<string> Strings,
14491         and use it.
14492         (expand::ExportFormats): introduce typedef vector<Format const *>
14493         Formats, and use it.
14494         (expand): implement FloatListInsert and FloatInsert.
14495
14496         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14497         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14498         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14499
14500         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14501         handling.
14502         (Dispatch::LFUN_FLOAT_LIST): implement
14503
14504 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14505
14506         * LaTeX.C (run): Fix problem with --export code.
14507
14508 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14509
14510         * BufferView.[Ch] (workarea): removed.
14511         (getClipboard) new method; wrapper for workarea()->getClipboard()
14512
14513         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14514         bug.
14515
14516         * WorkArea.h (width, height, xpos, ypos): These methods all
14517         returned the dimensions of the work_area sub-area of WorkArea,
14518         resulting in a position error if the WorkArea were resized. Now
14519         return the dimensions of the entire WorkArea.
14520
14521         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14522
14523 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * LaTeX.C (deplog): correct the syntax of regex reg1
14526
14527 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * undo.C: remove !NEW_INSETS cruft
14530
14531 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * text2.C: remove !NEW_INSETS cruft
14534
14535         * text.C: remove !NEW_INSETS cruft
14536
14537         * tabular.C: remove !NEW_INSETS cruft
14538
14539         * spellchecker.C: remove !NEW_INSETS cruft
14540
14541         * lyxtext.h: remove !NEW_INSETS cruft
14542
14543         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14544
14545         * lyxfunc.C: remove !NEW_INSETS cruft
14546
14547         * lyxfind.C: remove !NEW_INSETS cruft
14548
14549         * lyx_cb.C: remove !NEW_INSETS cruft
14550
14551         * figureForm.C: remove  !NEW_INSETS cruft
14552
14553         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14554
14555         * buffer.[Ch]: remove !NEW_INSETS cruft
14556
14557         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14558
14559         * CutAndPaste.C: remove !NEW_INSETS cruft
14560
14561         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14562
14563         * BufferView2.C: remove !NEW_INSETS cruft
14564
14565         * BufferView.h: remove !NEW_INSETS cruft
14566
14567 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * Lsstream.h: include LString.h before the sstream headers to
14570         fix problem with gcc 2.95.3 and lyxstring
14571
14572 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14573
14574         * lyx_main.C: add using directives when needed for C functions
14575         declared in std:: namespace.
14576
14577 2001-04-27  Juergen Vigna  <jug@sad.it>
14578
14579         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14580         (SetHeightOfRow): comment out the update call should not be needed!
14581
14582 2001-04-13  Juergen Vigna  <jug@sad.it>
14583
14584         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14585         (LyXTabular): tried to minimize operator= operations (and realized
14586         hopfully Lars wish).
14587
14588 2001-04-27  Juergen Vigna  <jug@sad.it>
14589
14590         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14591
14592 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14595
14596         * buffer.C (readInset): hack to make listof algorithm work
14597
14598         * BufferView_pimpl.C: hack to make listof algorithm work
14599
14600 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14601
14602         * LyXAction.C: removed all !NEW_INSETS cruft
14603         (init): moved lfun_item in method
14604
14605         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14606
14607 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * BufferView2.C (theLockingInset): white space.
14610
14611 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14612
14613         * minibuffer.C: include <iostream>
14614
14615         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14616
14617         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14618
14619         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14620
14621         * text.[Ch] (TransposeChars): new method
14622
14623 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14624
14625         * call message directly through LyXView instead of through LyXFunc
14626         * BufferView2.C: adjust
14627         * BufferView_pimpl.C: adjust
14628         * FontLoader.C: adjust
14629         * buffer.C: adjust
14630         * bufferview_funcs.C: adjust
14631         * converter.C: adjust
14632         * figureForm.C: adjust
14633         * importer.C: adjust
14634         * lyx_cb.C: adjust
14635         * lyx_gui_misc.C: adjust
14636         * lyxfunc.C: adjust
14637         * lyxvc.C: adjust
14638         * text2.C: adjust
14639         + more files in subdirs
14640
14641         * lyxparagraph.h (size): move up int file
14642         (GetLayout): ditto
14643
14644         * adjust all uses of Assert to lyx::Assert.
14645
14646         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14647         lyxfunctional in namespace lyx
14648         * layout.C (hasLayout): ditto
14649         (GetLayout): ditto
14650         (GetLayout): ditto
14651         (delete_layout): ditto
14652         (NumberOfClass): ditto
14653         * converter.C (GetFormat): ditto
14654         (GetNumber): ditto
14655         (Add): ditto
14656         (Delete): ditto
14657         (SetViewer): ditto
14658         * bufferlist.C (getFileNames): ditto
14659         (emergencyWriteAll): ditto
14660         (exists): ditto
14661         (getBuffer): ditto
14662         * MenuBackend.C (hasSubmenu): ditto
14663         (hasMenu): ditto
14664         (getMenu): ditto
14665         * BufferView_pimpl.C (getInsetByCode): ditto
14666
14667 2001-04-18  Juergen Vigna  <jug@sad.it>
14668
14669         * vspace.C (asLatexString): fixed the 100% problem.
14670
14671 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * lyxfunc.C (Dispatch):
14674         * minibuffer.C:
14675         * minibuffer.h: add a few std:: qualifiers
14676
14677 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * minibuffer.[Ch]: reimplement so that commands is initiated and
14680         run from lyxfunc, simplified som handling, and made the completion
14681         and history code for complete. wip.
14682
14683         * lyxfunc.C (processKeySym): call message
14684         (miniDispatch): new temporary method
14685         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14686         (LFUN_MESSAGE): implement
14687         (LFUN_MESSAGE_PUSH): implement
14688         (LFUN_MESSAGE_POP): implement
14689         (initMiniBuffer): the initial/defualt minibuffer message.
14690
14691         * lyxfont.[Ch]: inline some more getters
14692
14693         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14694
14695         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14696
14697         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14698         (AutoSave): use LFUN_MESSAGE
14699         (Reconfigure): ditto
14700
14701         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14702
14703         * figureForm.C: use LFUN_MESSAGE
14704
14705         * converter.C (runLaTeX): use LFUN_MESSAGE
14706
14707         * bufferview_funcs.C: use LFUN_MESSAGE
14708         (Melt): ditto
14709         (changeDepth): ditto
14710
14711         * bufferparams.h: use boost::
14712
14713         * bufferlist.h: inherit privately from noncopyable
14714
14715         * bufferlist.C (loadLyXFile): remove some commented code.
14716
14717         * buffer.C (runChktex): use LFUN_MESSAGE
14718
14719         * ShareContainer.h: inherit privately from noncopyable
14720
14721         * ParagraphParameters.[hC] (depth): inline it.
14722
14723         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14724         methods.
14725         (message): new method
14726         (messagePush): ditto
14727         (messagePop): ditto
14728         (show): init minibuffer
14729         (showState): direct call
14730
14731         * LaTeX.[Ch]: inherit privately from noncopyable
14732         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14733         instead of WriteStatus.
14734
14735         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14736
14737         * BufferView_pimpl.C (buffer): don't init minibuffer
14738         (workAreaButtonPress): use LFUN_MESSAGE
14739         (workAreaButtonRelease): ditto
14740         (savePosition): ditto
14741         (restorePosition): ditto
14742         (MenuInsertLyXFile): ditto
14743         (workAreaExpose): don't init minibuffer
14744         (update): remove commented code, simplify
14745
14746         * BufferView2.C (openStuff): use LFUN_MESSAGE
14747         (toggleFloat): ditto
14748         (menuUndo): ditto
14749         (menuRedo): ditto
14750         (copyEnvironment): ditto
14751         (pasteEnvironment): ditto
14752         (copy): ditto
14753         (cut): ditto
14754         (paste): ditto
14755         (gotoInset): ditto
14756         (updateInset): remove some commented code
14757
14758         * lastfiles.h: inherit privately from noncopyable
14759         * layout.h: ditto
14760         * lyx_gui.h: ditto
14761         * lyx_main.h: ditto
14762         * lyxlex.h: ditto
14763         * lyxlex_pimpl.h: ditto
14764
14765         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14766         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14767         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14768
14769         * LyXAction.h: inherit privately from noncopyable, add methods
14770         func_begin, func_end, returning iterators to the func map.
14771
14772         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14773         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14774         (func_begin): new method
14775         (func_end): new method
14776
14777         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14778         and not)
14779         (copySelection): ditto
14780         (pasteSelection): ditto
14781
14782         * BufferView.C: whitespace change
14783         * BufferView.h: inherit privately from noncopyable
14784
14785 2001-04-16  Allan Rae  <rae@lyx.org>
14786
14787         * tabular-old.C (l_getline):
14788         * spellchecker.C (sc_check_word):
14789         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14790         an unrecognised preprocessor directive.  So ensure they're wrapped.
14791
14792 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14793
14794         * src/exporter.C (Export): Give an error message when path to file
14795         contains spaces.
14796
14797 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14798
14799         * LaTeX.C (deplog): Always check that foundfile exists.
14800
14801 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * lyx_main.h:
14804         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14805
14806 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * tabular.[Ch] (getLabelList): implement new method
14809
14810         * minibuffer.h: comment ouf setTiimer
14811
14812         * minibuffer.C (ExecutingCB): constify res
14813         (peek_event): constify s
14814         (Set): constify ntext
14815         (Init): constify nicename
14816
14817         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14818
14819         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14820         (savePosition): use two params to Minibuffer::Set
14821         (restorePosition): ditto
14822
14823 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * lyx_main.C: include language.h
14826
14827         * Makefile.am (lyx_main.o): add language.h
14828
14829 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * exporter.C:
14832         * paragraph.C:
14833         * screen.C:
14834         * tabular.C:
14835         * CutAndPaste.C: include gettext.h
14836
14837         * lyxfont.h: remove old hack with ON and OFF.
14838
14839         * lyxparagraph.h:
14840         * lyxfont.h: do not include language.h...
14841
14842         * BufferView2.C:
14843         * LaTeXFeatures.C:
14844         * Painter.C:
14845         * bufferview_funcs.C:
14846         * font.C:
14847         * lyxfont.C:
14848         * text.C:
14849         * text2.C:
14850         * trans_mgr.C:
14851         * paragraph.C: ... but do it here instead
14852
14853 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14856
14857         * tabular.C: small reformat
14858
14859         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14860         NEW_INSETS version
14861         (GetChar): ditto
14862         (BreakParagraph): ditto
14863         (SetOnlyLayout): ditto
14864         (SetLayout): ditto
14865
14866         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14867         with one arg less.
14868
14869         * lastfiles.C: removed most using decl, add std:: where needed
14870
14871         * buffer.C: ws changes
14872
14873         * MenuBackend.C (class compare_format): put into anon namespace
14874         (expand): constify label, names, action, action2
14875         (expand):
14876
14877         * text.C (SingleWidth): constify font
14878         (IsBoundary): constify rtl2
14879         (GetVisibleRow): constify ww
14880
14881         * LaTeX.C (deplog): constify logfile
14882
14883         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14884         start_x, end_x
14885         (workAreaExpose): constify widthChange, heightChange
14886
14887         * lyxrow.C (par): moved
14888         (height): moved
14889         (next): moved
14890         * lyxrow.h: as inlines here
14891
14892         * lyxfont.h (shape): moved from lyxfont.C
14893         (emph): moved from lyxfont.C
14894
14895         * lyxfont.C (LyXFont): use initialization list for all
14896         constructors
14897         (shape): move to lyxfont.h as inline
14898         (emph): move to lyxfont.h as inline
14899
14900
14901 2001-04-04  Juergen Vigna  <jug@sad.it>
14902
14903         * vspace.C: had to include stdio.h for use of sscanf
14904
14905 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * BufferView.h:
14908         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14909         independent of xforms.
14910
14911 2001-04-02  Juergen Vigna  <jug@sad.it>
14912
14913         * spellchecker.C: fixed namespace placing!
14914
14915 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14916
14917         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14918         the LyXParagraph * is 0.
14919
14920 2001-03-29  Juergen Vigna  <jug@sad.it>
14921
14922         * vspace.C: added support for %, c%, p%, l%.
14923         (stringFromUnit): added helper function.
14924         (asLatexString): changed to give right results for the %-values.
14925
14926         * buffer.C: convert the widthp in a width%.
14927
14928 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14929
14930         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14931         figureForm.[Ch].
14932
14933         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14934         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14935
14936         * lyx_cb.[Ch]: see above.
14937
14938         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14939         form1.[Ch].
14940
14941         * form1.[Ch]:
14942         * lyx.[Ch]: replaced by figure_form.[Ch].
14943
14944         * lyx_gui.C:
14945         * lyx_gui_misc.C:
14946         * lyxfunc.C: changed headers associated with above changes.
14947
14948 2001-03-27  Juergen Vigna  <jug@sad.it>
14949
14950         * BufferView_pimpl.C: set the temporary cursor right!
14951
14952 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14953
14954         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14955
14956 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14957
14958         * LString.h: removed "using std::getline"!
14959
14960         * BufferView_pimpl.C (Dispatch): changes due to changes in
14961         InsetInclude::Params.
14962
14963         * buffer.C (tag_name): removed redundant break statements as they were
14964         producing lots of warnings with my compiler.
14965
14966 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * LString.h: add "using std::getline" when using the real <string>.
14969
14970 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14971
14972         * buffer.C: removed bitset usage.
14973         PAR_TAG moved to an anonymous name space.
14974         (tag_name): new funtion, also in the anonymous namespace.
14975         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14976         (makeDocBookFile): clean code. Completed transition from string arrays
14977         to string vectors.
14978         (SimpleDocBookOnePar): code clean.
14979
14980 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14981
14982         * tabular.C: add some comments.
14983
14984 2001-03-22  Juergen Vigna  <jug@sad.it>
14985
14986         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14987         compatibility read a bit and fixed bug with minipage in different
14988         depth.
14989
14990 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14991
14992         * buffer.C (pop_tag): removed.
14993         (push_tag): removed.
14994         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14995         array replaced with vector. Added support for CDATA sections.
14996         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14997         at any nest level.
14998         (makeDocBookFile): XML conformant declaration of CDATA section,
14999         fixed bug related to <emphasis> in the first paragraph char.
15000         (sgmlOpenTag): exclude empty tags.
15001         (sgmlCloseTag): ditto.
15002
15003         * buffer.h (pop_tag): removed.
15004         (push_tag): removed.
15005
15006 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15007
15008         * language.h (Languages): added size_type and size().
15009
15010 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15011
15012         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15013         response on compability reading of minipages. One probliem is that
15014         the old usage of minipages was «flertydig»
15015
15016         * several files here and in subdirs: don't use static at file
15017         scope use anon namespaces instead.
15018
15019 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15020
15021         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15022         LaTeX output. This is necessary for Literate document
15023         processing.
15024
15025 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15026
15027         * buffer.C: insert hfill when needed.
15028
15029         * tabular.C (l_getline): use string::erase, small whitespace change.
15030
15031         * BufferView_pimpl.C: try the anon namespace.
15032         * WorkArea.C: ditto
15033
15034 2001-03-16  Juergen Vigna  <jug@sad.it>
15035
15036         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15037         otherwise it won't open options-dialogs.
15038
15039         * buffer.C: honor pextraWidth(p) on converting minipages.
15040
15041         * tabular.C (l_getline): changed the functions to strip trailing \r.
15042
15043 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15044
15045         * BufferView_pimpl.C:
15046         * minibuffer..C: added "using SigC::slot" declaration.
15047
15048 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15049
15050         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15051
15052         * text2.C: ditto
15053
15054         * text.C: ditto
15055
15056         * paragraph.C: ditto
15057
15058         * lyxtext.h: NO_PEXTRA
15059
15060         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15061
15062         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15063         * ParameterStruct.h: ditto
15064         * ParagraphParameters.h: ditto
15065         * lyxparagraph.h: ditto
15066
15067 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15068
15069         * buffer.C: add compability for minipage alignment.
15070         (latexParagraphs): remove unwanted pextra check.
15071
15072         * several files: remove CXX_WORKING_NAMESPACES
15073
15074         * buffer.C (pop_tag): tie is in namespace boost
15075
15076         * BufferView.h: noncopyable is in namespace boost
15077         * lyxlex.h: ditto
15078         * lyx_main.h: ditto
15079         * lyx_gui.h: ditto
15080         * layout.h: ditto
15081         * lastfiles.h: ditto
15082         * bufferlist.h: ditto
15083         * ShareContainer.h: ditto
15084         * LyXView.h: ditto
15085         * LyXAction.h: ditto
15086         * LaTeX.h: ditto
15087
15088 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * Merging changes from BRANCH_MVC back into HEAD.
15091
15092         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15093
15094 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * BufferView_pimpl.C: change from intl.C
15097
15098         * combox.h:
15099         * combox.C:
15100         * Makefile.am: move combox.*
15101
15102         * form1.h:
15103         * form1.C:
15104         * lyx_gui.C:
15105         * intl.h:
15106         * intl.C: remove dialog (covered by prefs)
15107
15108 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15109
15110         * lyxfunc.C (Dispatch): removed redundant break statement.
15111
15112 2001-03-14  Juergen Vigna  <jug@sad.it>
15113
15114         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15115
15116 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15117
15118         * buffer.C: add hack to fix compability reading of minipages.
15119
15120 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15121
15122         * buffer.C (getLists): Cleanup.
15123
15124 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * lyxfont.C (update): don't honor toggleall on font size.
15127
15128 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * bmtable.c:
15131         * bmtable.h:
15132         * Makefile.am: moved to frontends/xforms/
15133
15134         * lyx_gui_misc.C:
15135         * lyxfunc.C:
15136         * BufferView_pimpl.C: changes for moved mathpanel
15137
15138 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15139
15140         * gettext.h: fix gettext_init() in --disable-nls
15141
15142 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15145
15146 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * lyx.C:
15149         * lyx.h: strip external form
15150
15151 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * BufferView_pimpl.C: add comment, destroySplash()
15154
15155 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15156
15157         * BufferView_pimpl.C:
15158         * LyXAction.C:
15159         * buffer.C:
15160         * commandtags.h:
15161         * lyxfunc.C: use re-worked insetinclude
15162
15163 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15164
15165         * buffer.C: add using std::stringstream.
15166
15167         * lyx_cb.C: readd using std::ios.
15168
15169         * buffer.C: add using std::map.
15170
15171         * BufferView_pimpl.C: add using std::vector.
15172
15173         * ShareContainer.h: add std:: to swap.
15174
15175         * buffer.h: add some typedefs
15176         * buffer.C (getLists): use them
15177         (getLists): renamed from getTocList.
15178         add a counter for the different float types and use it in the
15179         generated string.
15180         (getLists): use the same counter for the NEW_INSETS and the "non"
15181         NEW_INSETS
15182
15183         * lyx_cb.h: remove unused items, includes, using etc.
15184
15185         * ShareContainer.h: remove some commented code, add more comments
15186         and "documentation".
15187
15188 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15189
15190         * buffer.C (getTocList): make the list also when NEW_INSETS is
15191         defined.
15192
15193         * buffer.h: remove TocType
15194
15195         * buffer.C (getTocList): change to return a map<string,
15196         vector<TocItem> >, implement for dynamic number of list.
15197
15198         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15199         * text2.C (PasteSelection): adjust
15200         * CutAndPaste.C (pasteSelection): adjust
15201
15202         * FloatList.C (FloatList): update from the new_insets branch.
15203         * Floating.[Ch]: ditto
15204         * LaTeXFeatures.C: ditto
15205         * buffer.C: ditto
15206         * lyxlex_pimpl.C: ditto
15207
15208         * paragraph.C (Last): remove when NEW_INSETS is defined.
15209
15210         * other file: changes because of the above.
15211
15212 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15213
15214         * lyxparagraph.h: rename next to next_, previous to previous_,
15215         make them private for NEW_INSETS. Rename Next() to next(),
15216         Previous() to previous().
15217
15218         * other files: changes because of the above.
15219
15220 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * BufferView.h:
15223         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15224         problem.
15225
15226 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15227
15228         * main.C (main): pass lyx_localedir to gettext_init().
15229
15230         * gettext.h: remove locale_init and gettext_init macros
15231
15232         * gettext.C (locale_init): new function
15233         (gettext_init): new function
15234
15235         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15236         setlocale().
15237
15238 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15239
15240         * Moved credits to frontends:
15241         * credits.[Ch]: removed
15242         * credits_form.[Ch]: removed
15243         * lyx_gui_misc.C: remove credits stuff
15244         * Makefile.am:
15245
15246 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15247
15248         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15249
15250         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15251         unneeded destructor.
15252
15253         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15254         a standalone pointer again.
15255
15256         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15257
15258 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15259
15260         * Makefile.am:
15261         * filedlg.h:
15262         * filedlg.C:
15263         * LyXAction.C:
15264         * ToolbarDefaults.C:
15265         * bufferlist.C:
15266         * commandtags.h:
15267         * form1.C:
15268         * form1.h:
15269         * lyx_cb.C:
15270         * lyx_cb.h:
15271         * lyxfunc.h:
15272         * lyxfunc.C:
15273         * BufferView_pimpl.C: use new file dialog in GUII
15274
15275         * lyx_cb.h:
15276         * lyx_cb.C: remove LayoutsCB to Toolbar
15277
15278 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * ShareContainer.h (get): add std:: qualifier
15281
15282 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15283
15284         * ShareContainer.h: define a proper ShareContainer::value_type
15285         type (and use typename to please compaq cxx)
15286
15287 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15288
15289         * lyxparagraph.h: move serveral local vars to
15290         ParameterStruct/ParagraphParameters., use ShareContainer in
15291         FontTable., make vars in FontTable private and add getter and
15292         setter.
15293
15294         * paragraph.C: changes because of the above.
15295
15296         * lyxfont.h: remove copy constructor and copy assignment. (the
15297         default ones is ok), move number inside FontBits. move inlines to
15298         lyxfont.C
15299
15300         * lyxfont.C: add number to initializaton of statics, move several
15301         inlines here. constify several local vars. some whitespace
15302         cleanup. Dont hide outerscope variables.
15303
15304         * Spacing.h: add two new constructors to match the set methods.
15305
15306         * ShareContainer.h: new file, will perhaps be moved to support
15307
15308         * ParameterStruct.h: new file
15309
15310         * ParagraphParameters.h: new file
15311
15312         * ParagraphParameters.C: new file
15313
15314         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15315         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15316
15317         * BufferView_pimpl.C: ParagraphParameter changes.
15318         * buffer.C: Likewise.
15319         * bufferview_funcs.C: Likewise.
15320         * text.C: Likewise.
15321         * text2.C: Likewise.
15322
15323 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * lyxfind.C (LyXReplace): do not redefine default argument in
15326         implementation.
15327         (IsStringInText): ditto
15328         (SearchForward): ditto
15329         (SearchBackward): ditto
15330
15331 2001-03-06  Juergen Vigna  <jug@sad.it>
15332
15333         * lyxfind.C (IsStringInText): put parentes around expressions.
15334
15335 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15336
15337         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15338
15339 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15342
15343         * stl_string_fwd.h: add comment
15344
15345         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15346
15347         * tabular.h:
15348         * tabular.C: remove unused DocBook methods
15349
15350         * intl.C:
15351         * language.C:
15352         * paragraph.C:
15353         * buffer.C:
15354         killed DO_USE_DEFAULT_LANGUAGE
15355
15356 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * lyx_gui.C: do not include language.h.
15359
15360         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15361         arguments in function implementation.
15362
15363 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15364
15365         * BufferView_pimpl.C: add <ctime>
15366
15367 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15368
15369         * BufferView_pimpl.C: add using std::find_if
15370
15371 2001-02-27  José Matos  <jamatos@fep.up.pt>
15372
15373         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15374         by OnlyPath.
15375
15376 2001-02-11  José Matos  <jamatos@fep.up.pt>
15377
15378         * buffer.C (makeDocBookFile): command styles now have a parameter as
15379         "title" by default.
15380
15381 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15382
15383         * layout_forms.[Ch]: removed
15384         * lyx_cb.[Ch]: out character
15385         * lyx_gui.C: out character
15386         * lyx_gui_misc.C: out character
15387         * bufferview_funcs.C: : out character,
15388         added toggleall as parameter in ToggleAndShow
15389
15390 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15393
15394         * text2.C (SetCurrentFont): Disable number property at boundary.
15395
15396 2001-02-26  Juergen Vigna  <jug@sad.it>
15397
15398         * lyxfunc.C (getStatus): added a string argument override function so
15399         that this is correctly called from LyXFunc::Dispatch if it contains a
15400         do_not_use_argument which is used!
15401         (Dispatch): added check for "custom" export and call appropriate func.
15402
15403 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * lyxrc.C: Add language_command_local, language_use_babel and
15406         language_global_options.
15407
15408         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15409
15410         * buffer.C (makeLaTeXFile): Use language_use_babel and
15411         language_global_options.
15412
15413 2001-02-23  Juergen Vigna  <jug@sad.it>
15414
15415         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15416         which works with LyXText and putted it inside BufferView. Here now we
15417         only call for that part the BufferView::Dispatch() function.
15418
15419         * BufferView.C (Dispatch): added.
15420
15421         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15422         functions which needs to use a LyXText over from LyXFunc.
15423         (MenuInsertLyXFile): added
15424         (getInsetByCode): added
15425         (moveCursorUpdate): added
15426         (static TEXT): added
15427
15428 2001-02-22  Juergen Vigna  <jug@sad.it>
15429
15430         * BufferView_pimpl.C (update): call a status update to see if LyXText
15431         needs it.
15432
15433 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15434
15435         * vc-backend.C (revert): implement for CVS
15436         (getLog): implement for CVS
15437
15438 2001-02-20  Juergen Vigna  <jug@sad.it>
15439
15440         * text2.C (ClearSelection): added BufferView param for inset_owner call
15441
15442         * lyxfunc.C (TEXT): added this function and use it instead of
15443         directly owner->view()-text of getLyXText().
15444
15445 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15446
15447         * src/layout_forms.C: out preamble
15448         * src/layout_forms.h: out preamble
15449         * src/lyx_cb.C: out preamble
15450         * src/lyx_cb.h: out preamble
15451         * src/lyx_gui.C: out preamble
15452         * src/lyx_gui_misc.C: out preamble
15453         * src/lyxfunc.C: connect with guii preamble
15454
15455 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15456
15457         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15458
15459 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15460
15461         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15462         whether to run bibtex.
15463
15464 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15465
15466         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15467
15468 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15469
15470         * Makefile.am (lyx_SOURCES): removed bibforms.h
15471
15472         * vspace.h: doxygen
15473
15474         * text.C (GetVisibleRow): make several local vars const
15475
15476         * tabular.C: small cleanup.
15477
15478         * lyxserver.C (callback): use compare instead of strncmp
15479
15480         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15481         inlines to after class or to paragraph.C
15482
15483         * lyxfont.h: remove friend operator!=
15484
15485         * converter.h: move friend bool operator< to non friend and after
15486         class def.
15487
15488         * combox.h: small cleanup
15489
15490         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15491         to inlines after class def.
15492
15493         * buffer.C (pop_tag): use string operations instead of strcmp
15494
15495         * bmtable.c: doxygen, small cleanup
15496
15497         * LaTeX.h: remove friend operator==
15498
15499 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15500
15501         * screen.C:
15502         * lyxrc.[Ch]:
15503         * lyxfunc.C:
15504         * lyxfont.[Ch]:
15505         * lyx_cb.C:
15506         * intl.[Ch]:
15507         * commandtags.h:
15508         * buffer.C:
15509         * WorkArea.[Ch]:
15510         * LyXAction.C:
15511         * BufferView_pimpl.C:
15512         * BufferView.[Ch]: remove cruft
15513
15514 2001-02-14  Juergen Vigna  <jug@sad.it>
15515
15516         * lyxfunc.C: removed #if 0 unused code
15517
15518         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15519
15520         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15521
15522         * text2.C (SetSelection): added a BufferView * parameter
15523
15524 2001-02-13  Juergen Vigna  <jug@sad.it>
15525
15526         * lyxfunc.C (Dispatch): fixed protected blank problem.
15527         * BufferView2.C (protectedBlank): added LyxText * parameter.
15528
15529         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15530         (AppendColumn): same as above for column_info.
15531
15532         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15533         (moveCursorUpdate): use a LyXText param for support of InsetText.
15534
15535         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15536         (tripleClick): ditto
15537
15538         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15539
15540         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15541
15542         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15543
15544         * text2.C (SetSelection): set correct update status if inset_owner
15545         (ToggleFree): ditto
15546
15547 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15548
15549         * tabular.C: remove some commented code.
15550
15551 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15552
15553         * BufferView_pimpl.C: call hideSplash()
15554
15555         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15556
15557         * include_form.h:
15558         * bibforms.h: remove
15559
15560         * lyxfunc.C:
15561         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15562           add LFUN_CHILD_CREATE
15563
15564         * counters.h: fix tiny typo
15565
15566         * lyx_cb.C:
15567         * lyx.h:
15568         * lyx_gui.C:
15569         * lyx.C: move splash to frontends/xforms/
15570
15571         * lyx_gui_misc.C: move Include and Bibform to frontends
15572
15573         * lyxvc.h: clarify comment
15574
15575         * vspace.C: tiny housekeeping
15576
15577 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15578
15579         * text.C (PrepareToPrint): RTL Fix.
15580
15581         * paragraph.C (GetUChar): New method.
15582         (String):  Use GetUChar.
15583
15584         * buffer.C (asciiParagraph): Use GetUChar.
15585
15586 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15587
15588         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15589
15590 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15591
15592         * buffer.h:
15593         * buffer.C: rename to getLogName(), handle
15594           build log / latex log nicely
15595
15596 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * MenuBackend.C:
15599         * MenuBackend.h: remove support for reference menuitem type.
15600
15601 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15602
15603         * BufferView_pimpl.C: housekeeping
15604         * BufferView_pimpl.h:
15605         * LyXView.h:
15606         * Makefile.am:
15607         * Timeout.C:
15608         * Timeout.h:
15609         * minibuffer.h: move Timeout GUI-I
15610
15611 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * lyxrc.C (read): Update converters data-structures.
15614
15615 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15616
15617         * LaTeX.h (operator!=): add operator != for Aux_Info
15618
15619 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15620
15621         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15622
15623         * LaTeXLog.C: deleted, useful code moved to Buffer
15624
15625         * buffer.h:
15626         * buffer.C: new function getLatexLogName()
15627
15628         * lyx_gui_misc.C:
15629         * lyx_gui.C:
15630         * lyxvc.C:
15631         * lyxvc.h:
15632         * lyxfunc.C: use frontends for LaTeX and VC logs
15633
15634 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15635
15636         * LaTeX.h: yet another std:: that Allan forgot.
15637
15638         * Variables.C (set): renamed from isset(), because this clashes
15639         with some HP-UX macros (grr).
15640
15641 2001-02-06  Allan Rae  <rae@lyx.org>
15642
15643         * LaTeX.h: Another bug fix.  Missing std:: this time.
15644
15645 2001-02-04  Allan Rae  <rae@lyx.org>
15646
15647         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15648         floats problem. I've left it commented out because it's not quite
15649         correct.  It should also test that the current object is a table or
15650         figure inset.  But I haven't gotten around to figuring out how to do
15651         that.  I *think* it'll be something like: "table" == inset.type()
15652
15653         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15654         bool.
15655
15656 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15657
15658         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15659         all the citation/databases/styles in the auxilary file.
15660         (run): Rerun latex if there was a babel language error.
15661
15662 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15663
15664         * text.C (Backspace): Preserve the font when changing newline char
15665         with a space.
15666         (BreakParagraph): If the cursor is before a space, delete the space.
15667
15668         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15669
15670 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15671
15672         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15673         new argument (code).
15674         (ChangeCitationsIfUnique): New method.
15675
15676         * paragraph.C (GetPositionOfInset): Handle bibkey.
15677
15678 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * BufferView_pimpl.h: change type of Position::par_pos to
15681         LyXParagraph::size_type.
15682
15683 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * BufferView_pimpl.C (savePosition, restorePosition): Write
15686         messages to minibuffer.
15687
15688 2001-01-28  José Matos  <jamatos@fep.up.pt>
15689
15690         * buffer.C (makeDocBookFile): adds support for document language.
15691         A silly restriction on the name of LatexCommand types where removed.
15692         Added support for CDATA sections, allows to chars unescaped, used
15693         among others in code, to avoid escape < and >.
15694
15695 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15698         saved positions instrad of a stack. Furthermore, a position is
15699         stored using paragraph id/paragraph position.
15700
15701         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15702         Remove LFUN_REF_BACK.
15703
15704 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15705
15706         * converter.C (dvipdfm_options): New method.
15707
15708 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15709
15710         * vspace.C (isValidLength): Fix for empty input string.
15711
15712 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * LyXAction.C (init): change description of LFUN_FIGURE to
15715         "Insert Graphics"
15716
15717 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * LaTeX.C: add using directive
15720
15721 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15722
15723         * MenuBackend.C (expand): Fix the sorting of the formats.
15724
15725 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15726
15727         * lyx_main.C: tiny error message fix
15728
15729 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15732         calling fl_initialize(). This fixes the problem with ',' as
15733         decimal separator in text files.
15734
15735 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * trans.C (process): Fix the keymap bug.
15738
15739 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15740
15741         * LaTeX.C (scanAuxFiles): New method. Provides support for
15742         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15743         (scanLogFile) Scan for "run BibTeX" messages.
15744
15745         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15746         OT1 font encoding. Also, load the aecompl package if the ae
15747         package is loaded.
15748
15749         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15750
15751 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15752
15753         * texrow.C (increasePos): turn two error messages into debug
15754         messages.
15755
15756 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15757
15758         * LaTeX.C (scanAux): Handle the \@input macro.
15759         (runBibTeX): Use scanAux().
15760
15761         * language.C (latex_options_): New field.
15762
15763         * LaTeXFeatures.C (getMacros): Add language macros.
15764
15765         * buffer.C (makeLaTeXFile): Small fix.
15766
15767 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15770
15771         * text2.C: add a using directive.
15772
15773 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15774
15775         * BufferView2.C:
15776         * lyx_gui_misc.h:
15777         * lyxfr1.C:
15778         * lyxfunc.C: kill LyXBell.
15779
15780 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15781
15782         * text.C (IsBoundary): Remove the error message
15783
15784         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15785
15786         * lyxrc.C (setDefaults): Correct initialization value for
15787         font_norm_type.
15788
15789 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15790
15791         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15792         gotoError().
15793
15794         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15795         and GotoNextNote().
15796
15797         * src/LyXAction.C: Added reference-next.
15798
15799         * text.C (InsertChar): Use contains instead of strchr.
15800
15801         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15802
15803 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15804
15805         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15806         alignment commands (when needed).
15807
15808         * text.C (InsertChar): Add ':' to number separator chars.