]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
577e362defde55fa4f3554caa61cd9a1f35556c2
[lyx.git] / src / ChangeLog
1 2004-04-19  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.C (setBuffer): changed preview interface.
4
5         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
6         possible values.
7
8 2004-04-19  John Levon  <levon@movementarian.org>
9
10         * BufferView_pimpl.C:
11         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
12
13 2004-04-05  Angus Leeming  <leeming@lyx.org>
14
15         * text.C (redoParagraphs): add call to updateCounters(), thereby
16         fixing the missing "Figure #:" label from the caption of a
17         figure float.
18
19 2004-04-13  Angus Leeming  <leeming@lyx.org>
20
21         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
22         cursor is clicked out of an inset.
23
24 2004-04-13  Angus Leeming  <leeming@lyx.org>
25
26         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
27         than an InsetOld one.
28
29 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * format.[Ch]: add editor to Format
32         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
33         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
34
35 2004-04-08  André Pönitz  <poenitz@gmx.net>
36
37         * metricsinfo.h: remove PainterInfo::width member
38
39 2004-04-08  Angus Leeming  <leeming@lyx.org>
40
41         * lyx_sty.C (boldsymbol_def): modify so that it outputs
42         "\providecommand" rather than "\newcommand", thereby preventing
43         clashes with packages that define "\boldsymbol" themselves.
44         Eg, beamer.
45
46 2004-04-08  Angus Leeming  <leeming@lyx.org>
47
48         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
49         thereby squashing an unnecessary warning.
50
51 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
54         setBuffer()
55         
56 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * BufferView.C (setCursor): call redoParagraph (some insets could
59         have been opened) 
60         (putSelectionAt): remove the 'double update' trick
61
62         * BufferView_pimpl.C (fitCursor): call refreshPar
63         (workAreaDispatch): remove an uneeded update call
64         (dispatch): remove some manual update calls
65
66         * cursor.[Ch]: remove cached_y_, updatePos
67         (selHandle): set noUpdate when appropriate
68
69         * lyxfunc.C (dispatch): track if we need an update
70         
71         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
72
73         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
74         (paintSelection): cheap optimization, do not call cursorX when not
75         needed 
76         (paintPars): change signature
77         (refreshPar): add
78         (paintText): adjust
79         (paintTextInset): adjust
80
81         * text.C: adjust
82
83 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * lengthcommon.C: compilation fix: remove explicit array size from
86         unit_name[] and friends
87
88 2004-04-05  Angus Leeming  <leeming@lyx.org>
89
90         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
91
92         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
93         present only for the preferences dialog.
94         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
95
96 2004-04-05  Angus Leeming  <leeming@lyx.org>
97
98         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
99         to enable the frontends to export changes to lyxrc correctly.
100
101         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
102
103 2004-04-07  André Pönitz  <poenitz@gmx.net>
104
105         * cursor.[Ch] (selClear, adjust): remove math
106
107         * cursor_slice.C: more agressive assert
108
109         * lyxfunc.C:
110         * BufferView_pimpl.C: rework mouse event dispatch 
111
112         * dociterator.C:
113         * paragraph.C:
114         * text2.C:
115         * text3.C: adjust
116
117 2004-04-05  André Pönitz  <poenitz@gmx.net>
118
119         * cursor.[Ch] (valign, halign...): remove unneeded functions
120
121 2004-04-05  Angus Leeming  <leeming@lyx.org>
122
123         * lyxlength.[Ch] (unit_name et al.): const-correct.
124
125 2004-04-05  Angus Leeming  <leeming@lyx.org>
126
127         * BufferView_pimpl.C:
128         * buffer.C:
129         * counters.C:
130         * cursor.C:
131         * lyxfunc.C
132         * paragraph.C:
133         * pariterator.C:
134         * text.C:
135         * text2.C:
136         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
137
138 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * text3.C (getStatus): add LFUN_BEGINNINGBUF
141
142 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * lyxfind.C: add a couple of inTexted() tests + other small fixes
145         * BufferView_pimpl.[Ch] (getStatus)
146         * BufferView.[Ch] (getStatus): add
147         * lyxfunc.C (getStatus): move lfuns handled in
148         BufferView::dispatch to te function above 
149         * Cursor.C (setSelection): set selection() = true
150
151 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
152
153         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
154
155 2004-03-31  Angus Leeming  <leeming@lyx.org>
156
157         * lyxfunc.C (dispatch): Fall through to the generic
158         Dialogs::show("preamble").
159
160 2004-03-31  Angus Leeming  <leeming@lyx.org>
161
162         * lyxfunc.C (dispatch): Fall through to the generic
163         Dialogs::show("spellchecker").
164
165 2004-03-31  Angus Leeming  <leeming@lyx.org>
166
167         * lyxfunc.C (getStatus, dispatch): changed invocation of the
168         preferences dialog.
169
170 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * BufferView.C
173         * cursor.[Ch]
174         * dociterator.[Ch]:
175         * insetiterator.[Ch]:
176         * lyxfind.C:
177         * lyxfunc.C:
178         * pariterator.[Ch]:
179         * text2.C:
180         * undo.[Ch]: s/DocumentIterator/DocIterator/g
181
182 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * BufferView.C (setCursor, putSelectionAt): call edit to open the
185         insets where we are putting the cursor.
186
187 2004-03-31  Angus Leeming  <leeming@lyx.org>
188
189         * lfuns.h:
190         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
191
192         * lyxrc.[Ch] (read, write): overloaded member functions taking
193         a std::[io]stream arguments.
194
195         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
196
197 2004-03-31  Angus Leeming  <leeming@lyx.org>
198
199         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
200         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
201
202         * lyxtextclass.C (load): if the text class couldn't be loaded, then
203         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
204
205 2004-03-31  Angus Leeming  <leeming@lyx.org>
206
207         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
208         the LFUN_ALL_INSETS_TOGGLE code.
209
210 2004-03-30  Angus Leeming  <leeming@lyx.org>
211
212         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
213         has died. Fall through to the generic Dialogs::show("document").
214         
215 2004-03-30  Angus Leeming  <leeming@lyx.org>
216
217         * lfuns.h:
218         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
219         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
220
221         * lyxfunc.C (getStatus, dispatch): define the actions for these
222         lfuns. Little more than a cut and pste job from ControlDocument.C
223
224         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
225
226 2004-03-30  Angus Leeming  <leeming@lyx.org>
227
228         * lfuns.h:
229         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
230         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
231
232         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
233         open/closed state of ollapsable insets. Usage:
234
235         all-inset-toggle <state> <name>, where
236         <state> == "open" || "closed" || "toggle" and
237         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
238
239         * lyxtext.h, text2.C (toggleInset): removed.
240
241         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
242         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
243         now passes LFUN_INSET_TOGGLE to the found inset.
244
245         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
246         is now invoked as "all-insets-toggle toggle branch".
247
248 2004-03-30  Angus Leeming  <leeming@lyx.org>
249
250         * dociterator.C:
251         * insetiterator.C:
252         * pariterator.[Ch]: added/corrected header blurb.
253
254 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
255
256         * dociterator.[Ch]: add an inset_ member 
257         (backwardPos): implemented
258         (backwardPos, forwardPos): use inset_ when the stack is empty.
259         (doc_iterator_begin, doc_iterator_end): implemented
260         * pariterator.[Ch]: adjust, add begin, end
261         * insetiterator.[Ch]: adjust, add begin, end
262         * cursor.C: 
263         * document.C:
264         * BufferView.C:
265         * BufferView_pimpl.C:
266         * CutAndPaste.C: adjust
267
268 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * buffer.C: increment file format to 232.
271         * LaTeXFeatures.C: add bibtopic package.
272         * bufferparams.[Ch]: param \use_bibtopic.
273         
274         * lyxrc.[Ch]: add lyxrc bibtex_command
275         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
276         
277         * buffer.C: increment file format to 231.
278
279 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * dociterator.C: implement forwardPar
282         * iterators.[Ch]: remove, replaced by
283         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
284         * BufferView.C:
285         * BufferView_pimpl.C:
286         * CutAndPaste.C:
287         * buffer.C:
288         * bufferview_funcs.C:
289         * cursor.C:
290         * lyxfind.C
291         * lyxfunc.C
292         * paragraph_funcs.C
293         * toc.C:  
294         * Makefile.am: adjust
295
296 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * CutAndPaste.C (pasteSelection): fix 2 crashes
299         (eraseSelection): fix a crash
300         * paragraph_funcs.C: remove a warning
301
302 2004-03-28  Angus Leeming  <leeming@lyx.org>
303
304         * lfuns.h:
305         * LyXAction.C (init): new LFUN_PRINT.
306
307         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
308
309 2004-03-27  Angus Leeming  <leeming@lyx.org>
310
311         * lfuns.h:
312         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
313
314         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
315
316 2004-03-27  Angus Leeming  <leeming@lyx.org>
317
318         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
319         insetlist always contains non-null pointers to insets.
320
321 2004-03-26  Angus Leeming  <leeming@lyx.org>
322
323         * src/BufferView_pimpl.C:
324         * src/CutAndPaste.C:
325         * src/buffer.C:
326         * src/iterators.C:
327         * src/output_plaintext.C:
328         * src/outputparams.h:
329         * src/paragraph_funcs.C:
330         * src/rowpainter.C:
331         * src/text.C:
332         * src/text2.C:
333         * src/frontends/controllers/ControlErrorList.C:
334         * src/frontends/gtk/FileDialogPrivate.C:
335         * src/frontends/gtk/GPainter.C:
336         * src/frontends/gtk/GToolbar.C:
337         * src/frontends/qt2/QRef.C:
338         * src/mathed/math_scriptinset.C: squash compiler warnings.
339
340 2004-03-26  Angus Leeming  <leeming@lyx.org>
341
342         * ispell.C (LaunchIspell::start):
343         * lyx_cb.C (AutoSaveBuffer::start):
344         invoke run(DontWait) rather than runNonBlocking().
345
346 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
349
350 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * kbsequence.C (print): adjust
353
354         * kbmap.C (printKeySym): rename and change signature
355         (printKey): use LyXKeySym::print()
356
357 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
358
359         * undo.C: add using std::advance to compile for stlport
360
361 2004-03-24  Angus Leeming  <leeming@lyx.org>
362
363         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
364         it leads to a crash when no buffer is present.
365
366 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
367             Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * lyxfunc.C (dispatch): 
370         * bufferparams.C (readToken): use the new LColor::setColor 
371
372         * LColor.[Ch] (setColor): new version that takes two strings as
373         argument and creates a new color entry if necessary
374
375 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
376
377         * buffer.C (makeLaTeXFile): if the main latex file that is
378         processed is usually a subdocument of some master, then pretend
379         for a while that it is actually the master
380
381 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
382
383         * buffer.C (getLabelList):
384         (getBibkeyList): use getMasterBuffer()
385         (getMasterBuffer): new method. Returns the main document in the
386         case where one is using included documents.
387
388 2004-03-25  André Pönitz  <poenitz@gmx.net>
389
390         * Makefile.am:
391         * iterators.[Ch]:
392         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
393
394         * ParagraphList_fwd.h: change ParagraphList to a std::vector
395
396         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
397         text*.C over here. Rename namespace CutAndPaste to lyx::cap
398
399         * ParameterStruct.h: merge with ParagraphParameters
400
401         * lyxtext.h: remove LyXText::parOffset() and getPar()
402
403         * text3.C: Remove all 'manual' update calls. We do now one per user
404         interaction which is completely sufficient.
405
406         * Bidi.C:
407         * BufferView.[Ch]:
408         * BufferView_pimpl.C:
409         * FontIterator.[Ch]:
410         * MenuBackend.C:
411         * ParagraphParameters.[Ch]:
412         * buffer.C:
413         * buffer.h:
414         * bufferlist.C:
415         * cursor.[Ch]:
416         * cursor_slice.[Ch]:
417         * dociterator.[Ch]:
418         * errorlist.[Ch]:
419         * factory.C:
420         * lfuns.h:
421         * lyxfind.C:
422         * lyxfunc.C:
423         * output_docbook.[Ch]:
424         * output_latex.[Ch]:
425         * output_linuxdoc.[Ch]:
426         * output_plaintext.[Ch]:
427         * paragraph.[Ch]:
428         * paragraph_funcs.[Ch]:
429         * paragraph_pimpl.[Ch]:
430         * rowpainter.C:
431         * tabular.[Ch]:
432         * text.C:
433         * text2.C:
434         * toc.C:
435         * undo.[Ch]: adjust
436
437         * frontends/controllers/ControlDocument.C:
438         * frontends/controllers/ControlErrorList.C:
439         * frontends/controllers/ControlSpellchecker.C:
440         * insets/inset.C:
441         * insets/inset.h:
442         * insets/insetbase.h:
443         * insets/insetbibitem.C:
444         * insets/insetbox.C:
445         * insets/insetbranch.C:
446         * insets/insetcaption.C:
447         * insets/insetcharstyle.C:
448         * insets/insetcharstyle.h:
449         * insets/insetcollapsable.C:
450         * insets/insetcollapsable.h:
451         * insets/insetert.C:
452         * insets/insetfloat.C:
453         * insets/insetfoot.C:
454         * insets/insetmarginal.C:
455         * insets/insetnote.C:
456         * insets/insetoptarg.C:
457         * insets/insettabular.C:
458         * insets/insettext.C:
459         * insets/insettext.h:
460         * insets/insetwrap.C:
461         * mathed/math_mboxinset.C:
462         * mathed/math_nestinset.C:
463         * mathed/math_scriptinset.C:
464         * mathed/math_scriptinset.h:
465         * support/types.h:
466
467 2004-03-24  Angus Leeming  <leeming@lyx.org>
468
469         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
470         deal with any child processes that have finished but are waiting to
471         communicate this fact to the rest of LyX.
472
473 2004-03-24  Angus Leeming  <leeming@lyx.org>
474
475         64-bit compile fixes.
476
477         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
478         (c-tor): pass lyx::pos_types rather than ints.
479
480         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
481         lyx::pos_type.
482
483         * text.C (Delete): compile fix.
484         (getPar): ensure that function declaration is the same as that in
485         the header file.
486
487 2004-03-23  Angus Leeming  <leeming@lyx.org>
488
489         * ispell.C (LaunchIspell):
490         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
491         a boost::shred_ptr rather than a std::auto_ptr.
492
493 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * lyxfunc.C (getStatus): handle read-only buffers correctly;
496         handle LFUN_FILE_INSERT_*
497
498         * lyxrc.C (setDefaults, getDescription, output, read):
499         * lyxrc.h: remove ps_command
500
501 2004-03-22  Angus Leeming  <leeming@lyx.org>
502
503         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
504         Ensure that error_handler is processed once only and that all data
505         is saved before attempting to output any warning messages.
506
507         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
508
509 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * tabular.C (TeXRow): crash fix (from Kayvan and André)
512
513 2004-03-19  André Pönitz  <poenitz@gmx.net>
514
515         * cursor.[Ch] (reset): take main text inset as argument
516
517         * BufferView: adjust
518         * BufferView_pimpl.C: adjust
519
520         * paragraph.[Ch]: fix completely broken operator=()
521
522 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * LColor.C (getFromLyXName): make sure that the color name is used
525         as lowercase.
526
527 2004-03-17  Angus Leeming  <leeming@lyx.org>
528
529         * lfuns.h:
530         * LyXAction.C (init): remove LFUN_FORKS_KILL.
531
532         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
533         dialog and to kill a forked process.
534
535 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * text2.C (setCursorFromCoordinates): fix font problem
538
539 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
540
541         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
542         bogus "rebuild cursor" code
543
544 2004-03-11  André Pönitz  <poenitz@gmx.net>
545
546         * buffer.[Ch]: use InsetText instead of LyXText as container for
547         the main lyx text.
548
549         * dociterator.[Ch]: drop the BufferView * member which is not needed
550         anymore after the change to buffer.C
551
552         * paragraph_funcs.C:
553         * text.C:
554         * text2.C:
555         * BufferView.[Ch]:
556         * BufferView_pimpl.[Ch]:
557         * cursor.[Ch]:
558         * cursor_slice.[Ch]: adjust
559
560         * text3.C: fix bug in mathDispatch
561
562 2004-03-08  André Pönitz  <poenitz@gmx.net>
563
564         * undo.[Ch]: use 'StableDocumentIterator' as base for
565         the Undo struct.
566
567 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
568
569         * LaTeXFeatures.C:
570         * bufferparams.[Ch]: add jurabib support and param.
571
572         * LaTeX.C: add FIXME/comment.
573
574 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * buffer.C: increment file format to 230.
577
578 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
579
580         * cursor.C (dispatch): avoid infinite loops
581
582 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * rowpainter.C (paintSelection): fix x coordinates
585
586 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
587
588         * text.C (rowBreakPoint): fix breaking before displayed insets
589
590 2004-03-01  André Pönitz  <poenitz@gmx.net>
591
592         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
593
594         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
595
596         * Makefile.am:
597         * BufferView.C:
598         * BufferView_pimpl.C:
599         * buffer.C:
600         * lyxfind.C:
601         * lyxfunc.C:
602         * text.C:
603         * text2.C:
604         * text3.C: adjust
605
606 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * lyxtext.h:
609         * text.C:
610         * text2.C:
611         * rowpainter.C:
612         * BufferView_pimpl.C: rename textwidth -> maxwidth,
613         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
614
615 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
616
617         * Bidi.[Ch] (computeTables): const correctness
618         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
619         fill_hfill, fill_label_hfill and x from Row
620         * lyxtext.h: prepareToPrint returns a RowMetrics
621         * rowPainter.C: adjust
622         * text.C (prepareToPrint): use width, not textWidth. adjust
623         (redoParagraphInternal, cursorX): adjust
624         * text2.C (getColumnNearX): adjust
625         (init): put a default value to the top LyXText::width
626
627 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
628
629         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
630
631 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * lyxtext.h: add FontIterator class
634
635         * text.C (FontIterator, operator*, operator->, operator++): add
636         (rowBreakPoint, setRowWidth): adjust (fixing a
637         rebreaking bug)
638
639 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * BufferView_pimpl.C (workAreaDispatch): allow also
642         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
643
644 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
645
646         * text.C (rowBreakPoint): fix a bug showing with very large insets
647
648 2004-02-25  André Pönitz  <poenitz@gmx.net>
649
650         * text3.C:
651         * cursor.[Ch]: move some mathed specific code to mathed
652
653 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
654
655         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
656         use_tempdir in preferences
657         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
658         tempfile creation
659         * lyx_main.C: ensure that tempdir is valid
660         * lyxlex.h: correct typo
661         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
662         * paragraph.[Ch] (isMultiLingual): make const
663         * cursor.[Ch] (openable): make const
664
665 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
666
667         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
668
669 2004-02-20  André Pönitz  <poenitz@gmx.net>
670
671         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
672
673         * cursor.[Ch]: prepare for localized getStatus()
674
675         * lyxtext.h:
676         * tabular.C:
677         * text.C:
678         * text2.C:
679         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
680
681 2004-02-20  André Pönitz  <poenitz@gmx.net>
682
683         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
684
685 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * text2.C (setCursorFromCoordinates): switch to absolute coords
688         (cursorUp): adjust
689         (cursorDown): adjust
690         * text3.C (dispatch): adjust
691
692 2004-02-16  André Pönitz  <poenitz@gmx.net>
693
694         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
695           insets/ChangeLog)
696
697         * cursor_slice.[Ch]: remove unneeded acessor function
698
699         * lyxtext.h: rename rtl() to isRTL()
700
701         * rowpainter.C:
702         * tabular.C:
703         * text.C:
704         * text2.C:
705         * text3.C: adjust
706
707 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
708
709         * rowpainter.C (paintSelection): coord fix
710
711 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
712
713         * Spacing.C: compile fix
714
715 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * cursor.C (dispatch): restore current_ before returning
718
719 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
720
721         * text2.C (cursorUp, cursorDown): fix coords
722         (moveUp): fix crash
723
724 2004-02-12  André Pönitz  <poenitz@gmx.net>
725
726         * lyxtext.h:
727         * text.C:
728         * text2.C:
729         * text3.C: add LCursor & parameter to most cursor movement functions
730           remove usage of LyXText::cursorRow() and cursorPar()
731
732         * cursor.[Ch]: add textRow() needed members
733
734         * BufferView.C:
735         * BufferView_pimpl.C:
736         * paragraph.[Ch]:
737         * BufferView.C:
738         * BufferView_pimpl.C: adjust
739
740 2004-02-11  André Pönitz  <poenitz@gmx.net>
741
742         * lyxfunc.C:
743         * BufferView.[Ch]:
744         * BufferView_pimpl.C: shift undo/redo handling
745
746         * cursor.[Ch]: fix mathed crash
747
748         * lyxfind.C:
749         * lyxtext.h: move selectionAsText to LCursor
750
751         * output_latex.C:
752         * paragraph.C:
753         * text.C:
754         * text2.C:
755         * text3.C: adjust
756
757         * rowpainter.C: fix excessive drawing
758
759 2004-02-06  André Pönitz  <poenitz@gmx.net>
760
761         * BufferView.[Ch]:
762         * BufferView_pimpl.[Ch]:
763         * text3.C: move some text specific LFUN handling
764
765 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
766
767         * text3.C (checkInsetHit): adjust coords
768         * text2.C (getColumnNearX): adjust coords
769         (edit): adjust coords
770         * text.C (getRowNearY): add two asserts
771
772 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
773
774         * converter.C:
775         * format.C: add using std::distance to compile on gcc 2.95/stlport
776
777 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
780
781 2004-02-04  André Pönitz  <poenitz@gmx.net>
782
783         * BufferView.[Ch] (insertInset):
784         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
785
786         * text2.C:
787         * text3.C: adjust
788
789 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
792         on the default clause of the switch
793         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
794         wasn't catched by LCursor::dispatch
795
796 2004-02-03  André Pönitz  <poenitz@gmx.net>
797
798         * BufferView.C:
799         * cursor.[Ch]: some additional asserts
800
801         * undo.[Ch]: remove LyXText dependency in interface
802
803         * lyxfunc.C: adjust
804
805         * lyxtext.h (firstPar, lastPar): remove dead functions
806
807         * text.C:
808         * text2.C:
809         * text3.C:
810         * paragraph.[Ch]: adjust
811
812 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
813
814         * lyxfind.C (find): fix argument order in call to ::find
815
816 2004-02-02  André Pönitz  <poenitz@gmx.net>
817
818         * cursor.[Ch]: remove direct access to anchor
819
820         * text.C: remove findText() hack
821
822 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
823
824         * iterators.[Ch] (lockPath): remove in favour of...
825         * BufferView.[Ch] (setCursor): this addition
826         * BufferView.C (putSelectionAt): adjust
827         * undo.C (performUndoOrRedo): adjust
828         * lyxfunc.C (dispatch): adjust
829
830 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * iterators.C (lockPath): add a missing slice
833         * undo.C (performUndoOrRedo): remove redundant positioning code
834
835 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * vc-backend.C (scanMaster): ";" -> ';'
838
839 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
842         std::binary_function
843
844         * lyxtextclass.C (compare_name): rename to...
845         (LayoutNamesEqual): ...this
846
847         * lyxlex_pimpl.C (compare_tags): inherit from
848         std::binary_function, put back into anon namespace
849
850         * lyxfind.C (MatchString): inherig from std::binary_function
851         (findChange): use empty() istead of !size()
852
853         * format.C (FormatNamesEqual): new functor
854         (getFormat): use it
855         (getNumber): use it
856         (add): use it
857         (erase): use it
858         (setViewer): use it
859
860         * converter.C (compare_Converter): rename to...
861         (ConverterEqual): ...this, and fixup a bit.
862         (getConverter): use it, and make function const
863         (getNumber): use it, and make function const
864         (add): use it
865         (erase): use it:
866
867         * bufferlist.C: add using boost::bind
868
869         * MenuBackend.C (MenuNamesEqual): new functor
870         (hasMenu): use it, and make function const
871         (hasSubmenu): use nested bind to get rid of compare_memfun.
872
873 2004-01-30  André Pönitz  <poenitz@gmx.net>
874
875         * BufferView_pimpl.C:
876         * cursor.C:
877         * cursor.h:
878         * cursor_slice.[Ch]:
879         * lyxfunc.C:
880         * lyxtext.h:
881         * paragraph_funcs.C:
882         * paragraph_funcs.h:
883         * rowpainter.C:
884         * text.C:
885         * text2.C:
886         * text3.C: move some of the edit(x,y) handling to the insets
887         some coordinate changes.
888
889 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * text.C: add using statements for std::advance and std::distance
892
893         * paragraph.C: add using statement for std::distance
894
895         * lyxfind.C: add using statement for std::advance
896
897         * cursor.C (region): remove std:: from swap
898         (openable): use nucleus in stead of operator->
899
900         * BufferView.C: add using statements for std::distance and std::swap
901
902 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * iterators.C: Remove the pimple, move the needed structures to
905         the header file. Create accessor for the positions stack.
906         (asPosIterator): remove function
907
908         * PosIterator.C (PosIterator): move constructors to top of file
909         (PosIterator): reimplement the constructor taking a ParIterator in
910         terms of setFrom.
911         (setFrom): new function
912         (operator!=): inline it
913
914 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * lyxfind.C (replaceAll): use std::advance
917
918         * iterators.h: inherit from std::iterator.
919
920         * PosIterator.C (advance, distance): remove
921         * PosIterator.h: interit from std::iterator.
922
923 2004-01-26  André Pönitz  <poenitz@gmx.net>
924
925         * BufferView.[Ch]:
926         * BufferView_pimpl.[Ch]:
927         * InsetList.[Ch]:
928         * PosIterator.[Ch]:
929         * buffer.h:
930         * bufferview_funcs.C:
931         * cursor.[Ch]:
932         * cursor_slice.h:
933         * factory.[Ch]:
934         * iterators.[Ch]:
935         * lyxfind.C:
936         * lyxfunc.C:
937         * lyxtext.h:
938         * output_docbook.C:
939         * output_latex.C:
940         * output_linuxdoc.C:
941         * output_plaintext.C:
942         * paragraph.[Ch]:
943         * paragraph_funcs.[Ch]:
944         * paragraph_pimpl.[Ch]:
945         * rowpainter.C:
946         * tabular.C:
947         * tabular.h:
948         * text.C:
949         * text2.C:
950         * text3.C: more IU:  dumps most of the rest of the mathcursor
951     implementation into cursor.[Ch]; "globalize" a bit of it.
952
953 2004-01-25  Angus Leeming  <leeming@lyx.org>
954
955         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
956
957 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * LaTeXFeatures.h: add nice_ and nice() const
960         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
961
962 2004-01-20  André Pönitz  <poenitz@gmx.net>
963
964         * BufferView.[Ch]:
965         * BufferView_pimpl.C:
966         * PosIterator.C:
967         * bufferview_funcs.C:
968         * cursor.[Ch]:
969         * cursor_slice.[Ch]:
970         * factory.C:
971         * iterators.C:
972         * lyx_cb.C:
973         * lyxfind.C:
974         * lyxfunc.C:
975         * lyxtext.h:
976         * rowpainter.C:
977         * text.C:
978         * text2.C:
979         * text3.C:
980         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
981           LCursor and mathcursor parts to LCursor and InsetBase.
982
983 2004-01-15  André Pönitz  <poenitz@gmx.net>
984
985         * cursor_slice.[Ch]: add a few covienience functions
986
987         * funcrequest.[Ch]: remove BufferView * member
988
989         * BufferView_pimpl.C:
990         * cursor.C:
991         * factory.[Ch]:
992         * lyxfind.[Ch]:
993         * lyxfunc.C:
994         * lyxtext.h:
995         * text3.C:
996         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
997
998 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1001         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1002
1003 2004-01-13  André Pönitz  <poenitz@gmx.net>
1004
1005         * textcursor.[Ch]:
1006         * lyxtext.h: hide cursor and selection anchor behind accessor function
1007
1008         * BufferView.C:
1009         * BufferView_pimpl.[Ch]:
1010         * PosIterator.C:
1011         * bufferview_funcs.C:
1012         * cursor.h:
1013         * lyxfind.C:
1014         * lyxfunc.C:
1015         * text.C:
1016         * text2.C:
1017         * text3.C:
1018         * undo.C: adjust
1019
1020         * cursor.h:
1021         * cursor_slice.[Ch]: some integer type changes for inset unification
1022
1023         * lyxcursor.[hC]: remove, it's CursorSlice now.
1024
1025         * Makefile.am:
1026         * BufferView_pimpl.[Ch]:
1027         * bufferview_funcs.C:
1028         * cursor_slice.C:
1029         * lyxtext.h:
1030         * text.C:
1031         * text2.C:
1032         * text3.C:
1033         * textcursor.[Ch]: adjust
1034
1035 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * text2.C (undoSpan): add and use
1038         * text.C (breakParagraph): use undoSpan (fix bug 578)
1039         * lyxtext.h: adjust
1040
1041 2004-01-08  Angus Leeming  <leeming@lyx.org>
1042
1043         * BufferView_pimpl.C (MenuInsertLyXFile):
1044         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1045         * lyxfunc.C (menuNew, open, doImport):
1046         FileFilterList change to the FileDialog open and save functions.
1047
1048 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * ShareContainer.h: make isEqual and isUnique adaptable
1051
1052         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1053
1054 2004-01-07  Angus Leeming  <leeming@lyx.org>
1055
1056         * LyXAction.C:
1057         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1058
1059         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1060
1061         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1062         functions replacing find, replace and replaceAll.
1063
1064         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1065         LFUN_WORDFIND(FORWARD|BACKWARD).
1066
1067 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * text.C (breakParagraph): remove an outdated #warning
1070
1071 2004-01-07  André Pönitz  <poenitz@gmx.net>
1072
1073         * lyxfind.C: somewhat clearer logic
1074
1075         * text.C: prevent crash in cursorX on unitialized row cache
1076
1077 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1078
1079         * lyxcursor.[Ch] (operator>): add
1080         * textcursor.C (selStart, selEnd): use std::min and std::max
1081
1082 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1083
1084         * Chktex.C: include boost/format.hpp
1085
1086 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1087
1088         * InsetList.C: replace functor MathcIt with adaptable functor
1089         InsetTablePosLess
1090         (insetIterator): modify accordingly
1091
1092         * BranchList.h: move the BranchNamesEqual functor here from...
1093         * BranchList.C: ... to here
1094
1095         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1096         SameName and match.
1097         (add): replace a finding loop with std::find_if.
1098
1099 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * output_docbook.C: moving LatexParam functionality into
1102         .layout files
1103
1104 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1105
1106         * buffer.C: increment format to 229.
1107
1108 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1109
1110         * LaTeXFeatures.C:
1111         * lyx_sty.[Ch]: remove minipageindent_def
1112
1113         * LyXAction.C:
1114         * factory.C:
1115         * lfuns.h:
1116         * lyxfunc.C:
1117         * text3.C: remove LFUN_INSET_MINIPAGE
1118
1119 2003-12-28  Angus Leeming  <leeming@lyx.org>
1120
1121         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1122
1123 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1124
1125         * text2.C (setParagraph): fix off-by-one crash
1126
1127 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * output_docbook.C: header stuff for AGU
1130
1131 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * text2.C (redoCursor): remove
1134         * text.C:
1135         * text3.C:
1136         * BufferView_pimpl.C: remove calls to redoCursor and
1137         setCursor(cursor.par(), cursor.pos()) all around
1138
1139 2003-12-15  Angus Leeming  <leeming@lyx.org>
1140
1141         * buffer.C: up the format to 228.
1142
1143 2003-12-15  André Pönitz  <poenitz@gmx.net>
1144
1145         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1146         slices
1147
1148         * Makefile.am:
1149
1150         * BufferView_pimpl.C:
1151         * cursor.[Ch]:
1152         * lyxcursor.[Ch]:
1153         * rowpainter.[Ch]:
1154         * lyxtext.h:
1155         * text.C:
1156         * text2.C:
1157         * text3.C: adjust
1158
1159 2003-12-15  Angus Leeming  <leeming@lyx.org>
1160
1161         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1162         than getFromGUIName to manipulate the color.
1163
1164 2003-12-14  Angus Leeming  <leeming@lyx.org>
1165
1166         * BranchList.[Ch]: minimize the API.
1167         (Branch::getBranch, getColor): now return a 'const &'.
1168         (Branch::setSelected) now returns a bool set to true if the
1169         selection status changes.
1170         (BranchList::clear, size, getColor, setColor, setSelected,
1171         allBranches, allSelected, separator): removed.
1172         (BranchList::find): new functions, returning the Branch with
1173         the given name.
1174         (BranchList::add, remove): return a bool indicating that
1175         the operation was successful.
1176
1177         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1178         new InsetBranch::isBranchSlected member function.
1179
1180         * LColor.[Ch]: mimimize the API.
1181         (fill): renamed as addColor and made private.
1182         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1183         versions of these functions taking a string arg have been removed.
1184
1185         * bufferparams.C (readToken):
1186         * lyxfunc.C (dispatch):
1187         * lyxrc.C (read): changes due to the altered BranchList and
1188         LColor APIs.
1189
1190         * factory.C (createInset, readInset): changes due to altered
1191         InsetBranch c-tor.
1192
1193 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1194
1195         * factory.C:
1196         * lyxfunc.C: remove insetminipage. "minipage-insert"
1197         now produces a frameless minipage box inset.
1198
1199 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * textcursor.[Ch] (selStart,selEnd): add new methods
1202         remove selection::start, end, use LyXCursor::operator<
1203         * lyxcursor.[Ch] (operator<): add
1204         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1205         * BufferView.[Ch] (unsetXSel): add
1206         * text2.C (clearSelection): use unsetXSel,adjust
1207         * text.C: adjust
1208         * text3.C: adjust
1209         * rowpainter.C: adjust
1210         * bufferview_funcs.C (put_selection_at): adjust
1211
1212 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1213
1214         * BufferView_pimpl.C: small coord. correction
1215
1216 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1219         dragging over the splash screen.
1220
1221 2003-12-11  Angus Leeming  <leeming@lyx.org>
1222
1223         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1224         as it is now handled in LyXText::dispatch.
1225
1226         * text3.C (doInsertInset): remove a level of nesting.
1227
1228 2003-12-11  Angus Leeming  <leeming@lyx.org>
1229
1230         * factory.C (createInset): changes due to the changed interface to
1231         InsetCommandMailer::string2params.
1232
1233 2003-12-10  Angus Leeming  <leeming@lyx.org>
1234
1235         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1236         'dialog-show-new-inset <inset name>'
1237
1238 2003-12-10  Angus Leeming  <leeming@lyx.org>
1239
1240         * buffer.C: up the format to 227.
1241
1242         * factory.C: the box inset is now identified simply by 'Box'.
1243
1244 2003-12-10  Angus Leeming  <leeming@lyx.org>
1245
1246         * buffer.C: up the format to 226.
1247
1248         * factory.C: the note inset is now identified simply by 'Note'.
1249
1250 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1253         when a pit is enough. Standarize a couple of loops.
1254
1255 2003-12-05  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1258         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1259         data to the re-worked "log" dialog.
1260
1261 2003-12-03  André Pönitz  <poenitz@gmx.net>
1262
1263         * PosIterator.C:
1264         * iterators.C:
1265         * lyxtext.h:
1266         * output_latex.C:
1267         * paragraph_funcs.C:
1268         * text.C:
1269         * text2.C: use Inset::getText instead of Inset::getParagraph
1270
1271 2003-12-03  André Pönitz  <poenitz@gmx.net>
1272
1273         * buffer.[Ch]:
1274         * lyxtext.h:
1275         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1276         InsetText::read() as LyXText::read()
1277
1278 2003-12-02  Angus Leeming  <leeming@lyx.org>
1279
1280         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1281         type. Add a comment in the implementation that the function uses
1282         the stream's bad() function rather than fail() as the std::streams
1283         would do.
1284
1285 2003-12-02  André Pönitz  <poenitz@gmx.net>
1286
1287         * lyxlex.[Ch]: make interface more similar to std::stream
1288
1289         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1290
1291 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1292
1293         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1294
1295 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1296
1297         * vspace.[Ch]: remove VSpace::NONE
1298
1299 2003-12-01  André Pönitz  <poenitz@gmx.net>
1300
1301         * buffer.[Ch]:
1302         * lyxtext.h: move ParagraphList member to LyXText
1303         rename LyXText::ownerParagraphs to LyXText::paragraph
1304
1305         * CutAndPaste.C:
1306         * bufferview_funcs.C:
1307         * iterators.[Ch]:
1308         * lyx_cb.C:
1309         * paragraph.C:
1310         * rowpainter.C:
1311         * tabular.C:
1312         * text.C:
1313         * text2.C:
1314         * text3.C: adjust
1315
1316         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1317
1318         * undo.C: fix cursor positioning
1319
1320 2003-12-01  John Levon  <levon@movementarian.org>
1321
1322         * BufferView_pimpl.C: fix a crash on exit with
1323         a buffer open
1324
1325 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1326
1327         * BranchList.C: fix setSelected() method.
1328
1329 2003-11-28  André Pönitz  <poenitz@gmx.net>
1330
1331         * ParagraphParameters.[Ch]:
1332         * ParameterStruct.h: remove space above/below from Paragraph to
1333          InsetVSpace
1334
1335         * BufferView_pimpl.C:
1336         * factory.C:
1337         * lyxfunc.C:
1338         * lyxtext.h:
1339         * output_latex.C:
1340         * paragraph.C:
1341         * paragraph_funcs.C:
1342         * rowpainter.[Ch]:
1343         * text.C:
1344         * text2.C:
1345         * text3.C: adjust
1346
1347 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * factory.C: Syntax change for CharStyles
1350
1351 2003-11-28  André Pönitz  <poenitz@gmx.net>
1352
1353         * BufferView.[Ch]:
1354         * BufferView.[Ch]:
1355         * buffer.[Ch]:
1356         * buffer.[Ch]: move LyXText member
1357
1358 2003-11-28  André Pönitz  <poenitz@gmx.net>
1359
1360         * BufferView.[Ch]: make LyXText * text a private member
1361
1362         * BufferView_pimpl.C:
1363         * cursor.C:
1364         * iterators.C:
1365         * lyx_cb.C:
1366         * lyxfind.C:
1367         * lyxtext.h:
1368         * rowpainter.[Ch]:
1369         * text.C:
1370         * text2.C:
1371         * undo.C: adjust
1372
1373         * output_plaintext.C: cleanup
1374
1375 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1376
1377         * buffer.C:
1378         * lyxtextclass.[Ch]: parametrize SGML document header
1379
1380 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1381
1382         * converter.[Ch]:
1383         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1384         getFlavor().
1385
1386 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1387
1388         * text2.C (setFont): rework using PosIterator (no more recursive)
1389         (setCharFont): no more needed
1390         (setLayout): no more selection cursors fiddling (done by redoCursor)
1391         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1392         destroy remaining ones)
1393
1394 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1397         * lyxtext.h: ditto
1398         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1399         selection cursors
1400         * lyxfunc.C: adjust
1401         * text3.C: adjust + re-allow multi par depth changes
1402         * textcursor.C: simplify a bit
1403
1404 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * src/buffer.C:
1407         * src/lyxlayout.C:
1408         * src/lyxlayout.h:
1409         * src/lyxtext.h:
1410         * src/output_docbook.C:
1411         * src/output_latex.C:
1412         * src/paragraph.C:
1413         * src/paragraph.h:
1414         * src/sgml.C:
1415         * src/sgml.h:
1416         * src/text2.C: Introducing a number of tags parametrizing various
1417         XML formats that we may want to support
1418
1419 2003-11-25  André Pönitz  <poenitz@gmx.net>
1420
1421         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1422
1423         * lyxtext.h (leftMargin/rightMargin): simplify interface
1424
1425         * rowpainter.C:
1426         * text.C:
1427         * text2.C:
1428         * text3.C: adjust
1429
1430 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1431
1432         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1433         master file to any child files. Fixes bug 546.
1434
1435 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1436
1437         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1438
1439 2003-11-24  André Pönitz  <poenitz@gmx.net>
1440
1441         * rowpainter.C: simplification
1442
1443         * text2.C (updateCounters): remove call to redoParagraph on
1444         changed labels as this is far too expensive.
1445
1446 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * converter.C (convert): fix a crash: this function gets
1449         called with buffer == 0 from importer code.
1450
1451 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1452
1453         * text3.C (cursorPrevious): make sure that we do not compare
1454         iterators form different containers.
1455         (cursorNext): ditto
1456
1457         * rowpainter.C (paintSelection): make sure that we do not compare
1458         iterators from different containers.
1459
1460         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1461         iterators from different ParagraphList containers.
1462         [NEXT] ditto
1463
1464         * text2.C (LyXText): change order of initialization slightly
1465         (operator=): new function. copy all variables except cache_par_
1466         (moveUp): make sure that we do not compare iterators from
1467         different ParagraphList constainers.
1468         (moveDown): ditto
1469
1470         * text.C (firstPar): new function
1471         (lastPar): new function
1472         (endPar): new function
1473
1474         * lyxtext.h: move things around and group public functions, public
1475         variables, private functions, private variables
1476
1477 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1478
1479         * factory.C: change call to InsetERT constructor to avoid
1480         additional invocation of method status
1481         * text2.C (toggleInset): remove redundant update() call
1482         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1483         instead of a Bufferview pointer
1484
1485 2003-11-21  André Pönitz  <poenitz@gmx.net>
1486
1487         * rowpainter.C: simplification
1488
1489 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * text3.C (dispatch): make possible to extend a word/row selection
1492         with the mouse
1493
1494 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1495
1496         * lyxtext.h: x0_,y0_ -> xo_,yo_
1497         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1498         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1499         * rowpainter.C (paintRows): paint full paragraphs
1500
1501 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1504         screen coordinates)
1505
1506 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * lyxtext.h: add x0_, y0_
1509         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1510         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1511
1512 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * text2.C (setCursorIntern): move the x_target update here *
1515         * text3.C: change some bv() to true/false in calls to
1516         cursorUp/Down/Right/Left
1517         * cursor.C: use helper function.
1518
1519 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1522         * paragraph_funcs.[Ch]: correct comment
1523         * rowpainter.C: do not paint selections away from bv->cursor()
1524         Fix a long standing selection painting bug.
1525         * text3.C: generalize mouse-selection code to LyXTexts other that
1526         top one
1527         * textcursor.C: do not use y coords if we can use par offsets
1528
1529 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1532         cursor position after e.g. inset insert)
1533
1534 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * lyxfind.C (replace): adjust to locking removal + some
1537         code simplification
1538
1539 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1542         of the path
1543
1544 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1545
1546         * lyxlayout.[Ch]:
1547         * output_docbook.C: XML sanitation: new layout
1548         parameters InnerTag and CommandDepth
1549
1550 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1551
1552         * BufferView_pimpl.C:
1553         * factory.C:
1554         * text3.C: Fix the insertion and modification of button-style
1555         insets
1556
1557 2003-11-13  André Pönitz  <poenitz@gmx.net>
1558
1559         * InsetList.[Ch]: remove deleteLyXText
1560
1561         * paragraph.[Ch]: cache beginOfBody position
1562
1563         * Bidi.C:
1564         * text.C:
1565         * text2.C:
1566         * text3.C: remove superfluous update() calls
1567
1568         * vspace.C: cleanup
1569
1570 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1571
1572         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1573         * BufferView.C (fitLockedInsetCursor): remove
1574         * cursor.[Ch] (getDim): add
1575         * text.C (getRowNearY): add faster version
1576         * text3.C: remove some update calls
1577
1578 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1579
1580         * LaTeXFeatures.C:
1581         * LyXAction.C:
1582         * MenuBackend.C:
1583         * MenuBackend.h:
1584         * dispatchresult.h:
1585         * factory.C:
1586         * lfuns.h:
1587         * lyxfunc.C:
1588         * lyxtextclass.C:
1589         * lyxtextclass.h:
1590         * text3.C: The Character Style /XML short element patch.
1591
1592 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1593
1594         * text3.C:
1595         * factory.C: Small step to solving 'unable to insert some insets'
1596         problem
1597
1598 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * cursor.[Ch] (updatePos): new function for updating the y
1601         position of the tip inset
1602         * bufferview_funcs.C (put_selection_at):
1603         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1604
1605 2003-11-11  André Pönitz  <poenitz@gmx.net>
1606
1607         * text.C: remove big comment on invalid Paragraph pointers as it is
1608         not valid anymore
1609
1610 2003-11-11  André Pönitz  <poenitz@gmx.net>
1611
1612         * text_funcs.[Ch]: merge with ...
1613
1614         * text.C: ... this
1615
1616         * lyxtext.h:
1617         * text2.C:
1618         * text3.C: adjust
1619
1620         * Makefile.am: remove text_funcs.[Ch]
1621
1622 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1623
1624         * cursor.C (getPos): return absolute cached y coord
1625
1626         * BufferView_pimpl.C (fitCursor): new simplistic code
1627         (workAreaDispatch): add a fitCursor call
1628
1629 2003-11-10  André Pönitz  <poenitz@gmx.net>
1630
1631         * BufferView.[Ch]:
1632         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1633
1634 2003-11-10  André Pönitz  <poenitz@gmx.net>
1635
1636         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1637         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1638         indicate that the cursor needs to leave an inset
1639
1640         * lyxtext.h: remove inset locking
1641
1642         * cursor.[Ch]: re-implement functionality provided by inset locking
1643
1644         * BufferView.[Ch]:
1645         * BufferView_pimpl.[Ch]:
1646         * LyXAction.C:
1647         * bufferview_funcs.[Ch]:
1648         * factory.C:
1649         * funcrequest.[Ch]:
1650         * iterators.C:
1651         * lyx_cb.C:
1652         * lyxfind.C:
1653         * lyxfunc.C:
1654         * text.C:
1655         * text2.C:
1656         * text3.C:
1657         * undo.C: adjust
1658
1659 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * PosIterator.[Ch]: replace the stack with a vector, add inset
1662         accesor
1663         * iterators.[C]: adjust
1664
1665 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1666
1667         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1668         replaced
1669         * paragraph_funcs.C (readParToken): put the correct id in the
1670         error item, not the id of the top paragraph
1671
1672 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1673
1674         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1675         * bufferview_funcs.C (put_selection_at): use the above
1676
1677 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1680
1681 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * output_linuxdoc.h:
1684         * output_plaintext.h:
1685         * output.h:
1686         * output_docbook.h: add #include statements
1687
1688 2003-11-05  José Matos  <jamatos@lyx.org>
1689
1690         * output_docbook.[Ch]:
1691         * output_latex.[Ch]:
1692         * output_linuxdoc.[Ch]:
1693         * output_plaintext.[Ch]: New files for output formats.
1694         * output.[Ch]: New file for helper functions.
1695
1696         * buffer.[Ch]:
1697         * paragraph_funcs.[Ch]: output functions moved to new files.
1698
1699         * outputparams.h: rename of latexrunparams.h
1700
1701         * LaTeX.[Ch]:
1702         * buffer.[Ch]:
1703         * bufferlist.[Ch]:
1704         * converter.[Ch]:
1705         * exporter.C:
1706         * paragraph.[Ch]:
1707         * paragraph_funcs.[Ch]:
1708         * paragraph_pimpl.[Ch]:
1709         * tabular.[Ch]: rename ascii to plaintext
1710         and LatexRunParams to OutputParams.
1711
1712 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1713
1714         * iterators.[Ch] (text): require bv argument
1715         * undo.C (recordUndo):
1716         * lyxfunc.C (dispatch):
1717         * bufferview_funcs.C (put_selection_at): adjust
1718
1719 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1720
1721         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1722
1723 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1724
1725         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1726         nestings
1727
1728 2003-11-04  André Pönitz  <poenitz@gmx.net>
1729
1730         * cursor.[Ch]: restructure
1731
1732         * BufferView.[Ch]:
1733         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1734
1735         * iterators.[Ch] (asCursor): remove
1736
1737         * lfuns.h: remove LFUN_INSET_EDIT
1738
1739         * lyxfunc.C:
1740         * tabular.C:
1741         * text.C:
1742         * text2.C:
1743         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1744
1745 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * lyxfind.[Ch]: complete overhaul
1748         * BufferView_pimpl.C:
1749         * lyxfunc.C: adjust
1750         * paragraph.[Ch] (insert): add
1751
1752 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1753
1754         * BufferView.[Ch]:
1755         * lyxtext.h:
1756         * text.C: remove dead spellcheck code
1757
1758 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * dispatchresult.h: add a val setter
1761
1762         * cursor.C (dispatch): use a tempvar for data_[i]
1763
1764 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1765
1766         * PosIterator.[Ch]: compile fix
1767
1768 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1769
1770         * text.C (cursorPar): deactivate the cursor cache
1771
1772 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1773
1774         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1775
1776 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1777
1778         * text3.C (dispatch): adjust for new DisptchResult semantics.
1779
1780         * lyxfunc.C (dispatch): handle update when return from
1781         Cursor::dispatch, adjust for new DispatchResult semantics.
1782
1783         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1784         DispatchResult(true) mean to not update. Add class functions for
1785         setting dispatched and update, as well as reading.
1786
1787         * cursor.C (dispatch): don't handle update here
1788
1789 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1790
1791         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1792         * trans_mgr.C: adjust
1793
1794         * paragraph_funcs.C (readParToken): exception safety
1795
1796         * lyxvc.h: store the vcs pointer in a scoped_ptr
1797         * lyxvc.C: adjust
1798
1799         * lyxsocket.C (serverCallback): exception safety
1800
1801         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1802
1803         * ispell.C (clone): make it return a auto_ptr
1804
1805         * factory.C (createInset): exception safety
1806         (readInset): exception safety
1807
1808         * bufferlist.C (newBuffer): exception safety
1809
1810         * Thesaurus.C (Thesaurus): use initialization for aik_
1811
1812         * MenuBackend.C (expandToc): exception safety.
1813
1814 2003-11-03  André Pönitz  <poenitz@gmx.net>
1815
1816         * buffer.C:
1817         * buffer.h:
1818         * bufferview_funcs.C: remove getInsetFromId()
1819
1820         * lyxcursor.[Ch]:
1821         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1822
1823         * lyxfunc.C:
1824         * text2.C:
1825         * text3.C: adjust
1826
1827 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1828
1829         * PosIterator.C (distance, advance): new
1830         * bufferview_funcs.[Ch] (put_selection_at): new
1831         * iterators.[Ch] (lockPath): new
1832
1833 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * iterators.[Ch] (asPosIterator): added
1836         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1837         * PosIterator.[Ch]: added
1838
1839 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * text3.C:
1842         * lyxfunc.C:
1843         * cursor.C (dispatch):
1844         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1845
1846         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1847         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1848         contructor, add a class function dispatched. Remove operator>=
1849
1850 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1851
1852         * debug.C: only use the default constructor for debugstream
1853         (lyxerr) here.
1854
1855         * main.C (main): include debug.h and setup the lyxerr streambuf
1856         here.
1857
1858 2003-10-31  José Matos  <jamatos@lyx.org>
1859
1860         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1861
1862         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1863         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1864         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1865         * paragraph_pimpl.C (simpleTeXSpecialC):
1866         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1867         add LatexRunParams argument.
1868
1869         * exporter.C (Export): change call accordingly.
1870
1871         * latexrunparams.h: add new member to take care of the other backends.
1872 2003-10-30  José Matos  <jamatos@lyx.org>
1873
1874         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1875         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1876         factorise code for paragraph output.
1877         * buffer.[Ch]:
1878         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1879         move functions.
1880
1881 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1882
1883         * text3.C (dispatch):
1884         * lyxfunc.C (dispatch):
1885         * cursor.C (dispatch):
1886         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1887
1888         * dispatchresult.h: make the dispatch_result_t ctor explicit
1889
1890 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1891
1892         * sgml.[Ch]:
1893         * buffer.C: small refactoring of docbook stuff
1894
1895 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1896
1897         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1898         meaning.
1899
1900 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1903         operator dispatch_result_t, and operators for == != and >=
1904
1905         * cursor.C (dispatch): adjust for operator dispatch_result_t
1906         removal. comment out call to update
1907
1908         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1909
1910 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1911
1912         * text3.C:
1913         * text2.C:
1914         * text.C:
1915         * lyxtext.h:
1916         * lyxfunc.C:
1917         * cursor.C:
1918         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1919         (dispatch):
1920
1921         * dispatchresult.h: new file, DispatchResult broken out of
1922         insets/insetbase.h
1923
1924         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1925
1926 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * text.C (rowBreakPoint): put a hack inside #if 0
1929
1930 2003-10-28  André Pönitz  <poenitz@gmx.net>
1931
1932         * lyxtext.h:
1933         * metricsinfo.C:
1934         * paragraph_funcs.C:
1935         * rowpainter.C:
1936         * text.C:
1937         * text2.C: general cleanup (lots of small stuff)
1938
1939 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1940
1941         * text2.C (cursorEnd): simple fix to the "end key goes to one
1942         before the end on last row" bug
1943
1944 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * text.C (backspace): fix the "zombie characters"
1947
1948 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1951
1952 2003-10-27  André Pönitz  <poenitz@gmx.net>
1953
1954         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1955
1956         * factory.C: handle new InsetPagebreak, InsetLine
1957
1958         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1959         and move handling into new InsetPagebreak, InsetLine
1960
1961         * BufferView_pimpl.C:
1962         * LyXAction.C:
1963         * ParagraphParameters.C:
1964         * ParameterStruct.h:
1965         * lyxfunc.C:
1966         * lyxtext.h:
1967         * paragraph.C:
1968         * paragraph.h:
1969         * paragraph_funcs.C:
1970         * paragraph_pimpl.C:
1971         * rowpainter.C:
1972         * text.C:
1973         * text2.C:
1974         * text3.C: adjust
1975
1976 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1977
1978         * text.C:
1979         * lyxrow_funcs.[Ch]:
1980         * Bidi.C:
1981         * paragraph.C:
1982         * lyxtext.h:
1983         * rowpainter.C:
1984         * text2.C:
1985         * text3.C: remove lastPos uses in favour of Row::endpos
1986
1987 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1988
1989         * undo.C (performUndoOrRedo): fix two crashes by setting a
1990         cursor by hand and reordering some calls. Use bv->lockInset instead
1991         of inset->edit because the latter loses cursor information
1992
1993 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1996         by Martin
1997         (rowBreakPoint): fix width. change point to point + 1.
1998         Add a missing check.
1999
2000 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2001
2002         * MenuBackend.C:
2003         * lyxfunc.C: fix (at least partly) the problems
2004         with the Nav menu and headers inside branch insets
2005         reported by Kayvan
2006
2007 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2008
2009         * paragraph.C (getChar): add strong asserts
2010
2011         * lyxrow_funcs.C (lastPos): remove hideous hack
2012
2013         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2014         (fill): adjust to that (avoid an infinite loop)
2015
2016 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2017
2018         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2019
2020 2003-10-23  André Pönitz  <poenitz@gmx.net>
2021
2022         * RowList_fwd.h: change list<> to vector<> to gain speed
2023         after suggestion from Alfredo
2024
2025 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2026
2027         * lyxtext.h: move the bidi stuff from here...
2028         * text.C: and here
2029         * text2.C: and here
2030         * Bidi.[Ch]: ... to here
2031
2032 2003-10-23  André Pönitz  <poenitz@gmx.net>
2033
2034         * lyxtext.h:
2035         * text.C (isLastRow, isFirstRow): new functions
2036
2037         * paragraph.h: new width cache member
2038
2039         * rowpainter.C: replace RowList::iterator with Row & where possible
2040
2041         * lyxfunc.C: replace several view()->text with a single call
2042
2043         * toc.C: fix 'unused' warning
2044
2045 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2046
2047         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2048         when woring with stream::pos_type
2049         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2050
2051 2003-10-22  André Pönitz  <poenitz@gmx.net>
2052
2053         * lyxtext.h:
2054         * text.C: use Row & instead of RowList::iterator
2055
2056         * lyxrow.h: rename end() to endpos()
2057
2058         * rowpainter.C:
2059         * text.C:
2060         * text2.C: adjust
2061
2062 2003-10-22  Angus Leeming  <leeming@lyx.org>
2063
2064         * buffer.[Ch] (fully_loaded): new member function, returning true
2065         only when the file has been loaded fully.
2066         Used to prevent the premature generation of previews and by the
2067         citation inset to prevent computation of the natbib-style label.
2068
2069         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2070         templates are all set up.
2071
2072         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2073
2074 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * text.C: fixed an "oops" in the "is a bit silly"
2077         bug fix
2078
2079 2003-10-21  André Pönitz  <poenitz@gmx.net>
2080
2081         * FuncStatus.[Ch]: small stuff, whitespace
2082
2083         * lyxfont.[Ch]: operator<<() for debug reasons
2084
2085         * lyxfunc.C:
2086         * lyxrow_funcs.C:
2087         * lyxtext.h: whitespace, spelling
2088
2089         * paragraph.C: naming of variables
2090
2091         * text.C:
2092         * text2.C: small stuff
2093
2094
2095 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2096
2097         * text.C: (1) finish off the inset display() work;
2098         (2) fix the "is a bit silly" bug (accessing char
2099         past end of par).
2100
2101 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2102
2103         * text.C: re-introduce display() for insets, fixing the
2104         various bugs (stretch of line above, math inset
2105         positioning, ...)
2106
2107 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * text.C (rightMargin): remove spurious semicolon
2110
2111         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2112         1415)
2113
2114 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2115
2116         * text3.C: fix one crash due to wrong cursor def
2117
2118 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * vc-backend.C (scanMaster): make the regex static
2121
2122         * LaTeX.C (scanAuxFile): make the regexs static
2123
2124         * text3.C (doInsertInset, dispatch, dispatch):
2125         * text2.C (cursorUp, cursorDown):
2126         * text.C (selectNextWordToSpellcheck):
2127         * BufferView_pimpl.C (dispatch):
2128         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2129
2130 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2131
2132         * lyxsocket.C: include <cerrno>
2133
2134 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * lyxfunc.C (dispatch): remove textcache stuff
2137
2138         * bufferlist.C (release): remove textcache stuff
2139         (closeAll): ditto
2140
2141         * TextCache.C: delete file
2142         * TextCache.h: delete file
2143
2144         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2145
2146         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2147         delete of the bv_->text.
2148         (resizeCurrentBuffer): remove texcache stuff
2149         (workAreaResize): ditto
2150
2151 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2154         action.
2155
2156 2003-10-16  André Pönitz  <poenitz@gmx.net>
2157
2158         * lyxrow.[Ch]:
2159         * paragraph.h:
2160         * rowpainter.C:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: speed up by storing y positions per paragraph plus per-row
2164         offset instead of having a 'full' y position in the row.
2165
2166 2003-10-15  André Pönitz  <poenitz@gmx.net>
2167
2168         * iterators.[Ch]:
2169         * iterators.[Ch]:
2170         * undo.[Ch]: make undo aware of inner insets
2171
2172 2003-10-14  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2175         static member functions LyX::ref() and LyX::cref.
2176         (lastfiles): new accessor functions for the new lastfiles_ member var.
2177         (addLyXView, views_): add a new LyXView to the list of views_.
2178         (updateInset): loop over all LyXViews to call their own updateInset
2179         member function, returning a pointer to the Buffer owning the inset.
2180
2181         * BufferView_pimpl.C (loadLyXFile):
2182         * MenuBackend.C (expandLastfiles):
2183         * bufferlist.C (MenuWrite, QuitLyX):
2184         lastfiles is no longer a global variable.
2185         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2186
2187         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2188         static function. Access through LyX::cref().emergencyCleanup().
2189
2190 2003-10-14  André Pönitz  <poenitz@gmx.net>
2191
2192         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2193
2194         * undo.[Ch]: restoring part of 'undo in insets'
2195
2196         * Makefile.am:
2197         * undo_funcs.[Ch]: merge with undo.[Ch]
2198
2199         * tabular.C: small cleansing stuff
2200
2201 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * paragraph_funcs.C (readParToken): report unknown insets as error
2204         boxes. Use the outer paragraph as location (also for unknown
2205         tokens).
2206
2207         * factory.C (readInset): do not abort on reading an unknown inset.
2208         Eat it and return 0.
2209
2210 2003-10-13  Angus Leeming  <leeming@lyx.org>
2211
2212         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2213
2214         * lyxrc.C: displayTranslator is now a function,
2215         declared in GraphicsTypes.h.
2216
2217 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2218
2219         * format.C: new placeholder $$a to pass the socket address.
2220
2221         * bufferlist.[Ch]: new function getBufferFromTmp.
2222
2223         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2224           files in the temporary dir.
2225
2226 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2227
2228         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2229
2230         * Makefile.am: add lyxsocket.[Ch].
2231
2232         * lyx_main.C (error_handler): handle SIGPIPE.
2233
2234 2003-10-13  André Pönitz  <poenitz@gmx.net>
2235
2236         * BufferView_pimpl.C:
2237         * lyxtext.h:
2238         * text.C:
2239         * text2.C:
2240         * text3.C:
2241         * undo_funcs.[Ch]: use paroffset_type instead of
2242           ParagraphList::iterators to prevent multiple conversion
2243           (and get a more robust interface)
2244
2245 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2248         * lyxtext.h: ditto
2249         * text3.C (dispatch): ditto
2250
2251 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2252
2253         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2254         move the onlyfile, use onlyfile instead of foundfile in a couple
2255         of places.
2256
2257         * DepTable.C (update): flush the error stream a bit more
2258
2259 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2260
2261         * lyxserver.C (callback): adjust
2262
2263         * lyxfunc.C (getStatus): add a missing brace in commented code
2264         (ensureBufferClean): reindent
2265         (dispatch): delete version taking a string
2266
2267 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * LaTeX.C (deplog): move found file handlig from here...
2270         (handleFoundFile): .. to new function here.
2271         (deplog): make sure to discover several files mentioned on the
2272         same log line.
2273
2274 2003-10-10  André Pönitz  <poenitz@gmx.net>
2275
2276         * lyxfunc.C:
2277         * lyxtext.h:
2278         * tabular.C:
2279         * text.C:
2280         * text2.C:
2281         * text3.C: fix some of the tabular crashes
2282
2283 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2284
2285         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2286
2287         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2288
2289 2003-10-09  André Pönitz  <poenitz@gmx.net>
2290
2291         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2292
2293         * BufferView.C:
2294         * BufferView_pimpl.C:
2295         * bufferview_funcs.C:
2296         * lyx_cb.C:
2297         * lyxcursor.C:
2298         * lyxfind.C:
2299         * lyxfunc.C:
2300         * lyxtext.h:
2301         * text.C:
2302         * text2.C:
2303         * text3.C:
2304         * text_funcs.[Ch]:
2305         * textcursor.[Ch]:
2306         * undo_funcs.C: adjust
2307
2308 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * text2.C (incrementItemDepth): new function, use a backtracking
2311         algorithm to discover the correct item depth.
2312         (resetEnumCounterIfNeeded): new function, use a backtracking
2313         algorithm to discover if counter reset is needed.
2314         (setCounter): use them. Simplify a bit. Add different labels for
2315         different item depths for itemize.
2316
2317         * paragraph.C (Paragraph): remove initialization of enumdepth
2318         (operator=): ditto
2319
2320         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2321         enumerate and itemize. Change the type of itemdepth to signed char.
2322
2323 2003-10-08  André Pönitz  <poenitz@gmx.net>
2324
2325         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2326           thing assignable.
2327         * text.C:
2328         * text2.C: adjust
2329
2330         * tabular.[Ch]: fix crash after 'row-insert'
2331
2332 2003-10-08  Angus Leeming  <leeming@lyx.org>
2333
2334         Fix doxygen warnings.
2335
2336         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2337         Remove CutAndPaste:: prefix from header file declaration.
2338
2339         * LColor.h (fill): remove LColor:: prefix from declaration.
2340
2341         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2342         use lyx::depth_type rather than Paragraph::depth_type so that
2343         header file and .C file match.
2344
2345         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2346
2347         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2348         * aspell.C: \file aspell_local.C -> \file aspell.C
2349         * gettext.C: \file gettext.C -> \file src/gettext.C
2350         * gettext.h: \file gettext.h -> \file src/gettext.h
2351         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2352         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2353         * text.C: \file text.C -> \file src/text.C
2354
2355         * toc.C: move comment so that doxygen is not confused.
2356
2357 2003-10-07  Angus Leeming  <leeming@lyx.org>
2358
2359         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2360
2361 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2362
2363         * aspell.C:
2364         * aspell_local.h: add forgotten std::string's.
2365
2366 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2367
2368         * LaTeXFeatures.C:
2369         * LyXAction.C:
2370         * factory.C:
2371         * lfuns.h:
2372         * lyxfunc.C:
2373         * text3.C: The Box patch. Fancybox support, minipage, parbox
2374
2375 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2376
2377         * CutAndPaste.h:
2378         * DepTable.h:
2379         * FloatList.h:
2380         * LaTeXFeatures.h:
2381         * ParagraphParameters.h:
2382         * TextCache.h:
2383         * Thesaurus.h:
2384         * bufferlist.h:
2385         * exporter.h:
2386         * importer.h:
2387         * lastfiles.h:
2388         * lyxfind.h:
2389         * lyxfont.h:
2390         * lyxlex.h:
2391         * lyxtextclasslist.h:
2392         * messages.h:
2393         * paragraph.h:
2394         * paragraph_pimpl.C:
2395         * textcursor.h: add <string> and other small fixes to make Lars'
2396         std::string patch compile with STLport.
2397
2398 2003-10-06  Angus Leeming  <leeming@lyx.org>
2399
2400         * LColor.h: Add missing #include <string>.
2401
2402 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * All most all file in all subdirs: Make <string> be the prefered
2405         way of getting to std::string, add using declarations.
2406
2407 2003-10-06  André Pönitz  <poenitz@gmx.net>
2408
2409         * metricsinfo.C: initialize LyXFont before changing attribute.
2410         (fixes the 'math in \emph is upright' bug)
2411
2412 2003-10-06  André Pönitz  <poenitz@gmx.net>
2413
2414         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2415
2416 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * graph.C:
2419         * paragraph_pimpl.C: Small fixes to build using STLport
2420
2421 2003-10-02  André Pönitz  <poenitz@gmx.net>
2422
2423         * lyxfunc.C:
2424         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2425
2426 2003-10-01  André Pönitz  <poenitz@gmx.net>
2427
2428         * factory.C: assert early
2429
2430 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2431
2432         * lyx_main.C: remove the global debug object
2433
2434         * debug.h: adjust for new debugstream
2435
2436         * debug.C: adjust for new debugstream and keep the global debug
2437         object here.
2438
2439 2003-09-22  Angus Leeming  <leeming@lyx.org>
2440
2441         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2442         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2443         an incomplete class LyXFont.
2444
2445 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2446
2447         * factory.C: bug fix in branches
2448
2449 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * lyxfunc.C (processKeySym): adjust
2452         (dispatch): adjust
2453         (dispatch): change arg name from ev to func, adjust
2454         (sendDispatchMessage): ditto
2455
2456         * lyx_main.C (defaultKeyBindings): adjust keybindings
2457         (deadKeyBindings): ditto
2458
2459         * kbsequence.C (addkey): return a FuncRequest
2460
2461         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2462
2463         * kbmap.C (bind): take a FuncRequest as arg, adjust
2464         (read): adjust
2465         (lookup): adjust
2466         (defkey): change to take a FuncRequest as arg, adjust
2467         (findbinding): take a FuncRequest as arg, adjust.
2468
2469         * funcrequest.h (operator=): added
2470
2471         * funcrequest.C (FuncRequest): default kb_action changed from
2472         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2473
2474         * buffer.C (dispatch): simplify
2475         (dispatch): adjust to take a FuncRequest as arg, adjust
2476
2477         * boost.C (assertion_failed): change assertion message slightly
2478
2479         * ToolbarBackend.C (read): simplify
2480
2481         * MenuBackend.C (binding): adjust call to findbinding, add a
2482         message if no binding is found.
2483         (read): simplify
2484         (expandToc): correct by adding a empty FuncRequest
2485
2486         * LyXAction.C: include <boost/assert.hpp>
2487         (isPseudoAction): delete function
2488         (LookupFunc): change name to...
2489         (lookupFunc): this. change return type to FuncRequest.
2490         (getActionName): take kb_action as arg, simplify
2491         (funcHasFlag): add an assert, simplify.
2492
2493 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * toc.C (action): return a FuncRequest, simplify
2496
2497         * lyxfunc.C (processKeySym): adjust
2498         (getStatus): delete version that takes an int.
2499         (getStatus): adjust
2500         (dispatch): delete version that takes action as int
2501         (dispatch): adjust
2502         (sendDispatchMessage): simplify and adjust
2503
2504         * funcrequest.C (getArg): take unsigned int as arg
2505
2506         * ToolbarBackend.C (read): adjust
2507         (add): delete version that takes func as a string.
2508         (getIton): take a FuncRequest as arg
2509
2510         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2511         action.
2512
2513         * MenuBackend.C (MenuItem): add a new construct that only takes a
2514         Kind, simplify the constructor use for submenus.
2515         (add): adjust
2516         (expandLastfiles): adjust
2517         (expandDocuments): adjust
2518         (expandFormats): adjust
2519         (expandFloatListInsert): adjust
2520         (expandFloatInsert): adjust
2521         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2522
2523         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2524         Remove class variables lyx_pseudo_map and lyx_arg_map
2525
2526         * LyXAction.C (searchActionArg): delete function
2527         (getPseudoAction): delete function
2528         (retrieveActionArg): delete function
2529         (LookupFunc): make it return kb_action, simplify.
2530         (getActionName): simplify
2531
2532         * factory.C (createInset): fix new bug
2533
2534 2003-09-19  Angus Leeming  <leeming@lyx.org>
2535
2536         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2537         masterFilename_ parameter in the include inset.
2538
2539         * factory.C (createInset): changes due to the changes to InsetInclude.
2540
2541 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2542
2543         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2544
2545 2003-09-18  Angus Leeming  <leeming@lyx.org>
2546
2547         * buffer.C:
2548         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2549         Inset::fillWithBibKeys.
2550         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2551
2552 2003-09-18  Angus Leeming  <leeming@lyx.org>
2553
2554         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2555         variables.
2556         (ctor): pass and store a 'Buffer const &'
2557         (buffer): new member function.
2558
2559         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2560         '*this' to the LaTeXFeatures ctor.
2561
2562 2003-09-18  Angus Leeming  <leeming@lyx.org>
2563
2564         * LColor.h:
2565         * lyxfont.C:
2566         * lyxfont.h:
2567         * lyxtext.h:
2568         * text.C: rename EnumLColor as LColor_color.
2569
2570 2003-09-18  Angus Leeming  <leeming@lyx.org>
2571
2572         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2573         remove #include "insets/insetbase.h" from cursor.h.
2574
2575 2003-09-18  Angus Leeming  <leeming@lyx.org>
2576
2577         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2578         InsetOld_code to remove #include "inset.h".
2579
2580         * iterators.C: add #include "insets/inset.h"
2581
2582 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * BufferView.C: remove more locking stuff that apparently doesn't
2585         do anything sensible.
2586
2587 2003-09-16  André Pönitz  <poenitz@gmx.net>
2588
2589         * paragraph.[Ch]:
2590         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2591           performance boost.
2592
2593 2003-09-16  Angus Leeming  <leeming@lyx.org>
2594
2595         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2596
2597         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2598         arg/return type.
2599
2600         * paragraph.h: remove #include "lyxfont.h". Forward declare
2601         LyXFont_size.
2602
2603 2003-09-16  Angus Leeming  <leeming@lyx.org>
2604
2605         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2606         of support/textutils.h.
2607         (isWord): move the contents of support/textutils.h's IsWordChar here.
2608
2609         * buffer.C:
2610         * lyxfind.C:
2611         * rowpainter.C:
2612         * text.C:
2613         * text2.C: add #include "paragraph.h".
2614
2615         * rowpainter.C:
2616         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2617
2618 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2619
2620         * main.C:
2621         * lyx_main.C:
2622         * lyx_cb.C:
2623         * buffer.C:
2624         * LaTeX.C: use namespace alias for lyx::support::os
2625
2626 2003-09-16  Angus Leeming  <leeming@lyx.org>
2627
2628         * bufferparams.C:
2629         * bufferview_funcs.C:
2630         * factory.C:
2631         * lyxfunc.C:
2632         * paragraph_pimpl.C:
2633         * rowpainter.C:
2634         * text.C: add #include "LColor.h".
2635
2636 2003-09-16  Angus Leeming  <leeming@lyx.org>
2637
2638         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2639         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2640         return LyXFont &.
2641         Store the FontBits::color variable as an int rather than as an
2642         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2643         file.
2644
2645         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2646         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2647         string calls together.
2648
2649         * lyxrc.C: add #include "LColor.h".
2650
2651 2003-09-15  Angus Leeming  <leeming@lyx.org>
2652
2653         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2654         a cow_ptr.
2655
2656 2003-09-15  Angus Leeming  <leeming@lyx.org>
2657
2658         * LColor.h: add an EnumLColor wrapper for LColor::color.
2659
2660         * lyxfont.[Ch] (color, setColor, realColor):
2661         * lyxtext.h, text.C (backgroundColor):
2662         pass EnumLColor args to/from the functions, rather than LColor::color
2663         ones.
2664
2665         * lyxfont.h:
2666         * lyxtext.h: forward declare EnumLColor.
2667
2668         * lyx_main.C: add #include "LColor.h".
2669
2670 2003-09-15  Angus Leeming  <leeming@lyx.org>
2671
2672         * .cvsignore: add lyx-gtk.
2673
2674 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * Chktex.C
2677         * LaTeX.C
2678         * LaTeXFeatures.C
2679         * ParagraphParameters.C
2680         * Spacing.C
2681         * buffer.C
2682         * bufferparams.C
2683         * bufferview_funcs.C
2684         * chset.C
2685         * counters.C
2686         * funcrequest.C
2687         * lyxfont.C
2688         * lyxgluelength.C
2689         * lyxlength.C
2690         * paragraph.C
2691         * paragraph_funcs.C
2692         * text3.C
2693         * vc-backend.C: remove usage of STRCONV
2694
2695 2003-09-15  Angus Leeming  <leeming@lyx.org>
2696
2697         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2698         explicitly define the color passed to the painter.
2699
2700 2003-09-15  Angus Leeming  <leeming@lyx.org>
2701
2702         * bufferparams.C (BufferParams): reorder member initializers to avoid
2703         compiler warning.
2704
2705 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2706
2707         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2708         * text.C (updateRowPositions): remove an unusual nop
2709
2710 2003-09-12  André Pönitz  <poenitz@gmx.net>
2711
2712         * BufferView_pimpl.C:
2713         * Bullet.C:
2714         * layout.h:
2715         * lyxfunc.C:
2716         * lyxlayout.[Ch]:
2717         * lyxtextclass.C:
2718         * rowpainter.C:
2719         * text.C:
2720         * text2.C:
2721         * Counters.[Ch]: finish the 'automatic counters' job
2722
2723 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2724
2725         * aspell.C: include <boost/assert.cpp> (compile fix)
2726
2727 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2728
2729         * boost.C (assertion_failed): use lyx::support::abort instead of
2730         assert.
2731
2732 2003-09-10  Angus Leeming  <leeming@lyx.org>
2733
2734         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2735         with their _fwd progeny.
2736
2737 2003-09-09  Angus Leeming  <leeming@lyx.org>
2738
2739         134 files throughtout the source tree: replace 'using namespace abc;'
2740         directives with the appropriate 'using abc::xyz;' declarations.
2741
2742 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2743
2744         * boost.C (emergencyCleanup): moved here from LAssert.c
2745         (assertion_failed): new function, called by BOOST_ASSERT
2746
2747         * several files: change Assert to BOOST_ASSERT
2748
2749 2003-09-09  Angus Leeming  <leeming@lyx.org>
2750
2751         * buffer.[Ch]: Add an Impl class and move Buffer's member
2752         variables into it. As a result move several header files out of
2753         buffer.h.
2754
2755         Add header files to lots of .C files all over the tree as a result.
2756
2757 2003-09-09  Angus Leeming  <leeming@lyx.org>
2758
2759         * buffer.[Ch]: make Buffer's member variables private. Add
2760         accessor functions.
2761
2762         Lots of changes all over the tree as a result.
2763
2764 2003-09-08  Angus Leeming  <leeming@lyx.org>
2765
2766         * graph.C: #include <config.h>.
2767
2768 2003-09-08  Angus Leeming  <leeming@lyx.org>
2769
2770         * BranchList.C:
2771         * BufferView.C:
2772         * BufferView_pimpl.C:
2773         * CutAndPaste.C:
2774         * DepTable.C:
2775         * LaTeX.C:
2776         * LaTeXFeatures.C:
2777         * LyXAction.C:
2778         * MenuBackend.C:
2779         * TextCache.C:
2780         * aspell.C:
2781         * buffer.C:
2782         * bufferlist.C:
2783         * changes.C:
2784         * chset.C:
2785         * converter.C:
2786         * counters.C:
2787         * debug.C:
2788         * graph.C:
2789         * ispell.C:
2790         * lyx_cb.C:
2791         * lyxfind.C:
2792         * lyxfunc.C:
2793         * lyxlex_pimpl.C:
2794         * lyxrc.C:
2795         * lyxrow.C:
2796         * paragraph.C:
2797         * rowpainter.C:
2798         * texrow.C:
2799         * text.C:
2800         * text2.C:
2801         * toc.C: remove redundant using directives.
2802
2803 2003-09-07  Angus Leeming  <leeming@lyx.org>
2804
2805         * LaTeXFeatures.h: remove #include "support/types.h".
2806         * ToolbarBackend.h: remove #include <algorithm>.
2807         * changes.h: remove #include <ctime>.
2808         * debug.h: remove #include <iosfwd>.
2809         * graph.h: remove #include "support/std_string.h".
2810         * lyx_main.h: remove #include <csignal>.
2811         * lyxlex_pimpl.h: remove #include <fstream>.
2812         * sgml.h: remove #include <algorithm>, <utility>.
2813         * toc.h: remove #include "support/std_ostream.h".
2814         Add #include <iosfwd>.
2815
2816 2003-09-07  Angus Leeming  <leeming@lyx.org>
2817
2818         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2819
2820         * converter.h: forward declare LatexRunParams.
2821         * encoding.h: remove #include "lyxrc.h".
2822         * lyxtext.h: remove #include "LColor.h".
2823         * lyxtextclass.h: remove #include "support/types.h".
2824         * trans.h: remove #include "tex-accent.h".
2825         * trans_mgr.h: remove #include "tex-accent.h".
2826         * insets/inset.h: remove #include "support/types.h", <vector>.
2827         * insets/insetcollapsable.h: remove #include "LColor.h".
2828         * insets/insetinclude.h: remove #include "dimension.h".
2829         * insets/insetlatexaccent.h: remove #include "dimension.h".
2830         * insets/insetoptarg.h:: remove #include "insettext.h".
2831         * insets/insettext.h: remove #include "dimension.h",
2832         <boost/shared_ptr.hpp>
2833
2834         * insets/renderers.h: add #include "dimension.h".
2835         * insets/updatableinset.h: add #include "support/types.h".
2836
2837         * many .C files: Associated changes.
2838
2839 2003-09-06  Angus Leeming  <leeming@lyx.org>
2840
2841         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2842         one, inside testInvariant.
2843
2844         * PrinterParams.C: new file.
2845         * PrinterParams.[Ch]: move the function bodies out of line.
2846
2847 2003-09-06  Angus Leeming  <leeming@lyx.org>
2848
2849         * ParagraphParameters.h: forward declare ParameterStruct rather than
2850         including its header file.
2851         (depth): moved out-of-line.
2852
2853 2003-09-06  Angus Leeming  <leeming@lyx.org>
2854
2855         * BufferView_pimpl.h:
2856         * kbmap.h:
2857         * kbsequence.h:
2858         * lyxfunc.h: forward declare LyXKeySym rather than
2859         #include "frontends/LyXKeySym.h".
2860
2861         * BufferView_pimpl.C:
2862         * kbmap.C:
2863         * kbsequence.C:
2864         * lyxfunc.C: associated changes.
2865
2866 2003-09-06  Angus Leeming  <leeming@lyx.org>
2867
2868         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2869         As a result, can remove the #include "insets/inset.h" from BufferView.h
2870
2871 2003-09-06  Angus Leeming  <leeming@lyx.org>
2872
2873         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2874         As a result, can remove the #include "insets/inset.h" from BufferView.h
2875
2876 2003-09-06  Angus Leeming  <leeming@lyx.org>
2877
2878         * buffer_funcs.C:
2879         * buffer.h:
2880         * bufferlist.C:
2881         * BufferView.C:
2882         * bufferview_funcs.C:
2883         * BufferView_pimpl.C:
2884         * CutAndPaste.C:
2885         * lyx_cb.C:
2886         * lyxfunc.C:
2887         * paragraph.h:
2888         * ParagraphParameters.C:
2889         * tabular.C:
2890         * text3.C:
2891         * toc.C:
2892         * undo_funcs.C:
2893         * frontends/controllers/ControlDocument.C:
2894         * insets/insetcaption.C: rearrange the #includes into some sort of
2895         coherent order.
2896
2897         * buffer.h: remove #includes ErrorList.h, undo.h
2898
2899 2003-09-06  Angus Leeming  <leeming@lyx.org>
2900
2901         * support/types.h: add a 'depth_type' typedef, used to store the
2902         nesting depth of a paragraph.
2903
2904         * paragraph.h:
2905         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2906         defining explicitly.
2907
2908         * buffer.h:
2909         * paragraph_funcs.h:
2910         * ParagraphParameters.h:
2911         * sgml.h: use lyx::depth_type rather than Paragraph or
2912         ParameterStruct's depth_type.
2913
2914         * buffer.h
2915         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2916
2917         * BufferView.C:
2918         * BufferView_pimpl.C:
2919         * CutAndPaste.C:
2920         * ParagraphParameters.C:
2921         * buffer_funcs.C:
2922         * bufferlist.C:
2923         * bufferview_funcs.C:
2924         * lyx_cb.C:
2925         * lyxfunc.C:
2926         * tabular.C:
2927         * text3.C:
2928         * toc.C:
2929         * undo_funcs.C:
2930         * frontends/LyXView.C:
2931         * frontends/controllers/ControlDocument.C:
2932         * frontends/controllers/ControlErrorList.C:
2933         * insets/insetbibitem.C:
2934         * insets/insetbranch.C:
2935         * insets/insetcaption.C:
2936         * insets/insetcollapsable.C:
2937         * insets/insetenv.C:
2938         * insets/insetert.C:
2939         * insets/insetfloat.C:
2940         * insets/insetfoot.C:
2941         * insets/insetfootlike.C:
2942         * insets/insetnewline.C:
2943         * insets/insetquotes.C:
2944         * insets/insettabular.C:
2945         * insets/insettext.C:
2946         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2947
2948         * frontends/controllers/ControlChanges.C: #include "changes.h".
2949
2950 2003-09-06  Angus Leeming  <leeming@lyx.org>
2951
2952         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2953         than #including paragraph.h.
2954
2955         * ParagraphList.h:
2956         * RowList.h: deleted. Superfluous.
2957
2958         * CutAndPaste.h:
2959         * iterators.h:
2960         * lyxcursor.h:
2961         * lyxtext.h:
2962         * text_funcs.h:
2963         * undo.h:
2964         * undo_funcs.h:
2965         * insets/inset.h:
2966         * insets/insettext.h: use ParagraphList_fwd.h rather than
2967         ParagraphList.h.
2968
2969         * paragraph.h: don't forward declare ParagraphList.
2970
2971         * buffer.h:
2972         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2973         rather than ParagraphList.h. paragraph.h is still needed for the
2974         Paragraph::depth_type parameters.
2975
2976         * textcursor.h: enable it to compile stand-alone in light of the
2977         above changes.
2978
2979         * bufferview_funcs.C:
2980         * iterators.C:
2981         * lyxfunc.C:
2982         * lyxrow_funcs.C:
2983         * paragraph.C:
2984         * rowpainter.C:
2985         * text.C:
2986         * text2.C:
2987         * text3.C:
2988         * text_funcs.C:
2989         * textcursor.C:
2990         * undo.C:
2991         * frontends/controllers/ControlParagraph.C:
2992         * frontends/controllers/ControlTabular.C:
2993         * insets/insetmarginal.C:
2994         * insets/insetminipage.C:
2995         * insets/insetnote.C:
2996         * insets/insetoptarg.C: add header files needed to compile again.
2997
2998 2003-09-06  Angus Leeming  <leeming@lyx.org>
2999
3000         * RowList_fwd.h: new file, forward-declaring Row rather than
3001         #including lyxrow.h.
3002
3003         * lyxrow_funcs.h:
3004         * lyxtext.h:
3005         * paragraph.h:
3006         * insets/insettext.h: use it instead of RowList.h
3007
3008         * bufferview_funcs.C:
3009         * lyxfunc.C:
3010         * lyxrow_funcs.C:
3011         * paragraph.C:
3012         * rowpainter.C:
3013         * text.C:
3014         * text2.C:
3015         * text3.C: #include "RowList.h".
3016
3017 2003-09-05  Angus Leeming  <leeming@lyx.org>
3018
3019         * factory.C (createInset):
3020         * vspace.C (c-tor): replace sscanf call with an istringstream.
3021         * ispell.C: re-add missing HP/UX headers.
3022         * lyxserver.C: re-add missing  os2 headers.
3023
3024 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3025
3026         * BranchList.C:
3027         * graph.C:
3028         * ispell.C:
3029         * lastfiles.C:
3030         * lyx_cb.C:
3031         * lyxserver.C:
3032         * texrow.C:
3033         * text3.C: re-add missing system headers, needed for 2.95.2.
3034
3035 2003-09-05  Angus Leeming  <leeming@lyx.org>
3036
3037         Changes most place everywhere due to the removal of using directives
3038         from support/std_sstream.h.
3039
3040 2003-09-05  Angus Leeming  <leeming@lyx.org>
3041
3042         Replace LString.h with support/std_string.h,
3043         Lsstream.h with support/std_sstream.h,
3044         support/LIstream.h with support/std_istream.h,
3045         support/LOstream.h with support/std_ostream.h.
3046
3047         Changes resulting throughout the tree.
3048
3049 2003-09-05  Angus Leeming  <leeming@lyx.org>
3050
3051         * sgml.h: ensure that the header file can be compiled stand-alone.
3052         * *.C: strip out redundant #includes. (320 in total.)
3053
3054 2003-09-04  Angus Leeming  <leeming@lyx.org>
3055
3056         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3057         here (from getPackages).
3058
3059         * debug.[Ch]: add a new EXTERNAL tag.
3060
3061 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3062
3063         * text2.C (cursorEnd): simplify
3064         (setCursor): adjust
3065         (getColumnNearX): adjust
3066
3067         * text.C (computeBidiTables): adjust
3068         (fill): adjust
3069
3070         * rowpainter.C (paintChars): adjust
3071         (paintSelection): adjust
3072         (paintChangeBar): adjust
3073         (paintText): adjust
3074
3075         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3076         lastPos instead.
3077         (numberOfSeparators): adjust
3078
3079 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3080
3081         * LyXAction.C:
3082         * box.[Ch]:
3083         * lfuns.h:
3084         * lyxfunc.C:
3085         * text3.C: Restricts the mouse click functionality
3086         of insets like bibtex, include, toc and floatlist to the visible
3087         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3088         up the dialogs. Cursor has to be in front of the inset (i.e.
3089         start of row) for this to function.
3090
3091 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3092
3093         * bufferview_funcs.C (currentState): output row information
3094
3095 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3096
3097         * bufferview_funcs.C (currentState): output paragraph position
3098
3099 2003-09-04  Angus Leeming  <leeming@lyx.org>
3100
3101         * FloatList.h: move out #include "Floating.h".
3102         * LaTeX.h: move out #include "DepTable.h".
3103         * LyXAction.h: move out #include "funcrequest.h".
3104         * buffer.h: move out #include "author.h", "iterators.h".
3105         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3106         * lyx_main.h: move out #include "errorlist.h".
3107         * lyxfunc.h: move out #include "FuncStatus.h".
3108         * lyxtext: move out #include "lyxcursor.h".
3109         * paragraph_pimpl.h: move out #include "counters.h".
3110
3111 2003-09-03  Angus Leeming  <leeming@lyx.org>
3112
3113         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3114         preamble_snippets list, enabling us to add snippets to the preamble
3115         only if the snippet was not there already.
3116
3117 2003-09-04  Angus Leeming  <leeming@lyx.org>
3118
3119         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3120
3121 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3124         update
3125
3126 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3127
3128         * BranchList.C: point fix, earlier forgotten
3129
3130 2003-09-02  Angus Leeming  <leeming@lyx.org>
3131
3132         * box.C (contains): renamed from 'contained' after a fantastic
3133         amount of hot air.
3134
3135 2003-09-02  John Levon  <levon@movementarian.org>
3136
3137         * BufferView.C:
3138         * lyxcursor.h:
3139         * lyxcursor.C:
3140         * lyxfunc.C:
3141         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3142
3143 2003-09-02  John Levon  <levon@movementarian.org>
3144
3145         * text2.C: simplification of cursorEnd(), including partial
3146         fix for bug 1376
3147
3148 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * buffer.C (readFile): add a space
3151
3152 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3153
3154         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3155
3156 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * buffer.C (readFile): new function, take a filename and a
3159         ParagraphList::iterator
3160         (readFile): adjust
3161         (readFile): adjust, make it private. don't use setStream, make
3162         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3163         always contain the filename.
3164
3165         * BufferView.C (insertLyXFile): simplify and make it work for
3166         gzipped files.
3167
3168 2003-08-30  John Levon  <levon@movementarian.org>
3169
3170         * Makefile.am: fix dist (from Kayvan)
3171
3172 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * most files: change to use const Buffer refs
3175
3176 2003-08-27  André Pönitz  <poenitz@gmx.net>
3177
3178         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3179         on top of ownerPar().
3180
3181 2003-08-27  John Levon  <levon@movementarian.org>
3182
3183         * funcrequest.C: properly initialise POD members
3184
3185 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * lyxtext.h (top_y): move top_y from here
3188         * text.C:
3189         * text2.C:
3190         * text3.C:
3191         * BufferView.[Ch]:
3192         * BufferView_pimpl.[Ch]: to here
3193         * frontends/screen.C:
3194         * insets/insettabular.C:
3195         * insets/insettext.C: adjust
3196         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3197
3198 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * BufferView.[Ch]:
3201         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3202
3203 2003-08-26  André Pönitz  <poenitz@gmx.net>
3204
3205         * paragraph_func.[Ch] (outerPar): new function
3206
3207         * paragraph.C:
3208         * paragraph_funcs.C:
3209         * paragraph_funcs.h:
3210         * paragraph_pimpl.C:
3211         * text2.C: remove Inset::par_owner
3212
3213 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3214
3215         * lyxrow_funcs.C:
3216         * lyxtext.h:
3217         * text.C:
3218         * text2.C: eliminates the needFullRow/display() stuff
3219         altogether, putting the logic in metrics/draw in the insets.
3220
3221 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * text2.C (redoParagraphInternal, redoParagraphs):
3224         * text.C (redoParagraph): add a call to updateRowPositions at the
3225         end of each 'metrics-like' call. Remove all others.
3226         (getRow): remove the 'y-computing' version.
3227         (getRowNearY): do not compute nor return the real y. Solve the
3228         'y < 0' problem and simplify.
3229
3230 2003-08-22  Angus Leeming  <leeming@lyx.org>
3231
3232         * *.[Ch]: clean-up of licence and author blurbs.
3233         Also move config.h out of a few .h files and into a few .C files.
3234
3235 2003-08-22  André Pönitz  <poenitz@gmx.net>
3236
3237         * lyxrow.[Ch]: add x_ and *fill_ members
3238
3239         * lyxtext.h:
3240         * text.C:
3241         * rowpainter.C:
3242         * text2.C: adjust/remove prepareToPrint() calls
3243
3244 2003-08-22  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxrow.[Ch]: add  end_ member
3247
3248         * lyxrow_funcs.C: use LyXRow::end_
3249
3250         * lyxtext.h (singleWidth): add LyXFont parameter
3251
3252         * rowpainter.C:
3253         * text2.C: adjust LyXText::singleWidth() calls
3254
3255         * text.C (redoParagraph): simplify row breaking logic
3256
3257
3258 2003-08-19  André Pönitz  <poenitz@gmx.net>
3259
3260         * funcrequest.C: initialize button_ member
3261
3262         * text3.C:
3263         * rowpainter.[Ch]: interface consolidation
3264
3265 2003-08-18  André Pönitz  <poenitz@gmx.net>
3266
3267         * BufferView.C:
3268         * BufferView_pimpl.C:
3269         * lyxfind.C:
3270         * paragraph_funcs.C:
3271         * rowpainter.C:
3272         * text3.C: remove LyXScreen::draw() and fitCursor calls
3273
3274         * BranchList.h: remove spurious semicolons
3275
3276         * MenuBackend.C: fix branchlist related crash
3277
3278 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3279
3280         * BranchList.[Ch]:
3281         * InsetList.[Ch]:
3282         * LColor.[Ch]:
3283         * LyXAction.C:
3284         * Makefile.am:
3285         * MenuBackend.[Ch]:
3286         * bufferparams.[Ch]:
3287         * factory.C:
3288         * lfuns.h:
3289         * lyxfunc.C:
3290         * text3.C: implements the 'branch inset'
3291         idea. This allows the output of various versions of a document
3292         from a single source version, selectively outputing or suppressing
3293         output of parts of the text.
3294         This implementation contains a 'branch list editor' in a separate
3295         tab of the document settings dialog. Branches are user definable
3296         and have a "display colour" to distinguish them on-screen.
3297
3298         ColorHandler was somewhat cleaned up.
3299         (1) make possible a dynamically growing LColor list by allowing
3300         the graphic context cache to grow along (vector);
3301         (2) eliminate an IMHO unnecessary step in colour allocation.
3302
3303 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3304
3305         * BufferView_pimpl.C: compile fix
3306
3307 2003-08-15  André Pönitz  <poenitz@gmx.net>
3308
3309         * rowpainter.C: remove extra metrics calls
3310
3311         * lyxtext.h: merge the two constructors into a single one,
3312           pass reference to owner's par list
3313
3314         * BufferView_pimpl.C:
3315         * text.C:
3316         * text2.C: adjust
3317
3318 2003-08-15  André Pönitz  <poenitz@gmx.net>
3319
3320         * lyxrow_funcs.[Ch]:
3321         * lyxtext.h:
3322         * paragraph.h:
3323         * paragraph_funcs.C:
3324         * rowpainter.C:
3325         * text.C:
3326         * text2.C:
3327         * text3.C:
3328         * text_funcs.C: split LyXText::rowlist_ into individual
3329         Paragraph::rows_ chunks
3330
3331         * BufferView.[Ch]:
3332         * BufferView_pimpl.[Ch]:
3333         * lyxfind.C:
3334         * lyxtext.h:
3335         * text3.C: remove toggleSelection()
3336
3337 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3338
3339         * bufferlist.C: beautify two alerts (shorter text of buttons)
3340         * buffer.C: Remove redundant ' ' from message
3341         * tabular.h:
3342         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3343         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3344         rename VALIGN_CENTER to VALIGN_MIDDLE
3345
3346 2003-08-11  André Pönitz  <poenitz@gmx.net>
3347
3348         * lyxtext.h (getPar):
3349         * text.C: new function
3350
3351 2003-08-11  André Pönitz  <poenitz@gmx.net>
3352
3353         * Makefile.am:
3354         * tracer.[Ch]: remove unneeded files
3355
3356         * InsetList.[Ch]: remove resizeInsetsLyXText()
3357
3358         * lyxtext.h:
3359         * text.C:
3360         * text2.C:
3361         * text3.C: merge insertParagraphs() and appendParagraph()
3362         remove breakAgain(), update()
3363
3364         * BufferView_pimpl.[Ch]:
3365         * bufferview_funcs.[Ch]:
3366         * lyxfunc.C:
3367         * paragraph.[Ch]:
3368         * rowpainter.C:
3369         * tabular.C: adjust after text & InsetList changes.
3370
3371 2003-08-08  André Pönitz  <poenitz@gmx.net>
3372
3373         * text.C (insertChar, backspace): replace rowlist fiddling
3374         with rebreak of full par
3375
3376         * lyxtext.h:
3377         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3378         checkParagraph, updateInset): removed
3379
3380 2003-08-07  André Pönitz  <poenitz@gmx.net>
3381
3382         * paragraph.C:
3383         * text3.C: merge some LFUN handlers, remove dead code
3384
3385 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3386
3387         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3388
3389 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * text2.C (DEPM): fix part of bug 1255 and 1256
3392
3393 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3394
3395         * BufferView_pimpl.C (workAreaDispatch): change to use
3396         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3397         that are no mouse related.
3398
3399 2003-08-05  André Pönitz  <poenitz@gmx.net>
3400
3401         * BufferView.[Ch]:
3402         * BufferView_pimpl.[Ch]:
3403         * bufferview_funcs.C:
3404         * text2.C:
3405         * text3.C: rip out "deep update"
3406
3407         * textcursor.[Ch] (last_sel_cursor): remove unused member
3408
3409 2003-08-04  André Pönitz  <poenitz@gmx.net>
3410
3411         * BufferView.[Ch]:
3412         * BufferView_pimpl.[Ch]:
3413         * ParagraphParameters.C:
3414         * bufferview_funcs.C:
3415         * lyx_cb.C:
3416         * lyxfind.C:
3417         * lyxfunc.C:
3418         * text.C:
3419         * text2.C:
3420         * text3.C: replace "complicated" BufferView::update(...) calls with
3421         simpler ones.
3422
3423         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3424
3425 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3426
3427         * Makefile.am (lyx_SOURCES): add paper.h
3428
3429 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3430
3431         * Makefile.am: move things around so that both lyx-qt and
3432         lyx-xforms can be built (according to --with-frontend). Then lyx
3433         is a symbolic link to lyx-[firstfrontend]
3434
3435 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3436
3437         * Always use std::endl with lyxerr
3438
3439 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3440
3441         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3442
3443 2003-08-01  André Pönitz  <poenitz@gmx.net>
3444
3445         * BufferView.[Ch]:
3446         * BufferView_pimpl.[Ch]:
3447         * lyxfunc.C:
3448         * text3.C: merge BufferView::repaint() and BufferView::update()
3449
3450 2003-08-01  José Matos  <jamatos@lyx.org>
3451
3452         * buffer.[Ch]: file_format is no longer a buffer data element.
3453
3454 2003-08-01  André Pönitz  <poenitz@gmx.net>
3455
3456         * BufferView.C:
3457         * lyxtext.h:
3458         * text.C:
3459         * text2.C: make redoParagraph more independent of current cursor
3460
3461         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3462         * text.C:
3463         * text2.C: remove unneeded members
3464
3465 2003-07-30  André Pönitz  <poenitz@gmx.net>
3466
3467         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3468
3469         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3470           create a single function...
3471
3472         * paragraph_funcs.C (moveItem): ... here.
3473
3474         * text.C:
3475           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3476
3477 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3478
3479         * LColor.[Ch]: Add comment and greyedout logical colors.
3480
3481 2003-07-30  André Pönitz  <poenitz@gmx.net>
3482
3483         * tabular.C: don't use Assert too heavily. This crashes where it
3484           shouldn't
3485
3486 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3489         is disabled (bug 1232)
3490
3491 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * factory.C: limited 'arg' scope
3494
3495 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * factory.C: fixed Note submenu issues
3498
3499 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3500
3501         * factory.C: submenu for Note/Comment/Greyedout
3502
3503 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * lyx_main.C (LyX):
3506         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3507
3508 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3509
3510         * LaTeXFeatures.C:
3511         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3512         greyedout. Patch provided by Jürgen Spitzmüller.
3513
3514 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3515
3516         * kbmap.C (read): fix error message when reading bind files
3517
3518 2003-07-29  Angus Leeming  <leeming@lyx.org>
3519
3520         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3521         certainly does not do what it purports to do. I am doing it, and
3522         us, a favour by killing it.
3523
3524 2003-07-28  José Matos  <jamatos@lyx.org>
3525
3526         * buffer.C (readBody, do_writeFile):
3527         * paragraph.C(readParagraph): \end_document replaces \the_end.
3528
3529 2003-07-29  André Pönitz  <poenitz@gmx.net>
3530
3531         * BufferView.[Ch]:
3532         * BufferView_pimpl.[Ch]:
3533         * lyxfunc.C:
3534         * text2.C:
3535         * text3.C:
3536         * textcursor.[Ch]: remove toggleToggle & Co
3537
3538 2003-07-28  José Matos  <jamatos@fep.up.pt>
3539
3540         * buffer.C (readParagraph):
3541         * params_func (readParToken, readParagraph):
3542         * paragraph.C (write): \layout -> \begin_layout.
3543
3544 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * lyxlex_pimpl.C (setFile): clean up slightly.
3547
3548         * bufferparams.h: add compressed var
3549
3550         * buffer_funcs.C (readFile): adjust for LyXLex change
3551         (newFile): ditto + simplify
3552
3553         * buffer.C (writeFile): handle writing of compressed files
3554
3555         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3556         Check if the file is compressed and set a bufferparm if so.
3557
3558         * Makefile.am (lyx_LDADD): remove explicit -lz
3559
3560 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3561
3562         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3563         makeDocBookFile): put the real LyX version in the first line of
3564         the file
3565
3566         * version.h:
3567         * version.C.in: remove lyx_docversion
3568
3569         * tabular.C (write_attribute): add a template-based version to
3570         write enums properly
3571
3572 2003-07-28  André Pönitz  <poenitz@gmx.net>
3573
3574         * lyxtext.h:
3575         * text.C:
3576         * text2.C:
3577         * text3.C: use doubles again for x-coordinates. They are needed.
3578
3579 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * messages.C (getLocaleDir): use lyx_localedir()
3582
3583         * lyxlex_pimpl.C (setFile): compress stuff
3584
3585         * buffer.C (writeFile): add some compression stuff
3586         (do_writeFile): new func, dont call expliti close... will this
3587         breake anything?
3588
3589         * Makefile.am (lyx_LDADD): add -lz
3590
3591 2003-07-28  José Matos  <jamatos@fep.up.pt>
3592
3593         * buffer.C: increment file format.
3594         * paragraph_funcs (readParagraph, readParToken):
3595         * paragraph.C (readParagraph): add \end_layout.
3596
3597 2003-07-27  Angus Leeming  <leeming@lyx.org>
3598
3599         * Makefile.am: remove special casing for configure-time setting of
3600         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3601
3602         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3603         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3604
3605 2003-07-26  André Pönitz  <poenitz@gmx.net>
3606
3607         * paragraph_func.[Ch]:
3608         * paragraph.C (realizeFont): inline it whereever it is used
3609
3610         * rowpainter.C:
3611         * text.C:
3612         * text2.C:
3613         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3614
3615
3616 2003-07-26  André Pönitz  <poenitz@gmx.net>
3617
3618         *       lyxtext.h:
3619         * text.C:
3620         * text2.C: get rid of LyXText::need_break_row
3621
3622 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * toc.[Ch]: put namespace toc inside namespace lyx
3625
3626         * MenuBackend.C (expandToc2): adjust for lyx::toc
3627         (expandToc): ditto
3628
3629         * lyxfunc.C (dispatch): adjust for lyx::find
3630
3631         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3632         lyx::find instead. Reorganize a bit.
3633         (LyXReplace): rename to replace
3634         (LyXFind): rename to find
3635
3636         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3637         (dispatch): ditto
3638
3639 2003-07-26  André Pönitz  <poenitz@gmx.net>
3640
3641         * text.C (setHeightOfRow): restrict scope of temporary variable
3642
3643         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3644           code (never has been used?)
3645
3646 2003-07-27  Asger Alstrup  <alstrup@local>
3647
3648         * text.C (fill): Optimise algorithm to exploit that we can reuse
3649         the LyXFont for many characters.
3650         (setHeightOfRow): Same thing.
3651         (rowBreakPoint): Same thing.
3652
3653 2003-07-26  Asger Alstrup  <alstrup@local>
3654
3655         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3656
3657         * text.C (singleWidth): Spurious font copying in hot-spot
3658         singleWidth avoided. Reorder tests for arabic for efficiency.
3659
3660         * text.C (fill): handle empty paragraphs better.
3661
3662 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3663
3664         * ispell.C:
3665         * encoding.h: add includes
3666
3667         * lyxrc.C: remove reading of bind files
3668
3669         * lyx_main.C (init): setup bindings and menus only if we have a
3670         gui.
3671
3672         * kbmap.C (read): new method. Do the actual reading of bind
3673         files.
3674
3675         * converter.C (dvipdfm_options):
3676         * bufferparams.C:
3677         * lyxrc.C (read):
3678         (output): adapt PAPER_* enums.
3679
3680         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3681
3682         * bufferparams.h: remove paper-related enums from there
3683
3684         * paper.h: New file. A trivial header file to hold paper-related
3685         enums. It should later expand to contain many paper-related
3686         horrors access.
3687
3688         * lyxrc.C: declare extern displayTranslator
3689
3690 2003-07-27  José Matos  <jamatos@fep.up.pt>
3691
3692         * tabular.[Ch] (linuxdoc): add support for tables and figures
3693         (linuxdoc).
3694
3695 2003-07-27  José Matos  <jamatos@fep.up.pt>
3696
3697         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3698         consistency in both functions.
3699         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3700
3701 2003-07-26  Asger Alstrup  <alstrup@local>
3702
3703         * rowpainter.C (paintRows): Change algorithm to work directly on
3704         the insets rather than asking every character in the document
3705         whether its an inset.
3706
3707 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * buffer.C (openFileWrite): factorize some code
3710
3711 2003-07-26  Angus Leeming  <leeming@lyx.org>
3712
3713         * lyx_cb.C:
3714         * lyx_main.[Ch]: replace occurances of system_tempdir with
3715         os::getTmpDir().
3716
3717 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * rename Inset to InsetOld
3720
3721 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3722
3723         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3724         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3725         which I think is a bit clearer. EDIT is gone, since it was
3726         premature optimisation, and broken for mathed anyway.
3727         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3728         with cursor positioning in insets as well (math insets still do not
3729         work, but that's a different story anyway.) It mysteriously
3730         crashes sometimes with undo in the first paragraph, but I'm fairly
3731         confident that this is a compiler bug.
3732
3733 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * paragraph.C (Paragraph): adjust for new clone return type
3736         (operator==): ditto
3737         (copyIntoMinibuffer): ditto
3738
3739 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3740
3741         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3742         by not having a special case, and always doing a full rebreak of
3743         the document after undo.
3744
3745 2003-07-23  Angus Leeming  <leeming@lyx.org>
3746
3747         * factory.C (createInset): InsetExternal::setParams now takes a
3748         Buffer const * arg.
3749
3750 2003-07-23  Angus Leeming  <leeming@lyx.org>
3751
3752         * factory.C (createInset): changed interface to the external and
3753         graphics mailers' string2params functions.
3754
3755 2003-07-23  Angus Leeming  <leeming@lyx.org>
3756
3757         * factory.C (createInset): pass a
3758         Buffer const * parameter to InsetExternalMailer's string2params.
3759
3760 2003-07-22  John Levon  <levon@movementarian.org>
3761
3762         * Thesaurus.h: include the right aiksaurus header
3763
3764 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3765
3766         * MenuBackend.C (expand): check menu shortcuts unconditionally
3767
3768 2003-07-21  Angus Leeming  <leeming@lyx.org>
3769
3770         * factory.C (createInset): pass a
3771         buffer_path parameter to InsetGraphicsMailer's string2params.
3772
3773 2003-07-21  Angus Leeming  <leeming@lyx.org>
3774
3775         * BufferView_pimpl.C (buffer):
3776         * buffer.C (d-tor):
3777         * lyx_main.C (LyX):
3778         * lyxfunc.C (dispatch):
3779         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3780         rather than the grfx shortcut.
3781
3782 2003-07-21  André Pönitz  <poenitz@gmx.net>
3783
3784         * rowpainter.C: remove unused variables
3785
3786         * tabular_funcs.C:
3787         * tabular_funcs.h: move to tabular.C
3788         * Makefile.am: adjust
3789
3790         * tabular.[Ch]: basic optical cleaning
3791
3792         * author.h: pass references, not values
3793
3794 2003-07-18  André Pönitz  <poenitz@gmx.net>
3795
3796         * lyxtext.h:
3797         * metricsinfo.C:
3798         * metricsinfo.h:
3799         * rowpainter.C:
3800         * text.C:
3801         * text2.C:
3802         * text3.C: two-phase drawing for InsetText and InsetTabular
3803         some float -> int changes.
3804
3805 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3806
3807         * lyx_main.C: fix the fix
3808
3809 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * lyx_main.C: fix a crash in batch mode if no files specified
3812         * converter.C: ws
3813
3814 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * format.[Ch] (papersize): moved to BufferParams
3817         * converter.[Ch] (dvips_options): moved to BufferParams
3818         (dvipdfm_options): moved to anon namespace
3819         * bufferparams.[Ch]: added above functions.
3820
3821 2003-07-17  André Pönitz  <poenitz@gmx.net>
3822
3823         * lyxtext.h:
3824         * rowpainter.C:
3825         * text2.C: don't call inset->update() anymore
3826
3827         * metricsinfo.[Ch]: add convenience constructor
3828
3829 2003-07-16  André Pönitz  <poenitz@gmx.net>
3830
3831         * lyxcursor.[Ch]:
3832         * lyxfunc.[Ch]:
3833         * text.C:
3834         * text2.C: replace the LyXCursor::irow_ member with
3835          on-demand computation of the value
3836
3837 2003-07-16  John Levon  <levon@movementarian.org>
3838
3839         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3840
3841 2003-07-15  André Pönitz  <poenitz@gmx.net>
3842
3843         * text.C:
3844         * text2.C: remove no more needed refresh_row
3845
3846 2003-07-15  André Pönitz  <poenitz@gmx.net>
3847
3848         * lyxtext.h:
3849         * rowpainter.C:
3850         * text2.C:
3851         * text3.C: refresh_status tristate -> need_update bool
3852
3853 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3854
3855         * lyxtext.h (init): remove reinit argument (act as if always true)
3856         * text2.C: adjust to that
3857
3858 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3859
3860         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3861         * text3.C: use it to delete selections in some cases
3862         (bugs 441, 673, 702, 954).
3863
3864 2003-07-14  André Pönitz  <poenitz@gmx.net>
3865
3866         * rowpainter.[Ch]: reduce interface
3867
3868 2003-07-14  André Pönitz  <poenitz@gmx.net>
3869
3870         * BufferView_pimpl.C:
3871         * text2.C: adjust after removing unused BufferView * argument
3872
3873 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3874
3875         * text2.C (init): fix a crash fired on resize
3876
3877 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * buffer.[Ch]: added new closing signal
3880         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3881         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3882         BufferView::Pimpl via the closing the signal
3883
3884 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3885
3886         * buffer.[Ch]: take out all bv-related from buffer
3887         * BufferView.C:
3888         * BufferView_pimpl.[Ch]: connect to new signals
3889         * CutAndPaste.C: removed useless asserts
3890         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3891         * lyxvc.[Ch]:
3892         * vc-backend.[Ch]:
3893         * lyxfunc.C: moved view-related funciontality from vc here
3894         * paragraph.C: removed outdated comments
3895         * text.C: ws
3896
3897 2003-07-10  André Pönitz  <poenitz@gmx.net>
3898
3899         * BufferView_pimpl.C:
3900         * tabular.h:
3901         * tabular_funcs.C:
3902         * text.C:
3903         * text2.C: remove InsetText::InnerCache, clean up consequences
3904
3905 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3906
3907         * ispell.C: fix two typos in error messages
3908
3909 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3910
3911         * Extend Note inset to other forms of annotation like Comment
3912         and Greyedout. Right button click gives dialog.
3913
3914         Files modified or added (+):
3915
3916         * insetnote.[Ch]
3917         * FormNote.[Ch]      +
3918         * ControlNote.[Ch]   +
3919         * form_note.fd       +
3920         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3921         frontends/controllers
3922         * xforms/Dialogs.C
3923         * factory.C
3924
3925 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3926
3927         * aspell.C: add missing namespace lyx::support
3928
3929 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * BufferView.[Ch] (newFile): Add
3932         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3933         * LaTeX.[Ch] (message): added this signal and use it
3934         * buffer.[Ch] (busy, message): added these signals and use them
3935         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3936         * converter.C:
3937         * exporter.C:
3938         * format.C:
3939         * importer.C: use buffer signals instead of direct bv calling
3940         * lyx_cb.[Ch] (ShowMessage): removed
3941         * lyx_main.C:
3942         * lyxfunc.C:
3943         * paragraph_funcs.C:
3944         * text2.C: use buffer signals
3945
3946 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * introduce namespace lyx::graphics
3949
3950 2003-07-02  André Pönitz  <poenitz@gmx.net>
3951
3952         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3953
3954 2003-07-01  André Pönitz  <poenitz@gmx.net>
3955
3956         * text.C:
3957         * text2.C:
3958         * text3.C:
3959         * text_funcs.[Ch]:
3960         * textcursor.h:
3961         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3962           text*.C to text_func.C
3963
3964 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * introduce namespace lyx::support
3967
3968 2003-06-30  André Pönitz  <poenitz@gmx.net>
3969
3970         * Chktex.C:
3971         * funcrequest.C:
3972         * lyxtext.h:
3973         * text.C: re-enable --with-included-string
3974
3975 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * textcursor.C: add <config.h>
3978
3979         * text.C (getWord): remove const from word_location arg
3980
3981         * lyxvc.C (getLogFile): fix const type order
3982
3983         * lyxtext.h: remove const from word_location arg, add arg name
3984
3985         * lyxlayout.h: currect type on labeltype.
3986
3987         * importer.C: correct \file
3988
3989         * converter.C (intToFormat): use std:: on ret val, ws changes
3990
3991         * bufferlist.h: correct \file
3992
3993         * buffer.C (makeLinuxDocFile): fix const type order
3994         (makeDocBookFile): ditto
3995         (fillWithBibKeys): use std:: on stdlib args.
3996
3997         * CutAndPaste.C: fix authors.
3998         (availableSelections): use std:: on return vector
3999
4000 2003-06-27  André Pönitz  <poenitz@gmx.net>
4001
4002         * BufferView_pimpl.C:
4003         * bufferview_funcs.C:
4004         * lyxcursor.C:
4005         * lyxcursor.h:
4006         * lyxfunc.C:
4007         * lyxtext.h:
4008         * rowpainter.C:
4009         * text.C:
4010         * text2.C:
4011         * text3.C: remove LyXCursor::row_ member
4012
4013         * lyxtext.h:
4014         * text.C: rename fullRebreak() to partialRebreak() and implement
4015           a fullRebreak() that really bereks fully
4016
4017         * textcursor.h: new struct for cursor-related data
4018
4019 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4020
4021         * lyx_main.C (LyX): get full path of document loaded on the
4022         command line
4023
4024 2003-06-26  André Pönitz  <poenitz@gmx.net>
4025
4026         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4027           remove unused/broken operator>,<,>=.
4028
4029         *       text.C: remove only use of broken operator<= in an Assert().
4030
4031 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4034         moved errorlist_.clear to showErrorList
4035
4036 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4037
4038         * converter.C (scanLog, runLaTeX):
4039         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4040         move the bv->showErrorList call to the callers
4041         * lyxfunc.C: i.e. here...
4042         * text2.C: and here
4043         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4044         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4045         namespace, the second to...
4046         * buffer_funcs (BufferFormat, parseErrors): added
4047         * errorlist.C (ErrorList(TeXErrors const &)): removed
4048
4049 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4050
4051         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4052
4053 2003-06-24  "Garst R. Reese" <reese@isn.net>
4054
4055         * debug.C: fix typo
4056
4057 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4058
4059         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4060
4061         * version.C.in: change docversion to 1.4
4062
4063 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4064
4065         * buffer.C: fix a bug just introduced
4066
4067 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4068
4069         * buffer.[Ch]: added the parseError signal and use it, removed
4070         sgmlError
4071         * BufferView.[Ch] (addError): moved to ...
4072         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4073         to the Buffer::parseError signal to catch (guess what) parse errors
4074         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4075
4076 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4079         ability to create a buffer and to return an existing one from
4080         the list. Moved these functions to...
4081         * buffer_funcs.[Ch]: added
4082         * BufferView.[Ch] (loadLyXFile): added
4083         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4084         job removed from bufferlist::loadLyXFile.
4085         * buffer.C (setReadOnly): make it work without view
4086         (i.e added an if (users))
4087
4088 2003-06-19  Angus Leeming  <leeming@lyx.org>
4089
4090         * lfuns.h:
4091         * LyXAction.C (init):
4092         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4093         with LFUN_DIALOG_SHOW <name> <data>.
4094
4095 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4096
4097         * CutAndPaste.C (availableSelections): small compilation fix for
4098         ancient (gcc 2.9x) compilers
4099
4100 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * text3.C (cursorNext): add tmp var
4103
4104         * text2.C (updateCounters): for function calling out of for clause
4105         (replaceSelectionWithString): ditto
4106         (insertStringAsParagraphs): ditto
4107         (getColumnNearX): add tmp var
4108         (setCursorFromCoordinates): add tmp var
4109         (cursorDownParagraph): add tmp var
4110         (deleteEmptyParagraphMechanism): add tmp var
4111
4112         * text.C (insertChar): add tmp var
4113
4114         * rowpainter.C (paintDepthBar): add tmp var
4115
4116         * CutAndPaste.C (availableSelections): potentially check all
4117         paragraphs in a cut to fill the shown strings.
4118
4119 2003-06-18  André Pönitz  <poenitz@gmx.net>
4120
4121         * kbmap.[Ch]: use vector<> instead of list<>
4122
4123 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4124
4125         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4126         pasteSelection with index
4127
4128         * text2.C (pasteSelection): modify, call pasteSelection with index
4129
4130         * paragraph.C (asString): reimplement version with no interval to
4131         call the one with interval.
4132
4133         * lyxtext.h: add index arg to pasteSelection
4134
4135         * MenuBackend.C (MenuItem): handle PasteRecent
4136         (Menu::read::Menutags): add md_pasterecent
4137         (read): handle it
4138         (expandPasteRecent): new function
4139         (expand): use it
4140
4141         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4142
4143         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4144         the limited stack
4145         (availableSelections): new function
4146
4147 2003-06-17  Angus Leeming  <leeming@lyx.org>
4148
4149         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4150
4151 2003-06-17  Angus Leeming  <leeming@lyx.org>
4152
4153         * lfuns.h:
4154         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4155
4156         * lyxfunc.C (dispatch): invoke it.
4157
4158 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4159
4160         * iterators.C (operator++, ParPosition): reintroduce some
4161         const_cast for the benefit of older compilers.
4162
4163 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4164
4165         * text3.C (dispatch): do not modify clipboard when doing
4166         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4167         LFUN_DELETE_SKIP on a selection selection
4168
4169 2003-06-16  André Pönitz  <poenitz@gmx.net>
4170
4171         * BufferView.C:
4172         * buffer.C:
4173         * buffer.h:
4174         * paragraph.C:
4175         * tabular.[Ch]: IU of clone() and getLabelList();
4176
4177 2003-06-13  André Pönitz  <poenitz@gmx.net>
4178
4179         * tabular.h: compactification
4180
4181 2003-06-12  André Pönitz  <poenitz@gmx.net>
4182
4183         * tabular.C:
4184         * tabular.h:
4185         * tabular_funcs.h: some renaming plus whitespace
4186
4187 2003-06-12  André Pönitz  <poenitz@gmx.net>
4188
4189         * BufferView.C:
4190         * BufferView_pimpl.C:
4191         * CutAndPaste.C:
4192         * buffer.C:
4193         * iterators.[Ch]:
4194         * lyxfunc.C:
4195         * text.C:
4196         * toc.C: Return a Paragraph & for ParIterator::operator*()
4197
4198 2003-06-11  John Levon  <levon@movementarian.org>
4199
4200         * lyx_main.C:
4201         * ToolbarBackend.h:
4202         * ToolbarBackend.C: add "Toolbars" section and
4203         put the flags there
4204
4205 2003-06-10  Angus Leeming  <leeming@lyx.org>
4206
4207         * lfuns.h:
4208         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4209
4210         * lyxfunc.C (dispatch): invoke it.
4211
4212 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * main.C: protect <ios> with HAVE_IOS
4215         (main): protect sync_with_stdio with HAVE_IOS
4216
4217 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4218
4219         * text2.C (cutSelection): adjust
4220         (pasteSelection): adjust
4221
4222         * messages.C: handle get of empty string
4223
4224         * main.C (main): use sync_with_stdio(false)
4225
4226         * lyxfunc.C (dispatch): adjust
4227
4228         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4229         (WriteAs): remove unneeded BufferView arg.
4230
4231         * bufferparams.h: use correct types on papersize, papersize2 and
4232         paperpackage.
4233
4234         * bufferparams.C (readToken): adjust for type
4235         (writeLaTeX): add missing cases to switch.
4236
4237         * bufferlist.C (quitWriteBuffer): adjust
4238         (close): adjust
4239
4240         * buffer.C (asciiParagraph): remove some commented code.
4241
4242         * CutAndPaste.C: remove current_view extern variable.
4243         (cutSelection): add BufferParams arg.
4244         (eraseSelection): add BufferParams arg.
4245         (pasteSelection): add Buffer const & arg
4246
4247 2003-06-07  John Levon  <levon@movementarian.org>
4248
4249         * buffer.C:
4250         * paragraph_funcs.C:
4251         * paragraph_pimpl.C:
4252         * text.C:
4253         * text2.C:
4254         * paragraph.h:
4255         * paragraph.C: allow InsetERT to freely space lines,
4256         and some consolidation of code
4257
4258 2003-06-06  José Matos  <jamatos@fep.up.pt>
4259
4260         * buffer.C (makeDocBookFile): fix bug #821
4261
4262 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4265
4266 2003-06-04  Angus Leeming  <leeming@lyx.org>
4267
4268         * buffer.C: bump format to 224.
4269
4270 2003-06-05  André Pönitz  <poenitz@gmx.net>
4271
4272         * text2.C (redoParagraphs): remove two const_cast<>
4273
4274 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4275
4276         * ParagraphList.h: remove last remnants of NO_STD_LIST
4277
4278 2003-06-03  Angus Leeming  <leeming@lyx.org>
4279
4280         * factory.C (createInset): small change to the way InsetExternal's params
4281         are set.
4282
4283 2003-06-04  André Pönitz  <poenitz@gmx.net>
4284
4285         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4286
4287         * paragraph_pimpl.h:
4288         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4289
4290         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4291
4292         * undo_funcs.C: make some simple cases of undo work again
4293
4294 2003-06-03  John Levon  <levon@movementarian.org>
4295
4296         * ispell.C: HPUX doesn't have sys/select.h
4297         (from Albert Chin)
4298
4299 2003-06-03  John Levon  <levon@movementarian.org>
4300
4301         * CutAndPaste.C: update tabular and include inset
4302         buffer references
4303
4304         * buffer.h:
4305         * paragraph.h:
4306         * paragraph.C: remove owningBuffer(), don't pass Buffer
4307         to clone()
4308
4309         * factory.C: insetGraphicsParams changed
4310
4311 2003-06-02  John Levon  <levon@movementarian.org>
4312
4313         * LyXAction.C:
4314         * factory.C:
4315         * lfuns.h:
4316         * lyxfunc.C:
4317         * text3.C: remove insetparent
4318
4319 2003-06-02  John Levon  <levon@movementarian.org>
4320
4321         * buffer.h:
4322         * buffer.C: fix inset_iterator.end(), move out of line
4323         (bug 1149)
4324
4325 2003-06-01  John Levon  <levon@movementarian.org>
4326
4327         * text3.C: use a proper cut/paste when doing inset
4328         insert (from Jürgen Spitzmüller)
4329
4330 2003-06-01  John Levon  <levon@movementarian.org>
4331
4332         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4333
4334 2003-05-30  André Pönitz  <poenitz@gmx.net>
4335
4336         * rowpainter.C: unify second drawing phase
4337
4338 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * trans_mgr.C: remove one case of current_view
4341
4342         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4343
4344         * paragraph_funcs.h: remove paragraph.h include
4345
4346         * paragraph.h: delete NO_STD_LIST stuff
4347
4348         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4349
4350         * buffer.h: remove paragraph.h include
4351
4352         * ParagraphList.C: delete file
4353
4354         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4355
4356         * toc.C (getTocList): adjust
4357
4358         * paragraph_pimpl.C (validate): adjust
4359
4360         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4361
4362         * paragraph.C (Paragraph): adjust
4363         (getPositionOfInset): use const_iterator, adjust
4364         (bibitem): use const_iterator, adjust
4365         (setInsetOwner): adjust
4366
4367         * iterators.C (operator++): adjust
4368
4369         * InsetList.[Ch]: Replace selfmade iterator with standard
4370         vector::iterator also introduce const_iterator. Remove getPos,
4371         getInset and setInset from InsetTable. Adjust accordingly.
4372
4373         * BufferView.C (lockInset): adjust
4374         (ChangeInsets): adjust
4375
4376         * tabular.[Ch]: delete commented same_id functions
4377
4378 2003-05-28  John Levon  <levon@movementarian.org>
4379
4380         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4381
4382 2003-05-28  André Pönitz  <poenitz@gmx.net>
4383
4384         * metricsinfo.[Ch]: remove 'fullredraw' member
4385
4386 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4387
4388         * lyxtextclass.C (operator): remove caching.
4389
4390 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * text3.C: adjust
4393
4394         * text2.C (cursorBottom): adjust
4395         (setCounter): use ParagraphList::find, adjust
4396
4397         * text.C (workWidth): use ParagraphList::find, adjust
4398
4399         * lyxcursor.C (LyXCursor): adjust
4400
4401         * buffer.C (inset_iterator): adjust
4402
4403         * ParagraphList.h: make iterator(value_type) private, make
4404         ParagraphList a friend of iterator.
4405
4406         * ParagraphList.C (find): new function
4407
4408         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4409
4410 2003-05-27  André Pönitz  <poenitz@gmx.net>
4411
4412         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4413
4414 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4415
4416         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4417
4418 2003-05-26  John Levon  <levon@movementarian.org>
4419
4420         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4421
4422 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * remove same_id from function signatures, adjust.
4425
4426 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4429
4430         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4431
4432         * paragraph.C (Paragraph): get rid of same_ids parameter
4433
4434         * ParagraphList.C (insert): adjust
4435         (push_back): adjust
4436
4437 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * paragraph_funcs.C (breakParagraph): adjust
4440         (breakParagraphConservative): adjust
4441
4442         * buffer.C (readParagraph): adjust
4443
4444         * ParagraphList.C (insert): take a reference instead of a pointer
4445         (insert): adjust
4446
4447         * paragraph.[Ch] (id): new function
4448
4449         * bufferlist.C (newFile): adjust
4450
4451         * ParagraphList.C (ParagraphList): adjust
4452         (assign): adjust
4453         (push_back): take a reference instead of a pointer.
4454
4455         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4456
4457         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4458         instead.
4459
4460         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4461         set else use old code.
4462
4463         * ParagraphList.C: remove all NO_NEXT code and only compile this
4464         code of NO_STD_LIST is set.
4465
4466 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4467
4468         * BufferView_pimpl.C:
4469         * TextCache.C:
4470         * TextCache.h:
4471         * bufferlist.C:
4472         * errorlist.h:
4473         * format.C:
4474         * format.h:
4475         * graph.C:
4476         * lyxfunc.C:
4477         * lyxrc.C:
4478         * graphics/GraphicsConverter.C:
4479         * graphics/PreviewLoader.C: header adjustment
4480
4481 2003-05-23  Angus Leeming  <leeming@lyx.org>
4482
4483         * LaTeXFeatures.[Ch] (useBabel): new method.
4484         * bufferparams.C (writeLaTeX): use it.
4485
4486 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * ParagraphList.h (set): remove unused function.
4489
4490 2003-05-23  André Pönitz  <poenitz@gmx.net>
4491
4492         * BufferView.C:
4493         * BufferView_pimpl.C:
4494         * buffer.C:
4495         * buffer.h:
4496         * lyxfunc.C:
4497         * undo_funcs.C: setUndo reworked
4498
4499         * iterators.[Ch]: add access to topmost ParagraphList
4500
4501         * lyxtext.[Ch] (workWidth): add a const
4502
4503 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * texrow.[Ch] (increasePos): remove function
4506         * exporter.C (export): removed unused var and outdated comment
4507
4508 2003-05-23  Angus Leeming  <leeming@lyx.org>
4509
4510         * latexrunparams.h: rename fragile as moving_arg.
4511         * paragraph.C (simpleTeXOnePar): ditto.
4512         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4513
4514 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4517         (createUndo): ditto
4518         (textUndoOrRedo): comment out a currently unused var.
4519
4520         * paragraph.h (NO_NEXT): enable NO_NEXT
4521
4522         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4523
4524         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4525
4526         * exporter.C (Export): adjust for removeAutoInsets removal.
4527
4528         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4529
4530         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4531
4532         * BufferView.[Ch] (removeAutoInsets): delete function
4533
4534 2003-05-22  Angus Leeming  <leeming@lyx.org>
4535
4536         * latexrunparams.h: add a free_spacing variable.
4537
4538         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4539         to pass moving_arg, as the data is stored in runparams.fragile.
4540
4541         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4542         to Inset::latexOptional or to simpleTeXOnePar.
4543
4544         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4545         free_spacing arg to Inset::latexOptional.
4546
4547         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4548         free_spacing arg.
4549
4550 2003-05-22  Angus Leeming  <leeming@lyx.org>
4551
4552         * latexrunparams.h: add fragile and use_babel variables.
4553
4554         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4555         * buffer.C (makeLaTeXFile): store this returned value in
4556         runparams.use_babel, thus passing it to the inset::latex methods.
4557
4558         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4559         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4560
4561         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4562         longer has a fragile arg, as it is stored in runparams.fragile.
4563
4564         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4565         moving_arg parameter as the data is stored in runparams.fragile.
4566
4567         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4568         a fragile parameter as the data is stored in runparams.fragile.
4569
4570 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4571
4572         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4573
4574 2003-05-22  Angus Leeming  <leeming@lyx.org>
4575
4576         * latexrunparams.h: add a 'bool nice' which defaults to false.
4577
4578         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4579         now encapsulated within runparams.
4580
4581         * bufferlist.C (updateIncludedTeXfiles):
4582         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4583
4584 2003-05-22  Angus Leeming  <leeming@lyx.org>
4585
4586         * latexrunparams.h: new file containing struct LatexRunParams.
4587         * Makefile.am: add new file.
4588
4589         * LaTeX.[Ch] (c-tor, run):
4590         * buffer.[Ch] (makeLaTeXFile):
4591         * bufferlist.[Ch] (updateIncludedTeXfiles):
4592         * converter.C (convert, scanLog):
4593         * converter.[Ch] (runLaTeX):
4594         * exporter.C (Export):
4595         * paragraph.[Ch] (simpleTeXOnePar):
4596         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4597         * paragraph_funcs.[Ch] (latexParagraphs):
4598         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4599         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4600         pass around a LatexRunParams parameter.
4601
4602 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * paragraph.[Ch]: remove unused constructor
4605
4606         * ParagraphList.C (erase): new function, taking two iterators
4607
4608 2003-05-22  André Pönitz  <poenitz@gmx.net>
4609
4610         * undo_funcs.C: remove duplicated code
4611
4612         * iterator.[Ch]: operator=
4613
4614 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * tabular.C (SetMultiColumn): ws changes
4617
4618         * rowpainter.C (paintFirst): get rid of a ->previous
4619
4620         * lyx_cb.C (getPossibleLabel): parlist simplification
4621
4622         * BufferView.C (ChangeInsets): simplify slightly.
4623
4624 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4625
4626         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4627         * lfuns.h: new LFUN_SPACE
4628         * lyxfunc.C: protected space has a new lfun
4629         * paragraph_funcs.C: read new space insets
4630         * text3.C:
4631         * factory.C: handle new space insets
4632
4633 2003-05-22  André Pönitz  <poenitz@gmx.net>
4634
4635         * BufferView.C:
4636         * BufferView_pimpl.C:
4637         * buffer.[Ch]:
4638         * lyxfunc.C:
4639         * undo_funcs.C: return a ParIterator from getParFromID.
4640
4641         * iterators.[Ch]: add two const's
4642
4643 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4644
4645         * toc.C (getTocList): adjust
4646
4647         * iterators.[Ch]: rework for parlist
4648
4649         * buffer.C (par_iterator_begin): adjust
4650         (par_iterator_end): adjust
4651
4652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4653
4654         * BufferView.C (removeAutoInsets): adjust
4655         (ChangeInsets): adjust
4656
4657 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4658
4659         * text.C (top_y): fix bug 1110
4660
4661 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4662
4663         * errorlist.[Ch]: added
4664         * buffer.C:
4665         * BufferView.[Ch]:
4666         * BufferView_pimpl.C:
4667         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4668         instead
4669
4670 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * Makefile.am: ensure that lyx is relinked upon changes to the
4673         various "convenience" libs.
4674
4675 2003-05-20  Angus Leeming  <leeming@lyx.org>
4676
4677         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4678         files are compiled in alphabetical order again.
4679
4680         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4681
4682 2003-05-19  Angus Leeming  <leeming@lyx.org>
4683
4684         * gettext.[Ch]: remove "char const * _(char const *)".
4685
4686 2003-05-19  André Pönitz  <poenitz@gmx.net>
4687
4688         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4689
4690         * Makefile.am:
4691         * BufferView.C:
4692         * DepTable.h:
4693         * LaTeXFeatures.C:
4694         * buffer.C:
4695         * lyxfont.C:
4696         * lyxlex.h:
4697         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4698
4699 2003-05-19  André Pönitz  <poenitz@gmx.net>
4700
4701         * buffer.C:
4702         * lyxlayout.[Ch]:
4703         * lyxtextclass.[Ch]:
4704         * paragraph.C:
4705         * paragraph_funcs.[Ch]:
4706         * text2.C:
4707         * text3.C: more insetenv work
4708
4709 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * ParagraphParameters.C (params2string): small bug fixed
4712
4713 2003-05-16  André Pönitz  <poenitz@gmx.net>
4714
4715         * debug.C:
4716         * bufferview_funcs.C: patch from Kornel Benko to prevent
4717           crash when _(...) is called twice in a statement
4718
4719 2003-05-16  André Pönitz  <poenitz@gmx.net>
4720
4721         * BufferView.C:
4722         * lyxfunc.C:
4723         * text.C:
4724         * text2.C:
4725         * text3.C:
4726         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4727
4728 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4729
4730         * lyx_main.C (init): remove spurious static_cast
4731
4732 2003-05-14  André Pönitz  <poenitz@gmx.net>
4733
4734         * BufferView.C: fix format string
4735
4736 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * BufferView.[Ch] (insertErrors): removed
4739         * BufferView.[Ch] (showErrorList): added
4740         * buffer.C (runChkTeX):
4741         * converter.C (scanLog): call showErrorList instead of inserterrors
4742
4743 2003-05-13  André Pönitz  <poenitz@gmx.net>
4744
4745         * BufferView_pimpl.C:
4746         * buffer.C:
4747         * bufferview_func.C:
4748         * MenuBackend.C:
4749         * lyxfunc.C:
4750         * lyxrc.C:
4751         * tex-accent.C:
4752         * text3.C:
4753         * toc.C:
4754         * tabular_funcs.h: tostr() from its own header
4755
4756         * ParagraphParameters.C:
4757         * ToolbarBackend.C:
4758         * bufferparams.C:
4759         * format.C:
4760         * lyxlex_pimpl.C:
4761         * text3.C: STRCONV()
4762
4763 2003-05-12  André Pönitz  <poenitz@gmx.net>
4764
4765         * BufferView.C:
4766         * BufferView_pimpl.C:
4767         * CutAndPaste.C:
4768         * LaTeX.C:
4769         * LaTeXFeatures.C:
4770         * ParagraphParameters.C:
4771         * buffer.C:
4772         * bufferlist.C:
4773         * bufferparams.C:
4774         * bufferview_funcs.C:
4775         * converter.C:
4776         * counters.C:
4777         * debug.C:
4778         * exporter.C:
4779         * format.C:
4780         * importer.C:
4781         * lyx_cb.C:
4782         * lyx_main.C:
4783         * lyxfont.C:
4784         * lyxfunc.C:
4785         * lyxvc.C:
4786         * paragraph.C:
4787         * paragraph_funcs.C:
4788         * tabular.C:
4789         * tabular_funcs.C:
4790         * text2.C:
4791         * text3.C:  boost::format -> bformat  all over the place
4792
4793
4794 2003-05-09  André Pönitz  <poenitz@gmx.net>
4795
4796         * LColor.[Ch]: Pimpl the #include <map> away
4797
4798 2003-05-09  John Levon  <levon@movementarian.org>
4799
4800         * bufferlist.C: never remove emergency saves
4801
4802 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * Makefile.am: better lib building
4805
4806 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4809         instead.
4810         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4811         (simpleTeXSpecialChars): adjust
4812         (simpleTeXSpecialChars): adjust
4813         * paragraph.C (simpleTeXOnePar): adjust
4814         * buffer.C (makeLaTeXFile): adjust
4815
4816         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4817
4818         * text2.C (changeDepth): parlist cleanup
4819         (getColumnNearX): ditto
4820
4821         * rowpainter.C (getLabelFont): parlist cleanup
4822
4823         * bufferlist.C (newFile): parlist cleanup
4824
4825         * CutAndPaste.C (eraseSelection): parlist cleanup
4826
4827         * BufferView_pimpl.C (trackChanges): parlist cleanup
4828         (dispatch): ditto
4829
4830         * BufferView.C (lockInset): parlist cleanup.
4831         (ChangeInsets): ditto
4832
4833 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * CutAndPaste.h: Update file header.
4836
4837         * CutAndPaste.C: Update file header.
4838         Store the parts cut out of the Document in a limited_stack.
4839         (copySelection): adjust
4840         (pasteSelection): new function, takes the index in the limited stack.
4841         (nrOfParagraphs): adjust
4842         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4843         simplify error inset insertion.
4844         (checkPastePossible): adjust
4845
4846 2003-05-06  John Levon  <levon@movementarian.org>
4847
4848         * text2.C: don't cast wrap inset to float
4849
4850 2003-05-05  André Pönitz  <poenitz@gmx.net>
4851
4852         * iterator.C:
4853         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4854
4855         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4856           few naked Paragraph *.
4857
4858 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4859
4860         * bufferparams.C: Output warning if a document with missing
4861         TeX document class is loaded
4862         * exporter.C: Disable TeX exports if the document class is missing
4863         * lyxtextclass.C:
4864         * lyxtextclass.h:
4865         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4866         isTeXClassAvailable()
4867
4868 2003-05-03  John Levon  <levon@movementarian.org>
4869
4870         * BufferView.h:
4871         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4872         explicit cursor show/hide
4873
4874         * BufferView_pimpl.h:
4875         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4876         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4877
4878         * lyxfunc.C: hide cursor before dispatching.
4879
4880         * lyx_cb.C:
4881         * lyxfind.C:
4882         * text.C:
4883         * text3.C: remove explicit cursor hides
4884
4885 2003-05-02  André Pönitz  <poenitz@gmx.net>
4886
4887         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4888
4889         * undo_funcs.C:
4890         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4891           linked lists
4892
4893         * text2.C: tiny whitespace
4894
4895 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * undo_funcs.C: almost only ws changes.
4898
4899         * ParagraphList.C (splice): just return if pl is empty.
4900
4901 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * ParagraphList.C (splice): new function.
4904
4905         * CutAndPaste.C (pasteSelection): use it
4906
4907 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * CutAndPaste.C (pasteSelection): remove the last next and
4910         previous from this file.
4911
4912 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * CutAndPaste.C (pasteSelection): more clean up, user proper
4915         ParagraphList functions for pasteing.
4916
4917         * ParagraphList.C (insert): new function, three arg insert
4918
4919 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * ParagraphList.C (insert): new function, three arg insert
4922
4923         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4924         not on paragraphs.
4925
4926 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4929
4930 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4933
4934 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4937         (copySelection): clean up a bit.
4938         (pasteSelection): use make_pair
4939
4940         * ParagraphList.C (ParagraphList): implement copy constructor
4941         (operator=): implement, base on copy constructor.
4942         (assign): new func
4943
4944         * paragraph.C (erase): return a bool
4945
4946         * paragraph_pimpl.C (erasePos): remove function, move contents...
4947         (erase): ... here. Return a bool.
4948         (erase): call erase instead of erasePos.
4949
4950 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * ParagraphList.h: define PitPosPair
4953         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4954         ParagraphList, fix a bug on pasting multiple pars
4955         * text2.C: change interface to C&P
4956
4957 2003-04-30  André Pönitz  <poenitz@gmx.net>
4958
4959         * undo_func.C: revert part of yesterday's patch 2
4960
4961 2003-04-30  John Levon  <levon@movementarian.org>
4962
4963         * LColor.C: s/tabular/table/
4964
4965 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * text3.C (dispatch): do not convert iterator -> pointer
4968         * undo_funcs.C (setCursorParUndo): ditto
4969         * text_funcs.C (transposeChars): ditto
4970
4971         * text2.C (setLayout): ws changes only
4972
4973         * text.C (breakParagraph): do not convert iterator -> pointer
4974         (insertChar): ditto
4975         (acceptChange): ditto
4976         (rejectChange): ditto
4977         (changeCase): ditto
4978         (Delete): ditto
4979         (backspace): ditto
4980
4981         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4982         pointer
4983
4984 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * text3.C (gotoInset): YABG (yet another bad getChar)
4987
4988 2003-04-29  André Pönitz  <poenitz@gmx.net>
4989
4990         * paragraph.h: make operator= private unimplemented as long as
4991           it is unusable
4992
4993         * ParagraphList.C: whitespace
4994
4995         * paragraph.[Ch]:
4996         * paragraph_pimpl.[Ch]:
4997         * paragraph_funcs.C:
4998         * CutAndPaste.C:
4999         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5000
5001         * text2.C:
5002           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5003
5004 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5005
5006         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5007         * paragraph.[Ch] (erase):
5008         * paragraph_pimpl.[Ch] (erase): change return type and value
5009         * text2.C (cutSelection): some rework
5010
5011 2003-04-28  John Levon  <levon@movementarian.org>
5012
5013         * bufferlist.C: changes for unsaved changes dialog
5014
5015 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * bufferlist.C (newFile): set language (messages_) for new
5018         documents also.
5019
5020         * buffer.C (readFile): ws changes only.
5021
5022 2003-04-28  André Pönitz  <poenitz@gmx.net>
5023
5024         * undo_funcs.C:
5025         * lyxfunc.C:
5026         * buffer.[Ch]:
5027         * BufferView_pimpl.C:
5028         * BufferView.C: getParFromID related ParagraphList::iterator changes
5029
5030 2003-04-28  André Pönitz  <poenitz@gmx.net>
5031
5032         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5033           Changes
5034
5035 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * messages.C: remove one more localedir class variable.
5038
5039 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * messages.C (getLocaleDir): singleton generation function
5042         (Pimpl): use it.
5043         (Messages): add a default constructor.
5044
5045         * main.C (main): do not setup localedir here, do not call
5046         gettext_init.
5047
5048         * gettext.C (_): use it.
5049         (gettext_init): delete funciton
5050
5051 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * gettext.C (getLyXMessages): new singleton generating function.
5054
5055         * buffer.C (updateDocLang): adjust
5056
5057         * Makefile.am (messages.o): add target
5058         (main.o): remove target
5059
5060 2003-04-27  John Levon  <levon@movementarian.org>
5061
5062         * bufferlist.C:
5063         * lyx_cb.C:
5064         * lyxfunc.C:
5065         * lyxvc.C: specify cancel button in Alert::prompt
5066
5067 2003-04-26  John Levon  <levon@movementarian.org>
5068
5069         * text3.C:
5070         * lyxfunc.C:
5071         * lfuns.h:
5072         * LyXAction.C: add LFUN_INSET_SETTINGS
5073
5074         * lyxfunc.C: don't enable tabular-feature when there's
5075         just any locking inset
5076
5077 2003-04-26  John Levon  <levon@movementarian.org>
5078
5079         * bufferlist.C: re-add Cancel to buffer close question
5080
5081         * lyxfunc.C: fix import UI a bit
5082
5083 2003-04-25  John Levon  <levon@movementarian.org>
5084
5085         * gettext.C: remove the broken asserts for now
5086
5087 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * messages.C: make case where setlocale cannot comply work better.
5090
5091         * buffer.C (updateDocLang): new function
5092         (changeLanguage): use it
5093         (readFile): use it
5094
5095         * text2.C (setCounter): use B_ a bit.
5096
5097         * lyxlayout.C (Read): be sure to trim the label strings.
5098
5099         * messages.C (Messages): fix typo in comment
5100
5101         * buffer.C (readFile): set message_ after file is loaded.
5102         (makeDocBookFile): remove double return
5103         (changeLanguage): reset message_ upon language change.
5104         (B_): new func, use this to get translated buffer strings.
5105
5106         * main.C: add myself and Jean Marc as authors.
5107
5108 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * messages.[hC]: pimplify Messages, and three different pimpls to be
5111         used in different circumstances.
5112
5113         * gettext.[Ch]: change for use with new message code.
5114
5115 2003-04-24 André Pönitz <poenitz@gmx.net>
5116
5117         * factory.C: support for eqref
5118
5119 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * messages.[Ch]: add missing char
5122
5123         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5124
5125         * messages.[Ch]: New files
5126
5127 2003-04-18  John Levon  <levon@movementarian.org>
5128
5129         * BufferView.h:
5130         * BufferView.C:
5131         * BufferView_pimpl.C:
5132         * lfuns.h:
5133         * LyXAction.C:
5134         * lyxtext.h:
5135         * text2.C: remove layout-copy/paste (bug 778)
5136
5137 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5140
5141 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5142
5143         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5144         if they succeed. Act accordingly.
5145
5146 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text2.C (setCharFont): adjust
5149         (setCounter): adjust
5150         (insertStringAsLines): adjust
5151
5152         * text.C (leftMargin): adjust
5153         (setHeightOfRow): adjust
5154
5155         * rowpainter.C (paintFirst): adjust
5156         (paintLast): adjust
5157
5158         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5159         (outerHook): ditto
5160         (isFirstInSequence): ditto
5161         (getEndLabel): ditto
5162         (outerFont): adjust
5163
5164         * paragraph.C (getParLanguage): comment out some hard stuff.
5165
5166         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5167         (sgmlError): ditto
5168         (simpleDocBookOnePar): ditto
5169         (makeDocBookFile): use ParagraphList::iterator
5170
5171         * CutAndPaste.C (pasteSelection): adjust
5172
5173 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * text2.C (getFont): adjust
5176         (getLayoutFont): adjust
5177         (getLabelFont): adjust
5178
5179         * paragraph_funcs.C (TeXOnePar): adjust
5180
5181         * buffer.C (simpleLinuxDocOnePar): adjust
5182         (simpleDocBookOnePar): adjust
5183
5184         * CutAndPaste.C (pasteSelection): adjust
5185
5186         * BufferView.C (getEncoding): adjust
5187
5188         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5189
5190 2003-04-16  John Levon  <levon@movementarian.org>
5191
5192         * lyxfind.C: use parlist stuff for search/changes
5193
5194 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5197
5198         * text2.C (deleteEmptyParagraphMechanism): adjust
5199
5200         * text2.[Ch] (ownerParagraph): delete func (both of them
5201
5202 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5205
5206 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * ParagraphList.C: prepare for NO_NEXT
5209
5210 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text2.C (getFont): adjust
5213         (getLayoutFont): adjust
5214         (getLabelFont): adjust
5215
5216         * paragraph.C (getFont): adjust
5217         (getLabelFont): adjust
5218         (getLayoutFont): adjust
5219
5220         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5221
5222 2003-04-15  John Levon  <levon@movementarian.org>
5223
5224         From Angus Leeming
5225
5226         * lyx_main.C: handle Include in .ui files
5227
5228 2003-04-15  John Levon  <levon@movementarian.org>
5229
5230         * MenuBackend.C: make the doc files length shorter
5231
5232         * ToolbarBackend.h:
5233         * ToolbarBackend.C: handle toolbar placement flags,
5234         Minibuffer
5235
5236 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5239         adjust
5240
5241         * paragraph_funcs.C (TeXOnePar): adjust
5242
5243         * paragraph.C (getLabelFont): add outerfont arg, adjust
5244         (getLayoutFont): ditto
5245         (simpleTeXOnePar): adjust
5246
5247         * paragraph_pimpl.C (realizeFont): delete func
5248
5249 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5252         row argument, constify cur argument.
5253
5254 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * text2.C (getFont): adjust
5257         (getLayoutFont): adjust
5258         (getLabelFont): adjust
5259
5260         * paragraph_funcs.C (TeXOnePar): adjust
5261         (outerFont): new func...
5262         (realizeFont): ...moved out from here, changed this to facilitate
5263         transition
5264
5265         * paragraph.C (getFont): take outerfont as arg, adjust
5266         (simpleTeXOnePar): add outerfont arg, adjust
5267
5268         * buffer.C (simpleLinuxDocOnePar): adjust
5269         (simpleDocBookOnePar): adjust
5270
5271         * CutAndPaste.C (pasteSelection): adjust
5272
5273         * BufferView.C (getEncoding): adjust
5274
5275 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * text2.C (setCharFont): adjust
5278         (setCounter): adjust
5279
5280         * text.C (leftMargin): adjust
5281         (setHeightOfRow): adjust
5282
5283         * rowpainter.C (paintFirst): adjust
5284         (paintLast): adjust
5285
5286         * paragraph_pimpl.C (realizeFont): adjust
5287
5288         * paragraph.C (isFirstInSequence): move from here...
5289         * paragraph_funcs.C (isFirstInSequence): ...to here
5290
5291         * paragraph.C (outerHook): move from here...
5292         * paragraph_funcs.C (outerHook): ...to here
5293
5294         * paragraph.C (depthHook): move from here...
5295         * paragraph_funcs.C (depthHook): ...to here
5296
5297         * paragraph.C (getEndLabel): move from here...
5298         * paragraph_funcs.C (getEndLabel): ...to here
5299
5300         * text2.C (realizeFont): move from here...
5301         * paragraph_funcs.C (realizeFont): ...to here
5302
5303 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5306
5307 2003-04-14  Angus Leeming  <leeming@lyx.org>
5308
5309         * LColor.[Ch]: scrap LColor mathcursor.
5310
5311 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * lyxlex.[Ch] (text): delete function
5314         * trans.C (Load): adjust
5315         * paragraph_funcs.C (readParToken): adjust
5316
5317 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5320         vector<char> instead of a char[].
5321
5322         * lyxlex_pimpl.C (getString): adjust
5323         (next): adjust
5324         (lex): use getString
5325         (eatLine): adjust
5326         (nextToken): adjust
5327
5328         * lyxlex.C (text): use pimpl_->getString()
5329         (getBool): ditto
5330         (findToken): ditto
5331
5332 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5335         (makeFontEntriesLayoutSpecific): temp var for par.size()
5336         (setLayout): temp var for ownerParagraphs().end()
5337         (fullRebreak): temp var for rows().end()
5338         (selectionAsString): temp var for boost::next(startpit), realize
5339         that the while really is a regular for loop.
5340         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5341         setCursor in one place.
5342         (setParagraph): temp vr for ownerParagraphs().end()
5343         (updateCounters): make the while loop a for loop
5344         (cutSelection): temp var for ownerParagraphs().end()
5345         (updateInset): make the do {} while() a regular for loop
5346         (getCursorX): use temp vars
5347         (setCurrentFont): use temp vars
5348         (getColumnNearX): use temp vars
5349
5350 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * text.C (transformChar): use temp var for getChar
5353         (computeBidiTables): use temp var for row->par()
5354         (fill): move temp vars for row->par() and pit->layout() earlier in
5355         the function.
5356         (labelFill): use temp var for row->par()
5357         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5358         asc and desc, realize that pit never changes and that firstpit is
5359         just a duplicate and not needed. Exchange rit->par() with pit in a
5360         lot of places.
5361         (breakAgain): use a temp var for boost::next(rit)
5362         (breakAgainOneRow): ditto
5363         (breakParagraph): use a temp var for rows().begin()
5364         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5365         (cursorRightOneWord): use temp var for cursor.par() and
5366         cursor.pos(), remove usage of tmpcursor.
5367         (cursorLeftOneWord): use temp var for cursor.par() and
5368         cursor.pos() only set cur at end of function.
5369
5370 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * text.C, text2.C: exchange all usage of Paragraph::next with
5373         boost::next(ParagraphList::iterator)
5374
5375         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5376
5377         * text2.C (cursorTop): simplify implementation
5378         (cursorBottom): ditto
5379         (setParagraph): use ParagraphList::iterator
5380         (setCurrentFont): adjust
5381         (getColumnNearX): adjust
5382         (cursorRight): adjust
5383         (cursorLeft): remove usage of Paragraph::previous
5384         (cursorUpParagraph): ditto
5385         (deleteEmptyParagraphMechanism): slight cleanup
5386
5387         * text.C (isBoundary): take a Paragraph const & instead of a
5388         pointer as arg.
5389         (addressBreakPoint): ditto
5390         (leftMargin): remove usage of Paragraph::previous.
5391         (setHeightOfRow): ditto
5392         (cursorLeftOneWord): ditto
5393         (selectNextWordToSpellcheck): ditto
5394         (Delete): ditto
5395         (backspace): ditto
5396         (breakParagraph): remove one usage of Paragraph::next
5397         (redoParagraph): ditto
5398         (acceptChange): ditto
5399         (insertChar): adjust
5400         (rowBreakPoint): adjust
5401
5402         * bufferview_funcs.C (toggleAndShow): adjust
5403
5404 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5407         methods to access it.
5408         * lyxtext.h:
5409         * text.C: Added updateRowPositions to compute all row positions.
5410         Make top_y and getRowNearY() to use the cached y position
5411
5412 2003-04-11  John Levon  <levon@movementarian.org>
5413
5414         * text.C (rowBreakPoint): reintroduce the labelEnd
5415         checks, code copied from the row fill stuff. Deep voodoo.
5416
5417         * text.C (fill): add a comment and debugging for the
5418         next poor soul.
5419
5420 2003-04-11  John Levon  <levon@movementarian.org>
5421
5422         * text.C: make sure fullrow insets get wrapped to the next line,
5423         even when they're in a manual label
5424
5425 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * text2.C (insertParagraph): make it take ParagraphList::iterator
5428         as arg.
5429         (setLayout): make it return ParagraphList::iterator
5430         (redoParagraphs): ditto
5431         (setCounter): ditto
5432         (checkParagraph): ditto
5433
5434         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5435
5436         * text2.C: adjust several funcs.
5437         (realizeFont): take a ParagraphList::iterator as arg.
5438         (getLayoutFont): ditto
5439         (getLabelFont): ditto
5440         (setCharFont): ditto
5441
5442         * text.C: adjust several funcs.
5443
5444 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * text.C (selectNextWordToSpellcheck): don't accidentally
5447         skip insets
5448
5449 2003-04-10  John Levon  <levon@movementarian.org>
5450
5451         * ToolbarBackend.C (getIcon): special handling for
5452         LFUN_MATH_DELIM
5453
5454 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * text2.C (cursorRight): a getChar assert fixed
5457
5458 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * text2.C (getFont): change to take a ParagraphList::iterator
5461         instead of Paragraph*
5462         Adjust several functions.
5463
5464         * text.C (transformChar): change to take a ParagraphList::iterator
5465         instead of Paragraph*
5466         (singleWidth): ditto
5467         Adjust several functions.
5468
5469         * rowpainter.C: adjust several functions
5470         * rowpainter.h:store a ParagraphList::iterator and not a
5471         Paragraph&.
5472
5473
5474 2003-04-09  John Levon  <levon@movementarian.org>
5475
5476         * lyxfunc.C:
5477         * lfuns.h:
5478         * LyXAction.h:
5479         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5480         and the "help" bits as well
5481
5482 2003-04-09  John Levon  <levon@movementarian.org>
5483
5484         * ToolbarBackend.h:
5485         * ToolbarBackend.C: allow multiple toolbars
5486
5487 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * undo_funcs.C (setCursorParUndo): adjust
5490
5491         * text_funcs.C (transposeChars): adjust
5492
5493         * text3.C (gotoNextInset): adjust
5494         (dispatch): adjust
5495
5496         * text2.C (setLayout): adjust
5497         (changeDepth): adjust
5498         (setFont): adjust
5499         (redoParagraphs): adjust
5500         (selectionAsString): adjust
5501         (setParagraph): adjust
5502         (insertInset): adjust
5503         (cutSelection): adjust
5504         (copySelection): adjust
5505         (pasteSelection): adjust
5506         (insertStringAsLines): adjust
5507         (updateInset): adjust
5508         (setCursor): change to take a ParagraphList::iterator parameter
5509         (setCursorIntern): change to take a ParagraphList::iterator parameter
5510         (setCurrentFont): adjust
5511         (cursorLeft): adjust
5512         (cursorRight): adjust
5513         (deleteEmptyParagraphMechanism): adjust
5514
5515         * text.C (breakParagraph): adjust
5516         (insertChar): adjust
5517         (acceptChange): adjust
5518         (rejectChange): adjust
5519         (selectNextWordToSpellcheck): adjust
5520         (changeCase): adjust
5521         (Delete): adjust
5522         (backspace): adjust
5523
5524         * lyxfind.C (SearchForward): adjust
5525         (SearchBackward): adjust
5526         (nextChange): adjust
5527
5528         * lyxcursor.C (par): adjust
5529
5530         * lyxcursor.h: store a ParagraphList::iterator instead of a
5531         Paragraph*
5532
5533         * lyx_cb.C (getPossibleLabel): adjust
5534
5535         * bufferview_funcs.C (toggleAndShow): adjust
5536
5537         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5538         (dispatch): adjust
5539
5540         * BufferView.C (removeAutoInsets): adjust
5541         (lockedInsetStoreUndo): adjust
5542
5543 2003-04-09  John Levon  <levon@movementarian.org>
5544
5545         * ToolbarBackend.C: try icon without argument
5546         if with argument fails
5547
5548 2003-04-08  John Levon  <levon@movementarian.org>
5549
5550         * ToolbarBackend.h:
5551         * ToolbarBackend.C: add getIcon(), handle tooltip,
5552         and change from "Icon" to "Item".
5553
5554 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5555
5556         * BufferView.C (lockInset): another bad getchar crunched
5557
5558 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5559
5560         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5561         again)
5562
5563 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * lyxfind.C (searchForward, searchBackwards): bug 782
5566
5567 2003-04-07  John Levon  <levon@movementarian.org>
5568
5569         * paragraph.C: remove dead comment
5570
5571         * text.C: remove troublesome depth-fiddling code
5572         in leftMargin() and rightMargin() (bug 1017)
5573
5574         * text.C: fix breaking of rows in nested lists
5575         (bug 1004)
5576
5577         * text2.C (updateCounters): fix up depth values
5578         (bug 1013)
5579
5580 2003-04-07  John Levon  <levon@movementarian.org>
5581
5582         * BufferView_pimpl.C: clear message when doc finishes resizing,
5583         and after a mouse event
5584
5585         * lyxfunc.C: clear message after exiting inset
5586
5587 2003-04-07  John Levon  <levon@movementarian.org>
5588
5589         * bufferview_funcs.C: show math status not outside
5590         status in the statusbar
5591
5592 2003-04-07  John Levon  <levon@movementarian.org>
5593
5594         * lyxfunc.C: note status changed after a depth change
5595
5596 2003-04-04  Angus Leeming  <leeming@lyx.org>
5597
5598         * LaTeX.h: move AuxInfo operator==, != out of line.
5599         Remove LaTeX virtual destructor; nothing derives from it.
5600         Move operator()() out of public area and rename it startscript().
5601         Change protected for private.
5602
5603 2003-04-04  Angus Leeming  <leeming@lyx.org>
5604
5605         * lyxfunc.C:
5606         * text2.C: remove unneeded #includes.
5607
5608 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * text2.C (dEPM): fix the heigth of the next row
5611
5612 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * text.C: squashed an invalid getChar requester + some ws changes
5615
5616 2003-04-03  John Levon  <levon@movementarian.org>
5617
5618         * bufferview_funcs.h:
5619         * bufferview_funcs.C:
5620         * lyxfunc.C:
5621         * lyxtext.h:
5622         * text2.C: make getStatus work for the env depth lfuns
5623
5624 2003-04-03  John Levon  <levon@movementarian.org>
5625
5626         * bufferview_funcs.h:
5627         * bufferview_funcs.C:
5628         * lyxfunc.C:
5629         * lyxtext.h:
5630         * text2.C: parlistize decDepth(), by merging it with incDepth()
5631
5632 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * lyxrow.h: store a ParagraphList::iterator instead of a
5635         Paragraph* and adjust other class functions to suit.
5636
5637         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5638         above.
5639
5640 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * text2.C (setCursor): do not anchor to cursor row for the time being
5643
5644 2003-04-02  John Levon  <levon@movementarian.org>
5645
5646         * LyXAction.C:
5647         * lfuns.h:
5648         * lyx_main.C:
5649         * lyxtext.h:
5650         * text.C:
5651         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5652
5653 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * paragraph.h: make ParagraphList and ParagraphList::iterator
5656         friends of Paragraph.
5657
5658         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5659
5660         * ParagraphList.C: Use the private next_ and previous_ from
5661         Paragraph.
5662
5663 2003-04-01  John Levon  <levon@movementarian.org>
5664
5665         * ToolbarBackend.h:
5666         * ToolbarBackend.C:
5667         * Makefile.am: rename, remove defaults gunk
5668
5669         * MenuBackend.h:
5670         * MenuBackend.C: remove defaults gunk
5671
5672         * Languages.h:
5673         * Languages.C: remove defaults gunk
5674
5675         * lyx_main.h:
5676         * lyx_main.C: error out if files couldn't be found.
5677
5678 2003-04-02  John Levon  <levon@movementarian.org>
5679
5680         * text2.C: make incDepth() use parlist
5681
5682 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * undo_funcs.C (firstUndoParagraph): adjust
5685
5686         * text3.C (gotoInset): adjust
5687         (dispatch): adjust, and rewrite loop.
5688
5689         * text2.C (init): adjust, and rewrite loop.
5690         (redoParagraphs): adjust
5691         (updateInset): adjust, and rewrite loop.
5692         (deleteEmptyParagraphMechanism): adjust
5693
5694         * tabular.C (LyXTabular): adjust
5695         (SetMultiColumn): adjust
5696         (TeXRow): adjust
5697
5698         * lyxtext.[Ch] (ownerParagraph): delete function
5699         (ownerParagraphs): new function returns a ParagraphList.
5700
5701         * BufferView.C (removeAutoInsets): adjust
5702         (insertErrors): adjust
5703         (setCursorFromRow): adjust
5704
5705 2003-04-01  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5708         in the frontends.
5709
5710 2003-04-02  John Levon  <levon@movementarian.org>
5711
5712         * lyxtext.h:
5713         * text.C:
5714         * Makefile.am:
5715         * text_funcs.h:
5716         * text_funcs.C: make transposeChars a free function
5717
5718         * lyxrow_funcs.C: remove wrong comment
5719
5720 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * lyxtext.h: adjust
5723         * rowpainter.C: adjust
5724         * text.C: adjust
5725         * text2.C: adjust
5726         * text3.C: adjust
5727
5728         * lyxrow_funcs. [Ch]: new files
5729
5730         * lyxrow.[Ch]: remove next and previous pointers
5731         (next,previous): remove accessor functions
5732         (isParEnd): move to lyxrow_funcs
5733         (lastPos): move to lyxrow_funcs
5734         (nextRowIsAllInset): move to lyxrow_funcs
5735         (lastPrintablePos): move to lyxrow_funcs
5736         (numberOfSeparators): move to lyxrow_funcs
5737         (numberOfHfills): move to lyxrow_funcs
5738         (numberOfLabelHfills): move to lyxrow_funcs
5739         (hfillExpansion): move to lyxrow_funcs
5740
5741         * lyxfunc.C: adjust
5742
5743         * bufferview_funcs.C (toggleAndShow): adjust
5744
5745         * RowList.h: Remove class RowList from file leave just a
5746         std::list<Row>.
5747
5748         * RowList.C: delete file
5749
5750         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5751         and lyxrow_funcs.h
5752
5753 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * text3.C (cursorPrevious): adjust
5756         (cursorNext): adjust
5757         (dispatch): adjust
5758
5759         * text2.C (redoHeightOfParagraph): adjust
5760         (redoDrawingOfParagraph): adjust
5761         (setCursor): adjust
5762
5763         * text.C (breakParagraph): adjust
5764         (insertChar): adjust
5765         (backspace): adjust
5766
5767         * rowpainter.C (RowPainter): adjust
5768         (leftMargin): simplify and adjust
5769         (most rowpainter functions): adjust.
5770
5771         * rowpainter.h: store the row as RowList::iterator not as Row*
5772
5773         * lyxcursor.C (row): taka RowList::iterator as arg
5774         (irow): ditto
5775
5776         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5777         of Row*.
5778
5779 2003-04-01  Angus Leeming  <leeming@lyx.org>
5780
5781         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5782         stuff like bool Bool.
5783
5784 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5785
5786         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5787         rewrite a loop
5788
5789 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5792         RowList::iterator.
5793
5794         * lyxtext.h (rows): drop one version and leve a const variant that
5795         returns a RowList::iterator.
5796
5797 2003-03-31  Angus Leeming  <leeming@lyx.org>
5798
5799         * text.C (fill): ensure that the signature is the same as that in the
5800         header file.
5801
5802 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * text2.C (redoParagraphs): adjust
5805         (updateCounters): adjust
5806         (checkParagraph): adjust
5807         (getColumnNearX): adjust and reformat a bit.
5808
5809         * text.C (top_y): adjust
5810         (workWidth): adjust
5811         (leftMargin): adjust
5812         (prepareToPrint): adjust
5813         (getRow): adjust
5814         (getRowNearY): adjust
5815
5816         * lyxtext.h: make rowlist_ mutable.
5817
5818         * RowList.h: add const_iterator
5819         * RowList.C: adjust for RowList::const_iterator.
5820
5821         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5822         adjust.
5823
5824 2003-03-31  John Levon  <levon@movementarian.org>
5825
5826         * lyxrc.h:
5827         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5828
5829         * lyx_main.C: set default fonts from using lyx_gui funcs
5830
5831         * exporter.C: pdf_mode moved from lyxrc
5832
5833         * lyx_cb.C:
5834         * lyxfunc.C: changes from above
5835
5836 2003-03-31  John Levon  <levon@movementarian.org>
5837
5838         * lyx_main.C: fix to the last fix
5839
5840 2003-03-31  John Levon  <levon@movementarian.org>
5841
5842         * bufferlist.C: "Load original" -> "Load Original"
5843
5844         * converter.C:
5845         * exporter.C:
5846         * importer.C:
5847         * lyx_main.C:
5848         * format.C: more Alert cleanups
5849
5850 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5851
5852         * text2.C (removeParagraph): make it take a RowList::iterator as
5853         arg, adjust.
5854         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5855         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5856
5857         * text.C (anchor_row): make it take a RowList::iterator as arg,
5858         adjust.
5859         (computeBidiTables): make it take a const reference to Row instead
5860         of Row pointer, adjust.
5861         (leftMargin): make it take a RowList::iterator as arg, adjust.
5862         (rowBreakPoint): adjust
5863         (breakAgainOneRow): make it take a RowList::iterator as arg,
5864         adjust.
5865         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5866
5867         * bufferview_funcs.C (toggleAndShow): adjust
5868
5869 2003-03-30  John Levon  <levon@movementarian.org>
5870
5871         * Makefile.am:
5872         * BoostFormat.h:
5873         * boost-inst.C: moved to support
5874
5875         * several files: changes as a result
5876
5877 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * text2.C (LyXText): adjust.
5880         (init): adjust
5881         (removeRow): make it take a RowList::iterator as arg, adjust.
5882         (fullRebreak): adjust
5883         (deleteEmptyParagraphMechanism): adjust
5884         (clearPaint): adjust
5885         (postPaint): adjust
5886
5887         * text.C (top_y): adjust
5888         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5889         (breakAgain): make it take a RowList::iterator as arg, adjust.
5890         (breakParagraph): adjust
5891         (insertChar): adjust
5892         (backspace): adjust
5893
5894         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5895         need_break_row, and refresh_row.
5896
5897         * text3.C (dispatch): adjust
5898
5899         * text2.C (checkParagraph): adjust
5900         (setCursor): adjust
5901         (setCursorFromCoordinates): adjust
5902
5903         * text.C (top_y): adjust
5904         (workWidth): adjust
5905         (getRow): make it return a RowList::iterator, adjust
5906         (getRowNearY): make it return a RowList::iterator, adjust
5907
5908         * text2.C (init): adjust
5909         (insertRow): remove function
5910         (insertParagraph): adjust
5911         (redoParagraphs): adjust
5912         (fullRebreak): adjust
5913         (updateCounters): adjust
5914
5915         * text.C (top_y): rewrite to use RowList iterators.
5916         (top_y): adjust
5917         (setHeightOfRow): rewrite to sue RowList iterators.
5918         (appendParagraph): adjust
5919         (breakAgain): adjust
5920         (breakAgainOneRow): adjust
5921         (breakParagraph): adjust
5922         (getRow): adjust
5923         (getRowNearY): adjust, and remove commented code.
5924
5925         * lyxtext.h (firstRow): delete function
5926         (lastRow): delete function
5927         (rows): new function (const and non-const versions.)
5928         (insertRow): delete function
5929
5930         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5931
5932 2003-03-29  John Levon  <levon@movementarian.org>
5933
5934         * BufferView_pimpl.C: always update scrollbar top
5935         because pasting text when we're anchored could mean we
5936         miss an update altogether
5937
5938 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * text2.C (init): use rowlist_.end() and not 0.
5941         (insertRow): change to take a RowList::iterator as arg, adjust
5942         for this.
5943         (insertParagraph): change to take a RowList::iterator as arg,
5944         adjust for this.
5945         (redoParagraphs): remove some debug msgs.
5946
5947         * text.C (appendParagraph): change to take a RowList::iterator
5948         arg, adjust for this.
5949         (breakAgain): add an assert
5950         (breakAgainOneRow): ditto
5951
5952 2003-03-29  John Levon  <levon@movementarian.org>
5953
5954         * text2.C: do not clear selection after inc/decDepth
5955         (bug 550)
5956
5957 2003-03-29  John Levon  <levon@movementarian.org>
5958
5959         * BufferView.C:
5960         * buffer.C: fix broken strerrors according to Lars
5961
5962 2003-03-29  John Levon  <levon@movementarian.org>
5963
5964         * converters.C: more Alert cleanups
5965
5966 2003-03-29  John Levon  <levon@movementarian.org>
5967
5968         * bufferview_funcs.C: remove pointless Alert
5969
5970         * buffer.C: fix confusing error message when
5971         a template is chmoded 000
5972
5973 2003-03-29  John Levon  <levon@movementarian.org>
5974
5975         * BufferView.C:
5976         * BufferView.h:
5977         * BufferView_pimpl.C: Alert fixes
5978
5979         * Makefile.am:
5980         * tabular.C:
5981         * tabular-old.C: remove unused table compat reading
5982
5983 2003-03-29  John Levon  <levon@movementarian.org>
5984
5985         * BufferView.C:
5986         * buffer.C:
5987         * lyx_cb.h:
5988         * lyx_cb.C: more Alert cleanups
5989
5990         * lyxfunc.C: don't allow chktex if not latex document
5991
5992 2003-03-29  John Levon  <levon@movementarian.org>
5993
5994         * lyx_cb.C:
5995         * BufferView.C:
5996         * buffer.C: warnings pushed down from support/,
5997         kill err_alert
5998
5999 2003-03-29  John Levon  <levon@movementarian.org>
6000
6001         * lyxfunc.C: safety check for C-r (revert)
6002
6003 2003-03-29  John Levon  <levon@movementarian.org>
6004
6005         * bufferlist.h:
6006         * bufferlist.C: several UI fixes using Alert::prompt.
6007         Fix the pointless looping quit code. Fix stupid revert
6008         behaviour (bug 938)
6009
6010         * lyxvc.h:
6011         * lyxvc.C:
6012         * lyx_cb.C: use Alert::prompt
6013
6014         * lyx_main.C: remove a silly question
6015
6016         * lyxfunc.C: remove a couple of silly questions,
6017         use Alert::prompt
6018
6019 2003-03-28  John Levon  <levon@movementarian.org>
6020
6021         * text2.C: fix bug 974 (End on empty par)
6022
6023 2003-03-28  John Levon  <levon@movementarian.org>
6024
6025         * BufferView_pimpl.C:
6026         * LyXAction.C:
6027         * lfuns.h: remove do-nothing math greek lfuns
6028
6029 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * lyxgluelength.h (isValidGlueLength): add default arg on
6032         parameter 2. Remove default arg from friend in class.
6033
6034         * lyxlength.h (isValidLength): add default arg on parameter 2.
6035         Remove default arg from friend in class.
6036
6037         * text2.C (LyXText): adjust, initialize refresh_row.
6038         (init): adjust
6039         (removeRow): adjust
6040         (insertRow): adjust
6041         (insertParagraph): adjst
6042         (redoParagraphs): adjust
6043         (fullRebreak): adjust
6044         (updateCounters): adjust
6045         (deleteEmptyParagraphMechanism): first attempt at fixing a
6046         crashing bug.
6047
6048         * text.C (top_y): adjust
6049         (setHeightOfRow): adjust
6050         (getRow): adjust
6051         (getRowNearY): adjust
6052
6053         * lyxtext.h: include RowList.h
6054         (~LyXText): not needed anymore, deleted.
6055         (firstRow): modify for RowList
6056         (lastRow): new function
6057         Delete firstrow and lastrow class variables, add a Rowlist
6058         rowlist_ class variable.
6059
6060         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6061         paragraph is empty.
6062
6063         * RowList.C (insert): fix case where it == begin().
6064
6065 2003-03-26  Angus Leeming  <leeming@lyx.org>
6066
6067         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6068         the thesaurus dialog.
6069
6070 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6071
6072         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6073
6074         * RowList.[Ch]: new files
6075
6076         * ParagraphList.C (erase): handle the case where it == begin
6077         correctly.
6078
6079 2003-03-25  John Levon  <levon@movementarian.org>
6080
6081         * Makefile.am:
6082         * aspell_local.h:
6083         * aspell.C: add new aspell support
6084
6085         * lyxrc.h:
6086         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6087         have it accessible.
6088
6089 2003-03-25  Angus Leeming  <leeming@lyx.org>
6090
6091         * lfuns.h:
6092         * LyXAction.C (init): new LFUN_INSET_INSERT.
6093
6094         * BufferView_pimpl.C (dispatch): split out part of the
6095         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6096
6097         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6098         LFUN_INSET_APPLY.
6099
6100 2003-03-25  Angus Leeming  <leeming@lyx.org>
6101
6102         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6103
6104 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6105
6106         * text2.C:
6107         * text3.C: remove useless row->height(0)
6108
6109 2003-03-25  John Levon  <levon@movementarian.org>
6110
6111         * lyxtext.h:
6112         * text2.C:
6113         * text3.C: rename the refreshing stuff to better names
6114
6115 2003-03-24  John Levon  <levon@movementarian.org>
6116
6117         * BufferView_pimpl.h:
6118         * BufferView_pimpl.C: update layout choice on a mouse
6119         press/release
6120
6121 2003-03-23  John Levon  <levon@movementarian.org>
6122
6123         * Makefile.am: fix commandtags.h reference
6124
6125 2003-03-22  John Levon  <levon@movementarian.org>
6126
6127         * BufferView_pimpl.C:
6128         * lyxtext.h:
6129         * rowpainter.C:
6130         * rowpainter.h:
6131         * text.C:
6132         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6133
6134 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6135
6136         * lyxtext.h:
6137         * text.C: take the rtl methods out of line
6138
6139 2003-03-21 André Pönitz <poenitz@gmx.net>
6140
6141         * metricsinfo.[Ch]: new files containing structures to be passed around
6142         during the two-phase-drawing...
6143
6144 2003-03-21 André Pönitz <poenitz@gmx.net>
6145
6146         * lyxtextclass.C: read 'environment' tag.
6147
6148 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * text2.C (removeRow): fix bug 964
6151
6152 2003-03-20  John Levon  <levon@movementarian.org>
6153
6154         * rowpainter.C:
6155         * text.C:
6156         * text2.C: paint cleanups. Inset::update() dropped font
6157         parameter
6158
6159 2003-03-19  John Levon  <levon@movementarian.org>
6160
6161         * lyxfunc.C: only fitcursor/markDirty if available()
6162
6163 2003-03-19  John Levon  <levon@movementarian.org>
6164
6165         * commandtags.h: rename to ...
6166
6167         * lfuns.h: ... this, and renumber / cleanup
6168
6169 2003-03-19  John Levon  <levon@movementarian.org>
6170
6171         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6172         fit the cursor after an lfun
6173
6174         * BufferView.h:
6175         * BufferView.C:
6176         * BufferView_pimpl.h:
6177         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6178
6179         * LyXAction.C: layout-character should have ReadOnly
6180
6181         * ParagraphParameters.C:
6182         * buffer.C:
6183         * bufferview_funcs.C:
6184         * lyx_cb.C:
6185         * lyxfind.C:
6186         * lyxtext.h:
6187         * text.C:
6188         * text2.C:
6189         * text3.C:
6190         * undo_funcs.C: changes from above
6191
6192 2003-03-18  John Levon  <levon@movementarian.org>
6193
6194         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6195         remove it from update()
6196
6197         * lyxfunc.C: update layout choice after an lfun
6198
6199         * text3.C: remove extra updateLayoutChoice()s
6200
6201 2003-03-18  John Levon  <levon@movementarian.org>
6202
6203         * text.C: top_y change means full repaint, fix
6204         a drawing bug with cursor movement
6205
6206 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * lyxtext.h:
6209         * text.C:
6210         * text2.C: anchor row on setCursor
6211
6212 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6213
6214         * lyxtext.h: remove almost all mutable keywords
6215         * text.C:
6216         * text2.C:
6217         * text3.C: remove const keywords accordingly
6218
6219 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6222         anon namespace
6223         (TeXEnvironment): ditto
6224         (TeXOnePar): ditto
6225
6226 2003-03-17  John Levon  <levon@movementarian.org>
6227
6228         * text.C (rowBreakPoint): remove attempt to fix displayed
6229         math insets inside a manual label
6230
6231 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * lyxtext.h: remove BufferView* as first arg from almost all class
6234         functions.
6235         * other files: adjust.
6236
6237 2003-03-17  John Levon  <levon@movementarian.org>
6238
6239         * lyxtext.h:
6240         * undo_funcs.C:
6241         * text2.C: more paint cleanups
6242
6243         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6244
6245         * rowpainter.h:
6246         * rowpainter.C: remove "smart" background painting code
6247
6248 2003-03-16  John Levon  <levon@movementarian.org>
6249
6250         * lyxtext.h:
6251         * text.C:
6252         * text2.C:
6253         * text3.C: add helper functions for setting refresh_row/y
6254
6255 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6256
6257         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6258         newline inset which *can* get inserted in the pass_thru layouts.
6259         This is primarily for literate documents.
6260
6261 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6262
6263         * buffer.C: increment LYX_FORMAT to 223
6264
6265 2003-03-14 André Pönitz <poenitz@gmx.net>
6266
6267         * textclass.h: prepare for environment handling, ws changes
6268         * lyxlayout.C: read latexheader and latexfooter tags
6269
6270 2003-03-14  John Levon  <levon@movementarian.org>
6271
6272         * text2.C: rewrite ::status() a bit
6273
6274 2003-03-13  John Levon  <levon@movementarian.org>
6275
6276         * lyxtext.h: add some docs
6277
6278 2003-03-13  John Levon  <levon@movementarian.org>
6279
6280         * lyxtext.h:
6281         * text.C:
6282         * text2.C:
6283         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6284
6285 2003-03-13  John Levon  <levon@movementarian.org>
6286
6287         * text3.C: fix appendix redrawing
6288
6289 2003-03-13  John Levon  <levon@movementarian.org>
6290
6291         * text.C (setHeightOfRow):
6292         * rowpainter.h:
6293         * rowpainter.C: make appendix mark have the text
6294           "Appendix" so the user knows what it is
6295
6296         * LColor.h:
6297         * LColor.C: s/appendixline/appendix/ from above
6298
6299 2003-03-13  John Levon  <levon@movementarian.org>
6300
6301         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6302
6303         * text.C: fix a getChar(pos) bug properly
6304
6305 2003-03-13  Angus Leeming  <leeming@lyx.org>
6306
6307         * commandtags.h:
6308         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6309         Probably only temporary. Let's see how things pan out.
6310
6311         * BufferView.C (unlockInset):
6312         * BufferView_pimpl.C (fitCursor):
6313         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6314
6315         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6316         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6317
6318         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6319         new functions that convert ParagraphParameters to and from a string.
6320
6321         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6322         BufferView::Pimpl's dispatch.
6323         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6324
6325 2003-03-13 André Pönitz <poenitz@gmx.net>
6326
6327         * lyxfunc.C:
6328         * text3.C:
6329         * factory.C: make it aware of InsetEnv
6330
6331 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * text2.C (setCursor): never ask for one past last
6334         (setCursor): add some debugging messages.
6335
6336         * text.C (singleWidth): never ask for one past last
6337         (singleWidth): ditto
6338         (leftMargin): ditto
6339         (rightMargin): ditto
6340         (rowBreakPoint): ditto
6341         (setHeightOfRow): ditto
6342         (prepareToPrint): ditto
6343
6344         * rowpainter.C (paintBackground): never ask for one past last
6345         (paintText): never ask for one past last
6346
6347         * paragraph_pimpl.C (getChar): make the assert stricter, never
6348         allow the one past last pos to be taken
6349
6350         * paragraph.C (getChar): ws changes only
6351
6352         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6353         (numberOfSeparators): ditto
6354         (numberOfHfills): ditto
6355
6356 2003-03-12  John Levon  <levon@movementarian.org>
6357
6358         * author.h:
6359         * author.C:
6360         * bufferparams.h:
6361         * bufferparams.C:
6362         * paragraph_funcs.C: fix per-buffer authorlists
6363
6364 2003-03-12  John Levon  <levon@movementarian.org>
6365
6366         * text.C: fix newline in right address
6367
6368 2003-03-12  Angus Leeming  <leeming@lyx.org>
6369
6370         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6371         duplicate those in LyXFunc::dispatch.
6372
6373         * commandtags.h:
6374         * LyXAction.C:
6375         * ToolbarDefaults.C:
6376         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6377         Add LFUN_FONTFREE_UPDATE.
6378
6379         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6380         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6381
6382         * bufferview_func.[Ch]: several new functions to facilliate
6383         transfer of data to and from the character dialog.
6384
6385 2003-03-12  John Levon  <levon@movementarian.org>
6386
6387         * buffer.C:
6388         * paragraph.h:
6389         * paragraph.C:
6390         * paragraph_funcs.C:
6391         * paragraph_pimpl.C:
6392         * sgml.C:
6393         * tabular.C:
6394         * text.C:
6395         * text3.C: remove META_NEWLINE in favour of an inset
6396
6397         * rowpainter.h:
6398         * rowpainter.C: remove paintNewline (done by inset)
6399
6400 2003-03-12  John Levon  <levon@movementarian.org>
6401
6402         * paragraph_pimpl.C: complain about bad getChar()s
6403         for a while at least
6404
6405 2003-03-12  John Levon  <levon@movementarian.org>
6406
6407         * buffer.h:
6408         * buffer.C: move paragraph read into a separate function,
6409         a little renaming to reflect that.
6410
6411         * bufferparams.h:
6412         * bufferparams.C: remove the author_ids map, not necessary now
6413
6414         * factory.h:
6415         * factory.C: moved Buffer::readInset to here
6416
6417         * paragraph_funcs.h:
6418         * paragraph_funcs.C: readParagraph free function moved from
6419         buffer.C
6420
6421         * tabular.C: name change
6422
6423 2003-03-12  John Levon  <levon@movementarian.org>
6424
6425         * buffer.C:
6426         * ParagraphParameters.C: move par params input to
6427         a read() method
6428
6429         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6430         behave like a normal read from the stream wrt reading
6431         a line vs. a \\token
6432
6433 2003-03-12  John Levon  <levon@movementarian.org>
6434
6435         * paragraph.C:
6436         * ParagraphParameters.h:
6437         * ParagraphParameters.C: move output code to a
6438         ::write() method
6439
6440 2003-03-12  John Levon  <levon@movementarian.org>
6441
6442         * BufferView.C (insertLyXFile):
6443         * buffer.h:
6444         * buffer.C:
6445         * tabular.C: use a parlist iterator for creating the
6446           document.
6447
6448 2003-03-12  John Levon  <levon@movementarian.org>
6449
6450         * buffer.C: make current_change static local not
6451           static file-scope
6452
6453 2003-03-12  John Levon  <levon@movementarian.org>
6454
6455         * buffer.C: fix insertStringAsLines for change tracking
6456
6457 2003-03-12  John Levon  <levon@movementarian.org>
6458
6459         * BufferView.C:
6460         * tabular.C:
6461         * buffer.h:
6462         * buffer.C:
6463         * bufferparams.h:
6464         * bufferparams.C: move author list into params. Rename some
6465           functions. Move the header reading into a separate token
6466           loop. Move the header token reading into BufferParams.
6467
6468 2003-03-12  John Levon  <levon@movementarian.org>
6469
6470         * changes.C: put debug inside lyxerr.debugging() checks
6471
6472 2003-03-11 André Pönitz <poenitz@gmx.net>
6473
6474         * factory.C: make it aware of InsetHFill
6475
6476 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6477
6478         * buffer.C (latexParagraphs): move function from here...
6479         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6480         args.
6481
6482 2003-03-10  Angus Leeming  <leeming@lyx.org>
6483
6484         * LyXAction.C (init): fix bug in poplating array with multiple entries
6485         with the same LFUN (spotted by JMarc).
6486
6487 2003-03-10  John Levon  <levon@movementarian.org>
6488
6489         * text.C:
6490         * text2.C: move getColumnNearX() near its
6491         only call site
6492
6493 2003-03-10  John Levon  <levon@movementarian.org>
6494
6495         * text.C: fix break before a minipage
6496
6497 2003-03-10  John Levon  <levon@movementarian.org>
6498
6499         * text.C: fix the last commit
6500
6501 2003-03-09  John Levon  <levon@movementarian.org>
6502
6503         * lyxtext.h:
6504         * text.C:
6505         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6506         bug 365 (don't break before insets unless needed). Don't
6507         return a value > last under any circumstances.
6508
6509 2003-03-09  Angus Leeming  <leeming@lyx.org>
6510
6511         * BufferView_pimpl.C (trackChanges, dispatch): call
6512         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6513
6514 2003-03-09  Angus Leeming  <leeming@lyx.org>
6515
6516         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6517         than Dialogs::showAboutlyx().
6518
6519 2003-03-09  Angus Leeming  <leeming@lyx.org>
6520
6521         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6522         than Dialogs::showTabularCreate().
6523
6524 2003-03-09  John Levon  <levon@movementarian.org>
6525
6526         * lyxtext.h:
6527         * text.C:
6528         * text2.C: 3rd arg to nextBreakPoint was always the same.
6529           Use references.
6530
6531 2003-03-08  John Levon  <levon@movementarian.org>
6532
6533         * lyxrow.C:
6534         * paragraph.C:
6535         * paragraph.h:
6536         * rowpainter.C:
6537         * text.C:
6538         * text2.C: Remove the "main" bit from the "main body"
6539           notion.
6540
6541 2003-03-08  John Levon  <levon@movementarian.org>
6542
6543         * text.C (leftMargin): The left margin of an empty
6544         manual label paragraph should not include the label width
6545         string length.
6546
6547         * text.C (prepareToPrint): don't attempt to measure hfills
6548         for empty manual label paragraphs - the answer should be 0
6549
6550 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * CutAndPaste.C: remove commented code and reindent.
6553
6554 2003-03-08  John Levon  <levon@movementarian.org>
6555
6556         * lyxfunc.h:
6557         * lyxfunc.C: move reloadBuffer()
6558
6559         * BufferView.h:
6560         * BufferView.C: to here
6561
6562         * lyxvc.C: add comment
6563
6564         * vc-backend.h:
6565         * vc-backend.C: call bv->reload() to avoid
6566           getStatus() check on MENURELOAD
6567
6568 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6569
6570         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6571         to an old format .dep file.
6572
6573 2003-03-07  Angus Leeming  <leeming@lyx.org>
6574
6575         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6576         when the LFUN_MOUSE_RELEASE should have been handled by
6577         inset->localDispatch.
6578
6579 2003-03-07  Angus Leeming  <leeming@lyx.org>
6580
6581         * BufferView_pimpl.C (dispatch):
6582         * LyXAction.C (init):
6583         * ToolbarDefaults.C (init):
6584         * commandtags.h:
6585         * lyxfunc.C (getStatus):
6586         remove LFUN_INSET_GRAPHICS.
6587
6588         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6589
6590 2003-03-07  Angus Leeming  <leeming@lyx.org>
6591
6592         * commandtags.h:
6593         * LyXAction.C (init):
6594         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6595
6596         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6597
6598         * commandtags.h:
6599         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6600
6601         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6602         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6603
6604 2003-03-07  Angus Leeming  <leeming@lyx.org>
6605
6606         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6607         remove "ert".
6608
6609 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6610
6611         * ParagraphList.C (front): new function
6612         (back): implement
6613
6614 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6617         and top_row_offset_. removed var first_y.
6618         * text.C (top_y):
6619         * text2.C (LyXText, removeRow):
6620         * text3.C:
6621         * BufferView_pimpl.C:
6622         use these methods instead of using first_y
6623
6624 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * text2.C (pasteSelection): adjust for checkPastePossible
6627
6628         * CutAndPaste.C: remove Paragraph * buf and replace with
6629         ParagraphList paragraphs.
6630         (DeleteBuffer): delete
6631         (cutSelection): change the tc type to textclass_type
6632         (copySelection): change the tc type to textclass_type
6633         (copySelection): adjust for ParagraphList
6634         (pasteSelection): change the tc type to textclass_type
6635         (pasteSelection): adjust for Paragraphlist
6636         (nrOfParagraphs): simplify for ParagraphList
6637         (checkPastePossible): simplify for ParagraphList
6638         (checkPastePossible): remove unused arg
6639
6640         * ParagraphList.C (insert): handle the case where there are no
6641         paragraphs yet.
6642
6643         * CutAndPaste.h: make CutAndPaste a namespace.
6644
6645         * text3.C (dispatch): adjust
6646
6647         * text.C (breakParagraph): add a ParagraphList as arg
6648
6649         * paragraph_funcs.C (breakParagraph): change to take a
6650         BufferParams and a ParagraphList as args.
6651         (breakParagraphConservative): ditto
6652         (mergeParagraph): ditto
6653         (TeXDeeper): add a ParagraphList arg
6654         (TeXEnvironment): ditto
6655         (TeXOnePar): ditto
6656
6657         * buffer.C (readLyXformat2): adjust
6658         (insertStringAsLines): adjust
6659         (latexParagraphs): adjust
6660
6661         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6662         (cutSelection): adjust
6663         (pasteSelection): adjust
6664
6665         * BufferView_pimpl.C (insertInset): adjust
6666
6667 2003-03-05  Angus Leeming  <leeming@lyx.org>
6668
6669         * commandtags.h:
6670         * LyXAction.C (init):
6671         * BufferView_pimpl.C (dispatch):
6672         * lyxfunc.C (getStatus):
6673         remove LFUN_CHILD_INSERT.
6674
6675         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6676
6677 2003-03-05  Angus Leeming  <leeming@lyx.org>
6678
6679         * commandtags.h:
6680         * LyXAction.C (init):
6681         * src/factory.C (createInset):
6682         * lyxfunc.C (getStatus):
6683         * text3.C (dispatch):
6684         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6685
6686         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6687
6688 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * ParagraphList.C (insert): handle insert right before end()
6691         (erase): fix cases where it can be first or last paragraph.
6692
6693 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6696         Paragraph::next and Paragraph::previous
6697         (TeXOnePar): ditto
6698
6699         * text.C (breakParagraph): adjust
6700
6701         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6702         BufferParams& as arg.
6703         (breakParagraph): use ParagraphList::insert
6704         (breakParagraphConservative): take a Buffer* instead of a
6705         BufferParams& as arg.
6706         (breakParagraphConservative): use ParagraphList::insert.
6707
6708         * buffer.C (insertStringAsLines): un-const it
6709         (insertStringAsLines): adjust
6710
6711         * ParagraphList.C (insert): new function
6712
6713         * CutAndPaste.C (pasteSelection): adjust
6714
6715         * text.C (backspace): adjust
6716
6717         * tabular.C (SetMultiColumn): adjust
6718
6719         * CutAndPaste.C (cutSelection): adjust
6720         (pasteSelection): adjust
6721
6722         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6723         Buffer const * as arg
6724
6725         * ParagraphList.C (erase): new function
6726         * paragraph_funcs.C (mergeParagraph): use it
6727         (mergeParagraph): make it take a Buffer* instead of a
6728         BufferParams* as arg
6729
6730         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6731         as arg
6732         (breakParagraphConservative): ditto
6733
6734         * paragraph.h: remove the breakParagraph friend
6735
6736         * paragraph.C (eraseIntern): new function
6737         (setChange): new function
6738
6739         * paragraph_funcs.C (mergeParagraph): make it take a
6740         ParagraphList::iterator instead of a Paragraph *, adjust
6741         accordingly.
6742
6743         * paragraph.h: move an #endif so that the change tracking stuff
6744         also works in the NO_NEXT case.
6745
6746 2003-03-04  Angus Leeming  <leeming@lyx.org>
6747
6748         * commandtags.h:
6749         * LyXAction.C: new LFUN_INSET_MODIFY.
6750
6751         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6752         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6753
6754 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * several files: ws changes only
6757
6758         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6759         (TeXEnvironment): ditto
6760         (TeXDeeper): ditto
6761
6762         * buffer.C (makeLaTeXFile): adjust
6763         (latexParagraphs): make it take ParagraphList::iterator as args
6764
6765 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * buffer.C (latexParagraphs): adjust
6768
6769         * paragraph.C (TeXOnePar): move function...
6770         (optArgInset): move function...
6771         (TeXEnvironment): move function...
6772         * paragraph_pimpl.C (TeXDeeper): move function...
6773         * paragraph_funcs.C: ...here
6774
6775         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6776
6777 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * buffer.C (readInset): remove compability code for old Figure and
6780         InsetInfo insets
6781
6782 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * buffer.C: ws changes
6785         (readInset):
6786
6787         * BufferView_pimpl.C: ditto
6788         * author.C: ditto
6789         * buffer.h: ditto
6790         * bufferlist.h: ditto
6791         * changes.h: ditto
6792         * lyxfunc.C: ditto
6793
6794 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6795
6796         * converter.[Ch]: split into itself +
6797         * graph.[Ch]
6798         * format.[Ch]
6799         * Makefile.am: += graph.[Ch] + format.[Ch]
6800         * MenuBackend.C
6801         * buffer.C
6802         * exporter.C
6803         * importer.C
6804         * lyx_main.C
6805         * lyxfunc.C
6806         * lyxrc.C: added #include "format.h"
6807
6808 2003-02-27  Angus Leeming  <leeming@lyx.org>
6809
6810         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6811           a label.
6812
6813         * factory.C (createInset): add "label" to the factory.
6814
6815         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6816           string and do no more.
6817
6818 2003-02-27  Angus Leeming  <leeming@lyx.org>
6819
6820         * commandtags.h:
6821         * LyXAction.C (init):
6822         * factory.C (createInset):
6823         * BufferView_pimpl.C (dispatch):
6824           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6825
6826         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6827
6828         * lyxfunc.C (dispatch):
6829         * text3.C (dispatch): pass name to params2string.
6830
6831 2003-02-26  Angus Leeming  <leeming@lyx.org>
6832
6833         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6834           blocks together.
6835           Rearrange the ~includes. Strip out the unnecessary ones.
6836
6837         * factory.C (createInset): reformat.
6838           create new insets for the various LFUN_XYZ_APPLY lfuns.
6839
6840 2003-02-26  John Levon  <levon@movementarian.org>
6841
6842         * lyxrow.h:
6843         * lyxrow.C: add isParStart,isParEnd helpers
6844
6845         * paragraph.h: make isInserted/DeletedText take refs
6846
6847         * paragraph_funcs.h:
6848         * paragraph_funcs.C: remove #if 0'd code
6849
6850         * lyxtext.h:
6851         * text3.C:
6852         * text2.C:
6853         * text.C: use lyxrow helpers above.
6854           Move draw and paint routines to RowPainter.
6855           Make several methods use refs not pointers.
6856           Make backgroundColor() const.
6857           Add markChangeInDraw(), isInInset().
6858           Merge changeRegionCase into changeCase.
6859           Make workWidth() shouldn't-happen code into an Assert.
6860
6861         * rowpainter.h:
6862         * rowpainter.C: new class for painting a row.
6863
6864         * vspace.h:
6865         * vspace.C: make inPixels take a ref
6866
6867 2003-02-26  Angus Leeming  <leeming@lyx.org>
6868
6869         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6870         LFUN_REF_APPLY.
6871
6872 2003-02-25  John Levon  <levon@movementarian.org>
6873
6874         * ispell.C: give the forked command a more accurate name
6875
6876 2003-02-22  John Levon  <levon@movementarian.org>
6877
6878         * toc.h:
6879         * toc.C: make TocItem store an id not a Paragraph *
6880           (bug #913)
6881
6882 2003-02-21  Angus Leeming  <leeming@lyx.org>
6883
6884         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6885           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6886           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6887           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6888           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6889           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6890
6891         * BufferView_pimpl.C (dispatch):
6892         * LyXAction.C (init):
6893         * factory.C (createInset):
6894         * lyxfunc.C (getStatus, dispatch):
6895         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6896
6897 2003-02-21  Angus Leeming  <leeming@lyx.org>
6898
6899         * BufferView_pimpl.C (MenuInsertLyXFile):
6900         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6901         * lyxfunc.C (menuNew, open, doImport):
6902           no longer pass a LyXView & to fileDlg.
6903
6904 2003-02-21  Angus Leeming  <leeming@lyx.org>
6905
6906         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6907         * LyXAction.C: change, BIBKEY to BIBITEM.
6908         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6909         Change InsetBibKey to InsetBibitem.
6910         Change BIBKEY_CODE to BIBITEM_CODE.
6911         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6912         * factory.C: replace insetbib.h with insetbibitem.h.
6913         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6914         * paragraph.C: replace insetbib.h with insetbibitem.h.
6915         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6916         Change bibkey() to bibitem().
6917         * text.C: remove insetbib.h.
6918         * text2.C: replace insetbib.h with insetbibitem.h.
6919         change bibkey() to bibitem().
6920         * text3.C: remove insetbib.h.
6921         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6922
6923 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6924
6925         * lyxrc.C (output): enclose user email in quotes (in case there are
6926         several words)
6927
6928 2003-02-18  John Levon  <levon@movementarian.org>
6929
6930         * buffer.h: add std::
6931
6932 2003-02-17  John Levon  <levon@movementarian.org>
6933
6934         * SpellBase.h:
6935         * ispell.h:
6936         * ispell.C:
6937         * pspell.h:
6938         * pspell.C: reworking. Especially in ispell, a large
6939           number of clean ups and bug fixes.
6940
6941         * lyxfunc.C: fix revert to behave sensibly
6942
6943 2003-02-17 André Pönitz <poenitz@gmx.net>
6944
6945         * LyXAction.C:
6946         * commandtags.h: new LFUN_INSERT_BIBKEY
6947
6948         * layout.h:
6949         * lyxlayout.C:
6950         * buffer.C:
6951         * factory.C:
6952         * text.C:
6953         * text2.C:
6954         * text3.C:
6955         * paragraph.[Ch]:
6956         * paragraph_func.C: remove special bibkey handling
6957
6958 2003-02-17  John Levon  <levon@movementarian.org>
6959
6960         * text.C (Delete): fix case where delete at the end of
6961           the very first paragraph would not merge the pars
6962
6963 2003-02-17  John Levon  <levon@movementarian.org>
6964
6965         * lyxrow.C: fix lastPrintablePos()
6966
6967 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6968
6969         * bufferparams.C (writeLaTeX): add a std:here
6970
6971         * buffer.C: and remove a using directive there
6972
6973 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6974
6975         * buffer.C (makeLaTeXFile): move the code that generates the
6976           preamble...
6977
6978         * bufferparams.C (writeLaTeX): ... in this new method
6979
6980         * LaTeXFeatures.C (getEncodingSet): make const
6981           (getLanguages): make const
6982
6983         * MenuBackend.C (binding): returns the binding associated to this
6984           action
6985           (add): sets the status of each item by calling getStatus. Adds
6986           some intelligence.
6987           (read): add support for OptSubMenu
6988           (expand): remove extra separator at the end of expanded menu
6989
6990 2003-02-15  John Levon  <levon@movementarian.org>
6991
6992         * BufferView.C:
6993         * BufferView_pimpl.C:
6994         * bufferlist.h:
6995         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6996           inset code that had no actual effect. Remove unneeded status
6997           code.
6998
6999 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7000
7001         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7002           in preamble
7003
7004 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7005
7006         * text.C (drawLengthMarker): also draw an arrow marker for
7007           symbolic lengths (medskip...)
7008
7009 2003-02-14  John Levon  <levon@movementarian.org>
7010
7011         * tabular.h:
7012         * tabular.C: better method names
7013
7014 2003-02-14  John Levon  <levon@movementarian.org>
7015
7016         * BufferView_pimpl.C:
7017         * bufferlist.C:
7018         * buffer.C:
7019         * converter.C:
7020         * lyx_cb.C:
7021         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7022           it's a more accurate name. Remove some pointless uses.
7023
7024 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7025
7026         * text2.C (LyXText): change order of initilizers to shut off
7027           warnings
7028
7029 2003-02-14  John Levon  <levon@movementarian.org>
7030
7031         * buffer.C: use ParIterator for getParFromID()
7032
7033         * paragraph.h:
7034         * paragraph.C:
7035         * paragraph_pimpl.h:
7036         * paragraph_pimpl.C: remove unused getParFromID()
7037
7038 2003-02-14  John Levon  <levon@movementarian.org>
7039
7040         * buffer.C: remove some very old #if 0'd parse code
7041
7042 2003-02-13  John Levon  <levon@movementarian.org>
7043
7044         * text.h:
7045         * text.C:
7046         * text2.C: move hfillExpansion(), numberOfSeparators(),
7047           rowLast(), rowLastPrintable(), numberofHfills(),
7048           numberOfLabelHfills() ...
7049
7050         * lyxrow.h:
7051         * lyxrow.C: ... to member functions here.
7052
7053         * paragraph.h:
7054         * paragraph.C:
7055         * lyxtext.h:
7056         * text.C: remove LyXText::beginningOfMainBody(), and call
7057           p->beginningOfMainBody() directly. Move the check for
7058           LABEL_MANUAL into the latter.
7059
7060         * text.h:
7061         * text.C:
7062         * text2.C:
7063         * vspace.C:
7064         * BufferView.h:
7065         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7066
7067         * text.h:
7068         * text.C:
7069         * text2.C:
7070         * text3.C:
7071         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7072           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7073
7074 2003-02-13  John Levon  <levon@movementarian.org>
7075
7076         * CutAndPaste.C: remove debug
7077
7078 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7079
7080         * paragraph.C (asString): remove two unused variables
7081
7082         * lyxtextclass.C (readTitleType):
7083           (Read):
7084           (LyXTextClass): handle new members titletype_ and titlename_
7085
7086         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7087
7088 2003-02-09  John Levon  <levon@movementarian.org>
7089
7090         * buffer.h:
7091         * buffer.C: replace hand-coded list with a map for the dep clean
7092
7093 2003-02-08  John Levon  <levon@movementarian.org>
7094
7095         * LaTeX.C: consolidate code into showRunMessage() helper
7096
7097 2003-02-08  John Levon  <levon@movementarian.org>
7098
7099         * lyxfind.C:
7100         * lyxtext.h:
7101         * text2.C:
7102         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7103           and pass the size in explicitly
7104
7105         * BufferView_pimpl.h:
7106         * BufferView_pimpl.C:
7107         * BufferView.h:
7108         * BufferView.C: add getCurrentChange()
7109
7110         * BufferView_pimpl.h:
7111         * BufferView_pimpl.C: handle change lfuns
7112
7113         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7114           for changes. Mark pasted paragraphs as new.
7115
7116         * support/lyxtime.h:
7117         * support/lyxtime.C:
7118         * DepTable.C: abstract time_t as lyx::time_type
7119
7120         * LColor.h:
7121         * LColor.C: add colours for new text, deleted text, changebars
7122
7123         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7124           package use "usenames" option.
7125
7126         * commandtags.h:
7127         * lyxfunc.C:
7128         * LyXAction.C: add change lfuns
7129
7130         * Makefile.am:
7131         * author.h:
7132         * author.C: author handling
7133
7134         * buffer.h:
7135         * buffer.C: add a per-buffer author list, with first entry as
7136           current author. Handle new .lyx tokens for change tracking. Output
7137           author list to .lyx file. Output dvipost stuff to .tex preamble.
7138           Bump lyx format to 222.
7139
7140         * bufferlist.h:
7141         * bufferlist.C: add setCurrentAuthor() to reset current author details
7142           in all buffers.
7143
7144         * bufferparams.h:
7145         * bufferparams.C: add param for tracking
7146
7147         * bufferview_funcs.C: output change info in minibuffer
7148
7149         * Makefile.am:
7150         * changes.h:
7151         * changes.C: add change-tracking structure
7152
7153         * debug.h:
7154         * debug.C: add CHANGES debug flag
7155
7156         * lyxfind.h:
7157         * lyxfind.C: add code for finding the next change piece
7158
7159         * lyxrc.h:
7160         * lyxrc.C: add user_name and user_email
7161
7162         * lyxrow.h:
7163         * lyxrow.C: add a metric for the top of the text line
7164
7165         * lyxtext.h:
7166         * text.C: implement accept/rejectChange()
7167
7168         * lyxtext.h:
7169         * text.C: paint changebars. Paint new/deleted text in the chosen
7170         colours. Strike through deleted text.
7171
7172         * paragraph.h:
7173         * paragraph.C:
7174         * paragraph_pimpl.h:
7175         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7176           in the current change to the insert functions. Rework erase to
7177           mark text as deleted, adding an eraseIntern() and a range-based
7178           erase(). Implement per-paragraph change lookup and
7179           accept/reject.
7180
7181         * paragraph_funcs.C: Fixup paste for change tracking.
7182
7183         * tabular.C: mark added row/columns as new.
7184
7185         * text.C: fix rowLast() to never return -1. Don't allow
7186           spellchecking of deleted text. Track transpose changes. Don't
7187           allow paragraph break or merge where appropriate.
7188
7189         * text2.C: leave cursor at end of selection after a cut.
7190
7191 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7192
7193         * text.C (getLengthMarkerHeight):
7194         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7195         visible on screen too.
7196
7197 2003-02-07  John Levon  <levon@movementarian.org>
7198
7199         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7200
7201 2003-02-05  Angus Leeming  <leeming@lyx.org>
7202
7203         * lyxserver.C (read_ready): revert my patch of 11 September last year
7204         as it sends PC cpu through the roof. Presumably this means that
7205         the lyxserver will no longer run on an Alpha...
7206
7207 2003-01-30  Angus Leeming  <leeming@lyx.org>
7208
7209         * factory.C (createInset): create an InsetCommandParam of type "index"
7210         and use it to 'do the right thing'.
7211
7212         * text2.C (getStringToIndex): ensure that cursor position is always
7213         reset to the reset_cursor position.
7214
7215 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7216
7217         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7218         disabled.
7219
7220 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7221
7222         * bufferview.C:
7223         * lyxcb.C:
7224         * lyxfunc.C: Output messages with identical spelling, punctuation,
7225         and spaces
7226
7227 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7228
7229         * MenuBackend.C (expandFormats): List only viewable export formats
7230         in "View" menu
7231
7232         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7233         message
7234
7235         * lyxfunc.C (getStatus): Make sure that formats other than
7236         "fax" can also be disabled
7237
7238 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7239
7240         * text3.C (dispatch): put the lfuns that insert insets in 3
7241         groups, and call doInsertInset with appropriate arguments.
7242         (doInsertInset): new function, that creates an inset and inserts
7243         it according to some boolean parameters.
7244
7245 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * buffer.C (readFile): remember to pass on 'par' when calling
7248         readFile recursively.
7249
7250 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7251
7252         * MenuBackend.C (expandFormats): add "..." to import formats.
7253
7254 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7255
7256         * paragraph.C (asString): Remove XForms RTL hacks.
7257
7258 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7259         * buffer.C: fix typo
7260
7261 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * Makefile.am (LIBS): delete var
7264         (lyx_LDADD): add @LIBS@ here instead.
7265
7266 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7267
7268         * Clarify the meaning of "wheel mouse jump"
7269
7270 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7273         tabular in a float
7274
7275 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7276
7277         * importer.C (Loaders): do not preallocate 3 elements in the
7278         vector, since one ends up with 6 elements otherwise
7279
7280 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7281
7282         * DepTable.C (write): write the file name as last element of the
7283         .dep file (because it may contain spaces)
7284         (read): read info in the right order
7285
7286 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7287
7288         * paragraph_pimpl.C (simpleTeXBlanks):
7289         (simpleTeXSpecialChars):
7290         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7291
7292         * tabular.C (latex): add some missing case statements. Reindent.
7293
7294         * MenuBackend.C (expandToc): remove unused variable.
7295
7296 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7297
7298         * LColor.C:
7299         * LaTeX.C:
7300         * LyXAction.C:
7301         * MenuBackend.C:
7302         * buffer.C:
7303         * exporter.C:
7304         * lyxfunc.C:
7305         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7306         and the like.
7307
7308 2003-01-05  John Levon  <levon@movementarian.org>
7309
7310         * BufferView.h:
7311         * BufferView.C: add getEncoding()
7312
7313         * kbsequence.h:
7314         * kbsequence.C: do not store last keypress
7315
7316         * lyxfunc.h:
7317         * lyxfunc.C: store last keypress here instead. Pass encoding
7318           to getISOEncoded()
7319
7320 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * lyx_main.C (init): remove annoying error message when following
7323         symbolic links (bug #780)
7324
7325 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7326
7327         * text.C (insertChar):
7328         * lyxrc.C (getDescription): remove extra spaces
7329
7330 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7331
7332         * lyxrc.C (getDescription): remove extra spaces
7333
7334 2002-12-20  John Levon  <levon@movementarian.org>
7335
7336         * text3.C: hack fix for page up/down across tall rows
7337
7338 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7339
7340         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7341         not been invoked
7342
7343 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7344
7345         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7346         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7347         thesaurus is not compiled in
7348
7349 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7350
7351         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7352
7353 2002-12-16  Angus Leeming  <leeming@lyx.org>
7354
7355         * lyxrc.[Ch]:
7356         * lyx_main.C (init): remove override_x_deadkeys stuff.
7357
7358 2002-12-12  John Levon  <levon@movementarian.org>
7359
7360         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7361           insert. Only remove shift modifier under strict
7362           circumstances.
7363
7364 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * MenuBackend.C (expandToc): fix crash.
7367
7368 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * MenuBackend.C (expandToc): gettext on float names.
7371
7372 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7373
7374         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7375         implement bool empty() [bug 490]
7376
7377 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7380
7381 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * several files: ws changes
7384
7385 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * text2.C (setCounter): clean up a bit, use boost.format.
7388         (updateCounters): initialize par upon declaration.
7389
7390         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7391         if the layout exists. We do not just store the layout any more.
7392         (SwitchLayoutsBetweenClasses): use boost.format
7393
7394 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7395
7396         * converter.C (convert): if from and to files are the same, use a
7397         temporary files as intermediary
7398
7399 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7400
7401         * commandtags.h:
7402         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7403
7404 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7405
7406         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7407
7408 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7409
7410         * tabular.C (asciiPrintCell): use string(size, char) instead of
7411         explicit loop.
7412
7413         * sgml.C (openTag): fix order of arguments to string constructor
7414         (closeTag): ditto
7415
7416         * lyxfunc.C (dispatch): use boost.format
7417
7418         * lots of files: change "c" -> 'c'
7419
7420 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7421
7422         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7423
7424 2002-11-25  Angus Leeming  <leeming@lyx.org>
7425
7426         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7427
7428         * lyx_main.C (init): compile fix.
7429
7430 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * lyx_cb.C (start): boost.formatify
7433         do not include <iostream>
7434
7435         * lengthcommon.C: ws only
7436
7437         * boost-inst.C,BoostFormat.h: add more explict instantations
7438
7439 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * lots of files: handle USE_BOOST_FORMAT
7442
7443 2002-11-21  John Levon  <levon@movementarian.org>
7444
7445         * pspell.C: fix compile
7446
7447 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7448
7449         * lyxfunc.C (dispatch): use boost::format
7450         (open): ditto
7451         (doImport): ditto
7452
7453         * lyxfont.C (stateText): use boost::format
7454
7455         * lyx_main.C (LyX): use boost::format
7456         (init): ditto
7457         (queryUserLyXDir): ditto
7458         (readRcFile): ditto
7459         (parse_dbg): ditto
7460         (typedef boost::function): use the recommened syntax.
7461
7462         * importer.C (Import): use boost::format
7463
7464         * debug.C (showLevel): use boost::format
7465
7466         * converter.C (view): use boost::format
7467         (convert): ditto
7468         (move): ditto
7469         (scanLog): ditto
7470
7471         * bufferview_funcs.C (currentState): use boost::format
7472
7473         * bufferlist.C (emergencyWrite): use boost::format
7474
7475         * buffer.C (readLyXformat2): use boost::format
7476         (parseSingleLyXformat2Token): ditto
7477
7478         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7479
7480         * LaTeX.C (run): use boost::format
7481
7482         * Chktex.C (scanLogFile): use boost::format
7483
7484         * BufferView_pimpl.C (savePosition): use boost::format
7485         (restorePosition): ditto
7486         (MenuInsertLyXFile): ditto
7487
7488         * BoostFormat.h: help file for explicit instation.
7489
7490 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7491
7492         * tabular.C (latex): Support for block alignment in fixed width
7493         columns.
7494
7495 2002-11-17  John Levon  <levon@movementarian.org>
7496
7497         * BufferView_pimpl.C:
7498         * lyx_cb.C:
7499         * lyxfunc.C: split filedialog into open/save
7500
7501 2002-11-08  Juergen Vigna  <jug@sad.it>
7502
7503         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7504         by my last patch (hopefully).
7505
7506 2002-11-08  John Levon  <levon@movementarian.org>
7507
7508         * iterators.h:
7509         * iterators.C:
7510         * buffer.h:
7511         * buffer.C:
7512         * paragraph.h:
7513         * paragraph.C:
7514         * toc.h:
7515         * toc.C: ParConstIterator, and use it (from Lars)
7516
7517 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7518
7519         * lyxtextclass.[Ch]: revise and add doxygen comments
7520
7521 2002-11-07  John Levon  <levon@movementarian.org>
7522
7523         * text.C: fix progress value for spellchecker
7524
7525         * toc.C: fix navigate menu for insetwrap inside minipage
7526
7527         * paragraph_funcs.C: added FIXME for suspect code
7528
7529 2002-11-07  John Levon  <levon@movementarian.org>
7530
7531         * BufferView_pimpl.C: fix redrawing of insets
7532           on buffer switch
7533
7534 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7535
7536         * text2.C (updateCounters): fix bug 668
7537
7538 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7539
7540         * text3.C (dispatch): Do not make the buffer dirty when moving the
7541         cursor.
7542
7543 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * vc-backend.C: STRCONV
7546         (scanMaster): ditto
7547
7548         * text2.C (setCounter): STRCONV
7549
7550         * paragraph.C (asString): STRCONV
7551
7552         * lyxlength.C (asString): STRCONV
7553         (asLatexString): ditto
7554
7555         * lyxgluelength.C (asString): STRCONV
7556         (asLatexString): ditto
7557
7558         * lyxfunc.C (dispatch): STRCONV
7559         (open): ditto
7560
7561         * lyxfont.C (stateText): STRCONV
7562
7563         * importer.C (Import): STRCONV
7564
7565         * counters.C (labelItem): STRCONV
7566         (numberLabel): ditto
7567         (numberLabel): remove unused ostringstream o
7568
7569         * chset.C: STRCONV
7570         (loadFile): ditto
7571
7572         * bufferview_funcs.C (currentState): STRCONV
7573
7574         * buffer.C (readFile): STRCONV
7575         (asciiParagraph): ditto
7576         (makeLaTeXFile): ditto
7577
7578         * Spacing.C (writeEnvirBegin): STRCONV
7579
7580         * LaTeXFeatures.C (getLanguages): STRCONV
7581         (getPackages): ditto
7582         (getMacros): ditto
7583         (getBabelOptions): ditto
7584         (getTClassPreamble): ditto
7585         (getLyXSGMLEntities): ditto
7586         (getIncludedFiles): ditto
7587
7588         * LaTeX.C: STRCONV
7589         (run): ditto
7590         (scanAuxFile): ditto
7591         (deplog): ditto
7592
7593         * LString.h: add the STRCONV macros
7594
7595         * BufferView_pimpl.C (savePosition): STRCONV
7596         (restorePosition): ditto
7597         (MenuInsertLyXFile): ditto
7598
7599         * vc-backend.C (scanMaster): change from submatch[...] to
7600         submatch.str(...)
7601
7602         * funcrequest.C: include config.h
7603
7604         * factory.C: include config.h
7605
7606         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7607
7608         * box.C: include config.h
7609
7610         * LaTeX.C (scanAuxFile): change from submatch[...] to
7611         submatch.str(...)
7612         (deplog): ditto
7613
7614 2002-10-25  Angus Leeming  <leeming@lyx.org>
7615
7616         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7617
7618         * ispell.[Ch] (setError): new method.
7619         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7620         Use setError() insetead of goto END.
7621
7622         * lyx_cb.C (AutoSave): move out child process into new class
7623         AutoSaveBuffer.
7624
7625 2002-10-30  John Levon  <levon@movementarian.org>
7626
7627         * text3.C: make start appendix undoable
7628
7629 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7630
7631         * lyxlength.C (inPixels): Fix returned value.
7632
7633         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7634         environment.
7635
7636 2002-10-24  Angus Leeming  <leeming@lyx.org>
7637
7638         * lyxgluelength.h: no need to forward declare BufferParams
7639         or BufferView, so don't.
7640
7641 2002-10-21  John Levon  <levon@movementarian.org>
7642
7643         * BufferView.C: menuUndo ->undo, redo
7644
7645         * BufferView.h: document, remove dead, make some methods private
7646
7647         * paragraph_funcs.h:
7648         * paragraph_funcs.C:
7649         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7650
7651         * buffer.h:
7652         * buffer.C:
7653         * sgml.h:
7654         * sgml.C: move sgml open/close tag into sgml.C
7655
7656         * bufferview_funcs.h: unused prototype
7657
7658         * lyxfunc.h:
7659         * lyxfunc.C: remove unused
7660
7661         * lyxtext.h:
7662         * text.C: remove unused
7663
7664 2002-10-21  John Levon  <levon@movementarian.org>
7665
7666         * BufferView.h:
7667         * BufferView.C:
7668         * BufferView_pimpl.h:
7669         * BufferView_pimpl.C: fix mouse wheel handling based on
7670           patch from Darren Freeman
7671
7672 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7673
7674         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7675
7676 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7677
7678         * lyxlength.C (inPixels): Fix hanfling of negative length.
7679         Fix LyXLength::MU case.
7680
7681 2002-10-16  John Levon  <levon@movementarian.org>
7682
7683         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7684
7685 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7686
7687         * converter.C (view): add support for $$i (file name) and $$p
7688         (file path) for the viewer command. If $$i is not specified, then
7689         it is appended to the command (for compatibility with old syntax)
7690
7691 2002-10-14  Juergen Vigna  <jug@sad.it>
7692
7693         * undo_funcs.C (textHandleUndo): alter the order in which the
7694         new undopar is added to the LyXText, as we have to set first
7695         the right prev/next and then add it as otherwise the rebuild of
7696         LyXText is not correct. Also reset the cursor to the right paragraph,
7697         with this IMO we could remove the hack in "redoParagraphs()".
7698
7699 2002-10-09  Angus Leeming  <leeming@lyx.org>
7700
7701         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7702         to turn off an optimisation if a new inset is to be inserted.
7703
7704 2002-10-11 André Pönitz <poenitz@gmx.net>
7705
7706         * lyxtext.h: make some functions public to allow access
7707         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7708
7709 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7710
7711         * text3.C (dispatch): when changing layout, avoid an infinite loop
7712         [bug #652]
7713
7714 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7715
7716         * lyxrc.C (read): treat a viewer or converter command of "none" as
7717         if it were empty.
7718
7719         * MenuBackend.C (expandFormats): for an update, also allow the
7720         formats that are not viewable
7721
7722         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7723         script if it is newer than the lyxrc.defaults in user directory
7724
7725 2002-10-07 André Pönitz <poenitz@gmx.net>
7726
7727         * text.C: Vitaly Lipatov's small i18n fix
7728
7729 2002-09-25  Angus Leeming  <leeming@lyx.org>
7730
7731         * ispell.h: doxygen fix.
7732
7733 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7734
7735         * buffer.h (readFile): Add a new argument to the method, to allow
7736         reading of old-format templates.
7737
7738 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * toc.C (getTocList): Get TOC from InsetWrap.
7741
7742 2002-09-16  John Levon  <levon@movementarian.org>
7743
7744         * lyxfunc.C: check tabular for cut/copy too
7745
7746 2002-09-12  John Levon  <levon@movementarian.org>
7747
7748         * LyXAction.C: tidy
7749
7750         * factory.h:
7751         * factory.C: add header
7752
7753         * paragraph_funcs.h:
7754         * paragraph_funcs.C: cleanup
7755
7756 2002-09-11  John Levon  <levon@movementarian.org>
7757
7758         * PrinterParams.h: odd/even default to true
7759
7760 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7761
7762         * PrinterParams.h: update printer parameters for new xforms dialog
7763
7764 2002-09-11  Angus Leeming  <leeming@lyx.org>
7765
7766         * lyxserver.C (read_ready): re-write to make it more transparent
7767         and to make it work in coherent fashion under Tru64 Unix.
7768
7769 2002-09-11  André Pönitz <poenitz@gmx.net>
7770
7771         * commandtags.h:
7772         * LyXAction.C:
7773         * text3.C: implement LFUN_WORDSEL
7774
7775 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7778         make floatlist_ a boost::shared_ptr<FloatList>
7779
7780         * lyxtextclass.C: include FloatList.h
7781         (LyXTextClass): initialize floatlist_
7782         (TextClassTags): add TC_NOFLOAT
7783         (Read): match "nofloat" to TC_NOFLOAT and use it.
7784         (readFloat): modify call to floatlist_
7785         (floats): ditto
7786         (floats): ditto
7787
7788         * FloatList.[Ch] (FloatList): remove commented out float
7789         initialization.
7790         (erase): new function
7791
7792 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7793
7794         * MenuBackend.C (expandToc): fix crash when there is no document
7795         open
7796
7797 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7798
7799         * many files: Add insetwrap.
7800
7801 2002-09-09  John Levon  <levon@movementarian.org>
7802
7803         * text2.C: remove confusing and awkward depth wraparound
7804
7805 2002-09-09  John Levon  <levon@movementarian.org>
7806
7807         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7808
7809         * buffer.h:
7810         * buffer.C: remove getIncludeonlyList()
7811
7812         * paragraph.C:
7813         * lyxfunc.C: remove headers
7814
7815 2002-09-09  Juergen Vigna  <jug@sad.it>
7816
7817         * text.C (getColumnNearX): fix form Michael this is most
7818         probably a cut&paste bug.
7819
7820 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7823
7824         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7825         references, ws changes.
7826
7827         * text2.C (init): update counters after init
7828         (insertParagraph): no need to set counter on idividual paragraphs.
7829         (setCounter): access the counters object in the textclass object
7830         on in the buffer object.
7831         (updateCounters): ditto
7832
7833         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7834         shared_ptr<Counters> to avoid loading counters.h in all
7835         compilation units.
7836         (LyXTextClass): initialize ctrs_
7837         (TextClassTags): add TC_COUNTER, and ...
7838         (Read): use it here.
7839         (CounterTags): new tags
7840         (readCounter): new function
7841         (counters): new funtion
7842         (defaultLayoutName): return a const reference
7843
7844         * counters.C (Counters): remove contructor
7845         (newCounter): remove a couple of unneeded statements.
7846         (newCounter): simplify a bit.
7847         (numberLabel): some small formatting changes.
7848
7849         * buffer.[Ch]: remove all traces of counters, move the Counters
7850         object to the LyXTextClass.
7851
7852 2002-09-06  Alain Castera  <castera@in2p3.fr>
7853
7854         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7855         package to set the horizontal alignment on fixed width columns.
7856
7857         * lyx_sty.C:
7858         * lyx_sty.h: added tabularnewline macro def.
7859
7860         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7861
7862 2002-09-06  John Levon  <levon@movementarian.org>
7863
7864         * LyXAction.C: tooltips for sub/superscript
7865
7866         * MenuBackend.C: a bit more verbose
7867
7868         * lyxfunc.C: tiny clean
7869
7870         * undo_funcs.C: document undo_frozen
7871
7872 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * counters.C (Counters): add missing algorithm counter.
7875
7876         * text2.C (setCounter): lookup the counter with layouts latexname
7877         instead of by section number.
7878         (setCounter): use a hackish way to lookup the correct enum
7879         counter.
7880         a float name->type change
7881         reset enum couners with counter name directly instead of depth value.
7882
7883         * counters.C (Counters): remove the push_backs, change to use the
7884         float type not the float name.
7885         (labelItem): remove unused string, float name->type change
7886
7887         * counters.h: don't include vector, loose the enums and sects vectors
7888
7889 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7890
7891         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7892         (Read): add float->TC_FLOAT to textclassTags
7893         (Read): and handle it in the switch
7894         (readFloat): new function
7895
7896         * FloatList.C (FloatList): comment out the hardcoded float
7897         definitions.
7898
7899         * lyxlayout.h: ws change.
7900
7901 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7902
7903         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7904
7905 2002-09-03  Angus Leeming  <leeming@lyx.org>
7906
7907         * BufferView_pimpl.h: qualified name is not allowed in member
7908         declaration: WorkArea & Pimpl::workarea() const;
7909
7910         * factory.C: added using std::endl directive.
7911
7912         * text3.C: added using std::find and std::vector directives.
7913
7914 2002-08-29  André Pönitz <poenitz@gmx.net>
7915
7916         * lyxtext.h:
7917         * text2.C: remove unused member number_of_rows
7918
7919         * Makefile.am:
7920         * BufferView2.C: remove file, move contents to...
7921         * BufferView.C: ... here
7922
7923         * BufferView_pimpl.C:
7924         * factory.C: move more inset creation to factory
7925
7926         * vspace.C: avoid direct usage of LyXText, ws changes
7927
7928         * BufferView.[Ch]:
7929                 don't provide direct access to WorkArea, use two simple
7930                 acessors haveSelction() and workHeight() instead
7931
7932
7933 2002-08-29  John Levon  <levon@movementarian.org>
7934
7935         * BufferView_pimpl.C (dispatch): do not continue when
7936           no buffer
7937
7938 2002-08-28  André Pönitz <poenitz@gmx.net>
7939
7940         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7941
7942         * BufferView.h:
7943         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7944
7945 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7946
7947         * buffer.C: increment LYX_FORMAT to 221
7948
7949         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7950         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7951
7952         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7953
7954         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7955
7956 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7957
7958         * factory.C (createInset): use LyXTextClass::floats
7959
7960         * MenuBackend.C (expandFloatListInsert):
7961         (expandFloatInsert):
7962         (expandToc):
7963
7964         * text2.C (setCounter):
7965
7966         * LaTeXFeatures.C (useFloat):
7967         (getFloatDefinitions):
7968
7969         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7970
7971         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7972         floatlist_, with accessor floats().
7973
7974         * FloatList.h: remove global FloatList
7975
7976 2002-08-26  André Pönitz <poenitz@gmx.net>
7977
7978         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7979
7980         * BufferView.h:
7981         * BufferView2.C:
7982         * BufferView_pimpl.C:
7983         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7984
7985 2002-08-25  John Levon  <levon@movementarian.org>
7986
7987         * LyXAction.C: fix margin note description
7988
7989 2002-08-24  John Levon  <levon@movementarian.org>
7990
7991         * buffer.C:
7992         * bufferlist.C:
7993         * bufferview_funcs.C:
7994         * lyxfont.C:
7995         * undo_funcs.C: cleanups
7996
7997         * lyxfunc.C: disable CUT/COPY when no selection
7998
7999 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8000
8001         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8002         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8003
8004         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8005         Add backward compatibility to "mono", "gray" and "no".
8006
8007 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8008
8009         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8010         (and file_format >= 200).
8011
8012 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8013
8014         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8015
8016 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8017
8018         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8019
8020 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8021
8022         * BufferView_pimpl.C:
8023         * LyXAction.C:
8024         * buffer.C:
8025         * commandtags.h:
8026         * lyxfunc.C:
8027         * paragraph.[Ch]:
8028         * text2.C:
8029         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8030         inset and code to make it  work with the paragraph code. The inset
8031         can be anywhere in the paragraph, but will only do the expected
8032         thing in LaTeX if the layout file contains the parameter line
8033                         OptionalArgs    1
8034         (or more generally, a nonzero value) for that layout.
8035
8036 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * paragraph.h: remove the declaration of undefined counters class
8039         function.
8040
8041 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8042
8043         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8044         Dr. Richard Hawkins.
8045
8046 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * paragraph_funcs.h: remove some unneeded includes
8049
8050         * text.C (backspace): pasteParagraph now in global scipe
8051
8052         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8053         (pasteSelection): ditto
8054
8055         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8056         * paragraph_funcs.C (pasteParagraph): ... here
8057
8058 2002-08-20  André Pönitz <poenitz@gmx.net>
8059
8060         * commandtags.h: new LFUNs for swapping/copying table row/colums
8061
8062         * LyXAction.C:
8063         * lyxfunc.C: support for new lfuns
8064
8065 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * tabular.C:
8068         * buffer.[Ch]: remove NO_COMPABILITY stuff
8069
8070 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * boost.C (throw_exception): new file, with helper function for
8073         boost compiled without exceptions.
8074
8075         * paragraph.h:
8076         * lyxlength.C:
8077         * buffer.C:
8078         * ParameterStruct.h:
8079         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8080
8081         * bufferlist.C (emergencyWriteAll): use boost bind
8082
8083         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8084
8085         * text.C: include paragraph_funcs.h
8086         (breakParagraph): breakParagraph is now in global scope
8087
8088         * paragraph_funcs.[Ch]: new files
8089
8090         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8091         global scope
8092
8093         * buffer.C: include paragraph_funcs.h
8094         (insertStringAsLines): breakParagraph is now in global scope
8095
8096         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8097         paragraph_funcs.C
8098
8099         * CutAndPaste.C: include paragraph_funcs.h
8100         (cutSelection): breakParagraphConservative is now in global scope
8101         (pasteSelection): ditto
8102
8103         * buffer.h: declare oprator== and operator!= for
8104         Buffer::inset_iterator
8105
8106         * bufferlist.C (emergencyWrite): don't use fmt(...)
8107
8108         * text3.C: add using std::endl
8109
8110         * BufferView.C (moveCursorUpdate): remove default arg
8111
8112 2002-08-20  André Pönitz <poenitz@gmx.net>
8113
8114         * buffer.[Ch]: move inline functions to .C
8115
8116         * BufferView2.C:
8117         * BufferView_pimpl.C:
8118         * text.C:
8119         * buffer.[Ch]: use improved inset_iterator
8120
8121         * buffer.C:
8122         * paragraph.[Ch]: write one paragraph at a time
8123
8124 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8127         style if style is not specified.
8128
8129 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8130
8131         * text2.C (setCounter): when searching for right label for a
8132         caption, make sure to recurse to parent insets (so that a caption
8133         in a minipage in a figure float works) (bug #568)
8134
8135 2002-08-20  André Pönitz <poenitz@gmx.net>
8136
8137         * text3.C: new file for LyXText::dispatch() and helpers
8138
8139         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8140
8141         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8142
8143 2002-08-19  André Pönitz <poenitz@gmx.net>
8144
8145         * lyxtext.h:
8146         * text.C: new LyXText::dispatch()
8147
8148         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8149
8150 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8151
8152         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8153
8154         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8155         Hebrew text.
8156
8157 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * Makefile.am: use $(variables) instead of @substitutions@
8160
8161 2002-08-15  André Pönitz <poenitz@gmx.net>
8162
8163         * lyxfunc.C:
8164         * BufferView_pimpl.C: streamlining mathed <-> outer world
8165         interaction
8166
8167         * commandtags.h:
8168         * LyXAction.C: remove unused LFUN_MATH
8169
8170 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8173
8174 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * paragraph.C (Paragraph): reformat a bit
8177         (cutIntoMinibuffer): use builtin InsetList function instad of
8178         doing it manually.
8179         (getInset): ditto
8180
8181         * buffer.C: include boost/bind.hpp, add using std::for_each
8182         (writeFileAscii): use ParagraphList iterators
8183         (validate): use for_each for validate traversal of paragraphs
8184         (getBibkeyList): use ParagraphList iterators
8185         (resizeInsets): use for_each to resizeInsetsLyXText for all
8186         paragraphs.
8187         (getParFromID): use ParagraphList iterators
8188
8189         * BufferView2.C (lockInset): use paragraph list and iterators
8190
8191 2002-08-14  John Levon  <levon@movementarian.org>
8192
8193         * lyxserver.C: remove spurious xforms include
8194
8195 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8196
8197         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8198
8199 2002-08-13  André Pönitz <poenitz@gmx.net>
8200
8201         * LyXAction.[Ch]:
8202         * lyxfunc.C: further cleaning
8203
8204 2002-08-13  André Pönitz <poenitz@gmx.net>
8205
8206         * funcrequest.h: new constructor
8207
8208         * funcrequest.C: move stuff here from .h
8209
8210         * Makefile.am:
8211         * BufferView_pimpl.C:
8212         * LyXAction.C:
8213         * toc.C:
8214         * lyxfunc.C: subsequent changes
8215
8216         * lyxfunc.h: new view() member function
8217
8218         * lyxfunc.C: subsequent changes
8219
8220 2002-08-13  Angus Leeming  <leeming@lyx.org>
8221
8222         * BufferView2.C:
8223         * BufferView_pimpl.C:
8224         * buffer.C:
8225         * converter.C:
8226         * importer.C:
8227         * lyxfunc.C:
8228         * lyxvc.C:
8229         * toc.C:
8230         * vc-backend.C:
8231         changes due to the changed LyXView interface that now returns references
8232         to member variables not pointers.
8233
8234 2002-08-13  Angus Leeming  <leeming@lyx.org>
8235
8236         * WordLangTuple (word, lang_code): return references to strings,
8237         not strings.
8238
8239         * BufferView.h:
8240         * SpellBase.h:
8241         * lyxtext.h: forward-declare WordLangTuple.
8242
8243         * BufferView2.C:
8244         * ispell.C:
8245         * pspell.C:
8246         * text.C: #include "WordLangTuple.h".
8247
8248         * lyxtext.h:
8249         * text.C: (selectNextWordToSpellcheck): constify return type.
8250
8251 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8252
8253         * buffer.C:
8254         * buffer.h:
8255         * lyxtext.h:
8256         * paragraph.C:
8257         * paragraph_pimpl.h:
8258         * text.C:
8259         * text2.C:
8260         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8261         suggested by Angus.
8262         Made updateCounter always count from start of buffer, and removed
8263         second argument (par).
8264         Reverted floats number display to '#'. Perhaps I'll try again when the
8265         code base is sanitized a bit.
8266
8267 2002-08-12  Angus Leeming  <leeming@lyx.org>
8268
8269         * buffer.[Ch] (getLabelList): constify.
8270
8271 2002-08-07  André Pönitz <poenitz@gmx.net>
8272
8273         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8274
8275         * funcrequest.h: extension to keep mouse (x,y) position
8276
8277 2002-08-12  Juergen Vigna  <jug@sad.it>
8278
8279         * BufferView2.C (insertErrors): forbid undo when inserting error
8280         insets.
8281
8282         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8283
8284 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * ParagraphList.[Ch]: new files
8287
8288         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8289
8290         * BufferView2.C (lockInset): ParagraphList changes
8291         * toc.C: ditto
8292         * text2.C: ditto
8293         * bufferlist.C: ditto
8294         * buffer.h: ditto
8295         * buffer.C: ditto
8296
8297 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8298
8299         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8300         unused class variable counter_,
8301
8302         * paragraph.[Ch] (getFirstCounter): delete unused function
8303
8304         * counters.C: include LAssert.h
8305         (reset): add a new function with no arg, change other version to
8306         not have def. arg and to not allow empty arg.
8307
8308         * text2.C (setCounter): remove empty arg from call to Counters::reset
8309
8310 2002-08-11  John Levon  <levon@movementarian.org>
8311
8312         * Makefile.am: add WordLangTuple.h
8313
8314 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8317         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8318
8319         * insets/insettext.C: InsetList changes
8320
8321         * graphics/GraphicsSupport.C (operator()): InsetList changes
8322
8323         * toc.C (getTocList): InsetList changes
8324
8325         * paragraph_pimpl.[Ch]: InsetList changes
8326
8327         * paragraph.[Ch]: InsetList changes
8328
8329         * buffer.C (inset_iterator): InsetList changes
8330         (setParagraph): ditto
8331         * buffer.h (inset_iterator): ditto
8332         * iterators.C (operator++): ditto
8333         * iterators.h: ditto
8334
8335         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8336
8337         * InsetList.[Ch]: new files, most InsetList handling moved out of
8338         paragraph.C.
8339
8340         * BufferView2.C (removeAutoInsets): InsetList changes
8341         (lockInset): ditto
8342         (ChangeInsets): ditto
8343
8344 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * paragraph_pimpl.h (empty): new function
8347
8348         * paragraph.[Ch] (empty): new function
8349
8350         * other files: use the new Paragraph::empty function
8351
8352 2002-08-09  John Levon  <levon@movementarian.org>
8353
8354         * lyxtext.h: remove unused refresh_height
8355
8356 2002-08-09  John Levon  <levon@movementarian.org>
8357
8358         * Makefile.am:
8359         * sgml.h:
8360         * sgml.C:
8361         * buffer.C:
8362         * paragraph.h:
8363         * paragraph.C: move sgml char escaping out of paragraph
8364
8365         * paragraph.h:
8366         * paragraph.C: remove id setter
8367
8368         * buffer.C:
8369         * paragraph.C:
8370         * paragraph_pimpl.C: remove dead tex_code_break_column
8371
8372         * bufferview_funcs.C: small cleanup
8373
8374         * lyxfunc.C: remove dead proto
8375
8376         * lyxtext.h: make some stuff private. Remove some dead stuff.
8377
8378         * lyxgluelength.C: make as[LyX]String() readable
8379
8380 2002-08-08  John Levon  <levon@movementarian.org>
8381
8382         * LyXAction.h:
8383         * LyXAction.C:
8384         * MenuBackend.C:
8385         * ToolbarDefaults.C:
8386         * lyxfunc.C:
8387         * lyxrc.C:
8388         * toc.C: lyxaction cleanup
8389
8390 2002-08-08  John Levon  <levon@movementarian.org>
8391
8392         * BufferView2.C: small cleanup
8393
8394         * lyxfind.h:
8395         * lyxfind.C: move unnecessary header into the .C
8396
8397 2002-08-08  John Levon  <levon@movementarian.org>
8398
8399         * funcrequest.h: just tedious nonsense
8400
8401         * lyx_main.h:
8402         * lyx_main.C: cleanups
8403
8404         * buffer.C:
8405         * vspace.C: remove dead header lyx_main.h
8406
8407 2002-08-07  Angus Leeming  <leeming@lyx.org>
8408
8409         * Paragraph.[Ch]:
8410         * paragraph_pimpl.h:
8411         Forward declare class Counters in paragraph.h by moving the ctrs member
8412         variable into Paragraph::Pimpl.
8413         (counters): new method, returning a reference to pimpl_->ctrs.
8414
8415         * text2.C: ensuing changes.
8416
8417 2002-08-07  John Levon  <levon@movementarian.org>
8418
8419         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8420
8421         * BufferView_pimpl.C: announce X selection on double/triple
8422           click
8423
8424         * lyx_main.C: use correct bool in batch dispatch
8425
8426         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8427
8428 2002-08-07  André Pönitz <poenitz@gmx.net>
8429
8430         * funcrequest.h: new class to wrap a kb_action and its argument
8431
8432         * BufferView.[Ch]:
8433         * BufferView_pimpl[Ch]:
8434         * LaTeX.C:
8435         * LyXAction.[Ch]:
8436         * lyxfunc.[Ch]:
8437         * lyxrc.C: subsequent changes
8438
8439
8440 2002-08-07  John Levon  <levon@movementarian.org>
8441
8442         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8443           document options change.
8444
8445 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8446
8447         * counters.[Ch]
8448         * text2.C
8449         * paragraph.[Ch]
8450         * makefile.am: move counters functionality over from
8451         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8452
8453 2002-08-06  John Levon  <levon@movementarian.org>
8454
8455         * WordLangTuple.h: new file for word + language code tuple
8456
8457         * SpellBase.h:
8458         * pspell.h:
8459         * pspell.C:
8460         * ispell.h:
8461         * ispell.C:
8462         * lyxtext.h:
8463         * text.C:
8464         * text2.C:
8465         * BufferView.h:
8466         * BufferView2.C: use WordLangTuple
8467
8468         * layout.h:
8469         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8470
8471 2002-08-06  John Levon  <levon@movementarian.org>
8472
8473         * lyx_main.C: fix cmdline batch handling
8474
8475 2002-08-06  André Pönitz <poenitz@gmx.net>
8476
8477         * lyxrc.C: set default for show_banner to true
8478
8479 2002-08-06  John Levon  <levon@movementarian.org>
8480
8481         * pspell.C: fix a crash, and allow new aspell to work
8482
8483 2002-08-06  John Levon  <levon@movementarian.org>
8484
8485         * lyxfunc.C:
8486         * kbmap.C: small cleanup
8487
8488         * vspace.h:
8489         * vspace.C: add const
8490
8491 2002-08-05  John Levon  <levon@movementarian.org>
8492
8493         * LyXAction.C: back to tabular-insert
8494
8495 2002-08-04  John Levon  <levon@movementarian.org>
8496
8497         * BufferView.h:
8498         * BufferView.C: cosmetic change
8499
8500         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8501
8502         * bufferlist.C:
8503         * buffer.h:
8504         * buffer.C:
8505         * lyxcb.h:
8506         * lyxcb.C:
8507         * lyxserver.C:
8508         * lyxvc.C:
8509         * vc-backend.C:
8510         * BufferView2.C: purge all "Lyx" not "LyX" strings
8511
8512         * lyxcursor.h:
8513         * lyxcursor.C: attempt to add some documentation
8514
8515         * lyxfunc.C:
8516         * commandtags.h:
8517         * LyXAction.C:
8518         * ToolbarDefaults.C:
8519         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8520           merge with LFUN_TABULAR_INSERT
8521
8522         * Makefile.am:
8523         * SpellBase.h:
8524         * ispell.h:
8525         * ispell.C:
8526         * pspell.h:
8527         * pspell.C: split up i/pspell implementations into separate
8528           files, many cleanups
8529
8530         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8531
8532         * text2.C: some cleanup
8533
8534         * lyxfunc.C: don't check for isp_command == "none" any more, it
8535           didn't make any sense
8536
8537 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8538
8539         * counters.[Ch]
8540         * text2.C
8541         * paragraph.[Ch]
8542         * makefile.am: move counters functionality over
8543         from text2.C/paragraph.[Ch] to counters.[Ch], and
8544         make proper C++.
8545 2002-08-02  John Levon  <levon@movementarian.org>
8546
8547         * buffer.C: s/lyxconvert/lyx2lyx/
8548
8549 2002-08-02  Angus Leeming  <leeming@lyx.org>
8550
8551         * lyxlex.C: revert John's change as it breaks reading of the user
8552         preamble.
8553
8554 2002-08-02  Angus Leeming  <leeming@lyx.org>
8555
8556         * importer.C (Import):
8557         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8558         changes due to LyXView::view() now returning a boost::shared_ptr.
8559
8560 2002-08-02  John Levon  <levon@movementarian.org>
8561
8562         * lyxlex.C: small cleanup
8563
8564 2002-08-02  John Levon  <levon@movementarian.org>
8565
8566         * text2.C (status): small cleanup, no logic change
8567
8568 2002-08-01  John Levon  <levon@movementarian.org>
8569
8570         * buffer.h:
8571         * buffer.C (writeFile): don't output alerts, caller
8572           handles this
8573
8574         * bufferlist.C:
8575         * lyx_cb.C: from above
8576
8577         * lyxfunc.C: allow to open non-existent files
8578
8579 2002-07-31  John Levon  <levon@movementarian.org>
8580
8581         * lyxserver.C: don't let incidental errors get
8582           in the way (errno)
8583
8584 2002-07-30  John Levon  <levon@movementarian.org>
8585
8586         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8587
8588 2002-07-30  John Levon  <levon@movementarian.org>
8589
8590         * lyxserver.h:
8591         * lyxserver.C: remove I/O callback too
8592
8593 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8596         log.
8597
8598 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * many files: strip,frontStrip -> trim,ltrim,rtrim
8601
8602 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * PrinterParams.h: remove extern containsOnly, and include
8605         support/lstrings.h instead.
8606
8607         * LaTeX.C (scanAuxFile): modify because of strip changes
8608         (deplog): ditto
8609         * buffer.C (makeLaTeXFile): ditto
8610         * bufferparams.C (writeFile): ditt
8611         * lyxfont.C (stateText): ditto
8612         * lyxserver.C (read_ready): ditto
8613         * vc-backend.C (scanMaster): ditto
8614
8615         * BufferView_pimpl.h: ws changes
8616
8617         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8618
8619 2002-07-26  André Pönitz <poenitz@gmx.net>
8620
8621         * kb_sequence.C: remove unnedred usings
8622
8623 2002-07-26  Juergen Vigna  <jug@sad.it>
8624
8625         * lyxfind.C (LyXReplace): we have to check better if the returned
8626         text is not of theLockingInset()->getLockingInset().
8627
8628 2002-07-25  Juergen Vigna  <jug@sad.it>
8629
8630         * lyxfind.C (LyXReplace): don't replace if we don't get the
8631         right LyXText.
8632
8633         * undo_funcs.C (createUndo): remove debugging code.
8634
8635 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8636
8637         * buffer.C (parseSingleLyXformat2Token): Use default placement
8638         when reading old floats.
8639
8640         * FloatList.C (FloatList): Change the default placement of figure
8641         and tables to "tbp".
8642
8643 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8644
8645         * MenuBackend.C: using std::max
8646
8647 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * MenuBackend.C (expandToc):
8650         (expandToc2): code moved from xforms menu frontend. It is now
8651         generic and TOCs are transparent to menu frontends.
8652
8653 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * toc.C (getTocList): protect against buf=0
8656
8657         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8658         Menu as first parameter. Now, this calls itself recursively to
8659         expand a whole tree (this will be useful for TOC handling)
8660         (expandFloatInsert): remove 'wide' version of floats
8661
8662         * MenuBackend.h (submenuname): returns the name of the submenu.
8663         (submenu): returns the submenu itself, provided it has been
8664         created by MenuBackend::expand
8665
8666 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8667
8668         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8669         insets which have noFontChange == true. (bug #172)
8670
8671 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8672
8673         * BufferView_pimpl.C: add connection objects and use them...
8674         (Pimpl): here.
8675
8676 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8677
8678         * MenuBackend.C (expandLastfiles):
8679         (expandDocuments):
8680         (expandFormats):
8681         (expandFloatListInsert):
8682         (expandFloatInsert):
8683         (expand): split expand in parts
8684
8685 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * lyx_gui.C: use lyx_gui::exit()
8688
8689 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8690
8691         * LyXAction.C: show the failing pseudo action
8692
8693 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8694
8695         * buffer.C (readFile): Run the lyxconvert script in order to read
8696         old files.
8697
8698 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8699
8700         * LyXAction.C:
8701         * commandtags.h:
8702         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8703
8704 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * LyXAction.C:
8707         * commandtags.h:
8708         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8709
8710 2002-07-22  Herbert Voss  <voss@lyx.org>
8711
8712         * lengthcommon.C:
8713         * lyxlength.[Ch]: add support for the vertical lengths
8714
8715 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8716
8717         * toc.[Ch]: std:: fixes
8718
8719 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * lyxrc.C: do not include lyx_main.h
8722
8723         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8724         for layouts
8725
8726         * lyxrc.C:
8727         * encoding.C:
8728         * bufferlist.C:
8729         * BufferView2.C: include "lyxlex.h"
8730
8731         * tabular.h:
8732         * bufferparams.h: do not #include "lyxlex.h"
8733
8734         * lyxtextclasslist.C (Add): remove method
8735         (classlist): renamed to classlist_
8736
8737         * paragraph_pimpl.C:
8738         * paragraph.C:
8739         * text2.C:
8740         * CutAndPaste.C:
8741         * bufferview_funcs.C:
8742         * bufferlist.C:
8743         * text.C:
8744         * LaTeXFeatures.C:
8745         * buffer.C:
8746         * toc.C (getTocList): use BufferParams::getLyXTextClass
8747
8748         * toc.C (getTocList): use InsetFloat::addToToc
8749
8750         * toc.[Ch]: new files, containing helper functions to handle table
8751         of contents
8752
8753         * lyxfunc.C (dispatch): no need to remove spaces around command
8754         given as a string
8755         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8756         first command of the sequence; it is not very clever, but I do not
8757         have a better idea, actually
8758
8759         * LyXAction.C (LookupFunc): make sure to remove space at the
8760         beginning and end of the command
8761
8762 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * MenuBackend.C (getMenubar): new method: return the menubar of
8765         this menu set
8766         (read): treat differently reading of menu and menubar (in
8767         particular, the menubar has no name now)
8768         (Menu::menubar): remove
8769
8770         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8771         saving is finished
8772
8773 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8774
8775         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8776         a bibitem inset in a RTL paragraph.
8777
8778 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8779
8780         * paragraph_pimpl.C: constify
8781
8782         * BufferView_pimpl.C:
8783         * LaTeX.C:
8784         * lyxfunc.C: fix dispatch in a nicer way
8785
8786 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8787
8788         * lyxfunc.C (dispatch):
8789         * BufferView_pimpl.C:
8790         * BufferView_pimpl.h:
8791         * BufferView.C:
8792         * BufferView.h: rename Dispatch() to dispatch()
8793
8794         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8795
8796         * lyxlayout.C (Read): honor DependsOn tag
8797
8798         * lyxlayout.[Ch] (depends_on): new method
8799
8800         * version.C.in: update lyx_docversion
8801
8802         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8803
8804         * paragraph.C (validate): remove from here...
8805         * paragraph_pimpl.C (validate): ... and move here
8806         (isTextAt): make it const
8807
8808         * buffer.C (getLists): ws cleanup
8809
8810 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8811
8812         * language.C (read): Use iso8859-1 encoding in latex_lang
8813         (this prevents LyX from crashing when using iso10646-1 encoding).
8814
8815 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * text2.C (toggleInset): if cursor is inside an inset, close the
8818         inset and leave cursor _after_ it
8819
8820 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * lyxfunc.C: move minibuffer completion handling out of here
8823
8824 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8825
8826         * BufferView_pimpl.C:
8827         * LaTeX.C: fix dispatch calls
8828
8829 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8830
8831         * text.C (drawChars): Fix Arabic text rendering.
8832
8833 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8834
8835         * LyXAction.C:
8836         * commandtags.h:
8837         * lyxfunc.C: remove message-push/pop
8838
8839         * lyxserver.C:
8840         * lyxfunc.h:
8841         * lyxfunc.C: rationalise some code by removing verboseDispatch
8842           in favour of a bool argument to dispatch()
8843
8844 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * lyx_main.C (init): make sure to read symlinks as absolute paths
8847
8848 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8849
8850         * lyxfunc.h:
8851         * lyxfunc.C: no need for commandshortcut to be a member
8852
8853 2002-07-15  André Pönitz <poenitz@gmx.net>
8854
8855         * converter.C: add support for $$s (scripts from lib/scripts dir)
8856         * lyx_main.C: white space
8857
8858 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8859
8860         * bufferlist.C:
8861         * lyxrc.h:
8862         * lyxrc.C: remove second exit confirmation
8863
8864 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8865
8866         * BufferView.h:
8867         * BufferView.C:
8868         * BufferView2.C:
8869         * BufferView_pimpl.h:
8870         * BufferView_pimpl.C:
8871         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8872
8873 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * MenuBackend.C (expand): add numeric shortcuts to document menu
8876
8877         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8878
8879 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * lyxfont.C (setLyXFamily):
8882         (setLyXSeries):
8883         (setLyXShape):
8884         (setLyXSize):
8885         (setLyXMisc):
8886         (lyxRead):
8887         * debug.C (value):
8888         * buffer.C (asciiParagraph): use ascii_lowercase
8889
8890 2002-07-15  Mike Fabian  <mfabian@suse.de>
8891
8892         * lyxlex_pimpl.C (search_kw):
8893         * lyxlex.C (getLongString):
8894         * converter.h (operator<):
8895         * converter.C (operator<):
8896         * buffer.C (parseSingleLyXformat2Token):
8897         (asciiParagraph):
8898         * ToolbarDefaults.C (read):
8899         * MenuBackend.C (checkShortcuts):
8900         (read):
8901         * LColor.C (getFromGUIName):
8902         (getFromLyXName): use the compare_ascii_no_case instead of
8903         compare_no_case, because in turkish, 'i' is not the lowercase
8904         version of 'I', and thus turkish locale breaks parsing of tags.
8905
8906 2002-07-16  Angus Leeming  <leeming@lyx.org>
8907
8908         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8909         now takes a Buffer const & argument.
8910
8911 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * BufferView.C (resize): check there's a buffer to resize
8914
8915 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * lyxfunc.C: remove dead code
8918
8919         * lyxserver.h:
8920         * lyxserver.C: use lyx_guii::set_read_callback
8921
8922 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8923
8924         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8925         an inset in a RTL paragraph.
8926
8927 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8928
8929         * lyxfunc.C: repaint after a font size update
8930
8931 2002-07-15  André Pönitz <poenitz@gmx.net>
8932
8933         * lyxlength.C: inBP should be able to return negative values
8934
8935 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * lyxfunc.C: use lyx_gui::update_fonts()
8938
8939 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8940
8941         * lyxfunc.C: use lyx_gui::update_color()
8942
8943 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * bufferlist.C:
8946         * lyxfunc.h:
8947         * lyxfunc.C:
8948         * lyxrc.h:
8949         * lyxrc.C: remove file->new asks for name option, and let
8950           buffer-new take an argument
8951
8952 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * BufferView_pimpl.C: remove unneeded extra repaint()
8955
8956 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8957
8958         * LyXAction.C: allow command-sequence with NoBuffer
8959
8960         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8961
8962 2002-07-10  Angus Leeming  <leeming@lyx.org>
8963
8964         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8965
8966 2002-07-09  Angus Leeming  <leeming@lyx.org>
8967
8968         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8969
8970 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8971
8972         * lengthcommon.h: whitespace
8973
8974         * lyxfunc.C: update scrollbar after goto paragraph
8975
8976         * lyxtext.h: factor out page break drawing, and fix it so
8977           page break/added space paints as selected nicely
8978
8979 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * BufferView_pimpl.C: add FIXMEs, clean up a little
8982
8983 2002-07-09  André Pönitz <poenitz@gmx.net>
8984
8985         * lyxfont.[Ch]: support for wasy symbols
8986
8987 2002-07-08  André Pönitz <poenitz@gmx.net>
8988
8989         * BufferView_pimpl.C: apply John's patch for #93.
8990
8991 2002-07-05  Angus Leeming  <leeming@lyx.org>
8992
8993         * BufferView_pimpl.C (buffer): generate previews if desired.
8994
8995         * LColor.h: add "preview" to the color enum.
8996
8997         * LColor.C (LColor): add a corresponding entry to the items array.
8998
8999         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9000         with this buffer.
9001
9002 2002-07-05  Angus Leeming  <leeming@lyx.org>
9003
9004         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9005         The body of the code is now in the method that is passed an ostream &
9006         rather than a file name.
9007         Pass an additional only_preamble parameter, useful for the forthcoming
9008         preview stuff.
9009
9010 2002-07-03  André Pönitz <poenitz@gmx.net>
9011
9012         * lyxfunc.C: simplify getStatus() a bit for math stuff
9013
9014 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9015
9016         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9017
9018 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * text.C (changeRegionCase): do not change case of all the
9021         document when region ends at paragraph end (bug #461)
9022
9023 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * paragraph.C (startTeXParParams):
9026         (endTeXParParams): add \protect when necessary
9027
9028 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * BufferView_pimpl.C (workAreaExpose): remove warning
9031
9032 2002-06-27  Angus Leeming  <leeming@lyx.org>
9033
9034         * Makefile.am: add lyxlayout_ptr_fwd.h.
9035
9036 2002-06-26  André Pönitz <poenitz@gmx.net>
9037
9038         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9039
9040 2002-06-25  Angus Leeming  <leeming@lyx.org>
9041
9042         * lyxfunc.C (dispatch): Comment out the call to
9043         grfx::GCache::changeDisplay. The method no longer exists now that the
9044         pixmap generation part of the graphics loader has been moved into
9045         InsetGraphics.
9046
9047 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9048
9049         * text2.C: layout as layout
9050
9051         * text.C: layout as layout
9052
9053         * tabular.C (OldFormatRead): layout as layout
9054
9055         * paragraph_pimpl.C (TeXDeeper): layout as layout
9056         (realizeFont): layout as layout
9057
9058         * paragraph.C (writeFile): layout as layout
9059         (validate): layout as layout
9060         (getFont): layout as layout
9061         (getLabelFont): layout as layout
9062         (getLayoutFont): layout as layout
9063         (breakParagraph): layout as layout
9064         (stripLeadingSpaces): layout as layout
9065         (getEndLabel): layout as layout
9066         (getMaxDepthAfter): layout as layout
9067         (applyLayout): layout as layout
9068         (TeXOnePar): layout as layout
9069         (simpleTeXOnePar): layout as layout
9070         (TeXEnvironment): layout as layout
9071         (layout): layout as layout
9072         (layout): layout as layout
9073
9074         * lyxtextclass.C (compare_name): new functor to work with
9075         shared_ptr, layout as layout
9076         (Read): layout as layout
9077         (hasLayout): layout as layout
9078         (operator): layout as layout
9079         (delete_layout): layout as layout
9080         (defaultLayout): layout as layout
9081
9082         * lyxlayout_ptr_fwd.h: new file
9083
9084         * lyxlayout.C (Read): layout as layout
9085
9086         * lyx_cb.C (MenuInsertLabel): layout as layout
9087
9088         * bufferlist.C (newFile): layout as layout
9089
9090         * buffer.C (readLyXformat2): layout as layout
9091         (parseSingleLyXformat2Token): layout as layout
9092         (insertStringAsLines): layout as layout
9093         (asciiParagraph): layout as layout
9094         (latexParagraphs): layout as layout
9095         (makeLinuxDocFile): layout as layout
9096         (simpleLinuxDocOnePar): layout as layout
9097         (makeDocBookFile): layout as layout
9098         (simpleDocBookOnePar): layout as layout
9099         (getLists): layout as layout
9100
9101         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9102
9103         * CutAndPaste.C (cutSelection): layout as layout
9104         (pasteSelection): layout as layout
9105         (SwitchLayoutsBetweenClasses): layout as layout
9106
9107         * BufferView_pimpl.C (Dispatch): layout as layout
9108         (smartQuote): layout as layout
9109
9110         * BufferView2.C (unlockInset): layout as layout
9111
9112 2002-06-24  André Pönitz <poenitz@gmx.net>
9113
9114         * lyxfunc.C: fix #487
9115
9116 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * lyxrc.h:
9119         * lyxrc.C:
9120         * lyxfunc.C: remove display_shortcuts, show_banner
9121
9122 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9123
9124         * Buffer_pimpl.C: oops, update on resize
9125
9126 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * buffer.C:
9129         * converter.C:
9130         * exporter.C:
9131         * lyxfunc.C:
9132         * BufferView.h:
9133         * BufferView.C: use repaint()
9134
9135         * BufferView_pimpl.h:
9136         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9137           as it's a clearer description. Remove superfluous
9138           redraws.
9139
9140 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * text.C: fix bug 488. Not ideal, but getting
9143           getWord() to work properly for the insets that
9144           matter is more difficult ...
9145
9146 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9147
9148         * BufferView_pimpl.C:
9149         * LyXAction.C:
9150         * commandtags.h:
9151         * lyxfunc.C: remove the six million index lyxfuncs to just
9152           one, and DTRT (bug 458)
9153
9154 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * BufferView.h:
9157         * BufferView.C:
9158         * BufferView_pimpl.h:
9159         * BufferView_pimpl.C: clean up resize() stuff,
9160           and unnecessary updateScreen()s
9161
9162 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * BufferView.h:
9165         * BufferView.C:
9166         * BufferView_pimpl.h:
9167         * BufferView_pimpl.C:
9168         * lyxfind.h:
9169         * lyxfind.C:
9170         * minibuffer.C: remove focus management of workarea,
9171           not needed. Use screen's greyOut()
9172
9173 2002-06-17  Herbert Voss  <voss@lyx.org>
9174
9175         * converter.C: (convert) do not post a message, when converting
9176         fails, let the calling function decide what to do in this case
9177
9178 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * lyxfunc.C: tidy up a little
9181
9182 2002-06-16    <alstrup@diku.dk>
9183
9184         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9185         Got rid of FORMS_H_LOCATION include. Now we are
9186         GUII.
9187
9188 2002-06-15  LyX Development team  <lyx@rilke>
9189
9190         * buffer.[Ch] (sgmlOpenTag):
9191         (sgmlCloseTag): Added support for avoiding pernicious mixed
9192         content. Return number of lines written.
9193
9194         (makeLinuxDocFile):
9195         (makeDocBookFile): Fixed calls to sgml*Tag.
9196         Simple white space clean.
9197
9198         (simpleDocBookOnePar): Simple white space clean.
9199
9200         * tabular.[Ch] (docBook): Renamed to docbook and got another
9201         argument to related with the pernicious mixed content.
9202
9203         (docbookRow): Fixed calls for docbook inset method.
9204
9205 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9206
9207         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9208         so it's X11 independent.
9209
9210         * kb*.[Ch]: ditto.
9211
9212         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9213
9214 2002-06-15  Lyx Development team  <lyx@electronia>
9215
9216         * intl.h: Renamed getTrans to getTransManager.
9217
9218 2002-06-14  Angus Leeming  <leeming@lyx.org>
9219
9220         * Makefile.am: nuke forgotten stl_string_fwd.h.
9221
9222 2002-06-12  Angus Leeming  <leeming@lyx.org>
9223
9224         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9225
9226 2002-06-13  Angus Leeming  <leeming@lyx.org>
9227
9228         * LaTeX.C:
9229         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9230
9231 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9232
9233         * kbmap.C (getiso): add support for cyrillic and greek
9234
9235 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9236
9237         * BufferView.h:
9238         * BufferView.C:
9239         * BufferView_pimpl.h:
9240         * BufferView_pimpl.C: move bogus scrolling logic
9241           to xforms
9242
9243 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9244
9245         * lyxfunc.C:
9246         * BufferView_pimpl.C: view->resize() change
9247
9248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * BufferView_pimpl.C: topCursorVisible
9251           prototype change
9252
9253 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * Makefile.am:
9256         * lyx_gui.h:
9257         * lyx_gui.C: move to frontends/
9258
9259         * main.C:
9260         * lyx_main.h:
9261         * lyx_main.C: changes from above
9262
9263 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * intl.C:
9266         * intl.h:
9267         * kbmap.C:
9268         * kbsequence.C:
9269         * lyx_cb.C:
9270         * lyx_main.C: minor tidy
9271
9272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * BufferView_pimpl.h:
9275         * BufferView_pimpl.C:
9276         * BufferView.h:
9277         * BufferView.C: make painter() const,
9278           remove dead code
9279
9280         * BufferView2.C: use screen() accessor
9281
9282         * lyx_main.h:
9283         * lyx_main.C: some minor cleanup
9284
9285 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * BufferView_pimpl.h:
9288         * BufferView_pimpl.C: remove enter/leaveView,
9289           use workHeight()
9290
9291 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * BufferView.h:
9294         * BufferView.C:
9295         * BufferView2.C:
9296         * BufferView_pimpl.h:
9297         * BufferView_pimpl.C: only construct screen once,
9298           rename
9299
9300         * lyxrc.C: remove pointless comment
9301
9302 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * BufferView.h:
9305         * BufferView.C: remove active() and belowMouse()
9306
9307         * BufferView_pimpl.h:
9308         * BufferView_pimpl.C: use workarea() not workarea_,
9309           and make it use a scoped_ptr instead
9310
9311 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * lyx_gui.C: add debug message on BadWindow
9314
9315 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * sp_spell.C: fdopen is not part of the C++ standard.
9318
9319         * paragraph.C (InsetIterator): use >= instead of ==
9320
9321 2002-06-07  Angus Leeming  <leeming@lyx.org>
9322
9323         Fixes needed to compile with Compaq cxx 6.5.
9324         * BufferView_pimpl.C:
9325         * DepTable.C:
9326         * buffer.C:
9327         * converter.C:
9328         * encoding.C:
9329         * lyx_gui.C:
9330         * lyx_main.C:
9331         * lyxtextclasslist.C:
9332         * minibuffer.C:
9333         * sp_spell.C:
9334         * tabular_funcs.C:
9335         * vc-backend.C:
9336         all c-library variables have been moved into namespace std. Wrap
9337         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9338
9339         * lyxlength.C:
9340         * tabular-old.C:
9341         * tabular.C:
9342         Add a using std::abs declaration.
9343
9344         * kbmap.h (modifier_pair):
9345         * paragraph.h (InsetTable, InsetList):
9346         * lyxfont.h (FontBits):
9347         type definition made public.
9348
9349         * bufferlist.C (emergencyWriteAll): the compiler complains that
9350         there is more than one possible lyx::class_fun template to choose from.
9351         I re-named the void specialisation as lyx::void_class_fun.
9352
9353         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9354
9355         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9356         the compiler is is unable to find tostr in write_attribute.
9357
9358 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9359
9360         * buffer.C (sgmlError): hide #warning
9361
9362 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * xtl/*: get rid of xtl, which is not in use anyway
9365
9366         * LyXAction.C (init):
9367         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9368         were unimplemented xtl experimentation
9369
9370 2002-06-04  André Pönitz <poenitz@gmx.net>
9371
9372         * lyxfunc.C: disable array operation on simple formulae
9373
9374 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9375
9376         * converter.C: constify a bit
9377
9378 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * lyx_gui.C: check xforms version correctly
9381
9382 2002-04-30  Herbert Voss  <voss@lyx.org>
9383
9384         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9385         "keep" option
9386
9387 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9390           attempt to register it with a VCS)
9391
9392 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * lyx_main.C (init): honor variables LYX_DIR_13x and
9395         LYX_USERDIR_13x
9396
9397 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9398
9399         * buffer.h:
9400         * buffer.C:
9401         * lyx_main.C: fix a crash on bad command line,
9402           and give a useful exit status on error
9403
9404         * lyxfunc.C (doImport): allow -i lyx to work
9405
9406 2002-03-30  André Pönitz <poenitz@gmx.net>
9407
9408         * lyxfunc.C: mathed font changes
9409
9410 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * LaTeX.C:
9413         * importer.h:
9414         * importer.C:
9415         * lyx_sty.h:
9416         * lyx_sty.C:
9417         * lyxlex.C:
9418         * lyxrow.h:
9419         * lyxtext.h:
9420         * paragraph.h:
9421         * paragraph.C:
9422         * texrow.h:
9423         * texrow.C:
9424         * text.C:
9425         * trans_mgr.h: srcdocs, and some minor cleanups
9426
9427 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9430         call getFont all the time)
9431
9432 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9433
9434         * switch from SigC signals to boost::signals
9435
9436 2002-05-29  André Pönitz <poenitz@gmx.net>
9437
9438         * paragraph_pimpl.C (getChar): don't call size() too often...
9439
9440 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * paragraph_pimpl.C (insertChar): do not try to update tables when
9443         appending (pos == size())
9444
9445         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9446         in order to reduce drastically the number of comparisons needed to
9447         parse a large document
9448
9449 2002-05-29  André Pönitz <poenitz@gmx.net>
9450
9451         * text.C:
9452         * text2.C:
9453         * lyxtextclass.C:
9454         * sp_pspell.h:
9455         * textclasslist.[Ch]:
9456         * sp_ispell.h: whitespace change
9457
9458 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9461         lyxaction directly now.
9462
9463 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * trans.C:
9466         * lyxfont.C:
9467         * lyxvc.C: remove unused headers
9468
9469 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * Makefile.am:
9472         * buffer.h:
9473         * undostack.h:
9474         * undostack.C:
9475         * undo_funcs.h:
9476         * undo_funcs.C: some cleanups. Use shared_ptr
9477           and a template for the undo stacks.
9478
9479 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9480
9481         * BufferView_pimpl.h:
9482         * BufferView_pimpl.C:
9483         * kbmap.h:
9484         * kbmap.C:
9485         * kbsequence.h:
9486         * kbsequence.C:
9487         * lyxfunc.h:
9488         * lyxfunc.C:
9489         * text2.C: use key_state/mouse_state
9490
9491 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9494         and LSubstring
9495
9496         * chset.C: change include order
9497         (loadFile): use boost regex and get rid of LRegex and LSubstring
9498
9499         * Makefile.am (BOOST_LIBS): new variable
9500         (lyx_LDADD): use it
9501
9502         * LaTeX.C: change include order.
9503         (scanAuxFile): use boost regex and get rid of LRegex and
9504         LSubstring
9505         (deplog): ditto
9506
9507 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9508
9509         * ColorHandler.h:
9510         * ColorHandler.C:
9511         * FontInfo.h:
9512         * FontInfo.C: moved to frontends/xforms/
9513
9514         * FontLoader.h:
9515         * FontLoader.C: moved into frontends for GUIIzation
9516
9517         * Makefile.am:
9518         * lyx_gui.C:
9519         * lyxfont.C:
9520         * lyxfunc.C: changes from above
9521
9522 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * LColor.C: remove spurious X include
9525
9526         * BufferView_pimpl.C:
9527         * Makefile.am:
9528         * font.h:
9529         * font.C:
9530         * text.C:
9531         * text2.C: move font metrics to frontends/
9532
9533 2002-05-24  Juergen Vigna  <jug@sad.it>
9534
9535         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9536         setting the undo_cursor.
9537
9538         * ParagraphParameters.h: include local includes first.
9539
9540 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * BufferView_pimpl.C:
9543         * BufferView_pimpl.h:
9544         * Makefile.am:
9545         * WorkArea.h:
9546         * WorkArea.C:
9547         * screen.C: move WorkArea into frontends/
9548
9549         * lyxscreen.h:
9550         * screen.C:
9551         * text.C:
9552         * BufferView.C:
9553         * BufferView2.C: move LyXScreen into frontends/
9554
9555         * lyxlookup.h:
9556         * lyxlookup.C:
9557         * lyx_gui.C: move lyxlookup into frontends/xforms/
9558
9559 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * BufferView2.C:
9562         * BufferView_pimpl.C:
9563         * FontLoader.C:
9564         * LyXView.h:
9565         * LyXView.C:
9566         * Makefile.am:
9567         * WorkArea.C:
9568         * XFormsView.h:
9569         * XFormsView.C:
9570         * buffer.C:
9571         * bufferlist.C:
9572         * bufferview_funcs.C:
9573         * converter.C:
9574         * importer.C:
9575         * lyx_cb.C:
9576         * lyx_gui.C:
9577         * lyx_main.C:
9578         * lyx_find.C:
9579         * lyxfunc.C:
9580         * lyxvc.C:
9581         * minibuffer.C:
9582         * text.C:
9583         * text2.C:
9584         * trans.C:
9585         * vc-backend.C: move LyX/XFormsView into frontends/
9586
9587 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * Makefile.am:
9590         * PainterBase.C:
9591         * PainterBase.h:
9592         * Painter.C:
9593         * Painter.h:
9594         * WorkArea.C:
9595         * WorkArea.h:
9596         * screen.C:
9597         * tabular.C:
9598         * text.C:
9599         * text2.C: move Painter to frontends/
9600
9601 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9602
9603         * buffer.C: comment out some some code that depend upon lyx_format
9604         < 220
9605
9606         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9607         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9608
9609         * buffer.h (NO_COMPABILITY): turn off compability
9610
9611         * ColorHandler.C: include scoped_array.hpp
9612
9613         * font.C: Use more specific smart_ptr header.
9614         * Painter.C: ditto
9615         * gettext.C: ditto
9616         * ShareContainer.h: ditto
9617         * lyx_main.h: ditto
9618         * kbmap.h: ditto
9619         * FontInfo.h: ditto
9620         * BufferView_pimpl.h: ditto
9621         * ColorHandler.h: ditto
9622
9623         * kbmap.C (defkey): change call to shared_ptr::reset
9624
9625 2002-05-21  Juergen Vigna  <jug@sad.it>
9626
9627         * buffer.C (insertErtContents): fix to insert ert asis if it is
9628         non empty. Skip it completely if it contains only whitespaces.
9629
9630 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9631
9632         * BufferView_pimpl.C:
9633         * BufferView2.C: clear selection on paste (bug 393)
9634
9635 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9636
9637         * DepTable.C: include ctime
9638
9639 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9640
9641         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9642
9643 2002-05-14  Juergen Vigna  <jug@sad.it>
9644
9645         * text.C (breakParagraph): fixed function to honor the keepempty
9646         layout in the right maner and also to permit the right breaking
9647         algorithm on empty or non empyt keepempty paragraphs.
9648
9649         * paragraph.C (breakParagraph): we have to check also if the par
9650         is really empty (!size()) for isempty otherwise we do the wrong
9651         paragraph break.
9652
9653 2002-05-10  Juergen Vigna  <jug@sad.it>
9654
9655         * buffer.[Ch] : The following are only changes to the ert
9656         compatibility read reading old LaTeX layout and font stuff and
9657         convert it to ERTInsets.
9658
9659         * buffer.h: added isErtInset().
9660
9661         * buffer.C (struct ErtComp): add a fromlayout bool to check
9662         if we're inside a LaTeX layout.
9663         (isErtInset): new helper function.
9664         (insertErtContents): look for other ert insets before this one
9665         and insert the contents there, so that we don't have subsequent
9666         ERT insets with nothing between them. This way we create only one
9667         inset with multiple paragraphs. Also check if we don't insert only
9668         spaces ' ' as they are ignored anyway afterwards in the .tex file
9669         so if we have only spaces we will ignore this latex part in the
9670         new file.
9671         (parseSingleLyXformat2Token \\layout): better compatibility when
9672         reading layout-latex stuff.
9673         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9674         language tag.
9675         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9676         stuff after reading the inset only get the information back from
9677         the stack.
9678
9679 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9680
9681         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9682
9683         * LaTeXFeatures.C (getBabelOptions): New method.
9684
9685 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * BufferView_pimpl.C (Dispatch): work around missing argument for
9688         'layout'
9689
9690 2002-05-08  Juergen Vigna  <jug@sad.it>
9691
9692         * text.C (leftMargin): handle paragraph leftindent.
9693
9694         * paragraph.C (writeFile): write the new \\leftindent tag.
9695         (validate): handle leftindent code.
9696         (TeXEnvironment): handle paragraphleftindent code again.
9697
9698         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9699
9700         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9701         for paragrap_extra indent code and new token \\leftindent.
9702         (latexParagraphs): handle the leftindent as environment.
9703
9704         * ParameterStruct.h: added leftindent support.
9705
9706         * ParagraphParameters.C (leftIndent): added support functions for
9707         the paragraph left indent.
9708
9709         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9710         more appropriate.
9711
9712 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9713
9714         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9715         inside insetERT.
9716
9717         * text.C (computeBidiTables): No bidi in insetERT.
9718
9719         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9720         in RTL documents.
9721
9722 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9723
9724         * version.C.in: pre 5
9725
9726 2002-05-02  José Matos  <jamatos@fep.up.pt>
9727         * buffer.C (makeDocBookFile): white space changes, add newline to
9728         command styles.
9729         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9730
9731         * tabular.C (docBook): fix typo.
9732
9733 2002-05-03  Juergen Vigna  <jug@sad.it>
9734
9735         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9736         change in LyXText as we can not be sure it was not freed.
9737         (drawOneRow): remove unused code.
9738
9739         * text.C (drawInset): redo the calculation of the need_break_row as
9740         it could have a row which was already freed.
9741         (draw): look at the return value of drawInset and return false if
9742         it also returned false.
9743         (paintRowText): look at the return value of draw and return false if
9744         it also returned false.
9745
9746         * lyxtext.h: added bool return type to drawInset() and draw() so that
9747         if we have a change in the row so that the rowbreak has to be redone
9748         we abort drawing as it will be called again.
9749
9750 2002-05-02  Juergen Vigna  <jug@sad.it>
9751
9752         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9753         a change in the maintext also if we're inside an inset.
9754         (Dispatch): set the cursor again after a break line and after the
9755         screen has been updated as it could be we're in a different row.
9756
9757         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9758         to set the cursor behind the pargraph with > size().
9759         (setCursor): check also for the same paragraph when checking where
9760         to put the cursor if we have a NFR inset.
9761
9762         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9763         parts of layout read further up as it still was in the wrong
9764         position.
9765
9766 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * screen.C (drawFromTo): change sine fullRebreak always return
9769         true.
9770
9771         * buffer.C (parseSingleLyXformat2Token): reindent some
9772
9773         * BufferView_pimpl.C (update): change since fullRebreak always
9774         return true.
9775         (Dispatch): git rid of the last hardcoded "Standard"s.
9776
9777 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9778
9779         * text2.[Ch] (fullRebreak): make it return void now that we always
9780         returned true.
9781
9782 2002-04-30  Juergen Vigna  <jug@sad.it>
9783
9784         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9785         ert compatibility check for "latex" layout.
9786
9787 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9788
9789         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9790         minipages: use col% instead of p%, and also use the current font.
9791         (makeLaTeXFile): Fix use babel condition.
9792         (parseSingleLyXformat2Token): Correct font when reading old floats.
9793
9794 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9795
9796         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9797         inserting list of floats.
9798
9799 2002-04-25  Herbert Voss  <voss@lyx.org>
9800
9801         * MenuBackend.C (expand): don't add the graphics extensions to the
9802         export menu
9803
9804 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9807         non-existing layout, do not complain if it was the default layout
9808         of the original class (bug #342)
9809
9810 2002-04-24  Juergen Vigna  <jug@sad.it>
9811
9812         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9813         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9814
9815 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9816
9817         * buffer.C (getBibkeyList): If using \bibliography, return the
9818         option field with the reference itself. Enables us to provide natbib
9819         support when using \bibliography.
9820
9821 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9822
9823         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9824
9825         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9826         natbib is provided by the LaTeX class.
9827
9828 2002-04-23  Juergen Vigna  <jug@sad.it>
9829
9830         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9831         Wakeup functions.
9832
9833         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9834
9835 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9838
9839         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9840         ensuremath around textordmasculine, textordfeminine and
9841         textdegree.
9842
9843 2002-04-19  Juergen Vigna  <jug@sad.it>
9844
9845         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9846         reinitializing the buffer otherwise row-dimensions may be wrong.
9847         (update): reset also the selection cursors if they do exits otherwise
9848         their x/y positions may be wrong.
9849
9850         * text2.C (cursorDown): don't enter the inset if we came from a row
9851         above and are one row over the inset.
9852
9853         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9854         really leaving an inset.
9855
9856 2002-04-18  Juergen Vigna  <jug@sad.it>
9857
9858         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9859         of the selected paragraph does not have the selected layout also if
9860         the last one had!
9861
9862         * text2.C (setLayout): fixed bug which did not change last selected
9863         paragraph.
9864
9865         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9866         changed the read and substituted \\end_float with \\end_inset!
9867
9868         * BufferView_pimpl.C (cursorPrevious):
9869         (cursorNext): fixed to make it work with rows heigher than the work
9870         area without moving the cursor only the draw of the row.
9871         (workAreaMotionNotify): fix jumping over high rows.
9872
9873 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9876         Ressler.
9877
9878 2002-04-16  Juergen Vigna  <jug@sad.it>
9879
9880         * text2.C (setCursor): set also the irow().
9881         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9882         (cursorUp):
9883         (cursorDown): support for locking an inset if the x_fix value goes
9884         inside it. That way I can transverse insets too with cursor up/down.
9885
9886         * lyxrow.h: added irow helper function same as other (i) functions.
9887
9888         * BufferView_pimpl.C (cursorPrevious):
9889         (cursorNext): fixed for insets!
9890
9891 2002-04-15  Juergen Vigna  <jug@sad.it>
9892
9893         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9894         position otherwise it is wrong in some cases.
9895
9896         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9897         inside the inset before the call.
9898
9899 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9900
9901         * buffer.[Ch] (getBibkeyList): make it const.
9902
9903 2002-04-12  Juergen Vigna  <jug@sad.it>
9904
9905         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9906
9907         * text2.C (getCursorX): new helper function
9908         (setCursor): compute also ix_
9909         (setCursorFromCoordinates): set also ix.
9910
9911         * lyxcursor.h: added ix_ and helper functions.
9912
9913         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9914
9915         * buffer.C (insertStringAsLines): dont break paragraph if the this
9916         paragraph is inside an inset which does not permit it!
9917
9918         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9919         also with no chars on this paragraph.
9920         (paintRowText): only paint stuff if it's inside the workarea!
9921
9922         * paragraph.C (breakParagraph): honor keepempty flag and break the
9923         paragraph always below not above.
9924
9925         * BufferView2.C (unlockInset): update the paragraph layout on inset
9926         unlock as we changed paragraph in such a case.
9927
9928         * lyxfind.C (LyXFind): clear the former selection if not found!
9929
9930         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9931         again called in insertChar().
9932
9933         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9934         an inset which uses the whole row!
9935         (rightMargin): ditto.
9936         (insertChar): force a rebreak if we inserted an inset!
9937
9938 2002-03-28  Herbert Voss  <voss@lyx.org>
9939
9940         * lyxlength.[Ch]: add inBP() to get the right PS-point
9941         units (BigPoint). With inPixels we have rounding errors
9942
9943 2002-04-11  Juergen Vigna  <jug@sad.it>
9944
9945         * text2.C (setCursorFromCoordinates): set iy to the right value.
9946         (setCursor): add check if row->previous exists!
9947
9948         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9949         an old float_type as this was the case in the old code!
9950
9951         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9952
9953         * BufferView2.C (showLockedInsetCursor): use iy
9954         (fitLockedInsetCursor): ditto
9955
9956         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9957         locked insets as there we have the right value now.
9958
9959         * lyxcursor.C: added iy_ variable and iy functions to set to the
9960         baseline of cursor-y of the locked inset.
9961
9962         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9963         (setCursor): fixed for insets which need a full row.
9964
9965         * text.C (rowLastPrintable): don't ignore the last space when before
9966         an inset which needs a full row.
9967         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9968         as last character of a row when before a inset which needs a full row.
9969
9970 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * version.C.in: update date
9973
9974         * text2.C (fullRebreak): try to always return true and see what
9975         happens...
9976
9977 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * MenuBackend.C (expand): use Floating::listName
9980
9981         * FloatList.C (FloatList): add listName argument to the built-in
9982         floats
9983
9984         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9985         text associated with the float.
9986
9987 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9990
9991 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9992
9993         * ShareContainer.h: add a couple of missing typenames.
9994
9995 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9996
9997         * lyxrc.C (getDescription): use _() correctly rather than N_().
9998
9999 2002-03-28  Herbert Voss  <voss@lyx.org>
10000
10001         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10002         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10003
10004 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10007         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10008
10009 2002-03-29  Juergen Vigna  <jug@sad.it>
10010
10011         * lyxfunc.C (dispatch): add a missing fitCursor call.
10012
10013         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10014         it was scrolled by a cursor move, so return the bool status.
10015
10016         * BufferView.C (fitCursor): return the bool flag also to the outside
10017         world as this is needed.
10018
10019         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10020
10021         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10022         call the edit() as it is not needed (and wrong) IMO.
10023         (workAreaButtonPress): set the screen_first variable before evt.
10024         unlock the inset as this may change screen_first and then we have
10025         a wrong y position for the click!
10026
10027 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * MenuBackend.C (expand): another translation that I missed
10030
10031 2002-03-28  Juergen Vigna  <jug@sad.it>
10032
10033         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10034
10035         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10036
10037 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10040
10041         * MenuBackend.C (expand): fix export/view/update when there is no
10042         document open.
10043
10044 2002-03-27  Herbert Voss  <voss@lyx.org>
10045
10046         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10047         and text%
10048
10049 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * bufferview_funcs.C (currentState): only show paragraph number
10052         for is DEVEL_VERSION is set.
10053
10054         * lyxfunc.C (dispatch): put warning in INFO channel
10055
10056         * MenuBackend.C (expand): translate the name of floats
10057
10058         * FloatList.C (FloatList): mark the float names for translation
10059
10060         * converter.C (convert): use LibScriptSearch
10061
10062 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063
10064         * MenuBackend.C (defaults): fix default menu (we might as well get
10065         rid of it...)
10066
10067 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10070         directory.
10071
10072 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10073
10074         * lyxvc.C: reorder includes.
10075
10076 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10079           properly
10080
10081 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * CutAndPaste.C: change layouts earlier on paste
10084           to avoid crashing when calling getFont()
10085
10086 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10087
10088         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10089         irritating #error.
10090
10091 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * WorkArea.C: remove 'Pending' debug message.
10094
10095         * most files: ws cleanup
10096
10097         * buffer.[Ch]: ws changes
10098
10099         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10100
10101 2002-03-21  Juergen Vigna  <jug@sad.it>
10102
10103         * tabular.C (SetMultiColumn): collapse also the contents of the
10104         cells and set the last border right. Added a Buffer const * param.
10105
10106 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10109         linking or not.
10110
10111 2002-03-19  Juergen Vigna  <jug@sad.it>
10112
10113         * text2.C (clearSelection): reset also xsel_cache.
10114
10115         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10116         where it needs to be called (John tells us to do so too :)
10117         (selectionLost): reset sel_cache.
10118
10119         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10120
10121 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * text2.C (setCursorIntern): put debuging code in INSETS channel
10124
10125 2002-03-19  André Pönitz <poenitz@gmx.net>
10126
10127         * lyxfunc.C: tiny whitespace change
10128
10129 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * ToolbarDefaults.C (init):
10132         * LyXAction.C (init):
10133         * commandtags.h:
10134         * BufferView_pimpl.C (Dispatch):
10135         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10136
10137 2002-03-19  Allan Rae  <rae@lyx.org>
10138
10139         * exporter.C (Export): removeAutoInsets before doing anything else.
10140         While I've just introduced a dependency on BufferView this really is
10141         the best place to clean the buffer otherwise you need to cleanup in
10142         a dozen places before calling export or cleanup in a dozen functions
10143         that export calls.
10144
10145         * converter.C (runLaTeX):
10146         (scanLog): Better handling of removeAutoInsets and screen updates.
10147
10148         * lyxfunc.C (dispatch): small whitespace changes
10149
10150 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10151
10152         * WorkArea.C (C_WorkAreaEvent): return a value.
10153         (event_cb): return 1 if we handled the event, 0 otherwise.
10154
10155         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10156
10157 2002-03-18  Juergen Vigna  <jug@sad.it>
10158
10159         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10160         (GetAdditionalWidth): ditto.
10161         (RightLine): ditto.
10162         (LeftLine): ditto.
10163
10164         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10165         inset if we're there actually (probably not used right now but this
10166         is the direction to go for unifying code).
10167         (paste): disable code to clear the selection.
10168
10169         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10170         inside an InsetText and move the check further up as it is in the
10171         wrong place.
10172
10173         * text2.C (pasteSelection): set a selection over the pasted text.
10174
10175 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10176
10177         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10178         and libgraphics to build on Cygwin.
10179
10180 2002-03-15  Juergen Vigna  <jug@sad.it>
10181
10182         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10183         inserting an Inset into the paragraph. I know this is not the best
10184         fix but we already use current_view in CutAndPaste so we will remove
10185         all of it's using at the same time.
10186
10187         * buffer.C (sgmlError): deactivated function till it is rewritten in
10188         the right mode, now it can create problems.
10189
10190         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10191         before accessing it.
10192
10193 2002-03-14  Juergen Vigna  <jug@sad.it>
10194
10195         * undo_funcs.C (textHandleUndo): do the right thing when updating
10196         the inset after the undo/redo.
10197
10198         * text2.C (setCursor): just some testcode for #44 not ready yet.
10199
10200         * undo_funcs.C (textHandleUndo): set the next() and previous()
10201         pointers of the paragraph to 0 before deleting otherwise we have
10202         problems with the Paragraph::[destructor].
10203
10204         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10205         on a paragraph insertion.
10206
10207 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10208
10209         * buffer.C (asciiParagraph): use += operator for char append to
10210         string.
10211
10212         * paragraph.C (getFontSettings): compare >= not just >
10213         (highestFontInRange): ditto
10214         (setFont): ditto
10215
10216 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * paragraph.C: change several algorithm to be more appripriate for
10219         the problem domain. This is lookip in FontList and in the InsetList.
10220
10221 2002-03-13  André Pönitz <poenitz@gmx.net>
10222
10223         * commandtags.h:
10224         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10225
10226 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * commandtags.h:
10229         * LyXAction.C:
10230         * lyxfunc.C:
10231         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10232
10233 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * Painter.C (display): anon helper function, adjust code for this
10236         change.
10237         (pixmap): remove function.
10238
10239         * Painter.h: remove private display variable.
10240
10241         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10242
10243 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10244
10245         * WorkArea.[Ch]: remove figinset_canvas cruft.
10246
10247 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * lyxtextclass.C (operator): add one item cache optimization.
10250
10251         * bufferlist.h: doxy changes
10252
10253         * bufferlist.C: ws changes
10254
10255         * DepTable.[Ch] (ext_exist): place const in the right spot.
10256
10257         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10258         call resizeInsets.
10259         (workAreaExpose): call resizeInsets when the with BufferView changes.
10260         (Dispatch): adjust for protectedBlank removal
10261         (specialChar): call updateInset if the insert went ok.
10262
10263         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10264         specialChar instead.
10265
10266         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10267
10268         * BufferView.h: doxy change
10269
10270         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10271
10272         * lyxtextclass.C (operator[]): remove non-const version
10273         (defaultLayout): remove non-const version
10274
10275 2002-03-12  Juergen Vigna  <jug@sad.it>
10276
10277         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10278         did resize the LyXText too.
10279
10280         * buffer.C (readLyXformat2): set layout information on newly allocated
10281         paragraphs.
10282
10283         * tabular.C (OldFormatRead): set layout information on the paragraph.
10284
10285 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10286
10287         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10288
10289 2002-03-11  Juergen Vigna  <jug@sad.it>
10290
10291         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10292         plainly wrong.
10293         (resizeCurrentBuffer): force also the insets to resize themselfes.
10294         (moveCursorUpdate): fixed up for InsetText.
10295
10296 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * commandtags.h:
10299         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10300         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10301         value of Dialogs::tooltipsEnabled().
10302         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10303
10304 2002-03-08  Juergen Vigna  <jug@sad.it>
10305
10306         * BufferView_pimpl.C (updateInset): update inset inside inset also
10307         if it isn't inside theLockingInset().
10308
10309 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * buffer.C (asciiParagraph): redo some of the word and line length
10312         handling.
10313         (getLists): look for Caption instead of caption.
10314
10315 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * buffer.C (Buffer): initialize niceFile to true
10318         (makeLaTeXFile):
10319         (makeLinuxDocFile):
10320         (makeDocBookFile): make sure niceFile is true on exit
10321
10322 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10325
10326 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10327
10328         * LyXSendto.C: remove.
10329         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10330         * lyx_gui.C: remove now-redundant comment.
10331         * ColorHandler.h: remove forward declaration of class WorkArea.
10332         * lyxfunc.C: remove #include "WorkArea.h".
10333
10334 2002-03-07  Juergen Vigna  <jug@sad.it>
10335
10336         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10337         got moved away with the DEPM and also set the inset_owner always
10338         right which before could have been omitted.
10339
10340 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10343         wanted layout is not found.
10344
10345 2002-03-07  Juergen Vigna  <jug@sad.it>
10346
10347         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10348
10349 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * paragraph.C (breakParagraph): use default layout not layout of
10352         prev paragraph.
10353         (Paragraph): clear ParagraphParameters.
10354
10355 2002-03-06  Juergen Vigna  <jug@sad.it>
10356
10357         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10358         otherwise it would not be a valid lenght. Fixed a special case in
10359         the minipage compatibility read where we end the document with a
10360         minipage.
10361
10362         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10363         was set as it could be 0 for InsetTexts first entry.
10364
10365 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * paragraph.C (writeFile): if layout is empty write out
10368         defaultLayoutName().
10369
10370         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10371         file without named layout we set layout to defaultLayoutName().
10372
10373 2002-03-06  Juergen Vigna  <jug@sad.it>
10374
10375         * CutAndPaste.C (copySelection): set layout for new paragraph.
10376
10377         * text.C (prepareToPrint): leave ERT inset left aligned
10378         (leftMargin): don't indent paragraphs inside ERT insets
10379
10380 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * paragraph.C (breakParagraph): dont call clear do the work manually
10383
10384         * paragraph.[Ch] (clear): remove function
10385
10386 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * paragraph.C (Paragraph): dont call clear, the work has already
10389         been done.
10390
10391         * lyxtextclass.C (operator): assert if n is empty
10392
10393         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10394         work manually instead.
10395
10396 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10397
10398         * BufferView_pimpl.C: protect selectionLost against text == 0
10399
10400 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * text.C (breakParagraph): fix a setting layout to '0' problem.
10403
10404 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10405
10406         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10407         final location of file, for the included files, and graphics.
10408
10409 2002-03-05  Juergen Vigna  <jug@sad.it>
10410
10411         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10412
10413 2002-03-04  Juergen Vigna  <jug@sad.it>
10414
10415         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10416
10417         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10418         last column of multicolumn cells.
10419         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10420
10421 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10422
10423         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10424         file if it doesn't go to a temporary file.
10425
10426         * buffer.C (sgmlOpenTag):
10427         (sgmlCloseTag):  remove extra newline insertion.
10428
10429 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * text.C (getRowNearY): comment out debug msg
10432
10433 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * text2.C: first -> first_y
10436
10437         * text.C (getRowNearY): add some attemts at a possible
10438         optimization, not working.
10439
10440         * tabular.[Ch]: add BufferParams to several function so that newly
10441         created paragraph can be initialized to he default layotu for the
10442         buffers textclass.
10443
10444         * tabular-old.C (ReadOld): add buf->params to call of Init
10445
10446         * screen.C: rename text->first to text->first_y
10447
10448         * paragraph.C (breakParagraph): always set layout in the broken
10449         paragraph
10450
10451         * lyxtextclass.C (Read): remove lowercase
10452         (hasLayout): ditto
10453         (operator): ditto
10454         (delete_layout): ditto
10455
10456         * lyxtext.h: rename first -> first_y
10457
10458         * lyxlayout.C (Read): remove lowercase
10459         (name): ditto
10460         (setName): ditto
10461         (obsoleted_by): ditto
10462
10463         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10464
10465         * buffer.C (insertErtContents): add params are to InsetERT
10466         (parseSingleLyXformat2Token): add code to check if a paragraphs
10467         layout really exist.
10468         (parseSingleLyXformat2Token): add params to several inset
10469         constructors
10470         (asciiParagraph): remove lowercase, do the layout comparisons with
10471         no_case
10472
10473         * BufferView_pimpl.C (cursorNext): first -> first_y
10474         (resizeCurrentBuffer): first -> first_y
10475         (updateScrollbar): first -> first_y
10476         (scrollCB): first -> first_y
10477         (workAreaMotionNotify): first -> first_y
10478         (workAreaButtonPress): first -> first_y
10479         (checkInsetHit): first -> first_y
10480         (cursorPrevious): first -> first_y
10481         (cursorNext): first -> first_y
10482         (Dispatch): add buffer_->params to severl inset contructors
10483
10484 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * lyxlayout.C (Read): remove some debug info that I forgot.
10487
10488         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10489         clean up the code slightly.
10490         (makeLinuxDocFile): ditto
10491         (makeDocBookFile): ditto
10492
10493         * text2.C: layout as string
10494
10495         * text.C: layout as string
10496
10497         * paragraph_pimpl.C: layout as string
10498
10499         * paragraph.[Ch]: layout as string
10500
10501         * lyxtextclasslist.[Ch]: layout as string
10502
10503         * lyxtextclass.[Ch]: layout as string
10504
10505         * lyxtext.h: layout as string
10506
10507         * lyxlayout.[Ch]: layout as string
10508
10509         * lyx_cb.C: layout as string
10510
10511         * bufferview_funcs.C: layout as string
10512
10513         * bufferparams.C: layout as string
10514
10515         * buffer.C: layout as string
10516
10517         * LyXView.[Ch]: layout as string
10518
10519         * LaTeXFeatures.[Ch]: layout as string
10520
10521         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10522
10523         * BufferView_pimpl.C: change current_layout to string, remove
10524         lyx::layout_type.
10525         (Dispatch):
10526         (smartQuote):
10527         (insertInset):
10528         (workAreaButtonRelease): layout as string
10529
10530         * BufferView2.C (unlockInset): adjust
10531
10532         * vspace.C (asLatexCommand): use an explict temp variable.
10533
10534 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * Makefile.am: use FRONTEND_*
10537
10538 2002-03-01  Juergen Vigna  <jug@sad.it>
10539
10540         * tabular.C (SetWidthOfMulticolCell): changed to something better
10541         I hope but still work in progress.
10542         (recalculateMulticolumnsOfColumn): renamed function from
10543         recalculateMulticolCells as it is more appropriate now.
10544         (SetWidthOfCell): calculate multicols better.
10545
10546 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10549
10550         * lyxfunc.C (processKeySym): print sequence also if it is
10551         `deleted' (complete)
10552
10553         * kbsequence.C (print): print sequence even if it is deleted
10554         (complete would be a better word, actually).
10555
10556         * lyxfunc.C (dispatch): print complete options after a prefix key
10557
10558         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10559
10560 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10561
10562         * text2.C (setCharFont): eliminate setCharFont code duplication.
10563
10564 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10567         LFUN_TABULAR_FEATURE (bug #177)
10568
10569 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10570
10571         * Makefile.am: remove figure.h
10572
10573 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10574
10575         * Bufferview_pimpl.C:
10576         * CutAndPasteC:
10577         * LaTeX.C:
10578         * LyXSendto.C:
10579         * buffer.C:
10580         * bufferlist.C:
10581         * converter.C:
10582         * language.C:
10583         * lyxfunc.C:
10584         * lyxvc.C:
10585         * paragraph.C:
10586         * text.C:
10587         * text2.C: remove #include "lyx_gui_misc.h".
10588
10589         * LaTeX.C: added #include <cstdio>
10590
10591 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10594         that the paragraph following this one can have.
10595
10596         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10597
10598         * vspace.C (asLatexCommand): fix bogus gcc warning
10599
10600         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10601
10602 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10603
10604         * text2.C (setLayout): get rid of redundant code
10605
10606 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10607
10608         * text2.C (incDepth): make sure depth cannot be increased beyond
10609         reasonable values.
10610
10611 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10612
10613         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10614         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10615
10616         * PainterBase.h (image):
10617         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10618         a LyXImage const *.
10619
10620 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * BufferView.C:
10623         * BufferView.h:
10624         * BufferView_pimpl.C:
10625         * BufferView_pimpl.h:
10626         * LaTeXFeatures.C:
10627         * LyXAction.C:
10628         * LyXView.C:
10629         * Makefile.am:
10630         * UpdateList.h:
10631         * UpdateList.C:
10632         * buffer.C:
10633         * figure.h:
10634         * figureForm.C:
10635         * figureForm.h:
10636         * figure_form.C:
10637         * figure_form.h:
10638         * lyx_cb.C:
10639         * lyx_gui.C:
10640         * lyx_gui_misc.C:
10641         * lyxfunc.C:
10642         * sp_base.h:
10643         * sp_ispell.h:
10644         * sp_pspell.h:
10645         * sp_spell.C: remove fig inset, and the crap house of
10646           cards that follows it
10647
10648 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * Makefile.am:
10651         * lyxserver.C:
10652         * os2_defines.h:
10653         * os2_errortable.h:
10654         * nt_defines.h: move .h into support/
10655
10656         * vms_defines.h: remove
10657
10658         * WorkArea.C: add space in debug output
10659
10660         * text2.C:
10661         * paragraph.C:
10662         * buffer.C: add WITH_WARNINGS
10663
10664         * vc-backend.h:
10665         * vc-backend.C:
10666         * bufferlist.C: s/retrive/retrieve/, add docs
10667
10668         * vspace.h:
10669         * vspace.C:
10670         * kbmap.h:
10671         * lyxlength.h:
10672         * lyxgluelength.h:
10673         * length_common.h:
10674         * chset.h:
10675         * chset.C: add docs
10676
10677         * lyxgui.C: add ID to X error handler
10678
10679         * lyxtestclass.c: fix typo
10680
10681 2002-02-26  Juergen Vigna  <jug@sad.it>
10682
10683         * tabular_funcs.C (write_attribute): changed so that some default
10684         attributes are not written at all.
10685         (getTokenValue): set default values before trying to read the
10686         value so we have the return value always set as default if we don't
10687         find the token we search for.
10688
10689         * tabular.C (Write): write bools as bools not as strings!
10690
10691 2002-02-22  Juergen Vigna  <jug@sad.it>
10692
10693         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10694         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10695
10696         * text.C (leftMargin): don't add an indent for paragraphs inside
10697         tabular cells (fix #208).
10698
10699 2002-02-21  José Matos  <jamatos@fep.up.pt>
10700
10701         * tabular.C (docBook): fixed support for long tables.
10702
10703 2002-02-20  Juergen Vigna  <jug@sad.it>
10704
10705         * text2.C (getFont): get the drawing font of the Inset if this
10706         paragraph is inside an inset (only important for InsetERT for now).
10707
10708         * buffer.C (insertErtContents): use new lanugage params in ERT
10709         constructor.
10710
10711         * CutAndPaste.C: commenting out seemingly uneeded code.
10712
10713 2002-02-19  Allan Rae  <rae@lyx.org>
10714
10715         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10716         Iterators might be simple to use but they also get invalidated.
10717         (removeAutoInsets): renamed saved cursor tracking variables and added
10718         some comments to clarify what everything does.
10719
10720 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * Chktex.C:
10723         * LaTeX.C:
10724         * LyXSendto.C:
10725         * converter.C:
10726         * lyx_cb.C:
10727         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10728         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10729
10730         * lyxfunc.C:
10731         * vc-backend.h: remove #include "support/syscall.h"
10732
10733         * LaTeX.C:
10734         * LyXSendto.C:
10735         * converter.C: rearrange #includes in Lars' approved fashion.
10736
10737         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10738         forward declare class Timeout in the header file.
10739
10740         * XFormsView.C: changes due to the above.
10741
10742         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10743         similar to LyXView.
10744
10745         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10746         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10747
10748 2002-02-18  José Matos  <jamatos@fep.up.pt>
10749
10750         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10751         insets contents.
10752
10753 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10754
10755         * a lot of small ws changes
10756         * add a lot of using std::XXX
10757         * use std construcs some places where approp.
10758         * use some exisint stuff from lyxfunctional where approp.
10759         * Make file changes to use partial linking (lets test this now...)
10760
10761 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10762
10763         * Chktex.C:
10764         * buffer.C:
10765         remove #include "support/syscontr.h" as it's redundant. Always has been.
10766
10767         * Chktex.C:
10768         * LaTeX.C:
10769         * LyXSendto.C:
10770         * converter.C:
10771         * lyx_cb.C:
10772         * vc-backend.C:
10773         change Systemcalls::System to Systemcalls::Wait and
10774         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10775         No change of functionality, just reflects the stripped down Systemcalls
10776         class.
10777
10778 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10779
10780         * debug.[Ch]: add a GRAPHICS type to the enum.
10781
10782 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10785
10786         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10787         there is an inset.
10788
10789 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10790
10791         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10792         match the changes below.
10793
10794         * text2.C (toggleInset): if there is not editable inset at cursor
10795         position, try to see if cursor is _inside_ a collapsable inset
10796         and close it.
10797
10798 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10801         document menu has a nice checkbox
10802
10803 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * lyxlength.C (asLatexString): change PW to output as percent of
10806         \textwidth.
10807
10808         * lengthcommon.C: change '%' to 't%'
10809
10810         * lyxfunc.C (dispatch): a few comments from Martin
10811
10812 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * WorkArea.h:
10815         * WorkArea.C:
10816         * BufferView_pimpl.h:
10817         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10818           the X selection.
10819
10820 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * vspace.C (inPixels): fix compiler warning
10823
10824 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * lyxfunc.C (getStatus): fix status message for disabled commands.
10827
10828 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView_pimpl.C: fix crash on close buffer
10831         during selection (#227)
10832
10833 2002-01-27  Herbert Voss  <voss@lyx.org>
10834
10835         * buffer.C: link old Figure to new graphic inset
10836
10837 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10838
10839         * FontLoader.C (getFontinfo): Change the latex font names in order
10840         to match the names of type1inst.
10841
10842 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10845
10846         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10847         (extchanged): ditto
10848         (ext_exist): ditto
10849         (remove_files_with_extension): ditto
10850         (remove_file): ditto
10851         (write): ditto
10852
10853         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10854         document is smaller than the work area height. Do not initialize
10855         static variables to 0.
10856
10857 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10858
10859         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10860
10861         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10862         LFUN_LAYOUT_PARAGRAPHS.
10863
10864         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10865         tabular. It is possible to provide a possible cell, which will
10866         typically be the actcell from the corresponding insettabular
10867
10868         * lyxfunc.C (getStatus): small cleanup; disable
10869         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10870         true
10871
10872 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10875
10876         * paragraph.C (startTeXParParams):
10877         (endTeXParParams): new methods. The LaTeX code to
10878         start/end paragraph formatting
10879         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10880         empty (fixes bug #200)
10881
10882         * vspace.C (inPixels): adapt to the change below
10883         (inPixels): [later] more cleanups (remove unused variables)
10884
10885         * lyxlength.C (inPixels): change to use a width and a height as
10886         parameter.
10887
10888 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10891         Replaced with \paperwidth
10892
10893         * DepTable.C (insert): add std:: qualifier
10894
10895 2002-01-18  Allan Rae  <rae@lyx.org>
10896
10897         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10898         updated also?
10899
10900         * text.C (drawInset): Turned out I didn't know enough about how
10901         rebreaking worked.  This fixes most of the redraw problems.  I see
10902         an occasional cursor trail when a line is broken now and the cursor
10903         placement can seem out by a few pixels also after a rebreak.
10904
10905 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * buffer.C (parseSingleLyXformat2Token): update because minipage
10908         width is now a LyXLength
10909
10910         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10911
10912         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10913         math insets
10914
10915 2002-01-17  Juergen Vigna  <jug@sad.it>
10916
10917         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10918
10919         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10920         is set correctly and the inset is updated correctly.
10921
10922 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10925         the beginning of the loop.
10926
10927 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * lyxrc.C: improve help for use_scalable_fonts
10930
10931 2002-01-17  Allan Rae  <rae@lyx.org>
10932
10933         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10934
10935 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10936
10937         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10938         make sure to set their inset_owner to the right value (bug #171)
10939
10940 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10941
10942         * DepTable.h
10943         * DepTable.C: Implement mtime checking to reduce time spent doing
10944         CRCs.
10945
10946 2002-01-16  Juergen Vigna  <jug@sad.it>
10947
10948         * tabular.C (GetAdditionalHeight): one of error fixed.
10949
10950         * lyxrc.C (output): small fix in writing use_pspell.
10951
10952 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10953
10954         * sp_base.h: #include LString.h
10955
10956 2002-01-16  Allan Rae  <rae@lyx.org>
10957
10958         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10959         Can someone check this please?
10960
10961         * text.C (drawInset): It was possible that p.row would be removed by
10962         breakAgainOneRow upsetting a few other settings.  There may be another
10963         small tweak possible by setting need_break_row = 0 when p.row has been
10964         removed but I don't know enough about the logic here.
10965
10966 2002-01-15  Allan Rae  <rae@lyx.org>
10967
10968         * text.C (insertChar): removed conditional truism.
10969
10970         * BufferView2.C (removeAutoInsets): More tweaks.
10971         cur_par_prev could be a stray pointer.  Check for trailing empty line
10972         in case last line was cur_par and only had an error inset on it.
10973
10974 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10977         absolute
10978
10979         * vc-backend.C (most methods):
10980         * exporter.C (Export):
10981         * converter.C (convert):
10982         (runLaTeX):
10983         * LyXSendto.C (SendtoApplyCB):
10984         * lyxfunc.C (dispatch):
10985         (menuNew):
10986         (open):
10987         (doImport):
10988         * lyx_cb.C (AutoSave):
10989         (InsertAsciiFile):
10990         * BufferView_pimpl.C (MenuInsertLyXFile):
10991         * buffer.C (runChktex): use Buffer::filePath().
10992
10993         * buffer.h: rename filename to filename_; rename filepath to
10994         filepath_ and make it private
10995         (filePath): new method
10996
10997         * buffer.C (writeFile): use fileName()
10998         (getLatexName):
10999
11000         * lyx_main.C (init): fix starting  of LyX when the binary is a
11001         link from so,ewhere else.
11002
11003         * minibuffer.C: include <cctype> for isprint
11004
11005 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11006
11007         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11008         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11009         name clash with InsetCollapsable's width function.
11010
11011 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * lastfiles.C: include <iterator>
11014
11015 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11016
11017         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11018         std::count.
11019
11020         * buffer.C (makeLaTeXFile): ditto.
11021         Also make loop operation more transparent.
11022
11023 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * ToolbarDefaults.C: remove trailing comma closing namespace.
11026
11027         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11028
11029         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11030         as in WorkArea.
11031
11032         * trans.C (Load): comment out unused variable, allowed.
11033
11034 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11035
11036         * minibuffer.[Ch] (append_char): new method to recieve input from the
11037         drop-down completion browser. If a key was pressed, then recieve this
11038         char and append it to the existing string.
11039         (peek_event): modify the positioning data passed to the completion
11040         browser so that it can be placed above the minibuffer rather than below.
11041 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * LyXAction.C (init): alloe error-next for readonly documents.
11044
11045         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11046         count.
11047
11048 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * bufferlist.C (readFile): create the buffer _after_ checking that
11051         the file exists.
11052
11053         * lyxfunc.C (verboseDispatch): fix handling of arguments
11054
11055         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11056
11057         * lyxrc.C: use string::erase() instead of initializing to "".
11058
11059
11060 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * BufferView_pimpl.h:
11063         * BufferView_pimpl.C:
11064         * WorkArea.h:
11065         * WorkArea.C:
11066         * text2.C: tell X when we have made a selection for copying
11067
11068 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * BufferView_pimpl.C (MenuInsertLyXFile):
11071         * lyxfunc.C (menuNew):
11072         (open):
11073         (doImport): add shortcuts to directory buttons
11074
11075         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11076         open a float)
11077
11078         * lyxfunc.C (setStatusMessage):
11079         (getStatusMessage): new methods
11080         (getStatus):use setStatusMessage instead of setErrorMessage
11081         (dispatch): when function is disabled, set error message here
11082         [instead of in getStatus previously]
11083
11084         * BufferView_pimpl.C (workAreaButtonRelease): update
11085         toolbar/menubar here too.
11086
11087 2002-01-13  Allan Rae  <rae@lyx.org>
11088
11089         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11090         Now seems indestructible.  Remaining task is to audit all other
11091         code affected by deleteEmptyParagraphMechanism.  One small quirk
11092         left is that an empty document with an error in the preamble can
11093         be made to report an error but no error box appears.  I don't know
11094         where it goes.
11095         (removeAutoInsets): Improved comments.
11096
11097 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * Thesaurus.h:
11100         * Thesaurus.C: update for Aiksaurus 0.14
11101
11102 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11103
11104         * text2.C (firstParagraph): removed member function, all uses
11105         replaces with ownerParagraph
11106         (redoParagraphs): here
11107         (updateInset): here
11108         (toggleAppendix): here
11109         * BufferView2.C (insertErrors): here
11110         (setCursorFromRow): here
11111
11112 2002-01-13  Allan Rae  <rae@lyx.org>
11113
11114         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11115         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11116         There is still a way to segfault this although you may have to do this
11117         multiple times: Have an InsetERT with an unknown command in it.
11118         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11119         <down-arrow>, <Enter> again, View->DVI, BANG!
11120
11121         * text2.C (setCursor):
11122         (deleteEmptyParagraphMechanism):
11123         * lyxtext.h (setCursor):
11124         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11125         Making use of the return value may help fix other bugs.
11126
11127 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11130
11131         * LyXView.C (updateMenubar): call MenuBar::update here
11132         (updateToolbar): but not here
11133         (showState): do not update toolbar/menubar
11134
11135         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11136         should need to care about that.
11137
11138         * lyxfunc.C (verboseDispatch): simplify a bit
11139         (getStatus): have a version which takes a pseudoaction, and
11140         another which requires a (kb_action,string).
11141
11142         * LyXAction.C (retrieveActionArg): make it work also when action
11143         is not a pseudo-action.
11144         (getActionName): simplify a bit
11145         (helpText):
11146
11147 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxfunc.C (verboseDispatch): new families of methods with
11150         several ways to specify a command and a bool to indicate whether
11151         the command name and shortcut should be displayed in minibuffer
11152         (eventually, we could extend that to a finer bitmask like
11153         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11154         (dispatch): the pristine dispatch command which just, well,
11155         dispatchs! Note it still sets its result to minibuffer; I'm not
11156         sure we want that.
11157
11158         * lyxfunc.h: remove setHintMessage
11159
11160         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11161
11162 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * BufferView_pimpl.C (specialChar): delete new inset if we have
11165         not been able to insert it.
11166
11167         * kbmap.C: revert to using int instead of kb_action, since all we
11168         are dealing with is pseudo-actions.
11169
11170         * LyXAction.C (searchActionArg): change to return int instead of
11171         kb_action, since the result is a pseudoaction.
11172
11173 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11174
11175         * buffer.C (insertErtContents): Fix (partially) the font bug.
11176
11177 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11178
11179         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11180         as the other one is broken on my machine!
11181
11182 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11183
11184         * commandtags.h:
11185         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11186
11187 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11190         reflect their actual use. Provide compatibility code for older lyxrc
11191         files.
11192
11193         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11194         FL_NORMAL_STYLE.
11195         change names of popup font variables in line with the changes to lyxrc.C
11196
11197 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * buffer.C (asciiParagraph): avoid outputing a word twice after
11200         an inset.
11201
11202         * lyxrc.C (getDescription): document that document_path and
11203         template_path can be empty.
11204
11205 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * LaTeXFeatures.C (getMacros):
11208         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11209
11210         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11211
11212         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11213         getPackages.
11214         (getPackages): rename feature "floats" to "float". Use an array to
11215         iterate over 'simple' features (i.e. just a \usepackage). Add
11216         handling of "amsmath" (renamed from "amsstyle").
11217
11218 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11219
11220         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11221         features list.
11222
11223 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11226         FuncStaus::FuncStatus & FuncStaus::some_method().
11227
11228 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11229
11230         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11231         of the func_satus stuff. Edited and massaged in various ways by
11232         JMarc.
11233
11234         * lyxfunc.C (getStatus): use FuncStatus
11235
11236 2002-01-08  Juergen Vigna  <jug@sad.it>
11237
11238         * text.C (nextBreakPoint): use function Inset::isChar().
11239
11240         * paragraph.C (TeXOnePar): use function
11241         Inset::forceDefaultParagraphs.
11242
11243         * buffer.C (latexParagraphs): use function
11244         Inset::forceDefaultParagraphs.
11245
11246 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11247
11248         * lyx_gui.C (init): set the style of the menu popups to
11249         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11250
11251 2002-01-07  Juergen Vigna  <jug@sad.it>
11252
11253         * text.C (setHeightOfRow): small fix
11254         (prepareToPrint): don't look at alignment if we don't have the place
11255         for doing it.
11256
11257 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11258
11259         * box.C: New file. Move the Box methods and functions out of box.h,
11260         following Lars' suggestion.
11261
11262 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11263
11264         * box.h: #include "support/LOstream.h", needed for inlined function.
11265
11266         * lyxtextclass.C:
11267         * lyxtextclasslist.C: added some using std declarations.
11268
11269 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * box.h: make signed dimensions to allow insets wider than
11272           the screen (bug #162)
11273
11274         * BufferView_pimpl.C: add some insetHit debug
11275
11276 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * vc-backend.C: add FIXME
11279
11280 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxfunc.C (getStatus): enable code for showing math font status
11283         in toolbar/menu.
11284
11285 2002-01-07  Juergen Vigna  <jug@sad.it>
11286
11287         * text.C (nextBreakPoint): removed debug output not needed anymore.
11288
11289 2002-01-06  Juergen Vigna  <jug@sad.it>
11290
11291         * text.C (nextBreakPoint): fixed up this function we had this bug
11292         since ever but now hopefully we break row better.
11293         (insertChar): we have to check if an inset is the next char as it
11294         could now happen that a large inset is causing a break.
11295
11296 2002-01-05  Juergen Vigna  <jug@sad.it>
11297
11298         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11299         if it doesn't like to be drawed.
11300
11301 2002-01-04  Juergen Vigna  <jug@sad.it>
11302
11303         * BufferView2.C (lockInset): forgot to set a cursor.
11304
11305         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11306
11307 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11308
11309         * FormMathsPanel.C:
11310         * FormMathsPanel.h
11311         * MathsSymbols.C:
11312         * form_maths_panel.C:
11313         * form_maths_panel.h:
11314         * form_maths_panel.fd: implemented sub- and super- buttons in math
11315         panel.
11316
11317         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11318         (or ^ space) to be used as in TeX (req'd by André).
11319
11320         * lyxfunc.C: Allow ^ and _ again to be used both as
11321         super/subscript (mathed) and as themselves (in text).
11322
11323 2002-01-03  Allan Rae  <rae@lyx.org>
11324
11325         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11326         "LyX" or the filename of the current buffer if it has one.  This is a
11327         modified form of John Levon's patch.
11328
11329         * XFormsView.C (setWindowTitle): also set icon title.
11330
11331         * LyXView.h (setWindowTitle): signature changed.
11332         * XFormsView.h (setWindowTitle): ditto.
11333
11334 2002-01-02  Juergen Vigna  <jug@sad.it>
11335
11336         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11337
11338 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * screen.C (topCursorVisible): introduce a temp var for
11341         text->cursor.row(), handle the case where this row is null. (kindo
11342         hachish)
11343
11344         * text2.C (setCursor): add a couple of asserts.
11345
11346         * paragraph.h (inset_iterator): add -> operator
11347
11348         * paragraph.[Ch] (autoDeleteInsets): remove member function
11349
11350         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11351         cursor pos correctly and handle inset deletion by itself.
11352         (insertErrors): move iterator declaration out of for expression
11353
11354         * lyxtextclass.C: add <algorithm>
11355
11356         * Makefile.am: added the new files to sources, removed layout.C
11357
11358         * layout.C: removed file
11359
11360         * layout.h: remove LYX_DUMMY_LAYOUT
11361
11362         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11363         layout.
11364
11365         * lyxlayout.[Ch]:
11366         * lyxtextclass.[Ch]:
11367         * lyxtextclasslist.[Ch]: new files
11368
11369         * include order changes to a lot of files, also changes because of
11370         the six new files.
11371
11372 2001-12-27  Juergen Vigna  <jug@sad.it>
11373
11374         * buffer.C (asciiParagraph): more fixes.
11375
11376         * tabular.C (ascii): make ascii export support export of only the
11377         data separated by a column-delimiter.
11378         (ascii): better support for ascii export.
11379
11380         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11381
11382 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11383
11384         * tabular_funcs.C: use a "using std::getline" instead of the
11385         previous fix from Angus (necessary for cxx + lyxstring)
11386
11387 2001-12-24  Juergen Vigna  <jug@sad.it>
11388
11389         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11390
11391         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11392         problems. First check a minipage also if we have some ert-contents
11393         (not only on par->size(), second set the right depth of the paragraph
11394         on the relink to the root-paragraph-list!
11395
11396         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11397         which then did not anymore update the main paragraphs on undo/redo!
11398
11399 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11402         code. Support all font-changing funcs (even those which are not in
11403         menu currently). Support for reporting font settings in
11404         mathed (disabled until Andre provides a function on mathed's side).
11405
11406         * func_status.h (toggle): small helper function to set toggle
11407         state on a flag.
11408
11409 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * tabular_funcs.C: getline -> std::getline
11412
11413 2001-12-21  Juergen Vigna  <jug@sad.it>
11414
11415         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11416         accessed and could be 0 (I couldn't generate this but it seems
11417         Michael could!).
11418
11419 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11422         * tabular_funcs.h: here and include iosfwd
11423
11424 2001-12-20  Juergen Vigna  <jug@sad.it>
11425
11426         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11427         inside inset but undo_par was.
11428
11429 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * Thesaurus.C: always include <config.h> in sources.
11432
11433         * Painter.h:
11434         * lyxlookup.h:
11435         * box.h: do not include <config.h> in header files
11436
11437         * text.C (paintLastRow): remove unused variable
11438
11439         * text.C (transformChar):
11440         (insertChar):
11441         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11442
11443         * Painter.C (text):
11444         * font.C (width): rewrite to use uppercase() instead of
11445         islower/toupper.
11446
11447         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11448
11449 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * lyxfind.C: clean up of find failure position change
11452
11453 2001-12-20  Juergen Vigna  <jug@sad.it>
11454
11455         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11456
11457         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11458         (TeXRow): added to LaTeX a single tabular row.
11459         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11460         (Latex): simplified and finally good LT-h/f support.
11461         (various_functions): just small adaptions for LT-h/f support.
11462
11463         * tabular_funcs.[hC]: added and moved here all not classfunctions
11464         of LyXTabular.
11465
11466 2001-12-19  Juergen Vigna  <jug@sad.it>
11467
11468         * tabular.[Ch]: better support for longtabular options (not finished
11469         yet!)
11470
11471 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * text.C (paintLastRow): use the label font instead of the font of
11474         the last character to compute the size of *_BOX. This makes more
11475         sense and avoids a crash with empty paragraphs.
11476         Use Painter::rectangle to draw EMPTY_BOX.
11477
11478 2001-12-19  Juergen Vigna  <jug@sad.it>
11479
11480         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11481         the paragraphs if the replaced paragraph is not the first one!
11482         Tried to delete not used paragraphs but does not work yet so for
11483         now it's inside #ifdef's and by default off!
11484
11485 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11486
11487         * MenuBackend.C: include "lyx_main.h" instead of declaring
11488         lastfiles (actually was declared as LastFiles* instead of a
11489         scoped_ptr).
11490
11491 2001-12-17  Juergen Vigna  <jug@sad.it>
11492
11493         * tabular.C (AppendColumn): applied John's fix
11494
11495 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * BufferView.h:
11498         * BufferView.C:
11499         * BufferView_pimpl.h:
11500         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11501
11502         * Makefile.am:
11503         * box.h: new start of class for above
11504
11505         * lyxfunc.C: ignore space-only minibuffer dispatches.
11506           Show the command name when it doesn't exist
11507
11508         * minibuffer.C: don't add empty lines to the history
11509
11510         * minibuffer.C: add a space on dropdown completion
11511
11512 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * text.C: fix line above/below drawing in insets
11515
11516 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11517
11518         * lyxlength.C (LyXLength): Initialize private variables.
11519
11520 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11521
11522         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11523         when inserting error insets.
11524
11525 2001-12-13  Juergen Vigna  <jug@sad.it>
11526
11527         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11528         actually sometimes the before-paragraph.
11529         (setUndo): don't clear the redostack if we're not actually undoing!
11530
11531 2001-12-06  Juergen Vigna  <jug@sad.it>
11532
11533         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11534         and fixed redoing of main paragraph, so we can use it now ;)
11535
11536         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11537
11538 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11541         Juergen's request
11542
11543 2001-12-13  André Pönitz <poenitz@gmx.net>
11544
11545         * undostack.[Ch]:
11546         * undo_func.C: minor cleanup
11547
11548 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11551         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11552         font in urw-fonts package which is marked as -urw-fontspecific and
11553         does not work (incidentally, changing the encoding in the
11554         fonts.dir of this package to -adobe-fontspecific fixes the
11555         problem).
11556
11557         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11558         is a crash when undoing first paragraph (Juergen, please take a
11559         look). THis does not mean the undo fix is wrong, just that it
11560         uncovers problems.
11561
11562         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11563         the (Paragraph*) version when needed instead of duplicating the
11564         code.
11565
11566         * text.C (workWidth): use Inset::parOwner to find out where the
11567         inset has been inserted. This is a huge performance gain for large
11568         documents with lots of insets. If Inset::parOwner is not set, fall
11569         back on the brute force method
11570
11571         * paragraph_pimpl.C (insertInset):
11572         * paragraph.C (Paragraph):
11573         (cutIntoMinibuffer): set parOwner of insets when
11574         inserting/removing them
11575
11576         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11577
11578 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11579
11580         * commandtags.h:
11581         * LyXAction.C:
11582         * lyx_main.C:
11583         * lyxfunc.C:
11584         * mathed/formulabase.C:
11585         * mathed/math_cursor.[Ch]:
11586         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11587
11588
11589 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * lyxlength.[Ch] (operator!=): new function
11592
11593 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * text.C (workWidth): use Inset::parOwner to find out where the
11596         inset has been inserted. This is a huge performance gain for large
11597         documents with lots of insets. If Inset::parOwner is not set, fall
11598         back on the brute force method
11599
11600         * paragraph_pimpl.C (insertInset):
11601         * paragraph.C (Paragraph):
11602         (cutIntoMinibuffer): set parOwner of insets when
11603         inserting/removing them
11604
11605         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11606
11607 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * tabular-old.C (getTokenValue):
11610         * tabular.C (getTokenValue):
11611         (write_attribute): new versions for LyXLength
11612         (everywhere): adjust the use of widths
11613
11614         * tabular.h: change the type of widths from string to LyXLength
11615
11616 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11617
11618         * paragraph.C: fixed missing line number count when exporting
11619         Environments to LaTeX file
11620
11621         * buffer.C: added informational message for checking line numbers.
11622
11623 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11626         paragraph, do the 'double space' part, but not the 'empty
11627         paragraph' one.
11628
11629         * text.C (workWidth): small optimization
11630         (getLengthMarkerHeight): use minimal size for negative lengths.
11631
11632 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11633
11634         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11635
11636         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11637
11638 2001-12-11  André Pönitz <poenitz@gmx.net>
11639
11640         * FontLoader.C:
11641         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11642
11643 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * text2.C: keep selection on a setFont()
11646
11647 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * lyx_cb.C: another bv->text misuse, from insert label
11650
11651 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * kbsequence.h:
11654         * kbsequence.C: re-instate nmodifier mask
11655
11656 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11657
11658         * lyx_main.h: make lyxGUI private.
11659
11660 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * lyxfind.C: place the cursor correctly on failed search
11663
11664 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11665
11666         * text.C (getLengthMarkerHeight): for small heights, the arrows
11667         are not always on top/bottom of the text
11668         (drawLengthMarker): smaller arrows; take the left margin in
11669         account; draw also vfills.
11670         (paintFirstRow):
11671         (paintLastRow): remove special code for vfill and standard spaces,
11672         since everything is handled in drawLengthMarker now.
11673
11674 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * buffer.C (insertErtContents): try to handle font and language
11677         interaction a bit better.g
11678
11679         * ColorHandler.C (updateColor): change the hash to cover the whole
11680         LColor enum, ws cleanup
11681         (getGCLinepars): ditto
11682         (getGCLinepars): only lookup in the linecache once.
11683
11684 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11685
11686         * iterators.C (operator++): Make the iterator more robust
11687
11688         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11689         (John's patch)
11690         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11691
11692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * lyxtext.h:
11695         * text.C: better added space drawing
11696
11697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * LyXView.C:
11700         * BufferView2.C: fix layout combo update on inset unlock
11701
11702 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * Makefile.am: don't compile unused files
11705
11706 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyxfunc.C:
11709         * commandtags.h:
11710         * LyXAction.C: remove old LFUN_LAYOUTNO
11711
11712 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * paragraph_pimpl.h:
11715         * paragraph_pimpl.C: isTextAt() doesn't need font param
11716
11717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * lyxlex.h:
11720         * lyxlex.C: little cleanup
11721
11722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * BufferView_pimpl.C: fix insertAscii for insets
11725
11726 2001-12-05  Juergen Vigna  <jug@sad.it>
11727
11728         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11729         set the right font on the "multi" paragraph paste!
11730
11731 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * trans_decl.h:
11734         * trans_mgr.[Ch]:
11735         * trans.[Ch]:
11736         * lyxgluelength.C:
11737         * lyxlength.C: remove out-commented code.
11738
11739         * BufferView_pimpl:
11740         * CutAndPaste.C:
11741         * DepTable.C:
11742         * buffer.C:
11743         * chset.C:
11744         * lastfiles.C:
11745         * lyxlex.C:
11746         * lyxlex_pimpl.C:
11747         * lyxserver.C:
11748         * screen.C:
11749         * tabular-old.C:
11750         * tabular.C:
11751         * text.C:
11752         * trans_mgr.C:
11753         * vc-backend.C: change "while(" to "while ("
11754
11755         * lyxlength.[Ch]: add zero function to check if length is zero or
11756         not
11757         * lyxgluelength.C: use it
11758
11759 2001-12-05  Allan Rae  <rae@lyx.org>
11760
11761         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11762         Works for 2.95.3, from what I understand of Garst's reports this should
11763         work for other g++ versions.  We're screwed if the abs(int) definition
11764         changed between bugfix releases of gcc.
11765
11766 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * text.C: fix chapter label offset !
11769
11770 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * lyxtext.h:
11773         * text.C: fix hfill at end of line, clean up
11774
11775 2001-12-04  Juergen Vigna  <jug@sad.it>
11776
11777         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11778         that we force an update of the inset and it's owners if neccessary.
11779
11780 2001-12-03  Juergen Vigna  <jug@sad.it>
11781
11782         * text.C (rowLast): simplified code
11783
11784 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * lyxfunc.C: fix show options on timeout
11787
11788 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * screen.C (topCursorVisible): scroll half a page when the cursor
11791         reached top of bottom of screen
11792
11793 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * minibuffer.C: deactivate on loss of focus
11796
11797 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * vspace.[Ch] (operator!=): add operator.
11800
11801 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * BufferView_pimpl.C: refuse to open an inset when
11804         there's a selection.
11805
11806 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * BufferView_pimpl.C: allow to click on RHS of full row insets
11809
11810 2001-11-30  Juergen Vigna  <jug@sad.it>
11811
11812         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11813         insets for undo reasons.
11814
11815 2001-11-28  André Pönitz <poenitz@gmx.net>
11816
11817         * vspace.[Ch]: cosmetical changes
11818
11819 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * LyXAction.h:
11822         * LyXAction.C:
11823         * lyxfunc.h:
11824         * lyxfunc.C:
11825         * kbmap.h:
11826         * kbmap.C:
11827         * lyxrc.C:
11828         * kbsequence.h:
11829         * kbsequence.C: part re-write of old kb code
11830
11831         * Painter.C:
11832         * WorkArea.C: remove Lgb_bug_find_hack
11833
11834 2001-11-30  José Matos <jamatos@fep.up.pt>
11835
11836         * buffer.C (makeDocBookFile): add a comment to point a hack.
11837         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11838         Fixed a double write of labels.
11839
11840 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11841
11842         * LaTeX.C:
11843         * LaTeX.h Fixed bug in LaTeX class where it would not
11844         re-run latex if no depfiles were changed, but the .dvi was removed.
11845
11846 2001-11-28  André Pönitz <poenitz@gmx.net>
11847
11848         * all the files from the change on 2001/11/26:
11849         use lyx::layout_type instead of LyXTextClass::size_type
11850         use lyx::textclass_type instead of LyXTextClassList::size_type
11851
11852 2001-11-29  Juergen Vigna  <jug@sad.it>
11853
11854         * text.C: added support for paragraph::isFreeSpacing()
11855
11856         * buffer.C: same as above
11857
11858         * paragraph.h: inserted isFreeSpacing() function to enable
11859         FreeSpacing inside InsetERT.
11860
11861         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11862         of the paragraph's in the cut/copy buffer to 0!
11863
11864         * text2.C (removeRow): remove the assert as it can!
11865
11866         * lyxtext.h: added helper function firstRow returning firstrow and
11867         made firstrow private again.
11868
11869         * BufferView2.C (lockInset): don't relock if we're already locked!
11870
11871         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11872         the only paragraph.
11873         (removeRow): added Assert::(firstrow)
11874
11875         * debug.C: forgot to add INSETTEXT here.
11876
11877 2001-11-28  Juergen Vigna  <jug@sad.it>
11878
11879         * sp_spell.C (initialize): changed error text to more general
11880         spellchecker command use (not only ispell!)
11881
11882         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11883
11884         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11885
11886 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11887
11888         * vspace.C: initialise lyxgluelength on failure
11889
11890 2001-11-28  Allan Rae  <rae@lyx.org>
11891
11892         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11893         declaration & definition that looks like a function declaration.
11894
11895 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11896
11897         * BufferView2.C (copy):
11898         (copyEnvironment): do not clear the selection when doing a copy.
11899
11900         * text.C (paintFirstRow): compilation fix
11901
11902 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11903
11904         * tabular.C (Latex): correct line count when writing latex.
11905
11906 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * paragraph_pimpl.h:
11909         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11910           bug a bit
11911
11912 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * text.C:
11915         * LColor.h:
11916         * LColor.C: change vfillline->added_space
11917
11918         * text.C: add markers and text for added space
11919
11920         * vspace.C: fix comment
11921
11922 2001-11-28  André Pönitz <poenitz@gmx.net>
11923
11924         * paragraph.C: whitespace changes
11925         * all the other files from the change on 2001/11/26:
11926         change *::pos_type into lyx::pos_type
11927
11928 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11929
11930         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11931         language of the document when inserting error insets.
11932
11933 2001-11-26  André Pönitz <poenitz@gmx.net>
11934
11935         * BufferView_pimpl.[Ch]:
11936         *       CutAndPaste.C:
11937         * buffer.[Ch]:
11938         * lyxcursor.[Ch]:
11939         * lyxfind.C:
11940         * lyxfunc.C:
11941         * lyxrow.[Ch]:
11942         * paragraph.[Ch]:
11943         * paragraph_pimpl.[Ch]:
11944         * sp_spell.C:
11945         * text.C:
11946         * text2.C: reduce header dependencies, introduce type for positions
11947
11948 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * <various>: change to use Alert.h
11951
11952 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11953
11954         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11955         when encountering an unknown token.
11956         (readLyXformat2): Show an error message if there were unknown tokens.
11957
11958 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * BufferView2.C:
11961         * BufferView_pimpl.C:
11962         * buffer.C:
11963         * paragraph.h:
11964         * text.C:
11965         * text2.C: use par->isInset()
11966
11967 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * paragraph_pimpl.h:
11970         * paragraph_pimpl.C: cleanup
11971
11972 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11973
11974         * text2.C (removeRow):
11975         * text.C (setHeightOfRow): remove useless (and costly) call to
11976         getRow.
11977
11978 2001-11-20  Allan Rae  <rae@lyx.org>
11979
11980         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11981         Now need Inset*::checkInsertChar() to return true for appropriate
11982         cases so that the characters in the minibuffer will actually be
11983         inserted.
11984
11985 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * text.C: change the order of the includes.
11988         (workWidth): initialize it at once.
11989         (workWidth): make maxw unsigned
11990         (setHeightOfRow): remove unused variable (inset)
11991         (selectSelectedWord): remove unused variable (inset)
11992         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11993
11994 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11997         server is not running.
11998         (openConnection):
11999         (closeConnection): add debug info when server is disabled.
12000
12001         * ColorHandler.C (getGCForeground): send debug message to GUI
12002         channel.
12003
12004         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12005
12006         * kbmap.C (bind): modify because return conventions of
12007         kb_sequence::parse have changed.
12008
12009         * kbsequence.C (parse): only ignore spaces and not any stupid
12010         control character. This avoids tests like s[i] <= ' ', which are
12011         guaranteed to fail with 8bit characters and signed chars.
12012         Change return code to string::npos when there have been no error
12013         (0 was a bad idea when error is at first character)
12014
12015 2001-11-14  José Matos  <jamatos@fep.up.pt>
12016
12017         * buffer.h:
12018         * buffer.C (simpleDocBookOnePar): removed unused argument.
12019
12020 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12021
12022         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12023         insets which are part of a word. Paragraph::isLetter takes care of
12024         that now. Use Paragraph::isInset to identify insets.
12025         (selectSelectedWord): do not test for hyphenation break.
12026
12027         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12028         that protected spaces are considered as spaces.
12029
12030         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12031         Inset::isLetter.
12032
12033 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * lyxserver.h:
12036         * lyxserver.C: fix it. and small cleanup.
12037
12038 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * BufferView_pimpl.C: use inline helpers
12041
12042         * LaTeXFeatures.h:
12043         * LaTeXFeatures.C: fix typos
12044
12045         * Spacing.h:
12046         * Spacing.C: move spacing_string into class
12047
12048         * ToolbarDefaults.C: move stuff into namespace anon
12049
12050         * layout.h: update enum
12051
12052         * lyxfunc.C: use better debug
12053
12054         * minibuffer.h: fix typo
12055
12056         * debug.h:
12057         * debug.C:
12058         * WorkArea.C: add and use Debug::WORKAREA
12059
12060         * lyxtext.h:
12061         * text.C:
12062         * text2.C: code re-organisation, inline helpers
12063
12064 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12065
12066         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12067         std::vector.empty().
12068
12069 2001-11-09  Allan Rae  <rae@lyx.org>
12070
12071         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12072         '\n's after tables.  Tabular and ERT inset work now makes this no
12073         longer necessary.
12074
12075 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * minibuffer.h:
12078         * minibuffer.C: fix crash, improve drop-down completion
12079
12080 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * lyxserver.h:
12083         * lyxserver.C: invalidate fd's when doing endPipe()
12084
12085 2001-11-08  José Matos  <jamatos@fep.up.pt>
12086
12087         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12088         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12089
12090         * paragraph.h:
12091         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12092
12093 2001-11-07  José Matos  <jamatos@fep.up.pt>
12094
12095         * buffer.h:
12096         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12097         const qualifier.
12098
12099         * buffer.C (sgmlOpenTag):
12100         * buffer.C (sgmlCloseTag): removed debug info.
12101
12102         * buffer.h (sgmlOpenTag):
12103         * buffer.h (sgmlCloseTag): made public.
12104
12105 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12106
12107         * buffer.C (saveParamsAsDefaults):
12108         * lyx_cb.C (MenuLayoutSave): remove
12109
12110         * LyXAction.C (init):
12111         * commandtags.h:
12112         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12113
12114 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * buffer.C (setPaperStuff): removed from here...
12117
12118         * bufferparams.C (setPaperStuff): ... and moved there.
12119
12120 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * minibuffer.h:
12123         * minibuffer.C:
12124         * XFormsView.C: add support for drop-down completion
12125
12126 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12129         commands.
12130
12131 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12132
12133         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12134         disabled.
12135
12136 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * lyx_main.C: change ref to known bugs
12139
12140 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12141
12142         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12143         to work around older babel problems.
12144
12145 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12146
12147         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12148
12149 2001-10-24  Juergen Vigna  <jug@sad.it>
12150
12151         * tabular-old.C (ReadOld): below variable changes reflected.
12152
12153         * tabular.[Ch]: added ltType struct for longtable header/footer
12154         defines and changed all instances where they are used. Added
12155         future support for double top/bottom rows.
12156
12157 2001-10-24  José Matos  <jamatos@fep.up.pt>
12158
12159         * buffer.h (docbookHandleCaption):
12160         * buffer.C (docbookHandleCaption): removed unused function.
12161         (makeDocBookFile): moved docbook supported version to v4.1.
12162
12163 2001-10-24  José Matos  <jamatos@fep.up.pt>
12164
12165         * tabular.h:
12166         * tabular.C (docbookRow): new function to export docbook code of a row.
12167         (DocBook): now honors the longtable flags.
12168
12169 2001-10-23  José Matos  <jamatos@fep.up.pt>
12170
12171         * LaTeXFeatures.h:
12172         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12173         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12174
12175         * buffer.C (makeLinuxDocFile):
12176         (makeDocBookFile): reworked the preamble, more clean, and with
12177         support for lyx defined entities. Changed the document declaration
12178         to be more XML friendly.
12179
12180         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12181         if we need to output XML that should be done with a filter.
12182
12183 2001-10-22  Juergen Vigna  <jug@sad.it>
12184
12185         * sp_pspell.h (class PSpell): add alive function needed in the
12186         controller to see if the spellchecker could be started.
12187
12188 2001-10-22  Juergen Vigna  <jug@sad.it>
12189
12190         * buffer.C (insertStringAsLines): modify the font for inserting
12191         chars in certain conditions by calling checkInsertChar(font).
12192
12193 2001-10-19  Juergen Vigna  <jug@sad.it>
12194
12195         * text.C (workWidth): use getRow instead of wrong algorithm.
12196         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12197
12198 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * lyxserver.h:
12201         * lyxserver.C:
12202         * lyx_main.h:
12203         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12204
12205 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * text.C (workWidth): do not search for the exact row when
12208         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12209         optimization for big documents.
12210
12211 2001-10-18  Juergen Vigna  <jug@sad.it>
12212
12213         * text.C (workWidth): new function with added Inset * parameter.
12214
12215 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12216
12217         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12218
12219         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12220         change return type of getColumnNearX.
12221
12222
12223         * text.C (changeRegionCase): use uppercase/lowercase instead of
12224         toupper/tolower.
12225         (leftMargin):
12226         (rightMargin): simplify code by factoring out the uses of
12227         textclasslist.
12228         (labelFill):
12229         (numberOfHfills):
12230         (setHeightOfRow):
12231         (appendParagraph): use Paragraph::size_type
12232
12233 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12234
12235         * vspace.C (asLatexString): add a missing break
12236
12237 2001-10-15  Herbert Voss  <voss@perce.de>
12238
12239         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12240
12241 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12244         is not available.
12245
12246 2001-10-10  André Pönitz <poenitz@gmx.net>
12247
12248         * lyxfunc.C: removed greek_kb_flag.
12249
12250 2001-10-10  Herbert Voss  <voss@perce.de>
12251
12252         * lyx_main.C: delete global string help_lyxdir.
12253
12254 2001-10-09  Herbert Voss  <voss@perce.de>
12255
12256         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12257
12258         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12259
12260         * lyx_main.C: added global string help_lyxdir.
12261
12262         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12263
12264 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12265
12266         * lyxrc.C (set_font_norm_type): support iso8859-4
12267
12268 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12269
12270         * LaTeX.C (deplog): add another regex for MikTeX
12271
12272 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12273
12274         * lyxrc.C (set_font_norm_type): support iso8859-3
12275
12276 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12277
12278         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12279
12280         * LaTeXFeatures.C: remove special case of french and index
12281
12282         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12283         before \begin{document}). This solves several incompatibilities.
12284
12285 2001-10-03  Garst Reese  <reese@isn.net>
12286
12287         * lyx_cb.C: change CheckTex error msg.
12288
12289 2001-10-03  José Matos  <jamatos@fep.up.pt>
12290
12291         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12292
12293 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * .cvsignore: update
12296
12297         * lyx_main.C (commandLineVersionInfo): use new style version info.
12298
12299         * buffer.C (writeFile):
12300         (makeLaTeXFile):
12301         (makeLinuxDocFile):
12302         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12303
12304         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12305
12306         * version.h: update to use stuff in version.C
12307
12308         * version.C.in: new file. Contains version information determined
12309         at compile time. This is a merging of version.h and
12310         version_info.h.in.
12311
12312 2001-10-03  Juergen Vigna  <jug@sad.it>
12313
12314         * BufferView_pimpl.C (update): don't change "dirty" status in
12315         updateInset call.
12316
12317 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * WorkArea.C (c-tor): re-position version string slightly.
12320
12321 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12324         revert to previous code.
12325
12326         WorkArea.[Ch]: (show, destroySplash): methods removed.
12327
12328         WorkArea.C: rework code so that it's an amalgam of the codes before and
12329         after the splash screen was moved to WorkArea.
12330
12331 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12332
12333         * lyxrc.C (read):
12334         * vspace.C (inPixels):
12335         (lyx_advance):
12336         * kbmap.C (bind):
12337         * buffer.C (insertStringAsLines):
12338         (asciiParagraph): fix types to be large enough
12339
12340         * lyxlex_pimpl.h: change member status from short to int
12341
12342         * layout.h: fix type of endlabeltype
12343
12344         * kbmap.C (bind):
12345         * kbsequence.C (parse): change return type to string::size_type
12346
12347         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12348         variable
12349
12350         * Bullet.C (bulletSize):
12351         (bulletEntry): do not use short ints as parameters
12352
12353         * BufferView2.C (insertLyXFile): change a char to an int.
12354
12355         * WorkArea.C (WorkArea): remove unneeded floats in computation
12356
12357 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12358
12359         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12360
12361         * paragraph.C (asString): Do not ignore newline/hfill chars when
12362         copying to the clipboard.
12363
12364 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12365
12366         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12367         after a multi-line inset.
12368
12369 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12370
12371         * paragraph.C (validate): Set NeedLyXFootnoteCode
12372
12373 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12376         and decrease-error to decrease.
12377
12378 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12379
12380         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12381         it more readable (should be equivalent)
12382
12383 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12384
12385         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12386
12387 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12390         of a cursor (row, etc.) after a character has been deleted
12391         (deleteEmptyParagraphMechanism): call the method above on _all_
12392         cursors held by the LyXText when a double space has been
12393         detected/deleted.
12394
12395 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12396
12397         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12398         pixmap.
12399         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12400
12401         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12402         background. Use greyOut() and the new show() methods to toggle between
12403         the foreground and background. Add code to remove the splash after
12404         its initial showing.
12405
12406         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12407         (create_forms): no longer call Dialogs::showSplash.
12408
12409 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * .cvsignore: add version_info.h
12412
12413 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12414
12415         * version_info.h.in: new file
12416
12417         * Makefile.am: add version_info.h.in
12418
12419         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12420         version_info.h instead of VERSION_INFO
12421
12422 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12423
12424         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12425         The ERT inset now returns string().
12426
12427 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         * lyxtext.h, text.C (selectNextWord): renamed as
12430         selectNextWordToSpellcheck.
12431
12432         * text.C (selectNextWordToSpellcheck): Modified to not select
12433         words inside an ERT inset.
12434
12435 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * lyx_cb.C (MenuLayoutSave): change a bit the question
12438
12439         * sp_base.h: include <sys/types.h>
12440
12441 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12444
12445 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12446
12447         * several files: fix typos in user-visible strings
12448
12449 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * text2.C (pasteSelection): do not set the selection, since it
12452         will be cleared later. Actually, the intent was to fix the way the
12453         selection was set, but I figured rmoving the code was just as good.
12454
12455 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * FontLoader.C (available): Check if font is available without
12458         loading the font.
12459
12460 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12461
12462         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12463
12464 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * lyxrc.[Ch]: added display_graphics variable and associated code.
12467
12468 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12469
12470         * bufferparams.C (hasClassDefaults): new method. Returns true if
12471         the buffer parameters correspond to known class defaults
12472
12473 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12474
12475         * XFormsView.C (show): set minimum size to the main window.
12476
12477 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * text2.C (copySelection):
12480         (cutSelection):
12481         * lyxfind.C (LyXReplace):
12482         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12483         LyXText::selectionAsString.
12484
12485         * paragraph.C (asString): add "label" argument to the second form
12486
12487         * text2.C (selectionAsString): add "label" argument and pass it to
12488         Paragraph::asString.
12489
12490 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12491
12492         * lyx_main.C (commandLineHelp): remove version information
12493
12494 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12495
12496         * lyx_main.C: add -version commandline option
12497
12498 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * paragraph.h: make the optional constructor arg required instead.
12501         some modifications to other files because of this.
12502
12503         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12504
12505         * lyxserver.C (C_LyXComm_callback): make it static
12506
12507         * lyx_main.C (error_handler): make it static
12508
12509         * lyx_gui.C (LyX_XErrHandler): make it static
12510
12511         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12512
12513         * WorkArea.C: make the extern "C" methods static.
12514
12515         * Makefile.am (lyx_LDADD): simplify
12516
12517 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12518
12519         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12520         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12521
12522         * LyXAction.C (init):
12523         * lyxfunc.C (dispatch): associated code removal.
12524
12525 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * lyxfont.h (isSymbolFont): shut off warning
12528
12529         * text.C (setHeightOfRow):
12530         (getVisibleRow): fix crash with empty paragraphs which have a
12531         bottom line
12532
12533 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12534
12535         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12536         code.
12537
12538 2001-09-04  José Matos  <jamatos@fep.up.pt>
12539         * buffer.C
12540         * buffer.h
12541         * tabular.C (docbook): rename docBook method to docbook.
12542
12543 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * Makefile.am: add dependencies to main.o.
12546
12547 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12548
12549         * FontLoader.C (available): Return false if !lyxrc.use_gui
12550
12551 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12552
12553         * FontInfo.C (query):
12554         * converter.C (view):
12555         * importer.C (Import):
12556         * exporter.C (Export): Can not -> cannot.
12557
12558 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView_pimpl.C: allow to create index inset even if
12561           string is empty
12562
12563 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12564
12565         * buffer.C (getLists): replace boost::tie code with an explicit pair
12566         as boost::tie can break some compilers.
12567
12568         * iterators.h: Added a std:: declaration to the return type of
12569         ParIterator::size.
12570
12571 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12574           case.
12575
12576 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * iterators.[Ch]: New files. Provide paragraph iterators.
12579
12580         * buffer.C (changeLanguage): Use paragraph iterators.
12581         (isMultiLingual): ditto
12582
12583         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12584
12585 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12586
12587         * FontLoader.C: Support for cmr font.
12588
12589 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12590
12591         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12592         (available): New method.
12593
12594         * FontInfo.C (getFontname): Use scalable fonts even when
12595         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12596         found.
12597
12598 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * converter.C (Formats::view): reverted! Incorrect fix.
12601
12602 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12603
12604         * converter.C (Formats::view): only output the -paper option
12605         if the dvi viewer is xdvi, thereby fixing bug #233429.
12606
12607 2001-08-23  Herbert Voss  <voss@perce>
12608
12609         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12610
12611 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12612
12613         * Spacing.h (Spacing): Set space to Default on in the default
12614         constructor.
12615
12616 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12617
12618         * vc-backend.h (RCS::versionString): add RCS to version
12619         (CVS::versionString): add CVS to version
12620
12621         * vc-backend.C (scanMaster): do not add CVS to version.
12622         (scanMaster): do not add RCS to version
12623
12624         * lyxvc.C (versionString): new method
12625
12626         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12627
12628 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * Spacing.C (set): initialize fval
12631
12632 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12633
12634         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12635         " or \.
12636
12637 2001-08-16  Juergen Vigna  <jug@sad.it>
12638
12639         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12640
12641 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * BufferView_pimpl.C:
12644         * figureForm.C:
12645         * lyxtext.h:
12646         * text2.C: setParagraph takes linespacing now
12647
12648 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * LyxAction.C: add internal LFUN_CITATION_INSERT
12651
12652         * LyXView.C: actually apply fix
12653
12654         * bufferlist.C: fix open non-existent file
12655
12656         * lyxfind.C: fix indentation
12657
12658         * lyxfunc.C: remove unneeded assert, fix typo
12659
12660 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * MenuBackend.C: use "Floatname List"
12663
12664 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12665
12666         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12667         when converting LaTeX layout to insetERT.
12668         Generate a non-collapsed float when reading old float
12669
12670 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12671
12672         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12673         ERT insets.
12674
12675 2001-08-13  Juergen Vigna  <jug@sad.it>
12676
12677         * text.C (fill): return 0 instead of 20 as this seems to be the more
12678         correct value.
12679
12680 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12681
12682         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12683         lyxrc.font_norm.
12684
12685 2001-08-13  Juergen Vigna  <jug@sad.it>
12686
12687         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12688         casesensitive off.
12689         (SearchBackward): comment out the unlocking of the inset_owner this
12690         should not be needed!
12691
12692 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12693
12694         * Many files: Remove inherit_language, and add latex_language
12695
12696         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12697         collapsible insets.
12698
12699 2001-08-10  Juergen Vigna  <jug@sad.it>
12700
12701         * text.C (prepareToPrint): fixed hfill-width in draw!
12702
12703         * BufferView2.C (selectLastWord): save the selection cursor as this
12704         now is cleared in the function LyXText::clearSelection!
12705
12706 2001-08-08  Juergen Vigna  <jug@sad.it>
12707
12708         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12709         BACKSPACE type functions.
12710
12711         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12712         is only cutted from the document but not put in the cut-buffer, where
12713         still the old stuff should be.
12714
12715         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12716
12717         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12718
12719         * tabular.C (SetWidthOfCell): fixed special case where the width
12720         was not updated!
12721         (LeftLine): handle '|' in align_special.
12722         (RightLine): ditto
12723         (LeftAlreadyDrawed): ditto
12724         (SetWidthOfCell): ditto
12725
12726 2001-08-07  Juergen Vigna  <jug@sad.it>
12727
12728         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12729
12730 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12733         * lyxlex.[hC]: ditto
12734
12735 2001-08-06  Juergen Vigna  <jug@sad.it>
12736
12737         * text.C (getVisibleRow): fix up row clearing a bit.
12738
12739 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * minibuffer.C: make sure the X server sees the changes in the input.
12742
12743 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * paragraph.C (getFont): split into...
12746         (getLabelFont): this
12747         (getLayoutFont): and this
12748         * paragraph_pimpl.C (realizeFont): calling this
12749
12750         * text2.C (getFont): split into...
12751         (getLayoutFont): this
12752         (getLabelFont): and this
12753         (realizeFont): all three calling this
12754
12755         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12756         files where used.
12757
12758 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12761
12762 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12763
12764         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12765         layouts from the Quote inset insertion.
12766
12767 2001-08-03  Juergen Vigna  <jug@sad.it>
12768
12769         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12770
12771         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12772         only if status not is already CHANGED_IN_DRAW (second level).
12773
12774         * text.C (draw): don't set the need_break_row when inside an
12775         InsetText LyXText.
12776
12777 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * buffer.C (parseSingleLyXformat2Token): handle more latex
12780         conversion cases.
12781
12782         * bufferview_funcs.[hC]: change function names to
12783         begin with small char, adjust other files.
12784
12785 2001-08-02  André Pönitz <poenitz@gmx.net>
12786
12787         * lyxfunc.C:
12788         BufferView_pimpl.C: remove broken special code for math-greek
12789
12790 2001-08-02  Juergen Vigna  <jug@sad.it>
12791
12792         * BufferView_pimpl.C (update): redone this function so that we
12793         update the text again if there was a CHANGE_IN_DRAW.
12794
12795         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12796         (drawFromTo): added a new internal bool which is used by draw() and
12797         redraw() function.
12798         (general): some cursor drawing problems fixed.
12799
12800 2001-08-01  Juergen Vigna  <jug@sad.it>
12801
12802         * lyxfind.C (LyXFind): fixed
12803         (SearchForward): ditto
12804         (SearchBackward): ditto
12805
12806         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12807         spurius drawing of the cursor in the main area.
12808
12809         * text2.C (status): small fix which could lead to a segfault!
12810         (clearSelection): remove unneeded BufferView param.
12811
12812 2001-08-01  André Pönitz <poenitz@gmx.net>
12813
12814         * lyxfunc.C: small change due to changed mathed interface
12815
12816 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12819
12820 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12821
12822         * lyxfunc.c: fail gracefully if file doesn't exist
12823
12824         * LyXSendto.C:
12825         * buffer.C:
12826         * lyxfunc.C:
12827         * BufferView_pimpl.C: IsDirWriteable() proto changed
12828
12829         * LyXView.C: fix updateWindowTitle() to store the last title
12830
12831 2001-07-31  Juergen Vigna  <jug@sad.it>
12832
12833         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12834         the font (wrong since using of Paragraph::highestFontInRange).
12835
12836         * paragraph.C (highestFontInRange): added a default_size parameter.
12837
12838         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12839         (setHeightOfRow): reformat
12840
12841 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * converter.[hC] + affected files: move to (inital-char)lowercase
12844         function names.
12845
12846         * ParagraphParameters.C (ParagraphParameters): remove commented code
12847
12848         * PainterBase.[Ch]: remove commented code
12849
12850         * LaTeXFeatures.h: add "bool floats" for float.sty
12851
12852         * LaTeXFeatures.C (LaTeXFeatures): init floats
12853         (require): handle float
12854         (getPackages): do it with floats
12855
12856 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * BufferView_pimpl.C (Dispatch): improve handling of
12859         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12860
12861         * commandtags.h: #include lyxfont.h here temporarily to avoid
12862         keybinding bug.
12863
12864         * bufferlist.h: include LString.h here.
12865
12866 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * text2.C (getStringToIndex): new method.
12869
12870 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12871
12872         * *: Reduced header file dependencies all over.
12873
12874 2001-07-30  Baruch Even  <baruch@lyx.org>
12875
12876         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12877
12878 2001-07-29  Baruch Even  <baruch@lyx.org>
12879
12880         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12881
12882 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * ParameterStruct.h (endif): add a default constructor to make
12885         sure that all variables is initialized.
12886
12887         * ParagraphParameters.C (ParagraphParameters): adjust
12888
12889 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12890
12891         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12892         index; also, check that there is something to index, and that it
12893         does not span over several paragraphs.
12894         (doubleClick): use WHOLE_WORD_STRICT for double click.
12895
12896         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12897
12898         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12899         scheme.
12900
12901 2001-07-26  Baruch Even  <baruch@lyx.org>
12902
12903         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12904         an InsetFig figure, backwards compatible reading of old figure code.
12905
12906 2001-07-27  Juergen Vigna  <jug@sad.it>
12907
12908         * text2.C: font.realize function adaption.
12909
12910         * text.C (draw): add a warnings lyxerr text if needed.
12911
12912         * layout.C: font.realize function adaption.
12913
12914         * language.C: add inherit_language and implement it's handlings
12915
12916         * bufferview_funcs.C (StyleReset): remove language parameter from
12917         font creation (should be language_inherit now).
12918
12919         * bufferparams.C (writeFile): handle ignore_language.
12920
12921         * paragraph.C (getFontSettings): the language has to be resolved
12922         otherwise we have problems in LyXFont!
12923
12924         * lyxfont.C (lyxWriteChanges): added document_language parameter
12925         (update): removed unneeded language parameter
12926
12927         * paragraph.C (validate): fixed wrong output of color-package when
12928         using interface colors for certain fonts in certain environments,
12929         which should not seen as that on the final output.
12930
12931 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * BufferView_pimpl.C:
12934         * Thesaurus.h:
12935         * Thesaurus.C:
12936         * Makefile.am:
12937         * commandtags.h:
12938         * LyXAction.C: add thesaurus support
12939
12940         * lyxfind.h:
12941         * lyxfind.C: add "once" parameter, for thesaurus, to not
12942           move to the next match
12943
12944 2001-07-26  Juergen Vigna  <jug@sad.it>
12945
12946         * lyxfont.C (realize): honor ignore_language too!
12947         (resolved): ditto.
12948
12949         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12950
12951         * text.C (draw): one place more for ignore_language to not draw
12952         itself!
12953
12954 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12955
12956         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12957
12958 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12961         the minipage conversion problem.
12962
12963 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12966         insert an inset.
12967
12968 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * BufferView.h: don't forward declare WorkArea
12971
12972         * BufferView.C: don't include WorkArea.h
12973
12974 2001-07-25  André Pönitz <poenitz@gmx.net>
12975
12976         * commandtags.h:
12977         * LyXAction.C:
12978         * lyxfunc.C:  new LFUN 'math-space'
12979
12980         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12981
12982 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * text2.C (toggleInset): call open/close
12985
12986 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * lyxfunc.C (dispatch): add debug for the disabled case
12989
12990         * font.C (buttonText): make similar to rectText
12991
12992         * buffer.C (readInset): comment out parsing of insetlist and
12993         insttheorem
12994
12995         * PainterBase.C (rectText): small correction
12996
12997         * BufferView_pimpl.C: comment out insettheorem and insetlist
12998         * LyXAction.C: ditto
12999         * commandtags.h: ditto
13000
13001 2001-07-24  Juergen Vigna  <jug@sad.it>
13002
13003         * text.C (draw): honor the ignore_language.
13004
13005         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13006
13007 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13010         char inset.
13011
13012 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13013
13014         * lyxtext.h: remove unused (and unimplemented) methods
13015
13016 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13017
13018         * text.C (getVisibleRow): honor background color
13019
13020         * PainterBase.h:
13021         * Painter.h: remove default color argument for fillRectangle
13022
13023         * text.C (backgroundColor): new method
13024
13025 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * text.C (getVisibleRow): adjust
13028
13029         * font.[Ch] (rectText): new method, metrics
13030         (buttonText): new method, metrics
13031
13032         * PainterBase.[hC]: make rectText and buttonText always draw and take
13033         fewer paramteres.
13034
13035 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13036
13037         * ToolbarDefaults.C (read):
13038         * MenuBackend.C (read): allow escaping in all strings
13039
13040         * BufferView_pimpl.C (insertAndEditInset): new method.
13041         (Dispatch): use insertAndEditInset whenever appropriate.
13042
13043         * BufferView_pimpl.C (insertNote): removed
13044
13045         * BufferView_pimpl.C (smartQuote): new method, moved from
13046         BufferView; if an insetquote cannot be inserted, insert a '"'
13047         character instead.
13048
13049         * BufferView2.C: remove insertCorrectQuote();
13050
13051         * lyxfunc.C (getStatus): Add support for all remaingin
13052         inset-insert lfuns.
13053
13054         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13055
13056         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13057         command (necessary to pass " as parameter of self-insert.
13058
13059         * text.C (selectWordWhenUnderCursor):
13060         (selectWord): add word_location parameter
13061         (selectWordWhenUnderCursor): same + remove special code for word
13062         boundary.
13063         (selectNextWord): use kind() to guess type of insetspecialchar,
13064         not latex().
13065
13066         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13067         (insertErtContents): create ert insets as collapsed.
13068         (readInset): better compatibility code for Info inset.
13069
13070 2001-07-20  Juergen Vigna  <jug@sad.it>
13071
13072         * lyxfunc.C (dispatch): use always LyXFind now!
13073
13074         * text2.C (init): add a reinit flag so that the LyXText can be
13075         reinited instead of deleted and reallocated (used in InsetText).
13076
13077         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13078
13079         * text.C: ditto
13080
13081         * text2.C: ditto
13082
13083 2001-07-18  Juergen Vigna  <jug@sad.it>
13084
13085         * text.C (selectNextWord): handle insets inside inset by calling
13086         always the bv->text functions so that we can go up the_locking_inset!
13087
13088         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13089         in strange locations when inside an inset!
13090
13091         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13092         handling to include insets.
13093
13094         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13095
13096 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13097
13098         * LyXAction.C (init):
13099         * commandtags.h:
13100         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13101         LIGATURE_BREAK, since the name is so stupid.
13102
13103 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13106         InsetInfos.
13107
13108         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13109
13110         * sp_form.[Ch]: remove.
13111
13112         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13113
13114         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13115         InsetInfo.
13116
13117         * src/buffer.C (readInset): ditto.
13118
13119 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13120
13121         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13122         menuSeparator(), endOfSentenceDot(), ldots() and
13123         hyphenationPoint(), which are therefore removed.
13124         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13125
13126         * LyXAction.C (init):
13127         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13128
13129         * paragraph.C (getWord): removed.
13130
13131         * BufferView_pimpl.C (Dispatch): use last word or selection for
13132         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13133
13134         * lyx_main.C (queryUserLyXDir): do not ask before creating
13135         user_dir, except if it has been named explicitely.
13136
13137 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13140         a document of zero size.
13141
13142 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13145         approriately in the c-tor and in require().
13146         (getPackages): output the appropriate LaTeX for natbib support.
13147
13148         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13149         variables "use_natbib" and "use_numerical_citations" when reading the
13150         LyX file.
13151         (readInset): read the various natbib cite commands.
13152         (validate): white-space change.
13153
13154         * bufferparams.[Ch]: new variables "bool use_natbib" and
13155         "bool use_numerical_citations".
13156         (writeFile): output them in the LyX file.
13157
13158 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13159
13160         * lyxfunc.C (getStatus): add support for all the inset insertion
13161         commands.
13162
13163         * text2.C (insertInset):
13164         * paragraph.C (insetAllowed):
13165         * BufferView_pimpl.C (insertInset): update to take in account the
13166         renaming of insertInsetAllowed
13167
13168         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13169
13170         * text2.C (getInset): new method. returns inset at cursor position.
13171
13172         * BufferView_pimpl.C (Dispatch): changes because of this.
13173
13174         * LyXAction.C (init): rename open-stuff to inset-toggle.
13175
13176         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13177
13178         * text2.C (toggleInset): renamed from openStuff; use
13179         Inset::open().
13180
13181 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13182
13183         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13184
13185         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13186
13187 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13188
13189         * buffer.C (readLyXformat2): Add filename to the error dialog
13190
13191 2001-07-18  Juergen Vigna  <jug@sad.it>
13192
13193         * tabular.C (GetCellNumber): put an assert here instead of the check!
13194
13195 2001-07-17  Juergen Vigna  <jug@sad.it>
13196
13197         * BufferView_pimpl.C (toggleSelection): adapted too.
13198
13199         * text.C (selectNextWord): adapted for use with insets.
13200         (selectSelectedWord): ditto
13201
13202 2001-07-17  Juergen Vigna  <jug@sad.it>
13203
13204         * sp_spell.C (PSpell): fix initialitation order.
13205
13206 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13207
13208         * paragraph.C: spacing
13209
13210 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13211
13212         * sp_spell.C: repair language selection for pspell
13213
13214 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * lyxfunc.h: change more methods to begin with lower char.
13217
13218 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13221         for unknown layouts.
13222
13223 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13224
13225         * buffer.C (readLyXformat2): Generate an error dialog if there are
13226         unknown layouts.
13227
13228 2001-07-16  Juergen Vigna  <jug@sad.it>
13229
13230         * sp_spell.C: always compile ISpell part.
13231
13232         * lyxrc.C: added use_pspell entry and it's handling.
13233
13234 2001-07-13  Juergen Vigna  <jug@sad.it>
13235
13236         * sp_spell.C: removed double includes.
13237
13238 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         Consistent use of Lsstream.h:
13241         * Lsstream.h: added using std::stringstream for consistencies sake.
13242
13243         * buffer.C: removed using std::stringstream
13244
13245         * lyxfont.C (stateText):
13246         * paragraph.C (asString):
13247         * text.C (selectNextWord, selectSelectedWord):
13248         * text2.C (setCounter):
13249         * vspace.C (asString, asLatexString):
13250         std::ostringstream -> ostringstream.
13251
13252 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13253
13254         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13255         * commandtags.h: add LFUN_HELP_ABOUTLYX
13256         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13257
13258 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13259
13260         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13261         cursorToggle()
13262         * lyx_gui_misc.C: remove spellchecker
13263         * lyxfunc.C: showSpellchecker
13264         * sp_base.h: added
13265         * sp_ispell.h: added
13266         * sp_pspell.h: added
13267         * sp_spell.C: added
13268         * sp_form.[Ch]: removed
13269         * spellchecker.[Ch]: removed
13270
13271 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13272
13273         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13274         is set.
13275         (simpleTeXSpecialChars): Simply print the input character without
13276         any special translation if pass_thru is set.
13277
13278         * layout.h: Added bool pass_thru to layout class for being able to
13279         implement pass through of a paragraph for Literate Programming.
13280
13281         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13282         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13283         * layout.C (Read): add "passthru" to list of layout tags and add
13284         code to set the pass_thru boolean when it is read.
13285
13286 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * trans_decl.h: remove allowed from KmodInfo
13289
13290         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13291         remove allowed code
13292         (Load): adjust
13293
13294         * paragraph_pimpl.C (erase): use boost::prior
13295
13296         * Painter.C (text): use data() instead of c_str() when length is
13297         also provided.
13298         * WorkArea.C (putClipboard): ditto
13299         * font.h (width): ditto
13300
13301         * BufferView2.C: use it-> instead of (*it). for iterators
13302         * texrow.C: ditto
13303         * paragraph_pimpl.C: ditto
13304         * paragraph.C: ditto
13305         * minibuffer.C: ditto
13306         * language.C: ditto
13307         * kbmap.C: ditto
13308         * encoding.C: ditto
13309         * counters.C: ditto
13310         * converter.C: ditto
13311         * chset.C: ditto
13312         * Variables.C: ditto
13313         * TextCache.C: ditto
13314         * MenuBackend.C: ditto
13315         * LyXAction.C: ditto
13316         * LColor.C: ditto
13317         * FloatList.C: ditto
13318         * DepTable.C: ditto
13319         * ColorHandler.C (LyXColorHandler): ditto
13320
13321 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13324
13325         * text2.C (openStuff): reintroduce this method (which had been
13326         nuked in NEW_INSETS frenzy).
13327
13328         * lyxfunc.C (Dispatch): when an action has not been handled, use
13329         its name in the error message, not its number.
13330
13331         * paragraph.C (inInset): change method name to begin with lowercase.
13332
13333         * undo_funcs.C:
13334         * text2.C: updates because of this.
13335
13336 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * ToolbarDefaults.C (add): add spaces in error message
13339
13340 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13343         (readLyXformat2): rename return_par to first_par, use lyxlex's
13344         pushToken and remove the manual push handling.
13345         (parseSingleLyXformat2Token): add another ert comp. variable:
13346         in_tabular, rename return_par to first_par. handle newlines better
13347
13348 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13351
13352 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * text2.C (getParFromID): removed
13355
13356         * buffer.C (getParFromID): new method moved form lyxtext.
13357         * BufferView2.C (insertErrors): adjust
13358         (setCursorFromRow): adjust
13359         * BufferView_pimpl.C (restorePosition): adjust
13360         * lyxfunc.C (Dispatch): adjust
13361         * undo_funcs.C (textUndo): adjust
13362         (textRedo): adjust
13363         (textHandleUndo): adjust
13364         (textHandleUndo): adjust
13365
13366 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * buffer.C: up' the LYX_FORMAT
13369
13370         * lyxfont.h: turn NO_LATEX on as default
13371
13372         * buffer.C (insertErtContents): new methods of tex style compability.
13373         (parseSingleLyXformat2Token): use it several places.
13374         * tabular.C (OldFormatRead): and here
13375
13376 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * text2.C: remove some commented code.
13379         reindent file.
13380
13381         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13382         * trans.C: changes because of the above.
13383
13384 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * text2.C (setCounter): Fix counters bug with bibliography layout.
13387
13388 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13391         own member functions
13392         (simpleTeXSpecialChars): ditto
13393
13394 2001-07-06  Juergen Vigna  <jug@sad.it>
13395
13396         * a lot of files: changed the access to LyXText::status and the
13397         call of undo-functions.
13398
13399         * undo.[Ch]: added a inset_id to the undo informations.
13400
13401         * undo_funcs.[Ch]: added and moved here all undo functions.
13402
13403         * lyxtext.h: give the status enum a weight, made status_ a private
13404         variable and made accessor functions for it, removed the whole bunch
13405         of undo-functions as they are now in their own file, make some
13406         functions publically available. Added function ownerParagraph with
13407         int parameter.
13408
13409         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13410         made InInset() a const function, added getParFromID() function.
13411
13412         * buffer.[Ch]: added const version for inset_iterator functions,
13413         added getInsetFromID() function.
13414
13415         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13416         changed undo functions for new version.
13417
13418 2001-07-05  Juergen Vigna  <jug@sad.it>
13419
13420         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13421         unknow mechanism does not call the proper constructor but only this
13422         one also if I request the other!?
13423
13424 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13427
13428         * text2.C (LyXText): use initialization lists.
13429
13430         * lyxtext.h (Selection): initialize set_ and mark_
13431         (init): remove method
13432
13433 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13436
13437 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * screen.[Ch]: change method names to begin with lowercase
13440
13441         * BufferView_pimpl.C (updateScrollbar): simplify further and
13442         hopefully make it a bit faster.
13443
13444 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13447         calling directly xforms functions.
13448
13449         * Painter.C (Painter):
13450         * lyx_cb.C (MenuWrite):
13451         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13452         fl_display.
13453
13454         * lyx_gui.C: remove bogus guiruntime extern declaration.
13455
13456 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13459         in NEW_INSETS
13460         (redoDrawingOfParagraph): ditto
13461         (redoParagraphs): ditto
13462         (cutSelection): don't create a object for CutAndPaste use the
13463         static method directly
13464         (pasteSelection): ditto
13465
13466         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13467         LyXview (+ rename)
13468
13469 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * modifications to some other files because of this.
13472
13473         * Makefile.am (lyx_SOURCES): add XFormsView
13474
13475         * XFormsView.[Ch]: new files
13476
13477         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13478         the main window. Move the gui dependent stuff to XFormsView
13479
13480 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13481
13482         * tabular.C (GetCellInset): update cur_cell also in the row/col
13483         version of this function.
13484
13485         * lyxfunc.C: no need to include figure_form.h here.
13486
13487         * FontLoader.h:
13488         * lyxfunc.h:
13489         * lyxscreen.h:
13490         * text2.C:
13491         * lyxvc.C: no need to include forms.h here.
13492
13493 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13496
13497         * lyxfunc.C (Dispatch):
13498         * Spacing.C (set):
13499         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13500         constructor argument.
13501
13502 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * paragraph.C (Paragraph): dont't clear, and just set layout.
13505         (makeSameLayout): use params's copy contructor.
13506
13507         * ParagraphParameters.[Ch] (makeSame): delete method
13508
13509 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * Variables.[Ch]: fix indentation, rename set to isSet
13512
13513 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * lyxfunc.C (Dispatch): fix typo
13516
13517 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13520         upper_bound.
13521
13522         * bufferlist.C: include assert.h for emergencyWrite().
13523
13524 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13527           give up at last (bug #425202) !
13528
13529 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * lyx_gui_misc.C:
13532         * sp_form.h:
13533         * sp_form.C:
13534         * spellchecker.h:
13535         * spellchecker.C: strip spellchecker options and bring up
13536           preferences tab instead
13537
13538 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13539
13540         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13541         the istringstream constructor
13542
13543 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * paragraph.C (getLayout): fix return value
13546
13547         * paragraph.h: do not declare getLayout as inline.
13548
13549         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13550
13551 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * lyxcursor.h (operator<): new func
13554         (operator>): new func
13555         (operator>=): new func
13556         (operator<=): new func
13557
13558         * text.C (changeCase): use selection.start and selection.end
13559         (changeRegionCase): require from to be <= to. Require par to be a
13560         valid paragraph.
13561
13562         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13563
13564 2001-06-27  Juergen Vigna  <jug@sad.it>
13565
13566         * text.C (cursorLeftOneWord): changed to return the cursor and added
13567         overlay with BufferView * parameter which calls this one.
13568         (getWord): added
13569         (selectWord): use new getWord function.
13570         (changeCase): renamed from changeWordCase as and extended to work
13571         also on selections.
13572
13573         * lyxtext.h: added enum word_location
13574
13575         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13576         changeCase as this operates now also on selections.
13577
13578 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13579
13580         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13581
13582         * many files: send debug output to Debug::INFO instead of
13583         Debug::ANY.
13584
13585         * converter.C (View):
13586         (Convert):
13587         (Move): send debug output to Debug::FILES instead of console.
13588
13589 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13590
13591         * lyxfunc.C (getStatus): use func_status
13592
13593         * func_status.h: new header, describing the results of
13594         LyXFunc::getStatus;
13595
13596         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13597         LFUN_MATH_HALIGN.
13598
13599 2001-06-25  The LyX Project  <jug@sad.it>
13600
13601         * buffer.C (sgmlOpenTag):
13602         (sgmlCloseTag):
13603         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13604
13605 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * text2.C: remove some dead code
13608
13609         * tabular.C (GetCellInset): store the last cell checked (gotten)
13610
13611         * tabular.h: add the helper for the speedup
13612
13613         * lyxtext.h: remove some dead code
13614
13615 2001-06-26  The LyX Project  <Asger>
13616
13617         * paragraph.C: Change export to LaTeX of alignment to
13618         \begin{center} and family for better roundtrip work with reLyX.
13619
13620         * Tune the math drawing a bit.
13621
13622 2001-06-25  The LyX Project  <Asger>
13623
13624         * LColor.C (LColor): New color for math background. New color
13625         for buttons.
13626
13627 2001-06-25  The LyX Project  <jug@sad.it>
13628
13629         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13630
13631         * lyxfunc.C (Open):
13632         * bufferlist.C (newFile): do not restrict to files ending with
13633         .lyx
13634
13635         * BufferView_pimpl.C (MenuInsertLyXFile):
13636
13637 2001-06-24  The LyX Project  <jug@sad.it>
13638
13639         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13640         of compare_no_case
13641
13642 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13643
13644         * lyxtext.h: rename most methods to begin with a small char.
13645         Lots of changes because of this.
13646
13647         * paragraph.C (Paragraph): do not call fitToSize
13648         (erase): call Pimpl::erase
13649         (insertChar): call Pimpl::insertChar
13650         (insertInset): call Pipl::insertInset
13651         (breakParagraph): do not call fitToSize
13652         (breakParagraphConservative): do not call fitToSize
13653         (fitToSize): remove method
13654
13655         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13656
13657 2001-06-24  The LyX Project  <Asger>
13658
13659         * Fix Qt compilation^2
13660
13661 2001-06-24  The LyX Project  <jug@sad.it>
13662
13663         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13664         depthHook(getDepth()-1).
13665
13666         * paragraph.h:
13667         * ParagraphParameters.h:
13668         * ParameterStruct.h: change type of depth to unsigned int ==
13669         depth_type. Many adaptations to other files before of that.
13670
13671 2001-06-24  The LyX Project  <Asger>
13672
13673         * Fix Qt compilation.
13674
13675 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * paragraph.h: renamed several methods to begin with small letter.
13678         several changes to many parts of the code because of this.
13679
13680 2001-06-23  The LyX Project  <jug@sad.it>
13681
13682         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13683         rewritten to discard all double spaces when KeepEmpty is off
13684         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13685         to only handle newlines but not fiddle with spaces and friends.
13686
13687         * lyxfunc.C (MenuNew): when doing 'new from template', use
13688         template_path as default directory
13689
13690 2001-06-23  The LyX Project  <Asger>
13691
13692         * Clean-up of header file includes all over
13693         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13694
13695 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13696
13697         * paragraph.h: renamed from lyxparagraph.h
13698
13699 2001-06-23  Asger  <lyx@violet.home.sad.it>
13700
13701         * Buffer.h: Removed Buffer::resize
13702         * BufferList.h: Removed BufferList::resize
13703         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13704         the document lazily when we change the width, or the font settings.
13705
13706 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13709
13710 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * buffer.h: remove out of date comment
13713
13714 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * lyxscreen.h:
13717         * screen.C: fix "theoretical" GC leak
13718
13719 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * LaTeX.C (scanAuxFile):
13722         (deplog): remove trailing \r when reading stream (useful under
13723         win32)
13724
13725 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13728         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13729         and BufferView::theLockingInset(Inset*), so should use them and not
13730         access bv_->text->the_locking_inset directly.
13731
13732         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13733
13734 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * Makefile.am:
13737         * tex-defs.h: remove old unused file
13738
13739 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * BufferView_pimpl.C: fix typo, remove minibuffer message
13742           when buffer has loaded
13743
13744 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * lyxfunc.C (Dispatch): use stringstream
13747         (MenuNew): use stringstream
13748         (Open): use stringstream
13749
13750         * importer.C (Import): use stringstream
13751
13752         * bufferview_funcs.C (CurrentState): use stringstream
13753
13754         * LaTeX.C (run): use stringstream
13755
13756         * BufferView_pimpl.C (savePosition): use stringstream
13757         (restorePosition): use stringstream
13758         (MenuInsertLyXFile): use stringstream
13759
13760 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13761
13762         * BufferView.C:
13763         * Bullet.C:
13764         * ColorHandler.C:
13765         * FontInfo.C:
13766         * FontLoader.C:
13767         * LColor.C:
13768         * LaTeXFeatures.C:
13769         * Painter.C:
13770         * gettext.C:
13771         * lyx_gui_misc.C:
13772         * lyxserver.C:
13773         * vspace.C: removed // -*- C++ -*- as first line.
13774
13775         * lyxfind.h:
13776         * version.h: added // -*- C++ -*- as first line.
13777
13778 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13781
13782         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13783         of string
13784
13785 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13788         of floats.
13789
13790 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13791
13792         * gettext.C: include LString.h even when --disable-nls is on.
13793
13794 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13795
13796         * converter.h (Get): changed argument type from int to
13797         FormatList::size_type to avoid unnecessary conversion.
13798
13799         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13800         before using it.
13801
13802 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * gettext.h: include LString.h even when --disable-nls is on.
13805
13806 2001-06-07  Juergen Vigna  <jug@sad.it>
13807
13808         * text.C (BreakAgain): subst spaces with tabs.
13809
13810         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13811         (resizeInsetsLyXText): set force on resizeLyXText.
13812
13813 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * gettext.h (gettext_init):
13816         (locale_init): use a real definition instead of a macro
13817
13818 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * Bufferview_pimpl.C:
13821         * LColor.h:
13822         * LColor.C: further lcolor tidies
13823
13824 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * BufferView_pimpl.C (updateScrollbar): simplify.
13827
13828         * BufferView2.C: don't include insets/insetinfo.h, change
13829         prototype for insertInset and call the Pimpl version. let
13830         updateInset call Pimpl version.
13831
13832         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13833         gotoInset to BufferView::Pimpl
13834
13835 2001-06-01  Juergen Vigna  <jug@sad.it>
13836
13837         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13838         inside a LockingInset (is the update needed at all?).
13839
13840 2001-05-31  Juergen Vigna  <jug@sad.it>
13841
13842         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13843         here not the old one otherwise how should we compare it afterwards
13844         if it's the same!
13845
13846 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13847
13848         * lyxfont.C:
13849         * tabular.C:
13850         * tabular-old.C:
13851         * FontInfo.C: bring C functions into global namespace when
13852         necessary
13853
13854 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * LString.h: make sure config.h has been loaded before LString.h.
13857
13858         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13859         (one for each char read by EatLine!).
13860
13861         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13862         variables.
13863
13864 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13867         to the same as the par we break from
13868
13869 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13872
13873         * MenuBackend.C (expand): also create menu entries for wide
13874         versions of the floats.
13875
13876         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13877
13878         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13879
13880         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13881         frontends/Makefile.am
13882
13883         * text2.C: adjust
13884         * text.C: adjust
13885
13886
13887         * tabular.C (getTokenValue): add std::
13888
13889         * tabular-old.C (getTokenValue): add std::
13890         (getTokenValue): ditto
13891         (getTokenValue): ditto
13892
13893         * screen.C (ToggleSelection): adjust
13894
13895         * lyxtext.h: put selection cursors inside a Selection struct.
13896
13897         * lyxfunc.C (moveCursorUpdate): adjust
13898
13899         * lyxfont.C (latexWriteStartChanges): add std::
13900
13901         * lyxfind.C: adjust
13902
13903         * font.h: delete with(char const *, LyXFont const &)
13904
13905         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13906
13907         * FontInfo.C (getFontname): add std::
13908
13909         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13910         (workAreaButtonPress): adjust
13911         (tripleClick): adjust
13912         (update): adjust
13913         (moveCursorUpdate): adjust
13914         (Dispatch): adjust
13915
13916         * BufferView2.C (gotoInset): adjust
13917
13918 2001-05-30  Juergen Vigna  <jug@sad.it>
13919
13920         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13921         to check pspell I add this as default as I now have new pspell
13922         libraries and they seem to use this.
13923
13924 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13925
13926         * text2.C (CutSelection): make the cursor valid before the call to
13927         ClearSelection.
13928
13929 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13932         relied on 0 terminated strings and other horrors. Bug found due to
13933         the new assert in lyxstring!
13934
13935         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13936         KP_ keys.
13937
13938 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13941         to latinkeys.bind.
13942
13943         * lyxfunc.C (processKeySym): change method of getting to the
13944         self-insert char.
13945
13946         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13947         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13948         * BufferView_pimpl.[Ch]: here as private methods.
13949
13950 2001-05-28  Juergen Vigna  <jug@sad.it>
13951
13952         * text.C (SetHeightOfRow): added the update() call again as it is
13953         needed to initialize inset dimensions!
13954
13955 2001-05-16  Juergen Vigna  <jug@sad.it>
13956
13957         * text2.C (SetCharFont): Add new function with BufferView * and
13958         bool toggleall parameters for setting insets internal fonts.
13959         (SetFont): Freeze the undo as we may change fonts in Insets and
13960         all this change should be inside only one Undo!
13961
13962         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13963         setting font's in insets as for them we have the SetFont function!
13964
13965 2001-05-15  Juergen Vigna  <jug@sad.it>
13966
13967         * text2.C (ClearSelection): to be sure we REALLY don't have any
13968         selection anymore!
13969
13970         * tabular.C (TeXCellPreamble): fixed the left border problem for
13971         multicolumn cells.
13972
13973 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13976         dependancy file
13977
13978 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13979
13980         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13981         LFUN_BREAKPARAGRAPH.
13982
13983         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13984         help test to "internal only", similar for LFUN_INSERT_URL
13985
13986         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13987         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13988         auto_region_delete and deadkeys.
13989
13990 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13991
13992         * LColor.h:
13993         * LColor.C: remove some dead entries, tidy a little
13994
13995 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13998         commented code.
13999         (Dispatch): implement LFUN_ESCAPE
14000
14001         * commandtags.h: add LFUN_ESCAPE
14002
14003         * LyXAction.C (init): add entry for LFUN_ESCAPE
14004
14005         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14006         Remove commented code.
14007         (insertNote): moved here
14008         (open_new_inset): moved here
14009
14010         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14011         BufferView_pimpl
14012
14013 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * kbmap.C (findbinding): clean it up and make it work correctly.
14016
14017         * lyx_main.C (init): do not pass argc and argv as parameters
14018
14019 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14020
14021         * buffer.C: fix path for OS/2 & Win32
14022
14023         * lyx_gui.C:
14024         * lyx_main:
14025         * lyx_main.C: Added os:: class.
14026
14027         * os2_defines.h: update
14028
14029 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14032         better by trying again with reduced state.
14033
14034 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14035
14036         * lyxrc.C (read): print error about invalid key sequence only when
14037         debugging (because not all latinX keysyms are known to some X
14038         servers)
14039
14040         * kbsequence.C (getiso): add a few std:: qualifiers
14041         (getiso): comment out extra return statement.
14042
14043 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14046         handling.
14047         (Dispatch): enhance the accent inset a bit. (not perfect)
14048
14049 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14050
14051         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14052
14053 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * bufferlist.C (emergencyWrite): fix assert() call
14056
14057 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14058
14059         * text.C (InsertChar): Added trivial patch to only send the "you
14060         can not do multiple spaces this way" message once during a
14061         session.
14062
14063 2001-05-08  Baruch Even  <baruch@lyx.org>
14064
14065         * Makefile.am: Changed order of libraries to get LyX to link properly
14066         with the gnome frontend.
14067
14068 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * LaTeXFeatures.h: add a std:: qualifier
14071
14072 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * paragraph.C (String): use stringstream
14075
14076 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14077
14078         * paragraph.C (writeFile): remove footflag arg
14079
14080         * buffer.C (makeLaTeXFile): use stringstream
14081         (latexParagraphs): remove footnot gurba
14082
14083         * LaTeXFeatures.C (getPackages): use stringstream
14084         (getMacros): likewise
14085         (getTClassPreamble): likewise
14086         (getFloatDefinitions): new method
14087
14088         * paragraph.C (writeFile): reindent
14089         (Erase): reindent
14090
14091         * WorkArea.h: revert the xpos + etc changes.
14092
14093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14094
14095         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14096
14097         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14098         (pasteSelection): likewise
14099         * text2.C (CreateUndo): likewise
14100
14101 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * minibuffer.C (peek_event): temporarily reduce the functionality
14104         of the minibuffer (to allow args on lfuns)
14105
14106         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14107         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14108
14109         * buffer.C (readInset): add compability reading of old float
14110         lists, add reading of new style float list.
14111         (readInset): avoid reevaluation of inscmd.getCmdName()
14112         (getLists): reindent
14113
14114         * MenuBackend.C (MenuItem): implement parsing of
14115         md_floatlistinsert and md_floatinsert.
14116         (expand::LastFiles): move initalizaton of iterators out of loop,
14117         avoid reevaluation.
14118         (expand::Documents): introduce typdedef vector<string> Strings,
14119         and use it.
14120         (expand::ExportFormats): introduce typedef vector<Format const *>
14121         Formats, and use it.
14122         (expand): implement FloatListInsert and FloatInsert.
14123
14124         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14125         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14126         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14127
14128         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14129         handling.
14130         (Dispatch::LFUN_FLOAT_LIST): implement
14131
14132 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14133
14134         * LaTeX.C (run): Fix problem with --export code.
14135
14136 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14137
14138         * BufferView.[Ch] (workarea): removed.
14139         (getClipboard) new method; wrapper for workarea()->getClipboard()
14140
14141         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14142         bug.
14143
14144         * WorkArea.h (width, height, xpos, ypos): These methods all
14145         returned the dimensions of the work_area sub-area of WorkArea,
14146         resulting in a position error if the WorkArea were resized. Now
14147         return the dimensions of the entire WorkArea.
14148
14149         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14150
14151 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * LaTeX.C (deplog): correct the syntax of regex reg1
14154
14155 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * undo.C: remove !NEW_INSETS cruft
14158
14159 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * text2.C: remove !NEW_INSETS cruft
14162
14163         * text.C: remove !NEW_INSETS cruft
14164
14165         * tabular.C: remove !NEW_INSETS cruft
14166
14167         * spellchecker.C: remove !NEW_INSETS cruft
14168
14169         * lyxtext.h: remove !NEW_INSETS cruft
14170
14171         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14172
14173         * lyxfunc.C: remove !NEW_INSETS cruft
14174
14175         * lyxfind.C: remove !NEW_INSETS cruft
14176
14177         * lyx_cb.C: remove !NEW_INSETS cruft
14178
14179         * figureForm.C: remove  !NEW_INSETS cruft
14180
14181         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14182
14183         * buffer.[Ch]: remove !NEW_INSETS cruft
14184
14185         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14186
14187         * CutAndPaste.C: remove !NEW_INSETS cruft
14188
14189         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14190
14191         * BufferView2.C: remove !NEW_INSETS cruft
14192
14193         * BufferView.h: remove !NEW_INSETS cruft
14194
14195 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14196
14197         * Lsstream.h: include LString.h before the sstream headers to
14198         fix problem with gcc 2.95.3 and lyxstring
14199
14200 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * lyx_main.C: add using directives when needed for C functions
14203         declared in std:: namespace.
14204
14205 2001-04-27  Juergen Vigna  <jug@sad.it>
14206
14207         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14208         (SetHeightOfRow): comment out the update call should not be needed!
14209
14210 2001-04-13  Juergen Vigna  <jug@sad.it>
14211
14212         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14213         (LyXTabular): tried to minimize operator= operations (and realized
14214         hopfully Lars wish).
14215
14216 2001-04-27  Juergen Vigna  <jug@sad.it>
14217
14218         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14219
14220 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14223
14224         * buffer.C (readInset): hack to make listof algorithm work
14225
14226         * BufferView_pimpl.C: hack to make listof algorithm work
14227
14228 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * LyXAction.C: removed all !NEW_INSETS cruft
14231         (init): moved lfun_item in method
14232
14233         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14234
14235 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14236
14237         * BufferView2.C (theLockingInset): white space.
14238
14239 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * minibuffer.C: include <iostream>
14242
14243         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14244
14245         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14246
14247         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14248
14249         * text.[Ch] (TransposeChars): new method
14250
14251 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * call message directly through LyXView instead of through LyXFunc
14254         * BufferView2.C: adjust
14255         * BufferView_pimpl.C: adjust
14256         * FontLoader.C: adjust
14257         * buffer.C: adjust
14258         * bufferview_funcs.C: adjust
14259         * converter.C: adjust
14260         * figureForm.C: adjust
14261         * importer.C: adjust
14262         * lyx_cb.C: adjust
14263         * lyx_gui_misc.C: adjust
14264         * lyxfunc.C: adjust
14265         * lyxvc.C: adjust
14266         * text2.C: adjust
14267         + more files in subdirs
14268
14269         * lyxparagraph.h (size): move up int file
14270         (GetLayout): ditto
14271
14272         * adjust all uses of Assert to lyx::Assert.
14273
14274         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14275         lyxfunctional in namespace lyx
14276         * layout.C (hasLayout): ditto
14277         (GetLayout): ditto
14278         (GetLayout): ditto
14279         (delete_layout): ditto
14280         (NumberOfClass): ditto
14281         * converter.C (GetFormat): ditto
14282         (GetNumber): ditto
14283         (Add): ditto
14284         (Delete): ditto
14285         (SetViewer): ditto
14286         * bufferlist.C (getFileNames): ditto
14287         (emergencyWriteAll): ditto
14288         (exists): ditto
14289         (getBuffer): ditto
14290         * MenuBackend.C (hasSubmenu): ditto
14291         (hasMenu): ditto
14292         (getMenu): ditto
14293         * BufferView_pimpl.C (getInsetByCode): ditto
14294
14295 2001-04-18  Juergen Vigna  <jug@sad.it>
14296
14297         * vspace.C (asLatexString): fixed the 100% problem.
14298
14299 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14300
14301         * lyxfunc.C (Dispatch):
14302         * minibuffer.C:
14303         * minibuffer.h: add a few std:: qualifiers
14304
14305 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14306
14307         * minibuffer.[Ch]: reimplement so that commands is initiated and
14308         run from lyxfunc, simplified som handling, and made the completion
14309         and history code for complete. wip.
14310
14311         * lyxfunc.C (processKeySym): call message
14312         (miniDispatch): new temporary method
14313         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14314         (LFUN_MESSAGE): implement
14315         (LFUN_MESSAGE_PUSH): implement
14316         (LFUN_MESSAGE_POP): implement
14317         (initMiniBuffer): the initial/defualt minibuffer message.
14318
14319         * lyxfont.[Ch]: inline some more getters
14320
14321         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14322
14323         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14324
14325         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14326         (AutoSave): use LFUN_MESSAGE
14327         (Reconfigure): ditto
14328
14329         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14330
14331         * figureForm.C: use LFUN_MESSAGE
14332
14333         * converter.C (runLaTeX): use LFUN_MESSAGE
14334
14335         * bufferview_funcs.C: use LFUN_MESSAGE
14336         (Melt): ditto
14337         (changeDepth): ditto
14338
14339         * bufferparams.h: use boost::
14340
14341         * bufferlist.h: inherit privately from noncopyable
14342
14343         * bufferlist.C (loadLyXFile): remove some commented code.
14344
14345         * buffer.C (runChktex): use LFUN_MESSAGE
14346
14347         * ShareContainer.h: inherit privately from noncopyable
14348
14349         * ParagraphParameters.[hC] (depth): inline it.
14350
14351         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14352         methods.
14353         (message): new method
14354         (messagePush): ditto
14355         (messagePop): ditto
14356         (show): init minibuffer
14357         (showState): direct call
14358
14359         * LaTeX.[Ch]: inherit privately from noncopyable
14360         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14361         instead of WriteStatus.
14362
14363         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14364
14365         * BufferView_pimpl.C (buffer): don't init minibuffer
14366         (workAreaButtonPress): use LFUN_MESSAGE
14367         (workAreaButtonRelease): ditto
14368         (savePosition): ditto
14369         (restorePosition): ditto
14370         (MenuInsertLyXFile): ditto
14371         (workAreaExpose): don't init minibuffer
14372         (update): remove commented code, simplify
14373
14374         * BufferView2.C (openStuff): use LFUN_MESSAGE
14375         (toggleFloat): ditto
14376         (menuUndo): ditto
14377         (menuRedo): ditto
14378         (copyEnvironment): ditto
14379         (pasteEnvironment): ditto
14380         (copy): ditto
14381         (cut): ditto
14382         (paste): ditto
14383         (gotoInset): ditto
14384         (updateInset): remove some commented code
14385
14386         * lastfiles.h: inherit privately from noncopyable
14387         * layout.h: ditto
14388         * lyx_gui.h: ditto
14389         * lyx_main.h: ditto
14390         * lyxlex.h: ditto
14391         * lyxlex_pimpl.h: ditto
14392
14393         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14394         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14395         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14396
14397         * LyXAction.h: inherit privately from noncopyable, add methods
14398         func_begin, func_end, returning iterators to the func map.
14399
14400         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14401         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14402         (func_begin): new method
14403         (func_end): new method
14404
14405         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14406         and not)
14407         (copySelection): ditto
14408         (pasteSelection): ditto
14409
14410         * BufferView.C: whitespace change
14411         * BufferView.h: inherit privately from noncopyable
14412
14413 2001-04-16  Allan Rae  <rae@lyx.org>
14414
14415         * tabular-old.C (l_getline):
14416         * spellchecker.C (sc_check_word):
14417         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14418         an unrecognised preprocessor directive.  So ensure they're wrapped.
14419
14420 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * src/exporter.C (Export): Give an error message when path to file
14423         contains spaces.
14424
14425 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * LaTeX.C (deplog): Always check that foundfile exists.
14428
14429 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * lyx_main.h:
14432         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14433
14434 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14435
14436         * tabular.[Ch] (getLabelList): implement new method
14437
14438         * minibuffer.h: comment ouf setTiimer
14439
14440         * minibuffer.C (ExecutingCB): constify res
14441         (peek_event): constify s
14442         (Set): constify ntext
14443         (Init): constify nicename
14444
14445         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14446
14447         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14448         (savePosition): use two params to Minibuffer::Set
14449         (restorePosition): ditto
14450
14451 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14452
14453         * lyx_main.C: include language.h
14454
14455         * Makefile.am (lyx_main.o): add language.h
14456
14457 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * exporter.C:
14460         * paragraph.C:
14461         * screen.C:
14462         * tabular.C:
14463         * CutAndPaste.C: include gettext.h
14464
14465         * lyxfont.h: remove old hack with ON and OFF.
14466
14467         * lyxparagraph.h:
14468         * lyxfont.h: do not include language.h...
14469
14470         * BufferView2.C:
14471         * LaTeXFeatures.C:
14472         * Painter.C:
14473         * bufferview_funcs.C:
14474         * font.C:
14475         * lyxfont.C:
14476         * text.C:
14477         * text2.C:
14478         * trans_mgr.C:
14479         * paragraph.C: ... but do it here instead
14480
14481 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14484
14485         * tabular.C: small reformat
14486
14487         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14488         NEW_INSETS version
14489         (GetChar): ditto
14490         (BreakParagraph): ditto
14491         (SetOnlyLayout): ditto
14492         (SetLayout): ditto
14493
14494         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14495         with one arg less.
14496
14497         * lastfiles.C: removed most using decl, add std:: where needed
14498
14499         * buffer.C: ws changes
14500
14501         * MenuBackend.C (class compare_format): put into anon namespace
14502         (expand): constify label, names, action, action2
14503         (expand):
14504
14505         * text.C (SingleWidth): constify font
14506         (IsBoundary): constify rtl2
14507         (GetVisibleRow): constify ww
14508
14509         * LaTeX.C (deplog): constify logfile
14510
14511         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14512         start_x, end_x
14513         (workAreaExpose): constify widthChange, heightChange
14514
14515         * lyxrow.C (par): moved
14516         (height): moved
14517         (next): moved
14518         * lyxrow.h: as inlines here
14519
14520         * lyxfont.h (shape): moved from lyxfont.C
14521         (emph): moved from lyxfont.C
14522
14523         * lyxfont.C (LyXFont): use initialization list for all
14524         constructors
14525         (shape): move to lyxfont.h as inline
14526         (emph): move to lyxfont.h as inline
14527
14528
14529 2001-04-04  Juergen Vigna  <jug@sad.it>
14530
14531         * vspace.C: had to include stdio.h for use of sscanf
14532
14533 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         * BufferView.h:
14536         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14537         independent of xforms.
14538
14539 2001-04-02  Juergen Vigna  <jug@sad.it>
14540
14541         * spellchecker.C: fixed namespace placing!
14542
14543 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14544
14545         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14546         the LyXParagraph * is 0.
14547
14548 2001-03-29  Juergen Vigna  <jug@sad.it>
14549
14550         * vspace.C: added support for %, c%, p%, l%.
14551         (stringFromUnit): added helper function.
14552         (asLatexString): changed to give right results for the %-values.
14553
14554         * buffer.C: convert the widthp in a width%.
14555
14556 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14557
14558         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14559         figureForm.[Ch].
14560
14561         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14562         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14563
14564         * lyx_cb.[Ch]: see above.
14565
14566         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14567         form1.[Ch].
14568
14569         * form1.[Ch]:
14570         * lyx.[Ch]: replaced by figure_form.[Ch].
14571
14572         * lyx_gui.C:
14573         * lyx_gui_misc.C:
14574         * lyxfunc.C: changed headers associated with above changes.
14575
14576 2001-03-27  Juergen Vigna  <jug@sad.it>
14577
14578         * BufferView_pimpl.C: set the temporary cursor right!
14579
14580 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14583
14584 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14585
14586         * LString.h: removed "using std::getline"!
14587
14588         * BufferView_pimpl.C (Dispatch): changes due to changes in
14589         InsetInclude::Params.
14590
14591         * buffer.C (tag_name): removed redundant break statements as they were
14592         producing lots of warnings with my compiler.
14593
14594 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * LString.h: add "using std::getline" when using the real <string>.
14597
14598 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14599
14600         * buffer.C: removed bitset usage.
14601         PAR_TAG moved to an anonymous name space.
14602         (tag_name): new funtion, also in the anonymous namespace.
14603         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14604         (makeDocBookFile): clean code. Completed transition from string arrays
14605         to string vectors.
14606         (SimpleDocBookOnePar): code clean.
14607
14608 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14609
14610         * tabular.C: add some comments.
14611
14612 2001-03-22  Juergen Vigna  <jug@sad.it>
14613
14614         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14615         compatibility read a bit and fixed bug with minipage in different
14616         depth.
14617
14618 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14619
14620         * buffer.C (pop_tag): removed.
14621         (push_tag): removed.
14622         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14623         array replaced with vector. Added support for CDATA sections.
14624         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14625         at any nest level.
14626         (makeDocBookFile): XML conformant declaration of CDATA section,
14627         fixed bug related to <emphasis> in the first paragraph char.
14628         (sgmlOpenTag): exclude empty tags.
14629         (sgmlCloseTag): ditto.
14630
14631         * buffer.h (pop_tag): removed.
14632         (push_tag): removed.
14633
14634 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14635
14636         * language.h (Languages): added size_type and size().
14637
14638 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14639
14640         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14641         response on compability reading of minipages. One probliem is that
14642         the old usage of minipages was «flertydig»
14643
14644         * several files here and in subdirs: don't use static at file
14645         scope use anon namespaces instead.
14646
14647 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14648
14649         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14650         LaTeX output. This is necessary for Literate document
14651         processing.
14652
14653 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14654
14655         * buffer.C: insert hfill when needed.
14656
14657         * tabular.C (l_getline): use string::erase, small whitespace change.
14658
14659         * BufferView_pimpl.C: try the anon namespace.
14660         * WorkArea.C: ditto
14661
14662 2001-03-16  Juergen Vigna  <jug@sad.it>
14663
14664         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14665         otherwise it won't open options-dialogs.
14666
14667         * buffer.C: honor pextraWidth(p) on converting minipages.
14668
14669         * tabular.C (l_getline): changed the functions to strip trailing \r.
14670
14671 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14672
14673         * BufferView_pimpl.C:
14674         * minibuffer..C: added "using SigC::slot" declaration.
14675
14676 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14677
14678         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14679
14680         * text2.C: ditto
14681
14682         * text.C: ditto
14683
14684         * paragraph.C: ditto
14685
14686         * lyxtext.h: NO_PEXTRA
14687
14688         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14689
14690         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14691         * ParameterStruct.h: ditto
14692         * ParagraphParameters.h: ditto
14693         * lyxparagraph.h: ditto
14694
14695 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14696
14697         * buffer.C: add compability for minipage alignment.
14698         (latexParagraphs): remove unwanted pextra check.
14699
14700         * several files: remove CXX_WORKING_NAMESPACES
14701
14702         * buffer.C (pop_tag): tie is in namespace boost
14703
14704         * BufferView.h: noncopyable is in namespace boost
14705         * lyxlex.h: ditto
14706         * lyx_main.h: ditto
14707         * lyx_gui.h: ditto
14708         * layout.h: ditto
14709         * lastfiles.h: ditto
14710         * bufferlist.h: ditto
14711         * ShareContainer.h: ditto
14712         * LyXView.h: ditto
14713         * LyXAction.h: ditto
14714         * LaTeX.h: ditto
14715
14716 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14717
14718         * Merging changes from BRANCH_MVC back into HEAD.
14719
14720         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14721
14722 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * BufferView_pimpl.C: change from intl.C
14725
14726         * combox.h:
14727         * combox.C:
14728         * Makefile.am: move combox.*
14729
14730         * form1.h:
14731         * form1.C:
14732         * lyx_gui.C:
14733         * intl.h:
14734         * intl.C: remove dialog (covered by prefs)
14735
14736 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14737
14738         * lyxfunc.C (Dispatch): removed redundant break statement.
14739
14740 2001-03-14  Juergen Vigna  <jug@sad.it>
14741
14742         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14743
14744 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14745
14746         * buffer.C: add hack to fix compability reading of minipages.
14747
14748 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14749
14750         * buffer.C (getLists): Cleanup.
14751
14752 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * lyxfont.C (update): don't honor toggleall on font size.
14755
14756 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * bmtable.c:
14759         * bmtable.h:
14760         * Makefile.am: moved to frontends/xforms/
14761
14762         * lyx_gui_misc.C:
14763         * lyxfunc.C:
14764         * BufferView_pimpl.C: changes for moved mathpanel
14765
14766 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * gettext.h: fix gettext_init() in --disable-nls
14769
14770 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14773
14774 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14775
14776         * lyx.C:
14777         * lyx.h: strip external form
14778
14779 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * BufferView_pimpl.C: add comment, destroySplash()
14782
14783 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14784
14785         * BufferView_pimpl.C:
14786         * LyXAction.C:
14787         * buffer.C:
14788         * commandtags.h:
14789         * lyxfunc.C: use re-worked insetinclude
14790
14791 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14792
14793         * buffer.C: add using std::stringstream.
14794
14795         * lyx_cb.C: readd using std::ios.
14796
14797         * buffer.C: add using std::map.
14798
14799         * BufferView_pimpl.C: add using std::vector.
14800
14801         * ShareContainer.h: add std:: to swap.
14802
14803         * buffer.h: add some typedefs
14804         * buffer.C (getLists): use them
14805         (getLists): renamed from getTocList.
14806         add a counter for the different float types and use it in the
14807         generated string.
14808         (getLists): use the same counter for the NEW_INSETS and the "non"
14809         NEW_INSETS
14810
14811         * lyx_cb.h: remove unused items, includes, using etc.
14812
14813         * ShareContainer.h: remove some commented code, add more comments
14814         and "documentation".
14815
14816 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14817
14818         * buffer.C (getTocList): make the list also when NEW_INSETS is
14819         defined.
14820
14821         * buffer.h: remove TocType
14822
14823         * buffer.C (getTocList): change to return a map<string,
14824         vector<TocItem> >, implement for dynamic number of list.
14825
14826         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14827         * text2.C (PasteSelection): adjust
14828         * CutAndPaste.C (pasteSelection): adjust
14829
14830         * FloatList.C (FloatList): update from the new_insets branch.
14831         * Floating.[Ch]: ditto
14832         * LaTeXFeatures.C: ditto
14833         * buffer.C: ditto
14834         * lyxlex_pimpl.C: ditto
14835
14836         * paragraph.C (Last): remove when NEW_INSETS is defined.
14837
14838         * other file: changes because of the above.
14839
14840 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14841
14842         * lyxparagraph.h: rename next to next_, previous to previous_,
14843         make them private for NEW_INSETS. Rename Next() to next(),
14844         Previous() to previous().
14845
14846         * other files: changes because of the above.
14847
14848 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14849
14850         * BufferView.h:
14851         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14852         problem.
14853
14854 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * main.C (main): pass lyx_localedir to gettext_init().
14857
14858         * gettext.h: remove locale_init and gettext_init macros
14859
14860         * gettext.C (locale_init): new function
14861         (gettext_init): new function
14862
14863         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14864         setlocale().
14865
14866 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14867
14868         * Moved credits to frontends:
14869         * credits.[Ch]: removed
14870         * credits_form.[Ch]: removed
14871         * lyx_gui_misc.C: remove credits stuff
14872         * Makefile.am:
14873
14874 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14875
14876         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14877
14878         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14879         unneeded destructor.
14880
14881         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14882         a standalone pointer again.
14883
14884         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14885
14886 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14887
14888         * Makefile.am:
14889         * filedlg.h:
14890         * filedlg.C:
14891         * LyXAction.C:
14892         * ToolbarDefaults.C:
14893         * bufferlist.C:
14894         * commandtags.h:
14895         * form1.C:
14896         * form1.h:
14897         * lyx_cb.C:
14898         * lyx_cb.h:
14899         * lyxfunc.h:
14900         * lyxfunc.C:
14901         * BufferView_pimpl.C: use new file dialog in GUII
14902
14903         * lyx_cb.h:
14904         * lyx_cb.C: remove LayoutsCB to Toolbar
14905
14906 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * ShareContainer.h (get): add std:: qualifier
14909
14910 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * ShareContainer.h: define a proper ShareContainer::value_type
14913         type (and use typename to please compaq cxx)
14914
14915 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14916
14917         * lyxparagraph.h: move serveral local vars to
14918         ParameterStruct/ParagraphParameters., use ShareContainer in
14919         FontTable., make vars in FontTable private and add getter and
14920         setter.
14921
14922         * paragraph.C: changes because of the above.
14923
14924         * lyxfont.h: remove copy constructor and copy assignment. (the
14925         default ones is ok), move number inside FontBits. move inlines to
14926         lyxfont.C
14927
14928         * lyxfont.C: add number to initializaton of statics, move several
14929         inlines here. constify several local vars. some whitespace
14930         cleanup. Dont hide outerscope variables.
14931
14932         * Spacing.h: add two new constructors to match the set methods.
14933
14934         * ShareContainer.h: new file, will perhaps be moved to support
14935
14936         * ParameterStruct.h: new file
14937
14938         * ParagraphParameters.h: new file
14939
14940         * ParagraphParameters.C: new file
14941
14942         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14943         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14944
14945         * BufferView_pimpl.C: ParagraphParameter changes.
14946         * buffer.C: Likewise.
14947         * bufferview_funcs.C: Likewise.
14948         * text.C: Likewise.
14949         * text2.C: Likewise.
14950
14951 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * lyxfind.C (LyXReplace): do not redefine default argument in
14954         implementation.
14955         (IsStringInText): ditto
14956         (SearchForward): ditto
14957         (SearchBackward): ditto
14958
14959 2001-03-06  Juergen Vigna  <jug@sad.it>
14960
14961         * lyxfind.C (IsStringInText): put parentes around expressions.
14962
14963 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14964
14965         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14966
14967 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14968
14969         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14970
14971         * stl_string_fwd.h: add comment
14972
14973         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14974
14975         * tabular.h:
14976         * tabular.C: remove unused DocBook methods
14977
14978         * intl.C:
14979         * language.C:
14980         * paragraph.C:
14981         * buffer.C:
14982         killed DO_USE_DEFAULT_LANGUAGE
14983
14984 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14985
14986         * lyx_gui.C: do not include language.h.
14987
14988         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14989         arguments in function implementation.
14990
14991 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14992
14993         * BufferView_pimpl.C: add <ctime>
14994
14995 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14996
14997         * BufferView_pimpl.C: add using std::find_if
14998
14999 2001-02-27  José Matos  <jamatos@fep.up.pt>
15000
15001         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15002         by OnlyPath.
15003
15004 2001-02-11  José Matos  <jamatos@fep.up.pt>
15005
15006         * buffer.C (makeDocBookFile): command styles now have a parameter as
15007         "title" by default.
15008
15009 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15010
15011         * layout_forms.[Ch]: removed
15012         * lyx_cb.[Ch]: out character
15013         * lyx_gui.C: out character
15014         * lyx_gui_misc.C: out character
15015         * bufferview_funcs.C: : out character,
15016         added toggleall as parameter in ToggleAndShow
15017
15018 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15019
15020         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15021
15022         * text2.C (SetCurrentFont): Disable number property at boundary.
15023
15024 2001-02-26  Juergen Vigna  <jug@sad.it>
15025
15026         * lyxfunc.C (getStatus): added a string argument override function so
15027         that this is correctly called from LyXFunc::Dispatch if it contains a
15028         do_not_use_argument which is used!
15029         (Dispatch): added check for "custom" export and call appropriate func.
15030
15031 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15032
15033         * lyxrc.C: Add language_command_local, language_use_babel and
15034         language_global_options.
15035
15036         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15037
15038         * buffer.C (makeLaTeXFile): Use language_use_babel and
15039         language_global_options.
15040
15041 2001-02-23  Juergen Vigna  <jug@sad.it>
15042
15043         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15044         which works with LyXText and putted it inside BufferView. Here now we
15045         only call for that part the BufferView::Dispatch() function.
15046
15047         * BufferView.C (Dispatch): added.
15048
15049         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15050         functions which needs to use a LyXText over from LyXFunc.
15051         (MenuInsertLyXFile): added
15052         (getInsetByCode): added
15053         (moveCursorUpdate): added
15054         (static TEXT): added
15055
15056 2001-02-22  Juergen Vigna  <jug@sad.it>
15057
15058         * BufferView_pimpl.C (update): call a status update to see if LyXText
15059         needs it.
15060
15061 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15062
15063         * vc-backend.C (revert): implement for CVS
15064         (getLog): implement for CVS
15065
15066 2001-02-20  Juergen Vigna  <jug@sad.it>
15067
15068         * text2.C (ClearSelection): added BufferView param for inset_owner call
15069
15070         * lyxfunc.C (TEXT): added this function and use it instead of
15071         directly owner->view()-text of getLyXText().
15072
15073 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15074
15075         * src/layout_forms.C: out preamble
15076         * src/layout_forms.h: out preamble
15077         * src/lyx_cb.C: out preamble
15078         * src/lyx_cb.h: out preamble
15079         * src/lyx_gui.C: out preamble
15080         * src/lyx_gui_misc.C: out preamble
15081         * src/lyxfunc.C: connect with guii preamble
15082
15083 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15086
15087 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15090         whether to run bibtex.
15091
15092 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15095
15096 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15097
15098         * Makefile.am (lyx_SOURCES): removed bibforms.h
15099
15100         * vspace.h: doxygen
15101
15102         * text.C (GetVisibleRow): make several local vars const
15103
15104         * tabular.C: small cleanup.
15105
15106         * lyxserver.C (callback): use compare instead of strncmp
15107
15108         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15109         inlines to after class or to paragraph.C
15110
15111         * lyxfont.h: remove friend operator!=
15112
15113         * converter.h: move friend bool operator< to non friend and after
15114         class def.
15115
15116         * combox.h: small cleanup
15117
15118         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15119         to inlines after class def.
15120
15121         * buffer.C (pop_tag): use string operations instead of strcmp
15122
15123         * bmtable.c: doxygen, small cleanup
15124
15125         * LaTeX.h: remove friend operator==
15126
15127 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15128
15129         * screen.C:
15130         * lyxrc.[Ch]:
15131         * lyxfunc.C:
15132         * lyxfont.[Ch]:
15133         * lyx_cb.C:
15134         * intl.[Ch]:
15135         * commandtags.h:
15136         * buffer.C:
15137         * WorkArea.[Ch]:
15138         * LyXAction.C:
15139         * BufferView_pimpl.C:
15140         * BufferView.[Ch]: remove cruft
15141
15142 2001-02-14  Juergen Vigna  <jug@sad.it>
15143
15144         * lyxfunc.C: removed #if 0 unused code
15145
15146         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15147
15148         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15149
15150         * text2.C (SetSelection): added a BufferView * parameter
15151
15152 2001-02-13  Juergen Vigna  <jug@sad.it>
15153
15154         * lyxfunc.C (Dispatch): fixed protected blank problem.
15155         * BufferView2.C (protectedBlank): added LyxText * parameter.
15156
15157         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15158         (AppendColumn): same as above for column_info.
15159
15160         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15161         (moveCursorUpdate): use a LyXText param for support of InsetText.
15162
15163         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15164         (tripleClick): ditto
15165
15166         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15167
15168         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15169
15170         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15171
15172         * text2.C (SetSelection): set correct update status if inset_owner
15173         (ToggleFree): ditto
15174
15175 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15176
15177         * tabular.C: remove some commented code.
15178
15179 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * BufferView_pimpl.C: call hideSplash()
15182
15183         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15184
15185         * include_form.h:
15186         * bibforms.h: remove
15187
15188         * lyxfunc.C:
15189         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15190           add LFUN_CHILD_CREATE
15191
15192         * counters.h: fix tiny typo
15193
15194         * lyx_cb.C:
15195         * lyx.h:
15196         * lyx_gui.C:
15197         * lyx.C: move splash to frontends/xforms/
15198
15199         * lyx_gui_misc.C: move Include and Bibform to frontends
15200
15201         * lyxvc.h: clarify comment
15202
15203         * vspace.C: tiny housekeeping
15204
15205 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15206
15207         * text.C (PrepareToPrint): RTL Fix.
15208
15209         * paragraph.C (GetUChar): New method.
15210         (String):  Use GetUChar.
15211
15212         * buffer.C (asciiParagraph): Use GetUChar.
15213
15214 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15217
15218 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15219
15220         * buffer.h:
15221         * buffer.C: rename to getLogName(), handle
15222           build log / latex log nicely
15223
15224 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * MenuBackend.C:
15227         * MenuBackend.h: remove support for reference menuitem type.
15228
15229 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * BufferView_pimpl.C: housekeeping
15232         * BufferView_pimpl.h:
15233         * LyXView.h:
15234         * Makefile.am:
15235         * Timeout.C:
15236         * Timeout.h:
15237         * minibuffer.h: move Timeout GUI-I
15238
15239 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * lyxrc.C (read): Update converters data-structures.
15242
15243 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15244
15245         * LaTeX.h (operator!=): add operator != for Aux_Info
15246
15247 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15250
15251         * LaTeXLog.C: deleted, useful code moved to Buffer
15252
15253         * buffer.h:
15254         * buffer.C: new function getLatexLogName()
15255
15256         * lyx_gui_misc.C:
15257         * lyx_gui.C:
15258         * lyxvc.C:
15259         * lyxvc.h:
15260         * lyxfunc.C: use frontends for LaTeX and VC logs
15261
15262 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * LaTeX.h: yet another std:: that Allan forgot.
15265
15266         * Variables.C (set): renamed from isset(), because this clashes
15267         with some HP-UX macros (grr).
15268
15269 2001-02-06  Allan Rae  <rae@lyx.org>
15270
15271         * LaTeX.h: Another bug fix.  Missing std:: this time.
15272
15273 2001-02-04  Allan Rae  <rae@lyx.org>
15274
15275         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15276         floats problem. I've left it commented out because it's not quite
15277         correct.  It should also test that the current object is a table or
15278         figure inset.  But I haven't gotten around to figuring out how to do
15279         that.  I *think* it'll be something like: "table" == inset.type()
15280
15281         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15282         bool.
15283
15284 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15285
15286         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15287         all the citation/databases/styles in the auxilary file.
15288         (run): Rerun latex if there was a babel language error.
15289
15290 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15291
15292         * text.C (Backspace): Preserve the font when changing newline char
15293         with a space.
15294         (BreakParagraph): If the cursor is before a space, delete the space.
15295
15296         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15297
15298 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15299
15300         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15301         new argument (code).
15302         (ChangeCitationsIfUnique): New method.
15303
15304         * paragraph.C (GetPositionOfInset): Handle bibkey.
15305
15306 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15307
15308         * BufferView_pimpl.h: change type of Position::par_pos to
15309         LyXParagraph::size_type.
15310
15311 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15312
15313         * BufferView_pimpl.C (savePosition, restorePosition): Write
15314         messages to minibuffer.
15315
15316 2001-01-28  José Matos  <jamatos@fep.up.pt>
15317
15318         * buffer.C (makeDocBookFile): adds support for document language.
15319         A silly restriction on the name of LatexCommand types where removed.
15320         Added support for CDATA sections, allows to chars unescaped, used
15321         among others in code, to avoid escape < and >.
15322
15323 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15324
15325         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15326         saved positions instrad of a stack. Furthermore, a position is
15327         stored using paragraph id/paragraph position.
15328
15329         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15330         Remove LFUN_REF_BACK.
15331
15332 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15333
15334         * converter.C (dvipdfm_options): New method.
15335
15336 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15337
15338         * vspace.C (isValidLength): Fix for empty input string.
15339
15340 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * LyXAction.C (init): change description of LFUN_FIGURE to
15343         "Insert Graphics"
15344
15345 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * LaTeX.C: add using directive
15348
15349 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15350
15351         * MenuBackend.C (expand): Fix the sorting of the formats.
15352
15353 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15354
15355         * lyx_main.C: tiny error message fix
15356
15357 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15360         calling fl_initialize(). This fixes the problem with ',' as
15361         decimal separator in text files.
15362
15363 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15364
15365         * trans.C (process): Fix the keymap bug.
15366
15367 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * LaTeX.C (scanAuxFiles): New method. Provides support for
15370         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15371         (scanLogFile) Scan for "run BibTeX" messages.
15372
15373         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15374         OT1 font encoding. Also, load the aecompl package if the ae
15375         package is loaded.
15376
15377         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15378
15379 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * texrow.C (increasePos): turn two error messages into debug
15382         messages.
15383
15384 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * LaTeX.C (scanAux): Handle the \@input macro.
15387         (runBibTeX): Use scanAux().
15388
15389         * language.C (latex_options_): New field.
15390
15391         * LaTeXFeatures.C (getMacros): Add language macros.
15392
15393         * buffer.C (makeLaTeXFile): Small fix.
15394
15395 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15398
15399         * text2.C: add a using directive.
15400
15401 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15402
15403         * BufferView2.C:
15404         * lyx_gui_misc.h:
15405         * lyxfr1.C:
15406         * lyxfunc.C: kill LyXBell.
15407
15408 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * text.C (IsBoundary): Remove the error message
15411
15412         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15413
15414         * lyxrc.C (setDefaults): Correct initialization value for
15415         font_norm_type.
15416
15417 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15418
15419         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15420         gotoError().
15421
15422         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15423         and GotoNextNote().
15424
15425         * src/LyXAction.C: Added reference-next.
15426
15427         * text.C (InsertChar): Use contains instead of strchr.
15428
15429         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15430
15431 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15432
15433         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15434         alignment commands (when needed).
15435
15436         * text.C (InsertChar): Add ':' to number separator chars.