]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c496dc6f7b83d286f4109cd6cb000ef8161664e4
[lyx.git] / src / ChangeLog
1
2 2004-08-13  André Pönitz  <poenitz@gmx.net>
3
4         * cursor.C: macroModeClose: use plainInsert instead of niceInsert.
5    
6 2004-08-12  André Pönitz  <poenitz@gmx.net>
7
8         * text3.C: take out the 'cursor right' form insertInset and only
9    do it in those places when it is really needed. Fixes crash on C-m...
10
11 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
14
15         * BufferView_pimpl.C (setBuffer): initialize the current font of
16         the underlying LyXText
17
18 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * kbsequence.C (print): use UI native formatting for menu
21         shortcuts
22
23         * text.C (insertChar): call Paragraph::insertChar with a font
24         argument (cosmetic)
25
26         * paragraph.C (insertInset, insertChar): the version that takes a
27         LyXFont argument is now a wrapper around the other one (the
28         opposite used to be true). 
29
30         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
31         argument. Font setting is done in Paragraph now.
32
33 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * outputparams.h: add new members intitle and lang.
36
37         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
38         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
39
40 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * text3.C (dispatch): remove special handling of button 4 and 5,
43         it is now taken care of in the frontend code.
44
45 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
46
47         * Spacing.h: add <string> (STLPort compile fix)
48
49 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
50
51         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
52
53 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
54
55         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
56         to bool.
57
58         * converter.C (showMessage): inherit from unary_function, make
59         operator() const.
60
61         * buffer.C (writeFile): initialize retval
62
63         * InsetList.h: rename private variable list to list_
64         * InsetList.[Ch]: adjust accordingly.
65
66 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
67
68         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
69         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
70         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
71         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
72         * ParagraphParameters.C, LaTeXFeatures.C: replace
73         "support/std_sstream.h" with <sstream>
74
75 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
78         * lyxsocket.C (LyXServerSocket): ditto
79         (serverCallback): ditto
80
81 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
82
83         * LaTeXFeatures.C: check release date when loading jurabib.
84
85 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * lyxserver.C (startPipe): call register_socket_callback
88         (endPipe): call unregister_socket_callback
89
90 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
91
92         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
93         (LyXServerSocket): register the callback
94         (LyXServerSocket): unregister the callback
95         (fd): delete function
96         (serverCallback): improve error checking and setup the callbacks.
97         (dataCallback): change arg to fd.
98         (writeln): new func (copied fro the client socket) used for server
99         write to client.
100         (LyXDataSocket): simplify
101         (~LyXDataSocket): close ann unregiser callback
102         (server): delete function
103         (fd): delete function
104         (readln): small changes, improve some std::string usage
105         (writeln): constify a bit
106
107 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
110         Qt frontend
111
112 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * BufferView_pimpl.C (setBuffer): set the layout combox value only
115         after it has been populated
116
117 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text2.C (insertInset): move cursor when inserting inset.
120
121 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * kbmap.C (findbindings): a couple of new methods. returns a
124         container of kb_sequence objects. The real work is done by the
125         private recursive version
126         (printbindings): uses findbindings to print out a bracketed list
127         of bindings (renamed from findbinding).
128
129         * MenuBackend.C (binding): use kb_keymap::findbindings
130
131         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
132
133 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
136
137 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * paragraph.C (isWord): return true on insets that report
140         isLetter().
141
142         * text.C (getWord): use Paragraph::isWord to decide what is in a
143         word and what is not; fix bug 1609.
144
145 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
146
147         * tex-strings.C: add "none" to string_paperpackages[], fixes
148         off-by-one-error in the paperpackage selection.
149
150         * lyxlex.[Ch]:
151         * tex-strings.[Ch]: char const * string[n]
152         -> char const * const string[]
153
154 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
157         command, return early.
158
159 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
160
161         * debug.h: add DEBUG to enum and fix size of ANY.
162
163         * debug.C: add support for Debug::DEBUG
164         (showTags): cast errorTags.level to unsigned int
165
166         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
167         (redoCurrentBuffer): ditto
168         (updateScrollbar): ditto
169         * cursor.C (dispatch): ditto
170         * text2.C (setLayout): ditto
171         (setFont): ditto
172         (updateCounters): ditto
173         (editXY): ditto
174         (deleteEmptyParagraphMechanism): ditto
175
176 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
177
178         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
179         annotations to cleanup the Makefile slightly.
180
181 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * lyxrc.C: do not set user_email to a default value but use empty
184         instead. The entry used to be translated, which does not work
185         since at the point where lyxrc is constructed there is no
186         translation service available
187
188         * messages.C (getLocaleDir): remove and use directly
189         lyx_localedir() instead
190
191 2004-06-02  Angus Leeming  <leeming@lyx.org>
192
193         Fix crash caused by dereferencing null pointer 'exportdata' in
194         OutputParams by creating a new ExportData variable on the heap,
195         storing it in a boost::shared_ptr.
196         The crash was triggered when generating an Instant Preview
197         of an external inset.
198
199         * Makefile.am: add outputparams.C
200
201         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
202         (c-tor): allocate memory to it.
203
204         * exporter.C (c-tor): associated changes.
205
206 2004-06-01  Angus Leeming  <leeming@lyx.org>
207
208         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
209         contains data before calling isInset(0). (Bug 1513.)
210
211 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
212
213         * exporter.C (checkOverwrite): new method
214         * exporter.C (copyFile): new method
215         * exporter.C (Export): copy referenced files to the document dir
216         * exporter.[Ch]: new class ExportedFile
217         * exporter.[Ch]: new class ExportData. Contains currently the
218         names of referenced external files
219         * outputparams.h: add exportdata member.
220
221 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
222
223         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
224         version.C-tmp
225
226 2004-05-19  Angus Leeming  <leeming@lyx.org>
227
228         * LaTeXFeatures.C:
229         * ToolbarBackend.C:
230         * bufferparams.C:
231         * lyxfunc.C: small changes due to the introduction of namespace
232         lyx::frontend and the moving of namespace biblio to lyx::biblio.
233
234 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
235
236         * text3.C (dispatch): supress update when only moving the cursor
237         * cursor.C (selHandle): remove commented code
238
239 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * paragraph.C (startTeXParParams): correct column count
242         * CutAndPaste.C (pasteSelection): remove const_cast
243         * output_docbook.C (docbookParagraphs): remove const_cast
244         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
245         const_cast and return ParagraphList::const_iterator
246         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
247         * output_plaintext.C (writeFileAscii): remove const_cast
248         * paragraph.[Ch] (simpleTeXOnePar): make const
249         * paragraph_funcs.C (outerPar): use const iterators
250         * paragraph_pimpl.C (validate): use const iterators
251         * text.C (setHeightOfRow): use const iterators
252
253 2004-05-17  Angus Leeming  <leeming@lyx.org>
254
255         * lfuns.h:
256         * LyXAction.C (init): new LFUN_INSET_REFRESH.
257
258         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
259         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
260         if the citation engine has changed.
261
262 2004-05-14  José Matos  <jamatos@lyx.org>
263
264         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
265         if the textclass does not provide it. Have it different for sgml and
266         xml.
267         support the language of document.
268         * output_docbook.C (docbookParagraphs):
269         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
270         first anchor as the id of the paragraph, remove special case code.
271         * sgml.C (escapeChar): escape only < & >.
272
273 2004-05-14  Angus Leeming  <leeming@lyx.org>
274
275         * bufferparams.h: move biblio::CiteEngine enum here to minimize
276         dependencies on src/frontends/controllers/biblio.h. Define a
277         CiteEngine_enum wrapper class to enable the enum to be forward
278         declared.
279
280 2004-05-12  Angus Leeming  <leeming@lyx.org>
281
282         * buffer.C: up LYX_FORMAT to 234.
283         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
284         use_numerical_citations with a single biblio::CiteEngine cite_engine
285         variable.
286         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
287
288 2004-05-13  José Matos  <jamatos@lyx.org>
289
290         * converter.h:
291         * converter.C (Converter, readFlags): add xml member.
292         * outputparams.h: add XML flavor.
293         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
294
295 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * lyxfunc.C (dispatch):
298         (getStatus): fix handling of LFUN_SEQUENCE
299
300 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * debug.C (showLevel): do not forget the end-of-line marker
303
304 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * kbmap.C (read): do not stop parsing a bind file when an error
307         occurs (bug 1575)
308
309 2004-04-29  Angus Leeming  <leeming@lyx.org>
310
311         * cursor.C:
312         * factory.C:
313         * pariterator.C:
314         * text2.C: wrap a bunch of #warning statements
315         inside #ifdef WITH_WARNINGS blocks.
316
317 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
318
319         * buffer.C: increment format to 233.
320
321 2004-04-28  Angus Leeming  <leeming@lyx.org>
322
323         * BufferView_pimpl.C:
324         * lyxfunc.C:
325         * text3.C:
326         s/updateToolbar()/updateToolbars()/
327         s/Toolbar.h/Toolbars.h/
328
329 2004-04-28  Angus Leeming  <leeming@lyx.org>
330
331         * BufferView.[Ch] (c-tor):
332         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
333         No longer passes these data to the WorkArea generator.
334
335 2004-04-28  Angus Leeming  <leeming@lyx.org>
336
337         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
338
339 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
340
341         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
342
343 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * output_latex.C (TeXEnvironment): make sure that there is a line
346         break before \end{foo} for the last paragraph of a document
347         (TeXOnePar): if the paragraph is at the end of the document (or
348         inset) and the language has to be reset, then make sure that the
349         line break is _before_ the language command, not after (fixes bug
350         1225); also make sure that the language reset command is the first
351         thing after the paragraph (to ensure proper nesting of
352         environments and thus fix bug 1404)
353
354 2004-04-21  John Levon  <levon@movementarian.org>
355
356         * ToolbarBackend.h:
357         * ToolbarBackend.C: make "name" be a programmatic name
358         and a gui_name field.
359
360         * lyxfunc.C: display the minibuffer on M-x
361
362 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
365         (bug 1526)
366
367 2004-04-19  Angus Leeming  <leeming@lyx.org>
368
369         * BufferView_pimpl.C (setBuffer): changed preview interface.
370
371         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
372         possible values.
373
374 2004-04-19  John Levon  <levon@movementarian.org>
375
376         * BufferView_pimpl.C:
377         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
378
379 2004-04-05  Angus Leeming  <leeming@lyx.org>
380
381         * text.C (redoParagraphs): add call to updateCounters(), thereby
382         fixing the missing "Figure #:" label from the caption of a
383         figure float.
384
385 2004-04-13  Angus Leeming  <leeming@lyx.org>
386
387         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
388         cursor is clicked out of an inset.
389
390 2004-04-13  Angus Leeming  <leeming@lyx.org>
391
392         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
393         than an InsetOld one.
394
395 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
396
397         * format.[Ch]: add editor to Format
398         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
399         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
400
401 2004-04-08  André Pönitz  <poenitz@gmx.net>
402
403         * metricsinfo.h: remove PainterInfo::width member
404
405 2004-04-08  Angus Leeming  <leeming@lyx.org>
406
407         * lyx_sty.C (boldsymbol_def): modify so that it outputs
408         "\providecommand" rather than "\newcommand", thereby preventing
409         clashes with packages that define "\boldsymbol" themselves.
410         Eg, beamer.
411
412 2004-04-08  Angus Leeming  <leeming@lyx.org>
413
414         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
415         thereby squashing an unnecessary warning.
416
417 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
418
419         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
420         setBuffer()
421
422 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * BufferView.C (setCursor): call redoParagraph (some insets could
425         have been opened)
426         (putSelectionAt): remove the 'double update' trick
427
428         * BufferView_pimpl.C (fitCursor): call refreshPar
429         (workAreaDispatch): remove an uneeded update call
430         (dispatch): remove some manual update calls
431
432         * cursor.[Ch]: remove cached_y_, updatePos
433         (selHandle): set noUpdate when appropriate
434
435         * lyxfunc.C (dispatch): track if we need an update
436
437         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
438
439         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
440         (paintSelection): cheap optimization, do not call cursorX when not
441         needed
442         (paintPars): change signature
443         (refreshPar): add
444         (paintText): adjust
445         (paintTextInset): adjust
446
447         * text.C: adjust
448
449 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * lengthcommon.C: compilation fix: remove explicit array size from
452         unit_name[] and friends
453
454 2004-04-05  Angus Leeming  <leeming@lyx.org>
455
456         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
457
458         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
459         present only for the preferences dialog.
460         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
461
462 2004-04-05  Angus Leeming  <leeming@lyx.org>
463
464         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
465         to enable the frontends to export changes to lyxrc correctly.
466
467         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
468
469 2004-04-07  André Pönitz  <poenitz@gmx.net>
470
471         * cursor.[Ch] (selClear, adjust): remove math
472
473         * cursor_slice.C: more agressive assert
474
475         * lyxfunc.C:
476         * BufferView_pimpl.C: rework mouse event dispatch
477
478         * dociterator.C:
479         * paragraph.C:
480         * text2.C:
481         * text3.C: adjust
482
483 2004-04-05  André Pönitz  <poenitz@gmx.net>
484
485         * cursor.[Ch] (valign, halign...): remove unneeded functions
486
487 2004-04-05  Angus Leeming  <leeming@lyx.org>
488
489         * lyxlength.[Ch] (unit_name et al.): const-correct.
490
491 2004-04-05  Angus Leeming  <leeming@lyx.org>
492
493         * BufferView_pimpl.C:
494         * buffer.C:
495         * counters.C:
496         * cursor.C:
497         * lyxfunc.C
498         * paragraph.C:
499         * pariterator.C:
500         * text.C:
501         * text2.C:
502         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
503
504 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * text3.C (getStatus): add LFUN_BEGINNINGBUF
507
508 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
509
510         * lyxfind.C: add a couple of inTexted() tests + other small fixes
511         * BufferView_pimpl.[Ch] (getStatus)
512         * BufferView.[Ch] (getStatus): add
513         * lyxfunc.C (getStatus): move lfuns handled in
514         BufferView::dispatch to te function above
515         * Cursor.C (setSelection): set selection() = true
516
517 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
518
519         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
520
521 2004-03-31  Angus Leeming  <leeming@lyx.org>
522
523         * lyxfunc.C (dispatch): Fall through to the generic
524         Dialogs::show("preamble").
525
526 2004-03-31  Angus Leeming  <leeming@lyx.org>
527
528         * lyxfunc.C (dispatch): Fall through to the generic
529         Dialogs::show("spellchecker").
530
531 2004-03-31  Angus Leeming  <leeming@lyx.org>
532
533         * lyxfunc.C (getStatus, dispatch): changed invocation of the
534         preferences dialog.
535
536 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
537
538         * BufferView.C
539         * cursor.[Ch]
540         * dociterator.[Ch]:
541         * insetiterator.[Ch]:
542         * lyxfind.C:
543         * lyxfunc.C:
544         * pariterator.[Ch]:
545         * text2.C:
546         * undo.[Ch]: s/DocumentIterator/DocIterator/g
547
548 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * BufferView.C (setCursor, putSelectionAt): call edit to open the
551         insets where we are putting the cursor.
552
553 2004-03-31  Angus Leeming  <leeming@lyx.org>
554
555         * lfuns.h:
556         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
557
558         * lyxrc.[Ch] (read, write): overloaded member functions taking
559         a std::[io]stream arguments.
560
561         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
562
563 2004-03-31  Angus Leeming  <leeming@lyx.org>
564
565         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
566         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
567
568         * lyxtextclass.C (load): if the text class couldn't be loaded, then
569         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
570
571 2004-03-31  Angus Leeming  <leeming@lyx.org>
572
573         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
574         the LFUN_ALL_INSETS_TOGGLE code.
575
576 2004-03-30  Angus Leeming  <leeming@lyx.org>
577
578         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
579         has died. Fall through to the generic Dialogs::show("document").
580
581 2004-03-30  Angus Leeming  <leeming@lyx.org>
582
583         * lfuns.h:
584         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
585         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
586
587         * lyxfunc.C (getStatus, dispatch): define the actions for these
588         lfuns. Little more than a cut and pste job from ControlDocument.C
589
590         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
591
592 2004-03-30  Angus Leeming  <leeming@lyx.org>
593
594         * lfuns.h:
595         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
596         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
597
598         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
599         open/closed state of ollapsable insets. Usage:
600
601         all-inset-toggle <state> <name>, where
602         <state> == "open" || "closed" || "toggle" and
603         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
604
605         * lyxtext.h, text2.C (toggleInset): removed.
606
607         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
608         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
609         now passes LFUN_INSET_TOGGLE to the found inset.
610
611         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
612         is now invoked as "all-insets-toggle toggle branch".
613
614 2004-03-30  Angus Leeming  <leeming@lyx.org>
615
616         * dociterator.C:
617         * insetiterator.C:
618         * pariterator.[Ch]: added/corrected header blurb.
619
620 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
621
622         * dociterator.[Ch]: add an inset_ member
623         (backwardPos): implemented
624         (backwardPos, forwardPos): use inset_ when the stack is empty.
625         (doc_iterator_begin, doc_iterator_end): implemented
626         * pariterator.[Ch]: adjust, add begin, end
627         * insetiterator.[Ch]: adjust, add begin, end
628         * cursor.C:
629         * document.C:
630         * BufferView.C:
631         * BufferView_pimpl.C:
632         * CutAndPaste.C: adjust
633
634 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
635
636         * buffer.C: increment file format to 232.
637         * LaTeXFeatures.C: add bibtopic package.
638         * bufferparams.[Ch]: param \use_bibtopic.
639
640         * lyxrc.[Ch]: add lyxrc bibtex_command
641         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
642
643         * buffer.C: increment file format to 231.
644
645 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * dociterator.C: implement forwardPar
648         * iterators.[Ch]: remove, replaced by
649         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
650         * BufferView.C:
651         * BufferView_pimpl.C:
652         * CutAndPaste.C:
653         * buffer.C:
654         * bufferview_funcs.C:
655         * cursor.C:
656         * lyxfind.C
657         * lyxfunc.C
658         * paragraph_funcs.C
659         * toc.C:
660         * Makefile.am: adjust
661
662 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
663
664         * CutAndPaste.C (pasteSelection): fix 2 crashes
665         (eraseSelection): fix a crash
666         * paragraph_funcs.C: remove a warning
667
668 2004-03-28  Angus Leeming  <leeming@lyx.org>
669
670         * lfuns.h:
671         * LyXAction.C (init): new LFUN_PRINT.
672
673         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
674
675 2004-03-27  Angus Leeming  <leeming@lyx.org>
676
677         * lfuns.h:
678         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
679
680         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
681
682 2004-03-27  Angus Leeming  <leeming@lyx.org>
683
684         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
685         insetlist always contains non-null pointers to insets.
686
687 2004-03-26  Angus Leeming  <leeming@lyx.org>
688
689         * src/BufferView_pimpl.C:
690         * src/CutAndPaste.C:
691         * src/buffer.C:
692         * src/iterators.C:
693         * src/output_plaintext.C:
694         * src/outputparams.h:
695         * src/paragraph_funcs.C:
696         * src/rowpainter.C:
697         * src/text.C:
698         * src/text2.C:
699         * src/frontends/controllers/ControlErrorList.C:
700         * src/frontends/gtk/FileDialogPrivate.C:
701         * src/frontends/gtk/GPainter.C:
702         * src/frontends/gtk/GToolbar.C:
703         * src/frontends/qt2/QRef.C:
704         * src/mathed/math_scriptinset.C: squash compiler warnings.
705
706 2004-03-26  Angus Leeming  <leeming@lyx.org>
707
708         * ispell.C (LaunchIspell::start):
709         * lyx_cb.C (AutoSaveBuffer::start):
710         invoke run(DontWait) rather than runNonBlocking().
711
712 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
715
716 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
717
718         * kbsequence.C (print): adjust
719
720         * kbmap.C (printKeySym): rename and change signature
721         (printKey): use LyXKeySym::print()
722
723 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * undo.C: add using std::advance to compile for stlport
726
727 2004-03-24  Angus Leeming  <leeming@lyx.org>
728
729         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
730         it leads to a crash when no buffer is present.
731
732 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
733             Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * lyxfunc.C (dispatch):
736         * bufferparams.C (readToken): use the new LColor::setColor
737
738         * LColor.[Ch] (setColor): new version that takes two strings as
739         argument and creates a new color entry if necessary
740
741 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
742
743         * buffer.C (makeLaTeXFile): if the main latex file that is
744         processed is usually a subdocument of some master, then pretend
745         for a while that it is actually the master
746
747 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
748
749         * buffer.C (getLabelList):
750         (getBibkeyList): use getMasterBuffer()
751         (getMasterBuffer): new method. Returns the main document in the
752         case where one is using included documents.
753
754 2004-03-25  André Pönitz  <poenitz@gmx.net>
755
756         * Makefile.am:
757         * iterators.[Ch]:
758         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
759
760         * ParagraphList_fwd.h: change ParagraphList to a std::vector
761
762         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
763         text*.C over here. Rename namespace CutAndPaste to lyx::cap
764
765         * ParameterStruct.h: merge with ParagraphParameters
766
767         * lyxtext.h: remove LyXText::parOffset() and getPar()
768
769         * text3.C: Remove all 'manual' update calls. We do now one per user
770         interaction which is completely sufficient.
771
772         * Bidi.C:
773         * BufferView.[Ch]:
774         * BufferView_pimpl.C:
775         * FontIterator.[Ch]:
776         * MenuBackend.C:
777         * ParagraphParameters.[Ch]:
778         * buffer.C:
779         * buffer.h:
780         * bufferlist.C:
781         * cursor.[Ch]:
782         * cursor_slice.[Ch]:
783         * dociterator.[Ch]:
784         * errorlist.[Ch]:
785         * factory.C:
786         * lfuns.h:
787         * lyxfind.C:
788         * lyxfunc.C:
789         * output_docbook.[Ch]:
790         * output_latex.[Ch]:
791         * output_linuxdoc.[Ch]:
792         * output_plaintext.[Ch]:
793         * paragraph.[Ch]:
794         * paragraph_funcs.[Ch]:
795         * paragraph_pimpl.[Ch]:
796         * rowpainter.C:
797         * tabular.[Ch]:
798         * text.C:
799         * text2.C:
800         * toc.C:
801         * undo.[Ch]: adjust
802
803         * frontends/controllers/ControlDocument.C:
804         * frontends/controllers/ControlErrorList.C:
805         * frontends/controllers/ControlSpellchecker.C:
806         * insets/inset.C:
807         * insets/inset.h:
808         * insets/insetbase.h:
809         * insets/insetbibitem.C:
810         * insets/insetbox.C:
811         * insets/insetbranch.C:
812         * insets/insetcaption.C:
813         * insets/insetcharstyle.C:
814         * insets/insetcharstyle.h:
815         * insets/insetcollapsable.C:
816         * insets/insetcollapsable.h:
817         * insets/insetert.C:
818         * insets/insetfloat.C:
819         * insets/insetfoot.C:
820         * insets/insetmarginal.C:
821         * insets/insetnote.C:
822         * insets/insetoptarg.C:
823         * insets/insettabular.C:
824         * insets/insettext.C:
825         * insets/insettext.h:
826         * insets/insetwrap.C:
827         * mathed/math_mboxinset.C:
828         * mathed/math_nestinset.C:
829         * mathed/math_scriptinset.C:
830         * mathed/math_scriptinset.h:
831         * support/types.h:
832
833 2004-03-24  Angus Leeming  <leeming@lyx.org>
834
835         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
836         deal with any child processes that have finished but are waiting to
837         communicate this fact to the rest of LyX.
838
839 2004-03-24  Angus Leeming  <leeming@lyx.org>
840
841         64-bit compile fixes.
842
843         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
844         (c-tor): pass lyx::pos_types rather than ints.
845
846         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
847         lyx::pos_type.
848
849         * text.C (Delete): compile fix.
850         (getPar): ensure that function declaration is the same as that in
851         the header file.
852
853 2004-03-23  Angus Leeming  <leeming@lyx.org>
854
855         * ispell.C (LaunchIspell):
856         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
857         a boost::shred_ptr rather than a std::auto_ptr.
858
859 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * lyxfunc.C (getStatus): handle read-only buffers correctly;
862         handle LFUN_FILE_INSERT_*
863
864         * lyxrc.C (setDefaults, getDescription, output, read):
865         * lyxrc.h: remove ps_command
866
867 2004-03-22  Angus Leeming  <leeming@lyx.org>
868
869         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
870         Ensure that error_handler is processed once only and that all data
871         is saved before attempting to output any warning messages.
872
873         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
874
875 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
876
877         * tabular.C (TeXRow): crash fix (from Kayvan and André)
878
879 2004-03-19  André Pönitz  <poenitz@gmx.net>
880
881         * cursor.[Ch] (reset): take main text inset as argument
882
883         * BufferView: adjust
884         * BufferView_pimpl.C: adjust
885
886         * paragraph.[Ch]: fix completely broken operator=()
887
888 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
889
890         * LColor.C (getFromLyXName): make sure that the color name is used
891         as lowercase.
892
893 2004-03-17  Angus Leeming  <leeming@lyx.org>
894
895         * lfuns.h:
896         * LyXAction.C (init): remove LFUN_FORKS_KILL.
897
898         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
899         dialog and to kill a forked process.
900
901 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * text2.C (setCursorFromCoordinates): fix font problem
904
905 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
908         bogus "rebuild cursor" code
909
910 2004-03-11  André Pönitz  <poenitz@gmx.net>
911
912         * buffer.[Ch]: use InsetText instead of LyXText as container for
913         the main lyx text.
914
915         * dociterator.[Ch]: drop the BufferView * member which is not needed
916         anymore after the change to buffer.C
917
918         * paragraph_funcs.C:
919         * text.C:
920         * text2.C:
921         * BufferView.[Ch]:
922         * BufferView_pimpl.[Ch]:
923         * cursor.[Ch]:
924         * cursor_slice.[Ch]: adjust
925
926         * text3.C: fix bug in mathDispatch
927
928 2004-03-08  André Pönitz  <poenitz@gmx.net>
929
930         * undo.[Ch]: use 'StableDocumentIterator' as base for
931         the Undo struct.
932
933 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
934
935         * LaTeXFeatures.C:
936         * bufferparams.[Ch]: add jurabib support and param.
937
938         * LaTeX.C: add FIXME/comment.
939
940 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
941
942         * buffer.C: increment file format to 230.
943
944 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
945
946         * cursor.C (dispatch): avoid infinite loops
947
948 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
949
950         * rowpainter.C (paintSelection): fix x coordinates
951
952 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * text.C (rowBreakPoint): fix breaking before displayed insets
955
956 2004-03-01  André Pönitz  <poenitz@gmx.net>
957
958         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
959
960         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
961
962         * Makefile.am:
963         * BufferView.C:
964         * BufferView_pimpl.C:
965         * buffer.C:
966         * lyxfind.C:
967         * lyxfunc.C:
968         * text.C:
969         * text2.C:
970         * text3.C: adjust
971
972 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
973
974         * lyxtext.h:
975         * text.C:
976         * text2.C:
977         * rowpainter.C:
978         * BufferView_pimpl.C: rename textwidth -> maxwidth,
979         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
980
981 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
982
983         * Bidi.[Ch] (computeTables): const correctness
984         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
985         fill_hfill, fill_label_hfill and x from Row
986         * lyxtext.h: prepareToPrint returns a RowMetrics
987         * rowPainter.C: adjust
988         * text.C (prepareToPrint): use width, not textWidth. adjust
989         (redoParagraphInternal, cursorX): adjust
990         * text2.C (getColumnNearX): adjust
991         (init): put a default value to the top LyXText::width
992
993 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
996
997 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * lyxtext.h: add FontIterator class
1000
1001         * text.C (FontIterator, operator*, operator->, operator++): add
1002         (rowBreakPoint, setRowWidth): adjust (fixing a
1003         rebreaking bug)
1004
1005 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * BufferView_pimpl.C (workAreaDispatch): allow also
1008         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1009
1010 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1011
1012         * text.C (rowBreakPoint): fix a bug showing with very large insets
1013
1014 2004-02-25  André Pönitz  <poenitz@gmx.net>
1015
1016         * text3.C:
1017         * cursor.[Ch]: move some mathed specific code to mathed
1018
1019 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1022         use_tempdir in preferences
1023         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1024         tempfile creation
1025         * lyx_main.C: ensure that tempdir is valid
1026         * lyxlex.h: correct typo
1027         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1028         * paragraph.[Ch] (isMultiLingual): make const
1029         * cursor.[Ch] (openable): make const
1030
1031 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1032
1033         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1034
1035 2004-02-20  André Pönitz  <poenitz@gmx.net>
1036
1037         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1038
1039         * cursor.[Ch]: prepare for localized getStatus()
1040
1041         * lyxtext.h:
1042         * tabular.C:
1043         * text.C:
1044         * text2.C:
1045         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1046
1047 2004-02-20  André Pönitz  <poenitz@gmx.net>
1048
1049         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1050
1051 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1052
1053         * text2.C (setCursorFromCoordinates): switch to absolute coords
1054         (cursorUp): adjust
1055         (cursorDown): adjust
1056         * text3.C (dispatch): adjust
1057
1058 2004-02-16  André Pönitz  <poenitz@gmx.net>
1059
1060         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1061           insets/ChangeLog)
1062
1063         * cursor_slice.[Ch]: remove unneeded acessor function
1064
1065         * lyxtext.h: rename rtl() to isRTL()
1066
1067         * rowpainter.C:
1068         * tabular.C:
1069         * text.C:
1070         * text2.C:
1071         * text3.C: adjust
1072
1073 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1074
1075         * rowpainter.C (paintSelection): coord fix
1076
1077 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078
1079         * Spacing.C: compile fix
1080
1081 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * cursor.C (dispatch): restore current_ before returning
1084
1085 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text2.C (cursorUp, cursorDown): fix coords
1088         (moveUp): fix crash
1089
1090 2004-02-12  André Pönitz  <poenitz@gmx.net>
1091
1092         * lyxtext.h:
1093         * text.C:
1094         * text2.C:
1095         * text3.C: add LCursor & parameter to most cursor movement functions
1096           remove usage of LyXText::cursorRow() and cursorPar()
1097
1098         * cursor.[Ch]: add textRow() needed members
1099
1100         * BufferView.C:
1101         * BufferView_pimpl.C:
1102         * paragraph.[Ch]:
1103         * BufferView.C:
1104         * BufferView_pimpl.C: adjust
1105
1106 2004-02-11  André Pönitz  <poenitz@gmx.net>
1107
1108         * lyxfunc.C:
1109         * BufferView.[Ch]:
1110         * BufferView_pimpl.C: shift undo/redo handling
1111
1112         * cursor.[Ch]: fix mathed crash
1113
1114         * lyxfind.C:
1115         * lyxtext.h: move selectionAsText to LCursor
1116
1117         * output_latex.C:
1118         * paragraph.C:
1119         * text.C:
1120         * text2.C:
1121         * text3.C: adjust
1122
1123         * rowpainter.C: fix excessive drawing
1124
1125 2004-02-06  André Pönitz  <poenitz@gmx.net>
1126
1127         * BufferView.[Ch]:
1128         * BufferView_pimpl.[Ch]:
1129         * text3.C: move some text specific LFUN handling
1130
1131 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * text3.C (checkInsetHit): adjust coords
1134         * text2.C (getColumnNearX): adjust coords
1135         (edit): adjust coords
1136         * text.C (getRowNearY): add two asserts
1137
1138 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1139
1140         * converter.C:
1141         * format.C: add using std::distance to compile on gcc 2.95/stlport
1142
1143 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1146
1147 2004-02-04  André Pönitz  <poenitz@gmx.net>
1148
1149         * BufferView.[Ch] (insertInset):
1150         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1151
1152         * text2.C:
1153         * text3.C: adjust
1154
1155 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1158         on the default clause of the switch
1159         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1160         wasn't catched by LCursor::dispatch
1161
1162 2004-02-03  André Pönitz  <poenitz@gmx.net>
1163
1164         * BufferView.C:
1165         * cursor.[Ch]: some additional asserts
1166
1167         * undo.[Ch]: remove LyXText dependency in interface
1168
1169         * lyxfunc.C: adjust
1170
1171         * lyxtext.h (firstPar, lastPar): remove dead functions
1172
1173         * text.C:
1174         * text2.C:
1175         * text3.C:
1176         * paragraph.[Ch]: adjust
1177
1178 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * lyxfind.C (find): fix argument order in call to ::find
1181
1182 2004-02-02  André Pönitz  <poenitz@gmx.net>
1183
1184         * cursor.[Ch]: remove direct access to anchor
1185
1186         * text.C: remove findText() hack
1187
1188 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * iterators.[Ch] (lockPath): remove in favour of...
1191         * BufferView.[Ch] (setCursor): this addition
1192         * BufferView.C (putSelectionAt): adjust
1193         * undo.C (performUndoOrRedo): adjust
1194         * lyxfunc.C (dispatch): adjust
1195
1196 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1197
1198         * iterators.C (lockPath): add a missing slice
1199         * undo.C (performUndoOrRedo): remove redundant positioning code
1200
1201 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1202
1203         * vc-backend.C (scanMaster): ";" -> ';'
1204
1205 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1206
1207         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1208         std::binary_function
1209
1210         * lyxtextclass.C (compare_name): rename to...
1211         (LayoutNamesEqual): ...this
1212
1213         * lyxlex_pimpl.C (compare_tags): inherit from
1214         std::binary_function, put back into anon namespace
1215
1216         * lyxfind.C (MatchString): inherig from std::binary_function
1217         (findChange): use empty() istead of !size()
1218
1219         * format.C (FormatNamesEqual): new functor
1220         (getFormat): use it
1221         (getNumber): use it
1222         (add): use it
1223         (erase): use it
1224         (setViewer): use it
1225
1226         * converter.C (compare_Converter): rename to...
1227         (ConverterEqual): ...this, and fixup a bit.
1228         (getConverter): use it, and make function const
1229         (getNumber): use it, and make function const
1230         (add): use it
1231         (erase): use it:
1232
1233         * bufferlist.C: add using boost::bind
1234
1235         * MenuBackend.C (MenuNamesEqual): new functor
1236         (hasMenu): use it, and make function const
1237         (hasSubmenu): use nested bind to get rid of compare_memfun.
1238
1239 2004-01-30  André Pönitz  <poenitz@gmx.net>
1240
1241         * BufferView_pimpl.C:
1242         * cursor.C:
1243         * cursor.h:
1244         * cursor_slice.[Ch]:
1245         * lyxfunc.C:
1246         * lyxtext.h:
1247         * paragraph_funcs.C:
1248         * paragraph_funcs.h:
1249         * rowpainter.C:
1250         * text.C:
1251         * text2.C:
1252         * text3.C: move some of the edit(x,y) handling to the insets
1253         some coordinate changes.
1254
1255 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1256
1257         * text.C: add using statements for std::advance and std::distance
1258
1259         * paragraph.C: add using statement for std::distance
1260
1261         * lyxfind.C: add using statement for std::advance
1262
1263         * cursor.C (region): remove std:: from swap
1264         (openable): use nucleus in stead of operator->
1265
1266         * BufferView.C: add using statements for std::distance and std::swap
1267
1268 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1269
1270         * iterators.C: Remove the pimple, move the needed structures to
1271         the header file. Create accessor for the positions stack.
1272         (asPosIterator): remove function
1273
1274         * PosIterator.C (PosIterator): move constructors to top of file
1275         (PosIterator): reimplement the constructor taking a ParIterator in
1276         terms of setFrom.
1277         (setFrom): new function
1278         (operator!=): inline it
1279
1280 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1281
1282         * lyxfind.C (replaceAll): use std::advance
1283
1284         * iterators.h: inherit from std::iterator.
1285
1286         * PosIterator.C (advance, distance): remove
1287         * PosIterator.h: interit from std::iterator.
1288
1289 2004-01-26  André Pönitz  <poenitz@gmx.net>
1290
1291         * BufferView.[Ch]:
1292         * BufferView_pimpl.[Ch]:
1293         * InsetList.[Ch]:
1294         * PosIterator.[Ch]:
1295         * buffer.h:
1296         * bufferview_funcs.C:
1297         * cursor.[Ch]:
1298         * cursor_slice.h:
1299         * factory.[Ch]:
1300         * iterators.[Ch]:
1301         * lyxfind.C:
1302         * lyxfunc.C:
1303         * lyxtext.h:
1304         * output_docbook.C:
1305         * output_latex.C:
1306         * output_linuxdoc.C:
1307         * output_plaintext.C:
1308         * paragraph.[Ch]:
1309         * paragraph_funcs.[Ch]:
1310         * paragraph_pimpl.[Ch]:
1311         * rowpainter.C:
1312         * tabular.C:
1313         * tabular.h:
1314         * text.C:
1315         * text2.C:
1316         * text3.C: more IU:  dumps most of the rest of the mathcursor
1317     implementation into cursor.[Ch]; "globalize" a bit of it.
1318
1319 2004-01-25  Angus Leeming  <leeming@lyx.org>
1320
1321         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1322
1323 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1324
1325         * LaTeXFeatures.h: add nice_ and nice() const
1326         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1327
1328 2004-01-20  André Pönitz  <poenitz@gmx.net>
1329
1330         * BufferView.[Ch]:
1331         * BufferView_pimpl.C:
1332         * PosIterator.C:
1333         * bufferview_funcs.C:
1334         * cursor.[Ch]:
1335         * cursor_slice.[Ch]:
1336         * factory.C:
1337         * iterators.C:
1338         * lyx_cb.C:
1339         * lyxfind.C:
1340         * lyxfunc.C:
1341         * lyxtext.h:
1342         * rowpainter.C:
1343         * text.C:
1344         * text2.C:
1345         * text3.C:
1346         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1347           LCursor and mathcursor parts to LCursor and InsetBase.
1348
1349 2004-01-15  André Pönitz  <poenitz@gmx.net>
1350
1351         * cursor_slice.[Ch]: add a few covienience functions
1352
1353         * funcrequest.[Ch]: remove BufferView * member
1354
1355         * BufferView_pimpl.C:
1356         * cursor.C:
1357         * factory.[Ch]:
1358         * lyxfind.[Ch]:
1359         * lyxfunc.C:
1360         * lyxtext.h:
1361         * text3.C:
1362         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1363
1364 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1365
1366         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1367         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1368
1369 2004-01-13  André Pönitz  <poenitz@gmx.net>
1370
1371         * textcursor.[Ch]:
1372         * lyxtext.h: hide cursor and selection anchor behind accessor function
1373
1374         * BufferView.C:
1375         * BufferView_pimpl.[Ch]:
1376         * PosIterator.C:
1377         * bufferview_funcs.C:
1378         * cursor.h:
1379         * lyxfind.C:
1380         * lyxfunc.C:
1381         * text.C:
1382         * text2.C:
1383         * text3.C:
1384         * undo.C: adjust
1385
1386         * cursor.h:
1387         * cursor_slice.[Ch]: some integer type changes for inset unification
1388
1389         * lyxcursor.[hC]: remove, it's CursorSlice now.
1390
1391         * Makefile.am:
1392         * BufferView_pimpl.[Ch]:
1393         * bufferview_funcs.C:
1394         * cursor_slice.C:
1395         * lyxtext.h:
1396         * text.C:
1397         * text2.C:
1398         * text3.C:
1399         * textcursor.[Ch]: adjust
1400
1401 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * text2.C (undoSpan): add and use
1404         * text.C (breakParagraph): use undoSpan (fix bug 578)
1405         * lyxtext.h: adjust
1406
1407 2004-01-08  Angus Leeming  <leeming@lyx.org>
1408
1409         * BufferView_pimpl.C (MenuInsertLyXFile):
1410         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1411         * lyxfunc.C (menuNew, open, doImport):
1412         FileFilterList change to the FileDialog open and save functions.
1413
1414 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1415
1416         * ShareContainer.h: make isEqual and isUnique adaptable
1417
1418         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1419
1420 2004-01-07  Angus Leeming  <leeming@lyx.org>
1421
1422         * LyXAction.C:
1423         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1424
1425         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1426
1427         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1428         functions replacing find, replace and replaceAll.
1429
1430         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1431         LFUN_WORDFIND(FORWARD|BACKWARD).
1432
1433 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * text.C (breakParagraph): remove an outdated #warning
1436
1437 2004-01-07  André Pönitz  <poenitz@gmx.net>
1438
1439         * lyxfind.C: somewhat clearer logic
1440
1441         * text.C: prevent crash in cursorX on unitialized row cache
1442
1443 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1444
1445         * lyxcursor.[Ch] (operator>): add
1446         * textcursor.C (selStart, selEnd): use std::min and std::max
1447
1448 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1449
1450         * Chktex.C: include boost/format.hpp
1451
1452 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1453
1454         * InsetList.C: replace functor MathcIt with adaptable functor
1455         InsetTablePosLess
1456         (insetIterator): modify accordingly
1457
1458         * BranchList.h: move the BranchNamesEqual functor here from...
1459         * BranchList.C: ... to here
1460
1461         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1462         SameName and match.
1463         (add): replace a finding loop with std::find_if.
1464
1465 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1466
1467         * output_docbook.C: moving LatexParam functionality into
1468         .layout files
1469
1470 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1471
1472         * buffer.C: increment format to 229.
1473
1474 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1475
1476         * LaTeXFeatures.C:
1477         * lyx_sty.[Ch]: remove minipageindent_def
1478
1479         * LyXAction.C:
1480         * factory.C:
1481         * lfuns.h:
1482         * lyxfunc.C:
1483         * text3.C: remove LFUN_INSET_MINIPAGE
1484
1485 2003-12-28  Angus Leeming  <leeming@lyx.org>
1486
1487         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1488
1489 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * text2.C (setParagraph): fix off-by-one crash
1492
1493 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * output_docbook.C: header stuff for AGU
1496
1497 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1498
1499         * text2.C (redoCursor): remove
1500         * text.C:
1501         * text3.C:
1502         * BufferView_pimpl.C: remove calls to redoCursor and
1503         setCursor(cursor.par(), cursor.pos()) all around
1504
1505 2003-12-15  Angus Leeming  <leeming@lyx.org>
1506
1507         * buffer.C: up the format to 228.
1508
1509 2003-12-15  André Pönitz  <poenitz@gmx.net>
1510
1511         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1512         slices
1513
1514         * Makefile.am:
1515
1516         * BufferView_pimpl.C:
1517         * cursor.[Ch]:
1518         * lyxcursor.[Ch]:
1519         * rowpainter.[Ch]:
1520         * lyxtext.h:
1521         * text.C:
1522         * text2.C:
1523         * text3.C: adjust
1524
1525 2003-12-15  Angus Leeming  <leeming@lyx.org>
1526
1527         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1528         than getFromGUIName to manipulate the color.
1529
1530 2003-12-14  Angus Leeming  <leeming@lyx.org>
1531
1532         * BranchList.[Ch]: minimize the API.
1533         (Branch::getBranch, getColor): now return a 'const &'.
1534         (Branch::setSelected) now returns a bool set to true if the
1535         selection status changes.
1536         (BranchList::clear, size, getColor, setColor, setSelected,
1537         allBranches, allSelected, separator): removed.
1538         (BranchList::find): new functions, returning the Branch with
1539         the given name.
1540         (BranchList::add, remove): return a bool indicating that
1541         the operation was successful.
1542
1543         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1544         new InsetBranch::isBranchSlected member function.
1545
1546         * LColor.[Ch]: mimimize the API.
1547         (fill): renamed as addColor and made private.
1548         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1549         versions of these functions taking a string arg have been removed.
1550
1551         * bufferparams.C (readToken):
1552         * lyxfunc.C (dispatch):
1553         * lyxrc.C (read): changes due to the altered BranchList and
1554         LColor APIs.
1555
1556         * factory.C (createInset, readInset): changes due to altered
1557         InsetBranch c-tor.
1558
1559 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1560
1561         * factory.C:
1562         * lyxfunc.C: remove insetminipage. "minipage-insert"
1563         now produces a frameless minipage box inset.
1564
1565 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * textcursor.[Ch] (selStart,selEnd): add new methods
1568         remove selection::start, end, use LyXCursor::operator<
1569         * lyxcursor.[Ch] (operator<): add
1570         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1571         * BufferView.[Ch] (unsetXSel): add
1572         * text2.C (clearSelection): use unsetXSel,adjust
1573         * text.C: adjust
1574         * text3.C: adjust
1575         * rowpainter.C: adjust
1576         * bufferview_funcs.C (put_selection_at): adjust
1577
1578 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * BufferView_pimpl.C: small coord. correction
1581
1582 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1583
1584         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1585         dragging over the splash screen.
1586
1587 2003-12-11  Angus Leeming  <leeming@lyx.org>
1588
1589         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1590         as it is now handled in LyXText::dispatch.
1591
1592         * text3.C (doInsertInset): remove a level of nesting.
1593
1594 2003-12-11  Angus Leeming  <leeming@lyx.org>
1595
1596         * factory.C (createInset): changes due to the changed interface to
1597         InsetCommandMailer::string2params.
1598
1599 2003-12-10  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1602         'dialog-show-new-inset <inset name>'
1603
1604 2003-12-10  Angus Leeming  <leeming@lyx.org>
1605
1606         * buffer.C: up the format to 227.
1607
1608         * factory.C: the box inset is now identified simply by 'Box'.
1609
1610 2003-12-10  Angus Leeming  <leeming@lyx.org>
1611
1612         * buffer.C: up the format to 226.
1613
1614         * factory.C: the note inset is now identified simply by 'Note'.
1615
1616 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1617
1618         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1619         when a pit is enough. Standarize a couple of loops.
1620
1621 2003-12-05  Angus Leeming  <leeming@lyx.org>
1622
1623         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1624         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1625         data to the re-worked "log" dialog.
1626
1627 2003-12-03  André Pönitz  <poenitz@gmx.net>
1628
1629         * PosIterator.C:
1630         * iterators.C:
1631         * lyxtext.h:
1632         * output_latex.C:
1633         * paragraph_funcs.C:
1634         * text.C:
1635         * text2.C: use Inset::getText instead of Inset::getParagraph
1636
1637 2003-12-03  André Pönitz  <poenitz@gmx.net>
1638
1639         * buffer.[Ch]:
1640         * lyxtext.h:
1641         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1642         InsetText::read() as LyXText::read()
1643
1644 2003-12-02  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1647         type. Add a comment in the implementation that the function uses
1648         the stream's bad() function rather than fail() as the std::streams
1649         would do.
1650
1651 2003-12-02  André Pönitz  <poenitz@gmx.net>
1652
1653         * lyxlex.[Ch]: make interface more similar to std::stream
1654
1655         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1656
1657 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1658
1659         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1660
1661 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1662
1663         * vspace.[Ch]: remove VSpace::NONE
1664
1665 2003-12-01  André Pönitz  <poenitz@gmx.net>
1666
1667         * buffer.[Ch]:
1668         * lyxtext.h: move ParagraphList member to LyXText
1669         rename LyXText::ownerParagraphs to LyXText::paragraph
1670
1671         * CutAndPaste.C:
1672         * bufferview_funcs.C:
1673         * iterators.[Ch]:
1674         * lyx_cb.C:
1675         * paragraph.C:
1676         * rowpainter.C:
1677         * tabular.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: adjust
1681
1682         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1683
1684         * undo.C: fix cursor positioning
1685
1686 2003-12-01  John Levon  <levon@movementarian.org>
1687
1688         * BufferView_pimpl.C: fix a crash on exit with
1689         a buffer open
1690
1691 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1692
1693         * BranchList.C: fix setSelected() method.
1694
1695 2003-11-28  André Pönitz  <poenitz@gmx.net>
1696
1697         * ParagraphParameters.[Ch]:
1698         * ParameterStruct.h: remove space above/below from Paragraph to
1699          InsetVSpace
1700
1701         * BufferView_pimpl.C:
1702         * factory.C:
1703         * lyxfunc.C:
1704         * lyxtext.h:
1705         * output_latex.C:
1706         * paragraph.C:
1707         * paragraph_funcs.C:
1708         * rowpainter.[Ch]:
1709         * text.C:
1710         * text2.C:
1711         * text3.C: adjust
1712
1713 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1714
1715         * factory.C: Syntax change for CharStyles
1716
1717 2003-11-28  André Pönitz  <poenitz@gmx.net>
1718
1719         * BufferView.[Ch]:
1720         * BufferView.[Ch]:
1721         * buffer.[Ch]:
1722         * buffer.[Ch]: move LyXText member
1723
1724 2003-11-28  André Pönitz  <poenitz@gmx.net>
1725
1726         * BufferView.[Ch]: make LyXText * text a private member
1727
1728         * BufferView_pimpl.C:
1729         * cursor.C:
1730         * iterators.C:
1731         * lyx_cb.C:
1732         * lyxfind.C:
1733         * lyxtext.h:
1734         * rowpainter.[Ch]:
1735         * text.C:
1736         * text2.C:
1737         * undo.C: adjust
1738
1739         * output_plaintext.C: cleanup
1740
1741 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1742
1743         * buffer.C:
1744         * lyxtextclass.[Ch]: parametrize SGML document header
1745
1746 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1747
1748         * converter.[Ch]:
1749         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1750         getFlavor().
1751
1752 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * text2.C (setFont): rework using PosIterator (no more recursive)
1755         (setCharFont): no more needed
1756         (setLayout): no more selection cursors fiddling (done by redoCursor)
1757         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1758         destroy remaining ones)
1759
1760 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1763         * lyxtext.h: ditto
1764         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1765         selection cursors
1766         * lyxfunc.C: adjust
1767         * text3.C: adjust + re-allow multi par depth changes
1768         * textcursor.C: simplify a bit
1769
1770 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1771
1772         * src/buffer.C:
1773         * src/lyxlayout.C:
1774         * src/lyxlayout.h:
1775         * src/lyxtext.h:
1776         * src/output_docbook.C:
1777         * src/output_latex.C:
1778         * src/paragraph.C:
1779         * src/paragraph.h:
1780         * src/sgml.C:
1781         * src/sgml.h:
1782         * src/text2.C: Introducing a number of tags parametrizing various
1783         XML formats that we may want to support
1784
1785 2003-11-25  André Pönitz  <poenitz@gmx.net>
1786
1787         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1788
1789         * lyxtext.h (leftMargin/rightMargin): simplify interface
1790
1791         * rowpainter.C:
1792         * text.C:
1793         * text2.C:
1794         * text3.C: adjust
1795
1796 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1797
1798         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1799         master file to any child files. Fixes bug 546.
1800
1801 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1802
1803         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1804
1805 2003-11-24  André Pönitz  <poenitz@gmx.net>
1806
1807         * rowpainter.C: simplification
1808
1809         * text2.C (updateCounters): remove call to redoParagraph on
1810         changed labels as this is far too expensive.
1811
1812 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * converter.C (convert): fix a crash: this function gets
1815         called with buffer == 0 from importer code.
1816
1817 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1818
1819         * text3.C (cursorPrevious): make sure that we do not compare
1820         iterators form different containers.
1821         (cursorNext): ditto
1822
1823         * rowpainter.C (paintSelection): make sure that we do not compare
1824         iterators from different containers.
1825
1826         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1827         iterators from different ParagraphList containers.
1828         [NEXT] ditto
1829
1830         * text2.C (LyXText): change order of initialization slightly
1831         (operator=): new function. copy all variables except cache_par_
1832         (moveUp): make sure that we do not compare iterators from
1833         different ParagraphList constainers.
1834         (moveDown): ditto
1835
1836         * text.C (firstPar): new function
1837         (lastPar): new function
1838         (endPar): new function
1839
1840         * lyxtext.h: move things around and group public functions, public
1841         variables, private functions, private variables
1842
1843 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1844
1845         * factory.C: change call to InsetERT constructor to avoid
1846         additional invocation of method status
1847         * text2.C (toggleInset): remove redundant update() call
1848         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1849         instead of a Bufferview pointer
1850
1851 2003-11-21  André Pönitz  <poenitz@gmx.net>
1852
1853         * rowpainter.C: simplification
1854
1855 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * text3.C (dispatch): make possible to extend a word/row selection
1858         with the mouse
1859
1860 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * lyxtext.h: x0_,y0_ -> xo_,yo_
1863         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1864         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1865         * rowpainter.C (paintRows): paint full paragraphs
1866
1867 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1870         screen coordinates)
1871
1872 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * lyxtext.h: add x0_, y0_
1875         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1876         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1877
1878 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text2.C (setCursorIntern): move the x_target update here *
1881         * text3.C: change some bv() to true/false in calls to
1882         cursorUp/Down/Right/Left
1883         * cursor.C: use helper function.
1884
1885 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1888         * paragraph_funcs.[Ch]: correct comment
1889         * rowpainter.C: do not paint selections away from bv->cursor()
1890         Fix a long standing selection painting bug.
1891         * text3.C: generalize mouse-selection code to LyXTexts other that
1892         top one
1893         * textcursor.C: do not use y coords if we can use par offsets
1894
1895 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1896
1897         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1898         cursor position after e.g. inset insert)
1899
1900 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1901
1902         * lyxfind.C (replace): adjust to locking removal + some
1903         code simplification
1904
1905 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1908         of the path
1909
1910 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * lyxlayout.[Ch]:
1913         * output_docbook.C: XML sanitation: new layout
1914         parameters InnerTag and CommandDepth
1915
1916 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * BufferView_pimpl.C:
1919         * factory.C:
1920         * text3.C: Fix the insertion and modification of button-style
1921         insets
1922
1923 2003-11-13  André Pönitz  <poenitz@gmx.net>
1924
1925         * InsetList.[Ch]: remove deleteLyXText
1926
1927         * paragraph.[Ch]: cache beginOfBody position
1928
1929         * Bidi.C:
1930         * text.C:
1931         * text2.C:
1932         * text3.C: remove superfluous update() calls
1933
1934         * vspace.C: cleanup
1935
1936 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1937
1938         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1939         * BufferView.C (fitLockedInsetCursor): remove
1940         * cursor.[Ch] (getDim): add
1941         * text.C (getRowNearY): add faster version
1942         * text3.C: remove some update calls
1943
1944 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * LaTeXFeatures.C:
1947         * LyXAction.C:
1948         * MenuBackend.C:
1949         * MenuBackend.h:
1950         * dispatchresult.h:
1951         * factory.C:
1952         * lfuns.h:
1953         * lyxfunc.C:
1954         * lyxtextclass.C:
1955         * lyxtextclass.h:
1956         * text3.C: The Character Style /XML short element patch.
1957
1958 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1959
1960         * text3.C:
1961         * factory.C: Small step to solving 'unable to insert some insets'
1962         problem
1963
1964 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1965
1966         * cursor.[Ch] (updatePos): new function for updating the y
1967         position of the tip inset
1968         * bufferview_funcs.C (put_selection_at):
1969         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1970
1971 2003-11-11  André Pönitz  <poenitz@gmx.net>
1972
1973         * text.C: remove big comment on invalid Paragraph pointers as it is
1974         not valid anymore
1975
1976 2003-11-11  André Pönitz  <poenitz@gmx.net>
1977
1978         * text_funcs.[Ch]: merge with ...
1979
1980         * text.C: ... this
1981
1982         * lyxtext.h:
1983         * text2.C:
1984         * text3.C: adjust
1985
1986         * Makefile.am: remove text_funcs.[Ch]
1987
1988 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1989
1990         * cursor.C (getPos): return absolute cached y coord
1991
1992         * BufferView_pimpl.C (fitCursor): new simplistic code
1993         (workAreaDispatch): add a fitCursor call
1994
1995 2003-11-10  André Pönitz  <poenitz@gmx.net>
1996
1997         * BufferView.[Ch]:
1998         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1999
2000 2003-11-10  André Pönitz  <poenitz@gmx.net>
2001
2002         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2003         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2004         indicate that the cursor needs to leave an inset
2005
2006         * lyxtext.h: remove inset locking
2007
2008         * cursor.[Ch]: re-implement functionality provided by inset locking
2009
2010         * BufferView.[Ch]:
2011         * BufferView_pimpl.[Ch]:
2012         * LyXAction.C:
2013         * bufferview_funcs.[Ch]:
2014         * factory.C:
2015         * funcrequest.[Ch]:
2016         * iterators.C:
2017         * lyx_cb.C:
2018         * lyxfind.C:
2019         * lyxfunc.C:
2020         * text.C:
2021         * text2.C:
2022         * text3.C:
2023         * undo.C: adjust
2024
2025 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2026
2027         * PosIterator.[Ch]: replace the stack with a vector, add inset
2028         accesor
2029         * iterators.[C]: adjust
2030
2031 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2032
2033         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2034         replaced
2035         * paragraph_funcs.C (readParToken): put the correct id in the
2036         error item, not the id of the top paragraph
2037
2038 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2039
2040         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2041         * bufferview_funcs.C (put_selection_at): use the above
2042
2043 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2046
2047 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * output_linuxdoc.h:
2050         * output_plaintext.h:
2051         * output.h:
2052         * output_docbook.h: add #include statements
2053
2054 2003-11-05  José Matos  <jamatos@lyx.org>
2055
2056         * output_docbook.[Ch]:
2057         * output_latex.[Ch]:
2058         * output_linuxdoc.[Ch]:
2059         * output_plaintext.[Ch]: New files for output formats.
2060         * output.[Ch]: New file for helper functions.
2061
2062         * buffer.[Ch]:
2063         * paragraph_funcs.[Ch]: output functions moved to new files.
2064
2065         * outputparams.h: rename of latexrunparams.h
2066
2067         * LaTeX.[Ch]:
2068         * buffer.[Ch]:
2069         * bufferlist.[Ch]:
2070         * converter.[Ch]:
2071         * exporter.C:
2072         * paragraph.[Ch]:
2073         * paragraph_funcs.[Ch]:
2074         * paragraph_pimpl.[Ch]:
2075         * tabular.[Ch]: rename ascii to plaintext
2076         and LatexRunParams to OutputParams.
2077
2078 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2079
2080         * iterators.[Ch] (text): require bv argument
2081         * undo.C (recordUndo):
2082         * lyxfunc.C (dispatch):
2083         * bufferview_funcs.C (put_selection_at): adjust
2084
2085 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2086
2087         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2088
2089 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2090
2091         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2092         nestings
2093
2094 2003-11-04  André Pönitz  <poenitz@gmx.net>
2095
2096         * cursor.[Ch]: restructure
2097
2098         * BufferView.[Ch]:
2099         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2100
2101         * iterators.[Ch] (asCursor): remove
2102
2103         * lfuns.h: remove LFUN_INSET_EDIT
2104
2105         * lyxfunc.C:
2106         * tabular.C:
2107         * text.C:
2108         * text2.C:
2109         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2110
2111 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2112
2113         * lyxfind.[Ch]: complete overhaul
2114         * BufferView_pimpl.C:
2115         * lyxfunc.C: adjust
2116         * paragraph.[Ch] (insert): add
2117
2118 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2119
2120         * BufferView.[Ch]:
2121         * lyxtext.h:
2122         * text.C: remove dead spellcheck code
2123
2124 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2125
2126         * dispatchresult.h: add a val setter
2127
2128         * cursor.C (dispatch): use a tempvar for data_[i]
2129
2130 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * PosIterator.[Ch]: compile fix
2133
2134 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * text.C (cursorPar): deactivate the cursor cache
2137
2138 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2139
2140         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2141
2142 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2143
2144         * text3.C (dispatch): adjust for new DisptchResult semantics.
2145
2146         * lyxfunc.C (dispatch): handle update when return from
2147         Cursor::dispatch, adjust for new DispatchResult semantics.
2148
2149         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2150         DispatchResult(true) mean to not update. Add class functions for
2151         setting dispatched and update, as well as reading.
2152
2153         * cursor.C (dispatch): don't handle update here
2154
2155 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2158         * trans_mgr.C: adjust
2159
2160         * paragraph_funcs.C (readParToken): exception safety
2161
2162         * lyxvc.h: store the vcs pointer in a scoped_ptr
2163         * lyxvc.C: adjust
2164
2165         * lyxsocket.C (serverCallback): exception safety
2166
2167         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2168
2169         * ispell.C (clone): make it return a auto_ptr
2170
2171         * factory.C (createInset): exception safety
2172         (readInset): exception safety
2173
2174         * bufferlist.C (newBuffer): exception safety
2175
2176         * Thesaurus.C (Thesaurus): use initialization for aik_
2177
2178         * MenuBackend.C (expandToc): exception safety.
2179
2180 2003-11-03  André Pönitz  <poenitz@gmx.net>
2181
2182         * buffer.C:
2183         * buffer.h:
2184         * bufferview_funcs.C: remove getInsetFromId()
2185
2186         * lyxcursor.[Ch]:
2187         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2188
2189         * lyxfunc.C:
2190         * text2.C:
2191         * text3.C: adjust
2192
2193 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2194
2195         * PosIterator.C (distance, advance): new
2196         * bufferview_funcs.[Ch] (put_selection_at): new
2197         * iterators.[Ch] (lockPath): new
2198
2199 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2200
2201         * iterators.[Ch] (asPosIterator): added
2202         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2203         * PosIterator.[Ch]: added
2204
2205 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * text3.C:
2208         * lyxfunc.C:
2209         * cursor.C (dispatch):
2210         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2211
2212         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2213         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2214         contructor, add a class function dispatched. Remove operator>=
2215
2216 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * debug.C: only use the default constructor for debugstream
2219         (lyxerr) here.
2220
2221         * main.C (main): include debug.h and setup the lyxerr streambuf
2222         here.
2223
2224 2003-10-31  José Matos  <jamatos@lyx.org>
2225
2226         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2227
2228         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2229         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2230         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2231         * paragraph_pimpl.C (simpleTeXSpecialC):
2232         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2233         add LatexRunParams argument.
2234
2235         * exporter.C (Export): change call accordingly.
2236
2237         * latexrunparams.h: add new member to take care of the other backends.
2238 2003-10-30  José Matos  <jamatos@lyx.org>
2239
2240         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2241         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2242         factorise code for paragraph output.
2243         * buffer.[Ch]:
2244         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2245         move functions.
2246
2247 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * text3.C (dispatch):
2250         * lyxfunc.C (dispatch):
2251         * cursor.C (dispatch):
2252         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2253
2254         * dispatchresult.h: make the dispatch_result_t ctor explicit
2255
2256 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2257
2258         * sgml.[Ch]:
2259         * buffer.C: small refactoring of docbook stuff
2260
2261 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2264         meaning.
2265
2266 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2269         operator dispatch_result_t, and operators for == != and >=
2270
2271         * cursor.C (dispatch): adjust for operator dispatch_result_t
2272         removal. comment out call to update
2273
2274         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2275
2276 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2277
2278         * text3.C:
2279         * text2.C:
2280         * text.C:
2281         * lyxtext.h:
2282         * lyxfunc.C:
2283         * cursor.C:
2284         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2285         (dispatch):
2286
2287         * dispatchresult.h: new file, DispatchResult broken out of
2288         insets/insetbase.h
2289
2290         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2291
2292 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2293
2294         * text.C (rowBreakPoint): put a hack inside #if 0
2295
2296 2003-10-28  André Pönitz  <poenitz@gmx.net>
2297
2298         * lyxtext.h:
2299         * metricsinfo.C:
2300         * paragraph_funcs.C:
2301         * rowpainter.C:
2302         * text.C:
2303         * text2.C: general cleanup (lots of small stuff)
2304
2305 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2306
2307         * text2.C (cursorEnd): simple fix to the "end key goes to one
2308         before the end on last row" bug
2309
2310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * text.C (backspace): fix the "zombie characters"
2313
2314 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2315
2316         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2317
2318 2003-10-27  André Pönitz  <poenitz@gmx.net>
2319
2320         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2321
2322         * factory.C: handle new InsetPagebreak, InsetLine
2323
2324         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2325         and move handling into new InsetPagebreak, InsetLine
2326
2327         * BufferView_pimpl.C:
2328         * LyXAction.C:
2329         * ParagraphParameters.C:
2330         * ParameterStruct.h:
2331         * lyxfunc.C:
2332         * lyxtext.h:
2333         * paragraph.C:
2334         * paragraph.h:
2335         * paragraph_funcs.C:
2336         * paragraph_pimpl.C:
2337         * rowpainter.C:
2338         * text.C:
2339         * text2.C:
2340         * text3.C: adjust
2341
2342 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2343
2344         * text.C:
2345         * lyxrow_funcs.[Ch]:
2346         * Bidi.C:
2347         * paragraph.C:
2348         * lyxtext.h:
2349         * rowpainter.C:
2350         * text2.C:
2351         * text3.C: remove lastPos uses in favour of Row::endpos
2352
2353 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2354
2355         * undo.C (performUndoOrRedo): fix two crashes by setting a
2356         cursor by hand and reordering some calls. Use bv->lockInset instead
2357         of inset->edit because the latter loses cursor information
2358
2359 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2360
2361         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2362         by Martin
2363         (rowBreakPoint): fix width. change point to point + 1.
2364         Add a missing check.
2365
2366 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2367
2368         * MenuBackend.C:
2369         * lyxfunc.C: fix (at least partly) the problems
2370         with the Nav menu and headers inside branch insets
2371         reported by Kayvan
2372
2373 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * paragraph.C (getChar): add strong asserts
2376
2377         * lyxrow_funcs.C (lastPos): remove hideous hack
2378
2379         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2380         (fill): adjust to that (avoid an infinite loop)
2381
2382 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2383
2384         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2385
2386 2003-10-23  André Pönitz  <poenitz@gmx.net>
2387
2388         * RowList_fwd.h: change list<> to vector<> to gain speed
2389         after suggestion from Alfredo
2390
2391 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * lyxtext.h: move the bidi stuff from here...
2394         * text.C: and here
2395         * text2.C: and here
2396         * Bidi.[Ch]: ... to here
2397
2398 2003-10-23  André Pönitz  <poenitz@gmx.net>
2399
2400         * lyxtext.h:
2401         * text.C (isLastRow, isFirstRow): new functions
2402
2403         * paragraph.h: new width cache member
2404
2405         * rowpainter.C: replace RowList::iterator with Row & where possible
2406
2407         * lyxfunc.C: replace several view()->text with a single call
2408
2409         * toc.C: fix 'unused' warning
2410
2411 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2414         when woring with stream::pos_type
2415         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2416
2417 2003-10-22  André Pönitz  <poenitz@gmx.net>
2418
2419         * lyxtext.h:
2420         * text.C: use Row & instead of RowList::iterator
2421
2422         * lyxrow.h: rename end() to endpos()
2423
2424         * rowpainter.C:
2425         * text.C:
2426         * text2.C: adjust
2427
2428 2003-10-22  Angus Leeming  <leeming@lyx.org>
2429
2430         * buffer.[Ch] (fully_loaded): new member function, returning true
2431         only when the file has been loaded fully.
2432         Used to prevent the premature generation of previews and by the
2433         citation inset to prevent computation of the natbib-style label.
2434
2435         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2436         templates are all set up.
2437
2438         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2439
2440 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2441
2442         * text.C: fixed an "oops" in the "is a bit silly"
2443         bug fix
2444
2445 2003-10-21  André Pönitz  <poenitz@gmx.net>
2446
2447         * FuncStatus.[Ch]: small stuff, whitespace
2448
2449         * lyxfont.[Ch]: operator<<() for debug reasons
2450
2451         * lyxfunc.C:
2452         * lyxrow_funcs.C:
2453         * lyxtext.h: whitespace, spelling
2454
2455         * paragraph.C: naming of variables
2456
2457         * text.C:
2458         * text2.C: small stuff
2459
2460
2461 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2462
2463         * text.C: (1) finish off the inset display() work;
2464         (2) fix the "is a bit silly" bug (accessing char
2465         past end of par).
2466
2467 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2468
2469         * text.C: re-introduce display() for insets, fixing the
2470         various bugs (stretch of line above, math inset
2471         positioning, ...)
2472
2473 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2474
2475         * text.C (rightMargin): remove spurious semicolon
2476
2477         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2478         1415)
2479
2480 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * text3.C: fix one crash due to wrong cursor def
2483
2484 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * vc-backend.C (scanMaster): make the regex static
2487
2488         * LaTeX.C (scanAuxFile): make the regexs static
2489
2490         * text3.C (doInsertInset, dispatch, dispatch):
2491         * text2.C (cursorUp, cursorDown):
2492         * text.C (selectNextWordToSpellcheck):
2493         * BufferView_pimpl.C (dispatch):
2494         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2495
2496 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * lyxsocket.C: include <cerrno>
2499
2500 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * lyxfunc.C (dispatch): remove textcache stuff
2503
2504         * bufferlist.C (release): remove textcache stuff
2505         (closeAll): ditto
2506
2507         * TextCache.C: delete file
2508         * TextCache.h: delete file
2509
2510         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2511
2512         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2513         delete of the bv_->text.
2514         (resizeCurrentBuffer): remove texcache stuff
2515         (workAreaResize): ditto
2516
2517 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2520         action.
2521
2522 2003-10-16  André Pönitz  <poenitz@gmx.net>
2523
2524         * lyxrow.[Ch]:
2525         * paragraph.h:
2526         * rowpainter.C:
2527         * text.C:
2528         * text2.C:
2529         * text3.C: speed up by storing y positions per paragraph plus per-row
2530         offset instead of having a 'full' y position in the row.
2531
2532 2003-10-15  André Pönitz  <poenitz@gmx.net>
2533
2534         * iterators.[Ch]:
2535         * iterators.[Ch]:
2536         * undo.[Ch]: make undo aware of inner insets
2537
2538 2003-10-14  Angus Leeming  <leeming@lyx.org>
2539
2540         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2541         static member functions LyX::ref() and LyX::cref.
2542         (lastfiles): new accessor functions for the new lastfiles_ member var.
2543         (addLyXView, views_): add a new LyXView to the list of views_.
2544         (updateInset): loop over all LyXViews to call their own updateInset
2545         member function, returning a pointer to the Buffer owning the inset.
2546
2547         * BufferView_pimpl.C (loadLyXFile):
2548         * MenuBackend.C (expandLastfiles):
2549         * bufferlist.C (MenuWrite, QuitLyX):
2550         lastfiles is no longer a global variable.
2551         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2552
2553         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2554         static function. Access through LyX::cref().emergencyCleanup().
2555
2556 2003-10-14  André Pönitz  <poenitz@gmx.net>
2557
2558         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2559
2560         * undo.[Ch]: restoring part of 'undo in insets'
2561
2562         * Makefile.am:
2563         * undo_funcs.[Ch]: merge with undo.[Ch]
2564
2565         * tabular.C: small cleansing stuff
2566
2567 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2568
2569         * paragraph_funcs.C (readParToken): report unknown insets as error
2570         boxes. Use the outer paragraph as location (also for unknown
2571         tokens).
2572
2573         * factory.C (readInset): do not abort on reading an unknown inset.
2574         Eat it and return 0.
2575
2576 2003-10-13  Angus Leeming  <leeming@lyx.org>
2577
2578         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2579
2580         * lyxrc.C: displayTranslator is now a function,
2581         declared in GraphicsTypes.h.
2582
2583 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2584
2585         * format.C: new placeholder $$a to pass the socket address.
2586
2587         * bufferlist.[Ch]: new function getBufferFromTmp.
2588
2589         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2590           files in the temporary dir.
2591
2592 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2593
2594         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2595
2596         * Makefile.am: add lyxsocket.[Ch].
2597
2598         * lyx_main.C (error_handler): handle SIGPIPE.
2599
2600 2003-10-13  André Pönitz  <poenitz@gmx.net>
2601
2602         * BufferView_pimpl.C:
2603         * lyxtext.h:
2604         * text.C:
2605         * text2.C:
2606         * text3.C:
2607         * undo_funcs.[Ch]: use paroffset_type instead of
2608           ParagraphList::iterators to prevent multiple conversion
2609           (and get a more robust interface)
2610
2611 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2612
2613         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2614         * lyxtext.h: ditto
2615         * text3.C (dispatch): ditto
2616
2617 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2620         move the onlyfile, use onlyfile instead of foundfile in a couple
2621         of places.
2622
2623         * DepTable.C (update): flush the error stream a bit more
2624
2625 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * lyxserver.C (callback): adjust
2628
2629         * lyxfunc.C (getStatus): add a missing brace in commented code
2630         (ensureBufferClean): reindent
2631         (dispatch): delete version taking a string
2632
2633 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * LaTeX.C (deplog): move found file handlig from here...
2636         (handleFoundFile): .. to new function here.
2637         (deplog): make sure to discover several files mentioned on the
2638         same log line.
2639
2640 2003-10-10  André Pönitz  <poenitz@gmx.net>
2641
2642         * lyxfunc.C:
2643         * lyxtext.h:
2644         * tabular.C:
2645         * text.C:
2646         * text2.C:
2647         * text3.C: fix some of the tabular crashes
2648
2649 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2650
2651         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2652
2653         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2654
2655 2003-10-09  André Pönitz  <poenitz@gmx.net>
2656
2657         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2658
2659         * BufferView.C:
2660         * BufferView_pimpl.C:
2661         * bufferview_funcs.C:
2662         * lyx_cb.C:
2663         * lyxcursor.C:
2664         * lyxfind.C:
2665         * lyxfunc.C:
2666         * lyxtext.h:
2667         * text.C:
2668         * text2.C:
2669         * text3.C:
2670         * text_funcs.[Ch]:
2671         * textcursor.[Ch]:
2672         * undo_funcs.C: adjust
2673
2674 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * text2.C (incrementItemDepth): new function, use a backtracking
2677         algorithm to discover the correct item depth.
2678         (resetEnumCounterIfNeeded): new function, use a backtracking
2679         algorithm to discover if counter reset is needed.
2680         (setCounter): use them. Simplify a bit. Add different labels for
2681         different item depths for itemize.
2682
2683         * paragraph.C (Paragraph): remove initialization of enumdepth
2684         (operator=): ditto
2685
2686         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2687         enumerate and itemize. Change the type of itemdepth to signed char.
2688
2689 2003-10-08  André Pönitz  <poenitz@gmx.net>
2690
2691         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2692           thing assignable.
2693         * text.C:
2694         * text2.C: adjust
2695
2696         * tabular.[Ch]: fix crash after 'row-insert'
2697
2698 2003-10-08  Angus Leeming  <leeming@lyx.org>
2699
2700         Fix doxygen warnings.
2701
2702         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2703         Remove CutAndPaste:: prefix from header file declaration.
2704
2705         * LColor.h (fill): remove LColor:: prefix from declaration.
2706
2707         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2708         use lyx::depth_type rather than Paragraph::depth_type so that
2709         header file and .C file match.
2710
2711         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2712
2713         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2714         * aspell.C: \file aspell_local.C -> \file aspell.C
2715         * gettext.C: \file gettext.C -> \file src/gettext.C
2716         * gettext.h: \file gettext.h -> \file src/gettext.h
2717         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2718         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2719         * text.C: \file text.C -> \file src/text.C
2720
2721         * toc.C: move comment so that doxygen is not confused.
2722
2723 2003-10-07  Angus Leeming  <leeming@lyx.org>
2724
2725         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2726
2727 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2728
2729         * aspell.C:
2730         * aspell_local.h: add forgotten std::string's.
2731
2732 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2733
2734         * LaTeXFeatures.C:
2735         * LyXAction.C:
2736         * factory.C:
2737         * lfuns.h:
2738         * lyxfunc.C:
2739         * text3.C: The Box patch. Fancybox support, minipage, parbox
2740
2741 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2742
2743         * CutAndPaste.h:
2744         * DepTable.h:
2745         * FloatList.h:
2746         * LaTeXFeatures.h:
2747         * ParagraphParameters.h:
2748         * TextCache.h:
2749         * Thesaurus.h:
2750         * bufferlist.h:
2751         * exporter.h:
2752         * importer.h:
2753         * lastfiles.h:
2754         * lyxfind.h:
2755         * lyxfont.h:
2756         * lyxlex.h:
2757         * lyxtextclasslist.h:
2758         * messages.h:
2759         * paragraph.h:
2760         * paragraph_pimpl.C:
2761         * textcursor.h: add <string> and other small fixes to make Lars'
2762         std::string patch compile with STLport.
2763
2764 2003-10-06  Angus Leeming  <leeming@lyx.org>
2765
2766         * LColor.h: Add missing #include <string>.
2767
2768 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * All most all file in all subdirs: Make <string> be the prefered
2771         way of getting to std::string, add using declarations.
2772
2773 2003-10-06  André Pönitz  <poenitz@gmx.net>
2774
2775         * metricsinfo.C: initialize LyXFont before changing attribute.
2776         (fixes the 'math in \emph is upright' bug)
2777
2778 2003-10-06  André Pönitz  <poenitz@gmx.net>
2779
2780         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2781
2782 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2783
2784         * graph.C:
2785         * paragraph_pimpl.C: Small fixes to build using STLport
2786
2787 2003-10-02  André Pönitz  <poenitz@gmx.net>
2788
2789         * lyxfunc.C:
2790         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2791
2792 2003-10-01  André Pönitz  <poenitz@gmx.net>
2793
2794         * factory.C: assert early
2795
2796 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2797
2798         * lyx_main.C: remove the global debug object
2799
2800         * debug.h: adjust for new debugstream
2801
2802         * debug.C: adjust for new debugstream and keep the global debug
2803         object here.
2804
2805 2003-09-22  Angus Leeming  <leeming@lyx.org>
2806
2807         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2808         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2809         an incomplete class LyXFont.
2810
2811 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * factory.C: bug fix in branches
2814
2815 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * lyxfunc.C (processKeySym): adjust
2818         (dispatch): adjust
2819         (dispatch): change arg name from ev to func, adjust
2820         (sendDispatchMessage): ditto
2821
2822         * lyx_main.C (defaultKeyBindings): adjust keybindings
2823         (deadKeyBindings): ditto
2824
2825         * kbsequence.C (addkey): return a FuncRequest
2826
2827         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2828
2829         * kbmap.C (bind): take a FuncRequest as arg, adjust
2830         (read): adjust
2831         (lookup): adjust
2832         (defkey): change to take a FuncRequest as arg, adjust
2833         (findbinding): take a FuncRequest as arg, adjust.
2834
2835         * funcrequest.h (operator=): added
2836
2837         * funcrequest.C (FuncRequest): default kb_action changed from
2838         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2839
2840         * buffer.C (dispatch): simplify
2841         (dispatch): adjust to take a FuncRequest as arg, adjust
2842
2843         * boost.C (assertion_failed): change assertion message slightly
2844
2845         * ToolbarBackend.C (read): simplify
2846
2847         * MenuBackend.C (binding): adjust call to findbinding, add a
2848         message if no binding is found.
2849         (read): simplify
2850         (expandToc): correct by adding a empty FuncRequest
2851
2852         * LyXAction.C: include <boost/assert.hpp>
2853         (isPseudoAction): delete function
2854         (LookupFunc): change name to...
2855         (lookupFunc): this. change return type to FuncRequest.
2856         (getActionName): take kb_action as arg, simplify
2857         (funcHasFlag): add an assert, simplify.
2858
2859 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * toc.C (action): return a FuncRequest, simplify
2862
2863         * lyxfunc.C (processKeySym): adjust
2864         (getStatus): delete version that takes an int.
2865         (getStatus): adjust
2866         (dispatch): delete version that takes action as int
2867         (dispatch): adjust
2868         (sendDispatchMessage): simplify and adjust
2869
2870         * funcrequest.C (getArg): take unsigned int as arg
2871
2872         * ToolbarBackend.C (read): adjust
2873         (add): delete version that takes func as a string.
2874         (getIton): take a FuncRequest as arg
2875
2876         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2877         action.
2878
2879         * MenuBackend.C (MenuItem): add a new construct that only takes a
2880         Kind, simplify the constructor use for submenus.
2881         (add): adjust
2882         (expandLastfiles): adjust
2883         (expandDocuments): adjust
2884         (expandFormats): adjust
2885         (expandFloatListInsert): adjust
2886         (expandFloatInsert): adjust
2887         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2888
2889         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2890         Remove class variables lyx_pseudo_map and lyx_arg_map
2891
2892         * LyXAction.C (searchActionArg): delete function
2893         (getPseudoAction): delete function
2894         (retrieveActionArg): delete function
2895         (LookupFunc): make it return kb_action, simplify.
2896         (getActionName): simplify
2897
2898         * factory.C (createInset): fix new bug
2899
2900 2003-09-19  Angus Leeming  <leeming@lyx.org>
2901
2902         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2903         masterFilename_ parameter in the include inset.
2904
2905         * factory.C (createInset): changes due to the changes to InsetInclude.
2906
2907 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2908
2909         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2910
2911 2003-09-18  Angus Leeming  <leeming@lyx.org>
2912
2913         * buffer.C:
2914         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2915         Inset::fillWithBibKeys.
2916         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2917
2918 2003-09-18  Angus Leeming  <leeming@lyx.org>
2919
2920         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2921         variables.
2922         (ctor): pass and store a 'Buffer const &'
2923         (buffer): new member function.
2924
2925         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2926         '*this' to the LaTeXFeatures ctor.
2927
2928 2003-09-18  Angus Leeming  <leeming@lyx.org>
2929
2930         * LColor.h:
2931         * lyxfont.C:
2932         * lyxfont.h:
2933         * lyxtext.h:
2934         * text.C: rename EnumLColor as LColor_color.
2935
2936 2003-09-18  Angus Leeming  <leeming@lyx.org>
2937
2938         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2939         remove #include "insets/insetbase.h" from cursor.h.
2940
2941 2003-09-18  Angus Leeming  <leeming@lyx.org>
2942
2943         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2944         InsetOld_code to remove #include "inset.h".
2945
2946         * iterators.C: add #include "insets/inset.h"
2947
2948 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2949
2950         * BufferView.C: remove more locking stuff that apparently doesn't
2951         do anything sensible.
2952
2953 2003-09-16  André Pönitz  <poenitz@gmx.net>
2954
2955         * paragraph.[Ch]:
2956         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2957           performance boost.
2958
2959 2003-09-16  Angus Leeming  <leeming@lyx.org>
2960
2961         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2962
2963         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2964         arg/return type.
2965
2966         * paragraph.h: remove #include "lyxfont.h". Forward declare
2967         LyXFont_size.
2968
2969 2003-09-16  Angus Leeming  <leeming@lyx.org>
2970
2971         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2972         of support/textutils.h.
2973         (isWord): move the contents of support/textutils.h's IsWordChar here.
2974
2975         * buffer.C:
2976         * lyxfind.C:
2977         * rowpainter.C:
2978         * text.C:
2979         * text2.C: add #include "paragraph.h".
2980
2981         * rowpainter.C:
2982         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2983
2984 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * main.C:
2987         * lyx_main.C:
2988         * lyx_cb.C:
2989         * buffer.C:
2990         * LaTeX.C: use namespace alias for lyx::support::os
2991
2992 2003-09-16  Angus Leeming  <leeming@lyx.org>
2993
2994         * bufferparams.C:
2995         * bufferview_funcs.C:
2996         * factory.C:
2997         * lyxfunc.C:
2998         * paragraph_pimpl.C:
2999         * rowpainter.C:
3000         * text.C: add #include "LColor.h".
3001
3002 2003-09-16  Angus Leeming  <leeming@lyx.org>
3003
3004         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3005         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3006         return LyXFont &.
3007         Store the FontBits::color variable as an int rather than as an
3008         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3009         file.
3010
3011         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3012         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3013         string calls together.
3014
3015         * lyxrc.C: add #include "LColor.h".
3016
3017 2003-09-15  Angus Leeming  <leeming@lyx.org>
3018
3019         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3020         a cow_ptr.
3021
3022 2003-09-15  Angus Leeming  <leeming@lyx.org>
3023
3024         * LColor.h: add an EnumLColor wrapper for LColor::color.
3025
3026         * lyxfont.[Ch] (color, setColor, realColor):
3027         * lyxtext.h, text.C (backgroundColor):
3028         pass EnumLColor args to/from the functions, rather than LColor::color
3029         ones.
3030
3031         * lyxfont.h:
3032         * lyxtext.h: forward declare EnumLColor.
3033
3034         * lyx_main.C: add #include "LColor.h".
3035
3036 2003-09-15  Angus Leeming  <leeming@lyx.org>
3037
3038         * .cvsignore: add lyx-gtk.
3039
3040 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * Chktex.C
3043         * LaTeX.C
3044         * LaTeXFeatures.C
3045         * ParagraphParameters.C
3046         * Spacing.C
3047         * buffer.C
3048         * bufferparams.C
3049         * bufferview_funcs.C
3050         * chset.C
3051         * counters.C
3052         * funcrequest.C
3053         * lyxfont.C
3054         * lyxgluelength.C
3055         * lyxlength.C
3056         * paragraph.C
3057         * paragraph_funcs.C
3058         * text3.C
3059         * vc-backend.C: remove usage of STRCONV
3060
3061 2003-09-15  Angus Leeming  <leeming@lyx.org>
3062
3063         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3064         explicitly define the color passed to the painter.
3065
3066 2003-09-15  Angus Leeming  <leeming@lyx.org>
3067
3068         * bufferparams.C (BufferParams): reorder member initializers to avoid
3069         compiler warning.
3070
3071 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3074         * text.C (updateRowPositions): remove an unusual nop
3075
3076 2003-09-12  André Pönitz  <poenitz@gmx.net>
3077
3078         * BufferView_pimpl.C:
3079         * Bullet.C:
3080         * layout.h:
3081         * lyxfunc.C:
3082         * lyxlayout.[Ch]:
3083         * lyxtextclass.C:
3084         * rowpainter.C:
3085         * text.C:
3086         * text2.C:
3087         * Counters.[Ch]: finish the 'automatic counters' job
3088
3089 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3090
3091         * aspell.C: include <boost/assert.cpp> (compile fix)
3092
3093 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3094
3095         * boost.C (assertion_failed): use lyx::support::abort instead of
3096         assert.
3097
3098 2003-09-10  Angus Leeming  <leeming@lyx.org>
3099
3100         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3101         with their _fwd progeny.
3102
3103 2003-09-09  Angus Leeming  <leeming@lyx.org>
3104
3105         134 files throughtout the source tree: replace 'using namespace abc;'
3106         directives with the appropriate 'using abc::xyz;' declarations.
3107
3108 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3109
3110         * boost.C (emergencyCleanup): moved here from LAssert.c
3111         (assertion_failed): new function, called by BOOST_ASSERT
3112
3113         * several files: change Assert to BOOST_ASSERT
3114
3115 2003-09-09  Angus Leeming  <leeming@lyx.org>
3116
3117         * buffer.[Ch]: Add an Impl class and move Buffer's member
3118         variables into it. As a result move several header files out of
3119         buffer.h.
3120
3121         Add header files to lots of .C files all over the tree as a result.
3122
3123 2003-09-09  Angus Leeming  <leeming@lyx.org>
3124
3125         * buffer.[Ch]: make Buffer's member variables private. Add
3126         accessor functions.
3127
3128         Lots of changes all over the tree as a result.
3129
3130 2003-09-08  Angus Leeming  <leeming@lyx.org>
3131
3132         * graph.C: #include <config.h>.
3133
3134 2003-09-08  Angus Leeming  <leeming@lyx.org>
3135
3136         * BranchList.C:
3137         * BufferView.C:
3138         * BufferView_pimpl.C:
3139         * CutAndPaste.C:
3140         * DepTable.C:
3141         * LaTeX.C:
3142         * LaTeXFeatures.C:
3143         * LyXAction.C:
3144         * MenuBackend.C:
3145         * TextCache.C:
3146         * aspell.C:
3147         * buffer.C:
3148         * bufferlist.C:
3149         * changes.C:
3150         * chset.C:
3151         * converter.C:
3152         * counters.C:
3153         * debug.C:
3154         * graph.C:
3155         * ispell.C:
3156         * lyx_cb.C:
3157         * lyxfind.C:
3158         * lyxfunc.C:
3159         * lyxlex_pimpl.C:
3160         * lyxrc.C:
3161         * lyxrow.C:
3162         * paragraph.C:
3163         * rowpainter.C:
3164         * texrow.C:
3165         * text.C:
3166         * text2.C:
3167         * toc.C: remove redundant using directives.
3168
3169 2003-09-07  Angus Leeming  <leeming@lyx.org>
3170
3171         * LaTeXFeatures.h: remove #include "support/types.h".
3172         * ToolbarBackend.h: remove #include <algorithm>.
3173         * changes.h: remove #include <ctime>.
3174         * debug.h: remove #include <iosfwd>.
3175         * graph.h: remove #include "support/std_string.h".
3176         * lyx_main.h: remove #include <csignal>.
3177         * lyxlex_pimpl.h: remove #include <fstream>.
3178         * sgml.h: remove #include <algorithm>, <utility>.
3179         * toc.h: remove #include "support/std_ostream.h".
3180         Add #include <iosfwd>.
3181
3182 2003-09-07  Angus Leeming  <leeming@lyx.org>
3183
3184         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3185
3186         * converter.h: forward declare LatexRunParams.
3187         * encoding.h: remove #include "lyxrc.h".
3188         * lyxtext.h: remove #include "LColor.h".
3189         * lyxtextclass.h: remove #include "support/types.h".
3190         * trans.h: remove #include "tex-accent.h".
3191         * trans_mgr.h: remove #include "tex-accent.h".
3192         * insets/inset.h: remove #include "support/types.h", <vector>.
3193         * insets/insetcollapsable.h: remove #include "LColor.h".
3194         * insets/insetinclude.h: remove #include "dimension.h".
3195         * insets/insetlatexaccent.h: remove #include "dimension.h".
3196         * insets/insetoptarg.h:: remove #include "insettext.h".
3197         * insets/insettext.h: remove #include "dimension.h",
3198         <boost/shared_ptr.hpp>
3199
3200         * insets/renderers.h: add #include "dimension.h".
3201         * insets/updatableinset.h: add #include "support/types.h".
3202
3203         * many .C files: Associated changes.
3204
3205 2003-09-06  Angus Leeming  <leeming@lyx.org>
3206
3207         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3208         one, inside testInvariant.
3209
3210         * PrinterParams.C: new file.
3211         * PrinterParams.[Ch]: move the function bodies out of line.
3212
3213 2003-09-06  Angus Leeming  <leeming@lyx.org>
3214
3215         * ParagraphParameters.h: forward declare ParameterStruct rather than
3216         including its header file.
3217         (depth): moved out-of-line.
3218
3219 2003-09-06  Angus Leeming  <leeming@lyx.org>
3220
3221         * BufferView_pimpl.h:
3222         * kbmap.h:
3223         * kbsequence.h:
3224         * lyxfunc.h: forward declare LyXKeySym rather than
3225         #include "frontends/LyXKeySym.h".
3226
3227         * BufferView_pimpl.C:
3228         * kbmap.C:
3229         * kbsequence.C:
3230         * lyxfunc.C: associated changes.
3231
3232 2003-09-06  Angus Leeming  <leeming@lyx.org>
3233
3234         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3235         As a result, can remove the #include "insets/inset.h" from BufferView.h
3236
3237 2003-09-06  Angus Leeming  <leeming@lyx.org>
3238
3239         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3240         As a result, can remove the #include "insets/inset.h" from BufferView.h
3241
3242 2003-09-06  Angus Leeming  <leeming@lyx.org>
3243
3244         * buffer_funcs.C:
3245         * buffer.h:
3246         * bufferlist.C:
3247         * BufferView.C:
3248         * bufferview_funcs.C:
3249         * BufferView_pimpl.C:
3250         * CutAndPaste.C:
3251         * lyx_cb.C:
3252         * lyxfunc.C:
3253         * paragraph.h:
3254         * ParagraphParameters.C:
3255         * tabular.C:
3256         * text3.C:
3257         * toc.C:
3258         * undo_funcs.C:
3259         * frontends/controllers/ControlDocument.C:
3260         * insets/insetcaption.C: rearrange the #includes into some sort of
3261         coherent order.
3262
3263         * buffer.h: remove #includes ErrorList.h, undo.h
3264
3265 2003-09-06  Angus Leeming  <leeming@lyx.org>
3266
3267         * support/types.h: add a 'depth_type' typedef, used to store the
3268         nesting depth of a paragraph.
3269
3270         * paragraph.h:
3271         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3272         defining explicitly.
3273
3274         * buffer.h:
3275         * paragraph_funcs.h:
3276         * ParagraphParameters.h:
3277         * sgml.h: use lyx::depth_type rather than Paragraph or
3278         ParameterStruct's depth_type.
3279
3280         * buffer.h
3281         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3282
3283         * BufferView.C:
3284         * BufferView_pimpl.C:
3285         * CutAndPaste.C:
3286         * ParagraphParameters.C:
3287         * buffer_funcs.C:
3288         * bufferlist.C:
3289         * bufferview_funcs.C:
3290         * lyx_cb.C:
3291         * lyxfunc.C:
3292         * tabular.C:
3293         * text3.C:
3294         * toc.C:
3295         * undo_funcs.C:
3296         * frontends/LyXView.C:
3297         * frontends/controllers/ControlDocument.C:
3298         * frontends/controllers/ControlErrorList.C:
3299         * insets/insetbibitem.C:
3300         * insets/insetbranch.C:
3301         * insets/insetcaption.C:
3302         * insets/insetcollapsable.C:
3303         * insets/insetenv.C:
3304         * insets/insetert.C:
3305         * insets/insetfloat.C:
3306         * insets/insetfoot.C:
3307         * insets/insetfootlike.C:
3308         * insets/insetnewline.C:
3309         * insets/insetquotes.C:
3310         * insets/insettabular.C:
3311         * insets/insettext.C:
3312         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3313
3314         * frontends/controllers/ControlChanges.C: #include "changes.h".
3315
3316 2003-09-06  Angus Leeming  <leeming@lyx.org>
3317
3318         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3319         than #including paragraph.h.
3320
3321         * ParagraphList.h:
3322         * RowList.h: deleted. Superfluous.
3323
3324         * CutAndPaste.h:
3325         * iterators.h:
3326         * lyxcursor.h:
3327         * lyxtext.h:
3328         * text_funcs.h:
3329         * undo.h:
3330         * undo_funcs.h:
3331         * insets/inset.h:
3332         * insets/insettext.h: use ParagraphList_fwd.h rather than
3333         ParagraphList.h.
3334
3335         * paragraph.h: don't forward declare ParagraphList.
3336
3337         * buffer.h:
3338         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3339         rather than ParagraphList.h. paragraph.h is still needed for the
3340         Paragraph::depth_type parameters.
3341
3342         * textcursor.h: enable it to compile stand-alone in light of the
3343         above changes.
3344
3345         * bufferview_funcs.C:
3346         * iterators.C:
3347         * lyxfunc.C:
3348         * lyxrow_funcs.C:
3349         * paragraph.C:
3350         * rowpainter.C:
3351         * text.C:
3352         * text2.C:
3353         * text3.C:
3354         * text_funcs.C:
3355         * textcursor.C:
3356         * undo.C:
3357         * frontends/controllers/ControlParagraph.C:
3358         * frontends/controllers/ControlTabular.C:
3359         * insets/insetmarginal.C:
3360         * insets/insetminipage.C:
3361         * insets/insetnote.C:
3362         * insets/insetoptarg.C: add header files needed to compile again.
3363
3364 2003-09-06  Angus Leeming  <leeming@lyx.org>
3365
3366         * RowList_fwd.h: new file, forward-declaring Row rather than
3367         #including lyxrow.h.
3368
3369         * lyxrow_funcs.h:
3370         * lyxtext.h:
3371         * paragraph.h:
3372         * insets/insettext.h: use it instead of RowList.h
3373
3374         * bufferview_funcs.C:
3375         * lyxfunc.C:
3376         * lyxrow_funcs.C:
3377         * paragraph.C:
3378         * rowpainter.C:
3379         * text.C:
3380         * text2.C:
3381         * text3.C: #include "RowList.h".
3382
3383 2003-09-05  Angus Leeming  <leeming@lyx.org>
3384
3385         * factory.C (createInset):
3386         * vspace.C (c-tor): replace sscanf call with an istringstream.
3387         * ispell.C: re-add missing HP/UX headers.
3388         * lyxserver.C: re-add missing  os2 headers.
3389
3390 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * BranchList.C:
3393         * graph.C:
3394         * ispell.C:
3395         * lastfiles.C:
3396         * lyx_cb.C:
3397         * lyxserver.C:
3398         * texrow.C:
3399         * text3.C: re-add missing system headers, needed for 2.95.2.
3400
3401 2003-09-05  Angus Leeming  <leeming@lyx.org>
3402
3403         Changes most place everywhere due to the removal of using directives
3404         from support/std_sstream.h.
3405
3406 2003-09-05  Angus Leeming  <leeming@lyx.org>
3407
3408         Replace LString.h with support/std_string.h,
3409         Lsstream.h with support/std_sstream.h,
3410         support/LIstream.h with support/std_istream.h,
3411         support/LOstream.h with support/std_ostream.h.
3412
3413         Changes resulting throughout the tree.
3414
3415 2003-09-05  Angus Leeming  <leeming@lyx.org>
3416
3417         * sgml.h: ensure that the header file can be compiled stand-alone.
3418         * *.C: strip out redundant #includes. (320 in total.)
3419
3420 2003-09-04  Angus Leeming  <leeming@lyx.org>
3421
3422         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3423         here (from getPackages).
3424
3425         * debug.[Ch]: add a new EXTERNAL tag.
3426
3427 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3428
3429         * text2.C (cursorEnd): simplify
3430         (setCursor): adjust
3431         (getColumnNearX): adjust
3432
3433         * text.C (computeBidiTables): adjust
3434         (fill): adjust
3435
3436         * rowpainter.C (paintChars): adjust
3437         (paintSelection): adjust
3438         (paintChangeBar): adjust
3439         (paintText): adjust
3440
3441         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3442         lastPos instead.
3443         (numberOfSeparators): adjust
3444
3445 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3446
3447         * LyXAction.C:
3448         * box.[Ch]:
3449         * lfuns.h:
3450         * lyxfunc.C:
3451         * text3.C: Restricts the mouse click functionality
3452         of insets like bibtex, include, toc and floatlist to the visible
3453         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3454         up the dialogs. Cursor has to be in front of the inset (i.e.
3455         start of row) for this to function.
3456
3457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3458
3459         * bufferview_funcs.C (currentState): output row information
3460
3461 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3462
3463         * bufferview_funcs.C (currentState): output paragraph position
3464
3465 2003-09-04  Angus Leeming  <leeming@lyx.org>
3466
3467         * FloatList.h: move out #include "Floating.h".
3468         * LaTeX.h: move out #include "DepTable.h".
3469         * LyXAction.h: move out #include "funcrequest.h".
3470         * buffer.h: move out #include "author.h", "iterators.h".
3471         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3472         * lyx_main.h: move out #include "errorlist.h".
3473         * lyxfunc.h: move out #include "FuncStatus.h".
3474         * lyxtext: move out #include "lyxcursor.h".
3475         * paragraph_pimpl.h: move out #include "counters.h".
3476
3477 2003-09-03  Angus Leeming  <leeming@lyx.org>
3478
3479         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3480         preamble_snippets list, enabling us to add snippets to the preamble
3481         only if the snippet was not there already.
3482
3483 2003-09-04  Angus Leeming  <leeming@lyx.org>
3484
3485         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3486
3487 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3490         update
3491
3492 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3493
3494         * BranchList.C: point fix, earlier forgotten
3495
3496 2003-09-02  Angus Leeming  <leeming@lyx.org>
3497
3498         * box.C (contains): renamed from 'contained' after a fantastic
3499         amount of hot air.
3500
3501 2003-09-02  John Levon  <levon@movementarian.org>
3502
3503         * BufferView.C:
3504         * lyxcursor.h:
3505         * lyxcursor.C:
3506         * lyxfunc.C:
3507         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3508
3509 2003-09-02  John Levon  <levon@movementarian.org>
3510
3511         * text2.C: simplification of cursorEnd(), including partial
3512         fix for bug 1376
3513
3514 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * buffer.C (readFile): add a space
3517
3518 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3521
3522 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * buffer.C (readFile): new function, take a filename and a
3525         ParagraphList::iterator
3526         (readFile): adjust
3527         (readFile): adjust, make it private. don't use setStream, make
3528         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3529         always contain the filename.
3530
3531         * BufferView.C (insertLyXFile): simplify and make it work for
3532         gzipped files.
3533
3534 2003-08-30  John Levon  <levon@movementarian.org>
3535
3536         * Makefile.am: fix dist (from Kayvan)
3537
3538 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3539
3540         * most files: change to use const Buffer refs
3541
3542 2003-08-27  André Pönitz  <poenitz@gmx.net>
3543
3544         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3545         on top of ownerPar().
3546
3547 2003-08-27  John Levon  <levon@movementarian.org>
3548
3549         * funcrequest.C: properly initialise POD members
3550
3551 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3552
3553         * lyxtext.h (top_y): move top_y from here
3554         * text.C:
3555         * text2.C:
3556         * text3.C:
3557         * BufferView.[Ch]:
3558         * BufferView_pimpl.[Ch]: to here
3559         * frontends/screen.C:
3560         * insets/insettabular.C:
3561         * insets/insettext.C: adjust
3562         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3563
3564 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * BufferView.[Ch]:
3567         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3568
3569 2003-08-26  André Pönitz  <poenitz@gmx.net>
3570
3571         * paragraph_func.[Ch] (outerPar): new function
3572
3573         * paragraph.C:
3574         * paragraph_funcs.C:
3575         * paragraph_funcs.h:
3576         * paragraph_pimpl.C:
3577         * text2.C: remove Inset::par_owner
3578
3579 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3580
3581         * lyxrow_funcs.C:
3582         * lyxtext.h:
3583         * text.C:
3584         * text2.C: eliminates the needFullRow/display() stuff
3585         altogether, putting the logic in metrics/draw in the insets.
3586
3587 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3588
3589         * text2.C (redoParagraphInternal, redoParagraphs):
3590         * text.C (redoParagraph): add a call to updateRowPositions at the
3591         end of each 'metrics-like' call. Remove all others.
3592         (getRow): remove the 'y-computing' version.
3593         (getRowNearY): do not compute nor return the real y. Solve the
3594         'y < 0' problem and simplify.
3595
3596 2003-08-22  Angus Leeming  <leeming@lyx.org>
3597
3598         * *.[Ch]: clean-up of licence and author blurbs.
3599         Also move config.h out of a few .h files and into a few .C files.
3600
3601 2003-08-22  André Pönitz  <poenitz@gmx.net>
3602
3603         * lyxrow.[Ch]: add x_ and *fill_ members
3604
3605         * lyxtext.h:
3606         * text.C:
3607         * rowpainter.C:
3608         * text2.C: adjust/remove prepareToPrint() calls
3609
3610 2003-08-22  André Pönitz  <poenitz@gmx.net>
3611
3612         * lyxrow.[Ch]: add  end_ member
3613
3614         * lyxrow_funcs.C: use LyXRow::end_
3615
3616         * lyxtext.h (singleWidth): add LyXFont parameter
3617
3618         * rowpainter.C:
3619         * text2.C: adjust LyXText::singleWidth() calls
3620
3621         * text.C (redoParagraph): simplify row breaking logic
3622
3623
3624 2003-08-19  André Pönitz  <poenitz@gmx.net>
3625
3626         * funcrequest.C: initialize button_ member
3627
3628         * text3.C:
3629         * rowpainter.[Ch]: interface consolidation
3630
3631 2003-08-18  André Pönitz  <poenitz@gmx.net>
3632
3633         * BufferView.C:
3634         * BufferView_pimpl.C:
3635         * lyxfind.C:
3636         * paragraph_funcs.C:
3637         * rowpainter.C:
3638         * text3.C: remove LyXScreen::draw() and fitCursor calls
3639
3640         * BranchList.h: remove spurious semicolons
3641
3642         * MenuBackend.C: fix branchlist related crash
3643
3644 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3645
3646         * BranchList.[Ch]:
3647         * InsetList.[Ch]:
3648         * LColor.[Ch]:
3649         * LyXAction.C:
3650         * Makefile.am:
3651         * MenuBackend.[Ch]:
3652         * bufferparams.[Ch]:
3653         * factory.C:
3654         * lfuns.h:
3655         * lyxfunc.C:
3656         * text3.C: implements the 'branch inset'
3657         idea. This allows the output of various versions of a document
3658         from a single source version, selectively outputing or suppressing
3659         output of parts of the text.
3660         This implementation contains a 'branch list editor' in a separate
3661         tab of the document settings dialog. Branches are user definable
3662         and have a "display colour" to distinguish them on-screen.
3663
3664         ColorHandler was somewhat cleaned up.
3665         (1) make possible a dynamically growing LColor list by allowing
3666         the graphic context cache to grow along (vector);
3667         (2) eliminate an IMHO unnecessary step in colour allocation.
3668
3669 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3670
3671         * BufferView_pimpl.C: compile fix
3672
3673 2003-08-15  André Pönitz  <poenitz@gmx.net>
3674
3675         * rowpainter.C: remove extra metrics calls
3676
3677         * lyxtext.h: merge the two constructors into a single one,
3678           pass reference to owner's par list
3679
3680         * BufferView_pimpl.C:
3681         * text.C:
3682         * text2.C: adjust
3683
3684 2003-08-15  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxrow_funcs.[Ch]:
3687         * lyxtext.h:
3688         * paragraph.h:
3689         * paragraph_funcs.C:
3690         * rowpainter.C:
3691         * text.C:
3692         * text2.C:
3693         * text3.C:
3694         * text_funcs.C: split LyXText::rowlist_ into individual
3695         Paragraph::rows_ chunks
3696
3697         * BufferView.[Ch]:
3698         * BufferView_pimpl.[Ch]:
3699         * lyxfind.C:
3700         * lyxtext.h:
3701         * text3.C: remove toggleSelection()
3702
3703 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3704
3705         * bufferlist.C: beautify two alerts (shorter text of buttons)
3706         * buffer.C: Remove redundant ' ' from message
3707         * tabular.h:
3708         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3709         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3710         rename VALIGN_CENTER to VALIGN_MIDDLE
3711
3712 2003-08-11  André Pönitz  <poenitz@gmx.net>
3713
3714         * lyxtext.h (getPar):
3715         * text.C: new function
3716
3717 2003-08-11  André Pönitz  <poenitz@gmx.net>
3718
3719         * Makefile.am:
3720         * tracer.[Ch]: remove unneeded files
3721
3722         * InsetList.[Ch]: remove resizeInsetsLyXText()
3723
3724         * lyxtext.h:
3725         * text.C:
3726         * text2.C:
3727         * text3.C: merge insertParagraphs() and appendParagraph()
3728         remove breakAgain(), update()
3729
3730         * BufferView_pimpl.[Ch]:
3731         * bufferview_funcs.[Ch]:
3732         * lyxfunc.C:
3733         * paragraph.[Ch]:
3734         * rowpainter.C:
3735         * tabular.C: adjust after text & InsetList changes.
3736
3737 2003-08-08  André Pönitz  <poenitz@gmx.net>
3738
3739         * text.C (insertChar, backspace): replace rowlist fiddling
3740         with rebreak of full par
3741
3742         * lyxtext.h:
3743         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3744         checkParagraph, updateInset): removed
3745
3746 2003-08-07  André Pönitz  <poenitz@gmx.net>
3747
3748         * paragraph.C:
3749         * text3.C: merge some LFUN handlers, remove dead code
3750
3751 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3752
3753         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3754
3755 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * text2.C (DEPM): fix part of bug 1255 and 1256
3758
3759 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3760
3761         * BufferView_pimpl.C (workAreaDispatch): change to use
3762         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3763         that are no mouse related.
3764
3765 2003-08-05  André Pönitz  <poenitz@gmx.net>
3766
3767         * BufferView.[Ch]:
3768         * BufferView_pimpl.[Ch]:
3769         * bufferview_funcs.C:
3770         * text2.C:
3771         * text3.C: rip out "deep update"
3772
3773         * textcursor.[Ch] (last_sel_cursor): remove unused member
3774
3775 2003-08-04  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView.[Ch]:
3778         * BufferView_pimpl.[Ch]:
3779         * ParagraphParameters.C:
3780         * bufferview_funcs.C:
3781         * lyx_cb.C:
3782         * lyxfind.C:
3783         * lyxfunc.C:
3784         * text.C:
3785         * text2.C:
3786         * text3.C: replace "complicated" BufferView::update(...) calls with
3787         simpler ones.
3788
3789         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3790
3791 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3792
3793         * Makefile.am (lyx_SOURCES): add paper.h
3794
3795 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3796
3797         * Makefile.am: move things around so that both lyx-qt and
3798         lyx-xforms can be built (according to --with-frontend). Then lyx
3799         is a symbolic link to lyx-[firstfrontend]
3800
3801 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3802
3803         * Always use std::endl with lyxerr
3804
3805 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3806
3807         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3808
3809 2003-08-01  André Pönitz  <poenitz@gmx.net>
3810
3811         * BufferView.[Ch]:
3812         * BufferView_pimpl.[Ch]:
3813         * lyxfunc.C:
3814         * text3.C: merge BufferView::repaint() and BufferView::update()
3815
3816 2003-08-01  José Matos  <jamatos@lyx.org>
3817
3818         * buffer.[Ch]: file_format is no longer a buffer data element.
3819
3820 2003-08-01  André Pönitz  <poenitz@gmx.net>
3821
3822         * BufferView.C:
3823         * lyxtext.h:
3824         * text.C:
3825         * text2.C: make redoParagraph more independent of current cursor
3826
3827         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3828         * text.C:
3829         * text2.C: remove unneeded members
3830
3831 2003-07-30  André Pönitz  <poenitz@gmx.net>
3832
3833         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3834
3835         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3836           create a single function...
3837
3838         * paragraph_funcs.C (moveItem): ... here.
3839
3840         * text.C:
3841           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3842
3843 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3844
3845         * LColor.[Ch]: Add comment and greyedout logical colors.
3846
3847 2003-07-30  André Pönitz  <poenitz@gmx.net>
3848
3849         * tabular.C: don't use Assert too heavily. This crashes where it
3850           shouldn't
3851
3852 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3855         is disabled (bug 1232)
3856
3857 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3858
3859         * factory.C: limited 'arg' scope
3860
3861 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * factory.C: fixed Note submenu issues
3864
3865 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3866
3867         * factory.C: submenu for Note/Comment/Greyedout
3868
3869 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3870
3871         * lyx_main.C (LyX):
3872         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3873
3874 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3875
3876         * LaTeXFeatures.C:
3877         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3878         greyedout. Patch provided by Jürgen Spitzmüller.
3879
3880 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3881
3882         * kbmap.C (read): fix error message when reading bind files
3883
3884 2003-07-29  Angus Leeming  <leeming@lyx.org>
3885
3886         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3887         certainly does not do what it purports to do. I am doing it, and
3888         us, a favour by killing it.
3889
3890 2003-07-28  José Matos  <jamatos@lyx.org>
3891
3892         * buffer.C (readBody, do_writeFile):
3893         * paragraph.C(readParagraph): \end_document replaces \the_end.
3894
3895 2003-07-29  André Pönitz  <poenitz@gmx.net>
3896
3897         * BufferView.[Ch]:
3898         * BufferView_pimpl.[Ch]:
3899         * lyxfunc.C:
3900         * text2.C:
3901         * text3.C:
3902         * textcursor.[Ch]: remove toggleToggle & Co
3903
3904 2003-07-28  José Matos  <jamatos@fep.up.pt>
3905
3906         * buffer.C (readParagraph):
3907         * params_func (readParToken, readParagraph):
3908         * paragraph.C (write): \layout -> \begin_layout.
3909
3910 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * lyxlex_pimpl.C (setFile): clean up slightly.
3913
3914         * bufferparams.h: add compressed var
3915
3916         * buffer_funcs.C (readFile): adjust for LyXLex change
3917         (newFile): ditto + simplify
3918
3919         * buffer.C (writeFile): handle writing of compressed files
3920
3921         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3922         Check if the file is compressed and set a bufferparm if so.
3923
3924         * Makefile.am (lyx_LDADD): remove explicit -lz
3925
3926 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3927
3928         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3929         makeDocBookFile): put the real LyX version in the first line of
3930         the file
3931
3932         * version.h:
3933         * version.C.in: remove lyx_docversion
3934
3935         * tabular.C (write_attribute): add a template-based version to
3936         write enums properly
3937
3938 2003-07-28  André Pönitz  <poenitz@gmx.net>
3939
3940         * lyxtext.h:
3941         * text.C:
3942         * text2.C:
3943         * text3.C: use doubles again for x-coordinates. They are needed.
3944
3945 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * messages.C (getLocaleDir): use lyx_localedir()
3948
3949         * lyxlex_pimpl.C (setFile): compress stuff
3950
3951         * buffer.C (writeFile): add some compression stuff
3952         (do_writeFile): new func, dont call expliti close... will this
3953         breake anything?
3954
3955         * Makefile.am (lyx_LDADD): add -lz
3956
3957 2003-07-28  José Matos  <jamatos@fep.up.pt>
3958
3959         * buffer.C: increment file format.
3960         * paragraph_funcs (readParagraph, readParToken):
3961         * paragraph.C (readParagraph): add \end_layout.
3962
3963 2003-07-27  Angus Leeming  <leeming@lyx.org>
3964
3965         * Makefile.am: remove special casing for configure-time setting of
3966         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3967
3968         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3969         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3970
3971 2003-07-26  André Pönitz  <poenitz@gmx.net>
3972
3973         * paragraph_func.[Ch]:
3974         * paragraph.C (realizeFont): inline it whereever it is used
3975
3976         * rowpainter.C:
3977         * text.C:
3978         * text2.C:
3979         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3980
3981
3982 2003-07-26  André Pönitz  <poenitz@gmx.net>
3983
3984         *       lyxtext.h:
3985         * text.C:
3986         * text2.C: get rid of LyXText::need_break_row
3987
3988 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * toc.[Ch]: put namespace toc inside namespace lyx
3991
3992         * MenuBackend.C (expandToc2): adjust for lyx::toc
3993         (expandToc): ditto
3994
3995         * lyxfunc.C (dispatch): adjust for lyx::find
3996
3997         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3998         lyx::find instead. Reorganize a bit.
3999         (LyXReplace): rename to replace
4000         (LyXFind): rename to find
4001
4002         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4003         (dispatch): ditto
4004
4005 2003-07-26  André Pönitz  <poenitz@gmx.net>
4006
4007         * text.C (setHeightOfRow): restrict scope of temporary variable
4008
4009         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4010           code (never has been used?)
4011
4012 2003-07-27  Asger Alstrup  <alstrup@local>
4013
4014         * text.C (fill): Optimise algorithm to exploit that we can reuse
4015         the LyXFont for many characters.
4016         (setHeightOfRow): Same thing.
4017         (rowBreakPoint): Same thing.
4018
4019 2003-07-26  Asger Alstrup  <alstrup@local>
4020
4021         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4022
4023         * text.C (singleWidth): Spurious font copying in hot-spot
4024         singleWidth avoided. Reorder tests for arabic for efficiency.
4025
4026         * text.C (fill): handle empty paragraphs better.
4027
4028 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4029
4030         * ispell.C:
4031         * encoding.h: add includes
4032
4033         * lyxrc.C: remove reading of bind files
4034
4035         * lyx_main.C (init): setup bindings and menus only if we have a
4036         gui.
4037
4038         * kbmap.C (read): new method. Do the actual reading of bind
4039         files.
4040
4041         * converter.C (dvipdfm_options):
4042         * bufferparams.C:
4043         * lyxrc.C (read):
4044         (output): adapt PAPER_* enums.
4045
4046         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4047
4048         * bufferparams.h: remove paper-related enums from there
4049
4050         * paper.h: New file. A trivial header file to hold paper-related
4051         enums. It should later expand to contain many paper-related
4052         horrors access.
4053
4054         * lyxrc.C: declare extern displayTranslator
4055
4056 2003-07-27  José Matos  <jamatos@fep.up.pt>
4057
4058         * tabular.[Ch] (linuxdoc): add support for tables and figures
4059         (linuxdoc).
4060
4061 2003-07-27  José Matos  <jamatos@fep.up.pt>
4062
4063         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4064         consistency in both functions.
4065         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4066
4067 2003-07-26  Asger Alstrup  <alstrup@local>
4068
4069         * rowpainter.C (paintRows): Change algorithm to work directly on
4070         the insets rather than asking every character in the document
4071         whether its an inset.
4072
4073 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4074
4075         * buffer.C (openFileWrite): factorize some code
4076
4077 2003-07-26  Angus Leeming  <leeming@lyx.org>
4078
4079         * lyx_cb.C:
4080         * lyx_main.[Ch]: replace occurances of system_tempdir with
4081         os::getTmpDir().
4082
4083 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * rename Inset to InsetOld
4086
4087 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4088
4089         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4090         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4091         which I think is a bit clearer. EDIT is gone, since it was
4092         premature optimisation, and broken for mathed anyway.
4093         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4094         with cursor positioning in insets as well (math insets still do not
4095         work, but that's a different story anyway.) It mysteriously
4096         crashes sometimes with undo in the first paragraph, but I'm fairly
4097         confident that this is a compiler bug.
4098
4099 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * paragraph.C (Paragraph): adjust for new clone return type
4102         (operator==): ditto
4103         (copyIntoMinibuffer): ditto
4104
4105 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4106
4107         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4108         by not having a special case, and always doing a full rebreak of
4109         the document after undo.
4110
4111 2003-07-23  Angus Leeming  <leeming@lyx.org>
4112
4113         * factory.C (createInset): InsetExternal::setParams now takes a
4114         Buffer const * arg.
4115
4116 2003-07-23  Angus Leeming  <leeming@lyx.org>
4117
4118         * factory.C (createInset): changed interface to the external and
4119         graphics mailers' string2params functions.
4120
4121 2003-07-23  Angus Leeming  <leeming@lyx.org>
4122
4123         * factory.C (createInset): pass a
4124         Buffer const * parameter to InsetExternalMailer's string2params.
4125
4126 2003-07-22  John Levon  <levon@movementarian.org>
4127
4128         * Thesaurus.h: include the right aiksaurus header
4129
4130 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4131
4132         * MenuBackend.C (expand): check menu shortcuts unconditionally
4133
4134 2003-07-21  Angus Leeming  <leeming@lyx.org>
4135
4136         * factory.C (createInset): pass a
4137         buffer_path parameter to InsetGraphicsMailer's string2params.
4138
4139 2003-07-21  Angus Leeming  <leeming@lyx.org>
4140
4141         * BufferView_pimpl.C (buffer):
4142         * buffer.C (d-tor):
4143         * lyx_main.C (LyX):
4144         * lyxfunc.C (dispatch):
4145         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4146         rather than the grfx shortcut.
4147
4148 2003-07-21  André Pönitz  <poenitz@gmx.net>
4149
4150         * rowpainter.C: remove unused variables
4151
4152         * tabular_funcs.C:
4153         * tabular_funcs.h: move to tabular.C
4154         * Makefile.am: adjust
4155
4156         * tabular.[Ch]: basic optical cleaning
4157
4158         * author.h: pass references, not values
4159
4160 2003-07-18  André Pönitz  <poenitz@gmx.net>
4161
4162         * lyxtext.h:
4163         * metricsinfo.C:
4164         * metricsinfo.h:
4165         * rowpainter.C:
4166         * text.C:
4167         * text2.C:
4168         * text3.C: two-phase drawing for InsetText and InsetTabular
4169         some float -> int changes.
4170
4171 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * lyx_main.C: fix the fix
4174
4175 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * lyx_main.C: fix a crash in batch mode if no files specified
4178         * converter.C: ws
4179
4180 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * format.[Ch] (papersize): moved to BufferParams
4183         * converter.[Ch] (dvips_options): moved to BufferParams
4184         (dvipdfm_options): moved to anon namespace
4185         * bufferparams.[Ch]: added above functions.
4186
4187 2003-07-17  André Pönitz  <poenitz@gmx.net>
4188
4189         * lyxtext.h:
4190         * rowpainter.C:
4191         * text2.C: don't call inset->update() anymore
4192
4193         * metricsinfo.[Ch]: add convenience constructor
4194
4195 2003-07-16  André Pönitz  <poenitz@gmx.net>
4196
4197         * lyxcursor.[Ch]:
4198         * lyxfunc.[Ch]:
4199         * text.C:
4200         * text2.C: replace the LyXCursor::irow_ member with
4201          on-demand computation of the value
4202
4203 2003-07-16  John Levon  <levon@movementarian.org>
4204
4205         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4206
4207 2003-07-15  André Pönitz  <poenitz@gmx.net>
4208
4209         * text.C:
4210         * text2.C: remove no more needed refresh_row
4211
4212 2003-07-15  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxtext.h:
4215         * rowpainter.C:
4216         * text2.C:
4217         * text3.C: refresh_status tristate -> need_update bool
4218
4219 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * lyxtext.h (init): remove reinit argument (act as if always true)
4222         * text2.C: adjust to that
4223
4224 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4225
4226         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4227         * text3.C: use it to delete selections in some cases
4228         (bugs 441, 673, 702, 954).
4229
4230 2003-07-14  André Pönitz  <poenitz@gmx.net>
4231
4232         * rowpainter.[Ch]: reduce interface
4233
4234 2003-07-14  André Pönitz  <poenitz@gmx.net>
4235
4236         * BufferView_pimpl.C:
4237         * text2.C: adjust after removing unused BufferView * argument
4238
4239 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * text2.C (init): fix a crash fired on resize
4242
4243 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * buffer.[Ch]: added new closing signal
4246         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4247         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4248         BufferView::Pimpl via the closing the signal
4249
4250 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * buffer.[Ch]: take out all bv-related from buffer
4253         * BufferView.C:
4254         * BufferView_pimpl.[Ch]: connect to new signals
4255         * CutAndPaste.C: removed useless asserts
4256         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4257         * lyxvc.[Ch]:
4258         * vc-backend.[Ch]:
4259         * lyxfunc.C: moved view-related funciontality from vc here
4260         * paragraph.C: removed outdated comments
4261         * text.C: ws
4262
4263 2003-07-10  André Pönitz  <poenitz@gmx.net>
4264
4265         * BufferView_pimpl.C:
4266         * tabular.h:
4267         * tabular_funcs.C:
4268         * text.C:
4269         * text2.C: remove InsetText::InnerCache, clean up consequences
4270
4271 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4272
4273         * ispell.C: fix two typos in error messages
4274
4275 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4276
4277         * Extend Note inset to other forms of annotation like Comment
4278         and Greyedout. Right button click gives dialog.
4279
4280         Files modified or added (+):
4281
4282         * insetnote.[Ch]
4283         * FormNote.[Ch]      +
4284         * ControlNote.[Ch]   +
4285         * form_note.fd       +
4286         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4287         frontends/controllers
4288         * xforms/Dialogs.C
4289         * factory.C
4290
4291 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4292
4293         * aspell.C: add missing namespace lyx::support
4294
4295 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * BufferView.[Ch] (newFile): Add
4298         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4299         * LaTeX.[Ch] (message): added this signal and use it
4300         * buffer.[Ch] (busy, message): added these signals and use them
4301         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4302         * converter.C:
4303         * exporter.C:
4304         * format.C:
4305         * importer.C: use buffer signals instead of direct bv calling
4306         * lyx_cb.[Ch] (ShowMessage): removed
4307         * lyx_main.C:
4308         * lyxfunc.C:
4309         * paragraph_funcs.C:
4310         * text2.C: use buffer signals
4311
4312 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * introduce namespace lyx::graphics
4315
4316 2003-07-02  André Pönitz  <poenitz@gmx.net>
4317
4318         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4319
4320 2003-07-01  André Pönitz  <poenitz@gmx.net>
4321
4322         * text.C:
4323         * text2.C:
4324         * text3.C:
4325         * text_funcs.[Ch]:
4326         * textcursor.h:
4327         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4328           text*.C to text_func.C
4329
4330 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * introduce namespace lyx::support
4333
4334 2003-06-30  André Pönitz  <poenitz@gmx.net>
4335
4336         * Chktex.C:
4337         * funcrequest.C:
4338         * lyxtext.h:
4339         * text.C: re-enable --with-included-string
4340
4341 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * textcursor.C: add <config.h>
4344
4345         * text.C (getWord): remove const from word_location arg
4346
4347         * lyxvc.C (getLogFile): fix const type order
4348
4349         * lyxtext.h: remove const from word_location arg, add arg name
4350
4351         * lyxlayout.h: currect type on labeltype.
4352
4353         * importer.C: correct \file
4354
4355         * converter.C (intToFormat): use std:: on ret val, ws changes
4356
4357         * bufferlist.h: correct \file
4358
4359         * buffer.C (makeLinuxDocFile): fix const type order
4360         (makeDocBookFile): ditto
4361         (fillWithBibKeys): use std:: on stdlib args.
4362
4363         * CutAndPaste.C: fix authors.
4364         (availableSelections): use std:: on return vector
4365
4366 2003-06-27  André Pönitz  <poenitz@gmx.net>
4367
4368         * BufferView_pimpl.C:
4369         * bufferview_funcs.C:
4370         * lyxcursor.C:
4371         * lyxcursor.h:
4372         * lyxfunc.C:
4373         * lyxtext.h:
4374         * rowpainter.C:
4375         * text.C:
4376         * text2.C:
4377         * text3.C: remove LyXCursor::row_ member
4378
4379         * lyxtext.h:
4380         * text.C: rename fullRebreak() to partialRebreak() and implement
4381           a fullRebreak() that really bereks fully
4382
4383         * textcursor.h: new struct for cursor-related data
4384
4385 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * lyx_main.C (LyX): get full path of document loaded on the
4388         command line
4389
4390 2003-06-26  André Pönitz  <poenitz@gmx.net>
4391
4392         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4393           remove unused/broken operator>,<,>=.
4394
4395         *       text.C: remove only use of broken operator<= in an Assert().
4396
4397 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4398
4399         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4400         moved errorlist_.clear to showErrorList
4401
4402 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4403
4404         * converter.C (scanLog, runLaTeX):
4405         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4406         move the bv->showErrorList call to the callers
4407         * lyxfunc.C: i.e. here...
4408         * text2.C: and here
4409         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4410         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4411         namespace, the second to...
4412         * buffer_funcs (BufferFormat, parseErrors): added
4413         * errorlist.C (ErrorList(TeXErrors const &)): removed
4414
4415 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4416
4417         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4418
4419 2003-06-24  "Garst R. Reese" <reese@isn.net>
4420
4421         * debug.C: fix typo
4422
4423 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4424
4425         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4426
4427         * version.C.in: change docversion to 1.4
4428
4429 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * buffer.C: fix a bug just introduced
4432
4433 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * buffer.[Ch]: added the parseError signal and use it, removed
4436         sgmlError
4437         * BufferView.[Ch] (addError): moved to ...
4438         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4439         to the Buffer::parseError signal to catch (guess what) parse errors
4440         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4441
4442 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4445         ability to create a buffer and to return an existing one from
4446         the list. Moved these functions to...
4447         * buffer_funcs.[Ch]: added
4448         * BufferView.[Ch] (loadLyXFile): added
4449         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4450         job removed from bufferlist::loadLyXFile.
4451         * buffer.C (setReadOnly): make it work without view
4452         (i.e added an if (users))
4453
4454 2003-06-19  Angus Leeming  <leeming@lyx.org>
4455
4456         * lfuns.h:
4457         * LyXAction.C (init):
4458         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4459         with LFUN_DIALOG_SHOW <name> <data>.
4460
4461 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4462
4463         * CutAndPaste.C (availableSelections): small compilation fix for
4464         ancient (gcc 2.9x) compilers
4465
4466 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * text3.C (cursorNext): add tmp var
4469
4470         * text2.C (updateCounters): for function calling out of for clause
4471         (replaceSelectionWithString): ditto
4472         (insertStringAsParagraphs): ditto
4473         (getColumnNearX): add tmp var
4474         (setCursorFromCoordinates): add tmp var
4475         (cursorDownParagraph): add tmp var
4476         (deleteEmptyParagraphMechanism): add tmp var
4477
4478         * text.C (insertChar): add tmp var
4479
4480         * rowpainter.C (paintDepthBar): add tmp var
4481
4482         * CutAndPaste.C (availableSelections): potentially check all
4483         paragraphs in a cut to fill the shown strings.
4484
4485 2003-06-18  André Pönitz  <poenitz@gmx.net>
4486
4487         * kbmap.[Ch]: use vector<> instead of list<>
4488
4489 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4490
4491         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4492         pasteSelection with index
4493
4494         * text2.C (pasteSelection): modify, call pasteSelection with index
4495
4496         * paragraph.C (asString): reimplement version with no interval to
4497         call the one with interval.
4498
4499         * lyxtext.h: add index arg to pasteSelection
4500
4501         * MenuBackend.C (MenuItem): handle PasteRecent
4502         (Menu::read::Menutags): add md_pasterecent
4503         (read): handle it
4504         (expandPasteRecent): new function
4505         (expand): use it
4506
4507         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4508
4509         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4510         the limited stack
4511         (availableSelections): new function
4512
4513 2003-06-17  Angus Leeming  <leeming@lyx.org>
4514
4515         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4516
4517 2003-06-17  Angus Leeming  <leeming@lyx.org>
4518
4519         * lfuns.h:
4520         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4521
4522         * lyxfunc.C (dispatch): invoke it.
4523
4524 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4525
4526         * iterators.C (operator++, ParPosition): reintroduce some
4527         const_cast for the benefit of older compilers.
4528
4529 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4530
4531         * text3.C (dispatch): do not modify clipboard when doing
4532         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4533         LFUN_DELETE_SKIP on a selection selection
4534
4535 2003-06-16  André Pönitz  <poenitz@gmx.net>
4536
4537         * BufferView.C:
4538         * buffer.C:
4539         * buffer.h:
4540         * paragraph.C:
4541         * tabular.[Ch]: IU of clone() and getLabelList();
4542
4543 2003-06-13  André Pönitz  <poenitz@gmx.net>
4544
4545         * tabular.h: compactification
4546
4547 2003-06-12  André Pönitz  <poenitz@gmx.net>
4548
4549         * tabular.C:
4550         * tabular.h:
4551         * tabular_funcs.h: some renaming plus whitespace
4552
4553 2003-06-12  André Pönitz  <poenitz@gmx.net>
4554
4555         * BufferView.C:
4556         * BufferView_pimpl.C:
4557         * CutAndPaste.C:
4558         * buffer.C:
4559         * iterators.[Ch]:
4560         * lyxfunc.C:
4561         * text.C:
4562         * toc.C: Return a Paragraph & for ParIterator::operator*()
4563
4564 2003-06-11  John Levon  <levon@movementarian.org>
4565
4566         * lyx_main.C:
4567         * ToolbarBackend.h:
4568         * ToolbarBackend.C: add "Toolbars" section and
4569         put the flags there
4570
4571 2003-06-10  Angus Leeming  <leeming@lyx.org>
4572
4573         * lfuns.h:
4574         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4575
4576         * lyxfunc.C (dispatch): invoke it.
4577
4578 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * main.C: protect <ios> with HAVE_IOS
4581         (main): protect sync_with_stdio with HAVE_IOS
4582
4583 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4584
4585         * text2.C (cutSelection): adjust
4586         (pasteSelection): adjust
4587
4588         * messages.C: handle get of empty string
4589
4590         * main.C (main): use sync_with_stdio(false)
4591
4592         * lyxfunc.C (dispatch): adjust
4593
4594         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4595         (WriteAs): remove unneeded BufferView arg.
4596
4597         * bufferparams.h: use correct types on papersize, papersize2 and
4598         paperpackage.
4599
4600         * bufferparams.C (readToken): adjust for type
4601         (writeLaTeX): add missing cases to switch.
4602
4603         * bufferlist.C (quitWriteBuffer): adjust
4604         (close): adjust
4605
4606         * buffer.C (asciiParagraph): remove some commented code.
4607
4608         * CutAndPaste.C: remove current_view extern variable.
4609         (cutSelection): add BufferParams arg.
4610         (eraseSelection): add BufferParams arg.
4611         (pasteSelection): add Buffer const & arg
4612
4613 2003-06-07  John Levon  <levon@movementarian.org>
4614
4615         * buffer.C:
4616         * paragraph_funcs.C:
4617         * paragraph_pimpl.C:
4618         * text.C:
4619         * text2.C:
4620         * paragraph.h:
4621         * paragraph.C: allow InsetERT to freely space lines,
4622         and some consolidation of code
4623
4624 2003-06-06  José Matos  <jamatos@fep.up.pt>
4625
4626         * buffer.C (makeDocBookFile): fix bug #821
4627
4628 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4631
4632 2003-06-04  Angus Leeming  <leeming@lyx.org>
4633
4634         * buffer.C: bump format to 224.
4635
4636 2003-06-05  André Pönitz  <poenitz@gmx.net>
4637
4638         * text2.C (redoParagraphs): remove two const_cast<>
4639
4640 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4641
4642         * ParagraphList.h: remove last remnants of NO_STD_LIST
4643
4644 2003-06-03  Angus Leeming  <leeming@lyx.org>
4645
4646         * factory.C (createInset): small change to the way InsetExternal's params
4647         are set.
4648
4649 2003-06-04  André Pönitz  <poenitz@gmx.net>
4650
4651         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4652
4653         * paragraph_pimpl.h:
4654         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4655
4656         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4657
4658         * undo_funcs.C: make some simple cases of undo work again
4659
4660 2003-06-03  John Levon  <levon@movementarian.org>
4661
4662         * ispell.C: HPUX doesn't have sys/select.h
4663         (from Albert Chin)
4664
4665 2003-06-03  John Levon  <levon@movementarian.org>
4666
4667         * CutAndPaste.C: update tabular and include inset
4668         buffer references
4669
4670         * buffer.h:
4671         * paragraph.h:
4672         * paragraph.C: remove owningBuffer(), don't pass Buffer
4673         to clone()
4674
4675         * factory.C: insetGraphicsParams changed
4676
4677 2003-06-02  John Levon  <levon@movementarian.org>
4678
4679         * LyXAction.C:
4680         * factory.C:
4681         * lfuns.h:
4682         * lyxfunc.C:
4683         * text3.C: remove insetparent
4684
4685 2003-06-02  John Levon  <levon@movementarian.org>
4686
4687         * buffer.h:
4688         * buffer.C: fix inset_iterator.end(), move out of line
4689         (bug 1149)
4690
4691 2003-06-01  John Levon  <levon@movementarian.org>
4692
4693         * text3.C: use a proper cut/paste when doing inset
4694         insert (from Jürgen Spitzmüller)
4695
4696 2003-06-01  John Levon  <levon@movementarian.org>
4697
4698         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4699
4700 2003-05-30  André Pönitz  <poenitz@gmx.net>
4701
4702         * rowpainter.C: unify second drawing phase
4703
4704 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * trans_mgr.C: remove one case of current_view
4707
4708         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4709
4710         * paragraph_funcs.h: remove paragraph.h include
4711
4712         * paragraph.h: delete NO_STD_LIST stuff
4713
4714         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4715
4716         * buffer.h: remove paragraph.h include
4717
4718         * ParagraphList.C: delete file
4719
4720         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4721
4722         * toc.C (getTocList): adjust
4723
4724         * paragraph_pimpl.C (validate): adjust
4725
4726         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4727
4728         * paragraph.C (Paragraph): adjust
4729         (getPositionOfInset): use const_iterator, adjust
4730         (bibitem): use const_iterator, adjust
4731         (setInsetOwner): adjust
4732
4733         * iterators.C (operator++): adjust
4734
4735         * InsetList.[Ch]: Replace selfmade iterator with standard
4736         vector::iterator also introduce const_iterator. Remove getPos,
4737         getInset and setInset from InsetTable. Adjust accordingly.
4738
4739         * BufferView.C (lockInset): adjust
4740         (ChangeInsets): adjust
4741
4742         * tabular.[Ch]: delete commented same_id functions
4743
4744 2003-05-28  John Levon  <levon@movementarian.org>
4745
4746         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4747
4748 2003-05-28  André Pönitz  <poenitz@gmx.net>
4749
4750         * metricsinfo.[Ch]: remove 'fullredraw' member
4751
4752 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4753
4754         * lyxtextclass.C (operator): remove caching.
4755
4756 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * text3.C: adjust
4759
4760         * text2.C (cursorBottom): adjust
4761         (setCounter): use ParagraphList::find, adjust
4762
4763         * text.C (workWidth): use ParagraphList::find, adjust
4764
4765         * lyxcursor.C (LyXCursor): adjust
4766
4767         * buffer.C (inset_iterator): adjust
4768
4769         * ParagraphList.h: make iterator(value_type) private, make
4770         ParagraphList a friend of iterator.
4771
4772         * ParagraphList.C (find): new function
4773
4774         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4775
4776 2003-05-27  André Pönitz  <poenitz@gmx.net>
4777
4778         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4779
4780 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4781
4782         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4783
4784 2003-05-26  John Levon  <levon@movementarian.org>
4785
4786         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4787
4788 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * remove same_id from function signatures, adjust.
4791
4792 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4795
4796         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4797
4798         * paragraph.C (Paragraph): get rid of same_ids parameter
4799
4800         * ParagraphList.C (insert): adjust
4801         (push_back): adjust
4802
4803 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * paragraph_funcs.C (breakParagraph): adjust
4806         (breakParagraphConservative): adjust
4807
4808         * buffer.C (readParagraph): adjust
4809
4810         * ParagraphList.C (insert): take a reference instead of a pointer
4811         (insert): adjust
4812
4813         * paragraph.[Ch] (id): new function
4814
4815         * bufferlist.C (newFile): adjust
4816
4817         * ParagraphList.C (ParagraphList): adjust
4818         (assign): adjust
4819         (push_back): take a reference instead of a pointer.
4820
4821         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4822
4823         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4824         instead.
4825
4826         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4827         set else use old code.
4828
4829         * ParagraphList.C: remove all NO_NEXT code and only compile this
4830         code of NO_STD_LIST is set.
4831
4832 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4833
4834         * BufferView_pimpl.C:
4835         * TextCache.C:
4836         * TextCache.h:
4837         * bufferlist.C:
4838         * errorlist.h:
4839         * format.C:
4840         * format.h:
4841         * graph.C:
4842         * lyxfunc.C:
4843         * lyxrc.C:
4844         * graphics/GraphicsConverter.C:
4845         * graphics/PreviewLoader.C: header adjustment
4846
4847 2003-05-23  Angus Leeming  <leeming@lyx.org>
4848
4849         * LaTeXFeatures.[Ch] (useBabel): new method.
4850         * bufferparams.C (writeLaTeX): use it.
4851
4852 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * ParagraphList.h (set): remove unused function.
4855
4856 2003-05-23  André Pönitz  <poenitz@gmx.net>
4857
4858         * BufferView.C:
4859         * BufferView_pimpl.C:
4860         * buffer.C:
4861         * buffer.h:
4862         * lyxfunc.C:
4863         * undo_funcs.C: setUndo reworked
4864
4865         * iterators.[Ch]: add access to topmost ParagraphList
4866
4867         * lyxtext.[Ch] (workWidth): add a const
4868
4869 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * texrow.[Ch] (increasePos): remove function
4872         * exporter.C (export): removed unused var and outdated comment
4873
4874 2003-05-23  Angus Leeming  <leeming@lyx.org>
4875
4876         * latexrunparams.h: rename fragile as moving_arg.
4877         * paragraph.C (simpleTeXOnePar): ditto.
4878         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4879
4880 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4883         (createUndo): ditto
4884         (textUndoOrRedo): comment out a currently unused var.
4885
4886         * paragraph.h (NO_NEXT): enable NO_NEXT
4887
4888         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4889
4890         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4891
4892         * exporter.C (Export): adjust for removeAutoInsets removal.
4893
4894         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4895
4896         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4897
4898         * BufferView.[Ch] (removeAutoInsets): delete function
4899
4900 2003-05-22  Angus Leeming  <leeming@lyx.org>
4901
4902         * latexrunparams.h: add a free_spacing variable.
4903
4904         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4905         to pass moving_arg, as the data is stored in runparams.fragile.
4906
4907         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4908         to Inset::latexOptional or to simpleTeXOnePar.
4909
4910         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4911         free_spacing arg to Inset::latexOptional.
4912
4913         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4914         free_spacing arg.
4915
4916 2003-05-22  Angus Leeming  <leeming@lyx.org>
4917
4918         * latexrunparams.h: add fragile and use_babel variables.
4919
4920         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4921         * buffer.C (makeLaTeXFile): store this returned value in
4922         runparams.use_babel, thus passing it to the inset::latex methods.
4923
4924         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4925         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4926
4927         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4928         longer has a fragile arg, as it is stored in runparams.fragile.
4929
4930         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4931         moving_arg parameter as the data is stored in runparams.fragile.
4932
4933         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4934         a fragile parameter as the data is stored in runparams.fragile.
4935
4936 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4939
4940 2003-05-22  Angus Leeming  <leeming@lyx.org>
4941
4942         * latexrunparams.h: add a 'bool nice' which defaults to false.
4943
4944         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4945         now encapsulated within runparams.
4946
4947         * bufferlist.C (updateIncludedTeXfiles):
4948         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4949
4950 2003-05-22  Angus Leeming  <leeming@lyx.org>
4951
4952         * latexrunparams.h: new file containing struct LatexRunParams.
4953         * Makefile.am: add new file.
4954
4955         * LaTeX.[Ch] (c-tor, run):
4956         * buffer.[Ch] (makeLaTeXFile):
4957         * bufferlist.[Ch] (updateIncludedTeXfiles):
4958         * converter.C (convert, scanLog):
4959         * converter.[Ch] (runLaTeX):
4960         * exporter.C (Export):
4961         * paragraph.[Ch] (simpleTeXOnePar):
4962         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4963         * paragraph_funcs.[Ch] (latexParagraphs):
4964         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4965         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4966         pass around a LatexRunParams parameter.
4967
4968 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * paragraph.[Ch]: remove unused constructor
4971
4972         * ParagraphList.C (erase): new function, taking two iterators
4973
4974 2003-05-22  André Pönitz  <poenitz@gmx.net>
4975
4976         * undo_funcs.C: remove duplicated code
4977
4978         * iterator.[Ch]: operator=
4979
4980 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * tabular.C (SetMultiColumn): ws changes
4983
4984         * rowpainter.C (paintFirst): get rid of a ->previous
4985
4986         * lyx_cb.C (getPossibleLabel): parlist simplification
4987
4988         * BufferView.C (ChangeInsets): simplify slightly.
4989
4990 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4991
4992         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4993         * lfuns.h: new LFUN_SPACE
4994         * lyxfunc.C: protected space has a new lfun
4995         * paragraph_funcs.C: read new space insets
4996         * text3.C:
4997         * factory.C: handle new space insets
4998
4999 2003-05-22  André Pönitz  <poenitz@gmx.net>
5000
5001         * BufferView.C:
5002         * BufferView_pimpl.C:
5003         * buffer.[Ch]:
5004         * lyxfunc.C:
5005         * undo_funcs.C: return a ParIterator from getParFromID.
5006
5007         * iterators.[Ch]: add two const's
5008
5009 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * toc.C (getTocList): adjust
5012
5013         * iterators.[Ch]: rework for parlist
5014
5015         * buffer.C (par_iterator_begin): adjust
5016         (par_iterator_end): adjust
5017
5018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5019
5020         * BufferView.C (removeAutoInsets): adjust
5021         (ChangeInsets): adjust
5022
5023 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * text.C (top_y): fix bug 1110
5026
5027 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * errorlist.[Ch]: added
5030         * buffer.C:
5031         * BufferView.[Ch]:
5032         * BufferView_pimpl.C:
5033         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5034         instead
5035
5036 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * Makefile.am: ensure that lyx is relinked upon changes to the
5039         various "convenience" libs.
5040
5041 2003-05-20  Angus Leeming  <leeming@lyx.org>
5042
5043         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5044         files are compiled in alphabetical order again.
5045
5046         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5047
5048 2003-05-19  Angus Leeming  <leeming@lyx.org>
5049
5050         * gettext.[Ch]: remove "char const * _(char const *)".
5051
5052 2003-05-19  André Pönitz  <poenitz@gmx.net>
5053
5054         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5055
5056         * Makefile.am:
5057         * BufferView.C:
5058         * DepTable.h:
5059         * LaTeXFeatures.C:
5060         * buffer.C:
5061         * lyxfont.C:
5062         * lyxlex.h:
5063         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5064
5065 2003-05-19  André Pönitz  <poenitz@gmx.net>
5066
5067         * buffer.C:
5068         * lyxlayout.[Ch]:
5069         * lyxtextclass.[Ch]:
5070         * paragraph.C:
5071         * paragraph_funcs.[Ch]:
5072         * text2.C:
5073         * text3.C: more insetenv work
5074
5075 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * ParagraphParameters.C (params2string): small bug fixed
5078
5079 2003-05-16  André Pönitz  <poenitz@gmx.net>
5080
5081         * debug.C:
5082         * bufferview_funcs.C: patch from Kornel Benko to prevent
5083           crash when _(...) is called twice in a statement
5084
5085 2003-05-16  André Pönitz  <poenitz@gmx.net>
5086
5087         * BufferView.C:
5088         * lyxfunc.C:
5089         * text.C:
5090         * text2.C:
5091         * text3.C:
5092         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5093
5094 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * lyx_main.C (init): remove spurious static_cast
5097
5098 2003-05-14  André Pönitz  <poenitz@gmx.net>
5099
5100         * BufferView.C: fix format string
5101
5102 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5103
5104         * BufferView.[Ch] (insertErrors): removed
5105         * BufferView.[Ch] (showErrorList): added
5106         * buffer.C (runChkTeX):
5107         * converter.C (scanLog): call showErrorList instead of inserterrors
5108
5109 2003-05-13  André Pönitz  <poenitz@gmx.net>
5110
5111         * BufferView_pimpl.C:
5112         * buffer.C:
5113         * bufferview_func.C:
5114         * MenuBackend.C:
5115         * lyxfunc.C:
5116         * lyxrc.C:
5117         * tex-accent.C:
5118         * text3.C:
5119         * toc.C:
5120         * tabular_funcs.h: tostr() from its own header
5121
5122         * ParagraphParameters.C:
5123         * ToolbarBackend.C:
5124         * bufferparams.C:
5125         * format.C:
5126         * lyxlex_pimpl.C:
5127         * text3.C: STRCONV()
5128
5129 2003-05-12  André Pönitz  <poenitz@gmx.net>
5130
5131         * BufferView.C:
5132         * BufferView_pimpl.C:
5133         * CutAndPaste.C:
5134         * LaTeX.C:
5135         * LaTeXFeatures.C:
5136         * ParagraphParameters.C:
5137         * buffer.C:
5138         * bufferlist.C:
5139         * bufferparams.C:
5140         * bufferview_funcs.C:
5141         * converter.C:
5142         * counters.C:
5143         * debug.C:
5144         * exporter.C:
5145         * format.C:
5146         * importer.C:
5147         * lyx_cb.C:
5148         * lyx_main.C:
5149         * lyxfont.C:
5150         * lyxfunc.C:
5151         * lyxvc.C:
5152         * paragraph.C:
5153         * paragraph_funcs.C:
5154         * tabular.C:
5155         * tabular_funcs.C:
5156         * text2.C:
5157         * text3.C:  boost::format -> bformat  all over the place
5158
5159
5160 2003-05-09  André Pönitz  <poenitz@gmx.net>
5161
5162         * LColor.[Ch]: Pimpl the #include <map> away
5163
5164 2003-05-09  John Levon  <levon@movementarian.org>
5165
5166         * bufferlist.C: never remove emergency saves
5167
5168 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * Makefile.am: better lib building
5171
5172 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5175         instead.
5176         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5177         (simpleTeXSpecialChars): adjust
5178         (simpleTeXSpecialChars): adjust
5179         * paragraph.C (simpleTeXOnePar): adjust
5180         * buffer.C (makeLaTeXFile): adjust
5181
5182         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5183
5184         * text2.C (changeDepth): parlist cleanup
5185         (getColumnNearX): ditto
5186
5187         * rowpainter.C (getLabelFont): parlist cleanup
5188
5189         * bufferlist.C (newFile): parlist cleanup
5190
5191         * CutAndPaste.C (eraseSelection): parlist cleanup
5192
5193         * BufferView_pimpl.C (trackChanges): parlist cleanup
5194         (dispatch): ditto
5195
5196         * BufferView.C (lockInset): parlist cleanup.
5197         (ChangeInsets): ditto
5198
5199 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * CutAndPaste.h: Update file header.
5202
5203         * CutAndPaste.C: Update file header.
5204         Store the parts cut out of the Document in a limited_stack.
5205         (copySelection): adjust
5206         (pasteSelection): new function, takes the index in the limited stack.
5207         (nrOfParagraphs): adjust
5208         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5209         simplify error inset insertion.
5210         (checkPastePossible): adjust
5211
5212 2003-05-06  John Levon  <levon@movementarian.org>
5213
5214         * text2.C: don't cast wrap inset to float
5215
5216 2003-05-05  André Pönitz  <poenitz@gmx.net>
5217
5218         * iterator.C:
5219         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5220
5221         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5222           few naked Paragraph *.
5223
5224 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5225
5226         * bufferparams.C: Output warning if a document with missing
5227         TeX document class is loaded
5228         * exporter.C: Disable TeX exports if the document class is missing
5229         * lyxtextclass.C:
5230         * lyxtextclass.h:
5231         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5232         isTeXClassAvailable()
5233
5234 2003-05-03  John Levon  <levon@movementarian.org>
5235
5236         * BufferView.h:
5237         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5238         explicit cursor show/hide
5239
5240         * BufferView_pimpl.h:
5241         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5242         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5243
5244         * lyxfunc.C: hide cursor before dispatching.
5245
5246         * lyx_cb.C:
5247         * lyxfind.C:
5248         * text.C:
5249         * text3.C: remove explicit cursor hides
5250
5251 2003-05-02  André Pönitz  <poenitz@gmx.net>
5252
5253         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5254
5255         * undo_funcs.C:
5256         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5257           linked lists
5258
5259         * text2.C: tiny whitespace
5260
5261 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * undo_funcs.C: almost only ws changes.
5264
5265         * ParagraphList.C (splice): just return if pl is empty.
5266
5267 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * ParagraphList.C (splice): new function.
5270
5271         * CutAndPaste.C (pasteSelection): use it
5272
5273 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * CutAndPaste.C (pasteSelection): remove the last next and
5276         previous from this file.
5277
5278 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * CutAndPaste.C (pasteSelection): more clean up, user proper
5281         ParagraphList functions for pasteing.
5282
5283         * ParagraphList.C (insert): new function, three arg insert
5284
5285 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * ParagraphList.C (insert): new function, three arg insert
5288
5289         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5290         not on paragraphs.
5291
5292 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5295
5296 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5299
5300 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5303         (copySelection): clean up a bit.
5304         (pasteSelection): use make_pair
5305
5306         * ParagraphList.C (ParagraphList): implement copy constructor
5307         (operator=): implement, base on copy constructor.
5308         (assign): new func
5309
5310         * paragraph.C (erase): return a bool
5311
5312         * paragraph_pimpl.C (erasePos): remove function, move contents...
5313         (erase): ... here. Return a bool.
5314         (erase): call erase instead of erasePos.
5315
5316 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * ParagraphList.h: define PitPosPair
5319         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5320         ParagraphList, fix a bug on pasting multiple pars
5321         * text2.C: change interface to C&P
5322
5323 2003-04-30  André Pönitz  <poenitz@gmx.net>
5324
5325         * undo_func.C: revert part of yesterday's patch 2
5326
5327 2003-04-30  John Levon  <levon@movementarian.org>
5328
5329         * LColor.C: s/tabular/table/
5330
5331 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * text3.C (dispatch): do not convert iterator -> pointer
5334         * undo_funcs.C (setCursorParUndo): ditto
5335         * text_funcs.C (transposeChars): ditto
5336
5337         * text2.C (setLayout): ws changes only
5338
5339         * text.C (breakParagraph): do not convert iterator -> pointer
5340         (insertChar): ditto
5341         (acceptChange): ditto
5342         (rejectChange): ditto
5343         (changeCase): ditto
5344         (Delete): ditto
5345         (backspace): ditto
5346
5347         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5348         pointer
5349
5350 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * text3.C (gotoInset): YABG (yet another bad getChar)
5353
5354 2003-04-29  André Pönitz  <poenitz@gmx.net>
5355
5356         * paragraph.h: make operator= private unimplemented as long as
5357           it is unusable
5358
5359         * ParagraphList.C: whitespace
5360
5361         * paragraph.[Ch]:
5362         * paragraph_pimpl.[Ch]:
5363         * paragraph_funcs.C:
5364         * CutAndPaste.C:
5365         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5366
5367         * text2.C:
5368           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5369
5370 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5371
5372         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5373         * paragraph.[Ch] (erase):
5374         * paragraph_pimpl.[Ch] (erase): change return type and value
5375         * text2.C (cutSelection): some rework
5376
5377 2003-04-28  John Levon  <levon@movementarian.org>
5378
5379         * bufferlist.C: changes for unsaved changes dialog
5380
5381 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * bufferlist.C (newFile): set language (messages_) for new
5384         documents also.
5385
5386         * buffer.C (readFile): ws changes only.
5387
5388 2003-04-28  André Pönitz  <poenitz@gmx.net>
5389
5390         * undo_funcs.C:
5391         * lyxfunc.C:
5392         * buffer.[Ch]:
5393         * BufferView_pimpl.C:
5394         * BufferView.C: getParFromID related ParagraphList::iterator changes
5395
5396 2003-04-28  André Pönitz  <poenitz@gmx.net>
5397
5398         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5399           Changes
5400
5401 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * messages.C: remove one more localedir class variable.
5404
5405 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * messages.C (getLocaleDir): singleton generation function
5408         (Pimpl): use it.
5409         (Messages): add a default constructor.
5410
5411         * main.C (main): do not setup localedir here, do not call
5412         gettext_init.
5413
5414         * gettext.C (_): use it.
5415         (gettext_init): delete funciton
5416
5417 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * gettext.C (getLyXMessages): new singleton generating function.
5420
5421         * buffer.C (updateDocLang): adjust
5422
5423         * Makefile.am (messages.o): add target
5424         (main.o): remove target
5425
5426 2003-04-27  John Levon  <levon@movementarian.org>
5427
5428         * bufferlist.C:
5429         * lyx_cb.C:
5430         * lyxfunc.C:
5431         * lyxvc.C: specify cancel button in Alert::prompt
5432
5433 2003-04-26  John Levon  <levon@movementarian.org>
5434
5435         * text3.C:
5436         * lyxfunc.C:
5437         * lfuns.h:
5438         * LyXAction.C: add LFUN_INSET_SETTINGS
5439
5440         * lyxfunc.C: don't enable tabular-feature when there's
5441         just any locking inset
5442
5443 2003-04-26  John Levon  <levon@movementarian.org>
5444
5445         * bufferlist.C: re-add Cancel to buffer close question
5446
5447         * lyxfunc.C: fix import UI a bit
5448
5449 2003-04-25  John Levon  <levon@movementarian.org>
5450
5451         * gettext.C: remove the broken asserts for now
5452
5453 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * messages.C: make case where setlocale cannot comply work better.
5456
5457         * buffer.C (updateDocLang): new function
5458         (changeLanguage): use it
5459         (readFile): use it
5460
5461         * text2.C (setCounter): use B_ a bit.
5462
5463         * lyxlayout.C (Read): be sure to trim the label strings.
5464
5465         * messages.C (Messages): fix typo in comment
5466
5467         * buffer.C (readFile): set message_ after file is loaded.
5468         (makeDocBookFile): remove double return
5469         (changeLanguage): reset message_ upon language change.
5470         (B_): new func, use this to get translated buffer strings.
5471
5472         * main.C: add myself and Jean Marc as authors.
5473
5474 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * messages.[hC]: pimplify Messages, and three different pimpls to be
5477         used in different circumstances.
5478
5479         * gettext.[Ch]: change for use with new message code.
5480
5481 2003-04-24 André Pönitz <poenitz@gmx.net>
5482
5483         * factory.C: support for eqref
5484
5485 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * messages.[Ch]: add missing char
5488
5489         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5490
5491         * messages.[Ch]: New files
5492
5493 2003-04-18  John Levon  <levon@movementarian.org>
5494
5495         * BufferView.h:
5496         * BufferView.C:
5497         * BufferView_pimpl.C:
5498         * lfuns.h:
5499         * LyXAction.C:
5500         * lyxtext.h:
5501         * text2.C: remove layout-copy/paste (bug 778)
5502
5503 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5506
5507 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5508
5509         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5510         if they succeed. Act accordingly.
5511
5512 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * text2.C (setCharFont): adjust
5515         (setCounter): adjust
5516         (insertStringAsLines): adjust
5517
5518         * text.C (leftMargin): adjust
5519         (setHeightOfRow): adjust
5520
5521         * rowpainter.C (paintFirst): adjust
5522         (paintLast): adjust
5523
5524         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5525         (outerHook): ditto
5526         (isFirstInSequence): ditto
5527         (getEndLabel): ditto
5528         (outerFont): adjust
5529
5530         * paragraph.C (getParLanguage): comment out some hard stuff.
5531
5532         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5533         (sgmlError): ditto
5534         (simpleDocBookOnePar): ditto
5535         (makeDocBookFile): use ParagraphList::iterator
5536
5537         * CutAndPaste.C (pasteSelection): adjust
5538
5539 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * text2.C (getFont): adjust
5542         (getLayoutFont): adjust
5543         (getLabelFont): adjust
5544
5545         * paragraph_funcs.C (TeXOnePar): adjust
5546
5547         * buffer.C (simpleLinuxDocOnePar): adjust
5548         (simpleDocBookOnePar): adjust
5549
5550         * CutAndPaste.C (pasteSelection): adjust
5551
5552         * BufferView.C (getEncoding): adjust
5553
5554         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5555
5556 2003-04-16  John Levon  <levon@movementarian.org>
5557
5558         * lyxfind.C: use parlist stuff for search/changes
5559
5560 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5563
5564         * text2.C (deleteEmptyParagraphMechanism): adjust
5565
5566         * text2.[Ch] (ownerParagraph): delete func (both of them
5567
5568 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5571
5572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * ParagraphList.C: prepare for NO_NEXT
5575
5576 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * text2.C (getFont): adjust
5579         (getLayoutFont): adjust
5580         (getLabelFont): adjust
5581
5582         * paragraph.C (getFont): adjust
5583         (getLabelFont): adjust
5584         (getLayoutFont): adjust
5585
5586         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5587
5588 2003-04-15  John Levon  <levon@movementarian.org>
5589
5590         From Angus Leeming
5591
5592         * lyx_main.C: handle Include in .ui files
5593
5594 2003-04-15  John Levon  <levon@movementarian.org>
5595
5596         * MenuBackend.C: make the doc files length shorter
5597
5598         * ToolbarBackend.h:
5599         * ToolbarBackend.C: handle toolbar placement flags,
5600         Minibuffer
5601
5602 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5605         adjust
5606
5607         * paragraph_funcs.C (TeXOnePar): adjust
5608
5609         * paragraph.C (getLabelFont): add outerfont arg, adjust
5610         (getLayoutFont): ditto
5611         (simpleTeXOnePar): adjust
5612
5613         * paragraph_pimpl.C (realizeFont): delete func
5614
5615 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5616
5617         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5618         row argument, constify cur argument.
5619
5620 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * text2.C (getFont): adjust
5623         (getLayoutFont): adjust
5624         (getLabelFont): adjust
5625
5626         * paragraph_funcs.C (TeXOnePar): adjust
5627         (outerFont): new func...
5628         (realizeFont): ...moved out from here, changed this to facilitate
5629         transition
5630
5631         * paragraph.C (getFont): take outerfont as arg, adjust
5632         (simpleTeXOnePar): add outerfont arg, adjust
5633
5634         * buffer.C (simpleLinuxDocOnePar): adjust
5635         (simpleDocBookOnePar): adjust
5636
5637         * CutAndPaste.C (pasteSelection): adjust
5638
5639         * BufferView.C (getEncoding): adjust
5640
5641 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * text2.C (setCharFont): adjust
5644         (setCounter): adjust
5645
5646         * text.C (leftMargin): adjust
5647         (setHeightOfRow): adjust
5648
5649         * rowpainter.C (paintFirst): adjust
5650         (paintLast): adjust
5651
5652         * paragraph_pimpl.C (realizeFont): adjust
5653
5654         * paragraph.C (isFirstInSequence): move from here...
5655         * paragraph_funcs.C (isFirstInSequence): ...to here
5656
5657         * paragraph.C (outerHook): move from here...
5658         * paragraph_funcs.C (outerHook): ...to here
5659
5660         * paragraph.C (depthHook): move from here...
5661         * paragraph_funcs.C (depthHook): ...to here
5662
5663         * paragraph.C (getEndLabel): move from here...
5664         * paragraph_funcs.C (getEndLabel): ...to here
5665
5666         * text2.C (realizeFont): move from here...
5667         * paragraph_funcs.C (realizeFont): ...to here
5668
5669 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5672
5673 2003-04-14  Angus Leeming  <leeming@lyx.org>
5674
5675         * LColor.[Ch]: scrap LColor mathcursor.
5676
5677 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * lyxlex.[Ch] (text): delete function
5680         * trans.C (Load): adjust
5681         * paragraph_funcs.C (readParToken): adjust
5682
5683 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5686         vector<char> instead of a char[].
5687
5688         * lyxlex_pimpl.C (getString): adjust
5689         (next): adjust
5690         (lex): use getString
5691         (eatLine): adjust
5692         (nextToken): adjust
5693
5694         * lyxlex.C (text): use pimpl_->getString()
5695         (getBool): ditto
5696         (findToken): ditto
5697
5698 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5699
5700         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5701         (makeFontEntriesLayoutSpecific): temp var for par.size()
5702         (setLayout): temp var for ownerParagraphs().end()
5703         (fullRebreak): temp var for rows().end()
5704         (selectionAsString): temp var for boost::next(startpit), realize
5705         that the while really is a regular for loop.
5706         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5707         setCursor in one place.
5708         (setParagraph): temp vr for ownerParagraphs().end()
5709         (updateCounters): make the while loop a for loop
5710         (cutSelection): temp var for ownerParagraphs().end()
5711         (updateInset): make the do {} while() a regular for loop
5712         (getCursorX): use temp vars
5713         (setCurrentFont): use temp vars
5714         (getColumnNearX): use temp vars
5715
5716 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * text.C (transformChar): use temp var for getChar
5719         (computeBidiTables): use temp var for row->par()
5720         (fill): move temp vars for row->par() and pit->layout() earlier in
5721         the function.
5722         (labelFill): use temp var for row->par()
5723         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5724         asc and desc, realize that pit never changes and that firstpit is
5725         just a duplicate and not needed. Exchange rit->par() with pit in a
5726         lot of places.
5727         (breakAgain): use a temp var for boost::next(rit)
5728         (breakAgainOneRow): ditto
5729         (breakParagraph): use a temp var for rows().begin()
5730         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5731         (cursorRightOneWord): use temp var for cursor.par() and
5732         cursor.pos(), remove usage of tmpcursor.
5733         (cursorLeftOneWord): use temp var for cursor.par() and
5734         cursor.pos() only set cur at end of function.
5735
5736 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * text.C, text2.C: exchange all usage of Paragraph::next with
5739         boost::next(ParagraphList::iterator)
5740
5741         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5742
5743         * text2.C (cursorTop): simplify implementation
5744         (cursorBottom): ditto
5745         (setParagraph): use ParagraphList::iterator
5746         (setCurrentFont): adjust
5747         (getColumnNearX): adjust
5748         (cursorRight): adjust
5749         (cursorLeft): remove usage of Paragraph::previous
5750         (cursorUpParagraph): ditto
5751         (deleteEmptyParagraphMechanism): slight cleanup
5752
5753         * text.C (isBoundary): take a Paragraph const & instead of a
5754         pointer as arg.
5755         (addressBreakPoint): ditto
5756         (leftMargin): remove usage of Paragraph::previous.
5757         (setHeightOfRow): ditto
5758         (cursorLeftOneWord): ditto
5759         (selectNextWordToSpellcheck): ditto
5760         (Delete): ditto
5761         (backspace): ditto
5762         (breakParagraph): remove one usage of Paragraph::next
5763         (redoParagraph): ditto
5764         (acceptChange): ditto
5765         (insertChar): adjust
5766         (rowBreakPoint): adjust
5767
5768         * bufferview_funcs.C (toggleAndShow): adjust
5769
5770 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5773         methods to access it.
5774         * lyxtext.h:
5775         * text.C: Added updateRowPositions to compute all row positions.
5776         Make top_y and getRowNearY() to use the cached y position
5777
5778 2003-04-11  John Levon  <levon@movementarian.org>
5779
5780         * text.C (rowBreakPoint): reintroduce the labelEnd
5781         checks, code copied from the row fill stuff. Deep voodoo.
5782
5783         * text.C (fill): add a comment and debugging for the
5784         next poor soul.
5785
5786 2003-04-11  John Levon  <levon@movementarian.org>
5787
5788         * text.C: make sure fullrow insets get wrapped to the next line,
5789         even when they're in a manual label
5790
5791 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * text2.C (insertParagraph): make it take ParagraphList::iterator
5794         as arg.
5795         (setLayout): make it return ParagraphList::iterator
5796         (redoParagraphs): ditto
5797         (setCounter): ditto
5798         (checkParagraph): ditto
5799
5800         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5801
5802         * text2.C: adjust several funcs.
5803         (realizeFont): take a ParagraphList::iterator as arg.
5804         (getLayoutFont): ditto
5805         (getLabelFont): ditto
5806         (setCharFont): ditto
5807
5808         * text.C: adjust several funcs.
5809
5810 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5811
5812         * text.C (selectNextWordToSpellcheck): don't accidentally
5813         skip insets
5814
5815 2003-04-10  John Levon  <levon@movementarian.org>
5816
5817         * ToolbarBackend.C (getIcon): special handling for
5818         LFUN_MATH_DELIM
5819
5820 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5821
5822         * text2.C (cursorRight): a getChar assert fixed
5823
5824 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * text2.C (getFont): change to take a ParagraphList::iterator
5827         instead of Paragraph*
5828         Adjust several functions.
5829
5830         * text.C (transformChar): change to take a ParagraphList::iterator
5831         instead of Paragraph*
5832         (singleWidth): ditto
5833         Adjust several functions.
5834
5835         * rowpainter.C: adjust several functions
5836         * rowpainter.h:store a ParagraphList::iterator and not a
5837         Paragraph&.
5838
5839
5840 2003-04-09  John Levon  <levon@movementarian.org>
5841
5842         * lyxfunc.C:
5843         * lfuns.h:
5844         * LyXAction.h:
5845         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5846         and the "help" bits as well
5847
5848 2003-04-09  John Levon  <levon@movementarian.org>
5849
5850         * ToolbarBackend.h:
5851         * ToolbarBackend.C: allow multiple toolbars
5852
5853 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * undo_funcs.C (setCursorParUndo): adjust
5856
5857         * text_funcs.C (transposeChars): adjust
5858
5859         * text3.C (gotoNextInset): adjust
5860         (dispatch): adjust
5861
5862         * text2.C (setLayout): adjust
5863         (changeDepth): adjust
5864         (setFont): adjust
5865         (redoParagraphs): adjust
5866         (selectionAsString): adjust
5867         (setParagraph): adjust
5868         (insertInset): adjust
5869         (cutSelection): adjust
5870         (copySelection): adjust
5871         (pasteSelection): adjust
5872         (insertStringAsLines): adjust
5873         (updateInset): adjust
5874         (setCursor): change to take a ParagraphList::iterator parameter
5875         (setCursorIntern): change to take a ParagraphList::iterator parameter
5876         (setCurrentFont): adjust
5877         (cursorLeft): adjust
5878         (cursorRight): adjust
5879         (deleteEmptyParagraphMechanism): adjust
5880
5881         * text.C (breakParagraph): adjust
5882         (insertChar): adjust
5883         (acceptChange): adjust
5884         (rejectChange): adjust
5885         (selectNextWordToSpellcheck): adjust
5886         (changeCase): adjust
5887         (Delete): adjust
5888         (backspace): adjust
5889
5890         * lyxfind.C (SearchForward): adjust
5891         (SearchBackward): adjust
5892         (nextChange): adjust
5893
5894         * lyxcursor.C (par): adjust
5895
5896         * lyxcursor.h: store a ParagraphList::iterator instead of a
5897         Paragraph*
5898
5899         * lyx_cb.C (getPossibleLabel): adjust
5900
5901         * bufferview_funcs.C (toggleAndShow): adjust
5902
5903         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5904         (dispatch): adjust
5905
5906         * BufferView.C (removeAutoInsets): adjust
5907         (lockedInsetStoreUndo): adjust
5908
5909 2003-04-09  John Levon  <levon@movementarian.org>
5910
5911         * ToolbarBackend.C: try icon without argument
5912         if with argument fails
5913
5914 2003-04-08  John Levon  <levon@movementarian.org>
5915
5916         * ToolbarBackend.h:
5917         * ToolbarBackend.C: add getIcon(), handle tooltip,
5918         and change from "Icon" to "Item".
5919
5920 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * BufferView.C (lockInset): another bad getchar crunched
5923
5924 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5925
5926         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5927         again)
5928
5929 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5930
5931         * lyxfind.C (searchForward, searchBackwards): bug 782
5932
5933 2003-04-07  John Levon  <levon@movementarian.org>
5934
5935         * paragraph.C: remove dead comment
5936
5937         * text.C: remove troublesome depth-fiddling code
5938         in leftMargin() and rightMargin() (bug 1017)
5939
5940         * text.C: fix breaking of rows in nested lists
5941         (bug 1004)
5942
5943         * text2.C (updateCounters): fix up depth values
5944         (bug 1013)
5945
5946 2003-04-07  John Levon  <levon@movementarian.org>
5947
5948         * BufferView_pimpl.C: clear message when doc finishes resizing,
5949         and after a mouse event
5950
5951         * lyxfunc.C: clear message after exiting inset
5952
5953 2003-04-07  John Levon  <levon@movementarian.org>
5954
5955         * bufferview_funcs.C: show math status not outside
5956         status in the statusbar
5957
5958 2003-04-07  John Levon  <levon@movementarian.org>
5959
5960         * lyxfunc.C: note status changed after a depth change
5961
5962 2003-04-04  Angus Leeming  <leeming@lyx.org>
5963
5964         * LaTeX.h: move AuxInfo operator==, != out of line.
5965         Remove LaTeX virtual destructor; nothing derives from it.
5966         Move operator()() out of public area and rename it startscript().
5967         Change protected for private.
5968
5969 2003-04-04  Angus Leeming  <leeming@lyx.org>
5970
5971         * lyxfunc.C:
5972         * text2.C: remove unneeded #includes.
5973
5974 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * text2.C (dEPM): fix the heigth of the next row
5977
5978 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * text.C: squashed an invalid getChar requester + some ws changes
5981
5982 2003-04-03  John Levon  <levon@movementarian.org>
5983
5984         * bufferview_funcs.h:
5985         * bufferview_funcs.C:
5986         * lyxfunc.C:
5987         * lyxtext.h:
5988         * text2.C: make getStatus work for the env depth lfuns
5989
5990 2003-04-03  John Levon  <levon@movementarian.org>
5991
5992         * bufferview_funcs.h:
5993         * bufferview_funcs.C:
5994         * lyxfunc.C:
5995         * lyxtext.h:
5996         * text2.C: parlistize decDepth(), by merging it with incDepth()
5997
5998 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * lyxrow.h: store a ParagraphList::iterator instead of a
6001         Paragraph* and adjust other class functions to suit.
6002
6003         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6004         above.
6005
6006 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6007
6008         * text2.C (setCursor): do not anchor to cursor row for the time being
6009
6010 2003-04-02  John Levon  <levon@movementarian.org>
6011
6012         * LyXAction.C:
6013         * lfuns.h:
6014         * lyx_main.C:
6015         * lyxtext.h:
6016         * text.C:
6017         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6018
6019 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * paragraph.h: make ParagraphList and ParagraphList::iterator
6022         friends of Paragraph.
6023
6024         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6025
6026         * ParagraphList.C: Use the private next_ and previous_ from
6027         Paragraph.
6028
6029 2003-04-01  John Levon  <levon@movementarian.org>
6030
6031         * ToolbarBackend.h:
6032         * ToolbarBackend.C:
6033         * Makefile.am: rename, remove defaults gunk
6034
6035         * MenuBackend.h:
6036         * MenuBackend.C: remove defaults gunk
6037
6038         * Languages.h:
6039         * Languages.C: remove defaults gunk
6040
6041         * lyx_main.h:
6042         * lyx_main.C: error out if files couldn't be found.
6043
6044 2003-04-02  John Levon  <levon@movementarian.org>
6045
6046         * text2.C: make incDepth() use parlist
6047
6048 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * undo_funcs.C (firstUndoParagraph): adjust
6051
6052         * text3.C (gotoInset): adjust
6053         (dispatch): adjust, and rewrite loop.
6054
6055         * text2.C (init): adjust, and rewrite loop.
6056         (redoParagraphs): adjust
6057         (updateInset): adjust, and rewrite loop.
6058         (deleteEmptyParagraphMechanism): adjust
6059
6060         * tabular.C (LyXTabular): adjust
6061         (SetMultiColumn): adjust
6062         (TeXRow): adjust
6063
6064         * lyxtext.[Ch] (ownerParagraph): delete function
6065         (ownerParagraphs): new function returns a ParagraphList.
6066
6067         * BufferView.C (removeAutoInsets): adjust
6068         (insertErrors): adjust
6069         (setCursorFromRow): adjust
6070
6071 2003-04-01  Angus Leeming  <leeming@lyx.org>
6072
6073         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6074         in the frontends.
6075
6076 2003-04-02  John Levon  <levon@movementarian.org>
6077
6078         * lyxtext.h:
6079         * text.C:
6080         * Makefile.am:
6081         * text_funcs.h:
6082         * text_funcs.C: make transposeChars a free function
6083
6084         * lyxrow_funcs.C: remove wrong comment
6085
6086 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * lyxtext.h: adjust
6089         * rowpainter.C: adjust
6090         * text.C: adjust
6091         * text2.C: adjust
6092         * text3.C: adjust
6093
6094         * lyxrow_funcs. [Ch]: new files
6095
6096         * lyxrow.[Ch]: remove next and previous pointers
6097         (next,previous): remove accessor functions
6098         (isParEnd): move to lyxrow_funcs
6099         (lastPos): move to lyxrow_funcs
6100         (nextRowIsAllInset): move to lyxrow_funcs
6101         (lastPrintablePos): move to lyxrow_funcs
6102         (numberOfSeparators): move to lyxrow_funcs
6103         (numberOfHfills): move to lyxrow_funcs
6104         (numberOfLabelHfills): move to lyxrow_funcs
6105         (hfillExpansion): move to lyxrow_funcs
6106
6107         * lyxfunc.C: adjust
6108
6109         * bufferview_funcs.C (toggleAndShow): adjust
6110
6111         * RowList.h: Remove class RowList from file leave just a
6112         std::list<Row>.
6113
6114         * RowList.C: delete file
6115
6116         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6117         and lyxrow_funcs.h
6118
6119 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * text3.C (cursorPrevious): adjust
6122         (cursorNext): adjust
6123         (dispatch): adjust
6124
6125         * text2.C (redoHeightOfParagraph): adjust
6126         (redoDrawingOfParagraph): adjust
6127         (setCursor): adjust
6128
6129         * text.C (breakParagraph): adjust
6130         (insertChar): adjust
6131         (backspace): adjust
6132
6133         * rowpainter.C (RowPainter): adjust
6134         (leftMargin): simplify and adjust
6135         (most rowpainter functions): adjust.
6136
6137         * rowpainter.h: store the row as RowList::iterator not as Row*
6138
6139         * lyxcursor.C (row): taka RowList::iterator as arg
6140         (irow): ditto
6141
6142         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6143         of Row*.
6144
6145 2003-04-01  Angus Leeming  <leeming@lyx.org>
6146
6147         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6148         stuff like bool Bool.
6149
6150 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6153         rewrite a loop
6154
6155 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6158         RowList::iterator.
6159
6160         * lyxtext.h (rows): drop one version and leve a const variant that
6161         returns a RowList::iterator.
6162
6163 2003-03-31  Angus Leeming  <leeming@lyx.org>
6164
6165         * text.C (fill): ensure that the signature is the same as that in the
6166         header file.
6167
6168 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * text2.C (redoParagraphs): adjust
6171         (updateCounters): adjust
6172         (checkParagraph): adjust
6173         (getColumnNearX): adjust and reformat a bit.
6174
6175         * text.C (top_y): adjust
6176         (workWidth): adjust
6177         (leftMargin): adjust
6178         (prepareToPrint): adjust
6179         (getRow): adjust
6180         (getRowNearY): adjust
6181
6182         * lyxtext.h: make rowlist_ mutable.
6183
6184         * RowList.h: add const_iterator
6185         * RowList.C: adjust for RowList::const_iterator.
6186
6187         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6188         adjust.
6189
6190 2003-03-31  John Levon  <levon@movementarian.org>
6191
6192         * lyxrc.h:
6193         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6194
6195         * lyx_main.C: set default fonts from using lyx_gui funcs
6196
6197         * exporter.C: pdf_mode moved from lyxrc
6198
6199         * lyx_cb.C:
6200         * lyxfunc.C: changes from above
6201
6202 2003-03-31  John Levon  <levon@movementarian.org>
6203
6204         * lyx_main.C: fix to the last fix
6205
6206 2003-03-31  John Levon  <levon@movementarian.org>
6207
6208         * bufferlist.C: "Load original" -> "Load Original"
6209
6210         * converter.C:
6211         * exporter.C:
6212         * importer.C:
6213         * lyx_main.C:
6214         * format.C: more Alert cleanups
6215
6216 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * text2.C (removeParagraph): make it take a RowList::iterator as
6219         arg, adjust.
6220         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6221         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6222
6223         * text.C (anchor_row): make it take a RowList::iterator as arg,
6224         adjust.
6225         (computeBidiTables): make it take a const reference to Row instead
6226         of Row pointer, adjust.
6227         (leftMargin): make it take a RowList::iterator as arg, adjust.
6228         (rowBreakPoint): adjust
6229         (breakAgainOneRow): make it take a RowList::iterator as arg,
6230         adjust.
6231         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6232
6233         * bufferview_funcs.C (toggleAndShow): adjust
6234
6235 2003-03-30  John Levon  <levon@movementarian.org>
6236
6237         * Makefile.am:
6238         * BoostFormat.h:
6239         * boost-inst.C: moved to support
6240
6241         * several files: changes as a result
6242
6243 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * text2.C (LyXText): adjust.
6246         (init): adjust
6247         (removeRow): make it take a RowList::iterator as arg, adjust.
6248         (fullRebreak): adjust
6249         (deleteEmptyParagraphMechanism): adjust
6250         (clearPaint): adjust
6251         (postPaint): adjust
6252
6253         * text.C (top_y): adjust
6254         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6255         (breakAgain): make it take a RowList::iterator as arg, adjust.
6256         (breakParagraph): adjust
6257         (insertChar): adjust
6258         (backspace): adjust
6259
6260         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6261         need_break_row, and refresh_row.
6262
6263         * text3.C (dispatch): adjust
6264
6265         * text2.C (checkParagraph): adjust
6266         (setCursor): adjust
6267         (setCursorFromCoordinates): adjust
6268
6269         * text.C (top_y): adjust
6270         (workWidth): adjust
6271         (getRow): make it return a RowList::iterator, adjust
6272         (getRowNearY): make it return a RowList::iterator, adjust
6273
6274         * text2.C (init): adjust
6275         (insertRow): remove function
6276         (insertParagraph): adjust
6277         (redoParagraphs): adjust
6278         (fullRebreak): adjust
6279         (updateCounters): adjust
6280
6281         * text.C (top_y): rewrite to use RowList iterators.
6282         (top_y): adjust
6283         (setHeightOfRow): rewrite to sue RowList iterators.
6284         (appendParagraph): adjust
6285         (breakAgain): adjust
6286         (breakAgainOneRow): adjust
6287         (breakParagraph): adjust
6288         (getRow): adjust
6289         (getRowNearY): adjust, and remove commented code.
6290
6291         * lyxtext.h (firstRow): delete function
6292         (lastRow): delete function
6293         (rows): new function (const and non-const versions.)
6294         (insertRow): delete function
6295
6296         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6297
6298 2003-03-29  John Levon  <levon@movementarian.org>
6299
6300         * BufferView_pimpl.C: always update scrollbar top
6301         because pasting text when we're anchored could mean we
6302         miss an update altogether
6303
6304 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * text2.C (init): use rowlist_.end() and not 0.
6307         (insertRow): change to take a RowList::iterator as arg, adjust
6308         for this.
6309         (insertParagraph): change to take a RowList::iterator as arg,
6310         adjust for this.
6311         (redoParagraphs): remove some debug msgs.
6312
6313         * text.C (appendParagraph): change to take a RowList::iterator
6314         arg, adjust for this.
6315         (breakAgain): add an assert
6316         (breakAgainOneRow): ditto
6317
6318 2003-03-29  John Levon  <levon@movementarian.org>
6319
6320         * text2.C: do not clear selection after inc/decDepth
6321         (bug 550)
6322
6323 2003-03-29  John Levon  <levon@movementarian.org>
6324
6325         * BufferView.C:
6326         * buffer.C: fix broken strerrors according to Lars
6327
6328 2003-03-29  John Levon  <levon@movementarian.org>
6329
6330         * converters.C: more Alert cleanups
6331
6332 2003-03-29  John Levon  <levon@movementarian.org>
6333
6334         * bufferview_funcs.C: remove pointless Alert
6335
6336         * buffer.C: fix confusing error message when
6337         a template is chmoded 000
6338
6339 2003-03-29  John Levon  <levon@movementarian.org>
6340
6341         * BufferView.C:
6342         * BufferView.h:
6343         * BufferView_pimpl.C: Alert fixes
6344
6345         * Makefile.am:
6346         * tabular.C:
6347         * tabular-old.C: remove unused table compat reading
6348
6349 2003-03-29  John Levon  <levon@movementarian.org>
6350
6351         * BufferView.C:
6352         * buffer.C:
6353         * lyx_cb.h:
6354         * lyx_cb.C: more Alert cleanups
6355
6356         * lyxfunc.C: don't allow chktex if not latex document
6357
6358 2003-03-29  John Levon  <levon@movementarian.org>
6359
6360         * lyx_cb.C:
6361         * BufferView.C:
6362         * buffer.C: warnings pushed down from support/,
6363         kill err_alert
6364
6365 2003-03-29  John Levon  <levon@movementarian.org>
6366
6367         * lyxfunc.C: safety check for C-r (revert)
6368
6369 2003-03-29  John Levon  <levon@movementarian.org>
6370
6371         * bufferlist.h:
6372         * bufferlist.C: several UI fixes using Alert::prompt.
6373         Fix the pointless looping quit code. Fix stupid revert
6374         behaviour (bug 938)
6375
6376         * lyxvc.h:
6377         * lyxvc.C:
6378         * lyx_cb.C: use Alert::prompt
6379
6380         * lyx_main.C: remove a silly question
6381
6382         * lyxfunc.C: remove a couple of silly questions,
6383         use Alert::prompt
6384
6385 2003-03-28  John Levon  <levon@movementarian.org>
6386
6387         * text2.C: fix bug 974 (End on empty par)
6388
6389 2003-03-28  John Levon  <levon@movementarian.org>
6390
6391         * BufferView_pimpl.C:
6392         * LyXAction.C:
6393         * lfuns.h: remove do-nothing math greek lfuns
6394
6395 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * lyxgluelength.h (isValidGlueLength): add default arg on
6398         parameter 2. Remove default arg from friend in class.
6399
6400         * lyxlength.h (isValidLength): add default arg on parameter 2.
6401         Remove default arg from friend in class.
6402
6403         * text2.C (LyXText): adjust, initialize refresh_row.
6404         (init): adjust
6405         (removeRow): adjust
6406         (insertRow): adjust
6407         (insertParagraph): adjst
6408         (redoParagraphs): adjust
6409         (fullRebreak): adjust
6410         (updateCounters): adjust
6411         (deleteEmptyParagraphMechanism): first attempt at fixing a
6412         crashing bug.
6413
6414         * text.C (top_y): adjust
6415         (setHeightOfRow): adjust
6416         (getRow): adjust
6417         (getRowNearY): adjust
6418
6419         * lyxtext.h: include RowList.h
6420         (~LyXText): not needed anymore, deleted.
6421         (firstRow): modify for RowList
6422         (lastRow): new function
6423         Delete firstrow and lastrow class variables, add a Rowlist
6424         rowlist_ class variable.
6425
6426         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6427         paragraph is empty.
6428
6429         * RowList.C (insert): fix case where it == begin().
6430
6431 2003-03-26  Angus Leeming  <leeming@lyx.org>
6432
6433         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6434         the thesaurus dialog.
6435
6436 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6439
6440         * RowList.[Ch]: new files
6441
6442         * ParagraphList.C (erase): handle the case where it == begin
6443         correctly.
6444
6445 2003-03-25  John Levon  <levon@movementarian.org>
6446
6447         * Makefile.am:
6448         * aspell_local.h:
6449         * aspell.C: add new aspell support
6450
6451         * lyxrc.h:
6452         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6453         have it accessible.
6454
6455 2003-03-25  Angus Leeming  <leeming@lyx.org>
6456
6457         * lfuns.h:
6458         * LyXAction.C (init): new LFUN_INSET_INSERT.
6459
6460         * BufferView_pimpl.C (dispatch): split out part of the
6461         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6462
6463         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6464         LFUN_INSET_APPLY.
6465
6466 2003-03-25  Angus Leeming  <leeming@lyx.org>
6467
6468         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6469
6470 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6471
6472         * text2.C:
6473         * text3.C: remove useless row->height(0)
6474
6475 2003-03-25  John Levon  <levon@movementarian.org>
6476
6477         * lyxtext.h:
6478         * text2.C:
6479         * text3.C: rename the refreshing stuff to better names
6480
6481 2003-03-24  John Levon  <levon@movementarian.org>
6482
6483         * BufferView_pimpl.h:
6484         * BufferView_pimpl.C: update layout choice on a mouse
6485         press/release
6486
6487 2003-03-23  John Levon  <levon@movementarian.org>
6488
6489         * Makefile.am: fix commandtags.h reference
6490
6491 2003-03-22  John Levon  <levon@movementarian.org>
6492
6493         * BufferView_pimpl.C:
6494         * lyxtext.h:
6495         * rowpainter.C:
6496         * rowpainter.h:
6497         * text.C:
6498         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6499
6500 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * lyxtext.h:
6503         * text.C: take the rtl methods out of line
6504
6505 2003-03-21 André Pönitz <poenitz@gmx.net>
6506
6507         * metricsinfo.[Ch]: new files containing structures to be passed around
6508         during the two-phase-drawing...
6509
6510 2003-03-21 André Pönitz <poenitz@gmx.net>
6511
6512         * lyxtextclass.C: read 'environment' tag.
6513
6514 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6515
6516         * text2.C (removeRow): fix bug 964
6517
6518 2003-03-20  John Levon  <levon@movementarian.org>
6519
6520         * rowpainter.C:
6521         * text.C:
6522         * text2.C: paint cleanups. Inset::update() dropped font
6523         parameter
6524
6525 2003-03-19  John Levon  <levon@movementarian.org>
6526
6527         * lyxfunc.C: only fitcursor/markDirty if available()
6528
6529 2003-03-19  John Levon  <levon@movementarian.org>
6530
6531         * commandtags.h: rename to ...
6532
6533         * lfuns.h: ... this, and renumber / cleanup
6534
6535 2003-03-19  John Levon  <levon@movementarian.org>
6536
6537         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6538         fit the cursor after an lfun
6539
6540         * BufferView.h:
6541         * BufferView.C:
6542         * BufferView_pimpl.h:
6543         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6544
6545         * LyXAction.C: layout-character should have ReadOnly
6546
6547         * ParagraphParameters.C:
6548         * buffer.C:
6549         * bufferview_funcs.C:
6550         * lyx_cb.C:
6551         * lyxfind.C:
6552         * lyxtext.h:
6553         * text.C:
6554         * text2.C:
6555         * text3.C:
6556         * undo_funcs.C: changes from above
6557
6558 2003-03-18  John Levon  <levon@movementarian.org>
6559
6560         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6561         remove it from update()
6562
6563         * lyxfunc.C: update layout choice after an lfun
6564
6565         * text3.C: remove extra updateLayoutChoice()s
6566
6567 2003-03-18  John Levon  <levon@movementarian.org>
6568
6569         * text.C: top_y change means full repaint, fix
6570         a drawing bug with cursor movement
6571
6572 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * lyxtext.h:
6575         * text.C:
6576         * text2.C: anchor row on setCursor
6577
6578 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * lyxtext.h: remove almost all mutable keywords
6581         * text.C:
6582         * text2.C:
6583         * text3.C: remove const keywords accordingly
6584
6585 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6588         anon namespace
6589         (TeXEnvironment): ditto
6590         (TeXOnePar): ditto
6591
6592 2003-03-17  John Levon  <levon@movementarian.org>
6593
6594         * text.C (rowBreakPoint): remove attempt to fix displayed
6595         math insets inside a manual label
6596
6597 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * lyxtext.h: remove BufferView* as first arg from almost all class
6600         functions.
6601         * other files: adjust.
6602
6603 2003-03-17  John Levon  <levon@movementarian.org>
6604
6605         * lyxtext.h:
6606         * undo_funcs.C:
6607         * text2.C: more paint cleanups
6608
6609         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6610
6611         * rowpainter.h:
6612         * rowpainter.C: remove "smart" background painting code
6613
6614 2003-03-16  John Levon  <levon@movementarian.org>
6615
6616         * lyxtext.h:
6617         * text.C:
6618         * text2.C:
6619         * text3.C: add helper functions for setting refresh_row/y
6620
6621 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6622
6623         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6624         newline inset which *can* get inserted in the pass_thru layouts.
6625         This is primarily for literate documents.
6626
6627 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6628
6629         * buffer.C: increment LYX_FORMAT to 223
6630
6631 2003-03-14 André Pönitz <poenitz@gmx.net>
6632
6633         * textclass.h: prepare for environment handling, ws changes
6634         * lyxlayout.C: read latexheader and latexfooter tags
6635
6636 2003-03-14  John Levon  <levon@movementarian.org>
6637
6638         * text2.C: rewrite ::status() a bit
6639
6640 2003-03-13  John Levon  <levon@movementarian.org>
6641
6642         * lyxtext.h: add some docs
6643
6644 2003-03-13  John Levon  <levon@movementarian.org>
6645
6646         * lyxtext.h:
6647         * text.C:
6648         * text2.C:
6649         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6650
6651 2003-03-13  John Levon  <levon@movementarian.org>
6652
6653         * text3.C: fix appendix redrawing
6654
6655 2003-03-13  John Levon  <levon@movementarian.org>
6656
6657         * text.C (setHeightOfRow):
6658         * rowpainter.h:
6659         * rowpainter.C: make appendix mark have the text
6660           "Appendix" so the user knows what it is
6661
6662         * LColor.h:
6663         * LColor.C: s/appendixline/appendix/ from above
6664
6665 2003-03-13  John Levon  <levon@movementarian.org>
6666
6667         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6668
6669         * text.C: fix a getChar(pos) bug properly
6670
6671 2003-03-13  Angus Leeming  <leeming@lyx.org>
6672
6673         * commandtags.h:
6674         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6675         Probably only temporary. Let's see how things pan out.
6676
6677         * BufferView.C (unlockInset):
6678         * BufferView_pimpl.C (fitCursor):
6679         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6680
6681         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6682         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6683
6684         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6685         new functions that convert ParagraphParameters to and from a string.
6686
6687         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6688         BufferView::Pimpl's dispatch.
6689         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6690
6691 2003-03-13 André Pönitz <poenitz@gmx.net>
6692
6693         * lyxfunc.C:
6694         * text3.C:
6695         * factory.C: make it aware of InsetEnv
6696
6697 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * text2.C (setCursor): never ask for one past last
6700         (setCursor): add some debugging messages.
6701
6702         * text.C (singleWidth): never ask for one past last
6703         (singleWidth): ditto
6704         (leftMargin): ditto
6705         (rightMargin): ditto
6706         (rowBreakPoint): ditto
6707         (setHeightOfRow): ditto
6708         (prepareToPrint): ditto
6709
6710         * rowpainter.C (paintBackground): never ask for one past last
6711         (paintText): never ask for one past last
6712
6713         * paragraph_pimpl.C (getChar): make the assert stricter, never
6714         allow the one past last pos to be taken
6715
6716         * paragraph.C (getChar): ws changes only
6717
6718         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6719         (numberOfSeparators): ditto
6720         (numberOfHfills): ditto
6721
6722 2003-03-12  John Levon  <levon@movementarian.org>
6723
6724         * author.h:
6725         * author.C:
6726         * bufferparams.h:
6727         * bufferparams.C:
6728         * paragraph_funcs.C: fix per-buffer authorlists
6729
6730 2003-03-12  John Levon  <levon@movementarian.org>
6731
6732         * text.C: fix newline in right address
6733
6734 2003-03-12  Angus Leeming  <leeming@lyx.org>
6735
6736         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6737         duplicate those in LyXFunc::dispatch.
6738
6739         * commandtags.h:
6740         * LyXAction.C:
6741         * ToolbarDefaults.C:
6742         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6743         Add LFUN_FONTFREE_UPDATE.
6744
6745         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6746         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6747
6748         * bufferview_func.[Ch]: several new functions to facilliate
6749         transfer of data to and from the character dialog.
6750
6751 2003-03-12  John Levon  <levon@movementarian.org>
6752
6753         * buffer.C:
6754         * paragraph.h:
6755         * paragraph.C:
6756         * paragraph_funcs.C:
6757         * paragraph_pimpl.C:
6758         * sgml.C:
6759         * tabular.C:
6760         * text.C:
6761         * text3.C: remove META_NEWLINE in favour of an inset
6762
6763         * rowpainter.h:
6764         * rowpainter.C: remove paintNewline (done by inset)
6765
6766 2003-03-12  John Levon  <levon@movementarian.org>
6767
6768         * paragraph_pimpl.C: complain about bad getChar()s
6769         for a while at least
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * buffer.h:
6774         * buffer.C: move paragraph read into a separate function,
6775         a little renaming to reflect that.
6776
6777         * bufferparams.h:
6778         * bufferparams.C: remove the author_ids map, not necessary now
6779
6780         * factory.h:
6781         * factory.C: moved Buffer::readInset to here
6782
6783         * paragraph_funcs.h:
6784         * paragraph_funcs.C: readParagraph free function moved from
6785         buffer.C
6786
6787         * tabular.C: name change
6788
6789 2003-03-12  John Levon  <levon@movementarian.org>
6790
6791         * buffer.C:
6792         * ParagraphParameters.C: move par params input to
6793         a read() method
6794
6795         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6796         behave like a normal read from the stream wrt reading
6797         a line vs. a \\token
6798
6799 2003-03-12  John Levon  <levon@movementarian.org>
6800
6801         * paragraph.C:
6802         * ParagraphParameters.h:
6803         * ParagraphParameters.C: move output code to a
6804         ::write() method
6805
6806 2003-03-12  John Levon  <levon@movementarian.org>
6807
6808         * BufferView.C (insertLyXFile):
6809         * buffer.h:
6810         * buffer.C:
6811         * tabular.C: use a parlist iterator for creating the
6812           document.
6813
6814 2003-03-12  John Levon  <levon@movementarian.org>
6815
6816         * buffer.C: make current_change static local not
6817           static file-scope
6818
6819 2003-03-12  John Levon  <levon@movementarian.org>
6820
6821         * buffer.C: fix insertStringAsLines for change tracking
6822
6823 2003-03-12  John Levon  <levon@movementarian.org>
6824
6825         * BufferView.C:
6826         * tabular.C:
6827         * buffer.h:
6828         * buffer.C:
6829         * bufferparams.h:
6830         * bufferparams.C: move author list into params. Rename some
6831           functions. Move the header reading into a separate token
6832           loop. Move the header token reading into BufferParams.
6833
6834 2003-03-12  John Levon  <levon@movementarian.org>
6835
6836         * changes.C: put debug inside lyxerr.debugging() checks
6837
6838 2003-03-11 André Pönitz <poenitz@gmx.net>
6839
6840         * factory.C: make it aware of InsetHFill
6841
6842 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6843
6844         * buffer.C (latexParagraphs): move function from here...
6845         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6846         args.
6847
6848 2003-03-10  Angus Leeming  <leeming@lyx.org>
6849
6850         * LyXAction.C (init): fix bug in poplating array with multiple entries
6851         with the same LFUN (spotted by JMarc).
6852
6853 2003-03-10  John Levon  <levon@movementarian.org>
6854
6855         * text.C:
6856         * text2.C: move getColumnNearX() near its
6857         only call site
6858
6859 2003-03-10  John Levon  <levon@movementarian.org>
6860
6861         * text.C: fix break before a minipage
6862
6863 2003-03-10  John Levon  <levon@movementarian.org>
6864
6865         * text.C: fix the last commit
6866
6867 2003-03-09  John Levon  <levon@movementarian.org>
6868
6869         * lyxtext.h:
6870         * text.C:
6871         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6872         bug 365 (don't break before insets unless needed). Don't
6873         return a value > last under any circumstances.
6874
6875 2003-03-09  Angus Leeming  <leeming@lyx.org>
6876
6877         * BufferView_pimpl.C (trackChanges, dispatch): call
6878         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6879
6880 2003-03-09  Angus Leeming  <leeming@lyx.org>
6881
6882         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6883         than Dialogs::showAboutlyx().
6884
6885 2003-03-09  Angus Leeming  <leeming@lyx.org>
6886
6887         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6888         than Dialogs::showTabularCreate().
6889
6890 2003-03-09  John Levon  <levon@movementarian.org>
6891
6892         * lyxtext.h:
6893         * text.C:
6894         * text2.C: 3rd arg to nextBreakPoint was always the same.
6895           Use references.
6896
6897 2003-03-08  John Levon  <levon@movementarian.org>
6898
6899         * lyxrow.C:
6900         * paragraph.C:
6901         * paragraph.h:
6902         * rowpainter.C:
6903         * text.C:
6904         * text2.C: Remove the "main" bit from the "main body"
6905           notion.
6906
6907 2003-03-08  John Levon  <levon@movementarian.org>
6908
6909         * text.C (leftMargin): The left margin of an empty
6910         manual label paragraph should not include the label width
6911         string length.
6912
6913         * text.C (prepareToPrint): don't attempt to measure hfills
6914         for empty manual label paragraphs - the answer should be 0
6915
6916 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * CutAndPaste.C: remove commented code and reindent.
6919
6920 2003-03-08  John Levon  <levon@movementarian.org>
6921
6922         * lyxfunc.h:
6923         * lyxfunc.C: move reloadBuffer()
6924
6925         * BufferView.h:
6926         * BufferView.C: to here
6927
6928         * lyxvc.C: add comment
6929
6930         * vc-backend.h:
6931         * vc-backend.C: call bv->reload() to avoid
6932           getStatus() check on MENURELOAD
6933
6934 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6935
6936         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6937         to an old format .dep file.
6938
6939 2003-03-07  Angus Leeming  <leeming@lyx.org>
6940
6941         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6942         when the LFUN_MOUSE_RELEASE should have been handled by
6943         inset->localDispatch.
6944
6945 2003-03-07  Angus Leeming  <leeming@lyx.org>
6946
6947         * BufferView_pimpl.C (dispatch):
6948         * LyXAction.C (init):
6949         * ToolbarDefaults.C (init):
6950         * commandtags.h:
6951         * lyxfunc.C (getStatus):
6952         remove LFUN_INSET_GRAPHICS.
6953
6954         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6955
6956 2003-03-07  Angus Leeming  <leeming@lyx.org>
6957
6958         * commandtags.h:
6959         * LyXAction.C (init):
6960         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6961
6962         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6963
6964         * commandtags.h:
6965         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6966
6967         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6968         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6969
6970 2003-03-07  Angus Leeming  <leeming@lyx.org>
6971
6972         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6973         remove "ert".
6974
6975 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * ParagraphList.C (front): new function
6978         (back): implement
6979
6980 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6981
6982         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6983         and top_row_offset_. removed var first_y.
6984         * text.C (top_y):
6985         * text2.C (LyXText, removeRow):
6986         * text3.C:
6987         * BufferView_pimpl.C:
6988         use these methods instead of using first_y
6989
6990 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * text2.C (pasteSelection): adjust for checkPastePossible
6993
6994         * CutAndPaste.C: remove Paragraph * buf and replace with
6995         ParagraphList paragraphs.
6996         (DeleteBuffer): delete
6997         (cutSelection): change the tc type to textclass_type
6998         (copySelection): change the tc type to textclass_type
6999         (copySelection): adjust for ParagraphList
7000         (pasteSelection): change the tc type to textclass_type
7001         (pasteSelection): adjust for Paragraphlist
7002         (nrOfParagraphs): simplify for ParagraphList
7003         (checkPastePossible): simplify for ParagraphList
7004         (checkPastePossible): remove unused arg
7005
7006         * ParagraphList.C (insert): handle the case where there are no
7007         paragraphs yet.
7008
7009         * CutAndPaste.h: make CutAndPaste a namespace.
7010
7011         * text3.C (dispatch): adjust
7012
7013         * text.C (breakParagraph): add a ParagraphList as arg
7014
7015         * paragraph_funcs.C (breakParagraph): change to take a
7016         BufferParams and a ParagraphList as args.
7017         (breakParagraphConservative): ditto
7018         (mergeParagraph): ditto
7019         (TeXDeeper): add a ParagraphList arg
7020         (TeXEnvironment): ditto
7021         (TeXOnePar): ditto
7022
7023         * buffer.C (readLyXformat2): adjust
7024         (insertStringAsLines): adjust
7025         (latexParagraphs): adjust
7026
7027         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7028         (cutSelection): adjust
7029         (pasteSelection): adjust
7030
7031         * BufferView_pimpl.C (insertInset): adjust
7032
7033 2003-03-05  Angus Leeming  <leeming@lyx.org>
7034
7035         * commandtags.h:
7036         * LyXAction.C (init):
7037         * BufferView_pimpl.C (dispatch):
7038         * lyxfunc.C (getStatus):
7039         remove LFUN_CHILD_INSERT.
7040
7041         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7042
7043 2003-03-05  Angus Leeming  <leeming@lyx.org>
7044
7045         * commandtags.h:
7046         * LyXAction.C (init):
7047         * src/factory.C (createInset):
7048         * lyxfunc.C (getStatus):
7049         * text3.C (dispatch):
7050         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7051
7052         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7053
7054 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * ParagraphList.C (insert): handle insert right before end()
7057         (erase): fix cases where it can be first or last paragraph.
7058
7059 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7062         Paragraph::next and Paragraph::previous
7063         (TeXOnePar): ditto
7064
7065         * text.C (breakParagraph): adjust
7066
7067         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7068         BufferParams& as arg.
7069         (breakParagraph): use ParagraphList::insert
7070         (breakParagraphConservative): take a Buffer* instead of a
7071         BufferParams& as arg.
7072         (breakParagraphConservative): use ParagraphList::insert.
7073
7074         * buffer.C (insertStringAsLines): un-const it
7075         (insertStringAsLines): adjust
7076
7077         * ParagraphList.C (insert): new function
7078
7079         * CutAndPaste.C (pasteSelection): adjust
7080
7081         * text.C (backspace): adjust
7082
7083         * tabular.C (SetMultiColumn): adjust
7084
7085         * CutAndPaste.C (cutSelection): adjust
7086         (pasteSelection): adjust
7087
7088         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7089         Buffer const * as arg
7090
7091         * ParagraphList.C (erase): new function
7092         * paragraph_funcs.C (mergeParagraph): use it
7093         (mergeParagraph): make it take a Buffer* instead of a
7094         BufferParams* as arg
7095
7096         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7097         as arg
7098         (breakParagraphConservative): ditto
7099
7100         * paragraph.h: remove the breakParagraph friend
7101
7102         * paragraph.C (eraseIntern): new function
7103         (setChange): new function
7104
7105         * paragraph_funcs.C (mergeParagraph): make it take a
7106         ParagraphList::iterator instead of a Paragraph *, adjust
7107         accordingly.
7108
7109         * paragraph.h: move an #endif so that the change tracking stuff
7110         also works in the NO_NEXT case.
7111
7112 2003-03-04  Angus Leeming  <leeming@lyx.org>
7113
7114         * commandtags.h:
7115         * LyXAction.C: new LFUN_INSET_MODIFY.
7116
7117         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7118         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7119
7120 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7121
7122         * several files: ws changes only
7123
7124         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7125         (TeXEnvironment): ditto
7126         (TeXDeeper): ditto
7127
7128         * buffer.C (makeLaTeXFile): adjust
7129         (latexParagraphs): make it take ParagraphList::iterator as args
7130
7131 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * buffer.C (latexParagraphs): adjust
7134
7135         * paragraph.C (TeXOnePar): move function...
7136         (optArgInset): move function...
7137         (TeXEnvironment): move function...
7138         * paragraph_pimpl.C (TeXDeeper): move function...
7139         * paragraph_funcs.C: ...here
7140
7141         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7142
7143 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * buffer.C (readInset): remove compability code for old Figure and
7146         InsetInfo insets
7147
7148 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * buffer.C: ws changes
7151         (readInset):
7152
7153         * BufferView_pimpl.C: ditto
7154         * author.C: ditto
7155         * buffer.h: ditto
7156         * bufferlist.h: ditto
7157         * changes.h: ditto
7158         * lyxfunc.C: ditto
7159
7160 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7161
7162         * converter.[Ch]: split into itself +
7163         * graph.[Ch]
7164         * format.[Ch]
7165         * Makefile.am: += graph.[Ch] + format.[Ch]
7166         * MenuBackend.C
7167         * buffer.C
7168         * exporter.C
7169         * importer.C
7170         * lyx_main.C
7171         * lyxfunc.C
7172         * lyxrc.C: added #include "format.h"
7173
7174 2003-02-27  Angus Leeming  <leeming@lyx.org>
7175
7176         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7177           a label.
7178
7179         * factory.C (createInset): add "label" to the factory.
7180
7181         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7182           string and do no more.
7183
7184 2003-02-27  Angus Leeming  <leeming@lyx.org>
7185
7186         * commandtags.h:
7187         * LyXAction.C (init):
7188         * factory.C (createInset):
7189         * BufferView_pimpl.C (dispatch):
7190           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7191
7192         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7193
7194         * lyxfunc.C (dispatch):
7195         * text3.C (dispatch): pass name to params2string.
7196
7197 2003-02-26  Angus Leeming  <leeming@lyx.org>
7198
7199         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7200           blocks together.
7201           Rearrange the ~includes. Strip out the unnecessary ones.
7202
7203         * factory.C (createInset): reformat.
7204           create new insets for the various LFUN_XYZ_APPLY lfuns.
7205
7206 2003-02-26  John Levon  <levon@movementarian.org>
7207
7208         * lyxrow.h:
7209         * lyxrow.C: add isParStart,isParEnd helpers
7210
7211         * paragraph.h: make isInserted/DeletedText take refs
7212
7213         * paragraph_funcs.h:
7214         * paragraph_funcs.C: remove #if 0'd code
7215
7216         * lyxtext.h:
7217         * text3.C:
7218         * text2.C:
7219         * text.C: use lyxrow helpers above.
7220           Move draw and paint routines to RowPainter.
7221           Make several methods use refs not pointers.
7222           Make backgroundColor() const.
7223           Add markChangeInDraw(), isInInset().
7224           Merge changeRegionCase into changeCase.
7225           Make workWidth() shouldn't-happen code into an Assert.
7226
7227         * rowpainter.h:
7228         * rowpainter.C: new class for painting a row.
7229
7230         * vspace.h:
7231         * vspace.C: make inPixels take a ref
7232
7233 2003-02-26  Angus Leeming  <leeming@lyx.org>
7234
7235         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7236         LFUN_REF_APPLY.
7237
7238 2003-02-25  John Levon  <levon@movementarian.org>
7239
7240         * ispell.C: give the forked command a more accurate name
7241
7242 2003-02-22  John Levon  <levon@movementarian.org>
7243
7244         * toc.h:
7245         * toc.C: make TocItem store an id not a Paragraph *
7246           (bug #913)
7247
7248 2003-02-21  Angus Leeming  <leeming@lyx.org>
7249
7250         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7251           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7252           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7253           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7254           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7255           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7256
7257         * BufferView_pimpl.C (dispatch):
7258         * LyXAction.C (init):
7259         * factory.C (createInset):
7260         * lyxfunc.C (getStatus, dispatch):
7261         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7262
7263 2003-02-21  Angus Leeming  <leeming@lyx.org>
7264
7265         * BufferView_pimpl.C (MenuInsertLyXFile):
7266         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7267         * lyxfunc.C (menuNew, open, doImport):
7268           no longer pass a LyXView & to fileDlg.
7269
7270 2003-02-21  Angus Leeming  <leeming@lyx.org>
7271
7272         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7273         * LyXAction.C: change, BIBKEY to BIBITEM.
7274         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7275         Change InsetBibKey to InsetBibitem.
7276         Change BIBKEY_CODE to BIBITEM_CODE.
7277         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7278         * factory.C: replace insetbib.h with insetbibitem.h.
7279         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7280         * paragraph.C: replace insetbib.h with insetbibitem.h.
7281         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7282         Change bibkey() to bibitem().
7283         * text.C: remove insetbib.h.
7284         * text2.C: replace insetbib.h with insetbibitem.h.
7285         change bibkey() to bibitem().
7286         * text3.C: remove insetbib.h.
7287         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7288
7289 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7290
7291         * lyxrc.C (output): enclose user email in quotes (in case there are
7292         several words)
7293
7294 2003-02-18  John Levon  <levon@movementarian.org>
7295
7296         * buffer.h: add std::
7297
7298 2003-02-17  John Levon  <levon@movementarian.org>
7299
7300         * SpellBase.h:
7301         * ispell.h:
7302         * ispell.C:
7303         * pspell.h:
7304         * pspell.C: reworking. Especially in ispell, a large
7305           number of clean ups and bug fixes.
7306
7307         * lyxfunc.C: fix revert to behave sensibly
7308
7309 2003-02-17 André Pönitz <poenitz@gmx.net>
7310
7311         * LyXAction.C:
7312         * commandtags.h: new LFUN_INSERT_BIBKEY
7313
7314         * layout.h:
7315         * lyxlayout.C:
7316         * buffer.C:
7317         * factory.C:
7318         * text.C:
7319         * text2.C:
7320         * text3.C:
7321         * paragraph.[Ch]:
7322         * paragraph_func.C: remove special bibkey handling
7323
7324 2003-02-17  John Levon  <levon@movementarian.org>
7325
7326         * text.C (Delete): fix case where delete at the end of
7327           the very first paragraph would not merge the pars
7328
7329 2003-02-17  John Levon  <levon@movementarian.org>
7330
7331         * lyxrow.C: fix lastPrintablePos()
7332
7333 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7334
7335         * bufferparams.C (writeLaTeX): add a std:here
7336
7337         * buffer.C: and remove a using directive there
7338
7339 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7340
7341         * buffer.C (makeLaTeXFile): move the code that generates the
7342           preamble...
7343
7344         * bufferparams.C (writeLaTeX): ... in this new method
7345
7346         * LaTeXFeatures.C (getEncodingSet): make const
7347           (getLanguages): make const
7348
7349         * MenuBackend.C (binding): returns the binding associated to this
7350           action
7351           (add): sets the status of each item by calling getStatus. Adds
7352           some intelligence.
7353           (read): add support for OptSubMenu
7354           (expand): remove extra separator at the end of expanded menu
7355
7356 2003-02-15  John Levon  <levon@movementarian.org>
7357
7358         * BufferView.C:
7359         * BufferView_pimpl.C:
7360         * bufferlist.h:
7361         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7362           inset code that had no actual effect. Remove unneeded status
7363           code.
7364
7365 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7366
7367         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7368           in preamble
7369
7370 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7371
7372         * text.C (drawLengthMarker): also draw an arrow marker for
7373           symbolic lengths (medskip...)
7374
7375 2003-02-14  John Levon  <levon@movementarian.org>
7376
7377         * tabular.h:
7378         * tabular.C: better method names
7379
7380 2003-02-14  John Levon  <levon@movementarian.org>
7381
7382         * BufferView_pimpl.C:
7383         * bufferlist.C:
7384         * buffer.C:
7385         * converter.C:
7386         * lyx_cb.C:
7387         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7388           it's a more accurate name. Remove some pointless uses.
7389
7390 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7391
7392         * text2.C (LyXText): change order of initilizers to shut off
7393           warnings
7394
7395 2003-02-14  John Levon  <levon@movementarian.org>
7396
7397         * buffer.C: use ParIterator for getParFromID()
7398
7399         * paragraph.h:
7400         * paragraph.C:
7401         * paragraph_pimpl.h:
7402         * paragraph_pimpl.C: remove unused getParFromID()
7403
7404 2003-02-14  John Levon  <levon@movementarian.org>
7405
7406         * buffer.C: remove some very old #if 0'd parse code
7407
7408 2003-02-13  John Levon  <levon@movementarian.org>
7409
7410         * text.h:
7411         * text.C:
7412         * text2.C: move hfillExpansion(), numberOfSeparators(),
7413           rowLast(), rowLastPrintable(), numberofHfills(),
7414           numberOfLabelHfills() ...
7415
7416         * lyxrow.h:
7417         * lyxrow.C: ... to member functions here.
7418
7419         * paragraph.h:
7420         * paragraph.C:
7421         * lyxtext.h:
7422         * text.C: remove LyXText::beginningOfMainBody(), and call
7423           p->beginningOfMainBody() directly. Move the check for
7424           LABEL_MANUAL into the latter.
7425
7426         * text.h:
7427         * text.C:
7428         * text2.C:
7429         * vspace.C:
7430         * BufferView.h:
7431         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7432
7433         * text.h:
7434         * text.C:
7435         * text2.C:
7436         * text3.C:
7437         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7438           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7439
7440 2003-02-13  John Levon  <levon@movementarian.org>
7441
7442         * CutAndPaste.C: remove debug
7443
7444 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7445
7446         * paragraph.C (asString): remove two unused variables
7447
7448         * lyxtextclass.C (readTitleType):
7449           (Read):
7450           (LyXTextClass): handle new members titletype_ and titlename_
7451
7452         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7453
7454 2003-02-09  John Levon  <levon@movementarian.org>
7455
7456         * buffer.h:
7457         * buffer.C: replace hand-coded list with a map for the dep clean
7458
7459 2003-02-08  John Levon  <levon@movementarian.org>
7460
7461         * LaTeX.C: consolidate code into showRunMessage() helper
7462
7463 2003-02-08  John Levon  <levon@movementarian.org>
7464
7465         * lyxfind.C:
7466         * lyxtext.h:
7467         * text2.C:
7468         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7469           and pass the size in explicitly
7470
7471         * BufferView_pimpl.h:
7472         * BufferView_pimpl.C:
7473         * BufferView.h:
7474         * BufferView.C: add getCurrentChange()
7475
7476         * BufferView_pimpl.h:
7477         * BufferView_pimpl.C: handle change lfuns
7478
7479         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7480           for changes. Mark pasted paragraphs as new.
7481
7482         * support/lyxtime.h:
7483         * support/lyxtime.C:
7484         * DepTable.C: abstract time_t as lyx::time_type
7485
7486         * LColor.h:
7487         * LColor.C: add colours for new text, deleted text, changebars
7488
7489         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7490           package use "usenames" option.
7491
7492         * commandtags.h:
7493         * lyxfunc.C:
7494         * LyXAction.C: add change lfuns
7495
7496         * Makefile.am:
7497         * author.h:
7498         * author.C: author handling
7499
7500         * buffer.h:
7501         * buffer.C: add a per-buffer author list, with first entry as
7502           current author. Handle new .lyx tokens for change tracking. Output
7503           author list to .lyx file. Output dvipost stuff to .tex preamble.
7504           Bump lyx format to 222.
7505
7506         * bufferlist.h:
7507         * bufferlist.C: add setCurrentAuthor() to reset current author details
7508           in all buffers.
7509
7510         * bufferparams.h:
7511         * bufferparams.C: add param for tracking
7512
7513         * bufferview_funcs.C: output change info in minibuffer
7514
7515         * Makefile.am:
7516         * changes.h:
7517         * changes.C: add change-tracking structure
7518
7519         * debug.h:
7520         * debug.C: add CHANGES debug flag
7521
7522         * lyxfind.h:
7523         * lyxfind.C: add code for finding the next change piece
7524
7525         * lyxrc.h:
7526         * lyxrc.C: add user_name and user_email
7527
7528         * lyxrow.h:
7529         * lyxrow.C: add a metric for the top of the text line
7530
7531         * lyxtext.h:
7532         * text.C: implement accept/rejectChange()
7533
7534         * lyxtext.h:
7535         * text.C: paint changebars. Paint new/deleted text in the chosen
7536         colours. Strike through deleted text.
7537
7538         * paragraph.h:
7539         * paragraph.C:
7540         * paragraph_pimpl.h:
7541         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7542           in the current change to the insert functions. Rework erase to
7543           mark text as deleted, adding an eraseIntern() and a range-based
7544           erase(). Implement per-paragraph change lookup and
7545           accept/reject.
7546
7547         * paragraph_funcs.C: Fixup paste for change tracking.
7548
7549         * tabular.C: mark added row/columns as new.
7550
7551         * text.C: fix rowLast() to never return -1. Don't allow
7552           spellchecking of deleted text. Track transpose changes. Don't
7553           allow paragraph break or merge where appropriate.
7554
7555         * text2.C: leave cursor at end of selection after a cut.
7556
7557 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7558
7559         * text.C (getLengthMarkerHeight):
7560         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7561         visible on screen too.
7562
7563 2003-02-07  John Levon  <levon@movementarian.org>
7564
7565         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7566
7567 2003-02-05  Angus Leeming  <leeming@lyx.org>
7568
7569         * lyxserver.C (read_ready): revert my patch of 11 September last year
7570         as it sends PC cpu through the roof. Presumably this means that
7571         the lyxserver will no longer run on an Alpha...
7572
7573 2003-01-30  Angus Leeming  <leeming@lyx.org>
7574
7575         * factory.C (createInset): create an InsetCommandParam of type "index"
7576         and use it to 'do the right thing'.
7577
7578         * text2.C (getStringToIndex): ensure that cursor position is always
7579         reset to the reset_cursor position.
7580
7581 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7582
7583         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7584         disabled.
7585
7586 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7587
7588         * bufferview.C:
7589         * lyxcb.C:
7590         * lyxfunc.C: Output messages with identical spelling, punctuation,
7591         and spaces
7592
7593 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7594
7595         * MenuBackend.C (expandFormats): List only viewable export formats
7596         in "View" menu
7597
7598         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7599         message
7600
7601         * lyxfunc.C (getStatus): Make sure that formats other than
7602         "fax" can also be disabled
7603
7604 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7605
7606         * text3.C (dispatch): put the lfuns that insert insets in 3
7607         groups, and call doInsertInset with appropriate arguments.
7608         (doInsertInset): new function, that creates an inset and inserts
7609         it according to some boolean parameters.
7610
7611 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * buffer.C (readFile): remember to pass on 'par' when calling
7614         readFile recursively.
7615
7616 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7617
7618         * MenuBackend.C (expandFormats): add "..." to import formats.
7619
7620 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7621
7622         * paragraph.C (asString): Remove XForms RTL hacks.
7623
7624 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7625         * buffer.C: fix typo
7626
7627 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * Makefile.am (LIBS): delete var
7630         (lyx_LDADD): add @LIBS@ here instead.
7631
7632 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7633
7634         * Clarify the meaning of "wheel mouse jump"
7635
7636 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7637
7638         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7639         tabular in a float
7640
7641 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7642
7643         * importer.C (Loaders): do not preallocate 3 elements in the
7644         vector, since one ends up with 6 elements otherwise
7645
7646 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7647
7648         * DepTable.C (write): write the file name as last element of the
7649         .dep file (because it may contain spaces)
7650         (read): read info in the right order
7651
7652 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * paragraph_pimpl.C (simpleTeXBlanks):
7655         (simpleTeXSpecialChars):
7656         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7657
7658         * tabular.C (latex): add some missing case statements. Reindent.
7659
7660         * MenuBackend.C (expandToc): remove unused variable.
7661
7662 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7663
7664         * LColor.C:
7665         * LaTeX.C:
7666         * LyXAction.C:
7667         * MenuBackend.C:
7668         * buffer.C:
7669         * exporter.C:
7670         * lyxfunc.C:
7671         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7672         and the like.
7673
7674 2003-01-05  John Levon  <levon@movementarian.org>
7675
7676         * BufferView.h:
7677         * BufferView.C: add getEncoding()
7678
7679         * kbsequence.h:
7680         * kbsequence.C: do not store last keypress
7681
7682         * lyxfunc.h:
7683         * lyxfunc.C: store last keypress here instead. Pass encoding
7684           to getISOEncoded()
7685
7686 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7687
7688         * lyx_main.C (init): remove annoying error message when following
7689         symbolic links (bug #780)
7690
7691 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7692
7693         * text.C (insertChar):
7694         * lyxrc.C (getDescription): remove extra spaces
7695
7696 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7697
7698         * lyxrc.C (getDescription): remove extra spaces
7699
7700 2002-12-20  John Levon  <levon@movementarian.org>
7701
7702         * text3.C: hack fix for page up/down across tall rows
7703
7704 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7705
7706         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7707         not been invoked
7708
7709 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7710
7711         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7712         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7713         thesaurus is not compiled in
7714
7715 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7716
7717         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7718
7719 2002-12-16  Angus Leeming  <leeming@lyx.org>
7720
7721         * lyxrc.[Ch]:
7722         * lyx_main.C (init): remove override_x_deadkeys stuff.
7723
7724 2002-12-12  John Levon  <levon@movementarian.org>
7725
7726         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7727           insert. Only remove shift modifier under strict
7728           circumstances.
7729
7730 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * MenuBackend.C (expandToc): fix crash.
7733
7734 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * MenuBackend.C (expandToc): gettext on float names.
7737
7738 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7739
7740         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7741         implement bool empty() [bug 490]
7742
7743 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7746
7747 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * several files: ws changes
7750
7751 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * text2.C (setCounter): clean up a bit, use boost.format.
7754         (updateCounters): initialize par upon declaration.
7755
7756         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7757         if the layout exists. We do not just store the layout any more.
7758         (SwitchLayoutsBetweenClasses): use boost.format
7759
7760 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7761
7762         * converter.C (convert): if from and to files are the same, use a
7763         temporary files as intermediary
7764
7765 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7766
7767         * commandtags.h:
7768         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7769
7770 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7773
7774 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * tabular.C (asciiPrintCell): use string(size, char) instead of
7777         explicit loop.
7778
7779         * sgml.C (openTag): fix order of arguments to string constructor
7780         (closeTag): ditto
7781
7782         * lyxfunc.C (dispatch): use boost.format
7783
7784         * lots of files: change "c" -> 'c'
7785
7786 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7787
7788         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7789
7790 2002-11-25  Angus Leeming  <leeming@lyx.org>
7791
7792         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7793
7794         * lyx_main.C (init): compile fix.
7795
7796 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * lyx_cb.C (start): boost.formatify
7799         do not include <iostream>
7800
7801         * lengthcommon.C: ws only
7802
7803         * boost-inst.C,BoostFormat.h: add more explict instantations
7804
7805 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * lots of files: handle USE_BOOST_FORMAT
7808
7809 2002-11-21  John Levon  <levon@movementarian.org>
7810
7811         * pspell.C: fix compile
7812
7813 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7814
7815         * lyxfunc.C (dispatch): use boost::format
7816         (open): ditto
7817         (doImport): ditto
7818
7819         * lyxfont.C (stateText): use boost::format
7820
7821         * lyx_main.C (LyX): use boost::format
7822         (init): ditto
7823         (queryUserLyXDir): ditto
7824         (readRcFile): ditto
7825         (parse_dbg): ditto
7826         (typedef boost::function): use the recommened syntax.
7827
7828         * importer.C (Import): use boost::format
7829
7830         * debug.C (showLevel): use boost::format
7831
7832         * converter.C (view): use boost::format
7833         (convert): ditto
7834         (move): ditto
7835         (scanLog): ditto
7836
7837         * bufferview_funcs.C (currentState): use boost::format
7838
7839         * bufferlist.C (emergencyWrite): use boost::format
7840
7841         * buffer.C (readLyXformat2): use boost::format
7842         (parseSingleLyXformat2Token): ditto
7843
7844         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7845
7846         * LaTeX.C (run): use boost::format
7847
7848         * Chktex.C (scanLogFile): use boost::format
7849
7850         * BufferView_pimpl.C (savePosition): use boost::format
7851         (restorePosition): ditto
7852         (MenuInsertLyXFile): ditto
7853
7854         * BoostFormat.h: help file for explicit instation.
7855
7856 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7857
7858         * tabular.C (latex): Support for block alignment in fixed width
7859         columns.
7860
7861 2002-11-17  John Levon  <levon@movementarian.org>
7862
7863         * BufferView_pimpl.C:
7864         * lyx_cb.C:
7865         * lyxfunc.C: split filedialog into open/save
7866
7867 2002-11-08  Juergen Vigna  <jug@sad.it>
7868
7869         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7870         by my last patch (hopefully).
7871
7872 2002-11-08  John Levon  <levon@movementarian.org>
7873
7874         * iterators.h:
7875         * iterators.C:
7876         * buffer.h:
7877         * buffer.C:
7878         * paragraph.h:
7879         * paragraph.C:
7880         * toc.h:
7881         * toc.C: ParConstIterator, and use it (from Lars)
7882
7883 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7884
7885         * lyxtextclass.[Ch]: revise and add doxygen comments
7886
7887 2002-11-07  John Levon  <levon@movementarian.org>
7888
7889         * text.C: fix progress value for spellchecker
7890
7891         * toc.C: fix navigate menu for insetwrap inside minipage
7892
7893         * paragraph_funcs.C: added FIXME for suspect code
7894
7895 2002-11-07  John Levon  <levon@movementarian.org>
7896
7897         * BufferView_pimpl.C: fix redrawing of insets
7898           on buffer switch
7899
7900 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7901
7902         * text2.C (updateCounters): fix bug 668
7903
7904 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7905
7906         * text3.C (dispatch): Do not make the buffer dirty when moving the
7907         cursor.
7908
7909 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * vc-backend.C: STRCONV
7912         (scanMaster): ditto
7913
7914         * text2.C (setCounter): STRCONV
7915
7916         * paragraph.C (asString): STRCONV
7917
7918         * lyxlength.C (asString): STRCONV
7919         (asLatexString): ditto
7920
7921         * lyxgluelength.C (asString): STRCONV
7922         (asLatexString): ditto
7923
7924         * lyxfunc.C (dispatch): STRCONV
7925         (open): ditto
7926
7927         * lyxfont.C (stateText): STRCONV
7928
7929         * importer.C (Import): STRCONV
7930
7931         * counters.C (labelItem): STRCONV
7932         (numberLabel): ditto
7933         (numberLabel): remove unused ostringstream o
7934
7935         * chset.C: STRCONV
7936         (loadFile): ditto
7937
7938         * bufferview_funcs.C (currentState): STRCONV
7939
7940         * buffer.C (readFile): STRCONV
7941         (asciiParagraph): ditto
7942         (makeLaTeXFile): ditto
7943
7944         * Spacing.C (writeEnvirBegin): STRCONV
7945
7946         * LaTeXFeatures.C (getLanguages): STRCONV
7947         (getPackages): ditto
7948         (getMacros): ditto
7949         (getBabelOptions): ditto
7950         (getTClassPreamble): ditto
7951         (getLyXSGMLEntities): ditto
7952         (getIncludedFiles): ditto
7953
7954         * LaTeX.C: STRCONV
7955         (run): ditto
7956         (scanAuxFile): ditto
7957         (deplog): ditto
7958
7959         * LString.h: add the STRCONV macros
7960
7961         * BufferView_pimpl.C (savePosition): STRCONV
7962         (restorePosition): ditto
7963         (MenuInsertLyXFile): ditto
7964
7965         * vc-backend.C (scanMaster): change from submatch[...] to
7966         submatch.str(...)
7967
7968         * funcrequest.C: include config.h
7969
7970         * factory.C: include config.h
7971
7972         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7973
7974         * box.C: include config.h
7975
7976         * LaTeX.C (scanAuxFile): change from submatch[...] to
7977         submatch.str(...)
7978         (deplog): ditto
7979
7980 2002-10-25  Angus Leeming  <leeming@lyx.org>
7981
7982         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7983
7984         * ispell.[Ch] (setError): new method.
7985         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7986         Use setError() insetead of goto END.
7987
7988         * lyx_cb.C (AutoSave): move out child process into new class
7989         AutoSaveBuffer.
7990
7991 2002-10-30  John Levon  <levon@movementarian.org>
7992
7993         * text3.C: make start appendix undoable
7994
7995 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7996
7997         * lyxlength.C (inPixels): Fix returned value.
7998
7999         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8000         environment.
8001
8002 2002-10-24  Angus Leeming  <leeming@lyx.org>
8003
8004         * lyxgluelength.h: no need to forward declare BufferParams
8005         or BufferView, so don't.
8006
8007 2002-10-21  John Levon  <levon@movementarian.org>
8008
8009         * BufferView.C: menuUndo ->undo, redo
8010
8011         * BufferView.h: document, remove dead, make some methods private
8012
8013         * paragraph_funcs.h:
8014         * paragraph_funcs.C:
8015         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8016
8017         * buffer.h:
8018         * buffer.C:
8019         * sgml.h:
8020         * sgml.C: move sgml open/close tag into sgml.C
8021
8022         * bufferview_funcs.h: unused prototype
8023
8024         * lyxfunc.h:
8025         * lyxfunc.C: remove unused
8026
8027         * lyxtext.h:
8028         * text.C: remove unused
8029
8030 2002-10-21  John Levon  <levon@movementarian.org>
8031
8032         * BufferView.h:
8033         * BufferView.C:
8034         * BufferView_pimpl.h:
8035         * BufferView_pimpl.C: fix mouse wheel handling based on
8036           patch from Darren Freeman
8037
8038 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8039
8040         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8041
8042 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8043
8044         * lyxlength.C (inPixels): Fix hanfling of negative length.
8045         Fix LyXLength::MU case.
8046
8047 2002-10-16  John Levon  <levon@movementarian.org>
8048
8049         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8050
8051 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8052
8053         * converter.C (view): add support for $$i (file name) and $$p
8054         (file path) for the viewer command. If $$i is not specified, then
8055         it is appended to the command (for compatibility with old syntax)
8056
8057 2002-10-14  Juergen Vigna  <jug@sad.it>
8058
8059         * undo_funcs.C (textHandleUndo): alter the order in which the
8060         new undopar is added to the LyXText, as we have to set first
8061         the right prev/next and then add it as otherwise the rebuild of
8062         LyXText is not correct. Also reset the cursor to the right paragraph,
8063         with this IMO we could remove the hack in "redoParagraphs()".
8064
8065 2002-10-09  Angus Leeming  <leeming@lyx.org>
8066
8067         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8068         to turn off an optimisation if a new inset is to be inserted.
8069
8070 2002-10-11 André Pönitz <poenitz@gmx.net>
8071
8072         * lyxtext.h: make some functions public to allow access
8073         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8074
8075 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8076
8077         * text3.C (dispatch): when changing layout, avoid an infinite loop
8078         [bug #652]
8079
8080 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8081
8082         * lyxrc.C (read): treat a viewer or converter command of "none" as
8083         if it were empty.
8084
8085         * MenuBackend.C (expandFormats): for an update, also allow the
8086         formats that are not viewable
8087
8088         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8089         script if it is newer than the lyxrc.defaults in user directory
8090
8091 2002-10-07 André Pönitz <poenitz@gmx.net>
8092
8093         * text.C: Vitaly Lipatov's small i18n fix
8094
8095 2002-09-25  Angus Leeming  <leeming@lyx.org>
8096
8097         * ispell.h: doxygen fix.
8098
8099 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8100
8101         * buffer.h (readFile): Add a new argument to the method, to allow
8102         reading of old-format templates.
8103
8104 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8105
8106         * toc.C (getTocList): Get TOC from InsetWrap.
8107
8108 2002-09-16  John Levon  <levon@movementarian.org>
8109
8110         * lyxfunc.C: check tabular for cut/copy too
8111
8112 2002-09-12  John Levon  <levon@movementarian.org>
8113
8114         * LyXAction.C: tidy
8115
8116         * factory.h:
8117         * factory.C: add header
8118
8119         * paragraph_funcs.h:
8120         * paragraph_funcs.C: cleanup
8121
8122 2002-09-11  John Levon  <levon@movementarian.org>
8123
8124         * PrinterParams.h: odd/even default to true
8125
8126 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8127
8128         * PrinterParams.h: update printer parameters for new xforms dialog
8129
8130 2002-09-11  Angus Leeming  <leeming@lyx.org>
8131
8132         * lyxserver.C (read_ready): re-write to make it more transparent
8133         and to make it work in coherent fashion under Tru64 Unix.
8134
8135 2002-09-11  André Pönitz <poenitz@gmx.net>
8136
8137         * commandtags.h:
8138         * LyXAction.C:
8139         * text3.C: implement LFUN_WORDSEL
8140
8141 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8144         make floatlist_ a boost::shared_ptr<FloatList>
8145
8146         * lyxtextclass.C: include FloatList.h
8147         (LyXTextClass): initialize floatlist_
8148         (TextClassTags): add TC_NOFLOAT
8149         (Read): match "nofloat" to TC_NOFLOAT and use it.
8150         (readFloat): modify call to floatlist_
8151         (floats): ditto
8152         (floats): ditto
8153
8154         * FloatList.[Ch] (FloatList): remove commented out float
8155         initialization.
8156         (erase): new function
8157
8158 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8159
8160         * MenuBackend.C (expandToc): fix crash when there is no document
8161         open
8162
8163 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8164
8165         * many files: Add insetwrap.
8166
8167 2002-09-09  John Levon  <levon@movementarian.org>
8168
8169         * text2.C: remove confusing and awkward depth wraparound
8170
8171 2002-09-09  John Levon  <levon@movementarian.org>
8172
8173         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8174
8175         * buffer.h:
8176         * buffer.C: remove getIncludeonlyList()
8177
8178         * paragraph.C:
8179         * lyxfunc.C: remove headers
8180
8181 2002-09-09  Juergen Vigna  <jug@sad.it>
8182
8183         * text.C (getColumnNearX): fix form Michael this is most
8184         probably a cut&paste bug.
8185
8186 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8189
8190         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8191         references, ws changes.
8192
8193         * text2.C (init): update counters after init
8194         (insertParagraph): no need to set counter on idividual paragraphs.
8195         (setCounter): access the counters object in the textclass object
8196         on in the buffer object.
8197         (updateCounters): ditto
8198
8199         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8200         shared_ptr<Counters> to avoid loading counters.h in all
8201         compilation units.
8202         (LyXTextClass): initialize ctrs_
8203         (TextClassTags): add TC_COUNTER, and ...
8204         (Read): use it here.
8205         (CounterTags): new tags
8206         (readCounter): new function
8207         (counters): new funtion
8208         (defaultLayoutName): return a const reference
8209
8210         * counters.C (Counters): remove contructor
8211         (newCounter): remove a couple of unneeded statements.
8212         (newCounter): simplify a bit.
8213         (numberLabel): some small formatting changes.
8214
8215         * buffer.[Ch]: remove all traces of counters, move the Counters
8216         object to the LyXTextClass.
8217
8218 2002-09-06  Alain Castera  <castera@in2p3.fr>
8219
8220         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8221         package to set the horizontal alignment on fixed width columns.
8222
8223         * lyx_sty.C:
8224         * lyx_sty.h: added tabularnewline macro def.
8225
8226         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8227
8228 2002-09-06  John Levon  <levon@movementarian.org>
8229
8230         * LyXAction.C: tooltips for sub/superscript
8231
8232         * MenuBackend.C: a bit more verbose
8233
8234         * lyxfunc.C: tiny clean
8235
8236         * undo_funcs.C: document undo_frozen
8237
8238 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * counters.C (Counters): add missing algorithm counter.
8241
8242         * text2.C (setCounter): lookup the counter with layouts latexname
8243         instead of by section number.
8244         (setCounter): use a hackish way to lookup the correct enum
8245         counter.
8246         a float name->type change
8247         reset enum couners with counter name directly instead of depth value.
8248
8249         * counters.C (Counters): remove the push_backs, change to use the
8250         float type not the float name.
8251         (labelItem): remove unused string, float name->type change
8252
8253         * counters.h: don't include vector, loose the enums and sects vectors
8254
8255 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8258         (Read): add float->TC_FLOAT to textclassTags
8259         (Read): and handle it in the switch
8260         (readFloat): new function
8261
8262         * FloatList.C (FloatList): comment out the hardcoded float
8263         definitions.
8264
8265         * lyxlayout.h: ws change.
8266
8267 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8268
8269         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8270
8271 2002-09-03  Angus Leeming  <leeming@lyx.org>
8272
8273         * BufferView_pimpl.h: qualified name is not allowed in member
8274         declaration: WorkArea & Pimpl::workarea() const;
8275
8276         * factory.C: added using std::endl directive.
8277
8278         * text3.C: added using std::find and std::vector directives.
8279
8280 2002-08-29  André Pönitz <poenitz@gmx.net>
8281
8282         * lyxtext.h:
8283         * text2.C: remove unused member number_of_rows
8284
8285         * Makefile.am:
8286         * BufferView2.C: remove file, move contents to...
8287         * BufferView.C: ... here
8288
8289         * BufferView_pimpl.C:
8290         * factory.C: move more inset creation to factory
8291
8292         * vspace.C: avoid direct usage of LyXText, ws changes
8293
8294         * BufferView.[Ch]:
8295                 don't provide direct access to WorkArea, use two simple
8296                 acessors haveSelction() and workHeight() instead
8297
8298
8299 2002-08-29  John Levon  <levon@movementarian.org>
8300
8301         * BufferView_pimpl.C (dispatch): do not continue when
8302           no buffer
8303
8304 2002-08-28  André Pönitz <poenitz@gmx.net>
8305
8306         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8307
8308         * BufferView.h:
8309         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8310
8311 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8312
8313         * buffer.C: increment LYX_FORMAT to 221
8314
8315         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8316         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8317
8318         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8319
8320         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8321
8322 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8323
8324         * factory.C (createInset): use LyXTextClass::floats
8325
8326         * MenuBackend.C (expandFloatListInsert):
8327         (expandFloatInsert):
8328         (expandToc):
8329
8330         * text2.C (setCounter):
8331
8332         * LaTeXFeatures.C (useFloat):
8333         (getFloatDefinitions):
8334
8335         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8336
8337         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8338         floatlist_, with accessor floats().
8339
8340         * FloatList.h: remove global FloatList
8341
8342 2002-08-26  André Pönitz <poenitz@gmx.net>
8343
8344         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8345
8346         * BufferView.h:
8347         * BufferView2.C:
8348         * BufferView_pimpl.C:
8349         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8350
8351 2002-08-25  John Levon  <levon@movementarian.org>
8352
8353         * LyXAction.C: fix margin note description
8354
8355 2002-08-24  John Levon  <levon@movementarian.org>
8356
8357         * buffer.C:
8358         * bufferlist.C:
8359         * bufferview_funcs.C:
8360         * lyxfont.C:
8361         * undo_funcs.C: cleanups
8362
8363         * lyxfunc.C: disable CUT/COPY when no selection
8364
8365 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8366
8367         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8368         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8369
8370         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8371         Add backward compatibility to "mono", "gray" and "no".
8372
8373 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8374
8375         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8376         (and file_format >= 200).
8377
8378 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8379
8380         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8381
8382 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8385
8386 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8387
8388         * BufferView_pimpl.C:
8389         * LyXAction.C:
8390         * buffer.C:
8391         * commandtags.h:
8392         * lyxfunc.C:
8393         * paragraph.[Ch]:
8394         * text2.C:
8395         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8396         inset and code to make it  work with the paragraph code. The inset
8397         can be anywhere in the paragraph, but will only do the expected
8398         thing in LaTeX if the layout file contains the parameter line
8399                         OptionalArgs    1
8400         (or more generally, a nonzero value) for that layout.
8401
8402 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * paragraph.h: remove the declaration of undefined counters class
8405         function.
8406
8407 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8408
8409         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8410         Dr. Richard Hawkins.
8411
8412 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8413
8414         * paragraph_funcs.h: remove some unneeded includes
8415
8416         * text.C (backspace): pasteParagraph now in global scipe
8417
8418         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8419         (pasteSelection): ditto
8420
8421         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8422         * paragraph_funcs.C (pasteParagraph): ... here
8423
8424 2002-08-20  André Pönitz <poenitz@gmx.net>
8425
8426         * commandtags.h: new LFUNs for swapping/copying table row/colums
8427
8428         * LyXAction.C:
8429         * lyxfunc.C: support for new lfuns
8430
8431 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * tabular.C:
8434         * buffer.[Ch]: remove NO_COMPABILITY stuff
8435
8436 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * boost.C (throw_exception): new file, with helper function for
8439         boost compiled without exceptions.
8440
8441         * paragraph.h:
8442         * lyxlength.C:
8443         * buffer.C:
8444         * ParameterStruct.h:
8445         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8446
8447         * bufferlist.C (emergencyWriteAll): use boost bind
8448
8449         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8450
8451         * text.C: include paragraph_funcs.h
8452         (breakParagraph): breakParagraph is now in global scope
8453
8454         * paragraph_funcs.[Ch]: new files
8455
8456         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8457         global scope
8458
8459         * buffer.C: include paragraph_funcs.h
8460         (insertStringAsLines): breakParagraph is now in global scope
8461
8462         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8463         paragraph_funcs.C
8464
8465         * CutAndPaste.C: include paragraph_funcs.h
8466         (cutSelection): breakParagraphConservative is now in global scope
8467         (pasteSelection): ditto
8468
8469         * buffer.h: declare oprator== and operator!= for
8470         Buffer::inset_iterator
8471
8472         * bufferlist.C (emergencyWrite): don't use fmt(...)
8473
8474         * text3.C: add using std::endl
8475
8476         * BufferView.C (moveCursorUpdate): remove default arg
8477
8478 2002-08-20  André Pönitz <poenitz@gmx.net>
8479
8480         * buffer.[Ch]: move inline functions to .C
8481
8482         * BufferView2.C:
8483         * BufferView_pimpl.C:
8484         * text.C:
8485         * buffer.[Ch]: use improved inset_iterator
8486
8487         * buffer.C:
8488         * paragraph.[Ch]: write one paragraph at a time
8489
8490 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8491
8492         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8493         style if style is not specified.
8494
8495 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * text2.C (setCounter): when searching for right label for a
8498         caption, make sure to recurse to parent insets (so that a caption
8499         in a minipage in a figure float works) (bug #568)
8500
8501 2002-08-20  André Pönitz <poenitz@gmx.net>
8502
8503         * text3.C: new file for LyXText::dispatch() and helpers
8504
8505         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8506
8507         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8508
8509 2002-08-19  André Pönitz <poenitz@gmx.net>
8510
8511         * lyxtext.h:
8512         * text.C: new LyXText::dispatch()
8513
8514         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8515
8516 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8517
8518         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8519
8520         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8521         Hebrew text.
8522
8523 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * Makefile.am: use $(variables) instead of @substitutions@
8526
8527 2002-08-15  André Pönitz <poenitz@gmx.net>
8528
8529         * lyxfunc.C:
8530         * BufferView_pimpl.C: streamlining mathed <-> outer world
8531         interaction
8532
8533         * commandtags.h:
8534         * LyXAction.C: remove unused LFUN_MATH
8535
8536 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8539
8540 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * paragraph.C (Paragraph): reformat a bit
8543         (cutIntoMinibuffer): use builtin InsetList function instad of
8544         doing it manually.
8545         (getInset): ditto
8546
8547         * buffer.C: include boost/bind.hpp, add using std::for_each
8548         (writeFileAscii): use ParagraphList iterators
8549         (validate): use for_each for validate traversal of paragraphs
8550         (getBibkeyList): use ParagraphList iterators
8551         (resizeInsets): use for_each to resizeInsetsLyXText for all
8552         paragraphs.
8553         (getParFromID): use ParagraphList iterators
8554
8555         * BufferView2.C (lockInset): use paragraph list and iterators
8556
8557 2002-08-14  John Levon  <levon@movementarian.org>
8558
8559         * lyxserver.C: remove spurious xforms include
8560
8561 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8562
8563         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8564
8565 2002-08-13  André Pönitz <poenitz@gmx.net>
8566
8567         * LyXAction.[Ch]:
8568         * lyxfunc.C: further cleaning
8569
8570 2002-08-13  André Pönitz <poenitz@gmx.net>
8571
8572         * funcrequest.h: new constructor
8573
8574         * funcrequest.C: move stuff here from .h
8575
8576         * Makefile.am:
8577         * BufferView_pimpl.C:
8578         * LyXAction.C:
8579         * toc.C:
8580         * lyxfunc.C: subsequent changes
8581
8582         * lyxfunc.h: new view() member function
8583
8584         * lyxfunc.C: subsequent changes
8585
8586 2002-08-13  Angus Leeming  <leeming@lyx.org>
8587
8588         * BufferView2.C:
8589         * BufferView_pimpl.C:
8590         * buffer.C:
8591         * converter.C:
8592         * importer.C:
8593         * lyxfunc.C:
8594         * lyxvc.C:
8595         * toc.C:
8596         * vc-backend.C:
8597         changes due to the changed LyXView interface that now returns references
8598         to member variables not pointers.
8599
8600 2002-08-13  Angus Leeming  <leeming@lyx.org>
8601
8602         * WordLangTuple (word, lang_code): return references to strings,
8603         not strings.
8604
8605         * BufferView.h:
8606         * SpellBase.h:
8607         * lyxtext.h: forward-declare WordLangTuple.
8608
8609         * BufferView2.C:
8610         * ispell.C:
8611         * pspell.C:
8612         * text.C: #include "WordLangTuple.h".
8613
8614         * lyxtext.h:
8615         * text.C: (selectNextWordToSpellcheck): constify return type.
8616
8617 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8618
8619         * buffer.C:
8620         * buffer.h:
8621         * lyxtext.h:
8622         * paragraph.C:
8623         * paragraph_pimpl.h:
8624         * text.C:
8625         * text2.C:
8626         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8627         suggested by Angus.
8628         Made updateCounter always count from start of buffer, and removed
8629         second argument (par).
8630         Reverted floats number display to '#'. Perhaps I'll try again when the
8631         code base is sanitized a bit.
8632
8633 2002-08-12  Angus Leeming  <leeming@lyx.org>
8634
8635         * buffer.[Ch] (getLabelList): constify.
8636
8637 2002-08-07  André Pönitz <poenitz@gmx.net>
8638
8639         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8640
8641         * funcrequest.h: extension to keep mouse (x,y) position
8642
8643 2002-08-12  Juergen Vigna  <jug@sad.it>
8644
8645         * BufferView2.C (insertErrors): forbid undo when inserting error
8646         insets.
8647
8648         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8649
8650 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * ParagraphList.[Ch]: new files
8653
8654         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8655
8656         * BufferView2.C (lockInset): ParagraphList changes
8657         * toc.C: ditto
8658         * text2.C: ditto
8659         * bufferlist.C: ditto
8660         * buffer.h: ditto
8661         * buffer.C: ditto
8662
8663 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8666         unused class variable counter_,
8667
8668         * paragraph.[Ch] (getFirstCounter): delete unused function
8669
8670         * counters.C: include LAssert.h
8671         (reset): add a new function with no arg, change other version to
8672         not have def. arg and to not allow empty arg.
8673
8674         * text2.C (setCounter): remove empty arg from call to Counters::reset
8675
8676 2002-08-11  John Levon  <levon@movementarian.org>
8677
8678         * Makefile.am: add WordLangTuple.h
8679
8680 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8683         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8684
8685         * insets/insettext.C: InsetList changes
8686
8687         * graphics/GraphicsSupport.C (operator()): InsetList changes
8688
8689         * toc.C (getTocList): InsetList changes
8690
8691         * paragraph_pimpl.[Ch]: InsetList changes
8692
8693         * paragraph.[Ch]: InsetList changes
8694
8695         * buffer.C (inset_iterator): InsetList changes
8696         (setParagraph): ditto
8697         * buffer.h (inset_iterator): ditto
8698         * iterators.C (operator++): ditto
8699         * iterators.h: ditto
8700
8701         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8702
8703         * InsetList.[Ch]: new files, most InsetList handling moved out of
8704         paragraph.C.
8705
8706         * BufferView2.C (removeAutoInsets): InsetList changes
8707         (lockInset): ditto
8708         (ChangeInsets): ditto
8709
8710 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * paragraph_pimpl.h (empty): new function
8713
8714         * paragraph.[Ch] (empty): new function
8715
8716         * other files: use the new Paragraph::empty function
8717
8718 2002-08-09  John Levon  <levon@movementarian.org>
8719
8720         * lyxtext.h: remove unused refresh_height
8721
8722 2002-08-09  John Levon  <levon@movementarian.org>
8723
8724         * Makefile.am:
8725         * sgml.h:
8726         * sgml.C:
8727         * buffer.C:
8728         * paragraph.h:
8729         * paragraph.C: move sgml char escaping out of paragraph
8730
8731         * paragraph.h:
8732         * paragraph.C: remove id setter
8733
8734         * buffer.C:
8735         * paragraph.C:
8736         * paragraph_pimpl.C: remove dead tex_code_break_column
8737
8738         * bufferview_funcs.C: small cleanup
8739
8740         * lyxfunc.C: remove dead proto
8741
8742         * lyxtext.h: make some stuff private. Remove some dead stuff.
8743
8744         * lyxgluelength.C: make as[LyX]String() readable
8745
8746 2002-08-08  John Levon  <levon@movementarian.org>
8747
8748         * LyXAction.h:
8749         * LyXAction.C:
8750         * MenuBackend.C:
8751         * ToolbarDefaults.C:
8752         * lyxfunc.C:
8753         * lyxrc.C:
8754         * toc.C: lyxaction cleanup
8755
8756 2002-08-08  John Levon  <levon@movementarian.org>
8757
8758         * BufferView2.C: small cleanup
8759
8760         * lyxfind.h:
8761         * lyxfind.C: move unnecessary header into the .C
8762
8763 2002-08-08  John Levon  <levon@movementarian.org>
8764
8765         * funcrequest.h: just tedious nonsense
8766
8767         * lyx_main.h:
8768         * lyx_main.C: cleanups
8769
8770         * buffer.C:
8771         * vspace.C: remove dead header lyx_main.h
8772
8773 2002-08-07  Angus Leeming  <leeming@lyx.org>
8774
8775         * Paragraph.[Ch]:
8776         * paragraph_pimpl.h:
8777         Forward declare class Counters in paragraph.h by moving the ctrs member
8778         variable into Paragraph::Pimpl.
8779         (counters): new method, returning a reference to pimpl_->ctrs.
8780
8781         * text2.C: ensuing changes.
8782
8783 2002-08-07  John Levon  <levon@movementarian.org>
8784
8785         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8786
8787         * BufferView_pimpl.C: announce X selection on double/triple
8788           click
8789
8790         * lyx_main.C: use correct bool in batch dispatch
8791
8792         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8793
8794 2002-08-07  André Pönitz <poenitz@gmx.net>
8795
8796         * funcrequest.h: new class to wrap a kb_action and its argument
8797
8798         * BufferView.[Ch]:
8799         * BufferView_pimpl[Ch]:
8800         * LaTeX.C:
8801         * LyXAction.[Ch]:
8802         * lyxfunc.[Ch]:
8803         * lyxrc.C: subsequent changes
8804
8805
8806 2002-08-07  John Levon  <levon@movementarian.org>
8807
8808         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8809           document options change.
8810
8811 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8812
8813         * counters.[Ch]
8814         * text2.C
8815         * paragraph.[Ch]
8816         * makefile.am: move counters functionality over from
8817         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8818
8819 2002-08-06  John Levon  <levon@movementarian.org>
8820
8821         * WordLangTuple.h: new file for word + language code tuple
8822
8823         * SpellBase.h:
8824         * pspell.h:
8825         * pspell.C:
8826         * ispell.h:
8827         * ispell.C:
8828         * lyxtext.h:
8829         * text.C:
8830         * text2.C:
8831         * BufferView.h:
8832         * BufferView2.C: use WordLangTuple
8833
8834         * layout.h:
8835         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8836
8837 2002-08-06  John Levon  <levon@movementarian.org>
8838
8839         * lyx_main.C: fix cmdline batch handling
8840
8841 2002-08-06  André Pönitz <poenitz@gmx.net>
8842
8843         * lyxrc.C: set default for show_banner to true
8844
8845 2002-08-06  John Levon  <levon@movementarian.org>
8846
8847         * pspell.C: fix a crash, and allow new aspell to work
8848
8849 2002-08-06  John Levon  <levon@movementarian.org>
8850
8851         * lyxfunc.C:
8852         * kbmap.C: small cleanup
8853
8854         * vspace.h:
8855         * vspace.C: add const
8856
8857 2002-08-05  John Levon  <levon@movementarian.org>
8858
8859         * LyXAction.C: back to tabular-insert
8860
8861 2002-08-04  John Levon  <levon@movementarian.org>
8862
8863         * BufferView.h:
8864         * BufferView.C: cosmetic change
8865
8866         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8867
8868         * bufferlist.C:
8869         * buffer.h:
8870         * buffer.C:
8871         * lyxcb.h:
8872         * lyxcb.C:
8873         * lyxserver.C:
8874         * lyxvc.C:
8875         * vc-backend.C:
8876         * BufferView2.C: purge all "Lyx" not "LyX" strings
8877
8878         * lyxcursor.h:
8879         * lyxcursor.C: attempt to add some documentation
8880
8881         * lyxfunc.C:
8882         * commandtags.h:
8883         * LyXAction.C:
8884         * ToolbarDefaults.C:
8885         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8886           merge with LFUN_TABULAR_INSERT
8887
8888         * Makefile.am:
8889         * SpellBase.h:
8890         * ispell.h:
8891         * ispell.C:
8892         * pspell.h:
8893         * pspell.C: split up i/pspell implementations into separate
8894           files, many cleanups
8895
8896         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8897
8898         * text2.C: some cleanup
8899
8900         * lyxfunc.C: don't check for isp_command == "none" any more, it
8901           didn't make any sense
8902
8903 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8904
8905         * counters.[Ch]
8906         * text2.C
8907         * paragraph.[Ch]
8908         * makefile.am: move counters functionality over
8909         from text2.C/paragraph.[Ch] to counters.[Ch], and
8910         make proper C++.
8911 2002-08-02  John Levon  <levon@movementarian.org>
8912
8913         * buffer.C: s/lyxconvert/lyx2lyx/
8914
8915 2002-08-02  Angus Leeming  <leeming@lyx.org>
8916
8917         * lyxlex.C: revert John's change as it breaks reading of the user
8918         preamble.
8919
8920 2002-08-02  Angus Leeming  <leeming@lyx.org>
8921
8922         * importer.C (Import):
8923         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8924         changes due to LyXView::view() now returning a boost::shared_ptr.
8925
8926 2002-08-02  John Levon  <levon@movementarian.org>
8927
8928         * lyxlex.C: small cleanup
8929
8930 2002-08-02  John Levon  <levon@movementarian.org>
8931
8932         * text2.C (status): small cleanup, no logic change
8933
8934 2002-08-01  John Levon  <levon@movementarian.org>
8935
8936         * buffer.h:
8937         * buffer.C (writeFile): don't output alerts, caller
8938           handles this
8939
8940         * bufferlist.C:
8941         * lyx_cb.C: from above
8942
8943         * lyxfunc.C: allow to open non-existent files
8944
8945 2002-07-31  John Levon  <levon@movementarian.org>
8946
8947         * lyxserver.C: don't let incidental errors get
8948           in the way (errno)
8949
8950 2002-07-30  John Levon  <levon@movementarian.org>
8951
8952         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8953
8954 2002-07-30  John Levon  <levon@movementarian.org>
8955
8956         * lyxserver.h:
8957         * lyxserver.C: remove I/O callback too
8958
8959 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8962         log.
8963
8964 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * many files: strip,frontStrip -> trim,ltrim,rtrim
8967
8968 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * PrinterParams.h: remove extern containsOnly, and include
8971         support/lstrings.h instead.
8972
8973         * LaTeX.C (scanAuxFile): modify because of strip changes
8974         (deplog): ditto
8975         * buffer.C (makeLaTeXFile): ditto
8976         * bufferparams.C (writeFile): ditt
8977         * lyxfont.C (stateText): ditto
8978         * lyxserver.C (read_ready): ditto
8979         * vc-backend.C (scanMaster): ditto
8980
8981         * BufferView_pimpl.h: ws changes
8982
8983         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8984
8985 2002-07-26  André Pönitz <poenitz@gmx.net>
8986
8987         * kb_sequence.C: remove unnedred usings
8988
8989 2002-07-26  Juergen Vigna  <jug@sad.it>
8990
8991         * lyxfind.C (LyXReplace): we have to check better if the returned
8992         text is not of theLockingInset()->getLockingInset().
8993
8994 2002-07-25  Juergen Vigna  <jug@sad.it>
8995
8996         * lyxfind.C (LyXReplace): don't replace if we don't get the
8997         right LyXText.
8998
8999         * undo_funcs.C (createUndo): remove debugging code.
9000
9001 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * buffer.C (parseSingleLyXformat2Token): Use default placement
9004         when reading old floats.
9005
9006         * FloatList.C (FloatList): Change the default placement of figure
9007         and tables to "tbp".
9008
9009 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9010
9011         * MenuBackend.C: using std::max
9012
9013 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9014
9015         * MenuBackend.C (expandToc):
9016         (expandToc2): code moved from xforms menu frontend. It is now
9017         generic and TOCs are transparent to menu frontends.
9018
9019 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9020
9021         * toc.C (getTocList): protect against buf=0
9022
9023         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9024         Menu as first parameter. Now, this calls itself recursively to
9025         expand a whole tree (this will be useful for TOC handling)
9026         (expandFloatInsert): remove 'wide' version of floats
9027
9028         * MenuBackend.h (submenuname): returns the name of the submenu.
9029         (submenu): returns the submenu itself, provided it has been
9030         created by MenuBackend::expand
9031
9032 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9035         insets which have noFontChange == true. (bug #172)
9036
9037 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9038
9039         * BufferView_pimpl.C: add connection objects and use them...
9040         (Pimpl): here.
9041
9042 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9043
9044         * MenuBackend.C (expandLastfiles):
9045         (expandDocuments):
9046         (expandFormats):
9047         (expandFloatListInsert):
9048         (expandFloatInsert):
9049         (expand): split expand in parts
9050
9051 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * lyx_gui.C: use lyx_gui::exit()
9054
9055 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * LyXAction.C: show the failing pseudo action
9058
9059 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9060
9061         * buffer.C (readFile): Run the lyxconvert script in order to read
9062         old files.
9063
9064 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * LyXAction.C:
9067         * commandtags.h:
9068         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9069
9070 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * LyXAction.C:
9073         * commandtags.h:
9074         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9075
9076 2002-07-22  Herbert Voss  <voss@lyx.org>
9077
9078         * lengthcommon.C:
9079         * lyxlength.[Ch]: add support for the vertical lengths
9080
9081 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * toc.[Ch]: std:: fixes
9084
9085 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * lyxrc.C: do not include lyx_main.h
9088
9089         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9090         for layouts
9091
9092         * lyxrc.C:
9093         * encoding.C:
9094         * bufferlist.C:
9095         * BufferView2.C: include "lyxlex.h"
9096
9097         * tabular.h:
9098         * bufferparams.h: do not #include "lyxlex.h"
9099
9100         * lyxtextclasslist.C (Add): remove method
9101         (classlist): renamed to classlist_
9102
9103         * paragraph_pimpl.C:
9104         * paragraph.C:
9105         * text2.C:
9106         * CutAndPaste.C:
9107         * bufferview_funcs.C:
9108         * bufferlist.C:
9109         * text.C:
9110         * LaTeXFeatures.C:
9111         * buffer.C:
9112         * toc.C (getTocList): use BufferParams::getLyXTextClass
9113
9114         * toc.C (getTocList): use InsetFloat::addToToc
9115
9116         * toc.[Ch]: new files, containing helper functions to handle table
9117         of contents
9118
9119         * lyxfunc.C (dispatch): no need to remove spaces around command
9120         given as a string
9121         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9122         first command of the sequence; it is not very clever, but I do not
9123         have a better idea, actually
9124
9125         * LyXAction.C (LookupFunc): make sure to remove space at the
9126         beginning and end of the command
9127
9128 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9129
9130         * MenuBackend.C (getMenubar): new method: return the menubar of
9131         this menu set
9132         (read): treat differently reading of menu and menubar (in
9133         particular, the menubar has no name now)
9134         (Menu::menubar): remove
9135
9136         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9137         saving is finished
9138
9139 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9140
9141         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9142         a bibitem inset in a RTL paragraph.
9143
9144 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9145
9146         * paragraph_pimpl.C: constify
9147
9148         * BufferView_pimpl.C:
9149         * LaTeX.C:
9150         * lyxfunc.C: fix dispatch in a nicer way
9151
9152 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9153
9154         * lyxfunc.C (dispatch):
9155         * BufferView_pimpl.C:
9156         * BufferView_pimpl.h:
9157         * BufferView.C:
9158         * BufferView.h: rename Dispatch() to dispatch()
9159
9160         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9161
9162         * lyxlayout.C (Read): honor DependsOn tag
9163
9164         * lyxlayout.[Ch] (depends_on): new method
9165
9166         * version.C.in: update lyx_docversion
9167
9168         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9169
9170         * paragraph.C (validate): remove from here...
9171         * paragraph_pimpl.C (validate): ... and move here
9172         (isTextAt): make it const
9173
9174         * buffer.C (getLists): ws cleanup
9175
9176 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9177
9178         * language.C (read): Use iso8859-1 encoding in latex_lang
9179         (this prevents LyX from crashing when using iso10646-1 encoding).
9180
9181 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9182
9183         * text2.C (toggleInset): if cursor is inside an inset, close the
9184         inset and leave cursor _after_ it
9185
9186 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * lyxfunc.C: move minibuffer completion handling out of here
9189
9190 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9191
9192         * BufferView_pimpl.C:
9193         * LaTeX.C: fix dispatch calls
9194
9195 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9196
9197         * text.C (drawChars): Fix Arabic text rendering.
9198
9199 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9200
9201         * LyXAction.C:
9202         * commandtags.h:
9203         * lyxfunc.C: remove message-push/pop
9204
9205         * lyxserver.C:
9206         * lyxfunc.h:
9207         * lyxfunc.C: rationalise some code by removing verboseDispatch
9208           in favour of a bool argument to dispatch()
9209
9210 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9211
9212         * lyx_main.C (init): make sure to read symlinks as absolute paths
9213
9214 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * lyxfunc.h:
9217         * lyxfunc.C: no need for commandshortcut to be a member
9218
9219 2002-07-15  André Pönitz <poenitz@gmx.net>
9220
9221         * converter.C: add support for $$s (scripts from lib/scripts dir)
9222         * lyx_main.C: white space
9223
9224 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9225
9226         * bufferlist.C:
9227         * lyxrc.h:
9228         * lyxrc.C: remove second exit confirmation
9229
9230 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * BufferView.h:
9233         * BufferView.C:
9234         * BufferView2.C:
9235         * BufferView_pimpl.h:
9236         * BufferView_pimpl.C:
9237         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9238
9239 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * MenuBackend.C (expand): add numeric shortcuts to document menu
9242
9243         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9244
9245 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * lyxfont.C (setLyXFamily):
9248         (setLyXSeries):
9249         (setLyXShape):
9250         (setLyXSize):
9251         (setLyXMisc):
9252         (lyxRead):
9253         * debug.C (value):
9254         * buffer.C (asciiParagraph): use ascii_lowercase
9255
9256 2002-07-15  Mike Fabian  <mfabian@suse.de>
9257
9258         * lyxlex_pimpl.C (search_kw):
9259         * lyxlex.C (getLongString):
9260         * converter.h (operator<):
9261         * converter.C (operator<):
9262         * buffer.C (parseSingleLyXformat2Token):
9263         (asciiParagraph):
9264         * ToolbarDefaults.C (read):
9265         * MenuBackend.C (checkShortcuts):
9266         (read):
9267         * LColor.C (getFromGUIName):
9268         (getFromLyXName): use the compare_ascii_no_case instead of
9269         compare_no_case, because in turkish, 'i' is not the lowercase
9270         version of 'I', and thus turkish locale breaks parsing of tags.
9271
9272 2002-07-16  Angus Leeming  <leeming@lyx.org>
9273
9274         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9275         now takes a Buffer const & argument.
9276
9277 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * BufferView.C (resize): check there's a buffer to resize
9280
9281 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9282
9283         * lyxfunc.C: remove dead code
9284
9285         * lyxserver.h:
9286         * lyxserver.C: use lyx_guii::set_read_callback
9287
9288 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9289
9290         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9291         an inset in a RTL paragraph.
9292
9293 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * lyxfunc.C: repaint after a font size update
9296
9297 2002-07-15  André Pönitz <poenitz@gmx.net>
9298
9299         * lyxlength.C: inBP should be able to return negative values
9300
9301 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * lyxfunc.C: use lyx_gui::update_fonts()
9304
9305 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * lyxfunc.C: use lyx_gui::update_color()
9308
9309 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * bufferlist.C:
9312         * lyxfunc.h:
9313         * lyxfunc.C:
9314         * lyxrc.h:
9315         * lyxrc.C: remove file->new asks for name option, and let
9316           buffer-new take an argument
9317
9318 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * BufferView_pimpl.C: remove unneeded extra repaint()
9321
9322 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * LyXAction.C: allow command-sequence with NoBuffer
9325
9326         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9327
9328 2002-07-10  Angus Leeming  <leeming@lyx.org>
9329
9330         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9331
9332 2002-07-09  Angus Leeming  <leeming@lyx.org>
9333
9334         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9335
9336 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * lengthcommon.h: whitespace
9339
9340         * lyxfunc.C: update scrollbar after goto paragraph
9341
9342         * lyxtext.h: factor out page break drawing, and fix it so
9343           page break/added space paints as selected nicely
9344
9345 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * BufferView_pimpl.C: add FIXMEs, clean up a little
9348
9349 2002-07-09  André Pönitz <poenitz@gmx.net>
9350
9351         * lyxfont.[Ch]: support for wasy symbols
9352
9353 2002-07-08  André Pönitz <poenitz@gmx.net>
9354
9355         * BufferView_pimpl.C: apply John's patch for #93.
9356
9357 2002-07-05  Angus Leeming  <leeming@lyx.org>
9358
9359         * BufferView_pimpl.C (buffer): generate previews if desired.
9360
9361         * LColor.h: add "preview" to the color enum.
9362
9363         * LColor.C (LColor): add a corresponding entry to the items array.
9364
9365         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9366         with this buffer.
9367
9368 2002-07-05  Angus Leeming  <leeming@lyx.org>
9369
9370         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9371         The body of the code is now in the method that is passed an ostream &
9372         rather than a file name.
9373         Pass an additional only_preamble parameter, useful for the forthcoming
9374         preview stuff.
9375
9376 2002-07-03  André Pönitz <poenitz@gmx.net>
9377
9378         * lyxfunc.C: simplify getStatus() a bit for math stuff
9379
9380 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9381
9382         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9383
9384 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * text.C (changeRegionCase): do not change case of all the
9387         document when region ends at paragraph end (bug #461)
9388
9389 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9390
9391         * paragraph.C (startTeXParParams):
9392         (endTeXParParams): add \protect when necessary
9393
9394 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9395
9396         * BufferView_pimpl.C (workAreaExpose): remove warning
9397
9398 2002-06-27  Angus Leeming  <leeming@lyx.org>
9399
9400         * Makefile.am: add lyxlayout_ptr_fwd.h.
9401
9402 2002-06-26  André Pönitz <poenitz@gmx.net>
9403
9404         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9405
9406 2002-06-25  Angus Leeming  <leeming@lyx.org>
9407
9408         * lyxfunc.C (dispatch): Comment out the call to
9409         grfx::GCache::changeDisplay. The method no longer exists now that the
9410         pixmap generation part of the graphics loader has been moved into
9411         InsetGraphics.
9412
9413 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * text2.C: layout as layout
9416
9417         * text.C: layout as layout
9418
9419         * tabular.C (OldFormatRead): layout as layout
9420
9421         * paragraph_pimpl.C (TeXDeeper): layout as layout
9422         (realizeFont): layout as layout
9423
9424         * paragraph.C (writeFile): layout as layout
9425         (validate): layout as layout
9426         (getFont): layout as layout
9427         (getLabelFont): layout as layout
9428         (getLayoutFont): layout as layout
9429         (breakParagraph): layout as layout
9430         (stripLeadingSpaces): layout as layout
9431         (getEndLabel): layout as layout
9432         (getMaxDepthAfter): layout as layout
9433         (applyLayout): layout as layout
9434         (TeXOnePar): layout as layout
9435         (simpleTeXOnePar): layout as layout
9436         (TeXEnvironment): layout as layout
9437         (layout): layout as layout
9438         (layout): layout as layout
9439
9440         * lyxtextclass.C (compare_name): new functor to work with
9441         shared_ptr, layout as layout
9442         (Read): layout as layout
9443         (hasLayout): layout as layout
9444         (operator): layout as layout
9445         (delete_layout): layout as layout
9446         (defaultLayout): layout as layout
9447
9448         * lyxlayout_ptr_fwd.h: new file
9449
9450         * lyxlayout.C (Read): layout as layout
9451
9452         * lyx_cb.C (MenuInsertLabel): layout as layout
9453
9454         * bufferlist.C (newFile): layout as layout
9455
9456         * buffer.C (readLyXformat2): layout as layout
9457         (parseSingleLyXformat2Token): layout as layout
9458         (insertStringAsLines): layout as layout
9459         (asciiParagraph): layout as layout
9460         (latexParagraphs): layout as layout
9461         (makeLinuxDocFile): layout as layout
9462         (simpleLinuxDocOnePar): layout as layout
9463         (makeDocBookFile): layout as layout
9464         (simpleDocBookOnePar): layout as layout
9465         (getLists): layout as layout
9466
9467         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9468
9469         * CutAndPaste.C (cutSelection): layout as layout
9470         (pasteSelection): layout as layout
9471         (SwitchLayoutsBetweenClasses): layout as layout
9472
9473         * BufferView_pimpl.C (Dispatch): layout as layout
9474         (smartQuote): layout as layout
9475
9476         * BufferView2.C (unlockInset): layout as layout
9477
9478 2002-06-24  André Pönitz <poenitz@gmx.net>
9479
9480         * lyxfunc.C: fix #487
9481
9482 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9483
9484         * lyxrc.h:
9485         * lyxrc.C:
9486         * lyxfunc.C: remove display_shortcuts, show_banner
9487
9488 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * Buffer_pimpl.C: oops, update on resize
9491
9492 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * buffer.C:
9495         * converter.C:
9496         * exporter.C:
9497         * lyxfunc.C:
9498         * BufferView.h:
9499         * BufferView.C: use repaint()
9500
9501         * BufferView_pimpl.h:
9502         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9503           as it's a clearer description. Remove superfluous
9504           redraws.
9505
9506 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * text.C: fix bug 488. Not ideal, but getting
9509           getWord() to work properly for the insets that
9510           matter is more difficult ...
9511
9512 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * BufferView_pimpl.C:
9515         * LyXAction.C:
9516         * commandtags.h:
9517         * lyxfunc.C: remove the six million index lyxfuncs to just
9518           one, and DTRT (bug 458)
9519
9520 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9521
9522         * BufferView.h:
9523         * BufferView.C:
9524         * BufferView_pimpl.h:
9525         * BufferView_pimpl.C: clean up resize() stuff,
9526           and unnecessary updateScreen()s
9527
9528 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * BufferView.h:
9531         * BufferView.C:
9532         * BufferView_pimpl.h:
9533         * BufferView_pimpl.C:
9534         * lyxfind.h:
9535         * lyxfind.C:
9536         * minibuffer.C: remove focus management of workarea,
9537           not needed. Use screen's greyOut()
9538
9539 2002-06-17  Herbert Voss  <voss@lyx.org>
9540
9541         * converter.C: (convert) do not post a message, when converting
9542         fails, let the calling function decide what to do in this case
9543
9544 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * lyxfunc.C: tidy up a little
9547
9548 2002-06-16    <alstrup@diku.dk>
9549
9550         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9551         Got rid of FORMS_H_LOCATION include. Now we are
9552         GUII.
9553
9554 2002-06-15  LyX Development team  <lyx@rilke>
9555
9556         * buffer.[Ch] (sgmlOpenTag):
9557         (sgmlCloseTag): Added support for avoiding pernicious mixed
9558         content. Return number of lines written.
9559
9560         (makeLinuxDocFile):
9561         (makeDocBookFile): Fixed calls to sgml*Tag.
9562         Simple white space clean.
9563
9564         (simpleDocBookOnePar): Simple white space clean.
9565
9566         * tabular.[Ch] (docBook): Renamed to docbook and got another
9567         argument to related with the pernicious mixed content.
9568
9569         (docbookRow): Fixed calls for docbook inset method.
9570
9571 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9572
9573         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9574         so it's X11 independent.
9575
9576         * kb*.[Ch]: ditto.
9577
9578         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9579
9580 2002-06-15  Lyx Development team  <lyx@electronia>
9581
9582         * intl.h: Renamed getTrans to getTransManager.
9583
9584 2002-06-14  Angus Leeming  <leeming@lyx.org>
9585
9586         * Makefile.am: nuke forgotten stl_string_fwd.h.
9587
9588 2002-06-12  Angus Leeming  <leeming@lyx.org>
9589
9590         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9591
9592 2002-06-13  Angus Leeming  <leeming@lyx.org>
9593
9594         * LaTeX.C:
9595         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9596
9597 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9598
9599         * kbmap.C (getiso): add support for cyrillic and greek
9600
9601 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * BufferView.h:
9604         * BufferView.C:
9605         * BufferView_pimpl.h:
9606         * BufferView_pimpl.C: move bogus scrolling logic
9607           to xforms
9608
9609 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * lyxfunc.C:
9612         * BufferView_pimpl.C: view->resize() change
9613
9614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * BufferView_pimpl.C: topCursorVisible
9617           prototype change
9618
9619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * Makefile.am:
9622         * lyx_gui.h:
9623         * lyx_gui.C: move to frontends/
9624
9625         * main.C:
9626         * lyx_main.h:
9627         * lyx_main.C: changes from above
9628
9629 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * intl.C:
9632         * intl.h:
9633         * kbmap.C:
9634         * kbsequence.C:
9635         * lyx_cb.C:
9636         * lyx_main.C: minor tidy
9637
9638 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * BufferView_pimpl.h:
9641         * BufferView_pimpl.C:
9642         * BufferView.h:
9643         * BufferView.C: make painter() const,
9644           remove dead code
9645
9646         * BufferView2.C: use screen() accessor
9647
9648         * lyx_main.h:
9649         * lyx_main.C: some minor cleanup
9650
9651 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * BufferView_pimpl.h:
9654         * BufferView_pimpl.C: remove enter/leaveView,
9655           use workHeight()
9656
9657 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9658
9659         * BufferView.h:
9660         * BufferView.C:
9661         * BufferView2.C:
9662         * BufferView_pimpl.h:
9663         * BufferView_pimpl.C: only construct screen once,
9664           rename
9665
9666         * lyxrc.C: remove pointless comment
9667
9668 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * BufferView.h:
9671         * BufferView.C: remove active() and belowMouse()
9672
9673         * BufferView_pimpl.h:
9674         * BufferView_pimpl.C: use workarea() not workarea_,
9675           and make it use a scoped_ptr instead
9676
9677 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * lyx_gui.C: add debug message on BadWindow
9680
9681 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9682
9683         * sp_spell.C: fdopen is not part of the C++ standard.
9684
9685         * paragraph.C (InsetIterator): use >= instead of ==
9686
9687 2002-06-07  Angus Leeming  <leeming@lyx.org>
9688
9689         Fixes needed to compile with Compaq cxx 6.5.
9690         * BufferView_pimpl.C:
9691         * DepTable.C:
9692         * buffer.C:
9693         * converter.C:
9694         * encoding.C:
9695         * lyx_gui.C:
9696         * lyx_main.C:
9697         * lyxtextclasslist.C:
9698         * minibuffer.C:
9699         * sp_spell.C:
9700         * tabular_funcs.C:
9701         * vc-backend.C:
9702         all c-library variables have been moved into namespace std. Wrap
9703         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9704
9705         * lyxlength.C:
9706         * tabular-old.C:
9707         * tabular.C:
9708         Add a using std::abs declaration.
9709
9710         * kbmap.h (modifier_pair):
9711         * paragraph.h (InsetTable, InsetList):
9712         * lyxfont.h (FontBits):
9713         type definition made public.
9714
9715         * bufferlist.C (emergencyWriteAll): the compiler complains that
9716         there is more than one possible lyx::class_fun template to choose from.
9717         I re-named the void specialisation as lyx::void_class_fun.
9718
9719         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9720
9721         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9722         the compiler is is unable to find tostr in write_attribute.
9723
9724 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * buffer.C (sgmlError): hide #warning
9727
9728 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * xtl/*: get rid of xtl, which is not in use anyway
9731
9732         * LyXAction.C (init):
9733         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9734         were unimplemented xtl experimentation
9735
9736 2002-06-04  André Pönitz <poenitz@gmx.net>
9737
9738         * lyxfunc.C: disable array operation on simple formulae
9739
9740 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * converter.C: constify a bit
9743
9744 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * lyx_gui.C: check xforms version correctly
9747
9748 2002-04-30  Herbert Voss  <voss@lyx.org>
9749
9750         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9751         "keep" option
9752
9753 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9756           attempt to register it with a VCS)
9757
9758 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * lyx_main.C (init): honor variables LYX_DIR_13x and
9761         LYX_USERDIR_13x
9762
9763 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * buffer.h:
9766         * buffer.C:
9767         * lyx_main.C: fix a crash on bad command line,
9768           and give a useful exit status on error
9769
9770         * lyxfunc.C (doImport): allow -i lyx to work
9771
9772 2002-03-30  André Pönitz <poenitz@gmx.net>
9773
9774         * lyxfunc.C: mathed font changes
9775
9776 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * LaTeX.C:
9779         * importer.h:
9780         * importer.C:
9781         * lyx_sty.h:
9782         * lyx_sty.C:
9783         * lyxlex.C:
9784         * lyxrow.h:
9785         * lyxtext.h:
9786         * paragraph.h:
9787         * paragraph.C:
9788         * texrow.h:
9789         * texrow.C:
9790         * text.C:
9791         * trans_mgr.h: srcdocs, and some minor cleanups
9792
9793 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9794
9795         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9796         call getFont all the time)
9797
9798 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * switch from SigC signals to boost::signals
9801
9802 2002-05-29  André Pönitz <poenitz@gmx.net>
9803
9804         * paragraph_pimpl.C (getChar): don't call size() too often...
9805
9806 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9807
9808         * paragraph_pimpl.C (insertChar): do not try to update tables when
9809         appending (pos == size())
9810
9811         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9812         in order to reduce drastically the number of comparisons needed to
9813         parse a large document
9814
9815 2002-05-29  André Pönitz <poenitz@gmx.net>
9816
9817         * text.C:
9818         * text2.C:
9819         * lyxtextclass.C:
9820         * sp_pspell.h:
9821         * textclasslist.[Ch]:
9822         * sp_ispell.h: whitespace change
9823
9824 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9827         lyxaction directly now.
9828
9829 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * trans.C:
9832         * lyxfont.C:
9833         * lyxvc.C: remove unused headers
9834
9835 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * Makefile.am:
9838         * buffer.h:
9839         * undostack.h:
9840         * undostack.C:
9841         * undo_funcs.h:
9842         * undo_funcs.C: some cleanups. Use shared_ptr
9843           and a template for the undo stacks.
9844
9845 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * BufferView_pimpl.h:
9848         * BufferView_pimpl.C:
9849         * kbmap.h:
9850         * kbmap.C:
9851         * kbsequence.h:
9852         * kbsequence.C:
9853         * lyxfunc.h:
9854         * lyxfunc.C:
9855         * text2.C: use key_state/mouse_state
9856
9857 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9858
9859         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9860         and LSubstring
9861
9862         * chset.C: change include order
9863         (loadFile): use boost regex and get rid of LRegex and LSubstring
9864
9865         * Makefile.am (BOOST_LIBS): new variable
9866         (lyx_LDADD): use it
9867
9868         * LaTeX.C: change include order.
9869         (scanAuxFile): use boost regex and get rid of LRegex and
9870         LSubstring
9871         (deplog): ditto
9872
9873 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * ColorHandler.h:
9876         * ColorHandler.C:
9877         * FontInfo.h:
9878         * FontInfo.C: moved to frontends/xforms/
9879
9880         * FontLoader.h:
9881         * FontLoader.C: moved into frontends for GUIIzation
9882
9883         * Makefile.am:
9884         * lyx_gui.C:
9885         * lyxfont.C:
9886         * lyxfunc.C: changes from above
9887
9888 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * LColor.C: remove spurious X include
9891
9892         * BufferView_pimpl.C:
9893         * Makefile.am:
9894         * font.h:
9895         * font.C:
9896         * text.C:
9897         * text2.C: move font metrics to frontends/
9898
9899 2002-05-24  Juergen Vigna  <jug@sad.it>
9900
9901         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9902         setting the undo_cursor.
9903
9904         * ParagraphParameters.h: include local includes first.
9905
9906 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * BufferView_pimpl.C:
9909         * BufferView_pimpl.h:
9910         * Makefile.am:
9911         * WorkArea.h:
9912         * WorkArea.C:
9913         * screen.C: move WorkArea into frontends/
9914
9915         * lyxscreen.h:
9916         * screen.C:
9917         * text.C:
9918         * BufferView.C:
9919         * BufferView2.C: move LyXScreen into frontends/
9920
9921         * lyxlookup.h:
9922         * lyxlookup.C:
9923         * lyx_gui.C: move lyxlookup into frontends/xforms/
9924
9925 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * BufferView2.C:
9928         * BufferView_pimpl.C:
9929         * FontLoader.C:
9930         * LyXView.h:
9931         * LyXView.C:
9932         * Makefile.am:
9933         * WorkArea.C:
9934         * XFormsView.h:
9935         * XFormsView.C:
9936         * buffer.C:
9937         * bufferlist.C:
9938         * bufferview_funcs.C:
9939         * converter.C:
9940         * importer.C:
9941         * lyx_cb.C:
9942         * lyx_gui.C:
9943         * lyx_main.C:
9944         * lyx_find.C:
9945         * lyxfunc.C:
9946         * lyxvc.C:
9947         * minibuffer.C:
9948         * text.C:
9949         * text2.C:
9950         * trans.C:
9951         * vc-backend.C: move LyX/XFormsView into frontends/
9952
9953 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * Makefile.am:
9956         * PainterBase.C:
9957         * PainterBase.h:
9958         * Painter.C:
9959         * Painter.h:
9960         * WorkArea.C:
9961         * WorkArea.h:
9962         * screen.C:
9963         * tabular.C:
9964         * text.C:
9965         * text2.C: move Painter to frontends/
9966
9967 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9968
9969         * buffer.C: comment out some some code that depend upon lyx_format
9970         < 220
9971
9972         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9973         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9974
9975         * buffer.h (NO_COMPABILITY): turn off compability
9976
9977         * ColorHandler.C: include scoped_array.hpp
9978
9979         * font.C: Use more specific smart_ptr header.
9980         * Painter.C: ditto
9981         * gettext.C: ditto
9982         * ShareContainer.h: ditto
9983         * lyx_main.h: ditto
9984         * kbmap.h: ditto
9985         * FontInfo.h: ditto
9986         * BufferView_pimpl.h: ditto
9987         * ColorHandler.h: ditto
9988
9989         * kbmap.C (defkey): change call to shared_ptr::reset
9990
9991 2002-05-21  Juergen Vigna  <jug@sad.it>
9992
9993         * buffer.C (insertErtContents): fix to insert ert asis if it is
9994         non empty. Skip it completely if it contains only whitespaces.
9995
9996 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * BufferView_pimpl.C:
9999         * BufferView2.C: clear selection on paste (bug 393)
10000
10001 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * DepTable.C: include ctime
10004
10005 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10006
10007         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10008
10009 2002-05-14  Juergen Vigna  <jug@sad.it>
10010
10011         * text.C (breakParagraph): fixed function to honor the keepempty
10012         layout in the right maner and also to permit the right breaking
10013         algorithm on empty or non empyt keepempty paragraphs.
10014
10015         * paragraph.C (breakParagraph): we have to check also if the par
10016         is really empty (!size()) for isempty otherwise we do the wrong
10017         paragraph break.
10018
10019 2002-05-10  Juergen Vigna  <jug@sad.it>
10020
10021         * buffer.[Ch] : The following are only changes to the ert
10022         compatibility read reading old LaTeX layout and font stuff and
10023         convert it to ERTInsets.
10024
10025         * buffer.h: added isErtInset().
10026
10027         * buffer.C (struct ErtComp): add a fromlayout bool to check
10028         if we're inside a LaTeX layout.
10029         (isErtInset): new helper function.
10030         (insertErtContents): look for other ert insets before this one
10031         and insert the contents there, so that we don't have subsequent
10032         ERT insets with nothing between them. This way we create only one
10033         inset with multiple paragraphs. Also check if we don't insert only
10034         spaces ' ' as they are ignored anyway afterwards in the .tex file
10035         so if we have only spaces we will ignore this latex part in the
10036         new file.
10037         (parseSingleLyXformat2Token \\layout): better compatibility when
10038         reading layout-latex stuff.
10039         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10040         language tag.
10041         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10042         stuff after reading the inset only get the information back from
10043         the stack.
10044
10045 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10046
10047         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10048
10049         * LaTeXFeatures.C (getBabelOptions): New method.
10050
10051 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10052
10053         * BufferView_pimpl.C (Dispatch): work around missing argument for
10054         'layout'
10055
10056 2002-05-08  Juergen Vigna  <jug@sad.it>
10057
10058         * text.C (leftMargin): handle paragraph leftindent.
10059
10060         * paragraph.C (writeFile): write the new \\leftindent tag.
10061         (validate): handle leftindent code.
10062         (TeXEnvironment): handle paragraphleftindent code again.
10063
10064         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10065
10066         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10067         for paragrap_extra indent code and new token \\leftindent.
10068         (latexParagraphs): handle the leftindent as environment.
10069
10070         * ParameterStruct.h: added leftindent support.
10071
10072         * ParagraphParameters.C (leftIndent): added support functions for
10073         the paragraph left indent.
10074
10075         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10076         more appropriate.
10077
10078 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10079
10080         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10081         inside insetERT.
10082
10083         * text.C (computeBidiTables): No bidi in insetERT.
10084
10085         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10086         in RTL documents.
10087
10088 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * version.C.in: pre 5
10091
10092 2002-05-02  José Matos  <jamatos@fep.up.pt>
10093         * buffer.C (makeDocBookFile): white space changes, add newline to
10094         command styles.
10095         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10096
10097         * tabular.C (docBook): fix typo.
10098
10099 2002-05-03  Juergen Vigna  <jug@sad.it>
10100
10101         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10102         change in LyXText as we can not be sure it was not freed.
10103         (drawOneRow): remove unused code.
10104
10105         * text.C (drawInset): redo the calculation of the need_break_row as
10106         it could have a row which was already freed.
10107         (draw): look at the return value of drawInset and return false if
10108         it also returned false.
10109         (paintRowText): look at the return value of draw and return false if
10110         it also returned false.
10111
10112         * lyxtext.h: added bool return type to drawInset() and draw() so that
10113         if we have a change in the row so that the rowbreak has to be redone
10114         we abort drawing as it will be called again.
10115
10116 2002-05-02  Juergen Vigna  <jug@sad.it>
10117
10118         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10119         a change in the maintext also if we're inside an inset.
10120         (Dispatch): set the cursor again after a break line and after the
10121         screen has been updated as it could be we're in a different row.
10122
10123         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10124         to set the cursor behind the pargraph with > size().
10125         (setCursor): check also for the same paragraph when checking where
10126         to put the cursor if we have a NFR inset.
10127
10128         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10129         parts of layout read further up as it still was in the wrong
10130         position.
10131
10132 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * screen.C (drawFromTo): change sine fullRebreak always return
10135         true.
10136
10137         * buffer.C (parseSingleLyXformat2Token): reindent some
10138
10139         * BufferView_pimpl.C (update): change since fullRebreak always
10140         return true.
10141         (Dispatch): git rid of the last hardcoded "Standard"s.
10142
10143 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10144
10145         * text2.[Ch] (fullRebreak): make it return void now that we always
10146         returned true.
10147
10148 2002-04-30  Juergen Vigna  <jug@sad.it>
10149
10150         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10151         ert compatibility check for "latex" layout.
10152
10153 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10154
10155         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10156         minipages: use col% instead of p%, and also use the current font.
10157         (makeLaTeXFile): Fix use babel condition.
10158         (parseSingleLyXformat2Token): Correct font when reading old floats.
10159
10160 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10161
10162         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10163         inserting list of floats.
10164
10165 2002-04-25  Herbert Voss  <voss@lyx.org>
10166
10167         * MenuBackend.C (expand): don't add the graphics extensions to the
10168         export menu
10169
10170 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10171
10172         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10173         non-existing layout, do not complain if it was the default layout
10174         of the original class (bug #342)
10175
10176 2002-04-24  Juergen Vigna  <jug@sad.it>
10177
10178         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10179         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10180
10181 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10182
10183         * buffer.C (getBibkeyList): If using \bibliography, return the
10184         option field with the reference itself. Enables us to provide natbib
10185         support when using \bibliography.
10186
10187 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10188
10189         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10190
10191         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10192         natbib is provided by the LaTeX class.
10193
10194 2002-04-23  Juergen Vigna  <jug@sad.it>
10195
10196         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10197         Wakeup functions.
10198
10199         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10200
10201 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10204
10205         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10206         ensuremath around textordmasculine, textordfeminine and
10207         textdegree.
10208
10209 2002-04-19  Juergen Vigna  <jug@sad.it>
10210
10211         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10212         reinitializing the buffer otherwise row-dimensions may be wrong.
10213         (update): reset also the selection cursors if they do exits otherwise
10214         their x/y positions may be wrong.
10215
10216         * text2.C (cursorDown): don't enter the inset if we came from a row
10217         above and are one row over the inset.
10218
10219         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10220         really leaving an inset.
10221
10222 2002-04-18  Juergen Vigna  <jug@sad.it>
10223
10224         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10225         of the selected paragraph does not have the selected layout also if
10226         the last one had!
10227
10228         * text2.C (setLayout): fixed bug which did not change last selected
10229         paragraph.
10230
10231         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10232         changed the read and substituted \\end_float with \\end_inset!
10233
10234         * BufferView_pimpl.C (cursorPrevious):
10235         (cursorNext): fixed to make it work with rows heigher than the work
10236         area without moving the cursor only the draw of the row.
10237         (workAreaMotionNotify): fix jumping over high rows.
10238
10239 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240
10241         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10242         Ressler.
10243
10244 2002-04-16  Juergen Vigna  <jug@sad.it>
10245
10246         * text2.C (setCursor): set also the irow().
10247         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10248         (cursorUp):
10249         (cursorDown): support for locking an inset if the x_fix value goes
10250         inside it. That way I can transverse insets too with cursor up/down.
10251
10252         * lyxrow.h: added irow helper function same as other (i) functions.
10253
10254         * BufferView_pimpl.C (cursorPrevious):
10255         (cursorNext): fixed for insets!
10256
10257 2002-04-15  Juergen Vigna  <jug@sad.it>
10258
10259         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10260         position otherwise it is wrong in some cases.
10261
10262         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10263         inside the inset before the call.
10264
10265 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10266
10267         * buffer.[Ch] (getBibkeyList): make it const.
10268
10269 2002-04-12  Juergen Vigna  <jug@sad.it>
10270
10271         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10272
10273         * text2.C (getCursorX): new helper function
10274         (setCursor): compute also ix_
10275         (setCursorFromCoordinates): set also ix.
10276
10277         * lyxcursor.h: added ix_ and helper functions.
10278
10279         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10280
10281         * buffer.C (insertStringAsLines): dont break paragraph if the this
10282         paragraph is inside an inset which does not permit it!
10283
10284         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10285         also with no chars on this paragraph.
10286         (paintRowText): only paint stuff if it's inside the workarea!
10287
10288         * paragraph.C (breakParagraph): honor keepempty flag and break the
10289         paragraph always below not above.
10290
10291         * BufferView2.C (unlockInset): update the paragraph layout on inset
10292         unlock as we changed paragraph in such a case.
10293
10294         * lyxfind.C (LyXFind): clear the former selection if not found!
10295
10296         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10297         again called in insertChar().
10298
10299         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10300         an inset which uses the whole row!
10301         (rightMargin): ditto.
10302         (insertChar): force a rebreak if we inserted an inset!
10303
10304 2002-03-28  Herbert Voss  <voss@lyx.org>
10305
10306         * lyxlength.[Ch]: add inBP() to get the right PS-point
10307         units (BigPoint). With inPixels we have rounding errors
10308
10309 2002-04-11  Juergen Vigna  <jug@sad.it>
10310
10311         * text2.C (setCursorFromCoordinates): set iy to the right value.
10312         (setCursor): add check if row->previous exists!
10313
10314         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10315         an old float_type as this was the case in the old code!
10316
10317         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10318
10319         * BufferView2.C (showLockedInsetCursor): use iy
10320         (fitLockedInsetCursor): ditto
10321
10322         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10323         locked insets as there we have the right value now.
10324
10325         * lyxcursor.C: added iy_ variable and iy functions to set to the
10326         baseline of cursor-y of the locked inset.
10327
10328         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10329         (setCursor): fixed for insets which need a full row.
10330
10331         * text.C (rowLastPrintable): don't ignore the last space when before
10332         an inset which needs a full row.
10333         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10334         as last character of a row when before a inset which needs a full row.
10335
10336 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * version.C.in: update date
10339
10340         * text2.C (fullRebreak): try to always return true and see what
10341         happens...
10342
10343 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * MenuBackend.C (expand): use Floating::listName
10346
10347         * FloatList.C (FloatList): add listName argument to the built-in
10348         floats
10349
10350         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10351         text associated with the float.
10352
10353 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10356
10357 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10358
10359         * ShareContainer.h: add a couple of missing typenames.
10360
10361 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10362
10363         * lyxrc.C (getDescription): use _() correctly rather than N_().
10364
10365 2002-03-28  Herbert Voss  <voss@lyx.org>
10366
10367         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10368         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10369
10370 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10373         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10374
10375 2002-03-29  Juergen Vigna  <jug@sad.it>
10376
10377         * lyxfunc.C (dispatch): add a missing fitCursor call.
10378
10379         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10380         it was scrolled by a cursor move, so return the bool status.
10381
10382         * BufferView.C (fitCursor): return the bool flag also to the outside
10383         world as this is needed.
10384
10385         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10386
10387         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10388         call the edit() as it is not needed (and wrong) IMO.
10389         (workAreaButtonPress): set the screen_first variable before evt.
10390         unlock the inset as this may change screen_first and then we have
10391         a wrong y position for the click!
10392
10393 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * MenuBackend.C (expand): another translation that I missed
10396
10397 2002-03-28  Juergen Vigna  <jug@sad.it>
10398
10399         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10400
10401         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10402
10403 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10404
10405         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10406
10407         * MenuBackend.C (expand): fix export/view/update when there is no
10408         document open.
10409
10410 2002-03-27  Herbert Voss  <voss@lyx.org>
10411
10412         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10413         and text%
10414
10415 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * bufferview_funcs.C (currentState): only show paragraph number
10418         for is DEVEL_VERSION is set.
10419
10420         * lyxfunc.C (dispatch): put warning in INFO channel
10421
10422         * MenuBackend.C (expand): translate the name of floats
10423
10424         * FloatList.C (FloatList): mark the float names for translation
10425
10426         * converter.C (convert): use LibScriptSearch
10427
10428 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * MenuBackend.C (defaults): fix default menu (we might as well get
10431         rid of it...)
10432
10433 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10436         directory.
10437
10438 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * lyxvc.C: reorder includes.
10441
10442 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10445           properly
10446
10447 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * CutAndPaste.C: change layouts earlier on paste
10450           to avoid crashing when calling getFont()
10451
10452 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10455         irritating #error.
10456
10457 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * WorkArea.C: remove 'Pending' debug message.
10460
10461         * most files: ws cleanup
10462
10463         * buffer.[Ch]: ws changes
10464
10465         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10466
10467 2002-03-21  Juergen Vigna  <jug@sad.it>
10468
10469         * tabular.C (SetMultiColumn): collapse also the contents of the
10470         cells and set the last border right. Added a Buffer const * param.
10471
10472 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10475         linking or not.
10476
10477 2002-03-19  Juergen Vigna  <jug@sad.it>
10478
10479         * text2.C (clearSelection): reset also xsel_cache.
10480
10481         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10482         where it needs to be called (John tells us to do so too :)
10483         (selectionLost): reset sel_cache.
10484
10485         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10486
10487 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * text2.C (setCursorIntern): put debuging code in INSETS channel
10490
10491 2002-03-19  André Pönitz <poenitz@gmx.net>
10492
10493         * lyxfunc.C: tiny whitespace change
10494
10495 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * ToolbarDefaults.C (init):
10498         * LyXAction.C (init):
10499         * commandtags.h:
10500         * BufferView_pimpl.C (Dispatch):
10501         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10502
10503 2002-03-19  Allan Rae  <rae@lyx.org>
10504
10505         * exporter.C (Export): removeAutoInsets before doing anything else.
10506         While I've just introduced a dependency on BufferView this really is
10507         the best place to clean the buffer otherwise you need to cleanup in
10508         a dozen places before calling export or cleanup in a dozen functions
10509         that export calls.
10510
10511         * converter.C (runLaTeX):
10512         (scanLog): Better handling of removeAutoInsets and screen updates.
10513
10514         * lyxfunc.C (dispatch): small whitespace changes
10515
10516 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * WorkArea.C (C_WorkAreaEvent): return a value.
10519         (event_cb): return 1 if we handled the event, 0 otherwise.
10520
10521         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10522
10523 2002-03-18  Juergen Vigna  <jug@sad.it>
10524
10525         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10526         (GetAdditionalWidth): ditto.
10527         (RightLine): ditto.
10528         (LeftLine): ditto.
10529
10530         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10531         inset if we're there actually (probably not used right now but this
10532         is the direction to go for unifying code).
10533         (paste): disable code to clear the selection.
10534
10535         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10536         inside an InsetText and move the check further up as it is in the
10537         wrong place.
10538
10539         * text2.C (pasteSelection): set a selection over the pasted text.
10540
10541 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10542
10543         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10544         and libgraphics to build on Cygwin.
10545
10546 2002-03-15  Juergen Vigna  <jug@sad.it>
10547
10548         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10549         inserting an Inset into the paragraph. I know this is not the best
10550         fix but we already use current_view in CutAndPaste so we will remove
10551         all of it's using at the same time.
10552
10553         * buffer.C (sgmlError): deactivated function till it is rewritten in
10554         the right mode, now it can create problems.
10555
10556         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10557         before accessing it.
10558
10559 2002-03-14  Juergen Vigna  <jug@sad.it>
10560
10561         * undo_funcs.C (textHandleUndo): do the right thing when updating
10562         the inset after the undo/redo.
10563
10564         * text2.C (setCursor): just some testcode for #44 not ready yet.
10565
10566         * undo_funcs.C (textHandleUndo): set the next() and previous()
10567         pointers of the paragraph to 0 before deleting otherwise we have
10568         problems with the Paragraph::[destructor].
10569
10570         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10571         on a paragraph insertion.
10572
10573 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * buffer.C (asciiParagraph): use += operator for char append to
10576         string.
10577
10578         * paragraph.C (getFontSettings): compare >= not just >
10579         (highestFontInRange): ditto
10580         (setFont): ditto
10581
10582 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * paragraph.C: change several algorithm to be more appripriate for
10585         the problem domain. This is lookip in FontList and in the InsetList.
10586
10587 2002-03-13  André Pönitz <poenitz@gmx.net>
10588
10589         * commandtags.h:
10590         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10591
10592 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * commandtags.h:
10595         * LyXAction.C:
10596         * lyxfunc.C:
10597         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10598
10599 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * Painter.C (display): anon helper function, adjust code for this
10602         change.
10603         (pixmap): remove function.
10604
10605         * Painter.h: remove private display variable.
10606
10607         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10608
10609 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * WorkArea.[Ch]: remove figinset_canvas cruft.
10612
10613 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * lyxtextclass.C (operator): add one item cache optimization.
10616
10617         * bufferlist.h: doxy changes
10618
10619         * bufferlist.C: ws changes
10620
10621         * DepTable.[Ch] (ext_exist): place const in the right spot.
10622
10623         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10624         call resizeInsets.
10625         (workAreaExpose): call resizeInsets when the with BufferView changes.
10626         (Dispatch): adjust for protectedBlank removal
10627         (specialChar): call updateInset if the insert went ok.
10628
10629         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10630         specialChar instead.
10631
10632         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10633
10634         * BufferView.h: doxy change
10635
10636         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10637
10638         * lyxtextclass.C (operator[]): remove non-const version
10639         (defaultLayout): remove non-const version
10640
10641 2002-03-12  Juergen Vigna  <jug@sad.it>
10642
10643         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10644         did resize the LyXText too.
10645
10646         * buffer.C (readLyXformat2): set layout information on newly allocated
10647         paragraphs.
10648
10649         * tabular.C (OldFormatRead): set layout information on the paragraph.
10650
10651 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10652
10653         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10654
10655 2002-03-11  Juergen Vigna  <jug@sad.it>
10656
10657         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10658         plainly wrong.
10659         (resizeCurrentBuffer): force also the insets to resize themselfes.
10660         (moveCursorUpdate): fixed up for InsetText.
10661
10662 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10663
10664         * commandtags.h:
10665         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10666         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10667         value of Dialogs::tooltipsEnabled().
10668         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10669
10670 2002-03-08  Juergen Vigna  <jug@sad.it>
10671
10672         * BufferView_pimpl.C (updateInset): update inset inside inset also
10673         if it isn't inside theLockingInset().
10674
10675 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10676
10677         * buffer.C (asciiParagraph): redo some of the word and line length
10678         handling.
10679         (getLists): look for Caption instead of caption.
10680
10681 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * buffer.C (Buffer): initialize niceFile to true
10684         (makeLaTeXFile):
10685         (makeLinuxDocFile):
10686         (makeDocBookFile): make sure niceFile is true on exit
10687
10688 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10691
10692 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * LyXSendto.C: remove.
10695         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10696         * lyx_gui.C: remove now-redundant comment.
10697         * ColorHandler.h: remove forward declaration of class WorkArea.
10698         * lyxfunc.C: remove #include "WorkArea.h".
10699
10700 2002-03-07  Juergen Vigna  <jug@sad.it>
10701
10702         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10703         got moved away with the DEPM and also set the inset_owner always
10704         right which before could have been omitted.
10705
10706 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10709         wanted layout is not found.
10710
10711 2002-03-07  Juergen Vigna  <jug@sad.it>
10712
10713         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10714
10715 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * paragraph.C (breakParagraph): use default layout not layout of
10718         prev paragraph.
10719         (Paragraph): clear ParagraphParameters.
10720
10721 2002-03-06  Juergen Vigna  <jug@sad.it>
10722
10723         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10724         otherwise it would not be a valid lenght. Fixed a special case in
10725         the minipage compatibility read where we end the document with a
10726         minipage.
10727
10728         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10729         was set as it could be 0 for InsetTexts first entry.
10730
10731 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * paragraph.C (writeFile): if layout is empty write out
10734         defaultLayoutName().
10735
10736         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10737         file without named layout we set layout to defaultLayoutName().
10738
10739 2002-03-06  Juergen Vigna  <jug@sad.it>
10740
10741         * CutAndPaste.C (copySelection): set layout for new paragraph.
10742
10743         * text.C (prepareToPrint): leave ERT inset left aligned
10744         (leftMargin): don't indent paragraphs inside ERT insets
10745
10746 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * paragraph.C (breakParagraph): dont call clear do the work manually
10749
10750         * paragraph.[Ch] (clear): remove function
10751
10752 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * paragraph.C (Paragraph): dont call clear, the work has already
10755         been done.
10756
10757         * lyxtextclass.C (operator): assert if n is empty
10758
10759         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10760         work manually instead.
10761
10762 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * BufferView_pimpl.C: protect selectionLost against text == 0
10765
10766 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10767
10768         * text.C (breakParagraph): fix a setting layout to '0' problem.
10769
10770 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10771
10772         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10773         final location of file, for the included files, and graphics.
10774
10775 2002-03-05  Juergen Vigna  <jug@sad.it>
10776
10777         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10778
10779 2002-03-04  Juergen Vigna  <jug@sad.it>
10780
10781         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10782
10783         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10784         last column of multicolumn cells.
10785         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10786
10787 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10788
10789         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10790         file if it doesn't go to a temporary file.
10791
10792         * buffer.C (sgmlOpenTag):
10793         (sgmlCloseTag):  remove extra newline insertion.
10794
10795 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * text.C (getRowNearY): comment out debug msg
10798
10799 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10800
10801         * text2.C: first -> first_y
10802
10803         * text.C (getRowNearY): add some attemts at a possible
10804         optimization, not working.
10805
10806         * tabular.[Ch]: add BufferParams to several function so that newly
10807         created paragraph can be initialized to he default layotu for the
10808         buffers textclass.
10809
10810         * tabular-old.C (ReadOld): add buf->params to call of Init
10811
10812         * screen.C: rename text->first to text->first_y
10813
10814         * paragraph.C (breakParagraph): always set layout in the broken
10815         paragraph
10816
10817         * lyxtextclass.C (Read): remove lowercase
10818         (hasLayout): ditto
10819         (operator): ditto
10820         (delete_layout): ditto
10821
10822         * lyxtext.h: rename first -> first_y
10823
10824         * lyxlayout.C (Read): remove lowercase
10825         (name): ditto
10826         (setName): ditto
10827         (obsoleted_by): ditto
10828
10829         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10830
10831         * buffer.C (insertErtContents): add params are to InsetERT
10832         (parseSingleLyXformat2Token): add code to check if a paragraphs
10833         layout really exist.
10834         (parseSingleLyXformat2Token): add params to several inset
10835         constructors
10836         (asciiParagraph): remove lowercase, do the layout comparisons with
10837         no_case
10838
10839         * BufferView_pimpl.C (cursorNext): first -> first_y
10840         (resizeCurrentBuffer): first -> first_y
10841         (updateScrollbar): first -> first_y
10842         (scrollCB): first -> first_y
10843         (workAreaMotionNotify): first -> first_y
10844         (workAreaButtonPress): first -> first_y
10845         (checkInsetHit): first -> first_y
10846         (cursorPrevious): first -> first_y
10847         (cursorNext): first -> first_y
10848         (Dispatch): add buffer_->params to severl inset contructors
10849
10850 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * lyxlayout.C (Read): remove some debug info that I forgot.
10853
10854         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10855         clean up the code slightly.
10856         (makeLinuxDocFile): ditto
10857         (makeDocBookFile): ditto
10858
10859         * text2.C: layout as string
10860
10861         * text.C: layout as string
10862
10863         * paragraph_pimpl.C: layout as string
10864
10865         * paragraph.[Ch]: layout as string
10866
10867         * lyxtextclasslist.[Ch]: layout as string
10868
10869         * lyxtextclass.[Ch]: layout as string
10870
10871         * lyxtext.h: layout as string
10872
10873         * lyxlayout.[Ch]: layout as string
10874
10875         * lyx_cb.C: layout as string
10876
10877         * bufferview_funcs.C: layout as string
10878
10879         * bufferparams.C: layout as string
10880
10881         * buffer.C: layout as string
10882
10883         * LyXView.[Ch]: layout as string
10884
10885         * LaTeXFeatures.[Ch]: layout as string
10886
10887         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10888
10889         * BufferView_pimpl.C: change current_layout to string, remove
10890         lyx::layout_type.
10891         (Dispatch):
10892         (smartQuote):
10893         (insertInset):
10894         (workAreaButtonRelease): layout as string
10895
10896         * BufferView2.C (unlockInset): adjust
10897
10898         * vspace.C (asLatexCommand): use an explict temp variable.
10899
10900 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * Makefile.am: use FRONTEND_*
10903
10904 2002-03-01  Juergen Vigna  <jug@sad.it>
10905
10906         * tabular.C (SetWidthOfMulticolCell): changed to something better
10907         I hope but still work in progress.
10908         (recalculateMulticolumnsOfColumn): renamed function from
10909         recalculateMulticolCells as it is more appropriate now.
10910         (SetWidthOfCell): calculate multicols better.
10911
10912 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10915
10916         * lyxfunc.C (processKeySym): print sequence also if it is
10917         `deleted' (complete)
10918
10919         * kbsequence.C (print): print sequence even if it is deleted
10920         (complete would be a better word, actually).
10921
10922         * lyxfunc.C (dispatch): print complete options after a prefix key
10923
10924         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10925
10926 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10927
10928         * text2.C (setCharFont): eliminate setCharFont code duplication.
10929
10930 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10933         LFUN_TABULAR_FEATURE (bug #177)
10934
10935 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * Makefile.am: remove figure.h
10938
10939 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10940
10941         * Bufferview_pimpl.C:
10942         * CutAndPasteC:
10943         * LaTeX.C:
10944         * LyXSendto.C:
10945         * buffer.C:
10946         * bufferlist.C:
10947         * converter.C:
10948         * language.C:
10949         * lyxfunc.C:
10950         * lyxvc.C:
10951         * paragraph.C:
10952         * text.C:
10953         * text2.C: remove #include "lyx_gui_misc.h".
10954
10955         * LaTeX.C: added #include <cstdio>
10956
10957 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10960         that the paragraph following this one can have.
10961
10962         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10963
10964         * vspace.C (asLatexCommand): fix bogus gcc warning
10965
10966         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10967
10968 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10969
10970         * text2.C (setLayout): get rid of redundant code
10971
10972 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10973
10974         * text2.C (incDepth): make sure depth cannot be increased beyond
10975         reasonable values.
10976
10977 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10978
10979         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10980         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10981
10982         * PainterBase.h (image):
10983         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10984         a LyXImage const *.
10985
10986 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * BufferView.C:
10989         * BufferView.h:
10990         * BufferView_pimpl.C:
10991         * BufferView_pimpl.h:
10992         * LaTeXFeatures.C:
10993         * LyXAction.C:
10994         * LyXView.C:
10995         * Makefile.am:
10996         * UpdateList.h:
10997         * UpdateList.C:
10998         * buffer.C:
10999         * figure.h:
11000         * figureForm.C:
11001         * figureForm.h:
11002         * figure_form.C:
11003         * figure_form.h:
11004         * lyx_cb.C:
11005         * lyx_gui.C:
11006         * lyx_gui_misc.C:
11007         * lyxfunc.C:
11008         * sp_base.h:
11009         * sp_ispell.h:
11010         * sp_pspell.h:
11011         * sp_spell.C: remove fig inset, and the crap house of
11012           cards that follows it
11013
11014 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * Makefile.am:
11017         * lyxserver.C:
11018         * os2_defines.h:
11019         * os2_errortable.h:
11020         * nt_defines.h: move .h into support/
11021
11022         * vms_defines.h: remove
11023
11024         * WorkArea.C: add space in debug output
11025
11026         * text2.C:
11027         * paragraph.C:
11028         * buffer.C: add WITH_WARNINGS
11029
11030         * vc-backend.h:
11031         * vc-backend.C:
11032         * bufferlist.C: s/retrive/retrieve/, add docs
11033
11034         * vspace.h:
11035         * vspace.C:
11036         * kbmap.h:
11037         * lyxlength.h:
11038         * lyxgluelength.h:
11039         * length_common.h:
11040         * chset.h:
11041         * chset.C: add docs
11042
11043         * lyxgui.C: add ID to X error handler
11044
11045         * lyxtestclass.c: fix typo
11046
11047 2002-02-26  Juergen Vigna  <jug@sad.it>
11048
11049         * tabular_funcs.C (write_attribute): changed so that some default
11050         attributes are not written at all.
11051         (getTokenValue): set default values before trying to read the
11052         value so we have the return value always set as default if we don't
11053         find the token we search for.
11054
11055         * tabular.C (Write): write bools as bools not as strings!
11056
11057 2002-02-22  Juergen Vigna  <jug@sad.it>
11058
11059         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11060         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11061
11062         * text.C (leftMargin): don't add an indent for paragraphs inside
11063         tabular cells (fix #208).
11064
11065 2002-02-21  José Matos  <jamatos@fep.up.pt>
11066
11067         * tabular.C (docBook): fixed support for long tables.
11068
11069 2002-02-20  Juergen Vigna  <jug@sad.it>
11070
11071         * text2.C (getFont): get the drawing font of the Inset if this
11072         paragraph is inside an inset (only important for InsetERT for now).
11073
11074         * buffer.C (insertErtContents): use new lanugage params in ERT
11075         constructor.
11076
11077         * CutAndPaste.C: commenting out seemingly uneeded code.
11078
11079 2002-02-19  Allan Rae  <rae@lyx.org>
11080
11081         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11082         Iterators might be simple to use but they also get invalidated.
11083         (removeAutoInsets): renamed saved cursor tracking variables and added
11084         some comments to clarify what everything does.
11085
11086 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11087
11088         * Chktex.C:
11089         * LaTeX.C:
11090         * LyXSendto.C:
11091         * converter.C:
11092         * lyx_cb.C:
11093         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11094         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11095
11096         * lyxfunc.C:
11097         * vc-backend.h: remove #include "support/syscall.h"
11098
11099         * LaTeX.C:
11100         * LyXSendto.C:
11101         * converter.C: rearrange #includes in Lars' approved fashion.
11102
11103         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11104         forward declare class Timeout in the header file.
11105
11106         * XFormsView.C: changes due to the above.
11107
11108         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11109         similar to LyXView.
11110
11111         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11112         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11113
11114 2002-02-18  José Matos  <jamatos@fep.up.pt>
11115
11116         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11117         insets contents.
11118
11119 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11120
11121         * a lot of small ws changes
11122         * add a lot of using std::XXX
11123         * use std construcs some places where approp.
11124         * use some exisint stuff from lyxfunctional where approp.
11125         * Make file changes to use partial linking (lets test this now...)
11126
11127 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11128
11129         * Chktex.C:
11130         * buffer.C:
11131         remove #include "support/syscontr.h" as it's redundant. Always has been.
11132
11133         * Chktex.C:
11134         * LaTeX.C:
11135         * LyXSendto.C:
11136         * converter.C:
11137         * lyx_cb.C:
11138         * vc-backend.C:
11139         change Systemcalls::System to Systemcalls::Wait and
11140         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11141         No change of functionality, just reflects the stripped down Systemcalls
11142         class.
11143
11144 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * debug.[Ch]: add a GRAPHICS type to the enum.
11147
11148 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11151
11152         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11153         there is an inset.
11154
11155 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11156
11157         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11158         match the changes below.
11159
11160         * text2.C (toggleInset): if there is not editable inset at cursor
11161         position, try to see if cursor is _inside_ a collapsable inset
11162         and close it.
11163
11164 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11167         document menu has a nice checkbox
11168
11169 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * lyxlength.C (asLatexString): change PW to output as percent of
11172         \textwidth.
11173
11174         * lengthcommon.C: change '%' to 't%'
11175
11176         * lyxfunc.C (dispatch): a few comments from Martin
11177
11178 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * WorkArea.h:
11181         * WorkArea.C:
11182         * BufferView_pimpl.h:
11183         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11184           the X selection.
11185
11186 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11187
11188         * vspace.C (inPixels): fix compiler warning
11189
11190 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * lyxfunc.C (getStatus): fix status message for disabled commands.
11193
11194 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView_pimpl.C: fix crash on close buffer
11197         during selection (#227)
11198
11199 2002-01-27  Herbert Voss  <voss@lyx.org>
11200
11201         * buffer.C: link old Figure to new graphic inset
11202
11203 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11204
11205         * FontLoader.C (getFontinfo): Change the latex font names in order
11206         to match the names of type1inst.
11207
11208 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11211
11212         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11213         (extchanged): ditto
11214         (ext_exist): ditto
11215         (remove_files_with_extension): ditto
11216         (remove_file): ditto
11217         (write): ditto
11218
11219         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11220         document is smaller than the work area height. Do not initialize
11221         static variables to 0.
11222
11223 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11226
11227         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11228         LFUN_LAYOUT_PARAGRAPHS.
11229
11230         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11231         tabular. It is possible to provide a possible cell, which will
11232         typically be the actcell from the corresponding insettabular
11233
11234         * lyxfunc.C (getStatus): small cleanup; disable
11235         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11236         true
11237
11238 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11241
11242         * paragraph.C (startTeXParParams):
11243         (endTeXParParams): new methods. The LaTeX code to
11244         start/end paragraph formatting
11245         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11246         empty (fixes bug #200)
11247
11248         * vspace.C (inPixels): adapt to the change below
11249         (inPixels): [later] more cleanups (remove unused variables)
11250
11251         * lyxlength.C (inPixels): change to use a width and a height as
11252         parameter.
11253
11254 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11257         Replaced with \paperwidth
11258
11259         * DepTable.C (insert): add std:: qualifier
11260
11261 2002-01-18  Allan Rae  <rae@lyx.org>
11262
11263         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11264         updated also?
11265
11266         * text.C (drawInset): Turned out I didn't know enough about how
11267         rebreaking worked.  This fixes most of the redraw problems.  I see
11268         an occasional cursor trail when a line is broken now and the cursor
11269         placement can seem out by a few pixels also after a rebreak.
11270
11271 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * buffer.C (parseSingleLyXformat2Token): update because minipage
11274         width is now a LyXLength
11275
11276         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11277
11278         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11279         math insets
11280
11281 2002-01-17  Juergen Vigna  <jug@sad.it>
11282
11283         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11284
11285         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11286         is set correctly and the inset is updated correctly.
11287
11288 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11291         the beginning of the loop.
11292
11293 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * lyxrc.C: improve help for use_scalable_fonts
11296
11297 2002-01-17  Allan Rae  <rae@lyx.org>
11298
11299         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11300
11301 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11304         make sure to set their inset_owner to the right value (bug #171)
11305
11306 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11307
11308         * DepTable.h
11309         * DepTable.C: Implement mtime checking to reduce time spent doing
11310         CRCs.
11311
11312 2002-01-16  Juergen Vigna  <jug@sad.it>
11313
11314         * tabular.C (GetAdditionalHeight): one of error fixed.
11315
11316         * lyxrc.C (output): small fix in writing use_pspell.
11317
11318 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11319
11320         * sp_base.h: #include LString.h
11321
11322 2002-01-16  Allan Rae  <rae@lyx.org>
11323
11324         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11325         Can someone check this please?
11326
11327         * text.C (drawInset): It was possible that p.row would be removed by
11328         breakAgainOneRow upsetting a few other settings.  There may be another
11329         small tweak possible by setting need_break_row = 0 when p.row has been
11330         removed but I don't know enough about the logic here.
11331
11332 2002-01-15  Allan Rae  <rae@lyx.org>
11333
11334         * text.C (insertChar): removed conditional truism.
11335
11336         * BufferView2.C (removeAutoInsets): More tweaks.
11337         cur_par_prev could be a stray pointer.  Check for trailing empty line
11338         in case last line was cur_par and only had an error inset on it.
11339
11340 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11343         absolute
11344
11345         * vc-backend.C (most methods):
11346         * exporter.C (Export):
11347         * converter.C (convert):
11348         (runLaTeX):
11349         * LyXSendto.C (SendtoApplyCB):
11350         * lyxfunc.C (dispatch):
11351         (menuNew):
11352         (open):
11353         (doImport):
11354         * lyx_cb.C (AutoSave):
11355         (InsertAsciiFile):
11356         * BufferView_pimpl.C (MenuInsertLyXFile):
11357         * buffer.C (runChktex): use Buffer::filePath().
11358
11359         * buffer.h: rename filename to filename_; rename filepath to
11360         filepath_ and make it private
11361         (filePath): new method
11362
11363         * buffer.C (writeFile): use fileName()
11364         (getLatexName):
11365
11366         * lyx_main.C (init): fix starting  of LyX when the binary is a
11367         link from so,ewhere else.
11368
11369         * minibuffer.C: include <cctype> for isprint
11370
11371 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11372
11373         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11374         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11375         name clash with InsetCollapsable's width function.
11376
11377 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11378
11379         * lastfiles.C: include <iterator>
11380
11381 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11382
11383         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11384         std::count.
11385
11386         * buffer.C (makeLaTeXFile): ditto.
11387         Also make loop operation more transparent.
11388
11389 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * ToolbarDefaults.C: remove trailing comma closing namespace.
11392
11393         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11394
11395         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11396         as in WorkArea.
11397
11398         * trans.C (Load): comment out unused variable, allowed.
11399
11400 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11401
11402         * minibuffer.[Ch] (append_char): new method to recieve input from the
11403         drop-down completion browser. If a key was pressed, then recieve this
11404         char and append it to the existing string.
11405         (peek_event): modify the positioning data passed to the completion
11406         browser so that it can be placed above the minibuffer rather than below.
11407 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * LyXAction.C (init): alloe error-next for readonly documents.
11410
11411         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11412         count.
11413
11414 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * bufferlist.C (readFile): create the buffer _after_ checking that
11417         the file exists.
11418
11419         * lyxfunc.C (verboseDispatch): fix handling of arguments
11420
11421         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11422
11423         * lyxrc.C: use string::erase() instead of initializing to "".
11424
11425
11426 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * BufferView_pimpl.h:
11429         * BufferView_pimpl.C:
11430         * WorkArea.h:
11431         * WorkArea.C:
11432         * text2.C: tell X when we have made a selection for copying
11433
11434 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * BufferView_pimpl.C (MenuInsertLyXFile):
11437         * lyxfunc.C (menuNew):
11438         (open):
11439         (doImport): add shortcuts to directory buttons
11440
11441         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11442         open a float)
11443
11444         * lyxfunc.C (setStatusMessage):
11445         (getStatusMessage): new methods
11446         (getStatus):use setStatusMessage instead of setErrorMessage
11447         (dispatch): when function is disabled, set error message here
11448         [instead of in getStatus previously]
11449
11450         * BufferView_pimpl.C (workAreaButtonRelease): update
11451         toolbar/menubar here too.
11452
11453 2002-01-13  Allan Rae  <rae@lyx.org>
11454
11455         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11456         Now seems indestructible.  Remaining task is to audit all other
11457         code affected by deleteEmptyParagraphMechanism.  One small quirk
11458         left is that an empty document with an error in the preamble can
11459         be made to report an error but no error box appears.  I don't know
11460         where it goes.
11461         (removeAutoInsets): Improved comments.
11462
11463 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * Thesaurus.h:
11466         * Thesaurus.C: update for Aiksaurus 0.14
11467
11468 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * text2.C (firstParagraph): removed member function, all uses
11471         replaces with ownerParagraph
11472         (redoParagraphs): here
11473         (updateInset): here
11474         (toggleAppendix): here
11475         * BufferView2.C (insertErrors): here
11476         (setCursorFromRow): here
11477
11478 2002-01-13  Allan Rae  <rae@lyx.org>
11479
11480         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11481         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11482         There is still a way to segfault this although you may have to do this
11483         multiple times: Have an InsetERT with an unknown command in it.
11484         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11485         <down-arrow>, <Enter> again, View->DVI, BANG!
11486
11487         * text2.C (setCursor):
11488         (deleteEmptyParagraphMechanism):
11489         * lyxtext.h (setCursor):
11490         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11491         Making use of the return value may help fix other bugs.
11492
11493 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11496
11497         * LyXView.C (updateMenubar): call MenuBar::update here
11498         (updateToolbar): but not here
11499         (showState): do not update toolbar/menubar
11500
11501         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11502         should need to care about that.
11503
11504         * lyxfunc.C (verboseDispatch): simplify a bit
11505         (getStatus): have a version which takes a pseudoaction, and
11506         another which requires a (kb_action,string).
11507
11508         * LyXAction.C (retrieveActionArg): make it work also when action
11509         is not a pseudo-action.
11510         (getActionName): simplify a bit
11511         (helpText):
11512
11513 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * lyxfunc.C (verboseDispatch): new families of methods with
11516         several ways to specify a command and a bool to indicate whether
11517         the command name and shortcut should be displayed in minibuffer
11518         (eventually, we could extend that to a finer bitmask like
11519         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11520         (dispatch): the pristine dispatch command which just, well,
11521         dispatchs! Note it still sets its result to minibuffer; I'm not
11522         sure we want that.
11523
11524         * lyxfunc.h: remove setHintMessage
11525
11526         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11527
11528 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * BufferView_pimpl.C (specialChar): delete new inset if we have
11531         not been able to insert it.
11532
11533         * kbmap.C: revert to using int instead of kb_action, since all we
11534         are dealing with is pseudo-actions.
11535
11536         * LyXAction.C (searchActionArg): change to return int instead of
11537         kb_action, since the result is a pseudoaction.
11538
11539 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11540
11541         * buffer.C (insertErtContents): Fix (partially) the font bug.
11542
11543 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11544
11545         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11546         as the other one is broken on my machine!
11547
11548 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11549
11550         * commandtags.h:
11551         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11552
11553 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11556         reflect their actual use. Provide compatibility code for older lyxrc
11557         files.
11558
11559         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11560         FL_NORMAL_STYLE.
11561         change names of popup font variables in line with the changes to lyxrc.C
11562
11563 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * buffer.C (asciiParagraph): avoid outputing a word twice after
11566         an inset.
11567
11568         * lyxrc.C (getDescription): document that document_path and
11569         template_path can be empty.
11570
11571 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * LaTeXFeatures.C (getMacros):
11574         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11575
11576         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11577
11578         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11579         getPackages.
11580         (getPackages): rename feature "floats" to "float". Use an array to
11581         iterate over 'simple' features (i.e. just a \usepackage). Add
11582         handling of "amsmath" (renamed from "amsstyle").
11583
11584 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11585
11586         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11587         features list.
11588
11589 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11592         FuncStaus::FuncStatus & FuncStaus::some_method().
11593
11594 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11595
11596         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11597         of the func_satus stuff. Edited and massaged in various ways by
11598         JMarc.
11599
11600         * lyxfunc.C (getStatus): use FuncStatus
11601
11602 2002-01-08  Juergen Vigna  <jug@sad.it>
11603
11604         * text.C (nextBreakPoint): use function Inset::isChar().
11605
11606         * paragraph.C (TeXOnePar): use function
11607         Inset::forceDefaultParagraphs.
11608
11609         * buffer.C (latexParagraphs): use function
11610         Inset::forceDefaultParagraphs.
11611
11612 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11613
11614         * lyx_gui.C (init): set the style of the menu popups to
11615         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11616
11617 2002-01-07  Juergen Vigna  <jug@sad.it>
11618
11619         * text.C (setHeightOfRow): small fix
11620         (prepareToPrint): don't look at alignment if we don't have the place
11621         for doing it.
11622
11623 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11624
11625         * box.C: New file. Move the Box methods and functions out of box.h,
11626         following Lars' suggestion.
11627
11628 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11629
11630         * box.h: #include "support/LOstream.h", needed for inlined function.
11631
11632         * lyxtextclass.C:
11633         * lyxtextclasslist.C: added some using std declarations.
11634
11635 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * box.h: make signed dimensions to allow insets wider than
11638           the screen (bug #162)
11639
11640         * BufferView_pimpl.C: add some insetHit debug
11641
11642 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * vc-backend.C: add FIXME
11645
11646 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11647
11648         * lyxfunc.C (getStatus): enable code for showing math font status
11649         in toolbar/menu.
11650
11651 2002-01-07  Juergen Vigna  <jug@sad.it>
11652
11653         * text.C (nextBreakPoint): removed debug output not needed anymore.
11654
11655 2002-01-06  Juergen Vigna  <jug@sad.it>
11656
11657         * text.C (nextBreakPoint): fixed up this function we had this bug
11658         since ever but now hopefully we break row better.
11659         (insertChar): we have to check if an inset is the next char as it
11660         could now happen that a large inset is causing a break.
11661
11662 2002-01-05  Juergen Vigna  <jug@sad.it>
11663
11664         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11665         if it doesn't like to be drawed.
11666
11667 2002-01-04  Juergen Vigna  <jug@sad.it>
11668
11669         * BufferView2.C (lockInset): forgot to set a cursor.
11670
11671         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11672
11673 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11674
11675         * FormMathsPanel.C:
11676         * FormMathsPanel.h
11677         * MathsSymbols.C:
11678         * form_maths_panel.C:
11679         * form_maths_panel.h:
11680         * form_maths_panel.fd: implemented sub- and super- buttons in math
11681         panel.
11682
11683         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11684         (or ^ space) to be used as in TeX (req'd by André).
11685
11686         * lyxfunc.C: Allow ^ and _ again to be used both as
11687         super/subscript (mathed) and as themselves (in text).
11688
11689 2002-01-03  Allan Rae  <rae@lyx.org>
11690
11691         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11692         "LyX" or the filename of the current buffer if it has one.  This is a
11693         modified form of John Levon's patch.
11694
11695         * XFormsView.C (setWindowTitle): also set icon title.
11696
11697         * LyXView.h (setWindowTitle): signature changed.
11698         * XFormsView.h (setWindowTitle): ditto.
11699
11700 2002-01-02  Juergen Vigna  <jug@sad.it>
11701
11702         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11703
11704 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * screen.C (topCursorVisible): introduce a temp var for
11707         text->cursor.row(), handle the case where this row is null. (kindo
11708         hachish)
11709
11710         * text2.C (setCursor): add a couple of asserts.
11711
11712         * paragraph.h (inset_iterator): add -> operator
11713
11714         * paragraph.[Ch] (autoDeleteInsets): remove member function
11715
11716         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11717         cursor pos correctly and handle inset deletion by itself.
11718         (insertErrors): move iterator declaration out of for expression
11719
11720         * lyxtextclass.C: add <algorithm>
11721
11722         * Makefile.am: added the new files to sources, removed layout.C
11723
11724         * layout.C: removed file
11725
11726         * layout.h: remove LYX_DUMMY_LAYOUT
11727
11728         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11729         layout.
11730
11731         * lyxlayout.[Ch]:
11732         * lyxtextclass.[Ch]:
11733         * lyxtextclasslist.[Ch]: new files
11734
11735         * include order changes to a lot of files, also changes because of
11736         the six new files.
11737
11738 2001-12-27  Juergen Vigna  <jug@sad.it>
11739
11740         * buffer.C (asciiParagraph): more fixes.
11741
11742         * tabular.C (ascii): make ascii export support export of only the
11743         data separated by a column-delimiter.
11744         (ascii): better support for ascii export.
11745
11746         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11747
11748 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11749
11750         * tabular_funcs.C: use a "using std::getline" instead of the
11751         previous fix from Angus (necessary for cxx + lyxstring)
11752
11753 2001-12-24  Juergen Vigna  <jug@sad.it>
11754
11755         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11756
11757         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11758         problems. First check a minipage also if we have some ert-contents
11759         (not only on par->size(), second set the right depth of the paragraph
11760         on the relink to the root-paragraph-list!
11761
11762         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11763         which then did not anymore update the main paragraphs on undo/redo!
11764
11765 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11768         code. Support all font-changing funcs (even those which are not in
11769         menu currently). Support for reporting font settings in
11770         mathed (disabled until Andre provides a function on mathed's side).
11771
11772         * func_status.h (toggle): small helper function to set toggle
11773         state on a flag.
11774
11775 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11776
11777         * tabular_funcs.C: getline -> std::getline
11778
11779 2001-12-21  Juergen Vigna  <jug@sad.it>
11780
11781         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11782         accessed and could be 0 (I couldn't generate this but it seems
11783         Michael could!).
11784
11785 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11788         * tabular_funcs.h: here and include iosfwd
11789
11790 2001-12-20  Juergen Vigna  <jug@sad.it>
11791
11792         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11793         inside inset but undo_par was.
11794
11795 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * Thesaurus.C: always include <config.h> in sources.
11798
11799         * Painter.h:
11800         * lyxlookup.h:
11801         * box.h: do not include <config.h> in header files
11802
11803         * text.C (paintLastRow): remove unused variable
11804
11805         * text.C (transformChar):
11806         (insertChar):
11807         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11808
11809         * Painter.C (text):
11810         * font.C (width): rewrite to use uppercase() instead of
11811         islower/toupper.
11812
11813         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11814
11815 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * lyxfind.C: clean up of find failure position change
11818
11819 2001-12-20  Juergen Vigna  <jug@sad.it>
11820
11821         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11822
11823         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11824         (TeXRow): added to LaTeX a single tabular row.
11825         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11826         (Latex): simplified and finally good LT-h/f support.
11827         (various_functions): just small adaptions for LT-h/f support.
11828
11829         * tabular_funcs.[hC]: added and moved here all not classfunctions
11830         of LyXTabular.
11831
11832 2001-12-19  Juergen Vigna  <jug@sad.it>
11833
11834         * tabular.[Ch]: better support for longtabular options (not finished
11835         yet!)
11836
11837 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11838
11839         * text.C (paintLastRow): use the label font instead of the font of
11840         the last character to compute the size of *_BOX. This makes more
11841         sense and avoids a crash with empty paragraphs.
11842         Use Painter::rectangle to draw EMPTY_BOX.
11843
11844 2001-12-19  Juergen Vigna  <jug@sad.it>
11845
11846         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11847         the paragraphs if the replaced paragraph is not the first one!
11848         Tried to delete not used paragraphs but does not work yet so for
11849         now it's inside #ifdef's and by default off!
11850
11851 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11852
11853         * MenuBackend.C: include "lyx_main.h" instead of declaring
11854         lastfiles (actually was declared as LastFiles* instead of a
11855         scoped_ptr).
11856
11857 2001-12-17  Juergen Vigna  <jug@sad.it>
11858
11859         * tabular.C (AppendColumn): applied John's fix
11860
11861 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * BufferView.h:
11864         * BufferView.C:
11865         * BufferView_pimpl.h:
11866         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11867
11868         * Makefile.am:
11869         * box.h: new start of class for above
11870
11871         * lyxfunc.C: ignore space-only minibuffer dispatches.
11872           Show the command name when it doesn't exist
11873
11874         * minibuffer.C: don't add empty lines to the history
11875
11876         * minibuffer.C: add a space on dropdown completion
11877
11878 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * text.C: fix line above/below drawing in insets
11881
11882 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * lyxlength.C (LyXLength): Initialize private variables.
11885
11886 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11889         when inserting error insets.
11890
11891 2001-12-13  Juergen Vigna  <jug@sad.it>
11892
11893         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11894         actually sometimes the before-paragraph.
11895         (setUndo): don't clear the redostack if we're not actually undoing!
11896
11897 2001-12-06  Juergen Vigna  <jug@sad.it>
11898
11899         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11900         and fixed redoing of main paragraph, so we can use it now ;)
11901
11902         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11903
11904 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11907         Juergen's request
11908
11909 2001-12-13  André Pönitz <poenitz@gmx.net>
11910
11911         * undostack.[Ch]:
11912         * undo_func.C: minor cleanup
11913
11914 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11915
11916         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11917         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11918         font in urw-fonts package which is marked as -urw-fontspecific and
11919         does not work (incidentally, changing the encoding in the
11920         fonts.dir of this package to -adobe-fontspecific fixes the
11921         problem).
11922
11923         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11924         is a crash when undoing first paragraph (Juergen, please take a
11925         look). THis does not mean the undo fix is wrong, just that it
11926         uncovers problems.
11927
11928         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11929         the (Paragraph*) version when needed instead of duplicating the
11930         code.
11931
11932         * text.C (workWidth): use Inset::parOwner to find out where the
11933         inset has been inserted. This is a huge performance gain for large
11934         documents with lots of insets. If Inset::parOwner is not set, fall
11935         back on the brute force method
11936
11937         * paragraph_pimpl.C (insertInset):
11938         * paragraph.C (Paragraph):
11939         (cutIntoMinibuffer): set parOwner of insets when
11940         inserting/removing them
11941
11942         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11943
11944 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11945
11946         * commandtags.h:
11947         * LyXAction.C:
11948         * lyx_main.C:
11949         * lyxfunc.C:
11950         * mathed/formulabase.C:
11951         * mathed/math_cursor.[Ch]:
11952         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11953
11954
11955 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * lyxlength.[Ch] (operator!=): new function
11958
11959 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * text.C (workWidth): use Inset::parOwner to find out where the
11962         inset has been inserted. This is a huge performance gain for large
11963         documents with lots of insets. If Inset::parOwner is not set, fall
11964         back on the brute force method
11965
11966         * paragraph_pimpl.C (insertInset):
11967         * paragraph.C (Paragraph):
11968         (cutIntoMinibuffer): set parOwner of insets when
11969         inserting/removing them
11970
11971         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11972
11973 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * tabular-old.C (getTokenValue):
11976         * tabular.C (getTokenValue):
11977         (write_attribute): new versions for LyXLength
11978         (everywhere): adjust the use of widths
11979
11980         * tabular.h: change the type of widths from string to LyXLength
11981
11982 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11983
11984         * paragraph.C: fixed missing line number count when exporting
11985         Environments to LaTeX file
11986
11987         * buffer.C: added informational message for checking line numbers.
11988
11989 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11990
11991         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11992         paragraph, do the 'double space' part, but not the 'empty
11993         paragraph' one.
11994
11995         * text.C (workWidth): small optimization
11996         (getLengthMarkerHeight): use minimal size for negative lengths.
11997
11998 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11999
12000         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12001
12002         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12003
12004 2001-12-11  André Pönitz <poenitz@gmx.net>
12005
12006         * FontLoader.C:
12007         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12008
12009 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * text2.C: keep selection on a setFont()
12012
12013 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyx_cb.C: another bv->text misuse, from insert label
12016
12017 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * kbsequence.h:
12020         * kbsequence.C: re-instate nmodifier mask
12021
12022 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12023
12024         * lyx_main.h: make lyxGUI private.
12025
12026 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * lyxfind.C: place the cursor correctly on failed search
12029
12030 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * text.C (getLengthMarkerHeight): for small heights, the arrows
12033         are not always on top/bottom of the text
12034         (drawLengthMarker): smaller arrows; take the left margin in
12035         account; draw also vfills.
12036         (paintFirstRow):
12037         (paintLastRow): remove special code for vfill and standard spaces,
12038         since everything is handled in drawLengthMarker now.
12039
12040 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * buffer.C (insertErtContents): try to handle font and language
12043         interaction a bit better.g
12044
12045         * ColorHandler.C (updateColor): change the hash to cover the whole
12046         LColor enum, ws cleanup
12047         (getGCLinepars): ditto
12048         (getGCLinepars): only lookup in the linecache once.
12049
12050 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12051
12052         * iterators.C (operator++): Make the iterator more robust
12053
12054         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12055         (John's patch)
12056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12057
12058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * lyxtext.h:
12061         * text.C: better added space drawing
12062
12063 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * LyXView.C:
12066         * BufferView2.C: fix layout combo update on inset unlock
12067
12068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * Makefile.am: don't compile unused files
12071
12072 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * lyxfunc.C:
12075         * commandtags.h:
12076         * LyXAction.C: remove old LFUN_LAYOUTNO
12077
12078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * paragraph_pimpl.h:
12081         * paragraph_pimpl.C: isTextAt() doesn't need font param
12082
12083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * lyxlex.h:
12086         * lyxlex.C: little cleanup
12087
12088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * BufferView_pimpl.C: fix insertAscii for insets
12091
12092 2001-12-05  Juergen Vigna  <jug@sad.it>
12093
12094         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12095         set the right font on the "multi" paragraph paste!
12096
12097 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * trans_decl.h:
12100         * trans_mgr.[Ch]:
12101         * trans.[Ch]:
12102         * lyxgluelength.C:
12103         * lyxlength.C: remove out-commented code.
12104
12105         * BufferView_pimpl:
12106         * CutAndPaste.C:
12107         * DepTable.C:
12108         * buffer.C:
12109         * chset.C:
12110         * lastfiles.C:
12111         * lyxlex.C:
12112         * lyxlex_pimpl.C:
12113         * lyxserver.C:
12114         * screen.C:
12115         * tabular-old.C:
12116         * tabular.C:
12117         * text.C:
12118         * trans_mgr.C:
12119         * vc-backend.C: change "while(" to "while ("
12120
12121         * lyxlength.[Ch]: add zero function to check if length is zero or
12122         not
12123         * lyxgluelength.C: use it
12124
12125 2001-12-05  Allan Rae  <rae@lyx.org>
12126
12127         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12128         Works for 2.95.3, from what I understand of Garst's reports this should
12129         work for other g++ versions.  We're screwed if the abs(int) definition
12130         changed between bugfix releases of gcc.
12131
12132 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * text.C: fix chapter label offset !
12135
12136 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * lyxtext.h:
12139         * text.C: fix hfill at end of line, clean up
12140
12141 2001-12-04  Juergen Vigna  <jug@sad.it>
12142
12143         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12144         that we force an update of the inset and it's owners if neccessary.
12145
12146 2001-12-03  Juergen Vigna  <jug@sad.it>
12147
12148         * text.C (rowLast): simplified code
12149
12150 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * lyxfunc.C: fix show options on timeout
12153
12154 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * screen.C (topCursorVisible): scroll half a page when the cursor
12157         reached top of bottom of screen
12158
12159 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * minibuffer.C: deactivate on loss of focus
12162
12163 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12164
12165         * vspace.[Ch] (operator!=): add operator.
12166
12167 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * BufferView_pimpl.C: refuse to open an inset when
12170         there's a selection.
12171
12172 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * BufferView_pimpl.C: allow to click on RHS of full row insets
12175
12176 2001-11-30  Juergen Vigna  <jug@sad.it>
12177
12178         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12179         insets for undo reasons.
12180
12181 2001-11-28  André Pönitz <poenitz@gmx.net>
12182
12183         * vspace.[Ch]: cosmetical changes
12184
12185 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * LyXAction.h:
12188         * LyXAction.C:
12189         * lyxfunc.h:
12190         * lyxfunc.C:
12191         * kbmap.h:
12192         * kbmap.C:
12193         * lyxrc.C:
12194         * kbsequence.h:
12195         * kbsequence.C: part re-write of old kb code
12196
12197         * Painter.C:
12198         * WorkArea.C: remove Lgb_bug_find_hack
12199
12200 2001-11-30  José Matos <jamatos@fep.up.pt>
12201
12202         * buffer.C (makeDocBookFile): add a comment to point a hack.
12203         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12204         Fixed a double write of labels.
12205
12206 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12207
12208         * LaTeX.C:
12209         * LaTeX.h Fixed bug in LaTeX class where it would not
12210         re-run latex if no depfiles were changed, but the .dvi was removed.
12211
12212 2001-11-28  André Pönitz <poenitz@gmx.net>
12213
12214         * all the files from the change on 2001/11/26:
12215         use lyx::layout_type instead of LyXTextClass::size_type
12216         use lyx::textclass_type instead of LyXTextClassList::size_type
12217
12218 2001-11-29  Juergen Vigna  <jug@sad.it>
12219
12220         * text.C: added support for paragraph::isFreeSpacing()
12221
12222         * buffer.C: same as above
12223
12224         * paragraph.h: inserted isFreeSpacing() function to enable
12225         FreeSpacing inside InsetERT.
12226
12227         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12228         of the paragraph's in the cut/copy buffer to 0!
12229
12230         * text2.C (removeRow): remove the assert as it can!
12231
12232         * lyxtext.h: added helper function firstRow returning firstrow and
12233         made firstrow private again.
12234
12235         * BufferView2.C (lockInset): don't relock if we're already locked!
12236
12237         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12238         the only paragraph.
12239         (removeRow): added Assert::(firstrow)
12240
12241         * debug.C: forgot to add INSETTEXT here.
12242
12243 2001-11-28  Juergen Vigna  <jug@sad.it>
12244
12245         * sp_spell.C (initialize): changed error text to more general
12246         spellchecker command use (not only ispell!)
12247
12248         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12249
12250         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12251
12252 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * vspace.C: initialise lyxgluelength on failure
12255
12256 2001-11-28  Allan Rae  <rae@lyx.org>
12257
12258         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12259         declaration & definition that looks like a function declaration.
12260
12261 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * BufferView2.C (copy):
12264         (copyEnvironment): do not clear the selection when doing a copy.
12265
12266         * text.C (paintFirstRow): compilation fix
12267
12268 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12269
12270         * tabular.C (Latex): correct line count when writing latex.
12271
12272 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * paragraph_pimpl.h:
12275         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12276           bug a bit
12277
12278 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * text.C:
12281         * LColor.h:
12282         * LColor.C: change vfillline->added_space
12283
12284         * text.C: add markers and text for added space
12285
12286         * vspace.C: fix comment
12287
12288 2001-11-28  André Pönitz <poenitz@gmx.net>
12289
12290         * paragraph.C: whitespace changes
12291         * all the other files from the change on 2001/11/26:
12292         change *::pos_type into lyx::pos_type
12293
12294 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12295
12296         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12297         language of the document when inserting error insets.
12298
12299 2001-11-26  André Pönitz <poenitz@gmx.net>
12300
12301         * BufferView_pimpl.[Ch]:
12302         *       CutAndPaste.C:
12303         * buffer.[Ch]:
12304         * lyxcursor.[Ch]:
12305         * lyxfind.C:
12306         * lyxfunc.C:
12307         * lyxrow.[Ch]:
12308         * paragraph.[Ch]:
12309         * paragraph_pimpl.[Ch]:
12310         * sp_spell.C:
12311         * text.C:
12312         * text2.C: reduce header dependencies, introduce type for positions
12313
12314 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * <various>: change to use Alert.h
12317
12318 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12319
12320         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12321         when encountering an unknown token.
12322         (readLyXformat2): Show an error message if there were unknown tokens.
12323
12324 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * BufferView2.C:
12327         * BufferView_pimpl.C:
12328         * buffer.C:
12329         * paragraph.h:
12330         * text.C:
12331         * text2.C: use par->isInset()
12332
12333 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * paragraph_pimpl.h:
12336         * paragraph_pimpl.C: cleanup
12337
12338 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12339
12340         * text2.C (removeRow):
12341         * text.C (setHeightOfRow): remove useless (and costly) call to
12342         getRow.
12343
12344 2001-11-20  Allan Rae  <rae@lyx.org>
12345
12346         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12347         Now need Inset*::checkInsertChar() to return true for appropriate
12348         cases so that the characters in the minibuffer will actually be
12349         inserted.
12350
12351 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * text.C: change the order of the includes.
12354         (workWidth): initialize it at once.
12355         (workWidth): make maxw unsigned
12356         (setHeightOfRow): remove unused variable (inset)
12357         (selectSelectedWord): remove unused variable (inset)
12358         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12359
12360 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12361
12362         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12363         server is not running.
12364         (openConnection):
12365         (closeConnection): add debug info when server is disabled.
12366
12367         * ColorHandler.C (getGCForeground): send debug message to GUI
12368         channel.
12369
12370         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12371
12372         * kbmap.C (bind): modify because return conventions of
12373         kb_sequence::parse have changed.
12374
12375         * kbsequence.C (parse): only ignore spaces and not any stupid
12376         control character. This avoids tests like s[i] <= ' ', which are
12377         guaranteed to fail with 8bit characters and signed chars.
12378         Change return code to string::npos when there have been no error
12379         (0 was a bad idea when error is at first character)
12380
12381 2001-11-14  José Matos  <jamatos@fep.up.pt>
12382
12383         * buffer.h:
12384         * buffer.C (simpleDocBookOnePar): removed unused argument.
12385
12386 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12389         insets which are part of a word. Paragraph::isLetter takes care of
12390         that now. Use Paragraph::isInset to identify insets.
12391         (selectSelectedWord): do not test for hyphenation break.
12392
12393         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12394         that protected spaces are considered as spaces.
12395
12396         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12397         Inset::isLetter.
12398
12399 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyxserver.h:
12402         * lyxserver.C: fix it. and small cleanup.
12403
12404 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.C: use inline helpers
12407
12408         * LaTeXFeatures.h:
12409         * LaTeXFeatures.C: fix typos
12410
12411         * Spacing.h:
12412         * Spacing.C: move spacing_string into class
12413
12414         * ToolbarDefaults.C: move stuff into namespace anon
12415
12416         * layout.h: update enum
12417
12418         * lyxfunc.C: use better debug
12419
12420         * minibuffer.h: fix typo
12421
12422         * debug.h:
12423         * debug.C:
12424         * WorkArea.C: add and use Debug::WORKAREA
12425
12426         * lyxtext.h:
12427         * text.C:
12428         * text2.C: code re-organisation, inline helpers
12429
12430 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12431
12432         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12433         std::vector.empty().
12434
12435 2001-11-09  Allan Rae  <rae@lyx.org>
12436
12437         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12438         '\n's after tables.  Tabular and ERT inset work now makes this no
12439         longer necessary.
12440
12441 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * minibuffer.h:
12444         * minibuffer.C: fix crash, improve drop-down completion
12445
12446 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyxserver.h:
12449         * lyxserver.C: invalidate fd's when doing endPipe()
12450
12451 2001-11-08  José Matos  <jamatos@fep.up.pt>
12452
12453         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12454         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12455
12456         * paragraph.h:
12457         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12458
12459 2001-11-07  José Matos  <jamatos@fep.up.pt>
12460
12461         * buffer.h:
12462         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12463         const qualifier.
12464
12465         * buffer.C (sgmlOpenTag):
12466         * buffer.C (sgmlCloseTag): removed debug info.
12467
12468         * buffer.h (sgmlOpenTag):
12469         * buffer.h (sgmlCloseTag): made public.
12470
12471 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * buffer.C (saveParamsAsDefaults):
12474         * lyx_cb.C (MenuLayoutSave): remove
12475
12476         * LyXAction.C (init):
12477         * commandtags.h:
12478         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12479
12480 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * buffer.C (setPaperStuff): removed from here...
12483
12484         * bufferparams.C (setPaperStuff): ... and moved there.
12485
12486 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * minibuffer.h:
12489         * minibuffer.C:
12490         * XFormsView.C: add support for drop-down completion
12491
12492 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12495         commands.
12496
12497 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12498
12499         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12500         disabled.
12501
12502 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * lyx_main.C: change ref to known bugs
12505
12506 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12507
12508         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12509         to work around older babel problems.
12510
12511 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12512
12513         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12514
12515 2001-10-24  Juergen Vigna  <jug@sad.it>
12516
12517         * tabular-old.C (ReadOld): below variable changes reflected.
12518
12519         * tabular.[Ch]: added ltType struct for longtable header/footer
12520         defines and changed all instances where they are used. Added
12521         future support for double top/bottom rows.
12522
12523 2001-10-24  José Matos  <jamatos@fep.up.pt>
12524
12525         * buffer.h (docbookHandleCaption):
12526         * buffer.C (docbookHandleCaption): removed unused function.
12527         (makeDocBookFile): moved docbook supported version to v4.1.
12528
12529 2001-10-24  José Matos  <jamatos@fep.up.pt>
12530
12531         * tabular.h:
12532         * tabular.C (docbookRow): new function to export docbook code of a row.
12533         (DocBook): now honors the longtable flags.
12534
12535 2001-10-23  José Matos  <jamatos@fep.up.pt>
12536
12537         * LaTeXFeatures.h:
12538         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12539         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12540
12541         * buffer.C (makeLinuxDocFile):
12542         (makeDocBookFile): reworked the preamble, more clean, and with
12543         support for lyx defined entities. Changed the document declaration
12544         to be more XML friendly.
12545
12546         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12547         if we need to output XML that should be done with a filter.
12548
12549 2001-10-22  Juergen Vigna  <jug@sad.it>
12550
12551         * sp_pspell.h (class PSpell): add alive function needed in the
12552         controller to see if the spellchecker could be started.
12553
12554 2001-10-22  Juergen Vigna  <jug@sad.it>
12555
12556         * buffer.C (insertStringAsLines): modify the font for inserting
12557         chars in certain conditions by calling checkInsertChar(font).
12558
12559 2001-10-19  Juergen Vigna  <jug@sad.it>
12560
12561         * text.C (workWidth): use getRow instead of wrong algorithm.
12562         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12563
12564 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * lyxserver.h:
12567         * lyxserver.C:
12568         * lyx_main.h:
12569         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12570
12571 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12572
12573         * text.C (workWidth): do not search for the exact row when
12574         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12575         optimization for big documents.
12576
12577 2001-10-18  Juergen Vigna  <jug@sad.it>
12578
12579         * text.C (workWidth): new function with added Inset * parameter.
12580
12581 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12584
12585         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12586         change return type of getColumnNearX.
12587
12588
12589         * text.C (changeRegionCase): use uppercase/lowercase instead of
12590         toupper/tolower.
12591         (leftMargin):
12592         (rightMargin): simplify code by factoring out the uses of
12593         textclasslist.
12594         (labelFill):
12595         (numberOfHfills):
12596         (setHeightOfRow):
12597         (appendParagraph): use Paragraph::size_type
12598
12599 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12600
12601         * vspace.C (asLatexString): add a missing break
12602
12603 2001-10-15  Herbert Voss  <voss@perce.de>
12604
12605         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12606
12607 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12608
12609         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12610         is not available.
12611
12612 2001-10-10  André Pönitz <poenitz@gmx.net>
12613
12614         * lyxfunc.C: removed greek_kb_flag.
12615
12616 2001-10-10  Herbert Voss  <voss@perce.de>
12617
12618         * lyx_main.C: delete global string help_lyxdir.
12619
12620 2001-10-09  Herbert Voss  <voss@perce.de>
12621
12622         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12623
12624         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12625
12626         * lyx_main.C: added global string help_lyxdir.
12627
12628         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12629
12630 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12631
12632         * lyxrc.C (set_font_norm_type): support iso8859-4
12633
12634 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12635
12636         * LaTeX.C (deplog): add another regex for MikTeX
12637
12638 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12639
12640         * lyxrc.C (set_font_norm_type): support iso8859-3
12641
12642 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12645
12646         * LaTeXFeatures.C: remove special case of french and index
12647
12648         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12649         before \begin{document}). This solves several incompatibilities.
12650
12651 2001-10-03  Garst Reese  <reese@isn.net>
12652
12653         * lyx_cb.C: change CheckTex error msg.
12654
12655 2001-10-03  José Matos  <jamatos@fep.up.pt>
12656
12657         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12658
12659 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12660
12661         * .cvsignore: update
12662
12663         * lyx_main.C (commandLineVersionInfo): use new style version info.
12664
12665         * buffer.C (writeFile):
12666         (makeLaTeXFile):
12667         (makeLinuxDocFile):
12668         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12669
12670         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12671
12672         * version.h: update to use stuff in version.C
12673
12674         * version.C.in: new file. Contains version information determined
12675         at compile time. This is a merging of version.h and
12676         version_info.h.in.
12677
12678 2001-10-03  Juergen Vigna  <jug@sad.it>
12679
12680         * BufferView_pimpl.C (update): don't change "dirty" status in
12681         updateInset call.
12682
12683 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * WorkArea.C (c-tor): re-position version string slightly.
12686
12687 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12690         revert to previous code.
12691
12692         WorkArea.[Ch]: (show, destroySplash): methods removed.
12693
12694         WorkArea.C: rework code so that it's an amalgam of the codes before and
12695         after the splash screen was moved to WorkArea.
12696
12697 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * lyxrc.C (read):
12700         * vspace.C (inPixels):
12701         (lyx_advance):
12702         * kbmap.C (bind):
12703         * buffer.C (insertStringAsLines):
12704         (asciiParagraph): fix types to be large enough
12705
12706         * lyxlex_pimpl.h: change member status from short to int
12707
12708         * layout.h: fix type of endlabeltype
12709
12710         * kbmap.C (bind):
12711         * kbsequence.C (parse): change return type to string::size_type
12712
12713         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12714         variable
12715
12716         * Bullet.C (bulletSize):
12717         (bulletEntry): do not use short ints as parameters
12718
12719         * BufferView2.C (insertLyXFile): change a char to an int.
12720
12721         * WorkArea.C (WorkArea): remove unneeded floats in computation
12722
12723 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12726
12727         * paragraph.C (asString): Do not ignore newline/hfill chars when
12728         copying to the clipboard.
12729
12730 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12733         after a multi-line inset.
12734
12735 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12736
12737         * paragraph.C (validate): Set NeedLyXFootnoteCode
12738
12739 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12742         and decrease-error to decrease.
12743
12744 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12747         it more readable (should be equivalent)
12748
12749 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12750
12751         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12752
12753 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12756         of a cursor (row, etc.) after a character has been deleted
12757         (deleteEmptyParagraphMechanism): call the method above on _all_
12758         cursors held by the LyXText when a double space has been
12759         detected/deleted.
12760
12761 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12762
12763         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12764         pixmap.
12765         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12766
12767         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12768         background. Use greyOut() and the new show() methods to toggle between
12769         the foreground and background. Add code to remove the splash after
12770         its initial showing.
12771
12772         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12773         (create_forms): no longer call Dialogs::showSplash.
12774
12775 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * .cvsignore: add version_info.h
12778
12779 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * version_info.h.in: new file
12782
12783         * Makefile.am: add version_info.h.in
12784
12785         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12786         version_info.h instead of VERSION_INFO
12787
12788 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12791         The ERT inset now returns string().
12792
12793 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * lyxtext.h, text.C (selectNextWord): renamed as
12796         selectNextWordToSpellcheck.
12797
12798         * text.C (selectNextWordToSpellcheck): Modified to not select
12799         words inside an ERT inset.
12800
12801 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12802
12803         * lyx_cb.C (MenuLayoutSave): change a bit the question
12804
12805         * sp_base.h: include <sys/types.h>
12806
12807 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12810
12811 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12812
12813         * several files: fix typos in user-visible strings
12814
12815 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * text2.C (pasteSelection): do not set the selection, since it
12818         will be cleared later. Actually, the intent was to fix the way the
12819         selection was set, but I figured rmoving the code was just as good.
12820
12821 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12822
12823         * FontLoader.C (available): Check if font is available without
12824         loading the font.
12825
12826 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12827
12828         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12829
12830 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * lyxrc.[Ch]: added display_graphics variable and associated code.
12833
12834 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12835
12836         * bufferparams.C (hasClassDefaults): new method. Returns true if
12837         the buffer parameters correspond to known class defaults
12838
12839 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12840
12841         * XFormsView.C (show): set minimum size to the main window.
12842
12843 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * text2.C (copySelection):
12846         (cutSelection):
12847         * lyxfind.C (LyXReplace):
12848         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12849         LyXText::selectionAsString.
12850
12851         * paragraph.C (asString): add "label" argument to the second form
12852
12853         * text2.C (selectionAsString): add "label" argument and pass it to
12854         Paragraph::asString.
12855
12856 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * lyx_main.C (commandLineHelp): remove version information
12859
12860 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12861
12862         * lyx_main.C: add -version commandline option
12863
12864 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * paragraph.h: make the optional constructor arg required instead.
12867         some modifications to other files because of this.
12868
12869         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12870
12871         * lyxserver.C (C_LyXComm_callback): make it static
12872
12873         * lyx_main.C (error_handler): make it static
12874
12875         * lyx_gui.C (LyX_XErrHandler): make it static
12876
12877         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12878
12879         * WorkArea.C: make the extern "C" methods static.
12880
12881         * Makefile.am (lyx_LDADD): simplify
12882
12883 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12886         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12887
12888         * LyXAction.C (init):
12889         * lyxfunc.C (dispatch): associated code removal.
12890
12891 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12892
12893         * lyxfont.h (isSymbolFont): shut off warning
12894
12895         * text.C (setHeightOfRow):
12896         (getVisibleRow): fix crash with empty paragraphs which have a
12897         bottom line
12898
12899 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12900
12901         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12902         code.
12903
12904 2001-09-04  José Matos  <jamatos@fep.up.pt>
12905         * buffer.C
12906         * buffer.h
12907         * tabular.C (docbook): rename docBook method to docbook.
12908
12909 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12910
12911         * Makefile.am: add dependencies to main.o.
12912
12913 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12914
12915         * FontLoader.C (available): Return false if !lyxrc.use_gui
12916
12917 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12918
12919         * FontInfo.C (query):
12920         * converter.C (view):
12921         * importer.C (Import):
12922         * exporter.C (Export): Can not -> cannot.
12923
12924 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * BufferView_pimpl.C: allow to create index inset even if
12927           string is empty
12928
12929 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * buffer.C (getLists): replace boost::tie code with an explicit pair
12932         as boost::tie can break some compilers.
12933
12934         * iterators.h: Added a std:: declaration to the return type of
12935         ParIterator::size.
12936
12937 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12940           case.
12941
12942 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * iterators.[Ch]: New files. Provide paragraph iterators.
12945
12946         * buffer.C (changeLanguage): Use paragraph iterators.
12947         (isMultiLingual): ditto
12948
12949         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12950
12951 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12952
12953         * FontLoader.C: Support for cmr font.
12954
12955 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12956
12957         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12958         (available): New method.
12959
12960         * FontInfo.C (getFontname): Use scalable fonts even when
12961         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12962         found.
12963
12964 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         * converter.C (Formats::view): reverted! Incorrect fix.
12967
12968 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12969
12970         * converter.C (Formats::view): only output the -paper option
12971         if the dvi viewer is xdvi, thereby fixing bug #233429.
12972
12973 2001-08-23  Herbert Voss  <voss@perce>
12974
12975         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12976
12977 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * Spacing.h (Spacing): Set space to Default on in the default
12980         constructor.
12981
12982 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * vc-backend.h (RCS::versionString): add RCS to version
12985         (CVS::versionString): add CVS to version
12986
12987         * vc-backend.C (scanMaster): do not add CVS to version.
12988         (scanMaster): do not add RCS to version
12989
12990         * lyxvc.C (versionString): new method
12991
12992         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12993
12994 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * Spacing.C (set): initialize fval
12997
12998 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13001         " or \.
13002
13003 2001-08-16  Juergen Vigna  <jug@sad.it>
13004
13005         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13006
13007 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * BufferView_pimpl.C:
13010         * figureForm.C:
13011         * lyxtext.h:
13012         * text2.C: setParagraph takes linespacing now
13013
13014 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * LyxAction.C: add internal LFUN_CITATION_INSERT
13017
13018         * LyXView.C: actually apply fix
13019
13020         * bufferlist.C: fix open non-existent file
13021
13022         * lyxfind.C: fix indentation
13023
13024         * lyxfunc.C: remove unneeded assert, fix typo
13025
13026 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * MenuBackend.C: use "Floatname List"
13029
13030 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13031
13032         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13033         when converting LaTeX layout to insetERT.
13034         Generate a non-collapsed float when reading old float
13035
13036 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13037
13038         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13039         ERT insets.
13040
13041 2001-08-13  Juergen Vigna  <jug@sad.it>
13042
13043         * text.C (fill): return 0 instead of 20 as this seems to be the more
13044         correct value.
13045
13046 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13047
13048         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13049         lyxrc.font_norm.
13050
13051 2001-08-13  Juergen Vigna  <jug@sad.it>
13052
13053         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13054         casesensitive off.
13055         (SearchBackward): comment out the unlocking of the inset_owner this
13056         should not be needed!
13057
13058 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13059
13060         * Many files: Remove inherit_language, and add latex_language
13061
13062         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13063         collapsible insets.
13064
13065 2001-08-10  Juergen Vigna  <jug@sad.it>
13066
13067         * text.C (prepareToPrint): fixed hfill-width in draw!
13068
13069         * BufferView2.C (selectLastWord): save the selection cursor as this
13070         now is cleared in the function LyXText::clearSelection!
13071
13072 2001-08-08  Juergen Vigna  <jug@sad.it>
13073
13074         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13075         BACKSPACE type functions.
13076
13077         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13078         is only cutted from the document but not put in the cut-buffer, where
13079         still the old stuff should be.
13080
13081         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13082
13083         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13084
13085         * tabular.C (SetWidthOfCell): fixed special case where the width
13086         was not updated!
13087         (LeftLine): handle '|' in align_special.
13088         (RightLine): ditto
13089         (LeftAlreadyDrawed): ditto
13090         (SetWidthOfCell): ditto
13091
13092 2001-08-07  Juergen Vigna  <jug@sad.it>
13093
13094         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13095
13096 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13097
13098         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13099         * lyxlex.[hC]: ditto
13100
13101 2001-08-06  Juergen Vigna  <jug@sad.it>
13102
13103         * text.C (getVisibleRow): fix up row clearing a bit.
13104
13105 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * minibuffer.C: make sure the X server sees the changes in the input.
13108
13109 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * paragraph.C (getFont): split into...
13112         (getLabelFont): this
13113         (getLayoutFont): and this
13114         * paragraph_pimpl.C (realizeFont): calling this
13115
13116         * text2.C (getFont): split into...
13117         (getLayoutFont): this
13118         (getLabelFont): and this
13119         (realizeFont): all three calling this
13120
13121         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13122         files where used.
13123
13124 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13127
13128 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13129
13130         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13131         layouts from the Quote inset insertion.
13132
13133 2001-08-03  Juergen Vigna  <jug@sad.it>
13134
13135         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13136
13137         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13138         only if status not is already CHANGED_IN_DRAW (second level).
13139
13140         * text.C (draw): don't set the need_break_row when inside an
13141         InsetText LyXText.
13142
13143 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * buffer.C (parseSingleLyXformat2Token): handle more latex
13146         conversion cases.
13147
13148         * bufferview_funcs.[hC]: change function names to
13149         begin with small char, adjust other files.
13150
13151 2001-08-02  André Pönitz <poenitz@gmx.net>
13152
13153         * lyxfunc.C:
13154         BufferView_pimpl.C: remove broken special code for math-greek
13155
13156 2001-08-02  Juergen Vigna  <jug@sad.it>
13157
13158         * BufferView_pimpl.C (update): redone this function so that we
13159         update the text again if there was a CHANGE_IN_DRAW.
13160
13161         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13162         (drawFromTo): added a new internal bool which is used by draw() and
13163         redraw() function.
13164         (general): some cursor drawing problems fixed.
13165
13166 2001-08-01  Juergen Vigna  <jug@sad.it>
13167
13168         * lyxfind.C (LyXFind): fixed
13169         (SearchForward): ditto
13170         (SearchBackward): ditto
13171
13172         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13173         spurius drawing of the cursor in the main area.
13174
13175         * text2.C (status): small fix which could lead to a segfault!
13176         (clearSelection): remove unneeded BufferView param.
13177
13178 2001-08-01  André Pönitz <poenitz@gmx.net>
13179
13180         * lyxfunc.C: small change due to changed mathed interface
13181
13182 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13185
13186 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * lyxfunc.c: fail gracefully if file doesn't exist
13189
13190         * LyXSendto.C:
13191         * buffer.C:
13192         * lyxfunc.C:
13193         * BufferView_pimpl.C: IsDirWriteable() proto changed
13194
13195         * LyXView.C: fix updateWindowTitle() to store the last title
13196
13197 2001-07-31  Juergen Vigna  <jug@sad.it>
13198
13199         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13200         the font (wrong since using of Paragraph::highestFontInRange).
13201
13202         * paragraph.C (highestFontInRange): added a default_size parameter.
13203
13204         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13205         (setHeightOfRow): reformat
13206
13207 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * converter.[hC] + affected files: move to (inital-char)lowercase
13210         function names.
13211
13212         * ParagraphParameters.C (ParagraphParameters): remove commented code
13213
13214         * PainterBase.[Ch]: remove commented code
13215
13216         * LaTeXFeatures.h: add "bool floats" for float.sty
13217
13218         * LaTeXFeatures.C (LaTeXFeatures): init floats
13219         (require): handle float
13220         (getPackages): do it with floats
13221
13222 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13223
13224         * BufferView_pimpl.C (Dispatch): improve handling of
13225         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13226
13227         * commandtags.h: #include lyxfont.h here temporarily to avoid
13228         keybinding bug.
13229
13230         * bufferlist.h: include LString.h here.
13231
13232 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13233
13234         * text2.C (getStringToIndex): new method.
13235
13236 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13237
13238         * *: Reduced header file dependencies all over.
13239
13240 2001-07-30  Baruch Even  <baruch@lyx.org>
13241
13242         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13243
13244 2001-07-29  Baruch Even  <baruch@lyx.org>
13245
13246         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13247
13248 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * ParameterStruct.h (endif): add a default constructor to make
13251         sure that all variables is initialized.
13252
13253         * ParagraphParameters.C (ParagraphParameters): adjust
13254
13255 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13256
13257         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13258         index; also, check that there is something to index, and that it
13259         does not span over several paragraphs.
13260         (doubleClick): use WHOLE_WORD_STRICT for double click.
13261
13262         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13263
13264         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13265         scheme.
13266
13267 2001-07-26  Baruch Even  <baruch@lyx.org>
13268
13269         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13270         an InsetFig figure, backwards compatible reading of old figure code.
13271
13272 2001-07-27  Juergen Vigna  <jug@sad.it>
13273
13274         * text2.C: font.realize function adaption.
13275
13276         * text.C (draw): add a warnings lyxerr text if needed.
13277
13278         * layout.C: font.realize function adaption.
13279
13280         * language.C: add inherit_language and implement it's handlings
13281
13282         * bufferview_funcs.C (StyleReset): remove language parameter from
13283         font creation (should be language_inherit now).
13284
13285         * bufferparams.C (writeFile): handle ignore_language.
13286
13287         * paragraph.C (getFontSettings): the language has to be resolved
13288         otherwise we have problems in LyXFont!
13289
13290         * lyxfont.C (lyxWriteChanges): added document_language parameter
13291         (update): removed unneeded language parameter
13292
13293         * paragraph.C (validate): fixed wrong output of color-package when
13294         using interface colors for certain fonts in certain environments,
13295         which should not seen as that on the final output.
13296
13297 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13298
13299         * BufferView_pimpl.C:
13300         * Thesaurus.h:
13301         * Thesaurus.C:
13302         * Makefile.am:
13303         * commandtags.h:
13304         * LyXAction.C: add thesaurus support
13305
13306         * lyxfind.h:
13307         * lyxfind.C: add "once" parameter, for thesaurus, to not
13308           move to the next match
13309
13310 2001-07-26  Juergen Vigna  <jug@sad.it>
13311
13312         * lyxfont.C (realize): honor ignore_language too!
13313         (resolved): ditto.
13314
13315         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13316
13317         * text.C (draw): one place more for ignore_language to not draw
13318         itself!
13319
13320 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13321
13322         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13323
13324 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13327         the minipage conversion problem.
13328
13329 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13332         insert an inset.
13333
13334 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * BufferView.h: don't forward declare WorkArea
13337
13338         * BufferView.C: don't include WorkArea.h
13339
13340 2001-07-25  André Pönitz <poenitz@gmx.net>
13341
13342         * commandtags.h:
13343         * LyXAction.C:
13344         * lyxfunc.C:  new LFUN 'math-space'
13345
13346         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13347
13348 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * text2.C (toggleInset): call open/close
13351
13352 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * lyxfunc.C (dispatch): add debug for the disabled case
13355
13356         * font.C (buttonText): make similar to rectText
13357
13358         * buffer.C (readInset): comment out parsing of insetlist and
13359         insttheorem
13360
13361         * PainterBase.C (rectText): small correction
13362
13363         * BufferView_pimpl.C: comment out insettheorem and insetlist
13364         * LyXAction.C: ditto
13365         * commandtags.h: ditto
13366
13367 2001-07-24  Juergen Vigna  <jug@sad.it>
13368
13369         * text.C (draw): honor the ignore_language.
13370
13371         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13372
13373 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13374
13375         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13376         char inset.
13377
13378 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13379
13380         * lyxtext.h: remove unused (and unimplemented) methods
13381
13382 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13383
13384         * text.C (getVisibleRow): honor background color
13385
13386         * PainterBase.h:
13387         * Painter.h: remove default color argument for fillRectangle
13388
13389         * text.C (backgroundColor): new method
13390
13391 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * text.C (getVisibleRow): adjust
13394
13395         * font.[Ch] (rectText): new method, metrics
13396         (buttonText): new method, metrics
13397
13398         * PainterBase.[hC]: make rectText and buttonText always draw and take
13399         fewer paramteres.
13400
13401 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13402
13403         * ToolbarDefaults.C (read):
13404         * MenuBackend.C (read): allow escaping in all strings
13405
13406         * BufferView_pimpl.C (insertAndEditInset): new method.
13407         (Dispatch): use insertAndEditInset whenever appropriate.
13408
13409         * BufferView_pimpl.C (insertNote): removed
13410
13411         * BufferView_pimpl.C (smartQuote): new method, moved from
13412         BufferView; if an insetquote cannot be inserted, insert a '"'
13413         character instead.
13414
13415         * BufferView2.C: remove insertCorrectQuote();
13416
13417         * lyxfunc.C (getStatus): Add support for all remaingin
13418         inset-insert lfuns.
13419
13420         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13421
13422         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13423         command (necessary to pass " as parameter of self-insert.
13424
13425         * text.C (selectWordWhenUnderCursor):
13426         (selectWord): add word_location parameter
13427         (selectWordWhenUnderCursor): same + remove special code for word
13428         boundary.
13429         (selectNextWord): use kind() to guess type of insetspecialchar,
13430         not latex().
13431
13432         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13433         (insertErtContents): create ert insets as collapsed.
13434         (readInset): better compatibility code for Info inset.
13435
13436 2001-07-20  Juergen Vigna  <jug@sad.it>
13437
13438         * lyxfunc.C (dispatch): use always LyXFind now!
13439
13440         * text2.C (init): add a reinit flag so that the LyXText can be
13441         reinited instead of deleted and reallocated (used in InsetText).
13442
13443         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13444
13445         * text.C: ditto
13446
13447         * text2.C: ditto
13448
13449 2001-07-18  Juergen Vigna  <jug@sad.it>
13450
13451         * text.C (selectNextWord): handle insets inside inset by calling
13452         always the bv->text functions so that we can go up the_locking_inset!
13453
13454         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13455         in strange locations when inside an inset!
13456
13457         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13458         handling to include insets.
13459
13460         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13461
13462 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13463
13464         * LyXAction.C (init):
13465         * commandtags.h:
13466         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13467         LIGATURE_BREAK, since the name is so stupid.
13468
13469 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13472         InsetInfos.
13473
13474         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13475
13476         * sp_form.[Ch]: remove.
13477
13478         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13479
13480         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13481         InsetInfo.
13482
13483         * src/buffer.C (readInset): ditto.
13484
13485 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13486
13487         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13488         menuSeparator(), endOfSentenceDot(), ldots() and
13489         hyphenationPoint(), which are therefore removed.
13490         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13491
13492         * LyXAction.C (init):
13493         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13494
13495         * paragraph.C (getWord): removed.
13496
13497         * BufferView_pimpl.C (Dispatch): use last word or selection for
13498         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13499
13500         * lyx_main.C (queryUserLyXDir): do not ask before creating
13501         user_dir, except if it has been named explicitely.
13502
13503 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13504
13505         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13506         a document of zero size.
13507
13508 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13509
13510         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13511         approriately in the c-tor and in require().
13512         (getPackages): output the appropriate LaTeX for natbib support.
13513
13514         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13515         variables "use_natbib" and "use_numerical_citations" when reading the
13516         LyX file.
13517         (readInset): read the various natbib cite commands.
13518         (validate): white-space change.
13519
13520         * bufferparams.[Ch]: new variables "bool use_natbib" and
13521         "bool use_numerical_citations".
13522         (writeFile): output them in the LyX file.
13523
13524 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13525
13526         * lyxfunc.C (getStatus): add support for all the inset insertion
13527         commands.
13528
13529         * text2.C (insertInset):
13530         * paragraph.C (insetAllowed):
13531         * BufferView_pimpl.C (insertInset): update to take in account the
13532         renaming of insertInsetAllowed
13533
13534         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13535
13536         * text2.C (getInset): new method. returns inset at cursor position.
13537
13538         * BufferView_pimpl.C (Dispatch): changes because of this.
13539
13540         * LyXAction.C (init): rename open-stuff to inset-toggle.
13541
13542         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13543
13544         * text2.C (toggleInset): renamed from openStuff; use
13545         Inset::open().
13546
13547 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13548
13549         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13550
13551         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13552
13553 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13554
13555         * buffer.C (readLyXformat2): Add filename to the error dialog
13556
13557 2001-07-18  Juergen Vigna  <jug@sad.it>
13558
13559         * tabular.C (GetCellNumber): put an assert here instead of the check!
13560
13561 2001-07-17  Juergen Vigna  <jug@sad.it>
13562
13563         * BufferView_pimpl.C (toggleSelection): adapted too.
13564
13565         * text.C (selectNextWord): adapted for use with insets.
13566         (selectSelectedWord): ditto
13567
13568 2001-07-17  Juergen Vigna  <jug@sad.it>
13569
13570         * sp_spell.C (PSpell): fix initialitation order.
13571
13572 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * paragraph.C: spacing
13575
13576 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13577
13578         * sp_spell.C: repair language selection for pspell
13579
13580 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * lyxfunc.h: change more methods to begin with lower char.
13583
13584 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13587         for unknown layouts.
13588
13589 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * buffer.C (readLyXformat2): Generate an error dialog if there are
13592         unknown layouts.
13593
13594 2001-07-16  Juergen Vigna  <jug@sad.it>
13595
13596         * sp_spell.C: always compile ISpell part.
13597
13598         * lyxrc.C: added use_pspell entry and it's handling.
13599
13600 2001-07-13  Juergen Vigna  <jug@sad.it>
13601
13602         * sp_spell.C: removed double includes.
13603
13604 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13605
13606         Consistent use of Lsstream.h:
13607         * Lsstream.h: added using std::stringstream for consistencies sake.
13608
13609         * buffer.C: removed using std::stringstream
13610
13611         * lyxfont.C (stateText):
13612         * paragraph.C (asString):
13613         * text.C (selectNextWord, selectSelectedWord):
13614         * text2.C (setCounter):
13615         * vspace.C (asString, asLatexString):
13616         std::ostringstream -> ostringstream.
13617
13618 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13619
13620         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13621         * commandtags.h: add LFUN_HELP_ABOUTLYX
13622         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13623
13624 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13625
13626         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13627         cursorToggle()
13628         * lyx_gui_misc.C: remove spellchecker
13629         * lyxfunc.C: showSpellchecker
13630         * sp_base.h: added
13631         * sp_ispell.h: added
13632         * sp_pspell.h: added
13633         * sp_spell.C: added
13634         * sp_form.[Ch]: removed
13635         * spellchecker.[Ch]: removed
13636
13637 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13638
13639         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13640         is set.
13641         (simpleTeXSpecialChars): Simply print the input character without
13642         any special translation if pass_thru is set.
13643
13644         * layout.h: Added bool pass_thru to layout class for being able to
13645         implement pass through of a paragraph for Literate Programming.
13646
13647         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13648         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13649         * layout.C (Read): add "passthru" to list of layout tags and add
13650         code to set the pass_thru boolean when it is read.
13651
13652 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * trans_decl.h: remove allowed from KmodInfo
13655
13656         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13657         remove allowed code
13658         (Load): adjust
13659
13660         * paragraph_pimpl.C (erase): use boost::prior
13661
13662         * Painter.C (text): use data() instead of c_str() when length is
13663         also provided.
13664         * WorkArea.C (putClipboard): ditto
13665         * font.h (width): ditto
13666
13667         * BufferView2.C: use it-> instead of (*it). for iterators
13668         * texrow.C: ditto
13669         * paragraph_pimpl.C: ditto
13670         * paragraph.C: ditto
13671         * minibuffer.C: ditto
13672         * language.C: ditto
13673         * kbmap.C: ditto
13674         * encoding.C: ditto
13675         * counters.C: ditto
13676         * converter.C: ditto
13677         * chset.C: ditto
13678         * Variables.C: ditto
13679         * TextCache.C: ditto
13680         * MenuBackend.C: ditto
13681         * LyXAction.C: ditto
13682         * LColor.C: ditto
13683         * FloatList.C: ditto
13684         * DepTable.C: ditto
13685         * ColorHandler.C (LyXColorHandler): ditto
13686
13687 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13690
13691         * text2.C (openStuff): reintroduce this method (which had been
13692         nuked in NEW_INSETS frenzy).
13693
13694         * lyxfunc.C (Dispatch): when an action has not been handled, use
13695         its name in the error message, not its number.
13696
13697         * paragraph.C (inInset): change method name to begin with lowercase.
13698
13699         * undo_funcs.C:
13700         * text2.C: updates because of this.
13701
13702 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * ToolbarDefaults.C (add): add spaces in error message
13705
13706 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13709         (readLyXformat2): rename return_par to first_par, use lyxlex's
13710         pushToken and remove the manual push handling.
13711         (parseSingleLyXformat2Token): add another ert comp. variable:
13712         in_tabular, rename return_par to first_par. handle newlines better
13713
13714 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13717
13718 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * text2.C (getParFromID): removed
13721
13722         * buffer.C (getParFromID): new method moved form lyxtext.
13723         * BufferView2.C (insertErrors): adjust
13724         (setCursorFromRow): adjust
13725         * BufferView_pimpl.C (restorePosition): adjust
13726         * lyxfunc.C (Dispatch): adjust
13727         * undo_funcs.C (textUndo): adjust
13728         (textRedo): adjust
13729         (textHandleUndo): adjust
13730         (textHandleUndo): adjust
13731
13732 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * buffer.C: up' the LYX_FORMAT
13735
13736         * lyxfont.h: turn NO_LATEX on as default
13737
13738         * buffer.C (insertErtContents): new methods of tex style compability.
13739         (parseSingleLyXformat2Token): use it several places.
13740         * tabular.C (OldFormatRead): and here
13741
13742 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * text2.C: remove some commented code.
13745         reindent file.
13746
13747         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13748         * trans.C: changes because of the above.
13749
13750 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * text2.C (setCounter): Fix counters bug with bibliography layout.
13753
13754 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13757         own member functions
13758         (simpleTeXSpecialChars): ditto
13759
13760 2001-07-06  Juergen Vigna  <jug@sad.it>
13761
13762         * a lot of files: changed the access to LyXText::status and the
13763         call of undo-functions.
13764
13765         * undo.[Ch]: added a inset_id to the undo informations.
13766
13767         * undo_funcs.[Ch]: added and moved here all undo functions.
13768
13769         * lyxtext.h: give the status enum a weight, made status_ a private
13770         variable and made accessor functions for it, removed the whole bunch
13771         of undo-functions as they are now in their own file, make some
13772         functions publically available. Added function ownerParagraph with
13773         int parameter.
13774
13775         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13776         made InInset() a const function, added getParFromID() function.
13777
13778         * buffer.[Ch]: added const version for inset_iterator functions,
13779         added getInsetFromID() function.
13780
13781         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13782         changed undo functions for new version.
13783
13784 2001-07-05  Juergen Vigna  <jug@sad.it>
13785
13786         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13787         unknow mechanism does not call the proper constructor but only this
13788         one also if I request the other!?
13789
13790 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13793
13794         * text2.C (LyXText): use initialization lists.
13795
13796         * lyxtext.h (Selection): initialize set_ and mark_
13797         (init): remove method
13798
13799 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13802
13803 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * screen.[Ch]: change method names to begin with lowercase
13806
13807         * BufferView_pimpl.C (updateScrollbar): simplify further and
13808         hopefully make it a bit faster.
13809
13810 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13811
13812         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13813         calling directly xforms functions.
13814
13815         * Painter.C (Painter):
13816         * lyx_cb.C (MenuWrite):
13817         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13818         fl_display.
13819
13820         * lyx_gui.C: remove bogus guiruntime extern declaration.
13821
13822 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13825         in NEW_INSETS
13826         (redoDrawingOfParagraph): ditto
13827         (redoParagraphs): ditto
13828         (cutSelection): don't create a object for CutAndPaste use the
13829         static method directly
13830         (pasteSelection): ditto
13831
13832         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13833         LyXview (+ rename)
13834
13835 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * modifications to some other files because of this.
13838
13839         * Makefile.am (lyx_SOURCES): add XFormsView
13840
13841         * XFormsView.[Ch]: new files
13842
13843         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13844         the main window. Move the gui dependent stuff to XFormsView
13845
13846 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13847
13848         * tabular.C (GetCellInset): update cur_cell also in the row/col
13849         version of this function.
13850
13851         * lyxfunc.C: no need to include figure_form.h here.
13852
13853         * FontLoader.h:
13854         * lyxfunc.h:
13855         * lyxscreen.h:
13856         * text2.C:
13857         * lyxvc.C: no need to include forms.h here.
13858
13859 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13862
13863         * lyxfunc.C (Dispatch):
13864         * Spacing.C (set):
13865         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13866         constructor argument.
13867
13868 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13869
13870         * paragraph.C (Paragraph): dont't clear, and just set layout.
13871         (makeSameLayout): use params's copy contructor.
13872
13873         * ParagraphParameters.[Ch] (makeSame): delete method
13874
13875 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * Variables.[Ch]: fix indentation, rename set to isSet
13878
13879 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * lyxfunc.C (Dispatch): fix typo
13882
13883 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13886         upper_bound.
13887
13888         * bufferlist.C: include assert.h for emergencyWrite().
13889
13890 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13893           give up at last (bug #425202) !
13894
13895 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * lyx_gui_misc.C:
13898         * sp_form.h:
13899         * sp_form.C:
13900         * spellchecker.h:
13901         * spellchecker.C: strip spellchecker options and bring up
13902           preferences tab instead
13903
13904 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13907         the istringstream constructor
13908
13909 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * paragraph.C (getLayout): fix return value
13912
13913         * paragraph.h: do not declare getLayout as inline.
13914
13915         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13916
13917 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * lyxcursor.h (operator<): new func
13920         (operator>): new func
13921         (operator>=): new func
13922         (operator<=): new func
13923
13924         * text.C (changeCase): use selection.start and selection.end
13925         (changeRegionCase): require from to be <= to. Require par to be a
13926         valid paragraph.
13927
13928         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13929
13930 2001-06-27  Juergen Vigna  <jug@sad.it>
13931
13932         * text.C (cursorLeftOneWord): changed to return the cursor and added
13933         overlay with BufferView * parameter which calls this one.
13934         (getWord): added
13935         (selectWord): use new getWord function.
13936         (changeCase): renamed from changeWordCase as and extended to work
13937         also on selections.
13938
13939         * lyxtext.h: added enum word_location
13940
13941         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13942         changeCase as this operates now also on selections.
13943
13944 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13945
13946         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13947
13948         * many files: send debug output to Debug::INFO instead of
13949         Debug::ANY.
13950
13951         * converter.C (View):
13952         (Convert):
13953         (Move): send debug output to Debug::FILES instead of console.
13954
13955 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13956
13957         * lyxfunc.C (getStatus): use func_status
13958
13959         * func_status.h: new header, describing the results of
13960         LyXFunc::getStatus;
13961
13962         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13963         LFUN_MATH_HALIGN.
13964
13965 2001-06-25  The LyX Project  <jug@sad.it>
13966
13967         * buffer.C (sgmlOpenTag):
13968         (sgmlCloseTag):
13969         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13970
13971 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * text2.C: remove some dead code
13974
13975         * tabular.C (GetCellInset): store the last cell checked (gotten)
13976
13977         * tabular.h: add the helper for the speedup
13978
13979         * lyxtext.h: remove some dead code
13980
13981 2001-06-26  The LyX Project  <Asger>
13982
13983         * paragraph.C: Change export to LaTeX of alignment to
13984         \begin{center} and family for better roundtrip work with reLyX.
13985
13986         * Tune the math drawing a bit.
13987
13988 2001-06-25  The LyX Project  <Asger>
13989
13990         * LColor.C (LColor): New color for math background. New color
13991         for buttons.
13992
13993 2001-06-25  The LyX Project  <jug@sad.it>
13994
13995         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13996
13997         * lyxfunc.C (Open):
13998         * bufferlist.C (newFile): do not restrict to files ending with
13999         .lyx
14000
14001         * BufferView_pimpl.C (MenuInsertLyXFile):
14002
14003 2001-06-24  The LyX Project  <jug@sad.it>
14004
14005         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14006         of compare_no_case
14007
14008 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * lyxtext.h: rename most methods to begin with a small char.
14011         Lots of changes because of this.
14012
14013         * paragraph.C (Paragraph): do not call fitToSize
14014         (erase): call Pimpl::erase
14015         (insertChar): call Pimpl::insertChar
14016         (insertInset): call Pipl::insertInset
14017         (breakParagraph): do not call fitToSize
14018         (breakParagraphConservative): do not call fitToSize
14019         (fitToSize): remove method
14020
14021         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14022
14023 2001-06-24  The LyX Project  <Asger>
14024
14025         * Fix Qt compilation^2
14026
14027 2001-06-24  The LyX Project  <jug@sad.it>
14028
14029         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14030         depthHook(getDepth()-1).
14031
14032         * paragraph.h:
14033         * ParagraphParameters.h:
14034         * ParameterStruct.h: change type of depth to unsigned int ==
14035         depth_type. Many adaptations to other files before of that.
14036
14037 2001-06-24  The LyX Project  <Asger>
14038
14039         * Fix Qt compilation.
14040
14041 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14042
14043         * paragraph.h: renamed several methods to begin with small letter.
14044         several changes to many parts of the code because of this.
14045
14046 2001-06-23  The LyX Project  <jug@sad.it>
14047
14048         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14049         rewritten to discard all double spaces when KeepEmpty is off
14050         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14051         to only handle newlines but not fiddle with spaces and friends.
14052
14053         * lyxfunc.C (MenuNew): when doing 'new from template', use
14054         template_path as default directory
14055
14056 2001-06-23  The LyX Project  <Asger>
14057
14058         * Clean-up of header file includes all over
14059         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14060
14061 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * paragraph.h: renamed from lyxparagraph.h
14064
14065 2001-06-23  Asger  <lyx@violet.home.sad.it>
14066
14067         * Buffer.h: Removed Buffer::resize
14068         * BufferList.h: Removed BufferList::resize
14069         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14070         the document lazily when we change the width, or the font settings.
14071
14072 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14075
14076 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * buffer.h: remove out of date comment
14079
14080 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * lyxscreen.h:
14083         * screen.C: fix "theoretical" GC leak
14084
14085 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * LaTeX.C (scanAuxFile):
14088         (deplog): remove trailing \r when reading stream (useful under
14089         win32)
14090
14091 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14092
14093         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14094         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14095         and BufferView::theLockingInset(Inset*), so should use them and not
14096         access bv_->text->the_locking_inset directly.
14097
14098         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14099
14100 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * Makefile.am:
14103         * tex-defs.h: remove old unused file
14104
14105 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * BufferView_pimpl.C: fix typo, remove minibuffer message
14108           when buffer has loaded
14109
14110 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * lyxfunc.C (Dispatch): use stringstream
14113         (MenuNew): use stringstream
14114         (Open): use stringstream
14115
14116         * importer.C (Import): use stringstream
14117
14118         * bufferview_funcs.C (CurrentState): use stringstream
14119
14120         * LaTeX.C (run): use stringstream
14121
14122         * BufferView_pimpl.C (savePosition): use stringstream
14123         (restorePosition): use stringstream
14124         (MenuInsertLyXFile): use stringstream
14125
14126 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14127
14128         * BufferView.C:
14129         * Bullet.C:
14130         * ColorHandler.C:
14131         * FontInfo.C:
14132         * FontLoader.C:
14133         * LColor.C:
14134         * LaTeXFeatures.C:
14135         * Painter.C:
14136         * gettext.C:
14137         * lyx_gui_misc.C:
14138         * lyxserver.C:
14139         * vspace.C: removed // -*- C++ -*- as first line.
14140
14141         * lyxfind.h:
14142         * version.h: added // -*- C++ -*- as first line.
14143
14144 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14145
14146         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14147
14148         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14149         of string
14150
14151 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14154         of floats.
14155
14156 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * gettext.C: include LString.h even when --disable-nls is on.
14159
14160 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14161
14162         * converter.h (Get): changed argument type from int to
14163         FormatList::size_type to avoid unnecessary conversion.
14164
14165         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14166         before using it.
14167
14168 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * gettext.h: include LString.h even when --disable-nls is on.
14171
14172 2001-06-07  Juergen Vigna  <jug@sad.it>
14173
14174         * text.C (BreakAgain): subst spaces with tabs.
14175
14176         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14177         (resizeInsetsLyXText): set force on resizeLyXText.
14178
14179 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * gettext.h (gettext_init):
14182         (locale_init): use a real definition instead of a macro
14183
14184 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14185
14186         * Bufferview_pimpl.C:
14187         * LColor.h:
14188         * LColor.C: further lcolor tidies
14189
14190 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * BufferView_pimpl.C (updateScrollbar): simplify.
14193
14194         * BufferView2.C: don't include insets/insetinfo.h, change
14195         prototype for insertInset and call the Pimpl version. let
14196         updateInset call Pimpl version.
14197
14198         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14199         gotoInset to BufferView::Pimpl
14200
14201 2001-06-01  Juergen Vigna  <jug@sad.it>
14202
14203         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14204         inside a LockingInset (is the update needed at all?).
14205
14206 2001-05-31  Juergen Vigna  <jug@sad.it>
14207
14208         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14209         here not the old one otherwise how should we compare it afterwards
14210         if it's the same!
14211
14212 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14213
14214         * lyxfont.C:
14215         * tabular.C:
14216         * tabular-old.C:
14217         * FontInfo.C: bring C functions into global namespace when
14218         necessary
14219
14220 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * LString.h: make sure config.h has been loaded before LString.h.
14223
14224         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14225         (one for each char read by EatLine!).
14226
14227         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14228         variables.
14229
14230 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14231
14232         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14233         to the same as the par we break from
14234
14235 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14238
14239         * MenuBackend.C (expand): also create menu entries for wide
14240         versions of the floats.
14241
14242         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14243
14244         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14245
14246         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14247         frontends/Makefile.am
14248
14249         * text2.C: adjust
14250         * text.C: adjust
14251
14252
14253         * tabular.C (getTokenValue): add std::
14254
14255         * tabular-old.C (getTokenValue): add std::
14256         (getTokenValue): ditto
14257         (getTokenValue): ditto
14258
14259         * screen.C (ToggleSelection): adjust
14260
14261         * lyxtext.h: put selection cursors inside a Selection struct.
14262
14263         * lyxfunc.C (moveCursorUpdate): adjust
14264
14265         * lyxfont.C (latexWriteStartChanges): add std::
14266
14267         * lyxfind.C: adjust
14268
14269         * font.h: delete with(char const *, LyXFont const &)
14270
14271         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14272
14273         * FontInfo.C (getFontname): add std::
14274
14275         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14276         (workAreaButtonPress): adjust
14277         (tripleClick): adjust
14278         (update): adjust
14279         (moveCursorUpdate): adjust
14280         (Dispatch): adjust
14281
14282         * BufferView2.C (gotoInset): adjust
14283
14284 2001-05-30  Juergen Vigna  <jug@sad.it>
14285
14286         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14287         to check pspell I add this as default as I now have new pspell
14288         libraries and they seem to use this.
14289
14290 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14291
14292         * text2.C (CutSelection): make the cursor valid before the call to
14293         ClearSelection.
14294
14295 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14296
14297         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14298         relied on 0 terminated strings and other horrors. Bug found due to
14299         the new assert in lyxstring!
14300
14301         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14302         KP_ keys.
14303
14304 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14307         to latinkeys.bind.
14308
14309         * lyxfunc.C (processKeySym): change method of getting to the
14310         self-insert char.
14311
14312         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14313         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14314         * BufferView_pimpl.[Ch]: here as private methods.
14315
14316 2001-05-28  Juergen Vigna  <jug@sad.it>
14317
14318         * text.C (SetHeightOfRow): added the update() call again as it is
14319         needed to initialize inset dimensions!
14320
14321 2001-05-16  Juergen Vigna  <jug@sad.it>
14322
14323         * text2.C (SetCharFont): Add new function with BufferView * and
14324         bool toggleall parameters for setting insets internal fonts.
14325         (SetFont): Freeze the undo as we may change fonts in Insets and
14326         all this change should be inside only one Undo!
14327
14328         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14329         setting font's in insets as for them we have the SetFont function!
14330
14331 2001-05-15  Juergen Vigna  <jug@sad.it>
14332
14333         * text2.C (ClearSelection): to be sure we REALLY don't have any
14334         selection anymore!
14335
14336         * tabular.C (TeXCellPreamble): fixed the left border problem for
14337         multicolumn cells.
14338
14339 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14340
14341         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14342         dependancy file
14343
14344 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14345
14346         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14347         LFUN_BREAKPARAGRAPH.
14348
14349         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14350         help test to "internal only", similar for LFUN_INSERT_URL
14351
14352         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14353         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14354         auto_region_delete and deadkeys.
14355
14356 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14357
14358         * LColor.h:
14359         * LColor.C: remove some dead entries, tidy a little
14360
14361 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14364         commented code.
14365         (Dispatch): implement LFUN_ESCAPE
14366
14367         * commandtags.h: add LFUN_ESCAPE
14368
14369         * LyXAction.C (init): add entry for LFUN_ESCAPE
14370
14371         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14372         Remove commented code.
14373         (insertNote): moved here
14374         (open_new_inset): moved here
14375
14376         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14377         BufferView_pimpl
14378
14379 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * kbmap.C (findbinding): clean it up and make it work correctly.
14382
14383         * lyx_main.C (init): do not pass argc and argv as parameters
14384
14385 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14386
14387         * buffer.C: fix path for OS/2 & Win32
14388
14389         * lyx_gui.C:
14390         * lyx_main:
14391         * lyx_main.C: Added os:: class.
14392
14393         * os2_defines.h: update
14394
14395 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14398         better by trying again with reduced state.
14399
14400 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14401
14402         * lyxrc.C (read): print error about invalid key sequence only when
14403         debugging (because not all latinX keysyms are known to some X
14404         servers)
14405
14406         * kbsequence.C (getiso): add a few std:: qualifiers
14407         (getiso): comment out extra return statement.
14408
14409 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14412         handling.
14413         (Dispatch): enhance the accent inset a bit. (not perfect)
14414
14415 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14418
14419 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * bufferlist.C (emergencyWrite): fix assert() call
14422
14423 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14424
14425         * text.C (InsertChar): Added trivial patch to only send the "you
14426         can not do multiple spaces this way" message once during a
14427         session.
14428
14429 2001-05-08  Baruch Even  <baruch@lyx.org>
14430
14431         * Makefile.am: Changed order of libraries to get LyX to link properly
14432         with the gnome frontend.
14433
14434 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * LaTeXFeatures.h: add a std:: qualifier
14437
14438 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * paragraph.C (String): use stringstream
14441
14442 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14443
14444         * paragraph.C (writeFile): remove footflag arg
14445
14446         * buffer.C (makeLaTeXFile): use stringstream
14447         (latexParagraphs): remove footnot gurba
14448
14449         * LaTeXFeatures.C (getPackages): use stringstream
14450         (getMacros): likewise
14451         (getTClassPreamble): likewise
14452         (getFloatDefinitions): new method
14453
14454         * paragraph.C (writeFile): reindent
14455         (Erase): reindent
14456
14457         * WorkArea.h: revert the xpos + etc changes.
14458
14459         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14460
14461         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14462
14463         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14464         (pasteSelection): likewise
14465         * text2.C (CreateUndo): likewise
14466
14467 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14468
14469         * minibuffer.C (peek_event): temporarily reduce the functionality
14470         of the minibuffer (to allow args on lfuns)
14471
14472         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14473         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14474
14475         * buffer.C (readInset): add compability reading of old float
14476         lists, add reading of new style float list.
14477         (readInset): avoid reevaluation of inscmd.getCmdName()
14478         (getLists): reindent
14479
14480         * MenuBackend.C (MenuItem): implement parsing of
14481         md_floatlistinsert and md_floatinsert.
14482         (expand::LastFiles): move initalizaton of iterators out of loop,
14483         avoid reevaluation.
14484         (expand::Documents): introduce typdedef vector<string> Strings,
14485         and use it.
14486         (expand::ExportFormats): introduce typedef vector<Format const *>
14487         Formats, and use it.
14488         (expand): implement FloatListInsert and FloatInsert.
14489
14490         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14491         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14492         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14493
14494         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14495         handling.
14496         (Dispatch::LFUN_FLOAT_LIST): implement
14497
14498 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14499
14500         * LaTeX.C (run): Fix problem with --export code.
14501
14502 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14503
14504         * BufferView.[Ch] (workarea): removed.
14505         (getClipboard) new method; wrapper for workarea()->getClipboard()
14506
14507         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14508         bug.
14509
14510         * WorkArea.h (width, height, xpos, ypos): These methods all
14511         returned the dimensions of the work_area sub-area of WorkArea,
14512         resulting in a position error if the WorkArea were resized. Now
14513         return the dimensions of the entire WorkArea.
14514
14515         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14516
14517 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * LaTeX.C (deplog): correct the syntax of regex reg1
14520
14521 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * undo.C: remove !NEW_INSETS cruft
14524
14525 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14526
14527         * text2.C: remove !NEW_INSETS cruft
14528
14529         * text.C: remove !NEW_INSETS cruft
14530
14531         * tabular.C: remove !NEW_INSETS cruft
14532
14533         * spellchecker.C: remove !NEW_INSETS cruft
14534
14535         * lyxtext.h: remove !NEW_INSETS cruft
14536
14537         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14538
14539         * lyxfunc.C: remove !NEW_INSETS cruft
14540
14541         * lyxfind.C: remove !NEW_INSETS cruft
14542
14543         * lyx_cb.C: remove !NEW_INSETS cruft
14544
14545         * figureForm.C: remove  !NEW_INSETS cruft
14546
14547         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14548
14549         * buffer.[Ch]: remove !NEW_INSETS cruft
14550
14551         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14552
14553         * CutAndPaste.C: remove !NEW_INSETS cruft
14554
14555         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14556
14557         * BufferView2.C: remove !NEW_INSETS cruft
14558
14559         * BufferView.h: remove !NEW_INSETS cruft
14560
14561 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * Lsstream.h: include LString.h before the sstream headers to
14564         fix problem with gcc 2.95.3 and lyxstring
14565
14566 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * lyx_main.C: add using directives when needed for C functions
14569         declared in std:: namespace.
14570
14571 2001-04-27  Juergen Vigna  <jug@sad.it>
14572
14573         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14574         (SetHeightOfRow): comment out the update call should not be needed!
14575
14576 2001-04-13  Juergen Vigna  <jug@sad.it>
14577
14578         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14579         (LyXTabular): tried to minimize operator= operations (and realized
14580         hopfully Lars wish).
14581
14582 2001-04-27  Juergen Vigna  <jug@sad.it>
14583
14584         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14585
14586 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14587
14588         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14589
14590         * buffer.C (readInset): hack to make listof algorithm work
14591
14592         * BufferView_pimpl.C: hack to make listof algorithm work
14593
14594 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * LyXAction.C: removed all !NEW_INSETS cruft
14597         (init): moved lfun_item in method
14598
14599         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14600
14601 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14602
14603         * BufferView2.C (theLockingInset): white space.
14604
14605 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14606
14607         * minibuffer.C: include <iostream>
14608
14609         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14610
14611         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14612
14613         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14614
14615         * text.[Ch] (TransposeChars): new method
14616
14617 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * call message directly through LyXView instead of through LyXFunc
14620         * BufferView2.C: adjust
14621         * BufferView_pimpl.C: adjust
14622         * FontLoader.C: adjust
14623         * buffer.C: adjust
14624         * bufferview_funcs.C: adjust
14625         * converter.C: adjust
14626         * figureForm.C: adjust
14627         * importer.C: adjust
14628         * lyx_cb.C: adjust
14629         * lyx_gui_misc.C: adjust
14630         * lyxfunc.C: adjust
14631         * lyxvc.C: adjust
14632         * text2.C: adjust
14633         + more files in subdirs
14634
14635         * lyxparagraph.h (size): move up int file
14636         (GetLayout): ditto
14637
14638         * adjust all uses of Assert to lyx::Assert.
14639
14640         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14641         lyxfunctional in namespace lyx
14642         * layout.C (hasLayout): ditto
14643         (GetLayout): ditto
14644         (GetLayout): ditto
14645         (delete_layout): ditto
14646         (NumberOfClass): ditto
14647         * converter.C (GetFormat): ditto
14648         (GetNumber): ditto
14649         (Add): ditto
14650         (Delete): ditto
14651         (SetViewer): ditto
14652         * bufferlist.C (getFileNames): ditto
14653         (emergencyWriteAll): ditto
14654         (exists): ditto
14655         (getBuffer): ditto
14656         * MenuBackend.C (hasSubmenu): ditto
14657         (hasMenu): ditto
14658         (getMenu): ditto
14659         * BufferView_pimpl.C (getInsetByCode): ditto
14660
14661 2001-04-18  Juergen Vigna  <jug@sad.it>
14662
14663         * vspace.C (asLatexString): fixed the 100% problem.
14664
14665 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * lyxfunc.C (Dispatch):
14668         * minibuffer.C:
14669         * minibuffer.h: add a few std:: qualifiers
14670
14671 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * minibuffer.[Ch]: reimplement so that commands is initiated and
14674         run from lyxfunc, simplified som handling, and made the completion
14675         and history code for complete. wip.
14676
14677         * lyxfunc.C (processKeySym): call message
14678         (miniDispatch): new temporary method
14679         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14680         (LFUN_MESSAGE): implement
14681         (LFUN_MESSAGE_PUSH): implement
14682         (LFUN_MESSAGE_POP): implement
14683         (initMiniBuffer): the initial/defualt minibuffer message.
14684
14685         * lyxfont.[Ch]: inline some more getters
14686
14687         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14688
14689         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14690
14691         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14692         (AutoSave): use LFUN_MESSAGE
14693         (Reconfigure): ditto
14694
14695         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14696
14697         * figureForm.C: use LFUN_MESSAGE
14698
14699         * converter.C (runLaTeX): use LFUN_MESSAGE
14700
14701         * bufferview_funcs.C: use LFUN_MESSAGE
14702         (Melt): ditto
14703         (changeDepth): ditto
14704
14705         * bufferparams.h: use boost::
14706
14707         * bufferlist.h: inherit privately from noncopyable
14708
14709         * bufferlist.C (loadLyXFile): remove some commented code.
14710
14711         * buffer.C (runChktex): use LFUN_MESSAGE
14712
14713         * ShareContainer.h: inherit privately from noncopyable
14714
14715         * ParagraphParameters.[hC] (depth): inline it.
14716
14717         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14718         methods.
14719         (message): new method
14720         (messagePush): ditto
14721         (messagePop): ditto
14722         (show): init minibuffer
14723         (showState): direct call
14724
14725         * LaTeX.[Ch]: inherit privately from noncopyable
14726         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14727         instead of WriteStatus.
14728
14729         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14730
14731         * BufferView_pimpl.C (buffer): don't init minibuffer
14732         (workAreaButtonPress): use LFUN_MESSAGE
14733         (workAreaButtonRelease): ditto
14734         (savePosition): ditto
14735         (restorePosition): ditto
14736         (MenuInsertLyXFile): ditto
14737         (workAreaExpose): don't init minibuffer
14738         (update): remove commented code, simplify
14739
14740         * BufferView2.C (openStuff): use LFUN_MESSAGE
14741         (toggleFloat): ditto
14742         (menuUndo): ditto
14743         (menuRedo): ditto
14744         (copyEnvironment): ditto
14745         (pasteEnvironment): ditto
14746         (copy): ditto
14747         (cut): ditto
14748         (paste): ditto
14749         (gotoInset): ditto
14750         (updateInset): remove some commented code
14751
14752         * lastfiles.h: inherit privately from noncopyable
14753         * layout.h: ditto
14754         * lyx_gui.h: ditto
14755         * lyx_main.h: ditto
14756         * lyxlex.h: ditto
14757         * lyxlex_pimpl.h: ditto
14758
14759         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14760         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14761         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14762
14763         * LyXAction.h: inherit privately from noncopyable, add methods
14764         func_begin, func_end, returning iterators to the func map.
14765
14766         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14767         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14768         (func_begin): new method
14769         (func_end): new method
14770
14771         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14772         and not)
14773         (copySelection): ditto
14774         (pasteSelection): ditto
14775
14776         * BufferView.C: whitespace change
14777         * BufferView.h: inherit privately from noncopyable
14778
14779 2001-04-16  Allan Rae  <rae@lyx.org>
14780
14781         * tabular-old.C (l_getline):
14782         * spellchecker.C (sc_check_word):
14783         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14784         an unrecognised preprocessor directive.  So ensure they're wrapped.
14785
14786 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * src/exporter.C (Export): Give an error message when path to file
14789         contains spaces.
14790
14791 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * LaTeX.C (deplog): Always check that foundfile exists.
14794
14795 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * lyx_main.h:
14798         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14799
14800 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * tabular.[Ch] (getLabelList): implement new method
14803
14804         * minibuffer.h: comment ouf setTiimer
14805
14806         * minibuffer.C (ExecutingCB): constify res
14807         (peek_event): constify s
14808         (Set): constify ntext
14809         (Init): constify nicename
14810
14811         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14812
14813         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14814         (savePosition): use two params to Minibuffer::Set
14815         (restorePosition): ditto
14816
14817 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14818
14819         * lyx_main.C: include language.h
14820
14821         * Makefile.am (lyx_main.o): add language.h
14822
14823 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * exporter.C:
14826         * paragraph.C:
14827         * screen.C:
14828         * tabular.C:
14829         * CutAndPaste.C: include gettext.h
14830
14831         * lyxfont.h: remove old hack with ON and OFF.
14832
14833         * lyxparagraph.h:
14834         * lyxfont.h: do not include language.h...
14835
14836         * BufferView2.C:
14837         * LaTeXFeatures.C:
14838         * Painter.C:
14839         * bufferview_funcs.C:
14840         * font.C:
14841         * lyxfont.C:
14842         * text.C:
14843         * text2.C:
14844         * trans_mgr.C:
14845         * paragraph.C: ... but do it here instead
14846
14847 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14850
14851         * tabular.C: small reformat
14852
14853         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14854         NEW_INSETS version
14855         (GetChar): ditto
14856         (BreakParagraph): ditto
14857         (SetOnlyLayout): ditto
14858         (SetLayout): ditto
14859
14860         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14861         with one arg less.
14862
14863         * lastfiles.C: removed most using decl, add std:: where needed
14864
14865         * buffer.C: ws changes
14866
14867         * MenuBackend.C (class compare_format): put into anon namespace
14868         (expand): constify label, names, action, action2
14869         (expand):
14870
14871         * text.C (SingleWidth): constify font
14872         (IsBoundary): constify rtl2
14873         (GetVisibleRow): constify ww
14874
14875         * LaTeX.C (deplog): constify logfile
14876
14877         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14878         start_x, end_x
14879         (workAreaExpose): constify widthChange, heightChange
14880
14881         * lyxrow.C (par): moved
14882         (height): moved
14883         (next): moved
14884         * lyxrow.h: as inlines here
14885
14886         * lyxfont.h (shape): moved from lyxfont.C
14887         (emph): moved from lyxfont.C
14888
14889         * lyxfont.C (LyXFont): use initialization list for all
14890         constructors
14891         (shape): move to lyxfont.h as inline
14892         (emph): move to lyxfont.h as inline
14893
14894
14895 2001-04-04  Juergen Vigna  <jug@sad.it>
14896
14897         * vspace.C: had to include stdio.h for use of sscanf
14898
14899 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14900
14901         * BufferView.h:
14902         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14903         independent of xforms.
14904
14905 2001-04-02  Juergen Vigna  <jug@sad.it>
14906
14907         * spellchecker.C: fixed namespace placing!
14908
14909 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14910
14911         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14912         the LyXParagraph * is 0.
14913
14914 2001-03-29  Juergen Vigna  <jug@sad.it>
14915
14916         * vspace.C: added support for %, c%, p%, l%.
14917         (stringFromUnit): added helper function.
14918         (asLatexString): changed to give right results for the %-values.
14919
14920         * buffer.C: convert the widthp in a width%.
14921
14922 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14923
14924         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14925         figureForm.[Ch].
14926
14927         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14928         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14929
14930         * lyx_cb.[Ch]: see above.
14931
14932         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14933         form1.[Ch].
14934
14935         * form1.[Ch]:
14936         * lyx.[Ch]: replaced by figure_form.[Ch].
14937
14938         * lyx_gui.C:
14939         * lyx_gui_misc.C:
14940         * lyxfunc.C: changed headers associated with above changes.
14941
14942 2001-03-27  Juergen Vigna  <jug@sad.it>
14943
14944         * BufferView_pimpl.C: set the temporary cursor right!
14945
14946 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14949
14950 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14951
14952         * LString.h: removed "using std::getline"!
14953
14954         * BufferView_pimpl.C (Dispatch): changes due to changes in
14955         InsetInclude::Params.
14956
14957         * buffer.C (tag_name): removed redundant break statements as they were
14958         producing lots of warnings with my compiler.
14959
14960 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * LString.h: add "using std::getline" when using the real <string>.
14963
14964 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14965
14966         * buffer.C: removed bitset usage.
14967         PAR_TAG moved to an anonymous name space.
14968         (tag_name): new funtion, also in the anonymous namespace.
14969         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14970         (makeDocBookFile): clean code. Completed transition from string arrays
14971         to string vectors.
14972         (SimpleDocBookOnePar): code clean.
14973
14974 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14975
14976         * tabular.C: add some comments.
14977
14978 2001-03-22  Juergen Vigna  <jug@sad.it>
14979
14980         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14981         compatibility read a bit and fixed bug with minipage in different
14982         depth.
14983
14984 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14985
14986         * buffer.C (pop_tag): removed.
14987         (push_tag): removed.
14988         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14989         array replaced with vector. Added support for CDATA sections.
14990         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14991         at any nest level.
14992         (makeDocBookFile): XML conformant declaration of CDATA section,
14993         fixed bug related to <emphasis> in the first paragraph char.
14994         (sgmlOpenTag): exclude empty tags.
14995         (sgmlCloseTag): ditto.
14996
14997         * buffer.h (pop_tag): removed.
14998         (push_tag): removed.
14999
15000 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * language.h (Languages): added size_type and size().
15003
15004 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15005
15006         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15007         response on compability reading of minipages. One probliem is that
15008         the old usage of minipages was «flertydig»
15009
15010         * several files here and in subdirs: don't use static at file
15011         scope use anon namespaces instead.
15012
15013 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15014
15015         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15016         LaTeX output. This is necessary for Literate document
15017         processing.
15018
15019 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15020
15021         * buffer.C: insert hfill when needed.
15022
15023         * tabular.C (l_getline): use string::erase, small whitespace change.
15024
15025         * BufferView_pimpl.C: try the anon namespace.
15026         * WorkArea.C: ditto
15027
15028 2001-03-16  Juergen Vigna  <jug@sad.it>
15029
15030         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15031         otherwise it won't open options-dialogs.
15032
15033         * buffer.C: honor pextraWidth(p) on converting minipages.
15034
15035         * tabular.C (l_getline): changed the functions to strip trailing \r.
15036
15037 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * BufferView_pimpl.C:
15040         * minibuffer..C: added "using SigC::slot" declaration.
15041
15042 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15043
15044         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15045
15046         * text2.C: ditto
15047
15048         * text.C: ditto
15049
15050         * paragraph.C: ditto
15051
15052         * lyxtext.h: NO_PEXTRA
15053
15054         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15055
15056         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15057         * ParameterStruct.h: ditto
15058         * ParagraphParameters.h: ditto
15059         * lyxparagraph.h: ditto
15060
15061 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15062
15063         * buffer.C: add compability for minipage alignment.
15064         (latexParagraphs): remove unwanted pextra check.
15065
15066         * several files: remove CXX_WORKING_NAMESPACES
15067
15068         * buffer.C (pop_tag): tie is in namespace boost
15069
15070         * BufferView.h: noncopyable is in namespace boost
15071         * lyxlex.h: ditto
15072         * lyx_main.h: ditto
15073         * lyx_gui.h: ditto
15074         * layout.h: ditto
15075         * lastfiles.h: ditto
15076         * bufferlist.h: ditto
15077         * ShareContainer.h: ditto
15078         * LyXView.h: ditto
15079         * LyXAction.h: ditto
15080         * LaTeX.h: ditto
15081
15082 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15083
15084         * Merging changes from BRANCH_MVC back into HEAD.
15085
15086         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15087
15088 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * BufferView_pimpl.C: change from intl.C
15091
15092         * combox.h:
15093         * combox.C:
15094         * Makefile.am: move combox.*
15095
15096         * form1.h:
15097         * form1.C:
15098         * lyx_gui.C:
15099         * intl.h:
15100         * intl.C: remove dialog (covered by prefs)
15101
15102 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15103
15104         * lyxfunc.C (Dispatch): removed redundant break statement.
15105
15106 2001-03-14  Juergen Vigna  <jug@sad.it>
15107
15108         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15109
15110 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15111
15112         * buffer.C: add hack to fix compability reading of minipages.
15113
15114 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * buffer.C (getLists): Cleanup.
15117
15118 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * lyxfont.C (update): don't honor toggleall on font size.
15121
15122 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15123
15124         * bmtable.c:
15125         * bmtable.h:
15126         * Makefile.am: moved to frontends/xforms/
15127
15128         * lyx_gui_misc.C:
15129         * lyxfunc.C:
15130         * BufferView_pimpl.C: changes for moved mathpanel
15131
15132 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * gettext.h: fix gettext_init() in --disable-nls
15135
15136 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15139
15140 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * lyx.C:
15143         * lyx.h: strip external form
15144
15145 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15146
15147         * BufferView_pimpl.C: add comment, destroySplash()
15148
15149 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * BufferView_pimpl.C:
15152         * LyXAction.C:
15153         * buffer.C:
15154         * commandtags.h:
15155         * lyxfunc.C: use re-worked insetinclude
15156
15157 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15158
15159         * buffer.C: add using std::stringstream.
15160
15161         * lyx_cb.C: readd using std::ios.
15162
15163         * buffer.C: add using std::map.
15164
15165         * BufferView_pimpl.C: add using std::vector.
15166
15167         * ShareContainer.h: add std:: to swap.
15168
15169         * buffer.h: add some typedefs
15170         * buffer.C (getLists): use them
15171         (getLists): renamed from getTocList.
15172         add a counter for the different float types and use it in the
15173         generated string.
15174         (getLists): use the same counter for the NEW_INSETS and the "non"
15175         NEW_INSETS
15176
15177         * lyx_cb.h: remove unused items, includes, using etc.
15178
15179         * ShareContainer.h: remove some commented code, add more comments
15180         and "documentation".
15181
15182 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15183
15184         * buffer.C (getTocList): make the list also when NEW_INSETS is
15185         defined.
15186
15187         * buffer.h: remove TocType
15188
15189         * buffer.C (getTocList): change to return a map<string,
15190         vector<TocItem> >, implement for dynamic number of list.
15191
15192         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15193         * text2.C (PasteSelection): adjust
15194         * CutAndPaste.C (pasteSelection): adjust
15195
15196         * FloatList.C (FloatList): update from the new_insets branch.
15197         * Floating.[Ch]: ditto
15198         * LaTeXFeatures.C: ditto
15199         * buffer.C: ditto
15200         * lyxlex_pimpl.C: ditto
15201
15202         * paragraph.C (Last): remove when NEW_INSETS is defined.
15203
15204         * other file: changes because of the above.
15205
15206 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15207
15208         * lyxparagraph.h: rename next to next_, previous to previous_,
15209         make them private for NEW_INSETS. Rename Next() to next(),
15210         Previous() to previous().
15211
15212         * other files: changes because of the above.
15213
15214 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * BufferView.h:
15217         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15218         problem.
15219
15220 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * main.C (main): pass lyx_localedir to gettext_init().
15223
15224         * gettext.h: remove locale_init and gettext_init macros
15225
15226         * gettext.C (locale_init): new function
15227         (gettext_init): new function
15228
15229         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15230         setlocale().
15231
15232 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15233
15234         * Moved credits to frontends:
15235         * credits.[Ch]: removed
15236         * credits_form.[Ch]: removed
15237         * lyx_gui_misc.C: remove credits stuff
15238         * Makefile.am:
15239
15240 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15241
15242         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15243
15244         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15245         unneeded destructor.
15246
15247         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15248         a standalone pointer again.
15249
15250         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15251
15252 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * Makefile.am:
15255         * filedlg.h:
15256         * filedlg.C:
15257         * LyXAction.C:
15258         * ToolbarDefaults.C:
15259         * bufferlist.C:
15260         * commandtags.h:
15261         * form1.C:
15262         * form1.h:
15263         * lyx_cb.C:
15264         * lyx_cb.h:
15265         * lyxfunc.h:
15266         * lyxfunc.C:
15267         * BufferView_pimpl.C: use new file dialog in GUII
15268
15269         * lyx_cb.h:
15270         * lyx_cb.C: remove LayoutsCB to Toolbar
15271
15272 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * ShareContainer.h (get): add std:: qualifier
15275
15276 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * ShareContainer.h: define a proper ShareContainer::value_type
15279         type (and use typename to please compaq cxx)
15280
15281 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15282
15283         * lyxparagraph.h: move serveral local vars to
15284         ParameterStruct/ParagraphParameters., use ShareContainer in
15285         FontTable., make vars in FontTable private and add getter and
15286         setter.
15287
15288         * paragraph.C: changes because of the above.
15289
15290         * lyxfont.h: remove copy constructor and copy assignment. (the
15291         default ones is ok), move number inside FontBits. move inlines to
15292         lyxfont.C
15293
15294         * lyxfont.C: add number to initializaton of statics, move several
15295         inlines here. constify several local vars. some whitespace
15296         cleanup. Dont hide outerscope variables.
15297
15298         * Spacing.h: add two new constructors to match the set methods.
15299
15300         * ShareContainer.h: new file, will perhaps be moved to support
15301
15302         * ParameterStruct.h: new file
15303
15304         * ParagraphParameters.h: new file
15305
15306         * ParagraphParameters.C: new file
15307
15308         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15309         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15310
15311         * BufferView_pimpl.C: ParagraphParameter changes.
15312         * buffer.C: Likewise.
15313         * bufferview_funcs.C: Likewise.
15314         * text.C: Likewise.
15315         * text2.C: Likewise.
15316
15317 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15318
15319         * lyxfind.C (LyXReplace): do not redefine default argument in
15320         implementation.
15321         (IsStringInText): ditto
15322         (SearchForward): ditto
15323         (SearchBackward): ditto
15324
15325 2001-03-06  Juergen Vigna  <jug@sad.it>
15326
15327         * lyxfind.C (IsStringInText): put parentes around expressions.
15328
15329 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15330
15331         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15332
15333 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15334
15335         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15336
15337         * stl_string_fwd.h: add comment
15338
15339         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15340
15341         * tabular.h:
15342         * tabular.C: remove unused DocBook methods
15343
15344         * intl.C:
15345         * language.C:
15346         * paragraph.C:
15347         * buffer.C:
15348         killed DO_USE_DEFAULT_LANGUAGE
15349
15350 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * lyx_gui.C: do not include language.h.
15353
15354         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15355         arguments in function implementation.
15356
15357 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15358
15359         * BufferView_pimpl.C: add <ctime>
15360
15361 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15362
15363         * BufferView_pimpl.C: add using std::find_if
15364
15365 2001-02-27  José Matos  <jamatos@fep.up.pt>
15366
15367         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15368         by OnlyPath.
15369
15370 2001-02-11  José Matos  <jamatos@fep.up.pt>
15371
15372         * buffer.C (makeDocBookFile): command styles now have a parameter as
15373         "title" by default.
15374
15375 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15376
15377         * layout_forms.[Ch]: removed
15378         * lyx_cb.[Ch]: out character
15379         * lyx_gui.C: out character
15380         * lyx_gui_misc.C: out character
15381         * bufferview_funcs.C: : out character,
15382         added toggleall as parameter in ToggleAndShow
15383
15384 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15387
15388         * text2.C (SetCurrentFont): Disable number property at boundary.
15389
15390 2001-02-26  Juergen Vigna  <jug@sad.it>
15391
15392         * lyxfunc.C (getStatus): added a string argument override function so
15393         that this is correctly called from LyXFunc::Dispatch if it contains a
15394         do_not_use_argument which is used!
15395         (Dispatch): added check for "custom" export and call appropriate func.
15396
15397 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * lyxrc.C: Add language_command_local, language_use_babel and
15400         language_global_options.
15401
15402         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15403
15404         * buffer.C (makeLaTeXFile): Use language_use_babel and
15405         language_global_options.
15406
15407 2001-02-23  Juergen Vigna  <jug@sad.it>
15408
15409         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15410         which works with LyXText and putted it inside BufferView. Here now we
15411         only call for that part the BufferView::Dispatch() function.
15412
15413         * BufferView.C (Dispatch): added.
15414
15415         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15416         functions which needs to use a LyXText over from LyXFunc.
15417         (MenuInsertLyXFile): added
15418         (getInsetByCode): added
15419         (moveCursorUpdate): added
15420         (static TEXT): added
15421
15422 2001-02-22  Juergen Vigna  <jug@sad.it>
15423
15424         * BufferView_pimpl.C (update): call a status update to see if LyXText
15425         needs it.
15426
15427 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15428
15429         * vc-backend.C (revert): implement for CVS
15430         (getLog): implement for CVS
15431
15432 2001-02-20  Juergen Vigna  <jug@sad.it>
15433
15434         * text2.C (ClearSelection): added BufferView param for inset_owner call
15435
15436         * lyxfunc.C (TEXT): added this function and use it instead of
15437         directly owner->view()-text of getLyXText().
15438
15439 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15440
15441         * src/layout_forms.C: out preamble
15442         * src/layout_forms.h: out preamble
15443         * src/lyx_cb.C: out preamble
15444         * src/lyx_cb.h: out preamble
15445         * src/lyx_gui.C: out preamble
15446         * src/lyx_gui_misc.C: out preamble
15447         * src/lyxfunc.C: connect with guii preamble
15448
15449 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15450
15451         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15452
15453 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15454
15455         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15456         whether to run bibtex.
15457
15458 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15461
15462 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15463
15464         * Makefile.am (lyx_SOURCES): removed bibforms.h
15465
15466         * vspace.h: doxygen
15467
15468         * text.C (GetVisibleRow): make several local vars const
15469
15470         * tabular.C: small cleanup.
15471
15472         * lyxserver.C (callback): use compare instead of strncmp
15473
15474         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15475         inlines to after class or to paragraph.C
15476
15477         * lyxfont.h: remove friend operator!=
15478
15479         * converter.h: move friend bool operator< to non friend and after
15480         class def.
15481
15482         * combox.h: small cleanup
15483
15484         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15485         to inlines after class def.
15486
15487         * buffer.C (pop_tag): use string operations instead of strcmp
15488
15489         * bmtable.c: doxygen, small cleanup
15490
15491         * LaTeX.h: remove friend operator==
15492
15493 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15494
15495         * screen.C:
15496         * lyxrc.[Ch]:
15497         * lyxfunc.C:
15498         * lyxfont.[Ch]:
15499         * lyx_cb.C:
15500         * intl.[Ch]:
15501         * commandtags.h:
15502         * buffer.C:
15503         * WorkArea.[Ch]:
15504         * LyXAction.C:
15505         * BufferView_pimpl.C:
15506         * BufferView.[Ch]: remove cruft
15507
15508 2001-02-14  Juergen Vigna  <jug@sad.it>
15509
15510         * lyxfunc.C: removed #if 0 unused code
15511
15512         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15513
15514         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15515
15516         * text2.C (SetSelection): added a BufferView * parameter
15517
15518 2001-02-13  Juergen Vigna  <jug@sad.it>
15519
15520         * lyxfunc.C (Dispatch): fixed protected blank problem.
15521         * BufferView2.C (protectedBlank): added LyxText * parameter.
15522
15523         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15524         (AppendColumn): same as above for column_info.
15525
15526         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15527         (moveCursorUpdate): use a LyXText param for support of InsetText.
15528
15529         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15530         (tripleClick): ditto
15531
15532         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15533
15534         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15535
15536         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15537
15538         * text2.C (SetSelection): set correct update status if inset_owner
15539         (ToggleFree): ditto
15540
15541 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15542
15543         * tabular.C: remove some commented code.
15544
15545 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15546
15547         * BufferView_pimpl.C: call hideSplash()
15548
15549         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15550
15551         * include_form.h:
15552         * bibforms.h: remove
15553
15554         * lyxfunc.C:
15555         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15556           add LFUN_CHILD_CREATE
15557
15558         * counters.h: fix tiny typo
15559
15560         * lyx_cb.C:
15561         * lyx.h:
15562         * lyx_gui.C:
15563         * lyx.C: move splash to frontends/xforms/
15564
15565         * lyx_gui_misc.C: move Include and Bibform to frontends
15566
15567         * lyxvc.h: clarify comment
15568
15569         * vspace.C: tiny housekeeping
15570
15571 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * text.C (PrepareToPrint): RTL Fix.
15574
15575         * paragraph.C (GetUChar): New method.
15576         (String):  Use GetUChar.
15577
15578         * buffer.C (asciiParagraph): Use GetUChar.
15579
15580 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15581
15582         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15583
15584 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15585
15586         * buffer.h:
15587         * buffer.C: rename to getLogName(), handle
15588           build log / latex log nicely
15589
15590 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * MenuBackend.C:
15593         * MenuBackend.h: remove support for reference menuitem type.
15594
15595 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15596
15597         * BufferView_pimpl.C: housekeeping
15598         * BufferView_pimpl.h:
15599         * LyXView.h:
15600         * Makefile.am:
15601         * Timeout.C:
15602         * Timeout.h:
15603         * minibuffer.h: move Timeout GUI-I
15604
15605 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15606
15607         * lyxrc.C (read): Update converters data-structures.
15608
15609 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15610
15611         * LaTeX.h (operator!=): add operator != for Aux_Info
15612
15613 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15614
15615         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15616
15617         * LaTeXLog.C: deleted, useful code moved to Buffer
15618
15619         * buffer.h:
15620         * buffer.C: new function getLatexLogName()
15621
15622         * lyx_gui_misc.C:
15623         * lyx_gui.C:
15624         * lyxvc.C:
15625         * lyxvc.h:
15626         * lyxfunc.C: use frontends for LaTeX and VC logs
15627
15628 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15629
15630         * LaTeX.h: yet another std:: that Allan forgot.
15631
15632         * Variables.C (set): renamed from isset(), because this clashes
15633         with some HP-UX macros (grr).
15634
15635 2001-02-06  Allan Rae  <rae@lyx.org>
15636
15637         * LaTeX.h: Another bug fix.  Missing std:: this time.
15638
15639 2001-02-04  Allan Rae  <rae@lyx.org>
15640
15641         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15642         floats problem. I've left it commented out because it's not quite
15643         correct.  It should also test that the current object is a table or
15644         figure inset.  But I haven't gotten around to figuring out how to do
15645         that.  I *think* it'll be something like: "table" == inset.type()
15646
15647         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15648         bool.
15649
15650 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15653         all the citation/databases/styles in the auxilary file.
15654         (run): Rerun latex if there was a babel language error.
15655
15656 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15657
15658         * text.C (Backspace): Preserve the font when changing newline char
15659         with a space.
15660         (BreakParagraph): If the cursor is before a space, delete the space.
15661
15662         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15663
15664 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15665
15666         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15667         new argument (code).
15668         (ChangeCitationsIfUnique): New method.
15669
15670         * paragraph.C (GetPositionOfInset): Handle bibkey.
15671
15672 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15673
15674         * BufferView_pimpl.h: change type of Position::par_pos to
15675         LyXParagraph::size_type.
15676
15677 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * BufferView_pimpl.C (savePosition, restorePosition): Write
15680         messages to minibuffer.
15681
15682 2001-01-28  José Matos  <jamatos@fep.up.pt>
15683
15684         * buffer.C (makeDocBookFile): adds support for document language.
15685         A silly restriction on the name of LatexCommand types where removed.
15686         Added support for CDATA sections, allows to chars unescaped, used
15687         among others in code, to avoid escape < and >.
15688
15689 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15690
15691         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15692         saved positions instrad of a stack. Furthermore, a position is
15693         stored using paragraph id/paragraph position.
15694
15695         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15696         Remove LFUN_REF_BACK.
15697
15698 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * converter.C (dvipdfm_options): New method.
15701
15702 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15703
15704         * vspace.C (isValidLength): Fix for empty input string.
15705
15706 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * LyXAction.C (init): change description of LFUN_FIGURE to
15709         "Insert Graphics"
15710
15711 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * LaTeX.C: add using directive
15714
15715 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15716
15717         * MenuBackend.C (expand): Fix the sorting of the formats.
15718
15719 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15720
15721         * lyx_main.C: tiny error message fix
15722
15723 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15724
15725         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15726         calling fl_initialize(). This fixes the problem with ',' as
15727         decimal separator in text files.
15728
15729 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15730
15731         * trans.C (process): Fix the keymap bug.
15732
15733 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15734
15735         * LaTeX.C (scanAuxFiles): New method. Provides support for
15736         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15737         (scanLogFile) Scan for "run BibTeX" messages.
15738
15739         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15740         OT1 font encoding. Also, load the aecompl package if the ae
15741         package is loaded.
15742
15743         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15744
15745 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * texrow.C (increasePos): turn two error messages into debug
15748         messages.
15749
15750 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15751
15752         * LaTeX.C (scanAux): Handle the \@input macro.
15753         (runBibTeX): Use scanAux().
15754
15755         * language.C (latex_options_): New field.
15756
15757         * LaTeXFeatures.C (getMacros): Add language macros.
15758
15759         * buffer.C (makeLaTeXFile): Small fix.
15760
15761 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15762
15763         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15764
15765         * text2.C: add a using directive.
15766
15767 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15768
15769         * BufferView2.C:
15770         * lyx_gui_misc.h:
15771         * lyxfr1.C:
15772         * lyxfunc.C: kill LyXBell.
15773
15774 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15775
15776         * text.C (IsBoundary): Remove the error message
15777
15778         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15779
15780         * lyxrc.C (setDefaults): Correct initialization value for
15781         font_norm_type.
15782
15783 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15786         gotoError().
15787
15788         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15789         and GotoNextNote().
15790
15791         * src/LyXAction.C: Added reference-next.
15792
15793         * text.C (InsertChar): Use contains instead of strchr.
15794
15795         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15796
15797 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15798
15799         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15800         alignment commands (when needed).
15801
15802         * text.C (InsertChar): Add ':' to number separator chars.