]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6214a42fec71cbfcff76e3c70d91a3168a253013
[lyx.git] / src / ChangeLog
1 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
4         setBuffer()
5         
6 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * BufferView.C (setCursor): call redoParagraph (some insets could
9         have been opened) 
10         (putSelectionAt): remove the 'double update' trick
11
12         * BufferView_pimpl.C (fitCursor): call refreshPar
13         (workAreaDispatch): remove an uneeded update call
14         (dispatch): remove some manual update calls
15
16         * cursor.[Ch]: remove cached_y_, updatePos
17         (selHandle): set noUpdate when appropriate
18
19         * lyxfunc.C (dispatch): track if we need an update
20         
21         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
22
23         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
24         (paintSelection): cheap optimization, do not call cursorX when not
25         needed 
26         (paintPars): change signature
27         (refreshPar): add
28         (paintText): adjust
29         (paintTextInset): adjust
30
31         * text.C: adjust
32
33 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * lengthcommon.C: compilation fix: remove explicit array size from
36         unit_name[] and friends
37
38 2004-04-05  Angus Leeming  <leeming@lyx.org>
39
40         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
41
42         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
43         present only for the preferences dialog.
44         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
45
46 2004-04-05  Angus Leeming  <leeming@lyx.org>
47
48         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
49         to enable the frontends to export changes to lyxrc correctly.
50
51         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
52
53 2004-04-05  André Pönitz  <poenitz@gmx.net>
54
55         * cursor.[Ch] (valign, halign...): remove unneeded functions
56
57 2004-04-05  Angus Leeming  <leeming@lyx.org>
58
59         * lyxlength.[Ch] (unit_name et al.): const-correct.
60
61 2004-04-05  Angus Leeming  <leeming@lyx.org>
62
63         * BufferView_pimpl.C:
64         * buffer.C:
65         * counters.C:
66         * cursor.C:
67         * lyxfunc.C
68         * paragraph.C:
69         * pariterator.C:
70         * text.C:
71         * text2.C:
72         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
73
74 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * text3.C (getStatus): add LFUN_BEGINNINGBUF
77
78 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * lyxfind.C: add a couple of inTexted() tests + other small fixes
81         * BufferView_pimpl.[Ch] (getStatus)
82         * BufferView.[Ch] (getStatus): add
83         * lyxfunc.C (getStatus): move lfuns handled in
84         BufferView::dispatch to te function above 
85         * Cursor.C (setSelection): set selection() = true
86
87 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
88
89         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
90
91 2004-03-31  Angus Leeming  <leeming@lyx.org>
92
93         * lyxfunc.C (dispatch): Fall through to the generic
94         Dialogs::show("preamble").
95
96 2004-03-31  Angus Leeming  <leeming@lyx.org>
97
98         * lyxfunc.C (dispatch): Fall through to the generic
99         Dialogs::show("spellchecker").
100
101 2004-03-31  Angus Leeming  <leeming@lyx.org>
102
103         * lyxfunc.C (getStatus, dispatch): changed invocation of the
104         preferences dialog.
105
106 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
107
108         * BufferView.C
109         * cursor.[Ch]
110         * dociterator.[Ch]:
111         * insetiterator.[Ch]:
112         * lyxfind.C:
113         * lyxfunc.C:
114         * pariterator.[Ch]:
115         * text2.C:
116         * undo.[Ch]: s/DocumentIterator/DocIterator/g
117
118 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * BufferView.C (setCursor, putSelectionAt): call edit to open the
121         insets where we are putting the cursor.
122
123 2004-03-31  Angus Leeming  <leeming@lyx.org>
124
125         * lfuns.h:
126         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
127
128         * lyxrc.[Ch] (read, write): overloaded member functions taking
129         a std::[io]stream arguments.
130
131         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
132
133 2004-03-31  Angus Leeming  <leeming@lyx.org>
134
135         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
136         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
137
138         * lyxtextclass.C (load): if the text class couldn't be loaded, then
139         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
140
141 2004-03-31  Angus Leeming  <leeming@lyx.org>
142
143         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
144         the LFUN_ALL_INSETS_TOGGLE code.
145
146 2004-03-30  Angus Leeming  <leeming@lyx.org>
147
148         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
149         has died. Fall through to the generic Dialogs::show("document").
150         
151 2004-03-30  Angus Leeming  <leeming@lyx.org>
152
153         * lfuns.h:
154         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
155         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
156
157         * lyxfunc.C (getStatus, dispatch): define the actions for these
158         lfuns. Little more than a cut and pste job from ControlDocument.C
159
160         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
161
162 2004-03-30  Angus Leeming  <leeming@lyx.org>
163
164         * lfuns.h:
165         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
166         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
167
168         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
169         open/closed state of ollapsable insets. Usage:
170
171         all-inset-toggle <state> <name>, where
172         <state> == "open" || "closed" || "toggle" and
173         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
174
175         * lyxtext.h, text2.C (toggleInset): removed.
176
177         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
178         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
179         now passes LFUN_INSET_TOGGLE to the found inset.
180
181         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
182         is now invoked as "all-insets-toggle toggle branch".
183
184 2004-03-30  Angus Leeming  <leeming@lyx.org>
185
186         * dociterator.C:
187         * insetiterator.C:
188         * pariterator.[Ch]: added/corrected header blurb.
189
190 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
191
192         * dociterator.[Ch]: add an inset_ member 
193         (backwardPos): implemented
194         (backwardPos, forwardPos): use inset_ when the stack is empty.
195         (doc_iterator_begin, doc_iterator_end): implemented
196         * pariterator.[Ch]: adjust, add begin, end
197         * insetiterator.[Ch]: adjust, add begin, end
198         * cursor.C: 
199         * document.C:
200         * BufferView.C:
201         * BufferView_pimpl.C:
202         * CutAndPaste.C: adjust
203
204 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * buffer.C: increment file format to 232.
207         * LaTeXFeatures.C: add bibtopic package.
208         * bufferparams.[Ch]: param \use_bibtopic.
209         
210         * lyxrc.[Ch]: add lyxrc bibtex_command
211         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
212         
213         * buffer.C: increment file format to 231.
214
215 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * dociterator.C: implement forwardPar
218         * iterators.[Ch]: remove, replaced by
219         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
220         * BufferView.C:
221         * BufferView_pimpl.C:
222         * CutAndPaste.C:
223         * buffer.C:
224         * bufferview_funcs.C:
225         * cursor.C:
226         * lyxfind.C
227         * lyxfunc.C
228         * paragraph_funcs.C
229         * toc.C:  
230         * Makefile.am: adjust
231
232 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * CutAndPaste.C (pasteSelection): fix 2 crashes
235         (eraseSelection): fix a crash
236         * paragraph_funcs.C: remove a warning
237
238 2004-03-28  Angus Leeming  <leeming@lyx.org>
239
240         * lfuns.h:
241         * LyXAction.C (init): new LFUN_PRINT.
242
243         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
244
245 2004-03-27  Angus Leeming  <leeming@lyx.org>
246
247         * lfuns.h:
248         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
249
250         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
251
252 2004-03-27  Angus Leeming  <leeming@lyx.org>
253
254         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
255         insetlist always contains non-null pointers to insets.
256
257 2004-03-26  Angus Leeming  <leeming@lyx.org>
258
259         * src/BufferView_pimpl.C:
260         * src/CutAndPaste.C:
261         * src/buffer.C:
262         * src/iterators.C:
263         * src/output_plaintext.C:
264         * src/outputparams.h:
265         * src/paragraph_funcs.C:
266         * src/rowpainter.C:
267         * src/text.C:
268         * src/text2.C:
269         * src/frontends/controllers/ControlErrorList.C:
270         * src/frontends/gtk/FileDialogPrivate.C:
271         * src/frontends/gtk/GPainter.C:
272         * src/frontends/gtk/GToolbar.C:
273         * src/frontends/qt2/QRef.C:
274         * src/mathed/math_scriptinset.C: squash compiler warnings.
275
276 2004-03-26  Angus Leeming  <leeming@lyx.org>
277
278         * ispell.C (LaunchIspell::start):
279         * lyx_cb.C (AutoSaveBuffer::start):
280         invoke run(DontWait) rather than runNonBlocking().
281
282 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
283
284         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
285
286 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * kbsequence.C (print): adjust
289
290         * kbmap.C (printKeySym): rename and change signature
291         (printKey): use LyXKeySym::print()
292
293 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * undo.C: add using std::advance to compile for stlport
296
297 2004-03-24  Angus Leeming  <leeming@lyx.org>
298
299         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
300         it leads to a crash when no buffer is present.
301
302 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303             Martin Vermeer  <martin.vermeer@hut.fi>
304
305         * lyxfunc.C (dispatch): 
306         * bufferparams.C (readToken): use the new LColor::setColor 
307
308         * LColor.[Ch] (setColor): new version that takes two strings as
309         argument and creates a new color entry if necessary
310
311 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
312
313         * buffer.C (makeLaTeXFile): if the main latex file that is
314         processed is usually a subdocument of some master, then pretend
315         for a while that it is actually the master
316
317 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
318
319         * buffer.C (getLabelList):
320         (getBibkeyList): use getMasterBuffer()
321         (getMasterBuffer): new method. Returns the main document in the
322         case where one is using included documents.
323
324 2004-03-25  André Pönitz  <poenitz@gmx.net>
325
326         * Makefile.am:
327         * iterators.[Ch]:
328         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
329
330         * ParagraphList_fwd.h: change ParagraphList to a std::vector
331
332         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
333         text*.C over here. Rename namespace CutAndPaste to lyx::cap
334
335         * ParameterStruct.h: merge with ParagraphParameters
336
337         * lyxtext.h: remove LyXText::parOffset() and getPar()
338
339         * text3.C: Remove all 'manual' update calls. We do now one per user
340         interaction which is completely sufficient.
341
342         * Bidi.C:
343         * BufferView.[Ch]:
344         * BufferView_pimpl.C:
345         * FontIterator.[Ch]:
346         * MenuBackend.C:
347         * ParagraphParameters.[Ch]:
348         * buffer.C:
349         * buffer.h:
350         * bufferlist.C:
351         * cursor.[Ch]:
352         * cursor_slice.[Ch]:
353         * dociterator.[Ch]:
354         * errorlist.[Ch]:
355         * factory.C:
356         * lfuns.h:
357         * lyxfind.C:
358         * lyxfunc.C:
359         * output_docbook.[Ch]:
360         * output_latex.[Ch]:
361         * output_linuxdoc.[Ch]:
362         * output_plaintext.[Ch]:
363         * paragraph.[Ch]:
364         * paragraph_funcs.[Ch]:
365         * paragraph_pimpl.[Ch]:
366         * rowpainter.C:
367         * tabular.[Ch]:
368         * text.C:
369         * text2.C:
370         * toc.C:
371         * undo.[Ch]: adjust
372
373         * frontends/controllers/ControlDocument.C:
374         * frontends/controllers/ControlErrorList.C:
375         * frontends/controllers/ControlSpellchecker.C:
376         * insets/inset.C:
377         * insets/inset.h:
378         * insets/insetbase.h:
379         * insets/insetbibitem.C:
380         * insets/insetbox.C:
381         * insets/insetbranch.C:
382         * insets/insetcaption.C:
383         * insets/insetcharstyle.C:
384         * insets/insetcharstyle.h:
385         * insets/insetcollapsable.C:
386         * insets/insetcollapsable.h:
387         * insets/insetert.C:
388         * insets/insetfloat.C:
389         * insets/insetfoot.C:
390         * insets/insetmarginal.C:
391         * insets/insetnote.C:
392         * insets/insetoptarg.C:
393         * insets/insettabular.C:
394         * insets/insettext.C:
395         * insets/insettext.h:
396         * insets/insetwrap.C:
397         * mathed/math_mboxinset.C:
398         * mathed/math_nestinset.C:
399         * mathed/math_scriptinset.C:
400         * mathed/math_scriptinset.h:
401         * support/types.h:
402
403 2004-03-24  Angus Leeming  <leeming@lyx.org>
404
405         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
406         deal with any child processes that have finished but are waiting to
407         communicate this fact to the rest of LyX.
408
409 2004-03-24  Angus Leeming  <leeming@lyx.org>
410
411         64-bit compile fixes.
412
413         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
414         (c-tor): pass lyx::pos_types rather than ints.
415
416         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
417         lyx::pos_type.
418
419         * text.C (Delete): compile fix.
420         (getPar): ensure that function declaration is the same as that in
421         the header file.
422
423 2004-03-23  Angus Leeming  <leeming@lyx.org>
424
425         * ispell.C (LaunchIspell):
426         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
427         a boost::shred_ptr rather than a std::auto_ptr.
428
429 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * lyxfunc.C (getStatus): handle read-only buffers correctly;
432         handle LFUN_FILE_INSERT_*
433
434         * lyxrc.C (setDefaults, getDescription, output, read):
435         * lyxrc.h: remove ps_command
436
437 2004-03-22  Angus Leeming  <leeming@lyx.org>
438
439         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
440         Ensure that error_handler is processed once only and that all data
441         is saved before attempting to output any warning messages.
442
443         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
444
445 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * tabular.C (TeXRow): crash fix (from Kayvan and André)
448
449 2004-03-19  André Pönitz  <poenitz@gmx.net>
450
451         * cursor.[Ch] (reset): take main text inset as argument
452
453         * BufferView: adjust
454         * BufferView_pimpl.C: adjust
455
456         * paragraph.[Ch]: fix completely broken operator=()
457
458 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * LColor.C (getFromLyXName): make sure that the color name is used
461         as lowercase.
462
463 2004-03-17  Angus Leeming  <leeming@lyx.org>
464
465         * lfuns.h:
466         * LyXAction.C (init): remove LFUN_FORKS_KILL.
467
468         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
469         dialog and to kill a forked process.
470
471 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * text2.C (setCursorFromCoordinates): fix font problem
474
475 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
476
477         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
478         bogus "rebuild cursor" code
479
480 2004-03-11  André Pönitz  <poenitz@gmx.net>
481
482         * buffer.[Ch]: use InsetText instead of LyXText as container for
483         the main lyx text.
484
485         * dociterator.[Ch]: drop the BufferView * member which is not needed
486         anymore after the change to buffer.C
487
488         * paragraph_funcs.C:
489         * text.C:
490         * text2.C:
491         * BufferView.[Ch]:
492         * BufferView_pimpl.[Ch]:
493         * cursor.[Ch]:
494         * cursor_slice.[Ch]: adjust
495
496         * text3.C: fix bug in mathDispatch
497
498 2004-03-08  André Pönitz  <poenitz@gmx.net>
499
500         * undo.[Ch]: use 'StableDocumentIterator' as base for
501         the Undo struct.
502
503 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * LaTeXFeatures.C:
506         * bufferparams.[Ch]: add jurabib support and param.
507
508         * LaTeX.C: add FIXME/comment.
509
510 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
511
512         * buffer.C: increment file format to 230.
513
514 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
515
516         * cursor.C (dispatch): avoid infinite loops
517
518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * rowpainter.C (paintSelection): fix x coordinates
521
522 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * text.C (rowBreakPoint): fix breaking before displayed insets
525
526 2004-03-01  André Pönitz  <poenitz@gmx.net>
527
528         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
529
530         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
531
532         * Makefile.am:
533         * BufferView.C:
534         * BufferView_pimpl.C:
535         * buffer.C:
536         * lyxfind.C:
537         * lyxfunc.C:
538         * text.C:
539         * text2.C:
540         * text3.C: adjust
541
542 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * lyxtext.h:
545         * text.C:
546         * text2.C:
547         * rowpainter.C:
548         * BufferView_pimpl.C: rename textwidth -> maxwidth,
549         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
550
551 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * Bidi.[Ch] (computeTables): const correctness
554         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
555         fill_hfill, fill_label_hfill and x from Row
556         * lyxtext.h: prepareToPrint returns a RowMetrics
557         * rowPainter.C: adjust
558         * text.C (prepareToPrint): use width, not textWidth. adjust
559         (redoParagraphInternal, cursorX): adjust
560         * text2.C (getColumnNearX): adjust
561         (init): put a default value to the top LyXText::width
562
563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
566
567 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * lyxtext.h: add FontIterator class
570
571         * text.C (FontIterator, operator*, operator->, operator++): add
572         (rowBreakPoint, setRowWidth): adjust (fixing a
573         rebreaking bug)
574
575 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * BufferView_pimpl.C (workAreaDispatch): allow also
578         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
579
580 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
581
582         * text.C (rowBreakPoint): fix a bug showing with very large insets
583
584 2004-02-25  André Pönitz  <poenitz@gmx.net>
585
586         * text3.C:
587         * cursor.[Ch]: move some mathed specific code to mathed
588
589 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
592         use_tempdir in preferences
593         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
594         tempfile creation
595         * lyx_main.C: ensure that tempdir is valid
596         * lyxlex.h: correct typo
597         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
598         * paragraph.[Ch] (isMultiLingual): make const
599         * cursor.[Ch] (openable): make const
600
601 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
604
605 2004-02-20  André Pönitz  <poenitz@gmx.net>
606
607         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
608
609         * cursor.[Ch]: prepare for localized getStatus()
610
611         * lyxtext.h:
612         * tabular.C:
613         * text.C:
614         * text2.C:
615         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
616
617 2004-02-20  André Pönitz  <poenitz@gmx.net>
618
619         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
620
621 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * text2.C (setCursorFromCoordinates): switch to absolute coords
624         (cursorUp): adjust
625         (cursorDown): adjust
626         * text3.C (dispatch): adjust
627
628 2004-02-16  André Pönitz  <poenitz@gmx.net>
629
630         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
631           insets/ChangeLog)
632
633         * cursor_slice.[Ch]: remove unneeded acessor function
634
635         * lyxtext.h: rename rtl() to isRTL()
636
637         * rowpainter.C:
638         * tabular.C:
639         * text.C:
640         * text2.C:
641         * text3.C: adjust
642
643 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * rowpainter.C (paintSelection): coord fix
646
647 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
648
649         * Spacing.C: compile fix
650
651 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
652
653         * cursor.C (dispatch): restore current_ before returning
654
655 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * text2.C (cursorUp, cursorDown): fix coords
658         (moveUp): fix crash
659
660 2004-02-12  André Pönitz  <poenitz@gmx.net>
661
662         * lyxtext.h:
663         * text.C:
664         * text2.C:
665         * text3.C: add LCursor & parameter to most cursor movement functions
666           remove usage of LyXText::cursorRow() and cursorPar()
667
668         * cursor.[Ch]: add textRow() needed members
669
670         * BufferView.C:
671         * BufferView_pimpl.C:
672         * paragraph.[Ch]:
673         * BufferView.C:
674         * BufferView_pimpl.C: adjust
675
676 2004-02-11  André Pönitz  <poenitz@gmx.net>
677
678         * lyxfunc.C:
679         * BufferView.[Ch]:
680         * BufferView_pimpl.C: shift undo/redo handling
681
682         * cursor.[Ch]: fix mathed crash
683
684         * lyxfind.C:
685         * lyxtext.h: move selectionAsText to LCursor
686
687         * output_latex.C:
688         * paragraph.C:
689         * text.C:
690         * text2.C:
691         * text3.C: adjust
692
693         * rowpainter.C: fix excessive drawing
694
695 2004-02-06  André Pönitz  <poenitz@gmx.net>
696
697         * BufferView.[Ch]:
698         * BufferView_pimpl.[Ch]:
699         * text3.C: move some text specific LFUN handling
700
701 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
702
703         * text3.C (checkInsetHit): adjust coords
704         * text2.C (getColumnNearX): adjust coords
705         (edit): adjust coords
706         * text.C (getRowNearY): add two asserts
707
708 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
709
710         * converter.C:
711         * format.C: add using std::distance to compile on gcc 2.95/stlport
712
713 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
716
717 2004-02-04  André Pönitz  <poenitz@gmx.net>
718
719         * BufferView.[Ch] (insertInset):
720         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
721
722         * text2.C:
723         * text3.C: adjust
724
725 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
728         on the default clause of the switch
729         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
730         wasn't catched by LCursor::dispatch
731
732 2004-02-03  André Pönitz  <poenitz@gmx.net>
733
734         * BufferView.C:
735         * cursor.[Ch]: some additional asserts
736
737         * undo.[Ch]: remove LyXText dependency in interface
738
739         * lyxfunc.C: adjust
740
741         * lyxtext.h (firstPar, lastPar): remove dead functions
742
743         * text.C:
744         * text2.C:
745         * text3.C:
746         * paragraph.[Ch]: adjust
747
748 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * lyxfind.C (find): fix argument order in call to ::find
751
752 2004-02-02  André Pönitz  <poenitz@gmx.net>
753
754         * cursor.[Ch]: remove direct access to anchor
755
756         * text.C: remove findText() hack
757
758 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * iterators.[Ch] (lockPath): remove in favour of...
761         * BufferView.[Ch] (setCursor): this addition
762         * BufferView.C (putSelectionAt): adjust
763         * undo.C (performUndoOrRedo): adjust
764         * lyxfunc.C (dispatch): adjust
765
766 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
767
768         * iterators.C (lockPath): add a missing slice
769         * undo.C (performUndoOrRedo): remove redundant positioning code
770
771 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * vc-backend.C (scanMaster): ";" -> ';'
774
775 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
778         std::binary_function
779
780         * lyxtextclass.C (compare_name): rename to...
781         (LayoutNamesEqual): ...this
782
783         * lyxlex_pimpl.C (compare_tags): inherit from
784         std::binary_function, put back into anon namespace
785
786         * lyxfind.C (MatchString): inherig from std::binary_function
787         (findChange): use empty() istead of !size()
788
789         * format.C (FormatNamesEqual): new functor
790         (getFormat): use it
791         (getNumber): use it
792         (add): use it
793         (erase): use it
794         (setViewer): use it
795
796         * converter.C (compare_Converter): rename to...
797         (ConverterEqual): ...this, and fixup a bit.
798         (getConverter): use it, and make function const
799         (getNumber): use it, and make function const
800         (add): use it
801         (erase): use it:
802
803         * bufferlist.C: add using boost::bind
804
805         * MenuBackend.C (MenuNamesEqual): new functor
806         (hasMenu): use it, and make function const
807         (hasSubmenu): use nested bind to get rid of compare_memfun.
808
809 2004-01-30  André Pönitz  <poenitz@gmx.net>
810
811         * BufferView_pimpl.C:
812         * cursor.C:
813         * cursor.h:
814         * cursor_slice.[Ch]:
815         * lyxfunc.C:
816         * lyxtext.h:
817         * paragraph_funcs.C:
818         * paragraph_funcs.h:
819         * rowpainter.C:
820         * text.C:
821         * text2.C:
822         * text3.C: move some of the edit(x,y) handling to the insets
823         some coordinate changes.
824
825 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * text.C: add using statements for std::advance and std::distance
828
829         * paragraph.C: add using statement for std::distance
830
831         * lyxfind.C: add using statement for std::advance
832
833         * cursor.C (region): remove std:: from swap
834         (openable): use nucleus in stead of operator->
835
836         * BufferView.C: add using statements for std::distance and std::swap
837
838 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
839
840         * iterators.C: Remove the pimple, move the needed structures to
841         the header file. Create accessor for the positions stack.
842         (asPosIterator): remove function
843
844         * PosIterator.C (PosIterator): move constructors to top of file
845         (PosIterator): reimplement the constructor taking a ParIterator in
846         terms of setFrom.
847         (setFrom): new function
848         (operator!=): inline it
849
850 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * lyxfind.C (replaceAll): use std::advance
853
854         * iterators.h: inherit from std::iterator.
855
856         * PosIterator.C (advance, distance): remove
857         * PosIterator.h: interit from std::iterator.
858
859 2004-01-26  André Pönitz  <poenitz@gmx.net>
860
861         * BufferView.[Ch]:
862         * BufferView_pimpl.[Ch]:
863         * InsetList.[Ch]:
864         * PosIterator.[Ch]:
865         * buffer.h:
866         * bufferview_funcs.C:
867         * cursor.[Ch]:
868         * cursor_slice.h:
869         * factory.[Ch]:
870         * iterators.[Ch]:
871         * lyxfind.C:
872         * lyxfunc.C:
873         * lyxtext.h:
874         * output_docbook.C:
875         * output_latex.C:
876         * output_linuxdoc.C:
877         * output_plaintext.C:
878         * paragraph.[Ch]:
879         * paragraph_funcs.[Ch]:
880         * paragraph_pimpl.[Ch]:
881         * rowpainter.C:
882         * tabular.C:
883         * tabular.h:
884         * text.C:
885         * text2.C:
886         * text3.C: more IU:  dumps most of the rest of the mathcursor
887     implementation into cursor.[Ch]; "globalize" a bit of it.
888
889 2004-01-25  Angus Leeming  <leeming@lyx.org>
890
891         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
892
893 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
894
895         * LaTeXFeatures.h: add nice_ and nice() const
896         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
897
898 2004-01-20  André Pönitz  <poenitz@gmx.net>
899
900         * BufferView.[Ch]:
901         * BufferView_pimpl.C:
902         * PosIterator.C:
903         * bufferview_funcs.C:
904         * cursor.[Ch]:
905         * cursor_slice.[Ch]:
906         * factory.C:
907         * iterators.C:
908         * lyx_cb.C:
909         * lyxfind.C:
910         * lyxfunc.C:
911         * lyxtext.h:
912         * rowpainter.C:
913         * text.C:
914         * text2.C:
915         * text3.C:
916         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
917           LCursor and mathcursor parts to LCursor and InsetBase.
918
919 2004-01-15  André Pönitz  <poenitz@gmx.net>
920
921         * cursor_slice.[Ch]: add a few covienience functions
922
923         * funcrequest.[Ch]: remove BufferView * member
924
925         * BufferView_pimpl.C:
926         * cursor.C:
927         * factory.[Ch]:
928         * lyxfind.[Ch]:
929         * lyxfunc.C:
930         * lyxtext.h:
931         * text3.C:
932         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
933
934 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
935
936         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
937         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
938
939 2004-01-13  André Pönitz  <poenitz@gmx.net>
940
941         * textcursor.[Ch]:
942         * lyxtext.h: hide cursor and selection anchor behind accessor function
943
944         * BufferView.C:
945         * BufferView_pimpl.[Ch]:
946         * PosIterator.C:
947         * bufferview_funcs.C:
948         * cursor.h:
949         * lyxfind.C:
950         * lyxfunc.C:
951         * text.C:
952         * text2.C:
953         * text3.C:
954         * undo.C: adjust
955
956         * cursor.h:
957         * cursor_slice.[Ch]: some integer type changes for inset unification
958
959         * lyxcursor.[hC]: remove, it's CursorSlice now.
960
961         * Makefile.am:
962         * BufferView_pimpl.[Ch]:
963         * bufferview_funcs.C:
964         * cursor_slice.C:
965         * lyxtext.h:
966         * text.C:
967         * text2.C:
968         * text3.C:
969         * textcursor.[Ch]: adjust
970
971 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
972
973         * text2.C (undoSpan): add and use
974         * text.C (breakParagraph): use undoSpan (fix bug 578)
975         * lyxtext.h: adjust
976
977 2004-01-08  Angus Leeming  <leeming@lyx.org>
978
979         * BufferView_pimpl.C (MenuInsertLyXFile):
980         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
981         * lyxfunc.C (menuNew, open, doImport):
982         FileFilterList change to the FileDialog open and save functions.
983
984 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
985
986         * ShareContainer.h: make isEqual and isUnique adaptable
987
988         * CutAndPaste.C: make resetOwnerAndChanges adaptable
989
990 2004-01-07  Angus Leeming  <leeming@lyx.org>
991
992         * LyXAction.C:
993         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
994
995         * BufferView_pimpl.C (dispatch): act on these LFUNs.
996
997         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
998         functions replacing find, replace and replaceAll.
999
1000         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1001         LFUN_WORDFIND(FORWARD|BACKWARD).
1002
1003 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * text.C (breakParagraph): remove an outdated #warning
1006
1007 2004-01-07  André Pönitz  <poenitz@gmx.net>
1008
1009         * lyxfind.C: somewhat clearer logic
1010
1011         * text.C: prevent crash in cursorX on unitialized row cache
1012
1013 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * lyxcursor.[Ch] (operator>): add
1016         * textcursor.C (selStart, selEnd): use std::min and std::max
1017
1018 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1019
1020         * Chktex.C: include boost/format.hpp
1021
1022 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1023
1024         * InsetList.C: replace functor MathcIt with adaptable functor
1025         InsetTablePosLess
1026         (insetIterator): modify accordingly
1027
1028         * BranchList.h: move the BranchNamesEqual functor here from...
1029         * BranchList.C: ... to here
1030
1031         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1032         SameName and match.
1033         (add): replace a finding loop with std::find_if.
1034
1035 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1036
1037         * output_docbook.C: moving LatexParam functionality into
1038         .layout files
1039
1040 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1041
1042         * buffer.C: increment format to 229.
1043
1044 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1045
1046         * LaTeXFeatures.C:
1047         * lyx_sty.[Ch]: remove minipageindent_def
1048
1049         * LyXAction.C:
1050         * factory.C:
1051         * lfuns.h:
1052         * lyxfunc.C:
1053         * text3.C: remove LFUN_INSET_MINIPAGE
1054
1055 2003-12-28  Angus Leeming  <leeming@lyx.org>
1056
1057         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1058
1059 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1060
1061         * text2.C (setParagraph): fix off-by-one crash
1062
1063 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1064
1065         * output_docbook.C: header stuff for AGU
1066
1067 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * text2.C (redoCursor): remove
1070         * text.C:
1071         * text3.C:
1072         * BufferView_pimpl.C: remove calls to redoCursor and
1073         setCursor(cursor.par(), cursor.pos()) all around
1074
1075 2003-12-15  Angus Leeming  <leeming@lyx.org>
1076
1077         * buffer.C: up the format to 228.
1078
1079 2003-12-15  André Pönitz  <poenitz@gmx.net>
1080
1081         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1082         slices
1083
1084         * Makefile.am:
1085
1086         * BufferView_pimpl.C:
1087         * cursor.[Ch]:
1088         * lyxcursor.[Ch]:
1089         * rowpainter.[Ch]:
1090         * lyxtext.h:
1091         * text.C:
1092         * text2.C:
1093         * text3.C: adjust
1094
1095 2003-12-15  Angus Leeming  <leeming@lyx.org>
1096
1097         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1098         than getFromGUIName to manipulate the color.
1099
1100 2003-12-14  Angus Leeming  <leeming@lyx.org>
1101
1102         * BranchList.[Ch]: minimize the API.
1103         (Branch::getBranch, getColor): now return a 'const &'.
1104         (Branch::setSelected) now returns a bool set to true if the
1105         selection status changes.
1106         (BranchList::clear, size, getColor, setColor, setSelected,
1107         allBranches, allSelected, separator): removed.
1108         (BranchList::find): new functions, returning the Branch with
1109         the given name.
1110         (BranchList::add, remove): return a bool indicating that
1111         the operation was successful.
1112
1113         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1114         new InsetBranch::isBranchSlected member function.
1115
1116         * LColor.[Ch]: mimimize the API.
1117         (fill): renamed as addColor and made private.
1118         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1119         versions of these functions taking a string arg have been removed.
1120
1121         * bufferparams.C (readToken):
1122         * lyxfunc.C (dispatch):
1123         * lyxrc.C (read): changes due to the altered BranchList and
1124         LColor APIs.
1125
1126         * factory.C (createInset, readInset): changes due to altered
1127         InsetBranch c-tor.
1128
1129 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1130
1131         * factory.C:
1132         * lyxfunc.C: remove insetminipage. "minipage-insert"
1133         now produces a frameless minipage box inset.
1134
1135 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1136
1137         * textcursor.[Ch] (selStart,selEnd): add new methods
1138         remove selection::start, end, use LyXCursor::operator<
1139         * lyxcursor.[Ch] (operator<): add
1140         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1141         * BufferView.[Ch] (unsetXSel): add
1142         * text2.C (clearSelection): use unsetXSel,adjust
1143         * text.C: adjust
1144         * text3.C: adjust
1145         * rowpainter.C: adjust
1146         * bufferview_funcs.C (put_selection_at): adjust
1147
1148 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * BufferView_pimpl.C: small coord. correction
1151
1152 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1153
1154         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1155         dragging over the splash screen.
1156
1157 2003-12-11  Angus Leeming  <leeming@lyx.org>
1158
1159         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1160         as it is now handled in LyXText::dispatch.
1161
1162         * text3.C (doInsertInset): remove a level of nesting.
1163
1164 2003-12-11  Angus Leeming  <leeming@lyx.org>
1165
1166         * factory.C (createInset): changes due to the changed interface to
1167         InsetCommandMailer::string2params.
1168
1169 2003-12-10  Angus Leeming  <leeming@lyx.org>
1170
1171         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1172         'dialog-show-new-inset <inset name>'
1173
1174 2003-12-10  Angus Leeming  <leeming@lyx.org>
1175
1176         * buffer.C: up the format to 227.
1177
1178         * factory.C: the box inset is now identified simply by 'Box'.
1179
1180 2003-12-10  Angus Leeming  <leeming@lyx.org>
1181
1182         * buffer.C: up the format to 226.
1183
1184         * factory.C: the note inset is now identified simply by 'Note'.
1185
1186 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1189         when a pit is enough. Standarize a couple of loops.
1190
1191 2003-12-05  Angus Leeming  <leeming@lyx.org>
1192
1193         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1194         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1195         data to the re-worked "log" dialog.
1196
1197 2003-12-03  André Pönitz  <poenitz@gmx.net>
1198
1199         * PosIterator.C:
1200         * iterators.C:
1201         * lyxtext.h:
1202         * output_latex.C:
1203         * paragraph_funcs.C:
1204         * text.C:
1205         * text2.C: use Inset::getText instead of Inset::getParagraph
1206
1207 2003-12-03  André Pönitz  <poenitz@gmx.net>
1208
1209         * buffer.[Ch]:
1210         * lyxtext.h:
1211         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1212         InsetText::read() as LyXText::read()
1213
1214 2003-12-02  Angus Leeming  <leeming@lyx.org>
1215
1216         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1217         type. Add a comment in the implementation that the function uses
1218         the stream's bad() function rather than fail() as the std::streams
1219         would do.
1220
1221 2003-12-02  André Pönitz  <poenitz@gmx.net>
1222
1223         * lyxlex.[Ch]: make interface more similar to std::stream
1224
1225         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1226
1227 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1230
1231 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1232
1233         * vspace.[Ch]: remove VSpace::NONE
1234
1235 2003-12-01  André Pönitz  <poenitz@gmx.net>
1236
1237         * buffer.[Ch]:
1238         * lyxtext.h: move ParagraphList member to LyXText
1239         rename LyXText::ownerParagraphs to LyXText::paragraph
1240
1241         * CutAndPaste.C:
1242         * bufferview_funcs.C:
1243         * iterators.[Ch]:
1244         * lyx_cb.C:
1245         * paragraph.C:
1246         * rowpainter.C:
1247         * tabular.C:
1248         * text.C:
1249         * text2.C:
1250         * text3.C: adjust
1251
1252         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1253
1254         * undo.C: fix cursor positioning
1255
1256 2003-12-01  John Levon  <levon@movementarian.org>
1257
1258         * BufferView_pimpl.C: fix a crash on exit with
1259         a buffer open
1260
1261 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * BranchList.C: fix setSelected() method.
1264
1265 2003-11-28  André Pönitz  <poenitz@gmx.net>
1266
1267         * ParagraphParameters.[Ch]:
1268         * ParameterStruct.h: remove space above/below from Paragraph to
1269          InsetVSpace
1270
1271         * BufferView_pimpl.C:
1272         * factory.C:
1273         * lyxfunc.C:
1274         * lyxtext.h:
1275         * output_latex.C:
1276         * paragraph.C:
1277         * paragraph_funcs.C:
1278         * rowpainter.[Ch]:
1279         * text.C:
1280         * text2.C:
1281         * text3.C: adjust
1282
1283 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1284
1285         * factory.C: Syntax change for CharStyles
1286
1287 2003-11-28  André Pönitz  <poenitz@gmx.net>
1288
1289         * BufferView.[Ch]:
1290         * BufferView.[Ch]:
1291         * buffer.[Ch]:
1292         * buffer.[Ch]: move LyXText member
1293
1294 2003-11-28  André Pönitz  <poenitz@gmx.net>
1295
1296         * BufferView.[Ch]: make LyXText * text a private member
1297
1298         * BufferView_pimpl.C:
1299         * cursor.C:
1300         * iterators.C:
1301         * lyx_cb.C:
1302         * lyxfind.C:
1303         * lyxtext.h:
1304         * rowpainter.[Ch]:
1305         * text.C:
1306         * text2.C:
1307         * undo.C: adjust
1308
1309         * output_plaintext.C: cleanup
1310
1311 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1312
1313         * buffer.C:
1314         * lyxtextclass.[Ch]: parametrize SGML document header
1315
1316 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * converter.[Ch]:
1319         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1320         getFlavor().
1321
1322 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1323
1324         * text2.C (setFont): rework using PosIterator (no more recursive)
1325         (setCharFont): no more needed
1326         (setLayout): no more selection cursors fiddling (done by redoCursor)
1327         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1328         destroy remaining ones)
1329
1330 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1333         * lyxtext.h: ditto
1334         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1335         selection cursors
1336         * lyxfunc.C: adjust
1337         * text3.C: adjust + re-allow multi par depth changes
1338         * textcursor.C: simplify a bit
1339
1340 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1341
1342         * src/buffer.C:
1343         * src/lyxlayout.C:
1344         * src/lyxlayout.h:
1345         * src/lyxtext.h:
1346         * src/output_docbook.C:
1347         * src/output_latex.C:
1348         * src/paragraph.C:
1349         * src/paragraph.h:
1350         * src/sgml.C:
1351         * src/sgml.h:
1352         * src/text2.C: Introducing a number of tags parametrizing various
1353         XML formats that we may want to support
1354
1355 2003-11-25  André Pönitz  <poenitz@gmx.net>
1356
1357         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1358
1359         * lyxtext.h (leftMargin/rightMargin): simplify interface
1360
1361         * rowpainter.C:
1362         * text.C:
1363         * text2.C:
1364         * text3.C: adjust
1365
1366 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1367
1368         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1369         master file to any child files. Fixes bug 546.
1370
1371 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1374
1375 2003-11-24  André Pönitz  <poenitz@gmx.net>
1376
1377         * rowpainter.C: simplification
1378
1379         * text2.C (updateCounters): remove call to redoParagraph on
1380         changed labels as this is far too expensive.
1381
1382 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * converter.C (convert): fix a crash: this function gets
1385         called with buffer == 0 from importer code.
1386
1387 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * text3.C (cursorPrevious): make sure that we do not compare
1390         iterators form different containers.
1391         (cursorNext): ditto
1392
1393         * rowpainter.C (paintSelection): make sure that we do not compare
1394         iterators from different containers.
1395
1396         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1397         iterators from different ParagraphList containers.
1398         [NEXT] ditto
1399
1400         * text2.C (LyXText): change order of initialization slightly
1401         (operator=): new function. copy all variables except cache_par_
1402         (moveUp): make sure that we do not compare iterators from
1403         different ParagraphList constainers.
1404         (moveDown): ditto
1405
1406         * text.C (firstPar): new function
1407         (lastPar): new function
1408         (endPar): new function
1409
1410         * lyxtext.h: move things around and group public functions, public
1411         variables, private functions, private variables
1412
1413 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1414
1415         * factory.C: change call to InsetERT constructor to avoid
1416         additional invocation of method status
1417         * text2.C (toggleInset): remove redundant update() call
1418         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1419         instead of a Bufferview pointer
1420
1421 2003-11-21  André Pönitz  <poenitz@gmx.net>
1422
1423         * rowpainter.C: simplification
1424
1425 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * text3.C (dispatch): make possible to extend a word/row selection
1428         with the mouse
1429
1430 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * lyxtext.h: x0_,y0_ -> xo_,yo_
1433         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1434         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1435         * rowpainter.C (paintRows): paint full paragraphs
1436
1437 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1440         screen coordinates)
1441
1442 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * lyxtext.h: add x0_, y0_
1445         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1446         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1447
1448 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1449
1450         * text2.C (setCursorIntern): move the x_target update here *
1451         * text3.C: change some bv() to true/false in calls to
1452         cursorUp/Down/Right/Left
1453         * cursor.C: use helper function.
1454
1455 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1456
1457         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1458         * paragraph_funcs.[Ch]: correct comment
1459         * rowpainter.C: do not paint selections away from bv->cursor()
1460         Fix a long standing selection painting bug.
1461         * text3.C: generalize mouse-selection code to LyXTexts other that
1462         top one
1463         * textcursor.C: do not use y coords if we can use par offsets
1464
1465 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1468         cursor position after e.g. inset insert)
1469
1470 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * lyxfind.C (replace): adjust to locking removal + some
1473         code simplification
1474
1475 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1476
1477         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1478         of the path
1479
1480 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1481
1482         * lyxlayout.[Ch]:
1483         * output_docbook.C: XML sanitation: new layout
1484         parameters InnerTag and CommandDepth
1485
1486 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1487
1488         * BufferView_pimpl.C:
1489         * factory.C:
1490         * text3.C: Fix the insertion and modification of button-style
1491         insets
1492
1493 2003-11-13  André Pönitz  <poenitz@gmx.net>
1494
1495         * InsetList.[Ch]: remove deleteLyXText
1496
1497         * paragraph.[Ch]: cache beginOfBody position
1498
1499         * Bidi.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C: remove superfluous update() calls
1503
1504         * vspace.C: cleanup
1505
1506 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1509         * BufferView.C (fitLockedInsetCursor): remove
1510         * cursor.[Ch] (getDim): add
1511         * text.C (getRowNearY): add faster version
1512         * text3.C: remove some update calls
1513
1514 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1515
1516         * LaTeXFeatures.C:
1517         * LyXAction.C:
1518         * MenuBackend.C:
1519         * MenuBackend.h:
1520         * dispatchresult.h:
1521         * factory.C:
1522         * lfuns.h:
1523         * lyxfunc.C:
1524         * lyxtextclass.C:
1525         * lyxtextclass.h:
1526         * text3.C: The Character Style /XML short element patch.
1527
1528 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1529
1530         * text3.C:
1531         * factory.C: Small step to solving 'unable to insert some insets'
1532         problem
1533
1534 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * cursor.[Ch] (updatePos): new function for updating the y
1537         position of the tip inset
1538         * bufferview_funcs.C (put_selection_at):
1539         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1540
1541 2003-11-11  André Pönitz  <poenitz@gmx.net>
1542
1543         * text.C: remove big comment on invalid Paragraph pointers as it is
1544         not valid anymore
1545
1546 2003-11-11  André Pönitz  <poenitz@gmx.net>
1547
1548         * text_funcs.[Ch]: merge with ...
1549
1550         * text.C: ... this
1551
1552         * lyxtext.h:
1553         * text2.C:
1554         * text3.C: adjust
1555
1556         * Makefile.am: remove text_funcs.[Ch]
1557
1558 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * cursor.C (getPos): return absolute cached y coord
1561
1562         * BufferView_pimpl.C (fitCursor): new simplistic code
1563         (workAreaDispatch): add a fitCursor call
1564
1565 2003-11-10  André Pönitz  <poenitz@gmx.net>
1566
1567         * BufferView.[Ch]:
1568         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1569
1570 2003-11-10  André Pönitz  <poenitz@gmx.net>
1571
1572         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1573         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1574         indicate that the cursor needs to leave an inset
1575
1576         * lyxtext.h: remove inset locking
1577
1578         * cursor.[Ch]: re-implement functionality provided by inset locking
1579
1580         * BufferView.[Ch]:
1581         * BufferView_pimpl.[Ch]:
1582         * LyXAction.C:
1583         * bufferview_funcs.[Ch]:
1584         * factory.C:
1585         * funcrequest.[Ch]:
1586         * iterators.C:
1587         * lyx_cb.C:
1588         * lyxfind.C:
1589         * lyxfunc.C:
1590         * text.C:
1591         * text2.C:
1592         * text3.C:
1593         * undo.C: adjust
1594
1595 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1596
1597         * PosIterator.[Ch]: replace the stack with a vector, add inset
1598         accesor
1599         * iterators.[C]: adjust
1600
1601 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1602
1603         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1604         replaced
1605         * paragraph_funcs.C (readParToken): put the correct id in the
1606         error item, not the id of the top paragraph
1607
1608 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1609
1610         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1611         * bufferview_funcs.C (put_selection_at): use the above
1612
1613 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1616
1617 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * output_linuxdoc.h:
1620         * output_plaintext.h:
1621         * output.h:
1622         * output_docbook.h: add #include statements
1623
1624 2003-11-05  José Matos  <jamatos@lyx.org>
1625
1626         * output_docbook.[Ch]:
1627         * output_latex.[Ch]:
1628         * output_linuxdoc.[Ch]:
1629         * output_plaintext.[Ch]: New files for output formats.
1630         * output.[Ch]: New file for helper functions.
1631
1632         * buffer.[Ch]:
1633         * paragraph_funcs.[Ch]: output functions moved to new files.
1634
1635         * outputparams.h: rename of latexrunparams.h
1636
1637         * LaTeX.[Ch]:
1638         * buffer.[Ch]:
1639         * bufferlist.[Ch]:
1640         * converter.[Ch]:
1641         * exporter.C:
1642         * paragraph.[Ch]:
1643         * paragraph_funcs.[Ch]:
1644         * paragraph_pimpl.[Ch]:
1645         * tabular.[Ch]: rename ascii to plaintext
1646         and LatexRunParams to OutputParams.
1647
1648 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1649
1650         * iterators.[Ch] (text): require bv argument
1651         * undo.C (recordUndo):
1652         * lyxfunc.C (dispatch):
1653         * bufferview_funcs.C (put_selection_at): adjust
1654
1655 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1656
1657         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1658
1659 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1662         nestings
1663
1664 2003-11-04  André Pönitz  <poenitz@gmx.net>
1665
1666         * cursor.[Ch]: restructure
1667
1668         * BufferView.[Ch]:
1669         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1670
1671         * iterators.[Ch] (asCursor): remove
1672
1673         * lfuns.h: remove LFUN_INSET_EDIT
1674
1675         * lyxfunc.C:
1676         * tabular.C:
1677         * text.C:
1678         * text2.C:
1679         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1680
1681 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1682
1683         * lyxfind.[Ch]: complete overhaul
1684         * BufferView_pimpl.C:
1685         * lyxfunc.C: adjust
1686         * paragraph.[Ch] (insert): add
1687
1688 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1689
1690         * BufferView.[Ch]:
1691         * lyxtext.h:
1692         * text.C: remove dead spellcheck code
1693
1694 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1695
1696         * dispatchresult.h: add a val setter
1697
1698         * cursor.C (dispatch): use a tempvar for data_[i]
1699
1700 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1701
1702         * PosIterator.[Ch]: compile fix
1703
1704 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1705
1706         * text.C (cursorPar): deactivate the cursor cache
1707
1708 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1709
1710         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1711
1712 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * text3.C (dispatch): adjust for new DisptchResult semantics.
1715
1716         * lyxfunc.C (dispatch): handle update when return from
1717         Cursor::dispatch, adjust for new DispatchResult semantics.
1718
1719         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1720         DispatchResult(true) mean to not update. Add class functions for
1721         setting dispatched and update, as well as reading.
1722
1723         * cursor.C (dispatch): don't handle update here
1724
1725 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1728         * trans_mgr.C: adjust
1729
1730         * paragraph_funcs.C (readParToken): exception safety
1731
1732         * lyxvc.h: store the vcs pointer in a scoped_ptr
1733         * lyxvc.C: adjust
1734
1735         * lyxsocket.C (serverCallback): exception safety
1736
1737         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1738
1739         * ispell.C (clone): make it return a auto_ptr
1740
1741         * factory.C (createInset): exception safety
1742         (readInset): exception safety
1743
1744         * bufferlist.C (newBuffer): exception safety
1745
1746         * Thesaurus.C (Thesaurus): use initialization for aik_
1747
1748         * MenuBackend.C (expandToc): exception safety.
1749
1750 2003-11-03  André Pönitz  <poenitz@gmx.net>
1751
1752         * buffer.C:
1753         * buffer.h:
1754         * bufferview_funcs.C: remove getInsetFromId()
1755
1756         * lyxcursor.[Ch]:
1757         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1758
1759         * lyxfunc.C:
1760         * text2.C:
1761         * text3.C: adjust
1762
1763 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1764
1765         * PosIterator.C (distance, advance): new
1766         * bufferview_funcs.[Ch] (put_selection_at): new
1767         * iterators.[Ch] (lockPath): new
1768
1769 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1770
1771         * iterators.[Ch] (asPosIterator): added
1772         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1773         * PosIterator.[Ch]: added
1774
1775 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * text3.C:
1778         * lyxfunc.C:
1779         * cursor.C (dispatch):
1780         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1781
1782         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1783         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1784         contructor, add a class function dispatched. Remove operator>=
1785
1786 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * debug.C: only use the default constructor for debugstream
1789         (lyxerr) here.
1790
1791         * main.C (main): include debug.h and setup the lyxerr streambuf
1792         here.
1793
1794 2003-10-31  José Matos  <jamatos@lyx.org>
1795
1796         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1797
1798         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1799         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1800         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1801         * paragraph_pimpl.C (simpleTeXSpecialC):
1802         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1803         add LatexRunParams argument.
1804
1805         * exporter.C (Export): change call accordingly.
1806
1807         * latexrunparams.h: add new member to take care of the other backends.
1808 2003-10-30  José Matos  <jamatos@lyx.org>
1809
1810         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1811         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1812         factorise code for paragraph output.
1813         * buffer.[Ch]:
1814         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1815         move functions.
1816
1817 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * text3.C (dispatch):
1820         * lyxfunc.C (dispatch):
1821         * cursor.C (dispatch):
1822         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1823
1824         * dispatchresult.h: make the dispatch_result_t ctor explicit
1825
1826 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1827
1828         * sgml.[Ch]:
1829         * buffer.C: small refactoring of docbook stuff
1830
1831 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1832
1833         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1834         meaning.
1835
1836 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1839         operator dispatch_result_t, and operators for == != and >=
1840
1841         * cursor.C (dispatch): adjust for operator dispatch_result_t
1842         removal. comment out call to update
1843
1844         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1845
1846 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1847
1848         * text3.C:
1849         * text2.C:
1850         * text.C:
1851         * lyxtext.h:
1852         * lyxfunc.C:
1853         * cursor.C:
1854         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1855         (dispatch):
1856
1857         * dispatchresult.h: new file, DispatchResult broken out of
1858         insets/insetbase.h
1859
1860         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1861
1862 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1863
1864         * text.C (rowBreakPoint): put a hack inside #if 0
1865
1866 2003-10-28  André Pönitz  <poenitz@gmx.net>
1867
1868         * lyxtext.h:
1869         * metricsinfo.C:
1870         * paragraph_funcs.C:
1871         * rowpainter.C:
1872         * text.C:
1873         * text2.C: general cleanup (lots of small stuff)
1874
1875 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1876
1877         * text2.C (cursorEnd): simple fix to the "end key goes to one
1878         before the end on last row" bug
1879
1880 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * text.C (backspace): fix the "zombie characters"
1883
1884 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1885
1886         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1887
1888 2003-10-27  André Pönitz  <poenitz@gmx.net>
1889
1890         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1891
1892         * factory.C: handle new InsetPagebreak, InsetLine
1893
1894         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1895         and move handling into new InsetPagebreak, InsetLine
1896
1897         * BufferView_pimpl.C:
1898         * LyXAction.C:
1899         * ParagraphParameters.C:
1900         * ParameterStruct.h:
1901         * lyxfunc.C:
1902         * lyxtext.h:
1903         * paragraph.C:
1904         * paragraph.h:
1905         * paragraph_funcs.C:
1906         * paragraph_pimpl.C:
1907         * rowpainter.C:
1908         * text.C:
1909         * text2.C:
1910         * text3.C: adjust
1911
1912 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1913
1914         * text.C:
1915         * lyxrow_funcs.[Ch]:
1916         * Bidi.C:
1917         * paragraph.C:
1918         * lyxtext.h:
1919         * rowpainter.C:
1920         * text2.C:
1921         * text3.C: remove lastPos uses in favour of Row::endpos
1922
1923 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1924
1925         * undo.C (performUndoOrRedo): fix two crashes by setting a
1926         cursor by hand and reordering some calls. Use bv->lockInset instead
1927         of inset->edit because the latter loses cursor information
1928
1929 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1930
1931         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1932         by Martin
1933         (rowBreakPoint): fix width. change point to point + 1.
1934         Add a missing check.
1935
1936 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * MenuBackend.C:
1939         * lyxfunc.C: fix (at least partly) the problems
1940         with the Nav menu and headers inside branch insets
1941         reported by Kayvan
1942
1943 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * paragraph.C (getChar): add strong asserts
1946
1947         * lyxrow_funcs.C (lastPos): remove hideous hack
1948
1949         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1950         (fill): adjust to that (avoid an infinite loop)
1951
1952 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1953
1954         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1955
1956 2003-10-23  André Pönitz  <poenitz@gmx.net>
1957
1958         * RowList_fwd.h: change list<> to vector<> to gain speed
1959         after suggestion from Alfredo
1960
1961 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1962
1963         * lyxtext.h: move the bidi stuff from here...
1964         * text.C: and here
1965         * text2.C: and here
1966         * Bidi.[Ch]: ... to here
1967
1968 2003-10-23  André Pönitz  <poenitz@gmx.net>
1969
1970         * lyxtext.h:
1971         * text.C (isLastRow, isFirstRow): new functions
1972
1973         * paragraph.h: new width cache member
1974
1975         * rowpainter.C: replace RowList::iterator with Row & where possible
1976
1977         * lyxfunc.C: replace several view()->text with a single call
1978
1979         * toc.C: fix 'unused' warning
1980
1981 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1982
1983         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1984         when woring with stream::pos_type
1985         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1986
1987 2003-10-22  André Pönitz  <poenitz@gmx.net>
1988
1989         * lyxtext.h:
1990         * text.C: use Row & instead of RowList::iterator
1991
1992         * lyxrow.h: rename end() to endpos()
1993
1994         * rowpainter.C:
1995         * text.C:
1996         * text2.C: adjust
1997
1998 2003-10-22  Angus Leeming  <leeming@lyx.org>
1999
2000         * buffer.[Ch] (fully_loaded): new member function, returning true
2001         only when the file has been loaded fully.
2002         Used to prevent the premature generation of previews and by the
2003         citation inset to prevent computation of the natbib-style label.
2004
2005         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2006         templates are all set up.
2007
2008         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2009
2010 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2011
2012         * text.C: fixed an "oops" in the "is a bit silly"
2013         bug fix
2014
2015 2003-10-21  André Pönitz  <poenitz@gmx.net>
2016
2017         * FuncStatus.[Ch]: small stuff, whitespace
2018
2019         * lyxfont.[Ch]: operator<<() for debug reasons
2020
2021         * lyxfunc.C:
2022         * lyxrow_funcs.C:
2023         * lyxtext.h: whitespace, spelling
2024
2025         * paragraph.C: naming of variables
2026
2027         * text.C:
2028         * text2.C: small stuff
2029
2030
2031 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2032
2033         * text.C: (1) finish off the inset display() work;
2034         (2) fix the "is a bit silly" bug (accessing char
2035         past end of par).
2036
2037 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2038
2039         * text.C: re-introduce display() for insets, fixing the
2040         various bugs (stretch of line above, math inset
2041         positioning, ...)
2042
2043 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * text.C (rightMargin): remove spurious semicolon
2046
2047         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2048         1415)
2049
2050 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * text3.C: fix one crash due to wrong cursor def
2053
2054 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * vc-backend.C (scanMaster): make the regex static
2057
2058         * LaTeX.C (scanAuxFile): make the regexs static
2059
2060         * text3.C (doInsertInset, dispatch, dispatch):
2061         * text2.C (cursorUp, cursorDown):
2062         * text.C (selectNextWordToSpellcheck):
2063         * BufferView_pimpl.C (dispatch):
2064         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2065
2066 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2067
2068         * lyxsocket.C: include <cerrno>
2069
2070 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * lyxfunc.C (dispatch): remove textcache stuff
2073
2074         * bufferlist.C (release): remove textcache stuff
2075         (closeAll): ditto
2076
2077         * TextCache.C: delete file
2078         * TextCache.h: delete file
2079
2080         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2081
2082         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2083         delete of the bv_->text.
2084         (resizeCurrentBuffer): remove texcache stuff
2085         (workAreaResize): ditto
2086
2087 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2090         action.
2091
2092 2003-10-16  André Pönitz  <poenitz@gmx.net>
2093
2094         * lyxrow.[Ch]:
2095         * paragraph.h:
2096         * rowpainter.C:
2097         * text.C:
2098         * text2.C:
2099         * text3.C: speed up by storing y positions per paragraph plus per-row
2100         offset instead of having a 'full' y position in the row.
2101
2102 2003-10-15  André Pönitz  <poenitz@gmx.net>
2103
2104         * iterators.[Ch]:
2105         * iterators.[Ch]:
2106         * undo.[Ch]: make undo aware of inner insets
2107
2108 2003-10-14  Angus Leeming  <leeming@lyx.org>
2109
2110         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2111         static member functions LyX::ref() and LyX::cref.
2112         (lastfiles): new accessor functions for the new lastfiles_ member var.
2113         (addLyXView, views_): add a new LyXView to the list of views_.
2114         (updateInset): loop over all LyXViews to call their own updateInset
2115         member function, returning a pointer to the Buffer owning the inset.
2116
2117         * BufferView_pimpl.C (loadLyXFile):
2118         * MenuBackend.C (expandLastfiles):
2119         * bufferlist.C (MenuWrite, QuitLyX):
2120         lastfiles is no longer a global variable.
2121         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2122
2123         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2124         static function. Access through LyX::cref().emergencyCleanup().
2125
2126 2003-10-14  André Pönitz  <poenitz@gmx.net>
2127
2128         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2129
2130         * undo.[Ch]: restoring part of 'undo in insets'
2131
2132         * Makefile.am:
2133         * undo_funcs.[Ch]: merge with undo.[Ch]
2134
2135         * tabular.C: small cleansing stuff
2136
2137 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2138
2139         * paragraph_funcs.C (readParToken): report unknown insets as error
2140         boxes. Use the outer paragraph as location (also for unknown
2141         tokens).
2142
2143         * factory.C (readInset): do not abort on reading an unknown inset.
2144         Eat it and return 0.
2145
2146 2003-10-13  Angus Leeming  <leeming@lyx.org>
2147
2148         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2149
2150         * lyxrc.C: displayTranslator is now a function,
2151         declared in GraphicsTypes.h.
2152
2153 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2154
2155         * format.C: new placeholder $$a to pass the socket address.
2156
2157         * bufferlist.[Ch]: new function getBufferFromTmp.
2158
2159         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2160           files in the temporary dir.
2161
2162 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2163
2164         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2165
2166         * Makefile.am: add lyxsocket.[Ch].
2167
2168         * lyx_main.C (error_handler): handle SIGPIPE.
2169
2170 2003-10-13  André Pönitz  <poenitz@gmx.net>
2171
2172         * BufferView_pimpl.C:
2173         * lyxtext.h:
2174         * text.C:
2175         * text2.C:
2176         * text3.C:
2177         * undo_funcs.[Ch]: use paroffset_type instead of
2178           ParagraphList::iterators to prevent multiple conversion
2179           (and get a more robust interface)
2180
2181 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2182
2183         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2184         * lyxtext.h: ditto
2185         * text3.C (dispatch): ditto
2186
2187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2190         move the onlyfile, use onlyfile instead of foundfile in a couple
2191         of places.
2192
2193         * DepTable.C (update): flush the error stream a bit more
2194
2195 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2196
2197         * lyxserver.C (callback): adjust
2198
2199         * lyxfunc.C (getStatus): add a missing brace in commented code
2200         (ensureBufferClean): reindent
2201         (dispatch): delete version taking a string
2202
2203 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2204
2205         * LaTeX.C (deplog): move found file handlig from here...
2206         (handleFoundFile): .. to new function here.
2207         (deplog): make sure to discover several files mentioned on the
2208         same log line.
2209
2210 2003-10-10  André Pönitz  <poenitz@gmx.net>
2211
2212         * lyxfunc.C:
2213         * lyxtext.h:
2214         * tabular.C:
2215         * text.C:
2216         * text2.C:
2217         * text3.C: fix some of the tabular crashes
2218
2219 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2220
2221         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2222
2223         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2224
2225 2003-10-09  André Pönitz  <poenitz@gmx.net>
2226
2227         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2228
2229         * BufferView.C:
2230         * BufferView_pimpl.C:
2231         * bufferview_funcs.C:
2232         * lyx_cb.C:
2233         * lyxcursor.C:
2234         * lyxfind.C:
2235         * lyxfunc.C:
2236         * lyxtext.h:
2237         * text.C:
2238         * text2.C:
2239         * text3.C:
2240         * text_funcs.[Ch]:
2241         * textcursor.[Ch]:
2242         * undo_funcs.C: adjust
2243
2244 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * text2.C (incrementItemDepth): new function, use a backtracking
2247         algorithm to discover the correct item depth.
2248         (resetEnumCounterIfNeeded): new function, use a backtracking
2249         algorithm to discover if counter reset is needed.
2250         (setCounter): use them. Simplify a bit. Add different labels for
2251         different item depths for itemize.
2252
2253         * paragraph.C (Paragraph): remove initialization of enumdepth
2254         (operator=): ditto
2255
2256         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2257         enumerate and itemize. Change the type of itemdepth to signed char.
2258
2259 2003-10-08  André Pönitz  <poenitz@gmx.net>
2260
2261         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2262           thing assignable.
2263         * text.C:
2264         * text2.C: adjust
2265
2266         * tabular.[Ch]: fix crash after 'row-insert'
2267
2268 2003-10-08  Angus Leeming  <leeming@lyx.org>
2269
2270         Fix doxygen warnings.
2271
2272         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2273         Remove CutAndPaste:: prefix from header file declaration.
2274
2275         * LColor.h (fill): remove LColor:: prefix from declaration.
2276
2277         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2278         use lyx::depth_type rather than Paragraph::depth_type so that
2279         header file and .C file match.
2280
2281         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2282
2283         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2284         * aspell.C: \file aspell_local.C -> \file aspell.C
2285         * gettext.C: \file gettext.C -> \file src/gettext.C
2286         * gettext.h: \file gettext.h -> \file src/gettext.h
2287         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2288         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2289         * text.C: \file text.C -> \file src/text.C
2290
2291         * toc.C: move comment so that doxygen is not confused.
2292
2293 2003-10-07  Angus Leeming  <leeming@lyx.org>
2294
2295         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2296
2297 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2298
2299         * aspell.C:
2300         * aspell_local.h: add forgotten std::string's.
2301
2302 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2303
2304         * LaTeXFeatures.C:
2305         * LyXAction.C:
2306         * factory.C:
2307         * lfuns.h:
2308         * lyxfunc.C:
2309         * text3.C: The Box patch. Fancybox support, minipage, parbox
2310
2311 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2312
2313         * CutAndPaste.h:
2314         * DepTable.h:
2315         * FloatList.h:
2316         * LaTeXFeatures.h:
2317         * ParagraphParameters.h:
2318         * TextCache.h:
2319         * Thesaurus.h:
2320         * bufferlist.h:
2321         * exporter.h:
2322         * importer.h:
2323         * lastfiles.h:
2324         * lyxfind.h:
2325         * lyxfont.h:
2326         * lyxlex.h:
2327         * lyxtextclasslist.h:
2328         * messages.h:
2329         * paragraph.h:
2330         * paragraph_pimpl.C:
2331         * textcursor.h: add <string> and other small fixes to make Lars'
2332         std::string patch compile with STLport.
2333
2334 2003-10-06  Angus Leeming  <leeming@lyx.org>
2335
2336         * LColor.h: Add missing #include <string>.
2337
2338 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2339
2340         * All most all file in all subdirs: Make <string> be the prefered
2341         way of getting to std::string, add using declarations.
2342
2343 2003-10-06  André Pönitz  <poenitz@gmx.net>
2344
2345         * metricsinfo.C: initialize LyXFont before changing attribute.
2346         (fixes the 'math in \emph is upright' bug)
2347
2348 2003-10-06  André Pönitz  <poenitz@gmx.net>
2349
2350         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2351
2352 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2353
2354         * graph.C:
2355         * paragraph_pimpl.C: Small fixes to build using STLport
2356
2357 2003-10-02  André Pönitz  <poenitz@gmx.net>
2358
2359         * lyxfunc.C:
2360         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2361
2362 2003-10-01  André Pönitz  <poenitz@gmx.net>
2363
2364         * factory.C: assert early
2365
2366 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2367
2368         * lyx_main.C: remove the global debug object
2369
2370         * debug.h: adjust for new debugstream
2371
2372         * debug.C: adjust for new debugstream and keep the global debug
2373         object here.
2374
2375 2003-09-22  Angus Leeming  <leeming@lyx.org>
2376
2377         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2378         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2379         an incomplete class LyXFont.
2380
2381 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2382
2383         * factory.C: bug fix in branches
2384
2385 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * lyxfunc.C (processKeySym): adjust
2388         (dispatch): adjust
2389         (dispatch): change arg name from ev to func, adjust
2390         (sendDispatchMessage): ditto
2391
2392         * lyx_main.C (defaultKeyBindings): adjust keybindings
2393         (deadKeyBindings): ditto
2394
2395         * kbsequence.C (addkey): return a FuncRequest
2396
2397         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2398
2399         * kbmap.C (bind): take a FuncRequest as arg, adjust
2400         (read): adjust
2401         (lookup): adjust
2402         (defkey): change to take a FuncRequest as arg, adjust
2403         (findbinding): take a FuncRequest as arg, adjust.
2404
2405         * funcrequest.h (operator=): added
2406
2407         * funcrequest.C (FuncRequest): default kb_action changed from
2408         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2409
2410         * buffer.C (dispatch): simplify
2411         (dispatch): adjust to take a FuncRequest as arg, adjust
2412
2413         * boost.C (assertion_failed): change assertion message slightly
2414
2415         * ToolbarBackend.C (read): simplify
2416
2417         * MenuBackend.C (binding): adjust call to findbinding, add a
2418         message if no binding is found.
2419         (read): simplify
2420         (expandToc): correct by adding a empty FuncRequest
2421
2422         * LyXAction.C: include <boost/assert.hpp>
2423         (isPseudoAction): delete function
2424         (LookupFunc): change name to...
2425         (lookupFunc): this. change return type to FuncRequest.
2426         (getActionName): take kb_action as arg, simplify
2427         (funcHasFlag): add an assert, simplify.
2428
2429 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * toc.C (action): return a FuncRequest, simplify
2432
2433         * lyxfunc.C (processKeySym): adjust
2434         (getStatus): delete version that takes an int.
2435         (getStatus): adjust
2436         (dispatch): delete version that takes action as int
2437         (dispatch): adjust
2438         (sendDispatchMessage): simplify and adjust
2439
2440         * funcrequest.C (getArg): take unsigned int as arg
2441
2442         * ToolbarBackend.C (read): adjust
2443         (add): delete version that takes func as a string.
2444         (getIton): take a FuncRequest as arg
2445
2446         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2447         action.
2448
2449         * MenuBackend.C (MenuItem): add a new construct that only takes a
2450         Kind, simplify the constructor use for submenus.
2451         (add): adjust
2452         (expandLastfiles): adjust
2453         (expandDocuments): adjust
2454         (expandFormats): adjust
2455         (expandFloatListInsert): adjust
2456         (expandFloatInsert): adjust
2457         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2458
2459         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2460         Remove class variables lyx_pseudo_map and lyx_arg_map
2461
2462         * LyXAction.C (searchActionArg): delete function
2463         (getPseudoAction): delete function
2464         (retrieveActionArg): delete function
2465         (LookupFunc): make it return kb_action, simplify.
2466         (getActionName): simplify
2467
2468         * factory.C (createInset): fix new bug
2469
2470 2003-09-19  Angus Leeming  <leeming@lyx.org>
2471
2472         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2473         masterFilename_ parameter in the include inset.
2474
2475         * factory.C (createInset): changes due to the changes to InsetInclude.
2476
2477 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2478
2479         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2480
2481 2003-09-18  Angus Leeming  <leeming@lyx.org>
2482
2483         * buffer.C:
2484         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2485         Inset::fillWithBibKeys.
2486         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2487
2488 2003-09-18  Angus Leeming  <leeming@lyx.org>
2489
2490         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2491         variables.
2492         (ctor): pass and store a 'Buffer const &'
2493         (buffer): new member function.
2494
2495         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2496         '*this' to the LaTeXFeatures ctor.
2497
2498 2003-09-18  Angus Leeming  <leeming@lyx.org>
2499
2500         * LColor.h:
2501         * lyxfont.C:
2502         * lyxfont.h:
2503         * lyxtext.h:
2504         * text.C: rename EnumLColor as LColor_color.
2505
2506 2003-09-18  Angus Leeming  <leeming@lyx.org>
2507
2508         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2509         remove #include "insets/insetbase.h" from cursor.h.
2510
2511 2003-09-18  Angus Leeming  <leeming@lyx.org>
2512
2513         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2514         InsetOld_code to remove #include "inset.h".
2515
2516         * iterators.C: add #include "insets/inset.h"
2517
2518 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2519
2520         * BufferView.C: remove more locking stuff that apparently doesn't
2521         do anything sensible.
2522
2523 2003-09-16  André Pönitz  <poenitz@gmx.net>
2524
2525         * paragraph.[Ch]:
2526         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2527           performance boost.
2528
2529 2003-09-16  Angus Leeming  <leeming@lyx.org>
2530
2531         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2532
2533         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2534         arg/return type.
2535
2536         * paragraph.h: remove #include "lyxfont.h". Forward declare
2537         LyXFont_size.
2538
2539 2003-09-16  Angus Leeming  <leeming@lyx.org>
2540
2541         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2542         of support/textutils.h.
2543         (isWord): move the contents of support/textutils.h's IsWordChar here.
2544
2545         * buffer.C:
2546         * lyxfind.C:
2547         * rowpainter.C:
2548         * text.C:
2549         * text2.C: add #include "paragraph.h".
2550
2551         * rowpainter.C:
2552         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2553
2554 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * main.C:
2557         * lyx_main.C:
2558         * lyx_cb.C:
2559         * buffer.C:
2560         * LaTeX.C: use namespace alias for lyx::support::os
2561
2562 2003-09-16  Angus Leeming  <leeming@lyx.org>
2563
2564         * bufferparams.C:
2565         * bufferview_funcs.C:
2566         * factory.C:
2567         * lyxfunc.C:
2568         * paragraph_pimpl.C:
2569         * rowpainter.C:
2570         * text.C: add #include "LColor.h".
2571
2572 2003-09-16  Angus Leeming  <leeming@lyx.org>
2573
2574         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2575         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2576         return LyXFont &.
2577         Store the FontBits::color variable as an int rather than as an
2578         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2579         file.
2580
2581         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2582         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2583         string calls together.
2584
2585         * lyxrc.C: add #include "LColor.h".
2586
2587 2003-09-15  Angus Leeming  <leeming@lyx.org>
2588
2589         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2590         a cow_ptr.
2591
2592 2003-09-15  Angus Leeming  <leeming@lyx.org>
2593
2594         * LColor.h: add an EnumLColor wrapper for LColor::color.
2595
2596         * lyxfont.[Ch] (color, setColor, realColor):
2597         * lyxtext.h, text.C (backgroundColor):
2598         pass EnumLColor args to/from the functions, rather than LColor::color
2599         ones.
2600
2601         * lyxfont.h:
2602         * lyxtext.h: forward declare EnumLColor.
2603
2604         * lyx_main.C: add #include "LColor.h".
2605
2606 2003-09-15  Angus Leeming  <leeming@lyx.org>
2607
2608         * .cvsignore: add lyx-gtk.
2609
2610 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * Chktex.C
2613         * LaTeX.C
2614         * LaTeXFeatures.C
2615         * ParagraphParameters.C
2616         * Spacing.C
2617         * buffer.C
2618         * bufferparams.C
2619         * bufferview_funcs.C
2620         * chset.C
2621         * counters.C
2622         * funcrequest.C
2623         * lyxfont.C
2624         * lyxgluelength.C
2625         * lyxlength.C
2626         * paragraph.C
2627         * paragraph_funcs.C
2628         * text3.C
2629         * vc-backend.C: remove usage of STRCONV
2630
2631 2003-09-15  Angus Leeming  <leeming@lyx.org>
2632
2633         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2634         explicitly define the color passed to the painter.
2635
2636 2003-09-15  Angus Leeming  <leeming@lyx.org>
2637
2638         * bufferparams.C (BufferParams): reorder member initializers to avoid
2639         compiler warning.
2640
2641 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2644         * text.C (updateRowPositions): remove an unusual nop
2645
2646 2003-09-12  André Pönitz  <poenitz@gmx.net>
2647
2648         * BufferView_pimpl.C:
2649         * Bullet.C:
2650         * layout.h:
2651         * lyxfunc.C:
2652         * lyxlayout.[Ch]:
2653         * lyxtextclass.C:
2654         * rowpainter.C:
2655         * text.C:
2656         * text2.C:
2657         * Counters.[Ch]: finish the 'automatic counters' job
2658
2659 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2660
2661         * aspell.C: include <boost/assert.cpp> (compile fix)
2662
2663 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2664
2665         * boost.C (assertion_failed): use lyx::support::abort instead of
2666         assert.
2667
2668 2003-09-10  Angus Leeming  <leeming@lyx.org>
2669
2670         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2671         with their _fwd progeny.
2672
2673 2003-09-09  Angus Leeming  <leeming@lyx.org>
2674
2675         134 files throughtout the source tree: replace 'using namespace abc;'
2676         directives with the appropriate 'using abc::xyz;' declarations.
2677
2678 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2679
2680         * boost.C (emergencyCleanup): moved here from LAssert.c
2681         (assertion_failed): new function, called by BOOST_ASSERT
2682
2683         * several files: change Assert to BOOST_ASSERT
2684
2685 2003-09-09  Angus Leeming  <leeming@lyx.org>
2686
2687         * buffer.[Ch]: Add an Impl class and move Buffer's member
2688         variables into it. As a result move several header files out of
2689         buffer.h.
2690
2691         Add header files to lots of .C files all over the tree as a result.
2692
2693 2003-09-09  Angus Leeming  <leeming@lyx.org>
2694
2695         * buffer.[Ch]: make Buffer's member variables private. Add
2696         accessor functions.
2697
2698         Lots of changes all over the tree as a result.
2699
2700 2003-09-08  Angus Leeming  <leeming@lyx.org>
2701
2702         * graph.C: #include <config.h>.
2703
2704 2003-09-08  Angus Leeming  <leeming@lyx.org>
2705
2706         * BranchList.C:
2707         * BufferView.C:
2708         * BufferView_pimpl.C:
2709         * CutAndPaste.C:
2710         * DepTable.C:
2711         * LaTeX.C:
2712         * LaTeXFeatures.C:
2713         * LyXAction.C:
2714         * MenuBackend.C:
2715         * TextCache.C:
2716         * aspell.C:
2717         * buffer.C:
2718         * bufferlist.C:
2719         * changes.C:
2720         * chset.C:
2721         * converter.C:
2722         * counters.C:
2723         * debug.C:
2724         * graph.C:
2725         * ispell.C:
2726         * lyx_cb.C:
2727         * lyxfind.C:
2728         * lyxfunc.C:
2729         * lyxlex_pimpl.C:
2730         * lyxrc.C:
2731         * lyxrow.C:
2732         * paragraph.C:
2733         * rowpainter.C:
2734         * texrow.C:
2735         * text.C:
2736         * text2.C:
2737         * toc.C: remove redundant using directives.
2738
2739 2003-09-07  Angus Leeming  <leeming@lyx.org>
2740
2741         * LaTeXFeatures.h: remove #include "support/types.h".
2742         * ToolbarBackend.h: remove #include <algorithm>.
2743         * changes.h: remove #include <ctime>.
2744         * debug.h: remove #include <iosfwd>.
2745         * graph.h: remove #include "support/std_string.h".
2746         * lyx_main.h: remove #include <csignal>.
2747         * lyxlex_pimpl.h: remove #include <fstream>.
2748         * sgml.h: remove #include <algorithm>, <utility>.
2749         * toc.h: remove #include "support/std_ostream.h".
2750         Add #include <iosfwd>.
2751
2752 2003-09-07  Angus Leeming  <leeming@lyx.org>
2753
2754         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2755
2756         * converter.h: forward declare LatexRunParams.
2757         * encoding.h: remove #include "lyxrc.h".
2758         * lyxtext.h: remove #include "LColor.h".
2759         * lyxtextclass.h: remove #include "support/types.h".
2760         * trans.h: remove #include "tex-accent.h".
2761         * trans_mgr.h: remove #include "tex-accent.h".
2762         * insets/inset.h: remove #include "support/types.h", <vector>.
2763         * insets/insetcollapsable.h: remove #include "LColor.h".
2764         * insets/insetinclude.h: remove #include "dimension.h".
2765         * insets/insetlatexaccent.h: remove #include "dimension.h".
2766         * insets/insetoptarg.h:: remove #include "insettext.h".
2767         * insets/insettext.h: remove #include "dimension.h",
2768         <boost/shared_ptr.hpp>
2769
2770         * insets/renderers.h: add #include "dimension.h".
2771         * insets/updatableinset.h: add #include "support/types.h".
2772
2773         * many .C files: Associated changes.
2774
2775 2003-09-06  Angus Leeming  <leeming@lyx.org>
2776
2777         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2778         one, inside testInvariant.
2779
2780         * PrinterParams.C: new file.
2781         * PrinterParams.[Ch]: move the function bodies out of line.
2782
2783 2003-09-06  Angus Leeming  <leeming@lyx.org>
2784
2785         * ParagraphParameters.h: forward declare ParameterStruct rather than
2786         including its header file.
2787         (depth): moved out-of-line.
2788
2789 2003-09-06  Angus Leeming  <leeming@lyx.org>
2790
2791         * BufferView_pimpl.h:
2792         * kbmap.h:
2793         * kbsequence.h:
2794         * lyxfunc.h: forward declare LyXKeySym rather than
2795         #include "frontends/LyXKeySym.h".
2796
2797         * BufferView_pimpl.C:
2798         * kbmap.C:
2799         * kbsequence.C:
2800         * lyxfunc.C: associated changes.
2801
2802 2003-09-06  Angus Leeming  <leeming@lyx.org>
2803
2804         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2805         As a result, can remove the #include "insets/inset.h" from BufferView.h
2806
2807 2003-09-06  Angus Leeming  <leeming@lyx.org>
2808
2809         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2810         As a result, can remove the #include "insets/inset.h" from BufferView.h
2811
2812 2003-09-06  Angus Leeming  <leeming@lyx.org>
2813
2814         * buffer_funcs.C:
2815         * buffer.h:
2816         * bufferlist.C:
2817         * BufferView.C:
2818         * bufferview_funcs.C:
2819         * BufferView_pimpl.C:
2820         * CutAndPaste.C:
2821         * lyx_cb.C:
2822         * lyxfunc.C:
2823         * paragraph.h:
2824         * ParagraphParameters.C:
2825         * tabular.C:
2826         * text3.C:
2827         * toc.C:
2828         * undo_funcs.C:
2829         * frontends/controllers/ControlDocument.C:
2830         * insets/insetcaption.C: rearrange the #includes into some sort of
2831         coherent order.
2832
2833         * buffer.h: remove #includes ErrorList.h, undo.h
2834
2835 2003-09-06  Angus Leeming  <leeming@lyx.org>
2836
2837         * support/types.h: add a 'depth_type' typedef, used to store the
2838         nesting depth of a paragraph.
2839
2840         * paragraph.h:
2841         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2842         defining explicitly.
2843
2844         * buffer.h:
2845         * paragraph_funcs.h:
2846         * ParagraphParameters.h:
2847         * sgml.h: use lyx::depth_type rather than Paragraph or
2848         ParameterStruct's depth_type.
2849
2850         * buffer.h
2851         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2852
2853         * BufferView.C:
2854         * BufferView_pimpl.C:
2855         * CutAndPaste.C:
2856         * ParagraphParameters.C:
2857         * buffer_funcs.C:
2858         * bufferlist.C:
2859         * bufferview_funcs.C:
2860         * lyx_cb.C:
2861         * lyxfunc.C:
2862         * tabular.C:
2863         * text3.C:
2864         * toc.C:
2865         * undo_funcs.C:
2866         * frontends/LyXView.C:
2867         * frontends/controllers/ControlDocument.C:
2868         * frontends/controllers/ControlErrorList.C:
2869         * insets/insetbibitem.C:
2870         * insets/insetbranch.C:
2871         * insets/insetcaption.C:
2872         * insets/insetcollapsable.C:
2873         * insets/insetenv.C:
2874         * insets/insetert.C:
2875         * insets/insetfloat.C:
2876         * insets/insetfoot.C:
2877         * insets/insetfootlike.C:
2878         * insets/insetnewline.C:
2879         * insets/insetquotes.C:
2880         * insets/insettabular.C:
2881         * insets/insettext.C:
2882         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2883
2884         * frontends/controllers/ControlChanges.C: #include "changes.h".
2885
2886 2003-09-06  Angus Leeming  <leeming@lyx.org>
2887
2888         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2889         than #including paragraph.h.
2890
2891         * ParagraphList.h:
2892         * RowList.h: deleted. Superfluous.
2893
2894         * CutAndPaste.h:
2895         * iterators.h:
2896         * lyxcursor.h:
2897         * lyxtext.h:
2898         * text_funcs.h:
2899         * undo.h:
2900         * undo_funcs.h:
2901         * insets/inset.h:
2902         * insets/insettext.h: use ParagraphList_fwd.h rather than
2903         ParagraphList.h.
2904
2905         * paragraph.h: don't forward declare ParagraphList.
2906
2907         * buffer.h:
2908         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2909         rather than ParagraphList.h. paragraph.h is still needed for the
2910         Paragraph::depth_type parameters.
2911
2912         * textcursor.h: enable it to compile stand-alone in light of the
2913         above changes.
2914
2915         * bufferview_funcs.C:
2916         * iterators.C:
2917         * lyxfunc.C:
2918         * lyxrow_funcs.C:
2919         * paragraph.C:
2920         * rowpainter.C:
2921         * text.C:
2922         * text2.C:
2923         * text3.C:
2924         * text_funcs.C:
2925         * textcursor.C:
2926         * undo.C:
2927         * frontends/controllers/ControlParagraph.C:
2928         * frontends/controllers/ControlTabular.C:
2929         * insets/insetmarginal.C:
2930         * insets/insetminipage.C:
2931         * insets/insetnote.C:
2932         * insets/insetoptarg.C: add header files needed to compile again.
2933
2934 2003-09-06  Angus Leeming  <leeming@lyx.org>
2935
2936         * RowList_fwd.h: new file, forward-declaring Row rather than
2937         #including lyxrow.h.
2938
2939         * lyxrow_funcs.h:
2940         * lyxtext.h:
2941         * paragraph.h:
2942         * insets/insettext.h: use it instead of RowList.h
2943
2944         * bufferview_funcs.C:
2945         * lyxfunc.C:
2946         * lyxrow_funcs.C:
2947         * paragraph.C:
2948         * rowpainter.C:
2949         * text.C:
2950         * text2.C:
2951         * text3.C: #include "RowList.h".
2952
2953 2003-09-05  Angus Leeming  <leeming@lyx.org>
2954
2955         * factory.C (createInset):
2956         * vspace.C (c-tor): replace sscanf call with an istringstream.
2957         * ispell.C: re-add missing HP/UX headers.
2958         * lyxserver.C: re-add missing  os2 headers.
2959
2960 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2961
2962         * BranchList.C:
2963         * graph.C:
2964         * ispell.C:
2965         * lastfiles.C:
2966         * lyx_cb.C:
2967         * lyxserver.C:
2968         * texrow.C:
2969         * text3.C: re-add missing system headers, needed for 2.95.2.
2970
2971 2003-09-05  Angus Leeming  <leeming@lyx.org>
2972
2973         Changes most place everywhere due to the removal of using directives
2974         from support/std_sstream.h.
2975
2976 2003-09-05  Angus Leeming  <leeming@lyx.org>
2977
2978         Replace LString.h with support/std_string.h,
2979         Lsstream.h with support/std_sstream.h,
2980         support/LIstream.h with support/std_istream.h,
2981         support/LOstream.h with support/std_ostream.h.
2982
2983         Changes resulting throughout the tree.
2984
2985 2003-09-05  Angus Leeming  <leeming@lyx.org>
2986
2987         * sgml.h: ensure that the header file can be compiled stand-alone.
2988         * *.C: strip out redundant #includes. (320 in total.)
2989
2990 2003-09-04  Angus Leeming  <leeming@lyx.org>
2991
2992         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2993         here (from getPackages).
2994
2995         * debug.[Ch]: add a new EXTERNAL tag.
2996
2997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2998
2999         * text2.C (cursorEnd): simplify
3000         (setCursor): adjust
3001         (getColumnNearX): adjust
3002
3003         * text.C (computeBidiTables): adjust
3004         (fill): adjust
3005
3006         * rowpainter.C (paintChars): adjust
3007         (paintSelection): adjust
3008         (paintChangeBar): adjust
3009         (paintText): adjust
3010
3011         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3012         lastPos instead.
3013         (numberOfSeparators): adjust
3014
3015 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * LyXAction.C:
3018         * box.[Ch]:
3019         * lfuns.h:
3020         * lyxfunc.C:
3021         * text3.C: Restricts the mouse click functionality
3022         of insets like bibtex, include, toc and floatlist to the visible
3023         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3024         up the dialogs. Cursor has to be in front of the inset (i.e.
3025         start of row) for this to function.
3026
3027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3028
3029         * bufferview_funcs.C (currentState): output row information
3030
3031 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3032
3033         * bufferview_funcs.C (currentState): output paragraph position
3034
3035 2003-09-04  Angus Leeming  <leeming@lyx.org>
3036
3037         * FloatList.h: move out #include "Floating.h".
3038         * LaTeX.h: move out #include "DepTable.h".
3039         * LyXAction.h: move out #include "funcrequest.h".
3040         * buffer.h: move out #include "author.h", "iterators.h".
3041         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3042         * lyx_main.h: move out #include "errorlist.h".
3043         * lyxfunc.h: move out #include "FuncStatus.h".
3044         * lyxtext: move out #include "lyxcursor.h".
3045         * paragraph_pimpl.h: move out #include "counters.h".
3046
3047 2003-09-03  Angus Leeming  <leeming@lyx.org>
3048
3049         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3050         preamble_snippets list, enabling us to add snippets to the preamble
3051         only if the snippet was not there already.
3052
3053 2003-09-04  Angus Leeming  <leeming@lyx.org>
3054
3055         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3056
3057 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3060         update
3061
3062 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3063
3064         * BranchList.C: point fix, earlier forgotten
3065
3066 2003-09-02  Angus Leeming  <leeming@lyx.org>
3067
3068         * box.C (contains): renamed from 'contained' after a fantastic
3069         amount of hot air.
3070
3071 2003-09-02  John Levon  <levon@movementarian.org>
3072
3073         * BufferView.C:
3074         * lyxcursor.h:
3075         * lyxcursor.C:
3076         * lyxfunc.C:
3077         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3078
3079 2003-09-02  John Levon  <levon@movementarian.org>
3080
3081         * text2.C: simplification of cursorEnd(), including partial
3082         fix for bug 1376
3083
3084 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * buffer.C (readFile): add a space
3087
3088 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3089
3090         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3091
3092 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * buffer.C (readFile): new function, take a filename and a
3095         ParagraphList::iterator
3096         (readFile): adjust
3097         (readFile): adjust, make it private. don't use setStream, make
3098         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3099         always contain the filename.
3100
3101         * BufferView.C (insertLyXFile): simplify and make it work for
3102         gzipped files.
3103
3104 2003-08-30  John Levon  <levon@movementarian.org>
3105
3106         * Makefile.am: fix dist (from Kayvan)
3107
3108 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * most files: change to use const Buffer refs
3111
3112 2003-08-27  André Pönitz  <poenitz@gmx.net>
3113
3114         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3115         on top of ownerPar().
3116
3117 2003-08-27  John Levon  <levon@movementarian.org>
3118
3119         * funcrequest.C: properly initialise POD members
3120
3121 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3122
3123         * lyxtext.h (top_y): move top_y from here
3124         * text.C:
3125         * text2.C:
3126         * text3.C:
3127         * BufferView.[Ch]:
3128         * BufferView_pimpl.[Ch]: to here
3129         * frontends/screen.C:
3130         * insets/insettabular.C:
3131         * insets/insettext.C: adjust
3132         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3133
3134 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3135
3136         * BufferView.[Ch]:
3137         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3138
3139 2003-08-26  André Pönitz  <poenitz@gmx.net>
3140
3141         * paragraph_func.[Ch] (outerPar): new function
3142
3143         * paragraph.C:
3144         * paragraph_funcs.C:
3145         * paragraph_funcs.h:
3146         * paragraph_pimpl.C:
3147         * text2.C: remove Inset::par_owner
3148
3149 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3150
3151         * lyxrow_funcs.C:
3152         * lyxtext.h:
3153         * text.C:
3154         * text2.C: eliminates the needFullRow/display() stuff
3155         altogether, putting the logic in metrics/draw in the insets.
3156
3157 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * text2.C (redoParagraphInternal, redoParagraphs):
3160         * text.C (redoParagraph): add a call to updateRowPositions at the
3161         end of each 'metrics-like' call. Remove all others.
3162         (getRow): remove the 'y-computing' version.
3163         (getRowNearY): do not compute nor return the real y. Solve the
3164         'y < 0' problem and simplify.
3165
3166 2003-08-22  Angus Leeming  <leeming@lyx.org>
3167
3168         * *.[Ch]: clean-up of licence and author blurbs.
3169         Also move config.h out of a few .h files and into a few .C files.
3170
3171 2003-08-22  André Pönitz  <poenitz@gmx.net>
3172
3173         * lyxrow.[Ch]: add x_ and *fill_ members
3174
3175         * lyxtext.h:
3176         * text.C:
3177         * rowpainter.C:
3178         * text2.C: adjust/remove prepareToPrint() calls
3179
3180 2003-08-22  André Pönitz  <poenitz@gmx.net>
3181
3182         * lyxrow.[Ch]: add  end_ member
3183
3184         * lyxrow_funcs.C: use LyXRow::end_
3185
3186         * lyxtext.h (singleWidth): add LyXFont parameter
3187
3188         * rowpainter.C:
3189         * text2.C: adjust LyXText::singleWidth() calls
3190
3191         * text.C (redoParagraph): simplify row breaking logic
3192
3193
3194 2003-08-19  André Pönitz  <poenitz@gmx.net>
3195
3196         * funcrequest.C: initialize button_ member
3197
3198         * text3.C:
3199         * rowpainter.[Ch]: interface consolidation
3200
3201 2003-08-18  André Pönitz  <poenitz@gmx.net>
3202
3203         * BufferView.C:
3204         * BufferView_pimpl.C:
3205         * lyxfind.C:
3206         * paragraph_funcs.C:
3207         * rowpainter.C:
3208         * text3.C: remove LyXScreen::draw() and fitCursor calls
3209
3210         * BranchList.h: remove spurious semicolons
3211
3212         * MenuBackend.C: fix branchlist related crash
3213
3214 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3215
3216         * BranchList.[Ch]:
3217         * InsetList.[Ch]:
3218         * LColor.[Ch]:
3219         * LyXAction.C:
3220         * Makefile.am:
3221         * MenuBackend.[Ch]:
3222         * bufferparams.[Ch]:
3223         * factory.C:
3224         * lfuns.h:
3225         * lyxfunc.C:
3226         * text3.C: implements the 'branch inset'
3227         idea. This allows the output of various versions of a document
3228         from a single source version, selectively outputing or suppressing
3229         output of parts of the text.
3230         This implementation contains a 'branch list editor' in a separate
3231         tab of the document settings dialog. Branches are user definable
3232         and have a "display colour" to distinguish them on-screen.
3233
3234         ColorHandler was somewhat cleaned up.
3235         (1) make possible a dynamically growing LColor list by allowing
3236         the graphic context cache to grow along (vector);
3237         (2) eliminate an IMHO unnecessary step in colour allocation.
3238
3239 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3240
3241         * BufferView_pimpl.C: compile fix
3242
3243 2003-08-15  André Pönitz  <poenitz@gmx.net>
3244
3245         * rowpainter.C: remove extra metrics calls
3246
3247         * lyxtext.h: merge the two constructors into a single one,
3248           pass reference to owner's par list
3249
3250         * BufferView_pimpl.C:
3251         * text.C:
3252         * text2.C: adjust
3253
3254 2003-08-15  André Pönitz  <poenitz@gmx.net>
3255
3256         * lyxrow_funcs.[Ch]:
3257         * lyxtext.h:
3258         * paragraph.h:
3259         * paragraph_funcs.C:
3260         * rowpainter.C:
3261         * text.C:
3262         * text2.C:
3263         * text3.C:
3264         * text_funcs.C: split LyXText::rowlist_ into individual
3265         Paragraph::rows_ chunks
3266
3267         * BufferView.[Ch]:
3268         * BufferView_pimpl.[Ch]:
3269         * lyxfind.C:
3270         * lyxtext.h:
3271         * text3.C: remove toggleSelection()
3272
3273 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3274
3275         * bufferlist.C: beautify two alerts (shorter text of buttons)
3276         * buffer.C: Remove redundant ' ' from message
3277         * tabular.h:
3278         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3279         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3280         rename VALIGN_CENTER to VALIGN_MIDDLE
3281
3282 2003-08-11  André Pönitz  <poenitz@gmx.net>
3283
3284         * lyxtext.h (getPar):
3285         * text.C: new function
3286
3287 2003-08-11  André Pönitz  <poenitz@gmx.net>
3288
3289         * Makefile.am:
3290         * tracer.[Ch]: remove unneeded files
3291
3292         * InsetList.[Ch]: remove resizeInsetsLyXText()
3293
3294         * lyxtext.h:
3295         * text.C:
3296         * text2.C:
3297         * text3.C: merge insertParagraphs() and appendParagraph()
3298         remove breakAgain(), update()
3299
3300         * BufferView_pimpl.[Ch]:
3301         * bufferview_funcs.[Ch]:
3302         * lyxfunc.C:
3303         * paragraph.[Ch]:
3304         * rowpainter.C:
3305         * tabular.C: adjust after text & InsetList changes.
3306
3307 2003-08-08  André Pönitz  <poenitz@gmx.net>
3308
3309         * text.C (insertChar, backspace): replace rowlist fiddling
3310         with rebreak of full par
3311
3312         * lyxtext.h:
3313         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3314         checkParagraph, updateInset): removed
3315
3316 2003-08-07  André Pönitz  <poenitz@gmx.net>
3317
3318         * paragraph.C:
3319         * text3.C: merge some LFUN handlers, remove dead code
3320
3321 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3322
3323         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3324
3325 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3326
3327         * text2.C (DEPM): fix part of bug 1255 and 1256
3328
3329 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3330
3331         * BufferView_pimpl.C (workAreaDispatch): change to use
3332         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3333         that are no mouse related.
3334
3335 2003-08-05  André Pönitz  <poenitz@gmx.net>
3336
3337         * BufferView.[Ch]:
3338         * BufferView_pimpl.[Ch]:
3339         * bufferview_funcs.C:
3340         * text2.C:
3341         * text3.C: rip out "deep update"
3342
3343         * textcursor.[Ch] (last_sel_cursor): remove unused member
3344
3345 2003-08-04  André Pönitz  <poenitz@gmx.net>
3346
3347         * BufferView.[Ch]:
3348         * BufferView_pimpl.[Ch]:
3349         * ParagraphParameters.C:
3350         * bufferview_funcs.C:
3351         * lyx_cb.C:
3352         * lyxfind.C:
3353         * lyxfunc.C:
3354         * text.C:
3355         * text2.C:
3356         * text3.C: replace "complicated" BufferView::update(...) calls with
3357         simpler ones.
3358
3359         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3360
3361 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3362
3363         * Makefile.am (lyx_SOURCES): add paper.h
3364
3365 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3366
3367         * Makefile.am: move things around so that both lyx-qt and
3368         lyx-xforms can be built (according to --with-frontend). Then lyx
3369         is a symbolic link to lyx-[firstfrontend]
3370
3371 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3372
3373         * Always use std::endl with lyxerr
3374
3375 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3376
3377         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3378
3379 2003-08-01  André Pönitz  <poenitz@gmx.net>
3380
3381         * BufferView.[Ch]:
3382         * BufferView_pimpl.[Ch]:
3383         * lyxfunc.C:
3384         * text3.C: merge BufferView::repaint() and BufferView::update()
3385
3386 2003-08-01  José Matos  <jamatos@lyx.org>
3387
3388         * buffer.[Ch]: file_format is no longer a buffer data element.
3389
3390 2003-08-01  André Pönitz  <poenitz@gmx.net>
3391
3392         * BufferView.C:
3393         * lyxtext.h:
3394         * text.C:
3395         * text2.C: make redoParagraph more independent of current cursor
3396
3397         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3398         * text.C:
3399         * text2.C: remove unneeded members
3400
3401 2003-07-30  André Pönitz  <poenitz@gmx.net>
3402
3403         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3404
3405         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3406           create a single function...
3407
3408         * paragraph_funcs.C (moveItem): ... here.
3409
3410         * text.C:
3411           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3412
3413 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3414
3415         * LColor.[Ch]: Add comment and greyedout logical colors.
3416
3417 2003-07-30  André Pönitz  <poenitz@gmx.net>
3418
3419         * tabular.C: don't use Assert too heavily. This crashes where it
3420           shouldn't
3421
3422 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3423
3424         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3425         is disabled (bug 1232)
3426
3427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3428
3429         * factory.C: limited 'arg' scope
3430
3431 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3432
3433         * factory.C: fixed Note submenu issues
3434
3435 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * factory.C: submenu for Note/Comment/Greyedout
3438
3439 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3440
3441         * lyx_main.C (LyX):
3442         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3443
3444 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3445
3446         * LaTeXFeatures.C:
3447         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3448         greyedout. Patch provided by Jürgen Spitzmüller.
3449
3450 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3451
3452         * kbmap.C (read): fix error message when reading bind files
3453
3454 2003-07-29  Angus Leeming  <leeming@lyx.org>
3455
3456         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3457         certainly does not do what it purports to do. I am doing it, and
3458         us, a favour by killing it.
3459
3460 2003-07-28  José Matos  <jamatos@lyx.org>
3461
3462         * buffer.C (readBody, do_writeFile):
3463         * paragraph.C(readParagraph): \end_document replaces \the_end.
3464
3465 2003-07-29  André Pönitz  <poenitz@gmx.net>
3466
3467         * BufferView.[Ch]:
3468         * BufferView_pimpl.[Ch]:
3469         * lyxfunc.C:
3470         * text2.C:
3471         * text3.C:
3472         * textcursor.[Ch]: remove toggleToggle & Co
3473
3474 2003-07-28  José Matos  <jamatos@fep.up.pt>
3475
3476         * buffer.C (readParagraph):
3477         * params_func (readParToken, readParagraph):
3478         * paragraph.C (write): \layout -> \begin_layout.
3479
3480 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * lyxlex_pimpl.C (setFile): clean up slightly.
3483
3484         * bufferparams.h: add compressed var
3485
3486         * buffer_funcs.C (readFile): adjust for LyXLex change
3487         (newFile): ditto + simplify
3488
3489         * buffer.C (writeFile): handle writing of compressed files
3490
3491         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3492         Check if the file is compressed and set a bufferparm if so.
3493
3494         * Makefile.am (lyx_LDADD): remove explicit -lz
3495
3496 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3497
3498         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3499         makeDocBookFile): put the real LyX version in the first line of
3500         the file
3501
3502         * version.h:
3503         * version.C.in: remove lyx_docversion
3504
3505         * tabular.C (write_attribute): add a template-based version to
3506         write enums properly
3507
3508 2003-07-28  André Pönitz  <poenitz@gmx.net>
3509
3510         * lyxtext.h:
3511         * text.C:
3512         * text2.C:
3513         * text3.C: use doubles again for x-coordinates. They are needed.
3514
3515 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * messages.C (getLocaleDir): use lyx_localedir()
3518
3519         * lyxlex_pimpl.C (setFile): compress stuff
3520
3521         * buffer.C (writeFile): add some compression stuff
3522         (do_writeFile): new func, dont call expliti close... will this
3523         breake anything?
3524
3525         * Makefile.am (lyx_LDADD): add -lz
3526
3527 2003-07-28  José Matos  <jamatos@fep.up.pt>
3528
3529         * buffer.C: increment file format.
3530         * paragraph_funcs (readParagraph, readParToken):
3531         * paragraph.C (readParagraph): add \end_layout.
3532
3533 2003-07-27  Angus Leeming  <leeming@lyx.org>
3534
3535         * Makefile.am: remove special casing for configure-time setting of
3536         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3537
3538         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3539         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3540
3541 2003-07-26  André Pönitz  <poenitz@gmx.net>
3542
3543         * paragraph_func.[Ch]:
3544         * paragraph.C (realizeFont): inline it whereever it is used
3545
3546         * rowpainter.C:
3547         * text.C:
3548         * text2.C:
3549         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3550
3551
3552 2003-07-26  André Pönitz  <poenitz@gmx.net>
3553
3554         *       lyxtext.h:
3555         * text.C:
3556         * text2.C: get rid of LyXText::need_break_row
3557
3558 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * toc.[Ch]: put namespace toc inside namespace lyx
3561
3562         * MenuBackend.C (expandToc2): adjust for lyx::toc
3563         (expandToc): ditto
3564
3565         * lyxfunc.C (dispatch): adjust for lyx::find
3566
3567         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3568         lyx::find instead. Reorganize a bit.
3569         (LyXReplace): rename to replace
3570         (LyXFind): rename to find
3571
3572         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3573         (dispatch): ditto
3574
3575 2003-07-26  André Pönitz  <poenitz@gmx.net>
3576
3577         * text.C (setHeightOfRow): restrict scope of temporary variable
3578
3579         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3580           code (never has been used?)
3581
3582 2003-07-27  Asger Alstrup  <alstrup@local>
3583
3584         * text.C (fill): Optimise algorithm to exploit that we can reuse
3585         the LyXFont for many characters.
3586         (setHeightOfRow): Same thing.
3587         (rowBreakPoint): Same thing.
3588
3589 2003-07-26  Asger Alstrup  <alstrup@local>
3590
3591         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3592
3593         * text.C (singleWidth): Spurious font copying in hot-spot
3594         singleWidth avoided. Reorder tests for arabic for efficiency.
3595
3596         * text.C (fill): handle empty paragraphs better.
3597
3598 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3599
3600         * ispell.C:
3601         * encoding.h: add includes
3602
3603         * lyxrc.C: remove reading of bind files
3604
3605         * lyx_main.C (init): setup bindings and menus only if we have a
3606         gui.
3607
3608         * kbmap.C (read): new method. Do the actual reading of bind
3609         files.
3610
3611         * converter.C (dvipdfm_options):
3612         * bufferparams.C:
3613         * lyxrc.C (read):
3614         (output): adapt PAPER_* enums.
3615
3616         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3617
3618         * bufferparams.h: remove paper-related enums from there
3619
3620         * paper.h: New file. A trivial header file to hold paper-related
3621         enums. It should later expand to contain many paper-related
3622         horrors access.
3623
3624         * lyxrc.C: declare extern displayTranslator
3625
3626 2003-07-27  José Matos  <jamatos@fep.up.pt>
3627
3628         * tabular.[Ch] (linuxdoc): add support for tables and figures
3629         (linuxdoc).
3630
3631 2003-07-27  José Matos  <jamatos@fep.up.pt>
3632
3633         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3634         consistency in both functions.
3635         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3636
3637 2003-07-26  Asger Alstrup  <alstrup@local>
3638
3639         * rowpainter.C (paintRows): Change algorithm to work directly on
3640         the insets rather than asking every character in the document
3641         whether its an inset.
3642
3643 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3644
3645         * buffer.C (openFileWrite): factorize some code
3646
3647 2003-07-26  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyx_cb.C:
3650         * lyx_main.[Ch]: replace occurances of system_tempdir with
3651         os::getTmpDir().
3652
3653 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * rename Inset to InsetOld
3656
3657 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3658
3659         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3660         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3661         which I think is a bit clearer. EDIT is gone, since it was
3662         premature optimisation, and broken for mathed anyway.
3663         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3664         with cursor positioning in insets as well (math insets still do not
3665         work, but that's a different story anyway.) It mysteriously
3666         crashes sometimes with undo in the first paragraph, but I'm fairly
3667         confident that this is a compiler bug.
3668
3669 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * paragraph.C (Paragraph): adjust for new clone return type
3672         (operator==): ditto
3673         (copyIntoMinibuffer): ditto
3674
3675 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3676
3677         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3678         by not having a special case, and always doing a full rebreak of
3679         the document after undo.
3680
3681 2003-07-23  Angus Leeming  <leeming@lyx.org>
3682
3683         * factory.C (createInset): InsetExternal::setParams now takes a
3684         Buffer const * arg.
3685
3686 2003-07-23  Angus Leeming  <leeming@lyx.org>
3687
3688         * factory.C (createInset): changed interface to the external and
3689         graphics mailers' string2params functions.
3690
3691 2003-07-23  Angus Leeming  <leeming@lyx.org>
3692
3693         * factory.C (createInset): pass a
3694         Buffer const * parameter to InsetExternalMailer's string2params.
3695
3696 2003-07-22  John Levon  <levon@movementarian.org>
3697
3698         * Thesaurus.h: include the right aiksaurus header
3699
3700 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3701
3702         * MenuBackend.C (expand): check menu shortcuts unconditionally
3703
3704 2003-07-21  Angus Leeming  <leeming@lyx.org>
3705
3706         * factory.C (createInset): pass a
3707         buffer_path parameter to InsetGraphicsMailer's string2params.
3708
3709 2003-07-21  Angus Leeming  <leeming@lyx.org>
3710
3711         * BufferView_pimpl.C (buffer):
3712         * buffer.C (d-tor):
3713         * lyx_main.C (LyX):
3714         * lyxfunc.C (dispatch):
3715         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3716         rather than the grfx shortcut.
3717
3718 2003-07-21  André Pönitz  <poenitz@gmx.net>
3719
3720         * rowpainter.C: remove unused variables
3721
3722         * tabular_funcs.C:
3723         * tabular_funcs.h: move to tabular.C
3724         * Makefile.am: adjust
3725
3726         * tabular.[Ch]: basic optical cleaning
3727
3728         * author.h: pass references, not values
3729
3730 2003-07-18  André Pönitz  <poenitz@gmx.net>
3731
3732         * lyxtext.h:
3733         * metricsinfo.C:
3734         * metricsinfo.h:
3735         * rowpainter.C:
3736         * text.C:
3737         * text2.C:
3738         * text3.C: two-phase drawing for InsetText and InsetTabular
3739         some float -> int changes.
3740
3741 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * lyx_main.C: fix the fix
3744
3745 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3746
3747         * lyx_main.C: fix a crash in batch mode if no files specified
3748         * converter.C: ws
3749
3750 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * format.[Ch] (papersize): moved to BufferParams
3753         * converter.[Ch] (dvips_options): moved to BufferParams
3754         (dvipdfm_options): moved to anon namespace
3755         * bufferparams.[Ch]: added above functions.
3756
3757 2003-07-17  André Pönitz  <poenitz@gmx.net>
3758
3759         * lyxtext.h:
3760         * rowpainter.C:
3761         * text2.C: don't call inset->update() anymore
3762
3763         * metricsinfo.[Ch]: add convenience constructor
3764
3765 2003-07-16  André Pönitz  <poenitz@gmx.net>
3766
3767         * lyxcursor.[Ch]:
3768         * lyxfunc.[Ch]:
3769         * text.C:
3770         * text2.C: replace the LyXCursor::irow_ member with
3771          on-demand computation of the value
3772
3773 2003-07-16  John Levon  <levon@movementarian.org>
3774
3775         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3776
3777 2003-07-15  André Pönitz  <poenitz@gmx.net>
3778
3779         * text.C:
3780         * text2.C: remove no more needed refresh_row
3781
3782 2003-07-15  André Pönitz  <poenitz@gmx.net>
3783
3784         * lyxtext.h:
3785         * rowpainter.C:
3786         * text2.C:
3787         * text3.C: refresh_status tristate -> need_update bool
3788
3789 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * lyxtext.h (init): remove reinit argument (act as if always true)
3792         * text2.C: adjust to that
3793
3794 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3795
3796         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3797         * text3.C: use it to delete selections in some cases
3798         (bugs 441, 673, 702, 954).
3799
3800 2003-07-14  André Pönitz  <poenitz@gmx.net>
3801
3802         * rowpainter.[Ch]: reduce interface
3803
3804 2003-07-14  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView_pimpl.C:
3807         * text2.C: adjust after removing unused BufferView * argument
3808
3809 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * text2.C (init): fix a crash fired on resize
3812
3813 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * buffer.[Ch]: added new closing signal
3816         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3817         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3818         BufferView::Pimpl via the closing the signal
3819
3820 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * buffer.[Ch]: take out all bv-related from buffer
3823         * BufferView.C:
3824         * BufferView_pimpl.[Ch]: connect to new signals
3825         * CutAndPaste.C: removed useless asserts
3826         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3827         * lyxvc.[Ch]:
3828         * vc-backend.[Ch]:
3829         * lyxfunc.C: moved view-related funciontality from vc here
3830         * paragraph.C: removed outdated comments
3831         * text.C: ws
3832
3833 2003-07-10  André Pönitz  <poenitz@gmx.net>
3834
3835         * BufferView_pimpl.C:
3836         * tabular.h:
3837         * tabular_funcs.C:
3838         * text.C:
3839         * text2.C: remove InsetText::InnerCache, clean up consequences
3840
3841 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3842
3843         * ispell.C: fix two typos in error messages
3844
3845 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * Extend Note inset to other forms of annotation like Comment
3848         and Greyedout. Right button click gives dialog.
3849
3850         Files modified or added (+):
3851
3852         * insetnote.[Ch]
3853         * FormNote.[Ch]      +
3854         * ControlNote.[Ch]   +
3855         * form_note.fd       +
3856         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3857         frontends/controllers
3858         * xforms/Dialogs.C
3859         * factory.C
3860
3861 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3862
3863         * aspell.C: add missing namespace lyx::support
3864
3865 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * BufferView.[Ch] (newFile): Add
3868         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3869         * LaTeX.[Ch] (message): added this signal and use it
3870         * buffer.[Ch] (busy, message): added these signals and use them
3871         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3872         * converter.C:
3873         * exporter.C:
3874         * format.C:
3875         * importer.C: use buffer signals instead of direct bv calling
3876         * lyx_cb.[Ch] (ShowMessage): removed
3877         * lyx_main.C:
3878         * lyxfunc.C:
3879         * paragraph_funcs.C:
3880         * text2.C: use buffer signals
3881
3882 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * introduce namespace lyx::graphics
3885
3886 2003-07-02  André Pönitz  <poenitz@gmx.net>
3887
3888         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3889
3890 2003-07-01  André Pönitz  <poenitz@gmx.net>
3891
3892         * text.C:
3893         * text2.C:
3894         * text3.C:
3895         * text_funcs.[Ch]:
3896         * textcursor.h:
3897         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3898           text*.C to text_func.C
3899
3900 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * introduce namespace lyx::support
3903
3904 2003-06-30  André Pönitz  <poenitz@gmx.net>
3905
3906         * Chktex.C:
3907         * funcrequest.C:
3908         * lyxtext.h:
3909         * text.C: re-enable --with-included-string
3910
3911 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * textcursor.C: add <config.h>
3914
3915         * text.C (getWord): remove const from word_location arg
3916
3917         * lyxvc.C (getLogFile): fix const type order
3918
3919         * lyxtext.h: remove const from word_location arg, add arg name
3920
3921         * lyxlayout.h: currect type on labeltype.
3922
3923         * importer.C: correct \file
3924
3925         * converter.C (intToFormat): use std:: on ret val, ws changes
3926
3927         * bufferlist.h: correct \file
3928
3929         * buffer.C (makeLinuxDocFile): fix const type order
3930         (makeDocBookFile): ditto
3931         (fillWithBibKeys): use std:: on stdlib args.
3932
3933         * CutAndPaste.C: fix authors.
3934         (availableSelections): use std:: on return vector
3935
3936 2003-06-27  André Pönitz  <poenitz@gmx.net>
3937
3938         * BufferView_pimpl.C:
3939         * bufferview_funcs.C:
3940         * lyxcursor.C:
3941         * lyxcursor.h:
3942         * lyxfunc.C:
3943         * lyxtext.h:
3944         * rowpainter.C:
3945         * text.C:
3946         * text2.C:
3947         * text3.C: remove LyXCursor::row_ member
3948
3949         * lyxtext.h:
3950         * text.C: rename fullRebreak() to partialRebreak() and implement
3951           a fullRebreak() that really bereks fully
3952
3953         * textcursor.h: new struct for cursor-related data
3954
3955 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3956
3957         * lyx_main.C (LyX): get full path of document loaded on the
3958         command line
3959
3960 2003-06-26  André Pönitz  <poenitz@gmx.net>
3961
3962         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3963           remove unused/broken operator>,<,>=.
3964
3965         *       text.C: remove only use of broken operator<= in an Assert().
3966
3967 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3970         moved errorlist_.clear to showErrorList
3971
3972 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3973
3974         * converter.C (scanLog, runLaTeX):
3975         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3976         move the bv->showErrorList call to the callers
3977         * lyxfunc.C: i.e. here...
3978         * text2.C: and here
3979         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3980         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3981         namespace, the second to...
3982         * buffer_funcs (BufferFormat, parseErrors): added
3983         * errorlist.C (ErrorList(TeXErrors const &)): removed
3984
3985 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3986
3987         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3988
3989 2003-06-24  "Garst R. Reese" <reese@isn.net>
3990
3991         * debug.C: fix typo
3992
3993 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3994
3995         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3996
3997         * version.C.in: change docversion to 1.4
3998
3999 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * buffer.C: fix a bug just introduced
4002
4003 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * buffer.[Ch]: added the parseError signal and use it, removed
4006         sgmlError
4007         * BufferView.[Ch] (addError): moved to ...
4008         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4009         to the Buffer::parseError signal to catch (guess what) parse errors
4010         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4011
4012 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4013
4014         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4015         ability to create a buffer and to return an existing one from
4016         the list. Moved these functions to...
4017         * buffer_funcs.[Ch]: added
4018         * BufferView.[Ch] (loadLyXFile): added
4019         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4020         job removed from bufferlist::loadLyXFile.
4021         * buffer.C (setReadOnly): make it work without view
4022         (i.e added an if (users))
4023
4024 2003-06-19  Angus Leeming  <leeming@lyx.org>
4025
4026         * lfuns.h:
4027         * LyXAction.C (init):
4028         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4029         with LFUN_DIALOG_SHOW <name> <data>.
4030
4031 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4032
4033         * CutAndPaste.C (availableSelections): small compilation fix for
4034         ancient (gcc 2.9x) compilers
4035
4036 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * text3.C (cursorNext): add tmp var
4039
4040         * text2.C (updateCounters): for function calling out of for clause
4041         (replaceSelectionWithString): ditto
4042         (insertStringAsParagraphs): ditto
4043         (getColumnNearX): add tmp var
4044         (setCursorFromCoordinates): add tmp var
4045         (cursorDownParagraph): add tmp var
4046         (deleteEmptyParagraphMechanism): add tmp var
4047
4048         * text.C (insertChar): add tmp var
4049
4050         * rowpainter.C (paintDepthBar): add tmp var
4051
4052         * CutAndPaste.C (availableSelections): potentially check all
4053         paragraphs in a cut to fill the shown strings.
4054
4055 2003-06-18  André Pönitz  <poenitz@gmx.net>
4056
4057         * kbmap.[Ch]: use vector<> instead of list<>
4058
4059 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4060
4061         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4062         pasteSelection with index
4063
4064         * text2.C (pasteSelection): modify, call pasteSelection with index
4065
4066         * paragraph.C (asString): reimplement version with no interval to
4067         call the one with interval.
4068
4069         * lyxtext.h: add index arg to pasteSelection
4070
4071         * MenuBackend.C (MenuItem): handle PasteRecent
4072         (Menu::read::Menutags): add md_pasterecent
4073         (read): handle it
4074         (expandPasteRecent): new function
4075         (expand): use it
4076
4077         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4078
4079         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4080         the limited stack
4081         (availableSelections): new function
4082
4083 2003-06-17  Angus Leeming  <leeming@lyx.org>
4084
4085         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4086
4087 2003-06-17  Angus Leeming  <leeming@lyx.org>
4088
4089         * lfuns.h:
4090         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4091
4092         * lyxfunc.C (dispatch): invoke it.
4093
4094 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4095
4096         * iterators.C (operator++, ParPosition): reintroduce some
4097         const_cast for the benefit of older compilers.
4098
4099 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * text3.C (dispatch): do not modify clipboard when doing
4102         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4103         LFUN_DELETE_SKIP on a selection selection
4104
4105 2003-06-16  André Pönitz  <poenitz@gmx.net>
4106
4107         * BufferView.C:
4108         * buffer.C:
4109         * buffer.h:
4110         * paragraph.C:
4111         * tabular.[Ch]: IU of clone() and getLabelList();
4112
4113 2003-06-13  André Pönitz  <poenitz@gmx.net>
4114
4115         * tabular.h: compactification
4116
4117 2003-06-12  André Pönitz  <poenitz@gmx.net>
4118
4119         * tabular.C:
4120         * tabular.h:
4121         * tabular_funcs.h: some renaming plus whitespace
4122
4123 2003-06-12  André Pönitz  <poenitz@gmx.net>
4124
4125         * BufferView.C:
4126         * BufferView_pimpl.C:
4127         * CutAndPaste.C:
4128         * buffer.C:
4129         * iterators.[Ch]:
4130         * lyxfunc.C:
4131         * text.C:
4132         * toc.C: Return a Paragraph & for ParIterator::operator*()
4133
4134 2003-06-11  John Levon  <levon@movementarian.org>
4135
4136         * lyx_main.C:
4137         * ToolbarBackend.h:
4138         * ToolbarBackend.C: add "Toolbars" section and
4139         put the flags there
4140
4141 2003-06-10  Angus Leeming  <leeming@lyx.org>
4142
4143         * lfuns.h:
4144         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4145
4146         * lyxfunc.C (dispatch): invoke it.
4147
4148 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * main.C: protect <ios> with HAVE_IOS
4151         (main): protect sync_with_stdio with HAVE_IOS
4152
4153 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4154
4155         * text2.C (cutSelection): adjust
4156         (pasteSelection): adjust
4157
4158         * messages.C: handle get of empty string
4159
4160         * main.C (main): use sync_with_stdio(false)
4161
4162         * lyxfunc.C (dispatch): adjust
4163
4164         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4165         (WriteAs): remove unneeded BufferView arg.
4166
4167         * bufferparams.h: use correct types on papersize, papersize2 and
4168         paperpackage.
4169
4170         * bufferparams.C (readToken): adjust for type
4171         (writeLaTeX): add missing cases to switch.
4172
4173         * bufferlist.C (quitWriteBuffer): adjust
4174         (close): adjust
4175
4176         * buffer.C (asciiParagraph): remove some commented code.
4177
4178         * CutAndPaste.C: remove current_view extern variable.
4179         (cutSelection): add BufferParams arg.
4180         (eraseSelection): add BufferParams arg.
4181         (pasteSelection): add Buffer const & arg
4182
4183 2003-06-07  John Levon  <levon@movementarian.org>
4184
4185         * buffer.C:
4186         * paragraph_funcs.C:
4187         * paragraph_pimpl.C:
4188         * text.C:
4189         * text2.C:
4190         * paragraph.h:
4191         * paragraph.C: allow InsetERT to freely space lines,
4192         and some consolidation of code
4193
4194 2003-06-06  José Matos  <jamatos@fep.up.pt>
4195
4196         * buffer.C (makeDocBookFile): fix bug #821
4197
4198 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4201
4202 2003-06-04  Angus Leeming  <leeming@lyx.org>
4203
4204         * buffer.C: bump format to 224.
4205
4206 2003-06-05  André Pönitz  <poenitz@gmx.net>
4207
4208         * text2.C (redoParagraphs): remove two const_cast<>
4209
4210 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4211
4212         * ParagraphList.h: remove last remnants of NO_STD_LIST
4213
4214 2003-06-03  Angus Leeming  <leeming@lyx.org>
4215
4216         * factory.C (createInset): small change to the way InsetExternal's params
4217         are set.
4218
4219 2003-06-04  André Pönitz  <poenitz@gmx.net>
4220
4221         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4222
4223         * paragraph_pimpl.h:
4224         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4225
4226         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4227
4228         * undo_funcs.C: make some simple cases of undo work again
4229
4230 2003-06-03  John Levon  <levon@movementarian.org>
4231
4232         * ispell.C: HPUX doesn't have sys/select.h
4233         (from Albert Chin)
4234
4235 2003-06-03  John Levon  <levon@movementarian.org>
4236
4237         * CutAndPaste.C: update tabular and include inset
4238         buffer references
4239
4240         * buffer.h:
4241         * paragraph.h:
4242         * paragraph.C: remove owningBuffer(), don't pass Buffer
4243         to clone()
4244
4245         * factory.C: insetGraphicsParams changed
4246
4247 2003-06-02  John Levon  <levon@movementarian.org>
4248
4249         * LyXAction.C:
4250         * factory.C:
4251         * lfuns.h:
4252         * lyxfunc.C:
4253         * text3.C: remove insetparent
4254
4255 2003-06-02  John Levon  <levon@movementarian.org>
4256
4257         * buffer.h:
4258         * buffer.C: fix inset_iterator.end(), move out of line
4259         (bug 1149)
4260
4261 2003-06-01  John Levon  <levon@movementarian.org>
4262
4263         * text3.C: use a proper cut/paste when doing inset
4264         insert (from Jürgen Spitzmüller)
4265
4266 2003-06-01  John Levon  <levon@movementarian.org>
4267
4268         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4269
4270 2003-05-30  André Pönitz  <poenitz@gmx.net>
4271
4272         * rowpainter.C: unify second drawing phase
4273
4274 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * trans_mgr.C: remove one case of current_view
4277
4278         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4279
4280         * paragraph_funcs.h: remove paragraph.h include
4281
4282         * paragraph.h: delete NO_STD_LIST stuff
4283
4284         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4285
4286         * buffer.h: remove paragraph.h include
4287
4288         * ParagraphList.C: delete file
4289
4290         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4291
4292         * toc.C (getTocList): adjust
4293
4294         * paragraph_pimpl.C (validate): adjust
4295
4296         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4297
4298         * paragraph.C (Paragraph): adjust
4299         (getPositionOfInset): use const_iterator, adjust
4300         (bibitem): use const_iterator, adjust
4301         (setInsetOwner): adjust
4302
4303         * iterators.C (operator++): adjust
4304
4305         * InsetList.[Ch]: Replace selfmade iterator with standard
4306         vector::iterator also introduce const_iterator. Remove getPos,
4307         getInset and setInset from InsetTable. Adjust accordingly.
4308
4309         * BufferView.C (lockInset): adjust
4310         (ChangeInsets): adjust
4311
4312         * tabular.[Ch]: delete commented same_id functions
4313
4314 2003-05-28  John Levon  <levon@movementarian.org>
4315
4316         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4317
4318 2003-05-28  André Pönitz  <poenitz@gmx.net>
4319
4320         * metricsinfo.[Ch]: remove 'fullredraw' member
4321
4322 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4323
4324         * lyxtextclass.C (operator): remove caching.
4325
4326 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * text3.C: adjust
4329
4330         * text2.C (cursorBottom): adjust
4331         (setCounter): use ParagraphList::find, adjust
4332
4333         * text.C (workWidth): use ParagraphList::find, adjust
4334
4335         * lyxcursor.C (LyXCursor): adjust
4336
4337         * buffer.C (inset_iterator): adjust
4338
4339         * ParagraphList.h: make iterator(value_type) private, make
4340         ParagraphList a friend of iterator.
4341
4342         * ParagraphList.C (find): new function
4343
4344         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4345
4346 2003-05-27  André Pönitz  <poenitz@gmx.net>
4347
4348         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4349
4350 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4351
4352         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4353
4354 2003-05-26  John Levon  <levon@movementarian.org>
4355
4356         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4357
4358 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * remove same_id from function signatures, adjust.
4361
4362 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4365
4366         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4367
4368         * paragraph.C (Paragraph): get rid of same_ids parameter
4369
4370         * ParagraphList.C (insert): adjust
4371         (push_back): adjust
4372
4373 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * paragraph_funcs.C (breakParagraph): adjust
4376         (breakParagraphConservative): adjust
4377
4378         * buffer.C (readParagraph): adjust
4379
4380         * ParagraphList.C (insert): take a reference instead of a pointer
4381         (insert): adjust
4382
4383         * paragraph.[Ch] (id): new function
4384
4385         * bufferlist.C (newFile): adjust
4386
4387         * ParagraphList.C (ParagraphList): adjust
4388         (assign): adjust
4389         (push_back): take a reference instead of a pointer.
4390
4391         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4392
4393         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4394         instead.
4395
4396         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4397         set else use old code.
4398
4399         * ParagraphList.C: remove all NO_NEXT code and only compile this
4400         code of NO_STD_LIST is set.
4401
4402 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4403
4404         * BufferView_pimpl.C:
4405         * TextCache.C:
4406         * TextCache.h:
4407         * bufferlist.C:
4408         * errorlist.h:
4409         * format.C:
4410         * format.h:
4411         * graph.C:
4412         * lyxfunc.C:
4413         * lyxrc.C:
4414         * graphics/GraphicsConverter.C:
4415         * graphics/PreviewLoader.C: header adjustment
4416
4417 2003-05-23  Angus Leeming  <leeming@lyx.org>
4418
4419         * LaTeXFeatures.[Ch] (useBabel): new method.
4420         * bufferparams.C (writeLaTeX): use it.
4421
4422 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * ParagraphList.h (set): remove unused function.
4425
4426 2003-05-23  André Pönitz  <poenitz@gmx.net>
4427
4428         * BufferView.C:
4429         * BufferView_pimpl.C:
4430         * buffer.C:
4431         * buffer.h:
4432         * lyxfunc.C:
4433         * undo_funcs.C: setUndo reworked
4434
4435         * iterators.[Ch]: add access to topmost ParagraphList
4436
4437         * lyxtext.[Ch] (workWidth): add a const
4438
4439 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * texrow.[Ch] (increasePos): remove function
4442         * exporter.C (export): removed unused var and outdated comment
4443
4444 2003-05-23  Angus Leeming  <leeming@lyx.org>
4445
4446         * latexrunparams.h: rename fragile as moving_arg.
4447         * paragraph.C (simpleTeXOnePar): ditto.
4448         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4449
4450 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4453         (createUndo): ditto
4454         (textUndoOrRedo): comment out a currently unused var.
4455
4456         * paragraph.h (NO_NEXT): enable NO_NEXT
4457
4458         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4459
4460         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4461
4462         * exporter.C (Export): adjust for removeAutoInsets removal.
4463
4464         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4465
4466         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4467
4468         * BufferView.[Ch] (removeAutoInsets): delete function
4469
4470 2003-05-22  Angus Leeming  <leeming@lyx.org>
4471
4472         * latexrunparams.h: add a free_spacing variable.
4473
4474         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4475         to pass moving_arg, as the data is stored in runparams.fragile.
4476
4477         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4478         to Inset::latexOptional or to simpleTeXOnePar.
4479
4480         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4481         free_spacing arg to Inset::latexOptional.
4482
4483         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4484         free_spacing arg.
4485
4486 2003-05-22  Angus Leeming  <leeming@lyx.org>
4487
4488         * latexrunparams.h: add fragile and use_babel variables.
4489
4490         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4491         * buffer.C (makeLaTeXFile): store this returned value in
4492         runparams.use_babel, thus passing it to the inset::latex methods.
4493
4494         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4495         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4496
4497         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4498         longer has a fragile arg, as it is stored in runparams.fragile.
4499
4500         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4501         moving_arg parameter as the data is stored in runparams.fragile.
4502
4503         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4504         a fragile parameter as the data is stored in runparams.fragile.
4505
4506 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4509
4510 2003-05-22  Angus Leeming  <leeming@lyx.org>
4511
4512         * latexrunparams.h: add a 'bool nice' which defaults to false.
4513
4514         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4515         now encapsulated within runparams.
4516
4517         * bufferlist.C (updateIncludedTeXfiles):
4518         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4519
4520 2003-05-22  Angus Leeming  <leeming@lyx.org>
4521
4522         * latexrunparams.h: new file containing struct LatexRunParams.
4523         * Makefile.am: add new file.
4524
4525         * LaTeX.[Ch] (c-tor, run):
4526         * buffer.[Ch] (makeLaTeXFile):
4527         * bufferlist.[Ch] (updateIncludedTeXfiles):
4528         * converter.C (convert, scanLog):
4529         * converter.[Ch] (runLaTeX):
4530         * exporter.C (Export):
4531         * paragraph.[Ch] (simpleTeXOnePar):
4532         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4533         * paragraph_funcs.[Ch] (latexParagraphs):
4534         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4535         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4536         pass around a LatexRunParams parameter.
4537
4538 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * paragraph.[Ch]: remove unused constructor
4541
4542         * ParagraphList.C (erase): new function, taking two iterators
4543
4544 2003-05-22  André Pönitz  <poenitz@gmx.net>
4545
4546         * undo_funcs.C: remove duplicated code
4547
4548         * iterator.[Ch]: operator=
4549
4550 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * tabular.C (SetMultiColumn): ws changes
4553
4554         * rowpainter.C (paintFirst): get rid of a ->previous
4555
4556         * lyx_cb.C (getPossibleLabel): parlist simplification
4557
4558         * BufferView.C (ChangeInsets): simplify slightly.
4559
4560 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4561
4562         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4563         * lfuns.h: new LFUN_SPACE
4564         * lyxfunc.C: protected space has a new lfun
4565         * paragraph_funcs.C: read new space insets
4566         * text3.C:
4567         * factory.C: handle new space insets
4568
4569 2003-05-22  André Pönitz  <poenitz@gmx.net>
4570
4571         * BufferView.C:
4572         * BufferView_pimpl.C:
4573         * buffer.[Ch]:
4574         * lyxfunc.C:
4575         * undo_funcs.C: return a ParIterator from getParFromID.
4576
4577         * iterators.[Ch]: add two const's
4578
4579 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * toc.C (getTocList): adjust
4582
4583         * iterators.[Ch]: rework for parlist
4584
4585         * buffer.C (par_iterator_begin): adjust
4586         (par_iterator_end): adjust
4587
4588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4589
4590         * BufferView.C (removeAutoInsets): adjust
4591         (ChangeInsets): adjust
4592
4593 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * text.C (top_y): fix bug 1110
4596
4597 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4598
4599         * errorlist.[Ch]: added
4600         * buffer.C:
4601         * BufferView.[Ch]:
4602         * BufferView_pimpl.C:
4603         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4604         instead
4605
4606 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * Makefile.am: ensure that lyx is relinked upon changes to the
4609         various "convenience" libs.
4610
4611 2003-05-20  Angus Leeming  <leeming@lyx.org>
4612
4613         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4614         files are compiled in alphabetical order again.
4615
4616         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4617
4618 2003-05-19  Angus Leeming  <leeming@lyx.org>
4619
4620         * gettext.[Ch]: remove "char const * _(char const *)".
4621
4622 2003-05-19  André Pönitz  <poenitz@gmx.net>
4623
4624         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4625
4626         * Makefile.am:
4627         * BufferView.C:
4628         * DepTable.h:
4629         * LaTeXFeatures.C:
4630         * buffer.C:
4631         * lyxfont.C:
4632         * lyxlex.h:
4633         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4634
4635 2003-05-19  André Pönitz  <poenitz@gmx.net>
4636
4637         * buffer.C:
4638         * lyxlayout.[Ch]:
4639         * lyxtextclass.[Ch]:
4640         * paragraph.C:
4641         * paragraph_funcs.[Ch]:
4642         * text2.C:
4643         * text3.C: more insetenv work
4644
4645 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4646
4647         * ParagraphParameters.C (params2string): small bug fixed
4648
4649 2003-05-16  André Pönitz  <poenitz@gmx.net>
4650
4651         * debug.C:
4652         * bufferview_funcs.C: patch from Kornel Benko to prevent
4653           crash when _(...) is called twice in a statement
4654
4655 2003-05-16  André Pönitz  <poenitz@gmx.net>
4656
4657         * BufferView.C:
4658         * lyxfunc.C:
4659         * text.C:
4660         * text2.C:
4661         * text3.C:
4662         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4663
4664 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * lyx_main.C (init): remove spurious static_cast
4667
4668 2003-05-14  André Pönitz  <poenitz@gmx.net>
4669
4670         * BufferView.C: fix format string
4671
4672 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4673
4674         * BufferView.[Ch] (insertErrors): removed
4675         * BufferView.[Ch] (showErrorList): added
4676         * buffer.C (runChkTeX):
4677         * converter.C (scanLog): call showErrorList instead of inserterrors
4678
4679 2003-05-13  André Pönitz  <poenitz@gmx.net>
4680
4681         * BufferView_pimpl.C:
4682         * buffer.C:
4683         * bufferview_func.C:
4684         * MenuBackend.C:
4685         * lyxfunc.C:
4686         * lyxrc.C:
4687         * tex-accent.C:
4688         * text3.C:
4689         * toc.C:
4690         * tabular_funcs.h: tostr() from its own header
4691
4692         * ParagraphParameters.C:
4693         * ToolbarBackend.C:
4694         * bufferparams.C:
4695         * format.C:
4696         * lyxlex_pimpl.C:
4697         * text3.C: STRCONV()
4698
4699 2003-05-12  André Pönitz  <poenitz@gmx.net>
4700
4701         * BufferView.C:
4702         * BufferView_pimpl.C:
4703         * CutAndPaste.C:
4704         * LaTeX.C:
4705         * LaTeXFeatures.C:
4706         * ParagraphParameters.C:
4707         * buffer.C:
4708         * bufferlist.C:
4709         * bufferparams.C:
4710         * bufferview_funcs.C:
4711         * converter.C:
4712         * counters.C:
4713         * debug.C:
4714         * exporter.C:
4715         * format.C:
4716         * importer.C:
4717         * lyx_cb.C:
4718         * lyx_main.C:
4719         * lyxfont.C:
4720         * lyxfunc.C:
4721         * lyxvc.C:
4722         * paragraph.C:
4723         * paragraph_funcs.C:
4724         * tabular.C:
4725         * tabular_funcs.C:
4726         * text2.C:
4727         * text3.C:  boost::format -> bformat  all over the place
4728
4729
4730 2003-05-09  André Pönitz  <poenitz@gmx.net>
4731
4732         * LColor.[Ch]: Pimpl the #include <map> away
4733
4734 2003-05-09  John Levon  <levon@movementarian.org>
4735
4736         * bufferlist.C: never remove emergency saves
4737
4738 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * Makefile.am: better lib building
4741
4742 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4745         instead.
4746         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4747         (simpleTeXSpecialChars): adjust
4748         (simpleTeXSpecialChars): adjust
4749         * paragraph.C (simpleTeXOnePar): adjust
4750         * buffer.C (makeLaTeXFile): adjust
4751
4752         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4753
4754         * text2.C (changeDepth): parlist cleanup
4755         (getColumnNearX): ditto
4756
4757         * rowpainter.C (getLabelFont): parlist cleanup
4758
4759         * bufferlist.C (newFile): parlist cleanup
4760
4761         * CutAndPaste.C (eraseSelection): parlist cleanup
4762
4763         * BufferView_pimpl.C (trackChanges): parlist cleanup
4764         (dispatch): ditto
4765
4766         * BufferView.C (lockInset): parlist cleanup.
4767         (ChangeInsets): ditto
4768
4769 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * CutAndPaste.h: Update file header.
4772
4773         * CutAndPaste.C: Update file header.
4774         Store the parts cut out of the Document in a limited_stack.
4775         (copySelection): adjust
4776         (pasteSelection): new function, takes the index in the limited stack.
4777         (nrOfParagraphs): adjust
4778         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4779         simplify error inset insertion.
4780         (checkPastePossible): adjust
4781
4782 2003-05-06  John Levon  <levon@movementarian.org>
4783
4784         * text2.C: don't cast wrap inset to float
4785
4786 2003-05-05  André Pönitz  <poenitz@gmx.net>
4787
4788         * iterator.C:
4789         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4790
4791         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4792           few naked Paragraph *.
4793
4794 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4795
4796         * bufferparams.C: Output warning if a document with missing
4797         TeX document class is loaded
4798         * exporter.C: Disable TeX exports if the document class is missing
4799         * lyxtextclass.C:
4800         * lyxtextclass.h:
4801         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4802         isTeXClassAvailable()
4803
4804 2003-05-03  John Levon  <levon@movementarian.org>
4805
4806         * BufferView.h:
4807         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4808         explicit cursor show/hide
4809
4810         * BufferView_pimpl.h:
4811         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4812         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4813
4814         * lyxfunc.C: hide cursor before dispatching.
4815
4816         * lyx_cb.C:
4817         * lyxfind.C:
4818         * text.C:
4819         * text3.C: remove explicit cursor hides
4820
4821 2003-05-02  André Pönitz  <poenitz@gmx.net>
4822
4823         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4824
4825         * undo_funcs.C:
4826         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4827           linked lists
4828
4829         * text2.C: tiny whitespace
4830
4831 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * undo_funcs.C: almost only ws changes.
4834
4835         * ParagraphList.C (splice): just return if pl is empty.
4836
4837 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * ParagraphList.C (splice): new function.
4840
4841         * CutAndPaste.C (pasteSelection): use it
4842
4843 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * CutAndPaste.C (pasteSelection): remove the last next and
4846         previous from this file.
4847
4848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * CutAndPaste.C (pasteSelection): more clean up, user proper
4851         ParagraphList functions for pasteing.
4852
4853         * ParagraphList.C (insert): new function, three arg insert
4854
4855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * ParagraphList.C (insert): new function, three arg insert
4858
4859         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4860         not on paragraphs.
4861
4862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4865
4866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4869
4870 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4871
4872         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4873         (copySelection): clean up a bit.
4874         (pasteSelection): use make_pair
4875
4876         * ParagraphList.C (ParagraphList): implement copy constructor
4877         (operator=): implement, base on copy constructor.
4878         (assign): new func
4879
4880         * paragraph.C (erase): return a bool
4881
4882         * paragraph_pimpl.C (erasePos): remove function, move contents...
4883         (erase): ... here. Return a bool.
4884         (erase): call erase instead of erasePos.
4885
4886 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4887
4888         * ParagraphList.h: define PitPosPair
4889         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4890         ParagraphList, fix a bug on pasting multiple pars
4891         * text2.C: change interface to C&P
4892
4893 2003-04-30  André Pönitz  <poenitz@gmx.net>
4894
4895         * undo_func.C: revert part of yesterday's patch 2
4896
4897 2003-04-30  John Levon  <levon@movementarian.org>
4898
4899         * LColor.C: s/tabular/table/
4900
4901 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * text3.C (dispatch): do not convert iterator -> pointer
4904         * undo_funcs.C (setCursorParUndo): ditto
4905         * text_funcs.C (transposeChars): ditto
4906
4907         * text2.C (setLayout): ws changes only
4908
4909         * text.C (breakParagraph): do not convert iterator -> pointer
4910         (insertChar): ditto
4911         (acceptChange): ditto
4912         (rejectChange): ditto
4913         (changeCase): ditto
4914         (Delete): ditto
4915         (backspace): ditto
4916
4917         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4918         pointer
4919
4920 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * text3.C (gotoInset): YABG (yet another bad getChar)
4923
4924 2003-04-29  André Pönitz  <poenitz@gmx.net>
4925
4926         * paragraph.h: make operator= private unimplemented as long as
4927           it is unusable
4928
4929         * ParagraphList.C: whitespace
4930
4931         * paragraph.[Ch]:
4932         * paragraph_pimpl.[Ch]:
4933         * paragraph_funcs.C:
4934         * CutAndPaste.C:
4935         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4936
4937         * text2.C:
4938           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4939
4940 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4943         * paragraph.[Ch] (erase):
4944         * paragraph_pimpl.[Ch] (erase): change return type and value
4945         * text2.C (cutSelection): some rework
4946
4947 2003-04-28  John Levon  <levon@movementarian.org>
4948
4949         * bufferlist.C: changes for unsaved changes dialog
4950
4951 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * bufferlist.C (newFile): set language (messages_) for new
4954         documents also.
4955
4956         * buffer.C (readFile): ws changes only.
4957
4958 2003-04-28  André Pönitz  <poenitz@gmx.net>
4959
4960         * undo_funcs.C:
4961         * lyxfunc.C:
4962         * buffer.[Ch]:
4963         * BufferView_pimpl.C:
4964         * BufferView.C: getParFromID related ParagraphList::iterator changes
4965
4966 2003-04-28  André Pönitz  <poenitz@gmx.net>
4967
4968         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4969           Changes
4970
4971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * messages.C: remove one more localedir class variable.
4974
4975 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * messages.C (getLocaleDir): singleton generation function
4978         (Pimpl): use it.
4979         (Messages): add a default constructor.
4980
4981         * main.C (main): do not setup localedir here, do not call
4982         gettext_init.
4983
4984         * gettext.C (_): use it.
4985         (gettext_init): delete funciton
4986
4987 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * gettext.C (getLyXMessages): new singleton generating function.
4990
4991         * buffer.C (updateDocLang): adjust
4992
4993         * Makefile.am (messages.o): add target
4994         (main.o): remove target
4995
4996 2003-04-27  John Levon  <levon@movementarian.org>
4997
4998         * bufferlist.C:
4999         * lyx_cb.C:
5000         * lyxfunc.C:
5001         * lyxvc.C: specify cancel button in Alert::prompt
5002
5003 2003-04-26  John Levon  <levon@movementarian.org>
5004
5005         * text3.C:
5006         * lyxfunc.C:
5007         * lfuns.h:
5008         * LyXAction.C: add LFUN_INSET_SETTINGS
5009
5010         * lyxfunc.C: don't enable tabular-feature when there's
5011         just any locking inset
5012
5013 2003-04-26  John Levon  <levon@movementarian.org>
5014
5015         * bufferlist.C: re-add Cancel to buffer close question
5016
5017         * lyxfunc.C: fix import UI a bit
5018
5019 2003-04-25  John Levon  <levon@movementarian.org>
5020
5021         * gettext.C: remove the broken asserts for now
5022
5023 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * messages.C: make case where setlocale cannot comply work better.
5026
5027         * buffer.C (updateDocLang): new function
5028         (changeLanguage): use it
5029         (readFile): use it
5030
5031         * text2.C (setCounter): use B_ a bit.
5032
5033         * lyxlayout.C (Read): be sure to trim the label strings.
5034
5035         * messages.C (Messages): fix typo in comment
5036
5037         * buffer.C (readFile): set message_ after file is loaded.
5038         (makeDocBookFile): remove double return
5039         (changeLanguage): reset message_ upon language change.
5040         (B_): new func, use this to get translated buffer strings.
5041
5042         * main.C: add myself and Jean Marc as authors.
5043
5044 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * messages.[hC]: pimplify Messages, and three different pimpls to be
5047         used in different circumstances.
5048
5049         * gettext.[Ch]: change for use with new message code.
5050
5051 2003-04-24 André Pönitz <poenitz@gmx.net>
5052
5053         * factory.C: support for eqref
5054
5055 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * messages.[Ch]: add missing char
5058
5059         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5060
5061         * messages.[Ch]: New files
5062
5063 2003-04-18  John Levon  <levon@movementarian.org>
5064
5065         * BufferView.h:
5066         * BufferView.C:
5067         * BufferView_pimpl.C:
5068         * lfuns.h:
5069         * LyXAction.C:
5070         * lyxtext.h:
5071         * text2.C: remove layout-copy/paste (bug 778)
5072
5073 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5076
5077 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5080         if they succeed. Act accordingly.
5081
5082 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * text2.C (setCharFont): adjust
5085         (setCounter): adjust
5086         (insertStringAsLines): adjust
5087
5088         * text.C (leftMargin): adjust
5089         (setHeightOfRow): adjust
5090
5091         * rowpainter.C (paintFirst): adjust
5092         (paintLast): adjust
5093
5094         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5095         (outerHook): ditto
5096         (isFirstInSequence): ditto
5097         (getEndLabel): ditto
5098         (outerFont): adjust
5099
5100         * paragraph.C (getParLanguage): comment out some hard stuff.
5101
5102         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5103         (sgmlError): ditto
5104         (simpleDocBookOnePar): ditto
5105         (makeDocBookFile): use ParagraphList::iterator
5106
5107         * CutAndPaste.C (pasteSelection): adjust
5108
5109 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * text2.C (getFont): adjust
5112         (getLayoutFont): adjust
5113         (getLabelFont): adjust
5114
5115         * paragraph_funcs.C (TeXOnePar): adjust
5116
5117         * buffer.C (simpleLinuxDocOnePar): adjust
5118         (simpleDocBookOnePar): adjust
5119
5120         * CutAndPaste.C (pasteSelection): adjust
5121
5122         * BufferView.C (getEncoding): adjust
5123
5124         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5125
5126 2003-04-16  John Levon  <levon@movementarian.org>
5127
5128         * lyxfind.C: use parlist stuff for search/changes
5129
5130 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5133
5134         * text2.C (deleteEmptyParagraphMechanism): adjust
5135
5136         * text2.[Ch] (ownerParagraph): delete func (both of them
5137
5138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5141
5142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * ParagraphList.C: prepare for NO_NEXT
5145
5146 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text2.C (getFont): adjust
5149         (getLayoutFont): adjust
5150         (getLabelFont): adjust
5151
5152         * paragraph.C (getFont): adjust
5153         (getLabelFont): adjust
5154         (getLayoutFont): adjust
5155
5156         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5157
5158 2003-04-15  John Levon  <levon@movementarian.org>
5159
5160         From Angus Leeming
5161
5162         * lyx_main.C: handle Include in .ui files
5163
5164 2003-04-15  John Levon  <levon@movementarian.org>
5165
5166         * MenuBackend.C: make the doc files length shorter
5167
5168         * ToolbarBackend.h:
5169         * ToolbarBackend.C: handle toolbar placement flags,
5170         Minibuffer
5171
5172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5175         adjust
5176
5177         * paragraph_funcs.C (TeXOnePar): adjust
5178
5179         * paragraph.C (getLabelFont): add outerfont arg, adjust
5180         (getLayoutFont): ditto
5181         (simpleTeXOnePar): adjust
5182
5183         * paragraph_pimpl.C (realizeFont): delete func
5184
5185 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5188         row argument, constify cur argument.
5189
5190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5191
5192         * text2.C (getFont): adjust
5193         (getLayoutFont): adjust
5194         (getLabelFont): adjust
5195
5196         * paragraph_funcs.C (TeXOnePar): adjust
5197         (outerFont): new func...
5198         (realizeFont): ...moved out from here, changed this to facilitate
5199         transition
5200
5201         * paragraph.C (getFont): take outerfont as arg, adjust
5202         (simpleTeXOnePar): add outerfont arg, adjust
5203
5204         * buffer.C (simpleLinuxDocOnePar): adjust
5205         (simpleDocBookOnePar): adjust
5206
5207         * CutAndPaste.C (pasteSelection): adjust
5208
5209         * BufferView.C (getEncoding): adjust
5210
5211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text2.C (setCharFont): adjust
5214         (setCounter): adjust
5215
5216         * text.C (leftMargin): adjust
5217         (setHeightOfRow): adjust
5218
5219         * rowpainter.C (paintFirst): adjust
5220         (paintLast): adjust
5221
5222         * paragraph_pimpl.C (realizeFont): adjust
5223
5224         * paragraph.C (isFirstInSequence): move from here...
5225         * paragraph_funcs.C (isFirstInSequence): ...to here
5226
5227         * paragraph.C (outerHook): move from here...
5228         * paragraph_funcs.C (outerHook): ...to here
5229
5230         * paragraph.C (depthHook): move from here...
5231         * paragraph_funcs.C (depthHook): ...to here
5232
5233         * paragraph.C (getEndLabel): move from here...
5234         * paragraph_funcs.C (getEndLabel): ...to here
5235
5236         * text2.C (realizeFont): move from here...
5237         * paragraph_funcs.C (realizeFont): ...to here
5238
5239 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5242
5243 2003-04-14  Angus Leeming  <leeming@lyx.org>
5244
5245         * LColor.[Ch]: scrap LColor mathcursor.
5246
5247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * lyxlex.[Ch] (text): delete function
5250         * trans.C (Load): adjust
5251         * paragraph_funcs.C (readParToken): adjust
5252
5253 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5256         vector<char> instead of a char[].
5257
5258         * lyxlex_pimpl.C (getString): adjust
5259         (next): adjust
5260         (lex): use getString
5261         (eatLine): adjust
5262         (nextToken): adjust
5263
5264         * lyxlex.C (text): use pimpl_->getString()
5265         (getBool): ditto
5266         (findToken): ditto
5267
5268 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5271         (makeFontEntriesLayoutSpecific): temp var for par.size()
5272         (setLayout): temp var for ownerParagraphs().end()
5273         (fullRebreak): temp var for rows().end()
5274         (selectionAsString): temp var for boost::next(startpit), realize
5275         that the while really is a regular for loop.
5276         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5277         setCursor in one place.
5278         (setParagraph): temp vr for ownerParagraphs().end()
5279         (updateCounters): make the while loop a for loop
5280         (cutSelection): temp var for ownerParagraphs().end()
5281         (updateInset): make the do {} while() a regular for loop
5282         (getCursorX): use temp vars
5283         (setCurrentFont): use temp vars
5284         (getColumnNearX): use temp vars
5285
5286 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * text.C (transformChar): use temp var for getChar
5289         (computeBidiTables): use temp var for row->par()
5290         (fill): move temp vars for row->par() and pit->layout() earlier in
5291         the function.
5292         (labelFill): use temp var for row->par()
5293         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5294         asc and desc, realize that pit never changes and that firstpit is
5295         just a duplicate and not needed. Exchange rit->par() with pit in a
5296         lot of places.
5297         (breakAgain): use a temp var for boost::next(rit)
5298         (breakAgainOneRow): ditto
5299         (breakParagraph): use a temp var for rows().begin()
5300         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5301         (cursorRightOneWord): use temp var for cursor.par() and
5302         cursor.pos(), remove usage of tmpcursor.
5303         (cursorLeftOneWord): use temp var for cursor.par() and
5304         cursor.pos() only set cur at end of function.
5305
5306 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * text.C, text2.C: exchange all usage of Paragraph::next with
5309         boost::next(ParagraphList::iterator)
5310
5311         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5312
5313         * text2.C (cursorTop): simplify implementation
5314         (cursorBottom): ditto
5315         (setParagraph): use ParagraphList::iterator
5316         (setCurrentFont): adjust
5317         (getColumnNearX): adjust
5318         (cursorRight): adjust
5319         (cursorLeft): remove usage of Paragraph::previous
5320         (cursorUpParagraph): ditto
5321         (deleteEmptyParagraphMechanism): slight cleanup
5322
5323         * text.C (isBoundary): take a Paragraph const & instead of a
5324         pointer as arg.
5325         (addressBreakPoint): ditto
5326         (leftMargin): remove usage of Paragraph::previous.
5327         (setHeightOfRow): ditto
5328         (cursorLeftOneWord): ditto
5329         (selectNextWordToSpellcheck): ditto
5330         (Delete): ditto
5331         (backspace): ditto
5332         (breakParagraph): remove one usage of Paragraph::next
5333         (redoParagraph): ditto
5334         (acceptChange): ditto
5335         (insertChar): adjust
5336         (rowBreakPoint): adjust
5337
5338         * bufferview_funcs.C (toggleAndShow): adjust
5339
5340 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5341
5342         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5343         methods to access it.
5344         * lyxtext.h:
5345         * text.C: Added updateRowPositions to compute all row positions.
5346         Make top_y and getRowNearY() to use the cached y position
5347
5348 2003-04-11  John Levon  <levon@movementarian.org>
5349
5350         * text.C (rowBreakPoint): reintroduce the labelEnd
5351         checks, code copied from the row fill stuff. Deep voodoo.
5352
5353         * text.C (fill): add a comment and debugging for the
5354         next poor soul.
5355
5356 2003-04-11  John Levon  <levon@movementarian.org>
5357
5358         * text.C: make sure fullrow insets get wrapped to the next line,
5359         even when they're in a manual label
5360
5361 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * text2.C (insertParagraph): make it take ParagraphList::iterator
5364         as arg.
5365         (setLayout): make it return ParagraphList::iterator
5366         (redoParagraphs): ditto
5367         (setCounter): ditto
5368         (checkParagraph): ditto
5369
5370         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5371
5372         * text2.C: adjust several funcs.
5373         (realizeFont): take a ParagraphList::iterator as arg.
5374         (getLayoutFont): ditto
5375         (getLabelFont): ditto
5376         (setCharFont): ditto
5377
5378         * text.C: adjust several funcs.
5379
5380 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5381
5382         * text.C (selectNextWordToSpellcheck): don't accidentally
5383         skip insets
5384
5385 2003-04-10  John Levon  <levon@movementarian.org>
5386
5387         * ToolbarBackend.C (getIcon): special handling for
5388         LFUN_MATH_DELIM
5389
5390 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * text2.C (cursorRight): a getChar assert fixed
5393
5394 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * text2.C (getFont): change to take a ParagraphList::iterator
5397         instead of Paragraph*
5398         Adjust several functions.
5399
5400         * text.C (transformChar): change to take a ParagraphList::iterator
5401         instead of Paragraph*
5402         (singleWidth): ditto
5403         Adjust several functions.
5404
5405         * rowpainter.C: adjust several functions
5406         * rowpainter.h:store a ParagraphList::iterator and not a
5407         Paragraph&.
5408
5409
5410 2003-04-09  John Levon  <levon@movementarian.org>
5411
5412         * lyxfunc.C:
5413         * lfuns.h:
5414         * LyXAction.h:
5415         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5416         and the "help" bits as well
5417
5418 2003-04-09  John Levon  <levon@movementarian.org>
5419
5420         * ToolbarBackend.h:
5421         * ToolbarBackend.C: allow multiple toolbars
5422
5423 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * undo_funcs.C (setCursorParUndo): adjust
5426
5427         * text_funcs.C (transposeChars): adjust
5428
5429         * text3.C (gotoNextInset): adjust
5430         (dispatch): adjust
5431
5432         * text2.C (setLayout): adjust
5433         (changeDepth): adjust
5434         (setFont): adjust
5435         (redoParagraphs): adjust
5436         (selectionAsString): adjust
5437         (setParagraph): adjust
5438         (insertInset): adjust
5439         (cutSelection): adjust
5440         (copySelection): adjust
5441         (pasteSelection): adjust
5442         (insertStringAsLines): adjust
5443         (updateInset): adjust
5444         (setCursor): change to take a ParagraphList::iterator parameter
5445         (setCursorIntern): change to take a ParagraphList::iterator parameter
5446         (setCurrentFont): adjust
5447         (cursorLeft): adjust
5448         (cursorRight): adjust
5449         (deleteEmptyParagraphMechanism): adjust
5450
5451         * text.C (breakParagraph): adjust
5452         (insertChar): adjust
5453         (acceptChange): adjust
5454         (rejectChange): adjust
5455         (selectNextWordToSpellcheck): adjust
5456         (changeCase): adjust
5457         (Delete): adjust
5458         (backspace): adjust
5459
5460         * lyxfind.C (SearchForward): adjust
5461         (SearchBackward): adjust
5462         (nextChange): adjust
5463
5464         * lyxcursor.C (par): adjust
5465
5466         * lyxcursor.h: store a ParagraphList::iterator instead of a
5467         Paragraph*
5468
5469         * lyx_cb.C (getPossibleLabel): adjust
5470
5471         * bufferview_funcs.C (toggleAndShow): adjust
5472
5473         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5474         (dispatch): adjust
5475
5476         * BufferView.C (removeAutoInsets): adjust
5477         (lockedInsetStoreUndo): adjust
5478
5479 2003-04-09  John Levon  <levon@movementarian.org>
5480
5481         * ToolbarBackend.C: try icon without argument
5482         if with argument fails
5483
5484 2003-04-08  John Levon  <levon@movementarian.org>
5485
5486         * ToolbarBackend.h:
5487         * ToolbarBackend.C: add getIcon(), handle tooltip,
5488         and change from "Icon" to "Item".
5489
5490 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * BufferView.C (lockInset): another bad getchar crunched
5493
5494 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5495
5496         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5497         again)
5498
5499 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * lyxfind.C (searchForward, searchBackwards): bug 782
5502
5503 2003-04-07  John Levon  <levon@movementarian.org>
5504
5505         * paragraph.C: remove dead comment
5506
5507         * text.C: remove troublesome depth-fiddling code
5508         in leftMargin() and rightMargin() (bug 1017)
5509
5510         * text.C: fix breaking of rows in nested lists
5511         (bug 1004)
5512
5513         * text2.C (updateCounters): fix up depth values
5514         (bug 1013)
5515
5516 2003-04-07  John Levon  <levon@movementarian.org>
5517
5518         * BufferView_pimpl.C: clear message when doc finishes resizing,
5519         and after a mouse event
5520
5521         * lyxfunc.C: clear message after exiting inset
5522
5523 2003-04-07  John Levon  <levon@movementarian.org>
5524
5525         * bufferview_funcs.C: show math status not outside
5526         status in the statusbar
5527
5528 2003-04-07  John Levon  <levon@movementarian.org>
5529
5530         * lyxfunc.C: note status changed after a depth change
5531
5532 2003-04-04  Angus Leeming  <leeming@lyx.org>
5533
5534         * LaTeX.h: move AuxInfo operator==, != out of line.
5535         Remove LaTeX virtual destructor; nothing derives from it.
5536         Move operator()() out of public area and rename it startscript().
5537         Change protected for private.
5538
5539 2003-04-04  Angus Leeming  <leeming@lyx.org>
5540
5541         * lyxfunc.C:
5542         * text2.C: remove unneeded #includes.
5543
5544 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5545
5546         * text2.C (dEPM): fix the heigth of the next row
5547
5548 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5549
5550         * text.C: squashed an invalid getChar requester + some ws changes
5551
5552 2003-04-03  John Levon  <levon@movementarian.org>
5553
5554         * bufferview_funcs.h:
5555         * bufferview_funcs.C:
5556         * lyxfunc.C:
5557         * lyxtext.h:
5558         * text2.C: make getStatus work for the env depth lfuns
5559
5560 2003-04-03  John Levon  <levon@movementarian.org>
5561
5562         * bufferview_funcs.h:
5563         * bufferview_funcs.C:
5564         * lyxfunc.C:
5565         * lyxtext.h:
5566         * text2.C: parlistize decDepth(), by merging it with incDepth()
5567
5568 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * lyxrow.h: store a ParagraphList::iterator instead of a
5571         Paragraph* and adjust other class functions to suit.
5572
5573         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5574         above.
5575
5576 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * text2.C (setCursor): do not anchor to cursor row for the time being
5579
5580 2003-04-02  John Levon  <levon@movementarian.org>
5581
5582         * LyXAction.C:
5583         * lfuns.h:
5584         * lyx_main.C:
5585         * lyxtext.h:
5586         * text.C:
5587         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5588
5589 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * paragraph.h: make ParagraphList and ParagraphList::iterator
5592         friends of Paragraph.
5593
5594         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5595
5596         * ParagraphList.C: Use the private next_ and previous_ from
5597         Paragraph.
5598
5599 2003-04-01  John Levon  <levon@movementarian.org>
5600
5601         * ToolbarBackend.h:
5602         * ToolbarBackend.C:
5603         * Makefile.am: rename, remove defaults gunk
5604
5605         * MenuBackend.h:
5606         * MenuBackend.C: remove defaults gunk
5607
5608         * Languages.h:
5609         * Languages.C: remove defaults gunk
5610
5611         * lyx_main.h:
5612         * lyx_main.C: error out if files couldn't be found.
5613
5614 2003-04-02  John Levon  <levon@movementarian.org>
5615
5616         * text2.C: make incDepth() use parlist
5617
5618 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * undo_funcs.C (firstUndoParagraph): adjust
5621
5622         * text3.C (gotoInset): adjust
5623         (dispatch): adjust, and rewrite loop.
5624
5625         * text2.C (init): adjust, and rewrite loop.
5626         (redoParagraphs): adjust
5627         (updateInset): adjust, and rewrite loop.
5628         (deleteEmptyParagraphMechanism): adjust
5629
5630         * tabular.C (LyXTabular): adjust
5631         (SetMultiColumn): adjust
5632         (TeXRow): adjust
5633
5634         * lyxtext.[Ch] (ownerParagraph): delete function
5635         (ownerParagraphs): new function returns a ParagraphList.
5636
5637         * BufferView.C (removeAutoInsets): adjust
5638         (insertErrors): adjust
5639         (setCursorFromRow): adjust
5640
5641 2003-04-01  Angus Leeming  <leeming@lyx.org>
5642
5643         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5644         in the frontends.
5645
5646 2003-04-02  John Levon  <levon@movementarian.org>
5647
5648         * lyxtext.h:
5649         * text.C:
5650         * Makefile.am:
5651         * text_funcs.h:
5652         * text_funcs.C: make transposeChars a free function
5653
5654         * lyxrow_funcs.C: remove wrong comment
5655
5656 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * lyxtext.h: adjust
5659         * rowpainter.C: adjust
5660         * text.C: adjust
5661         * text2.C: adjust
5662         * text3.C: adjust
5663
5664         * lyxrow_funcs. [Ch]: new files
5665
5666         * lyxrow.[Ch]: remove next and previous pointers
5667         (next,previous): remove accessor functions
5668         (isParEnd): move to lyxrow_funcs
5669         (lastPos): move to lyxrow_funcs
5670         (nextRowIsAllInset): move to lyxrow_funcs
5671         (lastPrintablePos): move to lyxrow_funcs
5672         (numberOfSeparators): move to lyxrow_funcs
5673         (numberOfHfills): move to lyxrow_funcs
5674         (numberOfLabelHfills): move to lyxrow_funcs
5675         (hfillExpansion): move to lyxrow_funcs
5676
5677         * lyxfunc.C: adjust
5678
5679         * bufferview_funcs.C (toggleAndShow): adjust
5680
5681         * RowList.h: Remove class RowList from file leave just a
5682         std::list<Row>.
5683
5684         * RowList.C: delete file
5685
5686         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5687         and lyxrow_funcs.h
5688
5689 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * text3.C (cursorPrevious): adjust
5692         (cursorNext): adjust
5693         (dispatch): adjust
5694
5695         * text2.C (redoHeightOfParagraph): adjust
5696         (redoDrawingOfParagraph): adjust
5697         (setCursor): adjust
5698
5699         * text.C (breakParagraph): adjust
5700         (insertChar): adjust
5701         (backspace): adjust
5702
5703         * rowpainter.C (RowPainter): adjust
5704         (leftMargin): simplify and adjust
5705         (most rowpainter functions): adjust.
5706
5707         * rowpainter.h: store the row as RowList::iterator not as Row*
5708
5709         * lyxcursor.C (row): taka RowList::iterator as arg
5710         (irow): ditto
5711
5712         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5713         of Row*.
5714
5715 2003-04-01  Angus Leeming  <leeming@lyx.org>
5716
5717         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5718         stuff like bool Bool.
5719
5720 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5721
5722         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5723         rewrite a loop
5724
5725 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5728         RowList::iterator.
5729
5730         * lyxtext.h (rows): drop one version and leve a const variant that
5731         returns a RowList::iterator.
5732
5733 2003-03-31  Angus Leeming  <leeming@lyx.org>
5734
5735         * text.C (fill): ensure that the signature is the same as that in the
5736         header file.
5737
5738 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * text2.C (redoParagraphs): adjust
5741         (updateCounters): adjust
5742         (checkParagraph): adjust
5743         (getColumnNearX): adjust and reformat a bit.
5744
5745         * text.C (top_y): adjust
5746         (workWidth): adjust
5747         (leftMargin): adjust
5748         (prepareToPrint): adjust
5749         (getRow): adjust
5750         (getRowNearY): adjust
5751
5752         * lyxtext.h: make rowlist_ mutable.
5753
5754         * RowList.h: add const_iterator
5755         * RowList.C: adjust for RowList::const_iterator.
5756
5757         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5758         adjust.
5759
5760 2003-03-31  John Levon  <levon@movementarian.org>
5761
5762         * lyxrc.h:
5763         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5764
5765         * lyx_main.C: set default fonts from using lyx_gui funcs
5766
5767         * exporter.C: pdf_mode moved from lyxrc
5768
5769         * lyx_cb.C:
5770         * lyxfunc.C: changes from above
5771
5772 2003-03-31  John Levon  <levon@movementarian.org>
5773
5774         * lyx_main.C: fix to the last fix
5775
5776 2003-03-31  John Levon  <levon@movementarian.org>
5777
5778         * bufferlist.C: "Load original" -> "Load Original"
5779
5780         * converter.C:
5781         * exporter.C:
5782         * importer.C:
5783         * lyx_main.C:
5784         * format.C: more Alert cleanups
5785
5786 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * text2.C (removeParagraph): make it take a RowList::iterator as
5789         arg, adjust.
5790         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5791         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5792
5793         * text.C (anchor_row): make it take a RowList::iterator as arg,
5794         adjust.
5795         (computeBidiTables): make it take a const reference to Row instead
5796         of Row pointer, adjust.
5797         (leftMargin): make it take a RowList::iterator as arg, adjust.
5798         (rowBreakPoint): adjust
5799         (breakAgainOneRow): make it take a RowList::iterator as arg,
5800         adjust.
5801         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5802
5803         * bufferview_funcs.C (toggleAndShow): adjust
5804
5805 2003-03-30  John Levon  <levon@movementarian.org>
5806
5807         * Makefile.am:
5808         * BoostFormat.h:
5809         * boost-inst.C: moved to support
5810
5811         * several files: changes as a result
5812
5813 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * text2.C (LyXText): adjust.
5816         (init): adjust
5817         (removeRow): make it take a RowList::iterator as arg, adjust.
5818         (fullRebreak): adjust
5819         (deleteEmptyParagraphMechanism): adjust
5820         (clearPaint): adjust
5821         (postPaint): adjust
5822
5823         * text.C (top_y): adjust
5824         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5825         (breakAgain): make it take a RowList::iterator as arg, adjust.
5826         (breakParagraph): adjust
5827         (insertChar): adjust
5828         (backspace): adjust
5829
5830         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5831         need_break_row, and refresh_row.
5832
5833         * text3.C (dispatch): adjust
5834
5835         * text2.C (checkParagraph): adjust
5836         (setCursor): adjust
5837         (setCursorFromCoordinates): adjust
5838
5839         * text.C (top_y): adjust
5840         (workWidth): adjust
5841         (getRow): make it return a RowList::iterator, adjust
5842         (getRowNearY): make it return a RowList::iterator, adjust
5843
5844         * text2.C (init): adjust
5845         (insertRow): remove function
5846         (insertParagraph): adjust
5847         (redoParagraphs): adjust
5848         (fullRebreak): adjust
5849         (updateCounters): adjust
5850
5851         * text.C (top_y): rewrite to use RowList iterators.
5852         (top_y): adjust
5853         (setHeightOfRow): rewrite to sue RowList iterators.
5854         (appendParagraph): adjust
5855         (breakAgain): adjust
5856         (breakAgainOneRow): adjust
5857         (breakParagraph): adjust
5858         (getRow): adjust
5859         (getRowNearY): adjust, and remove commented code.
5860
5861         * lyxtext.h (firstRow): delete function
5862         (lastRow): delete function
5863         (rows): new function (const and non-const versions.)
5864         (insertRow): delete function
5865
5866         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5867
5868 2003-03-29  John Levon  <levon@movementarian.org>
5869
5870         * BufferView_pimpl.C: always update scrollbar top
5871         because pasting text when we're anchored could mean we
5872         miss an update altogether
5873
5874 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * text2.C (init): use rowlist_.end() and not 0.
5877         (insertRow): change to take a RowList::iterator as arg, adjust
5878         for this.
5879         (insertParagraph): change to take a RowList::iterator as arg,
5880         adjust for this.
5881         (redoParagraphs): remove some debug msgs.
5882
5883         * text.C (appendParagraph): change to take a RowList::iterator
5884         arg, adjust for this.
5885         (breakAgain): add an assert
5886         (breakAgainOneRow): ditto
5887
5888 2003-03-29  John Levon  <levon@movementarian.org>
5889
5890         * text2.C: do not clear selection after inc/decDepth
5891         (bug 550)
5892
5893 2003-03-29  John Levon  <levon@movementarian.org>
5894
5895         * BufferView.C:
5896         * buffer.C: fix broken strerrors according to Lars
5897
5898 2003-03-29  John Levon  <levon@movementarian.org>
5899
5900         * converters.C: more Alert cleanups
5901
5902 2003-03-29  John Levon  <levon@movementarian.org>
5903
5904         * bufferview_funcs.C: remove pointless Alert
5905
5906         * buffer.C: fix confusing error message when
5907         a template is chmoded 000
5908
5909 2003-03-29  John Levon  <levon@movementarian.org>
5910
5911         * BufferView.C:
5912         * BufferView.h:
5913         * BufferView_pimpl.C: Alert fixes
5914
5915         * Makefile.am:
5916         * tabular.C:
5917         * tabular-old.C: remove unused table compat reading
5918
5919 2003-03-29  John Levon  <levon@movementarian.org>
5920
5921         * BufferView.C:
5922         * buffer.C:
5923         * lyx_cb.h:
5924         * lyx_cb.C: more Alert cleanups
5925
5926         * lyxfunc.C: don't allow chktex if not latex document
5927
5928 2003-03-29  John Levon  <levon@movementarian.org>
5929
5930         * lyx_cb.C:
5931         * BufferView.C:
5932         * buffer.C: warnings pushed down from support/,
5933         kill err_alert
5934
5935 2003-03-29  John Levon  <levon@movementarian.org>
5936
5937         * lyxfunc.C: safety check for C-r (revert)
5938
5939 2003-03-29  John Levon  <levon@movementarian.org>
5940
5941         * bufferlist.h:
5942         * bufferlist.C: several UI fixes using Alert::prompt.
5943         Fix the pointless looping quit code. Fix stupid revert
5944         behaviour (bug 938)
5945
5946         * lyxvc.h:
5947         * lyxvc.C:
5948         * lyx_cb.C: use Alert::prompt
5949
5950         * lyx_main.C: remove a silly question
5951
5952         * lyxfunc.C: remove a couple of silly questions,
5953         use Alert::prompt
5954
5955 2003-03-28  John Levon  <levon@movementarian.org>
5956
5957         * text2.C: fix bug 974 (End on empty par)
5958
5959 2003-03-28  John Levon  <levon@movementarian.org>
5960
5961         * BufferView_pimpl.C:
5962         * LyXAction.C:
5963         * lfuns.h: remove do-nothing math greek lfuns
5964
5965 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * lyxgluelength.h (isValidGlueLength): add default arg on
5968         parameter 2. Remove default arg from friend in class.
5969
5970         * lyxlength.h (isValidLength): add default arg on parameter 2.
5971         Remove default arg from friend in class.
5972
5973         * text2.C (LyXText): adjust, initialize refresh_row.
5974         (init): adjust
5975         (removeRow): adjust
5976         (insertRow): adjust
5977         (insertParagraph): adjst
5978         (redoParagraphs): adjust
5979         (fullRebreak): adjust
5980         (updateCounters): adjust
5981         (deleteEmptyParagraphMechanism): first attempt at fixing a
5982         crashing bug.
5983
5984         * text.C (top_y): adjust
5985         (setHeightOfRow): adjust
5986         (getRow): adjust
5987         (getRowNearY): adjust
5988
5989         * lyxtext.h: include RowList.h
5990         (~LyXText): not needed anymore, deleted.
5991         (firstRow): modify for RowList
5992         (lastRow): new function
5993         Delete firstrow and lastrow class variables, add a Rowlist
5994         rowlist_ class variable.
5995
5996         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5997         paragraph is empty.
5998
5999         * RowList.C (insert): fix case where it == begin().
6000
6001 2003-03-26  Angus Leeming  <leeming@lyx.org>
6002
6003         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6004         the thesaurus dialog.
6005
6006 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6009
6010         * RowList.[Ch]: new files
6011
6012         * ParagraphList.C (erase): handle the case where it == begin
6013         correctly.
6014
6015 2003-03-25  John Levon  <levon@movementarian.org>
6016
6017         * Makefile.am:
6018         * aspell_local.h:
6019         * aspell.C: add new aspell support
6020
6021         * lyxrc.h:
6022         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6023         have it accessible.
6024
6025 2003-03-25  Angus Leeming  <leeming@lyx.org>
6026
6027         * lfuns.h:
6028         * LyXAction.C (init): new LFUN_INSET_INSERT.
6029
6030         * BufferView_pimpl.C (dispatch): split out part of the
6031         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6032
6033         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6034         LFUN_INSET_APPLY.
6035
6036 2003-03-25  Angus Leeming  <leeming@lyx.org>
6037
6038         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6039
6040 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6041
6042         * text2.C:
6043         * text3.C: remove useless row->height(0)
6044
6045 2003-03-25  John Levon  <levon@movementarian.org>
6046
6047         * lyxtext.h:
6048         * text2.C:
6049         * text3.C: rename the refreshing stuff to better names
6050
6051 2003-03-24  John Levon  <levon@movementarian.org>
6052
6053         * BufferView_pimpl.h:
6054         * BufferView_pimpl.C: update layout choice on a mouse
6055         press/release
6056
6057 2003-03-23  John Levon  <levon@movementarian.org>
6058
6059         * Makefile.am: fix commandtags.h reference
6060
6061 2003-03-22  John Levon  <levon@movementarian.org>
6062
6063         * BufferView_pimpl.C:
6064         * lyxtext.h:
6065         * rowpainter.C:
6066         * rowpainter.h:
6067         * text.C:
6068         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6069
6070 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * lyxtext.h:
6073         * text.C: take the rtl methods out of line
6074
6075 2003-03-21 André Pönitz <poenitz@gmx.net>
6076
6077         * metricsinfo.[Ch]: new files containing structures to be passed around
6078         during the two-phase-drawing...
6079
6080 2003-03-21 André Pönitz <poenitz@gmx.net>
6081
6082         * lyxtextclass.C: read 'environment' tag.
6083
6084 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6085
6086         * text2.C (removeRow): fix bug 964
6087
6088 2003-03-20  John Levon  <levon@movementarian.org>
6089
6090         * rowpainter.C:
6091         * text.C:
6092         * text2.C: paint cleanups. Inset::update() dropped font
6093         parameter
6094
6095 2003-03-19  John Levon  <levon@movementarian.org>
6096
6097         * lyxfunc.C: only fitcursor/markDirty if available()
6098
6099 2003-03-19  John Levon  <levon@movementarian.org>
6100
6101         * commandtags.h: rename to ...
6102
6103         * lfuns.h: ... this, and renumber / cleanup
6104
6105 2003-03-19  John Levon  <levon@movementarian.org>
6106
6107         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6108         fit the cursor after an lfun
6109
6110         * BufferView.h:
6111         * BufferView.C:
6112         * BufferView_pimpl.h:
6113         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6114
6115         * LyXAction.C: layout-character should have ReadOnly
6116
6117         * ParagraphParameters.C:
6118         * buffer.C:
6119         * bufferview_funcs.C:
6120         * lyx_cb.C:
6121         * lyxfind.C:
6122         * lyxtext.h:
6123         * text.C:
6124         * text2.C:
6125         * text3.C:
6126         * undo_funcs.C: changes from above
6127
6128 2003-03-18  John Levon  <levon@movementarian.org>
6129
6130         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6131         remove it from update()
6132
6133         * lyxfunc.C: update layout choice after an lfun
6134
6135         * text3.C: remove extra updateLayoutChoice()s
6136
6137 2003-03-18  John Levon  <levon@movementarian.org>
6138
6139         * text.C: top_y change means full repaint, fix
6140         a drawing bug with cursor movement
6141
6142 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6143
6144         * lyxtext.h:
6145         * text.C:
6146         * text2.C: anchor row on setCursor
6147
6148 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * lyxtext.h: remove almost all mutable keywords
6151         * text.C:
6152         * text2.C:
6153         * text3.C: remove const keywords accordingly
6154
6155 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6158         anon namespace
6159         (TeXEnvironment): ditto
6160         (TeXOnePar): ditto
6161
6162 2003-03-17  John Levon  <levon@movementarian.org>
6163
6164         * text.C (rowBreakPoint): remove attempt to fix displayed
6165         math insets inside a manual label
6166
6167 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * lyxtext.h: remove BufferView* as first arg from almost all class
6170         functions.
6171         * other files: adjust.
6172
6173 2003-03-17  John Levon  <levon@movementarian.org>
6174
6175         * lyxtext.h:
6176         * undo_funcs.C:
6177         * text2.C: more paint cleanups
6178
6179         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6180
6181         * rowpainter.h:
6182         * rowpainter.C: remove "smart" background painting code
6183
6184 2003-03-16  John Levon  <levon@movementarian.org>
6185
6186         * lyxtext.h:
6187         * text.C:
6188         * text2.C:
6189         * text3.C: add helper functions for setting refresh_row/y
6190
6191 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6192
6193         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6194         newline inset which *can* get inserted in the pass_thru layouts.
6195         This is primarily for literate documents.
6196
6197 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6198
6199         * buffer.C: increment LYX_FORMAT to 223
6200
6201 2003-03-14 André Pönitz <poenitz@gmx.net>
6202
6203         * textclass.h: prepare for environment handling, ws changes
6204         * lyxlayout.C: read latexheader and latexfooter tags
6205
6206 2003-03-14  John Levon  <levon@movementarian.org>
6207
6208         * text2.C: rewrite ::status() a bit
6209
6210 2003-03-13  John Levon  <levon@movementarian.org>
6211
6212         * lyxtext.h: add some docs
6213
6214 2003-03-13  John Levon  <levon@movementarian.org>
6215
6216         * lyxtext.h:
6217         * text.C:
6218         * text2.C:
6219         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6220
6221 2003-03-13  John Levon  <levon@movementarian.org>
6222
6223         * text3.C: fix appendix redrawing
6224
6225 2003-03-13  John Levon  <levon@movementarian.org>
6226
6227         * text.C (setHeightOfRow):
6228         * rowpainter.h:
6229         * rowpainter.C: make appendix mark have the text
6230           "Appendix" so the user knows what it is
6231
6232         * LColor.h:
6233         * LColor.C: s/appendixline/appendix/ from above
6234
6235 2003-03-13  John Levon  <levon@movementarian.org>
6236
6237         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6238
6239         * text.C: fix a getChar(pos) bug properly
6240
6241 2003-03-13  Angus Leeming  <leeming@lyx.org>
6242
6243         * commandtags.h:
6244         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6245         Probably only temporary. Let's see how things pan out.
6246
6247         * BufferView.C (unlockInset):
6248         * BufferView_pimpl.C (fitCursor):
6249         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6250
6251         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6252         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6253
6254         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6255         new functions that convert ParagraphParameters to and from a string.
6256
6257         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6258         BufferView::Pimpl's dispatch.
6259         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6260
6261 2003-03-13 André Pönitz <poenitz@gmx.net>
6262
6263         * lyxfunc.C:
6264         * text3.C:
6265         * factory.C: make it aware of InsetEnv
6266
6267 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * text2.C (setCursor): never ask for one past last
6270         (setCursor): add some debugging messages.
6271
6272         * text.C (singleWidth): never ask for one past last
6273         (singleWidth): ditto
6274         (leftMargin): ditto
6275         (rightMargin): ditto
6276         (rowBreakPoint): ditto
6277         (setHeightOfRow): ditto
6278         (prepareToPrint): ditto
6279
6280         * rowpainter.C (paintBackground): never ask for one past last
6281         (paintText): never ask for one past last
6282
6283         * paragraph_pimpl.C (getChar): make the assert stricter, never
6284         allow the one past last pos to be taken
6285
6286         * paragraph.C (getChar): ws changes only
6287
6288         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6289         (numberOfSeparators): ditto
6290         (numberOfHfills): ditto
6291
6292 2003-03-12  John Levon  <levon@movementarian.org>
6293
6294         * author.h:
6295         * author.C:
6296         * bufferparams.h:
6297         * bufferparams.C:
6298         * paragraph_funcs.C: fix per-buffer authorlists
6299
6300 2003-03-12  John Levon  <levon@movementarian.org>
6301
6302         * text.C: fix newline in right address
6303
6304 2003-03-12  Angus Leeming  <leeming@lyx.org>
6305
6306         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6307         duplicate those in LyXFunc::dispatch.
6308
6309         * commandtags.h:
6310         * LyXAction.C:
6311         * ToolbarDefaults.C:
6312         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6313         Add LFUN_FONTFREE_UPDATE.
6314
6315         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6316         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6317
6318         * bufferview_func.[Ch]: several new functions to facilliate
6319         transfer of data to and from the character dialog.
6320
6321 2003-03-12  John Levon  <levon@movementarian.org>
6322
6323         * buffer.C:
6324         * paragraph.h:
6325         * paragraph.C:
6326         * paragraph_funcs.C:
6327         * paragraph_pimpl.C:
6328         * sgml.C:
6329         * tabular.C:
6330         * text.C:
6331         * text3.C: remove META_NEWLINE in favour of an inset
6332
6333         * rowpainter.h:
6334         * rowpainter.C: remove paintNewline (done by inset)
6335
6336 2003-03-12  John Levon  <levon@movementarian.org>
6337
6338         * paragraph_pimpl.C: complain about bad getChar()s
6339         for a while at least
6340
6341 2003-03-12  John Levon  <levon@movementarian.org>
6342
6343         * buffer.h:
6344         * buffer.C: move paragraph read into a separate function,
6345         a little renaming to reflect that.
6346
6347         * bufferparams.h:
6348         * bufferparams.C: remove the author_ids map, not necessary now
6349
6350         * factory.h:
6351         * factory.C: moved Buffer::readInset to here
6352
6353         * paragraph_funcs.h:
6354         * paragraph_funcs.C: readParagraph free function moved from
6355         buffer.C
6356
6357         * tabular.C: name change
6358
6359 2003-03-12  John Levon  <levon@movementarian.org>
6360
6361         * buffer.C:
6362         * ParagraphParameters.C: move par params input to
6363         a read() method
6364
6365         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6366         behave like a normal read from the stream wrt reading
6367         a line vs. a \\token
6368
6369 2003-03-12  John Levon  <levon@movementarian.org>
6370
6371         * paragraph.C:
6372         * ParagraphParameters.h:
6373         * ParagraphParameters.C: move output code to a
6374         ::write() method
6375
6376 2003-03-12  John Levon  <levon@movementarian.org>
6377
6378         * BufferView.C (insertLyXFile):
6379         * buffer.h:
6380         * buffer.C:
6381         * tabular.C: use a parlist iterator for creating the
6382           document.
6383
6384 2003-03-12  John Levon  <levon@movementarian.org>
6385
6386         * buffer.C: make current_change static local not
6387           static file-scope
6388
6389 2003-03-12  John Levon  <levon@movementarian.org>
6390
6391         * buffer.C: fix insertStringAsLines for change tracking
6392
6393 2003-03-12  John Levon  <levon@movementarian.org>
6394
6395         * BufferView.C:
6396         * tabular.C:
6397         * buffer.h:
6398         * buffer.C:
6399         * bufferparams.h:
6400         * bufferparams.C: move author list into params. Rename some
6401           functions. Move the header reading into a separate token
6402           loop. Move the header token reading into BufferParams.
6403
6404 2003-03-12  John Levon  <levon@movementarian.org>
6405
6406         * changes.C: put debug inside lyxerr.debugging() checks
6407
6408 2003-03-11 André Pönitz <poenitz@gmx.net>
6409
6410         * factory.C: make it aware of InsetHFill
6411
6412 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6413
6414         * buffer.C (latexParagraphs): move function from here...
6415         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6416         args.
6417
6418 2003-03-10  Angus Leeming  <leeming@lyx.org>
6419
6420         * LyXAction.C (init): fix bug in poplating array with multiple entries
6421         with the same LFUN (spotted by JMarc).
6422
6423 2003-03-10  John Levon  <levon@movementarian.org>
6424
6425         * text.C:
6426         * text2.C: move getColumnNearX() near its
6427         only call site
6428
6429 2003-03-10  John Levon  <levon@movementarian.org>
6430
6431         * text.C: fix break before a minipage
6432
6433 2003-03-10  John Levon  <levon@movementarian.org>
6434
6435         * text.C: fix the last commit
6436
6437 2003-03-09  John Levon  <levon@movementarian.org>
6438
6439         * lyxtext.h:
6440         * text.C:
6441         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6442         bug 365 (don't break before insets unless needed). Don't
6443         return a value > last under any circumstances.
6444
6445 2003-03-09  Angus Leeming  <leeming@lyx.org>
6446
6447         * BufferView_pimpl.C (trackChanges, dispatch): call
6448         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6449
6450 2003-03-09  Angus Leeming  <leeming@lyx.org>
6451
6452         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6453         than Dialogs::showAboutlyx().
6454
6455 2003-03-09  Angus Leeming  <leeming@lyx.org>
6456
6457         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6458         than Dialogs::showTabularCreate().
6459
6460 2003-03-09  John Levon  <levon@movementarian.org>
6461
6462         * lyxtext.h:
6463         * text.C:
6464         * text2.C: 3rd arg to nextBreakPoint was always the same.
6465           Use references.
6466
6467 2003-03-08  John Levon  <levon@movementarian.org>
6468
6469         * lyxrow.C:
6470         * paragraph.C:
6471         * paragraph.h:
6472         * rowpainter.C:
6473         * text.C:
6474         * text2.C: Remove the "main" bit from the "main body"
6475           notion.
6476
6477 2003-03-08  John Levon  <levon@movementarian.org>
6478
6479         * text.C (leftMargin): The left margin of an empty
6480         manual label paragraph should not include the label width
6481         string length.
6482
6483         * text.C (prepareToPrint): don't attempt to measure hfills
6484         for empty manual label paragraphs - the answer should be 0
6485
6486 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * CutAndPaste.C: remove commented code and reindent.
6489
6490 2003-03-08  John Levon  <levon@movementarian.org>
6491
6492         * lyxfunc.h:
6493         * lyxfunc.C: move reloadBuffer()
6494
6495         * BufferView.h:
6496         * BufferView.C: to here
6497
6498         * lyxvc.C: add comment
6499
6500         * vc-backend.h:
6501         * vc-backend.C: call bv->reload() to avoid
6502           getStatus() check on MENURELOAD
6503
6504 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6505
6506         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6507         to an old format .dep file.
6508
6509 2003-03-07  Angus Leeming  <leeming@lyx.org>
6510
6511         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6512         when the LFUN_MOUSE_RELEASE should have been handled by
6513         inset->localDispatch.
6514
6515 2003-03-07  Angus Leeming  <leeming@lyx.org>
6516
6517         * BufferView_pimpl.C (dispatch):
6518         * LyXAction.C (init):
6519         * ToolbarDefaults.C (init):
6520         * commandtags.h:
6521         * lyxfunc.C (getStatus):
6522         remove LFUN_INSET_GRAPHICS.
6523
6524         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6525
6526 2003-03-07  Angus Leeming  <leeming@lyx.org>
6527
6528         * commandtags.h:
6529         * LyXAction.C (init):
6530         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6531
6532         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6533
6534         * commandtags.h:
6535         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6536
6537         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6538         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6539
6540 2003-03-07  Angus Leeming  <leeming@lyx.org>
6541
6542         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6543         remove "ert".
6544
6545 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * ParagraphList.C (front): new function
6548         (back): implement
6549
6550 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6553         and top_row_offset_. removed var first_y.
6554         * text.C (top_y):
6555         * text2.C (LyXText, removeRow):
6556         * text3.C:
6557         * BufferView_pimpl.C:
6558         use these methods instead of using first_y
6559
6560 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * text2.C (pasteSelection): adjust for checkPastePossible
6563
6564         * CutAndPaste.C: remove Paragraph * buf and replace with
6565         ParagraphList paragraphs.
6566         (DeleteBuffer): delete
6567         (cutSelection): change the tc type to textclass_type
6568         (copySelection): change the tc type to textclass_type
6569         (copySelection): adjust for ParagraphList
6570         (pasteSelection): change the tc type to textclass_type
6571         (pasteSelection): adjust for Paragraphlist
6572         (nrOfParagraphs): simplify for ParagraphList
6573         (checkPastePossible): simplify for ParagraphList
6574         (checkPastePossible): remove unused arg
6575
6576         * ParagraphList.C (insert): handle the case where there are no
6577         paragraphs yet.
6578
6579         * CutAndPaste.h: make CutAndPaste a namespace.
6580
6581         * text3.C (dispatch): adjust
6582
6583         * text.C (breakParagraph): add a ParagraphList as arg
6584
6585         * paragraph_funcs.C (breakParagraph): change to take a
6586         BufferParams and a ParagraphList as args.
6587         (breakParagraphConservative): ditto
6588         (mergeParagraph): ditto
6589         (TeXDeeper): add a ParagraphList arg
6590         (TeXEnvironment): ditto
6591         (TeXOnePar): ditto
6592
6593         * buffer.C (readLyXformat2): adjust
6594         (insertStringAsLines): adjust
6595         (latexParagraphs): adjust
6596
6597         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6598         (cutSelection): adjust
6599         (pasteSelection): adjust
6600
6601         * BufferView_pimpl.C (insertInset): adjust
6602
6603 2003-03-05  Angus Leeming  <leeming@lyx.org>
6604
6605         * commandtags.h:
6606         * LyXAction.C (init):
6607         * BufferView_pimpl.C (dispatch):
6608         * lyxfunc.C (getStatus):
6609         remove LFUN_CHILD_INSERT.
6610
6611         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6612
6613 2003-03-05  Angus Leeming  <leeming@lyx.org>
6614
6615         * commandtags.h:
6616         * LyXAction.C (init):
6617         * src/factory.C (createInset):
6618         * lyxfunc.C (getStatus):
6619         * text3.C (dispatch):
6620         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6621
6622         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6623
6624 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * ParagraphList.C (insert): handle insert right before end()
6627         (erase): fix cases where it can be first or last paragraph.
6628
6629 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6632         Paragraph::next and Paragraph::previous
6633         (TeXOnePar): ditto
6634
6635         * text.C (breakParagraph): adjust
6636
6637         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6638         BufferParams& as arg.
6639         (breakParagraph): use ParagraphList::insert
6640         (breakParagraphConservative): take a Buffer* instead of a
6641         BufferParams& as arg.
6642         (breakParagraphConservative): use ParagraphList::insert.
6643
6644         * buffer.C (insertStringAsLines): un-const it
6645         (insertStringAsLines): adjust
6646
6647         * ParagraphList.C (insert): new function
6648
6649         * CutAndPaste.C (pasteSelection): adjust
6650
6651         * text.C (backspace): adjust
6652
6653         * tabular.C (SetMultiColumn): adjust
6654
6655         * CutAndPaste.C (cutSelection): adjust
6656         (pasteSelection): adjust
6657
6658         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6659         Buffer const * as arg
6660
6661         * ParagraphList.C (erase): new function
6662         * paragraph_funcs.C (mergeParagraph): use it
6663         (mergeParagraph): make it take a Buffer* instead of a
6664         BufferParams* as arg
6665
6666         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6667         as arg
6668         (breakParagraphConservative): ditto
6669
6670         * paragraph.h: remove the breakParagraph friend
6671
6672         * paragraph.C (eraseIntern): new function
6673         (setChange): new function
6674
6675         * paragraph_funcs.C (mergeParagraph): make it take a
6676         ParagraphList::iterator instead of a Paragraph *, adjust
6677         accordingly.
6678
6679         * paragraph.h: move an #endif so that the change tracking stuff
6680         also works in the NO_NEXT case.
6681
6682 2003-03-04  Angus Leeming  <leeming@lyx.org>
6683
6684         * commandtags.h:
6685         * LyXAction.C: new LFUN_INSET_MODIFY.
6686
6687         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6688         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6689
6690 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * several files: ws changes only
6693
6694         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6695         (TeXEnvironment): ditto
6696         (TeXDeeper): ditto
6697
6698         * buffer.C (makeLaTeXFile): adjust
6699         (latexParagraphs): make it take ParagraphList::iterator as args
6700
6701 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * buffer.C (latexParagraphs): adjust
6704
6705         * paragraph.C (TeXOnePar): move function...
6706         (optArgInset): move function...
6707         (TeXEnvironment): move function...
6708         * paragraph_pimpl.C (TeXDeeper): move function...
6709         * paragraph_funcs.C: ...here
6710
6711         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6712
6713 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * buffer.C (readInset): remove compability code for old Figure and
6716         InsetInfo insets
6717
6718 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * buffer.C: ws changes
6721         (readInset):
6722
6723         * BufferView_pimpl.C: ditto
6724         * author.C: ditto
6725         * buffer.h: ditto
6726         * bufferlist.h: ditto
6727         * changes.h: ditto
6728         * lyxfunc.C: ditto
6729
6730 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6731
6732         * converter.[Ch]: split into itself +
6733         * graph.[Ch]
6734         * format.[Ch]
6735         * Makefile.am: += graph.[Ch] + format.[Ch]
6736         * MenuBackend.C
6737         * buffer.C
6738         * exporter.C
6739         * importer.C
6740         * lyx_main.C
6741         * lyxfunc.C
6742         * lyxrc.C: added #include "format.h"
6743
6744 2003-02-27  Angus Leeming  <leeming@lyx.org>
6745
6746         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6747           a label.
6748
6749         * factory.C (createInset): add "label" to the factory.
6750
6751         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6752           string and do no more.
6753
6754 2003-02-27  Angus Leeming  <leeming@lyx.org>
6755
6756         * commandtags.h:
6757         * LyXAction.C (init):
6758         * factory.C (createInset):
6759         * BufferView_pimpl.C (dispatch):
6760           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6761
6762         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6763
6764         * lyxfunc.C (dispatch):
6765         * text3.C (dispatch): pass name to params2string.
6766
6767 2003-02-26  Angus Leeming  <leeming@lyx.org>
6768
6769         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6770           blocks together.
6771           Rearrange the ~includes. Strip out the unnecessary ones.
6772
6773         * factory.C (createInset): reformat.
6774           create new insets for the various LFUN_XYZ_APPLY lfuns.
6775
6776 2003-02-26  John Levon  <levon@movementarian.org>
6777
6778         * lyxrow.h:
6779         * lyxrow.C: add isParStart,isParEnd helpers
6780
6781         * paragraph.h: make isInserted/DeletedText take refs
6782
6783         * paragraph_funcs.h:
6784         * paragraph_funcs.C: remove #if 0'd code
6785
6786         * lyxtext.h:
6787         * text3.C:
6788         * text2.C:
6789         * text.C: use lyxrow helpers above.
6790           Move draw and paint routines to RowPainter.
6791           Make several methods use refs not pointers.
6792           Make backgroundColor() const.
6793           Add markChangeInDraw(), isInInset().
6794           Merge changeRegionCase into changeCase.
6795           Make workWidth() shouldn't-happen code into an Assert.
6796
6797         * rowpainter.h:
6798         * rowpainter.C: new class for painting a row.
6799
6800         * vspace.h:
6801         * vspace.C: make inPixels take a ref
6802
6803 2003-02-26  Angus Leeming  <leeming@lyx.org>
6804
6805         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6806         LFUN_REF_APPLY.
6807
6808 2003-02-25  John Levon  <levon@movementarian.org>
6809
6810         * ispell.C: give the forked command a more accurate name
6811
6812 2003-02-22  John Levon  <levon@movementarian.org>
6813
6814         * toc.h:
6815         * toc.C: make TocItem store an id not a Paragraph *
6816           (bug #913)
6817
6818 2003-02-21  Angus Leeming  <leeming@lyx.org>
6819
6820         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6821           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6822           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6823           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6824           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6825           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6826
6827         * BufferView_pimpl.C (dispatch):
6828         * LyXAction.C (init):
6829         * factory.C (createInset):
6830         * lyxfunc.C (getStatus, dispatch):
6831         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6832
6833 2003-02-21  Angus Leeming  <leeming@lyx.org>
6834
6835         * BufferView_pimpl.C (MenuInsertLyXFile):
6836         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6837         * lyxfunc.C (menuNew, open, doImport):
6838           no longer pass a LyXView & to fileDlg.
6839
6840 2003-02-21  Angus Leeming  <leeming@lyx.org>
6841
6842         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6843         * LyXAction.C: change, BIBKEY to BIBITEM.
6844         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6845         Change InsetBibKey to InsetBibitem.
6846         Change BIBKEY_CODE to BIBITEM_CODE.
6847         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6848         * factory.C: replace insetbib.h with insetbibitem.h.
6849         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6850         * paragraph.C: replace insetbib.h with insetbibitem.h.
6851         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6852         Change bibkey() to bibitem().
6853         * text.C: remove insetbib.h.
6854         * text2.C: replace insetbib.h with insetbibitem.h.
6855         change bibkey() to bibitem().
6856         * text3.C: remove insetbib.h.
6857         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6858
6859 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6860
6861         * lyxrc.C (output): enclose user email in quotes (in case there are
6862         several words)
6863
6864 2003-02-18  John Levon  <levon@movementarian.org>
6865
6866         * buffer.h: add std::
6867
6868 2003-02-17  John Levon  <levon@movementarian.org>
6869
6870         * SpellBase.h:
6871         * ispell.h:
6872         * ispell.C:
6873         * pspell.h:
6874         * pspell.C: reworking. Especially in ispell, a large
6875           number of clean ups and bug fixes.
6876
6877         * lyxfunc.C: fix revert to behave sensibly
6878
6879 2003-02-17 André Pönitz <poenitz@gmx.net>
6880
6881         * LyXAction.C:
6882         * commandtags.h: new LFUN_INSERT_BIBKEY
6883
6884         * layout.h:
6885         * lyxlayout.C:
6886         * buffer.C:
6887         * factory.C:
6888         * text.C:
6889         * text2.C:
6890         * text3.C:
6891         * paragraph.[Ch]:
6892         * paragraph_func.C: remove special bibkey handling
6893
6894 2003-02-17  John Levon  <levon@movementarian.org>
6895
6896         * text.C (Delete): fix case where delete at the end of
6897           the very first paragraph would not merge the pars
6898
6899 2003-02-17  John Levon  <levon@movementarian.org>
6900
6901         * lyxrow.C: fix lastPrintablePos()
6902
6903 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6904
6905         * bufferparams.C (writeLaTeX): add a std:here
6906
6907         * buffer.C: and remove a using directive there
6908
6909 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * buffer.C (makeLaTeXFile): move the code that generates the
6912           preamble...
6913
6914         * bufferparams.C (writeLaTeX): ... in this new method
6915
6916         * LaTeXFeatures.C (getEncodingSet): make const
6917           (getLanguages): make const
6918
6919         * MenuBackend.C (binding): returns the binding associated to this
6920           action
6921           (add): sets the status of each item by calling getStatus. Adds
6922           some intelligence.
6923           (read): add support for OptSubMenu
6924           (expand): remove extra separator at the end of expanded menu
6925
6926 2003-02-15  John Levon  <levon@movementarian.org>
6927
6928         * BufferView.C:
6929         * BufferView_pimpl.C:
6930         * bufferlist.h:
6931         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6932           inset code that had no actual effect. Remove unneeded status
6933           code.
6934
6935 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6936
6937         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6938           in preamble
6939
6940 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6941
6942         * text.C (drawLengthMarker): also draw an arrow marker for
6943           symbolic lengths (medskip...)
6944
6945 2003-02-14  John Levon  <levon@movementarian.org>
6946
6947         * tabular.h:
6948         * tabular.C: better method names
6949
6950 2003-02-14  John Levon  <levon@movementarian.org>
6951
6952         * BufferView_pimpl.C:
6953         * bufferlist.C:
6954         * buffer.C:
6955         * converter.C:
6956         * lyx_cb.C:
6957         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6958           it's a more accurate name. Remove some pointless uses.
6959
6960 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6961
6962         * text2.C (LyXText): change order of initilizers to shut off
6963           warnings
6964
6965 2003-02-14  John Levon  <levon@movementarian.org>
6966
6967         * buffer.C: use ParIterator for getParFromID()
6968
6969         * paragraph.h:
6970         * paragraph.C:
6971         * paragraph_pimpl.h:
6972         * paragraph_pimpl.C: remove unused getParFromID()
6973
6974 2003-02-14  John Levon  <levon@movementarian.org>
6975
6976         * buffer.C: remove some very old #if 0'd parse code
6977
6978 2003-02-13  John Levon  <levon@movementarian.org>
6979
6980         * text.h:
6981         * text.C:
6982         * text2.C: move hfillExpansion(), numberOfSeparators(),
6983           rowLast(), rowLastPrintable(), numberofHfills(),
6984           numberOfLabelHfills() ...
6985
6986         * lyxrow.h:
6987         * lyxrow.C: ... to member functions here.
6988
6989         * paragraph.h:
6990         * paragraph.C:
6991         * lyxtext.h:
6992         * text.C: remove LyXText::beginningOfMainBody(), and call
6993           p->beginningOfMainBody() directly. Move the check for
6994           LABEL_MANUAL into the latter.
6995
6996         * text.h:
6997         * text.C:
6998         * text2.C:
6999         * vspace.C:
7000         * BufferView.h:
7001         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7002
7003         * text.h:
7004         * text.C:
7005         * text2.C:
7006         * text3.C:
7007         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7008           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7009
7010 2003-02-13  John Levon  <levon@movementarian.org>
7011
7012         * CutAndPaste.C: remove debug
7013
7014 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7015
7016         * paragraph.C (asString): remove two unused variables
7017
7018         * lyxtextclass.C (readTitleType):
7019           (Read):
7020           (LyXTextClass): handle new members titletype_ and titlename_
7021
7022         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7023
7024 2003-02-09  John Levon  <levon@movementarian.org>
7025
7026         * buffer.h:
7027         * buffer.C: replace hand-coded list with a map for the dep clean
7028
7029 2003-02-08  John Levon  <levon@movementarian.org>
7030
7031         * LaTeX.C: consolidate code into showRunMessage() helper
7032
7033 2003-02-08  John Levon  <levon@movementarian.org>
7034
7035         * lyxfind.C:
7036         * lyxtext.h:
7037         * text2.C:
7038         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7039           and pass the size in explicitly
7040
7041         * BufferView_pimpl.h:
7042         * BufferView_pimpl.C:
7043         * BufferView.h:
7044         * BufferView.C: add getCurrentChange()
7045
7046         * BufferView_pimpl.h:
7047         * BufferView_pimpl.C: handle change lfuns
7048
7049         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7050           for changes. Mark pasted paragraphs as new.
7051
7052         * support/lyxtime.h:
7053         * support/lyxtime.C:
7054         * DepTable.C: abstract time_t as lyx::time_type
7055
7056         * LColor.h:
7057         * LColor.C: add colours for new text, deleted text, changebars
7058
7059         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7060           package use "usenames" option.
7061
7062         * commandtags.h:
7063         * lyxfunc.C:
7064         * LyXAction.C: add change lfuns
7065
7066         * Makefile.am:
7067         * author.h:
7068         * author.C: author handling
7069
7070         * buffer.h:
7071         * buffer.C: add a per-buffer author list, with first entry as
7072           current author. Handle new .lyx tokens for change tracking. Output
7073           author list to .lyx file. Output dvipost stuff to .tex preamble.
7074           Bump lyx format to 222.
7075
7076         * bufferlist.h:
7077         * bufferlist.C: add setCurrentAuthor() to reset current author details
7078           in all buffers.
7079
7080         * bufferparams.h:
7081         * bufferparams.C: add param for tracking
7082
7083         * bufferview_funcs.C: output change info in minibuffer
7084
7085         * Makefile.am:
7086         * changes.h:
7087         * changes.C: add change-tracking structure
7088
7089         * debug.h:
7090         * debug.C: add CHANGES debug flag
7091
7092         * lyxfind.h:
7093         * lyxfind.C: add code for finding the next change piece
7094
7095         * lyxrc.h:
7096         * lyxrc.C: add user_name and user_email
7097
7098         * lyxrow.h:
7099         * lyxrow.C: add a metric for the top of the text line
7100
7101         * lyxtext.h:
7102         * text.C: implement accept/rejectChange()
7103
7104         * lyxtext.h:
7105         * text.C: paint changebars. Paint new/deleted text in the chosen
7106         colours. Strike through deleted text.
7107
7108         * paragraph.h:
7109         * paragraph.C:
7110         * paragraph_pimpl.h:
7111         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7112           in the current change to the insert functions. Rework erase to
7113           mark text as deleted, adding an eraseIntern() and a range-based
7114           erase(). Implement per-paragraph change lookup and
7115           accept/reject.
7116
7117         * paragraph_funcs.C: Fixup paste for change tracking.
7118
7119         * tabular.C: mark added row/columns as new.
7120
7121         * text.C: fix rowLast() to never return -1. Don't allow
7122           spellchecking of deleted text. Track transpose changes. Don't
7123           allow paragraph break or merge where appropriate.
7124
7125         * text2.C: leave cursor at end of selection after a cut.
7126
7127 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7128
7129         * text.C (getLengthMarkerHeight):
7130         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7131         visible on screen too.
7132
7133 2003-02-07  John Levon  <levon@movementarian.org>
7134
7135         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7136
7137 2003-02-05  Angus Leeming  <leeming@lyx.org>
7138
7139         * lyxserver.C (read_ready): revert my patch of 11 September last year
7140         as it sends PC cpu through the roof. Presumably this means that
7141         the lyxserver will no longer run on an Alpha...
7142
7143 2003-01-30  Angus Leeming  <leeming@lyx.org>
7144
7145         * factory.C (createInset): create an InsetCommandParam of type "index"
7146         and use it to 'do the right thing'.
7147
7148         * text2.C (getStringToIndex): ensure that cursor position is always
7149         reset to the reset_cursor position.
7150
7151 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7152
7153         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7154         disabled.
7155
7156 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7157
7158         * bufferview.C:
7159         * lyxcb.C:
7160         * lyxfunc.C: Output messages with identical spelling, punctuation,
7161         and spaces
7162
7163 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7164
7165         * MenuBackend.C (expandFormats): List only viewable export formats
7166         in "View" menu
7167
7168         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7169         message
7170
7171         * lyxfunc.C (getStatus): Make sure that formats other than
7172         "fax" can also be disabled
7173
7174 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7175
7176         * text3.C (dispatch): put the lfuns that insert insets in 3
7177         groups, and call doInsertInset with appropriate arguments.
7178         (doInsertInset): new function, that creates an inset and inserts
7179         it according to some boolean parameters.
7180
7181 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * buffer.C (readFile): remember to pass on 'par' when calling
7184         readFile recursively.
7185
7186 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7187
7188         * MenuBackend.C (expandFormats): add "..." to import formats.
7189
7190 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7191
7192         * paragraph.C (asString): Remove XForms RTL hacks.
7193
7194 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7195         * buffer.C: fix typo
7196
7197 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * Makefile.am (LIBS): delete var
7200         (lyx_LDADD): add @LIBS@ here instead.
7201
7202 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7203
7204         * Clarify the meaning of "wheel mouse jump"
7205
7206 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7207
7208         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7209         tabular in a float
7210
7211 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7212
7213         * importer.C (Loaders): do not preallocate 3 elements in the
7214         vector, since one ends up with 6 elements otherwise
7215
7216 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7217
7218         * DepTable.C (write): write the file name as last element of the
7219         .dep file (because it may contain spaces)
7220         (read): read info in the right order
7221
7222 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7223
7224         * paragraph_pimpl.C (simpleTeXBlanks):
7225         (simpleTeXSpecialChars):
7226         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7227
7228         * tabular.C (latex): add some missing case statements. Reindent.
7229
7230         * MenuBackend.C (expandToc): remove unused variable.
7231
7232 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7233
7234         * LColor.C:
7235         * LaTeX.C:
7236         * LyXAction.C:
7237         * MenuBackend.C:
7238         * buffer.C:
7239         * exporter.C:
7240         * lyxfunc.C:
7241         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7242         and the like.
7243
7244 2003-01-05  John Levon  <levon@movementarian.org>
7245
7246         * BufferView.h:
7247         * BufferView.C: add getEncoding()
7248
7249         * kbsequence.h:
7250         * kbsequence.C: do not store last keypress
7251
7252         * lyxfunc.h:
7253         * lyxfunc.C: store last keypress here instead. Pass encoding
7254           to getISOEncoded()
7255
7256 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7257
7258         * lyx_main.C (init): remove annoying error message when following
7259         symbolic links (bug #780)
7260
7261 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7262
7263         * text.C (insertChar):
7264         * lyxrc.C (getDescription): remove extra spaces
7265
7266 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7267
7268         * lyxrc.C (getDescription): remove extra spaces
7269
7270 2002-12-20  John Levon  <levon@movementarian.org>
7271
7272         * text3.C: hack fix for page up/down across tall rows
7273
7274 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7275
7276         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7277         not been invoked
7278
7279 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7280
7281         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7282         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7283         thesaurus is not compiled in
7284
7285 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7286
7287         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7288
7289 2002-12-16  Angus Leeming  <leeming@lyx.org>
7290
7291         * lyxrc.[Ch]:
7292         * lyx_main.C (init): remove override_x_deadkeys stuff.
7293
7294 2002-12-12  John Levon  <levon@movementarian.org>
7295
7296         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7297           insert. Only remove shift modifier under strict
7298           circumstances.
7299
7300 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * MenuBackend.C (expandToc): fix crash.
7303
7304 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * MenuBackend.C (expandToc): gettext on float names.
7307
7308 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7309
7310         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7311         implement bool empty() [bug 490]
7312
7313 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7316
7317 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * several files: ws changes
7320
7321 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * text2.C (setCounter): clean up a bit, use boost.format.
7324         (updateCounters): initialize par upon declaration.
7325
7326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7327         if the layout exists. We do not just store the layout any more.
7328         (SwitchLayoutsBetweenClasses): use boost.format
7329
7330 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7331
7332         * converter.C (convert): if from and to files are the same, use a
7333         temporary files as intermediary
7334
7335 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * commandtags.h:
7338         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7339
7340 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7341
7342         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7343
7344 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * tabular.C (asciiPrintCell): use string(size, char) instead of
7347         explicit loop.
7348
7349         * sgml.C (openTag): fix order of arguments to string constructor
7350         (closeTag): ditto
7351
7352         * lyxfunc.C (dispatch): use boost.format
7353
7354         * lots of files: change "c" -> 'c'
7355
7356 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7359
7360 2002-11-25  Angus Leeming  <leeming@lyx.org>
7361
7362         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7363
7364         * lyx_main.C (init): compile fix.
7365
7366 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * lyx_cb.C (start): boost.formatify
7369         do not include <iostream>
7370
7371         * lengthcommon.C: ws only
7372
7373         * boost-inst.C,BoostFormat.h: add more explict instantations
7374
7375 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * lots of files: handle USE_BOOST_FORMAT
7378
7379 2002-11-21  John Levon  <levon@movementarian.org>
7380
7381         * pspell.C: fix compile
7382
7383 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7384
7385         * lyxfunc.C (dispatch): use boost::format
7386         (open): ditto
7387         (doImport): ditto
7388
7389         * lyxfont.C (stateText): use boost::format
7390
7391         * lyx_main.C (LyX): use boost::format
7392         (init): ditto
7393         (queryUserLyXDir): ditto
7394         (readRcFile): ditto
7395         (parse_dbg): ditto
7396         (typedef boost::function): use the recommened syntax.
7397
7398         * importer.C (Import): use boost::format
7399
7400         * debug.C (showLevel): use boost::format
7401
7402         * converter.C (view): use boost::format
7403         (convert): ditto
7404         (move): ditto
7405         (scanLog): ditto
7406
7407         * bufferview_funcs.C (currentState): use boost::format
7408
7409         * bufferlist.C (emergencyWrite): use boost::format
7410
7411         * buffer.C (readLyXformat2): use boost::format
7412         (parseSingleLyXformat2Token): ditto
7413
7414         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7415
7416         * LaTeX.C (run): use boost::format
7417
7418         * Chktex.C (scanLogFile): use boost::format
7419
7420         * BufferView_pimpl.C (savePosition): use boost::format
7421         (restorePosition): ditto
7422         (MenuInsertLyXFile): ditto
7423
7424         * BoostFormat.h: help file for explicit instation.
7425
7426 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7427
7428         * tabular.C (latex): Support for block alignment in fixed width
7429         columns.
7430
7431 2002-11-17  John Levon  <levon@movementarian.org>
7432
7433         * BufferView_pimpl.C:
7434         * lyx_cb.C:
7435         * lyxfunc.C: split filedialog into open/save
7436
7437 2002-11-08  Juergen Vigna  <jug@sad.it>
7438
7439         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7440         by my last patch (hopefully).
7441
7442 2002-11-08  John Levon  <levon@movementarian.org>
7443
7444         * iterators.h:
7445         * iterators.C:
7446         * buffer.h:
7447         * buffer.C:
7448         * paragraph.h:
7449         * paragraph.C:
7450         * toc.h:
7451         * toc.C: ParConstIterator, and use it (from Lars)
7452
7453 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7454
7455         * lyxtextclass.[Ch]: revise and add doxygen comments
7456
7457 2002-11-07  John Levon  <levon@movementarian.org>
7458
7459         * text.C: fix progress value for spellchecker
7460
7461         * toc.C: fix navigate menu for insetwrap inside minipage
7462
7463         * paragraph_funcs.C: added FIXME for suspect code
7464
7465 2002-11-07  John Levon  <levon@movementarian.org>
7466
7467         * BufferView_pimpl.C: fix redrawing of insets
7468           on buffer switch
7469
7470 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7471
7472         * text2.C (updateCounters): fix bug 668
7473
7474 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7475
7476         * text3.C (dispatch): Do not make the buffer dirty when moving the
7477         cursor.
7478
7479 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * vc-backend.C: STRCONV
7482         (scanMaster): ditto
7483
7484         * text2.C (setCounter): STRCONV
7485
7486         * paragraph.C (asString): STRCONV
7487
7488         * lyxlength.C (asString): STRCONV
7489         (asLatexString): ditto
7490
7491         * lyxgluelength.C (asString): STRCONV
7492         (asLatexString): ditto
7493
7494         * lyxfunc.C (dispatch): STRCONV
7495         (open): ditto
7496
7497         * lyxfont.C (stateText): STRCONV
7498
7499         * importer.C (Import): STRCONV
7500
7501         * counters.C (labelItem): STRCONV
7502         (numberLabel): ditto
7503         (numberLabel): remove unused ostringstream o
7504
7505         * chset.C: STRCONV
7506         (loadFile): ditto
7507
7508         * bufferview_funcs.C (currentState): STRCONV
7509
7510         * buffer.C (readFile): STRCONV
7511         (asciiParagraph): ditto
7512         (makeLaTeXFile): ditto
7513
7514         * Spacing.C (writeEnvirBegin): STRCONV
7515
7516         * LaTeXFeatures.C (getLanguages): STRCONV
7517         (getPackages): ditto
7518         (getMacros): ditto
7519         (getBabelOptions): ditto
7520         (getTClassPreamble): ditto
7521         (getLyXSGMLEntities): ditto
7522         (getIncludedFiles): ditto
7523
7524         * LaTeX.C: STRCONV
7525         (run): ditto
7526         (scanAuxFile): ditto
7527         (deplog): ditto
7528
7529         * LString.h: add the STRCONV macros
7530
7531         * BufferView_pimpl.C (savePosition): STRCONV
7532         (restorePosition): ditto
7533         (MenuInsertLyXFile): ditto
7534
7535         * vc-backend.C (scanMaster): change from submatch[...] to
7536         submatch.str(...)
7537
7538         * funcrequest.C: include config.h
7539
7540         * factory.C: include config.h
7541
7542         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7543
7544         * box.C: include config.h
7545
7546         * LaTeX.C (scanAuxFile): change from submatch[...] to
7547         submatch.str(...)
7548         (deplog): ditto
7549
7550 2002-10-25  Angus Leeming  <leeming@lyx.org>
7551
7552         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7553
7554         * ispell.[Ch] (setError): new method.
7555         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7556         Use setError() insetead of goto END.
7557
7558         * lyx_cb.C (AutoSave): move out child process into new class
7559         AutoSaveBuffer.
7560
7561 2002-10-30  John Levon  <levon@movementarian.org>
7562
7563         * text3.C: make start appendix undoable
7564
7565 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7566
7567         * lyxlength.C (inPixels): Fix returned value.
7568
7569         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7570         environment.
7571
7572 2002-10-24  Angus Leeming  <leeming@lyx.org>
7573
7574         * lyxgluelength.h: no need to forward declare BufferParams
7575         or BufferView, so don't.
7576
7577 2002-10-21  John Levon  <levon@movementarian.org>
7578
7579         * BufferView.C: menuUndo ->undo, redo
7580
7581         * BufferView.h: document, remove dead, make some methods private
7582
7583         * paragraph_funcs.h:
7584         * paragraph_funcs.C:
7585         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7586
7587         * buffer.h:
7588         * buffer.C:
7589         * sgml.h:
7590         * sgml.C: move sgml open/close tag into sgml.C
7591
7592         * bufferview_funcs.h: unused prototype
7593
7594         * lyxfunc.h:
7595         * lyxfunc.C: remove unused
7596
7597         * lyxtext.h:
7598         * text.C: remove unused
7599
7600 2002-10-21  John Levon  <levon@movementarian.org>
7601
7602         * BufferView.h:
7603         * BufferView.C:
7604         * BufferView_pimpl.h:
7605         * BufferView_pimpl.C: fix mouse wheel handling based on
7606           patch from Darren Freeman
7607
7608 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7609
7610         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7611
7612 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7613
7614         * lyxlength.C (inPixels): Fix hanfling of negative length.
7615         Fix LyXLength::MU case.
7616
7617 2002-10-16  John Levon  <levon@movementarian.org>
7618
7619         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7620
7621 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7622
7623         * converter.C (view): add support for $$i (file name) and $$p
7624         (file path) for the viewer command. If $$i is not specified, then
7625         it is appended to the command (for compatibility with old syntax)
7626
7627 2002-10-14  Juergen Vigna  <jug@sad.it>
7628
7629         * undo_funcs.C (textHandleUndo): alter the order in which the
7630         new undopar is added to the LyXText, as we have to set first
7631         the right prev/next and then add it as otherwise the rebuild of
7632         LyXText is not correct. Also reset the cursor to the right paragraph,
7633         with this IMO we could remove the hack in "redoParagraphs()".
7634
7635 2002-10-09  Angus Leeming  <leeming@lyx.org>
7636
7637         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7638         to turn off an optimisation if a new inset is to be inserted.
7639
7640 2002-10-11 André Pönitz <poenitz@gmx.net>
7641
7642         * lyxtext.h: make some functions public to allow access
7643         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7644
7645 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7646
7647         * text3.C (dispatch): when changing layout, avoid an infinite loop
7648         [bug #652]
7649
7650 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7651
7652         * lyxrc.C (read): treat a viewer or converter command of "none" as
7653         if it were empty.
7654
7655         * MenuBackend.C (expandFormats): for an update, also allow the
7656         formats that are not viewable
7657
7658         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7659         script if it is newer than the lyxrc.defaults in user directory
7660
7661 2002-10-07 André Pönitz <poenitz@gmx.net>
7662
7663         * text.C: Vitaly Lipatov's small i18n fix
7664
7665 2002-09-25  Angus Leeming  <leeming@lyx.org>
7666
7667         * ispell.h: doxygen fix.
7668
7669 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7670
7671         * buffer.h (readFile): Add a new argument to the method, to allow
7672         reading of old-format templates.
7673
7674 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7675
7676         * toc.C (getTocList): Get TOC from InsetWrap.
7677
7678 2002-09-16  John Levon  <levon@movementarian.org>
7679
7680         * lyxfunc.C: check tabular for cut/copy too
7681
7682 2002-09-12  John Levon  <levon@movementarian.org>
7683
7684         * LyXAction.C: tidy
7685
7686         * factory.h:
7687         * factory.C: add header
7688
7689         * paragraph_funcs.h:
7690         * paragraph_funcs.C: cleanup
7691
7692 2002-09-11  John Levon  <levon@movementarian.org>
7693
7694         * PrinterParams.h: odd/even default to true
7695
7696 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7697
7698         * PrinterParams.h: update printer parameters for new xforms dialog
7699
7700 2002-09-11  Angus Leeming  <leeming@lyx.org>
7701
7702         * lyxserver.C (read_ready): re-write to make it more transparent
7703         and to make it work in coherent fashion under Tru64 Unix.
7704
7705 2002-09-11  André Pönitz <poenitz@gmx.net>
7706
7707         * commandtags.h:
7708         * LyXAction.C:
7709         * text3.C: implement LFUN_WORDSEL
7710
7711 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7714         make floatlist_ a boost::shared_ptr<FloatList>
7715
7716         * lyxtextclass.C: include FloatList.h
7717         (LyXTextClass): initialize floatlist_
7718         (TextClassTags): add TC_NOFLOAT
7719         (Read): match "nofloat" to TC_NOFLOAT and use it.
7720         (readFloat): modify call to floatlist_
7721         (floats): ditto
7722         (floats): ditto
7723
7724         * FloatList.[Ch] (FloatList): remove commented out float
7725         initialization.
7726         (erase): new function
7727
7728 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7729
7730         * MenuBackend.C (expandToc): fix crash when there is no document
7731         open
7732
7733 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7734
7735         * many files: Add insetwrap.
7736
7737 2002-09-09  John Levon  <levon@movementarian.org>
7738
7739         * text2.C: remove confusing and awkward depth wraparound
7740
7741 2002-09-09  John Levon  <levon@movementarian.org>
7742
7743         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7744
7745         * buffer.h:
7746         * buffer.C: remove getIncludeonlyList()
7747
7748         * paragraph.C:
7749         * lyxfunc.C: remove headers
7750
7751 2002-09-09  Juergen Vigna  <jug@sad.it>
7752
7753         * text.C (getColumnNearX): fix form Michael this is most
7754         probably a cut&paste bug.
7755
7756 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7759
7760         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7761         references, ws changes.
7762
7763         * text2.C (init): update counters after init
7764         (insertParagraph): no need to set counter on idividual paragraphs.
7765         (setCounter): access the counters object in the textclass object
7766         on in the buffer object.
7767         (updateCounters): ditto
7768
7769         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7770         shared_ptr<Counters> to avoid loading counters.h in all
7771         compilation units.
7772         (LyXTextClass): initialize ctrs_
7773         (TextClassTags): add TC_COUNTER, and ...
7774         (Read): use it here.
7775         (CounterTags): new tags
7776         (readCounter): new function
7777         (counters): new funtion
7778         (defaultLayoutName): return a const reference
7779
7780         * counters.C (Counters): remove contructor
7781         (newCounter): remove a couple of unneeded statements.
7782         (newCounter): simplify a bit.
7783         (numberLabel): some small formatting changes.
7784
7785         * buffer.[Ch]: remove all traces of counters, move the Counters
7786         object to the LyXTextClass.
7787
7788 2002-09-06  Alain Castera  <castera@in2p3.fr>
7789
7790         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7791         package to set the horizontal alignment on fixed width columns.
7792
7793         * lyx_sty.C:
7794         * lyx_sty.h: added tabularnewline macro def.
7795
7796         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7797
7798 2002-09-06  John Levon  <levon@movementarian.org>
7799
7800         * LyXAction.C: tooltips for sub/superscript
7801
7802         * MenuBackend.C: a bit more verbose
7803
7804         * lyxfunc.C: tiny clean
7805
7806         * undo_funcs.C: document undo_frozen
7807
7808 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * counters.C (Counters): add missing algorithm counter.
7811
7812         * text2.C (setCounter): lookup the counter with layouts latexname
7813         instead of by section number.
7814         (setCounter): use a hackish way to lookup the correct enum
7815         counter.
7816         a float name->type change
7817         reset enum couners with counter name directly instead of depth value.
7818
7819         * counters.C (Counters): remove the push_backs, change to use the
7820         float type not the float name.
7821         (labelItem): remove unused string, float name->type change
7822
7823         * counters.h: don't include vector, loose the enums and sects vectors
7824
7825 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7828         (Read): add float->TC_FLOAT to textclassTags
7829         (Read): and handle it in the switch
7830         (readFloat): new function
7831
7832         * FloatList.C (FloatList): comment out the hardcoded float
7833         definitions.
7834
7835         * lyxlayout.h: ws change.
7836
7837 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7838
7839         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7840
7841 2002-09-03  Angus Leeming  <leeming@lyx.org>
7842
7843         * BufferView_pimpl.h: qualified name is not allowed in member
7844         declaration: WorkArea & Pimpl::workarea() const;
7845
7846         * factory.C: added using std::endl directive.
7847
7848         * text3.C: added using std::find and std::vector directives.
7849
7850 2002-08-29  André Pönitz <poenitz@gmx.net>
7851
7852         * lyxtext.h:
7853         * text2.C: remove unused member number_of_rows
7854
7855         * Makefile.am:
7856         * BufferView2.C: remove file, move contents to...
7857         * BufferView.C: ... here
7858
7859         * BufferView_pimpl.C:
7860         * factory.C: move more inset creation to factory
7861
7862         * vspace.C: avoid direct usage of LyXText, ws changes
7863
7864         * BufferView.[Ch]:
7865                 don't provide direct access to WorkArea, use two simple
7866                 acessors haveSelction() and workHeight() instead
7867
7868
7869 2002-08-29  John Levon  <levon@movementarian.org>
7870
7871         * BufferView_pimpl.C (dispatch): do not continue when
7872           no buffer
7873
7874 2002-08-28  André Pönitz <poenitz@gmx.net>
7875
7876         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7877
7878         * BufferView.h:
7879         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7880
7881 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7882
7883         * buffer.C: increment LYX_FORMAT to 221
7884
7885         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7886         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7887
7888         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7889
7890         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7891
7892 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * factory.C (createInset): use LyXTextClass::floats
7895
7896         * MenuBackend.C (expandFloatListInsert):
7897         (expandFloatInsert):
7898         (expandToc):
7899
7900         * text2.C (setCounter):
7901
7902         * LaTeXFeatures.C (useFloat):
7903         (getFloatDefinitions):
7904
7905         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7906
7907         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7908         floatlist_, with accessor floats().
7909
7910         * FloatList.h: remove global FloatList
7911
7912 2002-08-26  André Pönitz <poenitz@gmx.net>
7913
7914         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7915
7916         * BufferView.h:
7917         * BufferView2.C:
7918         * BufferView_pimpl.C:
7919         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7920
7921 2002-08-25  John Levon  <levon@movementarian.org>
7922
7923         * LyXAction.C: fix margin note description
7924
7925 2002-08-24  John Levon  <levon@movementarian.org>
7926
7927         * buffer.C:
7928         * bufferlist.C:
7929         * bufferview_funcs.C:
7930         * lyxfont.C:
7931         * undo_funcs.C: cleanups
7932
7933         * lyxfunc.C: disable CUT/COPY when no selection
7934
7935 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7936
7937         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7938         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7939
7940         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7941         Add backward compatibility to "mono", "gray" and "no".
7942
7943 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7944
7945         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7946         (and file_format >= 200).
7947
7948 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7951
7952 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7955
7956 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7957
7958         * BufferView_pimpl.C:
7959         * LyXAction.C:
7960         * buffer.C:
7961         * commandtags.h:
7962         * lyxfunc.C:
7963         * paragraph.[Ch]:
7964         * text2.C:
7965         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7966         inset and code to make it  work with the paragraph code. The inset
7967         can be anywhere in the paragraph, but will only do the expected
7968         thing in LaTeX if the layout file contains the parameter line
7969                         OptionalArgs    1
7970         (or more generally, a nonzero value) for that layout.
7971
7972 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * paragraph.h: remove the declaration of undefined counters class
7975         function.
7976
7977 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7978
7979         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7980         Dr. Richard Hawkins.
7981
7982 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7983
7984         * paragraph_funcs.h: remove some unneeded includes
7985
7986         * text.C (backspace): pasteParagraph now in global scipe
7987
7988         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7989         (pasteSelection): ditto
7990
7991         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7992         * paragraph_funcs.C (pasteParagraph): ... here
7993
7994 2002-08-20  André Pönitz <poenitz@gmx.net>
7995
7996         * commandtags.h: new LFUNs for swapping/copying table row/colums
7997
7998         * LyXAction.C:
7999         * lyxfunc.C: support for new lfuns
8000
8001 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * tabular.C:
8004         * buffer.[Ch]: remove NO_COMPABILITY stuff
8005
8006 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * boost.C (throw_exception): new file, with helper function for
8009         boost compiled without exceptions.
8010
8011         * paragraph.h:
8012         * lyxlength.C:
8013         * buffer.C:
8014         * ParameterStruct.h:
8015         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8016
8017         * bufferlist.C (emergencyWriteAll): use boost bind
8018
8019         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8020
8021         * text.C: include paragraph_funcs.h
8022         (breakParagraph): breakParagraph is now in global scope
8023
8024         * paragraph_funcs.[Ch]: new files
8025
8026         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8027         global scope
8028
8029         * buffer.C: include paragraph_funcs.h
8030         (insertStringAsLines): breakParagraph is now in global scope
8031
8032         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8033         paragraph_funcs.C
8034
8035         * CutAndPaste.C: include paragraph_funcs.h
8036         (cutSelection): breakParagraphConservative is now in global scope
8037         (pasteSelection): ditto
8038
8039         * buffer.h: declare oprator== and operator!= for
8040         Buffer::inset_iterator
8041
8042         * bufferlist.C (emergencyWrite): don't use fmt(...)
8043
8044         * text3.C: add using std::endl
8045
8046         * BufferView.C (moveCursorUpdate): remove default arg
8047
8048 2002-08-20  André Pönitz <poenitz@gmx.net>
8049
8050         * buffer.[Ch]: move inline functions to .C
8051
8052         * BufferView2.C:
8053         * BufferView_pimpl.C:
8054         * text.C:
8055         * buffer.[Ch]: use improved inset_iterator
8056
8057         * buffer.C:
8058         * paragraph.[Ch]: write one paragraph at a time
8059
8060 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8061
8062         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8063         style if style is not specified.
8064
8065 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * text2.C (setCounter): when searching for right label for a
8068         caption, make sure to recurse to parent insets (so that a caption
8069         in a minipage in a figure float works) (bug #568)
8070
8071 2002-08-20  André Pönitz <poenitz@gmx.net>
8072
8073         * text3.C: new file for LyXText::dispatch() and helpers
8074
8075         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8076
8077         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8078
8079 2002-08-19  André Pönitz <poenitz@gmx.net>
8080
8081         * lyxtext.h:
8082         * text.C: new LyXText::dispatch()
8083
8084         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8085
8086 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8089
8090         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8091         Hebrew text.
8092
8093 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * Makefile.am: use $(variables) instead of @substitutions@
8096
8097 2002-08-15  André Pönitz <poenitz@gmx.net>
8098
8099         * lyxfunc.C:
8100         * BufferView_pimpl.C: streamlining mathed <-> outer world
8101         interaction
8102
8103         * commandtags.h:
8104         * LyXAction.C: remove unused LFUN_MATH
8105
8106 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8109
8110 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * paragraph.C (Paragraph): reformat a bit
8113         (cutIntoMinibuffer): use builtin InsetList function instad of
8114         doing it manually.
8115         (getInset): ditto
8116
8117         * buffer.C: include boost/bind.hpp, add using std::for_each
8118         (writeFileAscii): use ParagraphList iterators
8119         (validate): use for_each for validate traversal of paragraphs
8120         (getBibkeyList): use ParagraphList iterators
8121         (resizeInsets): use for_each to resizeInsetsLyXText for all
8122         paragraphs.
8123         (getParFromID): use ParagraphList iterators
8124
8125         * BufferView2.C (lockInset): use paragraph list and iterators
8126
8127 2002-08-14  John Levon  <levon@movementarian.org>
8128
8129         * lyxserver.C: remove spurious xforms include
8130
8131 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8132
8133         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8134
8135 2002-08-13  André Pönitz <poenitz@gmx.net>
8136
8137         * LyXAction.[Ch]:
8138         * lyxfunc.C: further cleaning
8139
8140 2002-08-13  André Pönitz <poenitz@gmx.net>
8141
8142         * funcrequest.h: new constructor
8143
8144         * funcrequest.C: move stuff here from .h
8145
8146         * Makefile.am:
8147         * BufferView_pimpl.C:
8148         * LyXAction.C:
8149         * toc.C:
8150         * lyxfunc.C: subsequent changes
8151
8152         * lyxfunc.h: new view() member function
8153
8154         * lyxfunc.C: subsequent changes
8155
8156 2002-08-13  Angus Leeming  <leeming@lyx.org>
8157
8158         * BufferView2.C:
8159         * BufferView_pimpl.C:
8160         * buffer.C:
8161         * converter.C:
8162         * importer.C:
8163         * lyxfunc.C:
8164         * lyxvc.C:
8165         * toc.C:
8166         * vc-backend.C:
8167         changes due to the changed LyXView interface that now returns references
8168         to member variables not pointers.
8169
8170 2002-08-13  Angus Leeming  <leeming@lyx.org>
8171
8172         * WordLangTuple (word, lang_code): return references to strings,
8173         not strings.
8174
8175         * BufferView.h:
8176         * SpellBase.h:
8177         * lyxtext.h: forward-declare WordLangTuple.
8178
8179         * BufferView2.C:
8180         * ispell.C:
8181         * pspell.C:
8182         * text.C: #include "WordLangTuple.h".
8183
8184         * lyxtext.h:
8185         * text.C: (selectNextWordToSpellcheck): constify return type.
8186
8187 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8188
8189         * buffer.C:
8190         * buffer.h:
8191         * lyxtext.h:
8192         * paragraph.C:
8193         * paragraph_pimpl.h:
8194         * text.C:
8195         * text2.C:
8196         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8197         suggested by Angus.
8198         Made updateCounter always count from start of buffer, and removed
8199         second argument (par).
8200         Reverted floats number display to '#'. Perhaps I'll try again when the
8201         code base is sanitized a bit.
8202
8203 2002-08-12  Angus Leeming  <leeming@lyx.org>
8204
8205         * buffer.[Ch] (getLabelList): constify.
8206
8207 2002-08-07  André Pönitz <poenitz@gmx.net>
8208
8209         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8210
8211         * funcrequest.h: extension to keep mouse (x,y) position
8212
8213 2002-08-12  Juergen Vigna  <jug@sad.it>
8214
8215         * BufferView2.C (insertErrors): forbid undo when inserting error
8216         insets.
8217
8218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8219
8220 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * ParagraphList.[Ch]: new files
8223
8224         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8225
8226         * BufferView2.C (lockInset): ParagraphList changes
8227         * toc.C: ditto
8228         * text2.C: ditto
8229         * bufferlist.C: ditto
8230         * buffer.h: ditto
8231         * buffer.C: ditto
8232
8233 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8236         unused class variable counter_,
8237
8238         * paragraph.[Ch] (getFirstCounter): delete unused function
8239
8240         * counters.C: include LAssert.h
8241         (reset): add a new function with no arg, change other version to
8242         not have def. arg and to not allow empty arg.
8243
8244         * text2.C (setCounter): remove empty arg from call to Counters::reset
8245
8246 2002-08-11  John Levon  <levon@movementarian.org>
8247
8248         * Makefile.am: add WordLangTuple.h
8249
8250 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8253         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8254
8255         * insets/insettext.C: InsetList changes
8256
8257         * graphics/GraphicsSupport.C (operator()): InsetList changes
8258
8259         * toc.C (getTocList): InsetList changes
8260
8261         * paragraph_pimpl.[Ch]: InsetList changes
8262
8263         * paragraph.[Ch]: InsetList changes
8264
8265         * buffer.C (inset_iterator): InsetList changes
8266         (setParagraph): ditto
8267         * buffer.h (inset_iterator): ditto
8268         * iterators.C (operator++): ditto
8269         * iterators.h: ditto
8270
8271         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8272
8273         * InsetList.[Ch]: new files, most InsetList handling moved out of
8274         paragraph.C.
8275
8276         * BufferView2.C (removeAutoInsets): InsetList changes
8277         (lockInset): ditto
8278         (ChangeInsets): ditto
8279
8280 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * paragraph_pimpl.h (empty): new function
8283
8284         * paragraph.[Ch] (empty): new function
8285
8286         * other files: use the new Paragraph::empty function
8287
8288 2002-08-09  John Levon  <levon@movementarian.org>
8289
8290         * lyxtext.h: remove unused refresh_height
8291
8292 2002-08-09  John Levon  <levon@movementarian.org>
8293
8294         * Makefile.am:
8295         * sgml.h:
8296         * sgml.C:
8297         * buffer.C:
8298         * paragraph.h:
8299         * paragraph.C: move sgml char escaping out of paragraph
8300
8301         * paragraph.h:
8302         * paragraph.C: remove id setter
8303
8304         * buffer.C:
8305         * paragraph.C:
8306         * paragraph_pimpl.C: remove dead tex_code_break_column
8307
8308         * bufferview_funcs.C: small cleanup
8309
8310         * lyxfunc.C: remove dead proto
8311
8312         * lyxtext.h: make some stuff private. Remove some dead stuff.
8313
8314         * lyxgluelength.C: make as[LyX]String() readable
8315
8316 2002-08-08  John Levon  <levon@movementarian.org>
8317
8318         * LyXAction.h:
8319         * LyXAction.C:
8320         * MenuBackend.C:
8321         * ToolbarDefaults.C:
8322         * lyxfunc.C:
8323         * lyxrc.C:
8324         * toc.C: lyxaction cleanup
8325
8326 2002-08-08  John Levon  <levon@movementarian.org>
8327
8328         * BufferView2.C: small cleanup
8329
8330         * lyxfind.h:
8331         * lyxfind.C: move unnecessary header into the .C
8332
8333 2002-08-08  John Levon  <levon@movementarian.org>
8334
8335         * funcrequest.h: just tedious nonsense
8336
8337         * lyx_main.h:
8338         * lyx_main.C: cleanups
8339
8340         * buffer.C:
8341         * vspace.C: remove dead header lyx_main.h
8342
8343 2002-08-07  Angus Leeming  <leeming@lyx.org>
8344
8345         * Paragraph.[Ch]:
8346         * paragraph_pimpl.h:
8347         Forward declare class Counters in paragraph.h by moving the ctrs member
8348         variable into Paragraph::Pimpl.
8349         (counters): new method, returning a reference to pimpl_->ctrs.
8350
8351         * text2.C: ensuing changes.
8352
8353 2002-08-07  John Levon  <levon@movementarian.org>
8354
8355         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8356
8357         * BufferView_pimpl.C: announce X selection on double/triple
8358           click
8359
8360         * lyx_main.C: use correct bool in batch dispatch
8361
8362         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8363
8364 2002-08-07  André Pönitz <poenitz@gmx.net>
8365
8366         * funcrequest.h: new class to wrap a kb_action and its argument
8367
8368         * BufferView.[Ch]:
8369         * BufferView_pimpl[Ch]:
8370         * LaTeX.C:
8371         * LyXAction.[Ch]:
8372         * lyxfunc.[Ch]:
8373         * lyxrc.C: subsequent changes
8374
8375
8376 2002-08-07  John Levon  <levon@movementarian.org>
8377
8378         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8379           document options change.
8380
8381 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8382
8383         * counters.[Ch]
8384         * text2.C
8385         * paragraph.[Ch]
8386         * makefile.am: move counters functionality over from
8387         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8388
8389 2002-08-06  John Levon  <levon@movementarian.org>
8390
8391         * WordLangTuple.h: new file for word + language code tuple
8392
8393         * SpellBase.h:
8394         * pspell.h:
8395         * pspell.C:
8396         * ispell.h:
8397         * ispell.C:
8398         * lyxtext.h:
8399         * text.C:
8400         * text2.C:
8401         * BufferView.h:
8402         * BufferView2.C: use WordLangTuple
8403
8404         * layout.h:
8405         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8406
8407 2002-08-06  John Levon  <levon@movementarian.org>
8408
8409         * lyx_main.C: fix cmdline batch handling
8410
8411 2002-08-06  André Pönitz <poenitz@gmx.net>
8412
8413         * lyxrc.C: set default for show_banner to true
8414
8415 2002-08-06  John Levon  <levon@movementarian.org>
8416
8417         * pspell.C: fix a crash, and allow new aspell to work
8418
8419 2002-08-06  John Levon  <levon@movementarian.org>
8420
8421         * lyxfunc.C:
8422         * kbmap.C: small cleanup
8423
8424         * vspace.h:
8425         * vspace.C: add const
8426
8427 2002-08-05  John Levon  <levon@movementarian.org>
8428
8429         * LyXAction.C: back to tabular-insert
8430
8431 2002-08-04  John Levon  <levon@movementarian.org>
8432
8433         * BufferView.h:
8434         * BufferView.C: cosmetic change
8435
8436         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8437
8438         * bufferlist.C:
8439         * buffer.h:
8440         * buffer.C:
8441         * lyxcb.h:
8442         * lyxcb.C:
8443         * lyxserver.C:
8444         * lyxvc.C:
8445         * vc-backend.C:
8446         * BufferView2.C: purge all "Lyx" not "LyX" strings
8447
8448         * lyxcursor.h:
8449         * lyxcursor.C: attempt to add some documentation
8450
8451         * lyxfunc.C:
8452         * commandtags.h:
8453         * LyXAction.C:
8454         * ToolbarDefaults.C:
8455         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8456           merge with LFUN_TABULAR_INSERT
8457
8458         * Makefile.am:
8459         * SpellBase.h:
8460         * ispell.h:
8461         * ispell.C:
8462         * pspell.h:
8463         * pspell.C: split up i/pspell implementations into separate
8464           files, many cleanups
8465
8466         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8467
8468         * text2.C: some cleanup
8469
8470         * lyxfunc.C: don't check for isp_command == "none" any more, it
8471           didn't make any sense
8472
8473 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8474
8475         * counters.[Ch]
8476         * text2.C
8477         * paragraph.[Ch]
8478         * makefile.am: move counters functionality over
8479         from text2.C/paragraph.[Ch] to counters.[Ch], and
8480         make proper C++.
8481 2002-08-02  John Levon  <levon@movementarian.org>
8482
8483         * buffer.C: s/lyxconvert/lyx2lyx/
8484
8485 2002-08-02  Angus Leeming  <leeming@lyx.org>
8486
8487         * lyxlex.C: revert John's change as it breaks reading of the user
8488         preamble.
8489
8490 2002-08-02  Angus Leeming  <leeming@lyx.org>
8491
8492         * importer.C (Import):
8493         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8494         changes due to LyXView::view() now returning a boost::shared_ptr.
8495
8496 2002-08-02  John Levon  <levon@movementarian.org>
8497
8498         * lyxlex.C: small cleanup
8499
8500 2002-08-02  John Levon  <levon@movementarian.org>
8501
8502         * text2.C (status): small cleanup, no logic change
8503
8504 2002-08-01  John Levon  <levon@movementarian.org>
8505
8506         * buffer.h:
8507         * buffer.C (writeFile): don't output alerts, caller
8508           handles this
8509
8510         * bufferlist.C:
8511         * lyx_cb.C: from above
8512
8513         * lyxfunc.C: allow to open non-existent files
8514
8515 2002-07-31  John Levon  <levon@movementarian.org>
8516
8517         * lyxserver.C: don't let incidental errors get
8518           in the way (errno)
8519
8520 2002-07-30  John Levon  <levon@movementarian.org>
8521
8522         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8523
8524 2002-07-30  John Levon  <levon@movementarian.org>
8525
8526         * lyxserver.h:
8527         * lyxserver.C: remove I/O callback too
8528
8529 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8532         log.
8533
8534 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * many files: strip,frontStrip -> trim,ltrim,rtrim
8537
8538 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * PrinterParams.h: remove extern containsOnly, and include
8541         support/lstrings.h instead.
8542
8543         * LaTeX.C (scanAuxFile): modify because of strip changes
8544         (deplog): ditto
8545         * buffer.C (makeLaTeXFile): ditto
8546         * bufferparams.C (writeFile): ditt
8547         * lyxfont.C (stateText): ditto
8548         * lyxserver.C (read_ready): ditto
8549         * vc-backend.C (scanMaster): ditto
8550
8551         * BufferView_pimpl.h: ws changes
8552
8553         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8554
8555 2002-07-26  André Pönitz <poenitz@gmx.net>
8556
8557         * kb_sequence.C: remove unnedred usings
8558
8559 2002-07-26  Juergen Vigna  <jug@sad.it>
8560
8561         * lyxfind.C (LyXReplace): we have to check better if the returned
8562         text is not of theLockingInset()->getLockingInset().
8563
8564 2002-07-25  Juergen Vigna  <jug@sad.it>
8565
8566         * lyxfind.C (LyXReplace): don't replace if we don't get the
8567         right LyXText.
8568
8569         * undo_funcs.C (createUndo): remove debugging code.
8570
8571 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8572
8573         * buffer.C (parseSingleLyXformat2Token): Use default placement
8574         when reading old floats.
8575
8576         * FloatList.C (FloatList): Change the default placement of figure
8577         and tables to "tbp".
8578
8579 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8580
8581         * MenuBackend.C: using std::max
8582
8583 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8584
8585         * MenuBackend.C (expandToc):
8586         (expandToc2): code moved from xforms menu frontend. It is now
8587         generic and TOCs are transparent to menu frontends.
8588
8589 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8590
8591         * toc.C (getTocList): protect against buf=0
8592
8593         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8594         Menu as first parameter. Now, this calls itself recursively to
8595         expand a whole tree (this will be useful for TOC handling)
8596         (expandFloatInsert): remove 'wide' version of floats
8597
8598         * MenuBackend.h (submenuname): returns the name of the submenu.
8599         (submenu): returns the submenu itself, provided it has been
8600         created by MenuBackend::expand
8601
8602 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8603
8604         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8605         insets which have noFontChange == true. (bug #172)
8606
8607 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8608
8609         * BufferView_pimpl.C: add connection objects and use them...
8610         (Pimpl): here.
8611
8612 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8613
8614         * MenuBackend.C (expandLastfiles):
8615         (expandDocuments):
8616         (expandFormats):
8617         (expandFloatListInsert):
8618         (expandFloatInsert):
8619         (expand): split expand in parts
8620
8621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * lyx_gui.C: use lyx_gui::exit()
8624
8625 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8626
8627         * LyXAction.C: show the failing pseudo action
8628
8629 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8630
8631         * buffer.C (readFile): Run the lyxconvert script in order to read
8632         old files.
8633
8634 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * LyXAction.C:
8637         * commandtags.h:
8638         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8639
8640 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * LyXAction.C:
8643         * commandtags.h:
8644         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8645
8646 2002-07-22  Herbert Voss  <voss@lyx.org>
8647
8648         * lengthcommon.C:
8649         * lyxlength.[Ch]: add support for the vertical lengths
8650
8651 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8652
8653         * toc.[Ch]: std:: fixes
8654
8655 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8656
8657         * lyxrc.C: do not include lyx_main.h
8658
8659         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8660         for layouts
8661
8662         * lyxrc.C:
8663         * encoding.C:
8664         * bufferlist.C:
8665         * BufferView2.C: include "lyxlex.h"
8666
8667         * tabular.h:
8668         * bufferparams.h: do not #include "lyxlex.h"
8669
8670         * lyxtextclasslist.C (Add): remove method
8671         (classlist): renamed to classlist_
8672
8673         * paragraph_pimpl.C:
8674         * paragraph.C:
8675         * text2.C:
8676         * CutAndPaste.C:
8677         * bufferview_funcs.C:
8678         * bufferlist.C:
8679         * text.C:
8680         * LaTeXFeatures.C:
8681         * buffer.C:
8682         * toc.C (getTocList): use BufferParams::getLyXTextClass
8683
8684         * toc.C (getTocList): use InsetFloat::addToToc
8685
8686         * toc.[Ch]: new files, containing helper functions to handle table
8687         of contents
8688
8689         * lyxfunc.C (dispatch): no need to remove spaces around command
8690         given as a string
8691         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8692         first command of the sequence; it is not very clever, but I do not
8693         have a better idea, actually
8694
8695         * LyXAction.C (LookupFunc): make sure to remove space at the
8696         beginning and end of the command
8697
8698 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8699
8700         * MenuBackend.C (getMenubar): new method: return the menubar of
8701         this menu set
8702         (read): treat differently reading of menu and menubar (in
8703         particular, the menubar has no name now)
8704         (Menu::menubar): remove
8705
8706         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8707         saving is finished
8708
8709 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8712         a bibitem inset in a RTL paragraph.
8713
8714 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8715
8716         * paragraph_pimpl.C: constify
8717
8718         * BufferView_pimpl.C:
8719         * LaTeX.C:
8720         * lyxfunc.C: fix dispatch in a nicer way
8721
8722 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * lyxfunc.C (dispatch):
8725         * BufferView_pimpl.C:
8726         * BufferView_pimpl.h:
8727         * BufferView.C:
8728         * BufferView.h: rename Dispatch() to dispatch()
8729
8730         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8731
8732         * lyxlayout.C (Read): honor DependsOn tag
8733
8734         * lyxlayout.[Ch] (depends_on): new method
8735
8736         * version.C.in: update lyx_docversion
8737
8738         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8739
8740         * paragraph.C (validate): remove from here...
8741         * paragraph_pimpl.C (validate): ... and move here
8742         (isTextAt): make it const
8743
8744         * buffer.C (getLists): ws cleanup
8745
8746 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8747
8748         * language.C (read): Use iso8859-1 encoding in latex_lang
8749         (this prevents LyX from crashing when using iso10646-1 encoding).
8750
8751 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * text2.C (toggleInset): if cursor is inside an inset, close the
8754         inset and leave cursor _after_ it
8755
8756 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * lyxfunc.C: move minibuffer completion handling out of here
8759
8760 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8761
8762         * BufferView_pimpl.C:
8763         * LaTeX.C: fix dispatch calls
8764
8765 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8766
8767         * text.C (drawChars): Fix Arabic text rendering.
8768
8769 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * LyXAction.C:
8772         * commandtags.h:
8773         * lyxfunc.C: remove message-push/pop
8774
8775         * lyxserver.C:
8776         * lyxfunc.h:
8777         * lyxfunc.C: rationalise some code by removing verboseDispatch
8778           in favour of a bool argument to dispatch()
8779
8780 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * lyx_main.C (init): make sure to read symlinks as absolute paths
8783
8784 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * lyxfunc.h:
8787         * lyxfunc.C: no need for commandshortcut to be a member
8788
8789 2002-07-15  André Pönitz <poenitz@gmx.net>
8790
8791         * converter.C: add support for $$s (scripts from lib/scripts dir)
8792         * lyx_main.C: white space
8793
8794 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8795
8796         * bufferlist.C:
8797         * lyxrc.h:
8798         * lyxrc.C: remove second exit confirmation
8799
8800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8801
8802         * BufferView.h:
8803         * BufferView.C:
8804         * BufferView2.C:
8805         * BufferView_pimpl.h:
8806         * BufferView_pimpl.C:
8807         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8808
8809 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * MenuBackend.C (expand): add numeric shortcuts to document menu
8812
8813         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8814
8815 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * lyxfont.C (setLyXFamily):
8818         (setLyXSeries):
8819         (setLyXShape):
8820         (setLyXSize):
8821         (setLyXMisc):
8822         (lyxRead):
8823         * debug.C (value):
8824         * buffer.C (asciiParagraph): use ascii_lowercase
8825
8826 2002-07-15  Mike Fabian  <mfabian@suse.de>
8827
8828         * lyxlex_pimpl.C (search_kw):
8829         * lyxlex.C (getLongString):
8830         * converter.h (operator<):
8831         * converter.C (operator<):
8832         * buffer.C (parseSingleLyXformat2Token):
8833         (asciiParagraph):
8834         * ToolbarDefaults.C (read):
8835         * MenuBackend.C (checkShortcuts):
8836         (read):
8837         * LColor.C (getFromGUIName):
8838         (getFromLyXName): use the compare_ascii_no_case instead of
8839         compare_no_case, because in turkish, 'i' is not the lowercase
8840         version of 'I', and thus turkish locale breaks parsing of tags.
8841
8842 2002-07-16  Angus Leeming  <leeming@lyx.org>
8843
8844         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8845         now takes a Buffer const & argument.
8846
8847 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8848
8849         * BufferView.C (resize): check there's a buffer to resize
8850
8851 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * lyxfunc.C: remove dead code
8854
8855         * lyxserver.h:
8856         * lyxserver.C: use lyx_guii::set_read_callback
8857
8858 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8859
8860         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8861         an inset in a RTL paragraph.
8862
8863 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * lyxfunc.C: repaint after a font size update
8866
8867 2002-07-15  André Pönitz <poenitz@gmx.net>
8868
8869         * lyxlength.C: inBP should be able to return negative values
8870
8871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * lyxfunc.C: use lyx_gui::update_fonts()
8874
8875 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * lyxfunc.C: use lyx_gui::update_color()
8878
8879 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * bufferlist.C:
8882         * lyxfunc.h:
8883         * lyxfunc.C:
8884         * lyxrc.h:
8885         * lyxrc.C: remove file->new asks for name option, and let
8886           buffer-new take an argument
8887
8888 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * BufferView_pimpl.C: remove unneeded extra repaint()
8891
8892 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * LyXAction.C: allow command-sequence with NoBuffer
8895
8896         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8897
8898 2002-07-10  Angus Leeming  <leeming@lyx.org>
8899
8900         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8901
8902 2002-07-09  Angus Leeming  <leeming@lyx.org>
8903
8904         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8905
8906 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8907
8908         * lengthcommon.h: whitespace
8909
8910         * lyxfunc.C: update scrollbar after goto paragraph
8911
8912         * lyxtext.h: factor out page break drawing, and fix it so
8913           page break/added space paints as selected nicely
8914
8915 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * BufferView_pimpl.C: add FIXMEs, clean up a little
8918
8919 2002-07-09  André Pönitz <poenitz@gmx.net>
8920
8921         * lyxfont.[Ch]: support for wasy symbols
8922
8923 2002-07-08  André Pönitz <poenitz@gmx.net>
8924
8925         * BufferView_pimpl.C: apply John's patch for #93.
8926
8927 2002-07-05  Angus Leeming  <leeming@lyx.org>
8928
8929         * BufferView_pimpl.C (buffer): generate previews if desired.
8930
8931         * LColor.h: add "preview" to the color enum.
8932
8933         * LColor.C (LColor): add a corresponding entry to the items array.
8934
8935         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8936         with this buffer.
8937
8938 2002-07-05  Angus Leeming  <leeming@lyx.org>
8939
8940         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8941         The body of the code is now in the method that is passed an ostream &
8942         rather than a file name.
8943         Pass an additional only_preamble parameter, useful for the forthcoming
8944         preview stuff.
8945
8946 2002-07-03  André Pönitz <poenitz@gmx.net>
8947
8948         * lyxfunc.C: simplify getStatus() a bit for math stuff
8949
8950 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8953
8954 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * text.C (changeRegionCase): do not change case of all the
8957         document when region ends at paragraph end (bug #461)
8958
8959 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * paragraph.C (startTeXParParams):
8962         (endTeXParParams): add \protect when necessary
8963
8964 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * BufferView_pimpl.C (workAreaExpose): remove warning
8967
8968 2002-06-27  Angus Leeming  <leeming@lyx.org>
8969
8970         * Makefile.am: add lyxlayout_ptr_fwd.h.
8971
8972 2002-06-26  André Pönitz <poenitz@gmx.net>
8973
8974         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8975
8976 2002-06-25  Angus Leeming  <leeming@lyx.org>
8977
8978         * lyxfunc.C (dispatch): Comment out the call to
8979         grfx::GCache::changeDisplay. The method no longer exists now that the
8980         pixmap generation part of the graphics loader has been moved into
8981         InsetGraphics.
8982
8983 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8984
8985         * text2.C: layout as layout
8986
8987         * text.C: layout as layout
8988
8989         * tabular.C (OldFormatRead): layout as layout
8990
8991         * paragraph_pimpl.C (TeXDeeper): layout as layout
8992         (realizeFont): layout as layout
8993
8994         * paragraph.C (writeFile): layout as layout
8995         (validate): layout as layout
8996         (getFont): layout as layout
8997         (getLabelFont): layout as layout
8998         (getLayoutFont): layout as layout
8999         (breakParagraph): layout as layout
9000         (stripLeadingSpaces): layout as layout
9001         (getEndLabel): layout as layout
9002         (getMaxDepthAfter): layout as layout
9003         (applyLayout): layout as layout
9004         (TeXOnePar): layout as layout
9005         (simpleTeXOnePar): layout as layout
9006         (TeXEnvironment): layout as layout
9007         (layout): layout as layout
9008         (layout): layout as layout
9009
9010         * lyxtextclass.C (compare_name): new functor to work with
9011         shared_ptr, layout as layout
9012         (Read): layout as layout
9013         (hasLayout): layout as layout
9014         (operator): layout as layout
9015         (delete_layout): layout as layout
9016         (defaultLayout): layout as layout
9017
9018         * lyxlayout_ptr_fwd.h: new file
9019
9020         * lyxlayout.C (Read): layout as layout
9021
9022         * lyx_cb.C (MenuInsertLabel): layout as layout
9023
9024         * bufferlist.C (newFile): layout as layout
9025
9026         * buffer.C (readLyXformat2): layout as layout
9027         (parseSingleLyXformat2Token): layout as layout
9028         (insertStringAsLines): layout as layout
9029         (asciiParagraph): layout as layout
9030         (latexParagraphs): layout as layout
9031         (makeLinuxDocFile): layout as layout
9032         (simpleLinuxDocOnePar): layout as layout
9033         (makeDocBookFile): layout as layout
9034         (simpleDocBookOnePar): layout as layout
9035         (getLists): layout as layout
9036
9037         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9038
9039         * CutAndPaste.C (cutSelection): layout as layout
9040         (pasteSelection): layout as layout
9041         (SwitchLayoutsBetweenClasses): layout as layout
9042
9043         * BufferView_pimpl.C (Dispatch): layout as layout
9044         (smartQuote): layout as layout
9045
9046         * BufferView2.C (unlockInset): layout as layout
9047
9048 2002-06-24  André Pönitz <poenitz@gmx.net>
9049
9050         * lyxfunc.C: fix #487
9051
9052 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9053
9054         * lyxrc.h:
9055         * lyxrc.C:
9056         * lyxfunc.C: remove display_shortcuts, show_banner
9057
9058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * Buffer_pimpl.C: oops, update on resize
9061
9062 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9063
9064         * buffer.C:
9065         * converter.C:
9066         * exporter.C:
9067         * lyxfunc.C:
9068         * BufferView.h:
9069         * BufferView.C: use repaint()
9070
9071         * BufferView_pimpl.h:
9072         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9073           as it's a clearer description. Remove superfluous
9074           redraws.
9075
9076 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * text.C: fix bug 488. Not ideal, but getting
9079           getWord() to work properly for the insets that
9080           matter is more difficult ...
9081
9082 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * BufferView_pimpl.C:
9085         * LyXAction.C:
9086         * commandtags.h:
9087         * lyxfunc.C: remove the six million index lyxfuncs to just
9088           one, and DTRT (bug 458)
9089
9090 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * BufferView.h:
9093         * BufferView.C:
9094         * BufferView_pimpl.h:
9095         * BufferView_pimpl.C: clean up resize() stuff,
9096           and unnecessary updateScreen()s
9097
9098 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * BufferView.h:
9101         * BufferView.C:
9102         * BufferView_pimpl.h:
9103         * BufferView_pimpl.C:
9104         * lyxfind.h:
9105         * lyxfind.C:
9106         * minibuffer.C: remove focus management of workarea,
9107           not needed. Use screen's greyOut()
9108
9109 2002-06-17  Herbert Voss  <voss@lyx.org>
9110
9111         * converter.C: (convert) do not post a message, when converting
9112         fails, let the calling function decide what to do in this case
9113
9114 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * lyxfunc.C: tidy up a little
9117
9118 2002-06-16    <alstrup@diku.dk>
9119
9120         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9121         Got rid of FORMS_H_LOCATION include. Now we are
9122         GUII.
9123
9124 2002-06-15  LyX Development team  <lyx@rilke>
9125
9126         * buffer.[Ch] (sgmlOpenTag):
9127         (sgmlCloseTag): Added support for avoiding pernicious mixed
9128         content. Return number of lines written.
9129
9130         (makeLinuxDocFile):
9131         (makeDocBookFile): Fixed calls to sgml*Tag.
9132         Simple white space clean.
9133
9134         (simpleDocBookOnePar): Simple white space clean.
9135
9136         * tabular.[Ch] (docBook): Renamed to docbook and got another
9137         argument to related with the pernicious mixed content.
9138
9139         (docbookRow): Fixed calls for docbook inset method.
9140
9141 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9142
9143         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9144         so it's X11 independent.
9145
9146         * kb*.[Ch]: ditto.
9147
9148         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9149
9150 2002-06-15  Lyx Development team  <lyx@electronia>
9151
9152         * intl.h: Renamed getTrans to getTransManager.
9153
9154 2002-06-14  Angus Leeming  <leeming@lyx.org>
9155
9156         * Makefile.am: nuke forgotten stl_string_fwd.h.
9157
9158 2002-06-12  Angus Leeming  <leeming@lyx.org>
9159
9160         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9161
9162 2002-06-13  Angus Leeming  <leeming@lyx.org>
9163
9164         * LaTeX.C:
9165         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9166
9167 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9168
9169         * kbmap.C (getiso): add support for cyrillic and greek
9170
9171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * BufferView.h:
9174         * BufferView.C:
9175         * BufferView_pimpl.h:
9176         * BufferView_pimpl.C: move bogus scrolling logic
9177           to xforms
9178
9179 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9180
9181         * lyxfunc.C:
9182         * BufferView_pimpl.C: view->resize() change
9183
9184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * BufferView_pimpl.C: topCursorVisible
9187           prototype change
9188
9189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * Makefile.am:
9192         * lyx_gui.h:
9193         * lyx_gui.C: move to frontends/
9194
9195         * main.C:
9196         * lyx_main.h:
9197         * lyx_main.C: changes from above
9198
9199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9200
9201         * intl.C:
9202         * intl.h:
9203         * kbmap.C:
9204         * kbsequence.C:
9205         * lyx_cb.C:
9206         * lyx_main.C: minor tidy
9207
9208 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9209
9210         * BufferView_pimpl.h:
9211         * BufferView_pimpl.C:
9212         * BufferView.h:
9213         * BufferView.C: make painter() const,
9214           remove dead code
9215
9216         * BufferView2.C: use screen() accessor
9217
9218         * lyx_main.h:
9219         * lyx_main.C: some minor cleanup
9220
9221 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9222
9223         * BufferView_pimpl.h:
9224         * BufferView_pimpl.C: remove enter/leaveView,
9225           use workHeight()
9226
9227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * BufferView.h:
9230         * BufferView.C:
9231         * BufferView2.C:
9232         * BufferView_pimpl.h:
9233         * BufferView_pimpl.C: only construct screen once,
9234           rename
9235
9236         * lyxrc.C: remove pointless comment
9237
9238 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * BufferView.h:
9241         * BufferView.C: remove active() and belowMouse()
9242
9243         * BufferView_pimpl.h:
9244         * BufferView_pimpl.C: use workarea() not workarea_,
9245           and make it use a scoped_ptr instead
9246
9247 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * lyx_gui.C: add debug message on BadWindow
9250
9251 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9252
9253         * sp_spell.C: fdopen is not part of the C++ standard.
9254
9255         * paragraph.C (InsetIterator): use >= instead of ==
9256
9257 2002-06-07  Angus Leeming  <leeming@lyx.org>
9258
9259         Fixes needed to compile with Compaq cxx 6.5.
9260         * BufferView_pimpl.C:
9261         * DepTable.C:
9262         * buffer.C:
9263         * converter.C:
9264         * encoding.C:
9265         * lyx_gui.C:
9266         * lyx_main.C:
9267         * lyxtextclasslist.C:
9268         * minibuffer.C:
9269         * sp_spell.C:
9270         * tabular_funcs.C:
9271         * vc-backend.C:
9272         all c-library variables have been moved into namespace std. Wrap
9273         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9274
9275         * lyxlength.C:
9276         * tabular-old.C:
9277         * tabular.C:
9278         Add a using std::abs declaration.
9279
9280         * kbmap.h (modifier_pair):
9281         * paragraph.h (InsetTable, InsetList):
9282         * lyxfont.h (FontBits):
9283         type definition made public.
9284
9285         * bufferlist.C (emergencyWriteAll): the compiler complains that
9286         there is more than one possible lyx::class_fun template to choose from.
9287         I re-named the void specialisation as lyx::void_class_fun.
9288
9289         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9290
9291         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9292         the compiler is is unable to find tostr in write_attribute.
9293
9294 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * buffer.C (sgmlError): hide #warning
9297
9298 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * xtl/*: get rid of xtl, which is not in use anyway
9301
9302         * LyXAction.C (init):
9303         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9304         were unimplemented xtl experimentation
9305
9306 2002-06-04  André Pönitz <poenitz@gmx.net>
9307
9308         * lyxfunc.C: disable array operation on simple formulae
9309
9310 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * converter.C: constify a bit
9313
9314 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * lyx_gui.C: check xforms version correctly
9317
9318 2002-04-30  Herbert Voss  <voss@lyx.org>
9319
9320         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9321         "keep" option
9322
9323 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9326           attempt to register it with a VCS)
9327
9328 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9329
9330         * lyx_main.C (init): honor variables LYX_DIR_13x and
9331         LYX_USERDIR_13x
9332
9333 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9334
9335         * buffer.h:
9336         * buffer.C:
9337         * lyx_main.C: fix a crash on bad command line,
9338           and give a useful exit status on error
9339
9340         * lyxfunc.C (doImport): allow -i lyx to work
9341
9342 2002-03-30  André Pönitz <poenitz@gmx.net>
9343
9344         * lyxfunc.C: mathed font changes
9345
9346 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9347
9348         * LaTeX.C:
9349         * importer.h:
9350         * importer.C:
9351         * lyx_sty.h:
9352         * lyx_sty.C:
9353         * lyxlex.C:
9354         * lyxrow.h:
9355         * lyxtext.h:
9356         * paragraph.h:
9357         * paragraph.C:
9358         * texrow.h:
9359         * texrow.C:
9360         * text.C:
9361         * trans_mgr.h: srcdocs, and some minor cleanups
9362
9363 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9366         call getFont all the time)
9367
9368 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * switch from SigC signals to boost::signals
9371
9372 2002-05-29  André Pönitz <poenitz@gmx.net>
9373
9374         * paragraph_pimpl.C (getChar): don't call size() too often...
9375
9376 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9377
9378         * paragraph_pimpl.C (insertChar): do not try to update tables when
9379         appending (pos == size())
9380
9381         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9382         in order to reduce drastically the number of comparisons needed to
9383         parse a large document
9384
9385 2002-05-29  André Pönitz <poenitz@gmx.net>
9386
9387         * text.C:
9388         * text2.C:
9389         * lyxtextclass.C:
9390         * sp_pspell.h:
9391         * textclasslist.[Ch]:
9392         * sp_ispell.h: whitespace change
9393
9394 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9395
9396         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9397         lyxaction directly now.
9398
9399 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * trans.C:
9402         * lyxfont.C:
9403         * lyxvc.C: remove unused headers
9404
9405 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * Makefile.am:
9408         * buffer.h:
9409         * undostack.h:
9410         * undostack.C:
9411         * undo_funcs.h:
9412         * undo_funcs.C: some cleanups. Use shared_ptr
9413           and a template for the undo stacks.
9414
9415 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9416
9417         * BufferView_pimpl.h:
9418         * BufferView_pimpl.C:
9419         * kbmap.h:
9420         * kbmap.C:
9421         * kbsequence.h:
9422         * kbsequence.C:
9423         * lyxfunc.h:
9424         * lyxfunc.C:
9425         * text2.C: use key_state/mouse_state
9426
9427 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9428
9429         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9430         and LSubstring
9431
9432         * chset.C: change include order
9433         (loadFile): use boost regex and get rid of LRegex and LSubstring
9434
9435         * Makefile.am (BOOST_LIBS): new variable
9436         (lyx_LDADD): use it
9437
9438         * LaTeX.C: change include order.
9439         (scanAuxFile): use boost regex and get rid of LRegex and
9440         LSubstring
9441         (deplog): ditto
9442
9443 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * ColorHandler.h:
9446         * ColorHandler.C:
9447         * FontInfo.h:
9448         * FontInfo.C: moved to frontends/xforms/
9449
9450         * FontLoader.h:
9451         * FontLoader.C: moved into frontends for GUIIzation
9452
9453         * Makefile.am:
9454         * lyx_gui.C:
9455         * lyxfont.C:
9456         * lyxfunc.C: changes from above
9457
9458 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * LColor.C: remove spurious X include
9461
9462         * BufferView_pimpl.C:
9463         * Makefile.am:
9464         * font.h:
9465         * font.C:
9466         * text.C:
9467         * text2.C: move font metrics to frontends/
9468
9469 2002-05-24  Juergen Vigna  <jug@sad.it>
9470
9471         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9472         setting the undo_cursor.
9473
9474         * ParagraphParameters.h: include local includes first.
9475
9476 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * BufferView_pimpl.C:
9479         * BufferView_pimpl.h:
9480         * Makefile.am:
9481         * WorkArea.h:
9482         * WorkArea.C:
9483         * screen.C: move WorkArea into frontends/
9484
9485         * lyxscreen.h:
9486         * screen.C:
9487         * text.C:
9488         * BufferView.C:
9489         * BufferView2.C: move LyXScreen into frontends/
9490
9491         * lyxlookup.h:
9492         * lyxlookup.C:
9493         * lyx_gui.C: move lyxlookup into frontends/xforms/
9494
9495 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * BufferView2.C:
9498         * BufferView_pimpl.C:
9499         * FontLoader.C:
9500         * LyXView.h:
9501         * LyXView.C:
9502         * Makefile.am:
9503         * WorkArea.C:
9504         * XFormsView.h:
9505         * XFormsView.C:
9506         * buffer.C:
9507         * bufferlist.C:
9508         * bufferview_funcs.C:
9509         * converter.C:
9510         * importer.C:
9511         * lyx_cb.C:
9512         * lyx_gui.C:
9513         * lyx_main.C:
9514         * lyx_find.C:
9515         * lyxfunc.C:
9516         * lyxvc.C:
9517         * minibuffer.C:
9518         * text.C:
9519         * text2.C:
9520         * trans.C:
9521         * vc-backend.C: move LyX/XFormsView into frontends/
9522
9523 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9524
9525         * Makefile.am:
9526         * PainterBase.C:
9527         * PainterBase.h:
9528         * Painter.C:
9529         * Painter.h:
9530         * WorkArea.C:
9531         * WorkArea.h:
9532         * screen.C:
9533         * tabular.C:
9534         * text.C:
9535         * text2.C: move Painter to frontends/
9536
9537 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9538
9539         * buffer.C: comment out some some code that depend upon lyx_format
9540         < 220
9541
9542         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9543         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9544
9545         * buffer.h (NO_COMPABILITY): turn off compability
9546
9547         * ColorHandler.C: include scoped_array.hpp
9548
9549         * font.C: Use more specific smart_ptr header.
9550         * Painter.C: ditto
9551         * gettext.C: ditto
9552         * ShareContainer.h: ditto
9553         * lyx_main.h: ditto
9554         * kbmap.h: ditto
9555         * FontInfo.h: ditto
9556         * BufferView_pimpl.h: ditto
9557         * ColorHandler.h: ditto
9558
9559         * kbmap.C (defkey): change call to shared_ptr::reset
9560
9561 2002-05-21  Juergen Vigna  <jug@sad.it>
9562
9563         * buffer.C (insertErtContents): fix to insert ert asis if it is
9564         non empty. Skip it completely if it contains only whitespaces.
9565
9566 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * BufferView_pimpl.C:
9569         * BufferView2.C: clear selection on paste (bug 393)
9570
9571 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * DepTable.C: include ctime
9574
9575 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9576
9577         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9578
9579 2002-05-14  Juergen Vigna  <jug@sad.it>
9580
9581         * text.C (breakParagraph): fixed function to honor the keepempty
9582         layout in the right maner and also to permit the right breaking
9583         algorithm on empty or non empyt keepempty paragraphs.
9584
9585         * paragraph.C (breakParagraph): we have to check also if the par
9586         is really empty (!size()) for isempty otherwise we do the wrong
9587         paragraph break.
9588
9589 2002-05-10  Juergen Vigna  <jug@sad.it>
9590
9591         * buffer.[Ch] : The following are only changes to the ert
9592         compatibility read reading old LaTeX layout and font stuff and
9593         convert it to ERTInsets.
9594
9595         * buffer.h: added isErtInset().
9596
9597         * buffer.C (struct ErtComp): add a fromlayout bool to check
9598         if we're inside a LaTeX layout.
9599         (isErtInset): new helper function.
9600         (insertErtContents): look for other ert insets before this one
9601         and insert the contents there, so that we don't have subsequent
9602         ERT insets with nothing between them. This way we create only one
9603         inset with multiple paragraphs. Also check if we don't insert only
9604         spaces ' ' as they are ignored anyway afterwards in the .tex file
9605         so if we have only spaces we will ignore this latex part in the
9606         new file.
9607         (parseSingleLyXformat2Token \\layout): better compatibility when
9608         reading layout-latex stuff.
9609         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9610         language tag.
9611         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9612         stuff after reading the inset only get the information back from
9613         the stack.
9614
9615 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9616
9617         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9618
9619         * LaTeXFeatures.C (getBabelOptions): New method.
9620
9621 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9622
9623         * BufferView_pimpl.C (Dispatch): work around missing argument for
9624         'layout'
9625
9626 2002-05-08  Juergen Vigna  <jug@sad.it>
9627
9628         * text.C (leftMargin): handle paragraph leftindent.
9629
9630         * paragraph.C (writeFile): write the new \\leftindent tag.
9631         (validate): handle leftindent code.
9632         (TeXEnvironment): handle paragraphleftindent code again.
9633
9634         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9635
9636         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9637         for paragrap_extra indent code and new token \\leftindent.
9638         (latexParagraphs): handle the leftindent as environment.
9639
9640         * ParameterStruct.h: added leftindent support.
9641
9642         * ParagraphParameters.C (leftIndent): added support functions for
9643         the paragraph left indent.
9644
9645         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9646         more appropriate.
9647
9648 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9649
9650         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9651         inside insetERT.
9652
9653         * text.C (computeBidiTables): No bidi in insetERT.
9654
9655         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9656         in RTL documents.
9657
9658 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9659
9660         * version.C.in: pre 5
9661
9662 2002-05-02  José Matos  <jamatos@fep.up.pt>
9663         * buffer.C (makeDocBookFile): white space changes, add newline to
9664         command styles.
9665         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9666
9667         * tabular.C (docBook): fix typo.
9668
9669 2002-05-03  Juergen Vigna  <jug@sad.it>
9670
9671         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9672         change in LyXText as we can not be sure it was not freed.
9673         (drawOneRow): remove unused code.
9674
9675         * text.C (drawInset): redo the calculation of the need_break_row as
9676         it could have a row which was already freed.
9677         (draw): look at the return value of drawInset and return false if
9678         it also returned false.
9679         (paintRowText): look at the return value of draw and return false if
9680         it also returned false.
9681
9682         * lyxtext.h: added bool return type to drawInset() and draw() so that
9683         if we have a change in the row so that the rowbreak has to be redone
9684         we abort drawing as it will be called again.
9685
9686 2002-05-02  Juergen Vigna  <jug@sad.it>
9687
9688         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9689         a change in the maintext also if we're inside an inset.
9690         (Dispatch): set the cursor again after a break line and after the
9691         screen has been updated as it could be we're in a different row.
9692
9693         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9694         to set the cursor behind the pargraph with > size().
9695         (setCursor): check also for the same paragraph when checking where
9696         to put the cursor if we have a NFR inset.
9697
9698         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9699         parts of layout read further up as it still was in the wrong
9700         position.
9701
9702 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * screen.C (drawFromTo): change sine fullRebreak always return
9705         true.
9706
9707         * buffer.C (parseSingleLyXformat2Token): reindent some
9708
9709         * BufferView_pimpl.C (update): change since fullRebreak always
9710         return true.
9711         (Dispatch): git rid of the last hardcoded "Standard"s.
9712
9713 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9714
9715         * text2.[Ch] (fullRebreak): make it return void now that we always
9716         returned true.
9717
9718 2002-04-30  Juergen Vigna  <jug@sad.it>
9719
9720         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9721         ert compatibility check for "latex" layout.
9722
9723 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9724
9725         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9726         minipages: use col% instead of p%, and also use the current font.
9727         (makeLaTeXFile): Fix use babel condition.
9728         (parseSingleLyXformat2Token): Correct font when reading old floats.
9729
9730 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9733         inserting list of floats.
9734
9735 2002-04-25  Herbert Voss  <voss@lyx.org>
9736
9737         * MenuBackend.C (expand): don't add the graphics extensions to the
9738         export menu
9739
9740 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9741
9742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9743         non-existing layout, do not complain if it was the default layout
9744         of the original class (bug #342)
9745
9746 2002-04-24  Juergen Vigna  <jug@sad.it>
9747
9748         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9749         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9750
9751 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9752
9753         * buffer.C (getBibkeyList): If using \bibliography, return the
9754         option field with the reference itself. Enables us to provide natbib
9755         support when using \bibliography.
9756
9757 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9758
9759         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9760
9761         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9762         natbib is provided by the LaTeX class.
9763
9764 2002-04-23  Juergen Vigna  <jug@sad.it>
9765
9766         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9767         Wakeup functions.
9768
9769         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9770
9771 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9774
9775         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9776         ensuremath around textordmasculine, textordfeminine and
9777         textdegree.
9778
9779 2002-04-19  Juergen Vigna  <jug@sad.it>
9780
9781         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9782         reinitializing the buffer otherwise row-dimensions may be wrong.
9783         (update): reset also the selection cursors if they do exits otherwise
9784         their x/y positions may be wrong.
9785
9786         * text2.C (cursorDown): don't enter the inset if we came from a row
9787         above and are one row over the inset.
9788
9789         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9790         really leaving an inset.
9791
9792 2002-04-18  Juergen Vigna  <jug@sad.it>
9793
9794         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9795         of the selected paragraph does not have the selected layout also if
9796         the last one had!
9797
9798         * text2.C (setLayout): fixed bug which did not change last selected
9799         paragraph.
9800
9801         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9802         changed the read and substituted \\end_float with \\end_inset!
9803
9804         * BufferView_pimpl.C (cursorPrevious):
9805         (cursorNext): fixed to make it work with rows heigher than the work
9806         area without moving the cursor only the draw of the row.
9807         (workAreaMotionNotify): fix jumping over high rows.
9808
9809 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9812         Ressler.
9813
9814 2002-04-16  Juergen Vigna  <jug@sad.it>
9815
9816         * text2.C (setCursor): set also the irow().
9817         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9818         (cursorUp):
9819         (cursorDown): support for locking an inset if the x_fix value goes
9820         inside it. That way I can transverse insets too with cursor up/down.
9821
9822         * lyxrow.h: added irow helper function same as other (i) functions.
9823
9824         * BufferView_pimpl.C (cursorPrevious):
9825         (cursorNext): fixed for insets!
9826
9827 2002-04-15  Juergen Vigna  <jug@sad.it>
9828
9829         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9830         position otherwise it is wrong in some cases.
9831
9832         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9833         inside the inset before the call.
9834
9835 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9836
9837         * buffer.[Ch] (getBibkeyList): make it const.
9838
9839 2002-04-12  Juergen Vigna  <jug@sad.it>
9840
9841         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9842
9843         * text2.C (getCursorX): new helper function
9844         (setCursor): compute also ix_
9845         (setCursorFromCoordinates): set also ix.
9846
9847         * lyxcursor.h: added ix_ and helper functions.
9848
9849         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9850
9851         * buffer.C (insertStringAsLines): dont break paragraph if the this
9852         paragraph is inside an inset which does not permit it!
9853
9854         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9855         also with no chars on this paragraph.
9856         (paintRowText): only paint stuff if it's inside the workarea!
9857
9858         * paragraph.C (breakParagraph): honor keepempty flag and break the
9859         paragraph always below not above.
9860
9861         * BufferView2.C (unlockInset): update the paragraph layout on inset
9862         unlock as we changed paragraph in such a case.
9863
9864         * lyxfind.C (LyXFind): clear the former selection if not found!
9865
9866         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9867         again called in insertChar().
9868
9869         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9870         an inset which uses the whole row!
9871         (rightMargin): ditto.
9872         (insertChar): force a rebreak if we inserted an inset!
9873
9874 2002-03-28  Herbert Voss  <voss@lyx.org>
9875
9876         * lyxlength.[Ch]: add inBP() to get the right PS-point
9877         units (BigPoint). With inPixels we have rounding errors
9878
9879 2002-04-11  Juergen Vigna  <jug@sad.it>
9880
9881         * text2.C (setCursorFromCoordinates): set iy to the right value.
9882         (setCursor): add check if row->previous exists!
9883
9884         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9885         an old float_type as this was the case in the old code!
9886
9887         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9888
9889         * BufferView2.C (showLockedInsetCursor): use iy
9890         (fitLockedInsetCursor): ditto
9891
9892         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9893         locked insets as there we have the right value now.
9894
9895         * lyxcursor.C: added iy_ variable and iy functions to set to the
9896         baseline of cursor-y of the locked inset.
9897
9898         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9899         (setCursor): fixed for insets which need a full row.
9900
9901         * text.C (rowLastPrintable): don't ignore the last space when before
9902         an inset which needs a full row.
9903         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9904         as last character of a row when before a inset which needs a full row.
9905
9906 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * version.C.in: update date
9909
9910         * text2.C (fullRebreak): try to always return true and see what
9911         happens...
9912
9913 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * MenuBackend.C (expand): use Floating::listName
9916
9917         * FloatList.C (FloatList): add listName argument to the built-in
9918         floats
9919
9920         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9921         text associated with the float.
9922
9923 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9924
9925         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9926
9927 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * ShareContainer.h: add a couple of missing typenames.
9930
9931 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * lyxrc.C (getDescription): use _() correctly rather than N_().
9934
9935 2002-03-28  Herbert Voss  <voss@lyx.org>
9936
9937         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9938         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9939
9940 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9943         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9944
9945 2002-03-29  Juergen Vigna  <jug@sad.it>
9946
9947         * lyxfunc.C (dispatch): add a missing fitCursor call.
9948
9949         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9950         it was scrolled by a cursor move, so return the bool status.
9951
9952         * BufferView.C (fitCursor): return the bool flag also to the outside
9953         world as this is needed.
9954
9955         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9956
9957         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9958         call the edit() as it is not needed (and wrong) IMO.
9959         (workAreaButtonPress): set the screen_first variable before evt.
9960         unlock the inset as this may change screen_first and then we have
9961         a wrong y position for the click!
9962
9963 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9964
9965         * MenuBackend.C (expand): another translation that I missed
9966
9967 2002-03-28  Juergen Vigna  <jug@sad.it>
9968
9969         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9970
9971         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9972
9973 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9974
9975         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9976
9977         * MenuBackend.C (expand): fix export/view/update when there is no
9978         document open.
9979
9980 2002-03-27  Herbert Voss  <voss@lyx.org>
9981
9982         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9983         and text%
9984
9985 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * bufferview_funcs.C (currentState): only show paragraph number
9988         for is DEVEL_VERSION is set.
9989
9990         * lyxfunc.C (dispatch): put warning in INFO channel
9991
9992         * MenuBackend.C (expand): translate the name of floats
9993
9994         * FloatList.C (FloatList): mark the float names for translation
9995
9996         * converter.C (convert): use LibScriptSearch
9997
9998 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * MenuBackend.C (defaults): fix default menu (we might as well get
10001         rid of it...)
10002
10003 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10004
10005         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10006         directory.
10007
10008 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * lyxvc.C: reorder includes.
10011
10012 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10015           properly
10016
10017 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * CutAndPaste.C: change layouts earlier on paste
10020           to avoid crashing when calling getFont()
10021
10022 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10023
10024         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10025         irritating #error.
10026
10027 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10028
10029         * WorkArea.C: remove 'Pending' debug message.
10030
10031         * most files: ws cleanup
10032
10033         * buffer.[Ch]: ws changes
10034
10035         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10036
10037 2002-03-21  Juergen Vigna  <jug@sad.it>
10038
10039         * tabular.C (SetMultiColumn): collapse also the contents of the
10040         cells and set the last border right. Added a Buffer const * param.
10041
10042 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10043
10044         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10045         linking or not.
10046
10047 2002-03-19  Juergen Vigna  <jug@sad.it>
10048
10049         * text2.C (clearSelection): reset also xsel_cache.
10050
10051         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10052         where it needs to be called (John tells us to do so too :)
10053         (selectionLost): reset sel_cache.
10054
10055         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10056
10057 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * text2.C (setCursorIntern): put debuging code in INSETS channel
10060
10061 2002-03-19  André Pönitz <poenitz@gmx.net>
10062
10063         * lyxfunc.C: tiny whitespace change
10064
10065 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * ToolbarDefaults.C (init):
10068         * LyXAction.C (init):
10069         * commandtags.h:
10070         * BufferView_pimpl.C (Dispatch):
10071         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10072
10073 2002-03-19  Allan Rae  <rae@lyx.org>
10074
10075         * exporter.C (Export): removeAutoInsets before doing anything else.
10076         While I've just introduced a dependency on BufferView this really is
10077         the best place to clean the buffer otherwise you need to cleanup in
10078         a dozen places before calling export or cleanup in a dozen functions
10079         that export calls.
10080
10081         * converter.C (runLaTeX):
10082         (scanLog): Better handling of removeAutoInsets and screen updates.
10083
10084         * lyxfunc.C (dispatch): small whitespace changes
10085
10086 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10087
10088         * WorkArea.C (C_WorkAreaEvent): return a value.
10089         (event_cb): return 1 if we handled the event, 0 otherwise.
10090
10091         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10092
10093 2002-03-18  Juergen Vigna  <jug@sad.it>
10094
10095         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10096         (GetAdditionalWidth): ditto.
10097         (RightLine): ditto.
10098         (LeftLine): ditto.
10099
10100         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10101         inset if we're there actually (probably not used right now but this
10102         is the direction to go for unifying code).
10103         (paste): disable code to clear the selection.
10104
10105         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10106         inside an InsetText and move the check further up as it is in the
10107         wrong place.
10108
10109         * text2.C (pasteSelection): set a selection over the pasted text.
10110
10111 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10112
10113         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10114         and libgraphics to build on Cygwin.
10115
10116 2002-03-15  Juergen Vigna  <jug@sad.it>
10117
10118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10119         inserting an Inset into the paragraph. I know this is not the best
10120         fix but we already use current_view in CutAndPaste so we will remove
10121         all of it's using at the same time.
10122
10123         * buffer.C (sgmlError): deactivated function till it is rewritten in
10124         the right mode, now it can create problems.
10125
10126         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10127         before accessing it.
10128
10129 2002-03-14  Juergen Vigna  <jug@sad.it>
10130
10131         * undo_funcs.C (textHandleUndo): do the right thing when updating
10132         the inset after the undo/redo.
10133
10134         * text2.C (setCursor): just some testcode for #44 not ready yet.
10135
10136         * undo_funcs.C (textHandleUndo): set the next() and previous()
10137         pointers of the paragraph to 0 before deleting otherwise we have
10138         problems with the Paragraph::[destructor].
10139
10140         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10141         on a paragraph insertion.
10142
10143 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10144
10145         * buffer.C (asciiParagraph): use += operator for char append to
10146         string.
10147
10148         * paragraph.C (getFontSettings): compare >= not just >
10149         (highestFontInRange): ditto
10150         (setFont): ditto
10151
10152 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10153
10154         * paragraph.C: change several algorithm to be more appripriate for
10155         the problem domain. This is lookip in FontList and in the InsetList.
10156
10157 2002-03-13  André Pönitz <poenitz@gmx.net>
10158
10159         * commandtags.h:
10160         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10161
10162 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * commandtags.h:
10165         * LyXAction.C:
10166         * lyxfunc.C:
10167         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10168
10169 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10170
10171         * Painter.C (display): anon helper function, adjust code for this
10172         change.
10173         (pixmap): remove function.
10174
10175         * Painter.h: remove private display variable.
10176
10177         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10178
10179 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10180
10181         * WorkArea.[Ch]: remove figinset_canvas cruft.
10182
10183 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * lyxtextclass.C (operator): add one item cache optimization.
10186
10187         * bufferlist.h: doxy changes
10188
10189         * bufferlist.C: ws changes
10190
10191         * DepTable.[Ch] (ext_exist): place const in the right spot.
10192
10193         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10194         call resizeInsets.
10195         (workAreaExpose): call resizeInsets when the with BufferView changes.
10196         (Dispatch): adjust for protectedBlank removal
10197         (specialChar): call updateInset if the insert went ok.
10198
10199         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10200         specialChar instead.
10201
10202         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10203
10204         * BufferView.h: doxy change
10205
10206         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10207
10208         * lyxtextclass.C (operator[]): remove non-const version
10209         (defaultLayout): remove non-const version
10210
10211 2002-03-12  Juergen Vigna  <jug@sad.it>
10212
10213         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10214         did resize the LyXText too.
10215
10216         * buffer.C (readLyXformat2): set layout information on newly allocated
10217         paragraphs.
10218
10219         * tabular.C (OldFormatRead): set layout information on the paragraph.
10220
10221 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10222
10223         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10224
10225 2002-03-11  Juergen Vigna  <jug@sad.it>
10226
10227         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10228         plainly wrong.
10229         (resizeCurrentBuffer): force also the insets to resize themselfes.
10230         (moveCursorUpdate): fixed up for InsetText.
10231
10232 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10233
10234         * commandtags.h:
10235         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10236         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10237         value of Dialogs::tooltipsEnabled().
10238         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10239
10240 2002-03-08  Juergen Vigna  <jug@sad.it>
10241
10242         * BufferView_pimpl.C (updateInset): update inset inside inset also
10243         if it isn't inside theLockingInset().
10244
10245 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * buffer.C (asciiParagraph): redo some of the word and line length
10248         handling.
10249         (getLists): look for Caption instead of caption.
10250
10251 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * buffer.C (Buffer): initialize niceFile to true
10254         (makeLaTeXFile):
10255         (makeLinuxDocFile):
10256         (makeDocBookFile): make sure niceFile is true on exit
10257
10258 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10259
10260         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10261
10262 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10263
10264         * LyXSendto.C: remove.
10265         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10266         * lyx_gui.C: remove now-redundant comment.
10267         * ColorHandler.h: remove forward declaration of class WorkArea.
10268         * lyxfunc.C: remove #include "WorkArea.h".
10269
10270 2002-03-07  Juergen Vigna  <jug@sad.it>
10271
10272         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10273         got moved away with the DEPM and also set the inset_owner always
10274         right which before could have been omitted.
10275
10276 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10277
10278         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10279         wanted layout is not found.
10280
10281 2002-03-07  Juergen Vigna  <jug@sad.it>
10282
10283         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10284
10285 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * paragraph.C (breakParagraph): use default layout not layout of
10288         prev paragraph.
10289         (Paragraph): clear ParagraphParameters.
10290
10291 2002-03-06  Juergen Vigna  <jug@sad.it>
10292
10293         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10294         otherwise it would not be a valid lenght. Fixed a special case in
10295         the minipage compatibility read where we end the document with a
10296         minipage.
10297
10298         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10299         was set as it could be 0 for InsetTexts first entry.
10300
10301 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * paragraph.C (writeFile): if layout is empty write out
10304         defaultLayoutName().
10305
10306         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10307         file without named layout we set layout to defaultLayoutName().
10308
10309 2002-03-06  Juergen Vigna  <jug@sad.it>
10310
10311         * CutAndPaste.C (copySelection): set layout for new paragraph.
10312
10313         * text.C (prepareToPrint): leave ERT inset left aligned
10314         (leftMargin): don't indent paragraphs inside ERT insets
10315
10316 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * paragraph.C (breakParagraph): dont call clear do the work manually
10319
10320         * paragraph.[Ch] (clear): remove function
10321
10322 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10323
10324         * paragraph.C (Paragraph): dont call clear, the work has already
10325         been done.
10326
10327         * lyxtextclass.C (operator): assert if n is empty
10328
10329         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10330         work manually instead.
10331
10332 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * BufferView_pimpl.C: protect selectionLost against text == 0
10335
10336 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * text.C (breakParagraph): fix a setting layout to '0' problem.
10339
10340 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10341
10342         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10343         final location of file, for the included files, and graphics.
10344
10345 2002-03-05  Juergen Vigna  <jug@sad.it>
10346
10347         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10348
10349 2002-03-04  Juergen Vigna  <jug@sad.it>
10350
10351         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10352
10353         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10354         last column of multicolumn cells.
10355         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10356
10357 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10358
10359         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10360         file if it doesn't go to a temporary file.
10361
10362         * buffer.C (sgmlOpenTag):
10363         (sgmlCloseTag):  remove extra newline insertion.
10364
10365 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * text.C (getRowNearY): comment out debug msg
10368
10369 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10370
10371         * text2.C: first -> first_y
10372
10373         * text.C (getRowNearY): add some attemts at a possible
10374         optimization, not working.
10375
10376         * tabular.[Ch]: add BufferParams to several function so that newly
10377         created paragraph can be initialized to he default layotu for the
10378         buffers textclass.
10379
10380         * tabular-old.C (ReadOld): add buf->params to call of Init
10381
10382         * screen.C: rename text->first to text->first_y
10383
10384         * paragraph.C (breakParagraph): always set layout in the broken
10385         paragraph
10386
10387         * lyxtextclass.C (Read): remove lowercase
10388         (hasLayout): ditto
10389         (operator): ditto
10390         (delete_layout): ditto
10391
10392         * lyxtext.h: rename first -> first_y
10393
10394         * lyxlayout.C (Read): remove lowercase
10395         (name): ditto
10396         (setName): ditto
10397         (obsoleted_by): ditto
10398
10399         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10400
10401         * buffer.C (insertErtContents): add params are to InsetERT
10402         (parseSingleLyXformat2Token): add code to check if a paragraphs
10403         layout really exist.
10404         (parseSingleLyXformat2Token): add params to several inset
10405         constructors
10406         (asciiParagraph): remove lowercase, do the layout comparisons with
10407         no_case
10408
10409         * BufferView_pimpl.C (cursorNext): first -> first_y
10410         (resizeCurrentBuffer): first -> first_y
10411         (updateScrollbar): first -> first_y
10412         (scrollCB): first -> first_y
10413         (workAreaMotionNotify): first -> first_y
10414         (workAreaButtonPress): first -> first_y
10415         (checkInsetHit): first -> first_y
10416         (cursorPrevious): first -> first_y
10417         (cursorNext): first -> first_y
10418         (Dispatch): add buffer_->params to severl inset contructors
10419
10420 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * lyxlayout.C (Read): remove some debug info that I forgot.
10423
10424         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10425         clean up the code slightly.
10426         (makeLinuxDocFile): ditto
10427         (makeDocBookFile): ditto
10428
10429         * text2.C: layout as string
10430
10431         * text.C: layout as string
10432
10433         * paragraph_pimpl.C: layout as string
10434
10435         * paragraph.[Ch]: layout as string
10436
10437         * lyxtextclasslist.[Ch]: layout as string
10438
10439         * lyxtextclass.[Ch]: layout as string
10440
10441         * lyxtext.h: layout as string
10442
10443         * lyxlayout.[Ch]: layout as string
10444
10445         * lyx_cb.C: layout as string
10446
10447         * bufferview_funcs.C: layout as string
10448
10449         * bufferparams.C: layout as string
10450
10451         * buffer.C: layout as string
10452
10453         * LyXView.[Ch]: layout as string
10454
10455         * LaTeXFeatures.[Ch]: layout as string
10456
10457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10458
10459         * BufferView_pimpl.C: change current_layout to string, remove
10460         lyx::layout_type.
10461         (Dispatch):
10462         (smartQuote):
10463         (insertInset):
10464         (workAreaButtonRelease): layout as string
10465
10466         * BufferView2.C (unlockInset): adjust
10467
10468         * vspace.C (asLatexCommand): use an explict temp variable.
10469
10470 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * Makefile.am: use FRONTEND_*
10473
10474 2002-03-01  Juergen Vigna  <jug@sad.it>
10475
10476         * tabular.C (SetWidthOfMulticolCell): changed to something better
10477         I hope but still work in progress.
10478         (recalculateMulticolumnsOfColumn): renamed function from
10479         recalculateMulticolCells as it is more appropriate now.
10480         (SetWidthOfCell): calculate multicols better.
10481
10482 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10483
10484         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10485
10486         * lyxfunc.C (processKeySym): print sequence also if it is
10487         `deleted' (complete)
10488
10489         * kbsequence.C (print): print sequence even if it is deleted
10490         (complete would be a better word, actually).
10491
10492         * lyxfunc.C (dispatch): print complete options after a prefix key
10493
10494         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10495
10496 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10497
10498         * text2.C (setCharFont): eliminate setCharFont code duplication.
10499
10500 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10501
10502         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10503         LFUN_TABULAR_FEATURE (bug #177)
10504
10505 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10506
10507         * Makefile.am: remove figure.h
10508
10509 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10510
10511         * Bufferview_pimpl.C:
10512         * CutAndPasteC:
10513         * LaTeX.C:
10514         * LyXSendto.C:
10515         * buffer.C:
10516         * bufferlist.C:
10517         * converter.C:
10518         * language.C:
10519         * lyxfunc.C:
10520         * lyxvc.C:
10521         * paragraph.C:
10522         * text.C:
10523         * text2.C: remove #include "lyx_gui_misc.h".
10524
10525         * LaTeX.C: added #include <cstdio>
10526
10527 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10530         that the paragraph following this one can have.
10531
10532         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10533
10534         * vspace.C (asLatexCommand): fix bogus gcc warning
10535
10536         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10537
10538 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10539
10540         * text2.C (setLayout): get rid of redundant code
10541
10542 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10543
10544         * text2.C (incDepth): make sure depth cannot be increased beyond
10545         reasonable values.
10546
10547 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10548
10549         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10550         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10551
10552         * PainterBase.h (image):
10553         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10554         a LyXImage const *.
10555
10556 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * BufferView.C:
10559         * BufferView.h:
10560         * BufferView_pimpl.C:
10561         * BufferView_pimpl.h:
10562         * LaTeXFeatures.C:
10563         * LyXAction.C:
10564         * LyXView.C:
10565         * Makefile.am:
10566         * UpdateList.h:
10567         * UpdateList.C:
10568         * buffer.C:
10569         * figure.h:
10570         * figureForm.C:
10571         * figureForm.h:
10572         * figure_form.C:
10573         * figure_form.h:
10574         * lyx_cb.C:
10575         * lyx_gui.C:
10576         * lyx_gui_misc.C:
10577         * lyxfunc.C:
10578         * sp_base.h:
10579         * sp_ispell.h:
10580         * sp_pspell.h:
10581         * sp_spell.C: remove fig inset, and the crap house of
10582           cards that follows it
10583
10584 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * Makefile.am:
10587         * lyxserver.C:
10588         * os2_defines.h:
10589         * os2_errortable.h:
10590         * nt_defines.h: move .h into support/
10591
10592         * vms_defines.h: remove
10593
10594         * WorkArea.C: add space in debug output
10595
10596         * text2.C:
10597         * paragraph.C:
10598         * buffer.C: add WITH_WARNINGS
10599
10600         * vc-backend.h:
10601         * vc-backend.C:
10602         * bufferlist.C: s/retrive/retrieve/, add docs
10603
10604         * vspace.h:
10605         * vspace.C:
10606         * kbmap.h:
10607         * lyxlength.h:
10608         * lyxgluelength.h:
10609         * length_common.h:
10610         * chset.h:
10611         * chset.C: add docs
10612
10613         * lyxgui.C: add ID to X error handler
10614
10615         * lyxtestclass.c: fix typo
10616
10617 2002-02-26  Juergen Vigna  <jug@sad.it>
10618
10619         * tabular_funcs.C (write_attribute): changed so that some default
10620         attributes are not written at all.
10621         (getTokenValue): set default values before trying to read the
10622         value so we have the return value always set as default if we don't
10623         find the token we search for.
10624
10625         * tabular.C (Write): write bools as bools not as strings!
10626
10627 2002-02-22  Juergen Vigna  <jug@sad.it>
10628
10629         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10630         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10631
10632         * text.C (leftMargin): don't add an indent for paragraphs inside
10633         tabular cells (fix #208).
10634
10635 2002-02-21  José Matos  <jamatos@fep.up.pt>
10636
10637         * tabular.C (docBook): fixed support for long tables.
10638
10639 2002-02-20  Juergen Vigna  <jug@sad.it>
10640
10641         * text2.C (getFont): get the drawing font of the Inset if this
10642         paragraph is inside an inset (only important for InsetERT for now).
10643
10644         * buffer.C (insertErtContents): use new lanugage params in ERT
10645         constructor.
10646
10647         * CutAndPaste.C: commenting out seemingly uneeded code.
10648
10649 2002-02-19  Allan Rae  <rae@lyx.org>
10650
10651         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10652         Iterators might be simple to use but they also get invalidated.
10653         (removeAutoInsets): renamed saved cursor tracking variables and added
10654         some comments to clarify what everything does.
10655
10656 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10657
10658         * Chktex.C:
10659         * LaTeX.C:
10660         * LyXSendto.C:
10661         * converter.C:
10662         * lyx_cb.C:
10663         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10664         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10665
10666         * lyxfunc.C:
10667         * vc-backend.h: remove #include "support/syscall.h"
10668
10669         * LaTeX.C:
10670         * LyXSendto.C:
10671         * converter.C: rearrange #includes in Lars' approved fashion.
10672
10673         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10674         forward declare class Timeout in the header file.
10675
10676         * XFormsView.C: changes due to the above.
10677
10678         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10679         similar to LyXView.
10680
10681         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10682         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10683
10684 2002-02-18  José Matos  <jamatos@fep.up.pt>
10685
10686         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10687         insets contents.
10688
10689 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10690
10691         * a lot of small ws changes
10692         * add a lot of using std::XXX
10693         * use std construcs some places where approp.
10694         * use some exisint stuff from lyxfunctional where approp.
10695         * Make file changes to use partial linking (lets test this now...)
10696
10697 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10698
10699         * Chktex.C:
10700         * buffer.C:
10701         remove #include "support/syscontr.h" as it's redundant. Always has been.
10702
10703         * Chktex.C:
10704         * LaTeX.C:
10705         * LyXSendto.C:
10706         * converter.C:
10707         * lyx_cb.C:
10708         * vc-backend.C:
10709         change Systemcalls::System to Systemcalls::Wait and
10710         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10711         No change of functionality, just reflects the stripped down Systemcalls
10712         class.
10713
10714 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * debug.[Ch]: add a GRAPHICS type to the enum.
10717
10718 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10721
10722         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10723         there is an inset.
10724
10725 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10728         match the changes below.
10729
10730         * text2.C (toggleInset): if there is not editable inset at cursor
10731         position, try to see if cursor is _inside_ a collapsable inset
10732         and close it.
10733
10734 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10737         document menu has a nice checkbox
10738
10739 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * lyxlength.C (asLatexString): change PW to output as percent of
10742         \textwidth.
10743
10744         * lengthcommon.C: change '%' to 't%'
10745
10746         * lyxfunc.C (dispatch): a few comments from Martin
10747
10748 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * WorkArea.h:
10751         * WorkArea.C:
10752         * BufferView_pimpl.h:
10753         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10754           the X selection.
10755
10756 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * vspace.C (inPixels): fix compiler warning
10759
10760 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * lyxfunc.C (getStatus): fix status message for disabled commands.
10763
10764 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * BufferView_pimpl.C: fix crash on close buffer
10767         during selection (#227)
10768
10769 2002-01-27  Herbert Voss  <voss@lyx.org>
10770
10771         * buffer.C: link old Figure to new graphic inset
10772
10773 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10774
10775         * FontLoader.C (getFontinfo): Change the latex font names in order
10776         to match the names of type1inst.
10777
10778 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10781
10782         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10783         (extchanged): ditto
10784         (ext_exist): ditto
10785         (remove_files_with_extension): ditto
10786         (remove_file): ditto
10787         (write): ditto
10788
10789         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10790         document is smaller than the work area height. Do not initialize
10791         static variables to 0.
10792
10793 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10794
10795         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10796
10797         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10798         LFUN_LAYOUT_PARAGRAPHS.
10799
10800         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10801         tabular. It is possible to provide a possible cell, which will
10802         typically be the actcell from the corresponding insettabular
10803
10804         * lyxfunc.C (getStatus): small cleanup; disable
10805         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10806         true
10807
10808 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10811
10812         * paragraph.C (startTeXParParams):
10813         (endTeXParParams): new methods. The LaTeX code to
10814         start/end paragraph formatting
10815         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10816         empty (fixes bug #200)
10817
10818         * vspace.C (inPixels): adapt to the change below
10819         (inPixels): [later] more cleanups (remove unused variables)
10820
10821         * lyxlength.C (inPixels): change to use a width and a height as
10822         parameter.
10823
10824 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10827         Replaced with \paperwidth
10828
10829         * DepTable.C (insert): add std:: qualifier
10830
10831 2002-01-18  Allan Rae  <rae@lyx.org>
10832
10833         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10834         updated also?
10835
10836         * text.C (drawInset): Turned out I didn't know enough about how
10837         rebreaking worked.  This fixes most of the redraw problems.  I see
10838         an occasional cursor trail when a line is broken now and the cursor
10839         placement can seem out by a few pixels also after a rebreak.
10840
10841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * buffer.C (parseSingleLyXformat2Token): update because minipage
10844         width is now a LyXLength
10845
10846         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10847
10848         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10849         math insets
10850
10851 2002-01-17  Juergen Vigna  <jug@sad.it>
10852
10853         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10854
10855         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10856         is set correctly and the inset is updated correctly.
10857
10858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10861         the beginning of the loop.
10862
10863 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * lyxrc.C: improve help for use_scalable_fonts
10866
10867 2002-01-17  Allan Rae  <rae@lyx.org>
10868
10869         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10870
10871 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10874         make sure to set their inset_owner to the right value (bug #171)
10875
10876 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10877
10878         * DepTable.h
10879         * DepTable.C: Implement mtime checking to reduce time spent doing
10880         CRCs.
10881
10882 2002-01-16  Juergen Vigna  <jug@sad.it>
10883
10884         * tabular.C (GetAdditionalHeight): one of error fixed.
10885
10886         * lyxrc.C (output): small fix in writing use_pspell.
10887
10888 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10889
10890         * sp_base.h: #include LString.h
10891
10892 2002-01-16  Allan Rae  <rae@lyx.org>
10893
10894         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10895         Can someone check this please?
10896
10897         * text.C (drawInset): It was possible that p.row would be removed by
10898         breakAgainOneRow upsetting a few other settings.  There may be another
10899         small tweak possible by setting need_break_row = 0 when p.row has been
10900         removed but I don't know enough about the logic here.
10901
10902 2002-01-15  Allan Rae  <rae@lyx.org>
10903
10904         * text.C (insertChar): removed conditional truism.
10905
10906         * BufferView2.C (removeAutoInsets): More tweaks.
10907         cur_par_prev could be a stray pointer.  Check for trailing empty line
10908         in case last line was cur_par and only had an error inset on it.
10909
10910 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10913         absolute
10914
10915         * vc-backend.C (most methods):
10916         * exporter.C (Export):
10917         * converter.C (convert):
10918         (runLaTeX):
10919         * LyXSendto.C (SendtoApplyCB):
10920         * lyxfunc.C (dispatch):
10921         (menuNew):
10922         (open):
10923         (doImport):
10924         * lyx_cb.C (AutoSave):
10925         (InsertAsciiFile):
10926         * BufferView_pimpl.C (MenuInsertLyXFile):
10927         * buffer.C (runChktex): use Buffer::filePath().
10928
10929         * buffer.h: rename filename to filename_; rename filepath to
10930         filepath_ and make it private
10931         (filePath): new method
10932
10933         * buffer.C (writeFile): use fileName()
10934         (getLatexName):
10935
10936         * lyx_main.C (init): fix starting  of LyX when the binary is a
10937         link from so,ewhere else.
10938
10939         * minibuffer.C: include <cctype> for isprint
10940
10941 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10942
10943         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10944         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10945         name clash with InsetCollapsable's width function.
10946
10947 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10948
10949         * lastfiles.C: include <iterator>
10950
10951 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10952
10953         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10954         std::count.
10955
10956         * buffer.C (makeLaTeXFile): ditto.
10957         Also make loop operation more transparent.
10958
10959 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10960
10961         * ToolbarDefaults.C: remove trailing comma closing namespace.
10962
10963         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10964
10965         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10966         as in WorkArea.
10967
10968         * trans.C (Load): comment out unused variable, allowed.
10969
10970 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10971
10972         * minibuffer.[Ch] (append_char): new method to recieve input from the
10973         drop-down completion browser. If a key was pressed, then recieve this
10974         char and append it to the existing string.
10975         (peek_event): modify the positioning data passed to the completion
10976         browser so that it can be placed above the minibuffer rather than below.
10977 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10978
10979         * LyXAction.C (init): alloe error-next for readonly documents.
10980
10981         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10982         count.
10983
10984 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * bufferlist.C (readFile): create the buffer _after_ checking that
10987         the file exists.
10988
10989         * lyxfunc.C (verboseDispatch): fix handling of arguments
10990
10991         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10992
10993         * lyxrc.C: use string::erase() instead of initializing to "".
10994
10995
10996 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * BufferView_pimpl.h:
10999         * BufferView_pimpl.C:
11000         * WorkArea.h:
11001         * WorkArea.C:
11002         * text2.C: tell X when we have made a selection for copying
11003
11004 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * BufferView_pimpl.C (MenuInsertLyXFile):
11007         * lyxfunc.C (menuNew):
11008         (open):
11009         (doImport): add shortcuts to directory buttons
11010
11011         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11012         open a float)
11013
11014         * lyxfunc.C (setStatusMessage):
11015         (getStatusMessage): new methods
11016         (getStatus):use setStatusMessage instead of setErrorMessage
11017         (dispatch): when function is disabled, set error message here
11018         [instead of in getStatus previously]
11019
11020         * BufferView_pimpl.C (workAreaButtonRelease): update
11021         toolbar/menubar here too.
11022
11023 2002-01-13  Allan Rae  <rae@lyx.org>
11024
11025         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11026         Now seems indestructible.  Remaining task is to audit all other
11027         code affected by deleteEmptyParagraphMechanism.  One small quirk
11028         left is that an empty document with an error in the preamble can
11029         be made to report an error but no error box appears.  I don't know
11030         where it goes.
11031         (removeAutoInsets): Improved comments.
11032
11033 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * Thesaurus.h:
11036         * Thesaurus.C: update for Aiksaurus 0.14
11037
11038 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * text2.C (firstParagraph): removed member function, all uses
11041         replaces with ownerParagraph
11042         (redoParagraphs): here
11043         (updateInset): here
11044         (toggleAppendix): here
11045         * BufferView2.C (insertErrors): here
11046         (setCursorFromRow): here
11047
11048 2002-01-13  Allan Rae  <rae@lyx.org>
11049
11050         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11051         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11052         There is still a way to segfault this although you may have to do this
11053         multiple times: Have an InsetERT with an unknown command in it.
11054         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11055         <down-arrow>, <Enter> again, View->DVI, BANG!
11056
11057         * text2.C (setCursor):
11058         (deleteEmptyParagraphMechanism):
11059         * lyxtext.h (setCursor):
11060         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11061         Making use of the return value may help fix other bugs.
11062
11063 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11064
11065         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11066
11067         * LyXView.C (updateMenubar): call MenuBar::update here
11068         (updateToolbar): but not here
11069         (showState): do not update toolbar/menubar
11070
11071         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11072         should need to care about that.
11073
11074         * lyxfunc.C (verboseDispatch): simplify a bit
11075         (getStatus): have a version which takes a pseudoaction, and
11076         another which requires a (kb_action,string).
11077
11078         * LyXAction.C (retrieveActionArg): make it work also when action
11079         is not a pseudo-action.
11080         (getActionName): simplify a bit
11081         (helpText):
11082
11083 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * lyxfunc.C (verboseDispatch): new families of methods with
11086         several ways to specify a command and a bool to indicate whether
11087         the command name and shortcut should be displayed in minibuffer
11088         (eventually, we could extend that to a finer bitmask like
11089         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11090         (dispatch): the pristine dispatch command which just, well,
11091         dispatchs! Note it still sets its result to minibuffer; I'm not
11092         sure we want that.
11093
11094         * lyxfunc.h: remove setHintMessage
11095
11096         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11097
11098 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * BufferView_pimpl.C (specialChar): delete new inset if we have
11101         not been able to insert it.
11102
11103         * kbmap.C: revert to using int instead of kb_action, since all we
11104         are dealing with is pseudo-actions.
11105
11106         * LyXAction.C (searchActionArg): change to return int instead of
11107         kb_action, since the result is a pseudoaction.
11108
11109 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11110
11111         * buffer.C (insertErtContents): Fix (partially) the font bug.
11112
11113 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11116         as the other one is broken on my machine!
11117
11118 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11119
11120         * commandtags.h:
11121         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11122
11123 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11124
11125         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11126         reflect their actual use. Provide compatibility code for older lyxrc
11127         files.
11128
11129         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11130         FL_NORMAL_STYLE.
11131         change names of popup font variables in line with the changes to lyxrc.C
11132
11133 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11134
11135         * buffer.C (asciiParagraph): avoid outputing a word twice after
11136         an inset.
11137
11138         * lyxrc.C (getDescription): document that document_path and
11139         template_path can be empty.
11140
11141 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11142
11143         * LaTeXFeatures.C (getMacros):
11144         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11145
11146         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11147
11148         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11149         getPackages.
11150         (getPackages): rename feature "floats" to "float". Use an array to
11151         iterate over 'simple' features (i.e. just a \usepackage). Add
11152         handling of "amsmath" (renamed from "amsstyle").
11153
11154 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11155
11156         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11157         features list.
11158
11159 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11160
11161         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11162         FuncStaus::FuncStatus & FuncStaus::some_method().
11163
11164 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11165
11166         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11167         of the func_satus stuff. Edited and massaged in various ways by
11168         JMarc.
11169
11170         * lyxfunc.C (getStatus): use FuncStatus
11171
11172 2002-01-08  Juergen Vigna  <jug@sad.it>
11173
11174         * text.C (nextBreakPoint): use function Inset::isChar().
11175
11176         * paragraph.C (TeXOnePar): use function
11177         Inset::forceDefaultParagraphs.
11178
11179         * buffer.C (latexParagraphs): use function
11180         Inset::forceDefaultParagraphs.
11181
11182 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11183
11184         * lyx_gui.C (init): set the style of the menu popups to
11185         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11186
11187 2002-01-07  Juergen Vigna  <jug@sad.it>
11188
11189         * text.C (setHeightOfRow): small fix
11190         (prepareToPrint): don't look at alignment if we don't have the place
11191         for doing it.
11192
11193 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11194
11195         * box.C: New file. Move the Box methods and functions out of box.h,
11196         following Lars' suggestion.
11197
11198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * box.h: #include "support/LOstream.h", needed for inlined function.
11201
11202         * lyxtextclass.C:
11203         * lyxtextclasslist.C: added some using std declarations.
11204
11205 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11206
11207         * box.h: make signed dimensions to allow insets wider than
11208           the screen (bug #162)
11209
11210         * BufferView_pimpl.C: add some insetHit debug
11211
11212 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * vc-backend.C: add FIXME
11215
11216 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * lyxfunc.C (getStatus): enable code for showing math font status
11219         in toolbar/menu.
11220
11221 2002-01-07  Juergen Vigna  <jug@sad.it>
11222
11223         * text.C (nextBreakPoint): removed debug output not needed anymore.
11224
11225 2002-01-06  Juergen Vigna  <jug@sad.it>
11226
11227         * text.C (nextBreakPoint): fixed up this function we had this bug
11228         since ever but now hopefully we break row better.
11229         (insertChar): we have to check if an inset is the next char as it
11230         could now happen that a large inset is causing a break.
11231
11232 2002-01-05  Juergen Vigna  <jug@sad.it>
11233
11234         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11235         if it doesn't like to be drawed.
11236
11237 2002-01-04  Juergen Vigna  <jug@sad.it>
11238
11239         * BufferView2.C (lockInset): forgot to set a cursor.
11240
11241         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11242
11243 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11244
11245         * FormMathsPanel.C:
11246         * FormMathsPanel.h
11247         * MathsSymbols.C:
11248         * form_maths_panel.C:
11249         * form_maths_panel.h:
11250         * form_maths_panel.fd: implemented sub- and super- buttons in math
11251         panel.
11252
11253         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11254         (or ^ space) to be used as in TeX (req'd by André).
11255
11256         * lyxfunc.C: Allow ^ and _ again to be used both as
11257         super/subscript (mathed) and as themselves (in text).
11258
11259 2002-01-03  Allan Rae  <rae@lyx.org>
11260
11261         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11262         "LyX" or the filename of the current buffer if it has one.  This is a
11263         modified form of John Levon's patch.
11264
11265         * XFormsView.C (setWindowTitle): also set icon title.
11266
11267         * LyXView.h (setWindowTitle): signature changed.
11268         * XFormsView.h (setWindowTitle): ditto.
11269
11270 2002-01-02  Juergen Vigna  <jug@sad.it>
11271
11272         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11273
11274 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * screen.C (topCursorVisible): introduce a temp var for
11277         text->cursor.row(), handle the case where this row is null. (kindo
11278         hachish)
11279
11280         * text2.C (setCursor): add a couple of asserts.
11281
11282         * paragraph.h (inset_iterator): add -> operator
11283
11284         * paragraph.[Ch] (autoDeleteInsets): remove member function
11285
11286         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11287         cursor pos correctly and handle inset deletion by itself.
11288         (insertErrors): move iterator declaration out of for expression
11289
11290         * lyxtextclass.C: add <algorithm>
11291
11292         * Makefile.am: added the new files to sources, removed layout.C
11293
11294         * layout.C: removed file
11295
11296         * layout.h: remove LYX_DUMMY_LAYOUT
11297
11298         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11299         layout.
11300
11301         * lyxlayout.[Ch]:
11302         * lyxtextclass.[Ch]:
11303         * lyxtextclasslist.[Ch]: new files
11304
11305         * include order changes to a lot of files, also changes because of
11306         the six new files.
11307
11308 2001-12-27  Juergen Vigna  <jug@sad.it>
11309
11310         * buffer.C (asciiParagraph): more fixes.
11311
11312         * tabular.C (ascii): make ascii export support export of only the
11313         data separated by a column-delimiter.
11314         (ascii): better support for ascii export.
11315
11316         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11317
11318 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * tabular_funcs.C: use a "using std::getline" instead of the
11321         previous fix from Angus (necessary for cxx + lyxstring)
11322
11323 2001-12-24  Juergen Vigna  <jug@sad.it>
11324
11325         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11326
11327         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11328         problems. First check a minipage also if we have some ert-contents
11329         (not only on par->size(), second set the right depth of the paragraph
11330         on the relink to the root-paragraph-list!
11331
11332         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11333         which then did not anymore update the main paragraphs on undo/redo!
11334
11335 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11338         code. Support all font-changing funcs (even those which are not in
11339         menu currently). Support for reporting font settings in
11340         mathed (disabled until Andre provides a function on mathed's side).
11341
11342         * func_status.h (toggle): small helper function to set toggle
11343         state on a flag.
11344
11345 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11346
11347         * tabular_funcs.C: getline -> std::getline
11348
11349 2001-12-21  Juergen Vigna  <jug@sad.it>
11350
11351         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11352         accessed and could be 0 (I couldn't generate this but it seems
11353         Michael could!).
11354
11355 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11358         * tabular_funcs.h: here and include iosfwd
11359
11360 2001-12-20  Juergen Vigna  <jug@sad.it>
11361
11362         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11363         inside inset but undo_par was.
11364
11365 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * Thesaurus.C: always include <config.h> in sources.
11368
11369         * Painter.h:
11370         * lyxlookup.h:
11371         * box.h: do not include <config.h> in header files
11372
11373         * text.C (paintLastRow): remove unused variable
11374
11375         * text.C (transformChar):
11376         (insertChar):
11377         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11378
11379         * Painter.C (text):
11380         * font.C (width): rewrite to use uppercase() instead of
11381         islower/toupper.
11382
11383         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11384
11385 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * lyxfind.C: clean up of find failure position change
11388
11389 2001-12-20  Juergen Vigna  <jug@sad.it>
11390
11391         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11392
11393         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11394         (TeXRow): added to LaTeX a single tabular row.
11395         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11396         (Latex): simplified and finally good LT-h/f support.
11397         (various_functions): just small adaptions for LT-h/f support.
11398
11399         * tabular_funcs.[hC]: added and moved here all not classfunctions
11400         of LyXTabular.
11401
11402 2001-12-19  Juergen Vigna  <jug@sad.it>
11403
11404         * tabular.[Ch]: better support for longtabular options (not finished
11405         yet!)
11406
11407 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * text.C (paintLastRow): use the label font instead of the font of
11410         the last character to compute the size of *_BOX. This makes more
11411         sense and avoids a crash with empty paragraphs.
11412         Use Painter::rectangle to draw EMPTY_BOX.
11413
11414 2001-12-19  Juergen Vigna  <jug@sad.it>
11415
11416         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11417         the paragraphs if the replaced paragraph is not the first one!
11418         Tried to delete not used paragraphs but does not work yet so for
11419         now it's inside #ifdef's and by default off!
11420
11421 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * MenuBackend.C: include "lyx_main.h" instead of declaring
11424         lastfiles (actually was declared as LastFiles* instead of a
11425         scoped_ptr).
11426
11427 2001-12-17  Juergen Vigna  <jug@sad.it>
11428
11429         * tabular.C (AppendColumn): applied John's fix
11430
11431 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * BufferView.h:
11434         * BufferView.C:
11435         * BufferView_pimpl.h:
11436         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11437
11438         * Makefile.am:
11439         * box.h: new start of class for above
11440
11441         * lyxfunc.C: ignore space-only minibuffer dispatches.
11442           Show the command name when it doesn't exist
11443
11444         * minibuffer.C: don't add empty lines to the history
11445
11446         * minibuffer.C: add a space on dropdown completion
11447
11448 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * text.C: fix line above/below drawing in insets
11451
11452 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11453
11454         * lyxlength.C (LyXLength): Initialize private variables.
11455
11456 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11459         when inserting error insets.
11460
11461 2001-12-13  Juergen Vigna  <jug@sad.it>
11462
11463         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11464         actually sometimes the before-paragraph.
11465         (setUndo): don't clear the redostack if we're not actually undoing!
11466
11467 2001-12-06  Juergen Vigna  <jug@sad.it>
11468
11469         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11470         and fixed redoing of main paragraph, so we can use it now ;)
11471
11472         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11473
11474 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11477         Juergen's request
11478
11479 2001-12-13  André Pönitz <poenitz@gmx.net>
11480
11481         * undostack.[Ch]:
11482         * undo_func.C: minor cleanup
11483
11484 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11487         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11488         font in urw-fonts package which is marked as -urw-fontspecific and
11489         does not work (incidentally, changing the encoding in the
11490         fonts.dir of this package to -adobe-fontspecific fixes the
11491         problem).
11492
11493         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11494         is a crash when undoing first paragraph (Juergen, please take a
11495         look). THis does not mean the undo fix is wrong, just that it
11496         uncovers problems.
11497
11498         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11499         the (Paragraph*) version when needed instead of duplicating the
11500         code.
11501
11502         * text.C (workWidth): use Inset::parOwner to find out where the
11503         inset has been inserted. This is a huge performance gain for large
11504         documents with lots of insets. If Inset::parOwner is not set, fall
11505         back on the brute force method
11506
11507         * paragraph_pimpl.C (insertInset):
11508         * paragraph.C (Paragraph):
11509         (cutIntoMinibuffer): set parOwner of insets when
11510         inserting/removing them
11511
11512         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11513
11514 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11515
11516         * commandtags.h:
11517         * LyXAction.C:
11518         * lyx_main.C:
11519         * lyxfunc.C:
11520         * mathed/formulabase.C:
11521         * mathed/math_cursor.[Ch]:
11522         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11523
11524
11525 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * lyxlength.[Ch] (operator!=): new function
11528
11529 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * text.C (workWidth): use Inset::parOwner to find out where the
11532         inset has been inserted. This is a huge performance gain for large
11533         documents with lots of insets. If Inset::parOwner is not set, fall
11534         back on the brute force method
11535
11536         * paragraph_pimpl.C (insertInset):
11537         * paragraph.C (Paragraph):
11538         (cutIntoMinibuffer): set parOwner of insets when
11539         inserting/removing them
11540
11541         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11542
11543 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * tabular-old.C (getTokenValue):
11546         * tabular.C (getTokenValue):
11547         (write_attribute): new versions for LyXLength
11548         (everywhere): adjust the use of widths
11549
11550         * tabular.h: change the type of widths from string to LyXLength
11551
11552 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11553
11554         * paragraph.C: fixed missing line number count when exporting
11555         Environments to LaTeX file
11556
11557         * buffer.C: added informational message for checking line numbers.
11558
11559 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11562         paragraph, do the 'double space' part, but not the 'empty
11563         paragraph' one.
11564
11565         * text.C (workWidth): small optimization
11566         (getLengthMarkerHeight): use minimal size for negative lengths.
11567
11568 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11569
11570         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11571
11572         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11573
11574 2001-12-11  André Pönitz <poenitz@gmx.net>
11575
11576         * FontLoader.C:
11577         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11578
11579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * text2.C: keep selection on a setFont()
11582
11583 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * lyx_cb.C: another bv->text misuse, from insert label
11586
11587 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * kbsequence.h:
11590         * kbsequence.C: re-instate nmodifier mask
11591
11592 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11593
11594         * lyx_main.h: make lyxGUI private.
11595
11596 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * lyxfind.C: place the cursor correctly on failed search
11599
11600 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11601
11602         * text.C (getLengthMarkerHeight): for small heights, the arrows
11603         are not always on top/bottom of the text
11604         (drawLengthMarker): smaller arrows; take the left margin in
11605         account; draw also vfills.
11606         (paintFirstRow):
11607         (paintLastRow): remove special code for vfill and standard spaces,
11608         since everything is handled in drawLengthMarker now.
11609
11610 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * buffer.C (insertErtContents): try to handle font and language
11613         interaction a bit better.g
11614
11615         * ColorHandler.C (updateColor): change the hash to cover the whole
11616         LColor enum, ws cleanup
11617         (getGCLinepars): ditto
11618         (getGCLinepars): only lookup in the linecache once.
11619
11620 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11621
11622         * iterators.C (operator++): Make the iterator more robust
11623
11624         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11625         (John's patch)
11626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11627
11628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * lyxtext.h:
11631         * text.C: better added space drawing
11632
11633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * LyXView.C:
11636         * BufferView2.C: fix layout combo update on inset unlock
11637
11638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * Makefile.am: don't compile unused files
11641
11642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * lyxfunc.C:
11645         * commandtags.h:
11646         * LyXAction.C: remove old LFUN_LAYOUTNO
11647
11648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * paragraph_pimpl.h:
11651         * paragraph_pimpl.C: isTextAt() doesn't need font param
11652
11653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * lyxlex.h:
11656         * lyxlex.C: little cleanup
11657
11658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * BufferView_pimpl.C: fix insertAscii for insets
11661
11662 2001-12-05  Juergen Vigna  <jug@sad.it>
11663
11664         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11665         set the right font on the "multi" paragraph paste!
11666
11667 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * trans_decl.h:
11670         * trans_mgr.[Ch]:
11671         * trans.[Ch]:
11672         * lyxgluelength.C:
11673         * lyxlength.C: remove out-commented code.
11674
11675         * BufferView_pimpl:
11676         * CutAndPaste.C:
11677         * DepTable.C:
11678         * buffer.C:
11679         * chset.C:
11680         * lastfiles.C:
11681         * lyxlex.C:
11682         * lyxlex_pimpl.C:
11683         * lyxserver.C:
11684         * screen.C:
11685         * tabular-old.C:
11686         * tabular.C:
11687         * text.C:
11688         * trans_mgr.C:
11689         * vc-backend.C: change "while(" to "while ("
11690
11691         * lyxlength.[Ch]: add zero function to check if length is zero or
11692         not
11693         * lyxgluelength.C: use it
11694
11695 2001-12-05  Allan Rae  <rae@lyx.org>
11696
11697         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11698         Works for 2.95.3, from what I understand of Garst's reports this should
11699         work for other g++ versions.  We're screwed if the abs(int) definition
11700         changed between bugfix releases of gcc.
11701
11702 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * text.C: fix chapter label offset !
11705
11706 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyxtext.h:
11709         * text.C: fix hfill at end of line, clean up
11710
11711 2001-12-04  Juergen Vigna  <jug@sad.it>
11712
11713         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11714         that we force an update of the inset and it's owners if neccessary.
11715
11716 2001-12-03  Juergen Vigna  <jug@sad.it>
11717
11718         * text.C (rowLast): simplified code
11719
11720 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * lyxfunc.C: fix show options on timeout
11723
11724 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * screen.C (topCursorVisible): scroll half a page when the cursor
11727         reached top of bottom of screen
11728
11729 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * minibuffer.C: deactivate on loss of focus
11732
11733 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * vspace.[Ch] (operator!=): add operator.
11736
11737 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView_pimpl.C: refuse to open an inset when
11740         there's a selection.
11741
11742 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.C: allow to click on RHS of full row insets
11745
11746 2001-11-30  Juergen Vigna  <jug@sad.it>
11747
11748         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11749         insets for undo reasons.
11750
11751 2001-11-28  André Pönitz <poenitz@gmx.net>
11752
11753         * vspace.[Ch]: cosmetical changes
11754
11755 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * LyXAction.h:
11758         * LyXAction.C:
11759         * lyxfunc.h:
11760         * lyxfunc.C:
11761         * kbmap.h:
11762         * kbmap.C:
11763         * lyxrc.C:
11764         * kbsequence.h:
11765         * kbsequence.C: part re-write of old kb code
11766
11767         * Painter.C:
11768         * WorkArea.C: remove Lgb_bug_find_hack
11769
11770 2001-11-30  José Matos <jamatos@fep.up.pt>
11771
11772         * buffer.C (makeDocBookFile): add a comment to point a hack.
11773         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11774         Fixed a double write of labels.
11775
11776 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11777
11778         * LaTeX.C:
11779         * LaTeX.h Fixed bug in LaTeX class where it would not
11780         re-run latex if no depfiles were changed, but the .dvi was removed.
11781
11782 2001-11-28  André Pönitz <poenitz@gmx.net>
11783
11784         * all the files from the change on 2001/11/26:
11785         use lyx::layout_type instead of LyXTextClass::size_type
11786         use lyx::textclass_type instead of LyXTextClassList::size_type
11787
11788 2001-11-29  Juergen Vigna  <jug@sad.it>
11789
11790         * text.C: added support for paragraph::isFreeSpacing()
11791
11792         * buffer.C: same as above
11793
11794         * paragraph.h: inserted isFreeSpacing() function to enable
11795         FreeSpacing inside InsetERT.
11796
11797         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11798         of the paragraph's in the cut/copy buffer to 0!
11799
11800         * text2.C (removeRow): remove the assert as it can!
11801
11802         * lyxtext.h: added helper function firstRow returning firstrow and
11803         made firstrow private again.
11804
11805         * BufferView2.C (lockInset): don't relock if we're already locked!
11806
11807         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11808         the only paragraph.
11809         (removeRow): added Assert::(firstrow)
11810
11811         * debug.C: forgot to add INSETTEXT here.
11812
11813 2001-11-28  Juergen Vigna  <jug@sad.it>
11814
11815         * sp_spell.C (initialize): changed error text to more general
11816         spellchecker command use (not only ispell!)
11817
11818         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11819
11820         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11821
11822 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * vspace.C: initialise lyxgluelength on failure
11825
11826 2001-11-28  Allan Rae  <rae@lyx.org>
11827
11828         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11829         declaration & definition that looks like a function declaration.
11830
11831 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11832
11833         * BufferView2.C (copy):
11834         (copyEnvironment): do not clear the selection when doing a copy.
11835
11836         * text.C (paintFirstRow): compilation fix
11837
11838 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11839
11840         * tabular.C (Latex): correct line count when writing latex.
11841
11842 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * paragraph_pimpl.h:
11845         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11846           bug a bit
11847
11848 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * text.C:
11851         * LColor.h:
11852         * LColor.C: change vfillline->added_space
11853
11854         * text.C: add markers and text for added space
11855
11856         * vspace.C: fix comment
11857
11858 2001-11-28  André Pönitz <poenitz@gmx.net>
11859
11860         * paragraph.C: whitespace changes
11861         * all the other files from the change on 2001/11/26:
11862         change *::pos_type into lyx::pos_type
11863
11864 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11865
11866         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11867         language of the document when inserting error insets.
11868
11869 2001-11-26  André Pönitz <poenitz@gmx.net>
11870
11871         * BufferView_pimpl.[Ch]:
11872         *       CutAndPaste.C:
11873         * buffer.[Ch]:
11874         * lyxcursor.[Ch]:
11875         * lyxfind.C:
11876         * lyxfunc.C:
11877         * lyxrow.[Ch]:
11878         * paragraph.[Ch]:
11879         * paragraph_pimpl.[Ch]:
11880         * sp_spell.C:
11881         * text.C:
11882         * text2.C: reduce header dependencies, introduce type for positions
11883
11884 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * <various>: change to use Alert.h
11887
11888 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11889
11890         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11891         when encountering an unknown token.
11892         (readLyXformat2): Show an error message if there were unknown tokens.
11893
11894 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * BufferView2.C:
11897         * BufferView_pimpl.C:
11898         * buffer.C:
11899         * paragraph.h:
11900         * text.C:
11901         * text2.C: use par->isInset()
11902
11903 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * paragraph_pimpl.h:
11906         * paragraph_pimpl.C: cleanup
11907
11908 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11909
11910         * text2.C (removeRow):
11911         * text.C (setHeightOfRow): remove useless (and costly) call to
11912         getRow.
11913
11914 2001-11-20  Allan Rae  <rae@lyx.org>
11915
11916         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11917         Now need Inset*::checkInsertChar() to return true for appropriate
11918         cases so that the characters in the minibuffer will actually be
11919         inserted.
11920
11921 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * text.C: change the order of the includes.
11924         (workWidth): initialize it at once.
11925         (workWidth): make maxw unsigned
11926         (setHeightOfRow): remove unused variable (inset)
11927         (selectSelectedWord): remove unused variable (inset)
11928         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11929
11930 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11931
11932         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11933         server is not running.
11934         (openConnection):
11935         (closeConnection): add debug info when server is disabled.
11936
11937         * ColorHandler.C (getGCForeground): send debug message to GUI
11938         channel.
11939
11940         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11941
11942         * kbmap.C (bind): modify because return conventions of
11943         kb_sequence::parse have changed.
11944
11945         * kbsequence.C (parse): only ignore spaces and not any stupid
11946         control character. This avoids tests like s[i] <= ' ', which are
11947         guaranteed to fail with 8bit characters and signed chars.
11948         Change return code to string::npos when there have been no error
11949         (0 was a bad idea when error is at first character)
11950
11951 2001-11-14  José Matos  <jamatos@fep.up.pt>
11952
11953         * buffer.h:
11954         * buffer.C (simpleDocBookOnePar): removed unused argument.
11955
11956 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11959         insets which are part of a word. Paragraph::isLetter takes care of
11960         that now. Use Paragraph::isInset to identify insets.
11961         (selectSelectedWord): do not test for hyphenation break.
11962
11963         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11964         that protected spaces are considered as spaces.
11965
11966         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11967         Inset::isLetter.
11968
11969 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * lyxserver.h:
11972         * lyxserver.C: fix it. and small cleanup.
11973
11974 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * BufferView_pimpl.C: use inline helpers
11977
11978         * LaTeXFeatures.h:
11979         * LaTeXFeatures.C: fix typos
11980
11981         * Spacing.h:
11982         * Spacing.C: move spacing_string into class
11983
11984         * ToolbarDefaults.C: move stuff into namespace anon
11985
11986         * layout.h: update enum
11987
11988         * lyxfunc.C: use better debug
11989
11990         * minibuffer.h: fix typo
11991
11992         * debug.h:
11993         * debug.C:
11994         * WorkArea.C: add and use Debug::WORKAREA
11995
11996         * lyxtext.h:
11997         * text.C:
11998         * text2.C: code re-organisation, inline helpers
11999
12000 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12001
12002         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12003         std::vector.empty().
12004
12005 2001-11-09  Allan Rae  <rae@lyx.org>
12006
12007         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12008         '\n's after tables.  Tabular and ERT inset work now makes this no
12009         longer necessary.
12010
12011 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * minibuffer.h:
12014         * minibuffer.C: fix crash, improve drop-down completion
12015
12016 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * lyxserver.h:
12019         * lyxserver.C: invalidate fd's when doing endPipe()
12020
12021 2001-11-08  José Matos  <jamatos@fep.up.pt>
12022
12023         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12024         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12025
12026         * paragraph.h:
12027         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12028
12029 2001-11-07  José Matos  <jamatos@fep.up.pt>
12030
12031         * buffer.h:
12032         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12033         const qualifier.
12034
12035         * buffer.C (sgmlOpenTag):
12036         * buffer.C (sgmlCloseTag): removed debug info.
12037
12038         * buffer.h (sgmlOpenTag):
12039         * buffer.h (sgmlCloseTag): made public.
12040
12041 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * buffer.C (saveParamsAsDefaults):
12044         * lyx_cb.C (MenuLayoutSave): remove
12045
12046         * LyXAction.C (init):
12047         * commandtags.h:
12048         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12049
12050 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * buffer.C (setPaperStuff): removed from here...
12053
12054         * bufferparams.C (setPaperStuff): ... and moved there.
12055
12056 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * minibuffer.h:
12059         * minibuffer.C:
12060         * XFormsView.C: add support for drop-down completion
12061
12062 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12063
12064         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12065         commands.
12066
12067 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12070         disabled.
12071
12072 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * lyx_main.C: change ref to known bugs
12075
12076 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12077
12078         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12079         to work around older babel problems.
12080
12081 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12082
12083         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12084
12085 2001-10-24  Juergen Vigna  <jug@sad.it>
12086
12087         * tabular-old.C (ReadOld): below variable changes reflected.
12088
12089         * tabular.[Ch]: added ltType struct for longtable header/footer
12090         defines and changed all instances where they are used. Added
12091         future support for double top/bottom rows.
12092
12093 2001-10-24  José Matos  <jamatos@fep.up.pt>
12094
12095         * buffer.h (docbookHandleCaption):
12096         * buffer.C (docbookHandleCaption): removed unused function.
12097         (makeDocBookFile): moved docbook supported version to v4.1.
12098
12099 2001-10-24  José Matos  <jamatos@fep.up.pt>
12100
12101         * tabular.h:
12102         * tabular.C (docbookRow): new function to export docbook code of a row.
12103         (DocBook): now honors the longtable flags.
12104
12105 2001-10-23  José Matos  <jamatos@fep.up.pt>
12106
12107         * LaTeXFeatures.h:
12108         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12109         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12110
12111         * buffer.C (makeLinuxDocFile):
12112         (makeDocBookFile): reworked the preamble, more clean, and with
12113         support for lyx defined entities. Changed the document declaration
12114         to be more XML friendly.
12115
12116         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12117         if we need to output XML that should be done with a filter.
12118
12119 2001-10-22  Juergen Vigna  <jug@sad.it>
12120
12121         * sp_pspell.h (class PSpell): add alive function needed in the
12122         controller to see if the spellchecker could be started.
12123
12124 2001-10-22  Juergen Vigna  <jug@sad.it>
12125
12126         * buffer.C (insertStringAsLines): modify the font for inserting
12127         chars in certain conditions by calling checkInsertChar(font).
12128
12129 2001-10-19  Juergen Vigna  <jug@sad.it>
12130
12131         * text.C (workWidth): use getRow instead of wrong algorithm.
12132         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12133
12134 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * lyxserver.h:
12137         * lyxserver.C:
12138         * lyx_main.h:
12139         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12140
12141 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12142
12143         * text.C (workWidth): do not search for the exact row when
12144         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12145         optimization for big documents.
12146
12147 2001-10-18  Juergen Vigna  <jug@sad.it>
12148
12149         * text.C (workWidth): new function with added Inset * parameter.
12150
12151 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12154
12155         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12156         change return type of getColumnNearX.
12157
12158
12159         * text.C (changeRegionCase): use uppercase/lowercase instead of
12160         toupper/tolower.
12161         (leftMargin):
12162         (rightMargin): simplify code by factoring out the uses of
12163         textclasslist.
12164         (labelFill):
12165         (numberOfHfills):
12166         (setHeightOfRow):
12167         (appendParagraph): use Paragraph::size_type
12168
12169 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * vspace.C (asLatexString): add a missing break
12172
12173 2001-10-15  Herbert Voss  <voss@perce.de>
12174
12175         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12176
12177 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12180         is not available.
12181
12182 2001-10-10  André Pönitz <poenitz@gmx.net>
12183
12184         * lyxfunc.C: removed greek_kb_flag.
12185
12186 2001-10-10  Herbert Voss  <voss@perce.de>
12187
12188         * lyx_main.C: delete global string help_lyxdir.
12189
12190 2001-10-09  Herbert Voss  <voss@perce.de>
12191
12192         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12193
12194         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12195
12196         * lyx_main.C: added global string help_lyxdir.
12197
12198         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12199
12200 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12201
12202         * lyxrc.C (set_font_norm_type): support iso8859-4
12203
12204 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12205
12206         * LaTeX.C (deplog): add another regex for MikTeX
12207
12208 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12209
12210         * lyxrc.C (set_font_norm_type): support iso8859-3
12211
12212 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12213
12214         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12215
12216         * LaTeXFeatures.C: remove special case of french and index
12217
12218         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12219         before \begin{document}). This solves several incompatibilities.
12220
12221 2001-10-03  Garst Reese  <reese@isn.net>
12222
12223         * lyx_cb.C: change CheckTex error msg.
12224
12225 2001-10-03  José Matos  <jamatos@fep.up.pt>
12226
12227         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12228
12229 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * .cvsignore: update
12232
12233         * lyx_main.C (commandLineVersionInfo): use new style version info.
12234
12235         * buffer.C (writeFile):
12236         (makeLaTeXFile):
12237         (makeLinuxDocFile):
12238         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12239
12240         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12241
12242         * version.h: update to use stuff in version.C
12243
12244         * version.C.in: new file. Contains version information determined
12245         at compile time. This is a merging of version.h and
12246         version_info.h.in.
12247
12248 2001-10-03  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView_pimpl.C (update): don't change "dirty" status in
12251         updateInset call.
12252
12253 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * WorkArea.C (c-tor): re-position version string slightly.
12256
12257 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12258
12259         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12260         revert to previous code.
12261
12262         WorkArea.[Ch]: (show, destroySplash): methods removed.
12263
12264         WorkArea.C: rework code so that it's an amalgam of the codes before and
12265         after the splash screen was moved to WorkArea.
12266
12267 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * lyxrc.C (read):
12270         * vspace.C (inPixels):
12271         (lyx_advance):
12272         * kbmap.C (bind):
12273         * buffer.C (insertStringAsLines):
12274         (asciiParagraph): fix types to be large enough
12275
12276         * lyxlex_pimpl.h: change member status from short to int
12277
12278         * layout.h: fix type of endlabeltype
12279
12280         * kbmap.C (bind):
12281         * kbsequence.C (parse): change return type to string::size_type
12282
12283         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12284         variable
12285
12286         * Bullet.C (bulletSize):
12287         (bulletEntry): do not use short ints as parameters
12288
12289         * BufferView2.C (insertLyXFile): change a char to an int.
12290
12291         * WorkArea.C (WorkArea): remove unneeded floats in computation
12292
12293 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12296
12297         * paragraph.C (asString): Do not ignore newline/hfill chars when
12298         copying to the clipboard.
12299
12300 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12301
12302         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12303         after a multi-line inset.
12304
12305 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12306
12307         * paragraph.C (validate): Set NeedLyXFootnoteCode
12308
12309 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12310
12311         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12312         and decrease-error to decrease.
12313
12314 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12317         it more readable (should be equivalent)
12318
12319 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12320
12321         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12322
12323 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12326         of a cursor (row, etc.) after a character has been deleted
12327         (deleteEmptyParagraphMechanism): call the method above on _all_
12328         cursors held by the LyXText when a double space has been
12329         detected/deleted.
12330
12331 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12334         pixmap.
12335         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12336
12337         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12338         background. Use greyOut() and the new show() methods to toggle between
12339         the foreground and background. Add code to remove the splash after
12340         its initial showing.
12341
12342         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12343         (create_forms): no longer call Dialogs::showSplash.
12344
12345 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * .cvsignore: add version_info.h
12348
12349 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12350
12351         * version_info.h.in: new file
12352
12353         * Makefile.am: add version_info.h.in
12354
12355         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12356         version_info.h instead of VERSION_INFO
12357
12358 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12361         The ERT inset now returns string().
12362
12363 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * lyxtext.h, text.C (selectNextWord): renamed as
12366         selectNextWordToSpellcheck.
12367
12368         * text.C (selectNextWordToSpellcheck): Modified to not select
12369         words inside an ERT inset.
12370
12371 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * lyx_cb.C (MenuLayoutSave): change a bit the question
12374
12375         * sp_base.h: include <sys/types.h>
12376
12377 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12380
12381 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12382
12383         * several files: fix typos in user-visible strings
12384
12385 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12386
12387         * text2.C (pasteSelection): do not set the selection, since it
12388         will be cleared later. Actually, the intent was to fix the way the
12389         selection was set, but I figured rmoving the code was just as good.
12390
12391 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12392
12393         * FontLoader.C (available): Check if font is available without
12394         loading the font.
12395
12396 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12397
12398         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12399
12400 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12401
12402         * lyxrc.[Ch]: added display_graphics variable and associated code.
12403
12404 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12405
12406         * bufferparams.C (hasClassDefaults): new method. Returns true if
12407         the buffer parameters correspond to known class defaults
12408
12409 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         * XFormsView.C (show): set minimum size to the main window.
12412
12413 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12414
12415         * text2.C (copySelection):
12416         (cutSelection):
12417         * lyxfind.C (LyXReplace):
12418         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12419         LyXText::selectionAsString.
12420
12421         * paragraph.C (asString): add "label" argument to the second form
12422
12423         * text2.C (selectionAsString): add "label" argument and pass it to
12424         Paragraph::asString.
12425
12426 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12427
12428         * lyx_main.C (commandLineHelp): remove version information
12429
12430 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12431
12432         * lyx_main.C: add -version commandline option
12433
12434 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * paragraph.h: make the optional constructor arg required instead.
12437         some modifications to other files because of this.
12438
12439         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12440
12441         * lyxserver.C (C_LyXComm_callback): make it static
12442
12443         * lyx_main.C (error_handler): make it static
12444
12445         * lyx_gui.C (LyX_XErrHandler): make it static
12446
12447         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12448
12449         * WorkArea.C: make the extern "C" methods static.
12450
12451         * Makefile.am (lyx_LDADD): simplify
12452
12453 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12454
12455         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12456         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12457
12458         * LyXAction.C (init):
12459         * lyxfunc.C (dispatch): associated code removal.
12460
12461 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12462
12463         * lyxfont.h (isSymbolFont): shut off warning
12464
12465         * text.C (setHeightOfRow):
12466         (getVisibleRow): fix crash with empty paragraphs which have a
12467         bottom line
12468
12469 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12470
12471         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12472         code.
12473
12474 2001-09-04  José Matos  <jamatos@fep.up.pt>
12475         * buffer.C
12476         * buffer.h
12477         * tabular.C (docbook): rename docBook method to docbook.
12478
12479 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * Makefile.am: add dependencies to main.o.
12482
12483 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * FontLoader.C (available): Return false if !lyxrc.use_gui
12486
12487 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12488
12489         * FontInfo.C (query):
12490         * converter.C (view):
12491         * importer.C (Import):
12492         * exporter.C (Export): Can not -> cannot.
12493
12494 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * BufferView_pimpl.C: allow to create index inset even if
12497           string is empty
12498
12499 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * buffer.C (getLists): replace boost::tie code with an explicit pair
12502         as boost::tie can break some compilers.
12503
12504         * iterators.h: Added a std:: declaration to the return type of
12505         ParIterator::size.
12506
12507 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12510           case.
12511
12512 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12513
12514         * iterators.[Ch]: New files. Provide paragraph iterators.
12515
12516         * buffer.C (changeLanguage): Use paragraph iterators.
12517         (isMultiLingual): ditto
12518
12519         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12520
12521 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12522
12523         * FontLoader.C: Support for cmr font.
12524
12525 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12526
12527         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12528         (available): New method.
12529
12530         * FontInfo.C (getFontname): Use scalable fonts even when
12531         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12532         found.
12533
12534 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * converter.C (Formats::view): reverted! Incorrect fix.
12537
12538 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12539
12540         * converter.C (Formats::view): only output the -paper option
12541         if the dvi viewer is xdvi, thereby fixing bug #233429.
12542
12543 2001-08-23  Herbert Voss  <voss@perce>
12544
12545         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12546
12547 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12548
12549         * Spacing.h (Spacing): Set space to Default on in the default
12550         constructor.
12551
12552 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * vc-backend.h (RCS::versionString): add RCS to version
12555         (CVS::versionString): add CVS to version
12556
12557         * vc-backend.C (scanMaster): do not add CVS to version.
12558         (scanMaster): do not add RCS to version
12559
12560         * lyxvc.C (versionString): new method
12561
12562         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12563
12564 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * Spacing.C (set): initialize fval
12567
12568 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12569
12570         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12571         " or \.
12572
12573 2001-08-16  Juergen Vigna  <jug@sad.it>
12574
12575         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12576
12577 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * BufferView_pimpl.C:
12580         * figureForm.C:
12581         * lyxtext.h:
12582         * text2.C: setParagraph takes linespacing now
12583
12584 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * LyxAction.C: add internal LFUN_CITATION_INSERT
12587
12588         * LyXView.C: actually apply fix
12589
12590         * bufferlist.C: fix open non-existent file
12591
12592         * lyxfind.C: fix indentation
12593
12594         * lyxfunc.C: remove unneeded assert, fix typo
12595
12596 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * MenuBackend.C: use "Floatname List"
12599
12600 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12601
12602         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12603         when converting LaTeX layout to insetERT.
12604         Generate a non-collapsed float when reading old float
12605
12606 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12607
12608         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12609         ERT insets.
12610
12611 2001-08-13  Juergen Vigna  <jug@sad.it>
12612
12613         * text.C (fill): return 0 instead of 20 as this seems to be the more
12614         correct value.
12615
12616 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12617
12618         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12619         lyxrc.font_norm.
12620
12621 2001-08-13  Juergen Vigna  <jug@sad.it>
12622
12623         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12624         casesensitive off.
12625         (SearchBackward): comment out the unlocking of the inset_owner this
12626         should not be needed!
12627
12628 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12629
12630         * Many files: Remove inherit_language, and add latex_language
12631
12632         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12633         collapsible insets.
12634
12635 2001-08-10  Juergen Vigna  <jug@sad.it>
12636
12637         * text.C (prepareToPrint): fixed hfill-width in draw!
12638
12639         * BufferView2.C (selectLastWord): save the selection cursor as this
12640         now is cleared in the function LyXText::clearSelection!
12641
12642 2001-08-08  Juergen Vigna  <jug@sad.it>
12643
12644         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12645         BACKSPACE type functions.
12646
12647         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12648         is only cutted from the document but not put in the cut-buffer, where
12649         still the old stuff should be.
12650
12651         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12652
12653         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12654
12655         * tabular.C (SetWidthOfCell): fixed special case where the width
12656         was not updated!
12657         (LeftLine): handle '|' in align_special.
12658         (RightLine): ditto
12659         (LeftAlreadyDrawed): ditto
12660         (SetWidthOfCell): ditto
12661
12662 2001-08-07  Juergen Vigna  <jug@sad.it>
12663
12664         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12665
12666 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12669         * lyxlex.[hC]: ditto
12670
12671 2001-08-06  Juergen Vigna  <jug@sad.it>
12672
12673         * text.C (getVisibleRow): fix up row clearing a bit.
12674
12675 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * minibuffer.C: make sure the X server sees the changes in the input.
12678
12679 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * paragraph.C (getFont): split into...
12682         (getLabelFont): this
12683         (getLayoutFont): and this
12684         * paragraph_pimpl.C (realizeFont): calling this
12685
12686         * text2.C (getFont): split into...
12687         (getLayoutFont): this
12688         (getLabelFont): and this
12689         (realizeFont): all three calling this
12690
12691         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12692         files where used.
12693
12694 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12695
12696         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12697
12698 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12699
12700         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12701         layouts from the Quote inset insertion.
12702
12703 2001-08-03  Juergen Vigna  <jug@sad.it>
12704
12705         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12706
12707         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12708         only if status not is already CHANGED_IN_DRAW (second level).
12709
12710         * text.C (draw): don't set the need_break_row when inside an
12711         InsetText LyXText.
12712
12713 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * buffer.C (parseSingleLyXformat2Token): handle more latex
12716         conversion cases.
12717
12718         * bufferview_funcs.[hC]: change function names to
12719         begin with small char, adjust other files.
12720
12721 2001-08-02  André Pönitz <poenitz@gmx.net>
12722
12723         * lyxfunc.C:
12724         BufferView_pimpl.C: remove broken special code for math-greek
12725
12726 2001-08-02  Juergen Vigna  <jug@sad.it>
12727
12728         * BufferView_pimpl.C (update): redone this function so that we
12729         update the text again if there was a CHANGE_IN_DRAW.
12730
12731         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12732         (drawFromTo): added a new internal bool which is used by draw() and
12733         redraw() function.
12734         (general): some cursor drawing problems fixed.
12735
12736 2001-08-01  Juergen Vigna  <jug@sad.it>
12737
12738         * lyxfind.C (LyXFind): fixed
12739         (SearchForward): ditto
12740         (SearchBackward): ditto
12741
12742         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12743         spurius drawing of the cursor in the main area.
12744
12745         * text2.C (status): small fix which could lead to a segfault!
12746         (clearSelection): remove unneeded BufferView param.
12747
12748 2001-08-01  André Pönitz <poenitz@gmx.net>
12749
12750         * lyxfunc.C: small change due to changed mathed interface
12751
12752 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12753
12754         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12755
12756 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * lyxfunc.c: fail gracefully if file doesn't exist
12759
12760         * LyXSendto.C:
12761         * buffer.C:
12762         * lyxfunc.C:
12763         * BufferView_pimpl.C: IsDirWriteable() proto changed
12764
12765         * LyXView.C: fix updateWindowTitle() to store the last title
12766
12767 2001-07-31  Juergen Vigna  <jug@sad.it>
12768
12769         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12770         the font (wrong since using of Paragraph::highestFontInRange).
12771
12772         * paragraph.C (highestFontInRange): added a default_size parameter.
12773
12774         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12775         (setHeightOfRow): reformat
12776
12777 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * converter.[hC] + affected files: move to (inital-char)lowercase
12780         function names.
12781
12782         * ParagraphParameters.C (ParagraphParameters): remove commented code
12783
12784         * PainterBase.[Ch]: remove commented code
12785
12786         * LaTeXFeatures.h: add "bool floats" for float.sty
12787
12788         * LaTeXFeatures.C (LaTeXFeatures): init floats
12789         (require): handle float
12790         (getPackages): do it with floats
12791
12792 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12793
12794         * BufferView_pimpl.C (Dispatch): improve handling of
12795         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12796
12797         * commandtags.h: #include lyxfont.h here temporarily to avoid
12798         keybinding bug.
12799
12800         * bufferlist.h: include LString.h here.
12801
12802 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * text2.C (getStringToIndex): new method.
12805
12806 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12807
12808         * *: Reduced header file dependencies all over.
12809
12810 2001-07-30  Baruch Even  <baruch@lyx.org>
12811
12812         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12813
12814 2001-07-29  Baruch Even  <baruch@lyx.org>
12815
12816         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12817
12818 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * ParameterStruct.h (endif): add a default constructor to make
12821         sure that all variables is initialized.
12822
12823         * ParagraphParameters.C (ParagraphParameters): adjust
12824
12825 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12828         index; also, check that there is something to index, and that it
12829         does not span over several paragraphs.
12830         (doubleClick): use WHOLE_WORD_STRICT for double click.
12831
12832         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12833
12834         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12835         scheme.
12836
12837 2001-07-26  Baruch Even  <baruch@lyx.org>
12838
12839         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12840         an InsetFig figure, backwards compatible reading of old figure code.
12841
12842 2001-07-27  Juergen Vigna  <jug@sad.it>
12843
12844         * text2.C: font.realize function adaption.
12845
12846         * text.C (draw): add a warnings lyxerr text if needed.
12847
12848         * layout.C: font.realize function adaption.
12849
12850         * language.C: add inherit_language and implement it's handlings
12851
12852         * bufferview_funcs.C (StyleReset): remove language parameter from
12853         font creation (should be language_inherit now).
12854
12855         * bufferparams.C (writeFile): handle ignore_language.
12856
12857         * paragraph.C (getFontSettings): the language has to be resolved
12858         otherwise we have problems in LyXFont!
12859
12860         * lyxfont.C (lyxWriteChanges): added document_language parameter
12861         (update): removed unneeded language parameter
12862
12863         * paragraph.C (validate): fixed wrong output of color-package when
12864         using interface colors for certain fonts in certain environments,
12865         which should not seen as that on the final output.
12866
12867 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * BufferView_pimpl.C:
12870         * Thesaurus.h:
12871         * Thesaurus.C:
12872         * Makefile.am:
12873         * commandtags.h:
12874         * LyXAction.C: add thesaurus support
12875
12876         * lyxfind.h:
12877         * lyxfind.C: add "once" parameter, for thesaurus, to not
12878           move to the next match
12879
12880 2001-07-26  Juergen Vigna  <jug@sad.it>
12881
12882         * lyxfont.C (realize): honor ignore_language too!
12883         (resolved): ditto.
12884
12885         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12886
12887         * text.C (draw): one place more for ignore_language to not draw
12888         itself!
12889
12890 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12893
12894 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12897         the minipage conversion problem.
12898
12899 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12902         insert an inset.
12903
12904 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * BufferView.h: don't forward declare WorkArea
12907
12908         * BufferView.C: don't include WorkArea.h
12909
12910 2001-07-25  André Pönitz <poenitz@gmx.net>
12911
12912         * commandtags.h:
12913         * LyXAction.C:
12914         * lyxfunc.C:  new LFUN 'math-space'
12915
12916         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12917
12918 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * text2.C (toggleInset): call open/close
12921
12922 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * lyxfunc.C (dispatch): add debug for the disabled case
12925
12926         * font.C (buttonText): make similar to rectText
12927
12928         * buffer.C (readInset): comment out parsing of insetlist and
12929         insttheorem
12930
12931         * PainterBase.C (rectText): small correction
12932
12933         * BufferView_pimpl.C: comment out insettheorem and insetlist
12934         * LyXAction.C: ditto
12935         * commandtags.h: ditto
12936
12937 2001-07-24  Juergen Vigna  <jug@sad.it>
12938
12939         * text.C (draw): honor the ignore_language.
12940
12941         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12942
12943 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12944
12945         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12946         char inset.
12947
12948 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12949
12950         * lyxtext.h: remove unused (and unimplemented) methods
12951
12952 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12953
12954         * text.C (getVisibleRow): honor background color
12955
12956         * PainterBase.h:
12957         * Painter.h: remove default color argument for fillRectangle
12958
12959         * text.C (backgroundColor): new method
12960
12961 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * text.C (getVisibleRow): adjust
12964
12965         * font.[Ch] (rectText): new method, metrics
12966         (buttonText): new method, metrics
12967
12968         * PainterBase.[hC]: make rectText and buttonText always draw and take
12969         fewer paramteres.
12970
12971 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12972
12973         * ToolbarDefaults.C (read):
12974         * MenuBackend.C (read): allow escaping in all strings
12975
12976         * BufferView_pimpl.C (insertAndEditInset): new method.
12977         (Dispatch): use insertAndEditInset whenever appropriate.
12978
12979         * BufferView_pimpl.C (insertNote): removed
12980
12981         * BufferView_pimpl.C (smartQuote): new method, moved from
12982         BufferView; if an insetquote cannot be inserted, insert a '"'
12983         character instead.
12984
12985         * BufferView2.C: remove insertCorrectQuote();
12986
12987         * lyxfunc.C (getStatus): Add support for all remaingin
12988         inset-insert lfuns.
12989
12990         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12991
12992         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12993         command (necessary to pass " as parameter of self-insert.
12994
12995         * text.C (selectWordWhenUnderCursor):
12996         (selectWord): add word_location parameter
12997         (selectWordWhenUnderCursor): same + remove special code for word
12998         boundary.
12999         (selectNextWord): use kind() to guess type of insetspecialchar,
13000         not latex().
13001
13002         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13003         (insertErtContents): create ert insets as collapsed.
13004         (readInset): better compatibility code for Info inset.
13005
13006 2001-07-20  Juergen Vigna  <jug@sad.it>
13007
13008         * lyxfunc.C (dispatch): use always LyXFind now!
13009
13010         * text2.C (init): add a reinit flag so that the LyXText can be
13011         reinited instead of deleted and reallocated (used in InsetText).
13012
13013         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13014
13015         * text.C: ditto
13016
13017         * text2.C: ditto
13018
13019 2001-07-18  Juergen Vigna  <jug@sad.it>
13020
13021         * text.C (selectNextWord): handle insets inside inset by calling
13022         always the bv->text functions so that we can go up the_locking_inset!
13023
13024         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13025         in strange locations when inside an inset!
13026
13027         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13028         handling to include insets.
13029
13030         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13031
13032 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13033
13034         * LyXAction.C (init):
13035         * commandtags.h:
13036         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13037         LIGATURE_BREAK, since the name is so stupid.
13038
13039 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13040
13041         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13042         InsetInfos.
13043
13044         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13045
13046         * sp_form.[Ch]: remove.
13047
13048         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13049
13050         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13051         InsetInfo.
13052
13053         * src/buffer.C (readInset): ditto.
13054
13055 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13056
13057         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13058         menuSeparator(), endOfSentenceDot(), ldots() and
13059         hyphenationPoint(), which are therefore removed.
13060         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13061
13062         * LyXAction.C (init):
13063         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13064
13065         * paragraph.C (getWord): removed.
13066
13067         * BufferView_pimpl.C (Dispatch): use last word or selection for
13068         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13069
13070         * lyx_main.C (queryUserLyXDir): do not ask before creating
13071         user_dir, except if it has been named explicitely.
13072
13073 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13074
13075         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13076         a document of zero size.
13077
13078 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13079
13080         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13081         approriately in the c-tor and in require().
13082         (getPackages): output the appropriate LaTeX for natbib support.
13083
13084         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13085         variables "use_natbib" and "use_numerical_citations" when reading the
13086         LyX file.
13087         (readInset): read the various natbib cite commands.
13088         (validate): white-space change.
13089
13090         * bufferparams.[Ch]: new variables "bool use_natbib" and
13091         "bool use_numerical_citations".
13092         (writeFile): output them in the LyX file.
13093
13094 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13095
13096         * lyxfunc.C (getStatus): add support for all the inset insertion
13097         commands.
13098
13099         * text2.C (insertInset):
13100         * paragraph.C (insetAllowed):
13101         * BufferView_pimpl.C (insertInset): update to take in account the
13102         renaming of insertInsetAllowed
13103
13104         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13105
13106         * text2.C (getInset): new method. returns inset at cursor position.
13107
13108         * BufferView_pimpl.C (Dispatch): changes because of this.
13109
13110         * LyXAction.C (init): rename open-stuff to inset-toggle.
13111
13112         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13113
13114         * text2.C (toggleInset): renamed from openStuff; use
13115         Inset::open().
13116
13117 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13118
13119         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13120
13121         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13122
13123 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13124
13125         * buffer.C (readLyXformat2): Add filename to the error dialog
13126
13127 2001-07-18  Juergen Vigna  <jug@sad.it>
13128
13129         * tabular.C (GetCellNumber): put an assert here instead of the check!
13130
13131 2001-07-17  Juergen Vigna  <jug@sad.it>
13132
13133         * BufferView_pimpl.C (toggleSelection): adapted too.
13134
13135         * text.C (selectNextWord): adapted for use with insets.
13136         (selectSelectedWord): ditto
13137
13138 2001-07-17  Juergen Vigna  <jug@sad.it>
13139
13140         * sp_spell.C (PSpell): fix initialitation order.
13141
13142 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * paragraph.C: spacing
13145
13146 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13147
13148         * sp_spell.C: repair language selection for pspell
13149
13150 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * lyxfunc.h: change more methods to begin with lower char.
13153
13154 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13155
13156         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13157         for unknown layouts.
13158
13159 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * buffer.C (readLyXformat2): Generate an error dialog if there are
13162         unknown layouts.
13163
13164 2001-07-16  Juergen Vigna  <jug@sad.it>
13165
13166         * sp_spell.C: always compile ISpell part.
13167
13168         * lyxrc.C: added use_pspell entry and it's handling.
13169
13170 2001-07-13  Juergen Vigna  <jug@sad.it>
13171
13172         * sp_spell.C: removed double includes.
13173
13174 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         Consistent use of Lsstream.h:
13177         * Lsstream.h: added using std::stringstream for consistencies sake.
13178
13179         * buffer.C: removed using std::stringstream
13180
13181         * lyxfont.C (stateText):
13182         * paragraph.C (asString):
13183         * text.C (selectNextWord, selectSelectedWord):
13184         * text2.C (setCounter):
13185         * vspace.C (asString, asLatexString):
13186         std::ostringstream -> ostringstream.
13187
13188 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13189
13190         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13191         * commandtags.h: add LFUN_HELP_ABOUTLYX
13192         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13193
13194 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13195
13196         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13197         cursorToggle()
13198         * lyx_gui_misc.C: remove spellchecker
13199         * lyxfunc.C: showSpellchecker
13200         * sp_base.h: added
13201         * sp_ispell.h: added
13202         * sp_pspell.h: added
13203         * sp_spell.C: added
13204         * sp_form.[Ch]: removed
13205         * spellchecker.[Ch]: removed
13206
13207 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13208
13209         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13210         is set.
13211         (simpleTeXSpecialChars): Simply print the input character without
13212         any special translation if pass_thru is set.
13213
13214         * layout.h: Added bool pass_thru to layout class for being able to
13215         implement pass through of a paragraph for Literate Programming.
13216
13217         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13218         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13219         * layout.C (Read): add "passthru" to list of layout tags and add
13220         code to set the pass_thru boolean when it is read.
13221
13222 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * trans_decl.h: remove allowed from KmodInfo
13225
13226         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13227         remove allowed code
13228         (Load): adjust
13229
13230         * paragraph_pimpl.C (erase): use boost::prior
13231
13232         * Painter.C (text): use data() instead of c_str() when length is
13233         also provided.
13234         * WorkArea.C (putClipboard): ditto
13235         * font.h (width): ditto
13236
13237         * BufferView2.C: use it-> instead of (*it). for iterators
13238         * texrow.C: ditto
13239         * paragraph_pimpl.C: ditto
13240         * paragraph.C: ditto
13241         * minibuffer.C: ditto
13242         * language.C: ditto
13243         * kbmap.C: ditto
13244         * encoding.C: ditto
13245         * counters.C: ditto
13246         * converter.C: ditto
13247         * chset.C: ditto
13248         * Variables.C: ditto
13249         * TextCache.C: ditto
13250         * MenuBackend.C: ditto
13251         * LyXAction.C: ditto
13252         * LColor.C: ditto
13253         * FloatList.C: ditto
13254         * DepTable.C: ditto
13255         * ColorHandler.C (LyXColorHandler): ditto
13256
13257 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13258
13259         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13260
13261         * text2.C (openStuff): reintroduce this method (which had been
13262         nuked in NEW_INSETS frenzy).
13263
13264         * lyxfunc.C (Dispatch): when an action has not been handled, use
13265         its name in the error message, not its number.
13266
13267         * paragraph.C (inInset): change method name to begin with lowercase.
13268
13269         * undo_funcs.C:
13270         * text2.C: updates because of this.
13271
13272 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * ToolbarDefaults.C (add): add spaces in error message
13275
13276 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13279         (readLyXformat2): rename return_par to first_par, use lyxlex's
13280         pushToken and remove the manual push handling.
13281         (parseSingleLyXformat2Token): add another ert comp. variable:
13282         in_tabular, rename return_par to first_par. handle newlines better
13283
13284 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13287
13288 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * text2.C (getParFromID): removed
13291
13292         * buffer.C (getParFromID): new method moved form lyxtext.
13293         * BufferView2.C (insertErrors): adjust
13294         (setCursorFromRow): adjust
13295         * BufferView_pimpl.C (restorePosition): adjust
13296         * lyxfunc.C (Dispatch): adjust
13297         * undo_funcs.C (textUndo): adjust
13298         (textRedo): adjust
13299         (textHandleUndo): adjust
13300         (textHandleUndo): adjust
13301
13302 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * buffer.C: up' the LYX_FORMAT
13305
13306         * lyxfont.h: turn NO_LATEX on as default
13307
13308         * buffer.C (insertErtContents): new methods of tex style compability.
13309         (parseSingleLyXformat2Token): use it several places.
13310         * tabular.C (OldFormatRead): and here
13311
13312 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * text2.C: remove some commented code.
13315         reindent file.
13316
13317         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13318         * trans.C: changes because of the above.
13319
13320 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * text2.C (setCounter): Fix counters bug with bibliography layout.
13323
13324 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13327         own member functions
13328         (simpleTeXSpecialChars): ditto
13329
13330 2001-07-06  Juergen Vigna  <jug@sad.it>
13331
13332         * a lot of files: changed the access to LyXText::status and the
13333         call of undo-functions.
13334
13335         * undo.[Ch]: added a inset_id to the undo informations.
13336
13337         * undo_funcs.[Ch]: added and moved here all undo functions.
13338
13339         * lyxtext.h: give the status enum a weight, made status_ a private
13340         variable and made accessor functions for it, removed the whole bunch
13341         of undo-functions as they are now in their own file, make some
13342         functions publically available. Added function ownerParagraph with
13343         int parameter.
13344
13345         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13346         made InInset() a const function, added getParFromID() function.
13347
13348         * buffer.[Ch]: added const version for inset_iterator functions,
13349         added getInsetFromID() function.
13350
13351         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13352         changed undo functions for new version.
13353
13354 2001-07-05  Juergen Vigna  <jug@sad.it>
13355
13356         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13357         unknow mechanism does not call the proper constructor but only this
13358         one also if I request the other!?
13359
13360 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13363
13364         * text2.C (LyXText): use initialization lists.
13365
13366         * lyxtext.h (Selection): initialize set_ and mark_
13367         (init): remove method
13368
13369 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13370
13371         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13372
13373 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * screen.[Ch]: change method names to begin with lowercase
13376
13377         * BufferView_pimpl.C (updateScrollbar): simplify further and
13378         hopefully make it a bit faster.
13379
13380 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13381
13382         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13383         calling directly xforms functions.
13384
13385         * Painter.C (Painter):
13386         * lyx_cb.C (MenuWrite):
13387         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13388         fl_display.
13389
13390         * lyx_gui.C: remove bogus guiruntime extern declaration.
13391
13392 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13395         in NEW_INSETS
13396         (redoDrawingOfParagraph): ditto
13397         (redoParagraphs): ditto
13398         (cutSelection): don't create a object for CutAndPaste use the
13399         static method directly
13400         (pasteSelection): ditto
13401
13402         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13403         LyXview (+ rename)
13404
13405 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * modifications to some other files because of this.
13408
13409         * Makefile.am (lyx_SOURCES): add XFormsView
13410
13411         * XFormsView.[Ch]: new files
13412
13413         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13414         the main window. Move the gui dependent stuff to XFormsView
13415
13416 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * tabular.C (GetCellInset): update cur_cell also in the row/col
13419         version of this function.
13420
13421         * lyxfunc.C: no need to include figure_form.h here.
13422
13423         * FontLoader.h:
13424         * lyxfunc.h:
13425         * lyxscreen.h:
13426         * text2.C:
13427         * lyxvc.C: no need to include forms.h here.
13428
13429 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13432
13433         * lyxfunc.C (Dispatch):
13434         * Spacing.C (set):
13435         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13436         constructor argument.
13437
13438 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * paragraph.C (Paragraph): dont't clear, and just set layout.
13441         (makeSameLayout): use params's copy contructor.
13442
13443         * ParagraphParameters.[Ch] (makeSame): delete method
13444
13445 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13446
13447         * Variables.[Ch]: fix indentation, rename set to isSet
13448
13449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * lyxfunc.C (Dispatch): fix typo
13452
13453 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13454
13455         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13456         upper_bound.
13457
13458         * bufferlist.C: include assert.h for emergencyWrite().
13459
13460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13463           give up at last (bug #425202) !
13464
13465 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * lyx_gui_misc.C:
13468         * sp_form.h:
13469         * sp_form.C:
13470         * spellchecker.h:
13471         * spellchecker.C: strip spellchecker options and bring up
13472           preferences tab instead
13473
13474 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13477         the istringstream constructor
13478
13479 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13480
13481         * paragraph.C (getLayout): fix return value
13482
13483         * paragraph.h: do not declare getLayout as inline.
13484
13485         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13486
13487 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * lyxcursor.h (operator<): new func
13490         (operator>): new func
13491         (operator>=): new func
13492         (operator<=): new func
13493
13494         * text.C (changeCase): use selection.start and selection.end
13495         (changeRegionCase): require from to be <= to. Require par to be a
13496         valid paragraph.
13497
13498         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13499
13500 2001-06-27  Juergen Vigna  <jug@sad.it>
13501
13502         * text.C (cursorLeftOneWord): changed to return the cursor and added
13503         overlay with BufferView * parameter which calls this one.
13504         (getWord): added
13505         (selectWord): use new getWord function.
13506         (changeCase): renamed from changeWordCase as and extended to work
13507         also on selections.
13508
13509         * lyxtext.h: added enum word_location
13510
13511         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13512         changeCase as this operates now also on selections.
13513
13514 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13515
13516         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13517
13518         * many files: send debug output to Debug::INFO instead of
13519         Debug::ANY.
13520
13521         * converter.C (View):
13522         (Convert):
13523         (Move): send debug output to Debug::FILES instead of console.
13524
13525 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13526
13527         * lyxfunc.C (getStatus): use func_status
13528
13529         * func_status.h: new header, describing the results of
13530         LyXFunc::getStatus;
13531
13532         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13533         LFUN_MATH_HALIGN.
13534
13535 2001-06-25  The LyX Project  <jug@sad.it>
13536
13537         * buffer.C (sgmlOpenTag):
13538         (sgmlCloseTag):
13539         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13540
13541 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * text2.C: remove some dead code
13544
13545         * tabular.C (GetCellInset): store the last cell checked (gotten)
13546
13547         * tabular.h: add the helper for the speedup
13548
13549         * lyxtext.h: remove some dead code
13550
13551 2001-06-26  The LyX Project  <Asger>
13552
13553         * paragraph.C: Change export to LaTeX of alignment to
13554         \begin{center} and family for better roundtrip work with reLyX.
13555
13556         * Tune the math drawing a bit.
13557
13558 2001-06-25  The LyX Project  <Asger>
13559
13560         * LColor.C (LColor): New color for math background. New color
13561         for buttons.
13562
13563 2001-06-25  The LyX Project  <jug@sad.it>
13564
13565         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13566
13567         * lyxfunc.C (Open):
13568         * bufferlist.C (newFile): do not restrict to files ending with
13569         .lyx
13570
13571         * BufferView_pimpl.C (MenuInsertLyXFile):
13572
13573 2001-06-24  The LyX Project  <jug@sad.it>
13574
13575         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13576         of compare_no_case
13577
13578 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * lyxtext.h: rename most methods to begin with a small char.
13581         Lots of changes because of this.
13582
13583         * paragraph.C (Paragraph): do not call fitToSize
13584         (erase): call Pimpl::erase
13585         (insertChar): call Pimpl::insertChar
13586         (insertInset): call Pipl::insertInset
13587         (breakParagraph): do not call fitToSize
13588         (breakParagraphConservative): do not call fitToSize
13589         (fitToSize): remove method
13590
13591         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13592
13593 2001-06-24  The LyX Project  <Asger>
13594
13595         * Fix Qt compilation^2
13596
13597 2001-06-24  The LyX Project  <jug@sad.it>
13598
13599         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13600         depthHook(getDepth()-1).
13601
13602         * paragraph.h:
13603         * ParagraphParameters.h:
13604         * ParameterStruct.h: change type of depth to unsigned int ==
13605         depth_type. Many adaptations to other files before of that.
13606
13607 2001-06-24  The LyX Project  <Asger>
13608
13609         * Fix Qt compilation.
13610
13611 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * paragraph.h: renamed several methods to begin with small letter.
13614         several changes to many parts of the code because of this.
13615
13616 2001-06-23  The LyX Project  <jug@sad.it>
13617
13618         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13619         rewritten to discard all double spaces when KeepEmpty is off
13620         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13621         to only handle newlines but not fiddle with spaces and friends.
13622
13623         * lyxfunc.C (MenuNew): when doing 'new from template', use
13624         template_path as default directory
13625
13626 2001-06-23  The LyX Project  <Asger>
13627
13628         * Clean-up of header file includes all over
13629         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13630
13631 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * paragraph.h: renamed from lyxparagraph.h
13634
13635 2001-06-23  Asger  <lyx@violet.home.sad.it>
13636
13637         * Buffer.h: Removed Buffer::resize
13638         * BufferList.h: Removed BufferList::resize
13639         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13640         the document lazily when we change the width, or the font settings.
13641
13642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13645
13646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * buffer.h: remove out of date comment
13649
13650 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * lyxscreen.h:
13653         * screen.C: fix "theoretical" GC leak
13654
13655 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * LaTeX.C (scanAuxFile):
13658         (deplog): remove trailing \r when reading stream (useful under
13659         win32)
13660
13661 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13662
13663         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13664         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13665         and BufferView::theLockingInset(Inset*), so should use them and not
13666         access bv_->text->the_locking_inset directly.
13667
13668         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13669
13670 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * Makefile.am:
13673         * tex-defs.h: remove old unused file
13674
13675 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * BufferView_pimpl.C: fix typo, remove minibuffer message
13678           when buffer has loaded
13679
13680 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * lyxfunc.C (Dispatch): use stringstream
13683         (MenuNew): use stringstream
13684         (Open): use stringstream
13685
13686         * importer.C (Import): use stringstream
13687
13688         * bufferview_funcs.C (CurrentState): use stringstream
13689
13690         * LaTeX.C (run): use stringstream
13691
13692         * BufferView_pimpl.C (savePosition): use stringstream
13693         (restorePosition): use stringstream
13694         (MenuInsertLyXFile): use stringstream
13695
13696 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * BufferView.C:
13699         * Bullet.C:
13700         * ColorHandler.C:
13701         * FontInfo.C:
13702         * FontLoader.C:
13703         * LColor.C:
13704         * LaTeXFeatures.C:
13705         * Painter.C:
13706         * gettext.C:
13707         * lyx_gui_misc.C:
13708         * lyxserver.C:
13709         * vspace.C: removed // -*- C++ -*- as first line.
13710
13711         * lyxfind.h:
13712         * version.h: added // -*- C++ -*- as first line.
13713
13714 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13717
13718         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13719         of string
13720
13721 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13724         of floats.
13725
13726 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * gettext.C: include LString.h even when --disable-nls is on.
13729
13730 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * converter.h (Get): changed argument type from int to
13733         FormatList::size_type to avoid unnecessary conversion.
13734
13735         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13736         before using it.
13737
13738 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * gettext.h: include LString.h even when --disable-nls is on.
13741
13742 2001-06-07  Juergen Vigna  <jug@sad.it>
13743
13744         * text.C (BreakAgain): subst spaces with tabs.
13745
13746         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13747         (resizeInsetsLyXText): set force on resizeLyXText.
13748
13749 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13750
13751         * gettext.h (gettext_init):
13752         (locale_init): use a real definition instead of a macro
13753
13754 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13755
13756         * Bufferview_pimpl.C:
13757         * LColor.h:
13758         * LColor.C: further lcolor tidies
13759
13760 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * BufferView_pimpl.C (updateScrollbar): simplify.
13763
13764         * BufferView2.C: don't include insets/insetinfo.h, change
13765         prototype for insertInset and call the Pimpl version. let
13766         updateInset call Pimpl version.
13767
13768         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13769         gotoInset to BufferView::Pimpl
13770
13771 2001-06-01  Juergen Vigna  <jug@sad.it>
13772
13773         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13774         inside a LockingInset (is the update needed at all?).
13775
13776 2001-05-31  Juergen Vigna  <jug@sad.it>
13777
13778         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13779         here not the old one otherwise how should we compare it afterwards
13780         if it's the same!
13781
13782 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * lyxfont.C:
13785         * tabular.C:
13786         * tabular-old.C:
13787         * FontInfo.C: bring C functions into global namespace when
13788         necessary
13789
13790 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13791
13792         * LString.h: make sure config.h has been loaded before LString.h.
13793
13794         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13795         (one for each char read by EatLine!).
13796
13797         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13798         variables.
13799
13800 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13803         to the same as the par we break from
13804
13805 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13808
13809         * MenuBackend.C (expand): also create menu entries for wide
13810         versions of the floats.
13811
13812         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13813
13814         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13815
13816         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13817         frontends/Makefile.am
13818
13819         * text2.C: adjust
13820         * text.C: adjust
13821
13822
13823         * tabular.C (getTokenValue): add std::
13824
13825         * tabular-old.C (getTokenValue): add std::
13826         (getTokenValue): ditto
13827         (getTokenValue): ditto
13828
13829         * screen.C (ToggleSelection): adjust
13830
13831         * lyxtext.h: put selection cursors inside a Selection struct.
13832
13833         * lyxfunc.C (moveCursorUpdate): adjust
13834
13835         * lyxfont.C (latexWriteStartChanges): add std::
13836
13837         * lyxfind.C: adjust
13838
13839         * font.h: delete with(char const *, LyXFont const &)
13840
13841         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13842
13843         * FontInfo.C (getFontname): add std::
13844
13845         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13846         (workAreaButtonPress): adjust
13847         (tripleClick): adjust
13848         (update): adjust
13849         (moveCursorUpdate): adjust
13850         (Dispatch): adjust
13851
13852         * BufferView2.C (gotoInset): adjust
13853
13854 2001-05-30  Juergen Vigna  <jug@sad.it>
13855
13856         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13857         to check pspell I add this as default as I now have new pspell
13858         libraries and they seem to use this.
13859
13860 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13861
13862         * text2.C (CutSelection): make the cursor valid before the call to
13863         ClearSelection.
13864
13865 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13866
13867         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13868         relied on 0 terminated strings and other horrors. Bug found due to
13869         the new assert in lyxstring!
13870
13871         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13872         KP_ keys.
13873
13874 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13877         to latinkeys.bind.
13878
13879         * lyxfunc.C (processKeySym): change method of getting to the
13880         self-insert char.
13881
13882         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13883         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13884         * BufferView_pimpl.[Ch]: here as private methods.
13885
13886 2001-05-28  Juergen Vigna  <jug@sad.it>
13887
13888         * text.C (SetHeightOfRow): added the update() call again as it is
13889         needed to initialize inset dimensions!
13890
13891 2001-05-16  Juergen Vigna  <jug@sad.it>
13892
13893         * text2.C (SetCharFont): Add new function with BufferView * and
13894         bool toggleall parameters for setting insets internal fonts.
13895         (SetFont): Freeze the undo as we may change fonts in Insets and
13896         all this change should be inside only one Undo!
13897
13898         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13899         setting font's in insets as for them we have the SetFont function!
13900
13901 2001-05-15  Juergen Vigna  <jug@sad.it>
13902
13903         * text2.C (ClearSelection): to be sure we REALLY don't have any
13904         selection anymore!
13905
13906         * tabular.C (TeXCellPreamble): fixed the left border problem for
13907         multicolumn cells.
13908
13909 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13910
13911         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13912         dependancy file
13913
13914 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13915
13916         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13917         LFUN_BREAKPARAGRAPH.
13918
13919         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13920         help test to "internal only", similar for LFUN_INSERT_URL
13921
13922         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13923         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13924         auto_region_delete and deadkeys.
13925
13926 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * LColor.h:
13929         * LColor.C: remove some dead entries, tidy a little
13930
13931 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13934         commented code.
13935         (Dispatch): implement LFUN_ESCAPE
13936
13937         * commandtags.h: add LFUN_ESCAPE
13938
13939         * LyXAction.C (init): add entry for LFUN_ESCAPE
13940
13941         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13942         Remove commented code.
13943         (insertNote): moved here
13944         (open_new_inset): moved here
13945
13946         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13947         BufferView_pimpl
13948
13949 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13950
13951         * kbmap.C (findbinding): clean it up and make it work correctly.
13952
13953         * lyx_main.C (init): do not pass argc and argv as parameters
13954
13955 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13956
13957         * buffer.C: fix path for OS/2 & Win32
13958
13959         * lyx_gui.C:
13960         * lyx_main:
13961         * lyx_main.C: Added os:: class.
13962
13963         * os2_defines.h: update
13964
13965 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13968         better by trying again with reduced state.
13969
13970 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * lyxrc.C (read): print error about invalid key sequence only when
13973         debugging (because not all latinX keysyms are known to some X
13974         servers)
13975
13976         * kbsequence.C (getiso): add a few std:: qualifiers
13977         (getiso): comment out extra return statement.
13978
13979 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13982         handling.
13983         (Dispatch): enhance the accent inset a bit. (not perfect)
13984
13985 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13988
13989 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13990
13991         * bufferlist.C (emergencyWrite): fix assert() call
13992
13993 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13994
13995         * text.C (InsertChar): Added trivial patch to only send the "you
13996         can not do multiple spaces this way" message once during a
13997         session.
13998
13999 2001-05-08  Baruch Even  <baruch@lyx.org>
14000
14001         * Makefile.am: Changed order of libraries to get LyX to link properly
14002         with the gnome frontend.
14003
14004 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * LaTeXFeatures.h: add a std:: qualifier
14007
14008 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * paragraph.C (String): use stringstream
14011
14012 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14013
14014         * paragraph.C (writeFile): remove footflag arg
14015
14016         * buffer.C (makeLaTeXFile): use stringstream
14017         (latexParagraphs): remove footnot gurba
14018
14019         * LaTeXFeatures.C (getPackages): use stringstream
14020         (getMacros): likewise
14021         (getTClassPreamble): likewise
14022         (getFloatDefinitions): new method
14023
14024         * paragraph.C (writeFile): reindent
14025         (Erase): reindent
14026
14027         * WorkArea.h: revert the xpos + etc changes.
14028
14029         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14030
14031         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14032
14033         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14034         (pasteSelection): likewise
14035         * text2.C (CreateUndo): likewise
14036
14037 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14038
14039         * minibuffer.C (peek_event): temporarily reduce the functionality
14040         of the minibuffer (to allow args on lfuns)
14041
14042         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14043         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14044
14045         * buffer.C (readInset): add compability reading of old float
14046         lists, add reading of new style float list.
14047         (readInset): avoid reevaluation of inscmd.getCmdName()
14048         (getLists): reindent
14049
14050         * MenuBackend.C (MenuItem): implement parsing of
14051         md_floatlistinsert and md_floatinsert.
14052         (expand::LastFiles): move initalizaton of iterators out of loop,
14053         avoid reevaluation.
14054         (expand::Documents): introduce typdedef vector<string> Strings,
14055         and use it.
14056         (expand::ExportFormats): introduce typedef vector<Format const *>
14057         Formats, and use it.
14058         (expand): implement FloatListInsert and FloatInsert.
14059
14060         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14061         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14062         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14063
14064         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14065         handling.
14066         (Dispatch::LFUN_FLOAT_LIST): implement
14067
14068 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14069
14070         * LaTeX.C (run): Fix problem with --export code.
14071
14072 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14073
14074         * BufferView.[Ch] (workarea): removed.
14075         (getClipboard) new method; wrapper for workarea()->getClipboard()
14076
14077         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14078         bug.
14079
14080         * WorkArea.h (width, height, xpos, ypos): These methods all
14081         returned the dimensions of the work_area sub-area of WorkArea,
14082         resulting in a position error if the WorkArea were resized. Now
14083         return the dimensions of the entire WorkArea.
14084
14085         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14086
14087 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14088
14089         * LaTeX.C (deplog): correct the syntax of regex reg1
14090
14091 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * undo.C: remove !NEW_INSETS cruft
14094
14095 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14096
14097         * text2.C: remove !NEW_INSETS cruft
14098
14099         * text.C: remove !NEW_INSETS cruft
14100
14101         * tabular.C: remove !NEW_INSETS cruft
14102
14103         * spellchecker.C: remove !NEW_INSETS cruft
14104
14105         * lyxtext.h: remove !NEW_INSETS cruft
14106
14107         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14108
14109         * lyxfunc.C: remove !NEW_INSETS cruft
14110
14111         * lyxfind.C: remove !NEW_INSETS cruft
14112
14113         * lyx_cb.C: remove !NEW_INSETS cruft
14114
14115         * figureForm.C: remove  !NEW_INSETS cruft
14116
14117         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14118
14119         * buffer.[Ch]: remove !NEW_INSETS cruft
14120
14121         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14122
14123         * CutAndPaste.C: remove !NEW_INSETS cruft
14124
14125         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14126
14127         * BufferView2.C: remove !NEW_INSETS cruft
14128
14129         * BufferView.h: remove !NEW_INSETS cruft
14130
14131 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * Lsstream.h: include LString.h before the sstream headers to
14134         fix problem with gcc 2.95.3 and lyxstring
14135
14136 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * lyx_main.C: add using directives when needed for C functions
14139         declared in std:: namespace.
14140
14141 2001-04-27  Juergen Vigna  <jug@sad.it>
14142
14143         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14144         (SetHeightOfRow): comment out the update call should not be needed!
14145
14146 2001-04-13  Juergen Vigna  <jug@sad.it>
14147
14148         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14149         (LyXTabular): tried to minimize operator= operations (and realized
14150         hopfully Lars wish).
14151
14152 2001-04-27  Juergen Vigna  <jug@sad.it>
14153
14154         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14155
14156 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14159
14160         * buffer.C (readInset): hack to make listof algorithm work
14161
14162         * BufferView_pimpl.C: hack to make listof algorithm work
14163
14164 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * LyXAction.C: removed all !NEW_INSETS cruft
14167         (init): moved lfun_item in method
14168
14169         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14170
14171 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * BufferView2.C (theLockingInset): white space.
14174
14175 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14176
14177         * minibuffer.C: include <iostream>
14178
14179         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14180
14181         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14182
14183         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14184
14185         * text.[Ch] (TransposeChars): new method
14186
14187 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * call message directly through LyXView instead of through LyXFunc
14190         * BufferView2.C: adjust
14191         * BufferView_pimpl.C: adjust
14192         * FontLoader.C: adjust
14193         * buffer.C: adjust
14194         * bufferview_funcs.C: adjust
14195         * converter.C: adjust
14196         * figureForm.C: adjust
14197         * importer.C: adjust
14198         * lyx_cb.C: adjust
14199         * lyx_gui_misc.C: adjust
14200         * lyxfunc.C: adjust
14201         * lyxvc.C: adjust
14202         * text2.C: adjust
14203         + more files in subdirs
14204
14205         * lyxparagraph.h (size): move up int file
14206         (GetLayout): ditto
14207
14208         * adjust all uses of Assert to lyx::Assert.
14209
14210         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14211         lyxfunctional in namespace lyx
14212         * layout.C (hasLayout): ditto
14213         (GetLayout): ditto
14214         (GetLayout): ditto
14215         (delete_layout): ditto
14216         (NumberOfClass): ditto
14217         * converter.C (GetFormat): ditto
14218         (GetNumber): ditto
14219         (Add): ditto
14220         (Delete): ditto
14221         (SetViewer): ditto
14222         * bufferlist.C (getFileNames): ditto
14223         (emergencyWriteAll): ditto
14224         (exists): ditto
14225         (getBuffer): ditto
14226         * MenuBackend.C (hasSubmenu): ditto
14227         (hasMenu): ditto
14228         (getMenu): ditto
14229         * BufferView_pimpl.C (getInsetByCode): ditto
14230
14231 2001-04-18  Juergen Vigna  <jug@sad.it>
14232
14233         * vspace.C (asLatexString): fixed the 100% problem.
14234
14235 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * lyxfunc.C (Dispatch):
14238         * minibuffer.C:
14239         * minibuffer.h: add a few std:: qualifiers
14240
14241 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * minibuffer.[Ch]: reimplement so that commands is initiated and
14244         run from lyxfunc, simplified som handling, and made the completion
14245         and history code for complete. wip.
14246
14247         * lyxfunc.C (processKeySym): call message
14248         (miniDispatch): new temporary method
14249         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14250         (LFUN_MESSAGE): implement
14251         (LFUN_MESSAGE_PUSH): implement
14252         (LFUN_MESSAGE_POP): implement
14253         (initMiniBuffer): the initial/defualt minibuffer message.
14254
14255         * lyxfont.[Ch]: inline some more getters
14256
14257         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14258
14259         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14260
14261         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14262         (AutoSave): use LFUN_MESSAGE
14263         (Reconfigure): ditto
14264
14265         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14266
14267         * figureForm.C: use LFUN_MESSAGE
14268
14269         * converter.C (runLaTeX): use LFUN_MESSAGE
14270
14271         * bufferview_funcs.C: use LFUN_MESSAGE
14272         (Melt): ditto
14273         (changeDepth): ditto
14274
14275         * bufferparams.h: use boost::
14276
14277         * bufferlist.h: inherit privately from noncopyable
14278
14279         * bufferlist.C (loadLyXFile): remove some commented code.
14280
14281         * buffer.C (runChktex): use LFUN_MESSAGE
14282
14283         * ShareContainer.h: inherit privately from noncopyable
14284
14285         * ParagraphParameters.[hC] (depth): inline it.
14286
14287         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14288         methods.
14289         (message): new method
14290         (messagePush): ditto
14291         (messagePop): ditto
14292         (show): init minibuffer
14293         (showState): direct call
14294
14295         * LaTeX.[Ch]: inherit privately from noncopyable
14296         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14297         instead of WriteStatus.
14298
14299         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14300
14301         * BufferView_pimpl.C (buffer): don't init minibuffer
14302         (workAreaButtonPress): use LFUN_MESSAGE
14303         (workAreaButtonRelease): ditto
14304         (savePosition): ditto
14305         (restorePosition): ditto
14306         (MenuInsertLyXFile): ditto
14307         (workAreaExpose): don't init minibuffer
14308         (update): remove commented code, simplify
14309
14310         * BufferView2.C (openStuff): use LFUN_MESSAGE
14311         (toggleFloat): ditto
14312         (menuUndo): ditto
14313         (menuRedo): ditto
14314         (copyEnvironment): ditto
14315         (pasteEnvironment): ditto
14316         (copy): ditto
14317         (cut): ditto
14318         (paste): ditto
14319         (gotoInset): ditto
14320         (updateInset): remove some commented code
14321
14322         * lastfiles.h: inherit privately from noncopyable
14323         * layout.h: ditto
14324         * lyx_gui.h: ditto
14325         * lyx_main.h: ditto
14326         * lyxlex.h: ditto
14327         * lyxlex_pimpl.h: ditto
14328
14329         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14330         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14331         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14332
14333         * LyXAction.h: inherit privately from noncopyable, add methods
14334         func_begin, func_end, returning iterators to the func map.
14335
14336         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14337         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14338         (func_begin): new method
14339         (func_end): new method
14340
14341         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14342         and not)
14343         (copySelection): ditto
14344         (pasteSelection): ditto
14345
14346         * BufferView.C: whitespace change
14347         * BufferView.h: inherit privately from noncopyable
14348
14349 2001-04-16  Allan Rae  <rae@lyx.org>
14350
14351         * tabular-old.C (l_getline):
14352         * spellchecker.C (sc_check_word):
14353         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14354         an unrecognised preprocessor directive.  So ensure they're wrapped.
14355
14356 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14357
14358         * src/exporter.C (Export): Give an error message when path to file
14359         contains spaces.
14360
14361 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14362
14363         * LaTeX.C (deplog): Always check that foundfile exists.
14364
14365 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14366
14367         * lyx_main.h:
14368         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14369
14370 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * tabular.[Ch] (getLabelList): implement new method
14373
14374         * minibuffer.h: comment ouf setTiimer
14375
14376         * minibuffer.C (ExecutingCB): constify res
14377         (peek_event): constify s
14378         (Set): constify ntext
14379         (Init): constify nicename
14380
14381         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14382
14383         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14384         (savePosition): use two params to Minibuffer::Set
14385         (restorePosition): ditto
14386
14387 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * lyx_main.C: include language.h
14390
14391         * Makefile.am (lyx_main.o): add language.h
14392
14393 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * exporter.C:
14396         * paragraph.C:
14397         * screen.C:
14398         * tabular.C:
14399         * CutAndPaste.C: include gettext.h
14400
14401         * lyxfont.h: remove old hack with ON and OFF.
14402
14403         * lyxparagraph.h:
14404         * lyxfont.h: do not include language.h...
14405
14406         * BufferView2.C:
14407         * LaTeXFeatures.C:
14408         * Painter.C:
14409         * bufferview_funcs.C:
14410         * font.C:
14411         * lyxfont.C:
14412         * text.C:
14413         * text2.C:
14414         * trans_mgr.C:
14415         * paragraph.C: ... but do it here instead
14416
14417 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14418
14419         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14420
14421         * tabular.C: small reformat
14422
14423         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14424         NEW_INSETS version
14425         (GetChar): ditto
14426         (BreakParagraph): ditto
14427         (SetOnlyLayout): ditto
14428         (SetLayout): ditto
14429
14430         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14431         with one arg less.
14432
14433         * lastfiles.C: removed most using decl, add std:: where needed
14434
14435         * buffer.C: ws changes
14436
14437         * MenuBackend.C (class compare_format): put into anon namespace
14438         (expand): constify label, names, action, action2
14439         (expand):
14440
14441         * text.C (SingleWidth): constify font
14442         (IsBoundary): constify rtl2
14443         (GetVisibleRow): constify ww
14444
14445         * LaTeX.C (deplog): constify logfile
14446
14447         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14448         start_x, end_x
14449         (workAreaExpose): constify widthChange, heightChange
14450
14451         * lyxrow.C (par): moved
14452         (height): moved
14453         (next): moved
14454         * lyxrow.h: as inlines here
14455
14456         * lyxfont.h (shape): moved from lyxfont.C
14457         (emph): moved from lyxfont.C
14458
14459         * lyxfont.C (LyXFont): use initialization list for all
14460         constructors
14461         (shape): move to lyxfont.h as inline
14462         (emph): move to lyxfont.h as inline
14463
14464
14465 2001-04-04  Juergen Vigna  <jug@sad.it>
14466
14467         * vspace.C: had to include stdio.h for use of sscanf
14468
14469 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14470
14471         * BufferView.h:
14472         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14473         independent of xforms.
14474
14475 2001-04-02  Juergen Vigna  <jug@sad.it>
14476
14477         * spellchecker.C: fixed namespace placing!
14478
14479 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14480
14481         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14482         the LyXParagraph * is 0.
14483
14484 2001-03-29  Juergen Vigna  <jug@sad.it>
14485
14486         * vspace.C: added support for %, c%, p%, l%.
14487         (stringFromUnit): added helper function.
14488         (asLatexString): changed to give right results for the %-values.
14489
14490         * buffer.C: convert the widthp in a width%.
14491
14492 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14493
14494         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14495         figureForm.[Ch].
14496
14497         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14498         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14499
14500         * lyx_cb.[Ch]: see above.
14501
14502         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14503         form1.[Ch].
14504
14505         * form1.[Ch]:
14506         * lyx.[Ch]: replaced by figure_form.[Ch].
14507
14508         * lyx_gui.C:
14509         * lyx_gui_misc.C:
14510         * lyxfunc.C: changed headers associated with above changes.
14511
14512 2001-03-27  Juergen Vigna  <jug@sad.it>
14513
14514         * BufferView_pimpl.C: set the temporary cursor right!
14515
14516 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14517
14518         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14519
14520 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14521
14522         * LString.h: removed "using std::getline"!
14523
14524         * BufferView_pimpl.C (Dispatch): changes due to changes in
14525         InsetInclude::Params.
14526
14527         * buffer.C (tag_name): removed redundant break statements as they were
14528         producing lots of warnings with my compiler.
14529
14530 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * LString.h: add "using std::getline" when using the real <string>.
14533
14534 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14535
14536         * buffer.C: removed bitset usage.
14537         PAR_TAG moved to an anonymous name space.
14538         (tag_name): new funtion, also in the anonymous namespace.
14539         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14540         (makeDocBookFile): clean code. Completed transition from string arrays
14541         to string vectors.
14542         (SimpleDocBookOnePar): code clean.
14543
14544 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14545
14546         * tabular.C: add some comments.
14547
14548 2001-03-22  Juergen Vigna  <jug@sad.it>
14549
14550         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14551         compatibility read a bit and fixed bug with minipage in different
14552         depth.
14553
14554 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14555
14556         * buffer.C (pop_tag): removed.
14557         (push_tag): removed.
14558         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14559         array replaced with vector. Added support for CDATA sections.
14560         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14561         at any nest level.
14562         (makeDocBookFile): XML conformant declaration of CDATA section,
14563         fixed bug related to <emphasis> in the first paragraph char.
14564         (sgmlOpenTag): exclude empty tags.
14565         (sgmlCloseTag): ditto.
14566
14567         * buffer.h (pop_tag): removed.
14568         (push_tag): removed.
14569
14570 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14571
14572         * language.h (Languages): added size_type and size().
14573
14574 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14575
14576         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14577         response on compability reading of minipages. One probliem is that
14578         the old usage of minipages was «flertydig»
14579
14580         * several files here and in subdirs: don't use static at file
14581         scope use anon namespaces instead.
14582
14583 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14584
14585         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14586         LaTeX output. This is necessary for Literate document
14587         processing.
14588
14589 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14590
14591         * buffer.C: insert hfill when needed.
14592
14593         * tabular.C (l_getline): use string::erase, small whitespace change.
14594
14595         * BufferView_pimpl.C: try the anon namespace.
14596         * WorkArea.C: ditto
14597
14598 2001-03-16  Juergen Vigna  <jug@sad.it>
14599
14600         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14601         otherwise it won't open options-dialogs.
14602
14603         * buffer.C: honor pextraWidth(p) on converting minipages.
14604
14605         * tabular.C (l_getline): changed the functions to strip trailing \r.
14606
14607 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * BufferView_pimpl.C:
14610         * minibuffer..C: added "using SigC::slot" declaration.
14611
14612 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14613
14614         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14615
14616         * text2.C: ditto
14617
14618         * text.C: ditto
14619
14620         * paragraph.C: ditto
14621
14622         * lyxtext.h: NO_PEXTRA
14623
14624         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14625
14626         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14627         * ParameterStruct.h: ditto
14628         * ParagraphParameters.h: ditto
14629         * lyxparagraph.h: ditto
14630
14631 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14632
14633         * buffer.C: add compability for minipage alignment.
14634         (latexParagraphs): remove unwanted pextra check.
14635
14636         * several files: remove CXX_WORKING_NAMESPACES
14637
14638         * buffer.C (pop_tag): tie is in namespace boost
14639
14640         * BufferView.h: noncopyable is in namespace boost
14641         * lyxlex.h: ditto
14642         * lyx_main.h: ditto
14643         * lyx_gui.h: ditto
14644         * layout.h: ditto
14645         * lastfiles.h: ditto
14646         * bufferlist.h: ditto
14647         * ShareContainer.h: ditto
14648         * LyXView.h: ditto
14649         * LyXAction.h: ditto
14650         * LaTeX.h: ditto
14651
14652 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14653
14654         * Merging changes from BRANCH_MVC back into HEAD.
14655
14656         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14657
14658 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * BufferView_pimpl.C: change from intl.C
14661
14662         * combox.h:
14663         * combox.C:
14664         * Makefile.am: move combox.*
14665
14666         * form1.h:
14667         * form1.C:
14668         * lyx_gui.C:
14669         * intl.h:
14670         * intl.C: remove dialog (covered by prefs)
14671
14672 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14673
14674         * lyxfunc.C (Dispatch): removed redundant break statement.
14675
14676 2001-03-14  Juergen Vigna  <jug@sad.it>
14677
14678         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14679
14680 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14681
14682         * buffer.C: add hack to fix compability reading of minipages.
14683
14684 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14685
14686         * buffer.C (getLists): Cleanup.
14687
14688 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14689
14690         * lyxfont.C (update): don't honor toggleall on font size.
14691
14692 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * bmtable.c:
14695         * bmtable.h:
14696         * Makefile.am: moved to frontends/xforms/
14697
14698         * lyx_gui_misc.C:
14699         * lyxfunc.C:
14700         * BufferView_pimpl.C: changes for moved mathpanel
14701
14702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * gettext.h: fix gettext_init() in --disable-nls
14705
14706 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14707
14708         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14709
14710 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14711
14712         * lyx.C:
14713         * lyx.h: strip external form
14714
14715 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * BufferView_pimpl.C: add comment, destroySplash()
14718
14719 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * BufferView_pimpl.C:
14722         * LyXAction.C:
14723         * buffer.C:
14724         * commandtags.h:
14725         * lyxfunc.C: use re-worked insetinclude
14726
14727 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14728
14729         * buffer.C: add using std::stringstream.
14730
14731         * lyx_cb.C: readd using std::ios.
14732
14733         * buffer.C: add using std::map.
14734
14735         * BufferView_pimpl.C: add using std::vector.
14736
14737         * ShareContainer.h: add std:: to swap.
14738
14739         * buffer.h: add some typedefs
14740         * buffer.C (getLists): use them
14741         (getLists): renamed from getTocList.
14742         add a counter for the different float types and use it in the
14743         generated string.
14744         (getLists): use the same counter for the NEW_INSETS and the "non"
14745         NEW_INSETS
14746
14747         * lyx_cb.h: remove unused items, includes, using etc.
14748
14749         * ShareContainer.h: remove some commented code, add more comments
14750         and "documentation".
14751
14752 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14753
14754         * buffer.C (getTocList): make the list also when NEW_INSETS is
14755         defined.
14756
14757         * buffer.h: remove TocType
14758
14759         * buffer.C (getTocList): change to return a map<string,
14760         vector<TocItem> >, implement for dynamic number of list.
14761
14762         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14763         * text2.C (PasteSelection): adjust
14764         * CutAndPaste.C (pasteSelection): adjust
14765
14766         * FloatList.C (FloatList): update from the new_insets branch.
14767         * Floating.[Ch]: ditto
14768         * LaTeXFeatures.C: ditto
14769         * buffer.C: ditto
14770         * lyxlex_pimpl.C: ditto
14771
14772         * paragraph.C (Last): remove when NEW_INSETS is defined.
14773
14774         * other file: changes because of the above.
14775
14776 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14777
14778         * lyxparagraph.h: rename next to next_, previous to previous_,
14779         make them private for NEW_INSETS. Rename Next() to next(),
14780         Previous() to previous().
14781
14782         * other files: changes because of the above.
14783
14784 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * BufferView.h:
14787         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14788         problem.
14789
14790 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * main.C (main): pass lyx_localedir to gettext_init().
14793
14794         * gettext.h: remove locale_init and gettext_init macros
14795
14796         * gettext.C (locale_init): new function
14797         (gettext_init): new function
14798
14799         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14800         setlocale().
14801
14802 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14803
14804         * Moved credits to frontends:
14805         * credits.[Ch]: removed
14806         * credits_form.[Ch]: removed
14807         * lyx_gui_misc.C: remove credits stuff
14808         * Makefile.am:
14809
14810 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14811
14812         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14813
14814         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14815         unneeded destructor.
14816
14817         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14818         a standalone pointer again.
14819
14820         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14821
14822 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * Makefile.am:
14825         * filedlg.h:
14826         * filedlg.C:
14827         * LyXAction.C:
14828         * ToolbarDefaults.C:
14829         * bufferlist.C:
14830         * commandtags.h:
14831         * form1.C:
14832         * form1.h:
14833         * lyx_cb.C:
14834         * lyx_cb.h:
14835         * lyxfunc.h:
14836         * lyxfunc.C:
14837         * BufferView_pimpl.C: use new file dialog in GUII
14838
14839         * lyx_cb.h:
14840         * lyx_cb.C: remove LayoutsCB to Toolbar
14841
14842 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * ShareContainer.h (get): add std:: qualifier
14845
14846 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * ShareContainer.h: define a proper ShareContainer::value_type
14849         type (and use typename to please compaq cxx)
14850
14851 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14852
14853         * lyxparagraph.h: move serveral local vars to
14854         ParameterStruct/ParagraphParameters., use ShareContainer in
14855         FontTable., make vars in FontTable private and add getter and
14856         setter.
14857
14858         * paragraph.C: changes because of the above.
14859
14860         * lyxfont.h: remove copy constructor and copy assignment. (the
14861         default ones is ok), move number inside FontBits. move inlines to
14862         lyxfont.C
14863
14864         * lyxfont.C: add number to initializaton of statics, move several
14865         inlines here. constify several local vars. some whitespace
14866         cleanup. Dont hide outerscope variables.
14867
14868         * Spacing.h: add two new constructors to match the set methods.
14869
14870         * ShareContainer.h: new file, will perhaps be moved to support
14871
14872         * ParameterStruct.h: new file
14873
14874         * ParagraphParameters.h: new file
14875
14876         * ParagraphParameters.C: new file
14877
14878         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14879         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14880
14881         * BufferView_pimpl.C: ParagraphParameter changes.
14882         * buffer.C: Likewise.
14883         * bufferview_funcs.C: Likewise.
14884         * text.C: Likewise.
14885         * text2.C: Likewise.
14886
14887 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * lyxfind.C (LyXReplace): do not redefine default argument in
14890         implementation.
14891         (IsStringInText): ditto
14892         (SearchForward): ditto
14893         (SearchBackward): ditto
14894
14895 2001-03-06  Juergen Vigna  <jug@sad.it>
14896
14897         * lyxfind.C (IsStringInText): put parentes around expressions.
14898
14899 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14900
14901         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14902
14903 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14906
14907         * stl_string_fwd.h: add comment
14908
14909         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14910
14911         * tabular.h:
14912         * tabular.C: remove unused DocBook methods
14913
14914         * intl.C:
14915         * language.C:
14916         * paragraph.C:
14917         * buffer.C:
14918         killed DO_USE_DEFAULT_LANGUAGE
14919
14920 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14921
14922         * lyx_gui.C: do not include language.h.
14923
14924         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14925         arguments in function implementation.
14926
14927 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14928
14929         * BufferView_pimpl.C: add <ctime>
14930
14931 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14932
14933         * BufferView_pimpl.C: add using std::find_if
14934
14935 2001-02-27  José Matos  <jamatos@fep.up.pt>
14936
14937         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14938         by OnlyPath.
14939
14940 2001-02-11  José Matos  <jamatos@fep.up.pt>
14941
14942         * buffer.C (makeDocBookFile): command styles now have a parameter as
14943         "title" by default.
14944
14945 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14946
14947         * layout_forms.[Ch]: removed
14948         * lyx_cb.[Ch]: out character
14949         * lyx_gui.C: out character
14950         * lyx_gui_misc.C: out character
14951         * bufferview_funcs.C: : out character,
14952         added toggleall as parameter in ToggleAndShow
14953
14954 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14955
14956         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14957
14958         * text2.C (SetCurrentFont): Disable number property at boundary.
14959
14960 2001-02-26  Juergen Vigna  <jug@sad.it>
14961
14962         * lyxfunc.C (getStatus): added a string argument override function so
14963         that this is correctly called from LyXFunc::Dispatch if it contains a
14964         do_not_use_argument which is used!
14965         (Dispatch): added check for "custom" export and call appropriate func.
14966
14967 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * lyxrc.C: Add language_command_local, language_use_babel and
14970         language_global_options.
14971
14972         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14973
14974         * buffer.C (makeLaTeXFile): Use language_use_babel and
14975         language_global_options.
14976
14977 2001-02-23  Juergen Vigna  <jug@sad.it>
14978
14979         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14980         which works with LyXText and putted it inside BufferView. Here now we
14981         only call for that part the BufferView::Dispatch() function.
14982
14983         * BufferView.C (Dispatch): added.
14984
14985         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14986         functions which needs to use a LyXText over from LyXFunc.
14987         (MenuInsertLyXFile): added
14988         (getInsetByCode): added
14989         (moveCursorUpdate): added
14990         (static TEXT): added
14991
14992 2001-02-22  Juergen Vigna  <jug@sad.it>
14993
14994         * BufferView_pimpl.C (update): call a status update to see if LyXText
14995         needs it.
14996
14997 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14998
14999         * vc-backend.C (revert): implement for CVS
15000         (getLog): implement for CVS
15001
15002 2001-02-20  Juergen Vigna  <jug@sad.it>
15003
15004         * text2.C (ClearSelection): added BufferView param for inset_owner call
15005
15006         * lyxfunc.C (TEXT): added this function and use it instead of
15007         directly owner->view()-text of getLyXText().
15008
15009 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15010
15011         * src/layout_forms.C: out preamble
15012         * src/layout_forms.h: out preamble
15013         * src/lyx_cb.C: out preamble
15014         * src/lyx_cb.h: out preamble
15015         * src/lyx_gui.C: out preamble
15016         * src/lyx_gui_misc.C: out preamble
15017         * src/lyxfunc.C: connect with guii preamble
15018
15019 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15020
15021         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15022
15023 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15026         whether to run bibtex.
15027
15028 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15031
15032 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15033
15034         * Makefile.am (lyx_SOURCES): removed bibforms.h
15035
15036         * vspace.h: doxygen
15037
15038         * text.C (GetVisibleRow): make several local vars const
15039
15040         * tabular.C: small cleanup.
15041
15042         * lyxserver.C (callback): use compare instead of strncmp
15043
15044         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15045         inlines to after class or to paragraph.C
15046
15047         * lyxfont.h: remove friend operator!=
15048
15049         * converter.h: move friend bool operator< to non friend and after
15050         class def.
15051
15052         * combox.h: small cleanup
15053
15054         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15055         to inlines after class def.
15056
15057         * buffer.C (pop_tag): use string operations instead of strcmp
15058
15059         * bmtable.c: doxygen, small cleanup
15060
15061         * LaTeX.h: remove friend operator==
15062
15063 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15064
15065         * screen.C:
15066         * lyxrc.[Ch]:
15067         * lyxfunc.C:
15068         * lyxfont.[Ch]:
15069         * lyx_cb.C:
15070         * intl.[Ch]:
15071         * commandtags.h:
15072         * buffer.C:
15073         * WorkArea.[Ch]:
15074         * LyXAction.C:
15075         * BufferView_pimpl.C:
15076         * BufferView.[Ch]: remove cruft
15077
15078 2001-02-14  Juergen Vigna  <jug@sad.it>
15079
15080         * lyxfunc.C: removed #if 0 unused code
15081
15082         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15083
15084         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15085
15086         * text2.C (SetSelection): added a BufferView * parameter
15087
15088 2001-02-13  Juergen Vigna  <jug@sad.it>
15089
15090         * lyxfunc.C (Dispatch): fixed protected blank problem.
15091         * BufferView2.C (protectedBlank): added LyxText * parameter.
15092
15093         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15094         (AppendColumn): same as above for column_info.
15095
15096         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15097         (moveCursorUpdate): use a LyXText param for support of InsetText.
15098
15099         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15100         (tripleClick): ditto
15101
15102         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15103
15104         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15105
15106         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15107
15108         * text2.C (SetSelection): set correct update status if inset_owner
15109         (ToggleFree): ditto
15110
15111 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15112
15113         * tabular.C: remove some commented code.
15114
15115 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * BufferView_pimpl.C: call hideSplash()
15118
15119         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15120
15121         * include_form.h:
15122         * bibforms.h: remove
15123
15124         * lyxfunc.C:
15125         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15126           add LFUN_CHILD_CREATE
15127
15128         * counters.h: fix tiny typo
15129
15130         * lyx_cb.C:
15131         * lyx.h:
15132         * lyx_gui.C:
15133         * lyx.C: move splash to frontends/xforms/
15134
15135         * lyx_gui_misc.C: move Include and Bibform to frontends
15136
15137         * lyxvc.h: clarify comment
15138
15139         * vspace.C: tiny housekeeping
15140
15141 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * text.C (PrepareToPrint): RTL Fix.
15144
15145         * paragraph.C (GetUChar): New method.
15146         (String):  Use GetUChar.
15147
15148         * buffer.C (asciiParagraph): Use GetUChar.
15149
15150 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15153
15154 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * buffer.h:
15157         * buffer.C: rename to getLogName(), handle
15158           build log / latex log nicely
15159
15160 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15161
15162         * MenuBackend.C:
15163         * MenuBackend.h: remove support for reference menuitem type.
15164
15165 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * BufferView_pimpl.C: housekeeping
15168         * BufferView_pimpl.h:
15169         * LyXView.h:
15170         * Makefile.am:
15171         * Timeout.C:
15172         * Timeout.h:
15173         * minibuffer.h: move Timeout GUI-I
15174
15175 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * lyxrc.C (read): Update converters data-structures.
15178
15179 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15180
15181         * LaTeX.h (operator!=): add operator != for Aux_Info
15182
15183 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15184
15185         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15186
15187         * LaTeXLog.C: deleted, useful code moved to Buffer
15188
15189         * buffer.h:
15190         * buffer.C: new function getLatexLogName()
15191
15192         * lyx_gui_misc.C:
15193         * lyx_gui.C:
15194         * lyxvc.C:
15195         * lyxvc.h:
15196         * lyxfunc.C: use frontends for LaTeX and VC logs
15197
15198 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15199
15200         * LaTeX.h: yet another std:: that Allan forgot.
15201
15202         * Variables.C (set): renamed from isset(), because this clashes
15203         with some HP-UX macros (grr).
15204
15205 2001-02-06  Allan Rae  <rae@lyx.org>
15206
15207         * LaTeX.h: Another bug fix.  Missing std:: this time.
15208
15209 2001-02-04  Allan Rae  <rae@lyx.org>
15210
15211         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15212         floats problem. I've left it commented out because it's not quite
15213         correct.  It should also test that the current object is a table or
15214         figure inset.  But I haven't gotten around to figuring out how to do
15215         that.  I *think* it'll be something like: "table" == inset.type()
15216
15217         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15218         bool.
15219
15220 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15223         all the citation/databases/styles in the auxilary file.
15224         (run): Rerun latex if there was a babel language error.
15225
15226 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * text.C (Backspace): Preserve the font when changing newline char
15229         with a space.
15230         (BreakParagraph): If the cursor is before a space, delete the space.
15231
15232         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15233
15234 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15235
15236         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15237         new argument (code).
15238         (ChangeCitationsIfUnique): New method.
15239
15240         * paragraph.C (GetPositionOfInset): Handle bibkey.
15241
15242 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15243
15244         * BufferView_pimpl.h: change type of Position::par_pos to
15245         LyXParagraph::size_type.
15246
15247 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15248
15249         * BufferView_pimpl.C (savePosition, restorePosition): Write
15250         messages to minibuffer.
15251
15252 2001-01-28  José Matos  <jamatos@fep.up.pt>
15253
15254         * buffer.C (makeDocBookFile): adds support for document language.
15255         A silly restriction on the name of LatexCommand types where removed.
15256         Added support for CDATA sections, allows to chars unescaped, used
15257         among others in code, to avoid escape < and >.
15258
15259 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15260
15261         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15262         saved positions instrad of a stack. Furthermore, a position is
15263         stored using paragraph id/paragraph position.
15264
15265         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15266         Remove LFUN_REF_BACK.
15267
15268 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * converter.C (dvipdfm_options): New method.
15271
15272 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * vspace.C (isValidLength): Fix for empty input string.
15275
15276 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * LyXAction.C (init): change description of LFUN_FIGURE to
15279         "Insert Graphics"
15280
15281 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15282
15283         * LaTeX.C: add using directive
15284
15285 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15286
15287         * MenuBackend.C (expand): Fix the sorting of the formats.
15288
15289 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * lyx_main.C: tiny error message fix
15292
15293 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15296         calling fl_initialize(). This fixes the problem with ',' as
15297         decimal separator in text files.
15298
15299 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * trans.C (process): Fix the keymap bug.
15302
15303 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15304
15305         * LaTeX.C (scanAuxFiles): New method. Provides support for
15306         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15307         (scanLogFile) Scan for "run BibTeX" messages.
15308
15309         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15310         OT1 font encoding. Also, load the aecompl package if the ae
15311         package is loaded.
15312
15313         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15314
15315 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * texrow.C (increasePos): turn two error messages into debug
15318         messages.
15319
15320 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15321
15322         * LaTeX.C (scanAux): Handle the \@input macro.
15323         (runBibTeX): Use scanAux().
15324
15325         * language.C (latex_options_): New field.
15326
15327         * LaTeXFeatures.C (getMacros): Add language macros.
15328
15329         * buffer.C (makeLaTeXFile): Small fix.
15330
15331 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15334
15335         * text2.C: add a using directive.
15336
15337 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15338
15339         * BufferView2.C:
15340         * lyx_gui_misc.h:
15341         * lyxfr1.C:
15342         * lyxfunc.C: kill LyXBell.
15343
15344 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15345
15346         * text.C (IsBoundary): Remove the error message
15347
15348         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15349
15350         * lyxrc.C (setDefaults): Correct initialization value for
15351         font_norm_type.
15352
15353 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15354
15355         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15356         gotoError().
15357
15358         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15359         and GotoNextNote().
15360
15361         * src/LyXAction.C: Added reference-next.
15362
15363         * text.C (InsertChar): Use contains instead of strchr.
15364
15365         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15366
15367 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15370         alignment commands (when needed).
15371
15372         * text.C (InsertChar): Add ':' to number separator chars.