]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
22ec2ee7a8d7a0d6fc6b9acb6bbbf149e5daf97e
[lyx.git] / src / ChangeLog
1 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (editXY): 
4         * text3.C (checkInsetHit): constify
5
6 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
9         documents (bug 1629)
10
11 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         Fix toggling of collapsable insets with the mouse (bug 1558)
14         
15         * lyxfunc.C (dispatch): adapt to LCursor changes
16
17         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
18         make sure that dispatch is not invoked twice
19
20         * cursor.C (needsUpdate): new method
21         (dispatch): return void
22         (result): new method, to access the DispatchResult of the cursor.
23
24 2004-08-13  José Matos  <jamatos@lyx.org>
25
26         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
27
28 2004-08-13  André Pönitz  <poenitz@gmx.net>
29
30         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
31
32         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
33           multiple cells
34    
35 2004-08-12  André Pönitz  <poenitz@gmx.net>
36
37         * text3.C: take out the 'cursor right' form insertInset and only
38         do it in those places when it is really needed. Fixes crash on
39         C-m...
40
41 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
44
45         * BufferView_pimpl.C (setBuffer): initialize the current font of
46         the underlying LyXText
47
48 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * kbsequence.C (print): use UI native formatting for menu
51         shortcuts
52
53         * text.C (insertChar): call Paragraph::insertChar with a font
54         argument (cosmetic)
55
56         * paragraph.C (insertInset, insertChar): the version that takes a
57         LyXFont argument is now a wrapper around the other one (the
58         opposite used to be true). 
59
60         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
61         argument. Font setting is done in Paragraph now.
62
63 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * outputparams.h: add new members intitle and lang.
66
67         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
68         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
69
70 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
71
72         * text3.C (dispatch): remove special handling of button 4 and 5,
73         it is now taken care of in the frontend code.
74
75 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
76
77         * Spacing.h: add <string> (STLPort compile fix)
78
79 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
80
81         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
82
83 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
84
85         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
86         to bool.
87
88         * converter.C (showMessage): inherit from unary_function, make
89         operator() const.
90
91         * buffer.C (writeFile): initialize retval
92
93         * InsetList.h: rename private variable list to list_
94         * InsetList.[Ch]: adjust accordingly.
95
96 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
99         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
100         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
101         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
102         * ParagraphParameters.C, LaTeXFeatures.C: replace
103         "support/std_sstream.h" with <sstream>
104
105 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
106
107         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
108         * lyxsocket.C (LyXServerSocket): ditto
109         (serverCallback): ditto
110
111 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
112
113         * LaTeXFeatures.C: check release date when loading jurabib.
114
115 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * lyxserver.C (startPipe): call register_socket_callback
118         (endPipe): call unregister_socket_callback
119
120 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
123         (LyXServerSocket): register the callback
124         (LyXServerSocket): unregister the callback
125         (fd): delete function
126         (serverCallback): improve error checking and setup the callbacks.
127         (dataCallback): change arg to fd.
128         (writeln): new func (copied fro the client socket) used for server
129         write to client.
130         (LyXDataSocket): simplify
131         (~LyXDataSocket): close ann unregiser callback
132         (server): delete function
133         (fd): delete function
134         (readln): small changes, improve some std::string usage
135         (writeln): constify a bit
136
137 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
140         Qt frontend
141
142 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * BufferView_pimpl.C (setBuffer): set the layout combox value only
145         after it has been populated
146
147 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * text2.C (insertInset): move cursor when inserting inset.
150
151 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * kbmap.C (findbindings): a couple of new methods. returns a
154         container of kb_sequence objects. The real work is done by the
155         private recursive version
156         (printbindings): uses findbindings to print out a bracketed list
157         of bindings (renamed from findbinding).
158
159         * MenuBackend.C (binding): use kb_keymap::findbindings
160
161         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
162
163 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
166
167 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * paragraph.C (isWord): return true on insets that report
170         isLetter().
171
172         * text.C (getWord): use Paragraph::isWord to decide what is in a
173         word and what is not; fix bug 1609.
174
175 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * tex-strings.C: add "none" to string_paperpackages[], fixes
178         off-by-one-error in the paperpackage selection.
179
180         * lyxlex.[Ch]:
181         * tex-strings.[Ch]: char const * string[n]
182         -> char const * const string[]
183
184 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
187         command, return early.
188
189 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
190
191         * debug.h: add DEBUG to enum and fix size of ANY.
192
193         * debug.C: add support for Debug::DEBUG
194         (showTags): cast errorTags.level to unsigned int
195
196         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
197         (redoCurrentBuffer): ditto
198         (updateScrollbar): ditto
199         * cursor.C (dispatch): ditto
200         * text2.C (setLayout): ditto
201         (setFont): ditto
202         (updateCounters): ditto
203         (editXY): ditto
204         (deleteEmptyParagraphMechanism): ditto
205
206 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
207
208         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
209         annotations to cleanup the Makefile slightly.
210
211 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * lyxrc.C: do not set user_email to a default value but use empty
214         instead. The entry used to be translated, which does not work
215         since at the point where lyxrc is constructed there is no
216         translation service available
217
218         * messages.C (getLocaleDir): remove and use directly
219         lyx_localedir() instead
220
221 2004-06-02  Angus Leeming  <leeming@lyx.org>
222
223         Fix crash caused by dereferencing null pointer 'exportdata' in
224         OutputParams by creating a new ExportData variable on the heap,
225         storing it in a boost::shared_ptr.
226         The crash was triggered when generating an Instant Preview
227         of an external inset.
228
229         * Makefile.am: add outputparams.C
230
231         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
232         (c-tor): allocate memory to it.
233
234         * exporter.C (c-tor): associated changes.
235
236 2004-06-01  Angus Leeming  <leeming@lyx.org>
237
238         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
239         contains data before calling isInset(0). (Bug 1513.)
240
241 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * exporter.C (checkOverwrite): new method
244         * exporter.C (copyFile): new method
245         * exporter.C (Export): copy referenced files to the document dir
246         * exporter.[Ch]: new class ExportedFile
247         * exporter.[Ch]: new class ExportData. Contains currently the
248         names of referenced external files
249         * outputparams.h: add exportdata member.
250
251 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
252
253         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
254         version.C-tmp
255
256 2004-05-19  Angus Leeming  <leeming@lyx.org>
257
258         * LaTeXFeatures.C:
259         * ToolbarBackend.C:
260         * bufferparams.C:
261         * lyxfunc.C: small changes due to the introduction of namespace
262         lyx::frontend and the moving of namespace biblio to lyx::biblio.
263
264 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * text3.C (dispatch): supress update when only moving the cursor
267         * cursor.C (selHandle): remove commented code
268
269 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
270
271         * paragraph.C (startTeXParParams): correct column count
272         * CutAndPaste.C (pasteSelection): remove const_cast
273         * output_docbook.C (docbookParagraphs): remove const_cast
274         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
275         const_cast and return ParagraphList::const_iterator
276         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
277         * output_plaintext.C (writeFileAscii): remove const_cast
278         * paragraph.[Ch] (simpleTeXOnePar): make const
279         * paragraph_funcs.C (outerPar): use const iterators
280         * paragraph_pimpl.C (validate): use const iterators
281         * text.C (setHeightOfRow): use const iterators
282
283 2004-05-17  Angus Leeming  <leeming@lyx.org>
284
285         * lfuns.h:
286         * LyXAction.C (init): new LFUN_INSET_REFRESH.
287
288         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
289         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
290         if the citation engine has changed.
291
292 2004-05-14  José Matos  <jamatos@lyx.org>
293
294         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
295         if the textclass does not provide it. Have it different for sgml and
296         xml.
297         support the language of document.
298         * output_docbook.C (docbookParagraphs):
299         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
300         first anchor as the id of the paragraph, remove special case code.
301         * sgml.C (escapeChar): escape only < & >.
302
303 2004-05-14  Angus Leeming  <leeming@lyx.org>
304
305         * bufferparams.h: move biblio::CiteEngine enum here to minimize
306         dependencies on src/frontends/controllers/biblio.h. Define a
307         CiteEngine_enum wrapper class to enable the enum to be forward
308         declared.
309
310 2004-05-12  Angus Leeming  <leeming@lyx.org>
311
312         * buffer.C: up LYX_FORMAT to 234.
313         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
314         use_numerical_citations with a single biblio::CiteEngine cite_engine
315         variable.
316         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
317
318 2004-05-13  José Matos  <jamatos@lyx.org>
319
320         * converter.h:
321         * converter.C (Converter, readFlags): add xml member.
322         * outputparams.h: add XML flavor.
323         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
324
325 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * lyxfunc.C (dispatch):
328         (getStatus): fix handling of LFUN_SEQUENCE
329
330 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * debug.C (showLevel): do not forget the end-of-line marker
333
334 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * kbmap.C (read): do not stop parsing a bind file when an error
337         occurs (bug 1575)
338
339 2004-04-29  Angus Leeming  <leeming@lyx.org>
340
341         * cursor.C:
342         * factory.C:
343         * pariterator.C:
344         * text2.C: wrap a bunch of #warning statements
345         inside #ifdef WITH_WARNINGS blocks.
346
347 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * buffer.C: increment format to 233.
350
351 2004-04-28  Angus Leeming  <leeming@lyx.org>
352
353         * BufferView_pimpl.C:
354         * lyxfunc.C:
355         * text3.C:
356         s/updateToolbar()/updateToolbars()/
357         s/Toolbar.h/Toolbars.h/
358
359 2004-04-28  Angus Leeming  <leeming@lyx.org>
360
361         * BufferView.[Ch] (c-tor):
362         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
363         No longer passes these data to the WorkArea generator.
364
365 2004-04-28  Angus Leeming  <leeming@lyx.org>
366
367         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
368
369 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
372
373 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * output_latex.C (TeXEnvironment): make sure that there is a line
376         break before \end{foo} for the last paragraph of a document
377         (TeXOnePar): if the paragraph is at the end of the document (or
378         inset) and the language has to be reset, then make sure that the
379         line break is _before_ the language command, not after (fixes bug
380         1225); also make sure that the language reset command is the first
381         thing after the paragraph (to ensure proper nesting of
382         environments and thus fix bug 1404)
383
384 2004-04-21  John Levon  <levon@movementarian.org>
385
386         * ToolbarBackend.h:
387         * ToolbarBackend.C: make "name" be a programmatic name
388         and a gui_name field.
389
390         * lyxfunc.C: display the minibuffer on M-x
391
392 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
395         (bug 1526)
396
397 2004-04-19  Angus Leeming  <leeming@lyx.org>
398
399         * BufferView_pimpl.C (setBuffer): changed preview interface.
400
401         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
402         possible values.
403
404 2004-04-19  John Levon  <levon@movementarian.org>
405
406         * BufferView_pimpl.C:
407         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
408
409 2004-04-05  Angus Leeming  <leeming@lyx.org>
410
411         * text.C (redoParagraphs): add call to updateCounters(), thereby
412         fixing the missing "Figure #:" label from the caption of a
413         figure float.
414
415 2004-04-13  Angus Leeming  <leeming@lyx.org>
416
417         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
418         cursor is clicked out of an inset.
419
420 2004-04-13  Angus Leeming  <leeming@lyx.org>
421
422         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
423         than an InsetOld one.
424
425 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
426
427         * format.[Ch]: add editor to Format
428         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
429         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
430
431 2004-04-08  André Pönitz  <poenitz@gmx.net>
432
433         * metricsinfo.h: remove PainterInfo::width member
434
435 2004-04-08  Angus Leeming  <leeming@lyx.org>
436
437         * lyx_sty.C (boldsymbol_def): modify so that it outputs
438         "\providecommand" rather than "\newcommand", thereby preventing
439         clashes with packages that define "\boldsymbol" themselves.
440         Eg, beamer.
441
442 2004-04-08  Angus Leeming  <leeming@lyx.org>
443
444         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
445         thereby squashing an unnecessary warning.
446
447 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
448
449         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
450         setBuffer()
451
452 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * BufferView.C (setCursor): call redoParagraph (some insets could
455         have been opened)
456         (putSelectionAt): remove the 'double update' trick
457
458         * BufferView_pimpl.C (fitCursor): call refreshPar
459         (workAreaDispatch): remove an uneeded update call
460         (dispatch): remove some manual update calls
461
462         * cursor.[Ch]: remove cached_y_, updatePos
463         (selHandle): set noUpdate when appropriate
464
465         * lyxfunc.C (dispatch): track if we need an update
466
467         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
468
469         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
470         (paintSelection): cheap optimization, do not call cursorX when not
471         needed
472         (paintPars): change signature
473         (refreshPar): add
474         (paintText): adjust
475         (paintTextInset): adjust
476
477         * text.C: adjust
478
479 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * lengthcommon.C: compilation fix: remove explicit array size from
482         unit_name[] and friends
483
484 2004-04-05  Angus Leeming  <leeming@lyx.org>
485
486         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
487
488         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
489         present only for the preferences dialog.
490         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
491
492 2004-04-05  Angus Leeming  <leeming@lyx.org>
493
494         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
495         to enable the frontends to export changes to lyxrc correctly.
496
497         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
498
499 2004-04-07  André Pönitz  <poenitz@gmx.net>
500
501         * cursor.[Ch] (selClear, adjust): remove math
502
503         * cursor_slice.C: more agressive assert
504
505         * lyxfunc.C:
506         * BufferView_pimpl.C: rework mouse event dispatch
507
508         * dociterator.C:
509         * paragraph.C:
510         * text2.C:
511         * text3.C: adjust
512
513 2004-04-05  André Pönitz  <poenitz@gmx.net>
514
515         * cursor.[Ch] (valign, halign...): remove unneeded functions
516
517 2004-04-05  Angus Leeming  <leeming@lyx.org>
518
519         * lyxlength.[Ch] (unit_name et al.): const-correct.
520
521 2004-04-05  Angus Leeming  <leeming@lyx.org>
522
523         * BufferView_pimpl.C:
524         * buffer.C:
525         * counters.C:
526         * cursor.C:
527         * lyxfunc.C
528         * paragraph.C:
529         * pariterator.C:
530         * text.C:
531         * text2.C:
532         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
533
534 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * text3.C (getStatus): add LFUN_BEGINNINGBUF
537
538 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * lyxfind.C: add a couple of inTexted() tests + other small fixes
541         * BufferView_pimpl.[Ch] (getStatus)
542         * BufferView.[Ch] (getStatus): add
543         * lyxfunc.C (getStatus): move lfuns handled in
544         BufferView::dispatch to te function above
545         * Cursor.C (setSelection): set selection() = true
546
547 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
548
549         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
550
551 2004-03-31  Angus Leeming  <leeming@lyx.org>
552
553         * lyxfunc.C (dispatch): Fall through to the generic
554         Dialogs::show("preamble").
555
556 2004-03-31  Angus Leeming  <leeming@lyx.org>
557
558         * lyxfunc.C (dispatch): Fall through to the generic
559         Dialogs::show("spellchecker").
560
561 2004-03-31  Angus Leeming  <leeming@lyx.org>
562
563         * lyxfunc.C (getStatus, dispatch): changed invocation of the
564         preferences dialog.
565
566 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
567
568         * BufferView.C
569         * cursor.[Ch]
570         * dociterator.[Ch]:
571         * insetiterator.[Ch]:
572         * lyxfind.C:
573         * lyxfunc.C:
574         * pariterator.[Ch]:
575         * text2.C:
576         * undo.[Ch]: s/DocumentIterator/DocIterator/g
577
578 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
579
580         * BufferView.C (setCursor, putSelectionAt): call edit to open the
581         insets where we are putting the cursor.
582
583 2004-03-31  Angus Leeming  <leeming@lyx.org>
584
585         * lfuns.h:
586         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
587
588         * lyxrc.[Ch] (read, write): overloaded member functions taking
589         a std::[io]stream arguments.
590
591         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
592
593 2004-03-31  Angus Leeming  <leeming@lyx.org>
594
595         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
596         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
597
598         * lyxtextclass.C (load): if the text class couldn't be loaded, then
599         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
600
601 2004-03-31  Angus Leeming  <leeming@lyx.org>
602
603         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
604         the LFUN_ALL_INSETS_TOGGLE code.
605
606 2004-03-30  Angus Leeming  <leeming@lyx.org>
607
608         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
609         has died. Fall through to the generic Dialogs::show("document").
610
611 2004-03-30  Angus Leeming  <leeming@lyx.org>
612
613         * lfuns.h:
614         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
615         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
616
617         * lyxfunc.C (getStatus, dispatch): define the actions for these
618         lfuns. Little more than a cut and pste job from ControlDocument.C
619
620         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
621
622 2004-03-30  Angus Leeming  <leeming@lyx.org>
623
624         * lfuns.h:
625         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
626         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
627
628         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
629         open/closed state of ollapsable insets. Usage:
630
631         all-inset-toggle <state> <name>, where
632         <state> == "open" || "closed" || "toggle" and
633         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
634
635         * lyxtext.h, text2.C (toggleInset): removed.
636
637         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
638         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
639         now passes LFUN_INSET_TOGGLE to the found inset.
640
641         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
642         is now invoked as "all-insets-toggle toggle branch".
643
644 2004-03-30  Angus Leeming  <leeming@lyx.org>
645
646         * dociterator.C:
647         * insetiterator.C:
648         * pariterator.[Ch]: added/corrected header blurb.
649
650 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * dociterator.[Ch]: add an inset_ member
653         (backwardPos): implemented
654         (backwardPos, forwardPos): use inset_ when the stack is empty.
655         (doc_iterator_begin, doc_iterator_end): implemented
656         * pariterator.[Ch]: adjust, add begin, end
657         * insetiterator.[Ch]: adjust, add begin, end
658         * cursor.C:
659         * document.C:
660         * BufferView.C:
661         * BufferView_pimpl.C:
662         * CutAndPaste.C: adjust
663
664 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
665
666         * buffer.C: increment file format to 232.
667         * LaTeXFeatures.C: add bibtopic package.
668         * bufferparams.[Ch]: param \use_bibtopic.
669
670         * lyxrc.[Ch]: add lyxrc bibtex_command
671         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
672
673         * buffer.C: increment file format to 231.
674
675 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
676
677         * dociterator.C: implement forwardPar
678         * iterators.[Ch]: remove, replaced by
679         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
680         * BufferView.C:
681         * BufferView_pimpl.C:
682         * CutAndPaste.C:
683         * buffer.C:
684         * bufferview_funcs.C:
685         * cursor.C:
686         * lyxfind.C
687         * lyxfunc.C
688         * paragraph_funcs.C
689         * toc.C:
690         * Makefile.am: adjust
691
692 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
693
694         * CutAndPaste.C (pasteSelection): fix 2 crashes
695         (eraseSelection): fix a crash
696         * paragraph_funcs.C: remove a warning
697
698 2004-03-28  Angus Leeming  <leeming@lyx.org>
699
700         * lfuns.h:
701         * LyXAction.C (init): new LFUN_PRINT.
702
703         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
704
705 2004-03-27  Angus Leeming  <leeming@lyx.org>
706
707         * lfuns.h:
708         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
709
710         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
711
712 2004-03-27  Angus Leeming  <leeming@lyx.org>
713
714         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
715         insetlist always contains non-null pointers to insets.
716
717 2004-03-26  Angus Leeming  <leeming@lyx.org>
718
719         * src/BufferView_pimpl.C:
720         * src/CutAndPaste.C:
721         * src/buffer.C:
722         * src/iterators.C:
723         * src/output_plaintext.C:
724         * src/outputparams.h:
725         * src/paragraph_funcs.C:
726         * src/rowpainter.C:
727         * src/text.C:
728         * src/text2.C:
729         * src/frontends/controllers/ControlErrorList.C:
730         * src/frontends/gtk/FileDialogPrivate.C:
731         * src/frontends/gtk/GPainter.C:
732         * src/frontends/gtk/GToolbar.C:
733         * src/frontends/qt2/QRef.C:
734         * src/mathed/math_scriptinset.C: squash compiler warnings.
735
736 2004-03-26  Angus Leeming  <leeming@lyx.org>
737
738         * ispell.C (LaunchIspell::start):
739         * lyx_cb.C (AutoSaveBuffer::start):
740         invoke run(DontWait) rather than runNonBlocking().
741
742 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
745
746 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * kbsequence.C (print): adjust
749
750         * kbmap.C (printKeySym): rename and change signature
751         (printKey): use LyXKeySym::print()
752
753 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
754
755         * undo.C: add using std::advance to compile for stlport
756
757 2004-03-24  Angus Leeming  <leeming@lyx.org>
758
759         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
760         it leads to a crash when no buffer is present.
761
762 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763             Martin Vermeer  <martin.vermeer@hut.fi>
764
765         * lyxfunc.C (dispatch):
766         * bufferparams.C (readToken): use the new LColor::setColor
767
768         * LColor.[Ch] (setColor): new version that takes two strings as
769         argument and creates a new color entry if necessary
770
771 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
772
773         * buffer.C (makeLaTeXFile): if the main latex file that is
774         processed is usually a subdocument of some master, then pretend
775         for a while that it is actually the master
776
777 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
778
779         * buffer.C (getLabelList):
780         (getBibkeyList): use getMasterBuffer()
781         (getMasterBuffer): new method. Returns the main document in the
782         case where one is using included documents.
783
784 2004-03-25  André Pönitz  <poenitz@gmx.net>
785
786         * Makefile.am:
787         * iterators.[Ch]:
788         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
789
790         * ParagraphList_fwd.h: change ParagraphList to a std::vector
791
792         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
793         text*.C over here. Rename namespace CutAndPaste to lyx::cap
794
795         * ParameterStruct.h: merge with ParagraphParameters
796
797         * lyxtext.h: remove LyXText::parOffset() and getPar()
798
799         * text3.C: Remove all 'manual' update calls. We do now one per user
800         interaction which is completely sufficient.
801
802         * Bidi.C:
803         * BufferView.[Ch]:
804         * BufferView_pimpl.C:
805         * FontIterator.[Ch]:
806         * MenuBackend.C:
807         * ParagraphParameters.[Ch]:
808         * buffer.C:
809         * buffer.h:
810         * bufferlist.C:
811         * cursor.[Ch]:
812         * cursor_slice.[Ch]:
813         * dociterator.[Ch]:
814         * errorlist.[Ch]:
815         * factory.C:
816         * lfuns.h:
817         * lyxfind.C:
818         * lyxfunc.C:
819         * output_docbook.[Ch]:
820         * output_latex.[Ch]:
821         * output_linuxdoc.[Ch]:
822         * output_plaintext.[Ch]:
823         * paragraph.[Ch]:
824         * paragraph_funcs.[Ch]:
825         * paragraph_pimpl.[Ch]:
826         * rowpainter.C:
827         * tabular.[Ch]:
828         * text.C:
829         * text2.C:
830         * toc.C:
831         * undo.[Ch]: adjust
832
833         * frontends/controllers/ControlDocument.C:
834         * frontends/controllers/ControlErrorList.C:
835         * frontends/controllers/ControlSpellchecker.C:
836         * insets/inset.C:
837         * insets/inset.h:
838         * insets/insetbase.h:
839         * insets/insetbibitem.C:
840         * insets/insetbox.C:
841         * insets/insetbranch.C:
842         * insets/insetcaption.C:
843         * insets/insetcharstyle.C:
844         * insets/insetcharstyle.h:
845         * insets/insetcollapsable.C:
846         * insets/insetcollapsable.h:
847         * insets/insetert.C:
848         * insets/insetfloat.C:
849         * insets/insetfoot.C:
850         * insets/insetmarginal.C:
851         * insets/insetnote.C:
852         * insets/insetoptarg.C:
853         * insets/insettabular.C:
854         * insets/insettext.C:
855         * insets/insettext.h:
856         * insets/insetwrap.C:
857         * mathed/math_mboxinset.C:
858         * mathed/math_nestinset.C:
859         * mathed/math_scriptinset.C:
860         * mathed/math_scriptinset.h:
861         * support/types.h:
862
863 2004-03-24  Angus Leeming  <leeming@lyx.org>
864
865         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
866         deal with any child processes that have finished but are waiting to
867         communicate this fact to the rest of LyX.
868
869 2004-03-24  Angus Leeming  <leeming@lyx.org>
870
871         64-bit compile fixes.
872
873         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
874         (c-tor): pass lyx::pos_types rather than ints.
875
876         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
877         lyx::pos_type.
878
879         * text.C (Delete): compile fix.
880         (getPar): ensure that function declaration is the same as that in
881         the header file.
882
883 2004-03-23  Angus Leeming  <leeming@lyx.org>
884
885         * ispell.C (LaunchIspell):
886         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
887         a boost::shred_ptr rather than a std::auto_ptr.
888
889 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * lyxfunc.C (getStatus): handle read-only buffers correctly;
892         handle LFUN_FILE_INSERT_*
893
894         * lyxrc.C (setDefaults, getDescription, output, read):
895         * lyxrc.h: remove ps_command
896
897 2004-03-22  Angus Leeming  <leeming@lyx.org>
898
899         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
900         Ensure that error_handler is processed once only and that all data
901         is saved before attempting to output any warning messages.
902
903         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
904
905 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * tabular.C (TeXRow): crash fix (from Kayvan and André)
908
909 2004-03-19  André Pönitz  <poenitz@gmx.net>
910
911         * cursor.[Ch] (reset): take main text inset as argument
912
913         * BufferView: adjust
914         * BufferView_pimpl.C: adjust
915
916         * paragraph.[Ch]: fix completely broken operator=()
917
918 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * LColor.C (getFromLyXName): make sure that the color name is used
921         as lowercase.
922
923 2004-03-17  Angus Leeming  <leeming@lyx.org>
924
925         * lfuns.h:
926         * LyXAction.C (init): remove LFUN_FORKS_KILL.
927
928         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
929         dialog and to kill a forked process.
930
931 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
932
933         * text2.C (setCursorFromCoordinates): fix font problem
934
935 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
938         bogus "rebuild cursor" code
939
940 2004-03-11  André Pönitz  <poenitz@gmx.net>
941
942         * buffer.[Ch]: use InsetText instead of LyXText as container for
943         the main lyx text.
944
945         * dociterator.[Ch]: drop the BufferView * member which is not needed
946         anymore after the change to buffer.C
947
948         * paragraph_funcs.C:
949         * text.C:
950         * text2.C:
951         * BufferView.[Ch]:
952         * BufferView_pimpl.[Ch]:
953         * cursor.[Ch]:
954         * cursor_slice.[Ch]: adjust
955
956         * text3.C: fix bug in mathDispatch
957
958 2004-03-08  André Pönitz  <poenitz@gmx.net>
959
960         * undo.[Ch]: use 'StableDocumentIterator' as base for
961         the Undo struct.
962
963 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
964
965         * LaTeXFeatures.C:
966         * bufferparams.[Ch]: add jurabib support and param.
967
968         * LaTeX.C: add FIXME/comment.
969
970 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
971
972         * buffer.C: increment file format to 230.
973
974 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
975
976         * cursor.C (dispatch): avoid infinite loops
977
978 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * rowpainter.C (paintSelection): fix x coordinates
981
982 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
983
984         * text.C (rowBreakPoint): fix breaking before displayed insets
985
986 2004-03-01  André Pönitz  <poenitz@gmx.net>
987
988         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
989
990         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
991
992         * Makefile.am:
993         * BufferView.C:
994         * BufferView_pimpl.C:
995         * buffer.C:
996         * lyxfind.C:
997         * lyxfunc.C:
998         * text.C:
999         * text2.C:
1000         * text3.C: adjust
1001
1002 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * lyxtext.h:
1005         * text.C:
1006         * text2.C:
1007         * rowpainter.C:
1008         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1009         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1010
1011 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * Bidi.[Ch] (computeTables): const correctness
1014         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1015         fill_hfill, fill_label_hfill and x from Row
1016         * lyxtext.h: prepareToPrint returns a RowMetrics
1017         * rowPainter.C: adjust
1018         * text.C (prepareToPrint): use width, not textWidth. adjust
1019         (redoParagraphInternal, cursorX): adjust
1020         * text2.C (getColumnNearX): adjust
1021         (init): put a default value to the top LyXText::width
1022
1023 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1024
1025         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1026
1027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1028
1029         * lyxtext.h: add FontIterator class
1030
1031         * text.C (FontIterator, operator*, operator->, operator++): add
1032         (rowBreakPoint, setRowWidth): adjust (fixing a
1033         rebreaking bug)
1034
1035 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * BufferView_pimpl.C (workAreaDispatch): allow also
1038         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1039
1040 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * text.C (rowBreakPoint): fix a bug showing with very large insets
1043
1044 2004-02-25  André Pönitz  <poenitz@gmx.net>
1045
1046         * text3.C:
1047         * cursor.[Ch]: move some mathed specific code to mathed
1048
1049 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1052         use_tempdir in preferences
1053         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1054         tempfile creation
1055         * lyx_main.C: ensure that tempdir is valid
1056         * lyxlex.h: correct typo
1057         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1058         * paragraph.[Ch] (isMultiLingual): make const
1059         * cursor.[Ch] (openable): make const
1060
1061 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1064
1065 2004-02-20  André Pönitz  <poenitz@gmx.net>
1066
1067         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1068
1069         * cursor.[Ch]: prepare for localized getStatus()
1070
1071         * lyxtext.h:
1072         * tabular.C:
1073         * text.C:
1074         * text2.C:
1075         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1076
1077 2004-02-20  André Pönitz  <poenitz@gmx.net>
1078
1079         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1080
1081 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * text2.C (setCursorFromCoordinates): switch to absolute coords
1084         (cursorUp): adjust
1085         (cursorDown): adjust
1086         * text3.C (dispatch): adjust
1087
1088 2004-02-16  André Pönitz  <poenitz@gmx.net>
1089
1090         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1091           insets/ChangeLog)
1092
1093         * cursor_slice.[Ch]: remove unneeded acessor function
1094
1095         * lyxtext.h: rename rtl() to isRTL()
1096
1097         * rowpainter.C:
1098         * tabular.C:
1099         * text.C:
1100         * text2.C:
1101         * text3.C: adjust
1102
1103 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * rowpainter.C (paintSelection): coord fix
1106
1107 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1108
1109         * Spacing.C: compile fix
1110
1111 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1112
1113         * cursor.C (dispatch): restore current_ before returning
1114
1115 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * text2.C (cursorUp, cursorDown): fix coords
1118         (moveUp): fix crash
1119
1120 2004-02-12  André Pönitz  <poenitz@gmx.net>
1121
1122         * lyxtext.h:
1123         * text.C:
1124         * text2.C:
1125         * text3.C: add LCursor & parameter to most cursor movement functions
1126           remove usage of LyXText::cursorRow() and cursorPar()
1127
1128         * cursor.[Ch]: add textRow() needed members
1129
1130         * BufferView.C:
1131         * BufferView_pimpl.C:
1132         * paragraph.[Ch]:
1133         * BufferView.C:
1134         * BufferView_pimpl.C: adjust
1135
1136 2004-02-11  André Pönitz  <poenitz@gmx.net>
1137
1138         * lyxfunc.C:
1139         * BufferView.[Ch]:
1140         * BufferView_pimpl.C: shift undo/redo handling
1141
1142         * cursor.[Ch]: fix mathed crash
1143
1144         * lyxfind.C:
1145         * lyxtext.h: move selectionAsText to LCursor
1146
1147         * output_latex.C:
1148         * paragraph.C:
1149         * text.C:
1150         * text2.C:
1151         * text3.C: adjust
1152
1153         * rowpainter.C: fix excessive drawing
1154
1155 2004-02-06  André Pönitz  <poenitz@gmx.net>
1156
1157         * BufferView.[Ch]:
1158         * BufferView_pimpl.[Ch]:
1159         * text3.C: move some text specific LFUN handling
1160
1161 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * text3.C (checkInsetHit): adjust coords
1164         * text2.C (getColumnNearX): adjust coords
1165         (edit): adjust coords
1166         * text.C (getRowNearY): add two asserts
1167
1168 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1169
1170         * converter.C:
1171         * format.C: add using std::distance to compile on gcc 2.95/stlport
1172
1173 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1174
1175         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1176
1177 2004-02-04  André Pönitz  <poenitz@gmx.net>
1178
1179         * BufferView.[Ch] (insertInset):
1180         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1181
1182         * text2.C:
1183         * text3.C: adjust
1184
1185 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1186
1187         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1188         on the default clause of the switch
1189         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1190         wasn't catched by LCursor::dispatch
1191
1192 2004-02-03  André Pönitz  <poenitz@gmx.net>
1193
1194         * BufferView.C:
1195         * cursor.[Ch]: some additional asserts
1196
1197         * undo.[Ch]: remove LyXText dependency in interface
1198
1199         * lyxfunc.C: adjust
1200
1201         * lyxtext.h (firstPar, lastPar): remove dead functions
1202
1203         * text.C:
1204         * text2.C:
1205         * text3.C:
1206         * paragraph.[Ch]: adjust
1207
1208 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1209
1210         * lyxfind.C (find): fix argument order in call to ::find
1211
1212 2004-02-02  André Pönitz  <poenitz@gmx.net>
1213
1214         * cursor.[Ch]: remove direct access to anchor
1215
1216         * text.C: remove findText() hack
1217
1218 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * iterators.[Ch] (lockPath): remove in favour of...
1221         * BufferView.[Ch] (setCursor): this addition
1222         * BufferView.C (putSelectionAt): adjust
1223         * undo.C (performUndoOrRedo): adjust
1224         * lyxfunc.C (dispatch): adjust
1225
1226 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * iterators.C (lockPath): add a missing slice
1229         * undo.C (performUndoOrRedo): remove redundant positioning code
1230
1231 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1232
1233         * vc-backend.C (scanMaster): ";" -> ';'
1234
1235 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1236
1237         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1238         std::binary_function
1239
1240         * lyxtextclass.C (compare_name): rename to...
1241         (LayoutNamesEqual): ...this
1242
1243         * lyxlex_pimpl.C (compare_tags): inherit from
1244         std::binary_function, put back into anon namespace
1245
1246         * lyxfind.C (MatchString): inherig from std::binary_function
1247         (findChange): use empty() istead of !size()
1248
1249         * format.C (FormatNamesEqual): new functor
1250         (getFormat): use it
1251         (getNumber): use it
1252         (add): use it
1253         (erase): use it
1254         (setViewer): use it
1255
1256         * converter.C (compare_Converter): rename to...
1257         (ConverterEqual): ...this, and fixup a bit.
1258         (getConverter): use it, and make function const
1259         (getNumber): use it, and make function const
1260         (add): use it
1261         (erase): use it:
1262
1263         * bufferlist.C: add using boost::bind
1264
1265         * MenuBackend.C (MenuNamesEqual): new functor
1266         (hasMenu): use it, and make function const
1267         (hasSubmenu): use nested bind to get rid of compare_memfun.
1268
1269 2004-01-30  André Pönitz  <poenitz@gmx.net>
1270
1271         * BufferView_pimpl.C:
1272         * cursor.C:
1273         * cursor.h:
1274         * cursor_slice.[Ch]:
1275         * lyxfunc.C:
1276         * lyxtext.h:
1277         * paragraph_funcs.C:
1278         * paragraph_funcs.h:
1279         * rowpainter.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C: move some of the edit(x,y) handling to the insets
1283         some coordinate changes.
1284
1285 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1286
1287         * text.C: add using statements for std::advance and std::distance
1288
1289         * paragraph.C: add using statement for std::distance
1290
1291         * lyxfind.C: add using statement for std::advance
1292
1293         * cursor.C (region): remove std:: from swap
1294         (openable): use nucleus in stead of operator->
1295
1296         * BufferView.C: add using statements for std::distance and std::swap
1297
1298 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1299
1300         * iterators.C: Remove the pimple, move the needed structures to
1301         the header file. Create accessor for the positions stack.
1302         (asPosIterator): remove function
1303
1304         * PosIterator.C (PosIterator): move constructors to top of file
1305         (PosIterator): reimplement the constructor taking a ParIterator in
1306         terms of setFrom.
1307         (setFrom): new function
1308         (operator!=): inline it
1309
1310 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1311
1312         * lyxfind.C (replaceAll): use std::advance
1313
1314         * iterators.h: inherit from std::iterator.
1315
1316         * PosIterator.C (advance, distance): remove
1317         * PosIterator.h: interit from std::iterator.
1318
1319 2004-01-26  André Pönitz  <poenitz@gmx.net>
1320
1321         * BufferView.[Ch]:
1322         * BufferView_pimpl.[Ch]:
1323         * InsetList.[Ch]:
1324         * PosIterator.[Ch]:
1325         * buffer.h:
1326         * bufferview_funcs.C:
1327         * cursor.[Ch]:
1328         * cursor_slice.h:
1329         * factory.[Ch]:
1330         * iterators.[Ch]:
1331         * lyxfind.C:
1332         * lyxfunc.C:
1333         * lyxtext.h:
1334         * output_docbook.C:
1335         * output_latex.C:
1336         * output_linuxdoc.C:
1337         * output_plaintext.C:
1338         * paragraph.[Ch]:
1339         * paragraph_funcs.[Ch]:
1340         * paragraph_pimpl.[Ch]:
1341         * rowpainter.C:
1342         * tabular.C:
1343         * tabular.h:
1344         * text.C:
1345         * text2.C:
1346         * text3.C: more IU:  dumps most of the rest of the mathcursor
1347     implementation into cursor.[Ch]; "globalize" a bit of it.
1348
1349 2004-01-25  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1352
1353 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1354
1355         * LaTeXFeatures.h: add nice_ and nice() const
1356         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1357
1358 2004-01-20  André Pönitz  <poenitz@gmx.net>
1359
1360         * BufferView.[Ch]:
1361         * BufferView_pimpl.C:
1362         * PosIterator.C:
1363         * bufferview_funcs.C:
1364         * cursor.[Ch]:
1365         * cursor_slice.[Ch]:
1366         * factory.C:
1367         * iterators.C:
1368         * lyx_cb.C:
1369         * lyxfind.C:
1370         * lyxfunc.C:
1371         * lyxtext.h:
1372         * rowpainter.C:
1373         * text.C:
1374         * text2.C:
1375         * text3.C:
1376         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1377           LCursor and mathcursor parts to LCursor and InsetBase.
1378
1379 2004-01-15  André Pönitz  <poenitz@gmx.net>
1380
1381         * cursor_slice.[Ch]: add a few covienience functions
1382
1383         * funcrequest.[Ch]: remove BufferView * member
1384
1385         * BufferView_pimpl.C:
1386         * cursor.C:
1387         * factory.[Ch]:
1388         * lyxfind.[Ch]:
1389         * lyxfunc.C:
1390         * lyxtext.h:
1391         * text3.C:
1392         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1393
1394 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1397         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1398
1399 2004-01-13  André Pönitz  <poenitz@gmx.net>
1400
1401         * textcursor.[Ch]:
1402         * lyxtext.h: hide cursor and selection anchor behind accessor function
1403
1404         * BufferView.C:
1405         * BufferView_pimpl.[Ch]:
1406         * PosIterator.C:
1407         * bufferview_funcs.C:
1408         * cursor.h:
1409         * lyxfind.C:
1410         * lyxfunc.C:
1411         * text.C:
1412         * text2.C:
1413         * text3.C:
1414         * undo.C: adjust
1415
1416         * cursor.h:
1417         * cursor_slice.[Ch]: some integer type changes for inset unification
1418
1419         * lyxcursor.[hC]: remove, it's CursorSlice now.
1420
1421         * Makefile.am:
1422         * BufferView_pimpl.[Ch]:
1423         * bufferview_funcs.C:
1424         * cursor_slice.C:
1425         * lyxtext.h:
1426         * text.C:
1427         * text2.C:
1428         * text3.C:
1429         * textcursor.[Ch]: adjust
1430
1431 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * text2.C (undoSpan): add and use
1434         * text.C (breakParagraph): use undoSpan (fix bug 578)
1435         * lyxtext.h: adjust
1436
1437 2004-01-08  Angus Leeming  <leeming@lyx.org>
1438
1439         * BufferView_pimpl.C (MenuInsertLyXFile):
1440         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1441         * lyxfunc.C (menuNew, open, doImport):
1442         FileFilterList change to the FileDialog open and save functions.
1443
1444 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1445
1446         * ShareContainer.h: make isEqual and isUnique adaptable
1447
1448         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1449
1450 2004-01-07  Angus Leeming  <leeming@lyx.org>
1451
1452         * LyXAction.C:
1453         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1454
1455         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1456
1457         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1458         functions replacing find, replace and replaceAll.
1459
1460         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1461         LFUN_WORDFIND(FORWARD|BACKWARD).
1462
1463 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1464
1465         * text.C (breakParagraph): remove an outdated #warning
1466
1467 2004-01-07  André Pönitz  <poenitz@gmx.net>
1468
1469         * lyxfind.C: somewhat clearer logic
1470
1471         * text.C: prevent crash in cursorX on unitialized row cache
1472
1473 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1474
1475         * lyxcursor.[Ch] (operator>): add
1476         * textcursor.C (selStart, selEnd): use std::min and std::max
1477
1478 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * Chktex.C: include boost/format.hpp
1481
1482 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1483
1484         * InsetList.C: replace functor MathcIt with adaptable functor
1485         InsetTablePosLess
1486         (insetIterator): modify accordingly
1487
1488         * BranchList.h: move the BranchNamesEqual functor here from...
1489         * BranchList.C: ... to here
1490
1491         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1492         SameName and match.
1493         (add): replace a finding loop with std::find_if.
1494
1495 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1496
1497         * output_docbook.C: moving LatexParam functionality into
1498         .layout files
1499
1500 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1501
1502         * buffer.C: increment format to 229.
1503
1504 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1505
1506         * LaTeXFeatures.C:
1507         * lyx_sty.[Ch]: remove minipageindent_def
1508
1509         * LyXAction.C:
1510         * factory.C:
1511         * lfuns.h:
1512         * lyxfunc.C:
1513         * text3.C: remove LFUN_INSET_MINIPAGE
1514
1515 2003-12-28  Angus Leeming  <leeming@lyx.org>
1516
1517         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1518
1519 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * text2.C (setParagraph): fix off-by-one crash
1522
1523 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1524
1525         * output_docbook.C: header stuff for AGU
1526
1527 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1528
1529         * text2.C (redoCursor): remove
1530         * text.C:
1531         * text3.C:
1532         * BufferView_pimpl.C: remove calls to redoCursor and
1533         setCursor(cursor.par(), cursor.pos()) all around
1534
1535 2003-12-15  Angus Leeming  <leeming@lyx.org>
1536
1537         * buffer.C: up the format to 228.
1538
1539 2003-12-15  André Pönitz  <poenitz@gmx.net>
1540
1541         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1542         slices
1543
1544         * Makefile.am:
1545
1546         * BufferView_pimpl.C:
1547         * cursor.[Ch]:
1548         * lyxcursor.[Ch]:
1549         * rowpainter.[Ch]:
1550         * lyxtext.h:
1551         * text.C:
1552         * text2.C:
1553         * text3.C: adjust
1554
1555 2003-12-15  Angus Leeming  <leeming@lyx.org>
1556
1557         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1558         than getFromGUIName to manipulate the color.
1559
1560 2003-12-14  Angus Leeming  <leeming@lyx.org>
1561
1562         * BranchList.[Ch]: minimize the API.
1563         (Branch::getBranch, getColor): now return a 'const &'.
1564         (Branch::setSelected) now returns a bool set to true if the
1565         selection status changes.
1566         (BranchList::clear, size, getColor, setColor, setSelected,
1567         allBranches, allSelected, separator): removed.
1568         (BranchList::find): new functions, returning the Branch with
1569         the given name.
1570         (BranchList::add, remove): return a bool indicating that
1571         the operation was successful.
1572
1573         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1574         new InsetBranch::isBranchSlected member function.
1575
1576         * LColor.[Ch]: mimimize the API.
1577         (fill): renamed as addColor and made private.
1578         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1579         versions of these functions taking a string arg have been removed.
1580
1581         * bufferparams.C (readToken):
1582         * lyxfunc.C (dispatch):
1583         * lyxrc.C (read): changes due to the altered BranchList and
1584         LColor APIs.
1585
1586         * factory.C (createInset, readInset): changes due to altered
1587         InsetBranch c-tor.
1588
1589 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1590
1591         * factory.C:
1592         * lyxfunc.C: remove insetminipage. "minipage-insert"
1593         now produces a frameless minipage box inset.
1594
1595 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * textcursor.[Ch] (selStart,selEnd): add new methods
1598         remove selection::start, end, use LyXCursor::operator<
1599         * lyxcursor.[Ch] (operator<): add
1600         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1601         * BufferView.[Ch] (unsetXSel): add
1602         * text2.C (clearSelection): use unsetXSel,adjust
1603         * text.C: adjust
1604         * text3.C: adjust
1605         * rowpainter.C: adjust
1606         * bufferview_funcs.C (put_selection_at): adjust
1607
1608 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * BufferView_pimpl.C: small coord. correction
1611
1612 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1613
1614         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1615         dragging over the splash screen.
1616
1617 2003-12-11  Angus Leeming  <leeming@lyx.org>
1618
1619         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1620         as it is now handled in LyXText::dispatch.
1621
1622         * text3.C (doInsertInset): remove a level of nesting.
1623
1624 2003-12-11  Angus Leeming  <leeming@lyx.org>
1625
1626         * factory.C (createInset): changes due to the changed interface to
1627         InsetCommandMailer::string2params.
1628
1629 2003-12-10  Angus Leeming  <leeming@lyx.org>
1630
1631         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1632         'dialog-show-new-inset <inset name>'
1633
1634 2003-12-10  Angus Leeming  <leeming@lyx.org>
1635
1636         * buffer.C: up the format to 227.
1637
1638         * factory.C: the box inset is now identified simply by 'Box'.
1639
1640 2003-12-10  Angus Leeming  <leeming@lyx.org>
1641
1642         * buffer.C: up the format to 226.
1643
1644         * factory.C: the note inset is now identified simply by 'Note'.
1645
1646 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1647
1648         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1649         when a pit is enough. Standarize a couple of loops.
1650
1651 2003-12-05  Angus Leeming  <leeming@lyx.org>
1652
1653         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1654         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1655         data to the re-worked "log" dialog.
1656
1657 2003-12-03  André Pönitz  <poenitz@gmx.net>
1658
1659         * PosIterator.C:
1660         * iterators.C:
1661         * lyxtext.h:
1662         * output_latex.C:
1663         * paragraph_funcs.C:
1664         * text.C:
1665         * text2.C: use Inset::getText instead of Inset::getParagraph
1666
1667 2003-12-03  André Pönitz  <poenitz@gmx.net>
1668
1669         * buffer.[Ch]:
1670         * lyxtext.h:
1671         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1672         InsetText::read() as LyXText::read()
1673
1674 2003-12-02  Angus Leeming  <leeming@lyx.org>
1675
1676         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1677         type. Add a comment in the implementation that the function uses
1678         the stream's bad() function rather than fail() as the std::streams
1679         would do.
1680
1681 2003-12-02  André Pönitz  <poenitz@gmx.net>
1682
1683         * lyxlex.[Ch]: make interface more similar to std::stream
1684
1685         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1686
1687 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1688
1689         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1690
1691 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1692
1693         * vspace.[Ch]: remove VSpace::NONE
1694
1695 2003-12-01  André Pönitz  <poenitz@gmx.net>
1696
1697         * buffer.[Ch]:
1698         * lyxtext.h: move ParagraphList member to LyXText
1699         rename LyXText::ownerParagraphs to LyXText::paragraph
1700
1701         * CutAndPaste.C:
1702         * bufferview_funcs.C:
1703         * iterators.[Ch]:
1704         * lyx_cb.C:
1705         * paragraph.C:
1706         * rowpainter.C:
1707         * tabular.C:
1708         * text.C:
1709         * text2.C:
1710         * text3.C: adjust
1711
1712         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1713
1714         * undo.C: fix cursor positioning
1715
1716 2003-12-01  John Levon  <levon@movementarian.org>
1717
1718         * BufferView_pimpl.C: fix a crash on exit with
1719         a buffer open
1720
1721 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1722
1723         * BranchList.C: fix setSelected() method.
1724
1725 2003-11-28  André Pönitz  <poenitz@gmx.net>
1726
1727         * ParagraphParameters.[Ch]:
1728         * ParameterStruct.h: remove space above/below from Paragraph to
1729          InsetVSpace
1730
1731         * BufferView_pimpl.C:
1732         * factory.C:
1733         * lyxfunc.C:
1734         * lyxtext.h:
1735         * output_latex.C:
1736         * paragraph.C:
1737         * paragraph_funcs.C:
1738         * rowpainter.[Ch]:
1739         * text.C:
1740         * text2.C:
1741         * text3.C: adjust
1742
1743 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1744
1745         * factory.C: Syntax change for CharStyles
1746
1747 2003-11-28  André Pönitz  <poenitz@gmx.net>
1748
1749         * BufferView.[Ch]:
1750         * BufferView.[Ch]:
1751         * buffer.[Ch]:
1752         * buffer.[Ch]: move LyXText member
1753
1754 2003-11-28  André Pönitz  <poenitz@gmx.net>
1755
1756         * BufferView.[Ch]: make LyXText * text a private member
1757
1758         * BufferView_pimpl.C:
1759         * cursor.C:
1760         * iterators.C:
1761         * lyx_cb.C:
1762         * lyxfind.C:
1763         * lyxtext.h:
1764         * rowpainter.[Ch]:
1765         * text.C:
1766         * text2.C:
1767         * undo.C: adjust
1768
1769         * output_plaintext.C: cleanup
1770
1771 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1772
1773         * buffer.C:
1774         * lyxtextclass.[Ch]: parametrize SGML document header
1775
1776 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1777
1778         * converter.[Ch]:
1779         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1780         getFlavor().
1781
1782 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1783
1784         * text2.C (setFont): rework using PosIterator (no more recursive)
1785         (setCharFont): no more needed
1786         (setLayout): no more selection cursors fiddling (done by redoCursor)
1787         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1788         destroy remaining ones)
1789
1790 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1793         * lyxtext.h: ditto
1794         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1795         selection cursors
1796         * lyxfunc.C: adjust
1797         * text3.C: adjust + re-allow multi par depth changes
1798         * textcursor.C: simplify a bit
1799
1800 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * src/buffer.C:
1803         * src/lyxlayout.C:
1804         * src/lyxlayout.h:
1805         * src/lyxtext.h:
1806         * src/output_docbook.C:
1807         * src/output_latex.C:
1808         * src/paragraph.C:
1809         * src/paragraph.h:
1810         * src/sgml.C:
1811         * src/sgml.h:
1812         * src/text2.C: Introducing a number of tags parametrizing various
1813         XML formats that we may want to support
1814
1815 2003-11-25  André Pönitz  <poenitz@gmx.net>
1816
1817         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1818
1819         * lyxtext.h (leftMargin/rightMargin): simplify interface
1820
1821         * rowpainter.C:
1822         * text.C:
1823         * text2.C:
1824         * text3.C: adjust
1825
1826 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1827
1828         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1829         master file to any child files. Fixes bug 546.
1830
1831 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1834
1835 2003-11-24  André Pönitz  <poenitz@gmx.net>
1836
1837         * rowpainter.C: simplification
1838
1839         * text2.C (updateCounters): remove call to redoParagraph on
1840         changed labels as this is far too expensive.
1841
1842 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * converter.C (convert): fix a crash: this function gets
1845         called with buffer == 0 from importer code.
1846
1847 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1848
1849         * text3.C (cursorPrevious): make sure that we do not compare
1850         iterators form different containers.
1851         (cursorNext): ditto
1852
1853         * rowpainter.C (paintSelection): make sure that we do not compare
1854         iterators from different containers.
1855
1856         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1857         iterators from different ParagraphList containers.
1858         [NEXT] ditto
1859
1860         * text2.C (LyXText): change order of initialization slightly
1861         (operator=): new function. copy all variables except cache_par_
1862         (moveUp): make sure that we do not compare iterators from
1863         different ParagraphList constainers.
1864         (moveDown): ditto
1865
1866         * text.C (firstPar): new function
1867         (lastPar): new function
1868         (endPar): new function
1869
1870         * lyxtext.h: move things around and group public functions, public
1871         variables, private functions, private variables
1872
1873 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1874
1875         * factory.C: change call to InsetERT constructor to avoid
1876         additional invocation of method status
1877         * text2.C (toggleInset): remove redundant update() call
1878         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1879         instead of a Bufferview pointer
1880
1881 2003-11-21  André Pönitz  <poenitz@gmx.net>
1882
1883         * rowpainter.C: simplification
1884
1885 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * text3.C (dispatch): make possible to extend a word/row selection
1888         with the mouse
1889
1890 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1891
1892         * lyxtext.h: x0_,y0_ -> xo_,yo_
1893         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1894         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1895         * rowpainter.C (paintRows): paint full paragraphs
1896
1897 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1898
1899         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1900         screen coordinates)
1901
1902 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * lyxtext.h: add x0_, y0_
1905         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1906         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1907
1908 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * text2.C (setCursorIntern): move the x_target update here *
1911         * text3.C: change some bv() to true/false in calls to
1912         cursorUp/Down/Right/Left
1913         * cursor.C: use helper function.
1914
1915 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1916
1917         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1918         * paragraph_funcs.[Ch]: correct comment
1919         * rowpainter.C: do not paint selections away from bv->cursor()
1920         Fix a long standing selection painting bug.
1921         * text3.C: generalize mouse-selection code to LyXTexts other that
1922         top one
1923         * textcursor.C: do not use y coords if we can use par offsets
1924
1925 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1928         cursor position after e.g. inset insert)
1929
1930 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1931
1932         * lyxfind.C (replace): adjust to locking removal + some
1933         code simplification
1934
1935 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1936
1937         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1938         of the path
1939
1940 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1941
1942         * lyxlayout.[Ch]:
1943         * output_docbook.C: XML sanitation: new layout
1944         parameters InnerTag and CommandDepth
1945
1946 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1947
1948         * BufferView_pimpl.C:
1949         * factory.C:
1950         * text3.C: Fix the insertion and modification of button-style
1951         insets
1952
1953 2003-11-13  André Pönitz  <poenitz@gmx.net>
1954
1955         * InsetList.[Ch]: remove deleteLyXText
1956
1957         * paragraph.[Ch]: cache beginOfBody position
1958
1959         * Bidi.C:
1960         * text.C:
1961         * text2.C:
1962         * text3.C: remove superfluous update() calls
1963
1964         * vspace.C: cleanup
1965
1966 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1969         * BufferView.C (fitLockedInsetCursor): remove
1970         * cursor.[Ch] (getDim): add
1971         * text.C (getRowNearY): add faster version
1972         * text3.C: remove some update calls
1973
1974 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1975
1976         * LaTeXFeatures.C:
1977         * LyXAction.C:
1978         * MenuBackend.C:
1979         * MenuBackend.h:
1980         * dispatchresult.h:
1981         * factory.C:
1982         * lfuns.h:
1983         * lyxfunc.C:
1984         * lyxtextclass.C:
1985         * lyxtextclass.h:
1986         * text3.C: The Character Style /XML short element patch.
1987
1988 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1989
1990         * text3.C:
1991         * factory.C: Small step to solving 'unable to insert some insets'
1992         problem
1993
1994 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1995
1996         * cursor.[Ch] (updatePos): new function for updating the y
1997         position of the tip inset
1998         * bufferview_funcs.C (put_selection_at):
1999         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2000
2001 2003-11-11  André Pönitz  <poenitz@gmx.net>
2002
2003         * text.C: remove big comment on invalid Paragraph pointers as it is
2004         not valid anymore
2005
2006 2003-11-11  André Pönitz  <poenitz@gmx.net>
2007
2008         * text_funcs.[Ch]: merge with ...
2009
2010         * text.C: ... this
2011
2012         * lyxtext.h:
2013         * text2.C:
2014         * text3.C: adjust
2015
2016         * Makefile.am: remove text_funcs.[Ch]
2017
2018 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2019
2020         * cursor.C (getPos): return absolute cached y coord
2021
2022         * BufferView_pimpl.C (fitCursor): new simplistic code
2023         (workAreaDispatch): add a fitCursor call
2024
2025 2003-11-10  André Pönitz  <poenitz@gmx.net>
2026
2027         * BufferView.[Ch]:
2028         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2029
2030 2003-11-10  André Pönitz  <poenitz@gmx.net>
2031
2032         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2033         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2034         indicate that the cursor needs to leave an inset
2035
2036         * lyxtext.h: remove inset locking
2037
2038         * cursor.[Ch]: re-implement functionality provided by inset locking
2039
2040         * BufferView.[Ch]:
2041         * BufferView_pimpl.[Ch]:
2042         * LyXAction.C:
2043         * bufferview_funcs.[Ch]:
2044         * factory.C:
2045         * funcrequest.[Ch]:
2046         * iterators.C:
2047         * lyx_cb.C:
2048         * lyxfind.C:
2049         * lyxfunc.C:
2050         * text.C:
2051         * text2.C:
2052         * text3.C:
2053         * undo.C: adjust
2054
2055 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * PosIterator.[Ch]: replace the stack with a vector, add inset
2058         accesor
2059         * iterators.[C]: adjust
2060
2061 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2064         replaced
2065         * paragraph_funcs.C (readParToken): put the correct id in the
2066         error item, not the id of the top paragraph
2067
2068 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2069
2070         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2071         * bufferview_funcs.C (put_selection_at): use the above
2072
2073 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2074
2075         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2076
2077 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2078
2079         * output_linuxdoc.h:
2080         * output_plaintext.h:
2081         * output.h:
2082         * output_docbook.h: add #include statements
2083
2084 2003-11-05  José Matos  <jamatos@lyx.org>
2085
2086         * output_docbook.[Ch]:
2087         * output_latex.[Ch]:
2088         * output_linuxdoc.[Ch]:
2089         * output_plaintext.[Ch]: New files for output formats.
2090         * output.[Ch]: New file for helper functions.
2091
2092         * buffer.[Ch]:
2093         * paragraph_funcs.[Ch]: output functions moved to new files.
2094
2095         * outputparams.h: rename of latexrunparams.h
2096
2097         * LaTeX.[Ch]:
2098         * buffer.[Ch]:
2099         * bufferlist.[Ch]:
2100         * converter.[Ch]:
2101         * exporter.C:
2102         * paragraph.[Ch]:
2103         * paragraph_funcs.[Ch]:
2104         * paragraph_pimpl.[Ch]:
2105         * tabular.[Ch]: rename ascii to plaintext
2106         and LatexRunParams to OutputParams.
2107
2108 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2109
2110         * iterators.[Ch] (text): require bv argument
2111         * undo.C (recordUndo):
2112         * lyxfunc.C (dispatch):
2113         * bufferview_funcs.C (put_selection_at): adjust
2114
2115 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2116
2117         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2118
2119 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2122         nestings
2123
2124 2003-11-04  André Pönitz  <poenitz@gmx.net>
2125
2126         * cursor.[Ch]: restructure
2127
2128         * BufferView.[Ch]:
2129         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2130
2131         * iterators.[Ch] (asCursor): remove
2132
2133         * lfuns.h: remove LFUN_INSET_EDIT
2134
2135         * lyxfunc.C:
2136         * tabular.C:
2137         * text.C:
2138         * text2.C:
2139         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2140
2141 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * lyxfind.[Ch]: complete overhaul
2144         * BufferView_pimpl.C:
2145         * lyxfunc.C: adjust
2146         * paragraph.[Ch] (insert): add
2147
2148 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2149
2150         * BufferView.[Ch]:
2151         * lyxtext.h:
2152         * text.C: remove dead spellcheck code
2153
2154 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * dispatchresult.h: add a val setter
2157
2158         * cursor.C (dispatch): use a tempvar for data_[i]
2159
2160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2161
2162         * PosIterator.[Ch]: compile fix
2163
2164 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2165
2166         * text.C (cursorPar): deactivate the cursor cache
2167
2168 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2171
2172 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * text3.C (dispatch): adjust for new DisptchResult semantics.
2175
2176         * lyxfunc.C (dispatch): handle update when return from
2177         Cursor::dispatch, adjust for new DispatchResult semantics.
2178
2179         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2180         DispatchResult(true) mean to not update. Add class functions for
2181         setting dispatched and update, as well as reading.
2182
2183         * cursor.C (dispatch): don't handle update here
2184
2185 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2186
2187         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2188         * trans_mgr.C: adjust
2189
2190         * paragraph_funcs.C (readParToken): exception safety
2191
2192         * lyxvc.h: store the vcs pointer in a scoped_ptr
2193         * lyxvc.C: adjust
2194
2195         * lyxsocket.C (serverCallback): exception safety
2196
2197         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2198
2199         * ispell.C (clone): make it return a auto_ptr
2200
2201         * factory.C (createInset): exception safety
2202         (readInset): exception safety
2203
2204         * bufferlist.C (newBuffer): exception safety
2205
2206         * Thesaurus.C (Thesaurus): use initialization for aik_
2207
2208         * MenuBackend.C (expandToc): exception safety.
2209
2210 2003-11-03  André Pönitz  <poenitz@gmx.net>
2211
2212         * buffer.C:
2213         * buffer.h:
2214         * bufferview_funcs.C: remove getInsetFromId()
2215
2216         * lyxcursor.[Ch]:
2217         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2218
2219         * lyxfunc.C:
2220         * text2.C:
2221         * text3.C: adjust
2222
2223 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2224
2225         * PosIterator.C (distance, advance): new
2226         * bufferview_funcs.[Ch] (put_selection_at): new
2227         * iterators.[Ch] (lockPath): new
2228
2229 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2230
2231         * iterators.[Ch] (asPosIterator): added
2232         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2233         * PosIterator.[Ch]: added
2234
2235 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2236
2237         * text3.C:
2238         * lyxfunc.C:
2239         * cursor.C (dispatch):
2240         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2241
2242         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2243         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2244         contructor, add a class function dispatched. Remove operator>=
2245
2246 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2247
2248         * debug.C: only use the default constructor for debugstream
2249         (lyxerr) here.
2250
2251         * main.C (main): include debug.h and setup the lyxerr streambuf
2252         here.
2253
2254 2003-10-31  José Matos  <jamatos@lyx.org>
2255
2256         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2257
2258         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2259         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2260         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2261         * paragraph_pimpl.C (simpleTeXSpecialC):
2262         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2263         add LatexRunParams argument.
2264
2265         * exporter.C (Export): change call accordingly.
2266
2267         * latexrunparams.h: add new member to take care of the other backends.
2268 2003-10-30  José Matos  <jamatos@lyx.org>
2269
2270         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2271         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2272         factorise code for paragraph output.
2273         * buffer.[Ch]:
2274         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2275         move functions.
2276
2277 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * text3.C (dispatch):
2280         * lyxfunc.C (dispatch):
2281         * cursor.C (dispatch):
2282         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2283
2284         * dispatchresult.h: make the dispatch_result_t ctor explicit
2285
2286 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2287
2288         * sgml.[Ch]:
2289         * buffer.C: small refactoring of docbook stuff
2290
2291 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2292
2293         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2294         meaning.
2295
2296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2299         operator dispatch_result_t, and operators for == != and >=
2300
2301         * cursor.C (dispatch): adjust for operator dispatch_result_t
2302         removal. comment out call to update
2303
2304         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2305
2306 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * text3.C:
2309         * text2.C:
2310         * text.C:
2311         * lyxtext.h:
2312         * lyxfunc.C:
2313         * cursor.C:
2314         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2315         (dispatch):
2316
2317         * dispatchresult.h: new file, DispatchResult broken out of
2318         insets/insetbase.h
2319
2320         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2321
2322 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2323
2324         * text.C (rowBreakPoint): put a hack inside #if 0
2325
2326 2003-10-28  André Pönitz  <poenitz@gmx.net>
2327
2328         * lyxtext.h:
2329         * metricsinfo.C:
2330         * paragraph_funcs.C:
2331         * rowpainter.C:
2332         * text.C:
2333         * text2.C: general cleanup (lots of small stuff)
2334
2335 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2336
2337         * text2.C (cursorEnd): simple fix to the "end key goes to one
2338         before the end on last row" bug
2339
2340 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2341
2342         * text.C (backspace): fix the "zombie characters"
2343
2344 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2345
2346         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2347
2348 2003-10-27  André Pönitz  <poenitz@gmx.net>
2349
2350         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2351
2352         * factory.C: handle new InsetPagebreak, InsetLine
2353
2354         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2355         and move handling into new InsetPagebreak, InsetLine
2356
2357         * BufferView_pimpl.C:
2358         * LyXAction.C:
2359         * ParagraphParameters.C:
2360         * ParameterStruct.h:
2361         * lyxfunc.C:
2362         * lyxtext.h:
2363         * paragraph.C:
2364         * paragraph.h:
2365         * paragraph_funcs.C:
2366         * paragraph_pimpl.C:
2367         * rowpainter.C:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: adjust
2371
2372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * text.C:
2375         * lyxrow_funcs.[Ch]:
2376         * Bidi.C:
2377         * paragraph.C:
2378         * lyxtext.h:
2379         * rowpainter.C:
2380         * text2.C:
2381         * text3.C: remove lastPos uses in favour of Row::endpos
2382
2383 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2384
2385         * undo.C (performUndoOrRedo): fix two crashes by setting a
2386         cursor by hand and reordering some calls. Use bv->lockInset instead
2387         of inset->edit because the latter loses cursor information
2388
2389 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2390
2391         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2392         by Martin
2393         (rowBreakPoint): fix width. change point to point + 1.
2394         Add a missing check.
2395
2396 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * MenuBackend.C:
2399         * lyxfunc.C: fix (at least partly) the problems
2400         with the Nav menu and headers inside branch insets
2401         reported by Kayvan
2402
2403 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2404
2405         * paragraph.C (getChar): add strong asserts
2406
2407         * lyxrow_funcs.C (lastPos): remove hideous hack
2408
2409         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2410         (fill): adjust to that (avoid an infinite loop)
2411
2412 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2415
2416 2003-10-23  André Pönitz  <poenitz@gmx.net>
2417
2418         * RowList_fwd.h: change list<> to vector<> to gain speed
2419         after suggestion from Alfredo
2420
2421 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2422
2423         * lyxtext.h: move the bidi stuff from here...
2424         * text.C: and here
2425         * text2.C: and here
2426         * Bidi.[Ch]: ... to here
2427
2428 2003-10-23  André Pönitz  <poenitz@gmx.net>
2429
2430         * lyxtext.h:
2431         * text.C (isLastRow, isFirstRow): new functions
2432
2433         * paragraph.h: new width cache member
2434
2435         * rowpainter.C: replace RowList::iterator with Row & where possible
2436
2437         * lyxfunc.C: replace several view()->text with a single call
2438
2439         * toc.C: fix 'unused' warning
2440
2441 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2444         when woring with stream::pos_type
2445         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2446
2447 2003-10-22  André Pönitz  <poenitz@gmx.net>
2448
2449         * lyxtext.h:
2450         * text.C: use Row & instead of RowList::iterator
2451
2452         * lyxrow.h: rename end() to endpos()
2453
2454         * rowpainter.C:
2455         * text.C:
2456         * text2.C: adjust
2457
2458 2003-10-22  Angus Leeming  <leeming@lyx.org>
2459
2460         * buffer.[Ch] (fully_loaded): new member function, returning true
2461         only when the file has been loaded fully.
2462         Used to prevent the premature generation of previews and by the
2463         citation inset to prevent computation of the natbib-style label.
2464
2465         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2466         templates are all set up.
2467
2468         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2469
2470 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2471
2472         * text.C: fixed an "oops" in the "is a bit silly"
2473         bug fix
2474
2475 2003-10-21  André Pönitz  <poenitz@gmx.net>
2476
2477         * FuncStatus.[Ch]: small stuff, whitespace
2478
2479         * lyxfont.[Ch]: operator<<() for debug reasons
2480
2481         * lyxfunc.C:
2482         * lyxrow_funcs.C:
2483         * lyxtext.h: whitespace, spelling
2484
2485         * paragraph.C: naming of variables
2486
2487         * text.C:
2488         * text2.C: small stuff
2489
2490
2491 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2492
2493         * text.C: (1) finish off the inset display() work;
2494         (2) fix the "is a bit silly" bug (accessing char
2495         past end of par).
2496
2497 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2498
2499         * text.C: re-introduce display() for insets, fixing the
2500         various bugs (stretch of line above, math inset
2501         positioning, ...)
2502
2503 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2504
2505         * text.C (rightMargin): remove spurious semicolon
2506
2507         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2508         1415)
2509
2510 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2511
2512         * text3.C: fix one crash due to wrong cursor def
2513
2514 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * vc-backend.C (scanMaster): make the regex static
2517
2518         * LaTeX.C (scanAuxFile): make the regexs static
2519
2520         * text3.C (doInsertInset, dispatch, dispatch):
2521         * text2.C (cursorUp, cursorDown):
2522         * text.C (selectNextWordToSpellcheck):
2523         * BufferView_pimpl.C (dispatch):
2524         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2525
2526 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * lyxsocket.C: include <cerrno>
2529
2530 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * lyxfunc.C (dispatch): remove textcache stuff
2533
2534         * bufferlist.C (release): remove textcache stuff
2535         (closeAll): ditto
2536
2537         * TextCache.C: delete file
2538         * TextCache.h: delete file
2539
2540         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2541
2542         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2543         delete of the bv_->text.
2544         (resizeCurrentBuffer): remove texcache stuff
2545         (workAreaResize): ditto
2546
2547 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2550         action.
2551
2552 2003-10-16  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxrow.[Ch]:
2555         * paragraph.h:
2556         * rowpainter.C:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: speed up by storing y positions per paragraph plus per-row
2560         offset instead of having a 'full' y position in the row.
2561
2562 2003-10-15  André Pönitz  <poenitz@gmx.net>
2563
2564         * iterators.[Ch]:
2565         * iterators.[Ch]:
2566         * undo.[Ch]: make undo aware of inner insets
2567
2568 2003-10-14  Angus Leeming  <leeming@lyx.org>
2569
2570         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2571         static member functions LyX::ref() and LyX::cref.
2572         (lastfiles): new accessor functions for the new lastfiles_ member var.
2573         (addLyXView, views_): add a new LyXView to the list of views_.
2574         (updateInset): loop over all LyXViews to call their own updateInset
2575         member function, returning a pointer to the Buffer owning the inset.
2576
2577         * BufferView_pimpl.C (loadLyXFile):
2578         * MenuBackend.C (expandLastfiles):
2579         * bufferlist.C (MenuWrite, QuitLyX):
2580         lastfiles is no longer a global variable.
2581         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2582
2583         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2584         static function. Access through LyX::cref().emergencyCleanup().
2585
2586 2003-10-14  André Pönitz  <poenitz@gmx.net>
2587
2588         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2589
2590         * undo.[Ch]: restoring part of 'undo in insets'
2591
2592         * Makefile.am:
2593         * undo_funcs.[Ch]: merge with undo.[Ch]
2594
2595         * tabular.C: small cleansing stuff
2596
2597 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2598
2599         * paragraph_funcs.C (readParToken): report unknown insets as error
2600         boxes. Use the outer paragraph as location (also for unknown
2601         tokens).
2602
2603         * factory.C (readInset): do not abort on reading an unknown inset.
2604         Eat it and return 0.
2605
2606 2003-10-13  Angus Leeming  <leeming@lyx.org>
2607
2608         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2609
2610         * lyxrc.C: displayTranslator is now a function,
2611         declared in GraphicsTypes.h.
2612
2613 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2614
2615         * format.C: new placeholder $$a to pass the socket address.
2616
2617         * bufferlist.[Ch]: new function getBufferFromTmp.
2618
2619         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2620           files in the temporary dir.
2621
2622 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2623
2624         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2625
2626         * Makefile.am: add lyxsocket.[Ch].
2627
2628         * lyx_main.C (error_handler): handle SIGPIPE.
2629
2630 2003-10-13  André Pönitz  <poenitz@gmx.net>
2631
2632         * BufferView_pimpl.C:
2633         * lyxtext.h:
2634         * text.C:
2635         * text2.C:
2636         * text3.C:
2637         * undo_funcs.[Ch]: use paroffset_type instead of
2638           ParagraphList::iterators to prevent multiple conversion
2639           (and get a more robust interface)
2640
2641 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2644         * lyxtext.h: ditto
2645         * text3.C (dispatch): ditto
2646
2647 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2648
2649         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2650         move the onlyfile, use onlyfile instead of foundfile in a couple
2651         of places.
2652
2653         * DepTable.C (update): flush the error stream a bit more
2654
2655 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2656
2657         * lyxserver.C (callback): adjust
2658
2659         * lyxfunc.C (getStatus): add a missing brace in commented code
2660         (ensureBufferClean): reindent
2661         (dispatch): delete version taking a string
2662
2663 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * LaTeX.C (deplog): move found file handlig from here...
2666         (handleFoundFile): .. to new function here.
2667         (deplog): make sure to discover several files mentioned on the
2668         same log line.
2669
2670 2003-10-10  André Pönitz  <poenitz@gmx.net>
2671
2672         * lyxfunc.C:
2673         * lyxtext.h:
2674         * tabular.C:
2675         * text.C:
2676         * text2.C:
2677         * text3.C: fix some of the tabular crashes
2678
2679 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2680
2681         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2682
2683         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2684
2685 2003-10-09  André Pönitz  <poenitz@gmx.net>
2686
2687         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2688
2689         * BufferView.C:
2690         * BufferView_pimpl.C:
2691         * bufferview_funcs.C:
2692         * lyx_cb.C:
2693         * lyxcursor.C:
2694         * lyxfind.C:
2695         * lyxfunc.C:
2696         * lyxtext.h:
2697         * text.C:
2698         * text2.C:
2699         * text3.C:
2700         * text_funcs.[Ch]:
2701         * textcursor.[Ch]:
2702         * undo_funcs.C: adjust
2703
2704 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * text2.C (incrementItemDepth): new function, use a backtracking
2707         algorithm to discover the correct item depth.
2708         (resetEnumCounterIfNeeded): new function, use a backtracking
2709         algorithm to discover if counter reset is needed.
2710         (setCounter): use them. Simplify a bit. Add different labels for
2711         different item depths for itemize.
2712
2713         * paragraph.C (Paragraph): remove initialization of enumdepth
2714         (operator=): ditto
2715
2716         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2717         enumerate and itemize. Change the type of itemdepth to signed char.
2718
2719 2003-10-08  André Pönitz  <poenitz@gmx.net>
2720
2721         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2722           thing assignable.
2723         * text.C:
2724         * text2.C: adjust
2725
2726         * tabular.[Ch]: fix crash after 'row-insert'
2727
2728 2003-10-08  Angus Leeming  <leeming@lyx.org>
2729
2730         Fix doxygen warnings.
2731
2732         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2733         Remove CutAndPaste:: prefix from header file declaration.
2734
2735         * LColor.h (fill): remove LColor:: prefix from declaration.
2736
2737         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2738         use lyx::depth_type rather than Paragraph::depth_type so that
2739         header file and .C file match.
2740
2741         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2742
2743         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2744         * aspell.C: \file aspell_local.C -> \file aspell.C
2745         * gettext.C: \file gettext.C -> \file src/gettext.C
2746         * gettext.h: \file gettext.h -> \file src/gettext.h
2747         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2748         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2749         * text.C: \file text.C -> \file src/text.C
2750
2751         * toc.C: move comment so that doxygen is not confused.
2752
2753 2003-10-07  Angus Leeming  <leeming@lyx.org>
2754
2755         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2756
2757 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2758
2759         * aspell.C:
2760         * aspell_local.h: add forgotten std::string's.
2761
2762 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2763
2764         * LaTeXFeatures.C:
2765         * LyXAction.C:
2766         * factory.C:
2767         * lfuns.h:
2768         * lyxfunc.C:
2769         * text3.C: The Box patch. Fancybox support, minipage, parbox
2770
2771 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2772
2773         * CutAndPaste.h:
2774         * DepTable.h:
2775         * FloatList.h:
2776         * LaTeXFeatures.h:
2777         * ParagraphParameters.h:
2778         * TextCache.h:
2779         * Thesaurus.h:
2780         * bufferlist.h:
2781         * exporter.h:
2782         * importer.h:
2783         * lastfiles.h:
2784         * lyxfind.h:
2785         * lyxfont.h:
2786         * lyxlex.h:
2787         * lyxtextclasslist.h:
2788         * messages.h:
2789         * paragraph.h:
2790         * paragraph_pimpl.C:
2791         * textcursor.h: add <string> and other small fixes to make Lars'
2792         std::string patch compile with STLport.
2793
2794 2003-10-06  Angus Leeming  <leeming@lyx.org>
2795
2796         * LColor.h: Add missing #include <string>.
2797
2798 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * All most all file in all subdirs: Make <string> be the prefered
2801         way of getting to std::string, add using declarations.
2802
2803 2003-10-06  André Pönitz  <poenitz@gmx.net>
2804
2805         * metricsinfo.C: initialize LyXFont before changing attribute.
2806         (fixes the 'math in \emph is upright' bug)
2807
2808 2003-10-06  André Pönitz  <poenitz@gmx.net>
2809
2810         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2811
2812 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2813
2814         * graph.C:
2815         * paragraph_pimpl.C: Small fixes to build using STLport
2816
2817 2003-10-02  André Pönitz  <poenitz@gmx.net>
2818
2819         * lyxfunc.C:
2820         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2821
2822 2003-10-01  André Pönitz  <poenitz@gmx.net>
2823
2824         * factory.C: assert early
2825
2826 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * lyx_main.C: remove the global debug object
2829
2830         * debug.h: adjust for new debugstream
2831
2832         * debug.C: adjust for new debugstream and keep the global debug
2833         object here.
2834
2835 2003-09-22  Angus Leeming  <leeming@lyx.org>
2836
2837         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2838         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2839         an incomplete class LyXFont.
2840
2841 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2842
2843         * factory.C: bug fix in branches
2844
2845 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * lyxfunc.C (processKeySym): adjust
2848         (dispatch): adjust
2849         (dispatch): change arg name from ev to func, adjust
2850         (sendDispatchMessage): ditto
2851
2852         * lyx_main.C (defaultKeyBindings): adjust keybindings
2853         (deadKeyBindings): ditto
2854
2855         * kbsequence.C (addkey): return a FuncRequest
2856
2857         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2858
2859         * kbmap.C (bind): take a FuncRequest as arg, adjust
2860         (read): adjust
2861         (lookup): adjust
2862         (defkey): change to take a FuncRequest as arg, adjust
2863         (findbinding): take a FuncRequest as arg, adjust.
2864
2865         * funcrequest.h (operator=): added
2866
2867         * funcrequest.C (FuncRequest): default kb_action changed from
2868         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2869
2870         * buffer.C (dispatch): simplify
2871         (dispatch): adjust to take a FuncRequest as arg, adjust
2872
2873         * boost.C (assertion_failed): change assertion message slightly
2874
2875         * ToolbarBackend.C (read): simplify
2876
2877         * MenuBackend.C (binding): adjust call to findbinding, add a
2878         message if no binding is found.
2879         (read): simplify
2880         (expandToc): correct by adding a empty FuncRequest
2881
2882         * LyXAction.C: include <boost/assert.hpp>
2883         (isPseudoAction): delete function
2884         (LookupFunc): change name to...
2885         (lookupFunc): this. change return type to FuncRequest.
2886         (getActionName): take kb_action as arg, simplify
2887         (funcHasFlag): add an assert, simplify.
2888
2889 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * toc.C (action): return a FuncRequest, simplify
2892
2893         * lyxfunc.C (processKeySym): adjust
2894         (getStatus): delete version that takes an int.
2895         (getStatus): adjust
2896         (dispatch): delete version that takes action as int
2897         (dispatch): adjust
2898         (sendDispatchMessage): simplify and adjust
2899
2900         * funcrequest.C (getArg): take unsigned int as arg
2901
2902         * ToolbarBackend.C (read): adjust
2903         (add): delete version that takes func as a string.
2904         (getIton): take a FuncRequest as arg
2905
2906         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2907         action.
2908
2909         * MenuBackend.C (MenuItem): add a new construct that only takes a
2910         Kind, simplify the constructor use for submenus.
2911         (add): adjust
2912         (expandLastfiles): adjust
2913         (expandDocuments): adjust
2914         (expandFormats): adjust
2915         (expandFloatListInsert): adjust
2916         (expandFloatInsert): adjust
2917         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2918
2919         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2920         Remove class variables lyx_pseudo_map and lyx_arg_map
2921
2922         * LyXAction.C (searchActionArg): delete function
2923         (getPseudoAction): delete function
2924         (retrieveActionArg): delete function
2925         (LookupFunc): make it return kb_action, simplify.
2926         (getActionName): simplify
2927
2928         * factory.C (createInset): fix new bug
2929
2930 2003-09-19  Angus Leeming  <leeming@lyx.org>
2931
2932         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2933         masterFilename_ parameter in the include inset.
2934
2935         * factory.C (createInset): changes due to the changes to InsetInclude.
2936
2937 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2938
2939         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2940
2941 2003-09-18  Angus Leeming  <leeming@lyx.org>
2942
2943         * buffer.C:
2944         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2945         Inset::fillWithBibKeys.
2946         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2947
2948 2003-09-18  Angus Leeming  <leeming@lyx.org>
2949
2950         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2951         variables.
2952         (ctor): pass and store a 'Buffer const &'
2953         (buffer): new member function.
2954
2955         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2956         '*this' to the LaTeXFeatures ctor.
2957
2958 2003-09-18  Angus Leeming  <leeming@lyx.org>
2959
2960         * LColor.h:
2961         * lyxfont.C:
2962         * lyxfont.h:
2963         * lyxtext.h:
2964         * text.C: rename EnumLColor as LColor_color.
2965
2966 2003-09-18  Angus Leeming  <leeming@lyx.org>
2967
2968         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2969         remove #include "insets/insetbase.h" from cursor.h.
2970
2971 2003-09-18  Angus Leeming  <leeming@lyx.org>
2972
2973         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2974         InsetOld_code to remove #include "inset.h".
2975
2976         * iterators.C: add #include "insets/inset.h"
2977
2978 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2979
2980         * BufferView.C: remove more locking stuff that apparently doesn't
2981         do anything sensible.
2982
2983 2003-09-16  André Pönitz  <poenitz@gmx.net>
2984
2985         * paragraph.[Ch]:
2986         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2987           performance boost.
2988
2989 2003-09-16  Angus Leeming  <leeming@lyx.org>
2990
2991         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2992
2993         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2994         arg/return type.
2995
2996         * paragraph.h: remove #include "lyxfont.h". Forward declare
2997         LyXFont_size.
2998
2999 2003-09-16  Angus Leeming  <leeming@lyx.org>
3000
3001         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3002         of support/textutils.h.
3003         (isWord): move the contents of support/textutils.h's IsWordChar here.
3004
3005         * buffer.C:
3006         * lyxfind.C:
3007         * rowpainter.C:
3008         * text.C:
3009         * text2.C: add #include "paragraph.h".
3010
3011         * rowpainter.C:
3012         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3013
3014 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * main.C:
3017         * lyx_main.C:
3018         * lyx_cb.C:
3019         * buffer.C:
3020         * LaTeX.C: use namespace alias for lyx::support::os
3021
3022 2003-09-16  Angus Leeming  <leeming@lyx.org>
3023
3024         * bufferparams.C:
3025         * bufferview_funcs.C:
3026         * factory.C:
3027         * lyxfunc.C:
3028         * paragraph_pimpl.C:
3029         * rowpainter.C:
3030         * text.C: add #include "LColor.h".
3031
3032 2003-09-16  Angus Leeming  <leeming@lyx.org>
3033
3034         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3035         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3036         return LyXFont &.
3037         Store the FontBits::color variable as an int rather than as an
3038         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3039         file.
3040
3041         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3042         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3043         string calls together.
3044
3045         * lyxrc.C: add #include "LColor.h".
3046
3047 2003-09-15  Angus Leeming  <leeming@lyx.org>
3048
3049         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3050         a cow_ptr.
3051
3052 2003-09-15  Angus Leeming  <leeming@lyx.org>
3053
3054         * LColor.h: add an EnumLColor wrapper for LColor::color.
3055
3056         * lyxfont.[Ch] (color, setColor, realColor):
3057         * lyxtext.h, text.C (backgroundColor):
3058         pass EnumLColor args to/from the functions, rather than LColor::color
3059         ones.
3060
3061         * lyxfont.h:
3062         * lyxtext.h: forward declare EnumLColor.
3063
3064         * lyx_main.C: add #include "LColor.h".
3065
3066 2003-09-15  Angus Leeming  <leeming@lyx.org>
3067
3068         * .cvsignore: add lyx-gtk.
3069
3070 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * Chktex.C
3073         * LaTeX.C
3074         * LaTeXFeatures.C
3075         * ParagraphParameters.C
3076         * Spacing.C
3077         * buffer.C
3078         * bufferparams.C
3079         * bufferview_funcs.C
3080         * chset.C
3081         * counters.C
3082         * funcrequest.C
3083         * lyxfont.C
3084         * lyxgluelength.C
3085         * lyxlength.C
3086         * paragraph.C
3087         * paragraph_funcs.C
3088         * text3.C
3089         * vc-backend.C: remove usage of STRCONV
3090
3091 2003-09-15  Angus Leeming  <leeming@lyx.org>
3092
3093         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3094         explicitly define the color passed to the painter.
3095
3096 2003-09-15  Angus Leeming  <leeming@lyx.org>
3097
3098         * bufferparams.C (BufferParams): reorder member initializers to avoid
3099         compiler warning.
3100
3101 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3104         * text.C (updateRowPositions): remove an unusual nop
3105
3106 2003-09-12  André Pönitz  <poenitz@gmx.net>
3107
3108         * BufferView_pimpl.C:
3109         * Bullet.C:
3110         * layout.h:
3111         * lyxfunc.C:
3112         * lyxlayout.[Ch]:
3113         * lyxtextclass.C:
3114         * rowpainter.C:
3115         * text.C:
3116         * text2.C:
3117         * Counters.[Ch]: finish the 'automatic counters' job
3118
3119 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3120
3121         * aspell.C: include <boost/assert.cpp> (compile fix)
3122
3123 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3124
3125         * boost.C (assertion_failed): use lyx::support::abort instead of
3126         assert.
3127
3128 2003-09-10  Angus Leeming  <leeming@lyx.org>
3129
3130         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3131         with their _fwd progeny.
3132
3133 2003-09-09  Angus Leeming  <leeming@lyx.org>
3134
3135         134 files throughtout the source tree: replace 'using namespace abc;'
3136         directives with the appropriate 'using abc::xyz;' declarations.
3137
3138 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3139
3140         * boost.C (emergencyCleanup): moved here from LAssert.c
3141         (assertion_failed): new function, called by BOOST_ASSERT
3142
3143         * several files: change Assert to BOOST_ASSERT
3144
3145 2003-09-09  Angus Leeming  <leeming@lyx.org>
3146
3147         * buffer.[Ch]: Add an Impl class and move Buffer's member
3148         variables into it. As a result move several header files out of
3149         buffer.h.
3150
3151         Add header files to lots of .C files all over the tree as a result.
3152
3153 2003-09-09  Angus Leeming  <leeming@lyx.org>
3154
3155         * buffer.[Ch]: make Buffer's member variables private. Add
3156         accessor functions.
3157
3158         Lots of changes all over the tree as a result.
3159
3160 2003-09-08  Angus Leeming  <leeming@lyx.org>
3161
3162         * graph.C: #include <config.h>.
3163
3164 2003-09-08  Angus Leeming  <leeming@lyx.org>
3165
3166         * BranchList.C:
3167         * BufferView.C:
3168         * BufferView_pimpl.C:
3169         * CutAndPaste.C:
3170         * DepTable.C:
3171         * LaTeX.C:
3172         * LaTeXFeatures.C:
3173         * LyXAction.C:
3174         * MenuBackend.C:
3175         * TextCache.C:
3176         * aspell.C:
3177         * buffer.C:
3178         * bufferlist.C:
3179         * changes.C:
3180         * chset.C:
3181         * converter.C:
3182         * counters.C:
3183         * debug.C:
3184         * graph.C:
3185         * ispell.C:
3186         * lyx_cb.C:
3187         * lyxfind.C:
3188         * lyxfunc.C:
3189         * lyxlex_pimpl.C:
3190         * lyxrc.C:
3191         * lyxrow.C:
3192         * paragraph.C:
3193         * rowpainter.C:
3194         * texrow.C:
3195         * text.C:
3196         * text2.C:
3197         * toc.C: remove redundant using directives.
3198
3199 2003-09-07  Angus Leeming  <leeming@lyx.org>
3200
3201         * LaTeXFeatures.h: remove #include "support/types.h".
3202         * ToolbarBackend.h: remove #include <algorithm>.
3203         * changes.h: remove #include <ctime>.
3204         * debug.h: remove #include <iosfwd>.
3205         * graph.h: remove #include "support/std_string.h".
3206         * lyx_main.h: remove #include <csignal>.
3207         * lyxlex_pimpl.h: remove #include <fstream>.
3208         * sgml.h: remove #include <algorithm>, <utility>.
3209         * toc.h: remove #include "support/std_ostream.h".
3210         Add #include <iosfwd>.
3211
3212 2003-09-07  Angus Leeming  <leeming@lyx.org>
3213
3214         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3215
3216         * converter.h: forward declare LatexRunParams.
3217         * encoding.h: remove #include "lyxrc.h".
3218         * lyxtext.h: remove #include "LColor.h".
3219         * lyxtextclass.h: remove #include "support/types.h".
3220         * trans.h: remove #include "tex-accent.h".
3221         * trans_mgr.h: remove #include "tex-accent.h".
3222         * insets/inset.h: remove #include "support/types.h", <vector>.
3223         * insets/insetcollapsable.h: remove #include "LColor.h".
3224         * insets/insetinclude.h: remove #include "dimension.h".
3225         * insets/insetlatexaccent.h: remove #include "dimension.h".
3226         * insets/insetoptarg.h:: remove #include "insettext.h".
3227         * insets/insettext.h: remove #include "dimension.h",
3228         <boost/shared_ptr.hpp>
3229
3230         * insets/renderers.h: add #include "dimension.h".
3231         * insets/updatableinset.h: add #include "support/types.h".
3232
3233         * many .C files: Associated changes.
3234
3235 2003-09-06  Angus Leeming  <leeming@lyx.org>
3236
3237         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3238         one, inside testInvariant.
3239
3240         * PrinterParams.C: new file.
3241         * PrinterParams.[Ch]: move the function bodies out of line.
3242
3243 2003-09-06  Angus Leeming  <leeming@lyx.org>
3244
3245         * ParagraphParameters.h: forward declare ParameterStruct rather than
3246         including its header file.
3247         (depth): moved out-of-line.
3248
3249 2003-09-06  Angus Leeming  <leeming@lyx.org>
3250
3251         * BufferView_pimpl.h:
3252         * kbmap.h:
3253         * kbsequence.h:
3254         * lyxfunc.h: forward declare LyXKeySym rather than
3255         #include "frontends/LyXKeySym.h".
3256
3257         * BufferView_pimpl.C:
3258         * kbmap.C:
3259         * kbsequence.C:
3260         * lyxfunc.C: associated changes.
3261
3262 2003-09-06  Angus Leeming  <leeming@lyx.org>
3263
3264         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3265         As a result, can remove the #include "insets/inset.h" from BufferView.h
3266
3267 2003-09-06  Angus Leeming  <leeming@lyx.org>
3268
3269         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3270         As a result, can remove the #include "insets/inset.h" from BufferView.h
3271
3272 2003-09-06  Angus Leeming  <leeming@lyx.org>
3273
3274         * buffer_funcs.C:
3275         * buffer.h:
3276         * bufferlist.C:
3277         * BufferView.C:
3278         * bufferview_funcs.C:
3279         * BufferView_pimpl.C:
3280         * CutAndPaste.C:
3281         * lyx_cb.C:
3282         * lyxfunc.C:
3283         * paragraph.h:
3284         * ParagraphParameters.C:
3285         * tabular.C:
3286         * text3.C:
3287         * toc.C:
3288         * undo_funcs.C:
3289         * frontends/controllers/ControlDocument.C:
3290         * insets/insetcaption.C: rearrange the #includes into some sort of
3291         coherent order.
3292
3293         * buffer.h: remove #includes ErrorList.h, undo.h
3294
3295 2003-09-06  Angus Leeming  <leeming@lyx.org>
3296
3297         * support/types.h: add a 'depth_type' typedef, used to store the
3298         nesting depth of a paragraph.
3299
3300         * paragraph.h:
3301         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3302         defining explicitly.
3303
3304         * buffer.h:
3305         * paragraph_funcs.h:
3306         * ParagraphParameters.h:
3307         * sgml.h: use lyx::depth_type rather than Paragraph or
3308         ParameterStruct's depth_type.
3309
3310         * buffer.h
3311         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3312
3313         * BufferView.C:
3314         * BufferView_pimpl.C:
3315         * CutAndPaste.C:
3316         * ParagraphParameters.C:
3317         * buffer_funcs.C:
3318         * bufferlist.C:
3319         * bufferview_funcs.C:
3320         * lyx_cb.C:
3321         * lyxfunc.C:
3322         * tabular.C:
3323         * text3.C:
3324         * toc.C:
3325         * undo_funcs.C:
3326         * frontends/LyXView.C:
3327         * frontends/controllers/ControlDocument.C:
3328         * frontends/controllers/ControlErrorList.C:
3329         * insets/insetbibitem.C:
3330         * insets/insetbranch.C:
3331         * insets/insetcaption.C:
3332         * insets/insetcollapsable.C:
3333         * insets/insetenv.C:
3334         * insets/insetert.C:
3335         * insets/insetfloat.C:
3336         * insets/insetfoot.C:
3337         * insets/insetfootlike.C:
3338         * insets/insetnewline.C:
3339         * insets/insetquotes.C:
3340         * insets/insettabular.C:
3341         * insets/insettext.C:
3342         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3343
3344         * frontends/controllers/ControlChanges.C: #include "changes.h".
3345
3346 2003-09-06  Angus Leeming  <leeming@lyx.org>
3347
3348         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3349         than #including paragraph.h.
3350
3351         * ParagraphList.h:
3352         * RowList.h: deleted. Superfluous.
3353
3354         * CutAndPaste.h:
3355         * iterators.h:
3356         * lyxcursor.h:
3357         * lyxtext.h:
3358         * text_funcs.h:
3359         * undo.h:
3360         * undo_funcs.h:
3361         * insets/inset.h:
3362         * insets/insettext.h: use ParagraphList_fwd.h rather than
3363         ParagraphList.h.
3364
3365         * paragraph.h: don't forward declare ParagraphList.
3366
3367         * buffer.h:
3368         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3369         rather than ParagraphList.h. paragraph.h is still needed for the
3370         Paragraph::depth_type parameters.
3371
3372         * textcursor.h: enable it to compile stand-alone in light of the
3373         above changes.
3374
3375         * bufferview_funcs.C:
3376         * iterators.C:
3377         * lyxfunc.C:
3378         * lyxrow_funcs.C:
3379         * paragraph.C:
3380         * rowpainter.C:
3381         * text.C:
3382         * text2.C:
3383         * text3.C:
3384         * text_funcs.C:
3385         * textcursor.C:
3386         * undo.C:
3387         * frontends/controllers/ControlParagraph.C:
3388         * frontends/controllers/ControlTabular.C:
3389         * insets/insetmarginal.C:
3390         * insets/insetminipage.C:
3391         * insets/insetnote.C:
3392         * insets/insetoptarg.C: add header files needed to compile again.
3393
3394 2003-09-06  Angus Leeming  <leeming@lyx.org>
3395
3396         * RowList_fwd.h: new file, forward-declaring Row rather than
3397         #including lyxrow.h.
3398
3399         * lyxrow_funcs.h:
3400         * lyxtext.h:
3401         * paragraph.h:
3402         * insets/insettext.h: use it instead of RowList.h
3403
3404         * bufferview_funcs.C:
3405         * lyxfunc.C:
3406         * lyxrow_funcs.C:
3407         * paragraph.C:
3408         * rowpainter.C:
3409         * text.C:
3410         * text2.C:
3411         * text3.C: #include "RowList.h".
3412
3413 2003-09-05  Angus Leeming  <leeming@lyx.org>
3414
3415         * factory.C (createInset):
3416         * vspace.C (c-tor): replace sscanf call with an istringstream.
3417         * ispell.C: re-add missing HP/UX headers.
3418         * lyxserver.C: re-add missing  os2 headers.
3419
3420 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3421
3422         * BranchList.C:
3423         * graph.C:
3424         * ispell.C:
3425         * lastfiles.C:
3426         * lyx_cb.C:
3427         * lyxserver.C:
3428         * texrow.C:
3429         * text3.C: re-add missing system headers, needed for 2.95.2.
3430
3431 2003-09-05  Angus Leeming  <leeming@lyx.org>
3432
3433         Changes most place everywhere due to the removal of using directives
3434         from support/std_sstream.h.
3435
3436 2003-09-05  Angus Leeming  <leeming@lyx.org>
3437
3438         Replace LString.h with support/std_string.h,
3439         Lsstream.h with support/std_sstream.h,
3440         support/LIstream.h with support/std_istream.h,
3441         support/LOstream.h with support/std_ostream.h.
3442
3443         Changes resulting throughout the tree.
3444
3445 2003-09-05  Angus Leeming  <leeming@lyx.org>
3446
3447         * sgml.h: ensure that the header file can be compiled stand-alone.
3448         * *.C: strip out redundant #includes. (320 in total.)
3449
3450 2003-09-04  Angus Leeming  <leeming@lyx.org>
3451
3452         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3453         here (from getPackages).
3454
3455         * debug.[Ch]: add a new EXTERNAL tag.
3456
3457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3458
3459         * text2.C (cursorEnd): simplify
3460         (setCursor): adjust
3461         (getColumnNearX): adjust
3462
3463         * text.C (computeBidiTables): adjust
3464         (fill): adjust
3465
3466         * rowpainter.C (paintChars): adjust
3467         (paintSelection): adjust
3468         (paintChangeBar): adjust
3469         (paintText): adjust
3470
3471         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3472         lastPos instead.
3473         (numberOfSeparators): adjust
3474
3475 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3476
3477         * LyXAction.C:
3478         * box.[Ch]:
3479         * lfuns.h:
3480         * lyxfunc.C:
3481         * text3.C: Restricts the mouse click functionality
3482         of insets like bibtex, include, toc and floatlist to the visible
3483         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3484         up the dialogs. Cursor has to be in front of the inset (i.e.
3485         start of row) for this to function.
3486
3487 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3488
3489         * bufferview_funcs.C (currentState): output row information
3490
3491 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3492
3493         * bufferview_funcs.C (currentState): output paragraph position
3494
3495 2003-09-04  Angus Leeming  <leeming@lyx.org>
3496
3497         * FloatList.h: move out #include "Floating.h".
3498         * LaTeX.h: move out #include "DepTable.h".
3499         * LyXAction.h: move out #include "funcrequest.h".
3500         * buffer.h: move out #include "author.h", "iterators.h".
3501         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3502         * lyx_main.h: move out #include "errorlist.h".
3503         * lyxfunc.h: move out #include "FuncStatus.h".
3504         * lyxtext: move out #include "lyxcursor.h".
3505         * paragraph_pimpl.h: move out #include "counters.h".
3506
3507 2003-09-03  Angus Leeming  <leeming@lyx.org>
3508
3509         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3510         preamble_snippets list, enabling us to add snippets to the preamble
3511         only if the snippet was not there already.
3512
3513 2003-09-04  Angus Leeming  <leeming@lyx.org>
3514
3515         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3516
3517 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3520         update
3521
3522 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3523
3524         * BranchList.C: point fix, earlier forgotten
3525
3526 2003-09-02  Angus Leeming  <leeming@lyx.org>
3527
3528         * box.C (contains): renamed from 'contained' after a fantastic
3529         amount of hot air.
3530
3531 2003-09-02  John Levon  <levon@movementarian.org>
3532
3533         * BufferView.C:
3534         * lyxcursor.h:
3535         * lyxcursor.C:
3536         * lyxfunc.C:
3537         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3538
3539 2003-09-02  John Levon  <levon@movementarian.org>
3540
3541         * text2.C: simplification of cursorEnd(), including partial
3542         fix for bug 1376
3543
3544 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * buffer.C (readFile): add a space
3547
3548 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3551
3552 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * buffer.C (readFile): new function, take a filename and a
3555         ParagraphList::iterator
3556         (readFile): adjust
3557         (readFile): adjust, make it private. don't use setStream, make
3558         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3559         always contain the filename.
3560
3561         * BufferView.C (insertLyXFile): simplify and make it work for
3562         gzipped files.
3563
3564 2003-08-30  John Levon  <levon@movementarian.org>
3565
3566         * Makefile.am: fix dist (from Kayvan)
3567
3568 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * most files: change to use const Buffer refs
3571
3572 2003-08-27  André Pönitz  <poenitz@gmx.net>
3573
3574         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3575         on top of ownerPar().
3576
3577 2003-08-27  John Levon  <levon@movementarian.org>
3578
3579         * funcrequest.C: properly initialise POD members
3580
3581 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * lyxtext.h (top_y): move top_y from here
3584         * text.C:
3585         * text2.C:
3586         * text3.C:
3587         * BufferView.[Ch]:
3588         * BufferView_pimpl.[Ch]: to here
3589         * frontends/screen.C:
3590         * insets/insettabular.C:
3591         * insets/insettext.C: adjust
3592         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3593
3594 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * BufferView.[Ch]:
3597         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3598
3599 2003-08-26  André Pönitz  <poenitz@gmx.net>
3600
3601         * paragraph_func.[Ch] (outerPar): new function
3602
3603         * paragraph.C:
3604         * paragraph_funcs.C:
3605         * paragraph_funcs.h:
3606         * paragraph_pimpl.C:
3607         * text2.C: remove Inset::par_owner
3608
3609 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3610
3611         * lyxrow_funcs.C:
3612         * lyxtext.h:
3613         * text.C:
3614         * text2.C: eliminates the needFullRow/display() stuff
3615         altogether, putting the logic in metrics/draw in the insets.
3616
3617 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * text2.C (redoParagraphInternal, redoParagraphs):
3620         * text.C (redoParagraph): add a call to updateRowPositions at the
3621         end of each 'metrics-like' call. Remove all others.
3622         (getRow): remove the 'y-computing' version.
3623         (getRowNearY): do not compute nor return the real y. Solve the
3624         'y < 0' problem and simplify.
3625
3626 2003-08-22  Angus Leeming  <leeming@lyx.org>
3627
3628         * *.[Ch]: clean-up of licence and author blurbs.
3629         Also move config.h out of a few .h files and into a few .C files.
3630
3631 2003-08-22  André Pönitz  <poenitz@gmx.net>
3632
3633         * lyxrow.[Ch]: add x_ and *fill_ members
3634
3635         * lyxtext.h:
3636         * text.C:
3637         * rowpainter.C:
3638         * text2.C: adjust/remove prepareToPrint() calls
3639
3640 2003-08-22  André Pönitz  <poenitz@gmx.net>
3641
3642         * lyxrow.[Ch]: add  end_ member
3643
3644         * lyxrow_funcs.C: use LyXRow::end_
3645
3646         * lyxtext.h (singleWidth): add LyXFont parameter
3647
3648         * rowpainter.C:
3649         * text2.C: adjust LyXText::singleWidth() calls
3650
3651         * text.C (redoParagraph): simplify row breaking logic
3652
3653
3654 2003-08-19  André Pönitz  <poenitz@gmx.net>
3655
3656         * funcrequest.C: initialize button_ member
3657
3658         * text3.C:
3659         * rowpainter.[Ch]: interface consolidation
3660
3661 2003-08-18  André Pönitz  <poenitz@gmx.net>
3662
3663         * BufferView.C:
3664         * BufferView_pimpl.C:
3665         * lyxfind.C:
3666         * paragraph_funcs.C:
3667         * rowpainter.C:
3668         * text3.C: remove LyXScreen::draw() and fitCursor calls
3669
3670         * BranchList.h: remove spurious semicolons
3671
3672         * MenuBackend.C: fix branchlist related crash
3673
3674 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * BranchList.[Ch]:
3677         * InsetList.[Ch]:
3678         * LColor.[Ch]:
3679         * LyXAction.C:
3680         * Makefile.am:
3681         * MenuBackend.[Ch]:
3682         * bufferparams.[Ch]:
3683         * factory.C:
3684         * lfuns.h:
3685         * lyxfunc.C:
3686         * text3.C: implements the 'branch inset'
3687         idea. This allows the output of various versions of a document
3688         from a single source version, selectively outputing or suppressing
3689         output of parts of the text.
3690         This implementation contains a 'branch list editor' in a separate
3691         tab of the document settings dialog. Branches are user definable
3692         and have a "display colour" to distinguish them on-screen.
3693
3694         ColorHandler was somewhat cleaned up.
3695         (1) make possible a dynamically growing LColor list by allowing
3696         the graphic context cache to grow along (vector);
3697         (2) eliminate an IMHO unnecessary step in colour allocation.
3698
3699 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3700
3701         * BufferView_pimpl.C: compile fix
3702
3703 2003-08-15  André Pönitz  <poenitz@gmx.net>
3704
3705         * rowpainter.C: remove extra metrics calls
3706
3707         * lyxtext.h: merge the two constructors into a single one,
3708           pass reference to owner's par list
3709
3710         * BufferView_pimpl.C:
3711         * text.C:
3712         * text2.C: adjust
3713
3714 2003-08-15  André Pönitz  <poenitz@gmx.net>
3715
3716         * lyxrow_funcs.[Ch]:
3717         * lyxtext.h:
3718         * paragraph.h:
3719         * paragraph_funcs.C:
3720         * rowpainter.C:
3721         * text.C:
3722         * text2.C:
3723         * text3.C:
3724         * text_funcs.C: split LyXText::rowlist_ into individual
3725         Paragraph::rows_ chunks
3726
3727         * BufferView.[Ch]:
3728         * BufferView_pimpl.[Ch]:
3729         * lyxfind.C:
3730         * lyxtext.h:
3731         * text3.C: remove toggleSelection()
3732
3733 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3734
3735         * bufferlist.C: beautify two alerts (shorter text of buttons)
3736         * buffer.C: Remove redundant ' ' from message
3737         * tabular.h:
3738         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3739         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3740         rename VALIGN_CENTER to VALIGN_MIDDLE
3741
3742 2003-08-11  André Pönitz  <poenitz@gmx.net>
3743
3744         * lyxtext.h (getPar):
3745         * text.C: new function
3746
3747 2003-08-11  André Pönitz  <poenitz@gmx.net>
3748
3749         * Makefile.am:
3750         * tracer.[Ch]: remove unneeded files
3751
3752         * InsetList.[Ch]: remove resizeInsetsLyXText()
3753
3754         * lyxtext.h:
3755         * text.C:
3756         * text2.C:
3757         * text3.C: merge insertParagraphs() and appendParagraph()
3758         remove breakAgain(), update()
3759
3760         * BufferView_pimpl.[Ch]:
3761         * bufferview_funcs.[Ch]:
3762         * lyxfunc.C:
3763         * paragraph.[Ch]:
3764         * rowpainter.C:
3765         * tabular.C: adjust after text & InsetList changes.
3766
3767 2003-08-08  André Pönitz  <poenitz@gmx.net>
3768
3769         * text.C (insertChar, backspace): replace rowlist fiddling
3770         with rebreak of full par
3771
3772         * lyxtext.h:
3773         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3774         checkParagraph, updateInset): removed
3775
3776 2003-08-07  André Pönitz  <poenitz@gmx.net>
3777
3778         * paragraph.C:
3779         * text3.C: merge some LFUN handlers, remove dead code
3780
3781 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3782
3783         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3784
3785 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * text2.C (DEPM): fix part of bug 1255 and 1256
3788
3789 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3790
3791         * BufferView_pimpl.C (workAreaDispatch): change to use
3792         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3793         that are no mouse related.
3794
3795 2003-08-05  André Pönitz  <poenitz@gmx.net>
3796
3797         * BufferView.[Ch]:
3798         * BufferView_pimpl.[Ch]:
3799         * bufferview_funcs.C:
3800         * text2.C:
3801         * text3.C: rip out "deep update"
3802
3803         * textcursor.[Ch] (last_sel_cursor): remove unused member
3804
3805 2003-08-04  André Pönitz  <poenitz@gmx.net>
3806
3807         * BufferView.[Ch]:
3808         * BufferView_pimpl.[Ch]:
3809         * ParagraphParameters.C:
3810         * bufferview_funcs.C:
3811         * lyx_cb.C:
3812         * lyxfind.C:
3813         * lyxfunc.C:
3814         * text.C:
3815         * text2.C:
3816         * text3.C: replace "complicated" BufferView::update(...) calls with
3817         simpler ones.
3818
3819         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3820
3821 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3822
3823         * Makefile.am (lyx_SOURCES): add paper.h
3824
3825 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3826
3827         * Makefile.am: move things around so that both lyx-qt and
3828         lyx-xforms can be built (according to --with-frontend). Then lyx
3829         is a symbolic link to lyx-[firstfrontend]
3830
3831 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3832
3833         * Always use std::endl with lyxerr
3834
3835 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3836
3837         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3838
3839 2003-08-01  André Pönitz  <poenitz@gmx.net>
3840
3841         * BufferView.[Ch]:
3842         * BufferView_pimpl.[Ch]:
3843         * lyxfunc.C:
3844         * text3.C: merge BufferView::repaint() and BufferView::update()
3845
3846 2003-08-01  José Matos  <jamatos@lyx.org>
3847
3848         * buffer.[Ch]: file_format is no longer a buffer data element.
3849
3850 2003-08-01  André Pönitz  <poenitz@gmx.net>
3851
3852         * BufferView.C:
3853         * lyxtext.h:
3854         * text.C:
3855         * text2.C: make redoParagraph more independent of current cursor
3856
3857         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3858         * text.C:
3859         * text2.C: remove unneeded members
3860
3861 2003-07-30  André Pönitz  <poenitz@gmx.net>
3862
3863         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3864
3865         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3866           create a single function...
3867
3868         * paragraph_funcs.C (moveItem): ... here.
3869
3870         * text.C:
3871           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3872
3873 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * LColor.[Ch]: Add comment and greyedout logical colors.
3876
3877 2003-07-30  André Pönitz  <poenitz@gmx.net>
3878
3879         * tabular.C: don't use Assert too heavily. This crashes where it
3880           shouldn't
3881
3882 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3885         is disabled (bug 1232)
3886
3887 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3888
3889         * factory.C: limited 'arg' scope
3890
3891 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3892
3893         * factory.C: fixed Note submenu issues
3894
3895 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3896
3897         * factory.C: submenu for Note/Comment/Greyedout
3898
3899 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * lyx_main.C (LyX):
3902         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3903
3904 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3905
3906         * LaTeXFeatures.C:
3907         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3908         greyedout. Patch provided by Jürgen Spitzmüller.
3909
3910 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3911
3912         * kbmap.C (read): fix error message when reading bind files
3913
3914 2003-07-29  Angus Leeming  <leeming@lyx.org>
3915
3916         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3917         certainly does not do what it purports to do. I am doing it, and
3918         us, a favour by killing it.
3919
3920 2003-07-28  José Matos  <jamatos@lyx.org>
3921
3922         * buffer.C (readBody, do_writeFile):
3923         * paragraph.C(readParagraph): \end_document replaces \the_end.
3924
3925 2003-07-29  André Pönitz  <poenitz@gmx.net>
3926
3927         * BufferView.[Ch]:
3928         * BufferView_pimpl.[Ch]:
3929         * lyxfunc.C:
3930         * text2.C:
3931         * text3.C:
3932         * textcursor.[Ch]: remove toggleToggle & Co
3933
3934 2003-07-28  José Matos  <jamatos@fep.up.pt>
3935
3936         * buffer.C (readParagraph):
3937         * params_func (readParToken, readParagraph):
3938         * paragraph.C (write): \layout -> \begin_layout.
3939
3940 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * lyxlex_pimpl.C (setFile): clean up slightly.
3943
3944         * bufferparams.h: add compressed var
3945
3946         * buffer_funcs.C (readFile): adjust for LyXLex change
3947         (newFile): ditto + simplify
3948
3949         * buffer.C (writeFile): handle writing of compressed files
3950
3951         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3952         Check if the file is compressed and set a bufferparm if so.
3953
3954         * Makefile.am (lyx_LDADD): remove explicit -lz
3955
3956 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3957
3958         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3959         makeDocBookFile): put the real LyX version in the first line of
3960         the file
3961
3962         * version.h:
3963         * version.C.in: remove lyx_docversion
3964
3965         * tabular.C (write_attribute): add a template-based version to
3966         write enums properly
3967
3968 2003-07-28  André Pönitz  <poenitz@gmx.net>
3969
3970         * lyxtext.h:
3971         * text.C:
3972         * text2.C:
3973         * text3.C: use doubles again for x-coordinates. They are needed.
3974
3975 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * messages.C (getLocaleDir): use lyx_localedir()
3978
3979         * lyxlex_pimpl.C (setFile): compress stuff
3980
3981         * buffer.C (writeFile): add some compression stuff
3982         (do_writeFile): new func, dont call expliti close... will this
3983         breake anything?
3984
3985         * Makefile.am (lyx_LDADD): add -lz
3986
3987 2003-07-28  José Matos  <jamatos@fep.up.pt>
3988
3989         * buffer.C: increment file format.
3990         * paragraph_funcs (readParagraph, readParToken):
3991         * paragraph.C (readParagraph): add \end_layout.
3992
3993 2003-07-27  Angus Leeming  <leeming@lyx.org>
3994
3995         * Makefile.am: remove special casing for configure-time setting of
3996         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3997
3998         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3999         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4000
4001 2003-07-26  André Pönitz  <poenitz@gmx.net>
4002
4003         * paragraph_func.[Ch]:
4004         * paragraph.C (realizeFont): inline it whereever it is used
4005
4006         * rowpainter.C:
4007         * text.C:
4008         * text2.C:
4009         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4010
4011
4012 2003-07-26  André Pönitz  <poenitz@gmx.net>
4013
4014         *       lyxtext.h:
4015         * text.C:
4016         * text2.C: get rid of LyXText::need_break_row
4017
4018 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * toc.[Ch]: put namespace toc inside namespace lyx
4021
4022         * MenuBackend.C (expandToc2): adjust for lyx::toc
4023         (expandToc): ditto
4024
4025         * lyxfunc.C (dispatch): adjust for lyx::find
4026
4027         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4028         lyx::find instead. Reorganize a bit.
4029         (LyXReplace): rename to replace
4030         (LyXFind): rename to find
4031
4032         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4033         (dispatch): ditto
4034
4035 2003-07-26  André Pönitz  <poenitz@gmx.net>
4036
4037         * text.C (setHeightOfRow): restrict scope of temporary variable
4038
4039         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4040           code (never has been used?)
4041
4042 2003-07-27  Asger Alstrup  <alstrup@local>
4043
4044         * text.C (fill): Optimise algorithm to exploit that we can reuse
4045         the LyXFont for many characters.
4046         (setHeightOfRow): Same thing.
4047         (rowBreakPoint): Same thing.
4048
4049 2003-07-26  Asger Alstrup  <alstrup@local>
4050
4051         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4052
4053         * text.C (singleWidth): Spurious font copying in hot-spot
4054         singleWidth avoided. Reorder tests for arabic for efficiency.
4055
4056         * text.C (fill): handle empty paragraphs better.
4057
4058 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4059
4060         * ispell.C:
4061         * encoding.h: add includes
4062
4063         * lyxrc.C: remove reading of bind files
4064
4065         * lyx_main.C (init): setup bindings and menus only if we have a
4066         gui.
4067
4068         * kbmap.C (read): new method. Do the actual reading of bind
4069         files.
4070
4071         * converter.C (dvipdfm_options):
4072         * bufferparams.C:
4073         * lyxrc.C (read):
4074         (output): adapt PAPER_* enums.
4075
4076         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4077
4078         * bufferparams.h: remove paper-related enums from there
4079
4080         * paper.h: New file. A trivial header file to hold paper-related
4081         enums. It should later expand to contain many paper-related
4082         horrors access.
4083
4084         * lyxrc.C: declare extern displayTranslator
4085
4086 2003-07-27  José Matos  <jamatos@fep.up.pt>
4087
4088         * tabular.[Ch] (linuxdoc): add support for tables and figures
4089         (linuxdoc).
4090
4091 2003-07-27  José Matos  <jamatos@fep.up.pt>
4092
4093         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4094         consistency in both functions.
4095         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4096
4097 2003-07-26  Asger Alstrup  <alstrup@local>
4098
4099         * rowpainter.C (paintRows): Change algorithm to work directly on
4100         the insets rather than asking every character in the document
4101         whether its an inset.
4102
4103 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4104
4105         * buffer.C (openFileWrite): factorize some code
4106
4107 2003-07-26  Angus Leeming  <leeming@lyx.org>
4108
4109         * lyx_cb.C:
4110         * lyx_main.[Ch]: replace occurances of system_tempdir with
4111         os::getTmpDir().
4112
4113 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * rename Inset to InsetOld
4116
4117 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4118
4119         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4120         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4121         which I think is a bit clearer. EDIT is gone, since it was
4122         premature optimisation, and broken for mathed anyway.
4123         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4124         with cursor positioning in insets as well (math insets still do not
4125         work, but that's a different story anyway.) It mysteriously
4126         crashes sometimes with undo in the first paragraph, but I'm fairly
4127         confident that this is a compiler bug.
4128
4129 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * paragraph.C (Paragraph): adjust for new clone return type
4132         (operator==): ditto
4133         (copyIntoMinibuffer): ditto
4134
4135 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4136
4137         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4138         by not having a special case, and always doing a full rebreak of
4139         the document after undo.
4140
4141 2003-07-23  Angus Leeming  <leeming@lyx.org>
4142
4143         * factory.C (createInset): InsetExternal::setParams now takes a
4144         Buffer const * arg.
4145
4146 2003-07-23  Angus Leeming  <leeming@lyx.org>
4147
4148         * factory.C (createInset): changed interface to the external and
4149         graphics mailers' string2params functions.
4150
4151 2003-07-23  Angus Leeming  <leeming@lyx.org>
4152
4153         * factory.C (createInset): pass a
4154         Buffer const * parameter to InsetExternalMailer's string2params.
4155
4156 2003-07-22  John Levon  <levon@movementarian.org>
4157
4158         * Thesaurus.h: include the right aiksaurus header
4159
4160 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4161
4162         * MenuBackend.C (expand): check menu shortcuts unconditionally
4163
4164 2003-07-21  Angus Leeming  <leeming@lyx.org>
4165
4166         * factory.C (createInset): pass a
4167         buffer_path parameter to InsetGraphicsMailer's string2params.
4168
4169 2003-07-21  Angus Leeming  <leeming@lyx.org>
4170
4171         * BufferView_pimpl.C (buffer):
4172         * buffer.C (d-tor):
4173         * lyx_main.C (LyX):
4174         * lyxfunc.C (dispatch):
4175         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4176         rather than the grfx shortcut.
4177
4178 2003-07-21  André Pönitz  <poenitz@gmx.net>
4179
4180         * rowpainter.C: remove unused variables
4181
4182         * tabular_funcs.C:
4183         * tabular_funcs.h: move to tabular.C
4184         * Makefile.am: adjust
4185
4186         * tabular.[Ch]: basic optical cleaning
4187
4188         * author.h: pass references, not values
4189
4190 2003-07-18  André Pönitz  <poenitz@gmx.net>
4191
4192         * lyxtext.h:
4193         * metricsinfo.C:
4194         * metricsinfo.h:
4195         * rowpainter.C:
4196         * text.C:
4197         * text2.C:
4198         * text3.C: two-phase drawing for InsetText and InsetTabular
4199         some float -> int changes.
4200
4201 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * lyx_main.C: fix the fix
4204
4205 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * lyx_main.C: fix a crash in batch mode if no files specified
4208         * converter.C: ws
4209
4210 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * format.[Ch] (papersize): moved to BufferParams
4213         * converter.[Ch] (dvips_options): moved to BufferParams
4214         (dvipdfm_options): moved to anon namespace
4215         * bufferparams.[Ch]: added above functions.
4216
4217 2003-07-17  André Pönitz  <poenitz@gmx.net>
4218
4219         * lyxtext.h:
4220         * rowpainter.C:
4221         * text2.C: don't call inset->update() anymore
4222
4223         * metricsinfo.[Ch]: add convenience constructor
4224
4225 2003-07-16  André Pönitz  <poenitz@gmx.net>
4226
4227         * lyxcursor.[Ch]:
4228         * lyxfunc.[Ch]:
4229         * text.C:
4230         * text2.C: replace the LyXCursor::irow_ member with
4231          on-demand computation of the value
4232
4233 2003-07-16  John Levon  <levon@movementarian.org>
4234
4235         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4236
4237 2003-07-15  André Pönitz  <poenitz@gmx.net>
4238
4239         * text.C:
4240         * text2.C: remove no more needed refresh_row
4241
4242 2003-07-15  André Pönitz  <poenitz@gmx.net>
4243
4244         * lyxtext.h:
4245         * rowpainter.C:
4246         * text2.C:
4247         * text3.C: refresh_status tristate -> need_update bool
4248
4249 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * lyxtext.h (init): remove reinit argument (act as if always true)
4252         * text2.C: adjust to that
4253
4254 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4255
4256         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4257         * text3.C: use it to delete selections in some cases
4258         (bugs 441, 673, 702, 954).
4259
4260 2003-07-14  André Pönitz  <poenitz@gmx.net>
4261
4262         * rowpainter.[Ch]: reduce interface
4263
4264 2003-07-14  André Pönitz  <poenitz@gmx.net>
4265
4266         * BufferView_pimpl.C:
4267         * text2.C: adjust after removing unused BufferView * argument
4268
4269 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4270
4271         * text2.C (init): fix a crash fired on resize
4272
4273 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4274
4275         * buffer.[Ch]: added new closing signal
4276         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4277         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4278         BufferView::Pimpl via the closing the signal
4279
4280 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * buffer.[Ch]: take out all bv-related from buffer
4283         * BufferView.C:
4284         * BufferView_pimpl.[Ch]: connect to new signals
4285         * CutAndPaste.C: removed useless asserts
4286         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4287         * lyxvc.[Ch]:
4288         * vc-backend.[Ch]:
4289         * lyxfunc.C: moved view-related funciontality from vc here
4290         * paragraph.C: removed outdated comments
4291         * text.C: ws
4292
4293 2003-07-10  André Pönitz  <poenitz@gmx.net>
4294
4295         * BufferView_pimpl.C:
4296         * tabular.h:
4297         * tabular_funcs.C:
4298         * text.C:
4299         * text2.C: remove InsetText::InnerCache, clean up consequences
4300
4301 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4302
4303         * ispell.C: fix two typos in error messages
4304
4305 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4306
4307         * Extend Note inset to other forms of annotation like Comment
4308         and Greyedout. Right button click gives dialog.
4309
4310         Files modified or added (+):
4311
4312         * insetnote.[Ch]
4313         * FormNote.[Ch]      +
4314         * ControlNote.[Ch]   +
4315         * form_note.fd       +
4316         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4317         frontends/controllers
4318         * xforms/Dialogs.C
4319         * factory.C
4320
4321 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4322
4323         * aspell.C: add missing namespace lyx::support
4324
4325 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * BufferView.[Ch] (newFile): Add
4328         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4329         * LaTeX.[Ch] (message): added this signal and use it
4330         * buffer.[Ch] (busy, message): added these signals and use them
4331         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4332         * converter.C:
4333         * exporter.C:
4334         * format.C:
4335         * importer.C: use buffer signals instead of direct bv calling
4336         * lyx_cb.[Ch] (ShowMessage): removed
4337         * lyx_main.C:
4338         * lyxfunc.C:
4339         * paragraph_funcs.C:
4340         * text2.C: use buffer signals
4341
4342 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * introduce namespace lyx::graphics
4345
4346 2003-07-02  André Pönitz  <poenitz@gmx.net>
4347
4348         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4349
4350 2003-07-01  André Pönitz  <poenitz@gmx.net>
4351
4352         * text.C:
4353         * text2.C:
4354         * text3.C:
4355         * text_funcs.[Ch]:
4356         * textcursor.h:
4357         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4358           text*.C to text_func.C
4359
4360 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * introduce namespace lyx::support
4363
4364 2003-06-30  André Pönitz  <poenitz@gmx.net>
4365
4366         * Chktex.C:
4367         * funcrequest.C:
4368         * lyxtext.h:
4369         * text.C: re-enable --with-included-string
4370
4371 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * textcursor.C: add <config.h>
4374
4375         * text.C (getWord): remove const from word_location arg
4376
4377         * lyxvc.C (getLogFile): fix const type order
4378
4379         * lyxtext.h: remove const from word_location arg, add arg name
4380
4381         * lyxlayout.h: currect type on labeltype.
4382
4383         * importer.C: correct \file
4384
4385         * converter.C (intToFormat): use std:: on ret val, ws changes
4386
4387         * bufferlist.h: correct \file
4388
4389         * buffer.C (makeLinuxDocFile): fix const type order
4390         (makeDocBookFile): ditto
4391         (fillWithBibKeys): use std:: on stdlib args.
4392
4393         * CutAndPaste.C: fix authors.
4394         (availableSelections): use std:: on return vector
4395
4396 2003-06-27  André Pönitz  <poenitz@gmx.net>
4397
4398         * BufferView_pimpl.C:
4399         * bufferview_funcs.C:
4400         * lyxcursor.C:
4401         * lyxcursor.h:
4402         * lyxfunc.C:
4403         * lyxtext.h:
4404         * rowpainter.C:
4405         * text.C:
4406         * text2.C:
4407         * text3.C: remove LyXCursor::row_ member
4408
4409         * lyxtext.h:
4410         * text.C: rename fullRebreak() to partialRebreak() and implement
4411           a fullRebreak() that really bereks fully
4412
4413         * textcursor.h: new struct for cursor-related data
4414
4415 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4416
4417         * lyx_main.C (LyX): get full path of document loaded on the
4418         command line
4419
4420 2003-06-26  André Pönitz  <poenitz@gmx.net>
4421
4422         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4423           remove unused/broken operator>,<,>=.
4424
4425         *       text.C: remove only use of broken operator<= in an Assert().
4426
4427 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4428
4429         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4430         moved errorlist_.clear to showErrorList
4431
4432 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4433
4434         * converter.C (scanLog, runLaTeX):
4435         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4436         move the bv->showErrorList call to the callers
4437         * lyxfunc.C: i.e. here...
4438         * text2.C: and here
4439         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4440         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4441         namespace, the second to...
4442         * buffer_funcs (BufferFormat, parseErrors): added
4443         * errorlist.C (ErrorList(TeXErrors const &)): removed
4444
4445 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4446
4447         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4448
4449 2003-06-24  "Garst R. Reese" <reese@isn.net>
4450
4451         * debug.C: fix typo
4452
4453 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4454
4455         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4456
4457         * version.C.in: change docversion to 1.4
4458
4459 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * buffer.C: fix a bug just introduced
4462
4463 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * buffer.[Ch]: added the parseError signal and use it, removed
4466         sgmlError
4467         * BufferView.[Ch] (addError): moved to ...
4468         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4469         to the Buffer::parseError signal to catch (guess what) parse errors
4470         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4471
4472 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4473
4474         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4475         ability to create a buffer and to return an existing one from
4476         the list. Moved these functions to...
4477         * buffer_funcs.[Ch]: added
4478         * BufferView.[Ch] (loadLyXFile): added
4479         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4480         job removed from bufferlist::loadLyXFile.
4481         * buffer.C (setReadOnly): make it work without view
4482         (i.e added an if (users))
4483
4484 2003-06-19  Angus Leeming  <leeming@lyx.org>
4485
4486         * lfuns.h:
4487         * LyXAction.C (init):
4488         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4489         with LFUN_DIALOG_SHOW <name> <data>.
4490
4491 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4492
4493         * CutAndPaste.C (availableSelections): small compilation fix for
4494         ancient (gcc 2.9x) compilers
4495
4496 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * text3.C (cursorNext): add tmp var
4499
4500         * text2.C (updateCounters): for function calling out of for clause
4501         (replaceSelectionWithString): ditto
4502         (insertStringAsParagraphs): ditto
4503         (getColumnNearX): add tmp var
4504         (setCursorFromCoordinates): add tmp var
4505         (cursorDownParagraph): add tmp var
4506         (deleteEmptyParagraphMechanism): add tmp var
4507
4508         * text.C (insertChar): add tmp var
4509
4510         * rowpainter.C (paintDepthBar): add tmp var
4511
4512         * CutAndPaste.C (availableSelections): potentially check all
4513         paragraphs in a cut to fill the shown strings.
4514
4515 2003-06-18  André Pönitz  <poenitz@gmx.net>
4516
4517         * kbmap.[Ch]: use vector<> instead of list<>
4518
4519 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4520
4521         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4522         pasteSelection with index
4523
4524         * text2.C (pasteSelection): modify, call pasteSelection with index
4525
4526         * paragraph.C (asString): reimplement version with no interval to
4527         call the one with interval.
4528
4529         * lyxtext.h: add index arg to pasteSelection
4530
4531         * MenuBackend.C (MenuItem): handle PasteRecent
4532         (Menu::read::Menutags): add md_pasterecent
4533         (read): handle it
4534         (expandPasteRecent): new function
4535         (expand): use it
4536
4537         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4538
4539         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4540         the limited stack
4541         (availableSelections): new function
4542
4543 2003-06-17  Angus Leeming  <leeming@lyx.org>
4544
4545         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4546
4547 2003-06-17  Angus Leeming  <leeming@lyx.org>
4548
4549         * lfuns.h:
4550         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4551
4552         * lyxfunc.C (dispatch): invoke it.
4553
4554 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4555
4556         * iterators.C (operator++, ParPosition): reintroduce some
4557         const_cast for the benefit of older compilers.
4558
4559 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4560
4561         * text3.C (dispatch): do not modify clipboard when doing
4562         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4563         LFUN_DELETE_SKIP on a selection selection
4564
4565 2003-06-16  André Pönitz  <poenitz@gmx.net>
4566
4567         * BufferView.C:
4568         * buffer.C:
4569         * buffer.h:
4570         * paragraph.C:
4571         * tabular.[Ch]: IU of clone() and getLabelList();
4572
4573 2003-06-13  André Pönitz  <poenitz@gmx.net>
4574
4575         * tabular.h: compactification
4576
4577 2003-06-12  André Pönitz  <poenitz@gmx.net>
4578
4579         * tabular.C:
4580         * tabular.h:
4581         * tabular_funcs.h: some renaming plus whitespace
4582
4583 2003-06-12  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView.C:
4586         * BufferView_pimpl.C:
4587         * CutAndPaste.C:
4588         * buffer.C:
4589         * iterators.[Ch]:
4590         * lyxfunc.C:
4591         * text.C:
4592         * toc.C: Return a Paragraph & for ParIterator::operator*()
4593
4594 2003-06-11  John Levon  <levon@movementarian.org>
4595
4596         * lyx_main.C:
4597         * ToolbarBackend.h:
4598         * ToolbarBackend.C: add "Toolbars" section and
4599         put the flags there
4600
4601 2003-06-10  Angus Leeming  <leeming@lyx.org>
4602
4603         * lfuns.h:
4604         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4605
4606         * lyxfunc.C (dispatch): invoke it.
4607
4608 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * main.C: protect <ios> with HAVE_IOS
4611         (main): protect sync_with_stdio with HAVE_IOS
4612
4613 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4614
4615         * text2.C (cutSelection): adjust
4616         (pasteSelection): adjust
4617
4618         * messages.C: handle get of empty string
4619
4620         * main.C (main): use sync_with_stdio(false)
4621
4622         * lyxfunc.C (dispatch): adjust
4623
4624         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4625         (WriteAs): remove unneeded BufferView arg.
4626
4627         * bufferparams.h: use correct types on papersize, papersize2 and
4628         paperpackage.
4629
4630         * bufferparams.C (readToken): adjust for type
4631         (writeLaTeX): add missing cases to switch.
4632
4633         * bufferlist.C (quitWriteBuffer): adjust
4634         (close): adjust
4635
4636         * buffer.C (asciiParagraph): remove some commented code.
4637
4638         * CutAndPaste.C: remove current_view extern variable.
4639         (cutSelection): add BufferParams arg.
4640         (eraseSelection): add BufferParams arg.
4641         (pasteSelection): add Buffer const & arg
4642
4643 2003-06-07  John Levon  <levon@movementarian.org>
4644
4645         * buffer.C:
4646         * paragraph_funcs.C:
4647         * paragraph_pimpl.C:
4648         * text.C:
4649         * text2.C:
4650         * paragraph.h:
4651         * paragraph.C: allow InsetERT to freely space lines,
4652         and some consolidation of code
4653
4654 2003-06-06  José Matos  <jamatos@fep.up.pt>
4655
4656         * buffer.C (makeDocBookFile): fix bug #821
4657
4658 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4659
4660         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4661
4662 2003-06-04  Angus Leeming  <leeming@lyx.org>
4663
4664         * buffer.C: bump format to 224.
4665
4666 2003-06-05  André Pönitz  <poenitz@gmx.net>
4667
4668         * text2.C (redoParagraphs): remove two const_cast<>
4669
4670 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4671
4672         * ParagraphList.h: remove last remnants of NO_STD_LIST
4673
4674 2003-06-03  Angus Leeming  <leeming@lyx.org>
4675
4676         * factory.C (createInset): small change to the way InsetExternal's params
4677         are set.
4678
4679 2003-06-04  André Pönitz  <poenitz@gmx.net>
4680
4681         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4682
4683         * paragraph_pimpl.h:
4684         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4685
4686         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4687
4688         * undo_funcs.C: make some simple cases of undo work again
4689
4690 2003-06-03  John Levon  <levon@movementarian.org>
4691
4692         * ispell.C: HPUX doesn't have sys/select.h
4693         (from Albert Chin)
4694
4695 2003-06-03  John Levon  <levon@movementarian.org>
4696
4697         * CutAndPaste.C: update tabular and include inset
4698         buffer references
4699
4700         * buffer.h:
4701         * paragraph.h:
4702         * paragraph.C: remove owningBuffer(), don't pass Buffer
4703         to clone()
4704
4705         * factory.C: insetGraphicsParams changed
4706
4707 2003-06-02  John Levon  <levon@movementarian.org>
4708
4709         * LyXAction.C:
4710         * factory.C:
4711         * lfuns.h:
4712         * lyxfunc.C:
4713         * text3.C: remove insetparent
4714
4715 2003-06-02  John Levon  <levon@movementarian.org>
4716
4717         * buffer.h:
4718         * buffer.C: fix inset_iterator.end(), move out of line
4719         (bug 1149)
4720
4721 2003-06-01  John Levon  <levon@movementarian.org>
4722
4723         * text3.C: use a proper cut/paste when doing inset
4724         insert (from Jürgen Spitzmüller)
4725
4726 2003-06-01  John Levon  <levon@movementarian.org>
4727
4728         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4729
4730 2003-05-30  André Pönitz  <poenitz@gmx.net>
4731
4732         * rowpainter.C: unify second drawing phase
4733
4734 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * trans_mgr.C: remove one case of current_view
4737
4738         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4739
4740         * paragraph_funcs.h: remove paragraph.h include
4741
4742         * paragraph.h: delete NO_STD_LIST stuff
4743
4744         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4745
4746         * buffer.h: remove paragraph.h include
4747
4748         * ParagraphList.C: delete file
4749
4750         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4751
4752         * toc.C (getTocList): adjust
4753
4754         * paragraph_pimpl.C (validate): adjust
4755
4756         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4757
4758         * paragraph.C (Paragraph): adjust
4759         (getPositionOfInset): use const_iterator, adjust
4760         (bibitem): use const_iterator, adjust
4761         (setInsetOwner): adjust
4762
4763         * iterators.C (operator++): adjust
4764
4765         * InsetList.[Ch]: Replace selfmade iterator with standard
4766         vector::iterator also introduce const_iterator. Remove getPos,
4767         getInset and setInset from InsetTable. Adjust accordingly.
4768
4769         * BufferView.C (lockInset): adjust
4770         (ChangeInsets): adjust
4771
4772         * tabular.[Ch]: delete commented same_id functions
4773
4774 2003-05-28  John Levon  <levon@movementarian.org>
4775
4776         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4777
4778 2003-05-28  André Pönitz  <poenitz@gmx.net>
4779
4780         * metricsinfo.[Ch]: remove 'fullredraw' member
4781
4782 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4783
4784         * lyxtextclass.C (operator): remove caching.
4785
4786 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * text3.C: adjust
4789
4790         * text2.C (cursorBottom): adjust
4791         (setCounter): use ParagraphList::find, adjust
4792
4793         * text.C (workWidth): use ParagraphList::find, adjust
4794
4795         * lyxcursor.C (LyXCursor): adjust
4796
4797         * buffer.C (inset_iterator): adjust
4798
4799         * ParagraphList.h: make iterator(value_type) private, make
4800         ParagraphList a friend of iterator.
4801
4802         * ParagraphList.C (find): new function
4803
4804         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4805
4806 2003-05-27  André Pönitz  <poenitz@gmx.net>
4807
4808         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4809
4810 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4811
4812         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4813
4814 2003-05-26  John Levon  <levon@movementarian.org>
4815
4816         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4817
4818 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * remove same_id from function signatures, adjust.
4821
4822 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4825
4826         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4827
4828         * paragraph.C (Paragraph): get rid of same_ids parameter
4829
4830         * ParagraphList.C (insert): adjust
4831         (push_back): adjust
4832
4833 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * paragraph_funcs.C (breakParagraph): adjust
4836         (breakParagraphConservative): adjust
4837
4838         * buffer.C (readParagraph): adjust
4839
4840         * ParagraphList.C (insert): take a reference instead of a pointer
4841         (insert): adjust
4842
4843         * paragraph.[Ch] (id): new function
4844
4845         * bufferlist.C (newFile): adjust
4846
4847         * ParagraphList.C (ParagraphList): adjust
4848         (assign): adjust
4849         (push_back): take a reference instead of a pointer.
4850
4851         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4852
4853         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4854         instead.
4855
4856         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4857         set else use old code.
4858
4859         * ParagraphList.C: remove all NO_NEXT code and only compile this
4860         code of NO_STD_LIST is set.
4861
4862 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * BufferView_pimpl.C:
4865         * TextCache.C:
4866         * TextCache.h:
4867         * bufferlist.C:
4868         * errorlist.h:
4869         * format.C:
4870         * format.h:
4871         * graph.C:
4872         * lyxfunc.C:
4873         * lyxrc.C:
4874         * graphics/GraphicsConverter.C:
4875         * graphics/PreviewLoader.C: header adjustment
4876
4877 2003-05-23  Angus Leeming  <leeming@lyx.org>
4878
4879         * LaTeXFeatures.[Ch] (useBabel): new method.
4880         * bufferparams.C (writeLaTeX): use it.
4881
4882 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * ParagraphList.h (set): remove unused function.
4885
4886 2003-05-23  André Pönitz  <poenitz@gmx.net>
4887
4888         * BufferView.C:
4889         * BufferView_pimpl.C:
4890         * buffer.C:
4891         * buffer.h:
4892         * lyxfunc.C:
4893         * undo_funcs.C: setUndo reworked
4894
4895         * iterators.[Ch]: add access to topmost ParagraphList
4896
4897         * lyxtext.[Ch] (workWidth): add a const
4898
4899 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * texrow.[Ch] (increasePos): remove function
4902         * exporter.C (export): removed unused var and outdated comment
4903
4904 2003-05-23  Angus Leeming  <leeming@lyx.org>
4905
4906         * latexrunparams.h: rename fragile as moving_arg.
4907         * paragraph.C (simpleTeXOnePar): ditto.
4908         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4909
4910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4913         (createUndo): ditto
4914         (textUndoOrRedo): comment out a currently unused var.
4915
4916         * paragraph.h (NO_NEXT): enable NO_NEXT
4917
4918         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4919
4920         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4921
4922         * exporter.C (Export): adjust for removeAutoInsets removal.
4923
4924         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4925
4926         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4927
4928         * BufferView.[Ch] (removeAutoInsets): delete function
4929
4930 2003-05-22  Angus Leeming  <leeming@lyx.org>
4931
4932         * latexrunparams.h: add a free_spacing variable.
4933
4934         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4935         to pass moving_arg, as the data is stored in runparams.fragile.
4936
4937         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4938         to Inset::latexOptional or to simpleTeXOnePar.
4939
4940         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4941         free_spacing arg to Inset::latexOptional.
4942
4943         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4944         free_spacing arg.
4945
4946 2003-05-22  Angus Leeming  <leeming@lyx.org>
4947
4948         * latexrunparams.h: add fragile and use_babel variables.
4949
4950         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4951         * buffer.C (makeLaTeXFile): store this returned value in
4952         runparams.use_babel, thus passing it to the inset::latex methods.
4953
4954         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4955         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4956
4957         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4958         longer has a fragile arg, as it is stored in runparams.fragile.
4959
4960         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4961         moving_arg parameter as the data is stored in runparams.fragile.
4962
4963         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4964         a fragile parameter as the data is stored in runparams.fragile.
4965
4966 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4969
4970 2003-05-22  Angus Leeming  <leeming@lyx.org>
4971
4972         * latexrunparams.h: add a 'bool nice' which defaults to false.
4973
4974         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4975         now encapsulated within runparams.
4976
4977         * bufferlist.C (updateIncludedTeXfiles):
4978         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4979
4980 2003-05-22  Angus Leeming  <leeming@lyx.org>
4981
4982         * latexrunparams.h: new file containing struct LatexRunParams.
4983         * Makefile.am: add new file.
4984
4985         * LaTeX.[Ch] (c-tor, run):
4986         * buffer.[Ch] (makeLaTeXFile):
4987         * bufferlist.[Ch] (updateIncludedTeXfiles):
4988         * converter.C (convert, scanLog):
4989         * converter.[Ch] (runLaTeX):
4990         * exporter.C (Export):
4991         * paragraph.[Ch] (simpleTeXOnePar):
4992         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4993         * paragraph_funcs.[Ch] (latexParagraphs):
4994         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4995         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4996         pass around a LatexRunParams parameter.
4997
4998 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * paragraph.[Ch]: remove unused constructor
5001
5002         * ParagraphList.C (erase): new function, taking two iterators
5003
5004 2003-05-22  André Pönitz  <poenitz@gmx.net>
5005
5006         * undo_funcs.C: remove duplicated code
5007
5008         * iterator.[Ch]: operator=
5009
5010 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * tabular.C (SetMultiColumn): ws changes
5013
5014         * rowpainter.C (paintFirst): get rid of a ->previous
5015
5016         * lyx_cb.C (getPossibleLabel): parlist simplification
5017
5018         * BufferView.C (ChangeInsets): simplify slightly.
5019
5020 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5021
5022         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5023         * lfuns.h: new LFUN_SPACE
5024         * lyxfunc.C: protected space has a new lfun
5025         * paragraph_funcs.C: read new space insets
5026         * text3.C:
5027         * factory.C: handle new space insets
5028
5029 2003-05-22  André Pönitz  <poenitz@gmx.net>
5030
5031         * BufferView.C:
5032         * BufferView_pimpl.C:
5033         * buffer.[Ch]:
5034         * lyxfunc.C:
5035         * undo_funcs.C: return a ParIterator from getParFromID.
5036
5037         * iterators.[Ch]: add two const's
5038
5039 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * toc.C (getTocList): adjust
5042
5043         * iterators.[Ch]: rework for parlist
5044
5045         * buffer.C (par_iterator_begin): adjust
5046         (par_iterator_end): adjust
5047
5048         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5049
5050         * BufferView.C (removeAutoInsets): adjust
5051         (ChangeInsets): adjust
5052
5053 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * text.C (top_y): fix bug 1110
5056
5057 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * errorlist.[Ch]: added
5060         * buffer.C:
5061         * BufferView.[Ch]:
5062         * BufferView_pimpl.C:
5063         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5064         instead
5065
5066 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * Makefile.am: ensure that lyx is relinked upon changes to the
5069         various "convenience" libs.
5070
5071 2003-05-20  Angus Leeming  <leeming@lyx.org>
5072
5073         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5074         files are compiled in alphabetical order again.
5075
5076         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5077
5078 2003-05-19  Angus Leeming  <leeming@lyx.org>
5079
5080         * gettext.[Ch]: remove "char const * _(char const *)".
5081
5082 2003-05-19  André Pönitz  <poenitz@gmx.net>
5083
5084         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5085
5086         * Makefile.am:
5087         * BufferView.C:
5088         * DepTable.h:
5089         * LaTeXFeatures.C:
5090         * buffer.C:
5091         * lyxfont.C:
5092         * lyxlex.h:
5093         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5094
5095 2003-05-19  André Pönitz  <poenitz@gmx.net>
5096
5097         * buffer.C:
5098         * lyxlayout.[Ch]:
5099         * lyxtextclass.[Ch]:
5100         * paragraph.C:
5101         * paragraph_funcs.[Ch]:
5102         * text2.C:
5103         * text3.C: more insetenv work
5104
5105 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * ParagraphParameters.C (params2string): small bug fixed
5108
5109 2003-05-16  André Pönitz  <poenitz@gmx.net>
5110
5111         * debug.C:
5112         * bufferview_funcs.C: patch from Kornel Benko to prevent
5113           crash when _(...) is called twice in a statement
5114
5115 2003-05-16  André Pönitz  <poenitz@gmx.net>
5116
5117         * BufferView.C:
5118         * lyxfunc.C:
5119         * text.C:
5120         * text2.C:
5121         * text3.C:
5122         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5123
5124 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * lyx_main.C (init): remove spurious static_cast
5127
5128 2003-05-14  André Pönitz  <poenitz@gmx.net>
5129
5130         * BufferView.C: fix format string
5131
5132 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * BufferView.[Ch] (insertErrors): removed
5135         * BufferView.[Ch] (showErrorList): added
5136         * buffer.C (runChkTeX):
5137         * converter.C (scanLog): call showErrorList instead of inserterrors
5138
5139 2003-05-13  André Pönitz  <poenitz@gmx.net>
5140
5141         * BufferView_pimpl.C:
5142         * buffer.C:
5143         * bufferview_func.C:
5144         * MenuBackend.C:
5145         * lyxfunc.C:
5146         * lyxrc.C:
5147         * tex-accent.C:
5148         * text3.C:
5149         * toc.C:
5150         * tabular_funcs.h: tostr() from its own header
5151
5152         * ParagraphParameters.C:
5153         * ToolbarBackend.C:
5154         * bufferparams.C:
5155         * format.C:
5156         * lyxlex_pimpl.C:
5157         * text3.C: STRCONV()
5158
5159 2003-05-12  André Pönitz  <poenitz@gmx.net>
5160
5161         * BufferView.C:
5162         * BufferView_pimpl.C:
5163         * CutAndPaste.C:
5164         * LaTeX.C:
5165         * LaTeXFeatures.C:
5166         * ParagraphParameters.C:
5167         * buffer.C:
5168         * bufferlist.C:
5169         * bufferparams.C:
5170         * bufferview_funcs.C:
5171         * converter.C:
5172         * counters.C:
5173         * debug.C:
5174         * exporter.C:
5175         * format.C:
5176         * importer.C:
5177         * lyx_cb.C:
5178         * lyx_main.C:
5179         * lyxfont.C:
5180         * lyxfunc.C:
5181         * lyxvc.C:
5182         * paragraph.C:
5183         * paragraph_funcs.C:
5184         * tabular.C:
5185         * tabular_funcs.C:
5186         * text2.C:
5187         * text3.C:  boost::format -> bformat  all over the place
5188
5189
5190 2003-05-09  André Pönitz  <poenitz@gmx.net>
5191
5192         * LColor.[Ch]: Pimpl the #include <map> away
5193
5194 2003-05-09  John Levon  <levon@movementarian.org>
5195
5196         * bufferlist.C: never remove emergency saves
5197
5198 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * Makefile.am: better lib building
5201
5202 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5205         instead.
5206         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5207         (simpleTeXSpecialChars): adjust
5208         (simpleTeXSpecialChars): adjust
5209         * paragraph.C (simpleTeXOnePar): adjust
5210         * buffer.C (makeLaTeXFile): adjust
5211
5212         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5213
5214         * text2.C (changeDepth): parlist cleanup
5215         (getColumnNearX): ditto
5216
5217         * rowpainter.C (getLabelFont): parlist cleanup
5218
5219         * bufferlist.C (newFile): parlist cleanup
5220
5221         * CutAndPaste.C (eraseSelection): parlist cleanup
5222
5223         * BufferView_pimpl.C (trackChanges): parlist cleanup
5224         (dispatch): ditto
5225
5226         * BufferView.C (lockInset): parlist cleanup.
5227         (ChangeInsets): ditto
5228
5229 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * CutAndPaste.h: Update file header.
5232
5233         * CutAndPaste.C: Update file header.
5234         Store the parts cut out of the Document in a limited_stack.
5235         (copySelection): adjust
5236         (pasteSelection): new function, takes the index in the limited stack.
5237         (nrOfParagraphs): adjust
5238         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5239         simplify error inset insertion.
5240         (checkPastePossible): adjust
5241
5242 2003-05-06  John Levon  <levon@movementarian.org>
5243
5244         * text2.C: don't cast wrap inset to float
5245
5246 2003-05-05  André Pönitz  <poenitz@gmx.net>
5247
5248         * iterator.C:
5249         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5250
5251         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5252           few naked Paragraph *.
5253
5254 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5255
5256         * bufferparams.C: Output warning if a document with missing
5257         TeX document class is loaded
5258         * exporter.C: Disable TeX exports if the document class is missing
5259         * lyxtextclass.C:
5260         * lyxtextclass.h:
5261         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5262         isTeXClassAvailable()
5263
5264 2003-05-03  John Levon  <levon@movementarian.org>
5265
5266         * BufferView.h:
5267         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5268         explicit cursor show/hide
5269
5270         * BufferView_pimpl.h:
5271         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5272         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5273
5274         * lyxfunc.C: hide cursor before dispatching.
5275
5276         * lyx_cb.C:
5277         * lyxfind.C:
5278         * text.C:
5279         * text3.C: remove explicit cursor hides
5280
5281 2003-05-02  André Pönitz  <poenitz@gmx.net>
5282
5283         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5284
5285         * undo_funcs.C:
5286         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5287           linked lists
5288
5289         * text2.C: tiny whitespace
5290
5291 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * undo_funcs.C: almost only ws changes.
5294
5295         * ParagraphList.C (splice): just return if pl is empty.
5296
5297 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * ParagraphList.C (splice): new function.
5300
5301         * CutAndPaste.C (pasteSelection): use it
5302
5303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * CutAndPaste.C (pasteSelection): remove the last next and
5306         previous from this file.
5307
5308 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * CutAndPaste.C (pasteSelection): more clean up, user proper
5311         ParagraphList functions for pasteing.
5312
5313         * ParagraphList.C (insert): new function, three arg insert
5314
5315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * ParagraphList.C (insert): new function, three arg insert
5318
5319         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5320         not on paragraphs.
5321
5322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5325
5326 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5329
5330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5333         (copySelection): clean up a bit.
5334         (pasteSelection): use make_pair
5335
5336         * ParagraphList.C (ParagraphList): implement copy constructor
5337         (operator=): implement, base on copy constructor.
5338         (assign): new func
5339
5340         * paragraph.C (erase): return a bool
5341
5342         * paragraph_pimpl.C (erasePos): remove function, move contents...
5343         (erase): ... here. Return a bool.
5344         (erase): call erase instead of erasePos.
5345
5346 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * ParagraphList.h: define PitPosPair
5349         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5350         ParagraphList, fix a bug on pasting multiple pars
5351         * text2.C: change interface to C&P
5352
5353 2003-04-30  André Pönitz  <poenitz@gmx.net>
5354
5355         * undo_func.C: revert part of yesterday's patch 2
5356
5357 2003-04-30  John Levon  <levon@movementarian.org>
5358
5359         * LColor.C: s/tabular/table/
5360
5361 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * text3.C (dispatch): do not convert iterator -> pointer
5364         * undo_funcs.C (setCursorParUndo): ditto
5365         * text_funcs.C (transposeChars): ditto
5366
5367         * text2.C (setLayout): ws changes only
5368
5369         * text.C (breakParagraph): do not convert iterator -> pointer
5370         (insertChar): ditto
5371         (acceptChange): ditto
5372         (rejectChange): ditto
5373         (changeCase): ditto
5374         (Delete): ditto
5375         (backspace): ditto
5376
5377         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5378         pointer
5379
5380 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5381
5382         * text3.C (gotoInset): YABG (yet another bad getChar)
5383
5384 2003-04-29  André Pönitz  <poenitz@gmx.net>
5385
5386         * paragraph.h: make operator= private unimplemented as long as
5387           it is unusable
5388
5389         * ParagraphList.C: whitespace
5390
5391         * paragraph.[Ch]:
5392         * paragraph_pimpl.[Ch]:
5393         * paragraph_funcs.C:
5394         * CutAndPaste.C:
5395         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5396
5397         * text2.C:
5398           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5399
5400 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5401
5402         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5403         * paragraph.[Ch] (erase):
5404         * paragraph_pimpl.[Ch] (erase): change return type and value
5405         * text2.C (cutSelection): some rework
5406
5407 2003-04-28  John Levon  <levon@movementarian.org>
5408
5409         * bufferlist.C: changes for unsaved changes dialog
5410
5411 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * bufferlist.C (newFile): set language (messages_) for new
5414         documents also.
5415
5416         * buffer.C (readFile): ws changes only.
5417
5418 2003-04-28  André Pönitz  <poenitz@gmx.net>
5419
5420         * undo_funcs.C:
5421         * lyxfunc.C:
5422         * buffer.[Ch]:
5423         * BufferView_pimpl.C:
5424         * BufferView.C: getParFromID related ParagraphList::iterator changes
5425
5426 2003-04-28  André Pönitz  <poenitz@gmx.net>
5427
5428         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5429           Changes
5430
5431 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * messages.C: remove one more localedir class variable.
5434
5435 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * messages.C (getLocaleDir): singleton generation function
5438         (Pimpl): use it.
5439         (Messages): add a default constructor.
5440
5441         * main.C (main): do not setup localedir here, do not call
5442         gettext_init.
5443
5444         * gettext.C (_): use it.
5445         (gettext_init): delete funciton
5446
5447 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * gettext.C (getLyXMessages): new singleton generating function.
5450
5451         * buffer.C (updateDocLang): adjust
5452
5453         * Makefile.am (messages.o): add target
5454         (main.o): remove target
5455
5456 2003-04-27  John Levon  <levon@movementarian.org>
5457
5458         * bufferlist.C:
5459         * lyx_cb.C:
5460         * lyxfunc.C:
5461         * lyxvc.C: specify cancel button in Alert::prompt
5462
5463 2003-04-26  John Levon  <levon@movementarian.org>
5464
5465         * text3.C:
5466         * lyxfunc.C:
5467         * lfuns.h:
5468         * LyXAction.C: add LFUN_INSET_SETTINGS
5469
5470         * lyxfunc.C: don't enable tabular-feature when there's
5471         just any locking inset
5472
5473 2003-04-26  John Levon  <levon@movementarian.org>
5474
5475         * bufferlist.C: re-add Cancel to buffer close question
5476
5477         * lyxfunc.C: fix import UI a bit
5478
5479 2003-04-25  John Levon  <levon@movementarian.org>
5480
5481         * gettext.C: remove the broken asserts for now
5482
5483 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * messages.C: make case where setlocale cannot comply work better.
5486
5487         * buffer.C (updateDocLang): new function
5488         (changeLanguage): use it
5489         (readFile): use it
5490
5491         * text2.C (setCounter): use B_ a bit.
5492
5493         * lyxlayout.C (Read): be sure to trim the label strings.
5494
5495         * messages.C (Messages): fix typo in comment
5496
5497         * buffer.C (readFile): set message_ after file is loaded.
5498         (makeDocBookFile): remove double return
5499         (changeLanguage): reset message_ upon language change.
5500         (B_): new func, use this to get translated buffer strings.
5501
5502         * main.C: add myself and Jean Marc as authors.
5503
5504 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * messages.[hC]: pimplify Messages, and three different pimpls to be
5507         used in different circumstances.
5508
5509         * gettext.[Ch]: change for use with new message code.
5510
5511 2003-04-24 André Pönitz <poenitz@gmx.net>
5512
5513         * factory.C: support for eqref
5514
5515 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * messages.[Ch]: add missing char
5518
5519         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5520
5521         * messages.[Ch]: New files
5522
5523 2003-04-18  John Levon  <levon@movementarian.org>
5524
5525         * BufferView.h:
5526         * BufferView.C:
5527         * BufferView_pimpl.C:
5528         * lfuns.h:
5529         * LyXAction.C:
5530         * lyxtext.h:
5531         * text2.C: remove layout-copy/paste (bug 778)
5532
5533 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5534
5535         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5536
5537 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5538
5539         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5540         if they succeed. Act accordingly.
5541
5542 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * text2.C (setCharFont): adjust
5545         (setCounter): adjust
5546         (insertStringAsLines): adjust
5547
5548         * text.C (leftMargin): adjust
5549         (setHeightOfRow): adjust
5550
5551         * rowpainter.C (paintFirst): adjust
5552         (paintLast): adjust
5553
5554         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5555         (outerHook): ditto
5556         (isFirstInSequence): ditto
5557         (getEndLabel): ditto
5558         (outerFont): adjust
5559
5560         * paragraph.C (getParLanguage): comment out some hard stuff.
5561
5562         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5563         (sgmlError): ditto
5564         (simpleDocBookOnePar): ditto
5565         (makeDocBookFile): use ParagraphList::iterator
5566
5567         * CutAndPaste.C (pasteSelection): adjust
5568
5569 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * text2.C (getFont): adjust
5572         (getLayoutFont): adjust
5573         (getLabelFont): adjust
5574
5575         * paragraph_funcs.C (TeXOnePar): adjust
5576
5577         * buffer.C (simpleLinuxDocOnePar): adjust
5578         (simpleDocBookOnePar): adjust
5579
5580         * CutAndPaste.C (pasteSelection): adjust
5581
5582         * BufferView.C (getEncoding): adjust
5583
5584         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5585
5586 2003-04-16  John Levon  <levon@movementarian.org>
5587
5588         * lyxfind.C: use parlist stuff for search/changes
5589
5590 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5593
5594         * text2.C (deleteEmptyParagraphMechanism): adjust
5595
5596         * text2.[Ch] (ownerParagraph): delete func (both of them
5597
5598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5601
5602 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * ParagraphList.C: prepare for NO_NEXT
5605
5606 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * text2.C (getFont): adjust
5609         (getLayoutFont): adjust
5610         (getLabelFont): adjust
5611
5612         * paragraph.C (getFont): adjust
5613         (getLabelFont): adjust
5614         (getLayoutFont): adjust
5615
5616         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5617
5618 2003-04-15  John Levon  <levon@movementarian.org>
5619
5620         From Angus Leeming
5621
5622         * lyx_main.C: handle Include in .ui files
5623
5624 2003-04-15  John Levon  <levon@movementarian.org>
5625
5626         * MenuBackend.C: make the doc files length shorter
5627
5628         * ToolbarBackend.h:
5629         * ToolbarBackend.C: handle toolbar placement flags,
5630         Minibuffer
5631
5632 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5635         adjust
5636
5637         * paragraph_funcs.C (TeXOnePar): adjust
5638
5639         * paragraph.C (getLabelFont): add outerfont arg, adjust
5640         (getLayoutFont): ditto
5641         (simpleTeXOnePar): adjust
5642
5643         * paragraph_pimpl.C (realizeFont): delete func
5644
5645 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5648         row argument, constify cur argument.
5649
5650 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * text2.C (getFont): adjust
5653         (getLayoutFont): adjust
5654         (getLabelFont): adjust
5655
5656         * paragraph_funcs.C (TeXOnePar): adjust
5657         (outerFont): new func...
5658         (realizeFont): ...moved out from here, changed this to facilitate
5659         transition
5660
5661         * paragraph.C (getFont): take outerfont as arg, adjust
5662         (simpleTeXOnePar): add outerfont arg, adjust
5663
5664         * buffer.C (simpleLinuxDocOnePar): adjust
5665         (simpleDocBookOnePar): adjust
5666
5667         * CutAndPaste.C (pasteSelection): adjust
5668
5669         * BufferView.C (getEncoding): adjust
5670
5671 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * text2.C (setCharFont): adjust
5674         (setCounter): adjust
5675
5676         * text.C (leftMargin): adjust
5677         (setHeightOfRow): adjust
5678
5679         * rowpainter.C (paintFirst): adjust
5680         (paintLast): adjust
5681
5682         * paragraph_pimpl.C (realizeFont): adjust
5683
5684         * paragraph.C (isFirstInSequence): move from here...
5685         * paragraph_funcs.C (isFirstInSequence): ...to here
5686
5687         * paragraph.C (outerHook): move from here...
5688         * paragraph_funcs.C (outerHook): ...to here
5689
5690         * paragraph.C (depthHook): move from here...
5691         * paragraph_funcs.C (depthHook): ...to here
5692
5693         * paragraph.C (getEndLabel): move from here...
5694         * paragraph_funcs.C (getEndLabel): ...to here
5695
5696         * text2.C (realizeFont): move from here...
5697         * paragraph_funcs.C (realizeFont): ...to here
5698
5699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5702
5703 2003-04-14  Angus Leeming  <leeming@lyx.org>
5704
5705         * LColor.[Ch]: scrap LColor mathcursor.
5706
5707 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * lyxlex.[Ch] (text): delete function
5710         * trans.C (Load): adjust
5711         * paragraph_funcs.C (readParToken): adjust
5712
5713 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5716         vector<char> instead of a char[].
5717
5718         * lyxlex_pimpl.C (getString): adjust
5719         (next): adjust
5720         (lex): use getString
5721         (eatLine): adjust
5722         (nextToken): adjust
5723
5724         * lyxlex.C (text): use pimpl_->getString()
5725         (getBool): ditto
5726         (findToken): ditto
5727
5728 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5731         (makeFontEntriesLayoutSpecific): temp var for par.size()
5732         (setLayout): temp var for ownerParagraphs().end()
5733         (fullRebreak): temp var for rows().end()
5734         (selectionAsString): temp var for boost::next(startpit), realize
5735         that the while really is a regular for loop.
5736         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5737         setCursor in one place.
5738         (setParagraph): temp vr for ownerParagraphs().end()
5739         (updateCounters): make the while loop a for loop
5740         (cutSelection): temp var for ownerParagraphs().end()
5741         (updateInset): make the do {} while() a regular for loop
5742         (getCursorX): use temp vars
5743         (setCurrentFont): use temp vars
5744         (getColumnNearX): use temp vars
5745
5746 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * text.C (transformChar): use temp var for getChar
5749         (computeBidiTables): use temp var for row->par()
5750         (fill): move temp vars for row->par() and pit->layout() earlier in
5751         the function.
5752         (labelFill): use temp var for row->par()
5753         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5754         asc and desc, realize that pit never changes and that firstpit is
5755         just a duplicate and not needed. Exchange rit->par() with pit in a
5756         lot of places.
5757         (breakAgain): use a temp var for boost::next(rit)
5758         (breakAgainOneRow): ditto
5759         (breakParagraph): use a temp var for rows().begin()
5760         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5761         (cursorRightOneWord): use temp var for cursor.par() and
5762         cursor.pos(), remove usage of tmpcursor.
5763         (cursorLeftOneWord): use temp var for cursor.par() and
5764         cursor.pos() only set cur at end of function.
5765
5766 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * text.C, text2.C: exchange all usage of Paragraph::next with
5769         boost::next(ParagraphList::iterator)
5770
5771         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5772
5773         * text2.C (cursorTop): simplify implementation
5774         (cursorBottom): ditto
5775         (setParagraph): use ParagraphList::iterator
5776         (setCurrentFont): adjust
5777         (getColumnNearX): adjust
5778         (cursorRight): adjust
5779         (cursorLeft): remove usage of Paragraph::previous
5780         (cursorUpParagraph): ditto
5781         (deleteEmptyParagraphMechanism): slight cleanup
5782
5783         * text.C (isBoundary): take a Paragraph const & instead of a
5784         pointer as arg.
5785         (addressBreakPoint): ditto
5786         (leftMargin): remove usage of Paragraph::previous.
5787         (setHeightOfRow): ditto
5788         (cursorLeftOneWord): ditto
5789         (selectNextWordToSpellcheck): ditto
5790         (Delete): ditto
5791         (backspace): ditto
5792         (breakParagraph): remove one usage of Paragraph::next
5793         (redoParagraph): ditto
5794         (acceptChange): ditto
5795         (insertChar): adjust
5796         (rowBreakPoint): adjust
5797
5798         * bufferview_funcs.C (toggleAndShow): adjust
5799
5800 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5803         methods to access it.
5804         * lyxtext.h:
5805         * text.C: Added updateRowPositions to compute all row positions.
5806         Make top_y and getRowNearY() to use the cached y position
5807
5808 2003-04-11  John Levon  <levon@movementarian.org>
5809
5810         * text.C (rowBreakPoint): reintroduce the labelEnd
5811         checks, code copied from the row fill stuff. Deep voodoo.
5812
5813         * text.C (fill): add a comment and debugging for the
5814         next poor soul.
5815
5816 2003-04-11  John Levon  <levon@movementarian.org>
5817
5818         * text.C: make sure fullrow insets get wrapped to the next line,
5819         even when they're in a manual label
5820
5821 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * text2.C (insertParagraph): make it take ParagraphList::iterator
5824         as arg.
5825         (setLayout): make it return ParagraphList::iterator
5826         (redoParagraphs): ditto
5827         (setCounter): ditto
5828         (checkParagraph): ditto
5829
5830         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5831
5832         * text2.C: adjust several funcs.
5833         (realizeFont): take a ParagraphList::iterator as arg.
5834         (getLayoutFont): ditto
5835         (getLabelFont): ditto
5836         (setCharFont): ditto
5837
5838         * text.C: adjust several funcs.
5839
5840 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * text.C (selectNextWordToSpellcheck): don't accidentally
5843         skip insets
5844
5845 2003-04-10  John Levon  <levon@movementarian.org>
5846
5847         * ToolbarBackend.C (getIcon): special handling for
5848         LFUN_MATH_DELIM
5849
5850 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * text2.C (cursorRight): a getChar assert fixed
5853
5854 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * text2.C (getFont): change to take a ParagraphList::iterator
5857         instead of Paragraph*
5858         Adjust several functions.
5859
5860         * text.C (transformChar): change to take a ParagraphList::iterator
5861         instead of Paragraph*
5862         (singleWidth): ditto
5863         Adjust several functions.
5864
5865         * rowpainter.C: adjust several functions
5866         * rowpainter.h:store a ParagraphList::iterator and not a
5867         Paragraph&.
5868
5869
5870 2003-04-09  John Levon  <levon@movementarian.org>
5871
5872         * lyxfunc.C:
5873         * lfuns.h:
5874         * LyXAction.h:
5875         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5876         and the "help" bits as well
5877
5878 2003-04-09  John Levon  <levon@movementarian.org>
5879
5880         * ToolbarBackend.h:
5881         * ToolbarBackend.C: allow multiple toolbars
5882
5883 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * undo_funcs.C (setCursorParUndo): adjust
5886
5887         * text_funcs.C (transposeChars): adjust
5888
5889         * text3.C (gotoNextInset): adjust
5890         (dispatch): adjust
5891
5892         * text2.C (setLayout): adjust
5893         (changeDepth): adjust
5894         (setFont): adjust
5895         (redoParagraphs): adjust
5896         (selectionAsString): adjust
5897         (setParagraph): adjust
5898         (insertInset): adjust
5899         (cutSelection): adjust
5900         (copySelection): adjust
5901         (pasteSelection): adjust
5902         (insertStringAsLines): adjust
5903         (updateInset): adjust
5904         (setCursor): change to take a ParagraphList::iterator parameter
5905         (setCursorIntern): change to take a ParagraphList::iterator parameter
5906         (setCurrentFont): adjust
5907         (cursorLeft): adjust
5908         (cursorRight): adjust
5909         (deleteEmptyParagraphMechanism): adjust
5910
5911         * text.C (breakParagraph): adjust
5912         (insertChar): adjust
5913         (acceptChange): adjust
5914         (rejectChange): adjust
5915         (selectNextWordToSpellcheck): adjust
5916         (changeCase): adjust
5917         (Delete): adjust
5918         (backspace): adjust
5919
5920         * lyxfind.C (SearchForward): adjust
5921         (SearchBackward): adjust
5922         (nextChange): adjust
5923
5924         * lyxcursor.C (par): adjust
5925
5926         * lyxcursor.h: store a ParagraphList::iterator instead of a
5927         Paragraph*
5928
5929         * lyx_cb.C (getPossibleLabel): adjust
5930
5931         * bufferview_funcs.C (toggleAndShow): adjust
5932
5933         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5934         (dispatch): adjust
5935
5936         * BufferView.C (removeAutoInsets): adjust
5937         (lockedInsetStoreUndo): adjust
5938
5939 2003-04-09  John Levon  <levon@movementarian.org>
5940
5941         * ToolbarBackend.C: try icon without argument
5942         if with argument fails
5943
5944 2003-04-08  John Levon  <levon@movementarian.org>
5945
5946         * ToolbarBackend.h:
5947         * ToolbarBackend.C: add getIcon(), handle tooltip,
5948         and change from "Icon" to "Item".
5949
5950 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * BufferView.C (lockInset): another bad getchar crunched
5953
5954 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5957         again)
5958
5959 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5960
5961         * lyxfind.C (searchForward, searchBackwards): bug 782
5962
5963 2003-04-07  John Levon  <levon@movementarian.org>
5964
5965         * paragraph.C: remove dead comment
5966
5967         * text.C: remove troublesome depth-fiddling code
5968         in leftMargin() and rightMargin() (bug 1017)
5969
5970         * text.C: fix breaking of rows in nested lists
5971         (bug 1004)
5972
5973         * text2.C (updateCounters): fix up depth values
5974         (bug 1013)
5975
5976 2003-04-07  John Levon  <levon@movementarian.org>
5977
5978         * BufferView_pimpl.C: clear message when doc finishes resizing,
5979         and after a mouse event
5980
5981         * lyxfunc.C: clear message after exiting inset
5982
5983 2003-04-07  John Levon  <levon@movementarian.org>
5984
5985         * bufferview_funcs.C: show math status not outside
5986         status in the statusbar
5987
5988 2003-04-07  John Levon  <levon@movementarian.org>
5989
5990         * lyxfunc.C: note status changed after a depth change
5991
5992 2003-04-04  Angus Leeming  <leeming@lyx.org>
5993
5994         * LaTeX.h: move AuxInfo operator==, != out of line.
5995         Remove LaTeX virtual destructor; nothing derives from it.
5996         Move operator()() out of public area and rename it startscript().
5997         Change protected for private.
5998
5999 2003-04-04  Angus Leeming  <leeming@lyx.org>
6000
6001         * lyxfunc.C:
6002         * text2.C: remove unneeded #includes.
6003
6004 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * text2.C (dEPM): fix the heigth of the next row
6007
6008 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * text.C: squashed an invalid getChar requester + some ws changes
6011
6012 2003-04-03  John Levon  <levon@movementarian.org>
6013
6014         * bufferview_funcs.h:
6015         * bufferview_funcs.C:
6016         * lyxfunc.C:
6017         * lyxtext.h:
6018         * text2.C: make getStatus work for the env depth lfuns
6019
6020 2003-04-03  John Levon  <levon@movementarian.org>
6021
6022         * bufferview_funcs.h:
6023         * bufferview_funcs.C:
6024         * lyxfunc.C:
6025         * lyxtext.h:
6026         * text2.C: parlistize decDepth(), by merging it with incDepth()
6027
6028 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * lyxrow.h: store a ParagraphList::iterator instead of a
6031         Paragraph* and adjust other class functions to suit.
6032
6033         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6034         above.
6035
6036 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6037
6038         * text2.C (setCursor): do not anchor to cursor row for the time being
6039
6040 2003-04-02  John Levon  <levon@movementarian.org>
6041
6042         * LyXAction.C:
6043         * lfuns.h:
6044         * lyx_main.C:
6045         * lyxtext.h:
6046         * text.C:
6047         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6048
6049 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * paragraph.h: make ParagraphList and ParagraphList::iterator
6052         friends of Paragraph.
6053
6054         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6055
6056         * ParagraphList.C: Use the private next_ and previous_ from
6057         Paragraph.
6058
6059 2003-04-01  John Levon  <levon@movementarian.org>
6060
6061         * ToolbarBackend.h:
6062         * ToolbarBackend.C:
6063         * Makefile.am: rename, remove defaults gunk
6064
6065         * MenuBackend.h:
6066         * MenuBackend.C: remove defaults gunk
6067
6068         * Languages.h:
6069         * Languages.C: remove defaults gunk
6070
6071         * lyx_main.h:
6072         * lyx_main.C: error out if files couldn't be found.
6073
6074 2003-04-02  John Levon  <levon@movementarian.org>
6075
6076         * text2.C: make incDepth() use parlist
6077
6078 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * undo_funcs.C (firstUndoParagraph): adjust
6081
6082         * text3.C (gotoInset): adjust
6083         (dispatch): adjust, and rewrite loop.
6084
6085         * text2.C (init): adjust, and rewrite loop.
6086         (redoParagraphs): adjust
6087         (updateInset): adjust, and rewrite loop.
6088         (deleteEmptyParagraphMechanism): adjust
6089
6090         * tabular.C (LyXTabular): adjust
6091         (SetMultiColumn): adjust
6092         (TeXRow): adjust
6093
6094         * lyxtext.[Ch] (ownerParagraph): delete function
6095         (ownerParagraphs): new function returns a ParagraphList.
6096
6097         * BufferView.C (removeAutoInsets): adjust
6098         (insertErrors): adjust
6099         (setCursorFromRow): adjust
6100
6101 2003-04-01  Angus Leeming  <leeming@lyx.org>
6102
6103         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6104         in the frontends.
6105
6106 2003-04-02  John Levon  <levon@movementarian.org>
6107
6108         * lyxtext.h:
6109         * text.C:
6110         * Makefile.am:
6111         * text_funcs.h:
6112         * text_funcs.C: make transposeChars a free function
6113
6114         * lyxrow_funcs.C: remove wrong comment
6115
6116 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * lyxtext.h: adjust
6119         * rowpainter.C: adjust
6120         * text.C: adjust
6121         * text2.C: adjust
6122         * text3.C: adjust
6123
6124         * lyxrow_funcs. [Ch]: new files
6125
6126         * lyxrow.[Ch]: remove next and previous pointers
6127         (next,previous): remove accessor functions
6128         (isParEnd): move to lyxrow_funcs
6129         (lastPos): move to lyxrow_funcs
6130         (nextRowIsAllInset): move to lyxrow_funcs
6131         (lastPrintablePos): move to lyxrow_funcs
6132         (numberOfSeparators): move to lyxrow_funcs
6133         (numberOfHfills): move to lyxrow_funcs
6134         (numberOfLabelHfills): move to lyxrow_funcs
6135         (hfillExpansion): move to lyxrow_funcs
6136
6137         * lyxfunc.C: adjust
6138
6139         * bufferview_funcs.C (toggleAndShow): adjust
6140
6141         * RowList.h: Remove class RowList from file leave just a
6142         std::list<Row>.
6143
6144         * RowList.C: delete file
6145
6146         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6147         and lyxrow_funcs.h
6148
6149 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * text3.C (cursorPrevious): adjust
6152         (cursorNext): adjust
6153         (dispatch): adjust
6154
6155         * text2.C (redoHeightOfParagraph): adjust
6156         (redoDrawingOfParagraph): adjust
6157         (setCursor): adjust
6158
6159         * text.C (breakParagraph): adjust
6160         (insertChar): adjust
6161         (backspace): adjust
6162
6163         * rowpainter.C (RowPainter): adjust
6164         (leftMargin): simplify and adjust
6165         (most rowpainter functions): adjust.
6166
6167         * rowpainter.h: store the row as RowList::iterator not as Row*
6168
6169         * lyxcursor.C (row): taka RowList::iterator as arg
6170         (irow): ditto
6171
6172         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6173         of Row*.
6174
6175 2003-04-01  Angus Leeming  <leeming@lyx.org>
6176
6177         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6178         stuff like bool Bool.
6179
6180 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6181
6182         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6183         rewrite a loop
6184
6185 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6188         RowList::iterator.
6189
6190         * lyxtext.h (rows): drop one version and leve a const variant that
6191         returns a RowList::iterator.
6192
6193 2003-03-31  Angus Leeming  <leeming@lyx.org>
6194
6195         * text.C (fill): ensure that the signature is the same as that in the
6196         header file.
6197
6198 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * text2.C (redoParagraphs): adjust
6201         (updateCounters): adjust
6202         (checkParagraph): adjust
6203         (getColumnNearX): adjust and reformat a bit.
6204
6205         * text.C (top_y): adjust
6206         (workWidth): adjust
6207         (leftMargin): adjust
6208         (prepareToPrint): adjust
6209         (getRow): adjust
6210         (getRowNearY): adjust
6211
6212         * lyxtext.h: make rowlist_ mutable.
6213
6214         * RowList.h: add const_iterator
6215         * RowList.C: adjust for RowList::const_iterator.
6216
6217         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6218         adjust.
6219
6220 2003-03-31  John Levon  <levon@movementarian.org>
6221
6222         * lyxrc.h:
6223         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6224
6225         * lyx_main.C: set default fonts from using lyx_gui funcs
6226
6227         * exporter.C: pdf_mode moved from lyxrc
6228
6229         * lyx_cb.C:
6230         * lyxfunc.C: changes from above
6231
6232 2003-03-31  John Levon  <levon@movementarian.org>
6233
6234         * lyx_main.C: fix to the last fix
6235
6236 2003-03-31  John Levon  <levon@movementarian.org>
6237
6238         * bufferlist.C: "Load original" -> "Load Original"
6239
6240         * converter.C:
6241         * exporter.C:
6242         * importer.C:
6243         * lyx_main.C:
6244         * format.C: more Alert cleanups
6245
6246 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * text2.C (removeParagraph): make it take a RowList::iterator as
6249         arg, adjust.
6250         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6251         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6252
6253         * text.C (anchor_row): make it take a RowList::iterator as arg,
6254         adjust.
6255         (computeBidiTables): make it take a const reference to Row instead
6256         of Row pointer, adjust.
6257         (leftMargin): make it take a RowList::iterator as arg, adjust.
6258         (rowBreakPoint): adjust
6259         (breakAgainOneRow): make it take a RowList::iterator as arg,
6260         adjust.
6261         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6262
6263         * bufferview_funcs.C (toggleAndShow): adjust
6264
6265 2003-03-30  John Levon  <levon@movementarian.org>
6266
6267         * Makefile.am:
6268         * BoostFormat.h:
6269         * boost-inst.C: moved to support
6270
6271         * several files: changes as a result
6272
6273 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * text2.C (LyXText): adjust.
6276         (init): adjust
6277         (removeRow): make it take a RowList::iterator as arg, adjust.
6278         (fullRebreak): adjust
6279         (deleteEmptyParagraphMechanism): adjust
6280         (clearPaint): adjust
6281         (postPaint): adjust
6282
6283         * text.C (top_y): adjust
6284         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6285         (breakAgain): make it take a RowList::iterator as arg, adjust.
6286         (breakParagraph): adjust
6287         (insertChar): adjust
6288         (backspace): adjust
6289
6290         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6291         need_break_row, and refresh_row.
6292
6293         * text3.C (dispatch): adjust
6294
6295         * text2.C (checkParagraph): adjust
6296         (setCursor): adjust
6297         (setCursorFromCoordinates): adjust
6298
6299         * text.C (top_y): adjust
6300         (workWidth): adjust
6301         (getRow): make it return a RowList::iterator, adjust
6302         (getRowNearY): make it return a RowList::iterator, adjust
6303
6304         * text2.C (init): adjust
6305         (insertRow): remove function
6306         (insertParagraph): adjust
6307         (redoParagraphs): adjust
6308         (fullRebreak): adjust
6309         (updateCounters): adjust
6310
6311         * text.C (top_y): rewrite to use RowList iterators.
6312         (top_y): adjust
6313         (setHeightOfRow): rewrite to sue RowList iterators.
6314         (appendParagraph): adjust
6315         (breakAgain): adjust
6316         (breakAgainOneRow): adjust
6317         (breakParagraph): adjust
6318         (getRow): adjust
6319         (getRowNearY): adjust, and remove commented code.
6320
6321         * lyxtext.h (firstRow): delete function
6322         (lastRow): delete function
6323         (rows): new function (const and non-const versions.)
6324         (insertRow): delete function
6325
6326         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6327
6328 2003-03-29  John Levon  <levon@movementarian.org>
6329
6330         * BufferView_pimpl.C: always update scrollbar top
6331         because pasting text when we're anchored could mean we
6332         miss an update altogether
6333
6334 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * text2.C (init): use rowlist_.end() and not 0.
6337         (insertRow): change to take a RowList::iterator as arg, adjust
6338         for this.
6339         (insertParagraph): change to take a RowList::iterator as arg,
6340         adjust for this.
6341         (redoParagraphs): remove some debug msgs.
6342
6343         * text.C (appendParagraph): change to take a RowList::iterator
6344         arg, adjust for this.
6345         (breakAgain): add an assert
6346         (breakAgainOneRow): ditto
6347
6348 2003-03-29  John Levon  <levon@movementarian.org>
6349
6350         * text2.C: do not clear selection after inc/decDepth
6351         (bug 550)
6352
6353 2003-03-29  John Levon  <levon@movementarian.org>
6354
6355         * BufferView.C:
6356         * buffer.C: fix broken strerrors according to Lars
6357
6358 2003-03-29  John Levon  <levon@movementarian.org>
6359
6360         * converters.C: more Alert cleanups
6361
6362 2003-03-29  John Levon  <levon@movementarian.org>
6363
6364         * bufferview_funcs.C: remove pointless Alert
6365
6366         * buffer.C: fix confusing error message when
6367         a template is chmoded 000
6368
6369 2003-03-29  John Levon  <levon@movementarian.org>
6370
6371         * BufferView.C:
6372         * BufferView.h:
6373         * BufferView_pimpl.C: Alert fixes
6374
6375         * Makefile.am:
6376         * tabular.C:
6377         * tabular-old.C: remove unused table compat reading
6378
6379 2003-03-29  John Levon  <levon@movementarian.org>
6380
6381         * BufferView.C:
6382         * buffer.C:
6383         * lyx_cb.h:
6384         * lyx_cb.C: more Alert cleanups
6385
6386         * lyxfunc.C: don't allow chktex if not latex document
6387
6388 2003-03-29  John Levon  <levon@movementarian.org>
6389
6390         * lyx_cb.C:
6391         * BufferView.C:
6392         * buffer.C: warnings pushed down from support/,
6393         kill err_alert
6394
6395 2003-03-29  John Levon  <levon@movementarian.org>
6396
6397         * lyxfunc.C: safety check for C-r (revert)
6398
6399 2003-03-29  John Levon  <levon@movementarian.org>
6400
6401         * bufferlist.h:
6402         * bufferlist.C: several UI fixes using Alert::prompt.
6403         Fix the pointless looping quit code. Fix stupid revert
6404         behaviour (bug 938)
6405
6406         * lyxvc.h:
6407         * lyxvc.C:
6408         * lyx_cb.C: use Alert::prompt
6409
6410         * lyx_main.C: remove a silly question
6411
6412         * lyxfunc.C: remove a couple of silly questions,
6413         use Alert::prompt
6414
6415 2003-03-28  John Levon  <levon@movementarian.org>
6416
6417         * text2.C: fix bug 974 (End on empty par)
6418
6419 2003-03-28  John Levon  <levon@movementarian.org>
6420
6421         * BufferView_pimpl.C:
6422         * LyXAction.C:
6423         * lfuns.h: remove do-nothing math greek lfuns
6424
6425 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * lyxgluelength.h (isValidGlueLength): add default arg on
6428         parameter 2. Remove default arg from friend in class.
6429
6430         * lyxlength.h (isValidLength): add default arg on parameter 2.
6431         Remove default arg from friend in class.
6432
6433         * text2.C (LyXText): adjust, initialize refresh_row.
6434         (init): adjust
6435         (removeRow): adjust
6436         (insertRow): adjust
6437         (insertParagraph): adjst
6438         (redoParagraphs): adjust
6439         (fullRebreak): adjust
6440         (updateCounters): adjust
6441         (deleteEmptyParagraphMechanism): first attempt at fixing a
6442         crashing bug.
6443
6444         * text.C (top_y): adjust
6445         (setHeightOfRow): adjust
6446         (getRow): adjust
6447         (getRowNearY): adjust
6448
6449         * lyxtext.h: include RowList.h
6450         (~LyXText): not needed anymore, deleted.
6451         (firstRow): modify for RowList
6452         (lastRow): new function
6453         Delete firstrow and lastrow class variables, add a Rowlist
6454         rowlist_ class variable.
6455
6456         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6457         paragraph is empty.
6458
6459         * RowList.C (insert): fix case where it == begin().
6460
6461 2003-03-26  Angus Leeming  <leeming@lyx.org>
6462
6463         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6464         the thesaurus dialog.
6465
6466 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6469
6470         * RowList.[Ch]: new files
6471
6472         * ParagraphList.C (erase): handle the case where it == begin
6473         correctly.
6474
6475 2003-03-25  John Levon  <levon@movementarian.org>
6476
6477         * Makefile.am:
6478         * aspell_local.h:
6479         * aspell.C: add new aspell support
6480
6481         * lyxrc.h:
6482         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6483         have it accessible.
6484
6485 2003-03-25  Angus Leeming  <leeming@lyx.org>
6486
6487         * lfuns.h:
6488         * LyXAction.C (init): new LFUN_INSET_INSERT.
6489
6490         * BufferView_pimpl.C (dispatch): split out part of the
6491         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6492
6493         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6494         LFUN_INSET_APPLY.
6495
6496 2003-03-25  Angus Leeming  <leeming@lyx.org>
6497
6498         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6499
6500 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * text2.C:
6503         * text3.C: remove useless row->height(0)
6504
6505 2003-03-25  John Levon  <levon@movementarian.org>
6506
6507         * lyxtext.h:
6508         * text2.C:
6509         * text3.C: rename the refreshing stuff to better names
6510
6511 2003-03-24  John Levon  <levon@movementarian.org>
6512
6513         * BufferView_pimpl.h:
6514         * BufferView_pimpl.C: update layout choice on a mouse
6515         press/release
6516
6517 2003-03-23  John Levon  <levon@movementarian.org>
6518
6519         * Makefile.am: fix commandtags.h reference
6520
6521 2003-03-22  John Levon  <levon@movementarian.org>
6522
6523         * BufferView_pimpl.C:
6524         * lyxtext.h:
6525         * rowpainter.C:
6526         * rowpainter.h:
6527         * text.C:
6528         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6529
6530 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * lyxtext.h:
6533         * text.C: take the rtl methods out of line
6534
6535 2003-03-21 André Pönitz <poenitz@gmx.net>
6536
6537         * metricsinfo.[Ch]: new files containing structures to be passed around
6538         during the two-phase-drawing...
6539
6540 2003-03-21 André Pönitz <poenitz@gmx.net>
6541
6542         * lyxtextclass.C: read 'environment' tag.
6543
6544 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * text2.C (removeRow): fix bug 964
6547
6548 2003-03-20  John Levon  <levon@movementarian.org>
6549
6550         * rowpainter.C:
6551         * text.C:
6552         * text2.C: paint cleanups. Inset::update() dropped font
6553         parameter
6554
6555 2003-03-19  John Levon  <levon@movementarian.org>
6556
6557         * lyxfunc.C: only fitcursor/markDirty if available()
6558
6559 2003-03-19  John Levon  <levon@movementarian.org>
6560
6561         * commandtags.h: rename to ...
6562
6563         * lfuns.h: ... this, and renumber / cleanup
6564
6565 2003-03-19  John Levon  <levon@movementarian.org>
6566
6567         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6568         fit the cursor after an lfun
6569
6570         * BufferView.h:
6571         * BufferView.C:
6572         * BufferView_pimpl.h:
6573         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6574
6575         * LyXAction.C: layout-character should have ReadOnly
6576
6577         * ParagraphParameters.C:
6578         * buffer.C:
6579         * bufferview_funcs.C:
6580         * lyx_cb.C:
6581         * lyxfind.C:
6582         * lyxtext.h:
6583         * text.C:
6584         * text2.C:
6585         * text3.C:
6586         * undo_funcs.C: changes from above
6587
6588 2003-03-18  John Levon  <levon@movementarian.org>
6589
6590         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6591         remove it from update()
6592
6593         * lyxfunc.C: update layout choice after an lfun
6594
6595         * text3.C: remove extra updateLayoutChoice()s
6596
6597 2003-03-18  John Levon  <levon@movementarian.org>
6598
6599         * text.C: top_y change means full repaint, fix
6600         a drawing bug with cursor movement
6601
6602 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6603
6604         * lyxtext.h:
6605         * text.C:
6606         * text2.C: anchor row on setCursor
6607
6608 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6609
6610         * lyxtext.h: remove almost all mutable keywords
6611         * text.C:
6612         * text2.C:
6613         * text3.C: remove const keywords accordingly
6614
6615 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6618         anon namespace
6619         (TeXEnvironment): ditto
6620         (TeXOnePar): ditto
6621
6622 2003-03-17  John Levon  <levon@movementarian.org>
6623
6624         * text.C (rowBreakPoint): remove attempt to fix displayed
6625         math insets inside a manual label
6626
6627 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * lyxtext.h: remove BufferView* as first arg from almost all class
6630         functions.
6631         * other files: adjust.
6632
6633 2003-03-17  John Levon  <levon@movementarian.org>
6634
6635         * lyxtext.h:
6636         * undo_funcs.C:
6637         * text2.C: more paint cleanups
6638
6639         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6640
6641         * rowpainter.h:
6642         * rowpainter.C: remove "smart" background painting code
6643
6644 2003-03-16  John Levon  <levon@movementarian.org>
6645
6646         * lyxtext.h:
6647         * text.C:
6648         * text2.C:
6649         * text3.C: add helper functions for setting refresh_row/y
6650
6651 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6652
6653         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6654         newline inset which *can* get inserted in the pass_thru layouts.
6655         This is primarily for literate documents.
6656
6657 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6658
6659         * buffer.C: increment LYX_FORMAT to 223
6660
6661 2003-03-14 André Pönitz <poenitz@gmx.net>
6662
6663         * textclass.h: prepare for environment handling, ws changes
6664         * lyxlayout.C: read latexheader and latexfooter tags
6665
6666 2003-03-14  John Levon  <levon@movementarian.org>
6667
6668         * text2.C: rewrite ::status() a bit
6669
6670 2003-03-13  John Levon  <levon@movementarian.org>
6671
6672         * lyxtext.h: add some docs
6673
6674 2003-03-13  John Levon  <levon@movementarian.org>
6675
6676         * lyxtext.h:
6677         * text.C:
6678         * text2.C:
6679         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6680
6681 2003-03-13  John Levon  <levon@movementarian.org>
6682
6683         * text3.C: fix appendix redrawing
6684
6685 2003-03-13  John Levon  <levon@movementarian.org>
6686
6687         * text.C (setHeightOfRow):
6688         * rowpainter.h:
6689         * rowpainter.C: make appendix mark have the text
6690           "Appendix" so the user knows what it is
6691
6692         * LColor.h:
6693         * LColor.C: s/appendixline/appendix/ from above
6694
6695 2003-03-13  John Levon  <levon@movementarian.org>
6696
6697         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6698
6699         * text.C: fix a getChar(pos) bug properly
6700
6701 2003-03-13  Angus Leeming  <leeming@lyx.org>
6702
6703         * commandtags.h:
6704         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6705         Probably only temporary. Let's see how things pan out.
6706
6707         * BufferView.C (unlockInset):
6708         * BufferView_pimpl.C (fitCursor):
6709         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6710
6711         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6712         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6713
6714         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6715         new functions that convert ParagraphParameters to and from a string.
6716
6717         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6718         BufferView::Pimpl's dispatch.
6719         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6720
6721 2003-03-13 André Pönitz <poenitz@gmx.net>
6722
6723         * lyxfunc.C:
6724         * text3.C:
6725         * factory.C: make it aware of InsetEnv
6726
6727 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * text2.C (setCursor): never ask for one past last
6730         (setCursor): add some debugging messages.
6731
6732         * text.C (singleWidth): never ask for one past last
6733         (singleWidth): ditto
6734         (leftMargin): ditto
6735         (rightMargin): ditto
6736         (rowBreakPoint): ditto
6737         (setHeightOfRow): ditto
6738         (prepareToPrint): ditto
6739
6740         * rowpainter.C (paintBackground): never ask for one past last
6741         (paintText): never ask for one past last
6742
6743         * paragraph_pimpl.C (getChar): make the assert stricter, never
6744         allow the one past last pos to be taken
6745
6746         * paragraph.C (getChar): ws changes only
6747
6748         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6749         (numberOfSeparators): ditto
6750         (numberOfHfills): ditto
6751
6752 2003-03-12  John Levon  <levon@movementarian.org>
6753
6754         * author.h:
6755         * author.C:
6756         * bufferparams.h:
6757         * bufferparams.C:
6758         * paragraph_funcs.C: fix per-buffer authorlists
6759
6760 2003-03-12  John Levon  <levon@movementarian.org>
6761
6762         * text.C: fix newline in right address
6763
6764 2003-03-12  Angus Leeming  <leeming@lyx.org>
6765
6766         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6767         duplicate those in LyXFunc::dispatch.
6768
6769         * commandtags.h:
6770         * LyXAction.C:
6771         * ToolbarDefaults.C:
6772         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6773         Add LFUN_FONTFREE_UPDATE.
6774
6775         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6776         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6777
6778         * bufferview_func.[Ch]: several new functions to facilliate
6779         transfer of data to and from the character dialog.
6780
6781 2003-03-12  John Levon  <levon@movementarian.org>
6782
6783         * buffer.C:
6784         * paragraph.h:
6785         * paragraph.C:
6786         * paragraph_funcs.C:
6787         * paragraph_pimpl.C:
6788         * sgml.C:
6789         * tabular.C:
6790         * text.C:
6791         * text3.C: remove META_NEWLINE in favour of an inset
6792
6793         * rowpainter.h:
6794         * rowpainter.C: remove paintNewline (done by inset)
6795
6796 2003-03-12  John Levon  <levon@movementarian.org>
6797
6798         * paragraph_pimpl.C: complain about bad getChar()s
6799         for a while at least
6800
6801 2003-03-12  John Levon  <levon@movementarian.org>
6802
6803         * buffer.h:
6804         * buffer.C: move paragraph read into a separate function,
6805         a little renaming to reflect that.
6806
6807         * bufferparams.h:
6808         * bufferparams.C: remove the author_ids map, not necessary now
6809
6810         * factory.h:
6811         * factory.C: moved Buffer::readInset to here
6812
6813         * paragraph_funcs.h:
6814         * paragraph_funcs.C: readParagraph free function moved from
6815         buffer.C
6816
6817         * tabular.C: name change
6818
6819 2003-03-12  John Levon  <levon@movementarian.org>
6820
6821         * buffer.C:
6822         * ParagraphParameters.C: move par params input to
6823         a read() method
6824
6825         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6826         behave like a normal read from the stream wrt reading
6827         a line vs. a \\token
6828
6829 2003-03-12  John Levon  <levon@movementarian.org>
6830
6831         * paragraph.C:
6832         * ParagraphParameters.h:
6833         * ParagraphParameters.C: move output code to a
6834         ::write() method
6835
6836 2003-03-12  John Levon  <levon@movementarian.org>
6837
6838         * BufferView.C (insertLyXFile):
6839         * buffer.h:
6840         * buffer.C:
6841         * tabular.C: use a parlist iterator for creating the
6842           document.
6843
6844 2003-03-12  John Levon  <levon@movementarian.org>
6845
6846         * buffer.C: make current_change static local not
6847           static file-scope
6848
6849 2003-03-12  John Levon  <levon@movementarian.org>
6850
6851         * buffer.C: fix insertStringAsLines for change tracking
6852
6853 2003-03-12  John Levon  <levon@movementarian.org>
6854
6855         * BufferView.C:
6856         * tabular.C:
6857         * buffer.h:
6858         * buffer.C:
6859         * bufferparams.h:
6860         * bufferparams.C: move author list into params. Rename some
6861           functions. Move the header reading into a separate token
6862           loop. Move the header token reading into BufferParams.
6863
6864 2003-03-12  John Levon  <levon@movementarian.org>
6865
6866         * changes.C: put debug inside lyxerr.debugging() checks
6867
6868 2003-03-11 André Pönitz <poenitz@gmx.net>
6869
6870         * factory.C: make it aware of InsetHFill
6871
6872 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6873
6874         * buffer.C (latexParagraphs): move function from here...
6875         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6876         args.
6877
6878 2003-03-10  Angus Leeming  <leeming@lyx.org>
6879
6880         * LyXAction.C (init): fix bug in poplating array with multiple entries
6881         with the same LFUN (spotted by JMarc).
6882
6883 2003-03-10  John Levon  <levon@movementarian.org>
6884
6885         * text.C:
6886         * text2.C: move getColumnNearX() near its
6887         only call site
6888
6889 2003-03-10  John Levon  <levon@movementarian.org>
6890
6891         * text.C: fix break before a minipage
6892
6893 2003-03-10  John Levon  <levon@movementarian.org>
6894
6895         * text.C: fix the last commit
6896
6897 2003-03-09  John Levon  <levon@movementarian.org>
6898
6899         * lyxtext.h:
6900         * text.C:
6901         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6902         bug 365 (don't break before insets unless needed). Don't
6903         return a value > last under any circumstances.
6904
6905 2003-03-09  Angus Leeming  <leeming@lyx.org>
6906
6907         * BufferView_pimpl.C (trackChanges, dispatch): call
6908         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6909
6910 2003-03-09  Angus Leeming  <leeming@lyx.org>
6911
6912         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6913         than Dialogs::showAboutlyx().
6914
6915 2003-03-09  Angus Leeming  <leeming@lyx.org>
6916
6917         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6918         than Dialogs::showTabularCreate().
6919
6920 2003-03-09  John Levon  <levon@movementarian.org>
6921
6922         * lyxtext.h:
6923         * text.C:
6924         * text2.C: 3rd arg to nextBreakPoint was always the same.
6925           Use references.
6926
6927 2003-03-08  John Levon  <levon@movementarian.org>
6928
6929         * lyxrow.C:
6930         * paragraph.C:
6931         * paragraph.h:
6932         * rowpainter.C:
6933         * text.C:
6934         * text2.C: Remove the "main" bit from the "main body"
6935           notion.
6936
6937 2003-03-08  John Levon  <levon@movementarian.org>
6938
6939         * text.C (leftMargin): The left margin of an empty
6940         manual label paragraph should not include the label width
6941         string length.
6942
6943         * text.C (prepareToPrint): don't attempt to measure hfills
6944         for empty manual label paragraphs - the answer should be 0
6945
6946 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * CutAndPaste.C: remove commented code and reindent.
6949
6950 2003-03-08  John Levon  <levon@movementarian.org>
6951
6952         * lyxfunc.h:
6953         * lyxfunc.C: move reloadBuffer()
6954
6955         * BufferView.h:
6956         * BufferView.C: to here
6957
6958         * lyxvc.C: add comment
6959
6960         * vc-backend.h:
6961         * vc-backend.C: call bv->reload() to avoid
6962           getStatus() check on MENURELOAD
6963
6964 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6965
6966         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6967         to an old format .dep file.
6968
6969 2003-03-07  Angus Leeming  <leeming@lyx.org>
6970
6971         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6972         when the LFUN_MOUSE_RELEASE should have been handled by
6973         inset->localDispatch.
6974
6975 2003-03-07  Angus Leeming  <leeming@lyx.org>
6976
6977         * BufferView_pimpl.C (dispatch):
6978         * LyXAction.C (init):
6979         * ToolbarDefaults.C (init):
6980         * commandtags.h:
6981         * lyxfunc.C (getStatus):
6982         remove LFUN_INSET_GRAPHICS.
6983
6984         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6985
6986 2003-03-07  Angus Leeming  <leeming@lyx.org>
6987
6988         * commandtags.h:
6989         * LyXAction.C (init):
6990         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6991
6992         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6993
6994         * commandtags.h:
6995         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6996
6997         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6998         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6999
7000 2003-03-07  Angus Leeming  <leeming@lyx.org>
7001
7002         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7003         remove "ert".
7004
7005 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * ParagraphList.C (front): new function
7008         (back): implement
7009
7010 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7011
7012         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7013         and top_row_offset_. removed var first_y.
7014         * text.C (top_y):
7015         * text2.C (LyXText, removeRow):
7016         * text3.C:
7017         * BufferView_pimpl.C:
7018         use these methods instead of using first_y
7019
7020 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * text2.C (pasteSelection): adjust for checkPastePossible
7023
7024         * CutAndPaste.C: remove Paragraph * buf and replace with
7025         ParagraphList paragraphs.
7026         (DeleteBuffer): delete
7027         (cutSelection): change the tc type to textclass_type
7028         (copySelection): change the tc type to textclass_type
7029         (copySelection): adjust for ParagraphList
7030         (pasteSelection): change the tc type to textclass_type
7031         (pasteSelection): adjust for Paragraphlist
7032         (nrOfParagraphs): simplify for ParagraphList
7033         (checkPastePossible): simplify for ParagraphList
7034         (checkPastePossible): remove unused arg
7035
7036         * ParagraphList.C (insert): handle the case where there are no
7037         paragraphs yet.
7038
7039         * CutAndPaste.h: make CutAndPaste a namespace.
7040
7041         * text3.C (dispatch): adjust
7042
7043         * text.C (breakParagraph): add a ParagraphList as arg
7044
7045         * paragraph_funcs.C (breakParagraph): change to take a
7046         BufferParams and a ParagraphList as args.
7047         (breakParagraphConservative): ditto
7048         (mergeParagraph): ditto
7049         (TeXDeeper): add a ParagraphList arg
7050         (TeXEnvironment): ditto
7051         (TeXOnePar): ditto
7052
7053         * buffer.C (readLyXformat2): adjust
7054         (insertStringAsLines): adjust
7055         (latexParagraphs): adjust
7056
7057         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7058         (cutSelection): adjust
7059         (pasteSelection): adjust
7060
7061         * BufferView_pimpl.C (insertInset): adjust
7062
7063 2003-03-05  Angus Leeming  <leeming@lyx.org>
7064
7065         * commandtags.h:
7066         * LyXAction.C (init):
7067         * BufferView_pimpl.C (dispatch):
7068         * lyxfunc.C (getStatus):
7069         remove LFUN_CHILD_INSERT.
7070
7071         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7072
7073 2003-03-05  Angus Leeming  <leeming@lyx.org>
7074
7075         * commandtags.h:
7076         * LyXAction.C (init):
7077         * src/factory.C (createInset):
7078         * lyxfunc.C (getStatus):
7079         * text3.C (dispatch):
7080         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7081
7082         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7083
7084 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * ParagraphList.C (insert): handle insert right before end()
7087         (erase): fix cases where it can be first or last paragraph.
7088
7089 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7092         Paragraph::next and Paragraph::previous
7093         (TeXOnePar): ditto
7094
7095         * text.C (breakParagraph): adjust
7096
7097         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7098         BufferParams& as arg.
7099         (breakParagraph): use ParagraphList::insert
7100         (breakParagraphConservative): take a Buffer* instead of a
7101         BufferParams& as arg.
7102         (breakParagraphConservative): use ParagraphList::insert.
7103
7104         * buffer.C (insertStringAsLines): un-const it
7105         (insertStringAsLines): adjust
7106
7107         * ParagraphList.C (insert): new function
7108
7109         * CutAndPaste.C (pasteSelection): adjust
7110
7111         * text.C (backspace): adjust
7112
7113         * tabular.C (SetMultiColumn): adjust
7114
7115         * CutAndPaste.C (cutSelection): adjust
7116         (pasteSelection): adjust
7117
7118         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7119         Buffer const * as arg
7120
7121         * ParagraphList.C (erase): new function
7122         * paragraph_funcs.C (mergeParagraph): use it
7123         (mergeParagraph): make it take a Buffer* instead of a
7124         BufferParams* as arg
7125
7126         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7127         as arg
7128         (breakParagraphConservative): ditto
7129
7130         * paragraph.h: remove the breakParagraph friend
7131
7132         * paragraph.C (eraseIntern): new function
7133         (setChange): new function
7134
7135         * paragraph_funcs.C (mergeParagraph): make it take a
7136         ParagraphList::iterator instead of a Paragraph *, adjust
7137         accordingly.
7138
7139         * paragraph.h: move an #endif so that the change tracking stuff
7140         also works in the NO_NEXT case.
7141
7142 2003-03-04  Angus Leeming  <leeming@lyx.org>
7143
7144         * commandtags.h:
7145         * LyXAction.C: new LFUN_INSET_MODIFY.
7146
7147         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7148         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7149
7150 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * several files: ws changes only
7153
7154         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7155         (TeXEnvironment): ditto
7156         (TeXDeeper): ditto
7157
7158         * buffer.C (makeLaTeXFile): adjust
7159         (latexParagraphs): make it take ParagraphList::iterator as args
7160
7161 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * buffer.C (latexParagraphs): adjust
7164
7165         * paragraph.C (TeXOnePar): move function...
7166         (optArgInset): move function...
7167         (TeXEnvironment): move function...
7168         * paragraph_pimpl.C (TeXDeeper): move function...
7169         * paragraph_funcs.C: ...here
7170
7171         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7172
7173 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * buffer.C (readInset): remove compability code for old Figure and
7176         InsetInfo insets
7177
7178 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * buffer.C: ws changes
7181         (readInset):
7182
7183         * BufferView_pimpl.C: ditto
7184         * author.C: ditto
7185         * buffer.h: ditto
7186         * bufferlist.h: ditto
7187         * changes.h: ditto
7188         * lyxfunc.C: ditto
7189
7190 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7191
7192         * converter.[Ch]: split into itself +
7193         * graph.[Ch]
7194         * format.[Ch]
7195         * Makefile.am: += graph.[Ch] + format.[Ch]
7196         * MenuBackend.C
7197         * buffer.C
7198         * exporter.C
7199         * importer.C
7200         * lyx_main.C
7201         * lyxfunc.C
7202         * lyxrc.C: added #include "format.h"
7203
7204 2003-02-27  Angus Leeming  <leeming@lyx.org>
7205
7206         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7207           a label.
7208
7209         * factory.C (createInset): add "label" to the factory.
7210
7211         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7212           string and do no more.
7213
7214 2003-02-27  Angus Leeming  <leeming@lyx.org>
7215
7216         * commandtags.h:
7217         * LyXAction.C (init):
7218         * factory.C (createInset):
7219         * BufferView_pimpl.C (dispatch):
7220           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7221
7222         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7223
7224         * lyxfunc.C (dispatch):
7225         * text3.C (dispatch): pass name to params2string.
7226
7227 2003-02-26  Angus Leeming  <leeming@lyx.org>
7228
7229         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7230           blocks together.
7231           Rearrange the ~includes. Strip out the unnecessary ones.
7232
7233         * factory.C (createInset): reformat.
7234           create new insets for the various LFUN_XYZ_APPLY lfuns.
7235
7236 2003-02-26  John Levon  <levon@movementarian.org>
7237
7238         * lyxrow.h:
7239         * lyxrow.C: add isParStart,isParEnd helpers
7240
7241         * paragraph.h: make isInserted/DeletedText take refs
7242
7243         * paragraph_funcs.h:
7244         * paragraph_funcs.C: remove #if 0'd code
7245
7246         * lyxtext.h:
7247         * text3.C:
7248         * text2.C:
7249         * text.C: use lyxrow helpers above.
7250           Move draw and paint routines to RowPainter.
7251           Make several methods use refs not pointers.
7252           Make backgroundColor() const.
7253           Add markChangeInDraw(), isInInset().
7254           Merge changeRegionCase into changeCase.
7255           Make workWidth() shouldn't-happen code into an Assert.
7256
7257         * rowpainter.h:
7258         * rowpainter.C: new class for painting a row.
7259
7260         * vspace.h:
7261         * vspace.C: make inPixels take a ref
7262
7263 2003-02-26  Angus Leeming  <leeming@lyx.org>
7264
7265         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7266         LFUN_REF_APPLY.
7267
7268 2003-02-25  John Levon  <levon@movementarian.org>
7269
7270         * ispell.C: give the forked command a more accurate name
7271
7272 2003-02-22  John Levon  <levon@movementarian.org>
7273
7274         * toc.h:
7275         * toc.C: make TocItem store an id not a Paragraph *
7276           (bug #913)
7277
7278 2003-02-21  Angus Leeming  <leeming@lyx.org>
7279
7280         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7281           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7282           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7283           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7284           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7285           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7286
7287         * BufferView_pimpl.C (dispatch):
7288         * LyXAction.C (init):
7289         * factory.C (createInset):
7290         * lyxfunc.C (getStatus, dispatch):
7291         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7292
7293 2003-02-21  Angus Leeming  <leeming@lyx.org>
7294
7295         * BufferView_pimpl.C (MenuInsertLyXFile):
7296         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7297         * lyxfunc.C (menuNew, open, doImport):
7298           no longer pass a LyXView & to fileDlg.
7299
7300 2003-02-21  Angus Leeming  <leeming@lyx.org>
7301
7302         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7303         * LyXAction.C: change, BIBKEY to BIBITEM.
7304         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7305         Change InsetBibKey to InsetBibitem.
7306         Change BIBKEY_CODE to BIBITEM_CODE.
7307         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7308         * factory.C: replace insetbib.h with insetbibitem.h.
7309         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7310         * paragraph.C: replace insetbib.h with insetbibitem.h.
7311         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7312         Change bibkey() to bibitem().
7313         * text.C: remove insetbib.h.
7314         * text2.C: replace insetbib.h with insetbibitem.h.
7315         change bibkey() to bibitem().
7316         * text3.C: remove insetbib.h.
7317         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7318
7319 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7320
7321         * lyxrc.C (output): enclose user email in quotes (in case there are
7322         several words)
7323
7324 2003-02-18  John Levon  <levon@movementarian.org>
7325
7326         * buffer.h: add std::
7327
7328 2003-02-17  John Levon  <levon@movementarian.org>
7329
7330         * SpellBase.h:
7331         * ispell.h:
7332         * ispell.C:
7333         * pspell.h:
7334         * pspell.C: reworking. Especially in ispell, a large
7335           number of clean ups and bug fixes.
7336
7337         * lyxfunc.C: fix revert to behave sensibly
7338
7339 2003-02-17 André Pönitz <poenitz@gmx.net>
7340
7341         * LyXAction.C:
7342         * commandtags.h: new LFUN_INSERT_BIBKEY
7343
7344         * layout.h:
7345         * lyxlayout.C:
7346         * buffer.C:
7347         * factory.C:
7348         * text.C:
7349         * text2.C:
7350         * text3.C:
7351         * paragraph.[Ch]:
7352         * paragraph_func.C: remove special bibkey handling
7353
7354 2003-02-17  John Levon  <levon@movementarian.org>
7355
7356         * text.C (Delete): fix case where delete at the end of
7357           the very first paragraph would not merge the pars
7358
7359 2003-02-17  John Levon  <levon@movementarian.org>
7360
7361         * lyxrow.C: fix lastPrintablePos()
7362
7363 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * bufferparams.C (writeLaTeX): add a std:here
7366
7367         * buffer.C: and remove a using directive there
7368
7369 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * buffer.C (makeLaTeXFile): move the code that generates the
7372           preamble...
7373
7374         * bufferparams.C (writeLaTeX): ... in this new method
7375
7376         * LaTeXFeatures.C (getEncodingSet): make const
7377           (getLanguages): make const
7378
7379         * MenuBackend.C (binding): returns the binding associated to this
7380           action
7381           (add): sets the status of each item by calling getStatus. Adds
7382           some intelligence.
7383           (read): add support for OptSubMenu
7384           (expand): remove extra separator at the end of expanded menu
7385
7386 2003-02-15  John Levon  <levon@movementarian.org>
7387
7388         * BufferView.C:
7389         * BufferView_pimpl.C:
7390         * bufferlist.h:
7391         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7392           inset code that had no actual effect. Remove unneeded status
7393           code.
7394
7395 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7398           in preamble
7399
7400 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7401
7402         * text.C (drawLengthMarker): also draw an arrow marker for
7403           symbolic lengths (medskip...)
7404
7405 2003-02-14  John Levon  <levon@movementarian.org>
7406
7407         * tabular.h:
7408         * tabular.C: better method names
7409
7410 2003-02-14  John Levon  <levon@movementarian.org>
7411
7412         * BufferView_pimpl.C:
7413         * bufferlist.C:
7414         * buffer.C:
7415         * converter.C:
7416         * lyx_cb.C:
7417         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7418           it's a more accurate name. Remove some pointless uses.
7419
7420 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7421
7422         * text2.C (LyXText): change order of initilizers to shut off
7423           warnings
7424
7425 2003-02-14  John Levon  <levon@movementarian.org>
7426
7427         * buffer.C: use ParIterator for getParFromID()
7428
7429         * paragraph.h:
7430         * paragraph.C:
7431         * paragraph_pimpl.h:
7432         * paragraph_pimpl.C: remove unused getParFromID()
7433
7434 2003-02-14  John Levon  <levon@movementarian.org>
7435
7436         * buffer.C: remove some very old #if 0'd parse code
7437
7438 2003-02-13  John Levon  <levon@movementarian.org>
7439
7440         * text.h:
7441         * text.C:
7442         * text2.C: move hfillExpansion(), numberOfSeparators(),
7443           rowLast(), rowLastPrintable(), numberofHfills(),
7444           numberOfLabelHfills() ...
7445
7446         * lyxrow.h:
7447         * lyxrow.C: ... to member functions here.
7448
7449         * paragraph.h:
7450         * paragraph.C:
7451         * lyxtext.h:
7452         * text.C: remove LyXText::beginningOfMainBody(), and call
7453           p->beginningOfMainBody() directly. Move the check for
7454           LABEL_MANUAL into the latter.
7455
7456         * text.h:
7457         * text.C:
7458         * text2.C:
7459         * vspace.C:
7460         * BufferView.h:
7461         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7462
7463         * text.h:
7464         * text.C:
7465         * text2.C:
7466         * text3.C:
7467         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7468           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7469
7470 2003-02-13  John Levon  <levon@movementarian.org>
7471
7472         * CutAndPaste.C: remove debug
7473
7474 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7475
7476         * paragraph.C (asString): remove two unused variables
7477
7478         * lyxtextclass.C (readTitleType):
7479           (Read):
7480           (LyXTextClass): handle new members titletype_ and titlename_
7481
7482         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7483
7484 2003-02-09  John Levon  <levon@movementarian.org>
7485
7486         * buffer.h:
7487         * buffer.C: replace hand-coded list with a map for the dep clean
7488
7489 2003-02-08  John Levon  <levon@movementarian.org>
7490
7491         * LaTeX.C: consolidate code into showRunMessage() helper
7492
7493 2003-02-08  John Levon  <levon@movementarian.org>
7494
7495         * lyxfind.C:
7496         * lyxtext.h:
7497         * text2.C:
7498         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7499           and pass the size in explicitly
7500
7501         * BufferView_pimpl.h:
7502         * BufferView_pimpl.C:
7503         * BufferView.h:
7504         * BufferView.C: add getCurrentChange()
7505
7506         * BufferView_pimpl.h:
7507         * BufferView_pimpl.C: handle change lfuns
7508
7509         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7510           for changes. Mark pasted paragraphs as new.
7511
7512         * support/lyxtime.h:
7513         * support/lyxtime.C:
7514         * DepTable.C: abstract time_t as lyx::time_type
7515
7516         * LColor.h:
7517         * LColor.C: add colours for new text, deleted text, changebars
7518
7519         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7520           package use "usenames" option.
7521
7522         * commandtags.h:
7523         * lyxfunc.C:
7524         * LyXAction.C: add change lfuns
7525
7526         * Makefile.am:
7527         * author.h:
7528         * author.C: author handling
7529
7530         * buffer.h:
7531         * buffer.C: add a per-buffer author list, with first entry as
7532           current author. Handle new .lyx tokens for change tracking. Output
7533           author list to .lyx file. Output dvipost stuff to .tex preamble.
7534           Bump lyx format to 222.
7535
7536         * bufferlist.h:
7537         * bufferlist.C: add setCurrentAuthor() to reset current author details
7538           in all buffers.
7539
7540         * bufferparams.h:
7541         * bufferparams.C: add param for tracking
7542
7543         * bufferview_funcs.C: output change info in minibuffer
7544
7545         * Makefile.am:
7546         * changes.h:
7547         * changes.C: add change-tracking structure
7548
7549         * debug.h:
7550         * debug.C: add CHANGES debug flag
7551
7552         * lyxfind.h:
7553         * lyxfind.C: add code for finding the next change piece
7554
7555         * lyxrc.h:
7556         * lyxrc.C: add user_name and user_email
7557
7558         * lyxrow.h:
7559         * lyxrow.C: add a metric for the top of the text line
7560
7561         * lyxtext.h:
7562         * text.C: implement accept/rejectChange()
7563
7564         * lyxtext.h:
7565         * text.C: paint changebars. Paint new/deleted text in the chosen
7566         colours. Strike through deleted text.
7567
7568         * paragraph.h:
7569         * paragraph.C:
7570         * paragraph_pimpl.h:
7571         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7572           in the current change to the insert functions. Rework erase to
7573           mark text as deleted, adding an eraseIntern() and a range-based
7574           erase(). Implement per-paragraph change lookup and
7575           accept/reject.
7576
7577         * paragraph_funcs.C: Fixup paste for change tracking.
7578
7579         * tabular.C: mark added row/columns as new.
7580
7581         * text.C: fix rowLast() to never return -1. Don't allow
7582           spellchecking of deleted text. Track transpose changes. Don't
7583           allow paragraph break or merge where appropriate.
7584
7585         * text2.C: leave cursor at end of selection after a cut.
7586
7587 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * text.C (getLengthMarkerHeight):
7590         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7591         visible on screen too.
7592
7593 2003-02-07  John Levon  <levon@movementarian.org>
7594
7595         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7596
7597 2003-02-05  Angus Leeming  <leeming@lyx.org>
7598
7599         * lyxserver.C (read_ready): revert my patch of 11 September last year
7600         as it sends PC cpu through the roof. Presumably this means that
7601         the lyxserver will no longer run on an Alpha...
7602
7603 2003-01-30  Angus Leeming  <leeming@lyx.org>
7604
7605         * factory.C (createInset): create an InsetCommandParam of type "index"
7606         and use it to 'do the right thing'.
7607
7608         * text2.C (getStringToIndex): ensure that cursor position is always
7609         reset to the reset_cursor position.
7610
7611 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7612
7613         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7614         disabled.
7615
7616 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7617
7618         * bufferview.C:
7619         * lyxcb.C:
7620         * lyxfunc.C: Output messages with identical spelling, punctuation,
7621         and spaces
7622
7623 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7624
7625         * MenuBackend.C (expandFormats): List only viewable export formats
7626         in "View" menu
7627
7628         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7629         message
7630
7631         * lyxfunc.C (getStatus): Make sure that formats other than
7632         "fax" can also be disabled
7633
7634 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7635
7636         * text3.C (dispatch): put the lfuns that insert insets in 3
7637         groups, and call doInsertInset with appropriate arguments.
7638         (doInsertInset): new function, that creates an inset and inserts
7639         it according to some boolean parameters.
7640
7641 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * buffer.C (readFile): remember to pass on 'par' when calling
7644         readFile recursively.
7645
7646 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7647
7648         * MenuBackend.C (expandFormats): add "..." to import formats.
7649
7650 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7651
7652         * paragraph.C (asString): Remove XForms RTL hacks.
7653
7654 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7655         * buffer.C: fix typo
7656
7657 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7658
7659         * Makefile.am (LIBS): delete var
7660         (lyx_LDADD): add @LIBS@ here instead.
7661
7662 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7663
7664         * Clarify the meaning of "wheel mouse jump"
7665
7666 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7667
7668         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7669         tabular in a float
7670
7671 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7672
7673         * importer.C (Loaders): do not preallocate 3 elements in the
7674         vector, since one ends up with 6 elements otherwise
7675
7676 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7677
7678         * DepTable.C (write): write the file name as last element of the
7679         .dep file (because it may contain spaces)
7680         (read): read info in the right order
7681
7682 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7683
7684         * paragraph_pimpl.C (simpleTeXBlanks):
7685         (simpleTeXSpecialChars):
7686         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7687
7688         * tabular.C (latex): add some missing case statements. Reindent.
7689
7690         * MenuBackend.C (expandToc): remove unused variable.
7691
7692 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7693
7694         * LColor.C:
7695         * LaTeX.C:
7696         * LyXAction.C:
7697         * MenuBackend.C:
7698         * buffer.C:
7699         * exporter.C:
7700         * lyxfunc.C:
7701         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7702         and the like.
7703
7704 2003-01-05  John Levon  <levon@movementarian.org>
7705
7706         * BufferView.h:
7707         * BufferView.C: add getEncoding()
7708
7709         * kbsequence.h:
7710         * kbsequence.C: do not store last keypress
7711
7712         * lyxfunc.h:
7713         * lyxfunc.C: store last keypress here instead. Pass encoding
7714           to getISOEncoded()
7715
7716 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7717
7718         * lyx_main.C (init): remove annoying error message when following
7719         symbolic links (bug #780)
7720
7721 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7722
7723         * text.C (insertChar):
7724         * lyxrc.C (getDescription): remove extra spaces
7725
7726 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7727
7728         * lyxrc.C (getDescription): remove extra spaces
7729
7730 2002-12-20  John Levon  <levon@movementarian.org>
7731
7732         * text3.C: hack fix for page up/down across tall rows
7733
7734 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7735
7736         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7737         not been invoked
7738
7739 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7740
7741         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7742         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7743         thesaurus is not compiled in
7744
7745 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7746
7747         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7748
7749 2002-12-16  Angus Leeming  <leeming@lyx.org>
7750
7751         * lyxrc.[Ch]:
7752         * lyx_main.C (init): remove override_x_deadkeys stuff.
7753
7754 2002-12-12  John Levon  <levon@movementarian.org>
7755
7756         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7757           insert. Only remove shift modifier under strict
7758           circumstances.
7759
7760 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * MenuBackend.C (expandToc): fix crash.
7763
7764 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * MenuBackend.C (expandToc): gettext on float names.
7767
7768 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7769
7770         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7771         implement bool empty() [bug 490]
7772
7773 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7776
7777 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * several files: ws changes
7780
7781 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * text2.C (setCounter): clean up a bit, use boost.format.
7784         (updateCounters): initialize par upon declaration.
7785
7786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7787         if the layout exists. We do not just store the layout any more.
7788         (SwitchLayoutsBetweenClasses): use boost.format
7789
7790 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7791
7792         * converter.C (convert): if from and to files are the same, use a
7793         temporary files as intermediary
7794
7795 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7796
7797         * commandtags.h:
7798         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7799
7800 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7801
7802         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7803
7804 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * tabular.C (asciiPrintCell): use string(size, char) instead of
7807         explicit loop.
7808
7809         * sgml.C (openTag): fix order of arguments to string constructor
7810         (closeTag): ditto
7811
7812         * lyxfunc.C (dispatch): use boost.format
7813
7814         * lots of files: change "c" -> 'c'
7815
7816 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7817
7818         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7819
7820 2002-11-25  Angus Leeming  <leeming@lyx.org>
7821
7822         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7823
7824         * lyx_main.C (init): compile fix.
7825
7826 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * lyx_cb.C (start): boost.formatify
7829         do not include <iostream>
7830
7831         * lengthcommon.C: ws only
7832
7833         * boost-inst.C,BoostFormat.h: add more explict instantations
7834
7835 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7836
7837         * lots of files: handle USE_BOOST_FORMAT
7838
7839 2002-11-21  John Levon  <levon@movementarian.org>
7840
7841         * pspell.C: fix compile
7842
7843 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7844
7845         * lyxfunc.C (dispatch): use boost::format
7846         (open): ditto
7847         (doImport): ditto
7848
7849         * lyxfont.C (stateText): use boost::format
7850
7851         * lyx_main.C (LyX): use boost::format
7852         (init): ditto
7853         (queryUserLyXDir): ditto
7854         (readRcFile): ditto
7855         (parse_dbg): ditto
7856         (typedef boost::function): use the recommened syntax.
7857
7858         * importer.C (Import): use boost::format
7859
7860         * debug.C (showLevel): use boost::format
7861
7862         * converter.C (view): use boost::format
7863         (convert): ditto
7864         (move): ditto
7865         (scanLog): ditto
7866
7867         * bufferview_funcs.C (currentState): use boost::format
7868
7869         * bufferlist.C (emergencyWrite): use boost::format
7870
7871         * buffer.C (readLyXformat2): use boost::format
7872         (parseSingleLyXformat2Token): ditto
7873
7874         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7875
7876         * LaTeX.C (run): use boost::format
7877
7878         * Chktex.C (scanLogFile): use boost::format
7879
7880         * BufferView_pimpl.C (savePosition): use boost::format
7881         (restorePosition): ditto
7882         (MenuInsertLyXFile): ditto
7883
7884         * BoostFormat.h: help file for explicit instation.
7885
7886 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7887
7888         * tabular.C (latex): Support for block alignment in fixed width
7889         columns.
7890
7891 2002-11-17  John Levon  <levon@movementarian.org>
7892
7893         * BufferView_pimpl.C:
7894         * lyx_cb.C:
7895         * lyxfunc.C: split filedialog into open/save
7896
7897 2002-11-08  Juergen Vigna  <jug@sad.it>
7898
7899         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7900         by my last patch (hopefully).
7901
7902 2002-11-08  John Levon  <levon@movementarian.org>
7903
7904         * iterators.h:
7905         * iterators.C:
7906         * buffer.h:
7907         * buffer.C:
7908         * paragraph.h:
7909         * paragraph.C:
7910         * toc.h:
7911         * toc.C: ParConstIterator, and use it (from Lars)
7912
7913 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7914
7915         * lyxtextclass.[Ch]: revise and add doxygen comments
7916
7917 2002-11-07  John Levon  <levon@movementarian.org>
7918
7919         * text.C: fix progress value for spellchecker
7920
7921         * toc.C: fix navigate menu for insetwrap inside minipage
7922
7923         * paragraph_funcs.C: added FIXME for suspect code
7924
7925 2002-11-07  John Levon  <levon@movementarian.org>
7926
7927         * BufferView_pimpl.C: fix redrawing of insets
7928           on buffer switch
7929
7930 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7931
7932         * text2.C (updateCounters): fix bug 668
7933
7934 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7935
7936         * text3.C (dispatch): Do not make the buffer dirty when moving the
7937         cursor.
7938
7939 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * vc-backend.C: STRCONV
7942         (scanMaster): ditto
7943
7944         * text2.C (setCounter): STRCONV
7945
7946         * paragraph.C (asString): STRCONV
7947
7948         * lyxlength.C (asString): STRCONV
7949         (asLatexString): ditto
7950
7951         * lyxgluelength.C (asString): STRCONV
7952         (asLatexString): ditto
7953
7954         * lyxfunc.C (dispatch): STRCONV
7955         (open): ditto
7956
7957         * lyxfont.C (stateText): STRCONV
7958
7959         * importer.C (Import): STRCONV
7960
7961         * counters.C (labelItem): STRCONV
7962         (numberLabel): ditto
7963         (numberLabel): remove unused ostringstream o
7964
7965         * chset.C: STRCONV
7966         (loadFile): ditto
7967
7968         * bufferview_funcs.C (currentState): STRCONV
7969
7970         * buffer.C (readFile): STRCONV
7971         (asciiParagraph): ditto
7972         (makeLaTeXFile): ditto
7973
7974         * Spacing.C (writeEnvirBegin): STRCONV
7975
7976         * LaTeXFeatures.C (getLanguages): STRCONV
7977         (getPackages): ditto
7978         (getMacros): ditto
7979         (getBabelOptions): ditto
7980         (getTClassPreamble): ditto
7981         (getLyXSGMLEntities): ditto
7982         (getIncludedFiles): ditto
7983
7984         * LaTeX.C: STRCONV
7985         (run): ditto
7986         (scanAuxFile): ditto
7987         (deplog): ditto
7988
7989         * LString.h: add the STRCONV macros
7990
7991         * BufferView_pimpl.C (savePosition): STRCONV
7992         (restorePosition): ditto
7993         (MenuInsertLyXFile): ditto
7994
7995         * vc-backend.C (scanMaster): change from submatch[...] to
7996         submatch.str(...)
7997
7998         * funcrequest.C: include config.h
7999
8000         * factory.C: include config.h
8001
8002         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8003
8004         * box.C: include config.h
8005
8006         * LaTeX.C (scanAuxFile): change from submatch[...] to
8007         submatch.str(...)
8008         (deplog): ditto
8009
8010 2002-10-25  Angus Leeming  <leeming@lyx.org>
8011
8012         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8013
8014         * ispell.[Ch] (setError): new method.
8015         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8016         Use setError() insetead of goto END.
8017
8018         * lyx_cb.C (AutoSave): move out child process into new class
8019         AutoSaveBuffer.
8020
8021 2002-10-30  John Levon  <levon@movementarian.org>
8022
8023         * text3.C: make start appendix undoable
8024
8025 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8026
8027         * lyxlength.C (inPixels): Fix returned value.
8028
8029         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8030         environment.
8031
8032 2002-10-24  Angus Leeming  <leeming@lyx.org>
8033
8034         * lyxgluelength.h: no need to forward declare BufferParams
8035         or BufferView, so don't.
8036
8037 2002-10-21  John Levon  <levon@movementarian.org>
8038
8039         * BufferView.C: menuUndo ->undo, redo
8040
8041         * BufferView.h: document, remove dead, make some methods private
8042
8043         * paragraph_funcs.h:
8044         * paragraph_funcs.C:
8045         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8046
8047         * buffer.h:
8048         * buffer.C:
8049         * sgml.h:
8050         * sgml.C: move sgml open/close tag into sgml.C
8051
8052         * bufferview_funcs.h: unused prototype
8053
8054         * lyxfunc.h:
8055         * lyxfunc.C: remove unused
8056
8057         * lyxtext.h:
8058         * text.C: remove unused
8059
8060 2002-10-21  John Levon  <levon@movementarian.org>
8061
8062         * BufferView.h:
8063         * BufferView.C:
8064         * BufferView_pimpl.h:
8065         * BufferView_pimpl.C: fix mouse wheel handling based on
8066           patch from Darren Freeman
8067
8068 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8069
8070         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8071
8072 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8073
8074         * lyxlength.C (inPixels): Fix hanfling of negative length.
8075         Fix LyXLength::MU case.
8076
8077 2002-10-16  John Levon  <levon@movementarian.org>
8078
8079         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8080
8081 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8082
8083         * converter.C (view): add support for $$i (file name) and $$p
8084         (file path) for the viewer command. If $$i is not specified, then
8085         it is appended to the command (for compatibility with old syntax)
8086
8087 2002-10-14  Juergen Vigna  <jug@sad.it>
8088
8089         * undo_funcs.C (textHandleUndo): alter the order in which the
8090         new undopar is added to the LyXText, as we have to set first
8091         the right prev/next and then add it as otherwise the rebuild of
8092         LyXText is not correct. Also reset the cursor to the right paragraph,
8093         with this IMO we could remove the hack in "redoParagraphs()".
8094
8095 2002-10-09  Angus Leeming  <leeming@lyx.org>
8096
8097         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8098         to turn off an optimisation if a new inset is to be inserted.
8099
8100 2002-10-11 André Pönitz <poenitz@gmx.net>
8101
8102         * lyxtext.h: make some functions public to allow access
8103         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8104
8105 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8106
8107         * text3.C (dispatch): when changing layout, avoid an infinite loop
8108         [bug #652]
8109
8110 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8111
8112         * lyxrc.C (read): treat a viewer or converter command of "none" as
8113         if it were empty.
8114
8115         * MenuBackend.C (expandFormats): for an update, also allow the
8116         formats that are not viewable
8117
8118         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8119         script if it is newer than the lyxrc.defaults in user directory
8120
8121 2002-10-07 André Pönitz <poenitz@gmx.net>
8122
8123         * text.C: Vitaly Lipatov's small i18n fix
8124
8125 2002-09-25  Angus Leeming  <leeming@lyx.org>
8126
8127         * ispell.h: doxygen fix.
8128
8129 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8130
8131         * buffer.h (readFile): Add a new argument to the method, to allow
8132         reading of old-format templates.
8133
8134 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8135
8136         * toc.C (getTocList): Get TOC from InsetWrap.
8137
8138 2002-09-16  John Levon  <levon@movementarian.org>
8139
8140         * lyxfunc.C: check tabular for cut/copy too
8141
8142 2002-09-12  John Levon  <levon@movementarian.org>
8143
8144         * LyXAction.C: tidy
8145
8146         * factory.h:
8147         * factory.C: add header
8148
8149         * paragraph_funcs.h:
8150         * paragraph_funcs.C: cleanup
8151
8152 2002-09-11  John Levon  <levon@movementarian.org>
8153
8154         * PrinterParams.h: odd/even default to true
8155
8156 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8157
8158         * PrinterParams.h: update printer parameters for new xforms dialog
8159
8160 2002-09-11  Angus Leeming  <leeming@lyx.org>
8161
8162         * lyxserver.C (read_ready): re-write to make it more transparent
8163         and to make it work in coherent fashion under Tru64 Unix.
8164
8165 2002-09-11  André Pönitz <poenitz@gmx.net>
8166
8167         * commandtags.h:
8168         * LyXAction.C:
8169         * text3.C: implement LFUN_WORDSEL
8170
8171 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8174         make floatlist_ a boost::shared_ptr<FloatList>
8175
8176         * lyxtextclass.C: include FloatList.h
8177         (LyXTextClass): initialize floatlist_
8178         (TextClassTags): add TC_NOFLOAT
8179         (Read): match "nofloat" to TC_NOFLOAT and use it.
8180         (readFloat): modify call to floatlist_
8181         (floats): ditto
8182         (floats): ditto
8183
8184         * FloatList.[Ch] (FloatList): remove commented out float
8185         initialization.
8186         (erase): new function
8187
8188 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8189
8190         * MenuBackend.C (expandToc): fix crash when there is no document
8191         open
8192
8193 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * many files: Add insetwrap.
8196
8197 2002-09-09  John Levon  <levon@movementarian.org>
8198
8199         * text2.C: remove confusing and awkward depth wraparound
8200
8201 2002-09-09  John Levon  <levon@movementarian.org>
8202
8203         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8204
8205         * buffer.h:
8206         * buffer.C: remove getIncludeonlyList()
8207
8208         * paragraph.C:
8209         * lyxfunc.C: remove headers
8210
8211 2002-09-09  Juergen Vigna  <jug@sad.it>
8212
8213         * text.C (getColumnNearX): fix form Michael this is most
8214         probably a cut&paste bug.
8215
8216 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8219
8220         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8221         references, ws changes.
8222
8223         * text2.C (init): update counters after init
8224         (insertParagraph): no need to set counter on idividual paragraphs.
8225         (setCounter): access the counters object in the textclass object
8226         on in the buffer object.
8227         (updateCounters): ditto
8228
8229         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8230         shared_ptr<Counters> to avoid loading counters.h in all
8231         compilation units.
8232         (LyXTextClass): initialize ctrs_
8233         (TextClassTags): add TC_COUNTER, and ...
8234         (Read): use it here.
8235         (CounterTags): new tags
8236         (readCounter): new function
8237         (counters): new funtion
8238         (defaultLayoutName): return a const reference
8239
8240         * counters.C (Counters): remove contructor
8241         (newCounter): remove a couple of unneeded statements.
8242         (newCounter): simplify a bit.
8243         (numberLabel): some small formatting changes.
8244
8245         * buffer.[Ch]: remove all traces of counters, move the Counters
8246         object to the LyXTextClass.
8247
8248 2002-09-06  Alain Castera  <castera@in2p3.fr>
8249
8250         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8251         package to set the horizontal alignment on fixed width columns.
8252
8253         * lyx_sty.C:
8254         * lyx_sty.h: added tabularnewline macro def.
8255
8256         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8257
8258 2002-09-06  John Levon  <levon@movementarian.org>
8259
8260         * LyXAction.C: tooltips for sub/superscript
8261
8262         * MenuBackend.C: a bit more verbose
8263
8264         * lyxfunc.C: tiny clean
8265
8266         * undo_funcs.C: document undo_frozen
8267
8268 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * counters.C (Counters): add missing algorithm counter.
8271
8272         * text2.C (setCounter): lookup the counter with layouts latexname
8273         instead of by section number.
8274         (setCounter): use a hackish way to lookup the correct enum
8275         counter.
8276         a float name->type change
8277         reset enum couners with counter name directly instead of depth value.
8278
8279         * counters.C (Counters): remove the push_backs, change to use the
8280         float type not the float name.
8281         (labelItem): remove unused string, float name->type change
8282
8283         * counters.h: don't include vector, loose the enums and sects vectors
8284
8285 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8288         (Read): add float->TC_FLOAT to textclassTags
8289         (Read): and handle it in the switch
8290         (readFloat): new function
8291
8292         * FloatList.C (FloatList): comment out the hardcoded float
8293         definitions.
8294
8295         * lyxlayout.h: ws change.
8296
8297 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8298
8299         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8300
8301 2002-09-03  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.h: qualified name is not allowed in member
8304         declaration: WorkArea & Pimpl::workarea() const;
8305
8306         * factory.C: added using std::endl directive.
8307
8308         * text3.C: added using std::find and std::vector directives.
8309
8310 2002-08-29  André Pönitz <poenitz@gmx.net>
8311
8312         * lyxtext.h:
8313         * text2.C: remove unused member number_of_rows
8314
8315         * Makefile.am:
8316         * BufferView2.C: remove file, move contents to...
8317         * BufferView.C: ... here
8318
8319         * BufferView_pimpl.C:
8320         * factory.C: move more inset creation to factory
8321
8322         * vspace.C: avoid direct usage of LyXText, ws changes
8323
8324         * BufferView.[Ch]:
8325                 don't provide direct access to WorkArea, use two simple
8326                 acessors haveSelction() and workHeight() instead
8327
8328
8329 2002-08-29  John Levon  <levon@movementarian.org>
8330
8331         * BufferView_pimpl.C (dispatch): do not continue when
8332           no buffer
8333
8334 2002-08-28  André Pönitz <poenitz@gmx.net>
8335
8336         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8337
8338         * BufferView.h:
8339         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8340
8341 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8342
8343         * buffer.C: increment LYX_FORMAT to 221
8344
8345         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8346         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8347
8348         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8349
8350         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8351
8352 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8353
8354         * factory.C (createInset): use LyXTextClass::floats
8355
8356         * MenuBackend.C (expandFloatListInsert):
8357         (expandFloatInsert):
8358         (expandToc):
8359
8360         * text2.C (setCounter):
8361
8362         * LaTeXFeatures.C (useFloat):
8363         (getFloatDefinitions):
8364
8365         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8366
8367         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8368         floatlist_, with accessor floats().
8369
8370         * FloatList.h: remove global FloatList
8371
8372 2002-08-26  André Pönitz <poenitz@gmx.net>
8373
8374         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8375
8376         * BufferView.h:
8377         * BufferView2.C:
8378         * BufferView_pimpl.C:
8379         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8380
8381 2002-08-25  John Levon  <levon@movementarian.org>
8382
8383         * LyXAction.C: fix margin note description
8384
8385 2002-08-24  John Levon  <levon@movementarian.org>
8386
8387         * buffer.C:
8388         * bufferlist.C:
8389         * bufferview_funcs.C:
8390         * lyxfont.C:
8391         * undo_funcs.C: cleanups
8392
8393         * lyxfunc.C: disable CUT/COPY when no selection
8394
8395 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8396
8397         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8398         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8399
8400         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8401         Add backward compatibility to "mono", "gray" and "no".
8402
8403 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8404
8405         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8406         (and file_format >= 200).
8407
8408 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8409
8410         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8411
8412 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8413
8414         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8415
8416 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8417
8418         * BufferView_pimpl.C:
8419         * LyXAction.C:
8420         * buffer.C:
8421         * commandtags.h:
8422         * lyxfunc.C:
8423         * paragraph.[Ch]:
8424         * text2.C:
8425         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8426         inset and code to make it  work with the paragraph code. The inset
8427         can be anywhere in the paragraph, but will only do the expected
8428         thing in LaTeX if the layout file contains the parameter line
8429                         OptionalArgs    1
8430         (or more generally, a nonzero value) for that layout.
8431
8432 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * paragraph.h: remove the declaration of undefined counters class
8435         function.
8436
8437 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8438
8439         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8440         Dr. Richard Hawkins.
8441
8442 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * paragraph_funcs.h: remove some unneeded includes
8445
8446         * text.C (backspace): pasteParagraph now in global scipe
8447
8448         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8449         (pasteSelection): ditto
8450
8451         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8452         * paragraph_funcs.C (pasteParagraph): ... here
8453
8454 2002-08-20  André Pönitz <poenitz@gmx.net>
8455
8456         * commandtags.h: new LFUNs for swapping/copying table row/colums
8457
8458         * LyXAction.C:
8459         * lyxfunc.C: support for new lfuns
8460
8461 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * tabular.C:
8464         * buffer.[Ch]: remove NO_COMPABILITY stuff
8465
8466 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * boost.C (throw_exception): new file, with helper function for
8469         boost compiled without exceptions.
8470
8471         * paragraph.h:
8472         * lyxlength.C:
8473         * buffer.C:
8474         * ParameterStruct.h:
8475         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8476
8477         * bufferlist.C (emergencyWriteAll): use boost bind
8478
8479         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8480
8481         * text.C: include paragraph_funcs.h
8482         (breakParagraph): breakParagraph is now in global scope
8483
8484         * paragraph_funcs.[Ch]: new files
8485
8486         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8487         global scope
8488
8489         * buffer.C: include paragraph_funcs.h
8490         (insertStringAsLines): breakParagraph is now in global scope
8491
8492         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8493         paragraph_funcs.C
8494
8495         * CutAndPaste.C: include paragraph_funcs.h
8496         (cutSelection): breakParagraphConservative is now in global scope
8497         (pasteSelection): ditto
8498
8499         * buffer.h: declare oprator== and operator!= for
8500         Buffer::inset_iterator
8501
8502         * bufferlist.C (emergencyWrite): don't use fmt(...)
8503
8504         * text3.C: add using std::endl
8505
8506         * BufferView.C (moveCursorUpdate): remove default arg
8507
8508 2002-08-20  André Pönitz <poenitz@gmx.net>
8509
8510         * buffer.[Ch]: move inline functions to .C
8511
8512         * BufferView2.C:
8513         * BufferView_pimpl.C:
8514         * text.C:
8515         * buffer.[Ch]: use improved inset_iterator
8516
8517         * buffer.C:
8518         * paragraph.[Ch]: write one paragraph at a time
8519
8520 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8521
8522         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8523         style if style is not specified.
8524
8525 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8526
8527         * text2.C (setCounter): when searching for right label for a
8528         caption, make sure to recurse to parent insets (so that a caption
8529         in a minipage in a figure float works) (bug #568)
8530
8531 2002-08-20  André Pönitz <poenitz@gmx.net>
8532
8533         * text3.C: new file for LyXText::dispatch() and helpers
8534
8535         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8536
8537         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8538
8539 2002-08-19  André Pönitz <poenitz@gmx.net>
8540
8541         * lyxtext.h:
8542         * text.C: new LyXText::dispatch()
8543
8544         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8545
8546 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8547
8548         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8549
8550         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8551         Hebrew text.
8552
8553 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * Makefile.am: use $(variables) instead of @substitutions@
8556
8557 2002-08-15  André Pönitz <poenitz@gmx.net>
8558
8559         * lyxfunc.C:
8560         * BufferView_pimpl.C: streamlining mathed <-> outer world
8561         interaction
8562
8563         * commandtags.h:
8564         * LyXAction.C: remove unused LFUN_MATH
8565
8566 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8569
8570 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * paragraph.C (Paragraph): reformat a bit
8573         (cutIntoMinibuffer): use builtin InsetList function instad of
8574         doing it manually.
8575         (getInset): ditto
8576
8577         * buffer.C: include boost/bind.hpp, add using std::for_each
8578         (writeFileAscii): use ParagraphList iterators
8579         (validate): use for_each for validate traversal of paragraphs
8580         (getBibkeyList): use ParagraphList iterators
8581         (resizeInsets): use for_each to resizeInsetsLyXText for all
8582         paragraphs.
8583         (getParFromID): use ParagraphList iterators
8584
8585         * BufferView2.C (lockInset): use paragraph list and iterators
8586
8587 2002-08-14  John Levon  <levon@movementarian.org>
8588
8589         * lyxserver.C: remove spurious xforms include
8590
8591 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8592
8593         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8594
8595 2002-08-13  André Pönitz <poenitz@gmx.net>
8596
8597         * LyXAction.[Ch]:
8598         * lyxfunc.C: further cleaning
8599
8600 2002-08-13  André Pönitz <poenitz@gmx.net>
8601
8602         * funcrequest.h: new constructor
8603
8604         * funcrequest.C: move stuff here from .h
8605
8606         * Makefile.am:
8607         * BufferView_pimpl.C:
8608         * LyXAction.C:
8609         * toc.C:
8610         * lyxfunc.C: subsequent changes
8611
8612         * lyxfunc.h: new view() member function
8613
8614         * lyxfunc.C: subsequent changes
8615
8616 2002-08-13  Angus Leeming  <leeming@lyx.org>
8617
8618         * BufferView2.C:
8619         * BufferView_pimpl.C:
8620         * buffer.C:
8621         * converter.C:
8622         * importer.C:
8623         * lyxfunc.C:
8624         * lyxvc.C:
8625         * toc.C:
8626         * vc-backend.C:
8627         changes due to the changed LyXView interface that now returns references
8628         to member variables not pointers.
8629
8630 2002-08-13  Angus Leeming  <leeming@lyx.org>
8631
8632         * WordLangTuple (word, lang_code): return references to strings,
8633         not strings.
8634
8635         * BufferView.h:
8636         * SpellBase.h:
8637         * lyxtext.h: forward-declare WordLangTuple.
8638
8639         * BufferView2.C:
8640         * ispell.C:
8641         * pspell.C:
8642         * text.C: #include "WordLangTuple.h".
8643
8644         * lyxtext.h:
8645         * text.C: (selectNextWordToSpellcheck): constify return type.
8646
8647 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8648
8649         * buffer.C:
8650         * buffer.h:
8651         * lyxtext.h:
8652         * paragraph.C:
8653         * paragraph_pimpl.h:
8654         * text.C:
8655         * text2.C:
8656         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8657         suggested by Angus.
8658         Made updateCounter always count from start of buffer, and removed
8659         second argument (par).
8660         Reverted floats number display to '#'. Perhaps I'll try again when the
8661         code base is sanitized a bit.
8662
8663 2002-08-12  Angus Leeming  <leeming@lyx.org>
8664
8665         * buffer.[Ch] (getLabelList): constify.
8666
8667 2002-08-07  André Pönitz <poenitz@gmx.net>
8668
8669         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8670
8671         * funcrequest.h: extension to keep mouse (x,y) position
8672
8673 2002-08-12  Juergen Vigna  <jug@sad.it>
8674
8675         * BufferView2.C (insertErrors): forbid undo when inserting error
8676         insets.
8677
8678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8679
8680 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * ParagraphList.[Ch]: new files
8683
8684         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8685
8686         * BufferView2.C (lockInset): ParagraphList changes
8687         * toc.C: ditto
8688         * text2.C: ditto
8689         * bufferlist.C: ditto
8690         * buffer.h: ditto
8691         * buffer.C: ditto
8692
8693 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8696         unused class variable counter_,
8697
8698         * paragraph.[Ch] (getFirstCounter): delete unused function
8699
8700         * counters.C: include LAssert.h
8701         (reset): add a new function with no arg, change other version to
8702         not have def. arg and to not allow empty arg.
8703
8704         * text2.C (setCounter): remove empty arg from call to Counters::reset
8705
8706 2002-08-11  John Levon  <levon@movementarian.org>
8707
8708         * Makefile.am: add WordLangTuple.h
8709
8710 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8713         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8714
8715         * insets/insettext.C: InsetList changes
8716
8717         * graphics/GraphicsSupport.C (operator()): InsetList changes
8718
8719         * toc.C (getTocList): InsetList changes
8720
8721         * paragraph_pimpl.[Ch]: InsetList changes
8722
8723         * paragraph.[Ch]: InsetList changes
8724
8725         * buffer.C (inset_iterator): InsetList changes
8726         (setParagraph): ditto
8727         * buffer.h (inset_iterator): ditto
8728         * iterators.C (operator++): ditto
8729         * iterators.h: ditto
8730
8731         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8732
8733         * InsetList.[Ch]: new files, most InsetList handling moved out of
8734         paragraph.C.
8735
8736         * BufferView2.C (removeAutoInsets): InsetList changes
8737         (lockInset): ditto
8738         (ChangeInsets): ditto
8739
8740 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8741
8742         * paragraph_pimpl.h (empty): new function
8743
8744         * paragraph.[Ch] (empty): new function
8745
8746         * other files: use the new Paragraph::empty function
8747
8748 2002-08-09  John Levon  <levon@movementarian.org>
8749
8750         * lyxtext.h: remove unused refresh_height
8751
8752 2002-08-09  John Levon  <levon@movementarian.org>
8753
8754         * Makefile.am:
8755         * sgml.h:
8756         * sgml.C:
8757         * buffer.C:
8758         * paragraph.h:
8759         * paragraph.C: move sgml char escaping out of paragraph
8760
8761         * paragraph.h:
8762         * paragraph.C: remove id setter
8763
8764         * buffer.C:
8765         * paragraph.C:
8766         * paragraph_pimpl.C: remove dead tex_code_break_column
8767
8768         * bufferview_funcs.C: small cleanup
8769
8770         * lyxfunc.C: remove dead proto
8771
8772         * lyxtext.h: make some stuff private. Remove some dead stuff.
8773
8774         * lyxgluelength.C: make as[LyX]String() readable
8775
8776 2002-08-08  John Levon  <levon@movementarian.org>
8777
8778         * LyXAction.h:
8779         * LyXAction.C:
8780         * MenuBackend.C:
8781         * ToolbarDefaults.C:
8782         * lyxfunc.C:
8783         * lyxrc.C:
8784         * toc.C: lyxaction cleanup
8785
8786 2002-08-08  John Levon  <levon@movementarian.org>
8787
8788         * BufferView2.C: small cleanup
8789
8790         * lyxfind.h:
8791         * lyxfind.C: move unnecessary header into the .C
8792
8793 2002-08-08  John Levon  <levon@movementarian.org>
8794
8795         * funcrequest.h: just tedious nonsense
8796
8797         * lyx_main.h:
8798         * lyx_main.C: cleanups
8799
8800         * buffer.C:
8801         * vspace.C: remove dead header lyx_main.h
8802
8803 2002-08-07  Angus Leeming  <leeming@lyx.org>
8804
8805         * Paragraph.[Ch]:
8806         * paragraph_pimpl.h:
8807         Forward declare class Counters in paragraph.h by moving the ctrs member
8808         variable into Paragraph::Pimpl.
8809         (counters): new method, returning a reference to pimpl_->ctrs.
8810
8811         * text2.C: ensuing changes.
8812
8813 2002-08-07  John Levon  <levon@movementarian.org>
8814
8815         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8816
8817         * BufferView_pimpl.C: announce X selection on double/triple
8818           click
8819
8820         * lyx_main.C: use correct bool in batch dispatch
8821
8822         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8823
8824 2002-08-07  André Pönitz <poenitz@gmx.net>
8825
8826         * funcrequest.h: new class to wrap a kb_action and its argument
8827
8828         * BufferView.[Ch]:
8829         * BufferView_pimpl[Ch]:
8830         * LaTeX.C:
8831         * LyXAction.[Ch]:
8832         * lyxfunc.[Ch]:
8833         * lyxrc.C: subsequent changes
8834
8835
8836 2002-08-07  John Levon  <levon@movementarian.org>
8837
8838         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8839           document options change.
8840
8841 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8842
8843         * counters.[Ch]
8844         * text2.C
8845         * paragraph.[Ch]
8846         * makefile.am: move counters functionality over from
8847         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8848
8849 2002-08-06  John Levon  <levon@movementarian.org>
8850
8851         * WordLangTuple.h: new file for word + language code tuple
8852
8853         * SpellBase.h:
8854         * pspell.h:
8855         * pspell.C:
8856         * ispell.h:
8857         * ispell.C:
8858         * lyxtext.h:
8859         * text.C:
8860         * text2.C:
8861         * BufferView.h:
8862         * BufferView2.C: use WordLangTuple
8863
8864         * layout.h:
8865         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8866
8867 2002-08-06  John Levon  <levon@movementarian.org>
8868
8869         * lyx_main.C: fix cmdline batch handling
8870
8871 2002-08-06  André Pönitz <poenitz@gmx.net>
8872
8873         * lyxrc.C: set default for show_banner to true
8874
8875 2002-08-06  John Levon  <levon@movementarian.org>
8876
8877         * pspell.C: fix a crash, and allow new aspell to work
8878
8879 2002-08-06  John Levon  <levon@movementarian.org>
8880
8881         * lyxfunc.C:
8882         * kbmap.C: small cleanup
8883
8884         * vspace.h:
8885         * vspace.C: add const
8886
8887 2002-08-05  John Levon  <levon@movementarian.org>
8888
8889         * LyXAction.C: back to tabular-insert
8890
8891 2002-08-04  John Levon  <levon@movementarian.org>
8892
8893         * BufferView.h:
8894         * BufferView.C: cosmetic change
8895
8896         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8897
8898         * bufferlist.C:
8899         * buffer.h:
8900         * buffer.C:
8901         * lyxcb.h:
8902         * lyxcb.C:
8903         * lyxserver.C:
8904         * lyxvc.C:
8905         * vc-backend.C:
8906         * BufferView2.C: purge all "Lyx" not "LyX" strings
8907
8908         * lyxcursor.h:
8909         * lyxcursor.C: attempt to add some documentation
8910
8911         * lyxfunc.C:
8912         * commandtags.h:
8913         * LyXAction.C:
8914         * ToolbarDefaults.C:
8915         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8916           merge with LFUN_TABULAR_INSERT
8917
8918         * Makefile.am:
8919         * SpellBase.h:
8920         * ispell.h:
8921         * ispell.C:
8922         * pspell.h:
8923         * pspell.C: split up i/pspell implementations into separate
8924           files, many cleanups
8925
8926         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8927
8928         * text2.C: some cleanup
8929
8930         * lyxfunc.C: don't check for isp_command == "none" any more, it
8931           didn't make any sense
8932
8933 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8934
8935         * counters.[Ch]
8936         * text2.C
8937         * paragraph.[Ch]
8938         * makefile.am: move counters functionality over
8939         from text2.C/paragraph.[Ch] to counters.[Ch], and
8940         make proper C++.
8941 2002-08-02  John Levon  <levon@movementarian.org>
8942
8943         * buffer.C: s/lyxconvert/lyx2lyx/
8944
8945 2002-08-02  Angus Leeming  <leeming@lyx.org>
8946
8947         * lyxlex.C: revert John's change as it breaks reading of the user
8948         preamble.
8949
8950 2002-08-02  Angus Leeming  <leeming@lyx.org>
8951
8952         * importer.C (Import):
8953         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8954         changes due to LyXView::view() now returning a boost::shared_ptr.
8955
8956 2002-08-02  John Levon  <levon@movementarian.org>
8957
8958         * lyxlex.C: small cleanup
8959
8960 2002-08-02  John Levon  <levon@movementarian.org>
8961
8962         * text2.C (status): small cleanup, no logic change
8963
8964 2002-08-01  John Levon  <levon@movementarian.org>
8965
8966         * buffer.h:
8967         * buffer.C (writeFile): don't output alerts, caller
8968           handles this
8969
8970         * bufferlist.C:
8971         * lyx_cb.C: from above
8972
8973         * lyxfunc.C: allow to open non-existent files
8974
8975 2002-07-31  John Levon  <levon@movementarian.org>
8976
8977         * lyxserver.C: don't let incidental errors get
8978           in the way (errno)
8979
8980 2002-07-30  John Levon  <levon@movementarian.org>
8981
8982         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8983
8984 2002-07-30  John Levon  <levon@movementarian.org>
8985
8986         * lyxserver.h:
8987         * lyxserver.C: remove I/O callback too
8988
8989 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8990
8991         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8992         log.
8993
8994 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8995
8996         * many files: strip,frontStrip -> trim,ltrim,rtrim
8997
8998 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8999
9000         * PrinterParams.h: remove extern containsOnly, and include
9001         support/lstrings.h instead.
9002
9003         * LaTeX.C (scanAuxFile): modify because of strip changes
9004         (deplog): ditto
9005         * buffer.C (makeLaTeXFile): ditto
9006         * bufferparams.C (writeFile): ditt
9007         * lyxfont.C (stateText): ditto
9008         * lyxserver.C (read_ready): ditto
9009         * vc-backend.C (scanMaster): ditto
9010
9011         * BufferView_pimpl.h: ws changes
9012
9013         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9014
9015 2002-07-26  André Pönitz <poenitz@gmx.net>
9016
9017         * kb_sequence.C: remove unnedred usings
9018
9019 2002-07-26  Juergen Vigna  <jug@sad.it>
9020
9021         * lyxfind.C (LyXReplace): we have to check better if the returned
9022         text is not of theLockingInset()->getLockingInset().
9023
9024 2002-07-25  Juergen Vigna  <jug@sad.it>
9025
9026         * lyxfind.C (LyXReplace): don't replace if we don't get the
9027         right LyXText.
9028
9029         * undo_funcs.C (createUndo): remove debugging code.
9030
9031 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9032
9033         * buffer.C (parseSingleLyXformat2Token): Use default placement
9034         when reading old floats.
9035
9036         * FloatList.C (FloatList): Change the default placement of figure
9037         and tables to "tbp".
9038
9039 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * MenuBackend.C: using std::max
9042
9043 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9044
9045         * MenuBackend.C (expandToc):
9046         (expandToc2): code moved from xforms menu frontend. It is now
9047         generic and TOCs are transparent to menu frontends.
9048
9049 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * toc.C (getTocList): protect against buf=0
9052
9053         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9054         Menu as first parameter. Now, this calls itself recursively to
9055         expand a whole tree (this will be useful for TOC handling)
9056         (expandFloatInsert): remove 'wide' version of floats
9057
9058         * MenuBackend.h (submenuname): returns the name of the submenu.
9059         (submenu): returns the submenu itself, provided it has been
9060         created by MenuBackend::expand
9061
9062 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9065         insets which have noFontChange == true. (bug #172)
9066
9067 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * BufferView_pimpl.C: add connection objects and use them...
9070         (Pimpl): here.
9071
9072 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9073
9074         * MenuBackend.C (expandLastfiles):
9075         (expandDocuments):
9076         (expandFormats):
9077         (expandFloatListInsert):
9078         (expandFloatInsert):
9079         (expand): split expand in parts
9080
9081 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * lyx_gui.C: use lyx_gui::exit()
9084
9085 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * LyXAction.C: show the failing pseudo action
9088
9089 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9090
9091         * buffer.C (readFile): Run the lyxconvert script in order to read
9092         old files.
9093
9094 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * LyXAction.C:
9097         * commandtags.h:
9098         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9099
9100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * LyXAction.C:
9103         * commandtags.h:
9104         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9105
9106 2002-07-22  Herbert Voss  <voss@lyx.org>
9107
9108         * lengthcommon.C:
9109         * lyxlength.[Ch]: add support for the vertical lengths
9110
9111 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * toc.[Ch]: std:: fixes
9114
9115 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9116
9117         * lyxrc.C: do not include lyx_main.h
9118
9119         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9120         for layouts
9121
9122         * lyxrc.C:
9123         * encoding.C:
9124         * bufferlist.C:
9125         * BufferView2.C: include "lyxlex.h"
9126
9127         * tabular.h:
9128         * bufferparams.h: do not #include "lyxlex.h"
9129
9130         * lyxtextclasslist.C (Add): remove method
9131         (classlist): renamed to classlist_
9132
9133         * paragraph_pimpl.C:
9134         * paragraph.C:
9135         * text2.C:
9136         * CutAndPaste.C:
9137         * bufferview_funcs.C:
9138         * bufferlist.C:
9139         * text.C:
9140         * LaTeXFeatures.C:
9141         * buffer.C:
9142         * toc.C (getTocList): use BufferParams::getLyXTextClass
9143
9144         * toc.C (getTocList): use InsetFloat::addToToc
9145
9146         * toc.[Ch]: new files, containing helper functions to handle table
9147         of contents
9148
9149         * lyxfunc.C (dispatch): no need to remove spaces around command
9150         given as a string
9151         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9152         first command of the sequence; it is not very clever, but I do not
9153         have a better idea, actually
9154
9155         * LyXAction.C (LookupFunc): make sure to remove space at the
9156         beginning and end of the command
9157
9158 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * MenuBackend.C (getMenubar): new method: return the menubar of
9161         this menu set
9162         (read): treat differently reading of menu and menubar (in
9163         particular, the menubar has no name now)
9164         (Menu::menubar): remove
9165
9166         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9167         saving is finished
9168
9169 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9170
9171         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9172         a bibitem inset in a RTL paragraph.
9173
9174 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9175
9176         * paragraph_pimpl.C: constify
9177
9178         * BufferView_pimpl.C:
9179         * LaTeX.C:
9180         * lyxfunc.C: fix dispatch in a nicer way
9181
9182 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9183
9184         * lyxfunc.C (dispatch):
9185         * BufferView_pimpl.C:
9186         * BufferView_pimpl.h:
9187         * BufferView.C:
9188         * BufferView.h: rename Dispatch() to dispatch()
9189
9190         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9191
9192         * lyxlayout.C (Read): honor DependsOn tag
9193
9194         * lyxlayout.[Ch] (depends_on): new method
9195
9196         * version.C.in: update lyx_docversion
9197
9198         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9199
9200         * paragraph.C (validate): remove from here...
9201         * paragraph_pimpl.C (validate): ... and move here
9202         (isTextAt): make it const
9203
9204         * buffer.C (getLists): ws cleanup
9205
9206 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * language.C (read): Use iso8859-1 encoding in latex_lang
9209         (this prevents LyX from crashing when using iso10646-1 encoding).
9210
9211 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9212
9213         * text2.C (toggleInset): if cursor is inside an inset, close the
9214         inset and leave cursor _after_ it
9215
9216 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9217
9218         * lyxfunc.C: move minibuffer completion handling out of here
9219
9220 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * BufferView_pimpl.C:
9223         * LaTeX.C: fix dispatch calls
9224
9225 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9226
9227         * text.C (drawChars): Fix Arabic text rendering.
9228
9229 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * LyXAction.C:
9232         * commandtags.h:
9233         * lyxfunc.C: remove message-push/pop
9234
9235         * lyxserver.C:
9236         * lyxfunc.h:
9237         * lyxfunc.C: rationalise some code by removing verboseDispatch
9238           in favour of a bool argument to dispatch()
9239
9240 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * lyx_main.C (init): make sure to read symlinks as absolute paths
9243
9244 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * lyxfunc.h:
9247         * lyxfunc.C: no need for commandshortcut to be a member
9248
9249 2002-07-15  André Pönitz <poenitz@gmx.net>
9250
9251         * converter.C: add support for $$s (scripts from lib/scripts dir)
9252         * lyx_main.C: white space
9253
9254 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * bufferlist.C:
9257         * lyxrc.h:
9258         * lyxrc.C: remove second exit confirmation
9259
9260 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * BufferView.h:
9263         * BufferView.C:
9264         * BufferView2.C:
9265         * BufferView_pimpl.h:
9266         * BufferView_pimpl.C:
9267         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9268
9269 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * MenuBackend.C (expand): add numeric shortcuts to document menu
9272
9273         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9274
9275 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * lyxfont.C (setLyXFamily):
9278         (setLyXSeries):
9279         (setLyXShape):
9280         (setLyXSize):
9281         (setLyXMisc):
9282         (lyxRead):
9283         * debug.C (value):
9284         * buffer.C (asciiParagraph): use ascii_lowercase
9285
9286 2002-07-15  Mike Fabian  <mfabian@suse.de>
9287
9288         * lyxlex_pimpl.C (search_kw):
9289         * lyxlex.C (getLongString):
9290         * converter.h (operator<):
9291         * converter.C (operator<):
9292         * buffer.C (parseSingleLyXformat2Token):
9293         (asciiParagraph):
9294         * ToolbarDefaults.C (read):
9295         * MenuBackend.C (checkShortcuts):
9296         (read):
9297         * LColor.C (getFromGUIName):
9298         (getFromLyXName): use the compare_ascii_no_case instead of
9299         compare_no_case, because in turkish, 'i' is not the lowercase
9300         version of 'I', and thus turkish locale breaks parsing of tags.
9301
9302 2002-07-16  Angus Leeming  <leeming@lyx.org>
9303
9304         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9305         now takes a Buffer const & argument.
9306
9307 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * BufferView.C (resize): check there's a buffer to resize
9310
9311 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * lyxfunc.C: remove dead code
9314
9315         * lyxserver.h:
9316         * lyxserver.C: use lyx_guii::set_read_callback
9317
9318 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9319
9320         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9321         an inset in a RTL paragraph.
9322
9323 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * lyxfunc.C: repaint after a font size update
9326
9327 2002-07-15  André Pönitz <poenitz@gmx.net>
9328
9329         * lyxlength.C: inBP should be able to return negative values
9330
9331 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9332
9333         * lyxfunc.C: use lyx_gui::update_fonts()
9334
9335 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * lyxfunc.C: use lyx_gui::update_color()
9338
9339 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * bufferlist.C:
9342         * lyxfunc.h:
9343         * lyxfunc.C:
9344         * lyxrc.h:
9345         * lyxrc.C: remove file->new asks for name option, and let
9346           buffer-new take an argument
9347
9348 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * BufferView_pimpl.C: remove unneeded extra repaint()
9351
9352 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9353
9354         * LyXAction.C: allow command-sequence with NoBuffer
9355
9356         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9357
9358 2002-07-10  Angus Leeming  <leeming@lyx.org>
9359
9360         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9361
9362 2002-07-09  Angus Leeming  <leeming@lyx.org>
9363
9364         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9365
9366 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * lengthcommon.h: whitespace
9369
9370         * lyxfunc.C: update scrollbar after goto paragraph
9371
9372         * lyxtext.h: factor out page break drawing, and fix it so
9373           page break/added space paints as selected nicely
9374
9375 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * BufferView_pimpl.C: add FIXMEs, clean up a little
9378
9379 2002-07-09  André Pönitz <poenitz@gmx.net>
9380
9381         * lyxfont.[Ch]: support for wasy symbols
9382
9383 2002-07-08  André Pönitz <poenitz@gmx.net>
9384
9385         * BufferView_pimpl.C: apply John's patch for #93.
9386
9387 2002-07-05  Angus Leeming  <leeming@lyx.org>
9388
9389         * BufferView_pimpl.C (buffer): generate previews if desired.
9390
9391         * LColor.h: add "preview" to the color enum.
9392
9393         * LColor.C (LColor): add a corresponding entry to the items array.
9394
9395         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9396         with this buffer.
9397
9398 2002-07-05  Angus Leeming  <leeming@lyx.org>
9399
9400         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9401         The body of the code is now in the method that is passed an ostream &
9402         rather than a file name.
9403         Pass an additional only_preamble parameter, useful for the forthcoming
9404         preview stuff.
9405
9406 2002-07-03  André Pönitz <poenitz@gmx.net>
9407
9408         * lyxfunc.C: simplify getStatus() a bit for math stuff
9409
9410 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9411
9412         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9413
9414 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * text.C (changeRegionCase): do not change case of all the
9417         document when region ends at paragraph end (bug #461)
9418
9419 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * paragraph.C (startTeXParParams):
9422         (endTeXParParams): add \protect when necessary
9423
9424 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * BufferView_pimpl.C (workAreaExpose): remove warning
9427
9428 2002-06-27  Angus Leeming  <leeming@lyx.org>
9429
9430         * Makefile.am: add lyxlayout_ptr_fwd.h.
9431
9432 2002-06-26  André Pönitz <poenitz@gmx.net>
9433
9434         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9435
9436 2002-06-25  Angus Leeming  <leeming@lyx.org>
9437
9438         * lyxfunc.C (dispatch): Comment out the call to
9439         grfx::GCache::changeDisplay. The method no longer exists now that the
9440         pixmap generation part of the graphics loader has been moved into
9441         InsetGraphics.
9442
9443 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9444
9445         * text2.C: layout as layout
9446
9447         * text.C: layout as layout
9448
9449         * tabular.C (OldFormatRead): layout as layout
9450
9451         * paragraph_pimpl.C (TeXDeeper): layout as layout
9452         (realizeFont): layout as layout
9453
9454         * paragraph.C (writeFile): layout as layout
9455         (validate): layout as layout
9456         (getFont): layout as layout
9457         (getLabelFont): layout as layout
9458         (getLayoutFont): layout as layout
9459         (breakParagraph): layout as layout
9460         (stripLeadingSpaces): layout as layout
9461         (getEndLabel): layout as layout
9462         (getMaxDepthAfter): layout as layout
9463         (applyLayout): layout as layout
9464         (TeXOnePar): layout as layout
9465         (simpleTeXOnePar): layout as layout
9466         (TeXEnvironment): layout as layout
9467         (layout): layout as layout
9468         (layout): layout as layout
9469
9470         * lyxtextclass.C (compare_name): new functor to work with
9471         shared_ptr, layout as layout
9472         (Read): layout as layout
9473         (hasLayout): layout as layout
9474         (operator): layout as layout
9475         (delete_layout): layout as layout
9476         (defaultLayout): layout as layout
9477
9478         * lyxlayout_ptr_fwd.h: new file
9479
9480         * lyxlayout.C (Read): layout as layout
9481
9482         * lyx_cb.C (MenuInsertLabel): layout as layout
9483
9484         * bufferlist.C (newFile): layout as layout
9485
9486         * buffer.C (readLyXformat2): layout as layout
9487         (parseSingleLyXformat2Token): layout as layout
9488         (insertStringAsLines): layout as layout
9489         (asciiParagraph): layout as layout
9490         (latexParagraphs): layout as layout
9491         (makeLinuxDocFile): layout as layout
9492         (simpleLinuxDocOnePar): layout as layout
9493         (makeDocBookFile): layout as layout
9494         (simpleDocBookOnePar): layout as layout
9495         (getLists): layout as layout
9496
9497         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9498
9499         * CutAndPaste.C (cutSelection): layout as layout
9500         (pasteSelection): layout as layout
9501         (SwitchLayoutsBetweenClasses): layout as layout
9502
9503         * BufferView_pimpl.C (Dispatch): layout as layout
9504         (smartQuote): layout as layout
9505
9506         * BufferView2.C (unlockInset): layout as layout
9507
9508 2002-06-24  André Pönitz <poenitz@gmx.net>
9509
9510         * lyxfunc.C: fix #487
9511
9512 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxrc.h:
9515         * lyxrc.C:
9516         * lyxfunc.C: remove display_shortcuts, show_banner
9517
9518 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * Buffer_pimpl.C: oops, update on resize
9521
9522 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * buffer.C:
9525         * converter.C:
9526         * exporter.C:
9527         * lyxfunc.C:
9528         * BufferView.h:
9529         * BufferView.C: use repaint()
9530
9531         * BufferView_pimpl.h:
9532         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9533           as it's a clearer description. Remove superfluous
9534           redraws.
9535
9536 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * text.C: fix bug 488. Not ideal, but getting
9539           getWord() to work properly for the insets that
9540           matter is more difficult ...
9541
9542 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * BufferView_pimpl.C:
9545         * LyXAction.C:
9546         * commandtags.h:
9547         * lyxfunc.C: remove the six million index lyxfuncs to just
9548           one, and DTRT (bug 458)
9549
9550 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * BufferView.h:
9553         * BufferView.C:
9554         * BufferView_pimpl.h:
9555         * BufferView_pimpl.C: clean up resize() stuff,
9556           and unnecessary updateScreen()s
9557
9558 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * BufferView.h:
9561         * BufferView.C:
9562         * BufferView_pimpl.h:
9563         * BufferView_pimpl.C:
9564         * lyxfind.h:
9565         * lyxfind.C:
9566         * minibuffer.C: remove focus management of workarea,
9567           not needed. Use screen's greyOut()
9568
9569 2002-06-17  Herbert Voss  <voss@lyx.org>
9570
9571         * converter.C: (convert) do not post a message, when converting
9572         fails, let the calling function decide what to do in this case
9573
9574 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * lyxfunc.C: tidy up a little
9577
9578 2002-06-16    <alstrup@diku.dk>
9579
9580         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9581         Got rid of FORMS_H_LOCATION include. Now we are
9582         GUII.
9583
9584 2002-06-15  LyX Development team  <lyx@rilke>
9585
9586         * buffer.[Ch] (sgmlOpenTag):
9587         (sgmlCloseTag): Added support for avoiding pernicious mixed
9588         content. Return number of lines written.
9589
9590         (makeLinuxDocFile):
9591         (makeDocBookFile): Fixed calls to sgml*Tag.
9592         Simple white space clean.
9593
9594         (simpleDocBookOnePar): Simple white space clean.
9595
9596         * tabular.[Ch] (docBook): Renamed to docbook and got another
9597         argument to related with the pernicious mixed content.
9598
9599         (docbookRow): Fixed calls for docbook inset method.
9600
9601 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9602
9603         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9604         so it's X11 independent.
9605
9606         * kb*.[Ch]: ditto.
9607
9608         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9609
9610 2002-06-15  Lyx Development team  <lyx@electronia>
9611
9612         * intl.h: Renamed getTrans to getTransManager.
9613
9614 2002-06-14  Angus Leeming  <leeming@lyx.org>
9615
9616         * Makefile.am: nuke forgotten stl_string_fwd.h.
9617
9618 2002-06-12  Angus Leeming  <leeming@lyx.org>
9619
9620         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9621
9622 2002-06-13  Angus Leeming  <leeming@lyx.org>
9623
9624         * LaTeX.C:
9625         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9626
9627 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9628
9629         * kbmap.C (getiso): add support for cyrillic and greek
9630
9631 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * BufferView.h:
9634         * BufferView.C:
9635         * BufferView_pimpl.h:
9636         * BufferView_pimpl.C: move bogus scrolling logic
9637           to xforms
9638
9639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * lyxfunc.C:
9642         * BufferView_pimpl.C: view->resize() change
9643
9644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * BufferView_pimpl.C: topCursorVisible
9647           prototype change
9648
9649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * Makefile.am:
9652         * lyx_gui.h:
9653         * lyx_gui.C: move to frontends/
9654
9655         * main.C:
9656         * lyx_main.h:
9657         * lyx_main.C: changes from above
9658
9659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9660
9661         * intl.C:
9662         * intl.h:
9663         * kbmap.C:
9664         * kbsequence.C:
9665         * lyx_cb.C:
9666         * lyx_main.C: minor tidy
9667
9668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * BufferView_pimpl.h:
9671         * BufferView_pimpl.C:
9672         * BufferView.h:
9673         * BufferView.C: make painter() const,
9674           remove dead code
9675
9676         * BufferView2.C: use screen() accessor
9677
9678         * lyx_main.h:
9679         * lyx_main.C: some minor cleanup
9680
9681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * BufferView_pimpl.h:
9684         * BufferView_pimpl.C: remove enter/leaveView,
9685           use workHeight()
9686
9687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * BufferView.h:
9690         * BufferView.C:
9691         * BufferView2.C:
9692         * BufferView_pimpl.h:
9693         * BufferView_pimpl.C: only construct screen once,
9694           rename
9695
9696         * lyxrc.C: remove pointless comment
9697
9698 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * BufferView.h:
9701         * BufferView.C: remove active() and belowMouse()
9702
9703         * BufferView_pimpl.h:
9704         * BufferView_pimpl.C: use workarea() not workarea_,
9705           and make it use a scoped_ptr instead
9706
9707 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyx_gui.C: add debug message on BadWindow
9710
9711 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * sp_spell.C: fdopen is not part of the C++ standard.
9714
9715         * paragraph.C (InsetIterator): use >= instead of ==
9716
9717 2002-06-07  Angus Leeming  <leeming@lyx.org>
9718
9719         Fixes needed to compile with Compaq cxx 6.5.
9720         * BufferView_pimpl.C:
9721         * DepTable.C:
9722         * buffer.C:
9723         * converter.C:
9724         * encoding.C:
9725         * lyx_gui.C:
9726         * lyx_main.C:
9727         * lyxtextclasslist.C:
9728         * minibuffer.C:
9729         * sp_spell.C:
9730         * tabular_funcs.C:
9731         * vc-backend.C:
9732         all c-library variables have been moved into namespace std. Wrap
9733         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9734
9735         * lyxlength.C:
9736         * tabular-old.C:
9737         * tabular.C:
9738         Add a using std::abs declaration.
9739
9740         * kbmap.h (modifier_pair):
9741         * paragraph.h (InsetTable, InsetList):
9742         * lyxfont.h (FontBits):
9743         type definition made public.
9744
9745         * bufferlist.C (emergencyWriteAll): the compiler complains that
9746         there is more than one possible lyx::class_fun template to choose from.
9747         I re-named the void specialisation as lyx::void_class_fun.
9748
9749         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9750
9751         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9752         the compiler is is unable to find tostr in write_attribute.
9753
9754 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * buffer.C (sgmlError): hide #warning
9757
9758 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * xtl/*: get rid of xtl, which is not in use anyway
9761
9762         * LyXAction.C (init):
9763         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9764         were unimplemented xtl experimentation
9765
9766 2002-06-04  André Pönitz <poenitz@gmx.net>
9767
9768         * lyxfunc.C: disable array operation on simple formulae
9769
9770 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * converter.C: constify a bit
9773
9774 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * lyx_gui.C: check xforms version correctly
9777
9778 2002-04-30  Herbert Voss  <voss@lyx.org>
9779
9780         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9781         "keep" option
9782
9783 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9786           attempt to register it with a VCS)
9787
9788 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9789
9790         * lyx_main.C (init): honor variables LYX_DIR_13x and
9791         LYX_USERDIR_13x
9792
9793 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * buffer.h:
9796         * buffer.C:
9797         * lyx_main.C: fix a crash on bad command line,
9798           and give a useful exit status on error
9799
9800         * lyxfunc.C (doImport): allow -i lyx to work
9801
9802 2002-03-30  André Pönitz <poenitz@gmx.net>
9803
9804         * lyxfunc.C: mathed font changes
9805
9806 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * LaTeX.C:
9809         * importer.h:
9810         * importer.C:
9811         * lyx_sty.h:
9812         * lyx_sty.C:
9813         * lyxlex.C:
9814         * lyxrow.h:
9815         * lyxtext.h:
9816         * paragraph.h:
9817         * paragraph.C:
9818         * texrow.h:
9819         * texrow.C:
9820         * text.C:
9821         * trans_mgr.h: srcdocs, and some minor cleanups
9822
9823 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9826         call getFont all the time)
9827
9828 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9829
9830         * switch from SigC signals to boost::signals
9831
9832 2002-05-29  André Pönitz <poenitz@gmx.net>
9833
9834         * paragraph_pimpl.C (getChar): don't call size() too often...
9835
9836 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * paragraph_pimpl.C (insertChar): do not try to update tables when
9839         appending (pos == size())
9840
9841         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9842         in order to reduce drastically the number of comparisons needed to
9843         parse a large document
9844
9845 2002-05-29  André Pönitz <poenitz@gmx.net>
9846
9847         * text.C:
9848         * text2.C:
9849         * lyxtextclass.C:
9850         * sp_pspell.h:
9851         * textclasslist.[Ch]:
9852         * sp_ispell.h: whitespace change
9853
9854 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9857         lyxaction directly now.
9858
9859 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * trans.C:
9862         * lyxfont.C:
9863         * lyxvc.C: remove unused headers
9864
9865 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * Makefile.am:
9868         * buffer.h:
9869         * undostack.h:
9870         * undostack.C:
9871         * undo_funcs.h:
9872         * undo_funcs.C: some cleanups. Use shared_ptr
9873           and a template for the undo stacks.
9874
9875 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * BufferView_pimpl.h:
9878         * BufferView_pimpl.C:
9879         * kbmap.h:
9880         * kbmap.C:
9881         * kbsequence.h:
9882         * kbsequence.C:
9883         * lyxfunc.h:
9884         * lyxfunc.C:
9885         * text2.C: use key_state/mouse_state
9886
9887 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9890         and LSubstring
9891
9892         * chset.C: change include order
9893         (loadFile): use boost regex and get rid of LRegex and LSubstring
9894
9895         * Makefile.am (BOOST_LIBS): new variable
9896         (lyx_LDADD): use it
9897
9898         * LaTeX.C: change include order.
9899         (scanAuxFile): use boost regex and get rid of LRegex and
9900         LSubstring
9901         (deplog): ditto
9902
9903 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * ColorHandler.h:
9906         * ColorHandler.C:
9907         * FontInfo.h:
9908         * FontInfo.C: moved to frontends/xforms/
9909
9910         * FontLoader.h:
9911         * FontLoader.C: moved into frontends for GUIIzation
9912
9913         * Makefile.am:
9914         * lyx_gui.C:
9915         * lyxfont.C:
9916         * lyxfunc.C: changes from above
9917
9918 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * LColor.C: remove spurious X include
9921
9922         * BufferView_pimpl.C:
9923         * Makefile.am:
9924         * font.h:
9925         * font.C:
9926         * text.C:
9927         * text2.C: move font metrics to frontends/
9928
9929 2002-05-24  Juergen Vigna  <jug@sad.it>
9930
9931         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9932         setting the undo_cursor.
9933
9934         * ParagraphParameters.h: include local includes first.
9935
9936 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * BufferView_pimpl.C:
9939         * BufferView_pimpl.h:
9940         * Makefile.am:
9941         * WorkArea.h:
9942         * WorkArea.C:
9943         * screen.C: move WorkArea into frontends/
9944
9945         * lyxscreen.h:
9946         * screen.C:
9947         * text.C:
9948         * BufferView.C:
9949         * BufferView2.C: move LyXScreen into frontends/
9950
9951         * lyxlookup.h:
9952         * lyxlookup.C:
9953         * lyx_gui.C: move lyxlookup into frontends/xforms/
9954
9955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * BufferView2.C:
9958         * BufferView_pimpl.C:
9959         * FontLoader.C:
9960         * LyXView.h:
9961         * LyXView.C:
9962         * Makefile.am:
9963         * WorkArea.C:
9964         * XFormsView.h:
9965         * XFormsView.C:
9966         * buffer.C:
9967         * bufferlist.C:
9968         * bufferview_funcs.C:
9969         * converter.C:
9970         * importer.C:
9971         * lyx_cb.C:
9972         * lyx_gui.C:
9973         * lyx_main.C:
9974         * lyx_find.C:
9975         * lyxfunc.C:
9976         * lyxvc.C:
9977         * minibuffer.C:
9978         * text.C:
9979         * text2.C:
9980         * trans.C:
9981         * vc-backend.C: move LyX/XFormsView into frontends/
9982
9983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * Makefile.am:
9986         * PainterBase.C:
9987         * PainterBase.h:
9988         * Painter.C:
9989         * Painter.h:
9990         * WorkArea.C:
9991         * WorkArea.h:
9992         * screen.C:
9993         * tabular.C:
9994         * text.C:
9995         * text2.C: move Painter to frontends/
9996
9997 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9998
9999         * buffer.C: comment out some some code that depend upon lyx_format
10000         < 220
10001
10002         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10003         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10004
10005         * buffer.h (NO_COMPABILITY): turn off compability
10006
10007         * ColorHandler.C: include scoped_array.hpp
10008
10009         * font.C: Use more specific smart_ptr header.
10010         * Painter.C: ditto
10011         * gettext.C: ditto
10012         * ShareContainer.h: ditto
10013         * lyx_main.h: ditto
10014         * kbmap.h: ditto
10015         * FontInfo.h: ditto
10016         * BufferView_pimpl.h: ditto
10017         * ColorHandler.h: ditto
10018
10019         * kbmap.C (defkey): change call to shared_ptr::reset
10020
10021 2002-05-21  Juergen Vigna  <jug@sad.it>
10022
10023         * buffer.C (insertErtContents): fix to insert ert asis if it is
10024         non empty. Skip it completely if it contains only whitespaces.
10025
10026 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * BufferView_pimpl.C:
10029         * BufferView2.C: clear selection on paste (bug 393)
10030
10031 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10032
10033         * DepTable.C: include ctime
10034
10035 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10038
10039 2002-05-14  Juergen Vigna  <jug@sad.it>
10040
10041         * text.C (breakParagraph): fixed function to honor the keepempty
10042         layout in the right maner and also to permit the right breaking
10043         algorithm on empty or non empyt keepempty paragraphs.
10044
10045         * paragraph.C (breakParagraph): we have to check also if the par
10046         is really empty (!size()) for isempty otherwise we do the wrong
10047         paragraph break.
10048
10049 2002-05-10  Juergen Vigna  <jug@sad.it>
10050
10051         * buffer.[Ch] : The following are only changes to the ert
10052         compatibility read reading old LaTeX layout and font stuff and
10053         convert it to ERTInsets.
10054
10055         * buffer.h: added isErtInset().
10056
10057         * buffer.C (struct ErtComp): add a fromlayout bool to check
10058         if we're inside a LaTeX layout.
10059         (isErtInset): new helper function.
10060         (insertErtContents): look for other ert insets before this one
10061         and insert the contents there, so that we don't have subsequent
10062         ERT insets with nothing between them. This way we create only one
10063         inset with multiple paragraphs. Also check if we don't insert only
10064         spaces ' ' as they are ignored anyway afterwards in the .tex file
10065         so if we have only spaces we will ignore this latex part in the
10066         new file.
10067         (parseSingleLyXformat2Token \\layout): better compatibility when
10068         reading layout-latex stuff.
10069         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10070         language tag.
10071         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10072         stuff after reading the inset only get the information back from
10073         the stack.
10074
10075 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10076
10077         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10078
10079         * LaTeXFeatures.C (getBabelOptions): New method.
10080
10081 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10082
10083         * BufferView_pimpl.C (Dispatch): work around missing argument for
10084         'layout'
10085
10086 2002-05-08  Juergen Vigna  <jug@sad.it>
10087
10088         * text.C (leftMargin): handle paragraph leftindent.
10089
10090         * paragraph.C (writeFile): write the new \\leftindent tag.
10091         (validate): handle leftindent code.
10092         (TeXEnvironment): handle paragraphleftindent code again.
10093
10094         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10095
10096         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10097         for paragrap_extra indent code and new token \\leftindent.
10098         (latexParagraphs): handle the leftindent as environment.
10099
10100         * ParameterStruct.h: added leftindent support.
10101
10102         * ParagraphParameters.C (leftIndent): added support functions for
10103         the paragraph left indent.
10104
10105         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10106         more appropriate.
10107
10108 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10109
10110         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10111         inside insetERT.
10112
10113         * text.C (computeBidiTables): No bidi in insetERT.
10114
10115         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10116         in RTL documents.
10117
10118 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * version.C.in: pre 5
10121
10122 2002-05-02  José Matos  <jamatos@fep.up.pt>
10123         * buffer.C (makeDocBookFile): white space changes, add newline to
10124         command styles.
10125         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10126
10127         * tabular.C (docBook): fix typo.
10128
10129 2002-05-03  Juergen Vigna  <jug@sad.it>
10130
10131         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10132         change in LyXText as we can not be sure it was not freed.
10133         (drawOneRow): remove unused code.
10134
10135         * text.C (drawInset): redo the calculation of the need_break_row as
10136         it could have a row which was already freed.
10137         (draw): look at the return value of drawInset and return false if
10138         it also returned false.
10139         (paintRowText): look at the return value of draw and return false if
10140         it also returned false.
10141
10142         * lyxtext.h: added bool return type to drawInset() and draw() so that
10143         if we have a change in the row so that the rowbreak has to be redone
10144         we abort drawing as it will be called again.
10145
10146 2002-05-02  Juergen Vigna  <jug@sad.it>
10147
10148         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10149         a change in the maintext also if we're inside an inset.
10150         (Dispatch): set the cursor again after a break line and after the
10151         screen has been updated as it could be we're in a different row.
10152
10153         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10154         to set the cursor behind the pargraph with > size().
10155         (setCursor): check also for the same paragraph when checking where
10156         to put the cursor if we have a NFR inset.
10157
10158         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10159         parts of layout read further up as it still was in the wrong
10160         position.
10161
10162 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10163
10164         * screen.C (drawFromTo): change sine fullRebreak always return
10165         true.
10166
10167         * buffer.C (parseSingleLyXformat2Token): reindent some
10168
10169         * BufferView_pimpl.C (update): change since fullRebreak always
10170         return true.
10171         (Dispatch): git rid of the last hardcoded "Standard"s.
10172
10173 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10174
10175         * text2.[Ch] (fullRebreak): make it return void now that we always
10176         returned true.
10177
10178 2002-04-30  Juergen Vigna  <jug@sad.it>
10179
10180         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10181         ert compatibility check for "latex" layout.
10182
10183 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10186         minipages: use col% instead of p%, and also use the current font.
10187         (makeLaTeXFile): Fix use babel condition.
10188         (parseSingleLyXformat2Token): Correct font when reading old floats.
10189
10190 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10191
10192         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10193         inserting list of floats.
10194
10195 2002-04-25  Herbert Voss  <voss@lyx.org>
10196
10197         * MenuBackend.C (expand): don't add the graphics extensions to the
10198         export menu
10199
10200 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10203         non-existing layout, do not complain if it was the default layout
10204         of the original class (bug #342)
10205
10206 2002-04-24  Juergen Vigna  <jug@sad.it>
10207
10208         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10209         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10210
10211 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10212
10213         * buffer.C (getBibkeyList): If using \bibliography, return the
10214         option field with the reference itself. Enables us to provide natbib
10215         support when using \bibliography.
10216
10217 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10218
10219         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10220
10221         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10222         natbib is provided by the LaTeX class.
10223
10224 2002-04-23  Juergen Vigna  <jug@sad.it>
10225
10226         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10227         Wakeup functions.
10228
10229         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10230
10231 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10234
10235         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10236         ensuremath around textordmasculine, textordfeminine and
10237         textdegree.
10238
10239 2002-04-19  Juergen Vigna  <jug@sad.it>
10240
10241         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10242         reinitializing the buffer otherwise row-dimensions may be wrong.
10243         (update): reset also the selection cursors if they do exits otherwise
10244         their x/y positions may be wrong.
10245
10246         * text2.C (cursorDown): don't enter the inset if we came from a row
10247         above and are one row over the inset.
10248
10249         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10250         really leaving an inset.
10251
10252 2002-04-18  Juergen Vigna  <jug@sad.it>
10253
10254         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10255         of the selected paragraph does not have the selected layout also if
10256         the last one had!
10257
10258         * text2.C (setLayout): fixed bug which did not change last selected
10259         paragraph.
10260
10261         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10262         changed the read and substituted \\end_float with \\end_inset!
10263
10264         * BufferView_pimpl.C (cursorPrevious):
10265         (cursorNext): fixed to make it work with rows heigher than the work
10266         area without moving the cursor only the draw of the row.
10267         (workAreaMotionNotify): fix jumping over high rows.
10268
10269 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10270
10271         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10272         Ressler.
10273
10274 2002-04-16  Juergen Vigna  <jug@sad.it>
10275
10276         * text2.C (setCursor): set also the irow().
10277         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10278         (cursorUp):
10279         (cursorDown): support for locking an inset if the x_fix value goes
10280         inside it. That way I can transverse insets too with cursor up/down.
10281
10282         * lyxrow.h: added irow helper function same as other (i) functions.
10283
10284         * BufferView_pimpl.C (cursorPrevious):
10285         (cursorNext): fixed for insets!
10286
10287 2002-04-15  Juergen Vigna  <jug@sad.it>
10288
10289         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10290         position otherwise it is wrong in some cases.
10291
10292         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10293         inside the inset before the call.
10294
10295 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10296
10297         * buffer.[Ch] (getBibkeyList): make it const.
10298
10299 2002-04-12  Juergen Vigna  <jug@sad.it>
10300
10301         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10302
10303         * text2.C (getCursorX): new helper function
10304         (setCursor): compute also ix_
10305         (setCursorFromCoordinates): set also ix.
10306
10307         * lyxcursor.h: added ix_ and helper functions.
10308
10309         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10310
10311         * buffer.C (insertStringAsLines): dont break paragraph if the this
10312         paragraph is inside an inset which does not permit it!
10313
10314         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10315         also with no chars on this paragraph.
10316         (paintRowText): only paint stuff if it's inside the workarea!
10317
10318         * paragraph.C (breakParagraph): honor keepempty flag and break the
10319         paragraph always below not above.
10320
10321         * BufferView2.C (unlockInset): update the paragraph layout on inset
10322         unlock as we changed paragraph in such a case.
10323
10324         * lyxfind.C (LyXFind): clear the former selection if not found!
10325
10326         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10327         again called in insertChar().
10328
10329         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10330         an inset which uses the whole row!
10331         (rightMargin): ditto.
10332         (insertChar): force a rebreak if we inserted an inset!
10333
10334 2002-03-28  Herbert Voss  <voss@lyx.org>
10335
10336         * lyxlength.[Ch]: add inBP() to get the right PS-point
10337         units (BigPoint). With inPixels we have rounding errors
10338
10339 2002-04-11  Juergen Vigna  <jug@sad.it>
10340
10341         * text2.C (setCursorFromCoordinates): set iy to the right value.
10342         (setCursor): add check if row->previous exists!
10343
10344         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10345         an old float_type as this was the case in the old code!
10346
10347         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10348
10349         * BufferView2.C (showLockedInsetCursor): use iy
10350         (fitLockedInsetCursor): ditto
10351
10352         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10353         locked insets as there we have the right value now.
10354
10355         * lyxcursor.C: added iy_ variable and iy functions to set to the
10356         baseline of cursor-y of the locked inset.
10357
10358         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10359         (setCursor): fixed for insets which need a full row.
10360
10361         * text.C (rowLastPrintable): don't ignore the last space when before
10362         an inset which needs a full row.
10363         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10364         as last character of a row when before a inset which needs a full row.
10365
10366 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * version.C.in: update date
10369
10370         * text2.C (fullRebreak): try to always return true and see what
10371         happens...
10372
10373 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * MenuBackend.C (expand): use Floating::listName
10376
10377         * FloatList.C (FloatList): add listName argument to the built-in
10378         floats
10379
10380         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10381         text associated with the float.
10382
10383 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10386
10387 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10388
10389         * ShareContainer.h: add a couple of missing typenames.
10390
10391 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10392
10393         * lyxrc.C (getDescription): use _() correctly rather than N_().
10394
10395 2002-03-28  Herbert Voss  <voss@lyx.org>
10396
10397         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10398         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10399
10400 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10403         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10404
10405 2002-03-29  Juergen Vigna  <jug@sad.it>
10406
10407         * lyxfunc.C (dispatch): add a missing fitCursor call.
10408
10409         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10410         it was scrolled by a cursor move, so return the bool status.
10411
10412         * BufferView.C (fitCursor): return the bool flag also to the outside
10413         world as this is needed.
10414
10415         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10416
10417         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10418         call the edit() as it is not needed (and wrong) IMO.
10419         (workAreaButtonPress): set the screen_first variable before evt.
10420         unlock the inset as this may change screen_first and then we have
10421         a wrong y position for the click!
10422
10423 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * MenuBackend.C (expand): another translation that I missed
10426
10427 2002-03-28  Juergen Vigna  <jug@sad.it>
10428
10429         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10430
10431         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10432
10433 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10436
10437         * MenuBackend.C (expand): fix export/view/update when there is no
10438         document open.
10439
10440 2002-03-27  Herbert Voss  <voss@lyx.org>
10441
10442         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10443         and text%
10444
10445 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * bufferview_funcs.C (currentState): only show paragraph number
10448         for is DEVEL_VERSION is set.
10449
10450         * lyxfunc.C (dispatch): put warning in INFO channel
10451
10452         * MenuBackend.C (expand): translate the name of floats
10453
10454         * FloatList.C (FloatList): mark the float names for translation
10455
10456         * converter.C (convert): use LibScriptSearch
10457
10458 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * MenuBackend.C (defaults): fix default menu (we might as well get
10461         rid of it...)
10462
10463 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10466         directory.
10467
10468 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * lyxvc.C: reorder includes.
10471
10472 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10475           properly
10476
10477 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * CutAndPaste.C: change layouts earlier on paste
10480           to avoid crashing when calling getFont()
10481
10482 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10485         irritating #error.
10486
10487 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10488
10489         * WorkArea.C: remove 'Pending' debug message.
10490
10491         * most files: ws cleanup
10492
10493         * buffer.[Ch]: ws changes
10494
10495         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10496
10497 2002-03-21  Juergen Vigna  <jug@sad.it>
10498
10499         * tabular.C (SetMultiColumn): collapse also the contents of the
10500         cells and set the last border right. Added a Buffer const * param.
10501
10502 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10503
10504         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10505         linking or not.
10506
10507 2002-03-19  Juergen Vigna  <jug@sad.it>
10508
10509         * text2.C (clearSelection): reset also xsel_cache.
10510
10511         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10512         where it needs to be called (John tells us to do so too :)
10513         (selectionLost): reset sel_cache.
10514
10515         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10516
10517 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10518
10519         * text2.C (setCursorIntern): put debuging code in INSETS channel
10520
10521 2002-03-19  André Pönitz <poenitz@gmx.net>
10522
10523         * lyxfunc.C: tiny whitespace change
10524
10525 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * ToolbarDefaults.C (init):
10528         * LyXAction.C (init):
10529         * commandtags.h:
10530         * BufferView_pimpl.C (Dispatch):
10531         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10532
10533 2002-03-19  Allan Rae  <rae@lyx.org>
10534
10535         * exporter.C (Export): removeAutoInsets before doing anything else.
10536         While I've just introduced a dependency on BufferView this really is
10537         the best place to clean the buffer otherwise you need to cleanup in
10538         a dozen places before calling export or cleanup in a dozen functions
10539         that export calls.
10540
10541         * converter.C (runLaTeX):
10542         (scanLog): Better handling of removeAutoInsets and screen updates.
10543
10544         * lyxfunc.C (dispatch): small whitespace changes
10545
10546 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * WorkArea.C (C_WorkAreaEvent): return a value.
10549         (event_cb): return 1 if we handled the event, 0 otherwise.
10550
10551         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10552
10553 2002-03-18  Juergen Vigna  <jug@sad.it>
10554
10555         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10556         (GetAdditionalWidth): ditto.
10557         (RightLine): ditto.
10558         (LeftLine): ditto.
10559
10560         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10561         inset if we're there actually (probably not used right now but this
10562         is the direction to go for unifying code).
10563         (paste): disable code to clear the selection.
10564
10565         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10566         inside an InsetText and move the check further up as it is in the
10567         wrong place.
10568
10569         * text2.C (pasteSelection): set a selection over the pasted text.
10570
10571 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10572
10573         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10574         and libgraphics to build on Cygwin.
10575
10576 2002-03-15  Juergen Vigna  <jug@sad.it>
10577
10578         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10579         inserting an Inset into the paragraph. I know this is not the best
10580         fix but we already use current_view in CutAndPaste so we will remove
10581         all of it's using at the same time.
10582
10583         * buffer.C (sgmlError): deactivated function till it is rewritten in
10584         the right mode, now it can create problems.
10585
10586         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10587         before accessing it.
10588
10589 2002-03-14  Juergen Vigna  <jug@sad.it>
10590
10591         * undo_funcs.C (textHandleUndo): do the right thing when updating
10592         the inset after the undo/redo.
10593
10594         * text2.C (setCursor): just some testcode for #44 not ready yet.
10595
10596         * undo_funcs.C (textHandleUndo): set the next() and previous()
10597         pointers of the paragraph to 0 before deleting otherwise we have
10598         problems with the Paragraph::[destructor].
10599
10600         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10601         on a paragraph insertion.
10602
10603 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * buffer.C (asciiParagraph): use += operator for char append to
10606         string.
10607
10608         * paragraph.C (getFontSettings): compare >= not just >
10609         (highestFontInRange): ditto
10610         (setFont): ditto
10611
10612 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * paragraph.C: change several algorithm to be more appripriate for
10615         the problem domain. This is lookip in FontList and in the InsetList.
10616
10617 2002-03-13  André Pönitz <poenitz@gmx.net>
10618
10619         * commandtags.h:
10620         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10621
10622 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10623
10624         * commandtags.h:
10625         * LyXAction.C:
10626         * lyxfunc.C:
10627         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10628
10629 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * Painter.C (display): anon helper function, adjust code for this
10632         change.
10633         (pixmap): remove function.
10634
10635         * Painter.h: remove private display variable.
10636
10637         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10638
10639 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10640
10641         * WorkArea.[Ch]: remove figinset_canvas cruft.
10642
10643 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10644
10645         * lyxtextclass.C (operator): add one item cache optimization.
10646
10647         * bufferlist.h: doxy changes
10648
10649         * bufferlist.C: ws changes
10650
10651         * DepTable.[Ch] (ext_exist): place const in the right spot.
10652
10653         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10654         call resizeInsets.
10655         (workAreaExpose): call resizeInsets when the with BufferView changes.
10656         (Dispatch): adjust for protectedBlank removal
10657         (specialChar): call updateInset if the insert went ok.
10658
10659         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10660         specialChar instead.
10661
10662         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10663
10664         * BufferView.h: doxy change
10665
10666         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10667
10668         * lyxtextclass.C (operator[]): remove non-const version
10669         (defaultLayout): remove non-const version
10670
10671 2002-03-12  Juergen Vigna  <jug@sad.it>
10672
10673         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10674         did resize the LyXText too.
10675
10676         * buffer.C (readLyXformat2): set layout information on newly allocated
10677         paragraphs.
10678
10679         * tabular.C (OldFormatRead): set layout information on the paragraph.
10680
10681 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10682
10683         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10684
10685 2002-03-11  Juergen Vigna  <jug@sad.it>
10686
10687         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10688         plainly wrong.
10689         (resizeCurrentBuffer): force also the insets to resize themselfes.
10690         (moveCursorUpdate): fixed up for InsetText.
10691
10692 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * commandtags.h:
10695         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10696         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10697         value of Dialogs::tooltipsEnabled().
10698         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10699
10700 2002-03-08  Juergen Vigna  <jug@sad.it>
10701
10702         * BufferView_pimpl.C (updateInset): update inset inside inset also
10703         if it isn't inside theLockingInset().
10704
10705 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * buffer.C (asciiParagraph): redo some of the word and line length
10708         handling.
10709         (getLists): look for Caption instead of caption.
10710
10711 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10712
10713         * buffer.C (Buffer): initialize niceFile to true
10714         (makeLaTeXFile):
10715         (makeLinuxDocFile):
10716         (makeDocBookFile): make sure niceFile is true on exit
10717
10718 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10721
10722 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10723
10724         * LyXSendto.C: remove.
10725         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10726         * lyx_gui.C: remove now-redundant comment.
10727         * ColorHandler.h: remove forward declaration of class WorkArea.
10728         * lyxfunc.C: remove #include "WorkArea.h".
10729
10730 2002-03-07  Juergen Vigna  <jug@sad.it>
10731
10732         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10733         got moved away with the DEPM and also set the inset_owner always
10734         right which before could have been omitted.
10735
10736 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10739         wanted layout is not found.
10740
10741 2002-03-07  Juergen Vigna  <jug@sad.it>
10742
10743         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10744
10745 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10746
10747         * paragraph.C (breakParagraph): use default layout not layout of
10748         prev paragraph.
10749         (Paragraph): clear ParagraphParameters.
10750
10751 2002-03-06  Juergen Vigna  <jug@sad.it>
10752
10753         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10754         otherwise it would not be a valid lenght. Fixed a special case in
10755         the minipage compatibility read where we end the document with a
10756         minipage.
10757
10758         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10759         was set as it could be 0 for InsetTexts first entry.
10760
10761 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * paragraph.C (writeFile): if layout is empty write out
10764         defaultLayoutName().
10765
10766         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10767         file without named layout we set layout to defaultLayoutName().
10768
10769 2002-03-06  Juergen Vigna  <jug@sad.it>
10770
10771         * CutAndPaste.C (copySelection): set layout for new paragraph.
10772
10773         * text.C (prepareToPrint): leave ERT inset left aligned
10774         (leftMargin): don't indent paragraphs inside ERT insets
10775
10776 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10777
10778         * paragraph.C (breakParagraph): dont call clear do the work manually
10779
10780         * paragraph.[Ch] (clear): remove function
10781
10782 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10783
10784         * paragraph.C (Paragraph): dont call clear, the work has already
10785         been done.
10786
10787         * lyxtextclass.C (operator): assert if n is empty
10788
10789         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10790         work manually instead.
10791
10792 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * BufferView_pimpl.C: protect selectionLost against text == 0
10795
10796 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10797
10798         * text.C (breakParagraph): fix a setting layout to '0' problem.
10799
10800 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10801
10802         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10803         final location of file, for the included files, and graphics.
10804
10805 2002-03-05  Juergen Vigna  <jug@sad.it>
10806
10807         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10808
10809 2002-03-04  Juergen Vigna  <jug@sad.it>
10810
10811         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10812
10813         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10814         last column of multicolumn cells.
10815         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10816
10817 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10818
10819         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10820         file if it doesn't go to a temporary file.
10821
10822         * buffer.C (sgmlOpenTag):
10823         (sgmlCloseTag):  remove extra newline insertion.
10824
10825 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * text.C (getRowNearY): comment out debug msg
10828
10829 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10830
10831         * text2.C: first -> first_y
10832
10833         * text.C (getRowNearY): add some attemts at a possible
10834         optimization, not working.
10835
10836         * tabular.[Ch]: add BufferParams to several function so that newly
10837         created paragraph can be initialized to he default layotu for the
10838         buffers textclass.
10839
10840         * tabular-old.C (ReadOld): add buf->params to call of Init
10841
10842         * screen.C: rename text->first to text->first_y
10843
10844         * paragraph.C (breakParagraph): always set layout in the broken
10845         paragraph
10846
10847         * lyxtextclass.C (Read): remove lowercase
10848         (hasLayout): ditto
10849         (operator): ditto
10850         (delete_layout): ditto
10851
10852         * lyxtext.h: rename first -> first_y
10853
10854         * lyxlayout.C (Read): remove lowercase
10855         (name): ditto
10856         (setName): ditto
10857         (obsoleted_by): ditto
10858
10859         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10860
10861         * buffer.C (insertErtContents): add params are to InsetERT
10862         (parseSingleLyXformat2Token): add code to check if a paragraphs
10863         layout really exist.
10864         (parseSingleLyXformat2Token): add params to several inset
10865         constructors
10866         (asciiParagraph): remove lowercase, do the layout comparisons with
10867         no_case
10868
10869         * BufferView_pimpl.C (cursorNext): first -> first_y
10870         (resizeCurrentBuffer): first -> first_y
10871         (updateScrollbar): first -> first_y
10872         (scrollCB): first -> first_y
10873         (workAreaMotionNotify): first -> first_y
10874         (workAreaButtonPress): first -> first_y
10875         (checkInsetHit): first -> first_y
10876         (cursorPrevious): first -> first_y
10877         (cursorNext): first -> first_y
10878         (Dispatch): add buffer_->params to severl inset contructors
10879
10880 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * lyxlayout.C (Read): remove some debug info that I forgot.
10883
10884         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10885         clean up the code slightly.
10886         (makeLinuxDocFile): ditto
10887         (makeDocBookFile): ditto
10888
10889         * text2.C: layout as string
10890
10891         * text.C: layout as string
10892
10893         * paragraph_pimpl.C: layout as string
10894
10895         * paragraph.[Ch]: layout as string
10896
10897         * lyxtextclasslist.[Ch]: layout as string
10898
10899         * lyxtextclass.[Ch]: layout as string
10900
10901         * lyxtext.h: layout as string
10902
10903         * lyxlayout.[Ch]: layout as string
10904
10905         * lyx_cb.C: layout as string
10906
10907         * bufferview_funcs.C: layout as string
10908
10909         * bufferparams.C: layout as string
10910
10911         * buffer.C: layout as string
10912
10913         * LyXView.[Ch]: layout as string
10914
10915         * LaTeXFeatures.[Ch]: layout as string
10916
10917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10918
10919         * BufferView_pimpl.C: change current_layout to string, remove
10920         lyx::layout_type.
10921         (Dispatch):
10922         (smartQuote):
10923         (insertInset):
10924         (workAreaButtonRelease): layout as string
10925
10926         * BufferView2.C (unlockInset): adjust
10927
10928         * vspace.C (asLatexCommand): use an explict temp variable.
10929
10930 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * Makefile.am: use FRONTEND_*
10933
10934 2002-03-01  Juergen Vigna  <jug@sad.it>
10935
10936         * tabular.C (SetWidthOfMulticolCell): changed to something better
10937         I hope but still work in progress.
10938         (recalculateMulticolumnsOfColumn): renamed function from
10939         recalculateMulticolCells as it is more appropriate now.
10940         (SetWidthOfCell): calculate multicols better.
10941
10942 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10945
10946         * lyxfunc.C (processKeySym): print sequence also if it is
10947         `deleted' (complete)
10948
10949         * kbsequence.C (print): print sequence even if it is deleted
10950         (complete would be a better word, actually).
10951
10952         * lyxfunc.C (dispatch): print complete options after a prefix key
10953
10954         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10955
10956 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10957
10958         * text2.C (setCharFont): eliminate setCharFont code duplication.
10959
10960 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10963         LFUN_TABULAR_FEATURE (bug #177)
10964
10965 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10966
10967         * Makefile.am: remove figure.h
10968
10969 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10970
10971         * Bufferview_pimpl.C:
10972         * CutAndPasteC:
10973         * LaTeX.C:
10974         * LyXSendto.C:
10975         * buffer.C:
10976         * bufferlist.C:
10977         * converter.C:
10978         * language.C:
10979         * lyxfunc.C:
10980         * lyxvc.C:
10981         * paragraph.C:
10982         * text.C:
10983         * text2.C: remove #include "lyx_gui_misc.h".
10984
10985         * LaTeX.C: added #include <cstdio>
10986
10987 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10988
10989         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10990         that the paragraph following this one can have.
10991
10992         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10993
10994         * vspace.C (asLatexCommand): fix bogus gcc warning
10995
10996         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10997
10998 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10999
11000         * text2.C (setLayout): get rid of redundant code
11001
11002 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11003
11004         * text2.C (incDepth): make sure depth cannot be increased beyond
11005         reasonable values.
11006
11007 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11008
11009         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11010         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11011
11012         * PainterBase.h (image):
11013         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11014         a LyXImage const *.
11015
11016 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * BufferView.C:
11019         * BufferView.h:
11020         * BufferView_pimpl.C:
11021         * BufferView_pimpl.h:
11022         * LaTeXFeatures.C:
11023         * LyXAction.C:
11024         * LyXView.C:
11025         * Makefile.am:
11026         * UpdateList.h:
11027         * UpdateList.C:
11028         * buffer.C:
11029         * figure.h:
11030         * figureForm.C:
11031         * figureForm.h:
11032         * figure_form.C:
11033         * figure_form.h:
11034         * lyx_cb.C:
11035         * lyx_gui.C:
11036         * lyx_gui_misc.C:
11037         * lyxfunc.C:
11038         * sp_base.h:
11039         * sp_ispell.h:
11040         * sp_pspell.h:
11041         * sp_spell.C: remove fig inset, and the crap house of
11042           cards that follows it
11043
11044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * Makefile.am:
11047         * lyxserver.C:
11048         * os2_defines.h:
11049         * os2_errortable.h:
11050         * nt_defines.h: move .h into support/
11051
11052         * vms_defines.h: remove
11053
11054         * WorkArea.C: add space in debug output
11055
11056         * text2.C:
11057         * paragraph.C:
11058         * buffer.C: add WITH_WARNINGS
11059
11060         * vc-backend.h:
11061         * vc-backend.C:
11062         * bufferlist.C: s/retrive/retrieve/, add docs
11063
11064         * vspace.h:
11065         * vspace.C:
11066         * kbmap.h:
11067         * lyxlength.h:
11068         * lyxgluelength.h:
11069         * length_common.h:
11070         * chset.h:
11071         * chset.C: add docs
11072
11073         * lyxgui.C: add ID to X error handler
11074
11075         * lyxtestclass.c: fix typo
11076
11077 2002-02-26  Juergen Vigna  <jug@sad.it>
11078
11079         * tabular_funcs.C (write_attribute): changed so that some default
11080         attributes are not written at all.
11081         (getTokenValue): set default values before trying to read the
11082         value so we have the return value always set as default if we don't
11083         find the token we search for.
11084
11085         * tabular.C (Write): write bools as bools not as strings!
11086
11087 2002-02-22  Juergen Vigna  <jug@sad.it>
11088
11089         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11090         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11091
11092         * text.C (leftMargin): don't add an indent for paragraphs inside
11093         tabular cells (fix #208).
11094
11095 2002-02-21  José Matos  <jamatos@fep.up.pt>
11096
11097         * tabular.C (docBook): fixed support for long tables.
11098
11099 2002-02-20  Juergen Vigna  <jug@sad.it>
11100
11101         * text2.C (getFont): get the drawing font of the Inset if this
11102         paragraph is inside an inset (only important for InsetERT for now).
11103
11104         * buffer.C (insertErtContents): use new lanugage params in ERT
11105         constructor.
11106
11107         * CutAndPaste.C: commenting out seemingly uneeded code.
11108
11109 2002-02-19  Allan Rae  <rae@lyx.org>
11110
11111         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11112         Iterators might be simple to use but they also get invalidated.
11113         (removeAutoInsets): renamed saved cursor tracking variables and added
11114         some comments to clarify what everything does.
11115
11116 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11117
11118         * Chktex.C:
11119         * LaTeX.C:
11120         * LyXSendto.C:
11121         * converter.C:
11122         * lyx_cb.C:
11123         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11124         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11125
11126         * lyxfunc.C:
11127         * vc-backend.h: remove #include "support/syscall.h"
11128
11129         * LaTeX.C:
11130         * LyXSendto.C:
11131         * converter.C: rearrange #includes in Lars' approved fashion.
11132
11133         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11134         forward declare class Timeout in the header file.
11135
11136         * XFormsView.C: changes due to the above.
11137
11138         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11139         similar to LyXView.
11140
11141         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11142         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11143
11144 2002-02-18  José Matos  <jamatos@fep.up.pt>
11145
11146         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11147         insets contents.
11148
11149 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11150
11151         * a lot of small ws changes
11152         * add a lot of using std::XXX
11153         * use std construcs some places where approp.
11154         * use some exisint stuff from lyxfunctional where approp.
11155         * Make file changes to use partial linking (lets test this now...)
11156
11157 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11158
11159         * Chktex.C:
11160         * buffer.C:
11161         remove #include "support/syscontr.h" as it's redundant. Always has been.
11162
11163         * Chktex.C:
11164         * LaTeX.C:
11165         * LyXSendto.C:
11166         * converter.C:
11167         * lyx_cb.C:
11168         * vc-backend.C:
11169         change Systemcalls::System to Systemcalls::Wait and
11170         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11171         No change of functionality, just reflects the stripped down Systemcalls
11172         class.
11173
11174 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11175
11176         * debug.[Ch]: add a GRAPHICS type to the enum.
11177
11178 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11181
11182         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11183         there is an inset.
11184
11185 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11188         match the changes below.
11189
11190         * text2.C (toggleInset): if there is not editable inset at cursor
11191         position, try to see if cursor is _inside_ a collapsable inset
11192         and close it.
11193
11194 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11197         document menu has a nice checkbox
11198
11199 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * lyxlength.C (asLatexString): change PW to output as percent of
11202         \textwidth.
11203
11204         * lengthcommon.C: change '%' to 't%'
11205
11206         * lyxfunc.C (dispatch): a few comments from Martin
11207
11208 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * WorkArea.h:
11211         * WorkArea.C:
11212         * BufferView_pimpl.h:
11213         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11214           the X selection.
11215
11216 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * vspace.C (inPixels): fix compiler warning
11219
11220 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * lyxfunc.C (getStatus): fix status message for disabled commands.
11223
11224 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * BufferView_pimpl.C: fix crash on close buffer
11227         during selection (#227)
11228
11229 2002-01-27  Herbert Voss  <voss@lyx.org>
11230
11231         * buffer.C: link old Figure to new graphic inset
11232
11233 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11234
11235         * FontLoader.C (getFontinfo): Change the latex font names in order
11236         to match the names of type1inst.
11237
11238 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11241
11242         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11243         (extchanged): ditto
11244         (ext_exist): ditto
11245         (remove_files_with_extension): ditto
11246         (remove_file): ditto
11247         (write): ditto
11248
11249         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11250         document is smaller than the work area height. Do not initialize
11251         static variables to 0.
11252
11253 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11256
11257         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11258         LFUN_LAYOUT_PARAGRAPHS.
11259
11260         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11261         tabular. It is possible to provide a possible cell, which will
11262         typically be the actcell from the corresponding insettabular
11263
11264         * lyxfunc.C (getStatus): small cleanup; disable
11265         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11266         true
11267
11268 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11271
11272         * paragraph.C (startTeXParParams):
11273         (endTeXParParams): new methods. The LaTeX code to
11274         start/end paragraph formatting
11275         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11276         empty (fixes bug #200)
11277
11278         * vspace.C (inPixels): adapt to the change below
11279         (inPixels): [later] more cleanups (remove unused variables)
11280
11281         * lyxlength.C (inPixels): change to use a width and a height as
11282         parameter.
11283
11284 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11287         Replaced with \paperwidth
11288
11289         * DepTable.C (insert): add std:: qualifier
11290
11291 2002-01-18  Allan Rae  <rae@lyx.org>
11292
11293         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11294         updated also?
11295
11296         * text.C (drawInset): Turned out I didn't know enough about how
11297         rebreaking worked.  This fixes most of the redraw problems.  I see
11298         an occasional cursor trail when a line is broken now and the cursor
11299         placement can seem out by a few pixels also after a rebreak.
11300
11301 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * buffer.C (parseSingleLyXformat2Token): update because minipage
11304         width is now a LyXLength
11305
11306         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11307
11308         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11309         math insets
11310
11311 2002-01-17  Juergen Vigna  <jug@sad.it>
11312
11313         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11314
11315         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11316         is set correctly and the inset is updated correctly.
11317
11318 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11319
11320         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11321         the beginning of the loop.
11322
11323 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * lyxrc.C: improve help for use_scalable_fonts
11326
11327 2002-01-17  Allan Rae  <rae@lyx.org>
11328
11329         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11330
11331 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11334         make sure to set their inset_owner to the right value (bug #171)
11335
11336 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11337
11338         * DepTable.h
11339         * DepTable.C: Implement mtime checking to reduce time spent doing
11340         CRCs.
11341
11342 2002-01-16  Juergen Vigna  <jug@sad.it>
11343
11344         * tabular.C (GetAdditionalHeight): one of error fixed.
11345
11346         * lyxrc.C (output): small fix in writing use_pspell.
11347
11348 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11349
11350         * sp_base.h: #include LString.h
11351
11352 2002-01-16  Allan Rae  <rae@lyx.org>
11353
11354         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11355         Can someone check this please?
11356
11357         * text.C (drawInset): It was possible that p.row would be removed by
11358         breakAgainOneRow upsetting a few other settings.  There may be another
11359         small tweak possible by setting need_break_row = 0 when p.row has been
11360         removed but I don't know enough about the logic here.
11361
11362 2002-01-15  Allan Rae  <rae@lyx.org>
11363
11364         * text.C (insertChar): removed conditional truism.
11365
11366         * BufferView2.C (removeAutoInsets): More tweaks.
11367         cur_par_prev could be a stray pointer.  Check for trailing empty line
11368         in case last line was cur_par and only had an error inset on it.
11369
11370 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11373         absolute
11374
11375         * vc-backend.C (most methods):
11376         * exporter.C (Export):
11377         * converter.C (convert):
11378         (runLaTeX):
11379         * LyXSendto.C (SendtoApplyCB):
11380         * lyxfunc.C (dispatch):
11381         (menuNew):
11382         (open):
11383         (doImport):
11384         * lyx_cb.C (AutoSave):
11385         (InsertAsciiFile):
11386         * BufferView_pimpl.C (MenuInsertLyXFile):
11387         * buffer.C (runChktex): use Buffer::filePath().
11388
11389         * buffer.h: rename filename to filename_; rename filepath to
11390         filepath_ and make it private
11391         (filePath): new method
11392
11393         * buffer.C (writeFile): use fileName()
11394         (getLatexName):
11395
11396         * lyx_main.C (init): fix starting  of LyX when the binary is a
11397         link from so,ewhere else.
11398
11399         * minibuffer.C: include <cctype> for isprint
11400
11401 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11404         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11405         name clash with InsetCollapsable's width function.
11406
11407 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * lastfiles.C: include <iterator>
11410
11411 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11414         std::count.
11415
11416         * buffer.C (makeLaTeXFile): ditto.
11417         Also make loop operation more transparent.
11418
11419 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11420
11421         * ToolbarDefaults.C: remove trailing comma closing namespace.
11422
11423         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11424
11425         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11426         as in WorkArea.
11427
11428         * trans.C (Load): comment out unused variable, allowed.
11429
11430 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11431
11432         * minibuffer.[Ch] (append_char): new method to recieve input from the
11433         drop-down completion browser. If a key was pressed, then recieve this
11434         char and append it to the existing string.
11435         (peek_event): modify the positioning data passed to the completion
11436         browser so that it can be placed above the minibuffer rather than below.
11437 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * LyXAction.C (init): alloe error-next for readonly documents.
11440
11441         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11442         count.
11443
11444 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11445
11446         * bufferlist.C (readFile): create the buffer _after_ checking that
11447         the file exists.
11448
11449         * lyxfunc.C (verboseDispatch): fix handling of arguments
11450
11451         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11452
11453         * lyxrc.C: use string::erase() instead of initializing to "".
11454
11455
11456 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * BufferView_pimpl.h:
11459         * BufferView_pimpl.C:
11460         * WorkArea.h:
11461         * WorkArea.C:
11462         * text2.C: tell X when we have made a selection for copying
11463
11464 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * BufferView_pimpl.C (MenuInsertLyXFile):
11467         * lyxfunc.C (menuNew):
11468         (open):
11469         (doImport): add shortcuts to directory buttons
11470
11471         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11472         open a float)
11473
11474         * lyxfunc.C (setStatusMessage):
11475         (getStatusMessage): new methods
11476         (getStatus):use setStatusMessage instead of setErrorMessage
11477         (dispatch): when function is disabled, set error message here
11478         [instead of in getStatus previously]
11479
11480         * BufferView_pimpl.C (workAreaButtonRelease): update
11481         toolbar/menubar here too.
11482
11483 2002-01-13  Allan Rae  <rae@lyx.org>
11484
11485         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11486         Now seems indestructible.  Remaining task is to audit all other
11487         code affected by deleteEmptyParagraphMechanism.  One small quirk
11488         left is that an empty document with an error in the preamble can
11489         be made to report an error but no error box appears.  I don't know
11490         where it goes.
11491         (removeAutoInsets): Improved comments.
11492
11493 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * Thesaurus.h:
11496         * Thesaurus.C: update for Aiksaurus 0.14
11497
11498 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * text2.C (firstParagraph): removed member function, all uses
11501         replaces with ownerParagraph
11502         (redoParagraphs): here
11503         (updateInset): here
11504         (toggleAppendix): here
11505         * BufferView2.C (insertErrors): here
11506         (setCursorFromRow): here
11507
11508 2002-01-13  Allan Rae  <rae@lyx.org>
11509
11510         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11511         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11512         There is still a way to segfault this although you may have to do this
11513         multiple times: Have an InsetERT with an unknown command in it.
11514         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11515         <down-arrow>, <Enter> again, View->DVI, BANG!
11516
11517         * text2.C (setCursor):
11518         (deleteEmptyParagraphMechanism):
11519         * lyxtext.h (setCursor):
11520         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11521         Making use of the return value may help fix other bugs.
11522
11523 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11526
11527         * LyXView.C (updateMenubar): call MenuBar::update here
11528         (updateToolbar): but not here
11529         (showState): do not update toolbar/menubar
11530
11531         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11532         should need to care about that.
11533
11534         * lyxfunc.C (verboseDispatch): simplify a bit
11535         (getStatus): have a version which takes a pseudoaction, and
11536         another which requires a (kb_action,string).
11537
11538         * LyXAction.C (retrieveActionArg): make it work also when action
11539         is not a pseudo-action.
11540         (getActionName): simplify a bit
11541         (helpText):
11542
11543 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * lyxfunc.C (verboseDispatch): new families of methods with
11546         several ways to specify a command and a bool to indicate whether
11547         the command name and shortcut should be displayed in minibuffer
11548         (eventually, we could extend that to a finer bitmask like
11549         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11550         (dispatch): the pristine dispatch command which just, well,
11551         dispatchs! Note it still sets its result to minibuffer; I'm not
11552         sure we want that.
11553
11554         * lyxfunc.h: remove setHintMessage
11555
11556         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11557
11558 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11559
11560         * BufferView_pimpl.C (specialChar): delete new inset if we have
11561         not been able to insert it.
11562
11563         * kbmap.C: revert to using int instead of kb_action, since all we
11564         are dealing with is pseudo-actions.
11565
11566         * LyXAction.C (searchActionArg): change to return int instead of
11567         kb_action, since the result is a pseudoaction.
11568
11569 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11570
11571         * buffer.C (insertErtContents): Fix (partially) the font bug.
11572
11573 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11574
11575         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11576         as the other one is broken on my machine!
11577
11578 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11579
11580         * commandtags.h:
11581         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11582
11583 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11584
11585         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11586         reflect their actual use. Provide compatibility code for older lyxrc
11587         files.
11588
11589         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11590         FL_NORMAL_STYLE.
11591         change names of popup font variables in line with the changes to lyxrc.C
11592
11593 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * buffer.C (asciiParagraph): avoid outputing a word twice after
11596         an inset.
11597
11598         * lyxrc.C (getDescription): document that document_path and
11599         template_path can be empty.
11600
11601 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * LaTeXFeatures.C (getMacros):
11604         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11605
11606         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11607
11608         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11609         getPackages.
11610         (getPackages): rename feature "floats" to "float". Use an array to
11611         iterate over 'simple' features (i.e. just a \usepackage). Add
11612         handling of "amsmath" (renamed from "amsstyle").
11613
11614 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11615
11616         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11617         features list.
11618
11619 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11620
11621         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11622         FuncStaus::FuncStatus & FuncStaus::some_method().
11623
11624 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11625
11626         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11627         of the func_satus stuff. Edited and massaged in various ways by
11628         JMarc.
11629
11630         * lyxfunc.C (getStatus): use FuncStatus
11631
11632 2002-01-08  Juergen Vigna  <jug@sad.it>
11633
11634         * text.C (nextBreakPoint): use function Inset::isChar().
11635
11636         * paragraph.C (TeXOnePar): use function
11637         Inset::forceDefaultParagraphs.
11638
11639         * buffer.C (latexParagraphs): use function
11640         Inset::forceDefaultParagraphs.
11641
11642 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11643
11644         * lyx_gui.C (init): set the style of the menu popups to
11645         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11646
11647 2002-01-07  Juergen Vigna  <jug@sad.it>
11648
11649         * text.C (setHeightOfRow): small fix
11650         (prepareToPrint): don't look at alignment if we don't have the place
11651         for doing it.
11652
11653 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11654
11655         * box.C: New file. Move the Box methods and functions out of box.h,
11656         following Lars' suggestion.
11657
11658 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11659
11660         * box.h: #include "support/LOstream.h", needed for inlined function.
11661
11662         * lyxtextclass.C:
11663         * lyxtextclasslist.C: added some using std declarations.
11664
11665 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * box.h: make signed dimensions to allow insets wider than
11668           the screen (bug #162)
11669
11670         * BufferView_pimpl.C: add some insetHit debug
11671
11672 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * vc-backend.C: add FIXME
11675
11676 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * lyxfunc.C (getStatus): enable code for showing math font status
11679         in toolbar/menu.
11680
11681 2002-01-07  Juergen Vigna  <jug@sad.it>
11682
11683         * text.C (nextBreakPoint): removed debug output not needed anymore.
11684
11685 2002-01-06  Juergen Vigna  <jug@sad.it>
11686
11687         * text.C (nextBreakPoint): fixed up this function we had this bug
11688         since ever but now hopefully we break row better.
11689         (insertChar): we have to check if an inset is the next char as it
11690         could now happen that a large inset is causing a break.
11691
11692 2002-01-05  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11695         if it doesn't like to be drawed.
11696
11697 2002-01-04  Juergen Vigna  <jug@sad.it>
11698
11699         * BufferView2.C (lockInset): forgot to set a cursor.
11700
11701         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11702
11703 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11704
11705         * FormMathsPanel.C:
11706         * FormMathsPanel.h
11707         * MathsSymbols.C:
11708         * form_maths_panel.C:
11709         * form_maths_panel.h:
11710         * form_maths_panel.fd: implemented sub- and super- buttons in math
11711         panel.
11712
11713         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11714         (or ^ space) to be used as in TeX (req'd by André).
11715
11716         * lyxfunc.C: Allow ^ and _ again to be used both as
11717         super/subscript (mathed) and as themselves (in text).
11718
11719 2002-01-03  Allan Rae  <rae@lyx.org>
11720
11721         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11722         "LyX" or the filename of the current buffer if it has one.  This is a
11723         modified form of John Levon's patch.
11724
11725         * XFormsView.C (setWindowTitle): also set icon title.
11726
11727         * LyXView.h (setWindowTitle): signature changed.
11728         * XFormsView.h (setWindowTitle): ditto.
11729
11730 2002-01-02  Juergen Vigna  <jug@sad.it>
11731
11732         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11733
11734 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * screen.C (topCursorVisible): introduce a temp var for
11737         text->cursor.row(), handle the case where this row is null. (kindo
11738         hachish)
11739
11740         * text2.C (setCursor): add a couple of asserts.
11741
11742         * paragraph.h (inset_iterator): add -> operator
11743
11744         * paragraph.[Ch] (autoDeleteInsets): remove member function
11745
11746         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11747         cursor pos correctly and handle inset deletion by itself.
11748         (insertErrors): move iterator declaration out of for expression
11749
11750         * lyxtextclass.C: add <algorithm>
11751
11752         * Makefile.am: added the new files to sources, removed layout.C
11753
11754         * layout.C: removed file
11755
11756         * layout.h: remove LYX_DUMMY_LAYOUT
11757
11758         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11759         layout.
11760
11761         * lyxlayout.[Ch]:
11762         * lyxtextclass.[Ch]:
11763         * lyxtextclasslist.[Ch]: new files
11764
11765         * include order changes to a lot of files, also changes because of
11766         the six new files.
11767
11768 2001-12-27  Juergen Vigna  <jug@sad.it>
11769
11770         * buffer.C (asciiParagraph): more fixes.
11771
11772         * tabular.C (ascii): make ascii export support export of only the
11773         data separated by a column-delimiter.
11774         (ascii): better support for ascii export.
11775
11776         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11777
11778 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11779
11780         * tabular_funcs.C: use a "using std::getline" instead of the
11781         previous fix from Angus (necessary for cxx + lyxstring)
11782
11783 2001-12-24  Juergen Vigna  <jug@sad.it>
11784
11785         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11786
11787         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11788         problems. First check a minipage also if we have some ert-contents
11789         (not only on par->size(), second set the right depth of the paragraph
11790         on the relink to the root-paragraph-list!
11791
11792         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11793         which then did not anymore update the main paragraphs on undo/redo!
11794
11795 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11798         code. Support all font-changing funcs (even those which are not in
11799         menu currently). Support for reporting font settings in
11800         mathed (disabled until Andre provides a function on mathed's side).
11801
11802         * func_status.h (toggle): small helper function to set toggle
11803         state on a flag.
11804
11805 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11806
11807         * tabular_funcs.C: getline -> std::getline
11808
11809 2001-12-21  Juergen Vigna  <jug@sad.it>
11810
11811         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11812         accessed and could be 0 (I couldn't generate this but it seems
11813         Michael could!).
11814
11815 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11818         * tabular_funcs.h: here and include iosfwd
11819
11820 2001-12-20  Juergen Vigna  <jug@sad.it>
11821
11822         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11823         inside inset but undo_par was.
11824
11825 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11826
11827         * Thesaurus.C: always include <config.h> in sources.
11828
11829         * Painter.h:
11830         * lyxlookup.h:
11831         * box.h: do not include <config.h> in header files
11832
11833         * text.C (paintLastRow): remove unused variable
11834
11835         * text.C (transformChar):
11836         (insertChar):
11837         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11838
11839         * Painter.C (text):
11840         * font.C (width): rewrite to use uppercase() instead of
11841         islower/toupper.
11842
11843         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11844
11845 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * lyxfind.C: clean up of find failure position change
11848
11849 2001-12-20  Juergen Vigna  <jug@sad.it>
11850
11851         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11852
11853         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11854         (TeXRow): added to LaTeX a single tabular row.
11855         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11856         (Latex): simplified and finally good LT-h/f support.
11857         (various_functions): just small adaptions for LT-h/f support.
11858
11859         * tabular_funcs.[hC]: added and moved here all not classfunctions
11860         of LyXTabular.
11861
11862 2001-12-19  Juergen Vigna  <jug@sad.it>
11863
11864         * tabular.[Ch]: better support for longtabular options (not finished
11865         yet!)
11866
11867 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * text.C (paintLastRow): use the label font instead of the font of
11870         the last character to compute the size of *_BOX. This makes more
11871         sense and avoids a crash with empty paragraphs.
11872         Use Painter::rectangle to draw EMPTY_BOX.
11873
11874 2001-12-19  Juergen Vigna  <jug@sad.it>
11875
11876         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11877         the paragraphs if the replaced paragraph is not the first one!
11878         Tried to delete not used paragraphs but does not work yet so for
11879         now it's inside #ifdef's and by default off!
11880
11881 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * MenuBackend.C: include "lyx_main.h" instead of declaring
11884         lastfiles (actually was declared as LastFiles* instead of a
11885         scoped_ptr).
11886
11887 2001-12-17  Juergen Vigna  <jug@sad.it>
11888
11889         * tabular.C (AppendColumn): applied John's fix
11890
11891 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * BufferView.h:
11894         * BufferView.C:
11895         * BufferView_pimpl.h:
11896         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11897
11898         * Makefile.am:
11899         * box.h: new start of class for above
11900
11901         * lyxfunc.C: ignore space-only minibuffer dispatches.
11902           Show the command name when it doesn't exist
11903
11904         * minibuffer.C: don't add empty lines to the history
11905
11906         * minibuffer.C: add a space on dropdown completion
11907
11908 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * text.C: fix line above/below drawing in insets
11911
11912 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * lyxlength.C (LyXLength): Initialize private variables.
11915
11916 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11917
11918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11919         when inserting error insets.
11920
11921 2001-12-13  Juergen Vigna  <jug@sad.it>
11922
11923         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11924         actually sometimes the before-paragraph.
11925         (setUndo): don't clear the redostack if we're not actually undoing!
11926
11927 2001-12-06  Juergen Vigna  <jug@sad.it>
11928
11929         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11930         and fixed redoing of main paragraph, so we can use it now ;)
11931
11932         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11933
11934 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11937         Juergen's request
11938
11939 2001-12-13  André Pönitz <poenitz@gmx.net>
11940
11941         * undostack.[Ch]:
11942         * undo_func.C: minor cleanup
11943
11944 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11947         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11948         font in urw-fonts package which is marked as -urw-fontspecific and
11949         does not work (incidentally, changing the encoding in the
11950         fonts.dir of this package to -adobe-fontspecific fixes the
11951         problem).
11952
11953         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11954         is a crash when undoing first paragraph (Juergen, please take a
11955         look). THis does not mean the undo fix is wrong, just that it
11956         uncovers problems.
11957
11958         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11959         the (Paragraph*) version when needed instead of duplicating the
11960         code.
11961
11962         * text.C (workWidth): use Inset::parOwner to find out where the
11963         inset has been inserted. This is a huge performance gain for large
11964         documents with lots of insets. If Inset::parOwner is not set, fall
11965         back on the brute force method
11966
11967         * paragraph_pimpl.C (insertInset):
11968         * paragraph.C (Paragraph):
11969         (cutIntoMinibuffer): set parOwner of insets when
11970         inserting/removing them
11971
11972         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11973
11974 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11975
11976         * commandtags.h:
11977         * LyXAction.C:
11978         * lyx_main.C:
11979         * lyxfunc.C:
11980         * mathed/formulabase.C:
11981         * mathed/math_cursor.[Ch]:
11982         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11983
11984
11985 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * lyxlength.[Ch] (operator!=): new function
11988
11989 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11990
11991         * text.C (workWidth): use Inset::parOwner to find out where the
11992         inset has been inserted. This is a huge performance gain for large
11993         documents with lots of insets. If Inset::parOwner is not set, fall
11994         back on the brute force method
11995
11996         * paragraph_pimpl.C (insertInset):
11997         * paragraph.C (Paragraph):
11998         (cutIntoMinibuffer): set parOwner of insets when
11999         inserting/removing them
12000
12001         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12002
12003 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * tabular-old.C (getTokenValue):
12006         * tabular.C (getTokenValue):
12007         (write_attribute): new versions for LyXLength
12008         (everywhere): adjust the use of widths
12009
12010         * tabular.h: change the type of widths from string to LyXLength
12011
12012 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12013
12014         * paragraph.C: fixed missing line number count when exporting
12015         Environments to LaTeX file
12016
12017         * buffer.C: added informational message for checking line numbers.
12018
12019 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12022         paragraph, do the 'double space' part, but not the 'empty
12023         paragraph' one.
12024
12025         * text.C (workWidth): small optimization
12026         (getLengthMarkerHeight): use minimal size for negative lengths.
12027
12028 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12029
12030         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12031
12032         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12033
12034 2001-12-11  André Pönitz <poenitz@gmx.net>
12035
12036         * FontLoader.C:
12037         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12038
12039 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * text2.C: keep selection on a setFont()
12042
12043 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * lyx_cb.C: another bv->text misuse, from insert label
12046
12047 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * kbsequence.h:
12050         * kbsequence.C: re-instate nmodifier mask
12051
12052 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * lyx_main.h: make lyxGUI private.
12055
12056 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * lyxfind.C: place the cursor correctly on failed search
12059
12060 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12061
12062         * text.C (getLengthMarkerHeight): for small heights, the arrows
12063         are not always on top/bottom of the text
12064         (drawLengthMarker): smaller arrows; take the left margin in
12065         account; draw also vfills.
12066         (paintFirstRow):
12067         (paintLastRow): remove special code for vfill and standard spaces,
12068         since everything is handled in drawLengthMarker now.
12069
12070 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * buffer.C (insertErtContents): try to handle font and language
12073         interaction a bit better.g
12074
12075         * ColorHandler.C (updateColor): change the hash to cover the whole
12076         LColor enum, ws cleanup
12077         (getGCLinepars): ditto
12078         (getGCLinepars): only lookup in the linecache once.
12079
12080 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * iterators.C (operator++): Make the iterator more robust
12083
12084         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12085         (John's patch)
12086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12087
12088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * lyxtext.h:
12091         * text.C: better added space drawing
12092
12093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * LyXView.C:
12096         * BufferView2.C: fix layout combo update on inset unlock
12097
12098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * Makefile.am: don't compile unused files
12101
12102 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * lyxfunc.C:
12105         * commandtags.h:
12106         * LyXAction.C: remove old LFUN_LAYOUTNO
12107
12108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * paragraph_pimpl.h:
12111         * paragraph_pimpl.C: isTextAt() doesn't need font param
12112
12113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * lyxlex.h:
12116         * lyxlex.C: little cleanup
12117
12118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * BufferView_pimpl.C: fix insertAscii for insets
12121
12122 2001-12-05  Juergen Vigna  <jug@sad.it>
12123
12124         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12125         set the right font on the "multi" paragraph paste!
12126
12127 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * trans_decl.h:
12130         * trans_mgr.[Ch]:
12131         * trans.[Ch]:
12132         * lyxgluelength.C:
12133         * lyxlength.C: remove out-commented code.
12134
12135         * BufferView_pimpl:
12136         * CutAndPaste.C:
12137         * DepTable.C:
12138         * buffer.C:
12139         * chset.C:
12140         * lastfiles.C:
12141         * lyxlex.C:
12142         * lyxlex_pimpl.C:
12143         * lyxserver.C:
12144         * screen.C:
12145         * tabular-old.C:
12146         * tabular.C:
12147         * text.C:
12148         * trans_mgr.C:
12149         * vc-backend.C: change "while(" to "while ("
12150
12151         * lyxlength.[Ch]: add zero function to check if length is zero or
12152         not
12153         * lyxgluelength.C: use it
12154
12155 2001-12-05  Allan Rae  <rae@lyx.org>
12156
12157         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12158         Works for 2.95.3, from what I understand of Garst's reports this should
12159         work for other g++ versions.  We're screwed if the abs(int) definition
12160         changed between bugfix releases of gcc.
12161
12162 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * text.C: fix chapter label offset !
12165
12166 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * lyxtext.h:
12169         * text.C: fix hfill at end of line, clean up
12170
12171 2001-12-04  Juergen Vigna  <jug@sad.it>
12172
12173         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12174         that we force an update of the inset and it's owners if neccessary.
12175
12176 2001-12-03  Juergen Vigna  <jug@sad.it>
12177
12178         * text.C (rowLast): simplified code
12179
12180 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * lyxfunc.C: fix show options on timeout
12183
12184 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * screen.C (topCursorVisible): scroll half a page when the cursor
12187         reached top of bottom of screen
12188
12189 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * minibuffer.C: deactivate on loss of focus
12192
12193 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * vspace.[Ch] (operator!=): add operator.
12196
12197 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * BufferView_pimpl.C: refuse to open an inset when
12200         there's a selection.
12201
12202 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * BufferView_pimpl.C: allow to click on RHS of full row insets
12205
12206 2001-11-30  Juergen Vigna  <jug@sad.it>
12207
12208         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12209         insets for undo reasons.
12210
12211 2001-11-28  André Pönitz <poenitz@gmx.net>
12212
12213         * vspace.[Ch]: cosmetical changes
12214
12215 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * LyXAction.h:
12218         * LyXAction.C:
12219         * lyxfunc.h:
12220         * lyxfunc.C:
12221         * kbmap.h:
12222         * kbmap.C:
12223         * lyxrc.C:
12224         * kbsequence.h:
12225         * kbsequence.C: part re-write of old kb code
12226
12227         * Painter.C:
12228         * WorkArea.C: remove Lgb_bug_find_hack
12229
12230 2001-11-30  José Matos <jamatos@fep.up.pt>
12231
12232         * buffer.C (makeDocBookFile): add a comment to point a hack.
12233         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12234         Fixed a double write of labels.
12235
12236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12237
12238         * LaTeX.C:
12239         * LaTeX.h Fixed bug in LaTeX class where it would not
12240         re-run latex if no depfiles were changed, but the .dvi was removed.
12241
12242 2001-11-28  André Pönitz <poenitz@gmx.net>
12243
12244         * all the files from the change on 2001/11/26:
12245         use lyx::layout_type instead of LyXTextClass::size_type
12246         use lyx::textclass_type instead of LyXTextClassList::size_type
12247
12248 2001-11-29  Juergen Vigna  <jug@sad.it>
12249
12250         * text.C: added support for paragraph::isFreeSpacing()
12251
12252         * buffer.C: same as above
12253
12254         * paragraph.h: inserted isFreeSpacing() function to enable
12255         FreeSpacing inside InsetERT.
12256
12257         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12258         of the paragraph's in the cut/copy buffer to 0!
12259
12260         * text2.C (removeRow): remove the assert as it can!
12261
12262         * lyxtext.h: added helper function firstRow returning firstrow and
12263         made firstrow private again.
12264
12265         * BufferView2.C (lockInset): don't relock if we're already locked!
12266
12267         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12268         the only paragraph.
12269         (removeRow): added Assert::(firstrow)
12270
12271         * debug.C: forgot to add INSETTEXT here.
12272
12273 2001-11-28  Juergen Vigna  <jug@sad.it>
12274
12275         * sp_spell.C (initialize): changed error text to more general
12276         spellchecker command use (not only ispell!)
12277
12278         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12279
12280         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12281
12282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * vspace.C: initialise lyxgluelength on failure
12285
12286 2001-11-28  Allan Rae  <rae@lyx.org>
12287
12288         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12289         declaration & definition that looks like a function declaration.
12290
12291 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * BufferView2.C (copy):
12294         (copyEnvironment): do not clear the selection when doing a copy.
12295
12296         * text.C (paintFirstRow): compilation fix
12297
12298 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12299
12300         * tabular.C (Latex): correct line count when writing latex.
12301
12302 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * paragraph_pimpl.h:
12305         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12306           bug a bit
12307
12308 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * text.C:
12311         * LColor.h:
12312         * LColor.C: change vfillline->added_space
12313
12314         * text.C: add markers and text for added space
12315
12316         * vspace.C: fix comment
12317
12318 2001-11-28  André Pönitz <poenitz@gmx.net>
12319
12320         * paragraph.C: whitespace changes
12321         * all the other files from the change on 2001/11/26:
12322         change *::pos_type into lyx::pos_type
12323
12324 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12325
12326         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12327         language of the document when inserting error insets.
12328
12329 2001-11-26  André Pönitz <poenitz@gmx.net>
12330
12331         * BufferView_pimpl.[Ch]:
12332         *       CutAndPaste.C:
12333         * buffer.[Ch]:
12334         * lyxcursor.[Ch]:
12335         * lyxfind.C:
12336         * lyxfunc.C:
12337         * lyxrow.[Ch]:
12338         * paragraph.[Ch]:
12339         * paragraph_pimpl.[Ch]:
12340         * sp_spell.C:
12341         * text.C:
12342         * text2.C: reduce header dependencies, introduce type for positions
12343
12344 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * <various>: change to use Alert.h
12347
12348 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12351         when encountering an unknown token.
12352         (readLyXformat2): Show an error message if there were unknown tokens.
12353
12354 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView2.C:
12357         * BufferView_pimpl.C:
12358         * buffer.C:
12359         * paragraph.h:
12360         * text.C:
12361         * text2.C: use par->isInset()
12362
12363 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * paragraph_pimpl.h:
12366         * paragraph_pimpl.C: cleanup
12367
12368 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * text2.C (removeRow):
12371         * text.C (setHeightOfRow): remove useless (and costly) call to
12372         getRow.
12373
12374 2001-11-20  Allan Rae  <rae@lyx.org>
12375
12376         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12377         Now need Inset*::checkInsertChar() to return true for appropriate
12378         cases so that the characters in the minibuffer will actually be
12379         inserted.
12380
12381 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * text.C: change the order of the includes.
12384         (workWidth): initialize it at once.
12385         (workWidth): make maxw unsigned
12386         (setHeightOfRow): remove unused variable (inset)
12387         (selectSelectedWord): remove unused variable (inset)
12388         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12389
12390 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12391
12392         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12393         server is not running.
12394         (openConnection):
12395         (closeConnection): add debug info when server is disabled.
12396
12397         * ColorHandler.C (getGCForeground): send debug message to GUI
12398         channel.
12399
12400         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12401
12402         * kbmap.C (bind): modify because return conventions of
12403         kb_sequence::parse have changed.
12404
12405         * kbsequence.C (parse): only ignore spaces and not any stupid
12406         control character. This avoids tests like s[i] <= ' ', which are
12407         guaranteed to fail with 8bit characters and signed chars.
12408         Change return code to string::npos when there have been no error
12409         (0 was a bad idea when error is at first character)
12410
12411 2001-11-14  José Matos  <jamatos@fep.up.pt>
12412
12413         * buffer.h:
12414         * buffer.C (simpleDocBookOnePar): removed unused argument.
12415
12416 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12419         insets which are part of a word. Paragraph::isLetter takes care of
12420         that now. Use Paragraph::isInset to identify insets.
12421         (selectSelectedWord): do not test for hyphenation break.
12422
12423         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12424         that protected spaces are considered as spaces.
12425
12426         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12427         Inset::isLetter.
12428
12429 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxserver.h:
12432         * lyxserver.C: fix it. and small cleanup.
12433
12434 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * BufferView_pimpl.C: use inline helpers
12437
12438         * LaTeXFeatures.h:
12439         * LaTeXFeatures.C: fix typos
12440
12441         * Spacing.h:
12442         * Spacing.C: move spacing_string into class
12443
12444         * ToolbarDefaults.C: move stuff into namespace anon
12445
12446         * layout.h: update enum
12447
12448         * lyxfunc.C: use better debug
12449
12450         * minibuffer.h: fix typo
12451
12452         * debug.h:
12453         * debug.C:
12454         * WorkArea.C: add and use Debug::WORKAREA
12455
12456         * lyxtext.h:
12457         * text.C:
12458         * text2.C: code re-organisation, inline helpers
12459
12460 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12461
12462         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12463         std::vector.empty().
12464
12465 2001-11-09  Allan Rae  <rae@lyx.org>
12466
12467         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12468         '\n's after tables.  Tabular and ERT inset work now makes this no
12469         longer necessary.
12470
12471 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * minibuffer.h:
12474         * minibuffer.C: fix crash, improve drop-down completion
12475
12476 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * lyxserver.h:
12479         * lyxserver.C: invalidate fd's when doing endPipe()
12480
12481 2001-11-08  José Matos  <jamatos@fep.up.pt>
12482
12483         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12484         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12485
12486         * paragraph.h:
12487         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12488
12489 2001-11-07  José Matos  <jamatos@fep.up.pt>
12490
12491         * buffer.h:
12492         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12493         const qualifier.
12494
12495         * buffer.C (sgmlOpenTag):
12496         * buffer.C (sgmlCloseTag): removed debug info.
12497
12498         * buffer.h (sgmlOpenTag):
12499         * buffer.h (sgmlCloseTag): made public.
12500
12501 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * buffer.C (saveParamsAsDefaults):
12504         * lyx_cb.C (MenuLayoutSave): remove
12505
12506         * LyXAction.C (init):
12507         * commandtags.h:
12508         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12509
12510 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12511
12512         * buffer.C (setPaperStuff): removed from here...
12513
12514         * bufferparams.C (setPaperStuff): ... and moved there.
12515
12516 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * minibuffer.h:
12519         * minibuffer.C:
12520         * XFormsView.C: add support for drop-down completion
12521
12522 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12523
12524         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12525         commands.
12526
12527 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12530         disabled.
12531
12532 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * lyx_main.C: change ref to known bugs
12535
12536 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12537
12538         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12539         to work around older babel problems.
12540
12541 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12542
12543         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12544
12545 2001-10-24  Juergen Vigna  <jug@sad.it>
12546
12547         * tabular-old.C (ReadOld): below variable changes reflected.
12548
12549         * tabular.[Ch]: added ltType struct for longtable header/footer
12550         defines and changed all instances where they are used. Added
12551         future support for double top/bottom rows.
12552
12553 2001-10-24  José Matos  <jamatos@fep.up.pt>
12554
12555         * buffer.h (docbookHandleCaption):
12556         * buffer.C (docbookHandleCaption): removed unused function.
12557         (makeDocBookFile): moved docbook supported version to v4.1.
12558
12559 2001-10-24  José Matos  <jamatos@fep.up.pt>
12560
12561         * tabular.h:
12562         * tabular.C (docbookRow): new function to export docbook code of a row.
12563         (DocBook): now honors the longtable flags.
12564
12565 2001-10-23  José Matos  <jamatos@fep.up.pt>
12566
12567         * LaTeXFeatures.h:
12568         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12569         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12570
12571         * buffer.C (makeLinuxDocFile):
12572         (makeDocBookFile): reworked the preamble, more clean, and with
12573         support for lyx defined entities. Changed the document declaration
12574         to be more XML friendly.
12575
12576         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12577         if we need to output XML that should be done with a filter.
12578
12579 2001-10-22  Juergen Vigna  <jug@sad.it>
12580
12581         * sp_pspell.h (class PSpell): add alive function needed in the
12582         controller to see if the spellchecker could be started.
12583
12584 2001-10-22  Juergen Vigna  <jug@sad.it>
12585
12586         * buffer.C (insertStringAsLines): modify the font for inserting
12587         chars in certain conditions by calling checkInsertChar(font).
12588
12589 2001-10-19  Juergen Vigna  <jug@sad.it>
12590
12591         * text.C (workWidth): use getRow instead of wrong algorithm.
12592         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12593
12594 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12595
12596         * lyxserver.h:
12597         * lyxserver.C:
12598         * lyx_main.h:
12599         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12600
12601 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12602
12603         * text.C (workWidth): do not search for the exact row when
12604         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12605         optimization for big documents.
12606
12607 2001-10-18  Juergen Vigna  <jug@sad.it>
12608
12609         * text.C (workWidth): new function with added Inset * parameter.
12610
12611 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12614
12615         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12616         change return type of getColumnNearX.
12617
12618
12619         * text.C (changeRegionCase): use uppercase/lowercase instead of
12620         toupper/tolower.
12621         (leftMargin):
12622         (rightMargin): simplify code by factoring out the uses of
12623         textclasslist.
12624         (labelFill):
12625         (numberOfHfills):
12626         (setHeightOfRow):
12627         (appendParagraph): use Paragraph::size_type
12628
12629 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12630
12631         * vspace.C (asLatexString): add a missing break
12632
12633 2001-10-15  Herbert Voss  <voss@perce.de>
12634
12635         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12636
12637 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12638
12639         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12640         is not available.
12641
12642 2001-10-10  André Pönitz <poenitz@gmx.net>
12643
12644         * lyxfunc.C: removed greek_kb_flag.
12645
12646 2001-10-10  Herbert Voss  <voss@perce.de>
12647
12648         * lyx_main.C: delete global string help_lyxdir.
12649
12650 2001-10-09  Herbert Voss  <voss@perce.de>
12651
12652         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12653
12654         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12655
12656         * lyx_main.C: added global string help_lyxdir.
12657
12658         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12659
12660 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12661
12662         * lyxrc.C (set_font_norm_type): support iso8859-4
12663
12664 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12665
12666         * LaTeX.C (deplog): add another regex for MikTeX
12667
12668 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12669
12670         * lyxrc.C (set_font_norm_type): support iso8859-3
12671
12672 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12675
12676         * LaTeXFeatures.C: remove special case of french and index
12677
12678         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12679         before \begin{document}). This solves several incompatibilities.
12680
12681 2001-10-03  Garst Reese  <reese@isn.net>
12682
12683         * lyx_cb.C: change CheckTex error msg.
12684
12685 2001-10-03  José Matos  <jamatos@fep.up.pt>
12686
12687         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12688
12689 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12690
12691         * .cvsignore: update
12692
12693         * lyx_main.C (commandLineVersionInfo): use new style version info.
12694
12695         * buffer.C (writeFile):
12696         (makeLaTeXFile):
12697         (makeLinuxDocFile):
12698         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12699
12700         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12701
12702         * version.h: update to use stuff in version.C
12703
12704         * version.C.in: new file. Contains version information determined
12705         at compile time. This is a merging of version.h and
12706         version_info.h.in.
12707
12708 2001-10-03  Juergen Vigna  <jug@sad.it>
12709
12710         * BufferView_pimpl.C (update): don't change "dirty" status in
12711         updateInset call.
12712
12713 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * WorkArea.C (c-tor): re-position version string slightly.
12716
12717 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12720         revert to previous code.
12721
12722         WorkArea.[Ch]: (show, destroySplash): methods removed.
12723
12724         WorkArea.C: rework code so that it's an amalgam of the codes before and
12725         after the splash screen was moved to WorkArea.
12726
12727 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * lyxrc.C (read):
12730         * vspace.C (inPixels):
12731         (lyx_advance):
12732         * kbmap.C (bind):
12733         * buffer.C (insertStringAsLines):
12734         (asciiParagraph): fix types to be large enough
12735
12736         * lyxlex_pimpl.h: change member status from short to int
12737
12738         * layout.h: fix type of endlabeltype
12739
12740         * kbmap.C (bind):
12741         * kbsequence.C (parse): change return type to string::size_type
12742
12743         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12744         variable
12745
12746         * Bullet.C (bulletSize):
12747         (bulletEntry): do not use short ints as parameters
12748
12749         * BufferView2.C (insertLyXFile): change a char to an int.
12750
12751         * WorkArea.C (WorkArea): remove unneeded floats in computation
12752
12753 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12754
12755         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12756
12757         * paragraph.C (asString): Do not ignore newline/hfill chars when
12758         copying to the clipboard.
12759
12760 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12763         after a multi-line inset.
12764
12765 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12766
12767         * paragraph.C (validate): Set NeedLyXFootnoteCode
12768
12769 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12770
12771         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12772         and decrease-error to decrease.
12773
12774 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12777         it more readable (should be equivalent)
12778
12779 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12780
12781         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12782
12783 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12786         of a cursor (row, etc.) after a character has been deleted
12787         (deleteEmptyParagraphMechanism): call the method above on _all_
12788         cursors held by the LyXText when a double space has been
12789         detected/deleted.
12790
12791 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12794         pixmap.
12795         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12796
12797         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12798         background. Use greyOut() and the new show() methods to toggle between
12799         the foreground and background. Add code to remove the splash after
12800         its initial showing.
12801
12802         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12803         (create_forms): no longer call Dialogs::showSplash.
12804
12805 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12806
12807         * .cvsignore: add version_info.h
12808
12809 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810
12811         * version_info.h.in: new file
12812
12813         * Makefile.am: add version_info.h.in
12814
12815         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12816         version_info.h instead of VERSION_INFO
12817
12818 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12821         The ERT inset now returns string().
12822
12823 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * lyxtext.h, text.C (selectNextWord): renamed as
12826         selectNextWordToSpellcheck.
12827
12828         * text.C (selectNextWordToSpellcheck): Modified to not select
12829         words inside an ERT inset.
12830
12831 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * lyx_cb.C (MenuLayoutSave): change a bit the question
12834
12835         * sp_base.h: include <sys/types.h>
12836
12837 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12838
12839         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12840
12841 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12842
12843         * several files: fix typos in user-visible strings
12844
12845 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12846
12847         * text2.C (pasteSelection): do not set the selection, since it
12848         will be cleared later. Actually, the intent was to fix the way the
12849         selection was set, but I figured rmoving the code was just as good.
12850
12851 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12852
12853         * FontLoader.C (available): Check if font is available without
12854         loading the font.
12855
12856 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12857
12858         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12859
12860 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12861
12862         * lyxrc.[Ch]: added display_graphics variable and associated code.
12863
12864 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12865
12866         * bufferparams.C (hasClassDefaults): new method. Returns true if
12867         the buffer parameters correspond to known class defaults
12868
12869 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * XFormsView.C (show): set minimum size to the main window.
12872
12873 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12874
12875         * text2.C (copySelection):
12876         (cutSelection):
12877         * lyxfind.C (LyXReplace):
12878         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12879         LyXText::selectionAsString.
12880
12881         * paragraph.C (asString): add "label" argument to the second form
12882
12883         * text2.C (selectionAsString): add "label" argument and pass it to
12884         Paragraph::asString.
12885
12886 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12887
12888         * lyx_main.C (commandLineHelp): remove version information
12889
12890 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12891
12892         * lyx_main.C: add -version commandline option
12893
12894 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * paragraph.h: make the optional constructor arg required instead.
12897         some modifications to other files because of this.
12898
12899         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12900
12901         * lyxserver.C (C_LyXComm_callback): make it static
12902
12903         * lyx_main.C (error_handler): make it static
12904
12905         * lyx_gui.C (LyX_XErrHandler): make it static
12906
12907         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12908
12909         * WorkArea.C: make the extern "C" methods static.
12910
12911         * Makefile.am (lyx_LDADD): simplify
12912
12913 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12916         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12917
12918         * LyXAction.C (init):
12919         * lyxfunc.C (dispatch): associated code removal.
12920
12921 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12922
12923         * lyxfont.h (isSymbolFont): shut off warning
12924
12925         * text.C (setHeightOfRow):
12926         (getVisibleRow): fix crash with empty paragraphs which have a
12927         bottom line
12928
12929 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12930
12931         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12932         code.
12933
12934 2001-09-04  José Matos  <jamatos@fep.up.pt>
12935         * buffer.C
12936         * buffer.h
12937         * tabular.C (docbook): rename docBook method to docbook.
12938
12939 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12940
12941         * Makefile.am: add dependencies to main.o.
12942
12943 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * FontLoader.C (available): Return false if !lyxrc.use_gui
12946
12947 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12948
12949         * FontInfo.C (query):
12950         * converter.C (view):
12951         * importer.C (Import):
12952         * exporter.C (Export): Can not -> cannot.
12953
12954 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * BufferView_pimpl.C: allow to create index inset even if
12957           string is empty
12958
12959 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * buffer.C (getLists): replace boost::tie code with an explicit pair
12962         as boost::tie can break some compilers.
12963
12964         * iterators.h: Added a std:: declaration to the return type of
12965         ParIterator::size.
12966
12967 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12970           case.
12971
12972 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * iterators.[Ch]: New files. Provide paragraph iterators.
12975
12976         * buffer.C (changeLanguage): Use paragraph iterators.
12977         (isMultiLingual): ditto
12978
12979         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12980
12981 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * FontLoader.C: Support for cmr font.
12984
12985 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12988         (available): New method.
12989
12990         * FontInfo.C (getFontname): Use scalable fonts even when
12991         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12992         found.
12993
12994 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12995
12996         * converter.C (Formats::view): reverted! Incorrect fix.
12997
12998 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * converter.C (Formats::view): only output the -paper option
13001         if the dvi viewer is xdvi, thereby fixing bug #233429.
13002
13003 2001-08-23  Herbert Voss  <voss@perce>
13004
13005         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13006
13007 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * Spacing.h (Spacing): Set space to Default on in the default
13010         constructor.
13011
13012 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * vc-backend.h (RCS::versionString): add RCS to version
13015         (CVS::versionString): add CVS to version
13016
13017         * vc-backend.C (scanMaster): do not add CVS to version.
13018         (scanMaster): do not add RCS to version
13019
13020         * lyxvc.C (versionString): new method
13021
13022         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13023
13024 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * Spacing.C (set): initialize fval
13027
13028 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13031         " or \.
13032
13033 2001-08-16  Juergen Vigna  <jug@sad.it>
13034
13035         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13036
13037 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * BufferView_pimpl.C:
13040         * figureForm.C:
13041         * lyxtext.h:
13042         * text2.C: setParagraph takes linespacing now
13043
13044 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * LyxAction.C: add internal LFUN_CITATION_INSERT
13047
13048         * LyXView.C: actually apply fix
13049
13050         * bufferlist.C: fix open non-existent file
13051
13052         * lyxfind.C: fix indentation
13053
13054         * lyxfunc.C: remove unneeded assert, fix typo
13055
13056 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * MenuBackend.C: use "Floatname List"
13059
13060 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13061
13062         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13063         when converting LaTeX layout to insetERT.
13064         Generate a non-collapsed float when reading old float
13065
13066 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13067
13068         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13069         ERT insets.
13070
13071 2001-08-13  Juergen Vigna  <jug@sad.it>
13072
13073         * text.C (fill): return 0 instead of 20 as this seems to be the more
13074         correct value.
13075
13076 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13077
13078         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13079         lyxrc.font_norm.
13080
13081 2001-08-13  Juergen Vigna  <jug@sad.it>
13082
13083         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13084         casesensitive off.
13085         (SearchBackward): comment out the unlocking of the inset_owner this
13086         should not be needed!
13087
13088 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13089
13090         * Many files: Remove inherit_language, and add latex_language
13091
13092         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13093         collapsible insets.
13094
13095 2001-08-10  Juergen Vigna  <jug@sad.it>
13096
13097         * text.C (prepareToPrint): fixed hfill-width in draw!
13098
13099         * BufferView2.C (selectLastWord): save the selection cursor as this
13100         now is cleared in the function LyXText::clearSelection!
13101
13102 2001-08-08  Juergen Vigna  <jug@sad.it>
13103
13104         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13105         BACKSPACE type functions.
13106
13107         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13108         is only cutted from the document but not put in the cut-buffer, where
13109         still the old stuff should be.
13110
13111         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13112
13113         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13114
13115         * tabular.C (SetWidthOfCell): fixed special case where the width
13116         was not updated!
13117         (LeftLine): handle '|' in align_special.
13118         (RightLine): ditto
13119         (LeftAlreadyDrawed): ditto
13120         (SetWidthOfCell): ditto
13121
13122 2001-08-07  Juergen Vigna  <jug@sad.it>
13123
13124         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13125
13126 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13129         * lyxlex.[hC]: ditto
13130
13131 2001-08-06  Juergen Vigna  <jug@sad.it>
13132
13133         * text.C (getVisibleRow): fix up row clearing a bit.
13134
13135 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13136
13137         * minibuffer.C: make sure the X server sees the changes in the input.
13138
13139 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * paragraph.C (getFont): split into...
13142         (getLabelFont): this
13143         (getLayoutFont): and this
13144         * paragraph_pimpl.C (realizeFont): calling this
13145
13146         * text2.C (getFont): split into...
13147         (getLayoutFont): this
13148         (getLabelFont): and this
13149         (realizeFont): all three calling this
13150
13151         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13152         files where used.
13153
13154 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13157
13158 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13159
13160         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13161         layouts from the Quote inset insertion.
13162
13163 2001-08-03  Juergen Vigna  <jug@sad.it>
13164
13165         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13166
13167         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13168         only if status not is already CHANGED_IN_DRAW (second level).
13169
13170         * text.C (draw): don't set the need_break_row when inside an
13171         InsetText LyXText.
13172
13173 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * buffer.C (parseSingleLyXformat2Token): handle more latex
13176         conversion cases.
13177
13178         * bufferview_funcs.[hC]: change function names to
13179         begin with small char, adjust other files.
13180
13181 2001-08-02  André Pönitz <poenitz@gmx.net>
13182
13183         * lyxfunc.C:
13184         BufferView_pimpl.C: remove broken special code for math-greek
13185
13186 2001-08-02  Juergen Vigna  <jug@sad.it>
13187
13188         * BufferView_pimpl.C (update): redone this function so that we
13189         update the text again if there was a CHANGE_IN_DRAW.
13190
13191         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13192         (drawFromTo): added a new internal bool which is used by draw() and
13193         redraw() function.
13194         (general): some cursor drawing problems fixed.
13195
13196 2001-08-01  Juergen Vigna  <jug@sad.it>
13197
13198         * lyxfind.C (LyXFind): fixed
13199         (SearchForward): ditto
13200         (SearchBackward): ditto
13201
13202         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13203         spurius drawing of the cursor in the main area.
13204
13205         * text2.C (status): small fix which could lead to a segfault!
13206         (clearSelection): remove unneeded BufferView param.
13207
13208 2001-08-01  André Pönitz <poenitz@gmx.net>
13209
13210         * lyxfunc.C: small change due to changed mathed interface
13211
13212 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13215
13216 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * lyxfunc.c: fail gracefully if file doesn't exist
13219
13220         * LyXSendto.C:
13221         * buffer.C:
13222         * lyxfunc.C:
13223         * BufferView_pimpl.C: IsDirWriteable() proto changed
13224
13225         * LyXView.C: fix updateWindowTitle() to store the last title
13226
13227 2001-07-31  Juergen Vigna  <jug@sad.it>
13228
13229         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13230         the font (wrong since using of Paragraph::highestFontInRange).
13231
13232         * paragraph.C (highestFontInRange): added a default_size parameter.
13233
13234         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13235         (setHeightOfRow): reformat
13236
13237 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * converter.[hC] + affected files: move to (inital-char)lowercase
13240         function names.
13241
13242         * ParagraphParameters.C (ParagraphParameters): remove commented code
13243
13244         * PainterBase.[Ch]: remove commented code
13245
13246         * LaTeXFeatures.h: add "bool floats" for float.sty
13247
13248         * LaTeXFeatures.C (LaTeXFeatures): init floats
13249         (require): handle float
13250         (getPackages): do it with floats
13251
13252 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * BufferView_pimpl.C (Dispatch): improve handling of
13255         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13256
13257         * commandtags.h: #include lyxfont.h here temporarily to avoid
13258         keybinding bug.
13259
13260         * bufferlist.h: include LString.h here.
13261
13262 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * text2.C (getStringToIndex): new method.
13265
13266 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13267
13268         * *: Reduced header file dependencies all over.
13269
13270 2001-07-30  Baruch Even  <baruch@lyx.org>
13271
13272         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13273
13274 2001-07-29  Baruch Even  <baruch@lyx.org>
13275
13276         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13277
13278 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * ParameterStruct.h (endif): add a default constructor to make
13281         sure that all variables is initialized.
13282
13283         * ParagraphParameters.C (ParagraphParameters): adjust
13284
13285 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13286
13287         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13288         index; also, check that there is something to index, and that it
13289         does not span over several paragraphs.
13290         (doubleClick): use WHOLE_WORD_STRICT for double click.
13291
13292         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13293
13294         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13295         scheme.
13296
13297 2001-07-26  Baruch Even  <baruch@lyx.org>
13298
13299         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13300         an InsetFig figure, backwards compatible reading of old figure code.
13301
13302 2001-07-27  Juergen Vigna  <jug@sad.it>
13303
13304         * text2.C: font.realize function adaption.
13305
13306         * text.C (draw): add a warnings lyxerr text if needed.
13307
13308         * layout.C: font.realize function adaption.
13309
13310         * language.C: add inherit_language and implement it's handlings
13311
13312         * bufferview_funcs.C (StyleReset): remove language parameter from
13313         font creation (should be language_inherit now).
13314
13315         * bufferparams.C (writeFile): handle ignore_language.
13316
13317         * paragraph.C (getFontSettings): the language has to be resolved
13318         otherwise we have problems in LyXFont!
13319
13320         * lyxfont.C (lyxWriteChanges): added document_language parameter
13321         (update): removed unneeded language parameter
13322
13323         * paragraph.C (validate): fixed wrong output of color-package when
13324         using interface colors for certain fonts in certain environments,
13325         which should not seen as that on the final output.
13326
13327 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * BufferView_pimpl.C:
13330         * Thesaurus.h:
13331         * Thesaurus.C:
13332         * Makefile.am:
13333         * commandtags.h:
13334         * LyXAction.C: add thesaurus support
13335
13336         * lyxfind.h:
13337         * lyxfind.C: add "once" parameter, for thesaurus, to not
13338           move to the next match
13339
13340 2001-07-26  Juergen Vigna  <jug@sad.it>
13341
13342         * lyxfont.C (realize): honor ignore_language too!
13343         (resolved): ditto.
13344
13345         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13346
13347         * text.C (draw): one place more for ignore_language to not draw
13348         itself!
13349
13350 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13353
13354 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13355
13356         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13357         the minipage conversion problem.
13358
13359 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13362         insert an inset.
13363
13364 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13365
13366         * BufferView.h: don't forward declare WorkArea
13367
13368         * BufferView.C: don't include WorkArea.h
13369
13370 2001-07-25  André Pönitz <poenitz@gmx.net>
13371
13372         * commandtags.h:
13373         * LyXAction.C:
13374         * lyxfunc.C:  new LFUN 'math-space'
13375
13376         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13377
13378 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * text2.C (toggleInset): call open/close
13381
13382 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * lyxfunc.C (dispatch): add debug for the disabled case
13385
13386         * font.C (buttonText): make similar to rectText
13387
13388         * buffer.C (readInset): comment out parsing of insetlist and
13389         insttheorem
13390
13391         * PainterBase.C (rectText): small correction
13392
13393         * BufferView_pimpl.C: comment out insettheorem and insetlist
13394         * LyXAction.C: ditto
13395         * commandtags.h: ditto
13396
13397 2001-07-24  Juergen Vigna  <jug@sad.it>
13398
13399         * text.C (draw): honor the ignore_language.
13400
13401         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13402
13403 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13406         char inset.
13407
13408 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13409
13410         * lyxtext.h: remove unused (and unimplemented) methods
13411
13412 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13413
13414         * text.C (getVisibleRow): honor background color
13415
13416         * PainterBase.h:
13417         * Painter.h: remove default color argument for fillRectangle
13418
13419         * text.C (backgroundColor): new method
13420
13421 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * text.C (getVisibleRow): adjust
13424
13425         * font.[Ch] (rectText): new method, metrics
13426         (buttonText): new method, metrics
13427
13428         * PainterBase.[hC]: make rectText and buttonText always draw and take
13429         fewer paramteres.
13430
13431 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13432
13433         * ToolbarDefaults.C (read):
13434         * MenuBackend.C (read): allow escaping in all strings
13435
13436         * BufferView_pimpl.C (insertAndEditInset): new method.
13437         (Dispatch): use insertAndEditInset whenever appropriate.
13438
13439         * BufferView_pimpl.C (insertNote): removed
13440
13441         * BufferView_pimpl.C (smartQuote): new method, moved from
13442         BufferView; if an insetquote cannot be inserted, insert a '"'
13443         character instead.
13444
13445         * BufferView2.C: remove insertCorrectQuote();
13446
13447         * lyxfunc.C (getStatus): Add support for all remaingin
13448         inset-insert lfuns.
13449
13450         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13451
13452         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13453         command (necessary to pass " as parameter of self-insert.
13454
13455         * text.C (selectWordWhenUnderCursor):
13456         (selectWord): add word_location parameter
13457         (selectWordWhenUnderCursor): same + remove special code for word
13458         boundary.
13459         (selectNextWord): use kind() to guess type of insetspecialchar,
13460         not latex().
13461
13462         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13463         (insertErtContents): create ert insets as collapsed.
13464         (readInset): better compatibility code for Info inset.
13465
13466 2001-07-20  Juergen Vigna  <jug@sad.it>
13467
13468         * lyxfunc.C (dispatch): use always LyXFind now!
13469
13470         * text2.C (init): add a reinit flag so that the LyXText can be
13471         reinited instead of deleted and reallocated (used in InsetText).
13472
13473         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13474
13475         * text.C: ditto
13476
13477         * text2.C: ditto
13478
13479 2001-07-18  Juergen Vigna  <jug@sad.it>
13480
13481         * text.C (selectNextWord): handle insets inside inset by calling
13482         always the bv->text functions so that we can go up the_locking_inset!
13483
13484         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13485         in strange locations when inside an inset!
13486
13487         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13488         handling to include insets.
13489
13490         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13491
13492 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13493
13494         * LyXAction.C (init):
13495         * commandtags.h:
13496         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13497         LIGATURE_BREAK, since the name is so stupid.
13498
13499 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13502         InsetInfos.
13503
13504         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13505
13506         * sp_form.[Ch]: remove.
13507
13508         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13509
13510         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13511         InsetInfo.
13512
13513         * src/buffer.C (readInset): ditto.
13514
13515 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13516
13517         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13518         menuSeparator(), endOfSentenceDot(), ldots() and
13519         hyphenationPoint(), which are therefore removed.
13520         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13521
13522         * LyXAction.C (init):
13523         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13524
13525         * paragraph.C (getWord): removed.
13526
13527         * BufferView_pimpl.C (Dispatch): use last word or selection for
13528         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13529
13530         * lyx_main.C (queryUserLyXDir): do not ask before creating
13531         user_dir, except if it has been named explicitely.
13532
13533 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13534
13535         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13536         a document of zero size.
13537
13538 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13539
13540         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13541         approriately in the c-tor and in require().
13542         (getPackages): output the appropriate LaTeX for natbib support.
13543
13544         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13545         variables "use_natbib" and "use_numerical_citations" when reading the
13546         LyX file.
13547         (readInset): read the various natbib cite commands.
13548         (validate): white-space change.
13549
13550         * bufferparams.[Ch]: new variables "bool use_natbib" and
13551         "bool use_numerical_citations".
13552         (writeFile): output them in the LyX file.
13553
13554 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13555
13556         * lyxfunc.C (getStatus): add support for all the inset insertion
13557         commands.
13558
13559         * text2.C (insertInset):
13560         * paragraph.C (insetAllowed):
13561         * BufferView_pimpl.C (insertInset): update to take in account the
13562         renaming of insertInsetAllowed
13563
13564         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13565
13566         * text2.C (getInset): new method. returns inset at cursor position.
13567
13568         * BufferView_pimpl.C (Dispatch): changes because of this.
13569
13570         * LyXAction.C (init): rename open-stuff to inset-toggle.
13571
13572         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13573
13574         * text2.C (toggleInset): renamed from openStuff; use
13575         Inset::open().
13576
13577 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13578
13579         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13580
13581         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13582
13583 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13584
13585         * buffer.C (readLyXformat2): Add filename to the error dialog
13586
13587 2001-07-18  Juergen Vigna  <jug@sad.it>
13588
13589         * tabular.C (GetCellNumber): put an assert here instead of the check!
13590
13591 2001-07-17  Juergen Vigna  <jug@sad.it>
13592
13593         * BufferView_pimpl.C (toggleSelection): adapted too.
13594
13595         * text.C (selectNextWord): adapted for use with insets.
13596         (selectSelectedWord): ditto
13597
13598 2001-07-17  Juergen Vigna  <jug@sad.it>
13599
13600         * sp_spell.C (PSpell): fix initialitation order.
13601
13602 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * paragraph.C: spacing
13605
13606 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13607
13608         * sp_spell.C: repair language selection for pspell
13609
13610 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * lyxfunc.h: change more methods to begin with lower char.
13613
13614 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13617         for unknown layouts.
13618
13619 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13620
13621         * buffer.C (readLyXformat2): Generate an error dialog if there are
13622         unknown layouts.
13623
13624 2001-07-16  Juergen Vigna  <jug@sad.it>
13625
13626         * sp_spell.C: always compile ISpell part.
13627
13628         * lyxrc.C: added use_pspell entry and it's handling.
13629
13630 2001-07-13  Juergen Vigna  <jug@sad.it>
13631
13632         * sp_spell.C: removed double includes.
13633
13634 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         Consistent use of Lsstream.h:
13637         * Lsstream.h: added using std::stringstream for consistencies sake.
13638
13639         * buffer.C: removed using std::stringstream
13640
13641         * lyxfont.C (stateText):
13642         * paragraph.C (asString):
13643         * text.C (selectNextWord, selectSelectedWord):
13644         * text2.C (setCounter):
13645         * vspace.C (asString, asLatexString):
13646         std::ostringstream -> ostringstream.
13647
13648 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13649
13650         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13651         * commandtags.h: add LFUN_HELP_ABOUTLYX
13652         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13653
13654 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13655
13656         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13657         cursorToggle()
13658         * lyx_gui_misc.C: remove spellchecker
13659         * lyxfunc.C: showSpellchecker
13660         * sp_base.h: added
13661         * sp_ispell.h: added
13662         * sp_pspell.h: added
13663         * sp_spell.C: added
13664         * sp_form.[Ch]: removed
13665         * spellchecker.[Ch]: removed
13666
13667 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13668
13669         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13670         is set.
13671         (simpleTeXSpecialChars): Simply print the input character without
13672         any special translation if pass_thru is set.
13673
13674         * layout.h: Added bool pass_thru to layout class for being able to
13675         implement pass through of a paragraph for Literate Programming.
13676
13677         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13678         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13679         * layout.C (Read): add "passthru" to list of layout tags and add
13680         code to set the pass_thru boolean when it is read.
13681
13682 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13683
13684         * trans_decl.h: remove allowed from KmodInfo
13685
13686         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13687         remove allowed code
13688         (Load): adjust
13689
13690         * paragraph_pimpl.C (erase): use boost::prior
13691
13692         * Painter.C (text): use data() instead of c_str() when length is
13693         also provided.
13694         * WorkArea.C (putClipboard): ditto
13695         * font.h (width): ditto
13696
13697         * BufferView2.C: use it-> instead of (*it). for iterators
13698         * texrow.C: ditto
13699         * paragraph_pimpl.C: ditto
13700         * paragraph.C: ditto
13701         * minibuffer.C: ditto
13702         * language.C: ditto
13703         * kbmap.C: ditto
13704         * encoding.C: ditto
13705         * counters.C: ditto
13706         * converter.C: ditto
13707         * chset.C: ditto
13708         * Variables.C: ditto
13709         * TextCache.C: ditto
13710         * MenuBackend.C: ditto
13711         * LyXAction.C: ditto
13712         * LColor.C: ditto
13713         * FloatList.C: ditto
13714         * DepTable.C: ditto
13715         * ColorHandler.C (LyXColorHandler): ditto
13716
13717 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13720
13721         * text2.C (openStuff): reintroduce this method (which had been
13722         nuked in NEW_INSETS frenzy).
13723
13724         * lyxfunc.C (Dispatch): when an action has not been handled, use
13725         its name in the error message, not its number.
13726
13727         * paragraph.C (inInset): change method name to begin with lowercase.
13728
13729         * undo_funcs.C:
13730         * text2.C: updates because of this.
13731
13732 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13733
13734         * ToolbarDefaults.C (add): add spaces in error message
13735
13736 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13739         (readLyXformat2): rename return_par to first_par, use lyxlex's
13740         pushToken and remove the manual push handling.
13741         (parseSingleLyXformat2Token): add another ert comp. variable:
13742         in_tabular, rename return_par to first_par. handle newlines better
13743
13744 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13745
13746         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13747
13748 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * text2.C (getParFromID): removed
13751
13752         * buffer.C (getParFromID): new method moved form lyxtext.
13753         * BufferView2.C (insertErrors): adjust
13754         (setCursorFromRow): adjust
13755         * BufferView_pimpl.C (restorePosition): adjust
13756         * lyxfunc.C (Dispatch): adjust
13757         * undo_funcs.C (textUndo): adjust
13758         (textRedo): adjust
13759         (textHandleUndo): adjust
13760         (textHandleUndo): adjust
13761
13762 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * buffer.C: up' the LYX_FORMAT
13765
13766         * lyxfont.h: turn NO_LATEX on as default
13767
13768         * buffer.C (insertErtContents): new methods of tex style compability.
13769         (parseSingleLyXformat2Token): use it several places.
13770         * tabular.C (OldFormatRead): and here
13771
13772 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * text2.C: remove some commented code.
13775         reindent file.
13776
13777         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13778         * trans.C: changes because of the above.
13779
13780 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * text2.C (setCounter): Fix counters bug with bibliography layout.
13783
13784 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13787         own member functions
13788         (simpleTeXSpecialChars): ditto
13789
13790 2001-07-06  Juergen Vigna  <jug@sad.it>
13791
13792         * a lot of files: changed the access to LyXText::status and the
13793         call of undo-functions.
13794
13795         * undo.[Ch]: added a inset_id to the undo informations.
13796
13797         * undo_funcs.[Ch]: added and moved here all undo functions.
13798
13799         * lyxtext.h: give the status enum a weight, made status_ a private
13800         variable and made accessor functions for it, removed the whole bunch
13801         of undo-functions as they are now in their own file, make some
13802         functions publically available. Added function ownerParagraph with
13803         int parameter.
13804
13805         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13806         made InInset() a const function, added getParFromID() function.
13807
13808         * buffer.[Ch]: added const version for inset_iterator functions,
13809         added getInsetFromID() function.
13810
13811         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13812         changed undo functions for new version.
13813
13814 2001-07-05  Juergen Vigna  <jug@sad.it>
13815
13816         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13817         unknow mechanism does not call the proper constructor but only this
13818         one also if I request the other!?
13819
13820 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13823
13824         * text2.C (LyXText): use initialization lists.
13825
13826         * lyxtext.h (Selection): initialize set_ and mark_
13827         (init): remove method
13828
13829 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13830
13831         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13832
13833 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13834
13835         * screen.[Ch]: change method names to begin with lowercase
13836
13837         * BufferView_pimpl.C (updateScrollbar): simplify further and
13838         hopefully make it a bit faster.
13839
13840 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13843         calling directly xforms functions.
13844
13845         * Painter.C (Painter):
13846         * lyx_cb.C (MenuWrite):
13847         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13848         fl_display.
13849
13850         * lyx_gui.C: remove bogus guiruntime extern declaration.
13851
13852 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13855         in NEW_INSETS
13856         (redoDrawingOfParagraph): ditto
13857         (redoParagraphs): ditto
13858         (cutSelection): don't create a object for CutAndPaste use the
13859         static method directly
13860         (pasteSelection): ditto
13861
13862         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13863         LyXview (+ rename)
13864
13865 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * modifications to some other files because of this.
13868
13869         * Makefile.am (lyx_SOURCES): add XFormsView
13870
13871         * XFormsView.[Ch]: new files
13872
13873         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13874         the main window. Move the gui dependent stuff to XFormsView
13875
13876 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * tabular.C (GetCellInset): update cur_cell also in the row/col
13879         version of this function.
13880
13881         * lyxfunc.C: no need to include figure_form.h here.
13882
13883         * FontLoader.h:
13884         * lyxfunc.h:
13885         * lyxscreen.h:
13886         * text2.C:
13887         * lyxvc.C: no need to include forms.h here.
13888
13889 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13892
13893         * lyxfunc.C (Dispatch):
13894         * Spacing.C (set):
13895         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13896         constructor argument.
13897
13898 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * paragraph.C (Paragraph): dont't clear, and just set layout.
13901         (makeSameLayout): use params's copy contructor.
13902
13903         * ParagraphParameters.[Ch] (makeSame): delete method
13904
13905 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * Variables.[Ch]: fix indentation, rename set to isSet
13908
13909 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * lyxfunc.C (Dispatch): fix typo
13912
13913 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13916         upper_bound.
13917
13918         * bufferlist.C: include assert.h for emergencyWrite().
13919
13920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13923           give up at last (bug #425202) !
13924
13925 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13926
13927         * lyx_gui_misc.C:
13928         * sp_form.h:
13929         * sp_form.C:
13930         * spellchecker.h:
13931         * spellchecker.C: strip spellchecker options and bring up
13932           preferences tab instead
13933
13934 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13937         the istringstream constructor
13938
13939 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * paragraph.C (getLayout): fix return value
13942
13943         * paragraph.h: do not declare getLayout as inline.
13944
13945         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13946
13947 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13948
13949         * lyxcursor.h (operator<): new func
13950         (operator>): new func
13951         (operator>=): new func
13952         (operator<=): new func
13953
13954         * text.C (changeCase): use selection.start and selection.end
13955         (changeRegionCase): require from to be <= to. Require par to be a
13956         valid paragraph.
13957
13958         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13959
13960 2001-06-27  Juergen Vigna  <jug@sad.it>
13961
13962         * text.C (cursorLeftOneWord): changed to return the cursor and added
13963         overlay with BufferView * parameter which calls this one.
13964         (getWord): added
13965         (selectWord): use new getWord function.
13966         (changeCase): renamed from changeWordCase as and extended to work
13967         also on selections.
13968
13969         * lyxtext.h: added enum word_location
13970
13971         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13972         changeCase as this operates now also on selections.
13973
13974 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13975
13976         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13977
13978         * many files: send debug output to Debug::INFO instead of
13979         Debug::ANY.
13980
13981         * converter.C (View):
13982         (Convert):
13983         (Move): send debug output to Debug::FILES instead of console.
13984
13985 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13986
13987         * lyxfunc.C (getStatus): use func_status
13988
13989         * func_status.h: new header, describing the results of
13990         LyXFunc::getStatus;
13991
13992         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13993         LFUN_MATH_HALIGN.
13994
13995 2001-06-25  The LyX Project  <jug@sad.it>
13996
13997         * buffer.C (sgmlOpenTag):
13998         (sgmlCloseTag):
13999         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14000
14001 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14002
14003         * text2.C: remove some dead code
14004
14005         * tabular.C (GetCellInset): store the last cell checked (gotten)
14006
14007         * tabular.h: add the helper for the speedup
14008
14009         * lyxtext.h: remove some dead code
14010
14011 2001-06-26  The LyX Project  <Asger>
14012
14013         * paragraph.C: Change export to LaTeX of alignment to
14014         \begin{center} and family for better roundtrip work with reLyX.
14015
14016         * Tune the math drawing a bit.
14017
14018 2001-06-25  The LyX Project  <Asger>
14019
14020         * LColor.C (LColor): New color for math background. New color
14021         for buttons.
14022
14023 2001-06-25  The LyX Project  <jug@sad.it>
14024
14025         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14026
14027         * lyxfunc.C (Open):
14028         * bufferlist.C (newFile): do not restrict to files ending with
14029         .lyx
14030
14031         * BufferView_pimpl.C (MenuInsertLyXFile):
14032
14033 2001-06-24  The LyX Project  <jug@sad.it>
14034
14035         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14036         of compare_no_case
14037
14038 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * lyxtext.h: rename most methods to begin with a small char.
14041         Lots of changes because of this.
14042
14043         * paragraph.C (Paragraph): do not call fitToSize
14044         (erase): call Pimpl::erase
14045         (insertChar): call Pimpl::insertChar
14046         (insertInset): call Pipl::insertInset
14047         (breakParagraph): do not call fitToSize
14048         (breakParagraphConservative): do not call fitToSize
14049         (fitToSize): remove method
14050
14051         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14052
14053 2001-06-24  The LyX Project  <Asger>
14054
14055         * Fix Qt compilation^2
14056
14057 2001-06-24  The LyX Project  <jug@sad.it>
14058
14059         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14060         depthHook(getDepth()-1).
14061
14062         * paragraph.h:
14063         * ParagraphParameters.h:
14064         * ParameterStruct.h: change type of depth to unsigned int ==
14065         depth_type. Many adaptations to other files before of that.
14066
14067 2001-06-24  The LyX Project  <Asger>
14068
14069         * Fix Qt compilation.
14070
14071 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * paragraph.h: renamed several methods to begin with small letter.
14074         several changes to many parts of the code because of this.
14075
14076 2001-06-23  The LyX Project  <jug@sad.it>
14077
14078         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14079         rewritten to discard all double spaces when KeepEmpty is off
14080         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14081         to only handle newlines but not fiddle with spaces and friends.
14082
14083         * lyxfunc.C (MenuNew): when doing 'new from template', use
14084         template_path as default directory
14085
14086 2001-06-23  The LyX Project  <Asger>
14087
14088         * Clean-up of header file includes all over
14089         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14090
14091 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * paragraph.h: renamed from lyxparagraph.h
14094
14095 2001-06-23  Asger  <lyx@violet.home.sad.it>
14096
14097         * Buffer.h: Removed Buffer::resize
14098         * BufferList.h: Removed BufferList::resize
14099         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14100         the document lazily when we change the width, or the font settings.
14101
14102 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14105
14106 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * buffer.h: remove out of date comment
14109
14110 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * lyxscreen.h:
14113         * screen.C: fix "theoretical" GC leak
14114
14115 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * LaTeX.C (scanAuxFile):
14118         (deplog): remove trailing \r when reading stream (useful under
14119         win32)
14120
14121 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14122
14123         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14124         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14125         and BufferView::theLockingInset(Inset*), so should use them and not
14126         access bv_->text->the_locking_inset directly.
14127
14128         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14129
14130 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * Makefile.am:
14133         * tex-defs.h: remove old unused file
14134
14135 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * BufferView_pimpl.C: fix typo, remove minibuffer message
14138           when buffer has loaded
14139
14140 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14141
14142         * lyxfunc.C (Dispatch): use stringstream
14143         (MenuNew): use stringstream
14144         (Open): use stringstream
14145
14146         * importer.C (Import): use stringstream
14147
14148         * bufferview_funcs.C (CurrentState): use stringstream
14149
14150         * LaTeX.C (run): use stringstream
14151
14152         * BufferView_pimpl.C (savePosition): use stringstream
14153         (restorePosition): use stringstream
14154         (MenuInsertLyXFile): use stringstream
14155
14156 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14157
14158         * BufferView.C:
14159         * Bullet.C:
14160         * ColorHandler.C:
14161         * FontInfo.C:
14162         * FontLoader.C:
14163         * LColor.C:
14164         * LaTeXFeatures.C:
14165         * Painter.C:
14166         * gettext.C:
14167         * lyx_gui_misc.C:
14168         * lyxserver.C:
14169         * vspace.C: removed // -*- C++ -*- as first line.
14170
14171         * lyxfind.h:
14172         * version.h: added // -*- C++ -*- as first line.
14173
14174 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14177
14178         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14179         of string
14180
14181 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14184         of floats.
14185
14186 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14187
14188         * gettext.C: include LString.h even when --disable-nls is on.
14189
14190 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * converter.h (Get): changed argument type from int to
14193         FormatList::size_type to avoid unnecessary conversion.
14194
14195         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14196         before using it.
14197
14198 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14199
14200         * gettext.h: include LString.h even when --disable-nls is on.
14201
14202 2001-06-07  Juergen Vigna  <jug@sad.it>
14203
14204         * text.C (BreakAgain): subst spaces with tabs.
14205
14206         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14207         (resizeInsetsLyXText): set force on resizeLyXText.
14208
14209 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * gettext.h (gettext_init):
14212         (locale_init): use a real definition instead of a macro
14213
14214 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * Bufferview_pimpl.C:
14217         * LColor.h:
14218         * LColor.C: further lcolor tidies
14219
14220 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * BufferView_pimpl.C (updateScrollbar): simplify.
14223
14224         * BufferView2.C: don't include insets/insetinfo.h, change
14225         prototype for insertInset and call the Pimpl version. let
14226         updateInset call Pimpl version.
14227
14228         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14229         gotoInset to BufferView::Pimpl
14230
14231 2001-06-01  Juergen Vigna  <jug@sad.it>
14232
14233         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14234         inside a LockingInset (is the update needed at all?).
14235
14236 2001-05-31  Juergen Vigna  <jug@sad.it>
14237
14238         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14239         here not the old one otherwise how should we compare it afterwards
14240         if it's the same!
14241
14242 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * lyxfont.C:
14245         * tabular.C:
14246         * tabular-old.C:
14247         * FontInfo.C: bring C functions into global namespace when
14248         necessary
14249
14250 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * LString.h: make sure config.h has been loaded before LString.h.
14253
14254         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14255         (one for each char read by EatLine!).
14256
14257         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14258         variables.
14259
14260 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14263         to the same as the par we break from
14264
14265 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14268
14269         * MenuBackend.C (expand): also create menu entries for wide
14270         versions of the floats.
14271
14272         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14273
14274         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14275
14276         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14277         frontends/Makefile.am
14278
14279         * text2.C: adjust
14280         * text.C: adjust
14281
14282
14283         * tabular.C (getTokenValue): add std::
14284
14285         * tabular-old.C (getTokenValue): add std::
14286         (getTokenValue): ditto
14287         (getTokenValue): ditto
14288
14289         * screen.C (ToggleSelection): adjust
14290
14291         * lyxtext.h: put selection cursors inside a Selection struct.
14292
14293         * lyxfunc.C (moveCursorUpdate): adjust
14294
14295         * lyxfont.C (latexWriteStartChanges): add std::
14296
14297         * lyxfind.C: adjust
14298
14299         * font.h: delete with(char const *, LyXFont const &)
14300
14301         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14302
14303         * FontInfo.C (getFontname): add std::
14304
14305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14306         (workAreaButtonPress): adjust
14307         (tripleClick): adjust
14308         (update): adjust
14309         (moveCursorUpdate): adjust
14310         (Dispatch): adjust
14311
14312         * BufferView2.C (gotoInset): adjust
14313
14314 2001-05-30  Juergen Vigna  <jug@sad.it>
14315
14316         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14317         to check pspell I add this as default as I now have new pspell
14318         libraries and they seem to use this.
14319
14320 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * text2.C (CutSelection): make the cursor valid before the call to
14323         ClearSelection.
14324
14325 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14328         relied on 0 terminated strings and other horrors. Bug found due to
14329         the new assert in lyxstring!
14330
14331         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14332         KP_ keys.
14333
14334 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14337         to latinkeys.bind.
14338
14339         * lyxfunc.C (processKeySym): change method of getting to the
14340         self-insert char.
14341
14342         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14343         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14344         * BufferView_pimpl.[Ch]: here as private methods.
14345
14346 2001-05-28  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (SetHeightOfRow): added the update() call again as it is
14349         needed to initialize inset dimensions!
14350
14351 2001-05-16  Juergen Vigna  <jug@sad.it>
14352
14353         * text2.C (SetCharFont): Add new function with BufferView * and
14354         bool toggleall parameters for setting insets internal fonts.
14355         (SetFont): Freeze the undo as we may change fonts in Insets and
14356         all this change should be inside only one Undo!
14357
14358         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14359         setting font's in insets as for them we have the SetFont function!
14360
14361 2001-05-15  Juergen Vigna  <jug@sad.it>
14362
14363         * text2.C (ClearSelection): to be sure we REALLY don't have any
14364         selection anymore!
14365
14366         * tabular.C (TeXCellPreamble): fixed the left border problem for
14367         multicolumn cells.
14368
14369 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14370
14371         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14372         dependancy file
14373
14374 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14375
14376         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14377         LFUN_BREAKPARAGRAPH.
14378
14379         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14380         help test to "internal only", similar for LFUN_INSERT_URL
14381
14382         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14383         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14384         auto_region_delete and deadkeys.
14385
14386 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * LColor.h:
14389         * LColor.C: remove some dead entries, tidy a little
14390
14391 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14394         commented code.
14395         (Dispatch): implement LFUN_ESCAPE
14396
14397         * commandtags.h: add LFUN_ESCAPE
14398
14399         * LyXAction.C (init): add entry for LFUN_ESCAPE
14400
14401         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14402         Remove commented code.
14403         (insertNote): moved here
14404         (open_new_inset): moved here
14405
14406         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14407         BufferView_pimpl
14408
14409 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * kbmap.C (findbinding): clean it up and make it work correctly.
14412
14413         * lyx_main.C (init): do not pass argc and argv as parameters
14414
14415 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14416
14417         * buffer.C: fix path for OS/2 & Win32
14418
14419         * lyx_gui.C:
14420         * lyx_main:
14421         * lyx_main.C: Added os:: class.
14422
14423         * os2_defines.h: update
14424
14425 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14428         better by trying again with reduced state.
14429
14430 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * lyxrc.C (read): print error about invalid key sequence only when
14433         debugging (because not all latinX keysyms are known to some X
14434         servers)
14435
14436         * kbsequence.C (getiso): add a few std:: qualifiers
14437         (getiso): comment out extra return statement.
14438
14439 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14442         handling.
14443         (Dispatch): enhance the accent inset a bit. (not perfect)
14444
14445 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14448
14449 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * bufferlist.C (emergencyWrite): fix assert() call
14452
14453 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14454
14455         * text.C (InsertChar): Added trivial patch to only send the "you
14456         can not do multiple spaces this way" message once during a
14457         session.
14458
14459 2001-05-08  Baruch Even  <baruch@lyx.org>
14460
14461         * Makefile.am: Changed order of libraries to get LyX to link properly
14462         with the gnome frontend.
14463
14464 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14465
14466         * LaTeXFeatures.h: add a std:: qualifier
14467
14468 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * paragraph.C (String): use stringstream
14471
14472 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * paragraph.C (writeFile): remove footflag arg
14475
14476         * buffer.C (makeLaTeXFile): use stringstream
14477         (latexParagraphs): remove footnot gurba
14478
14479         * LaTeXFeatures.C (getPackages): use stringstream
14480         (getMacros): likewise
14481         (getTClassPreamble): likewise
14482         (getFloatDefinitions): new method
14483
14484         * paragraph.C (writeFile): reindent
14485         (Erase): reindent
14486
14487         * WorkArea.h: revert the xpos + etc changes.
14488
14489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14490
14491         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14492
14493         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14494         (pasteSelection): likewise
14495         * text2.C (CreateUndo): likewise
14496
14497 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * minibuffer.C (peek_event): temporarily reduce the functionality
14500         of the minibuffer (to allow args on lfuns)
14501
14502         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14503         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14504
14505         * buffer.C (readInset): add compability reading of old float
14506         lists, add reading of new style float list.
14507         (readInset): avoid reevaluation of inscmd.getCmdName()
14508         (getLists): reindent
14509
14510         * MenuBackend.C (MenuItem): implement parsing of
14511         md_floatlistinsert and md_floatinsert.
14512         (expand::LastFiles): move initalizaton of iterators out of loop,
14513         avoid reevaluation.
14514         (expand::Documents): introduce typdedef vector<string> Strings,
14515         and use it.
14516         (expand::ExportFormats): introduce typedef vector<Format const *>
14517         Formats, and use it.
14518         (expand): implement FloatListInsert and FloatInsert.
14519
14520         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14521         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14522         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14523
14524         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14525         handling.
14526         (Dispatch::LFUN_FLOAT_LIST): implement
14527
14528 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14529
14530         * LaTeX.C (run): Fix problem with --export code.
14531
14532 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * BufferView.[Ch] (workarea): removed.
14535         (getClipboard) new method; wrapper for workarea()->getClipboard()
14536
14537         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14538         bug.
14539
14540         * WorkArea.h (width, height, xpos, ypos): These methods all
14541         returned the dimensions of the work_area sub-area of WorkArea,
14542         resulting in a position error if the WorkArea were resized. Now
14543         return the dimensions of the entire WorkArea.
14544
14545         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14546
14547 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14548
14549         * LaTeX.C (deplog): correct the syntax of regex reg1
14550
14551 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * undo.C: remove !NEW_INSETS cruft
14554
14555 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * text2.C: remove !NEW_INSETS cruft
14558
14559         * text.C: remove !NEW_INSETS cruft
14560
14561         * tabular.C: remove !NEW_INSETS cruft
14562
14563         * spellchecker.C: remove !NEW_INSETS cruft
14564
14565         * lyxtext.h: remove !NEW_INSETS cruft
14566
14567         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14568
14569         * lyxfunc.C: remove !NEW_INSETS cruft
14570
14571         * lyxfind.C: remove !NEW_INSETS cruft
14572
14573         * lyx_cb.C: remove !NEW_INSETS cruft
14574
14575         * figureForm.C: remove  !NEW_INSETS cruft
14576
14577         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14578
14579         * buffer.[Ch]: remove !NEW_INSETS cruft
14580
14581         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14582
14583         * CutAndPaste.C: remove !NEW_INSETS cruft
14584
14585         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14586
14587         * BufferView2.C: remove !NEW_INSETS cruft
14588
14589         * BufferView.h: remove !NEW_INSETS cruft
14590
14591 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * Lsstream.h: include LString.h before the sstream headers to
14594         fix problem with gcc 2.95.3 and lyxstring
14595
14596 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14597
14598         * lyx_main.C: add using directives when needed for C functions
14599         declared in std:: namespace.
14600
14601 2001-04-27  Juergen Vigna  <jug@sad.it>
14602
14603         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14604         (SetHeightOfRow): comment out the update call should not be needed!
14605
14606 2001-04-13  Juergen Vigna  <jug@sad.it>
14607
14608         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14609         (LyXTabular): tried to minimize operator= operations (and realized
14610         hopfully Lars wish).
14611
14612 2001-04-27  Juergen Vigna  <jug@sad.it>
14613
14614         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14615
14616 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14619
14620         * buffer.C (readInset): hack to make listof algorithm work
14621
14622         * BufferView_pimpl.C: hack to make listof algorithm work
14623
14624 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14625
14626         * LyXAction.C: removed all !NEW_INSETS cruft
14627         (init): moved lfun_item in method
14628
14629         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14630
14631 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14632
14633         * BufferView2.C (theLockingInset): white space.
14634
14635 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * minibuffer.C: include <iostream>
14638
14639         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14640
14641         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14642
14643         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14644
14645         * text.[Ch] (TransposeChars): new method
14646
14647 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * call message directly through LyXView instead of through LyXFunc
14650         * BufferView2.C: adjust
14651         * BufferView_pimpl.C: adjust
14652         * FontLoader.C: adjust
14653         * buffer.C: adjust
14654         * bufferview_funcs.C: adjust
14655         * converter.C: adjust
14656         * figureForm.C: adjust
14657         * importer.C: adjust
14658         * lyx_cb.C: adjust
14659         * lyx_gui_misc.C: adjust
14660         * lyxfunc.C: adjust
14661         * lyxvc.C: adjust
14662         * text2.C: adjust
14663         + more files in subdirs
14664
14665         * lyxparagraph.h (size): move up int file
14666         (GetLayout): ditto
14667
14668         * adjust all uses of Assert to lyx::Assert.
14669
14670         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14671         lyxfunctional in namespace lyx
14672         * layout.C (hasLayout): ditto
14673         (GetLayout): ditto
14674         (GetLayout): ditto
14675         (delete_layout): ditto
14676         (NumberOfClass): ditto
14677         * converter.C (GetFormat): ditto
14678         (GetNumber): ditto
14679         (Add): ditto
14680         (Delete): ditto
14681         (SetViewer): ditto
14682         * bufferlist.C (getFileNames): ditto
14683         (emergencyWriteAll): ditto
14684         (exists): ditto
14685         (getBuffer): ditto
14686         * MenuBackend.C (hasSubmenu): ditto
14687         (hasMenu): ditto
14688         (getMenu): ditto
14689         * BufferView_pimpl.C (getInsetByCode): ditto
14690
14691 2001-04-18  Juergen Vigna  <jug@sad.it>
14692
14693         * vspace.C (asLatexString): fixed the 100% problem.
14694
14695 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * lyxfunc.C (Dispatch):
14698         * minibuffer.C:
14699         * minibuffer.h: add a few std:: qualifiers
14700
14701 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * minibuffer.[Ch]: reimplement so that commands is initiated and
14704         run from lyxfunc, simplified som handling, and made the completion
14705         and history code for complete. wip.
14706
14707         * lyxfunc.C (processKeySym): call message
14708         (miniDispatch): new temporary method
14709         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14710         (LFUN_MESSAGE): implement
14711         (LFUN_MESSAGE_PUSH): implement
14712         (LFUN_MESSAGE_POP): implement
14713         (initMiniBuffer): the initial/defualt minibuffer message.
14714
14715         * lyxfont.[Ch]: inline some more getters
14716
14717         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14718
14719         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14720
14721         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14722         (AutoSave): use LFUN_MESSAGE
14723         (Reconfigure): ditto
14724
14725         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14726
14727         * figureForm.C: use LFUN_MESSAGE
14728
14729         * converter.C (runLaTeX): use LFUN_MESSAGE
14730
14731         * bufferview_funcs.C: use LFUN_MESSAGE
14732         (Melt): ditto
14733         (changeDepth): ditto
14734
14735         * bufferparams.h: use boost::
14736
14737         * bufferlist.h: inherit privately from noncopyable
14738
14739         * bufferlist.C (loadLyXFile): remove some commented code.
14740
14741         * buffer.C (runChktex): use LFUN_MESSAGE
14742
14743         * ShareContainer.h: inherit privately from noncopyable
14744
14745         * ParagraphParameters.[hC] (depth): inline it.
14746
14747         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14748         methods.
14749         (message): new method
14750         (messagePush): ditto
14751         (messagePop): ditto
14752         (show): init minibuffer
14753         (showState): direct call
14754
14755         * LaTeX.[Ch]: inherit privately from noncopyable
14756         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14757         instead of WriteStatus.
14758
14759         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14760
14761         * BufferView_pimpl.C (buffer): don't init minibuffer
14762         (workAreaButtonPress): use LFUN_MESSAGE
14763         (workAreaButtonRelease): ditto
14764         (savePosition): ditto
14765         (restorePosition): ditto
14766         (MenuInsertLyXFile): ditto
14767         (workAreaExpose): don't init minibuffer
14768         (update): remove commented code, simplify
14769
14770         * BufferView2.C (openStuff): use LFUN_MESSAGE
14771         (toggleFloat): ditto
14772         (menuUndo): ditto
14773         (menuRedo): ditto
14774         (copyEnvironment): ditto
14775         (pasteEnvironment): ditto
14776         (copy): ditto
14777         (cut): ditto
14778         (paste): ditto
14779         (gotoInset): ditto
14780         (updateInset): remove some commented code
14781
14782         * lastfiles.h: inherit privately from noncopyable
14783         * layout.h: ditto
14784         * lyx_gui.h: ditto
14785         * lyx_main.h: ditto
14786         * lyxlex.h: ditto
14787         * lyxlex_pimpl.h: ditto
14788
14789         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14790         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14791         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14792
14793         * LyXAction.h: inherit privately from noncopyable, add methods
14794         func_begin, func_end, returning iterators to the func map.
14795
14796         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14797         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14798         (func_begin): new method
14799         (func_end): new method
14800
14801         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14802         and not)
14803         (copySelection): ditto
14804         (pasteSelection): ditto
14805
14806         * BufferView.C: whitespace change
14807         * BufferView.h: inherit privately from noncopyable
14808
14809 2001-04-16  Allan Rae  <rae@lyx.org>
14810
14811         * tabular-old.C (l_getline):
14812         * spellchecker.C (sc_check_word):
14813         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14814         an unrecognised preprocessor directive.  So ensure they're wrapped.
14815
14816 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14817
14818         * src/exporter.C (Export): Give an error message when path to file
14819         contains spaces.
14820
14821 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * LaTeX.C (deplog): Always check that foundfile exists.
14824
14825 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * lyx_main.h:
14828         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14829
14830 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * tabular.[Ch] (getLabelList): implement new method
14833
14834         * minibuffer.h: comment ouf setTiimer
14835
14836         * minibuffer.C (ExecutingCB): constify res
14837         (peek_event): constify s
14838         (Set): constify ntext
14839         (Init): constify nicename
14840
14841         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14842
14843         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14844         (savePosition): use two params to Minibuffer::Set
14845         (restorePosition): ditto
14846
14847 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * lyx_main.C: include language.h
14850
14851         * Makefile.am (lyx_main.o): add language.h
14852
14853 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * exporter.C:
14856         * paragraph.C:
14857         * screen.C:
14858         * tabular.C:
14859         * CutAndPaste.C: include gettext.h
14860
14861         * lyxfont.h: remove old hack with ON and OFF.
14862
14863         * lyxparagraph.h:
14864         * lyxfont.h: do not include language.h...
14865
14866         * BufferView2.C:
14867         * LaTeXFeatures.C:
14868         * Painter.C:
14869         * bufferview_funcs.C:
14870         * font.C:
14871         * lyxfont.C:
14872         * text.C:
14873         * text2.C:
14874         * trans_mgr.C:
14875         * paragraph.C: ... but do it here instead
14876
14877 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14878
14879         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14880
14881         * tabular.C: small reformat
14882
14883         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14884         NEW_INSETS version
14885         (GetChar): ditto
14886         (BreakParagraph): ditto
14887         (SetOnlyLayout): ditto
14888         (SetLayout): ditto
14889
14890         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14891         with one arg less.
14892
14893         * lastfiles.C: removed most using decl, add std:: where needed
14894
14895         * buffer.C: ws changes
14896
14897         * MenuBackend.C (class compare_format): put into anon namespace
14898         (expand): constify label, names, action, action2
14899         (expand):
14900
14901         * text.C (SingleWidth): constify font
14902         (IsBoundary): constify rtl2
14903         (GetVisibleRow): constify ww
14904
14905         * LaTeX.C (deplog): constify logfile
14906
14907         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14908         start_x, end_x
14909         (workAreaExpose): constify widthChange, heightChange
14910
14911         * lyxrow.C (par): moved
14912         (height): moved
14913         (next): moved
14914         * lyxrow.h: as inlines here
14915
14916         * lyxfont.h (shape): moved from lyxfont.C
14917         (emph): moved from lyxfont.C
14918
14919         * lyxfont.C (LyXFont): use initialization list for all
14920         constructors
14921         (shape): move to lyxfont.h as inline
14922         (emph): move to lyxfont.h as inline
14923
14924
14925 2001-04-04  Juergen Vigna  <jug@sad.it>
14926
14927         * vspace.C: had to include stdio.h for use of sscanf
14928
14929 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * BufferView.h:
14932         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14933         independent of xforms.
14934
14935 2001-04-02  Juergen Vigna  <jug@sad.it>
14936
14937         * spellchecker.C: fixed namespace placing!
14938
14939 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14942         the LyXParagraph * is 0.
14943
14944 2001-03-29  Juergen Vigna  <jug@sad.it>
14945
14946         * vspace.C: added support for %, c%, p%, l%.
14947         (stringFromUnit): added helper function.
14948         (asLatexString): changed to give right results for the %-values.
14949
14950         * buffer.C: convert the widthp in a width%.
14951
14952 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14953
14954         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14955         figureForm.[Ch].
14956
14957         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14958         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14959
14960         * lyx_cb.[Ch]: see above.
14961
14962         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14963         form1.[Ch].
14964
14965         * form1.[Ch]:
14966         * lyx.[Ch]: replaced by figure_form.[Ch].
14967
14968         * lyx_gui.C:
14969         * lyx_gui_misc.C:
14970         * lyxfunc.C: changed headers associated with above changes.
14971
14972 2001-03-27  Juergen Vigna  <jug@sad.it>
14973
14974         * BufferView_pimpl.C: set the temporary cursor right!
14975
14976 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14977
14978         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14979
14980 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14981
14982         * LString.h: removed "using std::getline"!
14983
14984         * BufferView_pimpl.C (Dispatch): changes due to changes in
14985         InsetInclude::Params.
14986
14987         * buffer.C (tag_name): removed redundant break statements as they were
14988         producing lots of warnings with my compiler.
14989
14990 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14991
14992         * LString.h: add "using std::getline" when using the real <string>.
14993
14994 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14995
14996         * buffer.C: removed bitset usage.
14997         PAR_TAG moved to an anonymous name space.
14998         (tag_name): new funtion, also in the anonymous namespace.
14999         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15000         (makeDocBookFile): clean code. Completed transition from string arrays
15001         to string vectors.
15002         (SimpleDocBookOnePar): code clean.
15003
15004 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15005
15006         * tabular.C: add some comments.
15007
15008 2001-03-22  Juergen Vigna  <jug@sad.it>
15009
15010         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15011         compatibility read a bit and fixed bug with minipage in different
15012         depth.
15013
15014 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15015
15016         * buffer.C (pop_tag): removed.
15017         (push_tag): removed.
15018         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15019         array replaced with vector. Added support for CDATA sections.
15020         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15021         at any nest level.
15022         (makeDocBookFile): XML conformant declaration of CDATA section,
15023         fixed bug related to <emphasis> in the first paragraph char.
15024         (sgmlOpenTag): exclude empty tags.
15025         (sgmlCloseTag): ditto.
15026
15027         * buffer.h (pop_tag): removed.
15028         (push_tag): removed.
15029
15030 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15031
15032         * language.h (Languages): added size_type and size().
15033
15034 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15035
15036         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15037         response on compability reading of minipages. One probliem is that
15038         the old usage of minipages was «flertydig»
15039
15040         * several files here and in subdirs: don't use static at file
15041         scope use anon namespaces instead.
15042
15043 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15044
15045         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15046         LaTeX output. This is necessary for Literate document
15047         processing.
15048
15049 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15050
15051         * buffer.C: insert hfill when needed.
15052
15053         * tabular.C (l_getline): use string::erase, small whitespace change.
15054
15055         * BufferView_pimpl.C: try the anon namespace.
15056         * WorkArea.C: ditto
15057
15058 2001-03-16  Juergen Vigna  <jug@sad.it>
15059
15060         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15061         otherwise it won't open options-dialogs.
15062
15063         * buffer.C: honor pextraWidth(p) on converting minipages.
15064
15065         * tabular.C (l_getline): changed the functions to strip trailing \r.
15066
15067 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15068
15069         * BufferView_pimpl.C:
15070         * minibuffer..C: added "using SigC::slot" declaration.
15071
15072 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15073
15074         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15075
15076         * text2.C: ditto
15077
15078         * text.C: ditto
15079
15080         * paragraph.C: ditto
15081
15082         * lyxtext.h: NO_PEXTRA
15083
15084         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15085
15086         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15087         * ParameterStruct.h: ditto
15088         * ParagraphParameters.h: ditto
15089         * lyxparagraph.h: ditto
15090
15091 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15092
15093         * buffer.C: add compability for minipage alignment.
15094         (latexParagraphs): remove unwanted pextra check.
15095
15096         * several files: remove CXX_WORKING_NAMESPACES
15097
15098         * buffer.C (pop_tag): tie is in namespace boost
15099
15100         * BufferView.h: noncopyable is in namespace boost
15101         * lyxlex.h: ditto
15102         * lyx_main.h: ditto
15103         * lyx_gui.h: ditto
15104         * layout.h: ditto
15105         * lastfiles.h: ditto
15106         * bufferlist.h: ditto
15107         * ShareContainer.h: ditto
15108         * LyXView.h: ditto
15109         * LyXAction.h: ditto
15110         * LaTeX.h: ditto
15111
15112 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15113
15114         * Merging changes from BRANCH_MVC back into HEAD.
15115
15116         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15117
15118 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15119
15120         * BufferView_pimpl.C: change from intl.C
15121
15122         * combox.h:
15123         * combox.C:
15124         * Makefile.am: move combox.*
15125
15126         * form1.h:
15127         * form1.C:
15128         * lyx_gui.C:
15129         * intl.h:
15130         * intl.C: remove dialog (covered by prefs)
15131
15132 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * lyxfunc.C (Dispatch): removed redundant break statement.
15135
15136 2001-03-14  Juergen Vigna  <jug@sad.it>
15137
15138         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15139
15140 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15141
15142         * buffer.C: add hack to fix compability reading of minipages.
15143
15144 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15145
15146         * buffer.C (getLists): Cleanup.
15147
15148 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * lyxfont.C (update): don't honor toggleall on font size.
15151
15152 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * bmtable.c:
15155         * bmtable.h:
15156         * Makefile.am: moved to frontends/xforms/
15157
15158         * lyx_gui_misc.C:
15159         * lyxfunc.C:
15160         * BufferView_pimpl.C: changes for moved mathpanel
15161
15162 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * gettext.h: fix gettext_init() in --disable-nls
15165
15166 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15169
15170 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * lyx.C:
15173         * lyx.h: strip external form
15174
15175 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * BufferView_pimpl.C: add comment, destroySplash()
15178
15179 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * BufferView_pimpl.C:
15182         * LyXAction.C:
15183         * buffer.C:
15184         * commandtags.h:
15185         * lyxfunc.C: use re-worked insetinclude
15186
15187 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15188
15189         * buffer.C: add using std::stringstream.
15190
15191         * lyx_cb.C: readd using std::ios.
15192
15193         * buffer.C: add using std::map.
15194
15195         * BufferView_pimpl.C: add using std::vector.
15196
15197         * ShareContainer.h: add std:: to swap.
15198
15199         * buffer.h: add some typedefs
15200         * buffer.C (getLists): use them
15201         (getLists): renamed from getTocList.
15202         add a counter for the different float types and use it in the
15203         generated string.
15204         (getLists): use the same counter for the NEW_INSETS and the "non"
15205         NEW_INSETS
15206
15207         * lyx_cb.h: remove unused items, includes, using etc.
15208
15209         * ShareContainer.h: remove some commented code, add more comments
15210         and "documentation".
15211
15212 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15213
15214         * buffer.C (getTocList): make the list also when NEW_INSETS is
15215         defined.
15216
15217         * buffer.h: remove TocType
15218
15219         * buffer.C (getTocList): change to return a map<string,
15220         vector<TocItem> >, implement for dynamic number of list.
15221
15222         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15223         * text2.C (PasteSelection): adjust
15224         * CutAndPaste.C (pasteSelection): adjust
15225
15226         * FloatList.C (FloatList): update from the new_insets branch.
15227         * Floating.[Ch]: ditto
15228         * LaTeXFeatures.C: ditto
15229         * buffer.C: ditto
15230         * lyxlex_pimpl.C: ditto
15231
15232         * paragraph.C (Last): remove when NEW_INSETS is defined.
15233
15234         * other file: changes because of the above.
15235
15236 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15237
15238         * lyxparagraph.h: rename next to next_, previous to previous_,
15239         make them private for NEW_INSETS. Rename Next() to next(),
15240         Previous() to previous().
15241
15242         * other files: changes because of the above.
15243
15244 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * BufferView.h:
15247         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15248         problem.
15249
15250 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * main.C (main): pass lyx_localedir to gettext_init().
15253
15254         * gettext.h: remove locale_init and gettext_init macros
15255
15256         * gettext.C (locale_init): new function
15257         (gettext_init): new function
15258
15259         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15260         setlocale().
15261
15262 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15263
15264         * Moved credits to frontends:
15265         * credits.[Ch]: removed
15266         * credits_form.[Ch]: removed
15267         * lyx_gui_misc.C: remove credits stuff
15268         * Makefile.am:
15269
15270 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15271
15272         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15273
15274         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15275         unneeded destructor.
15276
15277         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15278         a standalone pointer again.
15279
15280         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15281
15282 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15283
15284         * Makefile.am:
15285         * filedlg.h:
15286         * filedlg.C:
15287         * LyXAction.C:
15288         * ToolbarDefaults.C:
15289         * bufferlist.C:
15290         * commandtags.h:
15291         * form1.C:
15292         * form1.h:
15293         * lyx_cb.C:
15294         * lyx_cb.h:
15295         * lyxfunc.h:
15296         * lyxfunc.C:
15297         * BufferView_pimpl.C: use new file dialog in GUII
15298
15299         * lyx_cb.h:
15300         * lyx_cb.C: remove LayoutsCB to Toolbar
15301
15302 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * ShareContainer.h (get): add std:: qualifier
15305
15306 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15307
15308         * ShareContainer.h: define a proper ShareContainer::value_type
15309         type (and use typename to please compaq cxx)
15310
15311 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15312
15313         * lyxparagraph.h: move serveral local vars to
15314         ParameterStruct/ParagraphParameters., use ShareContainer in
15315         FontTable., make vars in FontTable private and add getter and
15316         setter.
15317
15318         * paragraph.C: changes because of the above.
15319
15320         * lyxfont.h: remove copy constructor and copy assignment. (the
15321         default ones is ok), move number inside FontBits. move inlines to
15322         lyxfont.C
15323
15324         * lyxfont.C: add number to initializaton of statics, move several
15325         inlines here. constify several local vars. some whitespace
15326         cleanup. Dont hide outerscope variables.
15327
15328         * Spacing.h: add two new constructors to match the set methods.
15329
15330         * ShareContainer.h: new file, will perhaps be moved to support
15331
15332         * ParameterStruct.h: new file
15333
15334         * ParagraphParameters.h: new file
15335
15336         * ParagraphParameters.C: new file
15337
15338         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15339         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15340
15341         * BufferView_pimpl.C: ParagraphParameter changes.
15342         * buffer.C: Likewise.
15343         * bufferview_funcs.C: Likewise.
15344         * text.C: Likewise.
15345         * text2.C: Likewise.
15346
15347 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * lyxfind.C (LyXReplace): do not redefine default argument in
15350         implementation.
15351         (IsStringInText): ditto
15352         (SearchForward): ditto
15353         (SearchBackward): ditto
15354
15355 2001-03-06  Juergen Vigna  <jug@sad.it>
15356
15357         * lyxfind.C (IsStringInText): put parentes around expressions.
15358
15359 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15360
15361         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15362
15363 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15366
15367         * stl_string_fwd.h: add comment
15368
15369         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15370
15371         * tabular.h:
15372         * tabular.C: remove unused DocBook methods
15373
15374         * intl.C:
15375         * language.C:
15376         * paragraph.C:
15377         * buffer.C:
15378         killed DO_USE_DEFAULT_LANGUAGE
15379
15380 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * lyx_gui.C: do not include language.h.
15383
15384         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15385         arguments in function implementation.
15386
15387 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15388
15389         * BufferView_pimpl.C: add <ctime>
15390
15391 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15392
15393         * BufferView_pimpl.C: add using std::find_if
15394
15395 2001-02-27  José Matos  <jamatos@fep.up.pt>
15396
15397         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15398         by OnlyPath.
15399
15400 2001-02-11  José Matos  <jamatos@fep.up.pt>
15401
15402         * buffer.C (makeDocBookFile): command styles now have a parameter as
15403         "title" by default.
15404
15405 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15406
15407         * layout_forms.[Ch]: removed
15408         * lyx_cb.[Ch]: out character
15409         * lyx_gui.C: out character
15410         * lyx_gui_misc.C: out character
15411         * bufferview_funcs.C: : out character,
15412         added toggleall as parameter in ToggleAndShow
15413
15414 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15415
15416         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15417
15418         * text2.C (SetCurrentFont): Disable number property at boundary.
15419
15420 2001-02-26  Juergen Vigna  <jug@sad.it>
15421
15422         * lyxfunc.C (getStatus): added a string argument override function so
15423         that this is correctly called from LyXFunc::Dispatch if it contains a
15424         do_not_use_argument which is used!
15425         (Dispatch): added check for "custom" export and call appropriate func.
15426
15427 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15428
15429         * lyxrc.C: Add language_command_local, language_use_babel and
15430         language_global_options.
15431
15432         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15433
15434         * buffer.C (makeLaTeXFile): Use language_use_babel and
15435         language_global_options.
15436
15437 2001-02-23  Juergen Vigna  <jug@sad.it>
15438
15439         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15440         which works with LyXText and putted it inside BufferView. Here now we
15441         only call for that part the BufferView::Dispatch() function.
15442
15443         * BufferView.C (Dispatch): added.
15444
15445         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15446         functions which needs to use a LyXText over from LyXFunc.
15447         (MenuInsertLyXFile): added
15448         (getInsetByCode): added
15449         (moveCursorUpdate): added
15450         (static TEXT): added
15451
15452 2001-02-22  Juergen Vigna  <jug@sad.it>
15453
15454         * BufferView_pimpl.C (update): call a status update to see if LyXText
15455         needs it.
15456
15457 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15458
15459         * vc-backend.C (revert): implement for CVS
15460         (getLog): implement for CVS
15461
15462 2001-02-20  Juergen Vigna  <jug@sad.it>
15463
15464         * text2.C (ClearSelection): added BufferView param for inset_owner call
15465
15466         * lyxfunc.C (TEXT): added this function and use it instead of
15467         directly owner->view()-text of getLyXText().
15468
15469 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15470
15471         * src/layout_forms.C: out preamble
15472         * src/layout_forms.h: out preamble
15473         * src/lyx_cb.C: out preamble
15474         * src/lyx_cb.h: out preamble
15475         * src/lyx_gui.C: out preamble
15476         * src/lyx_gui_misc.C: out preamble
15477         * src/lyxfunc.C: connect with guii preamble
15478
15479 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15480
15481         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15482
15483 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15486         whether to run bibtex.
15487
15488 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15489
15490         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15491
15492 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15493
15494         * Makefile.am (lyx_SOURCES): removed bibforms.h
15495
15496         * vspace.h: doxygen
15497
15498         * text.C (GetVisibleRow): make several local vars const
15499
15500         * tabular.C: small cleanup.
15501
15502         * lyxserver.C (callback): use compare instead of strncmp
15503
15504         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15505         inlines to after class or to paragraph.C
15506
15507         * lyxfont.h: remove friend operator!=
15508
15509         * converter.h: move friend bool operator< to non friend and after
15510         class def.
15511
15512         * combox.h: small cleanup
15513
15514         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15515         to inlines after class def.
15516
15517         * buffer.C (pop_tag): use string operations instead of strcmp
15518
15519         * bmtable.c: doxygen, small cleanup
15520
15521         * LaTeX.h: remove friend operator==
15522
15523 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15524
15525         * screen.C:
15526         * lyxrc.[Ch]:
15527         * lyxfunc.C:
15528         * lyxfont.[Ch]:
15529         * lyx_cb.C:
15530         * intl.[Ch]:
15531         * commandtags.h:
15532         * buffer.C:
15533         * WorkArea.[Ch]:
15534         * LyXAction.C:
15535         * BufferView_pimpl.C:
15536         * BufferView.[Ch]: remove cruft
15537
15538 2001-02-14  Juergen Vigna  <jug@sad.it>
15539
15540         * lyxfunc.C: removed #if 0 unused code
15541
15542         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15543
15544         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15545
15546         * text2.C (SetSelection): added a BufferView * parameter
15547
15548 2001-02-13  Juergen Vigna  <jug@sad.it>
15549
15550         * lyxfunc.C (Dispatch): fixed protected blank problem.
15551         * BufferView2.C (protectedBlank): added LyxText * parameter.
15552
15553         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15554         (AppendColumn): same as above for column_info.
15555
15556         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15557         (moveCursorUpdate): use a LyXText param for support of InsetText.
15558
15559         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15560         (tripleClick): ditto
15561
15562         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15563
15564         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15565
15566         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15567
15568         * text2.C (SetSelection): set correct update status if inset_owner
15569         (ToggleFree): ditto
15570
15571 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15572
15573         * tabular.C: remove some commented code.
15574
15575 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * BufferView_pimpl.C: call hideSplash()
15578
15579         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15580
15581         * include_form.h:
15582         * bibforms.h: remove
15583
15584         * lyxfunc.C:
15585         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15586           add LFUN_CHILD_CREATE
15587
15588         * counters.h: fix tiny typo
15589
15590         * lyx_cb.C:
15591         * lyx.h:
15592         * lyx_gui.C:
15593         * lyx.C: move splash to frontends/xforms/
15594
15595         * lyx_gui_misc.C: move Include and Bibform to frontends
15596
15597         * lyxvc.h: clarify comment
15598
15599         * vspace.C: tiny housekeeping
15600
15601 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * text.C (PrepareToPrint): RTL Fix.
15604
15605         * paragraph.C (GetUChar): New method.
15606         (String):  Use GetUChar.
15607
15608         * buffer.C (asciiParagraph): Use GetUChar.
15609
15610 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15611
15612         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15613
15614 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15615
15616         * buffer.h:
15617         * buffer.C: rename to getLogName(), handle
15618           build log / latex log nicely
15619
15620 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * MenuBackend.C:
15623         * MenuBackend.h: remove support for reference menuitem type.
15624
15625 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15626
15627         * BufferView_pimpl.C: housekeeping
15628         * BufferView_pimpl.h:
15629         * LyXView.h:
15630         * Makefile.am:
15631         * Timeout.C:
15632         * Timeout.h:
15633         * minibuffer.h: move Timeout GUI-I
15634
15635 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * lyxrc.C (read): Update converters data-structures.
15638
15639 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15640
15641         * LaTeX.h (operator!=): add operator != for Aux_Info
15642
15643 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15644
15645         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15646
15647         * LaTeXLog.C: deleted, useful code moved to Buffer
15648
15649         * buffer.h:
15650         * buffer.C: new function getLatexLogName()
15651
15652         * lyx_gui_misc.C:
15653         * lyx_gui.C:
15654         * lyxvc.C:
15655         * lyxvc.h:
15656         * lyxfunc.C: use frontends for LaTeX and VC logs
15657
15658 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * LaTeX.h: yet another std:: that Allan forgot.
15661
15662         * Variables.C (set): renamed from isset(), because this clashes
15663         with some HP-UX macros (grr).
15664
15665 2001-02-06  Allan Rae  <rae@lyx.org>
15666
15667         * LaTeX.h: Another bug fix.  Missing std:: this time.
15668
15669 2001-02-04  Allan Rae  <rae@lyx.org>
15670
15671         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15672         floats problem. I've left it commented out because it's not quite
15673         correct.  It should also test that the current object is a table or
15674         figure inset.  But I haven't gotten around to figuring out how to do
15675         that.  I *think* it'll be something like: "table" == inset.type()
15676
15677         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15678         bool.
15679
15680 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15681
15682         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15683         all the citation/databases/styles in the auxilary file.
15684         (run): Rerun latex if there was a babel language error.
15685
15686 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * text.C (Backspace): Preserve the font when changing newline char
15689         with a space.
15690         (BreakParagraph): If the cursor is before a space, delete the space.
15691
15692         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15693
15694 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15695
15696         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15697         new argument (code).
15698         (ChangeCitationsIfUnique): New method.
15699
15700         * paragraph.C (GetPositionOfInset): Handle bibkey.
15701
15702 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * BufferView_pimpl.h: change type of Position::par_pos to
15705         LyXParagraph::size_type.
15706
15707 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15708
15709         * BufferView_pimpl.C (savePosition, restorePosition): Write
15710         messages to minibuffer.
15711
15712 2001-01-28  José Matos  <jamatos@fep.up.pt>
15713
15714         * buffer.C (makeDocBookFile): adds support for document language.
15715         A silly restriction on the name of LatexCommand types where removed.
15716         Added support for CDATA sections, allows to chars unescaped, used
15717         among others in code, to avoid escape < and >.
15718
15719 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15720
15721         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15722         saved positions instrad of a stack. Furthermore, a position is
15723         stored using paragraph id/paragraph position.
15724
15725         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15726         Remove LFUN_REF_BACK.
15727
15728 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * converter.C (dvipdfm_options): New method.
15731
15732 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15733
15734         * vspace.C (isValidLength): Fix for empty input string.
15735
15736 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * LyXAction.C (init): change description of LFUN_FIGURE to
15739         "Insert Graphics"
15740
15741 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * LaTeX.C: add using directive
15744
15745 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * MenuBackend.C (expand): Fix the sorting of the formats.
15748
15749 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * lyx_main.C: tiny error message fix
15752
15753 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15756         calling fl_initialize(). This fixes the problem with ',' as
15757         decimal separator in text files.
15758
15759 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15760
15761         * trans.C (process): Fix the keymap bug.
15762
15763 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15764
15765         * LaTeX.C (scanAuxFiles): New method. Provides support for
15766         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15767         (scanLogFile) Scan for "run BibTeX" messages.
15768
15769         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15770         OT1 font encoding. Also, load the aecompl package if the ae
15771         package is loaded.
15772
15773         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15774
15775 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * texrow.C (increasePos): turn two error messages into debug
15778         messages.
15779
15780 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15781
15782         * LaTeX.C (scanAux): Handle the \@input macro.
15783         (runBibTeX): Use scanAux().
15784
15785         * language.C (latex_options_): New field.
15786
15787         * LaTeXFeatures.C (getMacros): Add language macros.
15788
15789         * buffer.C (makeLaTeXFile): Small fix.
15790
15791 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15792
15793         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15794
15795         * text2.C: add a using directive.
15796
15797 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15798
15799         * BufferView2.C:
15800         * lyx_gui_misc.h:
15801         * lyxfr1.C:
15802         * lyxfunc.C: kill LyXBell.
15803
15804 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * text.C (IsBoundary): Remove the error message
15807
15808         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15809
15810         * lyxrc.C (setDefaults): Correct initialization value for
15811         font_norm_type.
15812
15813 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15814
15815         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15816         gotoError().
15817
15818         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15819         and GotoNextNote().
15820
15821         * src/LyXAction.C: Added reference-next.
15822
15823         * text.C (InsertChar): Use contains instead of strchr.
15824
15825         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15826
15827 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15830         alignment commands (when needed).
15831
15832         * text.C (InsertChar): Add ':' to number separator chars.