]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ac5bcebc5f4e27c605717e8438944908ba96ca84
[lyx.git] / src / ChangeLog
1 2004-04-08  Angus Leeming  <leeming@lyx.org>
2
3         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
4         thereby squashing an unnecessary warning.
5
6 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
9         setBuffer()
10         
11 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * BufferView.C (setCursor): call redoParagraph (some insets could
14         have been opened) 
15         (putSelectionAt): remove the 'double update' trick
16
17         * BufferView_pimpl.C (fitCursor): call refreshPar
18         (workAreaDispatch): remove an uneeded update call
19         (dispatch): remove some manual update calls
20
21         * cursor.[Ch]: remove cached_y_, updatePos
22         (selHandle): set noUpdate when appropriate
23
24         * lyxfunc.C (dispatch): track if we need an update
25         
26         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
27
28         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
29         (paintSelection): cheap optimization, do not call cursorX when not
30         needed 
31         (paintPars): change signature
32         (refreshPar): add
33         (paintText): adjust
34         (paintTextInset): adjust
35
36         * text.C: adjust
37
38 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * lengthcommon.C: compilation fix: remove explicit array size from
41         unit_name[] and friends
42
43 2004-04-05  Angus Leeming  <leeming@lyx.org>
44
45         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
46
47         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
48         present only for the preferences dialog.
49         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
50
51 2004-04-05  Angus Leeming  <leeming@lyx.org>
52
53         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
54         to enable the frontends to export changes to lyxrc correctly.
55
56         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
57
58 2004-04-05  André Pönitz  <poenitz@gmx.net>
59
60         * cursor.[Ch] (valign, halign...): remove unneeded functions
61
62 2004-04-05  Angus Leeming  <leeming@lyx.org>
63
64         * lyxlength.[Ch] (unit_name et al.): const-correct.
65
66 2004-04-05  Angus Leeming  <leeming@lyx.org>
67
68         * BufferView_pimpl.C:
69         * buffer.C:
70         * counters.C:
71         * cursor.C:
72         * lyxfunc.C
73         * paragraph.C:
74         * pariterator.C:
75         * text.C:
76         * text2.C:
77         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
78
79 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * text3.C (getStatus): add LFUN_BEGINNINGBUF
82
83 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * lyxfind.C: add a couple of inTexted() tests + other small fixes
86         * BufferView_pimpl.[Ch] (getStatus)
87         * BufferView.[Ch] (getStatus): add
88         * lyxfunc.C (getStatus): move lfuns handled in
89         BufferView::dispatch to te function above 
90         * Cursor.C (setSelection): set selection() = true
91
92 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
95
96 2004-03-31  Angus Leeming  <leeming@lyx.org>
97
98         * lyxfunc.C (dispatch): Fall through to the generic
99         Dialogs::show("preamble").
100
101 2004-03-31  Angus Leeming  <leeming@lyx.org>
102
103         * lyxfunc.C (dispatch): Fall through to the generic
104         Dialogs::show("spellchecker").
105
106 2004-03-31  Angus Leeming  <leeming@lyx.org>
107
108         * lyxfunc.C (getStatus, dispatch): changed invocation of the
109         preferences dialog.
110
111 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
112
113         * BufferView.C
114         * cursor.[Ch]
115         * dociterator.[Ch]:
116         * insetiterator.[Ch]:
117         * lyxfind.C:
118         * lyxfunc.C:
119         * pariterator.[Ch]:
120         * text2.C:
121         * undo.[Ch]: s/DocumentIterator/DocIterator/g
122
123 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
124
125         * BufferView.C (setCursor, putSelectionAt): call edit to open the
126         insets where we are putting the cursor.
127
128 2004-03-31  Angus Leeming  <leeming@lyx.org>
129
130         * lfuns.h:
131         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
132
133         * lyxrc.[Ch] (read, write): overloaded member functions taking
134         a std::[io]stream arguments.
135
136         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
137
138 2004-03-31  Angus Leeming  <leeming@lyx.org>
139
140         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
141         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
142
143         * lyxtextclass.C (load): if the text class couldn't be loaded, then
144         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
145
146 2004-03-31  Angus Leeming  <leeming@lyx.org>
147
148         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
149         the LFUN_ALL_INSETS_TOGGLE code.
150
151 2004-03-30  Angus Leeming  <leeming@lyx.org>
152
153         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
154         has died. Fall through to the generic Dialogs::show("document").
155         
156 2004-03-30  Angus Leeming  <leeming@lyx.org>
157
158         * lfuns.h:
159         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
160         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
161
162         * lyxfunc.C (getStatus, dispatch): define the actions for these
163         lfuns. Little more than a cut and pste job from ControlDocument.C
164
165         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
166
167 2004-03-30  Angus Leeming  <leeming@lyx.org>
168
169         * lfuns.h:
170         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
171         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
172
173         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
174         open/closed state of ollapsable insets. Usage:
175
176         all-inset-toggle <state> <name>, where
177         <state> == "open" || "closed" || "toggle" and
178         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
179
180         * lyxtext.h, text2.C (toggleInset): removed.
181
182         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
183         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
184         now passes LFUN_INSET_TOGGLE to the found inset.
185
186         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
187         is now invoked as "all-insets-toggle toggle branch".
188
189 2004-03-30  Angus Leeming  <leeming@lyx.org>
190
191         * dociterator.C:
192         * insetiterator.C:
193         * pariterator.[Ch]: added/corrected header blurb.
194
195 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * dociterator.[Ch]: add an inset_ member 
198         (backwardPos): implemented
199         (backwardPos, forwardPos): use inset_ when the stack is empty.
200         (doc_iterator_begin, doc_iterator_end): implemented
201         * pariterator.[Ch]: adjust, add begin, end
202         * insetiterator.[Ch]: adjust, add begin, end
203         * cursor.C: 
204         * document.C:
205         * BufferView.C:
206         * BufferView_pimpl.C:
207         * CutAndPaste.C: adjust
208
209 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * buffer.C: increment file format to 232.
212         * LaTeXFeatures.C: add bibtopic package.
213         * bufferparams.[Ch]: param \use_bibtopic.
214         
215         * lyxrc.[Ch]: add lyxrc bibtex_command
216         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
217         
218         * buffer.C: increment file format to 231.
219
220 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * dociterator.C: implement forwardPar
223         * iterators.[Ch]: remove, replaced by
224         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
225         * BufferView.C:
226         * BufferView_pimpl.C:
227         * CutAndPaste.C:
228         * buffer.C:
229         * bufferview_funcs.C:
230         * cursor.C:
231         * lyxfind.C
232         * lyxfunc.C
233         * paragraph_funcs.C
234         * toc.C:  
235         * Makefile.am: adjust
236
237 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * CutAndPaste.C (pasteSelection): fix 2 crashes
240         (eraseSelection): fix a crash
241         * paragraph_funcs.C: remove a warning
242
243 2004-03-28  Angus Leeming  <leeming@lyx.org>
244
245         * lfuns.h:
246         * LyXAction.C (init): new LFUN_PRINT.
247
248         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
249
250 2004-03-27  Angus Leeming  <leeming@lyx.org>
251
252         * lfuns.h:
253         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
254
255         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
256
257 2004-03-27  Angus Leeming  <leeming@lyx.org>
258
259         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
260         insetlist always contains non-null pointers to insets.
261
262 2004-03-26  Angus Leeming  <leeming@lyx.org>
263
264         * src/BufferView_pimpl.C:
265         * src/CutAndPaste.C:
266         * src/buffer.C:
267         * src/iterators.C:
268         * src/output_plaintext.C:
269         * src/outputparams.h:
270         * src/paragraph_funcs.C:
271         * src/rowpainter.C:
272         * src/text.C:
273         * src/text2.C:
274         * src/frontends/controllers/ControlErrorList.C:
275         * src/frontends/gtk/FileDialogPrivate.C:
276         * src/frontends/gtk/GPainter.C:
277         * src/frontends/gtk/GToolbar.C:
278         * src/frontends/qt2/QRef.C:
279         * src/mathed/math_scriptinset.C: squash compiler warnings.
280
281 2004-03-26  Angus Leeming  <leeming@lyx.org>
282
283         * ispell.C (LaunchIspell::start):
284         * lyx_cb.C (AutoSaveBuffer::start):
285         invoke run(DontWait) rather than runNonBlocking().
286
287 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
288
289         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
290
291 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * kbsequence.C (print): adjust
294
295         * kbmap.C (printKeySym): rename and change signature
296         (printKey): use LyXKeySym::print()
297
298 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * undo.C: add using std::advance to compile for stlport
301
302 2004-03-24  Angus Leeming  <leeming@lyx.org>
303
304         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
305         it leads to a crash when no buffer is present.
306
307 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308             Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * lyxfunc.C (dispatch): 
311         * bufferparams.C (readToken): use the new LColor::setColor 
312
313         * LColor.[Ch] (setColor): new version that takes two strings as
314         argument and creates a new color entry if necessary
315
316 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
317
318         * buffer.C (makeLaTeXFile): if the main latex file that is
319         processed is usually a subdocument of some master, then pretend
320         for a while that it is actually the master
321
322 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
323
324         * buffer.C (getLabelList):
325         (getBibkeyList): use getMasterBuffer()
326         (getMasterBuffer): new method. Returns the main document in the
327         case where one is using included documents.
328
329 2004-03-25  André Pönitz  <poenitz@gmx.net>
330
331         * Makefile.am:
332         * iterators.[Ch]:
333         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
334
335         * ParagraphList_fwd.h: change ParagraphList to a std::vector
336
337         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
338         text*.C over here. Rename namespace CutAndPaste to lyx::cap
339
340         * ParameterStruct.h: merge with ParagraphParameters
341
342         * lyxtext.h: remove LyXText::parOffset() and getPar()
343
344         * text3.C: Remove all 'manual' update calls. We do now one per user
345         interaction which is completely sufficient.
346
347         * Bidi.C:
348         * BufferView.[Ch]:
349         * BufferView_pimpl.C:
350         * FontIterator.[Ch]:
351         * MenuBackend.C:
352         * ParagraphParameters.[Ch]:
353         * buffer.C:
354         * buffer.h:
355         * bufferlist.C:
356         * cursor.[Ch]:
357         * cursor_slice.[Ch]:
358         * dociterator.[Ch]:
359         * errorlist.[Ch]:
360         * factory.C:
361         * lfuns.h:
362         * lyxfind.C:
363         * lyxfunc.C:
364         * output_docbook.[Ch]:
365         * output_latex.[Ch]:
366         * output_linuxdoc.[Ch]:
367         * output_plaintext.[Ch]:
368         * paragraph.[Ch]:
369         * paragraph_funcs.[Ch]:
370         * paragraph_pimpl.[Ch]:
371         * rowpainter.C:
372         * tabular.[Ch]:
373         * text.C:
374         * text2.C:
375         * toc.C:
376         * undo.[Ch]: adjust
377
378         * frontends/controllers/ControlDocument.C:
379         * frontends/controllers/ControlErrorList.C:
380         * frontends/controllers/ControlSpellchecker.C:
381         * insets/inset.C:
382         * insets/inset.h:
383         * insets/insetbase.h:
384         * insets/insetbibitem.C:
385         * insets/insetbox.C:
386         * insets/insetbranch.C:
387         * insets/insetcaption.C:
388         * insets/insetcharstyle.C:
389         * insets/insetcharstyle.h:
390         * insets/insetcollapsable.C:
391         * insets/insetcollapsable.h:
392         * insets/insetert.C:
393         * insets/insetfloat.C:
394         * insets/insetfoot.C:
395         * insets/insetmarginal.C:
396         * insets/insetnote.C:
397         * insets/insetoptarg.C:
398         * insets/insettabular.C:
399         * insets/insettext.C:
400         * insets/insettext.h:
401         * insets/insetwrap.C:
402         * mathed/math_mboxinset.C:
403         * mathed/math_nestinset.C:
404         * mathed/math_scriptinset.C:
405         * mathed/math_scriptinset.h:
406         * support/types.h:
407
408 2004-03-24  Angus Leeming  <leeming@lyx.org>
409
410         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
411         deal with any child processes that have finished but are waiting to
412         communicate this fact to the rest of LyX.
413
414 2004-03-24  Angus Leeming  <leeming@lyx.org>
415
416         64-bit compile fixes.
417
418         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
419         (c-tor): pass lyx::pos_types rather than ints.
420
421         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
422         lyx::pos_type.
423
424         * text.C (Delete): compile fix.
425         (getPar): ensure that function declaration is the same as that in
426         the header file.
427
428 2004-03-23  Angus Leeming  <leeming@lyx.org>
429
430         * ispell.C (LaunchIspell):
431         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
432         a boost::shred_ptr rather than a std::auto_ptr.
433
434 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * lyxfunc.C (getStatus): handle read-only buffers correctly;
437         handle LFUN_FILE_INSERT_*
438
439         * lyxrc.C (setDefaults, getDescription, output, read):
440         * lyxrc.h: remove ps_command
441
442 2004-03-22  Angus Leeming  <leeming@lyx.org>
443
444         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
445         Ensure that error_handler is processed once only and that all data
446         is saved before attempting to output any warning messages.
447
448         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
449
450 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * tabular.C (TeXRow): crash fix (from Kayvan and André)
453
454 2004-03-19  André Pönitz  <poenitz@gmx.net>
455
456         * cursor.[Ch] (reset): take main text inset as argument
457
458         * BufferView: adjust
459         * BufferView_pimpl.C: adjust
460
461         * paragraph.[Ch]: fix completely broken operator=()
462
463 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * LColor.C (getFromLyXName): make sure that the color name is used
466         as lowercase.
467
468 2004-03-17  Angus Leeming  <leeming@lyx.org>
469
470         * lfuns.h:
471         * LyXAction.C (init): remove LFUN_FORKS_KILL.
472
473         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
474         dialog and to kill a forked process.
475
476 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text2.C (setCursorFromCoordinates): fix font problem
479
480 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
481
482         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
483         bogus "rebuild cursor" code
484
485 2004-03-11  André Pönitz  <poenitz@gmx.net>
486
487         * buffer.[Ch]: use InsetText instead of LyXText as container for
488         the main lyx text.
489
490         * dociterator.[Ch]: drop the BufferView * member which is not needed
491         anymore after the change to buffer.C
492
493         * paragraph_funcs.C:
494         * text.C:
495         * text2.C:
496         * BufferView.[Ch]:
497         * BufferView_pimpl.[Ch]:
498         * cursor.[Ch]:
499         * cursor_slice.[Ch]: adjust
500
501         * text3.C: fix bug in mathDispatch
502
503 2004-03-08  André Pönitz  <poenitz@gmx.net>
504
505         * undo.[Ch]: use 'StableDocumentIterator' as base for
506         the Undo struct.
507
508 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * LaTeXFeatures.C:
511         * bufferparams.[Ch]: add jurabib support and param.
512
513         * LaTeX.C: add FIXME/comment.
514
515 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * buffer.C: increment file format to 230.
518
519 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
520
521         * cursor.C (dispatch): avoid infinite loops
522
523 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * rowpainter.C (paintSelection): fix x coordinates
526
527 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
528
529         * text.C (rowBreakPoint): fix breaking before displayed insets
530
531 2004-03-01  André Pönitz  <poenitz@gmx.net>
532
533         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
534
535         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
536
537         * Makefile.am:
538         * BufferView.C:
539         * BufferView_pimpl.C:
540         * buffer.C:
541         * lyxfind.C:
542         * lyxfunc.C:
543         * text.C:
544         * text2.C:
545         * text3.C: adjust
546
547 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
548
549         * lyxtext.h:
550         * text.C:
551         * text2.C:
552         * rowpainter.C:
553         * BufferView_pimpl.C: rename textwidth -> maxwidth,
554         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
555
556 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * Bidi.[Ch] (computeTables): const correctness
559         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
560         fill_hfill, fill_label_hfill and x from Row
561         * lyxtext.h: prepareToPrint returns a RowMetrics
562         * rowPainter.C: adjust
563         * text.C (prepareToPrint): use width, not textWidth. adjust
564         (redoParagraphInternal, cursorX): adjust
565         * text2.C (getColumnNearX): adjust
566         (init): put a default value to the top LyXText::width
567
568 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
571
572 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * lyxtext.h: add FontIterator class
575
576         * text.C (FontIterator, operator*, operator->, operator++): add
577         (rowBreakPoint, setRowWidth): adjust (fixing a
578         rebreaking bug)
579
580 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * BufferView_pimpl.C (workAreaDispatch): allow also
583         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
584
585 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * text.C (rowBreakPoint): fix a bug showing with very large insets
588
589 2004-02-25  André Pönitz  <poenitz@gmx.net>
590
591         * text3.C:
592         * cursor.[Ch]: move some mathed specific code to mathed
593
594 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
595
596         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
597         use_tempdir in preferences
598         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
599         tempfile creation
600         * lyx_main.C: ensure that tempdir is valid
601         * lyxlex.h: correct typo
602         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
603         * paragraph.[Ch] (isMultiLingual): make const
604         * cursor.[Ch] (openable): make const
605
606 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
607
608         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
609
610 2004-02-20  André Pönitz  <poenitz@gmx.net>
611
612         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
613
614         * cursor.[Ch]: prepare for localized getStatus()
615
616         * lyxtext.h:
617         * tabular.C:
618         * text.C:
619         * text2.C:
620         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
621
622 2004-02-20  André Pönitz  <poenitz@gmx.net>
623
624         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
625
626 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * text2.C (setCursorFromCoordinates): switch to absolute coords
629         (cursorUp): adjust
630         (cursorDown): adjust
631         * text3.C (dispatch): adjust
632
633 2004-02-16  André Pönitz  <poenitz@gmx.net>
634
635         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
636           insets/ChangeLog)
637
638         * cursor_slice.[Ch]: remove unneeded acessor function
639
640         * lyxtext.h: rename rtl() to isRTL()
641
642         * rowpainter.C:
643         * tabular.C:
644         * text.C:
645         * text2.C:
646         * text3.C: adjust
647
648 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
649
650         * rowpainter.C (paintSelection): coord fix
651
652 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
653
654         * Spacing.C: compile fix
655
656 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * cursor.C (dispatch): restore current_ before returning
659
660 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * text2.C (cursorUp, cursorDown): fix coords
663         (moveUp): fix crash
664
665 2004-02-12  André Pönitz  <poenitz@gmx.net>
666
667         * lyxtext.h:
668         * text.C:
669         * text2.C:
670         * text3.C: add LCursor & parameter to most cursor movement functions
671           remove usage of LyXText::cursorRow() and cursorPar()
672
673         * cursor.[Ch]: add textRow() needed members
674
675         * BufferView.C:
676         * BufferView_pimpl.C:
677         * paragraph.[Ch]:
678         * BufferView.C:
679         * BufferView_pimpl.C: adjust
680
681 2004-02-11  André Pönitz  <poenitz@gmx.net>
682
683         * lyxfunc.C:
684         * BufferView.[Ch]:
685         * BufferView_pimpl.C: shift undo/redo handling
686
687         * cursor.[Ch]: fix mathed crash
688
689         * lyxfind.C:
690         * lyxtext.h: move selectionAsText to LCursor
691
692         * output_latex.C:
693         * paragraph.C:
694         * text.C:
695         * text2.C:
696         * text3.C: adjust
697
698         * rowpainter.C: fix excessive drawing
699
700 2004-02-06  André Pönitz  <poenitz@gmx.net>
701
702         * BufferView.[Ch]:
703         * BufferView_pimpl.[Ch]:
704         * text3.C: move some text specific LFUN handling
705
706 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
707
708         * text3.C (checkInsetHit): adjust coords
709         * text2.C (getColumnNearX): adjust coords
710         (edit): adjust coords
711         * text.C (getRowNearY): add two asserts
712
713 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * converter.C:
716         * format.C: add using std::distance to compile on gcc 2.95/stlport
717
718 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
719
720         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
721
722 2004-02-04  André Pönitz  <poenitz@gmx.net>
723
724         * BufferView.[Ch] (insertInset):
725         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
726
727         * text2.C:
728         * text3.C: adjust
729
730 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
731
732         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
733         on the default clause of the switch
734         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
735         wasn't catched by LCursor::dispatch
736
737 2004-02-03  André Pönitz  <poenitz@gmx.net>
738
739         * BufferView.C:
740         * cursor.[Ch]: some additional asserts
741
742         * undo.[Ch]: remove LyXText dependency in interface
743
744         * lyxfunc.C: adjust
745
746         * lyxtext.h (firstPar, lastPar): remove dead functions
747
748         * text.C:
749         * text2.C:
750         * text3.C:
751         * paragraph.[Ch]: adjust
752
753 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
754
755         * lyxfind.C (find): fix argument order in call to ::find
756
757 2004-02-02  André Pönitz  <poenitz@gmx.net>
758
759         * cursor.[Ch]: remove direct access to anchor
760
761         * text.C: remove findText() hack
762
763 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
764
765         * iterators.[Ch] (lockPath): remove in favour of...
766         * BufferView.[Ch] (setCursor): this addition
767         * BufferView.C (putSelectionAt): adjust
768         * undo.C (performUndoOrRedo): adjust
769         * lyxfunc.C (dispatch): adjust
770
771 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
772
773         * iterators.C (lockPath): add a missing slice
774         * undo.C (performUndoOrRedo): remove redundant positioning code
775
776 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
777
778         * vc-backend.C (scanMaster): ";" -> ';'
779
780 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
783         std::binary_function
784
785         * lyxtextclass.C (compare_name): rename to...
786         (LayoutNamesEqual): ...this
787
788         * lyxlex_pimpl.C (compare_tags): inherit from
789         std::binary_function, put back into anon namespace
790
791         * lyxfind.C (MatchString): inherig from std::binary_function
792         (findChange): use empty() istead of !size()
793
794         * format.C (FormatNamesEqual): new functor
795         (getFormat): use it
796         (getNumber): use it
797         (add): use it
798         (erase): use it
799         (setViewer): use it
800
801         * converter.C (compare_Converter): rename to...
802         (ConverterEqual): ...this, and fixup a bit.
803         (getConverter): use it, and make function const
804         (getNumber): use it, and make function const
805         (add): use it
806         (erase): use it:
807
808         * bufferlist.C: add using boost::bind
809
810         * MenuBackend.C (MenuNamesEqual): new functor
811         (hasMenu): use it, and make function const
812         (hasSubmenu): use nested bind to get rid of compare_memfun.
813
814 2004-01-30  André Pönitz  <poenitz@gmx.net>
815
816         * BufferView_pimpl.C:
817         * cursor.C:
818         * cursor.h:
819         * cursor_slice.[Ch]:
820         * lyxfunc.C:
821         * lyxtext.h:
822         * paragraph_funcs.C:
823         * paragraph_funcs.h:
824         * rowpainter.C:
825         * text.C:
826         * text2.C:
827         * text3.C: move some of the edit(x,y) handling to the insets
828         some coordinate changes.
829
830 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * text.C: add using statements for std::advance and std::distance
833
834         * paragraph.C: add using statement for std::distance
835
836         * lyxfind.C: add using statement for std::advance
837
838         * cursor.C (region): remove std:: from swap
839         (openable): use nucleus in stead of operator->
840
841         * BufferView.C: add using statements for std::distance and std::swap
842
843 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
844
845         * iterators.C: Remove the pimple, move the needed structures to
846         the header file. Create accessor for the positions stack.
847         (asPosIterator): remove function
848
849         * PosIterator.C (PosIterator): move constructors to top of file
850         (PosIterator): reimplement the constructor taking a ParIterator in
851         terms of setFrom.
852         (setFrom): new function
853         (operator!=): inline it
854
855 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
856
857         * lyxfind.C (replaceAll): use std::advance
858
859         * iterators.h: inherit from std::iterator.
860
861         * PosIterator.C (advance, distance): remove
862         * PosIterator.h: interit from std::iterator.
863
864 2004-01-26  André Pönitz  <poenitz@gmx.net>
865
866         * BufferView.[Ch]:
867         * BufferView_pimpl.[Ch]:
868         * InsetList.[Ch]:
869         * PosIterator.[Ch]:
870         * buffer.h:
871         * bufferview_funcs.C:
872         * cursor.[Ch]:
873         * cursor_slice.h:
874         * factory.[Ch]:
875         * iterators.[Ch]:
876         * lyxfind.C:
877         * lyxfunc.C:
878         * lyxtext.h:
879         * output_docbook.C:
880         * output_latex.C:
881         * output_linuxdoc.C:
882         * output_plaintext.C:
883         * paragraph.[Ch]:
884         * paragraph_funcs.[Ch]:
885         * paragraph_pimpl.[Ch]:
886         * rowpainter.C:
887         * tabular.C:
888         * tabular.h:
889         * text.C:
890         * text2.C:
891         * text3.C: more IU:  dumps most of the rest of the mathcursor
892     implementation into cursor.[Ch]; "globalize" a bit of it.
893
894 2004-01-25  Angus Leeming  <leeming@lyx.org>
895
896         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
897
898 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * LaTeXFeatures.h: add nice_ and nice() const
901         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
902
903 2004-01-20  André Pönitz  <poenitz@gmx.net>
904
905         * BufferView.[Ch]:
906         * BufferView_pimpl.C:
907         * PosIterator.C:
908         * bufferview_funcs.C:
909         * cursor.[Ch]:
910         * cursor_slice.[Ch]:
911         * factory.C:
912         * iterators.C:
913         * lyx_cb.C:
914         * lyxfind.C:
915         * lyxfunc.C:
916         * lyxtext.h:
917         * rowpainter.C:
918         * text.C:
919         * text2.C:
920         * text3.C:
921         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
922           LCursor and mathcursor parts to LCursor and InsetBase.
923
924 2004-01-15  André Pönitz  <poenitz@gmx.net>
925
926         * cursor_slice.[Ch]: add a few covienience functions
927
928         * funcrequest.[Ch]: remove BufferView * member
929
930         * BufferView_pimpl.C:
931         * cursor.C:
932         * factory.[Ch]:
933         * lyxfind.[Ch]:
934         * lyxfunc.C:
935         * lyxtext.h:
936         * text3.C:
937         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
938
939 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
940
941         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
942         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
943
944 2004-01-13  André Pönitz  <poenitz@gmx.net>
945
946         * textcursor.[Ch]:
947         * lyxtext.h: hide cursor and selection anchor behind accessor function
948
949         * BufferView.C:
950         * BufferView_pimpl.[Ch]:
951         * PosIterator.C:
952         * bufferview_funcs.C:
953         * cursor.h:
954         * lyxfind.C:
955         * lyxfunc.C:
956         * text.C:
957         * text2.C:
958         * text3.C:
959         * undo.C: adjust
960
961         * cursor.h:
962         * cursor_slice.[Ch]: some integer type changes for inset unification
963
964         * lyxcursor.[hC]: remove, it's CursorSlice now.
965
966         * Makefile.am:
967         * BufferView_pimpl.[Ch]:
968         * bufferview_funcs.C:
969         * cursor_slice.C:
970         * lyxtext.h:
971         * text.C:
972         * text2.C:
973         * text3.C:
974         * textcursor.[Ch]: adjust
975
976 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
977
978         * text2.C (undoSpan): add and use
979         * text.C (breakParagraph): use undoSpan (fix bug 578)
980         * lyxtext.h: adjust
981
982 2004-01-08  Angus Leeming  <leeming@lyx.org>
983
984         * BufferView_pimpl.C (MenuInsertLyXFile):
985         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
986         * lyxfunc.C (menuNew, open, doImport):
987         FileFilterList change to the FileDialog open and save functions.
988
989 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
990
991         * ShareContainer.h: make isEqual and isUnique adaptable
992
993         * CutAndPaste.C: make resetOwnerAndChanges adaptable
994
995 2004-01-07  Angus Leeming  <leeming@lyx.org>
996
997         * LyXAction.C:
998         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
999
1000         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1001
1002         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1003         functions replacing find, replace and replaceAll.
1004
1005         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1006         LFUN_WORDFIND(FORWARD|BACKWARD).
1007
1008 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * text.C (breakParagraph): remove an outdated #warning
1011
1012 2004-01-07  André Pönitz  <poenitz@gmx.net>
1013
1014         * lyxfind.C: somewhat clearer logic
1015
1016         * text.C: prevent crash in cursorX on unitialized row cache
1017
1018 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1019
1020         * lyxcursor.[Ch] (operator>): add
1021         * textcursor.C (selStart, selEnd): use std::min and std::max
1022
1023 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1024
1025         * Chktex.C: include boost/format.hpp
1026
1027 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1028
1029         * InsetList.C: replace functor MathcIt with adaptable functor
1030         InsetTablePosLess
1031         (insetIterator): modify accordingly
1032
1033         * BranchList.h: move the BranchNamesEqual functor here from...
1034         * BranchList.C: ... to here
1035
1036         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1037         SameName and match.
1038         (add): replace a finding loop with std::find_if.
1039
1040 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1041
1042         * output_docbook.C: moving LatexParam functionality into
1043         .layout files
1044
1045 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1046
1047         * buffer.C: increment format to 229.
1048
1049 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1050
1051         * LaTeXFeatures.C:
1052         * lyx_sty.[Ch]: remove minipageindent_def
1053
1054         * LyXAction.C:
1055         * factory.C:
1056         * lfuns.h:
1057         * lyxfunc.C:
1058         * text3.C: remove LFUN_INSET_MINIPAGE
1059
1060 2003-12-28  Angus Leeming  <leeming@lyx.org>
1061
1062         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1063
1064 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1065
1066         * text2.C (setParagraph): fix off-by-one crash
1067
1068 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * output_docbook.C: header stuff for AGU
1071
1072 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * text2.C (redoCursor): remove
1075         * text.C:
1076         * text3.C:
1077         * BufferView_pimpl.C: remove calls to redoCursor and
1078         setCursor(cursor.par(), cursor.pos()) all around
1079
1080 2003-12-15  Angus Leeming  <leeming@lyx.org>
1081
1082         * buffer.C: up the format to 228.
1083
1084 2003-12-15  André Pönitz  <poenitz@gmx.net>
1085
1086         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1087         slices
1088
1089         * Makefile.am:
1090
1091         * BufferView_pimpl.C:
1092         * cursor.[Ch]:
1093         * lyxcursor.[Ch]:
1094         * rowpainter.[Ch]:
1095         * lyxtext.h:
1096         * text.C:
1097         * text2.C:
1098         * text3.C: adjust
1099
1100 2003-12-15  Angus Leeming  <leeming@lyx.org>
1101
1102         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1103         than getFromGUIName to manipulate the color.
1104
1105 2003-12-14  Angus Leeming  <leeming@lyx.org>
1106
1107         * BranchList.[Ch]: minimize the API.
1108         (Branch::getBranch, getColor): now return a 'const &'.
1109         (Branch::setSelected) now returns a bool set to true if the
1110         selection status changes.
1111         (BranchList::clear, size, getColor, setColor, setSelected,
1112         allBranches, allSelected, separator): removed.
1113         (BranchList::find): new functions, returning the Branch with
1114         the given name.
1115         (BranchList::add, remove): return a bool indicating that
1116         the operation was successful.
1117
1118         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1119         new InsetBranch::isBranchSlected member function.
1120
1121         * LColor.[Ch]: mimimize the API.
1122         (fill): renamed as addColor and made private.
1123         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1124         versions of these functions taking a string arg have been removed.
1125
1126         * bufferparams.C (readToken):
1127         * lyxfunc.C (dispatch):
1128         * lyxrc.C (read): changes due to the altered BranchList and
1129         LColor APIs.
1130
1131         * factory.C (createInset, readInset): changes due to altered
1132         InsetBranch c-tor.
1133
1134 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1135
1136         * factory.C:
1137         * lyxfunc.C: remove insetminipage. "minipage-insert"
1138         now produces a frameless minipage box inset.
1139
1140 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1141
1142         * textcursor.[Ch] (selStart,selEnd): add new methods
1143         remove selection::start, end, use LyXCursor::operator<
1144         * lyxcursor.[Ch] (operator<): add
1145         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1146         * BufferView.[Ch] (unsetXSel): add
1147         * text2.C (clearSelection): use unsetXSel,adjust
1148         * text.C: adjust
1149         * text3.C: adjust
1150         * rowpainter.C: adjust
1151         * bufferview_funcs.C (put_selection_at): adjust
1152
1153 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1154
1155         * BufferView_pimpl.C: small coord. correction
1156
1157 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1160         dragging over the splash screen.
1161
1162 2003-12-11  Angus Leeming  <leeming@lyx.org>
1163
1164         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1165         as it is now handled in LyXText::dispatch.
1166
1167         * text3.C (doInsertInset): remove a level of nesting.
1168
1169 2003-12-11  Angus Leeming  <leeming@lyx.org>
1170
1171         * factory.C (createInset): changes due to the changed interface to
1172         InsetCommandMailer::string2params.
1173
1174 2003-12-10  Angus Leeming  <leeming@lyx.org>
1175
1176         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1177         'dialog-show-new-inset <inset name>'
1178
1179 2003-12-10  Angus Leeming  <leeming@lyx.org>
1180
1181         * buffer.C: up the format to 227.
1182
1183         * factory.C: the box inset is now identified simply by 'Box'.
1184
1185 2003-12-10  Angus Leeming  <leeming@lyx.org>
1186
1187         * buffer.C: up the format to 226.
1188
1189         * factory.C: the note inset is now identified simply by 'Note'.
1190
1191 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1194         when a pit is enough. Standarize a couple of loops.
1195
1196 2003-12-05  Angus Leeming  <leeming@lyx.org>
1197
1198         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1199         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1200         data to the re-worked "log" dialog.
1201
1202 2003-12-03  André Pönitz  <poenitz@gmx.net>
1203
1204         * PosIterator.C:
1205         * iterators.C:
1206         * lyxtext.h:
1207         * output_latex.C:
1208         * paragraph_funcs.C:
1209         * text.C:
1210         * text2.C: use Inset::getText instead of Inset::getParagraph
1211
1212 2003-12-03  André Pönitz  <poenitz@gmx.net>
1213
1214         * buffer.[Ch]:
1215         * lyxtext.h:
1216         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1217         InsetText::read() as LyXText::read()
1218
1219 2003-12-02  Angus Leeming  <leeming@lyx.org>
1220
1221         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1222         type. Add a comment in the implementation that the function uses
1223         the stream's bad() function rather than fail() as the std::streams
1224         would do.
1225
1226 2003-12-02  André Pönitz  <poenitz@gmx.net>
1227
1228         * lyxlex.[Ch]: make interface more similar to std::stream
1229
1230         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1231
1232 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1235
1236 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1237
1238         * vspace.[Ch]: remove VSpace::NONE
1239
1240 2003-12-01  André Pönitz  <poenitz@gmx.net>
1241
1242         * buffer.[Ch]:
1243         * lyxtext.h: move ParagraphList member to LyXText
1244         rename LyXText::ownerParagraphs to LyXText::paragraph
1245
1246         * CutAndPaste.C:
1247         * bufferview_funcs.C:
1248         * iterators.[Ch]:
1249         * lyx_cb.C:
1250         * paragraph.C:
1251         * rowpainter.C:
1252         * tabular.C:
1253         * text.C:
1254         * text2.C:
1255         * text3.C: adjust
1256
1257         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1258
1259         * undo.C: fix cursor positioning
1260
1261 2003-12-01  John Levon  <levon@movementarian.org>
1262
1263         * BufferView_pimpl.C: fix a crash on exit with
1264         a buffer open
1265
1266 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1267
1268         * BranchList.C: fix setSelected() method.
1269
1270 2003-11-28  André Pönitz  <poenitz@gmx.net>
1271
1272         * ParagraphParameters.[Ch]:
1273         * ParameterStruct.h: remove space above/below from Paragraph to
1274          InsetVSpace
1275
1276         * BufferView_pimpl.C:
1277         * factory.C:
1278         * lyxfunc.C:
1279         * lyxtext.h:
1280         * output_latex.C:
1281         * paragraph.C:
1282         * paragraph_funcs.C:
1283         * rowpainter.[Ch]:
1284         * text.C:
1285         * text2.C:
1286         * text3.C: adjust
1287
1288 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1289
1290         * factory.C: Syntax change for CharStyles
1291
1292 2003-11-28  André Pönitz  <poenitz@gmx.net>
1293
1294         * BufferView.[Ch]:
1295         * BufferView.[Ch]:
1296         * buffer.[Ch]:
1297         * buffer.[Ch]: move LyXText member
1298
1299 2003-11-28  André Pönitz  <poenitz@gmx.net>
1300
1301         * BufferView.[Ch]: make LyXText * text a private member
1302
1303         * BufferView_pimpl.C:
1304         * cursor.C:
1305         * iterators.C:
1306         * lyx_cb.C:
1307         * lyxfind.C:
1308         * lyxtext.h:
1309         * rowpainter.[Ch]:
1310         * text.C:
1311         * text2.C:
1312         * undo.C: adjust
1313
1314         * output_plaintext.C: cleanup
1315
1316 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * buffer.C:
1319         * lyxtextclass.[Ch]: parametrize SGML document header
1320
1321 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1322
1323         * converter.[Ch]:
1324         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1325         getFlavor().
1326
1327 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1328
1329         * text2.C (setFont): rework using PosIterator (no more recursive)
1330         (setCharFont): no more needed
1331         (setLayout): no more selection cursors fiddling (done by redoCursor)
1332         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1333         destroy remaining ones)
1334
1335 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1338         * lyxtext.h: ditto
1339         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1340         selection cursors
1341         * lyxfunc.C: adjust
1342         * text3.C: adjust + re-allow multi par depth changes
1343         * textcursor.C: simplify a bit
1344
1345 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1346
1347         * src/buffer.C:
1348         * src/lyxlayout.C:
1349         * src/lyxlayout.h:
1350         * src/lyxtext.h:
1351         * src/output_docbook.C:
1352         * src/output_latex.C:
1353         * src/paragraph.C:
1354         * src/paragraph.h:
1355         * src/sgml.C:
1356         * src/sgml.h:
1357         * src/text2.C: Introducing a number of tags parametrizing various
1358         XML formats that we may want to support
1359
1360 2003-11-25  André Pönitz  <poenitz@gmx.net>
1361
1362         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1363
1364         * lyxtext.h (leftMargin/rightMargin): simplify interface
1365
1366         * rowpainter.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: adjust
1370
1371 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1372
1373         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1374         master file to any child files. Fixes bug 546.
1375
1376 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1377
1378         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1379
1380 2003-11-24  André Pönitz  <poenitz@gmx.net>
1381
1382         * rowpainter.C: simplification
1383
1384         * text2.C (updateCounters): remove call to redoParagraph on
1385         changed labels as this is far too expensive.
1386
1387 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1388
1389         * converter.C (convert): fix a crash: this function gets
1390         called with buffer == 0 from importer code.
1391
1392 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1393
1394         * text3.C (cursorPrevious): make sure that we do not compare
1395         iterators form different containers.
1396         (cursorNext): ditto
1397
1398         * rowpainter.C (paintSelection): make sure that we do not compare
1399         iterators from different containers.
1400
1401         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1402         iterators from different ParagraphList containers.
1403         [NEXT] ditto
1404
1405         * text2.C (LyXText): change order of initialization slightly
1406         (operator=): new function. copy all variables except cache_par_
1407         (moveUp): make sure that we do not compare iterators from
1408         different ParagraphList constainers.
1409         (moveDown): ditto
1410
1411         * text.C (firstPar): new function
1412         (lastPar): new function
1413         (endPar): new function
1414
1415         * lyxtext.h: move things around and group public functions, public
1416         variables, private functions, private variables
1417
1418 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1419
1420         * factory.C: change call to InsetERT constructor to avoid
1421         additional invocation of method status
1422         * text2.C (toggleInset): remove redundant update() call
1423         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1424         instead of a Bufferview pointer
1425
1426 2003-11-21  André Pönitz  <poenitz@gmx.net>
1427
1428         * rowpainter.C: simplification
1429
1430 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * text3.C (dispatch): make possible to extend a word/row selection
1433         with the mouse
1434
1435 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1436
1437         * lyxtext.h: x0_,y0_ -> xo_,yo_
1438         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1439         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1440         * rowpainter.C (paintRows): paint full paragraphs
1441
1442 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1445         screen coordinates)
1446
1447 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1448
1449         * lyxtext.h: add x0_, y0_
1450         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1451         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1452
1453 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * text2.C (setCursorIntern): move the x_target update here *
1456         * text3.C: change some bv() to true/false in calls to
1457         cursorUp/Down/Right/Left
1458         * cursor.C: use helper function.
1459
1460 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1461
1462         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1463         * paragraph_funcs.[Ch]: correct comment
1464         * rowpainter.C: do not paint selections away from bv->cursor()
1465         Fix a long standing selection painting bug.
1466         * text3.C: generalize mouse-selection code to LyXTexts other that
1467         top one
1468         * textcursor.C: do not use y coords if we can use par offsets
1469
1470 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1473         cursor position after e.g. inset insert)
1474
1475 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1476
1477         * lyxfind.C (replace): adjust to locking removal + some
1478         code simplification
1479
1480 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1483         of the path
1484
1485 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * lyxlayout.[Ch]:
1488         * output_docbook.C: XML sanitation: new layout
1489         parameters InnerTag and CommandDepth
1490
1491 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1492
1493         * BufferView_pimpl.C:
1494         * factory.C:
1495         * text3.C: Fix the insertion and modification of button-style
1496         insets
1497
1498 2003-11-13  André Pönitz  <poenitz@gmx.net>
1499
1500         * InsetList.[Ch]: remove deleteLyXText
1501
1502         * paragraph.[Ch]: cache beginOfBody position
1503
1504         * Bidi.C:
1505         * text.C:
1506         * text2.C:
1507         * text3.C: remove superfluous update() calls
1508
1509         * vspace.C: cleanup
1510
1511 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1514         * BufferView.C (fitLockedInsetCursor): remove
1515         * cursor.[Ch] (getDim): add
1516         * text.C (getRowNearY): add faster version
1517         * text3.C: remove some update calls
1518
1519 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1520
1521         * LaTeXFeatures.C:
1522         * LyXAction.C:
1523         * MenuBackend.C:
1524         * MenuBackend.h:
1525         * dispatchresult.h:
1526         * factory.C:
1527         * lfuns.h:
1528         * lyxfunc.C:
1529         * lyxtextclass.C:
1530         * lyxtextclass.h:
1531         * text3.C: The Character Style /XML short element patch.
1532
1533 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * text3.C:
1536         * factory.C: Small step to solving 'unable to insert some insets'
1537         problem
1538
1539 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * cursor.[Ch] (updatePos): new function for updating the y
1542         position of the tip inset
1543         * bufferview_funcs.C (put_selection_at):
1544         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1545
1546 2003-11-11  André Pönitz  <poenitz@gmx.net>
1547
1548         * text.C: remove big comment on invalid Paragraph pointers as it is
1549         not valid anymore
1550
1551 2003-11-11  André Pönitz  <poenitz@gmx.net>
1552
1553         * text_funcs.[Ch]: merge with ...
1554
1555         * text.C: ... this
1556
1557         * lyxtext.h:
1558         * text2.C:
1559         * text3.C: adjust
1560
1561         * Makefile.am: remove text_funcs.[Ch]
1562
1563 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * cursor.C (getPos): return absolute cached y coord
1566
1567         * BufferView_pimpl.C (fitCursor): new simplistic code
1568         (workAreaDispatch): add a fitCursor call
1569
1570 2003-11-10  André Pönitz  <poenitz@gmx.net>
1571
1572         * BufferView.[Ch]:
1573         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1574
1575 2003-11-10  André Pönitz  <poenitz@gmx.net>
1576
1577         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1578         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1579         indicate that the cursor needs to leave an inset
1580
1581         * lyxtext.h: remove inset locking
1582
1583         * cursor.[Ch]: re-implement functionality provided by inset locking
1584
1585         * BufferView.[Ch]:
1586         * BufferView_pimpl.[Ch]:
1587         * LyXAction.C:
1588         * bufferview_funcs.[Ch]:
1589         * factory.C:
1590         * funcrequest.[Ch]:
1591         * iterators.C:
1592         * lyx_cb.C:
1593         * lyxfind.C:
1594         * lyxfunc.C:
1595         * text.C:
1596         * text2.C:
1597         * text3.C:
1598         * undo.C: adjust
1599
1600 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1601
1602         * PosIterator.[Ch]: replace the stack with a vector, add inset
1603         accesor
1604         * iterators.[C]: adjust
1605
1606 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1607
1608         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1609         replaced
1610         * paragraph_funcs.C (readParToken): put the correct id in the
1611         error item, not the id of the top paragraph
1612
1613 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1616         * bufferview_funcs.C (put_selection_at): use the above
1617
1618 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1619
1620         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1621
1622 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * output_linuxdoc.h:
1625         * output_plaintext.h:
1626         * output.h:
1627         * output_docbook.h: add #include statements
1628
1629 2003-11-05  José Matos  <jamatos@lyx.org>
1630
1631         * output_docbook.[Ch]:
1632         * output_latex.[Ch]:
1633         * output_linuxdoc.[Ch]:
1634         * output_plaintext.[Ch]: New files for output formats.
1635         * output.[Ch]: New file for helper functions.
1636
1637         * buffer.[Ch]:
1638         * paragraph_funcs.[Ch]: output functions moved to new files.
1639
1640         * outputparams.h: rename of latexrunparams.h
1641
1642         * LaTeX.[Ch]:
1643         * buffer.[Ch]:
1644         * bufferlist.[Ch]:
1645         * converter.[Ch]:
1646         * exporter.C:
1647         * paragraph.[Ch]:
1648         * paragraph_funcs.[Ch]:
1649         * paragraph_pimpl.[Ch]:
1650         * tabular.[Ch]: rename ascii to plaintext
1651         and LatexRunParams to OutputParams.
1652
1653 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1654
1655         * iterators.[Ch] (text): require bv argument
1656         * undo.C (recordUndo):
1657         * lyxfunc.C (dispatch):
1658         * bufferview_funcs.C (put_selection_at): adjust
1659
1660 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1661
1662         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1663
1664 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1665
1666         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1667         nestings
1668
1669 2003-11-04  André Pönitz  <poenitz@gmx.net>
1670
1671         * cursor.[Ch]: restructure
1672
1673         * BufferView.[Ch]:
1674         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1675
1676         * iterators.[Ch] (asCursor): remove
1677
1678         * lfuns.h: remove LFUN_INSET_EDIT
1679
1680         * lyxfunc.C:
1681         * tabular.C:
1682         * text.C:
1683         * text2.C:
1684         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1685
1686 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1687
1688         * lyxfind.[Ch]: complete overhaul
1689         * BufferView_pimpl.C:
1690         * lyxfunc.C: adjust
1691         * paragraph.[Ch] (insert): add
1692
1693 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1694
1695         * BufferView.[Ch]:
1696         * lyxtext.h:
1697         * text.C: remove dead spellcheck code
1698
1699 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * dispatchresult.h: add a val setter
1702
1703         * cursor.C (dispatch): use a tempvar for data_[i]
1704
1705 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1706
1707         * PosIterator.[Ch]: compile fix
1708
1709 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1710
1711         * text.C (cursorPar): deactivate the cursor cache
1712
1713 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1714
1715         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1716
1717 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * text3.C (dispatch): adjust for new DisptchResult semantics.
1720
1721         * lyxfunc.C (dispatch): handle update when return from
1722         Cursor::dispatch, adjust for new DispatchResult semantics.
1723
1724         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1725         DispatchResult(true) mean to not update. Add class functions for
1726         setting dispatched and update, as well as reading.
1727
1728         * cursor.C (dispatch): don't handle update here
1729
1730 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1733         * trans_mgr.C: adjust
1734
1735         * paragraph_funcs.C (readParToken): exception safety
1736
1737         * lyxvc.h: store the vcs pointer in a scoped_ptr
1738         * lyxvc.C: adjust
1739
1740         * lyxsocket.C (serverCallback): exception safety
1741
1742         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1743
1744         * ispell.C (clone): make it return a auto_ptr
1745
1746         * factory.C (createInset): exception safety
1747         (readInset): exception safety
1748
1749         * bufferlist.C (newBuffer): exception safety
1750
1751         * Thesaurus.C (Thesaurus): use initialization for aik_
1752
1753         * MenuBackend.C (expandToc): exception safety.
1754
1755 2003-11-03  André Pönitz  <poenitz@gmx.net>
1756
1757         * buffer.C:
1758         * buffer.h:
1759         * bufferview_funcs.C: remove getInsetFromId()
1760
1761         * lyxcursor.[Ch]:
1762         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1763
1764         * lyxfunc.C:
1765         * text2.C:
1766         * text3.C: adjust
1767
1768 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1769
1770         * PosIterator.C (distance, advance): new
1771         * bufferview_funcs.[Ch] (put_selection_at): new
1772         * iterators.[Ch] (lockPath): new
1773
1774 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1775
1776         * iterators.[Ch] (asPosIterator): added
1777         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1778         * PosIterator.[Ch]: added
1779
1780 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1781
1782         * text3.C:
1783         * lyxfunc.C:
1784         * cursor.C (dispatch):
1785         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1786
1787         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1788         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1789         contructor, add a class function dispatched. Remove operator>=
1790
1791 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1792
1793         * debug.C: only use the default constructor for debugstream
1794         (lyxerr) here.
1795
1796         * main.C (main): include debug.h and setup the lyxerr streambuf
1797         here.
1798
1799 2003-10-31  José Matos  <jamatos@lyx.org>
1800
1801         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1802
1803         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1804         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1805         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1806         * paragraph_pimpl.C (simpleTeXSpecialC):
1807         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1808         add LatexRunParams argument.
1809
1810         * exporter.C (Export): change call accordingly.
1811
1812         * latexrunparams.h: add new member to take care of the other backends.
1813 2003-10-30  José Matos  <jamatos@lyx.org>
1814
1815         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1816         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1817         factorise code for paragraph output.
1818         * buffer.[Ch]:
1819         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1820         move functions.
1821
1822 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * text3.C (dispatch):
1825         * lyxfunc.C (dispatch):
1826         * cursor.C (dispatch):
1827         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1828
1829         * dispatchresult.h: make the dispatch_result_t ctor explicit
1830
1831 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1832
1833         * sgml.[Ch]:
1834         * buffer.C: small refactoring of docbook stuff
1835
1836 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1839         meaning.
1840
1841 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1844         operator dispatch_result_t, and operators for == != and >=
1845
1846         * cursor.C (dispatch): adjust for operator dispatch_result_t
1847         removal. comment out call to update
1848
1849         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1850
1851 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1852
1853         * text3.C:
1854         * text2.C:
1855         * text.C:
1856         * lyxtext.h:
1857         * lyxfunc.C:
1858         * cursor.C:
1859         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1860         (dispatch):
1861
1862         * dispatchresult.h: new file, DispatchResult broken out of
1863         insets/insetbase.h
1864
1865         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1866
1867 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * text.C (rowBreakPoint): put a hack inside #if 0
1870
1871 2003-10-28  André Pönitz  <poenitz@gmx.net>
1872
1873         * lyxtext.h:
1874         * metricsinfo.C:
1875         * paragraph_funcs.C:
1876         * rowpainter.C:
1877         * text.C:
1878         * text2.C: general cleanup (lots of small stuff)
1879
1880 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * text2.C (cursorEnd): simple fix to the "end key goes to one
1883         before the end on last row" bug
1884
1885 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * text.C (backspace): fix the "zombie characters"
1888
1889 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1890
1891         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1892
1893 2003-10-27  André Pönitz  <poenitz@gmx.net>
1894
1895         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1896
1897         * factory.C: handle new InsetPagebreak, InsetLine
1898
1899         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1900         and move handling into new InsetPagebreak, InsetLine
1901
1902         * BufferView_pimpl.C:
1903         * LyXAction.C:
1904         * ParagraphParameters.C:
1905         * ParameterStruct.h:
1906         * lyxfunc.C:
1907         * lyxtext.h:
1908         * paragraph.C:
1909         * paragraph.h:
1910         * paragraph_funcs.C:
1911         * paragraph_pimpl.C:
1912         * rowpainter.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C: adjust
1916
1917 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1918
1919         * text.C:
1920         * lyxrow_funcs.[Ch]:
1921         * Bidi.C:
1922         * paragraph.C:
1923         * lyxtext.h:
1924         * rowpainter.C:
1925         * text2.C:
1926         * text3.C: remove lastPos uses in favour of Row::endpos
1927
1928 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1929
1930         * undo.C (performUndoOrRedo): fix two crashes by setting a
1931         cursor by hand and reordering some calls. Use bv->lockInset instead
1932         of inset->edit because the latter loses cursor information
1933
1934 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1937         by Martin
1938         (rowBreakPoint): fix width. change point to point + 1.
1939         Add a missing check.
1940
1941 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1942
1943         * MenuBackend.C:
1944         * lyxfunc.C: fix (at least partly) the problems
1945         with the Nav menu and headers inside branch insets
1946         reported by Kayvan
1947
1948 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * paragraph.C (getChar): add strong asserts
1951
1952         * lyxrow_funcs.C (lastPos): remove hideous hack
1953
1954         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1955         (fill): adjust to that (avoid an infinite loop)
1956
1957 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1960
1961 2003-10-23  André Pönitz  <poenitz@gmx.net>
1962
1963         * RowList_fwd.h: change list<> to vector<> to gain speed
1964         after suggestion from Alfredo
1965
1966 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1967
1968         * lyxtext.h: move the bidi stuff from here...
1969         * text.C: and here
1970         * text2.C: and here
1971         * Bidi.[Ch]: ... to here
1972
1973 2003-10-23  André Pönitz  <poenitz@gmx.net>
1974
1975         * lyxtext.h:
1976         * text.C (isLastRow, isFirstRow): new functions
1977
1978         * paragraph.h: new width cache member
1979
1980         * rowpainter.C: replace RowList::iterator with Row & where possible
1981
1982         * lyxfunc.C: replace several view()->text with a single call
1983
1984         * toc.C: fix 'unused' warning
1985
1986 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1987
1988         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1989         when woring with stream::pos_type
1990         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1991
1992 2003-10-22  André Pönitz  <poenitz@gmx.net>
1993
1994         * lyxtext.h:
1995         * text.C: use Row & instead of RowList::iterator
1996
1997         * lyxrow.h: rename end() to endpos()
1998
1999         * rowpainter.C:
2000         * text.C:
2001         * text2.C: adjust
2002
2003 2003-10-22  Angus Leeming  <leeming@lyx.org>
2004
2005         * buffer.[Ch] (fully_loaded): new member function, returning true
2006         only when the file has been loaded fully.
2007         Used to prevent the premature generation of previews and by the
2008         citation inset to prevent computation of the natbib-style label.
2009
2010         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2011         templates are all set up.
2012
2013         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2014
2015 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2016
2017         * text.C: fixed an "oops" in the "is a bit silly"
2018         bug fix
2019
2020 2003-10-21  André Pönitz  <poenitz@gmx.net>
2021
2022         * FuncStatus.[Ch]: small stuff, whitespace
2023
2024         * lyxfont.[Ch]: operator<<() for debug reasons
2025
2026         * lyxfunc.C:
2027         * lyxrow_funcs.C:
2028         * lyxtext.h: whitespace, spelling
2029
2030         * paragraph.C: naming of variables
2031
2032         * text.C:
2033         * text2.C: small stuff
2034
2035
2036 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2037
2038         * text.C: (1) finish off the inset display() work;
2039         (2) fix the "is a bit silly" bug (accessing char
2040         past end of par).
2041
2042 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2043
2044         * text.C: re-introduce display() for insets, fixing the
2045         various bugs (stretch of line above, math inset
2046         positioning, ...)
2047
2048 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         * text.C (rightMargin): remove spurious semicolon
2051
2052         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2053         1415)
2054
2055 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2056
2057         * text3.C: fix one crash due to wrong cursor def
2058
2059 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * vc-backend.C (scanMaster): make the regex static
2062
2063         * LaTeX.C (scanAuxFile): make the regexs static
2064
2065         * text3.C (doInsertInset, dispatch, dispatch):
2066         * text2.C (cursorUp, cursorDown):
2067         * text.C (selectNextWordToSpellcheck):
2068         * BufferView_pimpl.C (dispatch):
2069         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2070
2071 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * lyxsocket.C: include <cerrno>
2074
2075 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * lyxfunc.C (dispatch): remove textcache stuff
2078
2079         * bufferlist.C (release): remove textcache stuff
2080         (closeAll): ditto
2081
2082         * TextCache.C: delete file
2083         * TextCache.h: delete file
2084
2085         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2086
2087         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2088         delete of the bv_->text.
2089         (resizeCurrentBuffer): remove texcache stuff
2090         (workAreaResize): ditto
2091
2092 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2093
2094         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2095         action.
2096
2097 2003-10-16  André Pönitz  <poenitz@gmx.net>
2098
2099         * lyxrow.[Ch]:
2100         * paragraph.h:
2101         * rowpainter.C:
2102         * text.C:
2103         * text2.C:
2104         * text3.C: speed up by storing y positions per paragraph plus per-row
2105         offset instead of having a 'full' y position in the row.
2106
2107 2003-10-15  André Pönitz  <poenitz@gmx.net>
2108
2109         * iterators.[Ch]:
2110         * iterators.[Ch]:
2111         * undo.[Ch]: make undo aware of inner insets
2112
2113 2003-10-14  Angus Leeming  <leeming@lyx.org>
2114
2115         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2116         static member functions LyX::ref() and LyX::cref.
2117         (lastfiles): new accessor functions for the new lastfiles_ member var.
2118         (addLyXView, views_): add a new LyXView to the list of views_.
2119         (updateInset): loop over all LyXViews to call their own updateInset
2120         member function, returning a pointer to the Buffer owning the inset.
2121
2122         * BufferView_pimpl.C (loadLyXFile):
2123         * MenuBackend.C (expandLastfiles):
2124         * bufferlist.C (MenuWrite, QuitLyX):
2125         lastfiles is no longer a global variable.
2126         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2127
2128         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2129         static function. Access through LyX::cref().emergencyCleanup().
2130
2131 2003-10-14  André Pönitz  <poenitz@gmx.net>
2132
2133         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2134
2135         * undo.[Ch]: restoring part of 'undo in insets'
2136
2137         * Makefile.am:
2138         * undo_funcs.[Ch]: merge with undo.[Ch]
2139
2140         * tabular.C: small cleansing stuff
2141
2142 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2143
2144         * paragraph_funcs.C (readParToken): report unknown insets as error
2145         boxes. Use the outer paragraph as location (also for unknown
2146         tokens).
2147
2148         * factory.C (readInset): do not abort on reading an unknown inset.
2149         Eat it and return 0.
2150
2151 2003-10-13  Angus Leeming  <leeming@lyx.org>
2152
2153         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2154
2155         * lyxrc.C: displayTranslator is now a function,
2156         declared in GraphicsTypes.h.
2157
2158 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2159
2160         * format.C: new placeholder $$a to pass the socket address.
2161
2162         * bufferlist.[Ch]: new function getBufferFromTmp.
2163
2164         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2165           files in the temporary dir.
2166
2167 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2168
2169         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2170
2171         * Makefile.am: add lyxsocket.[Ch].
2172
2173         * lyx_main.C (error_handler): handle SIGPIPE.
2174
2175 2003-10-13  André Pönitz  <poenitz@gmx.net>
2176
2177         * BufferView_pimpl.C:
2178         * lyxtext.h:
2179         * text.C:
2180         * text2.C:
2181         * text3.C:
2182         * undo_funcs.[Ch]: use paroffset_type instead of
2183           ParagraphList::iterators to prevent multiple conversion
2184           (and get a more robust interface)
2185
2186 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2189         * lyxtext.h: ditto
2190         * text3.C (dispatch): ditto
2191
2192 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2193
2194         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2195         move the onlyfile, use onlyfile instead of foundfile in a couple
2196         of places.
2197
2198         * DepTable.C (update): flush the error stream a bit more
2199
2200 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2201
2202         * lyxserver.C (callback): adjust
2203
2204         * lyxfunc.C (getStatus): add a missing brace in commented code
2205         (ensureBufferClean): reindent
2206         (dispatch): delete version taking a string
2207
2208 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * LaTeX.C (deplog): move found file handlig from here...
2211         (handleFoundFile): .. to new function here.
2212         (deplog): make sure to discover several files mentioned on the
2213         same log line.
2214
2215 2003-10-10  André Pönitz  <poenitz@gmx.net>
2216
2217         * lyxfunc.C:
2218         * lyxtext.h:
2219         * tabular.C:
2220         * text.C:
2221         * text2.C:
2222         * text3.C: fix some of the tabular crashes
2223
2224 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2227
2228         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2229
2230 2003-10-09  André Pönitz  <poenitz@gmx.net>
2231
2232         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2233
2234         * BufferView.C:
2235         * BufferView_pimpl.C:
2236         * bufferview_funcs.C:
2237         * lyx_cb.C:
2238         * lyxcursor.C:
2239         * lyxfind.C:
2240         * lyxfunc.C:
2241         * lyxtext.h:
2242         * text.C:
2243         * text2.C:
2244         * text3.C:
2245         * text_funcs.[Ch]:
2246         * textcursor.[Ch]:
2247         * undo_funcs.C: adjust
2248
2249 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * text2.C (incrementItemDepth): new function, use a backtracking
2252         algorithm to discover the correct item depth.
2253         (resetEnumCounterIfNeeded): new function, use a backtracking
2254         algorithm to discover if counter reset is needed.
2255         (setCounter): use them. Simplify a bit. Add different labels for
2256         different item depths for itemize.
2257
2258         * paragraph.C (Paragraph): remove initialization of enumdepth
2259         (operator=): ditto
2260
2261         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2262         enumerate and itemize. Change the type of itemdepth to signed char.
2263
2264 2003-10-08  André Pönitz  <poenitz@gmx.net>
2265
2266         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2267           thing assignable.
2268         * text.C:
2269         * text2.C: adjust
2270
2271         * tabular.[Ch]: fix crash after 'row-insert'
2272
2273 2003-10-08  Angus Leeming  <leeming@lyx.org>
2274
2275         Fix doxygen warnings.
2276
2277         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2278         Remove CutAndPaste:: prefix from header file declaration.
2279
2280         * LColor.h (fill): remove LColor:: prefix from declaration.
2281
2282         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2283         use lyx::depth_type rather than Paragraph::depth_type so that
2284         header file and .C file match.
2285
2286         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2287
2288         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2289         * aspell.C: \file aspell_local.C -> \file aspell.C
2290         * gettext.C: \file gettext.C -> \file src/gettext.C
2291         * gettext.h: \file gettext.h -> \file src/gettext.h
2292         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2293         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2294         * text.C: \file text.C -> \file src/text.C
2295
2296         * toc.C: move comment so that doxygen is not confused.
2297
2298 2003-10-07  Angus Leeming  <leeming@lyx.org>
2299
2300         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2301
2302 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2303
2304         * aspell.C:
2305         * aspell_local.h: add forgotten std::string's.
2306
2307 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2308
2309         * LaTeXFeatures.C:
2310         * LyXAction.C:
2311         * factory.C:
2312         * lfuns.h:
2313         * lyxfunc.C:
2314         * text3.C: The Box patch. Fancybox support, minipage, parbox
2315
2316 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2317
2318         * CutAndPaste.h:
2319         * DepTable.h:
2320         * FloatList.h:
2321         * LaTeXFeatures.h:
2322         * ParagraphParameters.h:
2323         * TextCache.h:
2324         * Thesaurus.h:
2325         * bufferlist.h:
2326         * exporter.h:
2327         * importer.h:
2328         * lastfiles.h:
2329         * lyxfind.h:
2330         * lyxfont.h:
2331         * lyxlex.h:
2332         * lyxtextclasslist.h:
2333         * messages.h:
2334         * paragraph.h:
2335         * paragraph_pimpl.C:
2336         * textcursor.h: add <string> and other small fixes to make Lars'
2337         std::string patch compile with STLport.
2338
2339 2003-10-06  Angus Leeming  <leeming@lyx.org>
2340
2341         * LColor.h: Add missing #include <string>.
2342
2343 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * All most all file in all subdirs: Make <string> be the prefered
2346         way of getting to std::string, add using declarations.
2347
2348 2003-10-06  André Pönitz  <poenitz@gmx.net>
2349
2350         * metricsinfo.C: initialize LyXFont before changing attribute.
2351         (fixes the 'math in \emph is upright' bug)
2352
2353 2003-10-06  André Pönitz  <poenitz@gmx.net>
2354
2355         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2356
2357 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2358
2359         * graph.C:
2360         * paragraph_pimpl.C: Small fixes to build using STLport
2361
2362 2003-10-02  André Pönitz  <poenitz@gmx.net>
2363
2364         * lyxfunc.C:
2365         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2366
2367 2003-10-01  André Pönitz  <poenitz@gmx.net>
2368
2369         * factory.C: assert early
2370
2371 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * lyx_main.C: remove the global debug object
2374
2375         * debug.h: adjust for new debugstream
2376
2377         * debug.C: adjust for new debugstream and keep the global debug
2378         object here.
2379
2380 2003-09-22  Angus Leeming  <leeming@lyx.org>
2381
2382         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2383         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2384         an incomplete class LyXFont.
2385
2386 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * factory.C: bug fix in branches
2389
2390 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * lyxfunc.C (processKeySym): adjust
2393         (dispatch): adjust
2394         (dispatch): change arg name from ev to func, adjust
2395         (sendDispatchMessage): ditto
2396
2397         * lyx_main.C (defaultKeyBindings): adjust keybindings
2398         (deadKeyBindings): ditto
2399
2400         * kbsequence.C (addkey): return a FuncRequest
2401
2402         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2403
2404         * kbmap.C (bind): take a FuncRequest as arg, adjust
2405         (read): adjust
2406         (lookup): adjust
2407         (defkey): change to take a FuncRequest as arg, adjust
2408         (findbinding): take a FuncRequest as arg, adjust.
2409
2410         * funcrequest.h (operator=): added
2411
2412         * funcrequest.C (FuncRequest): default kb_action changed from
2413         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2414
2415         * buffer.C (dispatch): simplify
2416         (dispatch): adjust to take a FuncRequest as arg, adjust
2417
2418         * boost.C (assertion_failed): change assertion message slightly
2419
2420         * ToolbarBackend.C (read): simplify
2421
2422         * MenuBackend.C (binding): adjust call to findbinding, add a
2423         message if no binding is found.
2424         (read): simplify
2425         (expandToc): correct by adding a empty FuncRequest
2426
2427         * LyXAction.C: include <boost/assert.hpp>
2428         (isPseudoAction): delete function
2429         (LookupFunc): change name to...
2430         (lookupFunc): this. change return type to FuncRequest.
2431         (getActionName): take kb_action as arg, simplify
2432         (funcHasFlag): add an assert, simplify.
2433
2434 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * toc.C (action): return a FuncRequest, simplify
2437
2438         * lyxfunc.C (processKeySym): adjust
2439         (getStatus): delete version that takes an int.
2440         (getStatus): adjust
2441         (dispatch): delete version that takes action as int
2442         (dispatch): adjust
2443         (sendDispatchMessage): simplify and adjust
2444
2445         * funcrequest.C (getArg): take unsigned int as arg
2446
2447         * ToolbarBackend.C (read): adjust
2448         (add): delete version that takes func as a string.
2449         (getIton): take a FuncRequest as arg
2450
2451         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2452         action.
2453
2454         * MenuBackend.C (MenuItem): add a new construct that only takes a
2455         Kind, simplify the constructor use for submenus.
2456         (add): adjust
2457         (expandLastfiles): adjust
2458         (expandDocuments): adjust
2459         (expandFormats): adjust
2460         (expandFloatListInsert): adjust
2461         (expandFloatInsert): adjust
2462         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2463
2464         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2465         Remove class variables lyx_pseudo_map and lyx_arg_map
2466
2467         * LyXAction.C (searchActionArg): delete function
2468         (getPseudoAction): delete function
2469         (retrieveActionArg): delete function
2470         (LookupFunc): make it return kb_action, simplify.
2471         (getActionName): simplify
2472
2473         * factory.C (createInset): fix new bug
2474
2475 2003-09-19  Angus Leeming  <leeming@lyx.org>
2476
2477         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2478         masterFilename_ parameter in the include inset.
2479
2480         * factory.C (createInset): changes due to the changes to InsetInclude.
2481
2482 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2483
2484         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2485
2486 2003-09-18  Angus Leeming  <leeming@lyx.org>
2487
2488         * buffer.C:
2489         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2490         Inset::fillWithBibKeys.
2491         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2492
2493 2003-09-18  Angus Leeming  <leeming@lyx.org>
2494
2495         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2496         variables.
2497         (ctor): pass and store a 'Buffer const &'
2498         (buffer): new member function.
2499
2500         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2501         '*this' to the LaTeXFeatures ctor.
2502
2503 2003-09-18  Angus Leeming  <leeming@lyx.org>
2504
2505         * LColor.h:
2506         * lyxfont.C:
2507         * lyxfont.h:
2508         * lyxtext.h:
2509         * text.C: rename EnumLColor as LColor_color.
2510
2511 2003-09-18  Angus Leeming  <leeming@lyx.org>
2512
2513         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2514         remove #include "insets/insetbase.h" from cursor.h.
2515
2516 2003-09-18  Angus Leeming  <leeming@lyx.org>
2517
2518         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2519         InsetOld_code to remove #include "inset.h".
2520
2521         * iterators.C: add #include "insets/inset.h"
2522
2523 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2524
2525         * BufferView.C: remove more locking stuff that apparently doesn't
2526         do anything sensible.
2527
2528 2003-09-16  André Pönitz  <poenitz@gmx.net>
2529
2530         * paragraph.[Ch]:
2531         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2532           performance boost.
2533
2534 2003-09-16  Angus Leeming  <leeming@lyx.org>
2535
2536         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2537
2538         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2539         arg/return type.
2540
2541         * paragraph.h: remove #include "lyxfont.h". Forward declare
2542         LyXFont_size.
2543
2544 2003-09-16  Angus Leeming  <leeming@lyx.org>
2545
2546         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2547         of support/textutils.h.
2548         (isWord): move the contents of support/textutils.h's IsWordChar here.
2549
2550         * buffer.C:
2551         * lyxfind.C:
2552         * rowpainter.C:
2553         * text.C:
2554         * text2.C: add #include "paragraph.h".
2555
2556         * rowpainter.C:
2557         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2558
2559 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * main.C:
2562         * lyx_main.C:
2563         * lyx_cb.C:
2564         * buffer.C:
2565         * LaTeX.C: use namespace alias for lyx::support::os
2566
2567 2003-09-16  Angus Leeming  <leeming@lyx.org>
2568
2569         * bufferparams.C:
2570         * bufferview_funcs.C:
2571         * factory.C:
2572         * lyxfunc.C:
2573         * paragraph_pimpl.C:
2574         * rowpainter.C:
2575         * text.C: add #include "LColor.h".
2576
2577 2003-09-16  Angus Leeming  <leeming@lyx.org>
2578
2579         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2580         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2581         return LyXFont &.
2582         Store the FontBits::color variable as an int rather than as an
2583         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2584         file.
2585
2586         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2587         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2588         string calls together.
2589
2590         * lyxrc.C: add #include "LColor.h".
2591
2592 2003-09-15  Angus Leeming  <leeming@lyx.org>
2593
2594         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2595         a cow_ptr.
2596
2597 2003-09-15  Angus Leeming  <leeming@lyx.org>
2598
2599         * LColor.h: add an EnumLColor wrapper for LColor::color.
2600
2601         * lyxfont.[Ch] (color, setColor, realColor):
2602         * lyxtext.h, text.C (backgroundColor):
2603         pass EnumLColor args to/from the functions, rather than LColor::color
2604         ones.
2605
2606         * lyxfont.h:
2607         * lyxtext.h: forward declare EnumLColor.
2608
2609         * lyx_main.C: add #include "LColor.h".
2610
2611 2003-09-15  Angus Leeming  <leeming@lyx.org>
2612
2613         * .cvsignore: add lyx-gtk.
2614
2615 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * Chktex.C
2618         * LaTeX.C
2619         * LaTeXFeatures.C
2620         * ParagraphParameters.C
2621         * Spacing.C
2622         * buffer.C
2623         * bufferparams.C
2624         * bufferview_funcs.C
2625         * chset.C
2626         * counters.C
2627         * funcrequest.C
2628         * lyxfont.C
2629         * lyxgluelength.C
2630         * lyxlength.C
2631         * paragraph.C
2632         * paragraph_funcs.C
2633         * text3.C
2634         * vc-backend.C: remove usage of STRCONV
2635
2636 2003-09-15  Angus Leeming  <leeming@lyx.org>
2637
2638         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2639         explicitly define the color passed to the painter.
2640
2641 2003-09-15  Angus Leeming  <leeming@lyx.org>
2642
2643         * bufferparams.C (BufferParams): reorder member initializers to avoid
2644         compiler warning.
2645
2646 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2649         * text.C (updateRowPositions): remove an unusual nop
2650
2651 2003-09-12  André Pönitz  <poenitz@gmx.net>
2652
2653         * BufferView_pimpl.C:
2654         * Bullet.C:
2655         * layout.h:
2656         * lyxfunc.C:
2657         * lyxlayout.[Ch]:
2658         * lyxtextclass.C:
2659         * rowpainter.C:
2660         * text.C:
2661         * text2.C:
2662         * Counters.[Ch]: finish the 'automatic counters' job
2663
2664 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2665
2666         * aspell.C: include <boost/assert.cpp> (compile fix)
2667
2668 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2669
2670         * boost.C (assertion_failed): use lyx::support::abort instead of
2671         assert.
2672
2673 2003-09-10  Angus Leeming  <leeming@lyx.org>
2674
2675         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2676         with their _fwd progeny.
2677
2678 2003-09-09  Angus Leeming  <leeming@lyx.org>
2679
2680         134 files throughtout the source tree: replace 'using namespace abc;'
2681         directives with the appropriate 'using abc::xyz;' declarations.
2682
2683 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2684
2685         * boost.C (emergencyCleanup): moved here from LAssert.c
2686         (assertion_failed): new function, called by BOOST_ASSERT
2687
2688         * several files: change Assert to BOOST_ASSERT
2689
2690 2003-09-09  Angus Leeming  <leeming@lyx.org>
2691
2692         * buffer.[Ch]: Add an Impl class and move Buffer's member
2693         variables into it. As a result move several header files out of
2694         buffer.h.
2695
2696         Add header files to lots of .C files all over the tree as a result.
2697
2698 2003-09-09  Angus Leeming  <leeming@lyx.org>
2699
2700         * buffer.[Ch]: make Buffer's member variables private. Add
2701         accessor functions.
2702
2703         Lots of changes all over the tree as a result.
2704
2705 2003-09-08  Angus Leeming  <leeming@lyx.org>
2706
2707         * graph.C: #include <config.h>.
2708
2709 2003-09-08  Angus Leeming  <leeming@lyx.org>
2710
2711         * BranchList.C:
2712         * BufferView.C:
2713         * BufferView_pimpl.C:
2714         * CutAndPaste.C:
2715         * DepTable.C:
2716         * LaTeX.C:
2717         * LaTeXFeatures.C:
2718         * LyXAction.C:
2719         * MenuBackend.C:
2720         * TextCache.C:
2721         * aspell.C:
2722         * buffer.C:
2723         * bufferlist.C:
2724         * changes.C:
2725         * chset.C:
2726         * converter.C:
2727         * counters.C:
2728         * debug.C:
2729         * graph.C:
2730         * ispell.C:
2731         * lyx_cb.C:
2732         * lyxfind.C:
2733         * lyxfunc.C:
2734         * lyxlex_pimpl.C:
2735         * lyxrc.C:
2736         * lyxrow.C:
2737         * paragraph.C:
2738         * rowpainter.C:
2739         * texrow.C:
2740         * text.C:
2741         * text2.C:
2742         * toc.C: remove redundant using directives.
2743
2744 2003-09-07  Angus Leeming  <leeming@lyx.org>
2745
2746         * LaTeXFeatures.h: remove #include "support/types.h".
2747         * ToolbarBackend.h: remove #include <algorithm>.
2748         * changes.h: remove #include <ctime>.
2749         * debug.h: remove #include <iosfwd>.
2750         * graph.h: remove #include "support/std_string.h".
2751         * lyx_main.h: remove #include <csignal>.
2752         * lyxlex_pimpl.h: remove #include <fstream>.
2753         * sgml.h: remove #include <algorithm>, <utility>.
2754         * toc.h: remove #include "support/std_ostream.h".
2755         Add #include <iosfwd>.
2756
2757 2003-09-07  Angus Leeming  <leeming@lyx.org>
2758
2759         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2760
2761         * converter.h: forward declare LatexRunParams.
2762         * encoding.h: remove #include "lyxrc.h".
2763         * lyxtext.h: remove #include "LColor.h".
2764         * lyxtextclass.h: remove #include "support/types.h".
2765         * trans.h: remove #include "tex-accent.h".
2766         * trans_mgr.h: remove #include "tex-accent.h".
2767         * insets/inset.h: remove #include "support/types.h", <vector>.
2768         * insets/insetcollapsable.h: remove #include "LColor.h".
2769         * insets/insetinclude.h: remove #include "dimension.h".
2770         * insets/insetlatexaccent.h: remove #include "dimension.h".
2771         * insets/insetoptarg.h:: remove #include "insettext.h".
2772         * insets/insettext.h: remove #include "dimension.h",
2773         <boost/shared_ptr.hpp>
2774
2775         * insets/renderers.h: add #include "dimension.h".
2776         * insets/updatableinset.h: add #include "support/types.h".
2777
2778         * many .C files: Associated changes.
2779
2780 2003-09-06  Angus Leeming  <leeming@lyx.org>
2781
2782         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2783         one, inside testInvariant.
2784
2785         * PrinterParams.C: new file.
2786         * PrinterParams.[Ch]: move the function bodies out of line.
2787
2788 2003-09-06  Angus Leeming  <leeming@lyx.org>
2789
2790         * ParagraphParameters.h: forward declare ParameterStruct rather than
2791         including its header file.
2792         (depth): moved out-of-line.
2793
2794 2003-09-06  Angus Leeming  <leeming@lyx.org>
2795
2796         * BufferView_pimpl.h:
2797         * kbmap.h:
2798         * kbsequence.h:
2799         * lyxfunc.h: forward declare LyXKeySym rather than
2800         #include "frontends/LyXKeySym.h".
2801
2802         * BufferView_pimpl.C:
2803         * kbmap.C:
2804         * kbsequence.C:
2805         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2815         As a result, can remove the #include "insets/inset.h" from BufferView.h
2816
2817 2003-09-06  Angus Leeming  <leeming@lyx.org>
2818
2819         * buffer_funcs.C:
2820         * buffer.h:
2821         * bufferlist.C:
2822         * BufferView.C:
2823         * bufferview_funcs.C:
2824         * BufferView_pimpl.C:
2825         * CutAndPaste.C:
2826         * lyx_cb.C:
2827         * lyxfunc.C:
2828         * paragraph.h:
2829         * ParagraphParameters.C:
2830         * tabular.C:
2831         * text3.C:
2832         * toc.C:
2833         * undo_funcs.C:
2834         * frontends/controllers/ControlDocument.C:
2835         * insets/insetcaption.C: rearrange the #includes into some sort of
2836         coherent order.
2837
2838         * buffer.h: remove #includes ErrorList.h, undo.h
2839
2840 2003-09-06  Angus Leeming  <leeming@lyx.org>
2841
2842         * support/types.h: add a 'depth_type' typedef, used to store the
2843         nesting depth of a paragraph.
2844
2845         * paragraph.h:
2846         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2847         defining explicitly.
2848
2849         * buffer.h:
2850         * paragraph_funcs.h:
2851         * ParagraphParameters.h:
2852         * sgml.h: use lyx::depth_type rather than Paragraph or
2853         ParameterStruct's depth_type.
2854
2855         * buffer.h
2856         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2857
2858         * BufferView.C:
2859         * BufferView_pimpl.C:
2860         * CutAndPaste.C:
2861         * ParagraphParameters.C:
2862         * buffer_funcs.C:
2863         * bufferlist.C:
2864         * bufferview_funcs.C:
2865         * lyx_cb.C:
2866         * lyxfunc.C:
2867         * tabular.C:
2868         * text3.C:
2869         * toc.C:
2870         * undo_funcs.C:
2871         * frontends/LyXView.C:
2872         * frontends/controllers/ControlDocument.C:
2873         * frontends/controllers/ControlErrorList.C:
2874         * insets/insetbibitem.C:
2875         * insets/insetbranch.C:
2876         * insets/insetcaption.C:
2877         * insets/insetcollapsable.C:
2878         * insets/insetenv.C:
2879         * insets/insetert.C:
2880         * insets/insetfloat.C:
2881         * insets/insetfoot.C:
2882         * insets/insetfootlike.C:
2883         * insets/insetnewline.C:
2884         * insets/insetquotes.C:
2885         * insets/insettabular.C:
2886         * insets/insettext.C:
2887         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2888
2889         * frontends/controllers/ControlChanges.C: #include "changes.h".
2890
2891 2003-09-06  Angus Leeming  <leeming@lyx.org>
2892
2893         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2894         than #including paragraph.h.
2895
2896         * ParagraphList.h:
2897         * RowList.h: deleted. Superfluous.
2898
2899         * CutAndPaste.h:
2900         * iterators.h:
2901         * lyxcursor.h:
2902         * lyxtext.h:
2903         * text_funcs.h:
2904         * undo.h:
2905         * undo_funcs.h:
2906         * insets/inset.h:
2907         * insets/insettext.h: use ParagraphList_fwd.h rather than
2908         ParagraphList.h.
2909
2910         * paragraph.h: don't forward declare ParagraphList.
2911
2912         * buffer.h:
2913         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2914         rather than ParagraphList.h. paragraph.h is still needed for the
2915         Paragraph::depth_type parameters.
2916
2917         * textcursor.h: enable it to compile stand-alone in light of the
2918         above changes.
2919
2920         * bufferview_funcs.C:
2921         * iterators.C:
2922         * lyxfunc.C:
2923         * lyxrow_funcs.C:
2924         * paragraph.C:
2925         * rowpainter.C:
2926         * text.C:
2927         * text2.C:
2928         * text3.C:
2929         * text_funcs.C:
2930         * textcursor.C:
2931         * undo.C:
2932         * frontends/controllers/ControlParagraph.C:
2933         * frontends/controllers/ControlTabular.C:
2934         * insets/insetmarginal.C:
2935         * insets/insetminipage.C:
2936         * insets/insetnote.C:
2937         * insets/insetoptarg.C: add header files needed to compile again.
2938
2939 2003-09-06  Angus Leeming  <leeming@lyx.org>
2940
2941         * RowList_fwd.h: new file, forward-declaring Row rather than
2942         #including lyxrow.h.
2943
2944         * lyxrow_funcs.h:
2945         * lyxtext.h:
2946         * paragraph.h:
2947         * insets/insettext.h: use it instead of RowList.h
2948
2949         * bufferview_funcs.C:
2950         * lyxfunc.C:
2951         * lyxrow_funcs.C:
2952         * paragraph.C:
2953         * rowpainter.C:
2954         * text.C:
2955         * text2.C:
2956         * text3.C: #include "RowList.h".
2957
2958 2003-09-05  Angus Leeming  <leeming@lyx.org>
2959
2960         * factory.C (createInset):
2961         * vspace.C (c-tor): replace sscanf call with an istringstream.
2962         * ispell.C: re-add missing HP/UX headers.
2963         * lyxserver.C: re-add missing  os2 headers.
2964
2965 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2966
2967         * BranchList.C:
2968         * graph.C:
2969         * ispell.C:
2970         * lastfiles.C:
2971         * lyx_cb.C:
2972         * lyxserver.C:
2973         * texrow.C:
2974         * text3.C: re-add missing system headers, needed for 2.95.2.
2975
2976 2003-09-05  Angus Leeming  <leeming@lyx.org>
2977
2978         Changes most place everywhere due to the removal of using directives
2979         from support/std_sstream.h.
2980
2981 2003-09-05  Angus Leeming  <leeming@lyx.org>
2982
2983         Replace LString.h with support/std_string.h,
2984         Lsstream.h with support/std_sstream.h,
2985         support/LIstream.h with support/std_istream.h,
2986         support/LOstream.h with support/std_ostream.h.
2987
2988         Changes resulting throughout the tree.
2989
2990 2003-09-05  Angus Leeming  <leeming@lyx.org>
2991
2992         * sgml.h: ensure that the header file can be compiled stand-alone.
2993         * *.C: strip out redundant #includes. (320 in total.)
2994
2995 2003-09-04  Angus Leeming  <leeming@lyx.org>
2996
2997         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2998         here (from getPackages).
2999
3000         * debug.[Ch]: add a new EXTERNAL tag.
3001
3002 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3003
3004         * text2.C (cursorEnd): simplify
3005         (setCursor): adjust
3006         (getColumnNearX): adjust
3007
3008         * text.C (computeBidiTables): adjust
3009         (fill): adjust
3010
3011         * rowpainter.C (paintChars): adjust
3012         (paintSelection): adjust
3013         (paintChangeBar): adjust
3014         (paintText): adjust
3015
3016         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3017         lastPos instead.
3018         (numberOfSeparators): adjust
3019
3020 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3021
3022         * LyXAction.C:
3023         * box.[Ch]:
3024         * lfuns.h:
3025         * lyxfunc.C:
3026         * text3.C: Restricts the mouse click functionality
3027         of insets like bibtex, include, toc and floatlist to the visible
3028         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3029         up the dialogs. Cursor has to be in front of the inset (i.e.
3030         start of row) for this to function.
3031
3032 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3033
3034         * bufferview_funcs.C (currentState): output row information
3035
3036 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3037
3038         * bufferview_funcs.C (currentState): output paragraph position
3039
3040 2003-09-04  Angus Leeming  <leeming@lyx.org>
3041
3042         * FloatList.h: move out #include "Floating.h".
3043         * LaTeX.h: move out #include "DepTable.h".
3044         * LyXAction.h: move out #include "funcrequest.h".
3045         * buffer.h: move out #include "author.h", "iterators.h".
3046         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3047         * lyx_main.h: move out #include "errorlist.h".
3048         * lyxfunc.h: move out #include "FuncStatus.h".
3049         * lyxtext: move out #include "lyxcursor.h".
3050         * paragraph_pimpl.h: move out #include "counters.h".
3051
3052 2003-09-03  Angus Leeming  <leeming@lyx.org>
3053
3054         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3055         preamble_snippets list, enabling us to add snippets to the preamble
3056         only if the snippet was not there already.
3057
3058 2003-09-04  Angus Leeming  <leeming@lyx.org>
3059
3060         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3061
3062 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3063
3064         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3065         update
3066
3067 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3068
3069         * BranchList.C: point fix, earlier forgotten
3070
3071 2003-09-02  Angus Leeming  <leeming@lyx.org>
3072
3073         * box.C (contains): renamed from 'contained' after a fantastic
3074         amount of hot air.
3075
3076 2003-09-02  John Levon  <levon@movementarian.org>
3077
3078         * BufferView.C:
3079         * lyxcursor.h:
3080         * lyxcursor.C:
3081         * lyxfunc.C:
3082         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3083
3084 2003-09-02  John Levon  <levon@movementarian.org>
3085
3086         * text2.C: simplification of cursorEnd(), including partial
3087         fix for bug 1376
3088
3089 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * buffer.C (readFile): add a space
3092
3093 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3094
3095         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3096
3097 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098
3099         * buffer.C (readFile): new function, take a filename and a
3100         ParagraphList::iterator
3101         (readFile): adjust
3102         (readFile): adjust, make it private. don't use setStream, make
3103         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3104         always contain the filename.
3105
3106         * BufferView.C (insertLyXFile): simplify and make it work for
3107         gzipped files.
3108
3109 2003-08-30  John Levon  <levon@movementarian.org>
3110
3111         * Makefile.am: fix dist (from Kayvan)
3112
3113 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * most files: change to use const Buffer refs
3116
3117 2003-08-27  André Pönitz  <poenitz@gmx.net>
3118
3119         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3120         on top of ownerPar().
3121
3122 2003-08-27  John Levon  <levon@movementarian.org>
3123
3124         * funcrequest.C: properly initialise POD members
3125
3126 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3127
3128         * lyxtext.h (top_y): move top_y from here
3129         * text.C:
3130         * text2.C:
3131         * text3.C:
3132         * BufferView.[Ch]:
3133         * BufferView_pimpl.[Ch]: to here
3134         * frontends/screen.C:
3135         * insets/insettabular.C:
3136         * insets/insettext.C: adjust
3137         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3138
3139 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * BufferView.[Ch]:
3142         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3143
3144 2003-08-26  André Pönitz  <poenitz@gmx.net>
3145
3146         * paragraph_func.[Ch] (outerPar): new function
3147
3148         * paragraph.C:
3149         * paragraph_funcs.C:
3150         * paragraph_funcs.h:
3151         * paragraph_pimpl.C:
3152         * text2.C: remove Inset::par_owner
3153
3154 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3155
3156         * lyxrow_funcs.C:
3157         * lyxtext.h:
3158         * text.C:
3159         * text2.C: eliminates the needFullRow/display() stuff
3160         altogether, putting the logic in metrics/draw in the insets.
3161
3162 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * text2.C (redoParagraphInternal, redoParagraphs):
3165         * text.C (redoParagraph): add a call to updateRowPositions at the
3166         end of each 'metrics-like' call. Remove all others.
3167         (getRow): remove the 'y-computing' version.
3168         (getRowNearY): do not compute nor return the real y. Solve the
3169         'y < 0' problem and simplify.
3170
3171 2003-08-22  Angus Leeming  <leeming@lyx.org>
3172
3173         * *.[Ch]: clean-up of licence and author blurbs.
3174         Also move config.h out of a few .h files and into a few .C files.
3175
3176 2003-08-22  André Pönitz  <poenitz@gmx.net>
3177
3178         * lyxrow.[Ch]: add x_ and *fill_ members
3179
3180         * lyxtext.h:
3181         * text.C:
3182         * rowpainter.C:
3183         * text2.C: adjust/remove prepareToPrint() calls
3184
3185 2003-08-22  André Pönitz  <poenitz@gmx.net>
3186
3187         * lyxrow.[Ch]: add  end_ member
3188
3189         * lyxrow_funcs.C: use LyXRow::end_
3190
3191         * lyxtext.h (singleWidth): add LyXFont parameter
3192
3193         * rowpainter.C:
3194         * text2.C: adjust LyXText::singleWidth() calls
3195
3196         * text.C (redoParagraph): simplify row breaking logic
3197
3198
3199 2003-08-19  André Pönitz  <poenitz@gmx.net>
3200
3201         * funcrequest.C: initialize button_ member
3202
3203         * text3.C:
3204         * rowpainter.[Ch]: interface consolidation
3205
3206 2003-08-18  André Pönitz  <poenitz@gmx.net>
3207
3208         * BufferView.C:
3209         * BufferView_pimpl.C:
3210         * lyxfind.C:
3211         * paragraph_funcs.C:
3212         * rowpainter.C:
3213         * text3.C: remove LyXScreen::draw() and fitCursor calls
3214
3215         * BranchList.h: remove spurious semicolons
3216
3217         * MenuBackend.C: fix branchlist related crash
3218
3219 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3220
3221         * BranchList.[Ch]:
3222         * InsetList.[Ch]:
3223         * LColor.[Ch]:
3224         * LyXAction.C:
3225         * Makefile.am:
3226         * MenuBackend.[Ch]:
3227         * bufferparams.[Ch]:
3228         * factory.C:
3229         * lfuns.h:
3230         * lyxfunc.C:
3231         * text3.C: implements the 'branch inset'
3232         idea. This allows the output of various versions of a document
3233         from a single source version, selectively outputing or suppressing
3234         output of parts of the text.
3235         This implementation contains a 'branch list editor' in a separate
3236         tab of the document settings dialog. Branches are user definable
3237         and have a "display colour" to distinguish them on-screen.
3238
3239         ColorHandler was somewhat cleaned up.
3240         (1) make possible a dynamically growing LColor list by allowing
3241         the graphic context cache to grow along (vector);
3242         (2) eliminate an IMHO unnecessary step in colour allocation.
3243
3244 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3245
3246         * BufferView_pimpl.C: compile fix
3247
3248 2003-08-15  André Pönitz  <poenitz@gmx.net>
3249
3250         * rowpainter.C: remove extra metrics calls
3251
3252         * lyxtext.h: merge the two constructors into a single one,
3253           pass reference to owner's par list
3254
3255         * BufferView_pimpl.C:
3256         * text.C:
3257         * text2.C: adjust
3258
3259 2003-08-15  André Pönitz  <poenitz@gmx.net>
3260
3261         * lyxrow_funcs.[Ch]:
3262         * lyxtext.h:
3263         * paragraph.h:
3264         * paragraph_funcs.C:
3265         * rowpainter.C:
3266         * text.C:
3267         * text2.C:
3268         * text3.C:
3269         * text_funcs.C: split LyXText::rowlist_ into individual
3270         Paragraph::rows_ chunks
3271
3272         * BufferView.[Ch]:
3273         * BufferView_pimpl.[Ch]:
3274         * lyxfind.C:
3275         * lyxtext.h:
3276         * text3.C: remove toggleSelection()
3277
3278 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3279
3280         * bufferlist.C: beautify two alerts (shorter text of buttons)
3281         * buffer.C: Remove redundant ' ' from message
3282         * tabular.h:
3283         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3284         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3285         rename VALIGN_CENTER to VALIGN_MIDDLE
3286
3287 2003-08-11  André Pönitz  <poenitz@gmx.net>
3288
3289         * lyxtext.h (getPar):
3290         * text.C: new function
3291
3292 2003-08-11  André Pönitz  <poenitz@gmx.net>
3293
3294         * Makefile.am:
3295         * tracer.[Ch]: remove unneeded files
3296
3297         * InsetList.[Ch]: remove resizeInsetsLyXText()
3298
3299         * lyxtext.h:
3300         * text.C:
3301         * text2.C:
3302         * text3.C: merge insertParagraphs() and appendParagraph()
3303         remove breakAgain(), update()
3304
3305         * BufferView_pimpl.[Ch]:
3306         * bufferview_funcs.[Ch]:
3307         * lyxfunc.C:
3308         * paragraph.[Ch]:
3309         * rowpainter.C:
3310         * tabular.C: adjust after text & InsetList changes.
3311
3312 2003-08-08  André Pönitz  <poenitz@gmx.net>
3313
3314         * text.C (insertChar, backspace): replace rowlist fiddling
3315         with rebreak of full par
3316
3317         * lyxtext.h:
3318         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3319         checkParagraph, updateInset): removed
3320
3321 2003-08-07  André Pönitz  <poenitz@gmx.net>
3322
3323         * paragraph.C:
3324         * text3.C: merge some LFUN handlers, remove dead code
3325
3326 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3327
3328         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3329
3330 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3331
3332         * text2.C (DEPM): fix part of bug 1255 and 1256
3333
3334 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3335
3336         * BufferView_pimpl.C (workAreaDispatch): change to use
3337         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3338         that are no mouse related.
3339
3340 2003-08-05  André Pönitz  <poenitz@gmx.net>
3341
3342         * BufferView.[Ch]:
3343         * BufferView_pimpl.[Ch]:
3344         * bufferview_funcs.C:
3345         * text2.C:
3346         * text3.C: rip out "deep update"
3347
3348         * textcursor.[Ch] (last_sel_cursor): remove unused member
3349
3350 2003-08-04  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView.[Ch]:
3353         * BufferView_pimpl.[Ch]:
3354         * ParagraphParameters.C:
3355         * bufferview_funcs.C:
3356         * lyx_cb.C:
3357         * lyxfind.C:
3358         * lyxfunc.C:
3359         * text.C:
3360         * text2.C:
3361         * text3.C: replace "complicated" BufferView::update(...) calls with
3362         simpler ones.
3363
3364         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3365
3366 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3367
3368         * Makefile.am (lyx_SOURCES): add paper.h
3369
3370 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3371
3372         * Makefile.am: move things around so that both lyx-qt and
3373         lyx-xforms can be built (according to --with-frontend). Then lyx
3374         is a symbolic link to lyx-[firstfrontend]
3375
3376 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3377
3378         * Always use std::endl with lyxerr
3379
3380 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3381
3382         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3383
3384 2003-08-01  André Pönitz  <poenitz@gmx.net>
3385
3386         * BufferView.[Ch]:
3387         * BufferView_pimpl.[Ch]:
3388         * lyxfunc.C:
3389         * text3.C: merge BufferView::repaint() and BufferView::update()
3390
3391 2003-08-01  José Matos  <jamatos@lyx.org>
3392
3393         * buffer.[Ch]: file_format is no longer a buffer data element.
3394
3395 2003-08-01  André Pönitz  <poenitz@gmx.net>
3396
3397         * BufferView.C:
3398         * lyxtext.h:
3399         * text.C:
3400         * text2.C: make redoParagraph more independent of current cursor
3401
3402         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3403         * text.C:
3404         * text2.C: remove unneeded members
3405
3406 2003-07-30  André Pönitz  <poenitz@gmx.net>
3407
3408         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3409
3410         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3411           create a single function...
3412
3413         * paragraph_funcs.C (moveItem): ... here.
3414
3415         * text.C:
3416           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3417
3418 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3419
3420         * LColor.[Ch]: Add comment and greyedout logical colors.
3421
3422 2003-07-30  André Pönitz  <poenitz@gmx.net>
3423
3424         * tabular.C: don't use Assert too heavily. This crashes where it
3425           shouldn't
3426
3427 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3430         is disabled (bug 1232)
3431
3432 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3433
3434         * factory.C: limited 'arg' scope
3435
3436 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3437
3438         * factory.C: fixed Note submenu issues
3439
3440 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * factory.C: submenu for Note/Comment/Greyedout
3443
3444 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * lyx_main.C (LyX):
3447         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3448
3449 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3450
3451         * LaTeXFeatures.C:
3452         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3453         greyedout. Patch provided by Jürgen Spitzmüller.
3454
3455 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3456
3457         * kbmap.C (read): fix error message when reading bind files
3458
3459 2003-07-29  Angus Leeming  <leeming@lyx.org>
3460
3461         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3462         certainly does not do what it purports to do. I am doing it, and
3463         us, a favour by killing it.
3464
3465 2003-07-28  José Matos  <jamatos@lyx.org>
3466
3467         * buffer.C (readBody, do_writeFile):
3468         * paragraph.C(readParagraph): \end_document replaces \the_end.
3469
3470 2003-07-29  André Pönitz  <poenitz@gmx.net>
3471
3472         * BufferView.[Ch]:
3473         * BufferView_pimpl.[Ch]:
3474         * lyxfunc.C:
3475         * text2.C:
3476         * text3.C:
3477         * textcursor.[Ch]: remove toggleToggle & Co
3478
3479 2003-07-28  José Matos  <jamatos@fep.up.pt>
3480
3481         * buffer.C (readParagraph):
3482         * params_func (readParToken, readParagraph):
3483         * paragraph.C (write): \layout -> \begin_layout.
3484
3485 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * lyxlex_pimpl.C (setFile): clean up slightly.
3488
3489         * bufferparams.h: add compressed var
3490
3491         * buffer_funcs.C (readFile): adjust for LyXLex change
3492         (newFile): ditto + simplify
3493
3494         * buffer.C (writeFile): handle writing of compressed files
3495
3496         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3497         Check if the file is compressed and set a bufferparm if so.
3498
3499         * Makefile.am (lyx_LDADD): remove explicit -lz
3500
3501 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3502
3503         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3504         makeDocBookFile): put the real LyX version in the first line of
3505         the file
3506
3507         * version.h:
3508         * version.C.in: remove lyx_docversion
3509
3510         * tabular.C (write_attribute): add a template-based version to
3511         write enums properly
3512
3513 2003-07-28  André Pönitz  <poenitz@gmx.net>
3514
3515         * lyxtext.h:
3516         * text.C:
3517         * text2.C:
3518         * text3.C: use doubles again for x-coordinates. They are needed.
3519
3520 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * messages.C (getLocaleDir): use lyx_localedir()
3523
3524         * lyxlex_pimpl.C (setFile): compress stuff
3525
3526         * buffer.C (writeFile): add some compression stuff
3527         (do_writeFile): new func, dont call expliti close... will this
3528         breake anything?
3529
3530         * Makefile.am (lyx_LDADD): add -lz
3531
3532 2003-07-28  José Matos  <jamatos@fep.up.pt>
3533
3534         * buffer.C: increment file format.
3535         * paragraph_funcs (readParagraph, readParToken):
3536         * paragraph.C (readParagraph): add \end_layout.
3537
3538 2003-07-27  Angus Leeming  <leeming@lyx.org>
3539
3540         * Makefile.am: remove special casing for configure-time setting of
3541         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3542
3543         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3544         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3545
3546 2003-07-26  André Pönitz  <poenitz@gmx.net>
3547
3548         * paragraph_func.[Ch]:
3549         * paragraph.C (realizeFont): inline it whereever it is used
3550
3551         * rowpainter.C:
3552         * text.C:
3553         * text2.C:
3554         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3555
3556
3557 2003-07-26  André Pönitz  <poenitz@gmx.net>
3558
3559         *       lyxtext.h:
3560         * text.C:
3561         * text2.C: get rid of LyXText::need_break_row
3562
3563 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * toc.[Ch]: put namespace toc inside namespace lyx
3566
3567         * MenuBackend.C (expandToc2): adjust for lyx::toc
3568         (expandToc): ditto
3569
3570         * lyxfunc.C (dispatch): adjust for lyx::find
3571
3572         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3573         lyx::find instead. Reorganize a bit.
3574         (LyXReplace): rename to replace
3575         (LyXFind): rename to find
3576
3577         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3578         (dispatch): ditto
3579
3580 2003-07-26  André Pönitz  <poenitz@gmx.net>
3581
3582         * text.C (setHeightOfRow): restrict scope of temporary variable
3583
3584         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3585           code (never has been used?)
3586
3587 2003-07-27  Asger Alstrup  <alstrup@local>
3588
3589         * text.C (fill): Optimise algorithm to exploit that we can reuse
3590         the LyXFont for many characters.
3591         (setHeightOfRow): Same thing.
3592         (rowBreakPoint): Same thing.
3593
3594 2003-07-26  Asger Alstrup  <alstrup@local>
3595
3596         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3597
3598         * text.C (singleWidth): Spurious font copying in hot-spot
3599         singleWidth avoided. Reorder tests for arabic for efficiency.
3600
3601         * text.C (fill): handle empty paragraphs better.
3602
3603 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3604
3605         * ispell.C:
3606         * encoding.h: add includes
3607
3608         * lyxrc.C: remove reading of bind files
3609
3610         * lyx_main.C (init): setup bindings and menus only if we have a
3611         gui.
3612
3613         * kbmap.C (read): new method. Do the actual reading of bind
3614         files.
3615
3616         * converter.C (dvipdfm_options):
3617         * bufferparams.C:
3618         * lyxrc.C (read):
3619         (output): adapt PAPER_* enums.
3620
3621         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3622
3623         * bufferparams.h: remove paper-related enums from there
3624
3625         * paper.h: New file. A trivial header file to hold paper-related
3626         enums. It should later expand to contain many paper-related
3627         horrors access.
3628
3629         * lyxrc.C: declare extern displayTranslator
3630
3631 2003-07-27  José Matos  <jamatos@fep.up.pt>
3632
3633         * tabular.[Ch] (linuxdoc): add support for tables and figures
3634         (linuxdoc).
3635
3636 2003-07-27  José Matos  <jamatos@fep.up.pt>
3637
3638         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3639         consistency in both functions.
3640         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3641
3642 2003-07-26  Asger Alstrup  <alstrup@local>
3643
3644         * rowpainter.C (paintRows): Change algorithm to work directly on
3645         the insets rather than asking every character in the document
3646         whether its an inset.
3647
3648 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * buffer.C (openFileWrite): factorize some code
3651
3652 2003-07-26  Angus Leeming  <leeming@lyx.org>
3653
3654         * lyx_cb.C:
3655         * lyx_main.[Ch]: replace occurances of system_tempdir with
3656         os::getTmpDir().
3657
3658 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * rename Inset to InsetOld
3661
3662 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3663
3664         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3665         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3666         which I think is a bit clearer. EDIT is gone, since it was
3667         premature optimisation, and broken for mathed anyway.
3668         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3669         with cursor positioning in insets as well (math insets still do not
3670         work, but that's a different story anyway.) It mysteriously
3671         crashes sometimes with undo in the first paragraph, but I'm fairly
3672         confident that this is a compiler bug.
3673
3674 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * paragraph.C (Paragraph): adjust for new clone return type
3677         (operator==): ditto
3678         (copyIntoMinibuffer): ditto
3679
3680 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3681
3682         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3683         by not having a special case, and always doing a full rebreak of
3684         the document after undo.
3685
3686 2003-07-23  Angus Leeming  <leeming@lyx.org>
3687
3688         * factory.C (createInset): InsetExternal::setParams now takes a
3689         Buffer const * arg.
3690
3691 2003-07-23  Angus Leeming  <leeming@lyx.org>
3692
3693         * factory.C (createInset): changed interface to the external and
3694         graphics mailers' string2params functions.
3695
3696 2003-07-23  Angus Leeming  <leeming@lyx.org>
3697
3698         * factory.C (createInset): pass a
3699         Buffer const * parameter to InsetExternalMailer's string2params.
3700
3701 2003-07-22  John Levon  <levon@movementarian.org>
3702
3703         * Thesaurus.h: include the right aiksaurus header
3704
3705 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3706
3707         * MenuBackend.C (expand): check menu shortcuts unconditionally
3708
3709 2003-07-21  Angus Leeming  <leeming@lyx.org>
3710
3711         * factory.C (createInset): pass a
3712         buffer_path parameter to InsetGraphicsMailer's string2params.
3713
3714 2003-07-21  Angus Leeming  <leeming@lyx.org>
3715
3716         * BufferView_pimpl.C (buffer):
3717         * buffer.C (d-tor):
3718         * lyx_main.C (LyX):
3719         * lyxfunc.C (dispatch):
3720         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3721         rather than the grfx shortcut.
3722
3723 2003-07-21  André Pönitz  <poenitz@gmx.net>
3724
3725         * rowpainter.C: remove unused variables
3726
3727         * tabular_funcs.C:
3728         * tabular_funcs.h: move to tabular.C
3729         * Makefile.am: adjust
3730
3731         * tabular.[Ch]: basic optical cleaning
3732
3733         * author.h: pass references, not values
3734
3735 2003-07-18  André Pönitz  <poenitz@gmx.net>
3736
3737         * lyxtext.h:
3738         * metricsinfo.C:
3739         * metricsinfo.h:
3740         * rowpainter.C:
3741         * text.C:
3742         * text2.C:
3743         * text3.C: two-phase drawing for InsetText and InsetTabular
3744         some float -> int changes.
3745
3746 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * lyx_main.C: fix the fix
3749
3750 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * lyx_main.C: fix a crash in batch mode if no files specified
3753         * converter.C: ws
3754
3755 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * format.[Ch] (papersize): moved to BufferParams
3758         * converter.[Ch] (dvips_options): moved to BufferParams
3759         (dvipdfm_options): moved to anon namespace
3760         * bufferparams.[Ch]: added above functions.
3761
3762 2003-07-17  André Pönitz  <poenitz@gmx.net>
3763
3764         * lyxtext.h:
3765         * rowpainter.C:
3766         * text2.C: don't call inset->update() anymore
3767
3768         * metricsinfo.[Ch]: add convenience constructor
3769
3770 2003-07-16  André Pönitz  <poenitz@gmx.net>
3771
3772         * lyxcursor.[Ch]:
3773         * lyxfunc.[Ch]:
3774         * text.C:
3775         * text2.C: replace the LyXCursor::irow_ member with
3776          on-demand computation of the value
3777
3778 2003-07-16  John Levon  <levon@movementarian.org>
3779
3780         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3781
3782 2003-07-15  André Pönitz  <poenitz@gmx.net>
3783
3784         * text.C:
3785         * text2.C: remove no more needed refresh_row
3786
3787 2003-07-15  André Pönitz  <poenitz@gmx.net>
3788
3789         * lyxtext.h:
3790         * rowpainter.C:
3791         * text2.C:
3792         * text3.C: refresh_status tristate -> need_update bool
3793
3794 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3795
3796         * lyxtext.h (init): remove reinit argument (act as if always true)
3797         * text2.C: adjust to that
3798
3799 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3800
3801         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3802         * text3.C: use it to delete selections in some cases
3803         (bugs 441, 673, 702, 954).
3804
3805 2003-07-14  André Pönitz  <poenitz@gmx.net>
3806
3807         * rowpainter.[Ch]: reduce interface
3808
3809 2003-07-14  André Pönitz  <poenitz@gmx.net>
3810
3811         * BufferView_pimpl.C:
3812         * text2.C: adjust after removing unused BufferView * argument
3813
3814 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * text2.C (init): fix a crash fired on resize
3817
3818 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3819
3820         * buffer.[Ch]: added new closing signal
3821         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3822         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3823         BufferView::Pimpl via the closing the signal
3824
3825 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3826
3827         * buffer.[Ch]: take out all bv-related from buffer
3828         * BufferView.C:
3829         * BufferView_pimpl.[Ch]: connect to new signals
3830         * CutAndPaste.C: removed useless asserts
3831         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3832         * lyxvc.[Ch]:
3833         * vc-backend.[Ch]:
3834         * lyxfunc.C: moved view-related funciontality from vc here
3835         * paragraph.C: removed outdated comments
3836         * text.C: ws
3837
3838 2003-07-10  André Pönitz  <poenitz@gmx.net>
3839
3840         * BufferView_pimpl.C:
3841         * tabular.h:
3842         * tabular_funcs.C:
3843         * text.C:
3844         * text2.C: remove InsetText::InnerCache, clean up consequences
3845
3846 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3847
3848         * ispell.C: fix two typos in error messages
3849
3850 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * Extend Note inset to other forms of annotation like Comment
3853         and Greyedout. Right button click gives dialog.
3854
3855         Files modified or added (+):
3856
3857         * insetnote.[Ch]
3858         * FormNote.[Ch]      +
3859         * ControlNote.[Ch]   +
3860         * form_note.fd       +
3861         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3862         frontends/controllers
3863         * xforms/Dialogs.C
3864         * factory.C
3865
3866 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3867
3868         * aspell.C: add missing namespace lyx::support
3869
3870 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3871
3872         * BufferView.[Ch] (newFile): Add
3873         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3874         * LaTeX.[Ch] (message): added this signal and use it
3875         * buffer.[Ch] (busy, message): added these signals and use them
3876         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3877         * converter.C:
3878         * exporter.C:
3879         * format.C:
3880         * importer.C: use buffer signals instead of direct bv calling
3881         * lyx_cb.[Ch] (ShowMessage): removed
3882         * lyx_main.C:
3883         * lyxfunc.C:
3884         * paragraph_funcs.C:
3885         * text2.C: use buffer signals
3886
3887 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * introduce namespace lyx::graphics
3890
3891 2003-07-02  André Pönitz  <poenitz@gmx.net>
3892
3893         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3894
3895 2003-07-01  André Pönitz  <poenitz@gmx.net>
3896
3897         * text.C:
3898         * text2.C:
3899         * text3.C:
3900         * text_funcs.[Ch]:
3901         * textcursor.h:
3902         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3903           text*.C to text_func.C
3904
3905 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * introduce namespace lyx::support
3908
3909 2003-06-30  André Pönitz  <poenitz@gmx.net>
3910
3911         * Chktex.C:
3912         * funcrequest.C:
3913         * lyxtext.h:
3914         * text.C: re-enable --with-included-string
3915
3916 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3917
3918         * textcursor.C: add <config.h>
3919
3920         * text.C (getWord): remove const from word_location arg
3921
3922         * lyxvc.C (getLogFile): fix const type order
3923
3924         * lyxtext.h: remove const from word_location arg, add arg name
3925
3926         * lyxlayout.h: currect type on labeltype.
3927
3928         * importer.C: correct \file
3929
3930         * converter.C (intToFormat): use std:: on ret val, ws changes
3931
3932         * bufferlist.h: correct \file
3933
3934         * buffer.C (makeLinuxDocFile): fix const type order
3935         (makeDocBookFile): ditto
3936         (fillWithBibKeys): use std:: on stdlib args.
3937
3938         * CutAndPaste.C: fix authors.
3939         (availableSelections): use std:: on return vector
3940
3941 2003-06-27  André Pönitz  <poenitz@gmx.net>
3942
3943         * BufferView_pimpl.C:
3944         * bufferview_funcs.C:
3945         * lyxcursor.C:
3946         * lyxcursor.h:
3947         * lyxfunc.C:
3948         * lyxtext.h:
3949         * rowpainter.C:
3950         * text.C:
3951         * text2.C:
3952         * text3.C: remove LyXCursor::row_ member
3953
3954         * lyxtext.h:
3955         * text.C: rename fullRebreak() to partialRebreak() and implement
3956           a fullRebreak() that really bereks fully
3957
3958         * textcursor.h: new struct for cursor-related data
3959
3960 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * lyx_main.C (LyX): get full path of document loaded on the
3963         command line
3964
3965 2003-06-26  André Pönitz  <poenitz@gmx.net>
3966
3967         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3968           remove unused/broken operator>,<,>=.
3969
3970         *       text.C: remove only use of broken operator<= in an Assert().
3971
3972 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3973
3974         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3975         moved errorlist_.clear to showErrorList
3976
3977 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3978
3979         * converter.C (scanLog, runLaTeX):
3980         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3981         move the bv->showErrorList call to the callers
3982         * lyxfunc.C: i.e. here...
3983         * text2.C: and here
3984         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3985         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3986         namespace, the second to...
3987         * buffer_funcs (BufferFormat, parseErrors): added
3988         * errorlist.C (ErrorList(TeXErrors const &)): removed
3989
3990 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3991
3992         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3993
3994 2003-06-24  "Garst R. Reese" <reese@isn.net>
3995
3996         * debug.C: fix typo
3997
3998 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3999
4000         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4001
4002         * version.C.in: change docversion to 1.4
4003
4004 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4005
4006         * buffer.C: fix a bug just introduced
4007
4008 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * buffer.[Ch]: added the parseError signal and use it, removed
4011         sgmlError
4012         * BufferView.[Ch] (addError): moved to ...
4013         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4014         to the Buffer::parseError signal to catch (guess what) parse errors
4015         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4016
4017 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4020         ability to create a buffer and to return an existing one from
4021         the list. Moved these functions to...
4022         * buffer_funcs.[Ch]: added
4023         * BufferView.[Ch] (loadLyXFile): added
4024         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4025         job removed from bufferlist::loadLyXFile.
4026         * buffer.C (setReadOnly): make it work without view
4027         (i.e added an if (users))
4028
4029 2003-06-19  Angus Leeming  <leeming@lyx.org>
4030
4031         * lfuns.h:
4032         * LyXAction.C (init):
4033         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4034         with LFUN_DIALOG_SHOW <name> <data>.
4035
4036 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4037
4038         * CutAndPaste.C (availableSelections): small compilation fix for
4039         ancient (gcc 2.9x) compilers
4040
4041 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * text3.C (cursorNext): add tmp var
4044
4045         * text2.C (updateCounters): for function calling out of for clause
4046         (replaceSelectionWithString): ditto
4047         (insertStringAsParagraphs): ditto
4048         (getColumnNearX): add tmp var
4049         (setCursorFromCoordinates): add tmp var
4050         (cursorDownParagraph): add tmp var
4051         (deleteEmptyParagraphMechanism): add tmp var
4052
4053         * text.C (insertChar): add tmp var
4054
4055         * rowpainter.C (paintDepthBar): add tmp var
4056
4057         * CutAndPaste.C (availableSelections): potentially check all
4058         paragraphs in a cut to fill the shown strings.
4059
4060 2003-06-18  André Pönitz  <poenitz@gmx.net>
4061
4062         * kbmap.[Ch]: use vector<> instead of list<>
4063
4064 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4065
4066         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4067         pasteSelection with index
4068
4069         * text2.C (pasteSelection): modify, call pasteSelection with index
4070
4071         * paragraph.C (asString): reimplement version with no interval to
4072         call the one with interval.
4073
4074         * lyxtext.h: add index arg to pasteSelection
4075
4076         * MenuBackend.C (MenuItem): handle PasteRecent
4077         (Menu::read::Menutags): add md_pasterecent
4078         (read): handle it
4079         (expandPasteRecent): new function
4080         (expand): use it
4081
4082         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4083
4084         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4085         the limited stack
4086         (availableSelections): new function
4087
4088 2003-06-17  Angus Leeming  <leeming@lyx.org>
4089
4090         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4091
4092 2003-06-17  Angus Leeming  <leeming@lyx.org>
4093
4094         * lfuns.h:
4095         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4096
4097         * lyxfunc.C (dispatch): invoke it.
4098
4099 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * iterators.C (operator++, ParPosition): reintroduce some
4102         const_cast for the benefit of older compilers.
4103
4104 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4105
4106         * text3.C (dispatch): do not modify clipboard when doing
4107         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4108         LFUN_DELETE_SKIP on a selection selection
4109
4110 2003-06-16  André Pönitz  <poenitz@gmx.net>
4111
4112         * BufferView.C:
4113         * buffer.C:
4114         * buffer.h:
4115         * paragraph.C:
4116         * tabular.[Ch]: IU of clone() and getLabelList();
4117
4118 2003-06-13  André Pönitz  <poenitz@gmx.net>
4119
4120         * tabular.h: compactification
4121
4122 2003-06-12  André Pönitz  <poenitz@gmx.net>
4123
4124         * tabular.C:
4125         * tabular.h:
4126         * tabular_funcs.h: some renaming plus whitespace
4127
4128 2003-06-12  André Pönitz  <poenitz@gmx.net>
4129
4130         * BufferView.C:
4131         * BufferView_pimpl.C:
4132         * CutAndPaste.C:
4133         * buffer.C:
4134         * iterators.[Ch]:
4135         * lyxfunc.C:
4136         * text.C:
4137         * toc.C: Return a Paragraph & for ParIterator::operator*()
4138
4139 2003-06-11  John Levon  <levon@movementarian.org>
4140
4141         * lyx_main.C:
4142         * ToolbarBackend.h:
4143         * ToolbarBackend.C: add "Toolbars" section and
4144         put the flags there
4145
4146 2003-06-10  Angus Leeming  <leeming@lyx.org>
4147
4148         * lfuns.h:
4149         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4150
4151         * lyxfunc.C (dispatch): invoke it.
4152
4153 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * main.C: protect <ios> with HAVE_IOS
4156         (main): protect sync_with_stdio with HAVE_IOS
4157
4158 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4159
4160         * text2.C (cutSelection): adjust
4161         (pasteSelection): adjust
4162
4163         * messages.C: handle get of empty string
4164
4165         * main.C (main): use sync_with_stdio(false)
4166
4167         * lyxfunc.C (dispatch): adjust
4168
4169         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4170         (WriteAs): remove unneeded BufferView arg.
4171
4172         * bufferparams.h: use correct types on papersize, papersize2 and
4173         paperpackage.
4174
4175         * bufferparams.C (readToken): adjust for type
4176         (writeLaTeX): add missing cases to switch.
4177
4178         * bufferlist.C (quitWriteBuffer): adjust
4179         (close): adjust
4180
4181         * buffer.C (asciiParagraph): remove some commented code.
4182
4183         * CutAndPaste.C: remove current_view extern variable.
4184         (cutSelection): add BufferParams arg.
4185         (eraseSelection): add BufferParams arg.
4186         (pasteSelection): add Buffer const & arg
4187
4188 2003-06-07  John Levon  <levon@movementarian.org>
4189
4190         * buffer.C:
4191         * paragraph_funcs.C:
4192         * paragraph_pimpl.C:
4193         * text.C:
4194         * text2.C:
4195         * paragraph.h:
4196         * paragraph.C: allow InsetERT to freely space lines,
4197         and some consolidation of code
4198
4199 2003-06-06  José Matos  <jamatos@fep.up.pt>
4200
4201         * buffer.C (makeDocBookFile): fix bug #821
4202
4203 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4204
4205         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4206
4207 2003-06-04  Angus Leeming  <leeming@lyx.org>
4208
4209         * buffer.C: bump format to 224.
4210
4211 2003-06-05  André Pönitz  <poenitz@gmx.net>
4212
4213         * text2.C (redoParagraphs): remove two const_cast<>
4214
4215 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4216
4217         * ParagraphList.h: remove last remnants of NO_STD_LIST
4218
4219 2003-06-03  Angus Leeming  <leeming@lyx.org>
4220
4221         * factory.C (createInset): small change to the way InsetExternal's params
4222         are set.
4223
4224 2003-06-04  André Pönitz  <poenitz@gmx.net>
4225
4226         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4227
4228         * paragraph_pimpl.h:
4229         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4230
4231         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4232
4233         * undo_funcs.C: make some simple cases of undo work again
4234
4235 2003-06-03  John Levon  <levon@movementarian.org>
4236
4237         * ispell.C: HPUX doesn't have sys/select.h
4238         (from Albert Chin)
4239
4240 2003-06-03  John Levon  <levon@movementarian.org>
4241
4242         * CutAndPaste.C: update tabular and include inset
4243         buffer references
4244
4245         * buffer.h:
4246         * paragraph.h:
4247         * paragraph.C: remove owningBuffer(), don't pass Buffer
4248         to clone()
4249
4250         * factory.C: insetGraphicsParams changed
4251
4252 2003-06-02  John Levon  <levon@movementarian.org>
4253
4254         * LyXAction.C:
4255         * factory.C:
4256         * lfuns.h:
4257         * lyxfunc.C:
4258         * text3.C: remove insetparent
4259
4260 2003-06-02  John Levon  <levon@movementarian.org>
4261
4262         * buffer.h:
4263         * buffer.C: fix inset_iterator.end(), move out of line
4264         (bug 1149)
4265
4266 2003-06-01  John Levon  <levon@movementarian.org>
4267
4268         * text3.C: use a proper cut/paste when doing inset
4269         insert (from Jürgen Spitzmüller)
4270
4271 2003-06-01  John Levon  <levon@movementarian.org>
4272
4273         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4274
4275 2003-05-30  André Pönitz  <poenitz@gmx.net>
4276
4277         * rowpainter.C: unify second drawing phase
4278
4279 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * trans_mgr.C: remove one case of current_view
4282
4283         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4284
4285         * paragraph_funcs.h: remove paragraph.h include
4286
4287         * paragraph.h: delete NO_STD_LIST stuff
4288
4289         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4290
4291         * buffer.h: remove paragraph.h include
4292
4293         * ParagraphList.C: delete file
4294
4295         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4296
4297         * toc.C (getTocList): adjust
4298
4299         * paragraph_pimpl.C (validate): adjust
4300
4301         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4302
4303         * paragraph.C (Paragraph): adjust
4304         (getPositionOfInset): use const_iterator, adjust
4305         (bibitem): use const_iterator, adjust
4306         (setInsetOwner): adjust
4307
4308         * iterators.C (operator++): adjust
4309
4310         * InsetList.[Ch]: Replace selfmade iterator with standard
4311         vector::iterator also introduce const_iterator. Remove getPos,
4312         getInset and setInset from InsetTable. Adjust accordingly.
4313
4314         * BufferView.C (lockInset): adjust
4315         (ChangeInsets): adjust
4316
4317         * tabular.[Ch]: delete commented same_id functions
4318
4319 2003-05-28  John Levon  <levon@movementarian.org>
4320
4321         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4322
4323 2003-05-28  André Pönitz  <poenitz@gmx.net>
4324
4325         * metricsinfo.[Ch]: remove 'fullredraw' member
4326
4327 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4328
4329         * lyxtextclass.C (operator): remove caching.
4330
4331 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * text3.C: adjust
4334
4335         * text2.C (cursorBottom): adjust
4336         (setCounter): use ParagraphList::find, adjust
4337
4338         * text.C (workWidth): use ParagraphList::find, adjust
4339
4340         * lyxcursor.C (LyXCursor): adjust
4341
4342         * buffer.C (inset_iterator): adjust
4343
4344         * ParagraphList.h: make iterator(value_type) private, make
4345         ParagraphList a friend of iterator.
4346
4347         * ParagraphList.C (find): new function
4348
4349         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4350
4351 2003-05-27  André Pönitz  <poenitz@gmx.net>
4352
4353         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4354
4355 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4356
4357         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4358
4359 2003-05-26  John Levon  <levon@movementarian.org>
4360
4361         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4362
4363 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4364
4365         * remove same_id from function signatures, adjust.
4366
4367 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4370
4371         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4372
4373         * paragraph.C (Paragraph): get rid of same_ids parameter
4374
4375         * ParagraphList.C (insert): adjust
4376         (push_back): adjust
4377
4378 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * paragraph_funcs.C (breakParagraph): adjust
4381         (breakParagraphConservative): adjust
4382
4383         * buffer.C (readParagraph): adjust
4384
4385         * ParagraphList.C (insert): take a reference instead of a pointer
4386         (insert): adjust
4387
4388         * paragraph.[Ch] (id): new function
4389
4390         * bufferlist.C (newFile): adjust
4391
4392         * ParagraphList.C (ParagraphList): adjust
4393         (assign): adjust
4394         (push_back): take a reference instead of a pointer.
4395
4396         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4397
4398         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4399         instead.
4400
4401         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4402         set else use old code.
4403
4404         * ParagraphList.C: remove all NO_NEXT code and only compile this
4405         code of NO_STD_LIST is set.
4406
4407 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * BufferView_pimpl.C:
4410         * TextCache.C:
4411         * TextCache.h:
4412         * bufferlist.C:
4413         * errorlist.h:
4414         * format.C:
4415         * format.h:
4416         * graph.C:
4417         * lyxfunc.C:
4418         * lyxrc.C:
4419         * graphics/GraphicsConverter.C:
4420         * graphics/PreviewLoader.C: header adjustment
4421
4422 2003-05-23  Angus Leeming  <leeming@lyx.org>
4423
4424         * LaTeXFeatures.[Ch] (useBabel): new method.
4425         * bufferparams.C (writeLaTeX): use it.
4426
4427 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * ParagraphList.h (set): remove unused function.
4430
4431 2003-05-23  André Pönitz  <poenitz@gmx.net>
4432
4433         * BufferView.C:
4434         * BufferView_pimpl.C:
4435         * buffer.C:
4436         * buffer.h:
4437         * lyxfunc.C:
4438         * undo_funcs.C: setUndo reworked
4439
4440         * iterators.[Ch]: add access to topmost ParagraphList
4441
4442         * lyxtext.[Ch] (workWidth): add a const
4443
4444 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4445
4446         * texrow.[Ch] (increasePos): remove function
4447         * exporter.C (export): removed unused var and outdated comment
4448
4449 2003-05-23  Angus Leeming  <leeming@lyx.org>
4450
4451         * latexrunparams.h: rename fragile as moving_arg.
4452         * paragraph.C (simpleTeXOnePar): ditto.
4453         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4454
4455 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4458         (createUndo): ditto
4459         (textUndoOrRedo): comment out a currently unused var.
4460
4461         * paragraph.h (NO_NEXT): enable NO_NEXT
4462
4463         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4464
4465         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4466
4467         * exporter.C (Export): adjust for removeAutoInsets removal.
4468
4469         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4470
4471         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4472
4473         * BufferView.[Ch] (removeAutoInsets): delete function
4474
4475 2003-05-22  Angus Leeming  <leeming@lyx.org>
4476
4477         * latexrunparams.h: add a free_spacing variable.
4478
4479         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4480         to pass moving_arg, as the data is stored in runparams.fragile.
4481
4482         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4483         to Inset::latexOptional or to simpleTeXOnePar.
4484
4485         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4486         free_spacing arg to Inset::latexOptional.
4487
4488         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4489         free_spacing arg.
4490
4491 2003-05-22  Angus Leeming  <leeming@lyx.org>
4492
4493         * latexrunparams.h: add fragile and use_babel variables.
4494
4495         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4496         * buffer.C (makeLaTeXFile): store this returned value in
4497         runparams.use_babel, thus passing it to the inset::latex methods.
4498
4499         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4500         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4501
4502         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4503         longer has a fragile arg, as it is stored in runparams.fragile.
4504
4505         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4506         moving_arg parameter as the data is stored in runparams.fragile.
4507
4508         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4509         a fragile parameter as the data is stored in runparams.fragile.
4510
4511 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4514
4515 2003-05-22  Angus Leeming  <leeming@lyx.org>
4516
4517         * latexrunparams.h: add a 'bool nice' which defaults to false.
4518
4519         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4520         now encapsulated within runparams.
4521
4522         * bufferlist.C (updateIncludedTeXfiles):
4523         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4524
4525 2003-05-22  Angus Leeming  <leeming@lyx.org>
4526
4527         * latexrunparams.h: new file containing struct LatexRunParams.
4528         * Makefile.am: add new file.
4529
4530         * LaTeX.[Ch] (c-tor, run):
4531         * buffer.[Ch] (makeLaTeXFile):
4532         * bufferlist.[Ch] (updateIncludedTeXfiles):
4533         * converter.C (convert, scanLog):
4534         * converter.[Ch] (runLaTeX):
4535         * exporter.C (Export):
4536         * paragraph.[Ch] (simpleTeXOnePar):
4537         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4538         * paragraph_funcs.[Ch] (latexParagraphs):
4539         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4540         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4541         pass around a LatexRunParams parameter.
4542
4543 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * paragraph.[Ch]: remove unused constructor
4546
4547         * ParagraphList.C (erase): new function, taking two iterators
4548
4549 2003-05-22  André Pönitz  <poenitz@gmx.net>
4550
4551         * undo_funcs.C: remove duplicated code
4552
4553         * iterator.[Ch]: operator=
4554
4555 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * tabular.C (SetMultiColumn): ws changes
4558
4559         * rowpainter.C (paintFirst): get rid of a ->previous
4560
4561         * lyx_cb.C (getPossibleLabel): parlist simplification
4562
4563         * BufferView.C (ChangeInsets): simplify slightly.
4564
4565 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4566
4567         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4568         * lfuns.h: new LFUN_SPACE
4569         * lyxfunc.C: protected space has a new lfun
4570         * paragraph_funcs.C: read new space insets
4571         * text3.C:
4572         * factory.C: handle new space insets
4573
4574 2003-05-22  André Pönitz  <poenitz@gmx.net>
4575
4576         * BufferView.C:
4577         * BufferView_pimpl.C:
4578         * buffer.[Ch]:
4579         * lyxfunc.C:
4580         * undo_funcs.C: return a ParIterator from getParFromID.
4581
4582         * iterators.[Ch]: add two const's
4583
4584 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * toc.C (getTocList): adjust
4587
4588         * iterators.[Ch]: rework for parlist
4589
4590         * buffer.C (par_iterator_begin): adjust
4591         (par_iterator_end): adjust
4592
4593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4594
4595         * BufferView.C (removeAutoInsets): adjust
4596         (ChangeInsets): adjust
4597
4598 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * text.C (top_y): fix bug 1110
4601
4602 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * errorlist.[Ch]: added
4605         * buffer.C:
4606         * BufferView.[Ch]:
4607         * BufferView_pimpl.C:
4608         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4609         instead
4610
4611 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * Makefile.am: ensure that lyx is relinked upon changes to the
4614         various "convenience" libs.
4615
4616 2003-05-20  Angus Leeming  <leeming@lyx.org>
4617
4618         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4619         files are compiled in alphabetical order again.
4620
4621         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4622
4623 2003-05-19  Angus Leeming  <leeming@lyx.org>
4624
4625         * gettext.[Ch]: remove "char const * _(char const *)".
4626
4627 2003-05-19  André Pönitz  <poenitz@gmx.net>
4628
4629         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4630
4631         * Makefile.am:
4632         * BufferView.C:
4633         * DepTable.h:
4634         * LaTeXFeatures.C:
4635         * buffer.C:
4636         * lyxfont.C:
4637         * lyxlex.h:
4638         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4639
4640 2003-05-19  André Pönitz  <poenitz@gmx.net>
4641
4642         * buffer.C:
4643         * lyxlayout.[Ch]:
4644         * lyxtextclass.[Ch]:
4645         * paragraph.C:
4646         * paragraph_funcs.[Ch]:
4647         * text2.C:
4648         * text3.C: more insetenv work
4649
4650 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * ParagraphParameters.C (params2string): small bug fixed
4653
4654 2003-05-16  André Pönitz  <poenitz@gmx.net>
4655
4656         * debug.C:
4657         * bufferview_funcs.C: patch from Kornel Benko to prevent
4658           crash when _(...) is called twice in a statement
4659
4660 2003-05-16  André Pönitz  <poenitz@gmx.net>
4661
4662         * BufferView.C:
4663         * lyxfunc.C:
4664         * text.C:
4665         * text2.C:
4666         * text3.C:
4667         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4668
4669 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * lyx_main.C (init): remove spurious static_cast
4672
4673 2003-05-14  André Pönitz  <poenitz@gmx.net>
4674
4675         * BufferView.C: fix format string
4676
4677 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * BufferView.[Ch] (insertErrors): removed
4680         * BufferView.[Ch] (showErrorList): added
4681         * buffer.C (runChkTeX):
4682         * converter.C (scanLog): call showErrorList instead of inserterrors
4683
4684 2003-05-13  André Pönitz  <poenitz@gmx.net>
4685
4686         * BufferView_pimpl.C:
4687         * buffer.C:
4688         * bufferview_func.C:
4689         * MenuBackend.C:
4690         * lyxfunc.C:
4691         * lyxrc.C:
4692         * tex-accent.C:
4693         * text3.C:
4694         * toc.C:
4695         * tabular_funcs.h: tostr() from its own header
4696
4697         * ParagraphParameters.C:
4698         * ToolbarBackend.C:
4699         * bufferparams.C:
4700         * format.C:
4701         * lyxlex_pimpl.C:
4702         * text3.C: STRCONV()
4703
4704 2003-05-12  André Pönitz  <poenitz@gmx.net>
4705
4706         * BufferView.C:
4707         * BufferView_pimpl.C:
4708         * CutAndPaste.C:
4709         * LaTeX.C:
4710         * LaTeXFeatures.C:
4711         * ParagraphParameters.C:
4712         * buffer.C:
4713         * bufferlist.C:
4714         * bufferparams.C:
4715         * bufferview_funcs.C:
4716         * converter.C:
4717         * counters.C:
4718         * debug.C:
4719         * exporter.C:
4720         * format.C:
4721         * importer.C:
4722         * lyx_cb.C:
4723         * lyx_main.C:
4724         * lyxfont.C:
4725         * lyxfunc.C:
4726         * lyxvc.C:
4727         * paragraph.C:
4728         * paragraph_funcs.C:
4729         * tabular.C:
4730         * tabular_funcs.C:
4731         * text2.C:
4732         * text3.C:  boost::format -> bformat  all over the place
4733
4734
4735 2003-05-09  André Pönitz  <poenitz@gmx.net>
4736
4737         * LColor.[Ch]: Pimpl the #include <map> away
4738
4739 2003-05-09  John Levon  <levon@movementarian.org>
4740
4741         * bufferlist.C: never remove emergency saves
4742
4743 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * Makefile.am: better lib building
4746
4747 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4750         instead.
4751         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4752         (simpleTeXSpecialChars): adjust
4753         (simpleTeXSpecialChars): adjust
4754         * paragraph.C (simpleTeXOnePar): adjust
4755         * buffer.C (makeLaTeXFile): adjust
4756
4757         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4758
4759         * text2.C (changeDepth): parlist cleanup
4760         (getColumnNearX): ditto
4761
4762         * rowpainter.C (getLabelFont): parlist cleanup
4763
4764         * bufferlist.C (newFile): parlist cleanup
4765
4766         * CutAndPaste.C (eraseSelection): parlist cleanup
4767
4768         * BufferView_pimpl.C (trackChanges): parlist cleanup
4769         (dispatch): ditto
4770
4771         * BufferView.C (lockInset): parlist cleanup.
4772         (ChangeInsets): ditto
4773
4774 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * CutAndPaste.h: Update file header.
4777
4778         * CutAndPaste.C: Update file header.
4779         Store the parts cut out of the Document in a limited_stack.
4780         (copySelection): adjust
4781         (pasteSelection): new function, takes the index in the limited stack.
4782         (nrOfParagraphs): adjust
4783         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4784         simplify error inset insertion.
4785         (checkPastePossible): adjust
4786
4787 2003-05-06  John Levon  <levon@movementarian.org>
4788
4789         * text2.C: don't cast wrap inset to float
4790
4791 2003-05-05  André Pönitz  <poenitz@gmx.net>
4792
4793         * iterator.C:
4794         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4795
4796         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4797           few naked Paragraph *.
4798
4799 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4800
4801         * bufferparams.C: Output warning if a document with missing
4802         TeX document class is loaded
4803         * exporter.C: Disable TeX exports if the document class is missing
4804         * lyxtextclass.C:
4805         * lyxtextclass.h:
4806         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4807         isTeXClassAvailable()
4808
4809 2003-05-03  John Levon  <levon@movementarian.org>
4810
4811         * BufferView.h:
4812         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4813         explicit cursor show/hide
4814
4815         * BufferView_pimpl.h:
4816         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4817         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4818
4819         * lyxfunc.C: hide cursor before dispatching.
4820
4821         * lyx_cb.C:
4822         * lyxfind.C:
4823         * text.C:
4824         * text3.C: remove explicit cursor hides
4825
4826 2003-05-02  André Pönitz  <poenitz@gmx.net>
4827
4828         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4829
4830         * undo_funcs.C:
4831         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4832           linked lists
4833
4834         * text2.C: tiny whitespace
4835
4836 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * undo_funcs.C: almost only ws changes.
4839
4840         * ParagraphList.C (splice): just return if pl is empty.
4841
4842 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * ParagraphList.C (splice): new function.
4845
4846         * CutAndPaste.C (pasteSelection): use it
4847
4848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * CutAndPaste.C (pasteSelection): remove the last next and
4851         previous from this file.
4852
4853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * CutAndPaste.C (pasteSelection): more clean up, user proper
4856         ParagraphList functions for pasteing.
4857
4858         * ParagraphList.C (insert): new function, three arg insert
4859
4860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * ParagraphList.C (insert): new function, three arg insert
4863
4864         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4865         not on paragraphs.
4866
4867 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4870
4871 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4874
4875 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4878         (copySelection): clean up a bit.
4879         (pasteSelection): use make_pair
4880
4881         * ParagraphList.C (ParagraphList): implement copy constructor
4882         (operator=): implement, base on copy constructor.
4883         (assign): new func
4884
4885         * paragraph.C (erase): return a bool
4886
4887         * paragraph_pimpl.C (erasePos): remove function, move contents...
4888         (erase): ... here. Return a bool.
4889         (erase): call erase instead of erasePos.
4890
4891 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * ParagraphList.h: define PitPosPair
4894         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4895         ParagraphList, fix a bug on pasting multiple pars
4896         * text2.C: change interface to C&P
4897
4898 2003-04-30  André Pönitz  <poenitz@gmx.net>
4899
4900         * undo_func.C: revert part of yesterday's patch 2
4901
4902 2003-04-30  John Levon  <levon@movementarian.org>
4903
4904         * LColor.C: s/tabular/table/
4905
4906 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * text3.C (dispatch): do not convert iterator -> pointer
4909         * undo_funcs.C (setCursorParUndo): ditto
4910         * text_funcs.C (transposeChars): ditto
4911
4912         * text2.C (setLayout): ws changes only
4913
4914         * text.C (breakParagraph): do not convert iterator -> pointer
4915         (insertChar): ditto
4916         (acceptChange): ditto
4917         (rejectChange): ditto
4918         (changeCase): ditto
4919         (Delete): ditto
4920         (backspace): ditto
4921
4922         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4923         pointer
4924
4925 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * text3.C (gotoInset): YABG (yet another bad getChar)
4928
4929 2003-04-29  André Pönitz  <poenitz@gmx.net>
4930
4931         * paragraph.h: make operator= private unimplemented as long as
4932           it is unusable
4933
4934         * ParagraphList.C: whitespace
4935
4936         * paragraph.[Ch]:
4937         * paragraph_pimpl.[Ch]:
4938         * paragraph_funcs.C:
4939         * CutAndPaste.C:
4940         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4941
4942         * text2.C:
4943           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4944
4945 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4948         * paragraph.[Ch] (erase):
4949         * paragraph_pimpl.[Ch] (erase): change return type and value
4950         * text2.C (cutSelection): some rework
4951
4952 2003-04-28  John Levon  <levon@movementarian.org>
4953
4954         * bufferlist.C: changes for unsaved changes dialog
4955
4956 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * bufferlist.C (newFile): set language (messages_) for new
4959         documents also.
4960
4961         * buffer.C (readFile): ws changes only.
4962
4963 2003-04-28  André Pönitz  <poenitz@gmx.net>
4964
4965         * undo_funcs.C:
4966         * lyxfunc.C:
4967         * buffer.[Ch]:
4968         * BufferView_pimpl.C:
4969         * BufferView.C: getParFromID related ParagraphList::iterator changes
4970
4971 2003-04-28  André Pönitz  <poenitz@gmx.net>
4972
4973         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4974           Changes
4975
4976 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * messages.C: remove one more localedir class variable.
4979
4980 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * messages.C (getLocaleDir): singleton generation function
4983         (Pimpl): use it.
4984         (Messages): add a default constructor.
4985
4986         * main.C (main): do not setup localedir here, do not call
4987         gettext_init.
4988
4989         * gettext.C (_): use it.
4990         (gettext_init): delete funciton
4991
4992 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * gettext.C (getLyXMessages): new singleton generating function.
4995
4996         * buffer.C (updateDocLang): adjust
4997
4998         * Makefile.am (messages.o): add target
4999         (main.o): remove target
5000
5001 2003-04-27  John Levon  <levon@movementarian.org>
5002
5003         * bufferlist.C:
5004         * lyx_cb.C:
5005         * lyxfunc.C:
5006         * lyxvc.C: specify cancel button in Alert::prompt
5007
5008 2003-04-26  John Levon  <levon@movementarian.org>
5009
5010         * text3.C:
5011         * lyxfunc.C:
5012         * lfuns.h:
5013         * LyXAction.C: add LFUN_INSET_SETTINGS
5014
5015         * lyxfunc.C: don't enable tabular-feature when there's
5016         just any locking inset
5017
5018 2003-04-26  John Levon  <levon@movementarian.org>
5019
5020         * bufferlist.C: re-add Cancel to buffer close question
5021
5022         * lyxfunc.C: fix import UI a bit
5023
5024 2003-04-25  John Levon  <levon@movementarian.org>
5025
5026         * gettext.C: remove the broken asserts for now
5027
5028 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * messages.C: make case where setlocale cannot comply work better.
5031
5032         * buffer.C (updateDocLang): new function
5033         (changeLanguage): use it
5034         (readFile): use it
5035
5036         * text2.C (setCounter): use B_ a bit.
5037
5038         * lyxlayout.C (Read): be sure to trim the label strings.
5039
5040         * messages.C (Messages): fix typo in comment
5041
5042         * buffer.C (readFile): set message_ after file is loaded.
5043         (makeDocBookFile): remove double return
5044         (changeLanguage): reset message_ upon language change.
5045         (B_): new func, use this to get translated buffer strings.
5046
5047         * main.C: add myself and Jean Marc as authors.
5048
5049 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * messages.[hC]: pimplify Messages, and three different pimpls to be
5052         used in different circumstances.
5053
5054         * gettext.[Ch]: change for use with new message code.
5055
5056 2003-04-24 André Pönitz <poenitz@gmx.net>
5057
5058         * factory.C: support for eqref
5059
5060 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * messages.[Ch]: add missing char
5063
5064         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5065
5066         * messages.[Ch]: New files
5067
5068 2003-04-18  John Levon  <levon@movementarian.org>
5069
5070         * BufferView.h:
5071         * BufferView.C:
5072         * BufferView_pimpl.C:
5073         * lfuns.h:
5074         * LyXAction.C:
5075         * lyxtext.h:
5076         * text2.C: remove layout-copy/paste (bug 778)
5077
5078 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5081
5082 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5085         if they succeed. Act accordingly.
5086
5087 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * text2.C (setCharFont): adjust
5090         (setCounter): adjust
5091         (insertStringAsLines): adjust
5092
5093         * text.C (leftMargin): adjust
5094         (setHeightOfRow): adjust
5095
5096         * rowpainter.C (paintFirst): adjust
5097         (paintLast): adjust
5098
5099         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5100         (outerHook): ditto
5101         (isFirstInSequence): ditto
5102         (getEndLabel): ditto
5103         (outerFont): adjust
5104
5105         * paragraph.C (getParLanguage): comment out some hard stuff.
5106
5107         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5108         (sgmlError): ditto
5109         (simpleDocBookOnePar): ditto
5110         (makeDocBookFile): use ParagraphList::iterator
5111
5112         * CutAndPaste.C (pasteSelection): adjust
5113
5114 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * text2.C (getFont): adjust
5117         (getLayoutFont): adjust
5118         (getLabelFont): adjust
5119
5120         * paragraph_funcs.C (TeXOnePar): adjust
5121
5122         * buffer.C (simpleLinuxDocOnePar): adjust
5123         (simpleDocBookOnePar): adjust
5124
5125         * CutAndPaste.C (pasteSelection): adjust
5126
5127         * BufferView.C (getEncoding): adjust
5128
5129         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5130
5131 2003-04-16  John Levon  <levon@movementarian.org>
5132
5133         * lyxfind.C: use parlist stuff for search/changes
5134
5135 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5138
5139         * text2.C (deleteEmptyParagraphMechanism): adjust
5140
5141         * text2.[Ch] (ownerParagraph): delete func (both of them
5142
5143 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5146
5147 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * ParagraphList.C: prepare for NO_NEXT
5150
5151 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text2.C (getFont): adjust
5154         (getLayoutFont): adjust
5155         (getLabelFont): adjust
5156
5157         * paragraph.C (getFont): adjust
5158         (getLabelFont): adjust
5159         (getLayoutFont): adjust
5160
5161         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5162
5163 2003-04-15  John Levon  <levon@movementarian.org>
5164
5165         From Angus Leeming
5166
5167         * lyx_main.C: handle Include in .ui files
5168
5169 2003-04-15  John Levon  <levon@movementarian.org>
5170
5171         * MenuBackend.C: make the doc files length shorter
5172
5173         * ToolbarBackend.h:
5174         * ToolbarBackend.C: handle toolbar placement flags,
5175         Minibuffer
5176
5177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5180         adjust
5181
5182         * paragraph_funcs.C (TeXOnePar): adjust
5183
5184         * paragraph.C (getLabelFont): add outerfont arg, adjust
5185         (getLayoutFont): ditto
5186         (simpleTeXOnePar): adjust
5187
5188         * paragraph_pimpl.C (realizeFont): delete func
5189
5190 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5193         row argument, constify cur argument.
5194
5195 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * text2.C (getFont): adjust
5198         (getLayoutFont): adjust
5199         (getLabelFont): adjust
5200
5201         * paragraph_funcs.C (TeXOnePar): adjust
5202         (outerFont): new func...
5203         (realizeFont): ...moved out from here, changed this to facilitate
5204         transition
5205
5206         * paragraph.C (getFont): take outerfont as arg, adjust
5207         (simpleTeXOnePar): add outerfont arg, adjust
5208
5209         * buffer.C (simpleLinuxDocOnePar): adjust
5210         (simpleDocBookOnePar): adjust
5211
5212         * CutAndPaste.C (pasteSelection): adjust
5213
5214         * BufferView.C (getEncoding): adjust
5215
5216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text2.C (setCharFont): adjust
5219         (setCounter): adjust
5220
5221         * text.C (leftMargin): adjust
5222         (setHeightOfRow): adjust
5223
5224         * rowpainter.C (paintFirst): adjust
5225         (paintLast): adjust
5226
5227         * paragraph_pimpl.C (realizeFont): adjust
5228
5229         * paragraph.C (isFirstInSequence): move from here...
5230         * paragraph_funcs.C (isFirstInSequence): ...to here
5231
5232         * paragraph.C (outerHook): move from here...
5233         * paragraph_funcs.C (outerHook): ...to here
5234
5235         * paragraph.C (depthHook): move from here...
5236         * paragraph_funcs.C (depthHook): ...to here
5237
5238         * paragraph.C (getEndLabel): move from here...
5239         * paragraph_funcs.C (getEndLabel): ...to here
5240
5241         * text2.C (realizeFont): move from here...
5242         * paragraph_funcs.C (realizeFont): ...to here
5243
5244 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5247
5248 2003-04-14  Angus Leeming  <leeming@lyx.org>
5249
5250         * LColor.[Ch]: scrap LColor mathcursor.
5251
5252 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * lyxlex.[Ch] (text): delete function
5255         * trans.C (Load): adjust
5256         * paragraph_funcs.C (readParToken): adjust
5257
5258 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5261         vector<char> instead of a char[].
5262
5263         * lyxlex_pimpl.C (getString): adjust
5264         (next): adjust
5265         (lex): use getString
5266         (eatLine): adjust
5267         (nextToken): adjust
5268
5269         * lyxlex.C (text): use pimpl_->getString()
5270         (getBool): ditto
5271         (findToken): ditto
5272
5273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5276         (makeFontEntriesLayoutSpecific): temp var for par.size()
5277         (setLayout): temp var for ownerParagraphs().end()
5278         (fullRebreak): temp var for rows().end()
5279         (selectionAsString): temp var for boost::next(startpit), realize
5280         that the while really is a regular for loop.
5281         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5282         setCursor in one place.
5283         (setParagraph): temp vr for ownerParagraphs().end()
5284         (updateCounters): make the while loop a for loop
5285         (cutSelection): temp var for ownerParagraphs().end()
5286         (updateInset): make the do {} while() a regular for loop
5287         (getCursorX): use temp vars
5288         (setCurrentFont): use temp vars
5289         (getColumnNearX): use temp vars
5290
5291 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * text.C (transformChar): use temp var for getChar
5294         (computeBidiTables): use temp var for row->par()
5295         (fill): move temp vars for row->par() and pit->layout() earlier in
5296         the function.
5297         (labelFill): use temp var for row->par()
5298         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5299         asc and desc, realize that pit never changes and that firstpit is
5300         just a duplicate and not needed. Exchange rit->par() with pit in a
5301         lot of places.
5302         (breakAgain): use a temp var for boost::next(rit)
5303         (breakAgainOneRow): ditto
5304         (breakParagraph): use a temp var for rows().begin()
5305         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5306         (cursorRightOneWord): use temp var for cursor.par() and
5307         cursor.pos(), remove usage of tmpcursor.
5308         (cursorLeftOneWord): use temp var for cursor.par() and
5309         cursor.pos() only set cur at end of function.
5310
5311 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * text.C, text2.C: exchange all usage of Paragraph::next with
5314         boost::next(ParagraphList::iterator)
5315
5316         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5317
5318         * text2.C (cursorTop): simplify implementation
5319         (cursorBottom): ditto
5320         (setParagraph): use ParagraphList::iterator
5321         (setCurrentFont): adjust
5322         (getColumnNearX): adjust
5323         (cursorRight): adjust
5324         (cursorLeft): remove usage of Paragraph::previous
5325         (cursorUpParagraph): ditto
5326         (deleteEmptyParagraphMechanism): slight cleanup
5327
5328         * text.C (isBoundary): take a Paragraph const & instead of a
5329         pointer as arg.
5330         (addressBreakPoint): ditto
5331         (leftMargin): remove usage of Paragraph::previous.
5332         (setHeightOfRow): ditto
5333         (cursorLeftOneWord): ditto
5334         (selectNextWordToSpellcheck): ditto
5335         (Delete): ditto
5336         (backspace): ditto
5337         (breakParagraph): remove one usage of Paragraph::next
5338         (redoParagraph): ditto
5339         (acceptChange): ditto
5340         (insertChar): adjust
5341         (rowBreakPoint): adjust
5342
5343         * bufferview_funcs.C (toggleAndShow): adjust
5344
5345 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5348         methods to access it.
5349         * lyxtext.h:
5350         * text.C: Added updateRowPositions to compute all row positions.
5351         Make top_y and getRowNearY() to use the cached y position
5352
5353 2003-04-11  John Levon  <levon@movementarian.org>
5354
5355         * text.C (rowBreakPoint): reintroduce the labelEnd
5356         checks, code copied from the row fill stuff. Deep voodoo.
5357
5358         * text.C (fill): add a comment and debugging for the
5359         next poor soul.
5360
5361 2003-04-11  John Levon  <levon@movementarian.org>
5362
5363         * text.C: make sure fullrow insets get wrapped to the next line,
5364         even when they're in a manual label
5365
5366 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * text2.C (insertParagraph): make it take ParagraphList::iterator
5369         as arg.
5370         (setLayout): make it return ParagraphList::iterator
5371         (redoParagraphs): ditto
5372         (setCounter): ditto
5373         (checkParagraph): ditto
5374
5375         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5376
5377         * text2.C: adjust several funcs.
5378         (realizeFont): take a ParagraphList::iterator as arg.
5379         (getLayoutFont): ditto
5380         (getLabelFont): ditto
5381         (setCharFont): ditto
5382
5383         * text.C: adjust several funcs.
5384
5385 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5386
5387         * text.C (selectNextWordToSpellcheck): don't accidentally
5388         skip insets
5389
5390 2003-04-10  John Levon  <levon@movementarian.org>
5391
5392         * ToolbarBackend.C (getIcon): special handling for
5393         LFUN_MATH_DELIM
5394
5395 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * text2.C (cursorRight): a getChar assert fixed
5398
5399 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * text2.C (getFont): change to take a ParagraphList::iterator
5402         instead of Paragraph*
5403         Adjust several functions.
5404
5405         * text.C (transformChar): change to take a ParagraphList::iterator
5406         instead of Paragraph*
5407         (singleWidth): ditto
5408         Adjust several functions.
5409
5410         * rowpainter.C: adjust several functions
5411         * rowpainter.h:store a ParagraphList::iterator and not a
5412         Paragraph&.
5413
5414
5415 2003-04-09  John Levon  <levon@movementarian.org>
5416
5417         * lyxfunc.C:
5418         * lfuns.h:
5419         * LyXAction.h:
5420         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5421         and the "help" bits as well
5422
5423 2003-04-09  John Levon  <levon@movementarian.org>
5424
5425         * ToolbarBackend.h:
5426         * ToolbarBackend.C: allow multiple toolbars
5427
5428 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * undo_funcs.C (setCursorParUndo): adjust
5431
5432         * text_funcs.C (transposeChars): adjust
5433
5434         * text3.C (gotoNextInset): adjust
5435         (dispatch): adjust
5436
5437         * text2.C (setLayout): adjust
5438         (changeDepth): adjust
5439         (setFont): adjust
5440         (redoParagraphs): adjust
5441         (selectionAsString): adjust
5442         (setParagraph): adjust
5443         (insertInset): adjust
5444         (cutSelection): adjust
5445         (copySelection): adjust
5446         (pasteSelection): adjust
5447         (insertStringAsLines): adjust
5448         (updateInset): adjust
5449         (setCursor): change to take a ParagraphList::iterator parameter
5450         (setCursorIntern): change to take a ParagraphList::iterator parameter
5451         (setCurrentFont): adjust
5452         (cursorLeft): adjust
5453         (cursorRight): adjust
5454         (deleteEmptyParagraphMechanism): adjust
5455
5456         * text.C (breakParagraph): adjust
5457         (insertChar): adjust
5458         (acceptChange): adjust
5459         (rejectChange): adjust
5460         (selectNextWordToSpellcheck): adjust
5461         (changeCase): adjust
5462         (Delete): adjust
5463         (backspace): adjust
5464
5465         * lyxfind.C (SearchForward): adjust
5466         (SearchBackward): adjust
5467         (nextChange): adjust
5468
5469         * lyxcursor.C (par): adjust
5470
5471         * lyxcursor.h: store a ParagraphList::iterator instead of a
5472         Paragraph*
5473
5474         * lyx_cb.C (getPossibleLabel): adjust
5475
5476         * bufferview_funcs.C (toggleAndShow): adjust
5477
5478         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5479         (dispatch): adjust
5480
5481         * BufferView.C (removeAutoInsets): adjust
5482         (lockedInsetStoreUndo): adjust
5483
5484 2003-04-09  John Levon  <levon@movementarian.org>
5485
5486         * ToolbarBackend.C: try icon without argument
5487         if with argument fails
5488
5489 2003-04-08  John Levon  <levon@movementarian.org>
5490
5491         * ToolbarBackend.h:
5492         * ToolbarBackend.C: add getIcon(), handle tooltip,
5493         and change from "Icon" to "Item".
5494
5495 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * BufferView.C (lockInset): another bad getchar crunched
5498
5499 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5502         again)
5503
5504 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * lyxfind.C (searchForward, searchBackwards): bug 782
5507
5508 2003-04-07  John Levon  <levon@movementarian.org>
5509
5510         * paragraph.C: remove dead comment
5511
5512         * text.C: remove troublesome depth-fiddling code
5513         in leftMargin() and rightMargin() (bug 1017)
5514
5515         * text.C: fix breaking of rows in nested lists
5516         (bug 1004)
5517
5518         * text2.C (updateCounters): fix up depth values
5519         (bug 1013)
5520
5521 2003-04-07  John Levon  <levon@movementarian.org>
5522
5523         * BufferView_pimpl.C: clear message when doc finishes resizing,
5524         and after a mouse event
5525
5526         * lyxfunc.C: clear message after exiting inset
5527
5528 2003-04-07  John Levon  <levon@movementarian.org>
5529
5530         * bufferview_funcs.C: show math status not outside
5531         status in the statusbar
5532
5533 2003-04-07  John Levon  <levon@movementarian.org>
5534
5535         * lyxfunc.C: note status changed after a depth change
5536
5537 2003-04-04  Angus Leeming  <leeming@lyx.org>
5538
5539         * LaTeX.h: move AuxInfo operator==, != out of line.
5540         Remove LaTeX virtual destructor; nothing derives from it.
5541         Move operator()() out of public area and rename it startscript().
5542         Change protected for private.
5543
5544 2003-04-04  Angus Leeming  <leeming@lyx.org>
5545
5546         * lyxfunc.C:
5547         * text2.C: remove unneeded #includes.
5548
5549 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * text2.C (dEPM): fix the heigth of the next row
5552
5553 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * text.C: squashed an invalid getChar requester + some ws changes
5556
5557 2003-04-03  John Levon  <levon@movementarian.org>
5558
5559         * bufferview_funcs.h:
5560         * bufferview_funcs.C:
5561         * lyxfunc.C:
5562         * lyxtext.h:
5563         * text2.C: make getStatus work for the env depth lfuns
5564
5565 2003-04-03  John Levon  <levon@movementarian.org>
5566
5567         * bufferview_funcs.h:
5568         * bufferview_funcs.C:
5569         * lyxfunc.C:
5570         * lyxtext.h:
5571         * text2.C: parlistize decDepth(), by merging it with incDepth()
5572
5573 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * lyxrow.h: store a ParagraphList::iterator instead of a
5576         Paragraph* and adjust other class functions to suit.
5577
5578         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5579         above.
5580
5581 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5582
5583         * text2.C (setCursor): do not anchor to cursor row for the time being
5584
5585 2003-04-02  John Levon  <levon@movementarian.org>
5586
5587         * LyXAction.C:
5588         * lfuns.h:
5589         * lyx_main.C:
5590         * lyxtext.h:
5591         * text.C:
5592         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5593
5594 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * paragraph.h: make ParagraphList and ParagraphList::iterator
5597         friends of Paragraph.
5598
5599         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5600
5601         * ParagraphList.C: Use the private next_ and previous_ from
5602         Paragraph.
5603
5604 2003-04-01  John Levon  <levon@movementarian.org>
5605
5606         * ToolbarBackend.h:
5607         * ToolbarBackend.C:
5608         * Makefile.am: rename, remove defaults gunk
5609
5610         * MenuBackend.h:
5611         * MenuBackend.C: remove defaults gunk
5612
5613         * Languages.h:
5614         * Languages.C: remove defaults gunk
5615
5616         * lyx_main.h:
5617         * lyx_main.C: error out if files couldn't be found.
5618
5619 2003-04-02  John Levon  <levon@movementarian.org>
5620
5621         * text2.C: make incDepth() use parlist
5622
5623 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * undo_funcs.C (firstUndoParagraph): adjust
5626
5627         * text3.C (gotoInset): adjust
5628         (dispatch): adjust, and rewrite loop.
5629
5630         * text2.C (init): adjust, and rewrite loop.
5631         (redoParagraphs): adjust
5632         (updateInset): adjust, and rewrite loop.
5633         (deleteEmptyParagraphMechanism): adjust
5634
5635         * tabular.C (LyXTabular): adjust
5636         (SetMultiColumn): adjust
5637         (TeXRow): adjust
5638
5639         * lyxtext.[Ch] (ownerParagraph): delete function
5640         (ownerParagraphs): new function returns a ParagraphList.
5641
5642         * BufferView.C (removeAutoInsets): adjust
5643         (insertErrors): adjust
5644         (setCursorFromRow): adjust
5645
5646 2003-04-01  Angus Leeming  <leeming@lyx.org>
5647
5648         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5649         in the frontends.
5650
5651 2003-04-02  John Levon  <levon@movementarian.org>
5652
5653         * lyxtext.h:
5654         * text.C:
5655         * Makefile.am:
5656         * text_funcs.h:
5657         * text_funcs.C: make transposeChars a free function
5658
5659         * lyxrow_funcs.C: remove wrong comment
5660
5661 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * lyxtext.h: adjust
5664         * rowpainter.C: adjust
5665         * text.C: adjust
5666         * text2.C: adjust
5667         * text3.C: adjust
5668
5669         * lyxrow_funcs. [Ch]: new files
5670
5671         * lyxrow.[Ch]: remove next and previous pointers
5672         (next,previous): remove accessor functions
5673         (isParEnd): move to lyxrow_funcs
5674         (lastPos): move to lyxrow_funcs
5675         (nextRowIsAllInset): move to lyxrow_funcs
5676         (lastPrintablePos): move to lyxrow_funcs
5677         (numberOfSeparators): move to lyxrow_funcs
5678         (numberOfHfills): move to lyxrow_funcs
5679         (numberOfLabelHfills): move to lyxrow_funcs
5680         (hfillExpansion): move to lyxrow_funcs
5681
5682         * lyxfunc.C: adjust
5683
5684         * bufferview_funcs.C (toggleAndShow): adjust
5685
5686         * RowList.h: Remove class RowList from file leave just a
5687         std::list<Row>.
5688
5689         * RowList.C: delete file
5690
5691         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5692         and lyxrow_funcs.h
5693
5694 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * text3.C (cursorPrevious): adjust
5697         (cursorNext): adjust
5698         (dispatch): adjust
5699
5700         * text2.C (redoHeightOfParagraph): adjust
5701         (redoDrawingOfParagraph): adjust
5702         (setCursor): adjust
5703
5704         * text.C (breakParagraph): adjust
5705         (insertChar): adjust
5706         (backspace): adjust
5707
5708         * rowpainter.C (RowPainter): adjust
5709         (leftMargin): simplify and adjust
5710         (most rowpainter functions): adjust.
5711
5712         * rowpainter.h: store the row as RowList::iterator not as Row*
5713
5714         * lyxcursor.C (row): taka RowList::iterator as arg
5715         (irow): ditto
5716
5717         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5718         of Row*.
5719
5720 2003-04-01  Angus Leeming  <leeming@lyx.org>
5721
5722         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5723         stuff like bool Bool.
5724
5725 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5726
5727         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5728         rewrite a loop
5729
5730 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5733         RowList::iterator.
5734
5735         * lyxtext.h (rows): drop one version and leve a const variant that
5736         returns a RowList::iterator.
5737
5738 2003-03-31  Angus Leeming  <leeming@lyx.org>
5739
5740         * text.C (fill): ensure that the signature is the same as that in the
5741         header file.
5742
5743 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * text2.C (redoParagraphs): adjust
5746         (updateCounters): adjust
5747         (checkParagraph): adjust
5748         (getColumnNearX): adjust and reformat a bit.
5749
5750         * text.C (top_y): adjust
5751         (workWidth): adjust
5752         (leftMargin): adjust
5753         (prepareToPrint): adjust
5754         (getRow): adjust
5755         (getRowNearY): adjust
5756
5757         * lyxtext.h: make rowlist_ mutable.
5758
5759         * RowList.h: add const_iterator
5760         * RowList.C: adjust for RowList::const_iterator.
5761
5762         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5763         adjust.
5764
5765 2003-03-31  John Levon  <levon@movementarian.org>
5766
5767         * lyxrc.h:
5768         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5769
5770         * lyx_main.C: set default fonts from using lyx_gui funcs
5771
5772         * exporter.C: pdf_mode moved from lyxrc
5773
5774         * lyx_cb.C:
5775         * lyxfunc.C: changes from above
5776
5777 2003-03-31  John Levon  <levon@movementarian.org>
5778
5779         * lyx_main.C: fix to the last fix
5780
5781 2003-03-31  John Levon  <levon@movementarian.org>
5782
5783         * bufferlist.C: "Load original" -> "Load Original"
5784
5785         * converter.C:
5786         * exporter.C:
5787         * importer.C:
5788         * lyx_main.C:
5789         * format.C: more Alert cleanups
5790
5791 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * text2.C (removeParagraph): make it take a RowList::iterator as
5794         arg, adjust.
5795         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5796         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5797
5798         * text.C (anchor_row): make it take a RowList::iterator as arg,
5799         adjust.
5800         (computeBidiTables): make it take a const reference to Row instead
5801         of Row pointer, adjust.
5802         (leftMargin): make it take a RowList::iterator as arg, adjust.
5803         (rowBreakPoint): adjust
5804         (breakAgainOneRow): make it take a RowList::iterator as arg,
5805         adjust.
5806         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5807
5808         * bufferview_funcs.C (toggleAndShow): adjust
5809
5810 2003-03-30  John Levon  <levon@movementarian.org>
5811
5812         * Makefile.am:
5813         * BoostFormat.h:
5814         * boost-inst.C: moved to support
5815
5816         * several files: changes as a result
5817
5818 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * text2.C (LyXText): adjust.
5821         (init): adjust
5822         (removeRow): make it take a RowList::iterator as arg, adjust.
5823         (fullRebreak): adjust
5824         (deleteEmptyParagraphMechanism): adjust
5825         (clearPaint): adjust
5826         (postPaint): adjust
5827
5828         * text.C (top_y): adjust
5829         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5830         (breakAgain): make it take a RowList::iterator as arg, adjust.
5831         (breakParagraph): adjust
5832         (insertChar): adjust
5833         (backspace): adjust
5834
5835         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5836         need_break_row, and refresh_row.
5837
5838         * text3.C (dispatch): adjust
5839
5840         * text2.C (checkParagraph): adjust
5841         (setCursor): adjust
5842         (setCursorFromCoordinates): adjust
5843
5844         * text.C (top_y): adjust
5845         (workWidth): adjust
5846         (getRow): make it return a RowList::iterator, adjust
5847         (getRowNearY): make it return a RowList::iterator, adjust
5848
5849         * text2.C (init): adjust
5850         (insertRow): remove function
5851         (insertParagraph): adjust
5852         (redoParagraphs): adjust
5853         (fullRebreak): adjust
5854         (updateCounters): adjust
5855
5856         * text.C (top_y): rewrite to use RowList iterators.
5857         (top_y): adjust
5858         (setHeightOfRow): rewrite to sue RowList iterators.
5859         (appendParagraph): adjust
5860         (breakAgain): adjust
5861         (breakAgainOneRow): adjust
5862         (breakParagraph): adjust
5863         (getRow): adjust
5864         (getRowNearY): adjust, and remove commented code.
5865
5866         * lyxtext.h (firstRow): delete function
5867         (lastRow): delete function
5868         (rows): new function (const and non-const versions.)
5869         (insertRow): delete function
5870
5871         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5872
5873 2003-03-29  John Levon  <levon@movementarian.org>
5874
5875         * BufferView_pimpl.C: always update scrollbar top
5876         because pasting text when we're anchored could mean we
5877         miss an update altogether
5878
5879 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * text2.C (init): use rowlist_.end() and not 0.
5882         (insertRow): change to take a RowList::iterator as arg, adjust
5883         for this.
5884         (insertParagraph): change to take a RowList::iterator as arg,
5885         adjust for this.
5886         (redoParagraphs): remove some debug msgs.
5887
5888         * text.C (appendParagraph): change to take a RowList::iterator
5889         arg, adjust for this.
5890         (breakAgain): add an assert
5891         (breakAgainOneRow): ditto
5892
5893 2003-03-29  John Levon  <levon@movementarian.org>
5894
5895         * text2.C: do not clear selection after inc/decDepth
5896         (bug 550)
5897
5898 2003-03-29  John Levon  <levon@movementarian.org>
5899
5900         * BufferView.C:
5901         * buffer.C: fix broken strerrors according to Lars
5902
5903 2003-03-29  John Levon  <levon@movementarian.org>
5904
5905         * converters.C: more Alert cleanups
5906
5907 2003-03-29  John Levon  <levon@movementarian.org>
5908
5909         * bufferview_funcs.C: remove pointless Alert
5910
5911         * buffer.C: fix confusing error message when
5912         a template is chmoded 000
5913
5914 2003-03-29  John Levon  <levon@movementarian.org>
5915
5916         * BufferView.C:
5917         * BufferView.h:
5918         * BufferView_pimpl.C: Alert fixes
5919
5920         * Makefile.am:
5921         * tabular.C:
5922         * tabular-old.C: remove unused table compat reading
5923
5924 2003-03-29  John Levon  <levon@movementarian.org>
5925
5926         * BufferView.C:
5927         * buffer.C:
5928         * lyx_cb.h:
5929         * lyx_cb.C: more Alert cleanups
5930
5931         * lyxfunc.C: don't allow chktex if not latex document
5932
5933 2003-03-29  John Levon  <levon@movementarian.org>
5934
5935         * lyx_cb.C:
5936         * BufferView.C:
5937         * buffer.C: warnings pushed down from support/,
5938         kill err_alert
5939
5940 2003-03-29  John Levon  <levon@movementarian.org>
5941
5942         * lyxfunc.C: safety check for C-r (revert)
5943
5944 2003-03-29  John Levon  <levon@movementarian.org>
5945
5946         * bufferlist.h:
5947         * bufferlist.C: several UI fixes using Alert::prompt.
5948         Fix the pointless looping quit code. Fix stupid revert
5949         behaviour (bug 938)
5950
5951         * lyxvc.h:
5952         * lyxvc.C:
5953         * lyx_cb.C: use Alert::prompt
5954
5955         * lyx_main.C: remove a silly question
5956
5957         * lyxfunc.C: remove a couple of silly questions,
5958         use Alert::prompt
5959
5960 2003-03-28  John Levon  <levon@movementarian.org>
5961
5962         * text2.C: fix bug 974 (End on empty par)
5963
5964 2003-03-28  John Levon  <levon@movementarian.org>
5965
5966         * BufferView_pimpl.C:
5967         * LyXAction.C:
5968         * lfuns.h: remove do-nothing math greek lfuns
5969
5970 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * lyxgluelength.h (isValidGlueLength): add default arg on
5973         parameter 2. Remove default arg from friend in class.
5974
5975         * lyxlength.h (isValidLength): add default arg on parameter 2.
5976         Remove default arg from friend in class.
5977
5978         * text2.C (LyXText): adjust, initialize refresh_row.
5979         (init): adjust
5980         (removeRow): adjust
5981         (insertRow): adjust
5982         (insertParagraph): adjst
5983         (redoParagraphs): adjust
5984         (fullRebreak): adjust
5985         (updateCounters): adjust
5986         (deleteEmptyParagraphMechanism): first attempt at fixing a
5987         crashing bug.
5988
5989         * text.C (top_y): adjust
5990         (setHeightOfRow): adjust
5991         (getRow): adjust
5992         (getRowNearY): adjust
5993
5994         * lyxtext.h: include RowList.h
5995         (~LyXText): not needed anymore, deleted.
5996         (firstRow): modify for RowList
5997         (lastRow): new function
5998         Delete firstrow and lastrow class variables, add a Rowlist
5999         rowlist_ class variable.
6000
6001         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6002         paragraph is empty.
6003
6004         * RowList.C (insert): fix case where it == begin().
6005
6006 2003-03-26  Angus Leeming  <leeming@lyx.org>
6007
6008         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6009         the thesaurus dialog.
6010
6011 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6014
6015         * RowList.[Ch]: new files
6016
6017         * ParagraphList.C (erase): handle the case where it == begin
6018         correctly.
6019
6020 2003-03-25  John Levon  <levon@movementarian.org>
6021
6022         * Makefile.am:
6023         * aspell_local.h:
6024         * aspell.C: add new aspell support
6025
6026         * lyxrc.h:
6027         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6028         have it accessible.
6029
6030 2003-03-25  Angus Leeming  <leeming@lyx.org>
6031
6032         * lfuns.h:
6033         * LyXAction.C (init): new LFUN_INSET_INSERT.
6034
6035         * BufferView_pimpl.C (dispatch): split out part of the
6036         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6037
6038         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6039         LFUN_INSET_APPLY.
6040
6041 2003-03-25  Angus Leeming  <leeming@lyx.org>
6042
6043         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6044
6045 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6046
6047         * text2.C:
6048         * text3.C: remove useless row->height(0)
6049
6050 2003-03-25  John Levon  <levon@movementarian.org>
6051
6052         * lyxtext.h:
6053         * text2.C:
6054         * text3.C: rename the refreshing stuff to better names
6055
6056 2003-03-24  John Levon  <levon@movementarian.org>
6057
6058         * BufferView_pimpl.h:
6059         * BufferView_pimpl.C: update layout choice on a mouse
6060         press/release
6061
6062 2003-03-23  John Levon  <levon@movementarian.org>
6063
6064         * Makefile.am: fix commandtags.h reference
6065
6066 2003-03-22  John Levon  <levon@movementarian.org>
6067
6068         * BufferView_pimpl.C:
6069         * lyxtext.h:
6070         * rowpainter.C:
6071         * rowpainter.h:
6072         * text.C:
6073         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6074
6075 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6076
6077         * lyxtext.h:
6078         * text.C: take the rtl methods out of line
6079
6080 2003-03-21 André Pönitz <poenitz@gmx.net>
6081
6082         * metricsinfo.[Ch]: new files containing structures to be passed around
6083         during the two-phase-drawing...
6084
6085 2003-03-21 André Pönitz <poenitz@gmx.net>
6086
6087         * lyxtextclass.C: read 'environment' tag.
6088
6089 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6090
6091         * text2.C (removeRow): fix bug 964
6092
6093 2003-03-20  John Levon  <levon@movementarian.org>
6094
6095         * rowpainter.C:
6096         * text.C:
6097         * text2.C: paint cleanups. Inset::update() dropped font
6098         parameter
6099
6100 2003-03-19  John Levon  <levon@movementarian.org>
6101
6102         * lyxfunc.C: only fitcursor/markDirty if available()
6103
6104 2003-03-19  John Levon  <levon@movementarian.org>
6105
6106         * commandtags.h: rename to ...
6107
6108         * lfuns.h: ... this, and renumber / cleanup
6109
6110 2003-03-19  John Levon  <levon@movementarian.org>
6111
6112         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6113         fit the cursor after an lfun
6114
6115         * BufferView.h:
6116         * BufferView.C:
6117         * BufferView_pimpl.h:
6118         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6119
6120         * LyXAction.C: layout-character should have ReadOnly
6121
6122         * ParagraphParameters.C:
6123         * buffer.C:
6124         * bufferview_funcs.C:
6125         * lyx_cb.C:
6126         * lyxfind.C:
6127         * lyxtext.h:
6128         * text.C:
6129         * text2.C:
6130         * text3.C:
6131         * undo_funcs.C: changes from above
6132
6133 2003-03-18  John Levon  <levon@movementarian.org>
6134
6135         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6136         remove it from update()
6137
6138         * lyxfunc.C: update layout choice after an lfun
6139
6140         * text3.C: remove extra updateLayoutChoice()s
6141
6142 2003-03-18  John Levon  <levon@movementarian.org>
6143
6144         * text.C: top_y change means full repaint, fix
6145         a drawing bug with cursor movement
6146
6147 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6148
6149         * lyxtext.h:
6150         * text.C:
6151         * text2.C: anchor row on setCursor
6152
6153 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * lyxtext.h: remove almost all mutable keywords
6156         * text.C:
6157         * text2.C:
6158         * text3.C: remove const keywords accordingly
6159
6160 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6163         anon namespace
6164         (TeXEnvironment): ditto
6165         (TeXOnePar): ditto
6166
6167 2003-03-17  John Levon  <levon@movementarian.org>
6168
6169         * text.C (rowBreakPoint): remove attempt to fix displayed
6170         math insets inside a manual label
6171
6172 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * lyxtext.h: remove BufferView* as first arg from almost all class
6175         functions.
6176         * other files: adjust.
6177
6178 2003-03-17  John Levon  <levon@movementarian.org>
6179
6180         * lyxtext.h:
6181         * undo_funcs.C:
6182         * text2.C: more paint cleanups
6183
6184         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6185
6186         * rowpainter.h:
6187         * rowpainter.C: remove "smart" background painting code
6188
6189 2003-03-16  John Levon  <levon@movementarian.org>
6190
6191         * lyxtext.h:
6192         * text.C:
6193         * text2.C:
6194         * text3.C: add helper functions for setting refresh_row/y
6195
6196 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6197
6198         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6199         newline inset which *can* get inserted in the pass_thru layouts.
6200         This is primarily for literate documents.
6201
6202 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6203
6204         * buffer.C: increment LYX_FORMAT to 223
6205
6206 2003-03-14 André Pönitz <poenitz@gmx.net>
6207
6208         * textclass.h: prepare for environment handling, ws changes
6209         * lyxlayout.C: read latexheader and latexfooter tags
6210
6211 2003-03-14  John Levon  <levon@movementarian.org>
6212
6213         * text2.C: rewrite ::status() a bit
6214
6215 2003-03-13  John Levon  <levon@movementarian.org>
6216
6217         * lyxtext.h: add some docs
6218
6219 2003-03-13  John Levon  <levon@movementarian.org>
6220
6221         * lyxtext.h:
6222         * text.C:
6223         * text2.C:
6224         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6225
6226 2003-03-13  John Levon  <levon@movementarian.org>
6227
6228         * text3.C: fix appendix redrawing
6229
6230 2003-03-13  John Levon  <levon@movementarian.org>
6231
6232         * text.C (setHeightOfRow):
6233         * rowpainter.h:
6234         * rowpainter.C: make appendix mark have the text
6235           "Appendix" so the user knows what it is
6236
6237         * LColor.h:
6238         * LColor.C: s/appendixline/appendix/ from above
6239
6240 2003-03-13  John Levon  <levon@movementarian.org>
6241
6242         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6243
6244         * text.C: fix a getChar(pos) bug properly
6245
6246 2003-03-13  Angus Leeming  <leeming@lyx.org>
6247
6248         * commandtags.h:
6249         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6250         Probably only temporary. Let's see how things pan out.
6251
6252         * BufferView.C (unlockInset):
6253         * BufferView_pimpl.C (fitCursor):
6254         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6255
6256         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6257         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6258
6259         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6260         new functions that convert ParagraphParameters to and from a string.
6261
6262         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6263         BufferView::Pimpl's dispatch.
6264         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6265
6266 2003-03-13 André Pönitz <poenitz@gmx.net>
6267
6268         * lyxfunc.C:
6269         * text3.C:
6270         * factory.C: make it aware of InsetEnv
6271
6272 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6273
6274         * text2.C (setCursor): never ask for one past last
6275         (setCursor): add some debugging messages.
6276
6277         * text.C (singleWidth): never ask for one past last
6278         (singleWidth): ditto
6279         (leftMargin): ditto
6280         (rightMargin): ditto
6281         (rowBreakPoint): ditto
6282         (setHeightOfRow): ditto
6283         (prepareToPrint): ditto
6284
6285         * rowpainter.C (paintBackground): never ask for one past last
6286         (paintText): never ask for one past last
6287
6288         * paragraph_pimpl.C (getChar): make the assert stricter, never
6289         allow the one past last pos to be taken
6290
6291         * paragraph.C (getChar): ws changes only
6292
6293         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6294         (numberOfSeparators): ditto
6295         (numberOfHfills): ditto
6296
6297 2003-03-12  John Levon  <levon@movementarian.org>
6298
6299         * author.h:
6300         * author.C:
6301         * bufferparams.h:
6302         * bufferparams.C:
6303         * paragraph_funcs.C: fix per-buffer authorlists
6304
6305 2003-03-12  John Levon  <levon@movementarian.org>
6306
6307         * text.C: fix newline in right address
6308
6309 2003-03-12  Angus Leeming  <leeming@lyx.org>
6310
6311         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6312         duplicate those in LyXFunc::dispatch.
6313
6314         * commandtags.h:
6315         * LyXAction.C:
6316         * ToolbarDefaults.C:
6317         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6318         Add LFUN_FONTFREE_UPDATE.
6319
6320         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6321         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6322
6323         * bufferview_func.[Ch]: several new functions to facilliate
6324         transfer of data to and from the character dialog.
6325
6326 2003-03-12  John Levon  <levon@movementarian.org>
6327
6328         * buffer.C:
6329         * paragraph.h:
6330         * paragraph.C:
6331         * paragraph_funcs.C:
6332         * paragraph_pimpl.C:
6333         * sgml.C:
6334         * tabular.C:
6335         * text.C:
6336         * text3.C: remove META_NEWLINE in favour of an inset
6337
6338         * rowpainter.h:
6339         * rowpainter.C: remove paintNewline (done by inset)
6340
6341 2003-03-12  John Levon  <levon@movementarian.org>
6342
6343         * paragraph_pimpl.C: complain about bad getChar()s
6344         for a while at least
6345
6346 2003-03-12  John Levon  <levon@movementarian.org>
6347
6348         * buffer.h:
6349         * buffer.C: move paragraph read into a separate function,
6350         a little renaming to reflect that.
6351
6352         * bufferparams.h:
6353         * bufferparams.C: remove the author_ids map, not necessary now
6354
6355         * factory.h:
6356         * factory.C: moved Buffer::readInset to here
6357
6358         * paragraph_funcs.h:
6359         * paragraph_funcs.C: readParagraph free function moved from
6360         buffer.C
6361
6362         * tabular.C: name change
6363
6364 2003-03-12  John Levon  <levon@movementarian.org>
6365
6366         * buffer.C:
6367         * ParagraphParameters.C: move par params input to
6368         a read() method
6369
6370         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6371         behave like a normal read from the stream wrt reading
6372         a line vs. a \\token
6373
6374 2003-03-12  John Levon  <levon@movementarian.org>
6375
6376         * paragraph.C:
6377         * ParagraphParameters.h:
6378         * ParagraphParameters.C: move output code to a
6379         ::write() method
6380
6381 2003-03-12  John Levon  <levon@movementarian.org>
6382
6383         * BufferView.C (insertLyXFile):
6384         * buffer.h:
6385         * buffer.C:
6386         * tabular.C: use a parlist iterator for creating the
6387           document.
6388
6389 2003-03-12  John Levon  <levon@movementarian.org>
6390
6391         * buffer.C: make current_change static local not
6392           static file-scope
6393
6394 2003-03-12  John Levon  <levon@movementarian.org>
6395
6396         * buffer.C: fix insertStringAsLines for change tracking
6397
6398 2003-03-12  John Levon  <levon@movementarian.org>
6399
6400         * BufferView.C:
6401         * tabular.C:
6402         * buffer.h:
6403         * buffer.C:
6404         * bufferparams.h:
6405         * bufferparams.C: move author list into params. Rename some
6406           functions. Move the header reading into a separate token
6407           loop. Move the header token reading into BufferParams.
6408
6409 2003-03-12  John Levon  <levon@movementarian.org>
6410
6411         * changes.C: put debug inside lyxerr.debugging() checks
6412
6413 2003-03-11 André Pönitz <poenitz@gmx.net>
6414
6415         * factory.C: make it aware of InsetHFill
6416
6417 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6418
6419         * buffer.C (latexParagraphs): move function from here...
6420         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6421         args.
6422
6423 2003-03-10  Angus Leeming  <leeming@lyx.org>
6424
6425         * LyXAction.C (init): fix bug in poplating array with multiple entries
6426         with the same LFUN (spotted by JMarc).
6427
6428 2003-03-10  John Levon  <levon@movementarian.org>
6429
6430         * text.C:
6431         * text2.C: move getColumnNearX() near its
6432         only call site
6433
6434 2003-03-10  John Levon  <levon@movementarian.org>
6435
6436         * text.C: fix break before a minipage
6437
6438 2003-03-10  John Levon  <levon@movementarian.org>
6439
6440         * text.C: fix the last commit
6441
6442 2003-03-09  John Levon  <levon@movementarian.org>
6443
6444         * lyxtext.h:
6445         * text.C:
6446         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6447         bug 365 (don't break before insets unless needed). Don't
6448         return a value > last under any circumstances.
6449
6450 2003-03-09  Angus Leeming  <leeming@lyx.org>
6451
6452         * BufferView_pimpl.C (trackChanges, dispatch): call
6453         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6454
6455 2003-03-09  Angus Leeming  <leeming@lyx.org>
6456
6457         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6458         than Dialogs::showAboutlyx().
6459
6460 2003-03-09  Angus Leeming  <leeming@lyx.org>
6461
6462         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6463         than Dialogs::showTabularCreate().
6464
6465 2003-03-09  John Levon  <levon@movementarian.org>
6466
6467         * lyxtext.h:
6468         * text.C:
6469         * text2.C: 3rd arg to nextBreakPoint was always the same.
6470           Use references.
6471
6472 2003-03-08  John Levon  <levon@movementarian.org>
6473
6474         * lyxrow.C:
6475         * paragraph.C:
6476         * paragraph.h:
6477         * rowpainter.C:
6478         * text.C:
6479         * text2.C: Remove the "main" bit from the "main body"
6480           notion.
6481
6482 2003-03-08  John Levon  <levon@movementarian.org>
6483
6484         * text.C (leftMargin): The left margin of an empty
6485         manual label paragraph should not include the label width
6486         string length.
6487
6488         * text.C (prepareToPrint): don't attempt to measure hfills
6489         for empty manual label paragraphs - the answer should be 0
6490
6491 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * CutAndPaste.C: remove commented code and reindent.
6494
6495 2003-03-08  John Levon  <levon@movementarian.org>
6496
6497         * lyxfunc.h:
6498         * lyxfunc.C: move reloadBuffer()
6499
6500         * BufferView.h:
6501         * BufferView.C: to here
6502
6503         * lyxvc.C: add comment
6504
6505         * vc-backend.h:
6506         * vc-backend.C: call bv->reload() to avoid
6507           getStatus() check on MENURELOAD
6508
6509 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6510
6511         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6512         to an old format .dep file.
6513
6514 2003-03-07  Angus Leeming  <leeming@lyx.org>
6515
6516         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6517         when the LFUN_MOUSE_RELEASE should have been handled by
6518         inset->localDispatch.
6519
6520 2003-03-07  Angus Leeming  <leeming@lyx.org>
6521
6522         * BufferView_pimpl.C (dispatch):
6523         * LyXAction.C (init):
6524         * ToolbarDefaults.C (init):
6525         * commandtags.h:
6526         * lyxfunc.C (getStatus):
6527         remove LFUN_INSET_GRAPHICS.
6528
6529         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6530
6531 2003-03-07  Angus Leeming  <leeming@lyx.org>
6532
6533         * commandtags.h:
6534         * LyXAction.C (init):
6535         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6536
6537         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6538
6539         * commandtags.h:
6540         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6541
6542         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6543         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6544
6545 2003-03-07  Angus Leeming  <leeming@lyx.org>
6546
6547         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6548         remove "ert".
6549
6550 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * ParagraphList.C (front): new function
6553         (back): implement
6554
6555 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6556
6557         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6558         and top_row_offset_. removed var first_y.
6559         * text.C (top_y):
6560         * text2.C (LyXText, removeRow):
6561         * text3.C:
6562         * BufferView_pimpl.C:
6563         use these methods instead of using first_y
6564
6565 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * text2.C (pasteSelection): adjust for checkPastePossible
6568
6569         * CutAndPaste.C: remove Paragraph * buf and replace with
6570         ParagraphList paragraphs.
6571         (DeleteBuffer): delete
6572         (cutSelection): change the tc type to textclass_type
6573         (copySelection): change the tc type to textclass_type
6574         (copySelection): adjust for ParagraphList
6575         (pasteSelection): change the tc type to textclass_type
6576         (pasteSelection): adjust for Paragraphlist
6577         (nrOfParagraphs): simplify for ParagraphList
6578         (checkPastePossible): simplify for ParagraphList
6579         (checkPastePossible): remove unused arg
6580
6581         * ParagraphList.C (insert): handle the case where there are no
6582         paragraphs yet.
6583
6584         * CutAndPaste.h: make CutAndPaste a namespace.
6585
6586         * text3.C (dispatch): adjust
6587
6588         * text.C (breakParagraph): add a ParagraphList as arg
6589
6590         * paragraph_funcs.C (breakParagraph): change to take a
6591         BufferParams and a ParagraphList as args.
6592         (breakParagraphConservative): ditto
6593         (mergeParagraph): ditto
6594         (TeXDeeper): add a ParagraphList arg
6595         (TeXEnvironment): ditto
6596         (TeXOnePar): ditto
6597
6598         * buffer.C (readLyXformat2): adjust
6599         (insertStringAsLines): adjust
6600         (latexParagraphs): adjust
6601
6602         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6603         (cutSelection): adjust
6604         (pasteSelection): adjust
6605
6606         * BufferView_pimpl.C (insertInset): adjust
6607
6608 2003-03-05  Angus Leeming  <leeming@lyx.org>
6609
6610         * commandtags.h:
6611         * LyXAction.C (init):
6612         * BufferView_pimpl.C (dispatch):
6613         * lyxfunc.C (getStatus):
6614         remove LFUN_CHILD_INSERT.
6615
6616         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6617
6618 2003-03-05  Angus Leeming  <leeming@lyx.org>
6619
6620         * commandtags.h:
6621         * LyXAction.C (init):
6622         * src/factory.C (createInset):
6623         * lyxfunc.C (getStatus):
6624         * text3.C (dispatch):
6625         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6626
6627         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6628
6629 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * ParagraphList.C (insert): handle insert right before end()
6632         (erase): fix cases where it can be first or last paragraph.
6633
6634 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6637         Paragraph::next and Paragraph::previous
6638         (TeXOnePar): ditto
6639
6640         * text.C (breakParagraph): adjust
6641
6642         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6643         BufferParams& as arg.
6644         (breakParagraph): use ParagraphList::insert
6645         (breakParagraphConservative): take a Buffer* instead of a
6646         BufferParams& as arg.
6647         (breakParagraphConservative): use ParagraphList::insert.
6648
6649         * buffer.C (insertStringAsLines): un-const it
6650         (insertStringAsLines): adjust
6651
6652         * ParagraphList.C (insert): new function
6653
6654         * CutAndPaste.C (pasteSelection): adjust
6655
6656         * text.C (backspace): adjust
6657
6658         * tabular.C (SetMultiColumn): adjust
6659
6660         * CutAndPaste.C (cutSelection): adjust
6661         (pasteSelection): adjust
6662
6663         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6664         Buffer const * as arg
6665
6666         * ParagraphList.C (erase): new function
6667         * paragraph_funcs.C (mergeParagraph): use it
6668         (mergeParagraph): make it take a Buffer* instead of a
6669         BufferParams* as arg
6670
6671         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6672         as arg
6673         (breakParagraphConservative): ditto
6674
6675         * paragraph.h: remove the breakParagraph friend
6676
6677         * paragraph.C (eraseIntern): new function
6678         (setChange): new function
6679
6680         * paragraph_funcs.C (mergeParagraph): make it take a
6681         ParagraphList::iterator instead of a Paragraph *, adjust
6682         accordingly.
6683
6684         * paragraph.h: move an #endif so that the change tracking stuff
6685         also works in the NO_NEXT case.
6686
6687 2003-03-04  Angus Leeming  <leeming@lyx.org>
6688
6689         * commandtags.h:
6690         * LyXAction.C: new LFUN_INSET_MODIFY.
6691
6692         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6693         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6694
6695 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * several files: ws changes only
6698
6699         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6700         (TeXEnvironment): ditto
6701         (TeXDeeper): ditto
6702
6703         * buffer.C (makeLaTeXFile): adjust
6704         (latexParagraphs): make it take ParagraphList::iterator as args
6705
6706 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * buffer.C (latexParagraphs): adjust
6709
6710         * paragraph.C (TeXOnePar): move function...
6711         (optArgInset): move function...
6712         (TeXEnvironment): move function...
6713         * paragraph_pimpl.C (TeXDeeper): move function...
6714         * paragraph_funcs.C: ...here
6715
6716         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6717
6718 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * buffer.C (readInset): remove compability code for old Figure and
6721         InsetInfo insets
6722
6723 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * buffer.C: ws changes
6726         (readInset):
6727
6728         * BufferView_pimpl.C: ditto
6729         * author.C: ditto
6730         * buffer.h: ditto
6731         * bufferlist.h: ditto
6732         * changes.h: ditto
6733         * lyxfunc.C: ditto
6734
6735 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6736
6737         * converter.[Ch]: split into itself +
6738         * graph.[Ch]
6739         * format.[Ch]
6740         * Makefile.am: += graph.[Ch] + format.[Ch]
6741         * MenuBackend.C
6742         * buffer.C
6743         * exporter.C
6744         * importer.C
6745         * lyx_main.C
6746         * lyxfunc.C
6747         * lyxrc.C: added #include "format.h"
6748
6749 2003-02-27  Angus Leeming  <leeming@lyx.org>
6750
6751         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6752           a label.
6753
6754         * factory.C (createInset): add "label" to the factory.
6755
6756         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6757           string and do no more.
6758
6759 2003-02-27  Angus Leeming  <leeming@lyx.org>
6760
6761         * commandtags.h:
6762         * LyXAction.C (init):
6763         * factory.C (createInset):
6764         * BufferView_pimpl.C (dispatch):
6765           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6766
6767         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6768
6769         * lyxfunc.C (dispatch):
6770         * text3.C (dispatch): pass name to params2string.
6771
6772 2003-02-26  Angus Leeming  <leeming@lyx.org>
6773
6774         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6775           blocks together.
6776           Rearrange the ~includes. Strip out the unnecessary ones.
6777
6778         * factory.C (createInset): reformat.
6779           create new insets for the various LFUN_XYZ_APPLY lfuns.
6780
6781 2003-02-26  John Levon  <levon@movementarian.org>
6782
6783         * lyxrow.h:
6784         * lyxrow.C: add isParStart,isParEnd helpers
6785
6786         * paragraph.h: make isInserted/DeletedText take refs
6787
6788         * paragraph_funcs.h:
6789         * paragraph_funcs.C: remove #if 0'd code
6790
6791         * lyxtext.h:
6792         * text3.C:
6793         * text2.C:
6794         * text.C: use lyxrow helpers above.
6795           Move draw and paint routines to RowPainter.
6796           Make several methods use refs not pointers.
6797           Make backgroundColor() const.
6798           Add markChangeInDraw(), isInInset().
6799           Merge changeRegionCase into changeCase.
6800           Make workWidth() shouldn't-happen code into an Assert.
6801
6802         * rowpainter.h:
6803         * rowpainter.C: new class for painting a row.
6804
6805         * vspace.h:
6806         * vspace.C: make inPixels take a ref
6807
6808 2003-02-26  Angus Leeming  <leeming@lyx.org>
6809
6810         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6811         LFUN_REF_APPLY.
6812
6813 2003-02-25  John Levon  <levon@movementarian.org>
6814
6815         * ispell.C: give the forked command a more accurate name
6816
6817 2003-02-22  John Levon  <levon@movementarian.org>
6818
6819         * toc.h:
6820         * toc.C: make TocItem store an id not a Paragraph *
6821           (bug #913)
6822
6823 2003-02-21  Angus Leeming  <leeming@lyx.org>
6824
6825         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6826           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6827           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6828           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6829           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6830           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6831
6832         * BufferView_pimpl.C (dispatch):
6833         * LyXAction.C (init):
6834         * factory.C (createInset):
6835         * lyxfunc.C (getStatus, dispatch):
6836         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6837
6838 2003-02-21  Angus Leeming  <leeming@lyx.org>
6839
6840         * BufferView_pimpl.C (MenuInsertLyXFile):
6841         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6842         * lyxfunc.C (menuNew, open, doImport):
6843           no longer pass a LyXView & to fileDlg.
6844
6845 2003-02-21  Angus Leeming  <leeming@lyx.org>
6846
6847         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6848         * LyXAction.C: change, BIBKEY to BIBITEM.
6849         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6850         Change InsetBibKey to InsetBibitem.
6851         Change BIBKEY_CODE to BIBITEM_CODE.
6852         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6853         * factory.C: replace insetbib.h with insetbibitem.h.
6854         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6855         * paragraph.C: replace insetbib.h with insetbibitem.h.
6856         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6857         Change bibkey() to bibitem().
6858         * text.C: remove insetbib.h.
6859         * text2.C: replace insetbib.h with insetbibitem.h.
6860         change bibkey() to bibitem().
6861         * text3.C: remove insetbib.h.
6862         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6863
6864 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6865
6866         * lyxrc.C (output): enclose user email in quotes (in case there are
6867         several words)
6868
6869 2003-02-18  John Levon  <levon@movementarian.org>
6870
6871         * buffer.h: add std::
6872
6873 2003-02-17  John Levon  <levon@movementarian.org>
6874
6875         * SpellBase.h:
6876         * ispell.h:
6877         * ispell.C:
6878         * pspell.h:
6879         * pspell.C: reworking. Especially in ispell, a large
6880           number of clean ups and bug fixes.
6881
6882         * lyxfunc.C: fix revert to behave sensibly
6883
6884 2003-02-17 André Pönitz <poenitz@gmx.net>
6885
6886         * LyXAction.C:
6887         * commandtags.h: new LFUN_INSERT_BIBKEY
6888
6889         * layout.h:
6890         * lyxlayout.C:
6891         * buffer.C:
6892         * factory.C:
6893         * text.C:
6894         * text2.C:
6895         * text3.C:
6896         * paragraph.[Ch]:
6897         * paragraph_func.C: remove special bibkey handling
6898
6899 2003-02-17  John Levon  <levon@movementarian.org>
6900
6901         * text.C (Delete): fix case where delete at the end of
6902           the very first paragraph would not merge the pars
6903
6904 2003-02-17  John Levon  <levon@movementarian.org>
6905
6906         * lyxrow.C: fix lastPrintablePos()
6907
6908 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6909
6910         * bufferparams.C (writeLaTeX): add a std:here
6911
6912         * buffer.C: and remove a using directive there
6913
6914 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * buffer.C (makeLaTeXFile): move the code that generates the
6917           preamble...
6918
6919         * bufferparams.C (writeLaTeX): ... in this new method
6920
6921         * LaTeXFeatures.C (getEncodingSet): make const
6922           (getLanguages): make const
6923
6924         * MenuBackend.C (binding): returns the binding associated to this
6925           action
6926           (add): sets the status of each item by calling getStatus. Adds
6927           some intelligence.
6928           (read): add support for OptSubMenu
6929           (expand): remove extra separator at the end of expanded menu
6930
6931 2003-02-15  John Levon  <levon@movementarian.org>
6932
6933         * BufferView.C:
6934         * BufferView_pimpl.C:
6935         * bufferlist.h:
6936         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6937           inset code that had no actual effect. Remove unneeded status
6938           code.
6939
6940 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6941
6942         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6943           in preamble
6944
6945 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6946
6947         * text.C (drawLengthMarker): also draw an arrow marker for
6948           symbolic lengths (medskip...)
6949
6950 2003-02-14  John Levon  <levon@movementarian.org>
6951
6952         * tabular.h:
6953         * tabular.C: better method names
6954
6955 2003-02-14  John Levon  <levon@movementarian.org>
6956
6957         * BufferView_pimpl.C:
6958         * bufferlist.C:
6959         * buffer.C:
6960         * converter.C:
6961         * lyx_cb.C:
6962         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6963           it's a more accurate name. Remove some pointless uses.
6964
6965 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6966
6967         * text2.C (LyXText): change order of initilizers to shut off
6968           warnings
6969
6970 2003-02-14  John Levon  <levon@movementarian.org>
6971
6972         * buffer.C: use ParIterator for getParFromID()
6973
6974         * paragraph.h:
6975         * paragraph.C:
6976         * paragraph_pimpl.h:
6977         * paragraph_pimpl.C: remove unused getParFromID()
6978
6979 2003-02-14  John Levon  <levon@movementarian.org>
6980
6981         * buffer.C: remove some very old #if 0'd parse code
6982
6983 2003-02-13  John Levon  <levon@movementarian.org>
6984
6985         * text.h:
6986         * text.C:
6987         * text2.C: move hfillExpansion(), numberOfSeparators(),
6988           rowLast(), rowLastPrintable(), numberofHfills(),
6989           numberOfLabelHfills() ...
6990
6991         * lyxrow.h:
6992         * lyxrow.C: ... to member functions here.
6993
6994         * paragraph.h:
6995         * paragraph.C:
6996         * lyxtext.h:
6997         * text.C: remove LyXText::beginningOfMainBody(), and call
6998           p->beginningOfMainBody() directly. Move the check for
6999           LABEL_MANUAL into the latter.
7000
7001         * text.h:
7002         * text.C:
7003         * text2.C:
7004         * vspace.C:
7005         * BufferView.h:
7006         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7007
7008         * text.h:
7009         * text.C:
7010         * text2.C:
7011         * text3.C:
7012         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7013           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7014
7015 2003-02-13  John Levon  <levon@movementarian.org>
7016
7017         * CutAndPaste.C: remove debug
7018
7019 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7020
7021         * paragraph.C (asString): remove two unused variables
7022
7023         * lyxtextclass.C (readTitleType):
7024           (Read):
7025           (LyXTextClass): handle new members titletype_ and titlename_
7026
7027         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7028
7029 2003-02-09  John Levon  <levon@movementarian.org>
7030
7031         * buffer.h:
7032         * buffer.C: replace hand-coded list with a map for the dep clean
7033
7034 2003-02-08  John Levon  <levon@movementarian.org>
7035
7036         * LaTeX.C: consolidate code into showRunMessage() helper
7037
7038 2003-02-08  John Levon  <levon@movementarian.org>
7039
7040         * lyxfind.C:
7041         * lyxtext.h:
7042         * text2.C:
7043         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7044           and pass the size in explicitly
7045
7046         * BufferView_pimpl.h:
7047         * BufferView_pimpl.C:
7048         * BufferView.h:
7049         * BufferView.C: add getCurrentChange()
7050
7051         * BufferView_pimpl.h:
7052         * BufferView_pimpl.C: handle change lfuns
7053
7054         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7055           for changes. Mark pasted paragraphs as new.
7056
7057         * support/lyxtime.h:
7058         * support/lyxtime.C:
7059         * DepTable.C: abstract time_t as lyx::time_type
7060
7061         * LColor.h:
7062         * LColor.C: add colours for new text, deleted text, changebars
7063
7064         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7065           package use "usenames" option.
7066
7067         * commandtags.h:
7068         * lyxfunc.C:
7069         * LyXAction.C: add change lfuns
7070
7071         * Makefile.am:
7072         * author.h:
7073         * author.C: author handling
7074
7075         * buffer.h:
7076         * buffer.C: add a per-buffer author list, with first entry as
7077           current author. Handle new .lyx tokens for change tracking. Output
7078           author list to .lyx file. Output dvipost stuff to .tex preamble.
7079           Bump lyx format to 222.
7080
7081         * bufferlist.h:
7082         * bufferlist.C: add setCurrentAuthor() to reset current author details
7083           in all buffers.
7084
7085         * bufferparams.h:
7086         * bufferparams.C: add param for tracking
7087
7088         * bufferview_funcs.C: output change info in minibuffer
7089
7090         * Makefile.am:
7091         * changes.h:
7092         * changes.C: add change-tracking structure
7093
7094         * debug.h:
7095         * debug.C: add CHANGES debug flag
7096
7097         * lyxfind.h:
7098         * lyxfind.C: add code for finding the next change piece
7099
7100         * lyxrc.h:
7101         * lyxrc.C: add user_name and user_email
7102
7103         * lyxrow.h:
7104         * lyxrow.C: add a metric for the top of the text line
7105
7106         * lyxtext.h:
7107         * text.C: implement accept/rejectChange()
7108
7109         * lyxtext.h:
7110         * text.C: paint changebars. Paint new/deleted text in the chosen
7111         colours. Strike through deleted text.
7112
7113         * paragraph.h:
7114         * paragraph.C:
7115         * paragraph_pimpl.h:
7116         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7117           in the current change to the insert functions. Rework erase to
7118           mark text as deleted, adding an eraseIntern() and a range-based
7119           erase(). Implement per-paragraph change lookup and
7120           accept/reject.
7121
7122         * paragraph_funcs.C: Fixup paste for change tracking.
7123
7124         * tabular.C: mark added row/columns as new.
7125
7126         * text.C: fix rowLast() to never return -1. Don't allow
7127           spellchecking of deleted text. Track transpose changes. Don't
7128           allow paragraph break or merge where appropriate.
7129
7130         * text2.C: leave cursor at end of selection after a cut.
7131
7132 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7133
7134         * text.C (getLengthMarkerHeight):
7135         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7136         visible on screen too.
7137
7138 2003-02-07  John Levon  <levon@movementarian.org>
7139
7140         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7141
7142 2003-02-05  Angus Leeming  <leeming@lyx.org>
7143
7144         * lyxserver.C (read_ready): revert my patch of 11 September last year
7145         as it sends PC cpu through the roof. Presumably this means that
7146         the lyxserver will no longer run on an Alpha...
7147
7148 2003-01-30  Angus Leeming  <leeming@lyx.org>
7149
7150         * factory.C (createInset): create an InsetCommandParam of type "index"
7151         and use it to 'do the right thing'.
7152
7153         * text2.C (getStringToIndex): ensure that cursor position is always
7154         reset to the reset_cursor position.
7155
7156 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7157
7158         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7159         disabled.
7160
7161 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7162
7163         * bufferview.C:
7164         * lyxcb.C:
7165         * lyxfunc.C: Output messages with identical spelling, punctuation,
7166         and spaces
7167
7168 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7169
7170         * MenuBackend.C (expandFormats): List only viewable export formats
7171         in "View" menu
7172
7173         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7174         message
7175
7176         * lyxfunc.C (getStatus): Make sure that formats other than
7177         "fax" can also be disabled
7178
7179 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7180
7181         * text3.C (dispatch): put the lfuns that insert insets in 3
7182         groups, and call doInsertInset with appropriate arguments.
7183         (doInsertInset): new function, that creates an inset and inserts
7184         it according to some boolean parameters.
7185
7186 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * buffer.C (readFile): remember to pass on 'par' when calling
7189         readFile recursively.
7190
7191 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7192
7193         * MenuBackend.C (expandFormats): add "..." to import formats.
7194
7195 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7196
7197         * paragraph.C (asString): Remove XForms RTL hacks.
7198
7199 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7200         * buffer.C: fix typo
7201
7202 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * Makefile.am (LIBS): delete var
7205         (lyx_LDADD): add @LIBS@ here instead.
7206
7207 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7208
7209         * Clarify the meaning of "wheel mouse jump"
7210
7211 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7212
7213         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7214         tabular in a float
7215
7216 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7217
7218         * importer.C (Loaders): do not preallocate 3 elements in the
7219         vector, since one ends up with 6 elements otherwise
7220
7221 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7222
7223         * DepTable.C (write): write the file name as last element of the
7224         .dep file (because it may contain spaces)
7225         (read): read info in the right order
7226
7227 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7228
7229         * paragraph_pimpl.C (simpleTeXBlanks):
7230         (simpleTeXSpecialChars):
7231         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7232
7233         * tabular.C (latex): add some missing case statements. Reindent.
7234
7235         * MenuBackend.C (expandToc): remove unused variable.
7236
7237 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7238
7239         * LColor.C:
7240         * LaTeX.C:
7241         * LyXAction.C:
7242         * MenuBackend.C:
7243         * buffer.C:
7244         * exporter.C:
7245         * lyxfunc.C:
7246         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7247         and the like.
7248
7249 2003-01-05  John Levon  <levon@movementarian.org>
7250
7251         * BufferView.h:
7252         * BufferView.C: add getEncoding()
7253
7254         * kbsequence.h:
7255         * kbsequence.C: do not store last keypress
7256
7257         * lyxfunc.h:
7258         * lyxfunc.C: store last keypress here instead. Pass encoding
7259           to getISOEncoded()
7260
7261 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7262
7263         * lyx_main.C (init): remove annoying error message when following
7264         symbolic links (bug #780)
7265
7266 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7267
7268         * text.C (insertChar):
7269         * lyxrc.C (getDescription): remove extra spaces
7270
7271 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7272
7273         * lyxrc.C (getDescription): remove extra spaces
7274
7275 2002-12-20  John Levon  <levon@movementarian.org>
7276
7277         * text3.C: hack fix for page up/down across tall rows
7278
7279 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7280
7281         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7282         not been invoked
7283
7284 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7285
7286         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7287         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7288         thesaurus is not compiled in
7289
7290 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7291
7292         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7293
7294 2002-12-16  Angus Leeming  <leeming@lyx.org>
7295
7296         * lyxrc.[Ch]:
7297         * lyx_main.C (init): remove override_x_deadkeys stuff.
7298
7299 2002-12-12  John Levon  <levon@movementarian.org>
7300
7301         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7302           insert. Only remove shift modifier under strict
7303           circumstances.
7304
7305 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7306
7307         * MenuBackend.C (expandToc): fix crash.
7308
7309 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * MenuBackend.C (expandToc): gettext on float names.
7312
7313 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7314
7315         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7316         implement bool empty() [bug 490]
7317
7318 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7321
7322 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * several files: ws changes
7325
7326 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * text2.C (setCounter): clean up a bit, use boost.format.
7329         (updateCounters): initialize par upon declaration.
7330
7331         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7332         if the layout exists. We do not just store the layout any more.
7333         (SwitchLayoutsBetweenClasses): use boost.format
7334
7335 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * converter.C (convert): if from and to files are the same, use a
7338         temporary files as intermediary
7339
7340 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7341
7342         * commandtags.h:
7343         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7344
7345 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7346
7347         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7348
7349 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * tabular.C (asciiPrintCell): use string(size, char) instead of
7352         explicit loop.
7353
7354         * sgml.C (openTag): fix order of arguments to string constructor
7355         (closeTag): ditto
7356
7357         * lyxfunc.C (dispatch): use boost.format
7358
7359         * lots of files: change "c" -> 'c'
7360
7361 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7362
7363         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7364
7365 2002-11-25  Angus Leeming  <leeming@lyx.org>
7366
7367         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7368
7369         * lyx_main.C (init): compile fix.
7370
7371 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * lyx_cb.C (start): boost.formatify
7374         do not include <iostream>
7375
7376         * lengthcommon.C: ws only
7377
7378         * boost-inst.C,BoostFormat.h: add more explict instantations
7379
7380 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * lots of files: handle USE_BOOST_FORMAT
7383
7384 2002-11-21  John Levon  <levon@movementarian.org>
7385
7386         * pspell.C: fix compile
7387
7388 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7389
7390         * lyxfunc.C (dispatch): use boost::format
7391         (open): ditto
7392         (doImport): ditto
7393
7394         * lyxfont.C (stateText): use boost::format
7395
7396         * lyx_main.C (LyX): use boost::format
7397         (init): ditto
7398         (queryUserLyXDir): ditto
7399         (readRcFile): ditto
7400         (parse_dbg): ditto
7401         (typedef boost::function): use the recommened syntax.
7402
7403         * importer.C (Import): use boost::format
7404
7405         * debug.C (showLevel): use boost::format
7406
7407         * converter.C (view): use boost::format
7408         (convert): ditto
7409         (move): ditto
7410         (scanLog): ditto
7411
7412         * bufferview_funcs.C (currentState): use boost::format
7413
7414         * bufferlist.C (emergencyWrite): use boost::format
7415
7416         * buffer.C (readLyXformat2): use boost::format
7417         (parseSingleLyXformat2Token): ditto
7418
7419         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7420
7421         * LaTeX.C (run): use boost::format
7422
7423         * Chktex.C (scanLogFile): use boost::format
7424
7425         * BufferView_pimpl.C (savePosition): use boost::format
7426         (restorePosition): ditto
7427         (MenuInsertLyXFile): ditto
7428
7429         * BoostFormat.h: help file for explicit instation.
7430
7431 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7432
7433         * tabular.C (latex): Support for block alignment in fixed width
7434         columns.
7435
7436 2002-11-17  John Levon  <levon@movementarian.org>
7437
7438         * BufferView_pimpl.C:
7439         * lyx_cb.C:
7440         * lyxfunc.C: split filedialog into open/save
7441
7442 2002-11-08  Juergen Vigna  <jug@sad.it>
7443
7444         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7445         by my last patch (hopefully).
7446
7447 2002-11-08  John Levon  <levon@movementarian.org>
7448
7449         * iterators.h:
7450         * iterators.C:
7451         * buffer.h:
7452         * buffer.C:
7453         * paragraph.h:
7454         * paragraph.C:
7455         * toc.h:
7456         * toc.C: ParConstIterator, and use it (from Lars)
7457
7458 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7459
7460         * lyxtextclass.[Ch]: revise and add doxygen comments
7461
7462 2002-11-07  John Levon  <levon@movementarian.org>
7463
7464         * text.C: fix progress value for spellchecker
7465
7466         * toc.C: fix navigate menu for insetwrap inside minipage
7467
7468         * paragraph_funcs.C: added FIXME for suspect code
7469
7470 2002-11-07  John Levon  <levon@movementarian.org>
7471
7472         * BufferView_pimpl.C: fix redrawing of insets
7473           on buffer switch
7474
7475 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7476
7477         * text2.C (updateCounters): fix bug 668
7478
7479 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7480
7481         * text3.C (dispatch): Do not make the buffer dirty when moving the
7482         cursor.
7483
7484 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * vc-backend.C: STRCONV
7487         (scanMaster): ditto
7488
7489         * text2.C (setCounter): STRCONV
7490
7491         * paragraph.C (asString): STRCONV
7492
7493         * lyxlength.C (asString): STRCONV
7494         (asLatexString): ditto
7495
7496         * lyxgluelength.C (asString): STRCONV
7497         (asLatexString): ditto
7498
7499         * lyxfunc.C (dispatch): STRCONV
7500         (open): ditto
7501
7502         * lyxfont.C (stateText): STRCONV
7503
7504         * importer.C (Import): STRCONV
7505
7506         * counters.C (labelItem): STRCONV
7507         (numberLabel): ditto
7508         (numberLabel): remove unused ostringstream o
7509
7510         * chset.C: STRCONV
7511         (loadFile): ditto
7512
7513         * bufferview_funcs.C (currentState): STRCONV
7514
7515         * buffer.C (readFile): STRCONV
7516         (asciiParagraph): ditto
7517         (makeLaTeXFile): ditto
7518
7519         * Spacing.C (writeEnvirBegin): STRCONV
7520
7521         * LaTeXFeatures.C (getLanguages): STRCONV
7522         (getPackages): ditto
7523         (getMacros): ditto
7524         (getBabelOptions): ditto
7525         (getTClassPreamble): ditto
7526         (getLyXSGMLEntities): ditto
7527         (getIncludedFiles): ditto
7528
7529         * LaTeX.C: STRCONV
7530         (run): ditto
7531         (scanAuxFile): ditto
7532         (deplog): ditto
7533
7534         * LString.h: add the STRCONV macros
7535
7536         * BufferView_pimpl.C (savePosition): STRCONV
7537         (restorePosition): ditto
7538         (MenuInsertLyXFile): ditto
7539
7540         * vc-backend.C (scanMaster): change from submatch[...] to
7541         submatch.str(...)
7542
7543         * funcrequest.C: include config.h
7544
7545         * factory.C: include config.h
7546
7547         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7548
7549         * box.C: include config.h
7550
7551         * LaTeX.C (scanAuxFile): change from submatch[...] to
7552         submatch.str(...)
7553         (deplog): ditto
7554
7555 2002-10-25  Angus Leeming  <leeming@lyx.org>
7556
7557         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7558
7559         * ispell.[Ch] (setError): new method.
7560         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7561         Use setError() insetead of goto END.
7562
7563         * lyx_cb.C (AutoSave): move out child process into new class
7564         AutoSaveBuffer.
7565
7566 2002-10-30  John Levon  <levon@movementarian.org>
7567
7568         * text3.C: make start appendix undoable
7569
7570 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7571
7572         * lyxlength.C (inPixels): Fix returned value.
7573
7574         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7575         environment.
7576
7577 2002-10-24  Angus Leeming  <leeming@lyx.org>
7578
7579         * lyxgluelength.h: no need to forward declare BufferParams
7580         or BufferView, so don't.
7581
7582 2002-10-21  John Levon  <levon@movementarian.org>
7583
7584         * BufferView.C: menuUndo ->undo, redo
7585
7586         * BufferView.h: document, remove dead, make some methods private
7587
7588         * paragraph_funcs.h:
7589         * paragraph_funcs.C:
7590         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7591
7592         * buffer.h:
7593         * buffer.C:
7594         * sgml.h:
7595         * sgml.C: move sgml open/close tag into sgml.C
7596
7597         * bufferview_funcs.h: unused prototype
7598
7599         * lyxfunc.h:
7600         * lyxfunc.C: remove unused
7601
7602         * lyxtext.h:
7603         * text.C: remove unused
7604
7605 2002-10-21  John Levon  <levon@movementarian.org>
7606
7607         * BufferView.h:
7608         * BufferView.C:
7609         * BufferView_pimpl.h:
7610         * BufferView_pimpl.C: fix mouse wheel handling based on
7611           patch from Darren Freeman
7612
7613 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7614
7615         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7616
7617 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7618
7619         * lyxlength.C (inPixels): Fix hanfling of negative length.
7620         Fix LyXLength::MU case.
7621
7622 2002-10-16  John Levon  <levon@movementarian.org>
7623
7624         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7625
7626 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7627
7628         * converter.C (view): add support for $$i (file name) and $$p
7629         (file path) for the viewer command. If $$i is not specified, then
7630         it is appended to the command (for compatibility with old syntax)
7631
7632 2002-10-14  Juergen Vigna  <jug@sad.it>
7633
7634         * undo_funcs.C (textHandleUndo): alter the order in which the
7635         new undopar is added to the LyXText, as we have to set first
7636         the right prev/next and then add it as otherwise the rebuild of
7637         LyXText is not correct. Also reset the cursor to the right paragraph,
7638         with this IMO we could remove the hack in "redoParagraphs()".
7639
7640 2002-10-09  Angus Leeming  <leeming@lyx.org>
7641
7642         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7643         to turn off an optimisation if a new inset is to be inserted.
7644
7645 2002-10-11 André Pönitz <poenitz@gmx.net>
7646
7647         * lyxtext.h: make some functions public to allow access
7648         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7649
7650 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7651
7652         * text3.C (dispatch): when changing layout, avoid an infinite loop
7653         [bug #652]
7654
7655 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7656
7657         * lyxrc.C (read): treat a viewer or converter command of "none" as
7658         if it were empty.
7659
7660         * MenuBackend.C (expandFormats): for an update, also allow the
7661         formats that are not viewable
7662
7663         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7664         script if it is newer than the lyxrc.defaults in user directory
7665
7666 2002-10-07 André Pönitz <poenitz@gmx.net>
7667
7668         * text.C: Vitaly Lipatov's small i18n fix
7669
7670 2002-09-25  Angus Leeming  <leeming@lyx.org>
7671
7672         * ispell.h: doxygen fix.
7673
7674 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7675
7676         * buffer.h (readFile): Add a new argument to the method, to allow
7677         reading of old-format templates.
7678
7679 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7680
7681         * toc.C (getTocList): Get TOC from InsetWrap.
7682
7683 2002-09-16  John Levon  <levon@movementarian.org>
7684
7685         * lyxfunc.C: check tabular for cut/copy too
7686
7687 2002-09-12  John Levon  <levon@movementarian.org>
7688
7689         * LyXAction.C: tidy
7690
7691         * factory.h:
7692         * factory.C: add header
7693
7694         * paragraph_funcs.h:
7695         * paragraph_funcs.C: cleanup
7696
7697 2002-09-11  John Levon  <levon@movementarian.org>
7698
7699         * PrinterParams.h: odd/even default to true
7700
7701 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7702
7703         * PrinterParams.h: update printer parameters for new xforms dialog
7704
7705 2002-09-11  Angus Leeming  <leeming@lyx.org>
7706
7707         * lyxserver.C (read_ready): re-write to make it more transparent
7708         and to make it work in coherent fashion under Tru64 Unix.
7709
7710 2002-09-11  André Pönitz <poenitz@gmx.net>
7711
7712         * commandtags.h:
7713         * LyXAction.C:
7714         * text3.C: implement LFUN_WORDSEL
7715
7716 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7719         make floatlist_ a boost::shared_ptr<FloatList>
7720
7721         * lyxtextclass.C: include FloatList.h
7722         (LyXTextClass): initialize floatlist_
7723         (TextClassTags): add TC_NOFLOAT
7724         (Read): match "nofloat" to TC_NOFLOAT and use it.
7725         (readFloat): modify call to floatlist_
7726         (floats): ditto
7727         (floats): ditto
7728
7729         * FloatList.[Ch] (FloatList): remove commented out float
7730         initialization.
7731         (erase): new function
7732
7733 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7734
7735         * MenuBackend.C (expandToc): fix crash when there is no document
7736         open
7737
7738 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * many files: Add insetwrap.
7741
7742 2002-09-09  John Levon  <levon@movementarian.org>
7743
7744         * text2.C: remove confusing and awkward depth wraparound
7745
7746 2002-09-09  John Levon  <levon@movementarian.org>
7747
7748         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7749
7750         * buffer.h:
7751         * buffer.C: remove getIncludeonlyList()
7752
7753         * paragraph.C:
7754         * lyxfunc.C: remove headers
7755
7756 2002-09-09  Juergen Vigna  <jug@sad.it>
7757
7758         * text.C (getColumnNearX): fix form Michael this is most
7759         probably a cut&paste bug.
7760
7761 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7764
7765         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7766         references, ws changes.
7767
7768         * text2.C (init): update counters after init
7769         (insertParagraph): no need to set counter on idividual paragraphs.
7770         (setCounter): access the counters object in the textclass object
7771         on in the buffer object.
7772         (updateCounters): ditto
7773
7774         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7775         shared_ptr<Counters> to avoid loading counters.h in all
7776         compilation units.
7777         (LyXTextClass): initialize ctrs_
7778         (TextClassTags): add TC_COUNTER, and ...
7779         (Read): use it here.
7780         (CounterTags): new tags
7781         (readCounter): new function
7782         (counters): new funtion
7783         (defaultLayoutName): return a const reference
7784
7785         * counters.C (Counters): remove contructor
7786         (newCounter): remove a couple of unneeded statements.
7787         (newCounter): simplify a bit.
7788         (numberLabel): some small formatting changes.
7789
7790         * buffer.[Ch]: remove all traces of counters, move the Counters
7791         object to the LyXTextClass.
7792
7793 2002-09-06  Alain Castera  <castera@in2p3.fr>
7794
7795         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7796         package to set the horizontal alignment on fixed width columns.
7797
7798         * lyx_sty.C:
7799         * lyx_sty.h: added tabularnewline macro def.
7800
7801         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7802
7803 2002-09-06  John Levon  <levon@movementarian.org>
7804
7805         * LyXAction.C: tooltips for sub/superscript
7806
7807         * MenuBackend.C: a bit more verbose
7808
7809         * lyxfunc.C: tiny clean
7810
7811         * undo_funcs.C: document undo_frozen
7812
7813 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * counters.C (Counters): add missing algorithm counter.
7816
7817         * text2.C (setCounter): lookup the counter with layouts latexname
7818         instead of by section number.
7819         (setCounter): use a hackish way to lookup the correct enum
7820         counter.
7821         a float name->type change
7822         reset enum couners with counter name directly instead of depth value.
7823
7824         * counters.C (Counters): remove the push_backs, change to use the
7825         float type not the float name.
7826         (labelItem): remove unused string, float name->type change
7827
7828         * counters.h: don't include vector, loose the enums and sects vectors
7829
7830 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7833         (Read): add float->TC_FLOAT to textclassTags
7834         (Read): and handle it in the switch
7835         (readFloat): new function
7836
7837         * FloatList.C (FloatList): comment out the hardcoded float
7838         definitions.
7839
7840         * lyxlayout.h: ws change.
7841
7842 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7843
7844         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7845
7846 2002-09-03  Angus Leeming  <leeming@lyx.org>
7847
7848         * BufferView_pimpl.h: qualified name is not allowed in member
7849         declaration: WorkArea & Pimpl::workarea() const;
7850
7851         * factory.C: added using std::endl directive.
7852
7853         * text3.C: added using std::find and std::vector directives.
7854
7855 2002-08-29  André Pönitz <poenitz@gmx.net>
7856
7857         * lyxtext.h:
7858         * text2.C: remove unused member number_of_rows
7859
7860         * Makefile.am:
7861         * BufferView2.C: remove file, move contents to...
7862         * BufferView.C: ... here
7863
7864         * BufferView_pimpl.C:
7865         * factory.C: move more inset creation to factory
7866
7867         * vspace.C: avoid direct usage of LyXText, ws changes
7868
7869         * BufferView.[Ch]:
7870                 don't provide direct access to WorkArea, use two simple
7871                 acessors haveSelction() and workHeight() instead
7872
7873
7874 2002-08-29  John Levon  <levon@movementarian.org>
7875
7876         * BufferView_pimpl.C (dispatch): do not continue when
7877           no buffer
7878
7879 2002-08-28  André Pönitz <poenitz@gmx.net>
7880
7881         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7882
7883         * BufferView.h:
7884         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7885
7886 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7887
7888         * buffer.C: increment LYX_FORMAT to 221
7889
7890         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7891         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7892
7893         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7894
7895         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7896
7897 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * factory.C (createInset): use LyXTextClass::floats
7900
7901         * MenuBackend.C (expandFloatListInsert):
7902         (expandFloatInsert):
7903         (expandToc):
7904
7905         * text2.C (setCounter):
7906
7907         * LaTeXFeatures.C (useFloat):
7908         (getFloatDefinitions):
7909
7910         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7911
7912         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7913         floatlist_, with accessor floats().
7914
7915         * FloatList.h: remove global FloatList
7916
7917 2002-08-26  André Pönitz <poenitz@gmx.net>
7918
7919         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7920
7921         * BufferView.h:
7922         * BufferView2.C:
7923         * BufferView_pimpl.C:
7924         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7925
7926 2002-08-25  John Levon  <levon@movementarian.org>
7927
7928         * LyXAction.C: fix margin note description
7929
7930 2002-08-24  John Levon  <levon@movementarian.org>
7931
7932         * buffer.C:
7933         * bufferlist.C:
7934         * bufferview_funcs.C:
7935         * lyxfont.C:
7936         * undo_funcs.C: cleanups
7937
7938         * lyxfunc.C: disable CUT/COPY when no selection
7939
7940 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7941
7942         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7943         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7944
7945         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7946         Add backward compatibility to "mono", "gray" and "no".
7947
7948 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7949
7950         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7951         (and file_format >= 200).
7952
7953 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7956
7957 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7960
7961 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7962
7963         * BufferView_pimpl.C:
7964         * LyXAction.C:
7965         * buffer.C:
7966         * commandtags.h:
7967         * lyxfunc.C:
7968         * paragraph.[Ch]:
7969         * text2.C:
7970         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7971         inset and code to make it  work with the paragraph code. The inset
7972         can be anywhere in the paragraph, but will only do the expected
7973         thing in LaTeX if the layout file contains the parameter line
7974                         OptionalArgs    1
7975         (or more generally, a nonzero value) for that layout.
7976
7977 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * paragraph.h: remove the declaration of undefined counters class
7980         function.
7981
7982 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7983
7984         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7985         Dr. Richard Hawkins.
7986
7987 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7988
7989         * paragraph_funcs.h: remove some unneeded includes
7990
7991         * text.C (backspace): pasteParagraph now in global scipe
7992
7993         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7994         (pasteSelection): ditto
7995
7996         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7997         * paragraph_funcs.C (pasteParagraph): ... here
7998
7999 2002-08-20  André Pönitz <poenitz@gmx.net>
8000
8001         * commandtags.h: new LFUNs for swapping/copying table row/colums
8002
8003         * LyXAction.C:
8004         * lyxfunc.C: support for new lfuns
8005
8006 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * tabular.C:
8009         * buffer.[Ch]: remove NO_COMPABILITY stuff
8010
8011 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * boost.C (throw_exception): new file, with helper function for
8014         boost compiled without exceptions.
8015
8016         * paragraph.h:
8017         * lyxlength.C:
8018         * buffer.C:
8019         * ParameterStruct.h:
8020         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8021
8022         * bufferlist.C (emergencyWriteAll): use boost bind
8023
8024         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8025
8026         * text.C: include paragraph_funcs.h
8027         (breakParagraph): breakParagraph is now in global scope
8028
8029         * paragraph_funcs.[Ch]: new files
8030
8031         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8032         global scope
8033
8034         * buffer.C: include paragraph_funcs.h
8035         (insertStringAsLines): breakParagraph is now in global scope
8036
8037         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8038         paragraph_funcs.C
8039
8040         * CutAndPaste.C: include paragraph_funcs.h
8041         (cutSelection): breakParagraphConservative is now in global scope
8042         (pasteSelection): ditto
8043
8044         * buffer.h: declare oprator== and operator!= for
8045         Buffer::inset_iterator
8046
8047         * bufferlist.C (emergencyWrite): don't use fmt(...)
8048
8049         * text3.C: add using std::endl
8050
8051         * BufferView.C (moveCursorUpdate): remove default arg
8052
8053 2002-08-20  André Pönitz <poenitz@gmx.net>
8054
8055         * buffer.[Ch]: move inline functions to .C
8056
8057         * BufferView2.C:
8058         * BufferView_pimpl.C:
8059         * text.C:
8060         * buffer.[Ch]: use improved inset_iterator
8061
8062         * buffer.C:
8063         * paragraph.[Ch]: write one paragraph at a time
8064
8065 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8068         style if style is not specified.
8069
8070 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8071
8072         * text2.C (setCounter): when searching for right label for a
8073         caption, make sure to recurse to parent insets (so that a caption
8074         in a minipage in a figure float works) (bug #568)
8075
8076 2002-08-20  André Pönitz <poenitz@gmx.net>
8077
8078         * text3.C: new file for LyXText::dispatch() and helpers
8079
8080         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8081
8082         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8083
8084 2002-08-19  André Pönitz <poenitz@gmx.net>
8085
8086         * lyxtext.h:
8087         * text.C: new LyXText::dispatch()
8088
8089         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8090
8091 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8092
8093         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8094
8095         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8096         Hebrew text.
8097
8098 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * Makefile.am: use $(variables) instead of @substitutions@
8101
8102 2002-08-15  André Pönitz <poenitz@gmx.net>
8103
8104         * lyxfunc.C:
8105         * BufferView_pimpl.C: streamlining mathed <-> outer world
8106         interaction
8107
8108         * commandtags.h:
8109         * LyXAction.C: remove unused LFUN_MATH
8110
8111 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8114
8115 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * paragraph.C (Paragraph): reformat a bit
8118         (cutIntoMinibuffer): use builtin InsetList function instad of
8119         doing it manually.
8120         (getInset): ditto
8121
8122         * buffer.C: include boost/bind.hpp, add using std::for_each
8123         (writeFileAscii): use ParagraphList iterators
8124         (validate): use for_each for validate traversal of paragraphs
8125         (getBibkeyList): use ParagraphList iterators
8126         (resizeInsets): use for_each to resizeInsetsLyXText for all
8127         paragraphs.
8128         (getParFromID): use ParagraphList iterators
8129
8130         * BufferView2.C (lockInset): use paragraph list and iterators
8131
8132 2002-08-14  John Levon  <levon@movementarian.org>
8133
8134         * lyxserver.C: remove spurious xforms include
8135
8136 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8137
8138         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8139
8140 2002-08-13  André Pönitz <poenitz@gmx.net>
8141
8142         * LyXAction.[Ch]:
8143         * lyxfunc.C: further cleaning
8144
8145 2002-08-13  André Pönitz <poenitz@gmx.net>
8146
8147         * funcrequest.h: new constructor
8148
8149         * funcrequest.C: move stuff here from .h
8150
8151         * Makefile.am:
8152         * BufferView_pimpl.C:
8153         * LyXAction.C:
8154         * toc.C:
8155         * lyxfunc.C: subsequent changes
8156
8157         * lyxfunc.h: new view() member function
8158
8159         * lyxfunc.C: subsequent changes
8160
8161 2002-08-13  Angus Leeming  <leeming@lyx.org>
8162
8163         * BufferView2.C:
8164         * BufferView_pimpl.C:
8165         * buffer.C:
8166         * converter.C:
8167         * importer.C:
8168         * lyxfunc.C:
8169         * lyxvc.C:
8170         * toc.C:
8171         * vc-backend.C:
8172         changes due to the changed LyXView interface that now returns references
8173         to member variables not pointers.
8174
8175 2002-08-13  Angus Leeming  <leeming@lyx.org>
8176
8177         * WordLangTuple (word, lang_code): return references to strings,
8178         not strings.
8179
8180         * BufferView.h:
8181         * SpellBase.h:
8182         * lyxtext.h: forward-declare WordLangTuple.
8183
8184         * BufferView2.C:
8185         * ispell.C:
8186         * pspell.C:
8187         * text.C: #include "WordLangTuple.h".
8188
8189         * lyxtext.h:
8190         * text.C: (selectNextWordToSpellcheck): constify return type.
8191
8192 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8193
8194         * buffer.C:
8195         * buffer.h:
8196         * lyxtext.h:
8197         * paragraph.C:
8198         * paragraph_pimpl.h:
8199         * text.C:
8200         * text2.C:
8201         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8202         suggested by Angus.
8203         Made updateCounter always count from start of buffer, and removed
8204         second argument (par).
8205         Reverted floats number display to '#'. Perhaps I'll try again when the
8206         code base is sanitized a bit.
8207
8208 2002-08-12  Angus Leeming  <leeming@lyx.org>
8209
8210         * buffer.[Ch] (getLabelList): constify.
8211
8212 2002-08-07  André Pönitz <poenitz@gmx.net>
8213
8214         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8215
8216         * funcrequest.h: extension to keep mouse (x,y) position
8217
8218 2002-08-12  Juergen Vigna  <jug@sad.it>
8219
8220         * BufferView2.C (insertErrors): forbid undo when inserting error
8221         insets.
8222
8223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8224
8225 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * ParagraphList.[Ch]: new files
8228
8229         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8230
8231         * BufferView2.C (lockInset): ParagraphList changes
8232         * toc.C: ditto
8233         * text2.C: ditto
8234         * bufferlist.C: ditto
8235         * buffer.h: ditto
8236         * buffer.C: ditto
8237
8238 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8241         unused class variable counter_,
8242
8243         * paragraph.[Ch] (getFirstCounter): delete unused function
8244
8245         * counters.C: include LAssert.h
8246         (reset): add a new function with no arg, change other version to
8247         not have def. arg and to not allow empty arg.
8248
8249         * text2.C (setCounter): remove empty arg from call to Counters::reset
8250
8251 2002-08-11  John Levon  <levon@movementarian.org>
8252
8253         * Makefile.am: add WordLangTuple.h
8254
8255 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8258         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8259
8260         * insets/insettext.C: InsetList changes
8261
8262         * graphics/GraphicsSupport.C (operator()): InsetList changes
8263
8264         * toc.C (getTocList): InsetList changes
8265
8266         * paragraph_pimpl.[Ch]: InsetList changes
8267
8268         * paragraph.[Ch]: InsetList changes
8269
8270         * buffer.C (inset_iterator): InsetList changes
8271         (setParagraph): ditto
8272         * buffer.h (inset_iterator): ditto
8273         * iterators.C (operator++): ditto
8274         * iterators.h: ditto
8275
8276         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8277
8278         * InsetList.[Ch]: new files, most InsetList handling moved out of
8279         paragraph.C.
8280
8281         * BufferView2.C (removeAutoInsets): InsetList changes
8282         (lockInset): ditto
8283         (ChangeInsets): ditto
8284
8285 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * paragraph_pimpl.h (empty): new function
8288
8289         * paragraph.[Ch] (empty): new function
8290
8291         * other files: use the new Paragraph::empty function
8292
8293 2002-08-09  John Levon  <levon@movementarian.org>
8294
8295         * lyxtext.h: remove unused refresh_height
8296
8297 2002-08-09  John Levon  <levon@movementarian.org>
8298
8299         * Makefile.am:
8300         * sgml.h:
8301         * sgml.C:
8302         * buffer.C:
8303         * paragraph.h:
8304         * paragraph.C: move sgml char escaping out of paragraph
8305
8306         * paragraph.h:
8307         * paragraph.C: remove id setter
8308
8309         * buffer.C:
8310         * paragraph.C:
8311         * paragraph_pimpl.C: remove dead tex_code_break_column
8312
8313         * bufferview_funcs.C: small cleanup
8314
8315         * lyxfunc.C: remove dead proto
8316
8317         * lyxtext.h: make some stuff private. Remove some dead stuff.
8318
8319         * lyxgluelength.C: make as[LyX]String() readable
8320
8321 2002-08-08  John Levon  <levon@movementarian.org>
8322
8323         * LyXAction.h:
8324         * LyXAction.C:
8325         * MenuBackend.C:
8326         * ToolbarDefaults.C:
8327         * lyxfunc.C:
8328         * lyxrc.C:
8329         * toc.C: lyxaction cleanup
8330
8331 2002-08-08  John Levon  <levon@movementarian.org>
8332
8333         * BufferView2.C: small cleanup
8334
8335         * lyxfind.h:
8336         * lyxfind.C: move unnecessary header into the .C
8337
8338 2002-08-08  John Levon  <levon@movementarian.org>
8339
8340         * funcrequest.h: just tedious nonsense
8341
8342         * lyx_main.h:
8343         * lyx_main.C: cleanups
8344
8345         * buffer.C:
8346         * vspace.C: remove dead header lyx_main.h
8347
8348 2002-08-07  Angus Leeming  <leeming@lyx.org>
8349
8350         * Paragraph.[Ch]:
8351         * paragraph_pimpl.h:
8352         Forward declare class Counters in paragraph.h by moving the ctrs member
8353         variable into Paragraph::Pimpl.
8354         (counters): new method, returning a reference to pimpl_->ctrs.
8355
8356         * text2.C: ensuing changes.
8357
8358 2002-08-07  John Levon  <levon@movementarian.org>
8359
8360         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8361
8362         * BufferView_pimpl.C: announce X selection on double/triple
8363           click
8364
8365         * lyx_main.C: use correct bool in batch dispatch
8366
8367         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8368
8369 2002-08-07  André Pönitz <poenitz@gmx.net>
8370
8371         * funcrequest.h: new class to wrap a kb_action and its argument
8372
8373         * BufferView.[Ch]:
8374         * BufferView_pimpl[Ch]:
8375         * LaTeX.C:
8376         * LyXAction.[Ch]:
8377         * lyxfunc.[Ch]:
8378         * lyxrc.C: subsequent changes
8379
8380
8381 2002-08-07  John Levon  <levon@movementarian.org>
8382
8383         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8384           document options change.
8385
8386 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8387
8388         * counters.[Ch]
8389         * text2.C
8390         * paragraph.[Ch]
8391         * makefile.am: move counters functionality over from
8392         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8393
8394 2002-08-06  John Levon  <levon@movementarian.org>
8395
8396         * WordLangTuple.h: new file for word + language code tuple
8397
8398         * SpellBase.h:
8399         * pspell.h:
8400         * pspell.C:
8401         * ispell.h:
8402         * ispell.C:
8403         * lyxtext.h:
8404         * text.C:
8405         * text2.C:
8406         * BufferView.h:
8407         * BufferView2.C: use WordLangTuple
8408
8409         * layout.h:
8410         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8411
8412 2002-08-06  John Levon  <levon@movementarian.org>
8413
8414         * lyx_main.C: fix cmdline batch handling
8415
8416 2002-08-06  André Pönitz <poenitz@gmx.net>
8417
8418         * lyxrc.C: set default for show_banner to true
8419
8420 2002-08-06  John Levon  <levon@movementarian.org>
8421
8422         * pspell.C: fix a crash, and allow new aspell to work
8423
8424 2002-08-06  John Levon  <levon@movementarian.org>
8425
8426         * lyxfunc.C:
8427         * kbmap.C: small cleanup
8428
8429         * vspace.h:
8430         * vspace.C: add const
8431
8432 2002-08-05  John Levon  <levon@movementarian.org>
8433
8434         * LyXAction.C: back to tabular-insert
8435
8436 2002-08-04  John Levon  <levon@movementarian.org>
8437
8438         * BufferView.h:
8439         * BufferView.C: cosmetic change
8440
8441         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8442
8443         * bufferlist.C:
8444         * buffer.h:
8445         * buffer.C:
8446         * lyxcb.h:
8447         * lyxcb.C:
8448         * lyxserver.C:
8449         * lyxvc.C:
8450         * vc-backend.C:
8451         * BufferView2.C: purge all "Lyx" not "LyX" strings
8452
8453         * lyxcursor.h:
8454         * lyxcursor.C: attempt to add some documentation
8455
8456         * lyxfunc.C:
8457         * commandtags.h:
8458         * LyXAction.C:
8459         * ToolbarDefaults.C:
8460         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8461           merge with LFUN_TABULAR_INSERT
8462
8463         * Makefile.am:
8464         * SpellBase.h:
8465         * ispell.h:
8466         * ispell.C:
8467         * pspell.h:
8468         * pspell.C: split up i/pspell implementations into separate
8469           files, many cleanups
8470
8471         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8472
8473         * text2.C: some cleanup
8474
8475         * lyxfunc.C: don't check for isp_command == "none" any more, it
8476           didn't make any sense
8477
8478 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8479
8480         * counters.[Ch]
8481         * text2.C
8482         * paragraph.[Ch]
8483         * makefile.am: move counters functionality over
8484         from text2.C/paragraph.[Ch] to counters.[Ch], and
8485         make proper C++.
8486 2002-08-02  John Levon  <levon@movementarian.org>
8487
8488         * buffer.C: s/lyxconvert/lyx2lyx/
8489
8490 2002-08-02  Angus Leeming  <leeming@lyx.org>
8491
8492         * lyxlex.C: revert John's change as it breaks reading of the user
8493         preamble.
8494
8495 2002-08-02  Angus Leeming  <leeming@lyx.org>
8496
8497         * importer.C (Import):
8498         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8499         changes due to LyXView::view() now returning a boost::shared_ptr.
8500
8501 2002-08-02  John Levon  <levon@movementarian.org>
8502
8503         * lyxlex.C: small cleanup
8504
8505 2002-08-02  John Levon  <levon@movementarian.org>
8506
8507         * text2.C (status): small cleanup, no logic change
8508
8509 2002-08-01  John Levon  <levon@movementarian.org>
8510
8511         * buffer.h:
8512         * buffer.C (writeFile): don't output alerts, caller
8513           handles this
8514
8515         * bufferlist.C:
8516         * lyx_cb.C: from above
8517
8518         * lyxfunc.C: allow to open non-existent files
8519
8520 2002-07-31  John Levon  <levon@movementarian.org>
8521
8522         * lyxserver.C: don't let incidental errors get
8523           in the way (errno)
8524
8525 2002-07-30  John Levon  <levon@movementarian.org>
8526
8527         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8528
8529 2002-07-30  John Levon  <levon@movementarian.org>
8530
8531         * lyxserver.h:
8532         * lyxserver.C: remove I/O callback too
8533
8534 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8537         log.
8538
8539 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * many files: strip,frontStrip -> trim,ltrim,rtrim
8542
8543 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * PrinterParams.h: remove extern containsOnly, and include
8546         support/lstrings.h instead.
8547
8548         * LaTeX.C (scanAuxFile): modify because of strip changes
8549         (deplog): ditto
8550         * buffer.C (makeLaTeXFile): ditto
8551         * bufferparams.C (writeFile): ditt
8552         * lyxfont.C (stateText): ditto
8553         * lyxserver.C (read_ready): ditto
8554         * vc-backend.C (scanMaster): ditto
8555
8556         * BufferView_pimpl.h: ws changes
8557
8558         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8559
8560 2002-07-26  André Pönitz <poenitz@gmx.net>
8561
8562         * kb_sequence.C: remove unnedred usings
8563
8564 2002-07-26  Juergen Vigna  <jug@sad.it>
8565
8566         * lyxfind.C (LyXReplace): we have to check better if the returned
8567         text is not of theLockingInset()->getLockingInset().
8568
8569 2002-07-25  Juergen Vigna  <jug@sad.it>
8570
8571         * lyxfind.C (LyXReplace): don't replace if we don't get the
8572         right LyXText.
8573
8574         * undo_funcs.C (createUndo): remove debugging code.
8575
8576 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8577
8578         * buffer.C (parseSingleLyXformat2Token): Use default placement
8579         when reading old floats.
8580
8581         * FloatList.C (FloatList): Change the default placement of figure
8582         and tables to "tbp".
8583
8584 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * MenuBackend.C: using std::max
8587
8588 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8589
8590         * MenuBackend.C (expandToc):
8591         (expandToc2): code moved from xforms menu frontend. It is now
8592         generic and TOCs are transparent to menu frontends.
8593
8594 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8595
8596         * toc.C (getTocList): protect against buf=0
8597
8598         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8599         Menu as first parameter. Now, this calls itself recursively to
8600         expand a whole tree (this will be useful for TOC handling)
8601         (expandFloatInsert): remove 'wide' version of floats
8602
8603         * MenuBackend.h (submenuname): returns the name of the submenu.
8604         (submenu): returns the submenu itself, provided it has been
8605         created by MenuBackend::expand
8606
8607 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8608
8609         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8610         insets which have noFontChange == true. (bug #172)
8611
8612 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8613
8614         * BufferView_pimpl.C: add connection objects and use them...
8615         (Pimpl): here.
8616
8617 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8618
8619         * MenuBackend.C (expandLastfiles):
8620         (expandDocuments):
8621         (expandFormats):
8622         (expandFloatListInsert):
8623         (expandFloatInsert):
8624         (expand): split expand in parts
8625
8626 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8627
8628         * lyx_gui.C: use lyx_gui::exit()
8629
8630 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8631
8632         * LyXAction.C: show the failing pseudo action
8633
8634 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8635
8636         * buffer.C (readFile): Run the lyxconvert script in order to read
8637         old files.
8638
8639 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * LyXAction.C:
8642         * commandtags.h:
8643         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8644
8645 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * LyXAction.C:
8648         * commandtags.h:
8649         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8650
8651 2002-07-22  Herbert Voss  <voss@lyx.org>
8652
8653         * lengthcommon.C:
8654         * lyxlength.[Ch]: add support for the vertical lengths
8655
8656 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * toc.[Ch]: std:: fixes
8659
8660 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8661
8662         * lyxrc.C: do not include lyx_main.h
8663
8664         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8665         for layouts
8666
8667         * lyxrc.C:
8668         * encoding.C:
8669         * bufferlist.C:
8670         * BufferView2.C: include "lyxlex.h"
8671
8672         * tabular.h:
8673         * bufferparams.h: do not #include "lyxlex.h"
8674
8675         * lyxtextclasslist.C (Add): remove method
8676         (classlist): renamed to classlist_
8677
8678         * paragraph_pimpl.C:
8679         * paragraph.C:
8680         * text2.C:
8681         * CutAndPaste.C:
8682         * bufferview_funcs.C:
8683         * bufferlist.C:
8684         * text.C:
8685         * LaTeXFeatures.C:
8686         * buffer.C:
8687         * toc.C (getTocList): use BufferParams::getLyXTextClass
8688
8689         * toc.C (getTocList): use InsetFloat::addToToc
8690
8691         * toc.[Ch]: new files, containing helper functions to handle table
8692         of contents
8693
8694         * lyxfunc.C (dispatch): no need to remove spaces around command
8695         given as a string
8696         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8697         first command of the sequence; it is not very clever, but I do not
8698         have a better idea, actually
8699
8700         * LyXAction.C (LookupFunc): make sure to remove space at the
8701         beginning and end of the command
8702
8703 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * MenuBackend.C (getMenubar): new method: return the menubar of
8706         this menu set
8707         (read): treat differently reading of menu and menubar (in
8708         particular, the menubar has no name now)
8709         (Menu::menubar): remove
8710
8711         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8712         saving is finished
8713
8714 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8715
8716         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8717         a bibitem inset in a RTL paragraph.
8718
8719 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * paragraph_pimpl.C: constify
8722
8723         * BufferView_pimpl.C:
8724         * LaTeX.C:
8725         * lyxfunc.C: fix dispatch in a nicer way
8726
8727 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8728
8729         * lyxfunc.C (dispatch):
8730         * BufferView_pimpl.C:
8731         * BufferView_pimpl.h:
8732         * BufferView.C:
8733         * BufferView.h: rename Dispatch() to dispatch()
8734
8735         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8736
8737         * lyxlayout.C (Read): honor DependsOn tag
8738
8739         * lyxlayout.[Ch] (depends_on): new method
8740
8741         * version.C.in: update lyx_docversion
8742
8743         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8744
8745         * paragraph.C (validate): remove from here...
8746         * paragraph_pimpl.C (validate): ... and move here
8747         (isTextAt): make it const
8748
8749         * buffer.C (getLists): ws cleanup
8750
8751 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8752
8753         * language.C (read): Use iso8859-1 encoding in latex_lang
8754         (this prevents LyX from crashing when using iso10646-1 encoding).
8755
8756 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * text2.C (toggleInset): if cursor is inside an inset, close the
8759         inset and leave cursor _after_ it
8760
8761 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * lyxfunc.C: move minibuffer completion handling out of here
8764
8765 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView_pimpl.C:
8768         * LaTeX.C: fix dispatch calls
8769
8770 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8771
8772         * text.C (drawChars): Fix Arabic text rendering.
8773
8774 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8775
8776         * LyXAction.C:
8777         * commandtags.h:
8778         * lyxfunc.C: remove message-push/pop
8779
8780         * lyxserver.C:
8781         * lyxfunc.h:
8782         * lyxfunc.C: rationalise some code by removing verboseDispatch
8783           in favour of a bool argument to dispatch()
8784
8785 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * lyx_main.C (init): make sure to read symlinks as absolute paths
8788
8789 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * lyxfunc.h:
8792         * lyxfunc.C: no need for commandshortcut to be a member
8793
8794 2002-07-15  André Pönitz <poenitz@gmx.net>
8795
8796         * converter.C: add support for $$s (scripts from lib/scripts dir)
8797         * lyx_main.C: white space
8798
8799 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * bufferlist.C:
8802         * lyxrc.h:
8803         * lyxrc.C: remove second exit confirmation
8804
8805 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8806
8807         * BufferView.h:
8808         * BufferView.C:
8809         * BufferView2.C:
8810         * BufferView_pimpl.h:
8811         * BufferView_pimpl.C:
8812         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8813
8814 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * MenuBackend.C (expand): add numeric shortcuts to document menu
8817
8818         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8819
8820 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8821
8822         * lyxfont.C (setLyXFamily):
8823         (setLyXSeries):
8824         (setLyXShape):
8825         (setLyXSize):
8826         (setLyXMisc):
8827         (lyxRead):
8828         * debug.C (value):
8829         * buffer.C (asciiParagraph): use ascii_lowercase
8830
8831 2002-07-15  Mike Fabian  <mfabian@suse.de>
8832
8833         * lyxlex_pimpl.C (search_kw):
8834         * lyxlex.C (getLongString):
8835         * converter.h (operator<):
8836         * converter.C (operator<):
8837         * buffer.C (parseSingleLyXformat2Token):
8838         (asciiParagraph):
8839         * ToolbarDefaults.C (read):
8840         * MenuBackend.C (checkShortcuts):
8841         (read):
8842         * LColor.C (getFromGUIName):
8843         (getFromLyXName): use the compare_ascii_no_case instead of
8844         compare_no_case, because in turkish, 'i' is not the lowercase
8845         version of 'I', and thus turkish locale breaks parsing of tags.
8846
8847 2002-07-16  Angus Leeming  <leeming@lyx.org>
8848
8849         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8850         now takes a Buffer const & argument.
8851
8852 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * BufferView.C (resize): check there's a buffer to resize
8855
8856 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * lyxfunc.C: remove dead code
8859
8860         * lyxserver.h:
8861         * lyxserver.C: use lyx_guii::set_read_callback
8862
8863 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8864
8865         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8866         an inset in a RTL paragraph.
8867
8868 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8869
8870         * lyxfunc.C: repaint after a font size update
8871
8872 2002-07-15  André Pönitz <poenitz@gmx.net>
8873
8874         * lyxlength.C: inBP should be able to return negative values
8875
8876 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8877
8878         * lyxfunc.C: use lyx_gui::update_fonts()
8879
8880 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8881
8882         * lyxfunc.C: use lyx_gui::update_color()
8883
8884 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * bufferlist.C:
8887         * lyxfunc.h:
8888         * lyxfunc.C:
8889         * lyxrc.h:
8890         * lyxrc.C: remove file->new asks for name option, and let
8891           buffer-new take an argument
8892
8893 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * BufferView_pimpl.C: remove unneeded extra repaint()
8896
8897 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * LyXAction.C: allow command-sequence with NoBuffer
8900
8901         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8902
8903 2002-07-10  Angus Leeming  <leeming@lyx.org>
8904
8905         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8906
8907 2002-07-09  Angus Leeming  <leeming@lyx.org>
8908
8909         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8910
8911 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * lengthcommon.h: whitespace
8914
8915         * lyxfunc.C: update scrollbar after goto paragraph
8916
8917         * lyxtext.h: factor out page break drawing, and fix it so
8918           page break/added space paints as selected nicely
8919
8920 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * BufferView_pimpl.C: add FIXMEs, clean up a little
8923
8924 2002-07-09  André Pönitz <poenitz@gmx.net>
8925
8926         * lyxfont.[Ch]: support for wasy symbols
8927
8928 2002-07-08  André Pönitz <poenitz@gmx.net>
8929
8930         * BufferView_pimpl.C: apply John's patch for #93.
8931
8932 2002-07-05  Angus Leeming  <leeming@lyx.org>
8933
8934         * BufferView_pimpl.C (buffer): generate previews if desired.
8935
8936         * LColor.h: add "preview" to the color enum.
8937
8938         * LColor.C (LColor): add a corresponding entry to the items array.
8939
8940         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8941         with this buffer.
8942
8943 2002-07-05  Angus Leeming  <leeming@lyx.org>
8944
8945         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8946         The body of the code is now in the method that is passed an ostream &
8947         rather than a file name.
8948         Pass an additional only_preamble parameter, useful for the forthcoming
8949         preview stuff.
8950
8951 2002-07-03  André Pönitz <poenitz@gmx.net>
8952
8953         * lyxfunc.C: simplify getStatus() a bit for math stuff
8954
8955 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8956
8957         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8958
8959 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * text.C (changeRegionCase): do not change case of all the
8962         document when region ends at paragraph end (bug #461)
8963
8964 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * paragraph.C (startTeXParParams):
8967         (endTeXParParams): add \protect when necessary
8968
8969 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8970
8971         * BufferView_pimpl.C (workAreaExpose): remove warning
8972
8973 2002-06-27  Angus Leeming  <leeming@lyx.org>
8974
8975         * Makefile.am: add lyxlayout_ptr_fwd.h.
8976
8977 2002-06-26  André Pönitz <poenitz@gmx.net>
8978
8979         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8980
8981 2002-06-25  Angus Leeming  <leeming@lyx.org>
8982
8983         * lyxfunc.C (dispatch): Comment out the call to
8984         grfx::GCache::changeDisplay. The method no longer exists now that the
8985         pixmap generation part of the graphics loader has been moved into
8986         InsetGraphics.
8987
8988 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * text2.C: layout as layout
8991
8992         * text.C: layout as layout
8993
8994         * tabular.C (OldFormatRead): layout as layout
8995
8996         * paragraph_pimpl.C (TeXDeeper): layout as layout
8997         (realizeFont): layout as layout
8998
8999         * paragraph.C (writeFile): layout as layout
9000         (validate): layout as layout
9001         (getFont): layout as layout
9002         (getLabelFont): layout as layout
9003         (getLayoutFont): layout as layout
9004         (breakParagraph): layout as layout
9005         (stripLeadingSpaces): layout as layout
9006         (getEndLabel): layout as layout
9007         (getMaxDepthAfter): layout as layout
9008         (applyLayout): layout as layout
9009         (TeXOnePar): layout as layout
9010         (simpleTeXOnePar): layout as layout
9011         (TeXEnvironment): layout as layout
9012         (layout): layout as layout
9013         (layout): layout as layout
9014
9015         * lyxtextclass.C (compare_name): new functor to work with
9016         shared_ptr, layout as layout
9017         (Read): layout as layout
9018         (hasLayout): layout as layout
9019         (operator): layout as layout
9020         (delete_layout): layout as layout
9021         (defaultLayout): layout as layout
9022
9023         * lyxlayout_ptr_fwd.h: new file
9024
9025         * lyxlayout.C (Read): layout as layout
9026
9027         * lyx_cb.C (MenuInsertLabel): layout as layout
9028
9029         * bufferlist.C (newFile): layout as layout
9030
9031         * buffer.C (readLyXformat2): layout as layout
9032         (parseSingleLyXformat2Token): layout as layout
9033         (insertStringAsLines): layout as layout
9034         (asciiParagraph): layout as layout
9035         (latexParagraphs): layout as layout
9036         (makeLinuxDocFile): layout as layout
9037         (simpleLinuxDocOnePar): layout as layout
9038         (makeDocBookFile): layout as layout
9039         (simpleDocBookOnePar): layout as layout
9040         (getLists): layout as layout
9041
9042         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9043
9044         * CutAndPaste.C (cutSelection): layout as layout
9045         (pasteSelection): layout as layout
9046         (SwitchLayoutsBetweenClasses): layout as layout
9047
9048         * BufferView_pimpl.C (Dispatch): layout as layout
9049         (smartQuote): layout as layout
9050
9051         * BufferView2.C (unlockInset): layout as layout
9052
9053 2002-06-24  André Pönitz <poenitz@gmx.net>
9054
9055         * lyxfunc.C: fix #487
9056
9057 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * lyxrc.h:
9060         * lyxrc.C:
9061         * lyxfunc.C: remove display_shortcuts, show_banner
9062
9063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * Buffer_pimpl.C: oops, update on resize
9066
9067 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * buffer.C:
9070         * converter.C:
9071         * exporter.C:
9072         * lyxfunc.C:
9073         * BufferView.h:
9074         * BufferView.C: use repaint()
9075
9076         * BufferView_pimpl.h:
9077         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9078           as it's a clearer description. Remove superfluous
9079           redraws.
9080
9081 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * text.C: fix bug 488. Not ideal, but getting
9084           getWord() to work properly for the insets that
9085           matter is more difficult ...
9086
9087 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * BufferView_pimpl.C:
9090         * LyXAction.C:
9091         * commandtags.h:
9092         * lyxfunc.C: remove the six million index lyxfuncs to just
9093           one, and DTRT (bug 458)
9094
9095 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * BufferView.h:
9098         * BufferView.C:
9099         * BufferView_pimpl.h:
9100         * BufferView_pimpl.C: clean up resize() stuff,
9101           and unnecessary updateScreen()s
9102
9103 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * BufferView.h:
9106         * BufferView.C:
9107         * BufferView_pimpl.h:
9108         * BufferView_pimpl.C:
9109         * lyxfind.h:
9110         * lyxfind.C:
9111         * minibuffer.C: remove focus management of workarea,
9112           not needed. Use screen's greyOut()
9113
9114 2002-06-17  Herbert Voss  <voss@lyx.org>
9115
9116         * converter.C: (convert) do not post a message, when converting
9117         fails, let the calling function decide what to do in this case
9118
9119 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * lyxfunc.C: tidy up a little
9122
9123 2002-06-16    <alstrup@diku.dk>
9124
9125         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9126         Got rid of FORMS_H_LOCATION include. Now we are
9127         GUII.
9128
9129 2002-06-15  LyX Development team  <lyx@rilke>
9130
9131         * buffer.[Ch] (sgmlOpenTag):
9132         (sgmlCloseTag): Added support for avoiding pernicious mixed
9133         content. Return number of lines written.
9134
9135         (makeLinuxDocFile):
9136         (makeDocBookFile): Fixed calls to sgml*Tag.
9137         Simple white space clean.
9138
9139         (simpleDocBookOnePar): Simple white space clean.
9140
9141         * tabular.[Ch] (docBook): Renamed to docbook and got another
9142         argument to related with the pernicious mixed content.
9143
9144         (docbookRow): Fixed calls for docbook inset method.
9145
9146 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9147
9148         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9149         so it's X11 independent.
9150
9151         * kb*.[Ch]: ditto.
9152
9153         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9154
9155 2002-06-15  Lyx Development team  <lyx@electronia>
9156
9157         * intl.h: Renamed getTrans to getTransManager.
9158
9159 2002-06-14  Angus Leeming  <leeming@lyx.org>
9160
9161         * Makefile.am: nuke forgotten stl_string_fwd.h.
9162
9163 2002-06-12  Angus Leeming  <leeming@lyx.org>
9164
9165         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9166
9167 2002-06-13  Angus Leeming  <leeming@lyx.org>
9168
9169         * LaTeX.C:
9170         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9171
9172 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9173
9174         * kbmap.C (getiso): add support for cyrillic and greek
9175
9176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9177
9178         * BufferView.h:
9179         * BufferView.C:
9180         * BufferView_pimpl.h:
9181         * BufferView_pimpl.C: move bogus scrolling logic
9182           to xforms
9183
9184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * lyxfunc.C:
9187         * BufferView_pimpl.C: view->resize() change
9188
9189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * BufferView_pimpl.C: topCursorVisible
9192           prototype change
9193
9194 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9195
9196         * Makefile.am:
9197         * lyx_gui.h:
9198         * lyx_gui.C: move to frontends/
9199
9200         * main.C:
9201         * lyx_main.h:
9202         * lyx_main.C: changes from above
9203
9204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * intl.C:
9207         * intl.h:
9208         * kbmap.C:
9209         * kbsequence.C:
9210         * lyx_cb.C:
9211         * lyx_main.C: minor tidy
9212
9213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * BufferView_pimpl.h:
9216         * BufferView_pimpl.C:
9217         * BufferView.h:
9218         * BufferView.C: make painter() const,
9219           remove dead code
9220
9221         * BufferView2.C: use screen() accessor
9222
9223         * lyx_main.h:
9224         * lyx_main.C: some minor cleanup
9225
9226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * BufferView_pimpl.h:
9229         * BufferView_pimpl.C: remove enter/leaveView,
9230           use workHeight()
9231
9232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9233
9234         * BufferView.h:
9235         * BufferView.C:
9236         * BufferView2.C:
9237         * BufferView_pimpl.h:
9238         * BufferView_pimpl.C: only construct screen once,
9239           rename
9240
9241         * lyxrc.C: remove pointless comment
9242
9243 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9244
9245         * BufferView.h:
9246         * BufferView.C: remove active() and belowMouse()
9247
9248         * BufferView_pimpl.h:
9249         * BufferView_pimpl.C: use workarea() not workarea_,
9250           and make it use a scoped_ptr instead
9251
9252 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * lyx_gui.C: add debug message on BadWindow
9255
9256 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * sp_spell.C: fdopen is not part of the C++ standard.
9259
9260         * paragraph.C (InsetIterator): use >= instead of ==
9261
9262 2002-06-07  Angus Leeming  <leeming@lyx.org>
9263
9264         Fixes needed to compile with Compaq cxx 6.5.
9265         * BufferView_pimpl.C:
9266         * DepTable.C:
9267         * buffer.C:
9268         * converter.C:
9269         * encoding.C:
9270         * lyx_gui.C:
9271         * lyx_main.C:
9272         * lyxtextclasslist.C:
9273         * minibuffer.C:
9274         * sp_spell.C:
9275         * tabular_funcs.C:
9276         * vc-backend.C:
9277         all c-library variables have been moved into namespace std. Wrap
9278         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9279
9280         * lyxlength.C:
9281         * tabular-old.C:
9282         * tabular.C:
9283         Add a using std::abs declaration.
9284
9285         * kbmap.h (modifier_pair):
9286         * paragraph.h (InsetTable, InsetList):
9287         * lyxfont.h (FontBits):
9288         type definition made public.
9289
9290         * bufferlist.C (emergencyWriteAll): the compiler complains that
9291         there is more than one possible lyx::class_fun template to choose from.
9292         I re-named the void specialisation as lyx::void_class_fun.
9293
9294         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9295
9296         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9297         the compiler is is unable to find tostr in write_attribute.
9298
9299 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9300
9301         * buffer.C (sgmlError): hide #warning
9302
9303 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9304
9305         * xtl/*: get rid of xtl, which is not in use anyway
9306
9307         * LyXAction.C (init):
9308         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9309         were unimplemented xtl experimentation
9310
9311 2002-06-04  André Pönitz <poenitz@gmx.net>
9312
9313         * lyxfunc.C: disable array operation on simple formulae
9314
9315 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * converter.C: constify a bit
9318
9319 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * lyx_gui.C: check xforms version correctly
9322
9323 2002-04-30  Herbert Voss  <voss@lyx.org>
9324
9325         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9326         "keep" option
9327
9328 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9329
9330         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9331           attempt to register it with a VCS)
9332
9333 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * lyx_main.C (init): honor variables LYX_DIR_13x and
9336         LYX_USERDIR_13x
9337
9338 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * buffer.h:
9341         * buffer.C:
9342         * lyx_main.C: fix a crash on bad command line,
9343           and give a useful exit status on error
9344
9345         * lyxfunc.C (doImport): allow -i lyx to work
9346
9347 2002-03-30  André Pönitz <poenitz@gmx.net>
9348
9349         * lyxfunc.C: mathed font changes
9350
9351 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * LaTeX.C:
9354         * importer.h:
9355         * importer.C:
9356         * lyx_sty.h:
9357         * lyx_sty.C:
9358         * lyxlex.C:
9359         * lyxrow.h:
9360         * lyxtext.h:
9361         * paragraph.h:
9362         * paragraph.C:
9363         * texrow.h:
9364         * texrow.C:
9365         * text.C:
9366         * trans_mgr.h: srcdocs, and some minor cleanups
9367
9368 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9371         call getFont all the time)
9372
9373 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9374
9375         * switch from SigC signals to boost::signals
9376
9377 2002-05-29  André Pönitz <poenitz@gmx.net>
9378
9379         * paragraph_pimpl.C (getChar): don't call size() too often...
9380
9381 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9382
9383         * paragraph_pimpl.C (insertChar): do not try to update tables when
9384         appending (pos == size())
9385
9386         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9387         in order to reduce drastically the number of comparisons needed to
9388         parse a large document
9389
9390 2002-05-29  André Pönitz <poenitz@gmx.net>
9391
9392         * text.C:
9393         * text2.C:
9394         * lyxtextclass.C:
9395         * sp_pspell.h:
9396         * textclasslist.[Ch]:
9397         * sp_ispell.h: whitespace change
9398
9399 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9402         lyxaction directly now.
9403
9404 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * trans.C:
9407         * lyxfont.C:
9408         * lyxvc.C: remove unused headers
9409
9410 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * Makefile.am:
9413         * buffer.h:
9414         * undostack.h:
9415         * undostack.C:
9416         * undo_funcs.h:
9417         * undo_funcs.C: some cleanups. Use shared_ptr
9418           and a template for the undo stacks.
9419
9420 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * BufferView_pimpl.h:
9423         * BufferView_pimpl.C:
9424         * kbmap.h:
9425         * kbmap.C:
9426         * kbsequence.h:
9427         * kbsequence.C:
9428         * lyxfunc.h:
9429         * lyxfunc.C:
9430         * text2.C: use key_state/mouse_state
9431
9432 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9433
9434         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9435         and LSubstring
9436
9437         * chset.C: change include order
9438         (loadFile): use boost regex and get rid of LRegex and LSubstring
9439
9440         * Makefile.am (BOOST_LIBS): new variable
9441         (lyx_LDADD): use it
9442
9443         * LaTeX.C: change include order.
9444         (scanAuxFile): use boost regex and get rid of LRegex and
9445         LSubstring
9446         (deplog): ditto
9447
9448 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * ColorHandler.h:
9451         * ColorHandler.C:
9452         * FontInfo.h:
9453         * FontInfo.C: moved to frontends/xforms/
9454
9455         * FontLoader.h:
9456         * FontLoader.C: moved into frontends for GUIIzation
9457
9458         * Makefile.am:
9459         * lyx_gui.C:
9460         * lyxfont.C:
9461         * lyxfunc.C: changes from above
9462
9463 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * LColor.C: remove spurious X include
9466
9467         * BufferView_pimpl.C:
9468         * Makefile.am:
9469         * font.h:
9470         * font.C:
9471         * text.C:
9472         * text2.C: move font metrics to frontends/
9473
9474 2002-05-24  Juergen Vigna  <jug@sad.it>
9475
9476         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9477         setting the undo_cursor.
9478
9479         * ParagraphParameters.h: include local includes first.
9480
9481 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView_pimpl.C:
9484         * BufferView_pimpl.h:
9485         * Makefile.am:
9486         * WorkArea.h:
9487         * WorkArea.C:
9488         * screen.C: move WorkArea into frontends/
9489
9490         * lyxscreen.h:
9491         * screen.C:
9492         * text.C:
9493         * BufferView.C:
9494         * BufferView2.C: move LyXScreen into frontends/
9495
9496         * lyxlookup.h:
9497         * lyxlookup.C:
9498         * lyx_gui.C: move lyxlookup into frontends/xforms/
9499
9500 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * BufferView2.C:
9503         * BufferView_pimpl.C:
9504         * FontLoader.C:
9505         * LyXView.h:
9506         * LyXView.C:
9507         * Makefile.am:
9508         * WorkArea.C:
9509         * XFormsView.h:
9510         * XFormsView.C:
9511         * buffer.C:
9512         * bufferlist.C:
9513         * bufferview_funcs.C:
9514         * converter.C:
9515         * importer.C:
9516         * lyx_cb.C:
9517         * lyx_gui.C:
9518         * lyx_main.C:
9519         * lyx_find.C:
9520         * lyxfunc.C:
9521         * lyxvc.C:
9522         * minibuffer.C:
9523         * text.C:
9524         * text2.C:
9525         * trans.C:
9526         * vc-backend.C: move LyX/XFormsView into frontends/
9527
9528 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * Makefile.am:
9531         * PainterBase.C:
9532         * PainterBase.h:
9533         * Painter.C:
9534         * Painter.h:
9535         * WorkArea.C:
9536         * WorkArea.h:
9537         * screen.C:
9538         * tabular.C:
9539         * text.C:
9540         * text2.C: move Painter to frontends/
9541
9542 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9543
9544         * buffer.C: comment out some some code that depend upon lyx_format
9545         < 220
9546
9547         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9548         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9549
9550         * buffer.h (NO_COMPABILITY): turn off compability
9551
9552         * ColorHandler.C: include scoped_array.hpp
9553
9554         * font.C: Use more specific smart_ptr header.
9555         * Painter.C: ditto
9556         * gettext.C: ditto
9557         * ShareContainer.h: ditto
9558         * lyx_main.h: ditto
9559         * kbmap.h: ditto
9560         * FontInfo.h: ditto
9561         * BufferView_pimpl.h: ditto
9562         * ColorHandler.h: ditto
9563
9564         * kbmap.C (defkey): change call to shared_ptr::reset
9565
9566 2002-05-21  Juergen Vigna  <jug@sad.it>
9567
9568         * buffer.C (insertErtContents): fix to insert ert asis if it is
9569         non empty. Skip it completely if it contains only whitespaces.
9570
9571 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * BufferView_pimpl.C:
9574         * BufferView2.C: clear selection on paste (bug 393)
9575
9576 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9577
9578         * DepTable.C: include ctime
9579
9580 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9581
9582         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9583
9584 2002-05-14  Juergen Vigna  <jug@sad.it>
9585
9586         * text.C (breakParagraph): fixed function to honor the keepempty
9587         layout in the right maner and also to permit the right breaking
9588         algorithm on empty or non empyt keepempty paragraphs.
9589
9590         * paragraph.C (breakParagraph): we have to check also if the par
9591         is really empty (!size()) for isempty otherwise we do the wrong
9592         paragraph break.
9593
9594 2002-05-10  Juergen Vigna  <jug@sad.it>
9595
9596         * buffer.[Ch] : The following are only changes to the ert
9597         compatibility read reading old LaTeX layout and font stuff and
9598         convert it to ERTInsets.
9599
9600         * buffer.h: added isErtInset().
9601
9602         * buffer.C (struct ErtComp): add a fromlayout bool to check
9603         if we're inside a LaTeX layout.
9604         (isErtInset): new helper function.
9605         (insertErtContents): look for other ert insets before this one
9606         and insert the contents there, so that we don't have subsequent
9607         ERT insets with nothing between them. This way we create only one
9608         inset with multiple paragraphs. Also check if we don't insert only
9609         spaces ' ' as they are ignored anyway afterwards in the .tex file
9610         so if we have only spaces we will ignore this latex part in the
9611         new file.
9612         (parseSingleLyXformat2Token \\layout): better compatibility when
9613         reading layout-latex stuff.
9614         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9615         language tag.
9616         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9617         stuff after reading the inset only get the information back from
9618         the stack.
9619
9620 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9621
9622         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9623
9624         * LaTeXFeatures.C (getBabelOptions): New method.
9625
9626 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * BufferView_pimpl.C (Dispatch): work around missing argument for
9629         'layout'
9630
9631 2002-05-08  Juergen Vigna  <jug@sad.it>
9632
9633         * text.C (leftMargin): handle paragraph leftindent.
9634
9635         * paragraph.C (writeFile): write the new \\leftindent tag.
9636         (validate): handle leftindent code.
9637         (TeXEnvironment): handle paragraphleftindent code again.
9638
9639         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9640
9641         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9642         for paragrap_extra indent code and new token \\leftindent.
9643         (latexParagraphs): handle the leftindent as environment.
9644
9645         * ParameterStruct.h: added leftindent support.
9646
9647         * ParagraphParameters.C (leftIndent): added support functions for
9648         the paragraph left indent.
9649
9650         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9651         more appropriate.
9652
9653 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9654
9655         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9656         inside insetERT.
9657
9658         * text.C (computeBidiTables): No bidi in insetERT.
9659
9660         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9661         in RTL documents.
9662
9663 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9664
9665         * version.C.in: pre 5
9666
9667 2002-05-02  José Matos  <jamatos@fep.up.pt>
9668         * buffer.C (makeDocBookFile): white space changes, add newline to
9669         command styles.
9670         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9671
9672         * tabular.C (docBook): fix typo.
9673
9674 2002-05-03  Juergen Vigna  <jug@sad.it>
9675
9676         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9677         change in LyXText as we can not be sure it was not freed.
9678         (drawOneRow): remove unused code.
9679
9680         * text.C (drawInset): redo the calculation of the need_break_row as
9681         it could have a row which was already freed.
9682         (draw): look at the return value of drawInset and return false if
9683         it also returned false.
9684         (paintRowText): look at the return value of draw and return false if
9685         it also returned false.
9686
9687         * lyxtext.h: added bool return type to drawInset() and draw() so that
9688         if we have a change in the row so that the rowbreak has to be redone
9689         we abort drawing as it will be called again.
9690
9691 2002-05-02  Juergen Vigna  <jug@sad.it>
9692
9693         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9694         a change in the maintext also if we're inside an inset.
9695         (Dispatch): set the cursor again after a break line and after the
9696         screen has been updated as it could be we're in a different row.
9697
9698         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9699         to set the cursor behind the pargraph with > size().
9700         (setCursor): check also for the same paragraph when checking where
9701         to put the cursor if we have a NFR inset.
9702
9703         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9704         parts of layout read further up as it still was in the wrong
9705         position.
9706
9707 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9708
9709         * screen.C (drawFromTo): change sine fullRebreak always return
9710         true.
9711
9712         * buffer.C (parseSingleLyXformat2Token): reindent some
9713
9714         * BufferView_pimpl.C (update): change since fullRebreak always
9715         return true.
9716         (Dispatch): git rid of the last hardcoded "Standard"s.
9717
9718 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9719
9720         * text2.[Ch] (fullRebreak): make it return void now that we always
9721         returned true.
9722
9723 2002-04-30  Juergen Vigna  <jug@sad.it>
9724
9725         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9726         ert compatibility check for "latex" layout.
9727
9728 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9729
9730         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9731         minipages: use col% instead of p%, and also use the current font.
9732         (makeLaTeXFile): Fix use babel condition.
9733         (parseSingleLyXformat2Token): Correct font when reading old floats.
9734
9735 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9736
9737         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9738         inserting list of floats.
9739
9740 2002-04-25  Herbert Voss  <voss@lyx.org>
9741
9742         * MenuBackend.C (expand): don't add the graphics extensions to the
9743         export menu
9744
9745 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9748         non-existing layout, do not complain if it was the default layout
9749         of the original class (bug #342)
9750
9751 2002-04-24  Juergen Vigna  <jug@sad.it>
9752
9753         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9754         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9755
9756 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9757
9758         * buffer.C (getBibkeyList): If using \bibliography, return the
9759         option field with the reference itself. Enables us to provide natbib
9760         support when using \bibliography.
9761
9762 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9763
9764         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9765
9766         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9767         natbib is provided by the LaTeX class.
9768
9769 2002-04-23  Juergen Vigna  <jug@sad.it>
9770
9771         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9772         Wakeup functions.
9773
9774         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9775
9776 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9779
9780         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9781         ensuremath around textordmasculine, textordfeminine and
9782         textdegree.
9783
9784 2002-04-19  Juergen Vigna  <jug@sad.it>
9785
9786         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9787         reinitializing the buffer otherwise row-dimensions may be wrong.
9788         (update): reset also the selection cursors if they do exits otherwise
9789         their x/y positions may be wrong.
9790
9791         * text2.C (cursorDown): don't enter the inset if we came from a row
9792         above and are one row over the inset.
9793
9794         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9795         really leaving an inset.
9796
9797 2002-04-18  Juergen Vigna  <jug@sad.it>
9798
9799         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9800         of the selected paragraph does not have the selected layout also if
9801         the last one had!
9802
9803         * text2.C (setLayout): fixed bug which did not change last selected
9804         paragraph.
9805
9806         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9807         changed the read and substituted \\end_float with \\end_inset!
9808
9809         * BufferView_pimpl.C (cursorPrevious):
9810         (cursorNext): fixed to make it work with rows heigher than the work
9811         area without moving the cursor only the draw of the row.
9812         (workAreaMotionNotify): fix jumping over high rows.
9813
9814 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9817         Ressler.
9818
9819 2002-04-16  Juergen Vigna  <jug@sad.it>
9820
9821         * text2.C (setCursor): set also the irow().
9822         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9823         (cursorUp):
9824         (cursorDown): support for locking an inset if the x_fix value goes
9825         inside it. That way I can transverse insets too with cursor up/down.
9826
9827         * lyxrow.h: added irow helper function same as other (i) functions.
9828
9829         * BufferView_pimpl.C (cursorPrevious):
9830         (cursorNext): fixed for insets!
9831
9832 2002-04-15  Juergen Vigna  <jug@sad.it>
9833
9834         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9835         position otherwise it is wrong in some cases.
9836
9837         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9838         inside the inset before the call.
9839
9840 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9841
9842         * buffer.[Ch] (getBibkeyList): make it const.
9843
9844 2002-04-12  Juergen Vigna  <jug@sad.it>
9845
9846         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9847
9848         * text2.C (getCursorX): new helper function
9849         (setCursor): compute also ix_
9850         (setCursorFromCoordinates): set also ix.
9851
9852         * lyxcursor.h: added ix_ and helper functions.
9853
9854         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9855
9856         * buffer.C (insertStringAsLines): dont break paragraph if the this
9857         paragraph is inside an inset which does not permit it!
9858
9859         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9860         also with no chars on this paragraph.
9861         (paintRowText): only paint stuff if it's inside the workarea!
9862
9863         * paragraph.C (breakParagraph): honor keepempty flag and break the
9864         paragraph always below not above.
9865
9866         * BufferView2.C (unlockInset): update the paragraph layout on inset
9867         unlock as we changed paragraph in such a case.
9868
9869         * lyxfind.C (LyXFind): clear the former selection if not found!
9870
9871         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9872         again called in insertChar().
9873
9874         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9875         an inset which uses the whole row!
9876         (rightMargin): ditto.
9877         (insertChar): force a rebreak if we inserted an inset!
9878
9879 2002-03-28  Herbert Voss  <voss@lyx.org>
9880
9881         * lyxlength.[Ch]: add inBP() to get the right PS-point
9882         units (BigPoint). With inPixels we have rounding errors
9883
9884 2002-04-11  Juergen Vigna  <jug@sad.it>
9885
9886         * text2.C (setCursorFromCoordinates): set iy to the right value.
9887         (setCursor): add check if row->previous exists!
9888
9889         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9890         an old float_type as this was the case in the old code!
9891
9892         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9893
9894         * BufferView2.C (showLockedInsetCursor): use iy
9895         (fitLockedInsetCursor): ditto
9896
9897         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9898         locked insets as there we have the right value now.
9899
9900         * lyxcursor.C: added iy_ variable and iy functions to set to the
9901         baseline of cursor-y of the locked inset.
9902
9903         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9904         (setCursor): fixed for insets which need a full row.
9905
9906         * text.C (rowLastPrintable): don't ignore the last space when before
9907         an inset which needs a full row.
9908         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9909         as last character of a row when before a inset which needs a full row.
9910
9911 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * version.C.in: update date
9914
9915         * text2.C (fullRebreak): try to always return true and see what
9916         happens...
9917
9918 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9919
9920         * MenuBackend.C (expand): use Floating::listName
9921
9922         * FloatList.C (FloatList): add listName argument to the built-in
9923         floats
9924
9925         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9926         text associated with the float.
9927
9928 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9931
9932 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * ShareContainer.h: add a couple of missing typenames.
9935
9936 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9937
9938         * lyxrc.C (getDescription): use _() correctly rather than N_().
9939
9940 2002-03-28  Herbert Voss  <voss@lyx.org>
9941
9942         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9943         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9944
9945 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9946
9947         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9948         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9949
9950 2002-03-29  Juergen Vigna  <jug@sad.it>
9951
9952         * lyxfunc.C (dispatch): add a missing fitCursor call.
9953
9954         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9955         it was scrolled by a cursor move, so return the bool status.
9956
9957         * BufferView.C (fitCursor): return the bool flag also to the outside
9958         world as this is needed.
9959
9960         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9961
9962         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9963         call the edit() as it is not needed (and wrong) IMO.
9964         (workAreaButtonPress): set the screen_first variable before evt.
9965         unlock the inset as this may change screen_first and then we have
9966         a wrong y position for the click!
9967
9968 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * MenuBackend.C (expand): another translation that I missed
9971
9972 2002-03-28  Juergen Vigna  <jug@sad.it>
9973
9974         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9975
9976         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9977
9978 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9981
9982         * MenuBackend.C (expand): fix export/view/update when there is no
9983         document open.
9984
9985 2002-03-27  Herbert Voss  <voss@lyx.org>
9986
9987         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9988         and text%
9989
9990 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * bufferview_funcs.C (currentState): only show paragraph number
9993         for is DEVEL_VERSION is set.
9994
9995         * lyxfunc.C (dispatch): put warning in INFO channel
9996
9997         * MenuBackend.C (expand): translate the name of floats
9998
9999         * FloatList.C (FloatList): mark the float names for translation
10000
10001         * converter.C (convert): use LibScriptSearch
10002
10003 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * MenuBackend.C (defaults): fix default menu (we might as well get
10006         rid of it...)
10007
10008 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10011         directory.
10012
10013 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10014
10015         * lyxvc.C: reorder includes.
10016
10017 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10020           properly
10021
10022 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * CutAndPaste.C: change layouts earlier on paste
10025           to avoid crashing when calling getFont()
10026
10027 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10028
10029         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10030         irritating #error.
10031
10032 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * WorkArea.C: remove 'Pending' debug message.
10035
10036         * most files: ws cleanup
10037
10038         * buffer.[Ch]: ws changes
10039
10040         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10041
10042 2002-03-21  Juergen Vigna  <jug@sad.it>
10043
10044         * tabular.C (SetMultiColumn): collapse also the contents of the
10045         cells and set the last border right. Added a Buffer const * param.
10046
10047 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10050         linking or not.
10051
10052 2002-03-19  Juergen Vigna  <jug@sad.it>
10053
10054         * text2.C (clearSelection): reset also xsel_cache.
10055
10056         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10057         where it needs to be called (John tells us to do so too :)
10058         (selectionLost): reset sel_cache.
10059
10060         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10061
10062 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063
10064         * text2.C (setCursorIntern): put debuging code in INSETS channel
10065
10066 2002-03-19  André Pönitz <poenitz@gmx.net>
10067
10068         * lyxfunc.C: tiny whitespace change
10069
10070 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10071
10072         * ToolbarDefaults.C (init):
10073         * LyXAction.C (init):
10074         * commandtags.h:
10075         * BufferView_pimpl.C (Dispatch):
10076         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10077
10078 2002-03-19  Allan Rae  <rae@lyx.org>
10079
10080         * exporter.C (Export): removeAutoInsets before doing anything else.
10081         While I've just introduced a dependency on BufferView this really is
10082         the best place to clean the buffer otherwise you need to cleanup in
10083         a dozen places before calling export or cleanup in a dozen functions
10084         that export calls.
10085
10086         * converter.C (runLaTeX):
10087         (scanLog): Better handling of removeAutoInsets and screen updates.
10088
10089         * lyxfunc.C (dispatch): small whitespace changes
10090
10091 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * WorkArea.C (C_WorkAreaEvent): return a value.
10094         (event_cb): return 1 if we handled the event, 0 otherwise.
10095
10096         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10097
10098 2002-03-18  Juergen Vigna  <jug@sad.it>
10099
10100         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10101         (GetAdditionalWidth): ditto.
10102         (RightLine): ditto.
10103         (LeftLine): ditto.
10104
10105         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10106         inset if we're there actually (probably not used right now but this
10107         is the direction to go for unifying code).
10108         (paste): disable code to clear the selection.
10109
10110         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10111         inside an InsetText and move the check further up as it is in the
10112         wrong place.
10113
10114         * text2.C (pasteSelection): set a selection over the pasted text.
10115
10116 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10117
10118         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10119         and libgraphics to build on Cygwin.
10120
10121 2002-03-15  Juergen Vigna  <jug@sad.it>
10122
10123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10124         inserting an Inset into the paragraph. I know this is not the best
10125         fix but we already use current_view in CutAndPaste so we will remove
10126         all of it's using at the same time.
10127
10128         * buffer.C (sgmlError): deactivated function till it is rewritten in
10129         the right mode, now it can create problems.
10130
10131         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10132         before accessing it.
10133
10134 2002-03-14  Juergen Vigna  <jug@sad.it>
10135
10136         * undo_funcs.C (textHandleUndo): do the right thing when updating
10137         the inset after the undo/redo.
10138
10139         * text2.C (setCursor): just some testcode for #44 not ready yet.
10140
10141         * undo_funcs.C (textHandleUndo): set the next() and previous()
10142         pointers of the paragraph to 0 before deleting otherwise we have
10143         problems with the Paragraph::[destructor].
10144
10145         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10146         on a paragraph insertion.
10147
10148 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10149
10150         * buffer.C (asciiParagraph): use += operator for char append to
10151         string.
10152
10153         * paragraph.C (getFontSettings): compare >= not just >
10154         (highestFontInRange): ditto
10155         (setFont): ditto
10156
10157 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10158
10159         * paragraph.C: change several algorithm to be more appripriate for
10160         the problem domain. This is lookip in FontList and in the InsetList.
10161
10162 2002-03-13  André Pönitz <poenitz@gmx.net>
10163
10164         * commandtags.h:
10165         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10166
10167 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * commandtags.h:
10170         * LyXAction.C:
10171         * lyxfunc.C:
10172         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10173
10174 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10175
10176         * Painter.C (display): anon helper function, adjust code for this
10177         change.
10178         (pixmap): remove function.
10179
10180         * Painter.h: remove private display variable.
10181
10182         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10183
10184 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10185
10186         * WorkArea.[Ch]: remove figinset_canvas cruft.
10187
10188 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10189
10190         * lyxtextclass.C (operator): add one item cache optimization.
10191
10192         * bufferlist.h: doxy changes
10193
10194         * bufferlist.C: ws changes
10195
10196         * DepTable.[Ch] (ext_exist): place const in the right spot.
10197
10198         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10199         call resizeInsets.
10200         (workAreaExpose): call resizeInsets when the with BufferView changes.
10201         (Dispatch): adjust for protectedBlank removal
10202         (specialChar): call updateInset if the insert went ok.
10203
10204         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10205         specialChar instead.
10206
10207         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10208
10209         * BufferView.h: doxy change
10210
10211         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10212
10213         * lyxtextclass.C (operator[]): remove non-const version
10214         (defaultLayout): remove non-const version
10215
10216 2002-03-12  Juergen Vigna  <jug@sad.it>
10217
10218         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10219         did resize the LyXText too.
10220
10221         * buffer.C (readLyXformat2): set layout information on newly allocated
10222         paragraphs.
10223
10224         * tabular.C (OldFormatRead): set layout information on the paragraph.
10225
10226 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10227
10228         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10229
10230 2002-03-11  Juergen Vigna  <jug@sad.it>
10231
10232         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10233         plainly wrong.
10234         (resizeCurrentBuffer): force also the insets to resize themselfes.
10235         (moveCursorUpdate): fixed up for InsetText.
10236
10237 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10238
10239         * commandtags.h:
10240         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10241         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10242         value of Dialogs::tooltipsEnabled().
10243         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10244
10245 2002-03-08  Juergen Vigna  <jug@sad.it>
10246
10247         * BufferView_pimpl.C (updateInset): update inset inside inset also
10248         if it isn't inside theLockingInset().
10249
10250 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * buffer.C (asciiParagraph): redo some of the word and line length
10253         handling.
10254         (getLists): look for Caption instead of caption.
10255
10256 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * buffer.C (Buffer): initialize niceFile to true
10259         (makeLaTeXFile):
10260         (makeLinuxDocFile):
10261         (makeDocBookFile): make sure niceFile is true on exit
10262
10263 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10266
10267 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * LyXSendto.C: remove.
10270         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10271         * lyx_gui.C: remove now-redundant comment.
10272         * ColorHandler.h: remove forward declaration of class WorkArea.
10273         * lyxfunc.C: remove #include "WorkArea.h".
10274
10275 2002-03-07  Juergen Vigna  <jug@sad.it>
10276
10277         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10278         got moved away with the DEPM and also set the inset_owner always
10279         right which before could have been omitted.
10280
10281 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10284         wanted layout is not found.
10285
10286 2002-03-07  Juergen Vigna  <jug@sad.it>
10287
10288         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10289
10290 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10291
10292         * paragraph.C (breakParagraph): use default layout not layout of
10293         prev paragraph.
10294         (Paragraph): clear ParagraphParameters.
10295
10296 2002-03-06  Juergen Vigna  <jug@sad.it>
10297
10298         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10299         otherwise it would not be a valid lenght. Fixed a special case in
10300         the minipage compatibility read where we end the document with a
10301         minipage.
10302
10303         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10304         was set as it could be 0 for InsetTexts first entry.
10305
10306 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * paragraph.C (writeFile): if layout is empty write out
10309         defaultLayoutName().
10310
10311         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10312         file without named layout we set layout to defaultLayoutName().
10313
10314 2002-03-06  Juergen Vigna  <jug@sad.it>
10315
10316         * CutAndPaste.C (copySelection): set layout for new paragraph.
10317
10318         * text.C (prepareToPrint): leave ERT inset left aligned
10319         (leftMargin): don't indent paragraphs inside ERT insets
10320
10321 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * paragraph.C (breakParagraph): dont call clear do the work manually
10324
10325         * paragraph.[Ch] (clear): remove function
10326
10327 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * paragraph.C (Paragraph): dont call clear, the work has already
10330         been done.
10331
10332         * lyxtextclass.C (operator): assert if n is empty
10333
10334         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10335         work manually instead.
10336
10337 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * BufferView_pimpl.C: protect selectionLost against text == 0
10340
10341 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10342
10343         * text.C (breakParagraph): fix a setting layout to '0' problem.
10344
10345 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10346
10347         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10348         final location of file, for the included files, and graphics.
10349
10350 2002-03-05  Juergen Vigna  <jug@sad.it>
10351
10352         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10353
10354 2002-03-04  Juergen Vigna  <jug@sad.it>
10355
10356         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10357
10358         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10359         last column of multicolumn cells.
10360         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10361
10362 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10363
10364         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10365         file if it doesn't go to a temporary file.
10366
10367         * buffer.C (sgmlOpenTag):
10368         (sgmlCloseTag):  remove extra newline insertion.
10369
10370 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * text.C (getRowNearY): comment out debug msg
10373
10374 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * text2.C: first -> first_y
10377
10378         * text.C (getRowNearY): add some attemts at a possible
10379         optimization, not working.
10380
10381         * tabular.[Ch]: add BufferParams to several function so that newly
10382         created paragraph can be initialized to he default layotu for the
10383         buffers textclass.
10384
10385         * tabular-old.C (ReadOld): add buf->params to call of Init
10386
10387         * screen.C: rename text->first to text->first_y
10388
10389         * paragraph.C (breakParagraph): always set layout in the broken
10390         paragraph
10391
10392         * lyxtextclass.C (Read): remove lowercase
10393         (hasLayout): ditto
10394         (operator): ditto
10395         (delete_layout): ditto
10396
10397         * lyxtext.h: rename first -> first_y
10398
10399         * lyxlayout.C (Read): remove lowercase
10400         (name): ditto
10401         (setName): ditto
10402         (obsoleted_by): ditto
10403
10404         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10405
10406         * buffer.C (insertErtContents): add params are to InsetERT
10407         (parseSingleLyXformat2Token): add code to check if a paragraphs
10408         layout really exist.
10409         (parseSingleLyXformat2Token): add params to several inset
10410         constructors
10411         (asciiParagraph): remove lowercase, do the layout comparisons with
10412         no_case
10413
10414         * BufferView_pimpl.C (cursorNext): first -> first_y
10415         (resizeCurrentBuffer): first -> first_y
10416         (updateScrollbar): first -> first_y
10417         (scrollCB): first -> first_y
10418         (workAreaMotionNotify): first -> first_y
10419         (workAreaButtonPress): first -> first_y
10420         (checkInsetHit): first -> first_y
10421         (cursorPrevious): first -> first_y
10422         (cursorNext): first -> first_y
10423         (Dispatch): add buffer_->params to severl inset contructors
10424
10425 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10426
10427         * lyxlayout.C (Read): remove some debug info that I forgot.
10428
10429         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10430         clean up the code slightly.
10431         (makeLinuxDocFile): ditto
10432         (makeDocBookFile): ditto
10433
10434         * text2.C: layout as string
10435
10436         * text.C: layout as string
10437
10438         * paragraph_pimpl.C: layout as string
10439
10440         * paragraph.[Ch]: layout as string
10441
10442         * lyxtextclasslist.[Ch]: layout as string
10443
10444         * lyxtextclass.[Ch]: layout as string
10445
10446         * lyxtext.h: layout as string
10447
10448         * lyxlayout.[Ch]: layout as string
10449
10450         * lyx_cb.C: layout as string
10451
10452         * bufferview_funcs.C: layout as string
10453
10454         * bufferparams.C: layout as string
10455
10456         * buffer.C: layout as string
10457
10458         * LyXView.[Ch]: layout as string
10459
10460         * LaTeXFeatures.[Ch]: layout as string
10461
10462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10463
10464         * BufferView_pimpl.C: change current_layout to string, remove
10465         lyx::layout_type.
10466         (Dispatch):
10467         (smartQuote):
10468         (insertInset):
10469         (workAreaButtonRelease): layout as string
10470
10471         * BufferView2.C (unlockInset): adjust
10472
10473         * vspace.C (asLatexCommand): use an explict temp variable.
10474
10475 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * Makefile.am: use FRONTEND_*
10478
10479 2002-03-01  Juergen Vigna  <jug@sad.it>
10480
10481         * tabular.C (SetWidthOfMulticolCell): changed to something better
10482         I hope but still work in progress.
10483         (recalculateMulticolumnsOfColumn): renamed function from
10484         recalculateMulticolCells as it is more appropriate now.
10485         (SetWidthOfCell): calculate multicols better.
10486
10487 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10490
10491         * lyxfunc.C (processKeySym): print sequence also if it is
10492         `deleted' (complete)
10493
10494         * kbsequence.C (print): print sequence even if it is deleted
10495         (complete would be a better word, actually).
10496
10497         * lyxfunc.C (dispatch): print complete options after a prefix key
10498
10499         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10500
10501 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10502
10503         * text2.C (setCharFont): eliminate setCharFont code duplication.
10504
10505 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10508         LFUN_TABULAR_FEATURE (bug #177)
10509
10510 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10511
10512         * Makefile.am: remove figure.h
10513
10514 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10515
10516         * Bufferview_pimpl.C:
10517         * CutAndPasteC:
10518         * LaTeX.C:
10519         * LyXSendto.C:
10520         * buffer.C:
10521         * bufferlist.C:
10522         * converter.C:
10523         * language.C:
10524         * lyxfunc.C:
10525         * lyxvc.C:
10526         * paragraph.C:
10527         * text.C:
10528         * text2.C: remove #include "lyx_gui_misc.h".
10529
10530         * LaTeX.C: added #include <cstdio>
10531
10532 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10535         that the paragraph following this one can have.
10536
10537         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10538
10539         * vspace.C (asLatexCommand): fix bogus gcc warning
10540
10541         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10542
10543 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10544
10545         * text2.C (setLayout): get rid of redundant code
10546
10547 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10548
10549         * text2.C (incDepth): make sure depth cannot be increased beyond
10550         reasonable values.
10551
10552 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10553
10554         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10555         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10556
10557         * PainterBase.h (image):
10558         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10559         a LyXImage const *.
10560
10561 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * BufferView.C:
10564         * BufferView.h:
10565         * BufferView_pimpl.C:
10566         * BufferView_pimpl.h:
10567         * LaTeXFeatures.C:
10568         * LyXAction.C:
10569         * LyXView.C:
10570         * Makefile.am:
10571         * UpdateList.h:
10572         * UpdateList.C:
10573         * buffer.C:
10574         * figure.h:
10575         * figureForm.C:
10576         * figureForm.h:
10577         * figure_form.C:
10578         * figure_form.h:
10579         * lyx_cb.C:
10580         * lyx_gui.C:
10581         * lyx_gui_misc.C:
10582         * lyxfunc.C:
10583         * sp_base.h:
10584         * sp_ispell.h:
10585         * sp_pspell.h:
10586         * sp_spell.C: remove fig inset, and the crap house of
10587           cards that follows it
10588
10589 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * Makefile.am:
10592         * lyxserver.C:
10593         * os2_defines.h:
10594         * os2_errortable.h:
10595         * nt_defines.h: move .h into support/
10596
10597         * vms_defines.h: remove
10598
10599         * WorkArea.C: add space in debug output
10600
10601         * text2.C:
10602         * paragraph.C:
10603         * buffer.C: add WITH_WARNINGS
10604
10605         * vc-backend.h:
10606         * vc-backend.C:
10607         * bufferlist.C: s/retrive/retrieve/, add docs
10608
10609         * vspace.h:
10610         * vspace.C:
10611         * kbmap.h:
10612         * lyxlength.h:
10613         * lyxgluelength.h:
10614         * length_common.h:
10615         * chset.h:
10616         * chset.C: add docs
10617
10618         * lyxgui.C: add ID to X error handler
10619
10620         * lyxtestclass.c: fix typo
10621
10622 2002-02-26  Juergen Vigna  <jug@sad.it>
10623
10624         * tabular_funcs.C (write_attribute): changed so that some default
10625         attributes are not written at all.
10626         (getTokenValue): set default values before trying to read the
10627         value so we have the return value always set as default if we don't
10628         find the token we search for.
10629
10630         * tabular.C (Write): write bools as bools not as strings!
10631
10632 2002-02-22  Juergen Vigna  <jug@sad.it>
10633
10634         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10635         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10636
10637         * text.C (leftMargin): don't add an indent for paragraphs inside
10638         tabular cells (fix #208).
10639
10640 2002-02-21  José Matos  <jamatos@fep.up.pt>
10641
10642         * tabular.C (docBook): fixed support for long tables.
10643
10644 2002-02-20  Juergen Vigna  <jug@sad.it>
10645
10646         * text2.C (getFont): get the drawing font of the Inset if this
10647         paragraph is inside an inset (only important for InsetERT for now).
10648
10649         * buffer.C (insertErtContents): use new lanugage params in ERT
10650         constructor.
10651
10652         * CutAndPaste.C: commenting out seemingly uneeded code.
10653
10654 2002-02-19  Allan Rae  <rae@lyx.org>
10655
10656         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10657         Iterators might be simple to use but they also get invalidated.
10658         (removeAutoInsets): renamed saved cursor tracking variables and added
10659         some comments to clarify what everything does.
10660
10661 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10662
10663         * Chktex.C:
10664         * LaTeX.C:
10665         * LyXSendto.C:
10666         * converter.C:
10667         * lyx_cb.C:
10668         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10669         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10670
10671         * lyxfunc.C:
10672         * vc-backend.h: remove #include "support/syscall.h"
10673
10674         * LaTeX.C:
10675         * LyXSendto.C:
10676         * converter.C: rearrange #includes in Lars' approved fashion.
10677
10678         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10679         forward declare class Timeout in the header file.
10680
10681         * XFormsView.C: changes due to the above.
10682
10683         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10684         similar to LyXView.
10685
10686         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10687         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10688
10689 2002-02-18  José Matos  <jamatos@fep.up.pt>
10690
10691         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10692         insets contents.
10693
10694 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10695
10696         * a lot of small ws changes
10697         * add a lot of using std::XXX
10698         * use std construcs some places where approp.
10699         * use some exisint stuff from lyxfunctional where approp.
10700         * Make file changes to use partial linking (lets test this now...)
10701
10702 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * Chktex.C:
10705         * buffer.C:
10706         remove #include "support/syscontr.h" as it's redundant. Always has been.
10707
10708         * Chktex.C:
10709         * LaTeX.C:
10710         * LyXSendto.C:
10711         * converter.C:
10712         * lyx_cb.C:
10713         * vc-backend.C:
10714         change Systemcalls::System to Systemcalls::Wait and
10715         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10716         No change of functionality, just reflects the stripped down Systemcalls
10717         class.
10718
10719 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10720
10721         * debug.[Ch]: add a GRAPHICS type to the enum.
10722
10723 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10726
10727         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10728         there is an inset.
10729
10730 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10733         match the changes below.
10734
10735         * text2.C (toggleInset): if there is not editable inset at cursor
10736         position, try to see if cursor is _inside_ a collapsable inset
10737         and close it.
10738
10739 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10742         document menu has a nice checkbox
10743
10744 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * lyxlength.C (asLatexString): change PW to output as percent of
10747         \textwidth.
10748
10749         * lengthcommon.C: change '%' to 't%'
10750
10751         * lyxfunc.C (dispatch): a few comments from Martin
10752
10753 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * WorkArea.h:
10756         * WorkArea.C:
10757         * BufferView_pimpl.h:
10758         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10759           the X selection.
10760
10761 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10762
10763         * vspace.C (inPixels): fix compiler warning
10764
10765 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * lyxfunc.C (getStatus): fix status message for disabled commands.
10768
10769 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * BufferView_pimpl.C: fix crash on close buffer
10772         during selection (#227)
10773
10774 2002-01-27  Herbert Voss  <voss@lyx.org>
10775
10776         * buffer.C: link old Figure to new graphic inset
10777
10778 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10779
10780         * FontLoader.C (getFontinfo): Change the latex font names in order
10781         to match the names of type1inst.
10782
10783 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10784
10785         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10786
10787         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10788         (extchanged): ditto
10789         (ext_exist): ditto
10790         (remove_files_with_extension): ditto
10791         (remove_file): ditto
10792         (write): ditto
10793
10794         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10795         document is smaller than the work area height. Do not initialize
10796         static variables to 0.
10797
10798 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10801
10802         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10803         LFUN_LAYOUT_PARAGRAPHS.
10804
10805         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10806         tabular. It is possible to provide a possible cell, which will
10807         typically be the actcell from the corresponding insettabular
10808
10809         * lyxfunc.C (getStatus): small cleanup; disable
10810         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10811         true
10812
10813 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10816
10817         * paragraph.C (startTeXParParams):
10818         (endTeXParParams): new methods. The LaTeX code to
10819         start/end paragraph formatting
10820         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10821         empty (fixes bug #200)
10822
10823         * vspace.C (inPixels): adapt to the change below
10824         (inPixels): [later] more cleanups (remove unused variables)
10825
10826         * lyxlength.C (inPixels): change to use a width and a height as
10827         parameter.
10828
10829 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10832         Replaced with \paperwidth
10833
10834         * DepTable.C (insert): add std:: qualifier
10835
10836 2002-01-18  Allan Rae  <rae@lyx.org>
10837
10838         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10839         updated also?
10840
10841         * text.C (drawInset): Turned out I didn't know enough about how
10842         rebreaking worked.  This fixes most of the redraw problems.  I see
10843         an occasional cursor trail when a line is broken now and the cursor
10844         placement can seem out by a few pixels also after a rebreak.
10845
10846 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * buffer.C (parseSingleLyXformat2Token): update because minipage
10849         width is now a LyXLength
10850
10851         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10852
10853         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10854         math insets
10855
10856 2002-01-17  Juergen Vigna  <jug@sad.it>
10857
10858         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10859
10860         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10861         is set correctly and the inset is updated correctly.
10862
10863 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10866         the beginning of the loop.
10867
10868 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyxrc.C: improve help for use_scalable_fonts
10871
10872 2002-01-17  Allan Rae  <rae@lyx.org>
10873
10874         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10875
10876 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10879         make sure to set their inset_owner to the right value (bug #171)
10880
10881 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10882
10883         * DepTable.h
10884         * DepTable.C: Implement mtime checking to reduce time spent doing
10885         CRCs.
10886
10887 2002-01-16  Juergen Vigna  <jug@sad.it>
10888
10889         * tabular.C (GetAdditionalHeight): one of error fixed.
10890
10891         * lyxrc.C (output): small fix in writing use_pspell.
10892
10893 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10894
10895         * sp_base.h: #include LString.h
10896
10897 2002-01-16  Allan Rae  <rae@lyx.org>
10898
10899         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10900         Can someone check this please?
10901
10902         * text.C (drawInset): It was possible that p.row would be removed by
10903         breakAgainOneRow upsetting a few other settings.  There may be another
10904         small tweak possible by setting need_break_row = 0 when p.row has been
10905         removed but I don't know enough about the logic here.
10906
10907 2002-01-15  Allan Rae  <rae@lyx.org>
10908
10909         * text.C (insertChar): removed conditional truism.
10910
10911         * BufferView2.C (removeAutoInsets): More tweaks.
10912         cur_par_prev could be a stray pointer.  Check for trailing empty line
10913         in case last line was cur_par and only had an error inset on it.
10914
10915 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10918         absolute
10919
10920         * vc-backend.C (most methods):
10921         * exporter.C (Export):
10922         * converter.C (convert):
10923         (runLaTeX):
10924         * LyXSendto.C (SendtoApplyCB):
10925         * lyxfunc.C (dispatch):
10926         (menuNew):
10927         (open):
10928         (doImport):
10929         * lyx_cb.C (AutoSave):
10930         (InsertAsciiFile):
10931         * BufferView_pimpl.C (MenuInsertLyXFile):
10932         * buffer.C (runChktex): use Buffer::filePath().
10933
10934         * buffer.h: rename filename to filename_; rename filepath to
10935         filepath_ and make it private
10936         (filePath): new method
10937
10938         * buffer.C (writeFile): use fileName()
10939         (getLatexName):
10940
10941         * lyx_main.C (init): fix starting  of LyX when the binary is a
10942         link from so,ewhere else.
10943
10944         * minibuffer.C: include <cctype> for isprint
10945
10946 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10947
10948         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10949         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10950         name clash with InsetCollapsable's width function.
10951
10952 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * lastfiles.C: include <iterator>
10955
10956 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10957
10958         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10959         std::count.
10960
10961         * buffer.C (makeLaTeXFile): ditto.
10962         Also make loop operation more transparent.
10963
10964 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10965
10966         * ToolbarDefaults.C: remove trailing comma closing namespace.
10967
10968         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10969
10970         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10971         as in WorkArea.
10972
10973         * trans.C (Load): comment out unused variable, allowed.
10974
10975 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10976
10977         * minibuffer.[Ch] (append_char): new method to recieve input from the
10978         drop-down completion browser. If a key was pressed, then recieve this
10979         char and append it to the existing string.
10980         (peek_event): modify the positioning data passed to the completion
10981         browser so that it can be placed above the minibuffer rather than below.
10982 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * LyXAction.C (init): alloe error-next for readonly documents.
10985
10986         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10987         count.
10988
10989 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * bufferlist.C (readFile): create the buffer _after_ checking that
10992         the file exists.
10993
10994         * lyxfunc.C (verboseDispatch): fix handling of arguments
10995
10996         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10997
10998         * lyxrc.C: use string::erase() instead of initializing to "".
10999
11000
11001 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11002
11003         * BufferView_pimpl.h:
11004         * BufferView_pimpl.C:
11005         * WorkArea.h:
11006         * WorkArea.C:
11007         * text2.C: tell X when we have made a selection for copying
11008
11009 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * BufferView_pimpl.C (MenuInsertLyXFile):
11012         * lyxfunc.C (menuNew):
11013         (open):
11014         (doImport): add shortcuts to directory buttons
11015
11016         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11017         open a float)
11018
11019         * lyxfunc.C (setStatusMessage):
11020         (getStatusMessage): new methods
11021         (getStatus):use setStatusMessage instead of setErrorMessage
11022         (dispatch): when function is disabled, set error message here
11023         [instead of in getStatus previously]
11024
11025         * BufferView_pimpl.C (workAreaButtonRelease): update
11026         toolbar/menubar here too.
11027
11028 2002-01-13  Allan Rae  <rae@lyx.org>
11029
11030         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11031         Now seems indestructible.  Remaining task is to audit all other
11032         code affected by deleteEmptyParagraphMechanism.  One small quirk
11033         left is that an empty document with an error in the preamble can
11034         be made to report an error but no error box appears.  I don't know
11035         where it goes.
11036         (removeAutoInsets): Improved comments.
11037
11038 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * Thesaurus.h:
11041         * Thesaurus.C: update for Aiksaurus 0.14
11042
11043 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * text2.C (firstParagraph): removed member function, all uses
11046         replaces with ownerParagraph
11047         (redoParagraphs): here
11048         (updateInset): here
11049         (toggleAppendix): here
11050         * BufferView2.C (insertErrors): here
11051         (setCursorFromRow): here
11052
11053 2002-01-13  Allan Rae  <rae@lyx.org>
11054
11055         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11056         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11057         There is still a way to segfault this although you may have to do this
11058         multiple times: Have an InsetERT with an unknown command in it.
11059         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11060         <down-arrow>, <Enter> again, View->DVI, BANG!
11061
11062         * text2.C (setCursor):
11063         (deleteEmptyParagraphMechanism):
11064         * lyxtext.h (setCursor):
11065         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11066         Making use of the return value may help fix other bugs.
11067
11068 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11071
11072         * LyXView.C (updateMenubar): call MenuBar::update here
11073         (updateToolbar): but not here
11074         (showState): do not update toolbar/menubar
11075
11076         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11077         should need to care about that.
11078
11079         * lyxfunc.C (verboseDispatch): simplify a bit
11080         (getStatus): have a version which takes a pseudoaction, and
11081         another which requires a (kb_action,string).
11082
11083         * LyXAction.C (retrieveActionArg): make it work also when action
11084         is not a pseudo-action.
11085         (getActionName): simplify a bit
11086         (helpText):
11087
11088 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * lyxfunc.C (verboseDispatch): new families of methods with
11091         several ways to specify a command and a bool to indicate whether
11092         the command name and shortcut should be displayed in minibuffer
11093         (eventually, we could extend that to a finer bitmask like
11094         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11095         (dispatch): the pristine dispatch command which just, well,
11096         dispatchs! Note it still sets its result to minibuffer; I'm not
11097         sure we want that.
11098
11099         * lyxfunc.h: remove setHintMessage
11100
11101         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11102
11103 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * BufferView_pimpl.C (specialChar): delete new inset if we have
11106         not been able to insert it.
11107
11108         * kbmap.C: revert to using int instead of kb_action, since all we
11109         are dealing with is pseudo-actions.
11110
11111         * LyXAction.C (searchActionArg): change to return int instead of
11112         kb_action, since the result is a pseudoaction.
11113
11114 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * buffer.C (insertErtContents): Fix (partially) the font bug.
11117
11118 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11119
11120         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11121         as the other one is broken on my machine!
11122
11123 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11124
11125         * commandtags.h:
11126         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11127
11128 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11131         reflect their actual use. Provide compatibility code for older lyxrc
11132         files.
11133
11134         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11135         FL_NORMAL_STYLE.
11136         change names of popup font variables in line with the changes to lyxrc.C
11137
11138 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * buffer.C (asciiParagraph): avoid outputing a word twice after
11141         an inset.
11142
11143         * lyxrc.C (getDescription): document that document_path and
11144         template_path can be empty.
11145
11146 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * LaTeXFeatures.C (getMacros):
11149         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11150
11151         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11152
11153         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11154         getPackages.
11155         (getPackages): rename feature "floats" to "float". Use an array to
11156         iterate over 'simple' features (i.e. just a \usepackage). Add
11157         handling of "amsmath" (renamed from "amsstyle").
11158
11159 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11160
11161         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11162         features list.
11163
11164 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11167         FuncStaus::FuncStatus & FuncStaus::some_method().
11168
11169 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11170
11171         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11172         of the func_satus stuff. Edited and massaged in various ways by
11173         JMarc.
11174
11175         * lyxfunc.C (getStatus): use FuncStatus
11176
11177 2002-01-08  Juergen Vigna  <jug@sad.it>
11178
11179         * text.C (nextBreakPoint): use function Inset::isChar().
11180
11181         * paragraph.C (TeXOnePar): use function
11182         Inset::forceDefaultParagraphs.
11183
11184         * buffer.C (latexParagraphs): use function
11185         Inset::forceDefaultParagraphs.
11186
11187 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * lyx_gui.C (init): set the style of the menu popups to
11190         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11191
11192 2002-01-07  Juergen Vigna  <jug@sad.it>
11193
11194         * text.C (setHeightOfRow): small fix
11195         (prepareToPrint): don't look at alignment if we don't have the place
11196         for doing it.
11197
11198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * box.C: New file. Move the Box methods and functions out of box.h,
11201         following Lars' suggestion.
11202
11203 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11204
11205         * box.h: #include "support/LOstream.h", needed for inlined function.
11206
11207         * lyxtextclass.C:
11208         * lyxtextclasslist.C: added some using std declarations.
11209
11210 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * box.h: make signed dimensions to allow insets wider than
11213           the screen (bug #162)
11214
11215         * BufferView_pimpl.C: add some insetHit debug
11216
11217 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * vc-backend.C: add FIXME
11220
11221 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * lyxfunc.C (getStatus): enable code for showing math font status
11224         in toolbar/menu.
11225
11226 2002-01-07  Juergen Vigna  <jug@sad.it>
11227
11228         * text.C (nextBreakPoint): removed debug output not needed anymore.
11229
11230 2002-01-06  Juergen Vigna  <jug@sad.it>
11231
11232         * text.C (nextBreakPoint): fixed up this function we had this bug
11233         since ever but now hopefully we break row better.
11234         (insertChar): we have to check if an inset is the next char as it
11235         could now happen that a large inset is causing a break.
11236
11237 2002-01-05  Juergen Vigna  <jug@sad.it>
11238
11239         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11240         if it doesn't like to be drawed.
11241
11242 2002-01-04  Juergen Vigna  <jug@sad.it>
11243
11244         * BufferView2.C (lockInset): forgot to set a cursor.
11245
11246         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11247
11248 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11249
11250         * FormMathsPanel.C:
11251         * FormMathsPanel.h
11252         * MathsSymbols.C:
11253         * form_maths_panel.C:
11254         * form_maths_panel.h:
11255         * form_maths_panel.fd: implemented sub- and super- buttons in math
11256         panel.
11257
11258         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11259         (or ^ space) to be used as in TeX (req'd by André).
11260
11261         * lyxfunc.C: Allow ^ and _ again to be used both as
11262         super/subscript (mathed) and as themselves (in text).
11263
11264 2002-01-03  Allan Rae  <rae@lyx.org>
11265
11266         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11267         "LyX" or the filename of the current buffer if it has one.  This is a
11268         modified form of John Levon's patch.
11269
11270         * XFormsView.C (setWindowTitle): also set icon title.
11271
11272         * LyXView.h (setWindowTitle): signature changed.
11273         * XFormsView.h (setWindowTitle): ditto.
11274
11275 2002-01-02  Juergen Vigna  <jug@sad.it>
11276
11277         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11278
11279 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * screen.C (topCursorVisible): introduce a temp var for
11282         text->cursor.row(), handle the case where this row is null. (kindo
11283         hachish)
11284
11285         * text2.C (setCursor): add a couple of asserts.
11286
11287         * paragraph.h (inset_iterator): add -> operator
11288
11289         * paragraph.[Ch] (autoDeleteInsets): remove member function
11290
11291         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11292         cursor pos correctly and handle inset deletion by itself.
11293         (insertErrors): move iterator declaration out of for expression
11294
11295         * lyxtextclass.C: add <algorithm>
11296
11297         * Makefile.am: added the new files to sources, removed layout.C
11298
11299         * layout.C: removed file
11300
11301         * layout.h: remove LYX_DUMMY_LAYOUT
11302
11303         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11304         layout.
11305
11306         * lyxlayout.[Ch]:
11307         * lyxtextclass.[Ch]:
11308         * lyxtextclasslist.[Ch]: new files
11309
11310         * include order changes to a lot of files, also changes because of
11311         the six new files.
11312
11313 2001-12-27  Juergen Vigna  <jug@sad.it>
11314
11315         * buffer.C (asciiParagraph): more fixes.
11316
11317         * tabular.C (ascii): make ascii export support export of only the
11318         data separated by a column-delimiter.
11319         (ascii): better support for ascii export.
11320
11321         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11322
11323 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11324
11325         * tabular_funcs.C: use a "using std::getline" instead of the
11326         previous fix from Angus (necessary for cxx + lyxstring)
11327
11328 2001-12-24  Juergen Vigna  <jug@sad.it>
11329
11330         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11331
11332         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11333         problems. First check a minipage also if we have some ert-contents
11334         (not only on par->size(), second set the right depth of the paragraph
11335         on the relink to the root-paragraph-list!
11336
11337         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11338         which then did not anymore update the main paragraphs on undo/redo!
11339
11340 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11343         code. Support all font-changing funcs (even those which are not in
11344         menu currently). Support for reporting font settings in
11345         mathed (disabled until Andre provides a function on mathed's side).
11346
11347         * func_status.h (toggle): small helper function to set toggle
11348         state on a flag.
11349
11350 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11351
11352         * tabular_funcs.C: getline -> std::getline
11353
11354 2001-12-21  Juergen Vigna  <jug@sad.it>
11355
11356         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11357         accessed and could be 0 (I couldn't generate this but it seems
11358         Michael could!).
11359
11360 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11363         * tabular_funcs.h: here and include iosfwd
11364
11365 2001-12-20  Juergen Vigna  <jug@sad.it>
11366
11367         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11368         inside inset but undo_par was.
11369
11370 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * Thesaurus.C: always include <config.h> in sources.
11373
11374         * Painter.h:
11375         * lyxlookup.h:
11376         * box.h: do not include <config.h> in header files
11377
11378         * text.C (paintLastRow): remove unused variable
11379
11380         * text.C (transformChar):
11381         (insertChar):
11382         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11383
11384         * Painter.C (text):
11385         * font.C (width): rewrite to use uppercase() instead of
11386         islower/toupper.
11387
11388         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11389
11390 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * lyxfind.C: clean up of find failure position change
11393
11394 2001-12-20  Juergen Vigna  <jug@sad.it>
11395
11396         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11397
11398         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11399         (TeXRow): added to LaTeX a single tabular row.
11400         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11401         (Latex): simplified and finally good LT-h/f support.
11402         (various_functions): just small adaptions for LT-h/f support.
11403
11404         * tabular_funcs.[hC]: added and moved here all not classfunctions
11405         of LyXTabular.
11406
11407 2001-12-19  Juergen Vigna  <jug@sad.it>
11408
11409         * tabular.[Ch]: better support for longtabular options (not finished
11410         yet!)
11411
11412 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * text.C (paintLastRow): use the label font instead of the font of
11415         the last character to compute the size of *_BOX. This makes more
11416         sense and avoids a crash with empty paragraphs.
11417         Use Painter::rectangle to draw EMPTY_BOX.
11418
11419 2001-12-19  Juergen Vigna  <jug@sad.it>
11420
11421         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11422         the paragraphs if the replaced paragraph is not the first one!
11423         Tried to delete not used paragraphs but does not work yet so for
11424         now it's inside #ifdef's and by default off!
11425
11426 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11427
11428         * MenuBackend.C: include "lyx_main.h" instead of declaring
11429         lastfiles (actually was declared as LastFiles* instead of a
11430         scoped_ptr).
11431
11432 2001-12-17  Juergen Vigna  <jug@sad.it>
11433
11434         * tabular.C (AppendColumn): applied John's fix
11435
11436 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * BufferView.h:
11439         * BufferView.C:
11440         * BufferView_pimpl.h:
11441         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11442
11443         * Makefile.am:
11444         * box.h: new start of class for above
11445
11446         * lyxfunc.C: ignore space-only minibuffer dispatches.
11447           Show the command name when it doesn't exist
11448
11449         * minibuffer.C: don't add empty lines to the history
11450
11451         * minibuffer.C: add a space on dropdown completion
11452
11453 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * text.C: fix line above/below drawing in insets
11456
11457 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * lyxlength.C (LyXLength): Initialize private variables.
11460
11461 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11462
11463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11464         when inserting error insets.
11465
11466 2001-12-13  Juergen Vigna  <jug@sad.it>
11467
11468         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11469         actually sometimes the before-paragraph.
11470         (setUndo): don't clear the redostack if we're not actually undoing!
11471
11472 2001-12-06  Juergen Vigna  <jug@sad.it>
11473
11474         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11475         and fixed redoing of main paragraph, so we can use it now ;)
11476
11477         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11478
11479 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11482         Juergen's request
11483
11484 2001-12-13  André Pönitz <poenitz@gmx.net>
11485
11486         * undostack.[Ch]:
11487         * undo_func.C: minor cleanup
11488
11489 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11492         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11493         font in urw-fonts package which is marked as -urw-fontspecific and
11494         does not work (incidentally, changing the encoding in the
11495         fonts.dir of this package to -adobe-fontspecific fixes the
11496         problem).
11497
11498         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11499         is a crash when undoing first paragraph (Juergen, please take a
11500         look). THis does not mean the undo fix is wrong, just that it
11501         uncovers problems.
11502
11503         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11504         the (Paragraph*) version when needed instead of duplicating the
11505         code.
11506
11507         * text.C (workWidth): use Inset::parOwner to find out where the
11508         inset has been inserted. This is a huge performance gain for large
11509         documents with lots of insets. If Inset::parOwner is not set, fall
11510         back on the brute force method
11511
11512         * paragraph_pimpl.C (insertInset):
11513         * paragraph.C (Paragraph):
11514         (cutIntoMinibuffer): set parOwner of insets when
11515         inserting/removing them
11516
11517         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11518
11519 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11520
11521         * commandtags.h:
11522         * LyXAction.C:
11523         * lyx_main.C:
11524         * lyxfunc.C:
11525         * mathed/formulabase.C:
11526         * mathed/math_cursor.[Ch]:
11527         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11528
11529
11530 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * lyxlength.[Ch] (operator!=): new function
11533
11534 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11535
11536         * text.C (workWidth): use Inset::parOwner to find out where the
11537         inset has been inserted. This is a huge performance gain for large
11538         documents with lots of insets. If Inset::parOwner is not set, fall
11539         back on the brute force method
11540
11541         * paragraph_pimpl.C (insertInset):
11542         * paragraph.C (Paragraph):
11543         (cutIntoMinibuffer): set parOwner of insets when
11544         inserting/removing them
11545
11546         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11547
11548 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * tabular-old.C (getTokenValue):
11551         * tabular.C (getTokenValue):
11552         (write_attribute): new versions for LyXLength
11553         (everywhere): adjust the use of widths
11554
11555         * tabular.h: change the type of widths from string to LyXLength
11556
11557 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11558
11559         * paragraph.C: fixed missing line number count when exporting
11560         Environments to LaTeX file
11561
11562         * buffer.C: added informational message for checking line numbers.
11563
11564 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11567         paragraph, do the 'double space' part, but not the 'empty
11568         paragraph' one.
11569
11570         * text.C (workWidth): small optimization
11571         (getLengthMarkerHeight): use minimal size for negative lengths.
11572
11573 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11574
11575         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11576
11577         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11578
11579 2001-12-11  André Pönitz <poenitz@gmx.net>
11580
11581         * FontLoader.C:
11582         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11583
11584 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * text2.C: keep selection on a setFont()
11587
11588 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * lyx_cb.C: another bv->text misuse, from insert label
11591
11592 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * kbsequence.h:
11595         * kbsequence.C: re-instate nmodifier mask
11596
11597 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11598
11599         * lyx_main.h: make lyxGUI private.
11600
11601 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * lyxfind.C: place the cursor correctly on failed search
11604
11605 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * text.C (getLengthMarkerHeight): for small heights, the arrows
11608         are not always on top/bottom of the text
11609         (drawLengthMarker): smaller arrows; take the left margin in
11610         account; draw also vfills.
11611         (paintFirstRow):
11612         (paintLastRow): remove special code for vfill and standard spaces,
11613         since everything is handled in drawLengthMarker now.
11614
11615 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * buffer.C (insertErtContents): try to handle font and language
11618         interaction a bit better.g
11619
11620         * ColorHandler.C (updateColor): change the hash to cover the whole
11621         LColor enum, ws cleanup
11622         (getGCLinepars): ditto
11623         (getGCLinepars): only lookup in the linecache once.
11624
11625 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11626
11627         * iterators.C (operator++): Make the iterator more robust
11628
11629         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11630         (John's patch)
11631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11632
11633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * lyxtext.h:
11636         * text.C: better added space drawing
11637
11638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * LyXView.C:
11641         * BufferView2.C: fix layout combo update on inset unlock
11642
11643 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * Makefile.am: don't compile unused files
11646
11647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * lyxfunc.C:
11650         * commandtags.h:
11651         * LyXAction.C: remove old LFUN_LAYOUTNO
11652
11653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * paragraph_pimpl.h:
11656         * paragraph_pimpl.C: isTextAt() doesn't need font param
11657
11658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * lyxlex.h:
11661         * lyxlex.C: little cleanup
11662
11663 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * BufferView_pimpl.C: fix insertAscii for insets
11666
11667 2001-12-05  Juergen Vigna  <jug@sad.it>
11668
11669         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11670         set the right font on the "multi" paragraph paste!
11671
11672 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * trans_decl.h:
11675         * trans_mgr.[Ch]:
11676         * trans.[Ch]:
11677         * lyxgluelength.C:
11678         * lyxlength.C: remove out-commented code.
11679
11680         * BufferView_pimpl:
11681         * CutAndPaste.C:
11682         * DepTable.C:
11683         * buffer.C:
11684         * chset.C:
11685         * lastfiles.C:
11686         * lyxlex.C:
11687         * lyxlex_pimpl.C:
11688         * lyxserver.C:
11689         * screen.C:
11690         * tabular-old.C:
11691         * tabular.C:
11692         * text.C:
11693         * trans_mgr.C:
11694         * vc-backend.C: change "while(" to "while ("
11695
11696         * lyxlength.[Ch]: add zero function to check if length is zero or
11697         not
11698         * lyxgluelength.C: use it
11699
11700 2001-12-05  Allan Rae  <rae@lyx.org>
11701
11702         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11703         Works for 2.95.3, from what I understand of Garst's reports this should
11704         work for other g++ versions.  We're screwed if the abs(int) definition
11705         changed between bugfix releases of gcc.
11706
11707 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * text.C: fix chapter label offset !
11710
11711 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * lyxtext.h:
11714         * text.C: fix hfill at end of line, clean up
11715
11716 2001-12-04  Juergen Vigna  <jug@sad.it>
11717
11718         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11719         that we force an update of the inset and it's owners if neccessary.
11720
11721 2001-12-03  Juergen Vigna  <jug@sad.it>
11722
11723         * text.C (rowLast): simplified code
11724
11725 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * lyxfunc.C: fix show options on timeout
11728
11729 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * screen.C (topCursorVisible): scroll half a page when the cursor
11732         reached top of bottom of screen
11733
11734 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * minibuffer.C: deactivate on loss of focus
11737
11738 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * vspace.[Ch] (operator!=): add operator.
11741
11742 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.C: refuse to open an inset when
11745         there's a selection.
11746
11747 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * BufferView_pimpl.C: allow to click on RHS of full row insets
11750
11751 2001-11-30  Juergen Vigna  <jug@sad.it>
11752
11753         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11754         insets for undo reasons.
11755
11756 2001-11-28  André Pönitz <poenitz@gmx.net>
11757
11758         * vspace.[Ch]: cosmetical changes
11759
11760 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * LyXAction.h:
11763         * LyXAction.C:
11764         * lyxfunc.h:
11765         * lyxfunc.C:
11766         * kbmap.h:
11767         * kbmap.C:
11768         * lyxrc.C:
11769         * kbsequence.h:
11770         * kbsequence.C: part re-write of old kb code
11771
11772         * Painter.C:
11773         * WorkArea.C: remove Lgb_bug_find_hack
11774
11775 2001-11-30  José Matos <jamatos@fep.up.pt>
11776
11777         * buffer.C (makeDocBookFile): add a comment to point a hack.
11778         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11779         Fixed a double write of labels.
11780
11781 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11782
11783         * LaTeX.C:
11784         * LaTeX.h Fixed bug in LaTeX class where it would not
11785         re-run latex if no depfiles were changed, but the .dvi was removed.
11786
11787 2001-11-28  André Pönitz <poenitz@gmx.net>
11788
11789         * all the files from the change on 2001/11/26:
11790         use lyx::layout_type instead of LyXTextClass::size_type
11791         use lyx::textclass_type instead of LyXTextClassList::size_type
11792
11793 2001-11-29  Juergen Vigna  <jug@sad.it>
11794
11795         * text.C: added support for paragraph::isFreeSpacing()
11796
11797         * buffer.C: same as above
11798
11799         * paragraph.h: inserted isFreeSpacing() function to enable
11800         FreeSpacing inside InsetERT.
11801
11802         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11803         of the paragraph's in the cut/copy buffer to 0!
11804
11805         * text2.C (removeRow): remove the assert as it can!
11806
11807         * lyxtext.h: added helper function firstRow returning firstrow and
11808         made firstrow private again.
11809
11810         * BufferView2.C (lockInset): don't relock if we're already locked!
11811
11812         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11813         the only paragraph.
11814         (removeRow): added Assert::(firstrow)
11815
11816         * debug.C: forgot to add INSETTEXT here.
11817
11818 2001-11-28  Juergen Vigna  <jug@sad.it>
11819
11820         * sp_spell.C (initialize): changed error text to more general
11821         spellchecker command use (not only ispell!)
11822
11823         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11824
11825         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11826
11827 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * vspace.C: initialise lyxgluelength on failure
11830
11831 2001-11-28  Allan Rae  <rae@lyx.org>
11832
11833         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11834         declaration & definition that looks like a function declaration.
11835
11836 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * BufferView2.C (copy):
11839         (copyEnvironment): do not clear the selection when doing a copy.
11840
11841         * text.C (paintFirstRow): compilation fix
11842
11843 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11844
11845         * tabular.C (Latex): correct line count when writing latex.
11846
11847 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * paragraph_pimpl.h:
11850         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11851           bug a bit
11852
11853 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * text.C:
11856         * LColor.h:
11857         * LColor.C: change vfillline->added_space
11858
11859         * text.C: add markers and text for added space
11860
11861         * vspace.C: fix comment
11862
11863 2001-11-28  André Pönitz <poenitz@gmx.net>
11864
11865         * paragraph.C: whitespace changes
11866         * all the other files from the change on 2001/11/26:
11867         change *::pos_type into lyx::pos_type
11868
11869 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11872         language of the document when inserting error insets.
11873
11874 2001-11-26  André Pönitz <poenitz@gmx.net>
11875
11876         * BufferView_pimpl.[Ch]:
11877         *       CutAndPaste.C:
11878         * buffer.[Ch]:
11879         * lyxcursor.[Ch]:
11880         * lyxfind.C:
11881         * lyxfunc.C:
11882         * lyxrow.[Ch]:
11883         * paragraph.[Ch]:
11884         * paragraph_pimpl.[Ch]:
11885         * sp_spell.C:
11886         * text.C:
11887         * text2.C: reduce header dependencies, introduce type for positions
11888
11889 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * <various>: change to use Alert.h
11892
11893 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11894
11895         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11896         when encountering an unknown token.
11897         (readLyXformat2): Show an error message if there were unknown tokens.
11898
11899 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11900
11901         * BufferView2.C:
11902         * BufferView_pimpl.C:
11903         * buffer.C:
11904         * paragraph.h:
11905         * text.C:
11906         * text2.C: use par->isInset()
11907
11908 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * paragraph_pimpl.h:
11911         * paragraph_pimpl.C: cleanup
11912
11913 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * text2.C (removeRow):
11916         * text.C (setHeightOfRow): remove useless (and costly) call to
11917         getRow.
11918
11919 2001-11-20  Allan Rae  <rae@lyx.org>
11920
11921         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11922         Now need Inset*::checkInsertChar() to return true for appropriate
11923         cases so that the characters in the minibuffer will actually be
11924         inserted.
11925
11926 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * text.C: change the order of the includes.
11929         (workWidth): initialize it at once.
11930         (workWidth): make maxw unsigned
11931         (setHeightOfRow): remove unused variable (inset)
11932         (selectSelectedWord): remove unused variable (inset)
11933         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11934
11935 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11938         server is not running.
11939         (openConnection):
11940         (closeConnection): add debug info when server is disabled.
11941
11942         * ColorHandler.C (getGCForeground): send debug message to GUI
11943         channel.
11944
11945         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11946
11947         * kbmap.C (bind): modify because return conventions of
11948         kb_sequence::parse have changed.
11949
11950         * kbsequence.C (parse): only ignore spaces and not any stupid
11951         control character. This avoids tests like s[i] <= ' ', which are
11952         guaranteed to fail with 8bit characters and signed chars.
11953         Change return code to string::npos when there have been no error
11954         (0 was a bad idea when error is at first character)
11955
11956 2001-11-14  José Matos  <jamatos@fep.up.pt>
11957
11958         * buffer.h:
11959         * buffer.C (simpleDocBookOnePar): removed unused argument.
11960
11961 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11962
11963         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11964         insets which are part of a word. Paragraph::isLetter takes care of
11965         that now. Use Paragraph::isInset to identify insets.
11966         (selectSelectedWord): do not test for hyphenation break.
11967
11968         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11969         that protected spaces are considered as spaces.
11970
11971         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11972         Inset::isLetter.
11973
11974 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyxserver.h:
11977         * lyxserver.C: fix it. and small cleanup.
11978
11979 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView_pimpl.C: use inline helpers
11982
11983         * LaTeXFeatures.h:
11984         * LaTeXFeatures.C: fix typos
11985
11986         * Spacing.h:
11987         * Spacing.C: move spacing_string into class
11988
11989         * ToolbarDefaults.C: move stuff into namespace anon
11990
11991         * layout.h: update enum
11992
11993         * lyxfunc.C: use better debug
11994
11995         * minibuffer.h: fix typo
11996
11997         * debug.h:
11998         * debug.C:
11999         * WorkArea.C: add and use Debug::WORKAREA
12000
12001         * lyxtext.h:
12002         * text.C:
12003         * text2.C: code re-organisation, inline helpers
12004
12005 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12006
12007         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12008         std::vector.empty().
12009
12010 2001-11-09  Allan Rae  <rae@lyx.org>
12011
12012         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12013         '\n's after tables.  Tabular and ERT inset work now makes this no
12014         longer necessary.
12015
12016 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * minibuffer.h:
12019         * minibuffer.C: fix crash, improve drop-down completion
12020
12021 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * lyxserver.h:
12024         * lyxserver.C: invalidate fd's when doing endPipe()
12025
12026 2001-11-08  José Matos  <jamatos@fep.up.pt>
12027
12028         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12029         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12030
12031         * paragraph.h:
12032         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12033
12034 2001-11-07  José Matos  <jamatos@fep.up.pt>
12035
12036         * buffer.h:
12037         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12038         const qualifier.
12039
12040         * buffer.C (sgmlOpenTag):
12041         * buffer.C (sgmlCloseTag): removed debug info.
12042
12043         * buffer.h (sgmlOpenTag):
12044         * buffer.h (sgmlCloseTag): made public.
12045
12046 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * buffer.C (saveParamsAsDefaults):
12049         * lyx_cb.C (MenuLayoutSave): remove
12050
12051         * LyXAction.C (init):
12052         * commandtags.h:
12053         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12054
12055 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * buffer.C (setPaperStuff): removed from here...
12058
12059         * bufferparams.C (setPaperStuff): ... and moved there.
12060
12061 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * minibuffer.h:
12064         * minibuffer.C:
12065         * XFormsView.C: add support for drop-down completion
12066
12067 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12068
12069         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12070         commands.
12071
12072 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12075         disabled.
12076
12077 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * lyx_main.C: change ref to known bugs
12080
12081 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12082
12083         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12084         to work around older babel problems.
12085
12086 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12087
12088         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12089
12090 2001-10-24  Juergen Vigna  <jug@sad.it>
12091
12092         * tabular-old.C (ReadOld): below variable changes reflected.
12093
12094         * tabular.[Ch]: added ltType struct for longtable header/footer
12095         defines and changed all instances where they are used. Added
12096         future support for double top/bottom rows.
12097
12098 2001-10-24  José Matos  <jamatos@fep.up.pt>
12099
12100         * buffer.h (docbookHandleCaption):
12101         * buffer.C (docbookHandleCaption): removed unused function.
12102         (makeDocBookFile): moved docbook supported version to v4.1.
12103
12104 2001-10-24  José Matos  <jamatos@fep.up.pt>
12105
12106         * tabular.h:
12107         * tabular.C (docbookRow): new function to export docbook code of a row.
12108         (DocBook): now honors the longtable flags.
12109
12110 2001-10-23  José Matos  <jamatos@fep.up.pt>
12111
12112         * LaTeXFeatures.h:
12113         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12114         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12115
12116         * buffer.C (makeLinuxDocFile):
12117         (makeDocBookFile): reworked the preamble, more clean, and with
12118         support for lyx defined entities. Changed the document declaration
12119         to be more XML friendly.
12120
12121         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12122         if we need to output XML that should be done with a filter.
12123
12124 2001-10-22  Juergen Vigna  <jug@sad.it>
12125
12126         * sp_pspell.h (class PSpell): add alive function needed in the
12127         controller to see if the spellchecker could be started.
12128
12129 2001-10-22  Juergen Vigna  <jug@sad.it>
12130
12131         * buffer.C (insertStringAsLines): modify the font for inserting
12132         chars in certain conditions by calling checkInsertChar(font).
12133
12134 2001-10-19  Juergen Vigna  <jug@sad.it>
12135
12136         * text.C (workWidth): use getRow instead of wrong algorithm.
12137         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12138
12139 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * lyxserver.h:
12142         * lyxserver.C:
12143         * lyx_main.h:
12144         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12145
12146 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * text.C (workWidth): do not search for the exact row when
12149         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12150         optimization for big documents.
12151
12152 2001-10-18  Juergen Vigna  <jug@sad.it>
12153
12154         * text.C (workWidth): new function with added Inset * parameter.
12155
12156 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12159
12160         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12161         change return type of getColumnNearX.
12162
12163
12164         * text.C (changeRegionCase): use uppercase/lowercase instead of
12165         toupper/tolower.
12166         (leftMargin):
12167         (rightMargin): simplify code by factoring out the uses of
12168         textclasslist.
12169         (labelFill):
12170         (numberOfHfills):
12171         (setHeightOfRow):
12172         (appendParagraph): use Paragraph::size_type
12173
12174 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12175
12176         * vspace.C (asLatexString): add a missing break
12177
12178 2001-10-15  Herbert Voss  <voss@perce.de>
12179
12180         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12181
12182 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12185         is not available.
12186
12187 2001-10-10  André Pönitz <poenitz@gmx.net>
12188
12189         * lyxfunc.C: removed greek_kb_flag.
12190
12191 2001-10-10  Herbert Voss  <voss@perce.de>
12192
12193         * lyx_main.C: delete global string help_lyxdir.
12194
12195 2001-10-09  Herbert Voss  <voss@perce.de>
12196
12197         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12198
12199         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12200
12201         * lyx_main.C: added global string help_lyxdir.
12202
12203         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12204
12205 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12206
12207         * lyxrc.C (set_font_norm_type): support iso8859-4
12208
12209 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12210
12211         * LaTeX.C (deplog): add another regex for MikTeX
12212
12213 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12214
12215         * lyxrc.C (set_font_norm_type): support iso8859-3
12216
12217 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12218
12219         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12220
12221         * LaTeXFeatures.C: remove special case of french and index
12222
12223         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12224         before \begin{document}). This solves several incompatibilities.
12225
12226 2001-10-03  Garst Reese  <reese@isn.net>
12227
12228         * lyx_cb.C: change CheckTex error msg.
12229
12230 2001-10-03  José Matos  <jamatos@fep.up.pt>
12231
12232         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12233
12234 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12235
12236         * .cvsignore: update
12237
12238         * lyx_main.C (commandLineVersionInfo): use new style version info.
12239
12240         * buffer.C (writeFile):
12241         (makeLaTeXFile):
12242         (makeLinuxDocFile):
12243         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12244
12245         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12246
12247         * version.h: update to use stuff in version.C
12248
12249         * version.C.in: new file. Contains version information determined
12250         at compile time. This is a merging of version.h and
12251         version_info.h.in.
12252
12253 2001-10-03  Juergen Vigna  <jug@sad.it>
12254
12255         * BufferView_pimpl.C (update): don't change "dirty" status in
12256         updateInset call.
12257
12258 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * WorkArea.C (c-tor): re-position version string slightly.
12261
12262 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12263
12264         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12265         revert to previous code.
12266
12267         WorkArea.[Ch]: (show, destroySplash): methods removed.
12268
12269         WorkArea.C: rework code so that it's an amalgam of the codes before and
12270         after the splash screen was moved to WorkArea.
12271
12272 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * lyxrc.C (read):
12275         * vspace.C (inPixels):
12276         (lyx_advance):
12277         * kbmap.C (bind):
12278         * buffer.C (insertStringAsLines):
12279         (asciiParagraph): fix types to be large enough
12280
12281         * lyxlex_pimpl.h: change member status from short to int
12282
12283         * layout.h: fix type of endlabeltype
12284
12285         * kbmap.C (bind):
12286         * kbsequence.C (parse): change return type to string::size_type
12287
12288         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12289         variable
12290
12291         * Bullet.C (bulletSize):
12292         (bulletEntry): do not use short ints as parameters
12293
12294         * BufferView2.C (insertLyXFile): change a char to an int.
12295
12296         * WorkArea.C (WorkArea): remove unneeded floats in computation
12297
12298 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12299
12300         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12301
12302         * paragraph.C (asString): Do not ignore newline/hfill chars when
12303         copying to the clipboard.
12304
12305 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12306
12307         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12308         after a multi-line inset.
12309
12310 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12311
12312         * paragraph.C (validate): Set NeedLyXFootnoteCode
12313
12314 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12315
12316         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12317         and decrease-error to decrease.
12318
12319 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12322         it more readable (should be equivalent)
12323
12324 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12325
12326         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12327
12328 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12331         of a cursor (row, etc.) after a character has been deleted
12332         (deleteEmptyParagraphMechanism): call the method above on _all_
12333         cursors held by the LyXText when a double space has been
12334         detected/deleted.
12335
12336 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12337
12338         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12339         pixmap.
12340         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12341
12342         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12343         background. Use greyOut() and the new show() methods to toggle between
12344         the foreground and background. Add code to remove the splash after
12345         its initial showing.
12346
12347         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12348         (create_forms): no longer call Dialogs::showSplash.
12349
12350 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12351
12352         * .cvsignore: add version_info.h
12353
12354 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * version_info.h.in: new file
12357
12358         * Makefile.am: add version_info.h.in
12359
12360         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12361         version_info.h instead of VERSION_INFO
12362
12363 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12366         The ERT inset now returns string().
12367
12368 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * lyxtext.h, text.C (selectNextWord): renamed as
12371         selectNextWordToSpellcheck.
12372
12373         * text.C (selectNextWordToSpellcheck): Modified to not select
12374         words inside an ERT inset.
12375
12376 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * lyx_cb.C (MenuLayoutSave): change a bit the question
12379
12380         * sp_base.h: include <sys/types.h>
12381
12382 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12383
12384         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12385
12386 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12387
12388         * several files: fix typos in user-visible strings
12389
12390 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12391
12392         * text2.C (pasteSelection): do not set the selection, since it
12393         will be cleared later. Actually, the intent was to fix the way the
12394         selection was set, but I figured rmoving the code was just as good.
12395
12396 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12397
12398         * FontLoader.C (available): Check if font is available without
12399         loading the font.
12400
12401 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12402
12403         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12404
12405 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12406
12407         * lyxrc.[Ch]: added display_graphics variable and associated code.
12408
12409 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * bufferparams.C (hasClassDefaults): new method. Returns true if
12412         the buffer parameters correspond to known class defaults
12413
12414 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * XFormsView.C (show): set minimum size to the main window.
12417
12418 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12419
12420         * text2.C (copySelection):
12421         (cutSelection):
12422         * lyxfind.C (LyXReplace):
12423         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12424         LyXText::selectionAsString.
12425
12426         * paragraph.C (asString): add "label" argument to the second form
12427
12428         * text2.C (selectionAsString): add "label" argument and pass it to
12429         Paragraph::asString.
12430
12431 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12432
12433         * lyx_main.C (commandLineHelp): remove version information
12434
12435 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12436
12437         * lyx_main.C: add -version commandline option
12438
12439 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12440
12441         * paragraph.h: make the optional constructor arg required instead.
12442         some modifications to other files because of this.
12443
12444         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12445
12446         * lyxserver.C (C_LyXComm_callback): make it static
12447
12448         * lyx_main.C (error_handler): make it static
12449
12450         * lyx_gui.C (LyX_XErrHandler): make it static
12451
12452         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12453
12454         * WorkArea.C: make the extern "C" methods static.
12455
12456         * Makefile.am (lyx_LDADD): simplify
12457
12458 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12461         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12462
12463         * LyXAction.C (init):
12464         * lyxfunc.C (dispatch): associated code removal.
12465
12466 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12467
12468         * lyxfont.h (isSymbolFont): shut off warning
12469
12470         * text.C (setHeightOfRow):
12471         (getVisibleRow): fix crash with empty paragraphs which have a
12472         bottom line
12473
12474 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12475
12476         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12477         code.
12478
12479 2001-09-04  José Matos  <jamatos@fep.up.pt>
12480         * buffer.C
12481         * buffer.h
12482         * tabular.C (docbook): rename docBook method to docbook.
12483
12484 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * Makefile.am: add dependencies to main.o.
12487
12488 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12489
12490         * FontLoader.C (available): Return false if !lyxrc.use_gui
12491
12492 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12493
12494         * FontInfo.C (query):
12495         * converter.C (view):
12496         * importer.C (Import):
12497         * exporter.C (Export): Can not -> cannot.
12498
12499 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * BufferView_pimpl.C: allow to create index inset even if
12502           string is empty
12503
12504 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * buffer.C (getLists): replace boost::tie code with an explicit pair
12507         as boost::tie can break some compilers.
12508
12509         * iterators.h: Added a std:: declaration to the return type of
12510         ParIterator::size.
12511
12512 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12515           case.
12516
12517 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12518
12519         * iterators.[Ch]: New files. Provide paragraph iterators.
12520
12521         * buffer.C (changeLanguage): Use paragraph iterators.
12522         (isMultiLingual): ditto
12523
12524         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12525
12526 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12527
12528         * FontLoader.C: Support for cmr font.
12529
12530 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12531
12532         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12533         (available): New method.
12534
12535         * FontInfo.C (getFontname): Use scalable fonts even when
12536         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12537         found.
12538
12539 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12540
12541         * converter.C (Formats::view): reverted! Incorrect fix.
12542
12543 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * converter.C (Formats::view): only output the -paper option
12546         if the dvi viewer is xdvi, thereby fixing bug #233429.
12547
12548 2001-08-23  Herbert Voss  <voss@perce>
12549
12550         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12551
12552 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * Spacing.h (Spacing): Set space to Default on in the default
12555         constructor.
12556
12557 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * vc-backend.h (RCS::versionString): add RCS to version
12560         (CVS::versionString): add CVS to version
12561
12562         * vc-backend.C (scanMaster): do not add CVS to version.
12563         (scanMaster): do not add RCS to version
12564
12565         * lyxvc.C (versionString): new method
12566
12567         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12568
12569 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * Spacing.C (set): initialize fval
12572
12573 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12576         " or \.
12577
12578 2001-08-16  Juergen Vigna  <jug@sad.it>
12579
12580         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12581
12582 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * BufferView_pimpl.C:
12585         * figureForm.C:
12586         * lyxtext.h:
12587         * text2.C: setParagraph takes linespacing now
12588
12589 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * LyxAction.C: add internal LFUN_CITATION_INSERT
12592
12593         * LyXView.C: actually apply fix
12594
12595         * bufferlist.C: fix open non-existent file
12596
12597         * lyxfind.C: fix indentation
12598
12599         * lyxfunc.C: remove unneeded assert, fix typo
12600
12601 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * MenuBackend.C: use "Floatname List"
12604
12605 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12606
12607         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12608         when converting LaTeX layout to insetERT.
12609         Generate a non-collapsed float when reading old float
12610
12611 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12612
12613         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12614         ERT insets.
12615
12616 2001-08-13  Juergen Vigna  <jug@sad.it>
12617
12618         * text.C (fill): return 0 instead of 20 as this seems to be the more
12619         correct value.
12620
12621 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12624         lyxrc.font_norm.
12625
12626 2001-08-13  Juergen Vigna  <jug@sad.it>
12627
12628         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12629         casesensitive off.
12630         (SearchBackward): comment out the unlocking of the inset_owner this
12631         should not be needed!
12632
12633 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12634
12635         * Many files: Remove inherit_language, and add latex_language
12636
12637         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12638         collapsible insets.
12639
12640 2001-08-10  Juergen Vigna  <jug@sad.it>
12641
12642         * text.C (prepareToPrint): fixed hfill-width in draw!
12643
12644         * BufferView2.C (selectLastWord): save the selection cursor as this
12645         now is cleared in the function LyXText::clearSelection!
12646
12647 2001-08-08  Juergen Vigna  <jug@sad.it>
12648
12649         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12650         BACKSPACE type functions.
12651
12652         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12653         is only cutted from the document but not put in the cut-buffer, where
12654         still the old stuff should be.
12655
12656         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12657
12658         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12659
12660         * tabular.C (SetWidthOfCell): fixed special case where the width
12661         was not updated!
12662         (LeftLine): handle '|' in align_special.
12663         (RightLine): ditto
12664         (LeftAlreadyDrawed): ditto
12665         (SetWidthOfCell): ditto
12666
12667 2001-08-07  Juergen Vigna  <jug@sad.it>
12668
12669         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12670
12671 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12674         * lyxlex.[hC]: ditto
12675
12676 2001-08-06  Juergen Vigna  <jug@sad.it>
12677
12678         * text.C (getVisibleRow): fix up row clearing a bit.
12679
12680 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12681
12682         * minibuffer.C: make sure the X server sees the changes in the input.
12683
12684 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * paragraph.C (getFont): split into...
12687         (getLabelFont): this
12688         (getLayoutFont): and this
12689         * paragraph_pimpl.C (realizeFont): calling this
12690
12691         * text2.C (getFont): split into...
12692         (getLayoutFont): this
12693         (getLabelFont): and this
12694         (realizeFont): all three calling this
12695
12696         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12697         files where used.
12698
12699 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12702
12703 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12704
12705         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12706         layouts from the Quote inset insertion.
12707
12708 2001-08-03  Juergen Vigna  <jug@sad.it>
12709
12710         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12711
12712         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12713         only if status not is already CHANGED_IN_DRAW (second level).
12714
12715         * text.C (draw): don't set the need_break_row when inside an
12716         InsetText LyXText.
12717
12718 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * buffer.C (parseSingleLyXformat2Token): handle more latex
12721         conversion cases.
12722
12723         * bufferview_funcs.[hC]: change function names to
12724         begin with small char, adjust other files.
12725
12726 2001-08-02  André Pönitz <poenitz@gmx.net>
12727
12728         * lyxfunc.C:
12729         BufferView_pimpl.C: remove broken special code for math-greek
12730
12731 2001-08-02  Juergen Vigna  <jug@sad.it>
12732
12733         * BufferView_pimpl.C (update): redone this function so that we
12734         update the text again if there was a CHANGE_IN_DRAW.
12735
12736         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12737         (drawFromTo): added a new internal bool which is used by draw() and
12738         redraw() function.
12739         (general): some cursor drawing problems fixed.
12740
12741 2001-08-01  Juergen Vigna  <jug@sad.it>
12742
12743         * lyxfind.C (LyXFind): fixed
12744         (SearchForward): ditto
12745         (SearchBackward): ditto
12746
12747         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12748         spurius drawing of the cursor in the main area.
12749
12750         * text2.C (status): small fix which could lead to a segfault!
12751         (clearSelection): remove unneeded BufferView param.
12752
12753 2001-08-01  André Pönitz <poenitz@gmx.net>
12754
12755         * lyxfunc.C: small change due to changed mathed interface
12756
12757 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12760
12761 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * lyxfunc.c: fail gracefully if file doesn't exist
12764
12765         * LyXSendto.C:
12766         * buffer.C:
12767         * lyxfunc.C:
12768         * BufferView_pimpl.C: IsDirWriteable() proto changed
12769
12770         * LyXView.C: fix updateWindowTitle() to store the last title
12771
12772 2001-07-31  Juergen Vigna  <jug@sad.it>
12773
12774         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12775         the font (wrong since using of Paragraph::highestFontInRange).
12776
12777         * paragraph.C (highestFontInRange): added a default_size parameter.
12778
12779         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12780         (setHeightOfRow): reformat
12781
12782 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * converter.[hC] + affected files: move to (inital-char)lowercase
12785         function names.
12786
12787         * ParagraphParameters.C (ParagraphParameters): remove commented code
12788
12789         * PainterBase.[Ch]: remove commented code
12790
12791         * LaTeXFeatures.h: add "bool floats" for float.sty
12792
12793         * LaTeXFeatures.C (LaTeXFeatures): init floats
12794         (require): handle float
12795         (getPackages): do it with floats
12796
12797 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * BufferView_pimpl.C (Dispatch): improve handling of
12800         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12801
12802         * commandtags.h: #include lyxfont.h here temporarily to avoid
12803         keybinding bug.
12804
12805         * bufferlist.h: include LString.h here.
12806
12807 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * text2.C (getStringToIndex): new method.
12810
12811 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12812
12813         * *: Reduced header file dependencies all over.
12814
12815 2001-07-30  Baruch Even  <baruch@lyx.org>
12816
12817         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12818
12819 2001-07-29  Baruch Even  <baruch@lyx.org>
12820
12821         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12822
12823 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * ParameterStruct.h (endif): add a default constructor to make
12826         sure that all variables is initialized.
12827
12828         * ParagraphParameters.C (ParagraphParameters): adjust
12829
12830 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12833         index; also, check that there is something to index, and that it
12834         does not span over several paragraphs.
12835         (doubleClick): use WHOLE_WORD_STRICT for double click.
12836
12837         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12838
12839         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12840         scheme.
12841
12842 2001-07-26  Baruch Even  <baruch@lyx.org>
12843
12844         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12845         an InsetFig figure, backwards compatible reading of old figure code.
12846
12847 2001-07-27  Juergen Vigna  <jug@sad.it>
12848
12849         * text2.C: font.realize function adaption.
12850
12851         * text.C (draw): add a warnings lyxerr text if needed.
12852
12853         * layout.C: font.realize function adaption.
12854
12855         * language.C: add inherit_language and implement it's handlings
12856
12857         * bufferview_funcs.C (StyleReset): remove language parameter from
12858         font creation (should be language_inherit now).
12859
12860         * bufferparams.C (writeFile): handle ignore_language.
12861
12862         * paragraph.C (getFontSettings): the language has to be resolved
12863         otherwise we have problems in LyXFont!
12864
12865         * lyxfont.C (lyxWriteChanges): added document_language parameter
12866         (update): removed unneeded language parameter
12867
12868         * paragraph.C (validate): fixed wrong output of color-package when
12869         using interface colors for certain fonts in certain environments,
12870         which should not seen as that on the final output.
12871
12872 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * BufferView_pimpl.C:
12875         * Thesaurus.h:
12876         * Thesaurus.C:
12877         * Makefile.am:
12878         * commandtags.h:
12879         * LyXAction.C: add thesaurus support
12880
12881         * lyxfind.h:
12882         * lyxfind.C: add "once" parameter, for thesaurus, to not
12883           move to the next match
12884
12885 2001-07-26  Juergen Vigna  <jug@sad.it>
12886
12887         * lyxfont.C (realize): honor ignore_language too!
12888         (resolved): ditto.
12889
12890         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12891
12892         * text.C (draw): one place more for ignore_language to not draw
12893         itself!
12894
12895 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12896
12897         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12898
12899 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12902         the minipage conversion problem.
12903
12904 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12907         insert an inset.
12908
12909 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * BufferView.h: don't forward declare WorkArea
12912
12913         * BufferView.C: don't include WorkArea.h
12914
12915 2001-07-25  André Pönitz <poenitz@gmx.net>
12916
12917         * commandtags.h:
12918         * LyXAction.C:
12919         * lyxfunc.C:  new LFUN 'math-space'
12920
12921         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12922
12923 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * text2.C (toggleInset): call open/close
12926
12927 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * lyxfunc.C (dispatch): add debug for the disabled case
12930
12931         * font.C (buttonText): make similar to rectText
12932
12933         * buffer.C (readInset): comment out parsing of insetlist and
12934         insttheorem
12935
12936         * PainterBase.C (rectText): small correction
12937
12938         * BufferView_pimpl.C: comment out insettheorem and insetlist
12939         * LyXAction.C: ditto
12940         * commandtags.h: ditto
12941
12942 2001-07-24  Juergen Vigna  <jug@sad.it>
12943
12944         * text.C (draw): honor the ignore_language.
12945
12946         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12947
12948 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12949
12950         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12951         char inset.
12952
12953 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12954
12955         * lyxtext.h: remove unused (and unimplemented) methods
12956
12957 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12958
12959         * text.C (getVisibleRow): honor background color
12960
12961         * PainterBase.h:
12962         * Painter.h: remove default color argument for fillRectangle
12963
12964         * text.C (backgroundColor): new method
12965
12966 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * text.C (getVisibleRow): adjust
12969
12970         * font.[Ch] (rectText): new method, metrics
12971         (buttonText): new method, metrics
12972
12973         * PainterBase.[hC]: make rectText and buttonText always draw and take
12974         fewer paramteres.
12975
12976 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12977
12978         * ToolbarDefaults.C (read):
12979         * MenuBackend.C (read): allow escaping in all strings
12980
12981         * BufferView_pimpl.C (insertAndEditInset): new method.
12982         (Dispatch): use insertAndEditInset whenever appropriate.
12983
12984         * BufferView_pimpl.C (insertNote): removed
12985
12986         * BufferView_pimpl.C (smartQuote): new method, moved from
12987         BufferView; if an insetquote cannot be inserted, insert a '"'
12988         character instead.
12989
12990         * BufferView2.C: remove insertCorrectQuote();
12991
12992         * lyxfunc.C (getStatus): Add support for all remaingin
12993         inset-insert lfuns.
12994
12995         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12996
12997         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12998         command (necessary to pass " as parameter of self-insert.
12999
13000         * text.C (selectWordWhenUnderCursor):
13001         (selectWord): add word_location parameter
13002         (selectWordWhenUnderCursor): same + remove special code for word
13003         boundary.
13004         (selectNextWord): use kind() to guess type of insetspecialchar,
13005         not latex().
13006
13007         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13008         (insertErtContents): create ert insets as collapsed.
13009         (readInset): better compatibility code for Info inset.
13010
13011 2001-07-20  Juergen Vigna  <jug@sad.it>
13012
13013         * lyxfunc.C (dispatch): use always LyXFind now!
13014
13015         * text2.C (init): add a reinit flag so that the LyXText can be
13016         reinited instead of deleted and reallocated (used in InsetText).
13017
13018         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13019
13020         * text.C: ditto
13021
13022         * text2.C: ditto
13023
13024 2001-07-18  Juergen Vigna  <jug@sad.it>
13025
13026         * text.C (selectNextWord): handle insets inside inset by calling
13027         always the bv->text functions so that we can go up the_locking_inset!
13028
13029         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13030         in strange locations when inside an inset!
13031
13032         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13033         handling to include insets.
13034
13035         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13036
13037 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * LyXAction.C (init):
13040         * commandtags.h:
13041         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13042         LIGATURE_BREAK, since the name is so stupid.
13043
13044 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13047         InsetInfos.
13048
13049         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13050
13051         * sp_form.[Ch]: remove.
13052
13053         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13054
13055         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13056         InsetInfo.
13057
13058         * src/buffer.C (readInset): ditto.
13059
13060 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13061
13062         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13063         menuSeparator(), endOfSentenceDot(), ldots() and
13064         hyphenationPoint(), which are therefore removed.
13065         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13066
13067         * LyXAction.C (init):
13068         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13069
13070         * paragraph.C (getWord): removed.
13071
13072         * BufferView_pimpl.C (Dispatch): use last word or selection for
13073         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13074
13075         * lyx_main.C (queryUserLyXDir): do not ask before creating
13076         user_dir, except if it has been named explicitely.
13077
13078 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13079
13080         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13081         a document of zero size.
13082
13083 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13086         approriately in the c-tor and in require().
13087         (getPackages): output the appropriate LaTeX for natbib support.
13088
13089         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13090         variables "use_natbib" and "use_numerical_citations" when reading the
13091         LyX file.
13092         (readInset): read the various natbib cite commands.
13093         (validate): white-space change.
13094
13095         * bufferparams.[Ch]: new variables "bool use_natbib" and
13096         "bool use_numerical_citations".
13097         (writeFile): output them in the LyX file.
13098
13099 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13100
13101         * lyxfunc.C (getStatus): add support for all the inset insertion
13102         commands.
13103
13104         * text2.C (insertInset):
13105         * paragraph.C (insetAllowed):
13106         * BufferView_pimpl.C (insertInset): update to take in account the
13107         renaming of insertInsetAllowed
13108
13109         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13110
13111         * text2.C (getInset): new method. returns inset at cursor position.
13112
13113         * BufferView_pimpl.C (Dispatch): changes because of this.
13114
13115         * LyXAction.C (init): rename open-stuff to inset-toggle.
13116
13117         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13118
13119         * text2.C (toggleInset): renamed from openStuff; use
13120         Inset::open().
13121
13122 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13123
13124         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13125
13126         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13127
13128 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13129
13130         * buffer.C (readLyXformat2): Add filename to the error dialog
13131
13132 2001-07-18  Juergen Vigna  <jug@sad.it>
13133
13134         * tabular.C (GetCellNumber): put an assert here instead of the check!
13135
13136 2001-07-17  Juergen Vigna  <jug@sad.it>
13137
13138         * BufferView_pimpl.C (toggleSelection): adapted too.
13139
13140         * text.C (selectNextWord): adapted for use with insets.
13141         (selectSelectedWord): ditto
13142
13143 2001-07-17  Juergen Vigna  <jug@sad.it>
13144
13145         * sp_spell.C (PSpell): fix initialitation order.
13146
13147 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * paragraph.C: spacing
13150
13151 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13152
13153         * sp_spell.C: repair language selection for pspell
13154
13155 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * lyxfunc.h: change more methods to begin with lower char.
13158
13159 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13162         for unknown layouts.
13163
13164 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13165
13166         * buffer.C (readLyXformat2): Generate an error dialog if there are
13167         unknown layouts.
13168
13169 2001-07-16  Juergen Vigna  <jug@sad.it>
13170
13171         * sp_spell.C: always compile ISpell part.
13172
13173         * lyxrc.C: added use_pspell entry and it's handling.
13174
13175 2001-07-13  Juergen Vigna  <jug@sad.it>
13176
13177         * sp_spell.C: removed double includes.
13178
13179 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         Consistent use of Lsstream.h:
13182         * Lsstream.h: added using std::stringstream for consistencies sake.
13183
13184         * buffer.C: removed using std::stringstream
13185
13186         * lyxfont.C (stateText):
13187         * paragraph.C (asString):
13188         * text.C (selectNextWord, selectSelectedWord):
13189         * text2.C (setCounter):
13190         * vspace.C (asString, asLatexString):
13191         std::ostringstream -> ostringstream.
13192
13193 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13194
13195         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13196         * commandtags.h: add LFUN_HELP_ABOUTLYX
13197         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13198
13199 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13200
13201         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13202         cursorToggle()
13203         * lyx_gui_misc.C: remove spellchecker
13204         * lyxfunc.C: showSpellchecker
13205         * sp_base.h: added
13206         * sp_ispell.h: added
13207         * sp_pspell.h: added
13208         * sp_spell.C: added
13209         * sp_form.[Ch]: removed
13210         * spellchecker.[Ch]: removed
13211
13212 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13213
13214         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13215         is set.
13216         (simpleTeXSpecialChars): Simply print the input character without
13217         any special translation if pass_thru is set.
13218
13219         * layout.h: Added bool pass_thru to layout class for being able to
13220         implement pass through of a paragraph for Literate Programming.
13221
13222         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13223         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13224         * layout.C (Read): add "passthru" to list of layout tags and add
13225         code to set the pass_thru boolean when it is read.
13226
13227 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * trans_decl.h: remove allowed from KmodInfo
13230
13231         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13232         remove allowed code
13233         (Load): adjust
13234
13235         * paragraph_pimpl.C (erase): use boost::prior
13236
13237         * Painter.C (text): use data() instead of c_str() when length is
13238         also provided.
13239         * WorkArea.C (putClipboard): ditto
13240         * font.h (width): ditto
13241
13242         * BufferView2.C: use it-> instead of (*it). for iterators
13243         * texrow.C: ditto
13244         * paragraph_pimpl.C: ditto
13245         * paragraph.C: ditto
13246         * minibuffer.C: ditto
13247         * language.C: ditto
13248         * kbmap.C: ditto
13249         * encoding.C: ditto
13250         * counters.C: ditto
13251         * converter.C: ditto
13252         * chset.C: ditto
13253         * Variables.C: ditto
13254         * TextCache.C: ditto
13255         * MenuBackend.C: ditto
13256         * LyXAction.C: ditto
13257         * LColor.C: ditto
13258         * FloatList.C: ditto
13259         * DepTable.C: ditto
13260         * ColorHandler.C (LyXColorHandler): ditto
13261
13262 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13265
13266         * text2.C (openStuff): reintroduce this method (which had been
13267         nuked in NEW_INSETS frenzy).
13268
13269         * lyxfunc.C (Dispatch): when an action has not been handled, use
13270         its name in the error message, not its number.
13271
13272         * paragraph.C (inInset): change method name to begin with lowercase.
13273
13274         * undo_funcs.C:
13275         * text2.C: updates because of this.
13276
13277 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13278
13279         * ToolbarDefaults.C (add): add spaces in error message
13280
13281 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13284         (readLyXformat2): rename return_par to first_par, use lyxlex's
13285         pushToken and remove the manual push handling.
13286         (parseSingleLyXformat2Token): add another ert comp. variable:
13287         in_tabular, rename return_par to first_par. handle newlines better
13288
13289 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13292
13293 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * text2.C (getParFromID): removed
13296
13297         * buffer.C (getParFromID): new method moved form lyxtext.
13298         * BufferView2.C (insertErrors): adjust
13299         (setCursorFromRow): adjust
13300         * BufferView_pimpl.C (restorePosition): adjust
13301         * lyxfunc.C (Dispatch): adjust
13302         * undo_funcs.C (textUndo): adjust
13303         (textRedo): adjust
13304         (textHandleUndo): adjust
13305         (textHandleUndo): adjust
13306
13307 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * buffer.C: up' the LYX_FORMAT
13310
13311         * lyxfont.h: turn NO_LATEX on as default
13312
13313         * buffer.C (insertErtContents): new methods of tex style compability.
13314         (parseSingleLyXformat2Token): use it several places.
13315         * tabular.C (OldFormatRead): and here
13316
13317 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * text2.C: remove some commented code.
13320         reindent file.
13321
13322         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13323         * trans.C: changes because of the above.
13324
13325 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13326
13327         * text2.C (setCounter): Fix counters bug with bibliography layout.
13328
13329 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13332         own member functions
13333         (simpleTeXSpecialChars): ditto
13334
13335 2001-07-06  Juergen Vigna  <jug@sad.it>
13336
13337         * a lot of files: changed the access to LyXText::status and the
13338         call of undo-functions.
13339
13340         * undo.[Ch]: added a inset_id to the undo informations.
13341
13342         * undo_funcs.[Ch]: added and moved here all undo functions.
13343
13344         * lyxtext.h: give the status enum a weight, made status_ a private
13345         variable and made accessor functions for it, removed the whole bunch
13346         of undo-functions as they are now in their own file, make some
13347         functions publically available. Added function ownerParagraph with
13348         int parameter.
13349
13350         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13351         made InInset() a const function, added getParFromID() function.
13352
13353         * buffer.[Ch]: added const version for inset_iterator functions,
13354         added getInsetFromID() function.
13355
13356         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13357         changed undo functions for new version.
13358
13359 2001-07-05  Juergen Vigna  <jug@sad.it>
13360
13361         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13362         unknow mechanism does not call the proper constructor but only this
13363         one also if I request the other!?
13364
13365 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13368
13369         * text2.C (LyXText): use initialization lists.
13370
13371         * lyxtext.h (Selection): initialize set_ and mark_
13372         (init): remove method
13373
13374 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13377
13378 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * screen.[Ch]: change method names to begin with lowercase
13381
13382         * BufferView_pimpl.C (updateScrollbar): simplify further and
13383         hopefully make it a bit faster.
13384
13385 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13386
13387         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13388         calling directly xforms functions.
13389
13390         * Painter.C (Painter):
13391         * lyx_cb.C (MenuWrite):
13392         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13393         fl_display.
13394
13395         * lyx_gui.C: remove bogus guiruntime extern declaration.
13396
13397 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13400         in NEW_INSETS
13401         (redoDrawingOfParagraph): ditto
13402         (redoParagraphs): ditto
13403         (cutSelection): don't create a object for CutAndPaste use the
13404         static method directly
13405         (pasteSelection): ditto
13406
13407         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13408         LyXview (+ rename)
13409
13410 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * modifications to some other files because of this.
13413
13414         * Makefile.am (lyx_SOURCES): add XFormsView
13415
13416         * XFormsView.[Ch]: new files
13417
13418         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13419         the main window. Move the gui dependent stuff to XFormsView
13420
13421 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * tabular.C (GetCellInset): update cur_cell also in the row/col
13424         version of this function.
13425
13426         * lyxfunc.C: no need to include figure_form.h here.
13427
13428         * FontLoader.h:
13429         * lyxfunc.h:
13430         * lyxscreen.h:
13431         * text2.C:
13432         * lyxvc.C: no need to include forms.h here.
13433
13434 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13437
13438         * lyxfunc.C (Dispatch):
13439         * Spacing.C (set):
13440         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13441         constructor argument.
13442
13443 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * paragraph.C (Paragraph): dont't clear, and just set layout.
13446         (makeSameLayout): use params's copy contructor.
13447
13448         * ParagraphParameters.[Ch] (makeSame): delete method
13449
13450 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * Variables.[Ch]: fix indentation, rename set to isSet
13453
13454 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * lyxfunc.C (Dispatch): fix typo
13457
13458 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13461         upper_bound.
13462
13463         * bufferlist.C: include assert.h for emergencyWrite().
13464
13465 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13468           give up at last (bug #425202) !
13469
13470 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13471
13472         * lyx_gui_misc.C:
13473         * sp_form.h:
13474         * sp_form.C:
13475         * spellchecker.h:
13476         * spellchecker.C: strip spellchecker options and bring up
13477           preferences tab instead
13478
13479 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13480
13481         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13482         the istringstream constructor
13483
13484 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13485
13486         * paragraph.C (getLayout): fix return value
13487
13488         * paragraph.h: do not declare getLayout as inline.
13489
13490         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13491
13492 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13493
13494         * lyxcursor.h (operator<): new func
13495         (operator>): new func
13496         (operator>=): new func
13497         (operator<=): new func
13498
13499         * text.C (changeCase): use selection.start and selection.end
13500         (changeRegionCase): require from to be <= to. Require par to be a
13501         valid paragraph.
13502
13503         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13504
13505 2001-06-27  Juergen Vigna  <jug@sad.it>
13506
13507         * text.C (cursorLeftOneWord): changed to return the cursor and added
13508         overlay with BufferView * parameter which calls this one.
13509         (getWord): added
13510         (selectWord): use new getWord function.
13511         (changeCase): renamed from changeWordCase as and extended to work
13512         also on selections.
13513
13514         * lyxtext.h: added enum word_location
13515
13516         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13517         changeCase as this operates now also on selections.
13518
13519 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13520
13521         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13522
13523         * many files: send debug output to Debug::INFO instead of
13524         Debug::ANY.
13525
13526         * converter.C (View):
13527         (Convert):
13528         (Move): send debug output to Debug::FILES instead of console.
13529
13530 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13531
13532         * lyxfunc.C (getStatus): use func_status
13533
13534         * func_status.h: new header, describing the results of
13535         LyXFunc::getStatus;
13536
13537         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13538         LFUN_MATH_HALIGN.
13539
13540 2001-06-25  The LyX Project  <jug@sad.it>
13541
13542         * buffer.C (sgmlOpenTag):
13543         (sgmlCloseTag):
13544         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13545
13546 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * text2.C: remove some dead code
13549
13550         * tabular.C (GetCellInset): store the last cell checked (gotten)
13551
13552         * tabular.h: add the helper for the speedup
13553
13554         * lyxtext.h: remove some dead code
13555
13556 2001-06-26  The LyX Project  <Asger>
13557
13558         * paragraph.C: Change export to LaTeX of alignment to
13559         \begin{center} and family for better roundtrip work with reLyX.
13560
13561         * Tune the math drawing a bit.
13562
13563 2001-06-25  The LyX Project  <Asger>
13564
13565         * LColor.C (LColor): New color for math background. New color
13566         for buttons.
13567
13568 2001-06-25  The LyX Project  <jug@sad.it>
13569
13570         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13571
13572         * lyxfunc.C (Open):
13573         * bufferlist.C (newFile): do not restrict to files ending with
13574         .lyx
13575
13576         * BufferView_pimpl.C (MenuInsertLyXFile):
13577
13578 2001-06-24  The LyX Project  <jug@sad.it>
13579
13580         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13581         of compare_no_case
13582
13583 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * lyxtext.h: rename most methods to begin with a small char.
13586         Lots of changes because of this.
13587
13588         * paragraph.C (Paragraph): do not call fitToSize
13589         (erase): call Pimpl::erase
13590         (insertChar): call Pimpl::insertChar
13591         (insertInset): call Pipl::insertInset
13592         (breakParagraph): do not call fitToSize
13593         (breakParagraphConservative): do not call fitToSize
13594         (fitToSize): remove method
13595
13596         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13597
13598 2001-06-24  The LyX Project  <Asger>
13599
13600         * Fix Qt compilation^2
13601
13602 2001-06-24  The LyX Project  <jug@sad.it>
13603
13604         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13605         depthHook(getDepth()-1).
13606
13607         * paragraph.h:
13608         * ParagraphParameters.h:
13609         * ParameterStruct.h: change type of depth to unsigned int ==
13610         depth_type. Many adaptations to other files before of that.
13611
13612 2001-06-24  The LyX Project  <Asger>
13613
13614         * Fix Qt compilation.
13615
13616 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * paragraph.h: renamed several methods to begin with small letter.
13619         several changes to many parts of the code because of this.
13620
13621 2001-06-23  The LyX Project  <jug@sad.it>
13622
13623         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13624         rewritten to discard all double spaces when KeepEmpty is off
13625         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13626         to only handle newlines but not fiddle with spaces and friends.
13627
13628         * lyxfunc.C (MenuNew): when doing 'new from template', use
13629         template_path as default directory
13630
13631 2001-06-23  The LyX Project  <Asger>
13632
13633         * Clean-up of header file includes all over
13634         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13635
13636 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13637
13638         * paragraph.h: renamed from lyxparagraph.h
13639
13640 2001-06-23  Asger  <lyx@violet.home.sad.it>
13641
13642         * Buffer.h: Removed Buffer::resize
13643         * BufferList.h: Removed BufferList::resize
13644         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13645         the document lazily when we change the width, or the font settings.
13646
13647 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13650
13651 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * buffer.h: remove out of date comment
13654
13655 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13656
13657         * lyxscreen.h:
13658         * screen.C: fix "theoretical" GC leak
13659
13660 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * LaTeX.C (scanAuxFile):
13663         (deplog): remove trailing \r when reading stream (useful under
13664         win32)
13665
13666 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13669         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13670         and BufferView::theLockingInset(Inset*), so should use them and not
13671         access bv_->text->the_locking_inset directly.
13672
13673         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13674
13675 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * Makefile.am:
13678         * tex-defs.h: remove old unused file
13679
13680 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13681
13682         * BufferView_pimpl.C: fix typo, remove minibuffer message
13683           when buffer has loaded
13684
13685 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * lyxfunc.C (Dispatch): use stringstream
13688         (MenuNew): use stringstream
13689         (Open): use stringstream
13690
13691         * importer.C (Import): use stringstream
13692
13693         * bufferview_funcs.C (CurrentState): use stringstream
13694
13695         * LaTeX.C (run): use stringstream
13696
13697         * BufferView_pimpl.C (savePosition): use stringstream
13698         (restorePosition): use stringstream
13699         (MenuInsertLyXFile): use stringstream
13700
13701 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13702
13703         * BufferView.C:
13704         * Bullet.C:
13705         * ColorHandler.C:
13706         * FontInfo.C:
13707         * FontLoader.C:
13708         * LColor.C:
13709         * LaTeXFeatures.C:
13710         * Painter.C:
13711         * gettext.C:
13712         * lyx_gui_misc.C:
13713         * lyxserver.C:
13714         * vspace.C: removed // -*- C++ -*- as first line.
13715
13716         * lyxfind.h:
13717         * version.h: added // -*- C++ -*- as first line.
13718
13719 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13722
13723         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13724         of string
13725
13726 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13729         of floats.
13730
13731 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * gettext.C: include LString.h even when --disable-nls is on.
13734
13735 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13736
13737         * converter.h (Get): changed argument type from int to
13738         FormatList::size_type to avoid unnecessary conversion.
13739
13740         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13741         before using it.
13742
13743 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * gettext.h: include LString.h even when --disable-nls is on.
13746
13747 2001-06-07  Juergen Vigna  <jug@sad.it>
13748
13749         * text.C (BreakAgain): subst spaces with tabs.
13750
13751         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13752         (resizeInsetsLyXText): set force on resizeLyXText.
13753
13754 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13755
13756         * gettext.h (gettext_init):
13757         (locale_init): use a real definition instead of a macro
13758
13759 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * Bufferview_pimpl.C:
13762         * LColor.h:
13763         * LColor.C: further lcolor tidies
13764
13765 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * BufferView_pimpl.C (updateScrollbar): simplify.
13768
13769         * BufferView2.C: don't include insets/insetinfo.h, change
13770         prototype for insertInset and call the Pimpl version. let
13771         updateInset call Pimpl version.
13772
13773         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13774         gotoInset to BufferView::Pimpl
13775
13776 2001-06-01  Juergen Vigna  <jug@sad.it>
13777
13778         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13779         inside a LockingInset (is the update needed at all?).
13780
13781 2001-05-31  Juergen Vigna  <jug@sad.it>
13782
13783         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13784         here not the old one otherwise how should we compare it afterwards
13785         if it's the same!
13786
13787 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * lyxfont.C:
13790         * tabular.C:
13791         * tabular-old.C:
13792         * FontInfo.C: bring C functions into global namespace when
13793         necessary
13794
13795 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * LString.h: make sure config.h has been loaded before LString.h.
13798
13799         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13800         (one for each char read by EatLine!).
13801
13802         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13803         variables.
13804
13805 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13808         to the same as the par we break from
13809
13810 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13813
13814         * MenuBackend.C (expand): also create menu entries for wide
13815         versions of the floats.
13816
13817         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13818
13819         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13820
13821         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13822         frontends/Makefile.am
13823
13824         * text2.C: adjust
13825         * text.C: adjust
13826
13827
13828         * tabular.C (getTokenValue): add std::
13829
13830         * tabular-old.C (getTokenValue): add std::
13831         (getTokenValue): ditto
13832         (getTokenValue): ditto
13833
13834         * screen.C (ToggleSelection): adjust
13835
13836         * lyxtext.h: put selection cursors inside a Selection struct.
13837
13838         * lyxfunc.C (moveCursorUpdate): adjust
13839
13840         * lyxfont.C (latexWriteStartChanges): add std::
13841
13842         * lyxfind.C: adjust
13843
13844         * font.h: delete with(char const *, LyXFont const &)
13845
13846         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13847
13848         * FontInfo.C (getFontname): add std::
13849
13850         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13851         (workAreaButtonPress): adjust
13852         (tripleClick): adjust
13853         (update): adjust
13854         (moveCursorUpdate): adjust
13855         (Dispatch): adjust
13856
13857         * BufferView2.C (gotoInset): adjust
13858
13859 2001-05-30  Juergen Vigna  <jug@sad.it>
13860
13861         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13862         to check pspell I add this as default as I now have new pspell
13863         libraries and they seem to use this.
13864
13865 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * text2.C (CutSelection): make the cursor valid before the call to
13868         ClearSelection.
13869
13870 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13873         relied on 0 terminated strings and other horrors. Bug found due to
13874         the new assert in lyxstring!
13875
13876         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13877         KP_ keys.
13878
13879 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13882         to latinkeys.bind.
13883
13884         * lyxfunc.C (processKeySym): change method of getting to the
13885         self-insert char.
13886
13887         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13888         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13889         * BufferView_pimpl.[Ch]: here as private methods.
13890
13891 2001-05-28  Juergen Vigna  <jug@sad.it>
13892
13893         * text.C (SetHeightOfRow): added the update() call again as it is
13894         needed to initialize inset dimensions!
13895
13896 2001-05-16  Juergen Vigna  <jug@sad.it>
13897
13898         * text2.C (SetCharFont): Add new function with BufferView * and
13899         bool toggleall parameters for setting insets internal fonts.
13900         (SetFont): Freeze the undo as we may change fonts in Insets and
13901         all this change should be inside only one Undo!
13902
13903         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13904         setting font's in insets as for them we have the SetFont function!
13905
13906 2001-05-15  Juergen Vigna  <jug@sad.it>
13907
13908         * text2.C (ClearSelection): to be sure we REALLY don't have any
13909         selection anymore!
13910
13911         * tabular.C (TeXCellPreamble): fixed the left border problem for
13912         multicolumn cells.
13913
13914 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13917         dependancy file
13918
13919 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13922         LFUN_BREAKPARAGRAPH.
13923
13924         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13925         help test to "internal only", similar for LFUN_INSERT_URL
13926
13927         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13928         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13929         auto_region_delete and deadkeys.
13930
13931 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13932
13933         * LColor.h:
13934         * LColor.C: remove some dead entries, tidy a little
13935
13936 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13939         commented code.
13940         (Dispatch): implement LFUN_ESCAPE
13941
13942         * commandtags.h: add LFUN_ESCAPE
13943
13944         * LyXAction.C (init): add entry for LFUN_ESCAPE
13945
13946         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13947         Remove commented code.
13948         (insertNote): moved here
13949         (open_new_inset): moved here
13950
13951         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13952         BufferView_pimpl
13953
13954 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * kbmap.C (findbinding): clean it up and make it work correctly.
13957
13958         * lyx_main.C (init): do not pass argc and argv as parameters
13959
13960 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13961
13962         * buffer.C: fix path for OS/2 & Win32
13963
13964         * lyx_gui.C:
13965         * lyx_main:
13966         * lyx_main.C: Added os:: class.
13967
13968         * os2_defines.h: update
13969
13970 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13971
13972         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13973         better by trying again with reduced state.
13974
13975 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * lyxrc.C (read): print error about invalid key sequence only when
13978         debugging (because not all latinX keysyms are known to some X
13979         servers)
13980
13981         * kbsequence.C (getiso): add a few std:: qualifiers
13982         (getiso): comment out extra return statement.
13983
13984 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13985
13986         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13987         handling.
13988         (Dispatch): enhance the accent inset a bit. (not perfect)
13989
13990 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13991
13992         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13993
13994 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13995
13996         * bufferlist.C (emergencyWrite): fix assert() call
13997
13998 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13999
14000         * text.C (InsertChar): Added trivial patch to only send the "you
14001         can not do multiple spaces this way" message once during a
14002         session.
14003
14004 2001-05-08  Baruch Even  <baruch@lyx.org>
14005
14006         * Makefile.am: Changed order of libraries to get LyX to link properly
14007         with the gnome frontend.
14008
14009 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * LaTeXFeatures.h: add a std:: qualifier
14012
14013 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14014
14015         * paragraph.C (String): use stringstream
14016
14017 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * paragraph.C (writeFile): remove footflag arg
14020
14021         * buffer.C (makeLaTeXFile): use stringstream
14022         (latexParagraphs): remove footnot gurba
14023
14024         * LaTeXFeatures.C (getPackages): use stringstream
14025         (getMacros): likewise
14026         (getTClassPreamble): likewise
14027         (getFloatDefinitions): new method
14028
14029         * paragraph.C (writeFile): reindent
14030         (Erase): reindent
14031
14032         * WorkArea.h: revert the xpos + etc changes.
14033
14034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14035
14036         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14037
14038         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14039         (pasteSelection): likewise
14040         * text2.C (CreateUndo): likewise
14041
14042 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * minibuffer.C (peek_event): temporarily reduce the functionality
14045         of the minibuffer (to allow args on lfuns)
14046
14047         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14048         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14049
14050         * buffer.C (readInset): add compability reading of old float
14051         lists, add reading of new style float list.
14052         (readInset): avoid reevaluation of inscmd.getCmdName()
14053         (getLists): reindent
14054
14055         * MenuBackend.C (MenuItem): implement parsing of
14056         md_floatlistinsert and md_floatinsert.
14057         (expand::LastFiles): move initalizaton of iterators out of loop,
14058         avoid reevaluation.
14059         (expand::Documents): introduce typdedef vector<string> Strings,
14060         and use it.
14061         (expand::ExportFormats): introduce typedef vector<Format const *>
14062         Formats, and use it.
14063         (expand): implement FloatListInsert and FloatInsert.
14064
14065         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14066         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14067         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14068
14069         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14070         handling.
14071         (Dispatch::LFUN_FLOAT_LIST): implement
14072
14073 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14074
14075         * LaTeX.C (run): Fix problem with --export code.
14076
14077 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * BufferView.[Ch] (workarea): removed.
14080         (getClipboard) new method; wrapper for workarea()->getClipboard()
14081
14082         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14083         bug.
14084
14085         * WorkArea.h (width, height, xpos, ypos): These methods all
14086         returned the dimensions of the work_area sub-area of WorkArea,
14087         resulting in a position error if the WorkArea were resized. Now
14088         return the dimensions of the entire WorkArea.
14089
14090         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14091
14092 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * LaTeX.C (deplog): correct the syntax of regex reg1
14095
14096 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * undo.C: remove !NEW_INSETS cruft
14099
14100 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * text2.C: remove !NEW_INSETS cruft
14103
14104         * text.C: remove !NEW_INSETS cruft
14105
14106         * tabular.C: remove !NEW_INSETS cruft
14107
14108         * spellchecker.C: remove !NEW_INSETS cruft
14109
14110         * lyxtext.h: remove !NEW_INSETS cruft
14111
14112         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14113
14114         * lyxfunc.C: remove !NEW_INSETS cruft
14115
14116         * lyxfind.C: remove !NEW_INSETS cruft
14117
14118         * lyx_cb.C: remove !NEW_INSETS cruft
14119
14120         * figureForm.C: remove  !NEW_INSETS cruft
14121
14122         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14123
14124         * buffer.[Ch]: remove !NEW_INSETS cruft
14125
14126         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14127
14128         * CutAndPaste.C: remove !NEW_INSETS cruft
14129
14130         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14131
14132         * BufferView2.C: remove !NEW_INSETS cruft
14133
14134         * BufferView.h: remove !NEW_INSETS cruft
14135
14136 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * Lsstream.h: include LString.h before the sstream headers to
14139         fix problem with gcc 2.95.3 and lyxstring
14140
14141 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * lyx_main.C: add using directives when needed for C functions
14144         declared in std:: namespace.
14145
14146 2001-04-27  Juergen Vigna  <jug@sad.it>
14147
14148         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14149         (SetHeightOfRow): comment out the update call should not be needed!
14150
14151 2001-04-13  Juergen Vigna  <jug@sad.it>
14152
14153         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14154         (LyXTabular): tried to minimize operator= operations (and realized
14155         hopfully Lars wish).
14156
14157 2001-04-27  Juergen Vigna  <jug@sad.it>
14158
14159         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14160
14161 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14164
14165         * buffer.C (readInset): hack to make listof algorithm work
14166
14167         * BufferView_pimpl.C: hack to make listof algorithm work
14168
14169 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14170
14171         * LyXAction.C: removed all !NEW_INSETS cruft
14172         (init): moved lfun_item in method
14173
14174         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14175
14176 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14177
14178         * BufferView2.C (theLockingInset): white space.
14179
14180 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * minibuffer.C: include <iostream>
14183
14184         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14185
14186         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14187
14188         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14189
14190         * text.[Ch] (TransposeChars): new method
14191
14192 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * call message directly through LyXView instead of through LyXFunc
14195         * BufferView2.C: adjust
14196         * BufferView_pimpl.C: adjust
14197         * FontLoader.C: adjust
14198         * buffer.C: adjust
14199         * bufferview_funcs.C: adjust
14200         * converter.C: adjust
14201         * figureForm.C: adjust
14202         * importer.C: adjust
14203         * lyx_cb.C: adjust
14204         * lyx_gui_misc.C: adjust
14205         * lyxfunc.C: adjust
14206         * lyxvc.C: adjust
14207         * text2.C: adjust
14208         + more files in subdirs
14209
14210         * lyxparagraph.h (size): move up int file
14211         (GetLayout): ditto
14212
14213         * adjust all uses of Assert to lyx::Assert.
14214
14215         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14216         lyxfunctional in namespace lyx
14217         * layout.C (hasLayout): ditto
14218         (GetLayout): ditto
14219         (GetLayout): ditto
14220         (delete_layout): ditto
14221         (NumberOfClass): ditto
14222         * converter.C (GetFormat): ditto
14223         (GetNumber): ditto
14224         (Add): ditto
14225         (Delete): ditto
14226         (SetViewer): ditto
14227         * bufferlist.C (getFileNames): ditto
14228         (emergencyWriteAll): ditto
14229         (exists): ditto
14230         (getBuffer): ditto
14231         * MenuBackend.C (hasSubmenu): ditto
14232         (hasMenu): ditto
14233         (getMenu): ditto
14234         * BufferView_pimpl.C (getInsetByCode): ditto
14235
14236 2001-04-18  Juergen Vigna  <jug@sad.it>
14237
14238         * vspace.C (asLatexString): fixed the 100% problem.
14239
14240 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * lyxfunc.C (Dispatch):
14243         * minibuffer.C:
14244         * minibuffer.h: add a few std:: qualifiers
14245
14246 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * minibuffer.[Ch]: reimplement so that commands is initiated and
14249         run from lyxfunc, simplified som handling, and made the completion
14250         and history code for complete. wip.
14251
14252         * lyxfunc.C (processKeySym): call message
14253         (miniDispatch): new temporary method
14254         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14255         (LFUN_MESSAGE): implement
14256         (LFUN_MESSAGE_PUSH): implement
14257         (LFUN_MESSAGE_POP): implement
14258         (initMiniBuffer): the initial/defualt minibuffer message.
14259
14260         * lyxfont.[Ch]: inline some more getters
14261
14262         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14263
14264         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14265
14266         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14267         (AutoSave): use LFUN_MESSAGE
14268         (Reconfigure): ditto
14269
14270         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14271
14272         * figureForm.C: use LFUN_MESSAGE
14273
14274         * converter.C (runLaTeX): use LFUN_MESSAGE
14275
14276         * bufferview_funcs.C: use LFUN_MESSAGE
14277         (Melt): ditto
14278         (changeDepth): ditto
14279
14280         * bufferparams.h: use boost::
14281
14282         * bufferlist.h: inherit privately from noncopyable
14283
14284         * bufferlist.C (loadLyXFile): remove some commented code.
14285
14286         * buffer.C (runChktex): use LFUN_MESSAGE
14287
14288         * ShareContainer.h: inherit privately from noncopyable
14289
14290         * ParagraphParameters.[hC] (depth): inline it.
14291
14292         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14293         methods.
14294         (message): new method
14295         (messagePush): ditto
14296         (messagePop): ditto
14297         (show): init minibuffer
14298         (showState): direct call
14299
14300         * LaTeX.[Ch]: inherit privately from noncopyable
14301         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14302         instead of WriteStatus.
14303
14304         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14305
14306         * BufferView_pimpl.C (buffer): don't init minibuffer
14307         (workAreaButtonPress): use LFUN_MESSAGE
14308         (workAreaButtonRelease): ditto
14309         (savePosition): ditto
14310         (restorePosition): ditto
14311         (MenuInsertLyXFile): ditto
14312         (workAreaExpose): don't init minibuffer
14313         (update): remove commented code, simplify
14314
14315         * BufferView2.C (openStuff): use LFUN_MESSAGE
14316         (toggleFloat): ditto
14317         (menuUndo): ditto
14318         (menuRedo): ditto
14319         (copyEnvironment): ditto
14320         (pasteEnvironment): ditto
14321         (copy): ditto
14322         (cut): ditto
14323         (paste): ditto
14324         (gotoInset): ditto
14325         (updateInset): remove some commented code
14326
14327         * lastfiles.h: inherit privately from noncopyable
14328         * layout.h: ditto
14329         * lyx_gui.h: ditto
14330         * lyx_main.h: ditto
14331         * lyxlex.h: ditto
14332         * lyxlex_pimpl.h: ditto
14333
14334         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14335         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14336         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14337
14338         * LyXAction.h: inherit privately from noncopyable, add methods
14339         func_begin, func_end, returning iterators to the func map.
14340
14341         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14342         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14343         (func_begin): new method
14344         (func_end): new method
14345
14346         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14347         and not)
14348         (copySelection): ditto
14349         (pasteSelection): ditto
14350
14351         * BufferView.C: whitespace change
14352         * BufferView.h: inherit privately from noncopyable
14353
14354 2001-04-16  Allan Rae  <rae@lyx.org>
14355
14356         * tabular-old.C (l_getline):
14357         * spellchecker.C (sc_check_word):
14358         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14359         an unrecognised preprocessor directive.  So ensure they're wrapped.
14360
14361 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14362
14363         * src/exporter.C (Export): Give an error message when path to file
14364         contains spaces.
14365
14366 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * LaTeX.C (deplog): Always check that foundfile exists.
14369
14370 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14371
14372         * lyx_main.h:
14373         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14374
14375 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * tabular.[Ch] (getLabelList): implement new method
14378
14379         * minibuffer.h: comment ouf setTiimer
14380
14381         * minibuffer.C (ExecutingCB): constify res
14382         (peek_event): constify s
14383         (Set): constify ntext
14384         (Init): constify nicename
14385
14386         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14387
14388         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14389         (savePosition): use two params to Minibuffer::Set
14390         (restorePosition): ditto
14391
14392 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * lyx_main.C: include language.h
14395
14396         * Makefile.am (lyx_main.o): add language.h
14397
14398 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * exporter.C:
14401         * paragraph.C:
14402         * screen.C:
14403         * tabular.C:
14404         * CutAndPaste.C: include gettext.h
14405
14406         * lyxfont.h: remove old hack with ON and OFF.
14407
14408         * lyxparagraph.h:
14409         * lyxfont.h: do not include language.h...
14410
14411         * BufferView2.C:
14412         * LaTeXFeatures.C:
14413         * Painter.C:
14414         * bufferview_funcs.C:
14415         * font.C:
14416         * lyxfont.C:
14417         * text.C:
14418         * text2.C:
14419         * trans_mgr.C:
14420         * paragraph.C: ... but do it here instead
14421
14422 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14423
14424         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14425
14426         * tabular.C: small reformat
14427
14428         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14429         NEW_INSETS version
14430         (GetChar): ditto
14431         (BreakParagraph): ditto
14432         (SetOnlyLayout): ditto
14433         (SetLayout): ditto
14434
14435         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14436         with one arg less.
14437
14438         * lastfiles.C: removed most using decl, add std:: where needed
14439
14440         * buffer.C: ws changes
14441
14442         * MenuBackend.C (class compare_format): put into anon namespace
14443         (expand): constify label, names, action, action2
14444         (expand):
14445
14446         * text.C (SingleWidth): constify font
14447         (IsBoundary): constify rtl2
14448         (GetVisibleRow): constify ww
14449
14450         * LaTeX.C (deplog): constify logfile
14451
14452         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14453         start_x, end_x
14454         (workAreaExpose): constify widthChange, heightChange
14455
14456         * lyxrow.C (par): moved
14457         (height): moved
14458         (next): moved
14459         * lyxrow.h: as inlines here
14460
14461         * lyxfont.h (shape): moved from lyxfont.C
14462         (emph): moved from lyxfont.C
14463
14464         * lyxfont.C (LyXFont): use initialization list for all
14465         constructors
14466         (shape): move to lyxfont.h as inline
14467         (emph): move to lyxfont.h as inline
14468
14469
14470 2001-04-04  Juergen Vigna  <jug@sad.it>
14471
14472         * vspace.C: had to include stdio.h for use of sscanf
14473
14474 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14475
14476         * BufferView.h:
14477         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14478         independent of xforms.
14479
14480 2001-04-02  Juergen Vigna  <jug@sad.it>
14481
14482         * spellchecker.C: fixed namespace placing!
14483
14484 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14485
14486         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14487         the LyXParagraph * is 0.
14488
14489 2001-03-29  Juergen Vigna  <jug@sad.it>
14490
14491         * vspace.C: added support for %, c%, p%, l%.
14492         (stringFromUnit): added helper function.
14493         (asLatexString): changed to give right results for the %-values.
14494
14495         * buffer.C: convert the widthp in a width%.
14496
14497 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14498
14499         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14500         figureForm.[Ch].
14501
14502         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14503         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14504
14505         * lyx_cb.[Ch]: see above.
14506
14507         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14508         form1.[Ch].
14509
14510         * form1.[Ch]:
14511         * lyx.[Ch]: replaced by figure_form.[Ch].
14512
14513         * lyx_gui.C:
14514         * lyx_gui_misc.C:
14515         * lyxfunc.C: changed headers associated with above changes.
14516
14517 2001-03-27  Juergen Vigna  <jug@sad.it>
14518
14519         * BufferView_pimpl.C: set the temporary cursor right!
14520
14521 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14522
14523         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14524
14525 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14526
14527         * LString.h: removed "using std::getline"!
14528
14529         * BufferView_pimpl.C (Dispatch): changes due to changes in
14530         InsetInclude::Params.
14531
14532         * buffer.C (tag_name): removed redundant break statements as they were
14533         producing lots of warnings with my compiler.
14534
14535 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14536
14537         * LString.h: add "using std::getline" when using the real <string>.
14538
14539 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14540
14541         * buffer.C: removed bitset usage.
14542         PAR_TAG moved to an anonymous name space.
14543         (tag_name): new funtion, also in the anonymous namespace.
14544         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14545         (makeDocBookFile): clean code. Completed transition from string arrays
14546         to string vectors.
14547         (SimpleDocBookOnePar): code clean.
14548
14549 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14550
14551         * tabular.C: add some comments.
14552
14553 2001-03-22  Juergen Vigna  <jug@sad.it>
14554
14555         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14556         compatibility read a bit and fixed bug with minipage in different
14557         depth.
14558
14559 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14560
14561         * buffer.C (pop_tag): removed.
14562         (push_tag): removed.
14563         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14564         array replaced with vector. Added support for CDATA sections.
14565         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14566         at any nest level.
14567         (makeDocBookFile): XML conformant declaration of CDATA section,
14568         fixed bug related to <emphasis> in the first paragraph char.
14569         (sgmlOpenTag): exclude empty tags.
14570         (sgmlCloseTag): ditto.
14571
14572         * buffer.h (pop_tag): removed.
14573         (push_tag): removed.
14574
14575 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14576
14577         * language.h (Languages): added size_type and size().
14578
14579 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14580
14581         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14582         response on compability reading of minipages. One probliem is that
14583         the old usage of minipages was «flertydig»
14584
14585         * several files here and in subdirs: don't use static at file
14586         scope use anon namespaces instead.
14587
14588 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14589
14590         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14591         LaTeX output. This is necessary for Literate document
14592         processing.
14593
14594 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14595
14596         * buffer.C: insert hfill when needed.
14597
14598         * tabular.C (l_getline): use string::erase, small whitespace change.
14599
14600         * BufferView_pimpl.C: try the anon namespace.
14601         * WorkArea.C: ditto
14602
14603 2001-03-16  Juergen Vigna  <jug@sad.it>
14604
14605         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14606         otherwise it won't open options-dialogs.
14607
14608         * buffer.C: honor pextraWidth(p) on converting minipages.
14609
14610         * tabular.C (l_getline): changed the functions to strip trailing \r.
14611
14612 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * BufferView_pimpl.C:
14615         * minibuffer..C: added "using SigC::slot" declaration.
14616
14617 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14618
14619         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14620
14621         * text2.C: ditto
14622
14623         * text.C: ditto
14624
14625         * paragraph.C: ditto
14626
14627         * lyxtext.h: NO_PEXTRA
14628
14629         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14630
14631         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14632         * ParameterStruct.h: ditto
14633         * ParagraphParameters.h: ditto
14634         * lyxparagraph.h: ditto
14635
14636 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14637
14638         * buffer.C: add compability for minipage alignment.
14639         (latexParagraphs): remove unwanted pextra check.
14640
14641         * several files: remove CXX_WORKING_NAMESPACES
14642
14643         * buffer.C (pop_tag): tie is in namespace boost
14644
14645         * BufferView.h: noncopyable is in namespace boost
14646         * lyxlex.h: ditto
14647         * lyx_main.h: ditto
14648         * lyx_gui.h: ditto
14649         * layout.h: ditto
14650         * lastfiles.h: ditto
14651         * bufferlist.h: ditto
14652         * ShareContainer.h: ditto
14653         * LyXView.h: ditto
14654         * LyXAction.h: ditto
14655         * LaTeX.h: ditto
14656
14657 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14658
14659         * Merging changes from BRANCH_MVC back into HEAD.
14660
14661         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14662
14663 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * BufferView_pimpl.C: change from intl.C
14666
14667         * combox.h:
14668         * combox.C:
14669         * Makefile.am: move combox.*
14670
14671         * form1.h:
14672         * form1.C:
14673         * lyx_gui.C:
14674         * intl.h:
14675         * intl.C: remove dialog (covered by prefs)
14676
14677 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14678
14679         * lyxfunc.C (Dispatch): removed redundant break statement.
14680
14681 2001-03-14  Juergen Vigna  <jug@sad.it>
14682
14683         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14684
14685 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14686
14687         * buffer.C: add hack to fix compability reading of minipages.
14688
14689 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * buffer.C (getLists): Cleanup.
14692
14693 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14694
14695         * lyxfont.C (update): don't honor toggleall on font size.
14696
14697 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * bmtable.c:
14700         * bmtable.h:
14701         * Makefile.am: moved to frontends/xforms/
14702
14703         * lyx_gui_misc.C:
14704         * lyxfunc.C:
14705         * BufferView_pimpl.C: changes for moved mathpanel
14706
14707 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * gettext.h: fix gettext_init() in --disable-nls
14710
14711 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14712
14713         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14714
14715 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * lyx.C:
14718         * lyx.h: strip external form
14719
14720 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14721
14722         * BufferView_pimpl.C: add comment, destroySplash()
14723
14724 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * BufferView_pimpl.C:
14727         * LyXAction.C:
14728         * buffer.C:
14729         * commandtags.h:
14730         * lyxfunc.C: use re-worked insetinclude
14731
14732 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14733
14734         * buffer.C: add using std::stringstream.
14735
14736         * lyx_cb.C: readd using std::ios.
14737
14738         * buffer.C: add using std::map.
14739
14740         * BufferView_pimpl.C: add using std::vector.
14741
14742         * ShareContainer.h: add std:: to swap.
14743
14744         * buffer.h: add some typedefs
14745         * buffer.C (getLists): use them
14746         (getLists): renamed from getTocList.
14747         add a counter for the different float types and use it in the
14748         generated string.
14749         (getLists): use the same counter for the NEW_INSETS and the "non"
14750         NEW_INSETS
14751
14752         * lyx_cb.h: remove unused items, includes, using etc.
14753
14754         * ShareContainer.h: remove some commented code, add more comments
14755         and "documentation".
14756
14757 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14758
14759         * buffer.C (getTocList): make the list also when NEW_INSETS is
14760         defined.
14761
14762         * buffer.h: remove TocType
14763
14764         * buffer.C (getTocList): change to return a map<string,
14765         vector<TocItem> >, implement for dynamic number of list.
14766
14767         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14768         * text2.C (PasteSelection): adjust
14769         * CutAndPaste.C (pasteSelection): adjust
14770
14771         * FloatList.C (FloatList): update from the new_insets branch.
14772         * Floating.[Ch]: ditto
14773         * LaTeXFeatures.C: ditto
14774         * buffer.C: ditto
14775         * lyxlex_pimpl.C: ditto
14776
14777         * paragraph.C (Last): remove when NEW_INSETS is defined.
14778
14779         * other file: changes because of the above.
14780
14781 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14782
14783         * lyxparagraph.h: rename next to next_, previous to previous_,
14784         make them private for NEW_INSETS. Rename Next() to next(),
14785         Previous() to previous().
14786
14787         * other files: changes because of the above.
14788
14789 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * BufferView.h:
14792         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14793         problem.
14794
14795 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * main.C (main): pass lyx_localedir to gettext_init().
14798
14799         * gettext.h: remove locale_init and gettext_init macros
14800
14801         * gettext.C (locale_init): new function
14802         (gettext_init): new function
14803
14804         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14805         setlocale().
14806
14807 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14808
14809         * Moved credits to frontends:
14810         * credits.[Ch]: removed
14811         * credits_form.[Ch]: removed
14812         * lyx_gui_misc.C: remove credits stuff
14813         * Makefile.am:
14814
14815 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14816
14817         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14818
14819         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14820         unneeded destructor.
14821
14822         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14823         a standalone pointer again.
14824
14825         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14826
14827 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * Makefile.am:
14830         * filedlg.h:
14831         * filedlg.C:
14832         * LyXAction.C:
14833         * ToolbarDefaults.C:
14834         * bufferlist.C:
14835         * commandtags.h:
14836         * form1.C:
14837         * form1.h:
14838         * lyx_cb.C:
14839         * lyx_cb.h:
14840         * lyxfunc.h:
14841         * lyxfunc.C:
14842         * BufferView_pimpl.C: use new file dialog in GUII
14843
14844         * lyx_cb.h:
14845         * lyx_cb.C: remove LayoutsCB to Toolbar
14846
14847 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * ShareContainer.h (get): add std:: qualifier
14850
14851 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14852
14853         * ShareContainer.h: define a proper ShareContainer::value_type
14854         type (and use typename to please compaq cxx)
14855
14856 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14857
14858         * lyxparagraph.h: move serveral local vars to
14859         ParameterStruct/ParagraphParameters., use ShareContainer in
14860         FontTable., make vars in FontTable private and add getter and
14861         setter.
14862
14863         * paragraph.C: changes because of the above.
14864
14865         * lyxfont.h: remove copy constructor and copy assignment. (the
14866         default ones is ok), move number inside FontBits. move inlines to
14867         lyxfont.C
14868
14869         * lyxfont.C: add number to initializaton of statics, move several
14870         inlines here. constify several local vars. some whitespace
14871         cleanup. Dont hide outerscope variables.
14872
14873         * Spacing.h: add two new constructors to match the set methods.
14874
14875         * ShareContainer.h: new file, will perhaps be moved to support
14876
14877         * ParameterStruct.h: new file
14878
14879         * ParagraphParameters.h: new file
14880
14881         * ParagraphParameters.C: new file
14882
14883         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14884         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14885
14886         * BufferView_pimpl.C: ParagraphParameter changes.
14887         * buffer.C: Likewise.
14888         * bufferview_funcs.C: Likewise.
14889         * text.C: Likewise.
14890         * text2.C: Likewise.
14891
14892 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14893
14894         * lyxfind.C (LyXReplace): do not redefine default argument in
14895         implementation.
14896         (IsStringInText): ditto
14897         (SearchForward): ditto
14898         (SearchBackward): ditto
14899
14900 2001-03-06  Juergen Vigna  <jug@sad.it>
14901
14902         * lyxfind.C (IsStringInText): put parentes around expressions.
14903
14904 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14905
14906         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14907
14908 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14911
14912         * stl_string_fwd.h: add comment
14913
14914         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14915
14916         * tabular.h:
14917         * tabular.C: remove unused DocBook methods
14918
14919         * intl.C:
14920         * language.C:
14921         * paragraph.C:
14922         * buffer.C:
14923         killed DO_USE_DEFAULT_LANGUAGE
14924
14925 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * lyx_gui.C: do not include language.h.
14928
14929         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14930         arguments in function implementation.
14931
14932 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14933
14934         * BufferView_pimpl.C: add <ctime>
14935
14936 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14937
14938         * BufferView_pimpl.C: add using std::find_if
14939
14940 2001-02-27  José Matos  <jamatos@fep.up.pt>
14941
14942         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14943         by OnlyPath.
14944
14945 2001-02-11  José Matos  <jamatos@fep.up.pt>
14946
14947         * buffer.C (makeDocBookFile): command styles now have a parameter as
14948         "title" by default.
14949
14950 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14951
14952         * layout_forms.[Ch]: removed
14953         * lyx_cb.[Ch]: out character
14954         * lyx_gui.C: out character
14955         * lyx_gui_misc.C: out character
14956         * bufferview_funcs.C: : out character,
14957         added toggleall as parameter in ToggleAndShow
14958
14959 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14960
14961         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14962
14963         * text2.C (SetCurrentFont): Disable number property at boundary.
14964
14965 2001-02-26  Juergen Vigna  <jug@sad.it>
14966
14967         * lyxfunc.C (getStatus): added a string argument override function so
14968         that this is correctly called from LyXFunc::Dispatch if it contains a
14969         do_not_use_argument which is used!
14970         (Dispatch): added check for "custom" export and call appropriate func.
14971
14972 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * lyxrc.C: Add language_command_local, language_use_babel and
14975         language_global_options.
14976
14977         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14978
14979         * buffer.C (makeLaTeXFile): Use language_use_babel and
14980         language_global_options.
14981
14982 2001-02-23  Juergen Vigna  <jug@sad.it>
14983
14984         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14985         which works with LyXText and putted it inside BufferView. Here now we
14986         only call for that part the BufferView::Dispatch() function.
14987
14988         * BufferView.C (Dispatch): added.
14989
14990         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14991         functions which needs to use a LyXText over from LyXFunc.
14992         (MenuInsertLyXFile): added
14993         (getInsetByCode): added
14994         (moveCursorUpdate): added
14995         (static TEXT): added
14996
14997 2001-02-22  Juergen Vigna  <jug@sad.it>
14998
14999         * BufferView_pimpl.C (update): call a status update to see if LyXText
15000         needs it.
15001
15002 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15003
15004         * vc-backend.C (revert): implement for CVS
15005         (getLog): implement for CVS
15006
15007 2001-02-20  Juergen Vigna  <jug@sad.it>
15008
15009         * text2.C (ClearSelection): added BufferView param for inset_owner call
15010
15011         * lyxfunc.C (TEXT): added this function and use it instead of
15012         directly owner->view()-text of getLyXText().
15013
15014 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15015
15016         * src/layout_forms.C: out preamble
15017         * src/layout_forms.h: out preamble
15018         * src/lyx_cb.C: out preamble
15019         * src/lyx_cb.h: out preamble
15020         * src/lyx_gui.C: out preamble
15021         * src/lyx_gui_misc.C: out preamble
15022         * src/lyxfunc.C: connect with guii preamble
15023
15024 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15027
15028 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15031         whether to run bibtex.
15032
15033 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15034
15035         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15036
15037 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15038
15039         * Makefile.am (lyx_SOURCES): removed bibforms.h
15040
15041         * vspace.h: doxygen
15042
15043         * text.C (GetVisibleRow): make several local vars const
15044
15045         * tabular.C: small cleanup.
15046
15047         * lyxserver.C (callback): use compare instead of strncmp
15048
15049         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15050         inlines to after class or to paragraph.C
15051
15052         * lyxfont.h: remove friend operator!=
15053
15054         * converter.h: move friend bool operator< to non friend and after
15055         class def.
15056
15057         * combox.h: small cleanup
15058
15059         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15060         to inlines after class def.
15061
15062         * buffer.C (pop_tag): use string operations instead of strcmp
15063
15064         * bmtable.c: doxygen, small cleanup
15065
15066         * LaTeX.h: remove friend operator==
15067
15068 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15069
15070         * screen.C:
15071         * lyxrc.[Ch]:
15072         * lyxfunc.C:
15073         * lyxfont.[Ch]:
15074         * lyx_cb.C:
15075         * intl.[Ch]:
15076         * commandtags.h:
15077         * buffer.C:
15078         * WorkArea.[Ch]:
15079         * LyXAction.C:
15080         * BufferView_pimpl.C:
15081         * BufferView.[Ch]: remove cruft
15082
15083 2001-02-14  Juergen Vigna  <jug@sad.it>
15084
15085         * lyxfunc.C: removed #if 0 unused code
15086
15087         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15088
15089         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15090
15091         * text2.C (SetSelection): added a BufferView * parameter
15092
15093 2001-02-13  Juergen Vigna  <jug@sad.it>
15094
15095         * lyxfunc.C (Dispatch): fixed protected blank problem.
15096         * BufferView2.C (protectedBlank): added LyxText * parameter.
15097
15098         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15099         (AppendColumn): same as above for column_info.
15100
15101         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15102         (moveCursorUpdate): use a LyXText param for support of InsetText.
15103
15104         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15105         (tripleClick): ditto
15106
15107         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15108
15109         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15110
15111         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15112
15113         * text2.C (SetSelection): set correct update status if inset_owner
15114         (ToggleFree): ditto
15115
15116 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15117
15118         * tabular.C: remove some commented code.
15119
15120 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * BufferView_pimpl.C: call hideSplash()
15123
15124         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15125
15126         * include_form.h:
15127         * bibforms.h: remove
15128
15129         * lyxfunc.C:
15130         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15131           add LFUN_CHILD_CREATE
15132
15133         * counters.h: fix tiny typo
15134
15135         * lyx_cb.C:
15136         * lyx.h:
15137         * lyx_gui.C:
15138         * lyx.C: move splash to frontends/xforms/
15139
15140         * lyx_gui_misc.C: move Include and Bibform to frontends
15141
15142         * lyxvc.h: clarify comment
15143
15144         * vspace.C: tiny housekeeping
15145
15146 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * text.C (PrepareToPrint): RTL Fix.
15149
15150         * paragraph.C (GetUChar): New method.
15151         (String):  Use GetUChar.
15152
15153         * buffer.C (asciiParagraph): Use GetUChar.
15154
15155 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15156
15157         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15158
15159 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15160
15161         * buffer.h:
15162         * buffer.C: rename to getLogName(), handle
15163           build log / latex log nicely
15164
15165 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * MenuBackend.C:
15168         * MenuBackend.h: remove support for reference menuitem type.
15169
15170 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * BufferView_pimpl.C: housekeeping
15173         * BufferView_pimpl.h:
15174         * LyXView.h:
15175         * Makefile.am:
15176         * Timeout.C:
15177         * Timeout.h:
15178         * minibuffer.h: move Timeout GUI-I
15179
15180 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * lyxrc.C (read): Update converters data-structures.
15183
15184 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15185
15186         * LaTeX.h (operator!=): add operator != for Aux_Info
15187
15188 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15189
15190         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15191
15192         * LaTeXLog.C: deleted, useful code moved to Buffer
15193
15194         * buffer.h:
15195         * buffer.C: new function getLatexLogName()
15196
15197         * lyx_gui_misc.C:
15198         * lyx_gui.C:
15199         * lyxvc.C:
15200         * lyxvc.h:
15201         * lyxfunc.C: use frontends for LaTeX and VC logs
15202
15203 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * LaTeX.h: yet another std:: that Allan forgot.
15206
15207         * Variables.C (set): renamed from isset(), because this clashes
15208         with some HP-UX macros (grr).
15209
15210 2001-02-06  Allan Rae  <rae@lyx.org>
15211
15212         * LaTeX.h: Another bug fix.  Missing std:: this time.
15213
15214 2001-02-04  Allan Rae  <rae@lyx.org>
15215
15216         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15217         floats problem. I've left it commented out because it's not quite
15218         correct.  It should also test that the current object is a table or
15219         figure inset.  But I haven't gotten around to figuring out how to do
15220         that.  I *think* it'll be something like: "table" == inset.type()
15221
15222         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15223         bool.
15224
15225 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15228         all the citation/databases/styles in the auxilary file.
15229         (run): Rerun latex if there was a babel language error.
15230
15231 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * text.C (Backspace): Preserve the font when changing newline char
15234         with a space.
15235         (BreakParagraph): If the cursor is before a space, delete the space.
15236
15237         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15238
15239 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15242         new argument (code).
15243         (ChangeCitationsIfUnique): New method.
15244
15245         * paragraph.C (GetPositionOfInset): Handle bibkey.
15246
15247 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * BufferView_pimpl.h: change type of Position::par_pos to
15250         LyXParagraph::size_type.
15251
15252 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * BufferView_pimpl.C (savePosition, restorePosition): Write
15255         messages to minibuffer.
15256
15257 2001-01-28  José Matos  <jamatos@fep.up.pt>
15258
15259         * buffer.C (makeDocBookFile): adds support for document language.
15260         A silly restriction on the name of LatexCommand types where removed.
15261         Added support for CDATA sections, allows to chars unescaped, used
15262         among others in code, to avoid escape < and >.
15263
15264 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15267         saved positions instrad of a stack. Furthermore, a position is
15268         stored using paragraph id/paragraph position.
15269
15270         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15271         Remove LFUN_REF_BACK.
15272
15273 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15274
15275         * converter.C (dvipdfm_options): New method.
15276
15277 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15278
15279         * vspace.C (isValidLength): Fix for empty input string.
15280
15281 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15282
15283         * LyXAction.C (init): change description of LFUN_FIGURE to
15284         "Insert Graphics"
15285
15286 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * LaTeX.C: add using directive
15289
15290 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15291
15292         * MenuBackend.C (expand): Fix the sorting of the formats.
15293
15294 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15295
15296         * lyx_main.C: tiny error message fix
15297
15298 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15301         calling fl_initialize(). This fixes the problem with ',' as
15302         decimal separator in text files.
15303
15304 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15305
15306         * trans.C (process): Fix the keymap bug.
15307
15308 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * LaTeX.C (scanAuxFiles): New method. Provides support for
15311         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15312         (scanLogFile) Scan for "run BibTeX" messages.
15313
15314         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15315         OT1 font encoding. Also, load the aecompl package if the ae
15316         package is loaded.
15317
15318         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15319
15320 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * texrow.C (increasePos): turn two error messages into debug
15323         messages.
15324
15325 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15326
15327         * LaTeX.C (scanAux): Handle the \@input macro.
15328         (runBibTeX): Use scanAux().
15329
15330         * language.C (latex_options_): New field.
15331
15332         * LaTeXFeatures.C (getMacros): Add language macros.
15333
15334         * buffer.C (makeLaTeXFile): Small fix.
15335
15336 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15337
15338         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15339
15340         * text2.C: add a using directive.
15341
15342 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15343
15344         * BufferView2.C:
15345         * lyx_gui_misc.h:
15346         * lyxfr1.C:
15347         * lyxfunc.C: kill LyXBell.
15348
15349 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15350
15351         * text.C (IsBoundary): Remove the error message
15352
15353         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15354
15355         * lyxrc.C (setDefaults): Correct initialization value for
15356         font_norm_type.
15357
15358 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15359
15360         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15361         gotoError().
15362
15363         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15364         and GotoNextNote().
15365
15366         * src/LyXAction.C: Added reference-next.
15367
15368         * text.C (InsertChar): Use contains instead of strchr.
15369
15370         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15371
15372 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15375         alignment commands (when needed).
15376
15377         * text.C (InsertChar): Add ':' to number separator chars.