]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f48a725643fdbe2859fc0cb341ee0f6b5c6f9b86
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): Fall through to the generic
4         Dialogs::show("preamble").
5
6 2004-03-31  Angus Leeming  <leeming@lyx.org>
7
8         * lyxfunc.C (dispatch): Fall through to the generic
9         Dialogs::show("spellchecker").
10
11 2004-03-31  Angus Leeming  <leeming@lyx.org>
12
13         * lyxfunc.C (getStatus, dispatch): changed invocation of the
14         preferences dialog.
15
16 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
17
18         * BufferView.C
19         * cursor.[Ch]
20         * dociterator.[Ch]:
21         * insetiterator.[Ch]:
22         * lyxfind.C:
23         * lyxfunc.C:
24         * pariterator.[Ch]:
25         * text2.C:
26         * undo.[Ch]: s/DocumentIterator/DocIterator/g
27
28 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
29
30         * BufferView.C (setCursor, putSelectionAt): call edit to open the
31         insets where we are putting the cursor.
32
33 2004-03-31  Angus Leeming  <leeming@lyx.org>
34
35         * lfuns.h:
36         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
37
38         * lyxrc.[Ch] (read, write): overloaded member functions taking
39         a std::[io]stream arguments.
40
41         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
42
43 2004-03-31  Angus Leeming  <leeming@lyx.org>
44
45         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
46         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
47
48         * lyxtextclass.C (load): if the text class couldn't be loaded, then
49         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
50
51 2004-03-31  Angus Leeming  <leeming@lyx.org>
52
53         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
54         the LFUN_ALL_INSETS_TOGGLE code.
55
56 2004-03-30  Angus Leeming  <leeming@lyx.org>
57
58         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
59         has died. Fall through to the generic Dialogs::show("document").
60         
61 2004-03-30  Angus Leeming  <leeming@lyx.org>
62
63         * lfuns.h:
64         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
65         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
66
67         * lyxfunc.C (getStatus, dispatch): define the actions for these
68         lfuns. Little more than a cut and pste job from ControlDocument.C
69
70         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
71
72 2004-03-30  Angus Leeming  <leeming@lyx.org>
73
74         * lfuns.h:
75         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
76         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
77
78         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
79         open/closed state of ollapsable insets. Usage:
80
81         all-inset-toggle <state> <name>, where
82         <state> == "open" || "closed" || "toggle" and
83         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
84
85         * lyxtext.h, text2.C (toggleInset): removed.
86
87         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
88         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
89         now passes LFUN_INSET_TOGGLE to the found inset.
90
91         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
92         is now invoked as "all-insets-toggle toggle branch".
93
94 2004-03-30  Angus Leeming  <leeming@lyx.org>
95
96         * dociterator.C:
97         * insetiterator.C:
98         * pariterator.[Ch]: added/corrected header blurb.
99
100 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * dociterator.[Ch]: add an inset_ member 
103         (backwardPos): implemented
104         (backwardPos, forwardPos): use inset_ when the stack is empty.
105         (doc_iterator_begin, doc_iterator_end): implemented
106         * pariterator.[Ch]: adjust, add begin, end
107         * insetiterator.[Ch]: adjust, add begin, end
108         * cursor.C: 
109         * document.C:
110         * BufferView.C:
111         * BufferView_pimpl.C:
112         * CutAndPaste.C: adjust
113
114 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
115
116         * buffer.C: increment file format to 232.
117         * LaTeXFeatures.C: add bibtopic package.
118         * bufferparams.[Ch]: param \use_bibtopic.
119         
120         * lyxrc.[Ch]: add lyxrc bibtex_command
121         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
122         
123         * buffer.C: increment file format to 231.
124
125 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * dociterator.C: implement forwardPar
128         * iterators.[Ch]: remove, replaced by
129         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
130         * BufferView.C:
131         * BufferView_pimpl.C:
132         * CutAndPaste.C:
133         * buffer.C:
134         * bufferview_funcs.C:
135         * cursor.C:
136         * lyxfind.C
137         * lyxfunc.C
138         * paragraph_funcs.C
139         * toc.C:  
140         * Makefile.am: adjust
141
142 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * CutAndPaste.C (pasteSelection): fix 2 crashes
145         (eraseSelection): fix a crash
146         * paragraph_funcs.C: remove a warning
147
148 2004-03-28  Angus Leeming  <leeming@lyx.org>
149
150         * lfuns.h:
151         * LyXAction.C (init): new LFUN_PRINT.
152
153         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
154
155 2004-03-27  Angus Leeming  <leeming@lyx.org>
156
157         * lfuns.h:
158         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
159
160         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
161
162 2004-03-27  Angus Leeming  <leeming@lyx.org>
163
164         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
165         insetlist always contains non-null pointers to insets.
166
167 2004-03-26  Angus Leeming  <leeming@lyx.org>
168
169         * src/BufferView_pimpl.C:
170         * src/CutAndPaste.C:
171         * src/buffer.C:
172         * src/iterators.C:
173         * src/output_plaintext.C:
174         * src/outputparams.h:
175         * src/paragraph_funcs.C:
176         * src/rowpainter.C:
177         * src/text.C:
178         * src/text2.C:
179         * src/frontends/controllers/ControlErrorList.C:
180         * src/frontends/gtk/FileDialogPrivate.C:
181         * src/frontends/gtk/GPainter.C:
182         * src/frontends/gtk/GToolbar.C:
183         * src/frontends/qt2/QRef.C:
184         * src/mathed/math_scriptinset.C: squash compiler warnings.
185
186 2004-03-26  Angus Leeming  <leeming@lyx.org>
187
188         * ispell.C (LaunchIspell::start):
189         * lyx_cb.C (AutoSaveBuffer::start):
190         invoke run(DontWait) rather than runNonBlocking().
191
192 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
195
196 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * kbsequence.C (print): adjust
199
200         * kbmap.C (printKeySym): rename and change signature
201         (printKey): use LyXKeySym::print()
202
203 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * undo.C: add using std::advance to compile for stlport
206
207 2004-03-24  Angus Leeming  <leeming@lyx.org>
208
209         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
210         it leads to a crash when no buffer is present.
211
212 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213             Martin Vermeer  <martin.vermeer@hut.fi>
214
215         * lyxfunc.C (dispatch): 
216         * bufferparams.C (readToken): use the new LColor::setColor 
217
218         * LColor.[Ch] (setColor): new version that takes two strings as
219         argument and creates a new color entry if necessary
220
221 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
222
223         * buffer.C (makeLaTeXFile): if the main latex file that is
224         processed is usually a subdocument of some master, then pretend
225         for a while that it is actually the master
226
227 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
228
229         * buffer.C (getLabelList):
230         (getBibkeyList): use getMasterBuffer()
231         (getMasterBuffer): new method. Returns the main document in the
232         case where one is using included documents.
233
234 2004-03-25  André Pönitz  <poenitz@gmx.net>
235
236         * Makefile.am:
237         * iterators.[Ch]:
238         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
239
240         * ParagraphList_fwd.h: change ParagraphList to a std::vector
241
242         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
243         text*.C over here. Rename namespace CutAndPaste to lyx::cap
244
245         * ParameterStruct.h: merge with ParagraphParameters
246
247         * lyxtext.h: remove LyXText::parOffset() and getPar()
248
249         * text3.C: Remove all 'manual' update calls. We do now one per user
250         interaction which is completely sufficient.
251
252         * Bidi.C:
253         * BufferView.[Ch]:
254         * BufferView_pimpl.C:
255         * FontIterator.[Ch]:
256         * MenuBackend.C:
257         * ParagraphParameters.[Ch]:
258         * buffer.C:
259         * buffer.h:
260         * bufferlist.C:
261         * cursor.[Ch]:
262         * cursor_slice.[Ch]:
263         * dociterator.[Ch]:
264         * errorlist.[Ch]:
265         * factory.C:
266         * lfuns.h:
267         * lyxfind.C:
268         * lyxfunc.C:
269         * output_docbook.[Ch]:
270         * output_latex.[Ch]:
271         * output_linuxdoc.[Ch]:
272         * output_plaintext.[Ch]:
273         * paragraph.[Ch]:
274         * paragraph_funcs.[Ch]:
275         * paragraph_pimpl.[Ch]:
276         * rowpainter.C:
277         * tabular.[Ch]:
278         * text.C:
279         * text2.C:
280         * toc.C:
281         * undo.[Ch]: adjust
282
283         * frontends/controllers/ControlDocument.C:
284         * frontends/controllers/ControlErrorList.C:
285         * frontends/controllers/ControlSpellchecker.C:
286         * insets/inset.C:
287         * insets/inset.h:
288         * insets/insetbase.h:
289         * insets/insetbibitem.C:
290         * insets/insetbox.C:
291         * insets/insetbranch.C:
292         * insets/insetcaption.C:
293         * insets/insetcharstyle.C:
294         * insets/insetcharstyle.h:
295         * insets/insetcollapsable.C:
296         * insets/insetcollapsable.h:
297         * insets/insetert.C:
298         * insets/insetfloat.C:
299         * insets/insetfoot.C:
300         * insets/insetmarginal.C:
301         * insets/insetnote.C:
302         * insets/insetoptarg.C:
303         * insets/insettabular.C:
304         * insets/insettext.C:
305         * insets/insettext.h:
306         * insets/insetwrap.C:
307         * mathed/math_mboxinset.C:
308         * mathed/math_nestinset.C:
309         * mathed/math_scriptinset.C:
310         * mathed/math_scriptinset.h:
311         * support/types.h:
312
313 2004-03-24  Angus Leeming  <leeming@lyx.org>
314
315         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
316         deal with any child processes that have finished but are waiting to
317         communicate this fact to the rest of LyX.
318
319 2004-03-24  Angus Leeming  <leeming@lyx.org>
320
321         64-bit compile fixes.
322
323         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
324         (c-tor): pass lyx::pos_types rather than ints.
325
326         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
327         lyx::pos_type.
328
329         * text.C (Delete): compile fix.
330         (getPar): ensure that function declaration is the same as that in
331         the header file.
332
333 2004-03-23  Angus Leeming  <leeming@lyx.org>
334
335         * ispell.C (LaunchIspell):
336         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
337         a boost::shred_ptr rather than a std::auto_ptr.
338
339 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * lyxfunc.C (getStatus): handle read-only buffers correctly;
342         handle LFUN_FILE_INSERT_*
343
344         * lyxrc.C (setDefaults, getDescription, output, read):
345         * lyxrc.h: remove ps_command
346
347 2004-03-22  Angus Leeming  <leeming@lyx.org>
348
349         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
350         Ensure that error_handler is processed once only and that all data
351         is saved before attempting to output any warning messages.
352
353         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
354
355 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * tabular.C (TeXRow): crash fix (from Kayvan and André)
358
359 2004-03-19  André Pönitz  <poenitz@gmx.net>
360
361         * cursor.[Ch] (reset): take main text inset as argument
362
363         * BufferView: adjust
364         * BufferView_pimpl.C: adjust
365
366         * paragraph.[Ch]: fix completely broken operator=()
367
368 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * LColor.C (getFromLyXName): make sure that the color name is used
371         as lowercase.
372
373 2004-03-17  Angus Leeming  <leeming@lyx.org>
374
375         * lfuns.h:
376         * LyXAction.C (init): remove LFUN_FORKS_KILL.
377
378         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
379         dialog and to kill a forked process.
380
381 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
382
383         * text2.C (setCursorFromCoordinates): fix font problem
384
385 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
388         bogus "rebuild cursor" code
389
390 2004-03-11  André Pönitz  <poenitz@gmx.net>
391
392         * buffer.[Ch]: use InsetText instead of LyXText as container for
393         the main lyx text.
394
395         * dociterator.[Ch]: drop the BufferView * member which is not needed
396         anymore after the change to buffer.C
397
398         * paragraph_funcs.C:
399         * text.C:
400         * text2.C:
401         * BufferView.[Ch]:
402         * BufferView_pimpl.[Ch]:
403         * cursor.[Ch]:
404         * cursor_slice.[Ch]: adjust
405
406         * text3.C: fix bug in mathDispatch
407
408 2004-03-08  André Pönitz  <poenitz@gmx.net>
409
410         * undo.[Ch]: use 'StableDocumentIterator' as base for
411         the Undo struct.
412
413 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
414
415         * LaTeXFeatures.C:
416         * bufferparams.[Ch]: add jurabib support and param.
417
418         * LaTeX.C: add FIXME/comment.
419
420 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * buffer.C: increment file format to 230.
423
424 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
425
426         * cursor.C (dispatch): avoid infinite loops
427
428 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * rowpainter.C (paintSelection): fix x coordinates
431
432 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
433
434         * text.C (rowBreakPoint): fix breaking before displayed insets
435
436 2004-03-01  André Pönitz  <poenitz@gmx.net>
437
438         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
439
440         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
441
442         * Makefile.am:
443         * BufferView.C:
444         * BufferView_pimpl.C:
445         * buffer.C:
446         * lyxfind.C:
447         * lyxfunc.C:
448         * text.C:
449         * text2.C:
450         * text3.C: adjust
451
452 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * lyxtext.h:
455         * text.C:
456         * text2.C:
457         * rowpainter.C:
458         * BufferView_pimpl.C: rename textwidth -> maxwidth,
459         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
460
461 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
462
463         * Bidi.[Ch] (computeTables): const correctness
464         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
465         fill_hfill, fill_label_hfill and x from Row
466         * lyxtext.h: prepareToPrint returns a RowMetrics
467         * rowPainter.C: adjust
468         * text.C (prepareToPrint): use width, not textWidth. adjust
469         (redoParagraphInternal, cursorX): adjust
470         * text2.C (getColumnNearX): adjust
471         (init): put a default value to the top LyXText::width
472
473 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
476
477 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
478
479         * lyxtext.h: add FontIterator class
480
481         * text.C (FontIterator, operator*, operator->, operator++): add
482         (rowBreakPoint, setRowWidth): adjust (fixing a
483         rebreaking bug)
484
485 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * BufferView_pimpl.C (workAreaDispatch): allow also
488         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
489
490 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * text.C (rowBreakPoint): fix a bug showing with very large insets
493
494 2004-02-25  André Pönitz  <poenitz@gmx.net>
495
496         * text3.C:
497         * cursor.[Ch]: move some mathed specific code to mathed
498
499 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
500
501         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
502         use_tempdir in preferences
503         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
504         tempfile creation
505         * lyx_main.C: ensure that tempdir is valid
506         * lyxlex.h: correct typo
507         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
508         * paragraph.[Ch] (isMultiLingual): make const
509         * cursor.[Ch] (openable): make const
510
511 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
512
513         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
514
515 2004-02-20  André Pönitz  <poenitz@gmx.net>
516
517         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
518
519         * cursor.[Ch]: prepare for localized getStatus()
520
521         * lyxtext.h:
522         * tabular.C:
523         * text.C:
524         * text2.C:
525         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
526
527 2004-02-20  André Pönitz  <poenitz@gmx.net>
528
529         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
530
531 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
532
533         * text2.C (setCursorFromCoordinates): switch to absolute coords
534         (cursorUp): adjust
535         (cursorDown): adjust
536         * text3.C (dispatch): adjust
537
538 2004-02-16  André Pönitz  <poenitz@gmx.net>
539
540         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
541           insets/ChangeLog)
542
543         * cursor_slice.[Ch]: remove unneeded acessor function
544
545         * lyxtext.h: rename rtl() to isRTL()
546
547         * rowpainter.C:
548         * tabular.C:
549         * text.C:
550         * text2.C:
551         * text3.C: adjust
552
553 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * rowpainter.C (paintSelection): coord fix
556
557 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
558
559         * Spacing.C: compile fix
560
561 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
562
563         * cursor.C (dispatch): restore current_ before returning
564
565 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * text2.C (cursorUp, cursorDown): fix coords
568         (moveUp): fix crash
569
570 2004-02-12  André Pönitz  <poenitz@gmx.net>
571
572         * lyxtext.h:
573         * text.C:
574         * text2.C:
575         * text3.C: add LCursor & parameter to most cursor movement functions
576           remove usage of LyXText::cursorRow() and cursorPar()
577
578         * cursor.[Ch]: add textRow() needed members
579
580         * BufferView.C:
581         * BufferView_pimpl.C:
582         * paragraph.[Ch]:
583         * BufferView.C:
584         * BufferView_pimpl.C: adjust
585
586 2004-02-11  André Pönitz  <poenitz@gmx.net>
587
588         * lyxfunc.C:
589         * BufferView.[Ch]:
590         * BufferView_pimpl.C: shift undo/redo handling
591
592         * cursor.[Ch]: fix mathed crash
593
594         * lyxfind.C:
595         * lyxtext.h: move selectionAsText to LCursor
596
597         * output_latex.C:
598         * paragraph.C:
599         * text.C:
600         * text2.C:
601         * text3.C: adjust
602
603         * rowpainter.C: fix excessive drawing
604
605 2004-02-06  André Pönitz  <poenitz@gmx.net>
606
607         * BufferView.[Ch]:
608         * BufferView_pimpl.[Ch]:
609         * text3.C: move some text specific LFUN handling
610
611 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * text3.C (checkInsetHit): adjust coords
614         * text2.C (getColumnNearX): adjust coords
615         (edit): adjust coords
616         * text.C (getRowNearY): add two asserts
617
618 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
619
620         * converter.C:
621         * format.C: add using std::distance to compile on gcc 2.95/stlport
622
623 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
624
625         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
626
627 2004-02-04  André Pönitz  <poenitz@gmx.net>
628
629         * BufferView.[Ch] (insertInset):
630         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
631
632         * text2.C:
633         * text3.C: adjust
634
635 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
636
637         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
638         on the default clause of the switch
639         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
640         wasn't catched by LCursor::dispatch
641
642 2004-02-03  André Pönitz  <poenitz@gmx.net>
643
644         * BufferView.C:
645         * cursor.[Ch]: some additional asserts
646
647         * undo.[Ch]: remove LyXText dependency in interface
648
649         * lyxfunc.C: adjust
650
651         * lyxtext.h (firstPar, lastPar): remove dead functions
652
653         * text.C:
654         * text2.C:
655         * text3.C:
656         * paragraph.[Ch]: adjust
657
658 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
659
660         * lyxfind.C (find): fix argument order in call to ::find
661
662 2004-02-02  André Pönitz  <poenitz@gmx.net>
663
664         * cursor.[Ch]: remove direct access to anchor
665
666         * text.C: remove findText() hack
667
668 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
669
670         * iterators.[Ch] (lockPath): remove in favour of...
671         * BufferView.[Ch] (setCursor): this addition
672         * BufferView.C (putSelectionAt): adjust
673         * undo.C (performUndoOrRedo): adjust
674         * lyxfunc.C (dispatch): adjust
675
676 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
677
678         * iterators.C (lockPath): add a missing slice
679         * undo.C (performUndoOrRedo): remove redundant positioning code
680
681 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * vc-backend.C (scanMaster): ";" -> ';'
684
685 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
686
687         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
688         std::binary_function
689
690         * lyxtextclass.C (compare_name): rename to...
691         (LayoutNamesEqual): ...this
692
693         * lyxlex_pimpl.C (compare_tags): inherit from
694         std::binary_function, put back into anon namespace
695
696         * lyxfind.C (MatchString): inherig from std::binary_function
697         (findChange): use empty() istead of !size()
698
699         * format.C (FormatNamesEqual): new functor
700         (getFormat): use it
701         (getNumber): use it
702         (add): use it
703         (erase): use it
704         (setViewer): use it
705
706         * converter.C (compare_Converter): rename to...
707         (ConverterEqual): ...this, and fixup a bit.
708         (getConverter): use it, and make function const
709         (getNumber): use it, and make function const
710         (add): use it
711         (erase): use it:
712
713         * bufferlist.C: add using boost::bind
714
715         * MenuBackend.C (MenuNamesEqual): new functor
716         (hasMenu): use it, and make function const
717         (hasSubmenu): use nested bind to get rid of compare_memfun.
718
719 2004-01-30  André Pönitz  <poenitz@gmx.net>
720
721         * BufferView_pimpl.C:
722         * cursor.C:
723         * cursor.h:
724         * cursor_slice.[Ch]:
725         * lyxfunc.C:
726         * lyxtext.h:
727         * paragraph_funcs.C:
728         * paragraph_funcs.h:
729         * rowpainter.C:
730         * text.C:
731         * text2.C:
732         * text3.C: move some of the edit(x,y) handling to the insets
733         some coordinate changes.
734
735 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
736
737         * text.C: add using statements for std::advance and std::distance
738
739         * paragraph.C: add using statement for std::distance
740
741         * lyxfind.C: add using statement for std::advance
742
743         * cursor.C (region): remove std:: from swap
744         (openable): use nucleus in stead of operator->
745
746         * BufferView.C: add using statements for std::distance and std::swap
747
748 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
749
750         * iterators.C: Remove the pimple, move the needed structures to
751         the header file. Create accessor for the positions stack.
752         (asPosIterator): remove function
753
754         * PosIterator.C (PosIterator): move constructors to top of file
755         (PosIterator): reimplement the constructor taking a ParIterator in
756         terms of setFrom.
757         (setFrom): new function
758         (operator!=): inline it
759
760 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
761
762         * lyxfind.C (replaceAll): use std::advance
763
764         * iterators.h: inherit from std::iterator.
765
766         * PosIterator.C (advance, distance): remove
767         * PosIterator.h: interit from std::iterator.
768
769 2004-01-26  André Pönitz  <poenitz@gmx.net>
770
771         * BufferView.[Ch]:
772         * BufferView_pimpl.[Ch]:
773         * InsetList.[Ch]:
774         * PosIterator.[Ch]:
775         * buffer.h:
776         * bufferview_funcs.C:
777         * cursor.[Ch]:
778         * cursor_slice.h:
779         * factory.[Ch]:
780         * iterators.[Ch]:
781         * lyxfind.C:
782         * lyxfunc.C:
783         * lyxtext.h:
784         * output_docbook.C:
785         * output_latex.C:
786         * output_linuxdoc.C:
787         * output_plaintext.C:
788         * paragraph.[Ch]:
789         * paragraph_funcs.[Ch]:
790         * paragraph_pimpl.[Ch]:
791         * rowpainter.C:
792         * tabular.C:
793         * tabular.h:
794         * text.C:
795         * text2.C:
796         * text3.C: more IU:  dumps most of the rest of the mathcursor
797     implementation into cursor.[Ch]; "globalize" a bit of it.
798
799 2004-01-25  Angus Leeming  <leeming@lyx.org>
800
801         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
802
803 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
804
805         * LaTeXFeatures.h: add nice_ and nice() const
806         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
807
808 2004-01-20  André Pönitz  <poenitz@gmx.net>
809
810         * BufferView.[Ch]:
811         * BufferView_pimpl.C:
812         * PosIterator.C:
813         * bufferview_funcs.C:
814         * cursor.[Ch]:
815         * cursor_slice.[Ch]:
816         * factory.C:
817         * iterators.C:
818         * lyx_cb.C:
819         * lyxfind.C:
820         * lyxfunc.C:
821         * lyxtext.h:
822         * rowpainter.C:
823         * text.C:
824         * text2.C:
825         * text3.C:
826         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
827           LCursor and mathcursor parts to LCursor and InsetBase.
828
829 2004-01-15  André Pönitz  <poenitz@gmx.net>
830
831         * cursor_slice.[Ch]: add a few covienience functions
832
833         * funcrequest.[Ch]: remove BufferView * member
834
835         * BufferView_pimpl.C:
836         * cursor.C:
837         * factory.[Ch]:
838         * lyxfind.[Ch]:
839         * lyxfunc.C:
840         * lyxtext.h:
841         * text3.C:
842         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
843
844 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
847         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
848
849 2004-01-13  André Pönitz  <poenitz@gmx.net>
850
851         * textcursor.[Ch]:
852         * lyxtext.h: hide cursor and selection anchor behind accessor function
853
854         * BufferView.C:
855         * BufferView_pimpl.[Ch]:
856         * PosIterator.C:
857         * bufferview_funcs.C:
858         * cursor.h:
859         * lyxfind.C:
860         * lyxfunc.C:
861         * text.C:
862         * text2.C:
863         * text3.C:
864         * undo.C: adjust
865
866         * cursor.h:
867         * cursor_slice.[Ch]: some integer type changes for inset unification
868
869         * lyxcursor.[hC]: remove, it's CursorSlice now.
870
871         * Makefile.am:
872         * BufferView_pimpl.[Ch]:
873         * bufferview_funcs.C:
874         * cursor_slice.C:
875         * lyxtext.h:
876         * text.C:
877         * text2.C:
878         * text3.C:
879         * textcursor.[Ch]: adjust
880
881 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * text2.C (undoSpan): add and use
884         * text.C (breakParagraph): use undoSpan (fix bug 578)
885         * lyxtext.h: adjust
886
887 2004-01-08  Angus Leeming  <leeming@lyx.org>
888
889         * BufferView_pimpl.C (MenuInsertLyXFile):
890         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
891         * lyxfunc.C (menuNew, open, doImport):
892         FileFilterList change to the FileDialog open and save functions.
893
894 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
895
896         * ShareContainer.h: make isEqual and isUnique adaptable
897
898         * CutAndPaste.C: make resetOwnerAndChanges adaptable
899
900 2004-01-07  Angus Leeming  <leeming@lyx.org>
901
902         * LyXAction.C:
903         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
904
905         * BufferView_pimpl.C (dispatch): act on these LFUNs.
906
907         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
908         functions replacing find, replace and replaceAll.
909
910         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
911         LFUN_WORDFIND(FORWARD|BACKWARD).
912
913 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * text.C (breakParagraph): remove an outdated #warning
916
917 2004-01-07  André Pönitz  <poenitz@gmx.net>
918
919         * lyxfind.C: somewhat clearer logic
920
921         * text.C: prevent crash in cursorX on unitialized row cache
922
923 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * lyxcursor.[Ch] (operator>): add
926         * textcursor.C (selStart, selEnd): use std::min and std::max
927
928 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
929
930         * Chktex.C: include boost/format.hpp
931
932 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
933
934         * InsetList.C: replace functor MathcIt with adaptable functor
935         InsetTablePosLess
936         (insetIterator): modify accordingly
937
938         * BranchList.h: move the BranchNamesEqual functor here from...
939         * BranchList.C: ... to here
940
941         * BranchList.C: new BranchListEqual fuctor, use it. Remove
942         SameName and match.
943         (add): replace a finding loop with std::find_if.
944
945 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
946
947         * output_docbook.C: moving LatexParam functionality into
948         .layout files
949
950 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
951
952         * buffer.C: increment format to 229.
953
954 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
955
956         * LaTeXFeatures.C:
957         * lyx_sty.[Ch]: remove minipageindent_def
958
959         * LyXAction.C:
960         * factory.C:
961         * lfuns.h:
962         * lyxfunc.C:
963         * text3.C: remove LFUN_INSET_MINIPAGE
964
965 2003-12-28  Angus Leeming  <leeming@lyx.org>
966
967         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
968
969 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * text2.C (setParagraph): fix off-by-one crash
972
973 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * output_docbook.C: header stuff for AGU
976
977 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
978
979         * text2.C (redoCursor): remove
980         * text.C:
981         * text3.C:
982         * BufferView_pimpl.C: remove calls to redoCursor and
983         setCursor(cursor.par(), cursor.pos()) all around
984
985 2003-12-15  Angus Leeming  <leeming@lyx.org>
986
987         * buffer.C: up the format to 228.
988
989 2003-12-15  André Pönitz  <poenitz@gmx.net>
990
991         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
992         slices
993
994         * Makefile.am:
995
996         * BufferView_pimpl.C:
997         * cursor.[Ch]:
998         * lyxcursor.[Ch]:
999         * rowpainter.[Ch]:
1000         * lyxtext.h:
1001         * text.C:
1002         * text2.C:
1003         * text3.C: adjust
1004
1005 2003-12-15  Angus Leeming  <leeming@lyx.org>
1006
1007         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1008         than getFromGUIName to manipulate the color.
1009
1010 2003-12-14  Angus Leeming  <leeming@lyx.org>
1011
1012         * BranchList.[Ch]: minimize the API.
1013         (Branch::getBranch, getColor): now return a 'const &'.
1014         (Branch::setSelected) now returns a bool set to true if the
1015         selection status changes.
1016         (BranchList::clear, size, getColor, setColor, setSelected,
1017         allBranches, allSelected, separator): removed.
1018         (BranchList::find): new functions, returning the Branch with
1019         the given name.
1020         (BranchList::add, remove): return a bool indicating that
1021         the operation was successful.
1022
1023         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1024         new InsetBranch::isBranchSlected member function.
1025
1026         * LColor.[Ch]: mimimize the API.
1027         (fill): renamed as addColor and made private.
1028         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1029         versions of these functions taking a string arg have been removed.
1030
1031         * bufferparams.C (readToken):
1032         * lyxfunc.C (dispatch):
1033         * lyxrc.C (read): changes due to the altered BranchList and
1034         LColor APIs.
1035
1036         * factory.C (createInset, readInset): changes due to altered
1037         InsetBranch c-tor.
1038
1039 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1040
1041         * factory.C:
1042         * lyxfunc.C: remove insetminipage. "minipage-insert"
1043         now produces a frameless minipage box inset.
1044
1045 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1046
1047         * textcursor.[Ch] (selStart,selEnd): add new methods
1048         remove selection::start, end, use LyXCursor::operator<
1049         * lyxcursor.[Ch] (operator<): add
1050         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1051         * BufferView.[Ch] (unsetXSel): add
1052         * text2.C (clearSelection): use unsetXSel,adjust
1053         * text.C: adjust
1054         * text3.C: adjust
1055         * rowpainter.C: adjust
1056         * bufferview_funcs.C (put_selection_at): adjust
1057
1058 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1059
1060         * BufferView_pimpl.C: small coord. correction
1061
1062 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1063
1064         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1065         dragging over the splash screen.
1066
1067 2003-12-11  Angus Leeming  <leeming@lyx.org>
1068
1069         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1070         as it is now handled in LyXText::dispatch.
1071
1072         * text3.C (doInsertInset): remove a level of nesting.
1073
1074 2003-12-11  Angus Leeming  <leeming@lyx.org>
1075
1076         * factory.C (createInset): changes due to the changed interface to
1077         InsetCommandMailer::string2params.
1078
1079 2003-12-10  Angus Leeming  <leeming@lyx.org>
1080
1081         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1082         'dialog-show-new-inset <inset name>'
1083
1084 2003-12-10  Angus Leeming  <leeming@lyx.org>
1085
1086         * buffer.C: up the format to 227.
1087
1088         * factory.C: the box inset is now identified simply by 'Box'.
1089
1090 2003-12-10  Angus Leeming  <leeming@lyx.org>
1091
1092         * buffer.C: up the format to 226.
1093
1094         * factory.C: the note inset is now identified simply by 'Note'.
1095
1096 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1097
1098         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1099         when a pit is enough. Standarize a couple of loops.
1100
1101 2003-12-05  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1104         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1105         data to the re-worked "log" dialog.
1106
1107 2003-12-03  André Pönitz  <poenitz@gmx.net>
1108
1109         * PosIterator.C:
1110         * iterators.C:
1111         * lyxtext.h:
1112         * output_latex.C:
1113         * paragraph_funcs.C:
1114         * text.C:
1115         * text2.C: use Inset::getText instead of Inset::getParagraph
1116
1117 2003-12-03  André Pönitz  <poenitz@gmx.net>
1118
1119         * buffer.[Ch]:
1120         * lyxtext.h:
1121         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1122         InsetText::read() as LyXText::read()
1123
1124 2003-12-02  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1127         type. Add a comment in the implementation that the function uses
1128         the stream's bad() function rather than fail() as the std::streams
1129         would do.
1130
1131 2003-12-02  André Pönitz  <poenitz@gmx.net>
1132
1133         * lyxlex.[Ch]: make interface more similar to std::stream
1134
1135         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1136
1137 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1138
1139         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1140
1141 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1142
1143         * vspace.[Ch]: remove VSpace::NONE
1144
1145 2003-12-01  André Pönitz  <poenitz@gmx.net>
1146
1147         * buffer.[Ch]:
1148         * lyxtext.h: move ParagraphList member to LyXText
1149         rename LyXText::ownerParagraphs to LyXText::paragraph
1150
1151         * CutAndPaste.C:
1152         * bufferview_funcs.C:
1153         * iterators.[Ch]:
1154         * lyx_cb.C:
1155         * paragraph.C:
1156         * rowpainter.C:
1157         * tabular.C:
1158         * text.C:
1159         * text2.C:
1160         * text3.C: adjust
1161
1162         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1163
1164         * undo.C: fix cursor positioning
1165
1166 2003-12-01  John Levon  <levon@movementarian.org>
1167
1168         * BufferView_pimpl.C: fix a crash on exit with
1169         a buffer open
1170
1171 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * BranchList.C: fix setSelected() method.
1174
1175 2003-11-28  André Pönitz  <poenitz@gmx.net>
1176
1177         * ParagraphParameters.[Ch]:
1178         * ParameterStruct.h: remove space above/below from Paragraph to
1179          InsetVSpace
1180
1181         * BufferView_pimpl.C:
1182         * factory.C:
1183         * lyxfunc.C:
1184         * lyxtext.h:
1185         * output_latex.C:
1186         * paragraph.C:
1187         * paragraph_funcs.C:
1188         * rowpainter.[Ch]:
1189         * text.C:
1190         * text2.C:
1191         * text3.C: adjust
1192
1193 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * factory.C: Syntax change for CharStyles
1196
1197 2003-11-28  André Pönitz  <poenitz@gmx.net>
1198
1199         * BufferView.[Ch]:
1200         * BufferView.[Ch]:
1201         * buffer.[Ch]:
1202         * buffer.[Ch]: move LyXText member
1203
1204 2003-11-28  André Pönitz  <poenitz@gmx.net>
1205
1206         * BufferView.[Ch]: make LyXText * text a private member
1207
1208         * BufferView_pimpl.C:
1209         * cursor.C:
1210         * iterators.C:
1211         * lyx_cb.C:
1212         * lyxfind.C:
1213         * lyxtext.h:
1214         * rowpainter.[Ch]:
1215         * text.C:
1216         * text2.C:
1217         * undo.C: adjust
1218
1219         * output_plaintext.C: cleanup
1220
1221 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1222
1223         * buffer.C:
1224         * lyxtextclass.[Ch]: parametrize SGML document header
1225
1226 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * converter.[Ch]:
1229         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1230         getFlavor().
1231
1232 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1233
1234         * text2.C (setFont): rework using PosIterator (no more recursive)
1235         (setCharFont): no more needed
1236         (setLayout): no more selection cursors fiddling (done by redoCursor)
1237         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1238         destroy remaining ones)
1239
1240 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1243         * lyxtext.h: ditto
1244         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1245         selection cursors
1246         * lyxfunc.C: adjust
1247         * text3.C: adjust + re-allow multi par depth changes
1248         * textcursor.C: simplify a bit
1249
1250 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * src/buffer.C:
1253         * src/lyxlayout.C:
1254         * src/lyxlayout.h:
1255         * src/lyxtext.h:
1256         * src/output_docbook.C:
1257         * src/output_latex.C:
1258         * src/paragraph.C:
1259         * src/paragraph.h:
1260         * src/sgml.C:
1261         * src/sgml.h:
1262         * src/text2.C: Introducing a number of tags parametrizing various
1263         XML formats that we may want to support
1264
1265 2003-11-25  André Pönitz  <poenitz@gmx.net>
1266
1267         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1268
1269         * lyxtext.h (leftMargin/rightMargin): simplify interface
1270
1271         * rowpainter.C:
1272         * text.C:
1273         * text2.C:
1274         * text3.C: adjust
1275
1276 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1277
1278         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1279         master file to any child files. Fixes bug 546.
1280
1281 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1282
1283         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1284
1285 2003-11-24  André Pönitz  <poenitz@gmx.net>
1286
1287         * rowpainter.C: simplification
1288
1289         * text2.C (updateCounters): remove call to redoParagraph on
1290         changed labels as this is far too expensive.
1291
1292 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * converter.C (convert): fix a crash: this function gets
1295         called with buffer == 0 from importer code.
1296
1297 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1298
1299         * text3.C (cursorPrevious): make sure that we do not compare
1300         iterators form different containers.
1301         (cursorNext): ditto
1302
1303         * rowpainter.C (paintSelection): make sure that we do not compare
1304         iterators from different containers.
1305
1306         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1307         iterators from different ParagraphList containers.
1308         [NEXT] ditto
1309
1310         * text2.C (LyXText): change order of initialization slightly
1311         (operator=): new function. copy all variables except cache_par_
1312         (moveUp): make sure that we do not compare iterators from
1313         different ParagraphList constainers.
1314         (moveDown): ditto
1315
1316         * text.C (firstPar): new function
1317         (lastPar): new function
1318         (endPar): new function
1319
1320         * lyxtext.h: move things around and group public functions, public
1321         variables, private functions, private variables
1322
1323 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1324
1325         * factory.C: change call to InsetERT constructor to avoid
1326         additional invocation of method status
1327         * text2.C (toggleInset): remove redundant update() call
1328         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1329         instead of a Bufferview pointer
1330
1331 2003-11-21  André Pönitz  <poenitz@gmx.net>
1332
1333         * rowpainter.C: simplification
1334
1335 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * text3.C (dispatch): make possible to extend a word/row selection
1338         with the mouse
1339
1340 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * lyxtext.h: x0_,y0_ -> xo_,yo_
1343         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1344         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1345         * rowpainter.C (paintRows): paint full paragraphs
1346
1347 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1348
1349         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1350         screen coordinates)
1351
1352 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * lyxtext.h: add x0_, y0_
1355         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1356         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1357
1358 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * text2.C (setCursorIntern): move the x_target update here *
1361         * text3.C: change some bv() to true/false in calls to
1362         cursorUp/Down/Right/Left
1363         * cursor.C: use helper function.
1364
1365 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1368         * paragraph_funcs.[Ch]: correct comment
1369         * rowpainter.C: do not paint selections away from bv->cursor()
1370         Fix a long standing selection painting bug.
1371         * text3.C: generalize mouse-selection code to LyXTexts other that
1372         top one
1373         * textcursor.C: do not use y coords if we can use par offsets
1374
1375 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1378         cursor position after e.g. inset insert)
1379
1380 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * lyxfind.C (replace): adjust to locking removal + some
1383         code simplification
1384
1385 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1386
1387         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1388         of the path
1389
1390 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1391
1392         * lyxlayout.[Ch]:
1393         * output_docbook.C: XML sanitation: new layout
1394         parameters InnerTag and CommandDepth
1395
1396 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1397
1398         * BufferView_pimpl.C:
1399         * factory.C:
1400         * text3.C: Fix the insertion and modification of button-style
1401         insets
1402
1403 2003-11-13  André Pönitz  <poenitz@gmx.net>
1404
1405         * InsetList.[Ch]: remove deleteLyXText
1406
1407         * paragraph.[Ch]: cache beginOfBody position
1408
1409         * Bidi.C:
1410         * text.C:
1411         * text2.C:
1412         * text3.C: remove superfluous update() calls
1413
1414         * vspace.C: cleanup
1415
1416 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1417
1418         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1419         * BufferView.C (fitLockedInsetCursor): remove
1420         * cursor.[Ch] (getDim): add
1421         * text.C (getRowNearY): add faster version
1422         * text3.C: remove some update calls
1423
1424 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1425
1426         * LaTeXFeatures.C:
1427         * LyXAction.C:
1428         * MenuBackend.C:
1429         * MenuBackend.h:
1430         * dispatchresult.h:
1431         * factory.C:
1432         * lfuns.h:
1433         * lyxfunc.C:
1434         * lyxtextclass.C:
1435         * lyxtextclass.h:
1436         * text3.C: The Character Style /XML short element patch.
1437
1438 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1439
1440         * text3.C:
1441         * factory.C: Small step to solving 'unable to insert some insets'
1442         problem
1443
1444 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1445
1446         * cursor.[Ch] (updatePos): new function for updating the y
1447         position of the tip inset
1448         * bufferview_funcs.C (put_selection_at):
1449         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1450
1451 2003-11-11  André Pönitz  <poenitz@gmx.net>
1452
1453         * text.C: remove big comment on invalid Paragraph pointers as it is
1454         not valid anymore
1455
1456 2003-11-11  André Pönitz  <poenitz@gmx.net>
1457
1458         * text_funcs.[Ch]: merge with ...
1459
1460         * text.C: ... this
1461
1462         * lyxtext.h:
1463         * text2.C:
1464         * text3.C: adjust
1465
1466         * Makefile.am: remove text_funcs.[Ch]
1467
1468 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * cursor.C (getPos): return absolute cached y coord
1471
1472         * BufferView_pimpl.C (fitCursor): new simplistic code
1473         (workAreaDispatch): add a fitCursor call
1474
1475 2003-11-10  André Pönitz  <poenitz@gmx.net>
1476
1477         * BufferView.[Ch]:
1478         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1479
1480 2003-11-10  André Pönitz  <poenitz@gmx.net>
1481
1482         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1483         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1484         indicate that the cursor needs to leave an inset
1485
1486         * lyxtext.h: remove inset locking
1487
1488         * cursor.[Ch]: re-implement functionality provided by inset locking
1489
1490         * BufferView.[Ch]:
1491         * BufferView_pimpl.[Ch]:
1492         * LyXAction.C:
1493         * bufferview_funcs.[Ch]:
1494         * factory.C:
1495         * funcrequest.[Ch]:
1496         * iterators.C:
1497         * lyx_cb.C:
1498         * lyxfind.C:
1499         * lyxfunc.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C:
1503         * undo.C: adjust
1504
1505 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1506
1507         * PosIterator.[Ch]: replace the stack with a vector, add inset
1508         accesor
1509         * iterators.[C]: adjust
1510
1511 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1512
1513         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1514         replaced
1515         * paragraph_funcs.C (readParToken): put the correct id in the
1516         error item, not the id of the top paragraph
1517
1518 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1519
1520         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1521         * bufferview_funcs.C (put_selection_at): use the above
1522
1523 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1526
1527 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * output_linuxdoc.h:
1530         * output_plaintext.h:
1531         * output.h:
1532         * output_docbook.h: add #include statements
1533
1534 2003-11-05  José Matos  <jamatos@lyx.org>
1535
1536         * output_docbook.[Ch]:
1537         * output_latex.[Ch]:
1538         * output_linuxdoc.[Ch]:
1539         * output_plaintext.[Ch]: New files for output formats.
1540         * output.[Ch]: New file for helper functions.
1541
1542         * buffer.[Ch]:
1543         * paragraph_funcs.[Ch]: output functions moved to new files.
1544
1545         * outputparams.h: rename of latexrunparams.h
1546
1547         * LaTeX.[Ch]:
1548         * buffer.[Ch]:
1549         * bufferlist.[Ch]:
1550         * converter.[Ch]:
1551         * exporter.C:
1552         * paragraph.[Ch]:
1553         * paragraph_funcs.[Ch]:
1554         * paragraph_pimpl.[Ch]:
1555         * tabular.[Ch]: rename ascii to plaintext
1556         and LatexRunParams to OutputParams.
1557
1558 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * iterators.[Ch] (text): require bv argument
1561         * undo.C (recordUndo):
1562         * lyxfunc.C (dispatch):
1563         * bufferview_funcs.C (put_selection_at): adjust
1564
1565 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1566
1567         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1568
1569 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1570
1571         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1572         nestings
1573
1574 2003-11-04  André Pönitz  <poenitz@gmx.net>
1575
1576         * cursor.[Ch]: restructure
1577
1578         * BufferView.[Ch]:
1579         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1580
1581         * iterators.[Ch] (asCursor): remove
1582
1583         * lfuns.h: remove LFUN_INSET_EDIT
1584
1585         * lyxfunc.C:
1586         * tabular.C:
1587         * text.C:
1588         * text2.C:
1589         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1590
1591 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1592
1593         * lyxfind.[Ch]: complete overhaul
1594         * BufferView_pimpl.C:
1595         * lyxfunc.C: adjust
1596         * paragraph.[Ch] (insert): add
1597
1598 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1599
1600         * BufferView.[Ch]:
1601         * lyxtext.h:
1602         * text.C: remove dead spellcheck code
1603
1604 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1605
1606         * dispatchresult.h: add a val setter
1607
1608         * cursor.C (dispatch): use a tempvar for data_[i]
1609
1610 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1611
1612         * PosIterator.[Ch]: compile fix
1613
1614 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1615
1616         * text.C (cursorPar): deactivate the cursor cache
1617
1618 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1619
1620         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1621
1622 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1623
1624         * text3.C (dispatch): adjust for new DisptchResult semantics.
1625
1626         * lyxfunc.C (dispatch): handle update when return from
1627         Cursor::dispatch, adjust for new DispatchResult semantics.
1628
1629         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1630         DispatchResult(true) mean to not update. Add class functions for
1631         setting dispatched and update, as well as reading.
1632
1633         * cursor.C (dispatch): don't handle update here
1634
1635 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1636
1637         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1638         * trans_mgr.C: adjust
1639
1640         * paragraph_funcs.C (readParToken): exception safety
1641
1642         * lyxvc.h: store the vcs pointer in a scoped_ptr
1643         * lyxvc.C: adjust
1644
1645         * lyxsocket.C (serverCallback): exception safety
1646
1647         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1648
1649         * ispell.C (clone): make it return a auto_ptr
1650
1651         * factory.C (createInset): exception safety
1652         (readInset): exception safety
1653
1654         * bufferlist.C (newBuffer): exception safety
1655
1656         * Thesaurus.C (Thesaurus): use initialization for aik_
1657
1658         * MenuBackend.C (expandToc): exception safety.
1659
1660 2003-11-03  André Pönitz  <poenitz@gmx.net>
1661
1662         * buffer.C:
1663         * buffer.h:
1664         * bufferview_funcs.C: remove getInsetFromId()
1665
1666         * lyxcursor.[Ch]:
1667         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1668
1669         * lyxfunc.C:
1670         * text2.C:
1671         * text3.C: adjust
1672
1673 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1674
1675         * PosIterator.C (distance, advance): new
1676         * bufferview_funcs.[Ch] (put_selection_at): new
1677         * iterators.[Ch] (lockPath): new
1678
1679 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1680
1681         * iterators.[Ch] (asPosIterator): added
1682         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1683         * PosIterator.[Ch]: added
1684
1685 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * text3.C:
1688         * lyxfunc.C:
1689         * cursor.C (dispatch):
1690         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1691
1692         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1693         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1694         contructor, add a class function dispatched. Remove operator>=
1695
1696 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1697
1698         * debug.C: only use the default constructor for debugstream
1699         (lyxerr) here.
1700
1701         * main.C (main): include debug.h and setup the lyxerr streambuf
1702         here.
1703
1704 2003-10-31  José Matos  <jamatos@lyx.org>
1705
1706         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1707
1708         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1709         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1710         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1711         * paragraph_pimpl.C (simpleTeXSpecialC):
1712         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1713         add LatexRunParams argument.
1714
1715         * exporter.C (Export): change call accordingly.
1716
1717         * latexrunparams.h: add new member to take care of the other backends.
1718 2003-10-30  José Matos  <jamatos@lyx.org>
1719
1720         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1721         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1722         factorise code for paragraph output.
1723         * buffer.[Ch]:
1724         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1725         move functions.
1726
1727 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * text3.C (dispatch):
1730         * lyxfunc.C (dispatch):
1731         * cursor.C (dispatch):
1732         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1733
1734         * dispatchresult.h: make the dispatch_result_t ctor explicit
1735
1736 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1737
1738         * sgml.[Ch]:
1739         * buffer.C: small refactoring of docbook stuff
1740
1741 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1744         meaning.
1745
1746 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1749         operator dispatch_result_t, and operators for == != and >=
1750
1751         * cursor.C (dispatch): adjust for operator dispatch_result_t
1752         removal. comment out call to update
1753
1754         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1755
1756 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1757
1758         * text3.C:
1759         * text2.C:
1760         * text.C:
1761         * lyxtext.h:
1762         * lyxfunc.C:
1763         * cursor.C:
1764         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1765         (dispatch):
1766
1767         * dispatchresult.h: new file, DispatchResult broken out of
1768         insets/insetbase.h
1769
1770         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1771
1772 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1773
1774         * text.C (rowBreakPoint): put a hack inside #if 0
1775
1776 2003-10-28  André Pönitz  <poenitz@gmx.net>
1777
1778         * lyxtext.h:
1779         * metricsinfo.C:
1780         * paragraph_funcs.C:
1781         * rowpainter.C:
1782         * text.C:
1783         * text2.C: general cleanup (lots of small stuff)
1784
1785 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1786
1787         * text2.C (cursorEnd): simple fix to the "end key goes to one
1788         before the end on last row" bug
1789
1790 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * text.C (backspace): fix the "zombie characters"
1793
1794 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1795
1796         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1797
1798 2003-10-27  André Pönitz  <poenitz@gmx.net>
1799
1800         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1801
1802         * factory.C: handle new InsetPagebreak, InsetLine
1803
1804         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1805         and move handling into new InsetPagebreak, InsetLine
1806
1807         * BufferView_pimpl.C:
1808         * LyXAction.C:
1809         * ParagraphParameters.C:
1810         * ParameterStruct.h:
1811         * lyxfunc.C:
1812         * lyxtext.h:
1813         * paragraph.C:
1814         * paragraph.h:
1815         * paragraph_funcs.C:
1816         * paragraph_pimpl.C:
1817         * rowpainter.C:
1818         * text.C:
1819         * text2.C:
1820         * text3.C: adjust
1821
1822 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1823
1824         * text.C:
1825         * lyxrow_funcs.[Ch]:
1826         * Bidi.C:
1827         * paragraph.C:
1828         * lyxtext.h:
1829         * rowpainter.C:
1830         * text2.C:
1831         * text3.C: remove lastPos uses in favour of Row::endpos
1832
1833 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * undo.C (performUndoOrRedo): fix two crashes by setting a
1836         cursor by hand and reordering some calls. Use bv->lockInset instead
1837         of inset->edit because the latter loses cursor information
1838
1839 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1842         by Martin
1843         (rowBreakPoint): fix width. change point to point + 1.
1844         Add a missing check.
1845
1846 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1847
1848         * MenuBackend.C:
1849         * lyxfunc.C: fix (at least partly) the problems
1850         with the Nav menu and headers inside branch insets
1851         reported by Kayvan
1852
1853 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * paragraph.C (getChar): add strong asserts
1856
1857         * lyxrow_funcs.C (lastPos): remove hideous hack
1858
1859         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1860         (fill): adjust to that (avoid an infinite loop)
1861
1862 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1863
1864         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1865
1866 2003-10-23  André Pönitz  <poenitz@gmx.net>
1867
1868         * RowList_fwd.h: change list<> to vector<> to gain speed
1869         after suggestion from Alfredo
1870
1871 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * lyxtext.h: move the bidi stuff from here...
1874         * text.C: and here
1875         * text2.C: and here
1876         * Bidi.[Ch]: ... to here
1877
1878 2003-10-23  André Pönitz  <poenitz@gmx.net>
1879
1880         * lyxtext.h:
1881         * text.C (isLastRow, isFirstRow): new functions
1882
1883         * paragraph.h: new width cache member
1884
1885         * rowpainter.C: replace RowList::iterator with Row & where possible
1886
1887         * lyxfunc.C: replace several view()->text with a single call
1888
1889         * toc.C: fix 'unused' warning
1890
1891 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1894         when woring with stream::pos_type
1895         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1896
1897 2003-10-22  André Pönitz  <poenitz@gmx.net>
1898
1899         * lyxtext.h:
1900         * text.C: use Row & instead of RowList::iterator
1901
1902         * lyxrow.h: rename end() to endpos()
1903
1904         * rowpainter.C:
1905         * text.C:
1906         * text2.C: adjust
1907
1908 2003-10-22  Angus Leeming  <leeming@lyx.org>
1909
1910         * buffer.[Ch] (fully_loaded): new member function, returning true
1911         only when the file has been loaded fully.
1912         Used to prevent the premature generation of previews and by the
1913         citation inset to prevent computation of the natbib-style label.
1914
1915         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1916         templates are all set up.
1917
1918         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1919
1920 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1921
1922         * text.C: fixed an "oops" in the "is a bit silly"
1923         bug fix
1924
1925 2003-10-21  André Pönitz  <poenitz@gmx.net>
1926
1927         * FuncStatus.[Ch]: small stuff, whitespace
1928
1929         * lyxfont.[Ch]: operator<<() for debug reasons
1930
1931         * lyxfunc.C:
1932         * lyxrow_funcs.C:
1933         * lyxtext.h: whitespace, spelling
1934
1935         * paragraph.C: naming of variables
1936
1937         * text.C:
1938         * text2.C: small stuff
1939
1940
1941 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1942
1943         * text.C: (1) finish off the inset display() work;
1944         (2) fix the "is a bit silly" bug (accessing char
1945         past end of par).
1946
1947 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1948
1949         * text.C: re-introduce display() for insets, fixing the
1950         various bugs (stretch of line above, math inset
1951         positioning, ...)
1952
1953 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * text.C (rightMargin): remove spurious semicolon
1956
1957         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1958         1415)
1959
1960 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1961
1962         * text3.C: fix one crash due to wrong cursor def
1963
1964 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * vc-backend.C (scanMaster): make the regex static
1967
1968         * LaTeX.C (scanAuxFile): make the regexs static
1969
1970         * text3.C (doInsertInset, dispatch, dispatch):
1971         * text2.C (cursorUp, cursorDown):
1972         * text.C (selectNextWordToSpellcheck):
1973         * BufferView_pimpl.C (dispatch):
1974         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1975
1976 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * lyxsocket.C: include <cerrno>
1979
1980 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * lyxfunc.C (dispatch): remove textcache stuff
1983
1984         * bufferlist.C (release): remove textcache stuff
1985         (closeAll): ditto
1986
1987         * TextCache.C: delete file
1988         * TextCache.h: delete file
1989
1990         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1991
1992         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1993         delete of the bv_->text.
1994         (resizeCurrentBuffer): remove texcache stuff
1995         (workAreaResize): ditto
1996
1997 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2000         action.
2001
2002 2003-10-16  André Pönitz  <poenitz@gmx.net>
2003
2004         * lyxrow.[Ch]:
2005         * paragraph.h:
2006         * rowpainter.C:
2007         * text.C:
2008         * text2.C:
2009         * text3.C: speed up by storing y positions per paragraph plus per-row
2010         offset instead of having a 'full' y position in the row.
2011
2012 2003-10-15  André Pönitz  <poenitz@gmx.net>
2013
2014         * iterators.[Ch]:
2015         * iterators.[Ch]:
2016         * undo.[Ch]: make undo aware of inner insets
2017
2018 2003-10-14  Angus Leeming  <leeming@lyx.org>
2019
2020         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2021         static member functions LyX::ref() and LyX::cref.
2022         (lastfiles): new accessor functions for the new lastfiles_ member var.
2023         (addLyXView, views_): add a new LyXView to the list of views_.
2024         (updateInset): loop over all LyXViews to call their own updateInset
2025         member function, returning a pointer to the Buffer owning the inset.
2026
2027         * BufferView_pimpl.C (loadLyXFile):
2028         * MenuBackend.C (expandLastfiles):
2029         * bufferlist.C (MenuWrite, QuitLyX):
2030         lastfiles is no longer a global variable.
2031         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2032
2033         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2034         static function. Access through LyX::cref().emergencyCleanup().
2035
2036 2003-10-14  André Pönitz  <poenitz@gmx.net>
2037
2038         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2039
2040         * undo.[Ch]: restoring part of 'undo in insets'
2041
2042         * Makefile.am:
2043         * undo_funcs.[Ch]: merge with undo.[Ch]
2044
2045         * tabular.C: small cleansing stuff
2046
2047 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2048
2049         * paragraph_funcs.C (readParToken): report unknown insets as error
2050         boxes. Use the outer paragraph as location (also for unknown
2051         tokens).
2052
2053         * factory.C (readInset): do not abort on reading an unknown inset.
2054         Eat it and return 0.
2055
2056 2003-10-13  Angus Leeming  <leeming@lyx.org>
2057
2058         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2059
2060         * lyxrc.C: displayTranslator is now a function,
2061         declared in GraphicsTypes.h.
2062
2063 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2064
2065         * format.C: new placeholder $$a to pass the socket address.
2066
2067         * bufferlist.[Ch]: new function getBufferFromTmp.
2068
2069         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2070           files in the temporary dir.
2071
2072 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2073
2074         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2075
2076         * Makefile.am: add lyxsocket.[Ch].
2077
2078         * lyx_main.C (error_handler): handle SIGPIPE.
2079
2080 2003-10-13  André Pönitz  <poenitz@gmx.net>
2081
2082         * BufferView_pimpl.C:
2083         * lyxtext.h:
2084         * text.C:
2085         * text2.C:
2086         * text3.C:
2087         * undo_funcs.[Ch]: use paroffset_type instead of
2088           ParagraphList::iterators to prevent multiple conversion
2089           (and get a more robust interface)
2090
2091 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2094         * lyxtext.h: ditto
2095         * text3.C (dispatch): ditto
2096
2097 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2098
2099         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2100         move the onlyfile, use onlyfile instead of foundfile in a couple
2101         of places.
2102
2103         * DepTable.C (update): flush the error stream a bit more
2104
2105 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2106
2107         * lyxserver.C (callback): adjust
2108
2109         * lyxfunc.C (getStatus): add a missing brace in commented code
2110         (ensureBufferClean): reindent
2111         (dispatch): delete version taking a string
2112
2113 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * LaTeX.C (deplog): move found file handlig from here...
2116         (handleFoundFile): .. to new function here.
2117         (deplog): make sure to discover several files mentioned on the
2118         same log line.
2119
2120 2003-10-10  André Pönitz  <poenitz@gmx.net>
2121
2122         * lyxfunc.C:
2123         * lyxtext.h:
2124         * tabular.C:
2125         * text.C:
2126         * text2.C:
2127         * text3.C: fix some of the tabular crashes
2128
2129 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2130
2131         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2132
2133         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2134
2135 2003-10-09  André Pönitz  <poenitz@gmx.net>
2136
2137         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2138
2139         * BufferView.C:
2140         * BufferView_pimpl.C:
2141         * bufferview_funcs.C:
2142         * lyx_cb.C:
2143         * lyxcursor.C:
2144         * lyxfind.C:
2145         * lyxfunc.C:
2146         * lyxtext.h:
2147         * text.C:
2148         * text2.C:
2149         * text3.C:
2150         * text_funcs.[Ch]:
2151         * textcursor.[Ch]:
2152         * undo_funcs.C: adjust
2153
2154 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * text2.C (incrementItemDepth): new function, use a backtracking
2157         algorithm to discover the correct item depth.
2158         (resetEnumCounterIfNeeded): new function, use a backtracking
2159         algorithm to discover if counter reset is needed.
2160         (setCounter): use them. Simplify a bit. Add different labels for
2161         different item depths for itemize.
2162
2163         * paragraph.C (Paragraph): remove initialization of enumdepth
2164         (operator=): ditto
2165
2166         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2167         enumerate and itemize. Change the type of itemdepth to signed char.
2168
2169 2003-10-08  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2172           thing assignable.
2173         * text.C:
2174         * text2.C: adjust
2175
2176         * tabular.[Ch]: fix crash after 'row-insert'
2177
2178 2003-10-08  Angus Leeming  <leeming@lyx.org>
2179
2180         Fix doxygen warnings.
2181
2182         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2183         Remove CutAndPaste:: prefix from header file declaration.
2184
2185         * LColor.h (fill): remove LColor:: prefix from declaration.
2186
2187         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2188         use lyx::depth_type rather than Paragraph::depth_type so that
2189         header file and .C file match.
2190
2191         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2192
2193         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2194         * aspell.C: \file aspell_local.C -> \file aspell.C
2195         * gettext.C: \file gettext.C -> \file src/gettext.C
2196         * gettext.h: \file gettext.h -> \file src/gettext.h
2197         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2198         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2199         * text.C: \file text.C -> \file src/text.C
2200
2201         * toc.C: move comment so that doxygen is not confused.
2202
2203 2003-10-07  Angus Leeming  <leeming@lyx.org>
2204
2205         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2206
2207 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2208
2209         * aspell.C:
2210         * aspell_local.h: add forgotten std::string's.
2211
2212 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2213
2214         * LaTeXFeatures.C:
2215         * LyXAction.C:
2216         * factory.C:
2217         * lfuns.h:
2218         * lyxfunc.C:
2219         * text3.C: The Box patch. Fancybox support, minipage, parbox
2220
2221 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2222
2223         * CutAndPaste.h:
2224         * DepTable.h:
2225         * FloatList.h:
2226         * LaTeXFeatures.h:
2227         * ParagraphParameters.h:
2228         * TextCache.h:
2229         * Thesaurus.h:
2230         * bufferlist.h:
2231         * exporter.h:
2232         * importer.h:
2233         * lastfiles.h:
2234         * lyxfind.h:
2235         * lyxfont.h:
2236         * lyxlex.h:
2237         * lyxtextclasslist.h:
2238         * messages.h:
2239         * paragraph.h:
2240         * paragraph_pimpl.C:
2241         * textcursor.h: add <string> and other small fixes to make Lars'
2242         std::string patch compile with STLport.
2243
2244 2003-10-06  Angus Leeming  <leeming@lyx.org>
2245
2246         * LColor.h: Add missing #include <string>.
2247
2248 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * All most all file in all subdirs: Make <string> be the prefered
2251         way of getting to std::string, add using declarations.
2252
2253 2003-10-06  André Pönitz  <poenitz@gmx.net>
2254
2255         * metricsinfo.C: initialize LyXFont before changing attribute.
2256         (fixes the 'math in \emph is upright' bug)
2257
2258 2003-10-06  André Pönitz  <poenitz@gmx.net>
2259
2260         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2261
2262 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * graph.C:
2265         * paragraph_pimpl.C: Small fixes to build using STLport
2266
2267 2003-10-02  André Pönitz  <poenitz@gmx.net>
2268
2269         * lyxfunc.C:
2270         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2271
2272 2003-10-01  André Pönitz  <poenitz@gmx.net>
2273
2274         * factory.C: assert early
2275
2276 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2277
2278         * lyx_main.C: remove the global debug object
2279
2280         * debug.h: adjust for new debugstream
2281
2282         * debug.C: adjust for new debugstream and keep the global debug
2283         object here.
2284
2285 2003-09-22  Angus Leeming  <leeming@lyx.org>
2286
2287         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2288         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2289         an incomplete class LyXFont.
2290
2291 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2292
2293         * factory.C: bug fix in branches
2294
2295 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * lyxfunc.C (processKeySym): adjust
2298         (dispatch): adjust
2299         (dispatch): change arg name from ev to func, adjust
2300         (sendDispatchMessage): ditto
2301
2302         * lyx_main.C (defaultKeyBindings): adjust keybindings
2303         (deadKeyBindings): ditto
2304
2305         * kbsequence.C (addkey): return a FuncRequest
2306
2307         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2308
2309         * kbmap.C (bind): take a FuncRequest as arg, adjust
2310         (read): adjust
2311         (lookup): adjust
2312         (defkey): change to take a FuncRequest as arg, adjust
2313         (findbinding): take a FuncRequest as arg, adjust.
2314
2315         * funcrequest.h (operator=): added
2316
2317         * funcrequest.C (FuncRequest): default kb_action changed from
2318         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2319
2320         * buffer.C (dispatch): simplify
2321         (dispatch): adjust to take a FuncRequest as arg, adjust
2322
2323         * boost.C (assertion_failed): change assertion message slightly
2324
2325         * ToolbarBackend.C (read): simplify
2326
2327         * MenuBackend.C (binding): adjust call to findbinding, add a
2328         message if no binding is found.
2329         (read): simplify
2330         (expandToc): correct by adding a empty FuncRequest
2331
2332         * LyXAction.C: include <boost/assert.hpp>
2333         (isPseudoAction): delete function
2334         (LookupFunc): change name to...
2335         (lookupFunc): this. change return type to FuncRequest.
2336         (getActionName): take kb_action as arg, simplify
2337         (funcHasFlag): add an assert, simplify.
2338
2339 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * toc.C (action): return a FuncRequest, simplify
2342
2343         * lyxfunc.C (processKeySym): adjust
2344         (getStatus): delete version that takes an int.
2345         (getStatus): adjust
2346         (dispatch): delete version that takes action as int
2347         (dispatch): adjust
2348         (sendDispatchMessage): simplify and adjust
2349
2350         * funcrequest.C (getArg): take unsigned int as arg
2351
2352         * ToolbarBackend.C (read): adjust
2353         (add): delete version that takes func as a string.
2354         (getIton): take a FuncRequest as arg
2355
2356         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2357         action.
2358
2359         * MenuBackend.C (MenuItem): add a new construct that only takes a
2360         Kind, simplify the constructor use for submenus.
2361         (add): adjust
2362         (expandLastfiles): adjust
2363         (expandDocuments): adjust
2364         (expandFormats): adjust
2365         (expandFloatListInsert): adjust
2366         (expandFloatInsert): adjust
2367         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2368
2369         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2370         Remove class variables lyx_pseudo_map and lyx_arg_map
2371
2372         * LyXAction.C (searchActionArg): delete function
2373         (getPseudoAction): delete function
2374         (retrieveActionArg): delete function
2375         (LookupFunc): make it return kb_action, simplify.
2376         (getActionName): simplify
2377
2378         * factory.C (createInset): fix new bug
2379
2380 2003-09-19  Angus Leeming  <leeming@lyx.org>
2381
2382         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2383         masterFilename_ parameter in the include inset.
2384
2385         * factory.C (createInset): changes due to the changes to InsetInclude.
2386
2387 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2388
2389         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2390
2391 2003-09-18  Angus Leeming  <leeming@lyx.org>
2392
2393         * buffer.C:
2394         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2395         Inset::fillWithBibKeys.
2396         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2397
2398 2003-09-18  Angus Leeming  <leeming@lyx.org>
2399
2400         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2401         variables.
2402         (ctor): pass and store a 'Buffer const &'
2403         (buffer): new member function.
2404
2405         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2406         '*this' to the LaTeXFeatures ctor.
2407
2408 2003-09-18  Angus Leeming  <leeming@lyx.org>
2409
2410         * LColor.h:
2411         * lyxfont.C:
2412         * lyxfont.h:
2413         * lyxtext.h:
2414         * text.C: rename EnumLColor as LColor_color.
2415
2416 2003-09-18  Angus Leeming  <leeming@lyx.org>
2417
2418         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2419         remove #include "insets/insetbase.h" from cursor.h.
2420
2421 2003-09-18  Angus Leeming  <leeming@lyx.org>
2422
2423         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2424         InsetOld_code to remove #include "inset.h".
2425
2426         * iterators.C: add #include "insets/inset.h"
2427
2428 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * BufferView.C: remove more locking stuff that apparently doesn't
2431         do anything sensible.
2432
2433 2003-09-16  André Pönitz  <poenitz@gmx.net>
2434
2435         * paragraph.[Ch]:
2436         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2437           performance boost.
2438
2439 2003-09-16  Angus Leeming  <leeming@lyx.org>
2440
2441         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2442
2443         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2444         arg/return type.
2445
2446         * paragraph.h: remove #include "lyxfont.h". Forward declare
2447         LyXFont_size.
2448
2449 2003-09-16  Angus Leeming  <leeming@lyx.org>
2450
2451         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2452         of support/textutils.h.
2453         (isWord): move the contents of support/textutils.h's IsWordChar here.
2454
2455         * buffer.C:
2456         * lyxfind.C:
2457         * rowpainter.C:
2458         * text.C:
2459         * text2.C: add #include "paragraph.h".
2460
2461         * rowpainter.C:
2462         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2463
2464 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * main.C:
2467         * lyx_main.C:
2468         * lyx_cb.C:
2469         * buffer.C:
2470         * LaTeX.C: use namespace alias for lyx::support::os
2471
2472 2003-09-16  Angus Leeming  <leeming@lyx.org>
2473
2474         * bufferparams.C:
2475         * bufferview_funcs.C:
2476         * factory.C:
2477         * lyxfunc.C:
2478         * paragraph_pimpl.C:
2479         * rowpainter.C:
2480         * text.C: add #include "LColor.h".
2481
2482 2003-09-16  Angus Leeming  <leeming@lyx.org>
2483
2484         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2485         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2486         return LyXFont &.
2487         Store the FontBits::color variable as an int rather than as an
2488         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2489         file.
2490
2491         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2492         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2493         string calls together.
2494
2495         * lyxrc.C: add #include "LColor.h".
2496
2497 2003-09-15  Angus Leeming  <leeming@lyx.org>
2498
2499         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2500         a cow_ptr.
2501
2502 2003-09-15  Angus Leeming  <leeming@lyx.org>
2503
2504         * LColor.h: add an EnumLColor wrapper for LColor::color.
2505
2506         * lyxfont.[Ch] (color, setColor, realColor):
2507         * lyxtext.h, text.C (backgroundColor):
2508         pass EnumLColor args to/from the functions, rather than LColor::color
2509         ones.
2510
2511         * lyxfont.h:
2512         * lyxtext.h: forward declare EnumLColor.
2513
2514         * lyx_main.C: add #include "LColor.h".
2515
2516 2003-09-15  Angus Leeming  <leeming@lyx.org>
2517
2518         * .cvsignore: add lyx-gtk.
2519
2520 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * Chktex.C
2523         * LaTeX.C
2524         * LaTeXFeatures.C
2525         * ParagraphParameters.C
2526         * Spacing.C
2527         * buffer.C
2528         * bufferparams.C
2529         * bufferview_funcs.C
2530         * chset.C
2531         * counters.C
2532         * funcrequest.C
2533         * lyxfont.C
2534         * lyxgluelength.C
2535         * lyxlength.C
2536         * paragraph.C
2537         * paragraph_funcs.C
2538         * text3.C
2539         * vc-backend.C: remove usage of STRCONV
2540
2541 2003-09-15  Angus Leeming  <leeming@lyx.org>
2542
2543         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2544         explicitly define the color passed to the painter.
2545
2546 2003-09-15  Angus Leeming  <leeming@lyx.org>
2547
2548         * bufferparams.C (BufferParams): reorder member initializers to avoid
2549         compiler warning.
2550
2551 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2552
2553         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2554         * text.C (updateRowPositions): remove an unusual nop
2555
2556 2003-09-12  André Pönitz  <poenitz@gmx.net>
2557
2558         * BufferView_pimpl.C:
2559         * Bullet.C:
2560         * layout.h:
2561         * lyxfunc.C:
2562         * lyxlayout.[Ch]:
2563         * lyxtextclass.C:
2564         * rowpainter.C:
2565         * text.C:
2566         * text2.C:
2567         * Counters.[Ch]: finish the 'automatic counters' job
2568
2569 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2570
2571         * aspell.C: include <boost/assert.cpp> (compile fix)
2572
2573 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2574
2575         * boost.C (assertion_failed): use lyx::support::abort instead of
2576         assert.
2577
2578 2003-09-10  Angus Leeming  <leeming@lyx.org>
2579
2580         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2581         with their _fwd progeny.
2582
2583 2003-09-09  Angus Leeming  <leeming@lyx.org>
2584
2585         134 files throughtout the source tree: replace 'using namespace abc;'
2586         directives with the appropriate 'using abc::xyz;' declarations.
2587
2588 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2589
2590         * boost.C (emergencyCleanup): moved here from LAssert.c
2591         (assertion_failed): new function, called by BOOST_ASSERT
2592
2593         * several files: change Assert to BOOST_ASSERT
2594
2595 2003-09-09  Angus Leeming  <leeming@lyx.org>
2596
2597         * buffer.[Ch]: Add an Impl class and move Buffer's member
2598         variables into it. As a result move several header files out of
2599         buffer.h.
2600
2601         Add header files to lots of .C files all over the tree as a result.
2602
2603 2003-09-09  Angus Leeming  <leeming@lyx.org>
2604
2605         * buffer.[Ch]: make Buffer's member variables private. Add
2606         accessor functions.
2607
2608         Lots of changes all over the tree as a result.
2609
2610 2003-09-08  Angus Leeming  <leeming@lyx.org>
2611
2612         * graph.C: #include <config.h>.
2613
2614 2003-09-08  Angus Leeming  <leeming@lyx.org>
2615
2616         * BranchList.C:
2617         * BufferView.C:
2618         * BufferView_pimpl.C:
2619         * CutAndPaste.C:
2620         * DepTable.C:
2621         * LaTeX.C:
2622         * LaTeXFeatures.C:
2623         * LyXAction.C:
2624         * MenuBackend.C:
2625         * TextCache.C:
2626         * aspell.C:
2627         * buffer.C:
2628         * bufferlist.C:
2629         * changes.C:
2630         * chset.C:
2631         * converter.C:
2632         * counters.C:
2633         * debug.C:
2634         * graph.C:
2635         * ispell.C:
2636         * lyx_cb.C:
2637         * lyxfind.C:
2638         * lyxfunc.C:
2639         * lyxlex_pimpl.C:
2640         * lyxrc.C:
2641         * lyxrow.C:
2642         * paragraph.C:
2643         * rowpainter.C:
2644         * texrow.C:
2645         * text.C:
2646         * text2.C:
2647         * toc.C: remove redundant using directives.
2648
2649 2003-09-07  Angus Leeming  <leeming@lyx.org>
2650
2651         * LaTeXFeatures.h: remove #include "support/types.h".
2652         * ToolbarBackend.h: remove #include <algorithm>.
2653         * changes.h: remove #include <ctime>.
2654         * debug.h: remove #include <iosfwd>.
2655         * graph.h: remove #include "support/std_string.h".
2656         * lyx_main.h: remove #include <csignal>.
2657         * lyxlex_pimpl.h: remove #include <fstream>.
2658         * sgml.h: remove #include <algorithm>, <utility>.
2659         * toc.h: remove #include "support/std_ostream.h".
2660         Add #include <iosfwd>.
2661
2662 2003-09-07  Angus Leeming  <leeming@lyx.org>
2663
2664         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2665
2666         * converter.h: forward declare LatexRunParams.
2667         * encoding.h: remove #include "lyxrc.h".
2668         * lyxtext.h: remove #include "LColor.h".
2669         * lyxtextclass.h: remove #include "support/types.h".
2670         * trans.h: remove #include "tex-accent.h".
2671         * trans_mgr.h: remove #include "tex-accent.h".
2672         * insets/inset.h: remove #include "support/types.h", <vector>.
2673         * insets/insetcollapsable.h: remove #include "LColor.h".
2674         * insets/insetinclude.h: remove #include "dimension.h".
2675         * insets/insetlatexaccent.h: remove #include "dimension.h".
2676         * insets/insetoptarg.h:: remove #include "insettext.h".
2677         * insets/insettext.h: remove #include "dimension.h",
2678         <boost/shared_ptr.hpp>
2679
2680         * insets/renderers.h: add #include "dimension.h".
2681         * insets/updatableinset.h: add #include "support/types.h".
2682
2683         * many .C files: Associated changes.
2684
2685 2003-09-06  Angus Leeming  <leeming@lyx.org>
2686
2687         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2688         one, inside testInvariant.
2689
2690         * PrinterParams.C: new file.
2691         * PrinterParams.[Ch]: move the function bodies out of line.
2692
2693 2003-09-06  Angus Leeming  <leeming@lyx.org>
2694
2695         * ParagraphParameters.h: forward declare ParameterStruct rather than
2696         including its header file.
2697         (depth): moved out-of-line.
2698
2699 2003-09-06  Angus Leeming  <leeming@lyx.org>
2700
2701         * BufferView_pimpl.h:
2702         * kbmap.h:
2703         * kbsequence.h:
2704         * lyxfunc.h: forward declare LyXKeySym rather than
2705         #include "frontends/LyXKeySym.h".
2706
2707         * BufferView_pimpl.C:
2708         * kbmap.C:
2709         * kbsequence.C:
2710         * lyxfunc.C: associated changes.
2711
2712 2003-09-06  Angus Leeming  <leeming@lyx.org>
2713
2714         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2715         As a result, can remove the #include "insets/inset.h" from BufferView.h
2716
2717 2003-09-06  Angus Leeming  <leeming@lyx.org>
2718
2719         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2720         As a result, can remove the #include "insets/inset.h" from BufferView.h
2721
2722 2003-09-06  Angus Leeming  <leeming@lyx.org>
2723
2724         * buffer_funcs.C:
2725         * buffer.h:
2726         * bufferlist.C:
2727         * BufferView.C:
2728         * bufferview_funcs.C:
2729         * BufferView_pimpl.C:
2730         * CutAndPaste.C:
2731         * lyx_cb.C:
2732         * lyxfunc.C:
2733         * paragraph.h:
2734         * ParagraphParameters.C:
2735         * tabular.C:
2736         * text3.C:
2737         * toc.C:
2738         * undo_funcs.C:
2739         * frontends/controllers/ControlDocument.C:
2740         * insets/insetcaption.C: rearrange the #includes into some sort of
2741         coherent order.
2742
2743         * buffer.h: remove #includes ErrorList.h, undo.h
2744
2745 2003-09-06  Angus Leeming  <leeming@lyx.org>
2746
2747         * support/types.h: add a 'depth_type' typedef, used to store the
2748         nesting depth of a paragraph.
2749
2750         * paragraph.h:
2751         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2752         defining explicitly.
2753
2754         * buffer.h:
2755         * paragraph_funcs.h:
2756         * ParagraphParameters.h:
2757         * sgml.h: use lyx::depth_type rather than Paragraph or
2758         ParameterStruct's depth_type.
2759
2760         * buffer.h
2761         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2762
2763         * BufferView.C:
2764         * BufferView_pimpl.C:
2765         * CutAndPaste.C:
2766         * ParagraphParameters.C:
2767         * buffer_funcs.C:
2768         * bufferlist.C:
2769         * bufferview_funcs.C:
2770         * lyx_cb.C:
2771         * lyxfunc.C:
2772         * tabular.C:
2773         * text3.C:
2774         * toc.C:
2775         * undo_funcs.C:
2776         * frontends/LyXView.C:
2777         * frontends/controllers/ControlDocument.C:
2778         * frontends/controllers/ControlErrorList.C:
2779         * insets/insetbibitem.C:
2780         * insets/insetbranch.C:
2781         * insets/insetcaption.C:
2782         * insets/insetcollapsable.C:
2783         * insets/insetenv.C:
2784         * insets/insetert.C:
2785         * insets/insetfloat.C:
2786         * insets/insetfoot.C:
2787         * insets/insetfootlike.C:
2788         * insets/insetnewline.C:
2789         * insets/insetquotes.C:
2790         * insets/insettabular.C:
2791         * insets/insettext.C:
2792         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2793
2794         * frontends/controllers/ControlChanges.C: #include "changes.h".
2795
2796 2003-09-06  Angus Leeming  <leeming@lyx.org>
2797
2798         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2799         than #including paragraph.h.
2800
2801         * ParagraphList.h:
2802         * RowList.h: deleted. Superfluous.
2803
2804         * CutAndPaste.h:
2805         * iterators.h:
2806         * lyxcursor.h:
2807         * lyxtext.h:
2808         * text_funcs.h:
2809         * undo.h:
2810         * undo_funcs.h:
2811         * insets/inset.h:
2812         * insets/insettext.h: use ParagraphList_fwd.h rather than
2813         ParagraphList.h.
2814
2815         * paragraph.h: don't forward declare ParagraphList.
2816
2817         * buffer.h:
2818         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2819         rather than ParagraphList.h. paragraph.h is still needed for the
2820         Paragraph::depth_type parameters.
2821
2822         * textcursor.h: enable it to compile stand-alone in light of the
2823         above changes.
2824
2825         * bufferview_funcs.C:
2826         * iterators.C:
2827         * lyxfunc.C:
2828         * lyxrow_funcs.C:
2829         * paragraph.C:
2830         * rowpainter.C:
2831         * text.C:
2832         * text2.C:
2833         * text3.C:
2834         * text_funcs.C:
2835         * textcursor.C:
2836         * undo.C:
2837         * frontends/controllers/ControlParagraph.C:
2838         * frontends/controllers/ControlTabular.C:
2839         * insets/insetmarginal.C:
2840         * insets/insetminipage.C:
2841         * insets/insetnote.C:
2842         * insets/insetoptarg.C: add header files needed to compile again.
2843
2844 2003-09-06  Angus Leeming  <leeming@lyx.org>
2845
2846         * RowList_fwd.h: new file, forward-declaring Row rather than
2847         #including lyxrow.h.
2848
2849         * lyxrow_funcs.h:
2850         * lyxtext.h:
2851         * paragraph.h:
2852         * insets/insettext.h: use it instead of RowList.h
2853
2854         * bufferview_funcs.C:
2855         * lyxfunc.C:
2856         * lyxrow_funcs.C:
2857         * paragraph.C:
2858         * rowpainter.C:
2859         * text.C:
2860         * text2.C:
2861         * text3.C: #include "RowList.h".
2862
2863 2003-09-05  Angus Leeming  <leeming@lyx.org>
2864
2865         * factory.C (createInset):
2866         * vspace.C (c-tor): replace sscanf call with an istringstream.
2867         * ispell.C: re-add missing HP/UX headers.
2868         * lyxserver.C: re-add missing  os2 headers.
2869
2870 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * BranchList.C:
2873         * graph.C:
2874         * ispell.C:
2875         * lastfiles.C:
2876         * lyx_cb.C:
2877         * lyxserver.C:
2878         * texrow.C:
2879         * text3.C: re-add missing system headers, needed for 2.95.2.
2880
2881 2003-09-05  Angus Leeming  <leeming@lyx.org>
2882
2883         Changes most place everywhere due to the removal of using directives
2884         from support/std_sstream.h.
2885
2886 2003-09-05  Angus Leeming  <leeming@lyx.org>
2887
2888         Replace LString.h with support/std_string.h,
2889         Lsstream.h with support/std_sstream.h,
2890         support/LIstream.h with support/std_istream.h,
2891         support/LOstream.h with support/std_ostream.h.
2892
2893         Changes resulting throughout the tree.
2894
2895 2003-09-05  Angus Leeming  <leeming@lyx.org>
2896
2897         * sgml.h: ensure that the header file can be compiled stand-alone.
2898         * *.C: strip out redundant #includes. (320 in total.)
2899
2900 2003-09-04  Angus Leeming  <leeming@lyx.org>
2901
2902         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2903         here (from getPackages).
2904
2905         * debug.[Ch]: add a new EXTERNAL tag.
2906
2907 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2908
2909         * text2.C (cursorEnd): simplify
2910         (setCursor): adjust
2911         (getColumnNearX): adjust
2912
2913         * text.C (computeBidiTables): adjust
2914         (fill): adjust
2915
2916         * rowpainter.C (paintChars): adjust
2917         (paintSelection): adjust
2918         (paintChangeBar): adjust
2919         (paintText): adjust
2920
2921         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2922         lastPos instead.
2923         (numberOfSeparators): adjust
2924
2925 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * LyXAction.C:
2928         * box.[Ch]:
2929         * lfuns.h:
2930         * lyxfunc.C:
2931         * text3.C: Restricts the mouse click functionality
2932         of insets like bibtex, include, toc and floatlist to the visible
2933         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2934         up the dialogs. Cursor has to be in front of the inset (i.e.
2935         start of row) for this to function.
2936
2937 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2938
2939         * bufferview_funcs.C (currentState): output row information
2940
2941 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2942
2943         * bufferview_funcs.C (currentState): output paragraph position
2944
2945 2003-09-04  Angus Leeming  <leeming@lyx.org>
2946
2947         * FloatList.h: move out #include "Floating.h".
2948         * LaTeX.h: move out #include "DepTable.h".
2949         * LyXAction.h: move out #include "funcrequest.h".
2950         * buffer.h: move out #include "author.h", "iterators.h".
2951         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2952         * lyx_main.h: move out #include "errorlist.h".
2953         * lyxfunc.h: move out #include "FuncStatus.h".
2954         * lyxtext: move out #include "lyxcursor.h".
2955         * paragraph_pimpl.h: move out #include "counters.h".
2956
2957 2003-09-03  Angus Leeming  <leeming@lyx.org>
2958
2959         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2960         preamble_snippets list, enabling us to add snippets to the preamble
2961         only if the snippet was not there already.
2962
2963 2003-09-04  Angus Leeming  <leeming@lyx.org>
2964
2965         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2966
2967 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2970         update
2971
2972 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * BranchList.C: point fix, earlier forgotten
2975
2976 2003-09-02  Angus Leeming  <leeming@lyx.org>
2977
2978         * box.C (contains): renamed from 'contained' after a fantastic
2979         amount of hot air.
2980
2981 2003-09-02  John Levon  <levon@movementarian.org>
2982
2983         * BufferView.C:
2984         * lyxcursor.h:
2985         * lyxcursor.C:
2986         * lyxfunc.C:
2987         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2988
2989 2003-09-02  John Levon  <levon@movementarian.org>
2990
2991         * text2.C: simplification of cursorEnd(), including partial
2992         fix for bug 1376
2993
2994 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * buffer.C (readFile): add a space
2997
2998 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3001
3002 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * buffer.C (readFile): new function, take a filename and a
3005         ParagraphList::iterator
3006         (readFile): adjust
3007         (readFile): adjust, make it private. don't use setStream, make
3008         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3009         always contain the filename.
3010
3011         * BufferView.C (insertLyXFile): simplify and make it work for
3012         gzipped files.
3013
3014 2003-08-30  John Levon  <levon@movementarian.org>
3015
3016         * Makefile.am: fix dist (from Kayvan)
3017
3018 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * most files: change to use const Buffer refs
3021
3022 2003-08-27  André Pönitz  <poenitz@gmx.net>
3023
3024         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3025         on top of ownerPar().
3026
3027 2003-08-27  John Levon  <levon@movementarian.org>
3028
3029         * funcrequest.C: properly initialise POD members
3030
3031 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * lyxtext.h (top_y): move top_y from here
3034         * text.C:
3035         * text2.C:
3036         * text3.C:
3037         * BufferView.[Ch]:
3038         * BufferView_pimpl.[Ch]: to here
3039         * frontends/screen.C:
3040         * insets/insettabular.C:
3041         * insets/insettext.C: adjust
3042         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3043
3044 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * BufferView.[Ch]:
3047         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3048
3049 2003-08-26  André Pönitz  <poenitz@gmx.net>
3050
3051         * paragraph_func.[Ch] (outerPar): new function
3052
3053         * paragraph.C:
3054         * paragraph_funcs.C:
3055         * paragraph_funcs.h:
3056         * paragraph_pimpl.C:
3057         * text2.C: remove Inset::par_owner
3058
3059 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3060
3061         * lyxrow_funcs.C:
3062         * lyxtext.h:
3063         * text.C:
3064         * text2.C: eliminates the needFullRow/display() stuff
3065         altogether, putting the logic in metrics/draw in the insets.
3066
3067 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * text2.C (redoParagraphInternal, redoParagraphs):
3070         * text.C (redoParagraph): add a call to updateRowPositions at the
3071         end of each 'metrics-like' call. Remove all others.
3072         (getRow): remove the 'y-computing' version.
3073         (getRowNearY): do not compute nor return the real y. Solve the
3074         'y < 0' problem and simplify.
3075
3076 2003-08-22  Angus Leeming  <leeming@lyx.org>
3077
3078         * *.[Ch]: clean-up of licence and author blurbs.
3079         Also move config.h out of a few .h files and into a few .C files.
3080
3081 2003-08-22  André Pönitz  <poenitz@gmx.net>
3082
3083         * lyxrow.[Ch]: add x_ and *fill_ members
3084
3085         * lyxtext.h:
3086         * text.C:
3087         * rowpainter.C:
3088         * text2.C: adjust/remove prepareToPrint() calls
3089
3090 2003-08-22  André Pönitz  <poenitz@gmx.net>
3091
3092         * lyxrow.[Ch]: add  end_ member
3093
3094         * lyxrow_funcs.C: use LyXRow::end_
3095
3096         * lyxtext.h (singleWidth): add LyXFont parameter
3097
3098         * rowpainter.C:
3099         * text2.C: adjust LyXText::singleWidth() calls
3100
3101         * text.C (redoParagraph): simplify row breaking logic
3102
3103
3104 2003-08-19  André Pönitz  <poenitz@gmx.net>
3105
3106         * funcrequest.C: initialize button_ member
3107
3108         * text3.C:
3109         * rowpainter.[Ch]: interface consolidation
3110
3111 2003-08-18  André Pönitz  <poenitz@gmx.net>
3112
3113         * BufferView.C:
3114         * BufferView_pimpl.C:
3115         * lyxfind.C:
3116         * paragraph_funcs.C:
3117         * rowpainter.C:
3118         * text3.C: remove LyXScreen::draw() and fitCursor calls
3119
3120         * BranchList.h: remove spurious semicolons
3121
3122         * MenuBackend.C: fix branchlist related crash
3123
3124 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3125
3126         * BranchList.[Ch]:
3127         * InsetList.[Ch]:
3128         * LColor.[Ch]:
3129         * LyXAction.C:
3130         * Makefile.am:
3131         * MenuBackend.[Ch]:
3132         * bufferparams.[Ch]:
3133         * factory.C:
3134         * lfuns.h:
3135         * lyxfunc.C:
3136         * text3.C: implements the 'branch inset'
3137         idea. This allows the output of various versions of a document
3138         from a single source version, selectively outputing or suppressing
3139         output of parts of the text.
3140         This implementation contains a 'branch list editor' in a separate
3141         tab of the document settings dialog. Branches are user definable
3142         and have a "display colour" to distinguish them on-screen.
3143
3144         ColorHandler was somewhat cleaned up.
3145         (1) make possible a dynamically growing LColor list by allowing
3146         the graphic context cache to grow along (vector);
3147         (2) eliminate an IMHO unnecessary step in colour allocation.
3148
3149 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3150
3151         * BufferView_pimpl.C: compile fix
3152
3153 2003-08-15  André Pönitz  <poenitz@gmx.net>
3154
3155         * rowpainter.C: remove extra metrics calls
3156
3157         * lyxtext.h: merge the two constructors into a single one,
3158           pass reference to owner's par list
3159
3160         * BufferView_pimpl.C:
3161         * text.C:
3162         * text2.C: adjust
3163
3164 2003-08-15  André Pönitz  <poenitz@gmx.net>
3165
3166         * lyxrow_funcs.[Ch]:
3167         * lyxtext.h:
3168         * paragraph.h:
3169         * paragraph_funcs.C:
3170         * rowpainter.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C:
3174         * text_funcs.C: split LyXText::rowlist_ into individual
3175         Paragraph::rows_ chunks
3176
3177         * BufferView.[Ch]:
3178         * BufferView_pimpl.[Ch]:
3179         * lyxfind.C:
3180         * lyxtext.h:
3181         * text3.C: remove toggleSelection()
3182
3183 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3184
3185         * bufferlist.C: beautify two alerts (shorter text of buttons)
3186         * buffer.C: Remove redundant ' ' from message
3187         * tabular.h:
3188         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3189         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3190         rename VALIGN_CENTER to VALIGN_MIDDLE
3191
3192 2003-08-11  André Pönitz  <poenitz@gmx.net>
3193
3194         * lyxtext.h (getPar):
3195         * text.C: new function
3196
3197 2003-08-11  André Pönitz  <poenitz@gmx.net>
3198
3199         * Makefile.am:
3200         * tracer.[Ch]: remove unneeded files
3201
3202         * InsetList.[Ch]: remove resizeInsetsLyXText()
3203
3204         * lyxtext.h:
3205         * text.C:
3206         * text2.C:
3207         * text3.C: merge insertParagraphs() and appendParagraph()
3208         remove breakAgain(), update()
3209
3210         * BufferView_pimpl.[Ch]:
3211         * bufferview_funcs.[Ch]:
3212         * lyxfunc.C:
3213         * paragraph.[Ch]:
3214         * rowpainter.C:
3215         * tabular.C: adjust after text & InsetList changes.
3216
3217 2003-08-08  André Pönitz  <poenitz@gmx.net>
3218
3219         * text.C (insertChar, backspace): replace rowlist fiddling
3220         with rebreak of full par
3221
3222         * lyxtext.h:
3223         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3224         checkParagraph, updateInset): removed
3225
3226 2003-08-07  André Pönitz  <poenitz@gmx.net>
3227
3228         * paragraph.C:
3229         * text3.C: merge some LFUN handlers, remove dead code
3230
3231 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3232
3233         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3234
3235 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * text2.C (DEPM): fix part of bug 1255 and 1256
3238
3239 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3240
3241         * BufferView_pimpl.C (workAreaDispatch): change to use
3242         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3243         that are no mouse related.
3244
3245 2003-08-05  André Pönitz  <poenitz@gmx.net>
3246
3247         * BufferView.[Ch]:
3248         * BufferView_pimpl.[Ch]:
3249         * bufferview_funcs.C:
3250         * text2.C:
3251         * text3.C: rip out "deep update"
3252
3253         * textcursor.[Ch] (last_sel_cursor): remove unused member
3254
3255 2003-08-04  André Pönitz  <poenitz@gmx.net>
3256
3257         * BufferView.[Ch]:
3258         * BufferView_pimpl.[Ch]:
3259         * ParagraphParameters.C:
3260         * bufferview_funcs.C:
3261         * lyx_cb.C:
3262         * lyxfind.C:
3263         * lyxfunc.C:
3264         * text.C:
3265         * text2.C:
3266         * text3.C: replace "complicated" BufferView::update(...) calls with
3267         simpler ones.
3268
3269         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3270
3271 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3272
3273         * Makefile.am (lyx_SOURCES): add paper.h
3274
3275 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3276
3277         * Makefile.am: move things around so that both lyx-qt and
3278         lyx-xforms can be built (according to --with-frontend). Then lyx
3279         is a symbolic link to lyx-[firstfrontend]
3280
3281 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3282
3283         * Always use std::endl with lyxerr
3284
3285 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3286
3287         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3288
3289 2003-08-01  André Pönitz  <poenitz@gmx.net>
3290
3291         * BufferView.[Ch]:
3292         * BufferView_pimpl.[Ch]:
3293         * lyxfunc.C:
3294         * text3.C: merge BufferView::repaint() and BufferView::update()
3295
3296 2003-08-01  José Matos  <jamatos@lyx.org>
3297
3298         * buffer.[Ch]: file_format is no longer a buffer data element.
3299
3300 2003-08-01  André Pönitz  <poenitz@gmx.net>
3301
3302         * BufferView.C:
3303         * lyxtext.h:
3304         * text.C:
3305         * text2.C: make redoParagraph more independent of current cursor
3306
3307         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3308         * text.C:
3309         * text2.C: remove unneeded members
3310
3311 2003-07-30  André Pönitz  <poenitz@gmx.net>
3312
3313         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3314
3315         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3316           create a single function...
3317
3318         * paragraph_funcs.C (moveItem): ... here.
3319
3320         * text.C:
3321           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3322
3323 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3324
3325         * LColor.[Ch]: Add comment and greyedout logical colors.
3326
3327 2003-07-30  André Pönitz  <poenitz@gmx.net>
3328
3329         * tabular.C: don't use Assert too heavily. This crashes where it
3330           shouldn't
3331
3332 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3333
3334         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3335         is disabled (bug 1232)
3336
3337 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3338
3339         * factory.C: limited 'arg' scope
3340
3341 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3342
3343         * factory.C: fixed Note submenu issues
3344
3345 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * factory.C: submenu for Note/Comment/Greyedout
3348
3349 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3350
3351         * lyx_main.C (LyX):
3352         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3353
3354 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3355
3356         * LaTeXFeatures.C:
3357         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3358         greyedout. Patch provided by Jürgen Spitzmüller.
3359
3360 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3361
3362         * kbmap.C (read): fix error message when reading bind files
3363
3364 2003-07-29  Angus Leeming  <leeming@lyx.org>
3365
3366         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3367         certainly does not do what it purports to do. I am doing it, and
3368         us, a favour by killing it.
3369
3370 2003-07-28  José Matos  <jamatos@lyx.org>
3371
3372         * buffer.C (readBody, do_writeFile):
3373         * paragraph.C(readParagraph): \end_document replaces \the_end.
3374
3375 2003-07-29  André Pönitz  <poenitz@gmx.net>
3376
3377         * BufferView.[Ch]:
3378         * BufferView_pimpl.[Ch]:
3379         * lyxfunc.C:
3380         * text2.C:
3381         * text3.C:
3382         * textcursor.[Ch]: remove toggleToggle & Co
3383
3384 2003-07-28  José Matos  <jamatos@fep.up.pt>
3385
3386         * buffer.C (readParagraph):
3387         * params_func (readParToken, readParagraph):
3388         * paragraph.C (write): \layout -> \begin_layout.
3389
3390 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * lyxlex_pimpl.C (setFile): clean up slightly.
3393
3394         * bufferparams.h: add compressed var
3395
3396         * buffer_funcs.C (readFile): adjust for LyXLex change
3397         (newFile): ditto + simplify
3398
3399         * buffer.C (writeFile): handle writing of compressed files
3400
3401         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3402         Check if the file is compressed and set a bufferparm if so.
3403
3404         * Makefile.am (lyx_LDADD): remove explicit -lz
3405
3406 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3407
3408         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3409         makeDocBookFile): put the real LyX version in the first line of
3410         the file
3411
3412         * version.h:
3413         * version.C.in: remove lyx_docversion
3414
3415         * tabular.C (write_attribute): add a template-based version to
3416         write enums properly
3417
3418 2003-07-28  André Pönitz  <poenitz@gmx.net>
3419
3420         * lyxtext.h:
3421         * text.C:
3422         * text2.C:
3423         * text3.C: use doubles again for x-coordinates. They are needed.
3424
3425 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * messages.C (getLocaleDir): use lyx_localedir()
3428
3429         * lyxlex_pimpl.C (setFile): compress stuff
3430
3431         * buffer.C (writeFile): add some compression stuff
3432         (do_writeFile): new func, dont call expliti close... will this
3433         breake anything?
3434
3435         * Makefile.am (lyx_LDADD): add -lz
3436
3437 2003-07-28  José Matos  <jamatos@fep.up.pt>
3438
3439         * buffer.C: increment file format.
3440         * paragraph_funcs (readParagraph, readParToken):
3441         * paragraph.C (readParagraph): add \end_layout.
3442
3443 2003-07-27  Angus Leeming  <leeming@lyx.org>
3444
3445         * Makefile.am: remove special casing for configure-time setting of
3446         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3447
3448         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3449         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3450
3451 2003-07-26  André Pönitz  <poenitz@gmx.net>
3452
3453         * paragraph_func.[Ch]:
3454         * paragraph.C (realizeFont): inline it whereever it is used
3455
3456         * rowpainter.C:
3457         * text.C:
3458         * text2.C:
3459         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3460
3461
3462 2003-07-26  André Pönitz  <poenitz@gmx.net>
3463
3464         *       lyxtext.h:
3465         * text.C:
3466         * text2.C: get rid of LyXText::need_break_row
3467
3468 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * toc.[Ch]: put namespace toc inside namespace lyx
3471
3472         * MenuBackend.C (expandToc2): adjust for lyx::toc
3473         (expandToc): ditto
3474
3475         * lyxfunc.C (dispatch): adjust for lyx::find
3476
3477         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3478         lyx::find instead. Reorganize a bit.
3479         (LyXReplace): rename to replace
3480         (LyXFind): rename to find
3481
3482         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3483         (dispatch): ditto
3484
3485 2003-07-26  André Pönitz  <poenitz@gmx.net>
3486
3487         * text.C (setHeightOfRow): restrict scope of temporary variable
3488
3489         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3490           code (never has been used?)
3491
3492 2003-07-27  Asger Alstrup  <alstrup@local>
3493
3494         * text.C (fill): Optimise algorithm to exploit that we can reuse
3495         the LyXFont for many characters.
3496         (setHeightOfRow): Same thing.
3497         (rowBreakPoint): Same thing.
3498
3499 2003-07-26  Asger Alstrup  <alstrup@local>
3500
3501         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3502
3503         * text.C (singleWidth): Spurious font copying in hot-spot
3504         singleWidth avoided. Reorder tests for arabic for efficiency.
3505
3506         * text.C (fill): handle empty paragraphs better.
3507
3508 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3509
3510         * ispell.C:
3511         * encoding.h: add includes
3512
3513         * lyxrc.C: remove reading of bind files
3514
3515         * lyx_main.C (init): setup bindings and menus only if we have a
3516         gui.
3517
3518         * kbmap.C (read): new method. Do the actual reading of bind
3519         files.
3520
3521         * converter.C (dvipdfm_options):
3522         * bufferparams.C:
3523         * lyxrc.C (read):
3524         (output): adapt PAPER_* enums.
3525
3526         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3527
3528         * bufferparams.h: remove paper-related enums from there
3529
3530         * paper.h: New file. A trivial header file to hold paper-related
3531         enums. It should later expand to contain many paper-related
3532         horrors access.
3533
3534         * lyxrc.C: declare extern displayTranslator
3535
3536 2003-07-27  José Matos  <jamatos@fep.up.pt>
3537
3538         * tabular.[Ch] (linuxdoc): add support for tables and figures
3539         (linuxdoc).
3540
3541 2003-07-27  José Matos  <jamatos@fep.up.pt>
3542
3543         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3544         consistency in both functions.
3545         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3546
3547 2003-07-26  Asger Alstrup  <alstrup@local>
3548
3549         * rowpainter.C (paintRows): Change algorithm to work directly on
3550         the insets rather than asking every character in the document
3551         whether its an inset.
3552
3553 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * buffer.C (openFileWrite): factorize some code
3556
3557 2003-07-26  Angus Leeming  <leeming@lyx.org>
3558
3559         * lyx_cb.C:
3560         * lyx_main.[Ch]: replace occurances of system_tempdir with
3561         os::getTmpDir().
3562
3563 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * rename Inset to InsetOld
3566
3567 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3568
3569         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3570         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3571         which I think is a bit clearer. EDIT is gone, since it was
3572         premature optimisation, and broken for mathed anyway.
3573         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3574         with cursor positioning in insets as well (math insets still do not
3575         work, but that's a different story anyway.) It mysteriously
3576         crashes sometimes with undo in the first paragraph, but I'm fairly
3577         confident that this is a compiler bug.
3578
3579 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * paragraph.C (Paragraph): adjust for new clone return type
3582         (operator==): ditto
3583         (copyIntoMinibuffer): ditto
3584
3585 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3586
3587         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3588         by not having a special case, and always doing a full rebreak of
3589         the document after undo.
3590
3591 2003-07-23  Angus Leeming  <leeming@lyx.org>
3592
3593         * factory.C (createInset): InsetExternal::setParams now takes a
3594         Buffer const * arg.
3595
3596 2003-07-23  Angus Leeming  <leeming@lyx.org>
3597
3598         * factory.C (createInset): changed interface to the external and
3599         graphics mailers' string2params functions.
3600
3601 2003-07-23  Angus Leeming  <leeming@lyx.org>
3602
3603         * factory.C (createInset): pass a
3604         Buffer const * parameter to InsetExternalMailer's string2params.
3605
3606 2003-07-22  John Levon  <levon@movementarian.org>
3607
3608         * Thesaurus.h: include the right aiksaurus header
3609
3610 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3611
3612         * MenuBackend.C (expand): check menu shortcuts unconditionally
3613
3614 2003-07-21  Angus Leeming  <leeming@lyx.org>
3615
3616         * factory.C (createInset): pass a
3617         buffer_path parameter to InsetGraphicsMailer's string2params.
3618
3619 2003-07-21  Angus Leeming  <leeming@lyx.org>
3620
3621         * BufferView_pimpl.C (buffer):
3622         * buffer.C (d-tor):
3623         * lyx_main.C (LyX):
3624         * lyxfunc.C (dispatch):
3625         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3626         rather than the grfx shortcut.
3627
3628 2003-07-21  André Pönitz  <poenitz@gmx.net>
3629
3630         * rowpainter.C: remove unused variables
3631
3632         * tabular_funcs.C:
3633         * tabular_funcs.h: move to tabular.C
3634         * Makefile.am: adjust
3635
3636         * tabular.[Ch]: basic optical cleaning
3637
3638         * author.h: pass references, not values
3639
3640 2003-07-18  André Pönitz  <poenitz@gmx.net>
3641
3642         * lyxtext.h:
3643         * metricsinfo.C:
3644         * metricsinfo.h:
3645         * rowpainter.C:
3646         * text.C:
3647         * text2.C:
3648         * text3.C: two-phase drawing for InsetText and InsetTabular
3649         some float -> int changes.
3650
3651 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3652
3653         * lyx_main.C: fix the fix
3654
3655 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * lyx_main.C: fix a crash in batch mode if no files specified
3658         * converter.C: ws
3659
3660 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3661
3662         * format.[Ch] (papersize): moved to BufferParams
3663         * converter.[Ch] (dvips_options): moved to BufferParams
3664         (dvipdfm_options): moved to anon namespace
3665         * bufferparams.[Ch]: added above functions.
3666
3667 2003-07-17  André Pönitz  <poenitz@gmx.net>
3668
3669         * lyxtext.h:
3670         * rowpainter.C:
3671         * text2.C: don't call inset->update() anymore
3672
3673         * metricsinfo.[Ch]: add convenience constructor
3674
3675 2003-07-16  André Pönitz  <poenitz@gmx.net>
3676
3677         * lyxcursor.[Ch]:
3678         * lyxfunc.[Ch]:
3679         * text.C:
3680         * text2.C: replace the LyXCursor::irow_ member with
3681          on-demand computation of the value
3682
3683 2003-07-16  John Levon  <levon@movementarian.org>
3684
3685         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3686
3687 2003-07-15  André Pönitz  <poenitz@gmx.net>
3688
3689         * text.C:
3690         * text2.C: remove no more needed refresh_row
3691
3692 2003-07-15  André Pönitz  <poenitz@gmx.net>
3693
3694         * lyxtext.h:
3695         * rowpainter.C:
3696         * text2.C:
3697         * text3.C: refresh_status tristate -> need_update bool
3698
3699 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * lyxtext.h (init): remove reinit argument (act as if always true)
3702         * text2.C: adjust to that
3703
3704 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3705
3706         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3707         * text3.C: use it to delete selections in some cases
3708         (bugs 441, 673, 702, 954).
3709
3710 2003-07-14  André Pönitz  <poenitz@gmx.net>
3711
3712         * rowpainter.[Ch]: reduce interface
3713
3714 2003-07-14  André Pönitz  <poenitz@gmx.net>
3715
3716         * BufferView_pimpl.C:
3717         * text2.C: adjust after removing unused BufferView * argument
3718
3719 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3720
3721         * text2.C (init): fix a crash fired on resize
3722
3723 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * buffer.[Ch]: added new closing signal
3726         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3727         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3728         BufferView::Pimpl via the closing the signal
3729
3730 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * buffer.[Ch]: take out all bv-related from buffer
3733         * BufferView.C:
3734         * BufferView_pimpl.[Ch]: connect to new signals
3735         * CutAndPaste.C: removed useless asserts
3736         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3737         * lyxvc.[Ch]:
3738         * vc-backend.[Ch]:
3739         * lyxfunc.C: moved view-related funciontality from vc here
3740         * paragraph.C: removed outdated comments
3741         * text.C: ws
3742
3743 2003-07-10  André Pönitz  <poenitz@gmx.net>
3744
3745         * BufferView_pimpl.C:
3746         * tabular.h:
3747         * tabular_funcs.C:
3748         * text.C:
3749         * text2.C: remove InsetText::InnerCache, clean up consequences
3750
3751 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3752
3753         * ispell.C: fix two typos in error messages
3754
3755 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3756
3757         * Extend Note inset to other forms of annotation like Comment
3758         and Greyedout. Right button click gives dialog.
3759
3760         Files modified or added (+):
3761
3762         * insetnote.[Ch]
3763         * FormNote.[Ch]      +
3764         * ControlNote.[Ch]   +
3765         * form_note.fd       +
3766         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3767         frontends/controllers
3768         * xforms/Dialogs.C
3769         * factory.C
3770
3771 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3772
3773         * aspell.C: add missing namespace lyx::support
3774
3775 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * BufferView.[Ch] (newFile): Add
3778         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3779         * LaTeX.[Ch] (message): added this signal and use it
3780         * buffer.[Ch] (busy, message): added these signals and use them
3781         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3782         * converter.C:
3783         * exporter.C:
3784         * format.C:
3785         * importer.C: use buffer signals instead of direct bv calling
3786         * lyx_cb.[Ch] (ShowMessage): removed
3787         * lyx_main.C:
3788         * lyxfunc.C:
3789         * paragraph_funcs.C:
3790         * text2.C: use buffer signals
3791
3792 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * introduce namespace lyx::graphics
3795
3796 2003-07-02  André Pönitz  <poenitz@gmx.net>
3797
3798         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3799
3800 2003-07-01  André Pönitz  <poenitz@gmx.net>
3801
3802         * text.C:
3803         * text2.C:
3804         * text3.C:
3805         * text_funcs.[Ch]:
3806         * textcursor.h:
3807         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3808           text*.C to text_func.C
3809
3810 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * introduce namespace lyx::support
3813
3814 2003-06-30  André Pönitz  <poenitz@gmx.net>
3815
3816         * Chktex.C:
3817         * funcrequest.C:
3818         * lyxtext.h:
3819         * text.C: re-enable --with-included-string
3820
3821 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * textcursor.C: add <config.h>
3824
3825         * text.C (getWord): remove const from word_location arg
3826
3827         * lyxvc.C (getLogFile): fix const type order
3828
3829         * lyxtext.h: remove const from word_location arg, add arg name
3830
3831         * lyxlayout.h: currect type on labeltype.
3832
3833         * importer.C: correct \file
3834
3835         * converter.C (intToFormat): use std:: on ret val, ws changes
3836
3837         * bufferlist.h: correct \file
3838
3839         * buffer.C (makeLinuxDocFile): fix const type order
3840         (makeDocBookFile): ditto
3841         (fillWithBibKeys): use std:: on stdlib args.
3842
3843         * CutAndPaste.C: fix authors.
3844         (availableSelections): use std:: on return vector
3845
3846 2003-06-27  André Pönitz  <poenitz@gmx.net>
3847
3848         * BufferView_pimpl.C:
3849         * bufferview_funcs.C:
3850         * lyxcursor.C:
3851         * lyxcursor.h:
3852         * lyxfunc.C:
3853         * lyxtext.h:
3854         * rowpainter.C:
3855         * text.C:
3856         * text2.C:
3857         * text3.C: remove LyXCursor::row_ member
3858
3859         * lyxtext.h:
3860         * text.C: rename fullRebreak() to partialRebreak() and implement
3861           a fullRebreak() that really bereks fully
3862
3863         * textcursor.h: new struct for cursor-related data
3864
3865 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3866
3867         * lyx_main.C (LyX): get full path of document loaded on the
3868         command line
3869
3870 2003-06-26  André Pönitz  <poenitz@gmx.net>
3871
3872         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3873           remove unused/broken operator>,<,>=.
3874
3875         *       text.C: remove only use of broken operator<= in an Assert().
3876
3877 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3878
3879         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3880         moved errorlist_.clear to showErrorList
3881
3882 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3883
3884         * converter.C (scanLog, runLaTeX):
3885         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3886         move the bv->showErrorList call to the callers
3887         * lyxfunc.C: i.e. here...
3888         * text2.C: and here
3889         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3890         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3891         namespace, the second to...
3892         * buffer_funcs (BufferFormat, parseErrors): added
3893         * errorlist.C (ErrorList(TeXErrors const &)): removed
3894
3895 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3896
3897         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3898
3899 2003-06-24  "Garst R. Reese" <reese@isn.net>
3900
3901         * debug.C: fix typo
3902
3903 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3904
3905         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3906
3907         * version.C.in: change docversion to 1.4
3908
3909 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * buffer.C: fix a bug just introduced
3912
3913 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3914
3915         * buffer.[Ch]: added the parseError signal and use it, removed
3916         sgmlError
3917         * BufferView.[Ch] (addError): moved to ...
3918         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3919         to the Buffer::parseError signal to catch (guess what) parse errors
3920         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3921
3922 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3925         ability to create a buffer and to return an existing one from
3926         the list. Moved these functions to...
3927         * buffer_funcs.[Ch]: added
3928         * BufferView.[Ch] (loadLyXFile): added
3929         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3930         job removed from bufferlist::loadLyXFile.
3931         * buffer.C (setReadOnly): make it work without view
3932         (i.e added an if (users))
3933
3934 2003-06-19  Angus Leeming  <leeming@lyx.org>
3935
3936         * lfuns.h:
3937         * LyXAction.C (init):
3938         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3939         with LFUN_DIALOG_SHOW <name> <data>.
3940
3941 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3942
3943         * CutAndPaste.C (availableSelections): small compilation fix for
3944         ancient (gcc 2.9x) compilers
3945
3946 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * text3.C (cursorNext): add tmp var
3949
3950         * text2.C (updateCounters): for function calling out of for clause
3951         (replaceSelectionWithString): ditto
3952         (insertStringAsParagraphs): ditto
3953         (getColumnNearX): add tmp var
3954         (setCursorFromCoordinates): add tmp var
3955         (cursorDownParagraph): add tmp var
3956         (deleteEmptyParagraphMechanism): add tmp var
3957
3958         * text.C (insertChar): add tmp var
3959
3960         * rowpainter.C (paintDepthBar): add tmp var
3961
3962         * CutAndPaste.C (availableSelections): potentially check all
3963         paragraphs in a cut to fill the shown strings.
3964
3965 2003-06-18  André Pönitz  <poenitz@gmx.net>
3966
3967         * kbmap.[Ch]: use vector<> instead of list<>
3968
3969 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3970
3971         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3972         pasteSelection with index
3973
3974         * text2.C (pasteSelection): modify, call pasteSelection with index
3975
3976         * paragraph.C (asString): reimplement version with no interval to
3977         call the one with interval.
3978
3979         * lyxtext.h: add index arg to pasteSelection
3980
3981         * MenuBackend.C (MenuItem): handle PasteRecent
3982         (Menu::read::Menutags): add md_pasterecent
3983         (read): handle it
3984         (expandPasteRecent): new function
3985         (expand): use it
3986
3987         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3988
3989         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3990         the limited stack
3991         (availableSelections): new function
3992
3993 2003-06-17  Angus Leeming  <leeming@lyx.org>
3994
3995         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3996
3997 2003-06-17  Angus Leeming  <leeming@lyx.org>
3998
3999         * lfuns.h:
4000         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4001
4002         * lyxfunc.C (dispatch): invoke it.
4003
4004 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4005
4006         * iterators.C (operator++, ParPosition): reintroduce some
4007         const_cast for the benefit of older compilers.
4008
4009 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4010
4011         * text3.C (dispatch): do not modify clipboard when doing
4012         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4013         LFUN_DELETE_SKIP on a selection selection
4014
4015 2003-06-16  André Pönitz  <poenitz@gmx.net>
4016
4017         * BufferView.C:
4018         * buffer.C:
4019         * buffer.h:
4020         * paragraph.C:
4021         * tabular.[Ch]: IU of clone() and getLabelList();
4022
4023 2003-06-13  André Pönitz  <poenitz@gmx.net>
4024
4025         * tabular.h: compactification
4026
4027 2003-06-12  André Pönitz  <poenitz@gmx.net>
4028
4029         * tabular.C:
4030         * tabular.h:
4031         * tabular_funcs.h: some renaming plus whitespace
4032
4033 2003-06-12  André Pönitz  <poenitz@gmx.net>
4034
4035         * BufferView.C:
4036         * BufferView_pimpl.C:
4037         * CutAndPaste.C:
4038         * buffer.C:
4039         * iterators.[Ch]:
4040         * lyxfunc.C:
4041         * text.C:
4042         * toc.C: Return a Paragraph & for ParIterator::operator*()
4043
4044 2003-06-11  John Levon  <levon@movementarian.org>
4045
4046         * lyx_main.C:
4047         * ToolbarBackend.h:
4048         * ToolbarBackend.C: add "Toolbars" section and
4049         put the flags there
4050
4051 2003-06-10  Angus Leeming  <leeming@lyx.org>
4052
4053         * lfuns.h:
4054         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4055
4056         * lyxfunc.C (dispatch): invoke it.
4057
4058 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * main.C: protect <ios> with HAVE_IOS
4061         (main): protect sync_with_stdio with HAVE_IOS
4062
4063 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4064
4065         * text2.C (cutSelection): adjust
4066         (pasteSelection): adjust
4067
4068         * messages.C: handle get of empty string
4069
4070         * main.C (main): use sync_with_stdio(false)
4071
4072         * lyxfunc.C (dispatch): adjust
4073
4074         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4075         (WriteAs): remove unneeded BufferView arg.
4076
4077         * bufferparams.h: use correct types on papersize, papersize2 and
4078         paperpackage.
4079
4080         * bufferparams.C (readToken): adjust for type
4081         (writeLaTeX): add missing cases to switch.
4082
4083         * bufferlist.C (quitWriteBuffer): adjust
4084         (close): adjust
4085
4086         * buffer.C (asciiParagraph): remove some commented code.
4087
4088         * CutAndPaste.C: remove current_view extern variable.
4089         (cutSelection): add BufferParams arg.
4090         (eraseSelection): add BufferParams arg.
4091         (pasteSelection): add Buffer const & arg
4092
4093 2003-06-07  John Levon  <levon@movementarian.org>
4094
4095         * buffer.C:
4096         * paragraph_funcs.C:
4097         * paragraph_pimpl.C:
4098         * text.C:
4099         * text2.C:
4100         * paragraph.h:
4101         * paragraph.C: allow InsetERT to freely space lines,
4102         and some consolidation of code
4103
4104 2003-06-06  José Matos  <jamatos@fep.up.pt>
4105
4106         * buffer.C (makeDocBookFile): fix bug #821
4107
4108 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4109
4110         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4111
4112 2003-06-04  Angus Leeming  <leeming@lyx.org>
4113
4114         * buffer.C: bump format to 224.
4115
4116 2003-06-05  André Pönitz  <poenitz@gmx.net>
4117
4118         * text2.C (redoParagraphs): remove two const_cast<>
4119
4120 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4121
4122         * ParagraphList.h: remove last remnants of NO_STD_LIST
4123
4124 2003-06-03  Angus Leeming  <leeming@lyx.org>
4125
4126         * factory.C (createInset): small change to the way InsetExternal's params
4127         are set.
4128
4129 2003-06-04  André Pönitz  <poenitz@gmx.net>
4130
4131         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4132
4133         * paragraph_pimpl.h:
4134         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4135
4136         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4137
4138         * undo_funcs.C: make some simple cases of undo work again
4139
4140 2003-06-03  John Levon  <levon@movementarian.org>
4141
4142         * ispell.C: HPUX doesn't have sys/select.h
4143         (from Albert Chin)
4144
4145 2003-06-03  John Levon  <levon@movementarian.org>
4146
4147         * CutAndPaste.C: update tabular and include inset
4148         buffer references
4149
4150         * buffer.h:
4151         * paragraph.h:
4152         * paragraph.C: remove owningBuffer(), don't pass Buffer
4153         to clone()
4154
4155         * factory.C: insetGraphicsParams changed
4156
4157 2003-06-02  John Levon  <levon@movementarian.org>
4158
4159         * LyXAction.C:
4160         * factory.C:
4161         * lfuns.h:
4162         * lyxfunc.C:
4163         * text3.C: remove insetparent
4164
4165 2003-06-02  John Levon  <levon@movementarian.org>
4166
4167         * buffer.h:
4168         * buffer.C: fix inset_iterator.end(), move out of line
4169         (bug 1149)
4170
4171 2003-06-01  John Levon  <levon@movementarian.org>
4172
4173         * text3.C: use a proper cut/paste when doing inset
4174         insert (from Jürgen Spitzmüller)
4175
4176 2003-06-01  John Levon  <levon@movementarian.org>
4177
4178         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4179
4180 2003-05-30  André Pönitz  <poenitz@gmx.net>
4181
4182         * rowpainter.C: unify second drawing phase
4183
4184 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4185
4186         * trans_mgr.C: remove one case of current_view
4187
4188         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4189
4190         * paragraph_funcs.h: remove paragraph.h include
4191
4192         * paragraph.h: delete NO_STD_LIST stuff
4193
4194         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4195
4196         * buffer.h: remove paragraph.h include
4197
4198         * ParagraphList.C: delete file
4199
4200         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4201
4202         * toc.C (getTocList): adjust
4203
4204         * paragraph_pimpl.C (validate): adjust
4205
4206         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4207
4208         * paragraph.C (Paragraph): adjust
4209         (getPositionOfInset): use const_iterator, adjust
4210         (bibitem): use const_iterator, adjust
4211         (setInsetOwner): adjust
4212
4213         * iterators.C (operator++): adjust
4214
4215         * InsetList.[Ch]: Replace selfmade iterator with standard
4216         vector::iterator also introduce const_iterator. Remove getPos,
4217         getInset and setInset from InsetTable. Adjust accordingly.
4218
4219         * BufferView.C (lockInset): adjust
4220         (ChangeInsets): adjust
4221
4222         * tabular.[Ch]: delete commented same_id functions
4223
4224 2003-05-28  John Levon  <levon@movementarian.org>
4225
4226         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4227
4228 2003-05-28  André Pönitz  <poenitz@gmx.net>
4229
4230         * metricsinfo.[Ch]: remove 'fullredraw' member
4231
4232 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4233
4234         * lyxtextclass.C (operator): remove caching.
4235
4236 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * text3.C: adjust
4239
4240         * text2.C (cursorBottom): adjust
4241         (setCounter): use ParagraphList::find, adjust
4242
4243         * text.C (workWidth): use ParagraphList::find, adjust
4244
4245         * lyxcursor.C (LyXCursor): adjust
4246
4247         * buffer.C (inset_iterator): adjust
4248
4249         * ParagraphList.h: make iterator(value_type) private, make
4250         ParagraphList a friend of iterator.
4251
4252         * ParagraphList.C (find): new function
4253
4254         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4255
4256 2003-05-27  André Pönitz  <poenitz@gmx.net>
4257
4258         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4259
4260 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4261
4262         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4263
4264 2003-05-26  John Levon  <levon@movementarian.org>
4265
4266         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4267
4268 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * remove same_id from function signatures, adjust.
4271
4272 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4275
4276         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4277
4278         * paragraph.C (Paragraph): get rid of same_ids parameter
4279
4280         * ParagraphList.C (insert): adjust
4281         (push_back): adjust
4282
4283 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4284
4285         * paragraph_funcs.C (breakParagraph): adjust
4286         (breakParagraphConservative): adjust
4287
4288         * buffer.C (readParagraph): adjust
4289
4290         * ParagraphList.C (insert): take a reference instead of a pointer
4291         (insert): adjust
4292
4293         * paragraph.[Ch] (id): new function
4294
4295         * bufferlist.C (newFile): adjust
4296
4297         * ParagraphList.C (ParagraphList): adjust
4298         (assign): adjust
4299         (push_back): take a reference instead of a pointer.
4300
4301         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4302
4303         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4304         instead.
4305
4306         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4307         set else use old code.
4308
4309         * ParagraphList.C: remove all NO_NEXT code and only compile this
4310         code of NO_STD_LIST is set.
4311
4312 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * BufferView_pimpl.C:
4315         * TextCache.C:
4316         * TextCache.h:
4317         * bufferlist.C:
4318         * errorlist.h:
4319         * format.C:
4320         * format.h:
4321         * graph.C:
4322         * lyxfunc.C:
4323         * lyxrc.C:
4324         * graphics/GraphicsConverter.C:
4325         * graphics/PreviewLoader.C: header adjustment
4326
4327 2003-05-23  Angus Leeming  <leeming@lyx.org>
4328
4329         * LaTeXFeatures.[Ch] (useBabel): new method.
4330         * bufferparams.C (writeLaTeX): use it.
4331
4332 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * ParagraphList.h (set): remove unused function.
4335
4336 2003-05-23  André Pönitz  <poenitz@gmx.net>
4337
4338         * BufferView.C:
4339         * BufferView_pimpl.C:
4340         * buffer.C:
4341         * buffer.h:
4342         * lyxfunc.C:
4343         * undo_funcs.C: setUndo reworked
4344
4345         * iterators.[Ch]: add access to topmost ParagraphList
4346
4347         * lyxtext.[Ch] (workWidth): add a const
4348
4349 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4350
4351         * texrow.[Ch] (increasePos): remove function
4352         * exporter.C (export): removed unused var and outdated comment
4353
4354 2003-05-23  Angus Leeming  <leeming@lyx.org>
4355
4356         * latexrunparams.h: rename fragile as moving_arg.
4357         * paragraph.C (simpleTeXOnePar): ditto.
4358         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4359
4360 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4363         (createUndo): ditto
4364         (textUndoOrRedo): comment out a currently unused var.
4365
4366         * paragraph.h (NO_NEXT): enable NO_NEXT
4367
4368         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4369
4370         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4371
4372         * exporter.C (Export): adjust for removeAutoInsets removal.
4373
4374         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4375
4376         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4377
4378         * BufferView.[Ch] (removeAutoInsets): delete function
4379
4380 2003-05-22  Angus Leeming  <leeming@lyx.org>
4381
4382         * latexrunparams.h: add a free_spacing variable.
4383
4384         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4385         to pass moving_arg, as the data is stored in runparams.fragile.
4386
4387         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4388         to Inset::latexOptional or to simpleTeXOnePar.
4389
4390         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4391         free_spacing arg to Inset::latexOptional.
4392
4393         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4394         free_spacing arg.
4395
4396 2003-05-22  Angus Leeming  <leeming@lyx.org>
4397
4398         * latexrunparams.h: add fragile and use_babel variables.
4399
4400         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4401         * buffer.C (makeLaTeXFile): store this returned value in
4402         runparams.use_babel, thus passing it to the inset::latex methods.
4403
4404         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4405         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4406
4407         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4408         longer has a fragile arg, as it is stored in runparams.fragile.
4409
4410         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4411         moving_arg parameter as the data is stored in runparams.fragile.
4412
4413         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4414         a fragile parameter as the data is stored in runparams.fragile.
4415
4416 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4419
4420 2003-05-22  Angus Leeming  <leeming@lyx.org>
4421
4422         * latexrunparams.h: add a 'bool nice' which defaults to false.
4423
4424         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4425         now encapsulated within runparams.
4426
4427         * bufferlist.C (updateIncludedTeXfiles):
4428         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4429
4430 2003-05-22  Angus Leeming  <leeming@lyx.org>
4431
4432         * latexrunparams.h: new file containing struct LatexRunParams.
4433         * Makefile.am: add new file.
4434
4435         * LaTeX.[Ch] (c-tor, run):
4436         * buffer.[Ch] (makeLaTeXFile):
4437         * bufferlist.[Ch] (updateIncludedTeXfiles):
4438         * converter.C (convert, scanLog):
4439         * converter.[Ch] (runLaTeX):
4440         * exporter.C (Export):
4441         * paragraph.[Ch] (simpleTeXOnePar):
4442         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4443         * paragraph_funcs.[Ch] (latexParagraphs):
4444         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4445         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4446         pass around a LatexRunParams parameter.
4447
4448 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * paragraph.[Ch]: remove unused constructor
4451
4452         * ParagraphList.C (erase): new function, taking two iterators
4453
4454 2003-05-22  André Pönitz  <poenitz@gmx.net>
4455
4456         * undo_funcs.C: remove duplicated code
4457
4458         * iterator.[Ch]: operator=
4459
4460 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * tabular.C (SetMultiColumn): ws changes
4463
4464         * rowpainter.C (paintFirst): get rid of a ->previous
4465
4466         * lyx_cb.C (getPossibleLabel): parlist simplification
4467
4468         * BufferView.C (ChangeInsets): simplify slightly.
4469
4470 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4471
4472         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4473         * lfuns.h: new LFUN_SPACE
4474         * lyxfunc.C: protected space has a new lfun
4475         * paragraph_funcs.C: read new space insets
4476         * text3.C:
4477         * factory.C: handle new space insets
4478
4479 2003-05-22  André Pönitz  <poenitz@gmx.net>
4480
4481         * BufferView.C:
4482         * BufferView_pimpl.C:
4483         * buffer.[Ch]:
4484         * lyxfunc.C:
4485         * undo_funcs.C: return a ParIterator from getParFromID.
4486
4487         * iterators.[Ch]: add two const's
4488
4489 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4490
4491         * toc.C (getTocList): adjust
4492
4493         * iterators.[Ch]: rework for parlist
4494
4495         * buffer.C (par_iterator_begin): adjust
4496         (par_iterator_end): adjust
4497
4498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4499
4500         * BufferView.C (removeAutoInsets): adjust
4501         (ChangeInsets): adjust
4502
4503 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * text.C (top_y): fix bug 1110
4506
4507 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * errorlist.[Ch]: added
4510         * buffer.C:
4511         * BufferView.[Ch]:
4512         * BufferView_pimpl.C:
4513         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4514         instead
4515
4516 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * Makefile.am: ensure that lyx is relinked upon changes to the
4519         various "convenience" libs.
4520
4521 2003-05-20  Angus Leeming  <leeming@lyx.org>
4522
4523         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4524         files are compiled in alphabetical order again.
4525
4526         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4527
4528 2003-05-19  Angus Leeming  <leeming@lyx.org>
4529
4530         * gettext.[Ch]: remove "char const * _(char const *)".
4531
4532 2003-05-19  André Pönitz  <poenitz@gmx.net>
4533
4534         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4535
4536         * Makefile.am:
4537         * BufferView.C:
4538         * DepTable.h:
4539         * LaTeXFeatures.C:
4540         * buffer.C:
4541         * lyxfont.C:
4542         * lyxlex.h:
4543         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4544
4545 2003-05-19  André Pönitz  <poenitz@gmx.net>
4546
4547         * buffer.C:
4548         * lyxlayout.[Ch]:
4549         * lyxtextclass.[Ch]:
4550         * paragraph.C:
4551         * paragraph_funcs.[Ch]:
4552         * text2.C:
4553         * text3.C: more insetenv work
4554
4555 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * ParagraphParameters.C (params2string): small bug fixed
4558
4559 2003-05-16  André Pönitz  <poenitz@gmx.net>
4560
4561         * debug.C:
4562         * bufferview_funcs.C: patch from Kornel Benko to prevent
4563           crash when _(...) is called twice in a statement
4564
4565 2003-05-16  André Pönitz  <poenitz@gmx.net>
4566
4567         * BufferView.C:
4568         * lyxfunc.C:
4569         * text.C:
4570         * text2.C:
4571         * text3.C:
4572         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4573
4574 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * lyx_main.C (init): remove spurious static_cast
4577
4578 2003-05-14  André Pönitz  <poenitz@gmx.net>
4579
4580         * BufferView.C: fix format string
4581
4582 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * BufferView.[Ch] (insertErrors): removed
4585         * BufferView.[Ch] (showErrorList): added
4586         * buffer.C (runChkTeX):
4587         * converter.C (scanLog): call showErrorList instead of inserterrors
4588
4589 2003-05-13  André Pönitz  <poenitz@gmx.net>
4590
4591         * BufferView_pimpl.C:
4592         * buffer.C:
4593         * bufferview_func.C:
4594         * MenuBackend.C:
4595         * lyxfunc.C:
4596         * lyxrc.C:
4597         * tex-accent.C:
4598         * text3.C:
4599         * toc.C:
4600         * tabular_funcs.h: tostr() from its own header
4601
4602         * ParagraphParameters.C:
4603         * ToolbarBackend.C:
4604         * bufferparams.C:
4605         * format.C:
4606         * lyxlex_pimpl.C:
4607         * text3.C: STRCONV()
4608
4609 2003-05-12  André Pönitz  <poenitz@gmx.net>
4610
4611         * BufferView.C:
4612         * BufferView_pimpl.C:
4613         * CutAndPaste.C:
4614         * LaTeX.C:
4615         * LaTeXFeatures.C:
4616         * ParagraphParameters.C:
4617         * buffer.C:
4618         * bufferlist.C:
4619         * bufferparams.C:
4620         * bufferview_funcs.C:
4621         * converter.C:
4622         * counters.C:
4623         * debug.C:
4624         * exporter.C:
4625         * format.C:
4626         * importer.C:
4627         * lyx_cb.C:
4628         * lyx_main.C:
4629         * lyxfont.C:
4630         * lyxfunc.C:
4631         * lyxvc.C:
4632         * paragraph.C:
4633         * paragraph_funcs.C:
4634         * tabular.C:
4635         * tabular_funcs.C:
4636         * text2.C:
4637         * text3.C:  boost::format -> bformat  all over the place
4638
4639
4640 2003-05-09  André Pönitz  <poenitz@gmx.net>
4641
4642         * LColor.[Ch]: Pimpl the #include <map> away
4643
4644 2003-05-09  John Levon  <levon@movementarian.org>
4645
4646         * bufferlist.C: never remove emergency saves
4647
4648 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * Makefile.am: better lib building
4651
4652 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4655         instead.
4656         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4657         (simpleTeXSpecialChars): adjust
4658         (simpleTeXSpecialChars): adjust
4659         * paragraph.C (simpleTeXOnePar): adjust
4660         * buffer.C (makeLaTeXFile): adjust
4661
4662         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4663
4664         * text2.C (changeDepth): parlist cleanup
4665         (getColumnNearX): ditto
4666
4667         * rowpainter.C (getLabelFont): parlist cleanup
4668
4669         * bufferlist.C (newFile): parlist cleanup
4670
4671         * CutAndPaste.C (eraseSelection): parlist cleanup
4672
4673         * BufferView_pimpl.C (trackChanges): parlist cleanup
4674         (dispatch): ditto
4675
4676         * BufferView.C (lockInset): parlist cleanup.
4677         (ChangeInsets): ditto
4678
4679 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * CutAndPaste.h: Update file header.
4682
4683         * CutAndPaste.C: Update file header.
4684         Store the parts cut out of the Document in a limited_stack.
4685         (copySelection): adjust
4686         (pasteSelection): new function, takes the index in the limited stack.
4687         (nrOfParagraphs): adjust
4688         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4689         simplify error inset insertion.
4690         (checkPastePossible): adjust
4691
4692 2003-05-06  John Levon  <levon@movementarian.org>
4693
4694         * text2.C: don't cast wrap inset to float
4695
4696 2003-05-05  André Pönitz  <poenitz@gmx.net>
4697
4698         * iterator.C:
4699         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4700
4701         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4702           few naked Paragraph *.
4703
4704 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4705
4706         * bufferparams.C: Output warning if a document with missing
4707         TeX document class is loaded
4708         * exporter.C: Disable TeX exports if the document class is missing
4709         * lyxtextclass.C:
4710         * lyxtextclass.h:
4711         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4712         isTeXClassAvailable()
4713
4714 2003-05-03  John Levon  <levon@movementarian.org>
4715
4716         * BufferView.h:
4717         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4718         explicit cursor show/hide
4719
4720         * BufferView_pimpl.h:
4721         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4722         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4723
4724         * lyxfunc.C: hide cursor before dispatching.
4725
4726         * lyx_cb.C:
4727         * lyxfind.C:
4728         * text.C:
4729         * text3.C: remove explicit cursor hides
4730
4731 2003-05-02  André Pönitz  <poenitz@gmx.net>
4732
4733         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4734
4735         * undo_funcs.C:
4736         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4737           linked lists
4738
4739         * text2.C: tiny whitespace
4740
4741 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * undo_funcs.C: almost only ws changes.
4744
4745         * ParagraphList.C (splice): just return if pl is empty.
4746
4747 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * ParagraphList.C (splice): new function.
4750
4751         * CutAndPaste.C (pasteSelection): use it
4752
4753 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * CutAndPaste.C (pasteSelection): remove the last next and
4756         previous from this file.
4757
4758 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * CutAndPaste.C (pasteSelection): more clean up, user proper
4761         ParagraphList functions for pasteing.
4762
4763         * ParagraphList.C (insert): new function, three arg insert
4764
4765 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * ParagraphList.C (insert): new function, three arg insert
4768
4769         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4770         not on paragraphs.
4771
4772 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4775
4776 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4779
4780 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4783         (copySelection): clean up a bit.
4784         (pasteSelection): use make_pair
4785
4786         * ParagraphList.C (ParagraphList): implement copy constructor
4787         (operator=): implement, base on copy constructor.
4788         (assign): new func
4789
4790         * paragraph.C (erase): return a bool
4791
4792         * paragraph_pimpl.C (erasePos): remove function, move contents...
4793         (erase): ... here. Return a bool.
4794         (erase): call erase instead of erasePos.
4795
4796 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * ParagraphList.h: define PitPosPair
4799         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4800         ParagraphList, fix a bug on pasting multiple pars
4801         * text2.C: change interface to C&P
4802
4803 2003-04-30  André Pönitz  <poenitz@gmx.net>
4804
4805         * undo_func.C: revert part of yesterday's patch 2
4806
4807 2003-04-30  John Levon  <levon@movementarian.org>
4808
4809         * LColor.C: s/tabular/table/
4810
4811 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * text3.C (dispatch): do not convert iterator -> pointer
4814         * undo_funcs.C (setCursorParUndo): ditto
4815         * text_funcs.C (transposeChars): ditto
4816
4817         * text2.C (setLayout): ws changes only
4818
4819         * text.C (breakParagraph): do not convert iterator -> pointer
4820         (insertChar): ditto
4821         (acceptChange): ditto
4822         (rejectChange): ditto
4823         (changeCase): ditto
4824         (Delete): ditto
4825         (backspace): ditto
4826
4827         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4828         pointer
4829
4830 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * text3.C (gotoInset): YABG (yet another bad getChar)
4833
4834 2003-04-29  André Pönitz  <poenitz@gmx.net>
4835
4836         * paragraph.h: make operator= private unimplemented as long as
4837           it is unusable
4838
4839         * ParagraphList.C: whitespace
4840
4841         * paragraph.[Ch]:
4842         * paragraph_pimpl.[Ch]:
4843         * paragraph_funcs.C:
4844         * CutAndPaste.C:
4845         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4846
4847         * text2.C:
4848           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4849
4850 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4853         * paragraph.[Ch] (erase):
4854         * paragraph_pimpl.[Ch] (erase): change return type and value
4855         * text2.C (cutSelection): some rework
4856
4857 2003-04-28  John Levon  <levon@movementarian.org>
4858
4859         * bufferlist.C: changes for unsaved changes dialog
4860
4861 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * bufferlist.C (newFile): set language (messages_) for new
4864         documents also.
4865
4866         * buffer.C (readFile): ws changes only.
4867
4868 2003-04-28  André Pönitz  <poenitz@gmx.net>
4869
4870         * undo_funcs.C:
4871         * lyxfunc.C:
4872         * buffer.[Ch]:
4873         * BufferView_pimpl.C:
4874         * BufferView.C: getParFromID related ParagraphList::iterator changes
4875
4876 2003-04-28  André Pönitz  <poenitz@gmx.net>
4877
4878         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4879           Changes
4880
4881 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * messages.C: remove one more localedir class variable.
4884
4885 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4886
4887         * messages.C (getLocaleDir): singleton generation function
4888         (Pimpl): use it.
4889         (Messages): add a default constructor.
4890
4891         * main.C (main): do not setup localedir here, do not call
4892         gettext_init.
4893
4894         * gettext.C (_): use it.
4895         (gettext_init): delete funciton
4896
4897 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * gettext.C (getLyXMessages): new singleton generating function.
4900
4901         * buffer.C (updateDocLang): adjust
4902
4903         * Makefile.am (messages.o): add target
4904         (main.o): remove target
4905
4906 2003-04-27  John Levon  <levon@movementarian.org>
4907
4908         * bufferlist.C:
4909         * lyx_cb.C:
4910         * lyxfunc.C:
4911         * lyxvc.C: specify cancel button in Alert::prompt
4912
4913 2003-04-26  John Levon  <levon@movementarian.org>
4914
4915         * text3.C:
4916         * lyxfunc.C:
4917         * lfuns.h:
4918         * LyXAction.C: add LFUN_INSET_SETTINGS
4919
4920         * lyxfunc.C: don't enable tabular-feature when there's
4921         just any locking inset
4922
4923 2003-04-26  John Levon  <levon@movementarian.org>
4924
4925         * bufferlist.C: re-add Cancel to buffer close question
4926
4927         * lyxfunc.C: fix import UI a bit
4928
4929 2003-04-25  John Levon  <levon@movementarian.org>
4930
4931         * gettext.C: remove the broken asserts for now
4932
4933 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * messages.C: make case where setlocale cannot comply work better.
4936
4937         * buffer.C (updateDocLang): new function
4938         (changeLanguage): use it
4939         (readFile): use it
4940
4941         * text2.C (setCounter): use B_ a bit.
4942
4943         * lyxlayout.C (Read): be sure to trim the label strings.
4944
4945         * messages.C (Messages): fix typo in comment
4946
4947         * buffer.C (readFile): set message_ after file is loaded.
4948         (makeDocBookFile): remove double return
4949         (changeLanguage): reset message_ upon language change.
4950         (B_): new func, use this to get translated buffer strings.
4951
4952         * main.C: add myself and Jean Marc as authors.
4953
4954 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * messages.[hC]: pimplify Messages, and three different pimpls to be
4957         used in different circumstances.
4958
4959         * gettext.[Ch]: change for use with new message code.
4960
4961 2003-04-24 André Pönitz <poenitz@gmx.net>
4962
4963         * factory.C: support for eqref
4964
4965 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * messages.[Ch]: add missing char
4968
4969         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4970
4971         * messages.[Ch]: New files
4972
4973 2003-04-18  John Levon  <levon@movementarian.org>
4974
4975         * BufferView.h:
4976         * BufferView.C:
4977         * BufferView_pimpl.C:
4978         * lfuns.h:
4979         * LyXAction.C:
4980         * lyxtext.h:
4981         * text2.C: remove layout-copy/paste (bug 778)
4982
4983 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4986
4987 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4990         if they succeed. Act accordingly.
4991
4992 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * text2.C (setCharFont): adjust
4995         (setCounter): adjust
4996         (insertStringAsLines): adjust
4997
4998         * text.C (leftMargin): adjust
4999         (setHeightOfRow): adjust
5000
5001         * rowpainter.C (paintFirst): adjust
5002         (paintLast): adjust
5003
5004         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5005         (outerHook): ditto
5006         (isFirstInSequence): ditto
5007         (getEndLabel): ditto
5008         (outerFont): adjust
5009
5010         * paragraph.C (getParLanguage): comment out some hard stuff.
5011
5012         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5013         (sgmlError): ditto
5014         (simpleDocBookOnePar): ditto
5015         (makeDocBookFile): use ParagraphList::iterator
5016
5017         * CutAndPaste.C (pasteSelection): adjust
5018
5019 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * text2.C (getFont): adjust
5022         (getLayoutFont): adjust
5023         (getLabelFont): adjust
5024
5025         * paragraph_funcs.C (TeXOnePar): adjust
5026
5027         * buffer.C (simpleLinuxDocOnePar): adjust
5028         (simpleDocBookOnePar): adjust
5029
5030         * CutAndPaste.C (pasteSelection): adjust
5031
5032         * BufferView.C (getEncoding): adjust
5033
5034         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5035
5036 2003-04-16  John Levon  <levon@movementarian.org>
5037
5038         * lyxfind.C: use parlist stuff for search/changes
5039
5040 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5043
5044         * text2.C (deleteEmptyParagraphMechanism): adjust
5045
5046         * text2.[Ch] (ownerParagraph): delete func (both of them
5047
5048 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5051
5052 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * ParagraphList.C: prepare for NO_NEXT
5055
5056 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * text2.C (getFont): adjust
5059         (getLayoutFont): adjust
5060         (getLabelFont): adjust
5061
5062         * paragraph.C (getFont): adjust
5063         (getLabelFont): adjust
5064         (getLayoutFont): adjust
5065
5066         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5067
5068 2003-04-15  John Levon  <levon@movementarian.org>
5069
5070         From Angus Leeming
5071
5072         * lyx_main.C: handle Include in .ui files
5073
5074 2003-04-15  John Levon  <levon@movementarian.org>
5075
5076         * MenuBackend.C: make the doc files length shorter
5077
5078         * ToolbarBackend.h:
5079         * ToolbarBackend.C: handle toolbar placement flags,
5080         Minibuffer
5081
5082 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5085         adjust
5086
5087         * paragraph_funcs.C (TeXOnePar): adjust
5088
5089         * paragraph.C (getLabelFont): add outerfont arg, adjust
5090         (getLayoutFont): ditto
5091         (simpleTeXOnePar): adjust
5092
5093         * paragraph_pimpl.C (realizeFont): delete func
5094
5095 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5098         row argument, constify cur argument.
5099
5100 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5101
5102         * text2.C (getFont): adjust
5103         (getLayoutFont): adjust
5104         (getLabelFont): adjust
5105
5106         * paragraph_funcs.C (TeXOnePar): adjust
5107         (outerFont): new func...
5108         (realizeFont): ...moved out from here, changed this to facilitate
5109         transition
5110
5111         * paragraph.C (getFont): take outerfont as arg, adjust
5112         (simpleTeXOnePar): add outerfont arg, adjust
5113
5114         * buffer.C (simpleLinuxDocOnePar): adjust
5115         (simpleDocBookOnePar): adjust
5116
5117         * CutAndPaste.C (pasteSelection): adjust
5118
5119         * BufferView.C (getEncoding): adjust
5120
5121 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * text2.C (setCharFont): adjust
5124         (setCounter): adjust
5125
5126         * text.C (leftMargin): adjust
5127         (setHeightOfRow): adjust
5128
5129         * rowpainter.C (paintFirst): adjust
5130         (paintLast): adjust
5131
5132         * paragraph_pimpl.C (realizeFont): adjust
5133
5134         * paragraph.C (isFirstInSequence): move from here...
5135         * paragraph_funcs.C (isFirstInSequence): ...to here
5136
5137         * paragraph.C (outerHook): move from here...
5138         * paragraph_funcs.C (outerHook): ...to here
5139
5140         * paragraph.C (depthHook): move from here...
5141         * paragraph_funcs.C (depthHook): ...to here
5142
5143         * paragraph.C (getEndLabel): move from here...
5144         * paragraph_funcs.C (getEndLabel): ...to here
5145
5146         * text2.C (realizeFont): move from here...
5147         * paragraph_funcs.C (realizeFont): ...to here
5148
5149 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5152
5153 2003-04-14  Angus Leeming  <leeming@lyx.org>
5154
5155         * LColor.[Ch]: scrap LColor mathcursor.
5156
5157 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * lyxlex.[Ch] (text): delete function
5160         * trans.C (Load): adjust
5161         * paragraph_funcs.C (readParToken): adjust
5162
5163 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5166         vector<char> instead of a char[].
5167
5168         * lyxlex_pimpl.C (getString): adjust
5169         (next): adjust
5170         (lex): use getString
5171         (eatLine): adjust
5172         (nextToken): adjust
5173
5174         * lyxlex.C (text): use pimpl_->getString()
5175         (getBool): ditto
5176         (findToken): ditto
5177
5178 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5181         (makeFontEntriesLayoutSpecific): temp var for par.size()
5182         (setLayout): temp var for ownerParagraphs().end()
5183         (fullRebreak): temp var for rows().end()
5184         (selectionAsString): temp var for boost::next(startpit), realize
5185         that the while really is a regular for loop.
5186         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5187         setCursor in one place.
5188         (setParagraph): temp vr for ownerParagraphs().end()
5189         (updateCounters): make the while loop a for loop
5190         (cutSelection): temp var for ownerParagraphs().end()
5191         (updateInset): make the do {} while() a regular for loop
5192         (getCursorX): use temp vars
5193         (setCurrentFont): use temp vars
5194         (getColumnNearX): use temp vars
5195
5196 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * text.C (transformChar): use temp var for getChar
5199         (computeBidiTables): use temp var for row->par()
5200         (fill): move temp vars for row->par() and pit->layout() earlier in
5201         the function.
5202         (labelFill): use temp var for row->par()
5203         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5204         asc and desc, realize that pit never changes and that firstpit is
5205         just a duplicate and not needed. Exchange rit->par() with pit in a
5206         lot of places.
5207         (breakAgain): use a temp var for boost::next(rit)
5208         (breakAgainOneRow): ditto
5209         (breakParagraph): use a temp var for rows().begin()
5210         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5211         (cursorRightOneWord): use temp var for cursor.par() and
5212         cursor.pos(), remove usage of tmpcursor.
5213         (cursorLeftOneWord): use temp var for cursor.par() and
5214         cursor.pos() only set cur at end of function.
5215
5216 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text.C, text2.C: exchange all usage of Paragraph::next with
5219         boost::next(ParagraphList::iterator)
5220
5221         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5222
5223         * text2.C (cursorTop): simplify implementation
5224         (cursorBottom): ditto
5225         (setParagraph): use ParagraphList::iterator
5226         (setCurrentFont): adjust
5227         (getColumnNearX): adjust
5228         (cursorRight): adjust
5229         (cursorLeft): remove usage of Paragraph::previous
5230         (cursorUpParagraph): ditto
5231         (deleteEmptyParagraphMechanism): slight cleanup
5232
5233         * text.C (isBoundary): take a Paragraph const & instead of a
5234         pointer as arg.
5235         (addressBreakPoint): ditto
5236         (leftMargin): remove usage of Paragraph::previous.
5237         (setHeightOfRow): ditto
5238         (cursorLeftOneWord): ditto
5239         (selectNextWordToSpellcheck): ditto
5240         (Delete): ditto
5241         (backspace): ditto
5242         (breakParagraph): remove one usage of Paragraph::next
5243         (redoParagraph): ditto
5244         (acceptChange): ditto
5245         (insertChar): adjust
5246         (rowBreakPoint): adjust
5247
5248         * bufferview_funcs.C (toggleAndShow): adjust
5249
5250 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5253         methods to access it.
5254         * lyxtext.h:
5255         * text.C: Added updateRowPositions to compute all row positions.
5256         Make top_y and getRowNearY() to use the cached y position
5257
5258 2003-04-11  John Levon  <levon@movementarian.org>
5259
5260         * text.C (rowBreakPoint): reintroduce the labelEnd
5261         checks, code copied from the row fill stuff. Deep voodoo.
5262
5263         * text.C (fill): add a comment and debugging for the
5264         next poor soul.
5265
5266 2003-04-11  John Levon  <levon@movementarian.org>
5267
5268         * text.C: make sure fullrow insets get wrapped to the next line,
5269         even when they're in a manual label
5270
5271 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * text2.C (insertParagraph): make it take ParagraphList::iterator
5274         as arg.
5275         (setLayout): make it return ParagraphList::iterator
5276         (redoParagraphs): ditto
5277         (setCounter): ditto
5278         (checkParagraph): ditto
5279
5280         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5281
5282         * text2.C: adjust several funcs.
5283         (realizeFont): take a ParagraphList::iterator as arg.
5284         (getLayoutFont): ditto
5285         (getLabelFont): ditto
5286         (setCharFont): ditto
5287
5288         * text.C: adjust several funcs.
5289
5290 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * text.C (selectNextWordToSpellcheck): don't accidentally
5293         skip insets
5294
5295 2003-04-10  John Levon  <levon@movementarian.org>
5296
5297         * ToolbarBackend.C (getIcon): special handling for
5298         LFUN_MATH_DELIM
5299
5300 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5301
5302         * text2.C (cursorRight): a getChar assert fixed
5303
5304 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * text2.C (getFont): change to take a ParagraphList::iterator
5307         instead of Paragraph*
5308         Adjust several functions.
5309
5310         * text.C (transformChar): change to take a ParagraphList::iterator
5311         instead of Paragraph*
5312         (singleWidth): ditto
5313         Adjust several functions.
5314
5315         * rowpainter.C: adjust several functions
5316         * rowpainter.h:store a ParagraphList::iterator and not a
5317         Paragraph&.
5318
5319
5320 2003-04-09  John Levon  <levon@movementarian.org>
5321
5322         * lyxfunc.C:
5323         * lfuns.h:
5324         * LyXAction.h:
5325         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5326         and the "help" bits as well
5327
5328 2003-04-09  John Levon  <levon@movementarian.org>
5329
5330         * ToolbarBackend.h:
5331         * ToolbarBackend.C: allow multiple toolbars
5332
5333 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * undo_funcs.C (setCursorParUndo): adjust
5336
5337         * text_funcs.C (transposeChars): adjust
5338
5339         * text3.C (gotoNextInset): adjust
5340         (dispatch): adjust
5341
5342         * text2.C (setLayout): adjust
5343         (changeDepth): adjust
5344         (setFont): adjust
5345         (redoParagraphs): adjust
5346         (selectionAsString): adjust
5347         (setParagraph): adjust
5348         (insertInset): adjust
5349         (cutSelection): adjust
5350         (copySelection): adjust
5351         (pasteSelection): adjust
5352         (insertStringAsLines): adjust
5353         (updateInset): adjust
5354         (setCursor): change to take a ParagraphList::iterator parameter
5355         (setCursorIntern): change to take a ParagraphList::iterator parameter
5356         (setCurrentFont): adjust
5357         (cursorLeft): adjust
5358         (cursorRight): adjust
5359         (deleteEmptyParagraphMechanism): adjust
5360
5361         * text.C (breakParagraph): adjust
5362         (insertChar): adjust
5363         (acceptChange): adjust
5364         (rejectChange): adjust
5365         (selectNextWordToSpellcheck): adjust
5366         (changeCase): adjust
5367         (Delete): adjust
5368         (backspace): adjust
5369
5370         * lyxfind.C (SearchForward): adjust
5371         (SearchBackward): adjust
5372         (nextChange): adjust
5373
5374         * lyxcursor.C (par): adjust
5375
5376         * lyxcursor.h: store a ParagraphList::iterator instead of a
5377         Paragraph*
5378
5379         * lyx_cb.C (getPossibleLabel): adjust
5380
5381         * bufferview_funcs.C (toggleAndShow): adjust
5382
5383         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5384         (dispatch): adjust
5385
5386         * BufferView.C (removeAutoInsets): adjust
5387         (lockedInsetStoreUndo): adjust
5388
5389 2003-04-09  John Levon  <levon@movementarian.org>
5390
5391         * ToolbarBackend.C: try icon without argument
5392         if with argument fails
5393
5394 2003-04-08  John Levon  <levon@movementarian.org>
5395
5396         * ToolbarBackend.h:
5397         * ToolbarBackend.C: add getIcon(), handle tooltip,
5398         and change from "Icon" to "Item".
5399
5400 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5401
5402         * BufferView.C (lockInset): another bad getchar crunched
5403
5404 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5407         again)
5408
5409 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * lyxfind.C (searchForward, searchBackwards): bug 782
5412
5413 2003-04-07  John Levon  <levon@movementarian.org>
5414
5415         * paragraph.C: remove dead comment
5416
5417         * text.C: remove troublesome depth-fiddling code
5418         in leftMargin() and rightMargin() (bug 1017)
5419
5420         * text.C: fix breaking of rows in nested lists
5421         (bug 1004)
5422
5423         * text2.C (updateCounters): fix up depth values
5424         (bug 1013)
5425
5426 2003-04-07  John Levon  <levon@movementarian.org>
5427
5428         * BufferView_pimpl.C: clear message when doc finishes resizing,
5429         and after a mouse event
5430
5431         * lyxfunc.C: clear message after exiting inset
5432
5433 2003-04-07  John Levon  <levon@movementarian.org>
5434
5435         * bufferview_funcs.C: show math status not outside
5436         status in the statusbar
5437
5438 2003-04-07  John Levon  <levon@movementarian.org>
5439
5440         * lyxfunc.C: note status changed after a depth change
5441
5442 2003-04-04  Angus Leeming  <leeming@lyx.org>
5443
5444         * LaTeX.h: move AuxInfo operator==, != out of line.
5445         Remove LaTeX virtual destructor; nothing derives from it.
5446         Move operator()() out of public area and rename it startscript().
5447         Change protected for private.
5448
5449 2003-04-04  Angus Leeming  <leeming@lyx.org>
5450
5451         * lyxfunc.C:
5452         * text2.C: remove unneeded #includes.
5453
5454 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * text2.C (dEPM): fix the heigth of the next row
5457
5458 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5459
5460         * text.C: squashed an invalid getChar requester + some ws changes
5461
5462 2003-04-03  John Levon  <levon@movementarian.org>
5463
5464         * bufferview_funcs.h:
5465         * bufferview_funcs.C:
5466         * lyxfunc.C:
5467         * lyxtext.h:
5468         * text2.C: make getStatus work for the env depth lfuns
5469
5470 2003-04-03  John Levon  <levon@movementarian.org>
5471
5472         * bufferview_funcs.h:
5473         * bufferview_funcs.C:
5474         * lyxfunc.C:
5475         * lyxtext.h:
5476         * text2.C: parlistize decDepth(), by merging it with incDepth()
5477
5478 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * lyxrow.h: store a ParagraphList::iterator instead of a
5481         Paragraph* and adjust other class functions to suit.
5482
5483         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5484         above.
5485
5486 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * text2.C (setCursor): do not anchor to cursor row for the time being
5489
5490 2003-04-02  John Levon  <levon@movementarian.org>
5491
5492         * LyXAction.C:
5493         * lfuns.h:
5494         * lyx_main.C:
5495         * lyxtext.h:
5496         * text.C:
5497         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5498
5499 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500
5501         * paragraph.h: make ParagraphList and ParagraphList::iterator
5502         friends of Paragraph.
5503
5504         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5505
5506         * ParagraphList.C: Use the private next_ and previous_ from
5507         Paragraph.
5508
5509 2003-04-01  John Levon  <levon@movementarian.org>
5510
5511         * ToolbarBackend.h:
5512         * ToolbarBackend.C:
5513         * Makefile.am: rename, remove defaults gunk
5514
5515         * MenuBackend.h:
5516         * MenuBackend.C: remove defaults gunk
5517
5518         * Languages.h:
5519         * Languages.C: remove defaults gunk
5520
5521         * lyx_main.h:
5522         * lyx_main.C: error out if files couldn't be found.
5523
5524 2003-04-02  John Levon  <levon@movementarian.org>
5525
5526         * text2.C: make incDepth() use parlist
5527
5528 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * undo_funcs.C (firstUndoParagraph): adjust
5531
5532         * text3.C (gotoInset): adjust
5533         (dispatch): adjust, and rewrite loop.
5534
5535         * text2.C (init): adjust, and rewrite loop.
5536         (redoParagraphs): adjust
5537         (updateInset): adjust, and rewrite loop.
5538         (deleteEmptyParagraphMechanism): adjust
5539
5540         * tabular.C (LyXTabular): adjust
5541         (SetMultiColumn): adjust
5542         (TeXRow): adjust
5543
5544         * lyxtext.[Ch] (ownerParagraph): delete function
5545         (ownerParagraphs): new function returns a ParagraphList.
5546
5547         * BufferView.C (removeAutoInsets): adjust
5548         (insertErrors): adjust
5549         (setCursorFromRow): adjust
5550
5551 2003-04-01  Angus Leeming  <leeming@lyx.org>
5552
5553         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5554         in the frontends.
5555
5556 2003-04-02  John Levon  <levon@movementarian.org>
5557
5558         * lyxtext.h:
5559         * text.C:
5560         * Makefile.am:
5561         * text_funcs.h:
5562         * text_funcs.C: make transposeChars a free function
5563
5564         * lyxrow_funcs.C: remove wrong comment
5565
5566 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * lyxtext.h: adjust
5569         * rowpainter.C: adjust
5570         * text.C: adjust
5571         * text2.C: adjust
5572         * text3.C: adjust
5573
5574         * lyxrow_funcs. [Ch]: new files
5575
5576         * lyxrow.[Ch]: remove next and previous pointers
5577         (next,previous): remove accessor functions
5578         (isParEnd): move to lyxrow_funcs
5579         (lastPos): move to lyxrow_funcs
5580         (nextRowIsAllInset): move to lyxrow_funcs
5581         (lastPrintablePos): move to lyxrow_funcs
5582         (numberOfSeparators): move to lyxrow_funcs
5583         (numberOfHfills): move to lyxrow_funcs
5584         (numberOfLabelHfills): move to lyxrow_funcs
5585         (hfillExpansion): move to lyxrow_funcs
5586
5587         * lyxfunc.C: adjust
5588
5589         * bufferview_funcs.C (toggleAndShow): adjust
5590
5591         * RowList.h: Remove class RowList from file leave just a
5592         std::list<Row>.
5593
5594         * RowList.C: delete file
5595
5596         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5597         and lyxrow_funcs.h
5598
5599 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * text3.C (cursorPrevious): adjust
5602         (cursorNext): adjust
5603         (dispatch): adjust
5604
5605         * text2.C (redoHeightOfParagraph): adjust
5606         (redoDrawingOfParagraph): adjust
5607         (setCursor): adjust
5608
5609         * text.C (breakParagraph): adjust
5610         (insertChar): adjust
5611         (backspace): adjust
5612
5613         * rowpainter.C (RowPainter): adjust
5614         (leftMargin): simplify and adjust
5615         (most rowpainter functions): adjust.
5616
5617         * rowpainter.h: store the row as RowList::iterator not as Row*
5618
5619         * lyxcursor.C (row): taka RowList::iterator as arg
5620         (irow): ditto
5621
5622         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5623         of Row*.
5624
5625 2003-04-01  Angus Leeming  <leeming@lyx.org>
5626
5627         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5628         stuff like bool Bool.
5629
5630 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5633         rewrite a loop
5634
5635 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5638         RowList::iterator.
5639
5640         * lyxtext.h (rows): drop one version and leve a const variant that
5641         returns a RowList::iterator.
5642
5643 2003-03-31  Angus Leeming  <leeming@lyx.org>
5644
5645         * text.C (fill): ensure that the signature is the same as that in the
5646         header file.
5647
5648 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * text2.C (redoParagraphs): adjust
5651         (updateCounters): adjust
5652         (checkParagraph): adjust
5653         (getColumnNearX): adjust and reformat a bit.
5654
5655         * text.C (top_y): adjust
5656         (workWidth): adjust
5657         (leftMargin): adjust
5658         (prepareToPrint): adjust
5659         (getRow): adjust
5660         (getRowNearY): adjust
5661
5662         * lyxtext.h: make rowlist_ mutable.
5663
5664         * RowList.h: add const_iterator
5665         * RowList.C: adjust for RowList::const_iterator.
5666
5667         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5668         adjust.
5669
5670 2003-03-31  John Levon  <levon@movementarian.org>
5671
5672         * lyxrc.h:
5673         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5674
5675         * lyx_main.C: set default fonts from using lyx_gui funcs
5676
5677         * exporter.C: pdf_mode moved from lyxrc
5678
5679         * lyx_cb.C:
5680         * lyxfunc.C: changes from above
5681
5682 2003-03-31  John Levon  <levon@movementarian.org>
5683
5684         * lyx_main.C: fix to the last fix
5685
5686 2003-03-31  John Levon  <levon@movementarian.org>
5687
5688         * bufferlist.C: "Load original" -> "Load Original"
5689
5690         * converter.C:
5691         * exporter.C:
5692         * importer.C:
5693         * lyx_main.C:
5694         * format.C: more Alert cleanups
5695
5696 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * text2.C (removeParagraph): make it take a RowList::iterator as
5699         arg, adjust.
5700         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5701         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5702
5703         * text.C (anchor_row): make it take a RowList::iterator as arg,
5704         adjust.
5705         (computeBidiTables): make it take a const reference to Row instead
5706         of Row pointer, adjust.
5707         (leftMargin): make it take a RowList::iterator as arg, adjust.
5708         (rowBreakPoint): adjust
5709         (breakAgainOneRow): make it take a RowList::iterator as arg,
5710         adjust.
5711         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5712
5713         * bufferview_funcs.C (toggleAndShow): adjust
5714
5715 2003-03-30  John Levon  <levon@movementarian.org>
5716
5717         * Makefile.am:
5718         * BoostFormat.h:
5719         * boost-inst.C: moved to support
5720
5721         * several files: changes as a result
5722
5723 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724
5725         * text2.C (LyXText): adjust.
5726         (init): adjust
5727         (removeRow): make it take a RowList::iterator as arg, adjust.
5728         (fullRebreak): adjust
5729         (deleteEmptyParagraphMechanism): adjust
5730         (clearPaint): adjust
5731         (postPaint): adjust
5732
5733         * text.C (top_y): adjust
5734         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5735         (breakAgain): make it take a RowList::iterator as arg, adjust.
5736         (breakParagraph): adjust
5737         (insertChar): adjust
5738         (backspace): adjust
5739
5740         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5741         need_break_row, and refresh_row.
5742
5743         * text3.C (dispatch): adjust
5744
5745         * text2.C (checkParagraph): adjust
5746         (setCursor): adjust
5747         (setCursorFromCoordinates): adjust
5748
5749         * text.C (top_y): adjust
5750         (workWidth): adjust
5751         (getRow): make it return a RowList::iterator, adjust
5752         (getRowNearY): make it return a RowList::iterator, adjust
5753
5754         * text2.C (init): adjust
5755         (insertRow): remove function
5756         (insertParagraph): adjust
5757         (redoParagraphs): adjust
5758         (fullRebreak): adjust
5759         (updateCounters): adjust
5760
5761         * text.C (top_y): rewrite to use RowList iterators.
5762         (top_y): adjust
5763         (setHeightOfRow): rewrite to sue RowList iterators.
5764         (appendParagraph): adjust
5765         (breakAgain): adjust
5766         (breakAgainOneRow): adjust
5767         (breakParagraph): adjust
5768         (getRow): adjust
5769         (getRowNearY): adjust, and remove commented code.
5770
5771         * lyxtext.h (firstRow): delete function
5772         (lastRow): delete function
5773         (rows): new function (const and non-const versions.)
5774         (insertRow): delete function
5775
5776         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5777
5778 2003-03-29  John Levon  <levon@movementarian.org>
5779
5780         * BufferView_pimpl.C: always update scrollbar top
5781         because pasting text when we're anchored could mean we
5782         miss an update altogether
5783
5784 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * text2.C (init): use rowlist_.end() and not 0.
5787         (insertRow): change to take a RowList::iterator as arg, adjust
5788         for this.
5789         (insertParagraph): change to take a RowList::iterator as arg,
5790         adjust for this.
5791         (redoParagraphs): remove some debug msgs.
5792
5793         * text.C (appendParagraph): change to take a RowList::iterator
5794         arg, adjust for this.
5795         (breakAgain): add an assert
5796         (breakAgainOneRow): ditto
5797
5798 2003-03-29  John Levon  <levon@movementarian.org>
5799
5800         * text2.C: do not clear selection after inc/decDepth
5801         (bug 550)
5802
5803 2003-03-29  John Levon  <levon@movementarian.org>
5804
5805         * BufferView.C:
5806         * buffer.C: fix broken strerrors according to Lars
5807
5808 2003-03-29  John Levon  <levon@movementarian.org>
5809
5810         * converters.C: more Alert cleanups
5811
5812 2003-03-29  John Levon  <levon@movementarian.org>
5813
5814         * bufferview_funcs.C: remove pointless Alert
5815
5816         * buffer.C: fix confusing error message when
5817         a template is chmoded 000
5818
5819 2003-03-29  John Levon  <levon@movementarian.org>
5820
5821         * BufferView.C:
5822         * BufferView.h:
5823         * BufferView_pimpl.C: Alert fixes
5824
5825         * Makefile.am:
5826         * tabular.C:
5827         * tabular-old.C: remove unused table compat reading
5828
5829 2003-03-29  John Levon  <levon@movementarian.org>
5830
5831         * BufferView.C:
5832         * buffer.C:
5833         * lyx_cb.h:
5834         * lyx_cb.C: more Alert cleanups
5835
5836         * lyxfunc.C: don't allow chktex if not latex document
5837
5838 2003-03-29  John Levon  <levon@movementarian.org>
5839
5840         * lyx_cb.C:
5841         * BufferView.C:
5842         * buffer.C: warnings pushed down from support/,
5843         kill err_alert
5844
5845 2003-03-29  John Levon  <levon@movementarian.org>
5846
5847         * lyxfunc.C: safety check for C-r (revert)
5848
5849 2003-03-29  John Levon  <levon@movementarian.org>
5850
5851         * bufferlist.h:
5852         * bufferlist.C: several UI fixes using Alert::prompt.
5853         Fix the pointless looping quit code. Fix stupid revert
5854         behaviour (bug 938)
5855
5856         * lyxvc.h:
5857         * lyxvc.C:
5858         * lyx_cb.C: use Alert::prompt
5859
5860         * lyx_main.C: remove a silly question
5861
5862         * lyxfunc.C: remove a couple of silly questions,
5863         use Alert::prompt
5864
5865 2003-03-28  John Levon  <levon@movementarian.org>
5866
5867         * text2.C: fix bug 974 (End on empty par)
5868
5869 2003-03-28  John Levon  <levon@movementarian.org>
5870
5871         * BufferView_pimpl.C:
5872         * LyXAction.C:
5873         * lfuns.h: remove do-nothing math greek lfuns
5874
5875 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * lyxgluelength.h (isValidGlueLength): add default arg on
5878         parameter 2. Remove default arg from friend in class.
5879
5880         * lyxlength.h (isValidLength): add default arg on parameter 2.
5881         Remove default arg from friend in class.
5882
5883         * text2.C (LyXText): adjust, initialize refresh_row.
5884         (init): adjust
5885         (removeRow): adjust
5886         (insertRow): adjust
5887         (insertParagraph): adjst
5888         (redoParagraphs): adjust
5889         (fullRebreak): adjust
5890         (updateCounters): adjust
5891         (deleteEmptyParagraphMechanism): first attempt at fixing a
5892         crashing bug.
5893
5894         * text.C (top_y): adjust
5895         (setHeightOfRow): adjust
5896         (getRow): adjust
5897         (getRowNearY): adjust
5898
5899         * lyxtext.h: include RowList.h
5900         (~LyXText): not needed anymore, deleted.
5901         (firstRow): modify for RowList
5902         (lastRow): new function
5903         Delete firstrow and lastrow class variables, add a Rowlist
5904         rowlist_ class variable.
5905
5906         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5907         paragraph is empty.
5908
5909         * RowList.C (insert): fix case where it == begin().
5910
5911 2003-03-26  Angus Leeming  <leeming@lyx.org>
5912
5913         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5914         the thesaurus dialog.
5915
5916 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5919
5920         * RowList.[Ch]: new files
5921
5922         * ParagraphList.C (erase): handle the case where it == begin
5923         correctly.
5924
5925 2003-03-25  John Levon  <levon@movementarian.org>
5926
5927         * Makefile.am:
5928         * aspell_local.h:
5929         * aspell.C: add new aspell support
5930
5931         * lyxrc.h:
5932         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5933         have it accessible.
5934
5935 2003-03-25  Angus Leeming  <leeming@lyx.org>
5936
5937         * lfuns.h:
5938         * LyXAction.C (init): new LFUN_INSET_INSERT.
5939
5940         * BufferView_pimpl.C (dispatch): split out part of the
5941         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5942
5943         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5944         LFUN_INSET_APPLY.
5945
5946 2003-03-25  Angus Leeming  <leeming@lyx.org>
5947
5948         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5949
5950 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * text2.C:
5953         * text3.C: remove useless row->height(0)
5954
5955 2003-03-25  John Levon  <levon@movementarian.org>
5956
5957         * lyxtext.h:
5958         * text2.C:
5959         * text3.C: rename the refreshing stuff to better names
5960
5961 2003-03-24  John Levon  <levon@movementarian.org>
5962
5963         * BufferView_pimpl.h:
5964         * BufferView_pimpl.C: update layout choice on a mouse
5965         press/release
5966
5967 2003-03-23  John Levon  <levon@movementarian.org>
5968
5969         * Makefile.am: fix commandtags.h reference
5970
5971 2003-03-22  John Levon  <levon@movementarian.org>
5972
5973         * BufferView_pimpl.C:
5974         * lyxtext.h:
5975         * rowpainter.C:
5976         * rowpainter.h:
5977         * text.C:
5978         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5979
5980 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * lyxtext.h:
5983         * text.C: take the rtl methods out of line
5984
5985 2003-03-21 André Pönitz <poenitz@gmx.net>
5986
5987         * metricsinfo.[Ch]: new files containing structures to be passed around
5988         during the two-phase-drawing...
5989
5990 2003-03-21 André Pönitz <poenitz@gmx.net>
5991
5992         * lyxtextclass.C: read 'environment' tag.
5993
5994 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * text2.C (removeRow): fix bug 964
5997
5998 2003-03-20  John Levon  <levon@movementarian.org>
5999
6000         * rowpainter.C:
6001         * text.C:
6002         * text2.C: paint cleanups. Inset::update() dropped font
6003         parameter
6004
6005 2003-03-19  John Levon  <levon@movementarian.org>
6006
6007         * lyxfunc.C: only fitcursor/markDirty if available()
6008
6009 2003-03-19  John Levon  <levon@movementarian.org>
6010
6011         * commandtags.h: rename to ...
6012
6013         * lfuns.h: ... this, and renumber / cleanup
6014
6015 2003-03-19  John Levon  <levon@movementarian.org>
6016
6017         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6018         fit the cursor after an lfun
6019
6020         * BufferView.h:
6021         * BufferView.C:
6022         * BufferView_pimpl.h:
6023         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6024
6025         * LyXAction.C: layout-character should have ReadOnly
6026
6027         * ParagraphParameters.C:
6028         * buffer.C:
6029         * bufferview_funcs.C:
6030         * lyx_cb.C:
6031         * lyxfind.C:
6032         * lyxtext.h:
6033         * text.C:
6034         * text2.C:
6035         * text3.C:
6036         * undo_funcs.C: changes from above
6037
6038 2003-03-18  John Levon  <levon@movementarian.org>
6039
6040         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6041         remove it from update()
6042
6043         * lyxfunc.C: update layout choice after an lfun
6044
6045         * text3.C: remove extra updateLayoutChoice()s
6046
6047 2003-03-18  John Levon  <levon@movementarian.org>
6048
6049         * text.C: top_y change means full repaint, fix
6050         a drawing bug with cursor movement
6051
6052 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6053
6054         * lyxtext.h:
6055         * text.C:
6056         * text2.C: anchor row on setCursor
6057
6058 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6059
6060         * lyxtext.h: remove almost all mutable keywords
6061         * text.C:
6062         * text2.C:
6063         * text3.C: remove const keywords accordingly
6064
6065 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6068         anon namespace
6069         (TeXEnvironment): ditto
6070         (TeXOnePar): ditto
6071
6072 2003-03-17  John Levon  <levon@movementarian.org>
6073
6074         * text.C (rowBreakPoint): remove attempt to fix displayed
6075         math insets inside a manual label
6076
6077 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * lyxtext.h: remove BufferView* as first arg from almost all class
6080         functions.
6081         * other files: adjust.
6082
6083 2003-03-17  John Levon  <levon@movementarian.org>
6084
6085         * lyxtext.h:
6086         * undo_funcs.C:
6087         * text2.C: more paint cleanups
6088
6089         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6090
6091         * rowpainter.h:
6092         * rowpainter.C: remove "smart" background painting code
6093
6094 2003-03-16  John Levon  <levon@movementarian.org>
6095
6096         * lyxtext.h:
6097         * text.C:
6098         * text2.C:
6099         * text3.C: add helper functions for setting refresh_row/y
6100
6101 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6102
6103         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6104         newline inset which *can* get inserted in the pass_thru layouts.
6105         This is primarily for literate documents.
6106
6107 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6108
6109         * buffer.C: increment LYX_FORMAT to 223
6110
6111 2003-03-14 André Pönitz <poenitz@gmx.net>
6112
6113         * textclass.h: prepare for environment handling, ws changes
6114         * lyxlayout.C: read latexheader and latexfooter tags
6115
6116 2003-03-14  John Levon  <levon@movementarian.org>
6117
6118         * text2.C: rewrite ::status() a bit
6119
6120 2003-03-13  John Levon  <levon@movementarian.org>
6121
6122         * lyxtext.h: add some docs
6123
6124 2003-03-13  John Levon  <levon@movementarian.org>
6125
6126         * lyxtext.h:
6127         * text.C:
6128         * text2.C:
6129         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6130
6131 2003-03-13  John Levon  <levon@movementarian.org>
6132
6133         * text3.C: fix appendix redrawing
6134
6135 2003-03-13  John Levon  <levon@movementarian.org>
6136
6137         * text.C (setHeightOfRow):
6138         * rowpainter.h:
6139         * rowpainter.C: make appendix mark have the text
6140           "Appendix" so the user knows what it is
6141
6142         * LColor.h:
6143         * LColor.C: s/appendixline/appendix/ from above
6144
6145 2003-03-13  John Levon  <levon@movementarian.org>
6146
6147         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6148
6149         * text.C: fix a getChar(pos) bug properly
6150
6151 2003-03-13  Angus Leeming  <leeming@lyx.org>
6152
6153         * commandtags.h:
6154         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6155         Probably only temporary. Let's see how things pan out.
6156
6157         * BufferView.C (unlockInset):
6158         * BufferView_pimpl.C (fitCursor):
6159         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6160
6161         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6162         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6163
6164         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6165         new functions that convert ParagraphParameters to and from a string.
6166
6167         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6168         BufferView::Pimpl's dispatch.
6169         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6170
6171 2003-03-13 André Pönitz <poenitz@gmx.net>
6172
6173         * lyxfunc.C:
6174         * text3.C:
6175         * factory.C: make it aware of InsetEnv
6176
6177 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * text2.C (setCursor): never ask for one past last
6180         (setCursor): add some debugging messages.
6181
6182         * text.C (singleWidth): never ask for one past last
6183         (singleWidth): ditto
6184         (leftMargin): ditto
6185         (rightMargin): ditto
6186         (rowBreakPoint): ditto
6187         (setHeightOfRow): ditto
6188         (prepareToPrint): ditto
6189
6190         * rowpainter.C (paintBackground): never ask for one past last
6191         (paintText): never ask for one past last
6192
6193         * paragraph_pimpl.C (getChar): make the assert stricter, never
6194         allow the one past last pos to be taken
6195
6196         * paragraph.C (getChar): ws changes only
6197
6198         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6199         (numberOfSeparators): ditto
6200         (numberOfHfills): ditto
6201
6202 2003-03-12  John Levon  <levon@movementarian.org>
6203
6204         * author.h:
6205         * author.C:
6206         * bufferparams.h:
6207         * bufferparams.C:
6208         * paragraph_funcs.C: fix per-buffer authorlists
6209
6210 2003-03-12  John Levon  <levon@movementarian.org>
6211
6212         * text.C: fix newline in right address
6213
6214 2003-03-12  Angus Leeming  <leeming@lyx.org>
6215
6216         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6217         duplicate those in LyXFunc::dispatch.
6218
6219         * commandtags.h:
6220         * LyXAction.C:
6221         * ToolbarDefaults.C:
6222         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6223         Add LFUN_FONTFREE_UPDATE.
6224
6225         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6226         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6227
6228         * bufferview_func.[Ch]: several new functions to facilliate
6229         transfer of data to and from the character dialog.
6230
6231 2003-03-12  John Levon  <levon@movementarian.org>
6232
6233         * buffer.C:
6234         * paragraph.h:
6235         * paragraph.C:
6236         * paragraph_funcs.C:
6237         * paragraph_pimpl.C:
6238         * sgml.C:
6239         * tabular.C:
6240         * text.C:
6241         * text3.C: remove META_NEWLINE in favour of an inset
6242
6243         * rowpainter.h:
6244         * rowpainter.C: remove paintNewline (done by inset)
6245
6246 2003-03-12  John Levon  <levon@movementarian.org>
6247
6248         * paragraph_pimpl.C: complain about bad getChar()s
6249         for a while at least
6250
6251 2003-03-12  John Levon  <levon@movementarian.org>
6252
6253         * buffer.h:
6254         * buffer.C: move paragraph read into a separate function,
6255         a little renaming to reflect that.
6256
6257         * bufferparams.h:
6258         * bufferparams.C: remove the author_ids map, not necessary now
6259
6260         * factory.h:
6261         * factory.C: moved Buffer::readInset to here
6262
6263         * paragraph_funcs.h:
6264         * paragraph_funcs.C: readParagraph free function moved from
6265         buffer.C
6266
6267         * tabular.C: name change
6268
6269 2003-03-12  John Levon  <levon@movementarian.org>
6270
6271         * buffer.C:
6272         * ParagraphParameters.C: move par params input to
6273         a read() method
6274
6275         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6276         behave like a normal read from the stream wrt reading
6277         a line vs. a \\token
6278
6279 2003-03-12  John Levon  <levon@movementarian.org>
6280
6281         * paragraph.C:
6282         * ParagraphParameters.h:
6283         * ParagraphParameters.C: move output code to a
6284         ::write() method
6285
6286 2003-03-12  John Levon  <levon@movementarian.org>
6287
6288         * BufferView.C (insertLyXFile):
6289         * buffer.h:
6290         * buffer.C:
6291         * tabular.C: use a parlist iterator for creating the
6292           document.
6293
6294 2003-03-12  John Levon  <levon@movementarian.org>
6295
6296         * buffer.C: make current_change static local not
6297           static file-scope
6298
6299 2003-03-12  John Levon  <levon@movementarian.org>
6300
6301         * buffer.C: fix insertStringAsLines for change tracking
6302
6303 2003-03-12  John Levon  <levon@movementarian.org>
6304
6305         * BufferView.C:
6306         * tabular.C:
6307         * buffer.h:
6308         * buffer.C:
6309         * bufferparams.h:
6310         * bufferparams.C: move author list into params. Rename some
6311           functions. Move the header reading into a separate token
6312           loop. Move the header token reading into BufferParams.
6313
6314 2003-03-12  John Levon  <levon@movementarian.org>
6315
6316         * changes.C: put debug inside lyxerr.debugging() checks
6317
6318 2003-03-11 André Pönitz <poenitz@gmx.net>
6319
6320         * factory.C: make it aware of InsetHFill
6321
6322 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6323
6324         * buffer.C (latexParagraphs): move function from here...
6325         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6326         args.
6327
6328 2003-03-10  Angus Leeming  <leeming@lyx.org>
6329
6330         * LyXAction.C (init): fix bug in poplating array with multiple entries
6331         with the same LFUN (spotted by JMarc).
6332
6333 2003-03-10  John Levon  <levon@movementarian.org>
6334
6335         * text.C:
6336         * text2.C: move getColumnNearX() near its
6337         only call site
6338
6339 2003-03-10  John Levon  <levon@movementarian.org>
6340
6341         * text.C: fix break before a minipage
6342
6343 2003-03-10  John Levon  <levon@movementarian.org>
6344
6345         * text.C: fix the last commit
6346
6347 2003-03-09  John Levon  <levon@movementarian.org>
6348
6349         * lyxtext.h:
6350         * text.C:
6351         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6352         bug 365 (don't break before insets unless needed). Don't
6353         return a value > last under any circumstances.
6354
6355 2003-03-09  Angus Leeming  <leeming@lyx.org>
6356
6357         * BufferView_pimpl.C (trackChanges, dispatch): call
6358         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6359
6360 2003-03-09  Angus Leeming  <leeming@lyx.org>
6361
6362         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6363         than Dialogs::showAboutlyx().
6364
6365 2003-03-09  Angus Leeming  <leeming@lyx.org>
6366
6367         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6368         than Dialogs::showTabularCreate().
6369
6370 2003-03-09  John Levon  <levon@movementarian.org>
6371
6372         * lyxtext.h:
6373         * text.C:
6374         * text2.C: 3rd arg to nextBreakPoint was always the same.
6375           Use references.
6376
6377 2003-03-08  John Levon  <levon@movementarian.org>
6378
6379         * lyxrow.C:
6380         * paragraph.C:
6381         * paragraph.h:
6382         * rowpainter.C:
6383         * text.C:
6384         * text2.C: Remove the "main" bit from the "main body"
6385           notion.
6386
6387 2003-03-08  John Levon  <levon@movementarian.org>
6388
6389         * text.C (leftMargin): The left margin of an empty
6390         manual label paragraph should not include the label width
6391         string length.
6392
6393         * text.C (prepareToPrint): don't attempt to measure hfills
6394         for empty manual label paragraphs - the answer should be 0
6395
6396 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * CutAndPaste.C: remove commented code and reindent.
6399
6400 2003-03-08  John Levon  <levon@movementarian.org>
6401
6402         * lyxfunc.h:
6403         * lyxfunc.C: move reloadBuffer()
6404
6405         * BufferView.h:
6406         * BufferView.C: to here
6407
6408         * lyxvc.C: add comment
6409
6410         * vc-backend.h:
6411         * vc-backend.C: call bv->reload() to avoid
6412           getStatus() check on MENURELOAD
6413
6414 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6415
6416         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6417         to an old format .dep file.
6418
6419 2003-03-07  Angus Leeming  <leeming@lyx.org>
6420
6421         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6422         when the LFUN_MOUSE_RELEASE should have been handled by
6423         inset->localDispatch.
6424
6425 2003-03-07  Angus Leeming  <leeming@lyx.org>
6426
6427         * BufferView_pimpl.C (dispatch):
6428         * LyXAction.C (init):
6429         * ToolbarDefaults.C (init):
6430         * commandtags.h:
6431         * lyxfunc.C (getStatus):
6432         remove LFUN_INSET_GRAPHICS.
6433
6434         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6435
6436 2003-03-07  Angus Leeming  <leeming@lyx.org>
6437
6438         * commandtags.h:
6439         * LyXAction.C (init):
6440         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6441
6442         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6443
6444         * commandtags.h:
6445         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6446
6447         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6448         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6449
6450 2003-03-07  Angus Leeming  <leeming@lyx.org>
6451
6452         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6453         remove "ert".
6454
6455 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * ParagraphList.C (front): new function
6458         (back): implement
6459
6460 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6461
6462         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6463         and top_row_offset_. removed var first_y.
6464         * text.C (top_y):
6465         * text2.C (LyXText, removeRow):
6466         * text3.C:
6467         * BufferView_pimpl.C:
6468         use these methods instead of using first_y
6469
6470 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * text2.C (pasteSelection): adjust for checkPastePossible
6473
6474         * CutAndPaste.C: remove Paragraph * buf and replace with
6475         ParagraphList paragraphs.
6476         (DeleteBuffer): delete
6477         (cutSelection): change the tc type to textclass_type
6478         (copySelection): change the tc type to textclass_type
6479         (copySelection): adjust for ParagraphList
6480         (pasteSelection): change the tc type to textclass_type
6481         (pasteSelection): adjust for Paragraphlist
6482         (nrOfParagraphs): simplify for ParagraphList
6483         (checkPastePossible): simplify for ParagraphList
6484         (checkPastePossible): remove unused arg
6485
6486         * ParagraphList.C (insert): handle the case where there are no
6487         paragraphs yet.
6488
6489         * CutAndPaste.h: make CutAndPaste a namespace.
6490
6491         * text3.C (dispatch): adjust
6492
6493         * text.C (breakParagraph): add a ParagraphList as arg
6494
6495         * paragraph_funcs.C (breakParagraph): change to take a
6496         BufferParams and a ParagraphList as args.
6497         (breakParagraphConservative): ditto
6498         (mergeParagraph): ditto
6499         (TeXDeeper): add a ParagraphList arg
6500         (TeXEnvironment): ditto
6501         (TeXOnePar): ditto
6502
6503         * buffer.C (readLyXformat2): adjust
6504         (insertStringAsLines): adjust
6505         (latexParagraphs): adjust
6506
6507         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6508         (cutSelection): adjust
6509         (pasteSelection): adjust
6510
6511         * BufferView_pimpl.C (insertInset): adjust
6512
6513 2003-03-05  Angus Leeming  <leeming@lyx.org>
6514
6515         * commandtags.h:
6516         * LyXAction.C (init):
6517         * BufferView_pimpl.C (dispatch):
6518         * lyxfunc.C (getStatus):
6519         remove LFUN_CHILD_INSERT.
6520
6521         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6522
6523 2003-03-05  Angus Leeming  <leeming@lyx.org>
6524
6525         * commandtags.h:
6526         * LyXAction.C (init):
6527         * src/factory.C (createInset):
6528         * lyxfunc.C (getStatus):
6529         * text3.C (dispatch):
6530         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6531
6532         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6533
6534 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * ParagraphList.C (insert): handle insert right before end()
6537         (erase): fix cases where it can be first or last paragraph.
6538
6539 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6542         Paragraph::next and Paragraph::previous
6543         (TeXOnePar): ditto
6544
6545         * text.C (breakParagraph): adjust
6546
6547         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6548         BufferParams& as arg.
6549         (breakParagraph): use ParagraphList::insert
6550         (breakParagraphConservative): take a Buffer* instead of a
6551         BufferParams& as arg.
6552         (breakParagraphConservative): use ParagraphList::insert.
6553
6554         * buffer.C (insertStringAsLines): un-const it
6555         (insertStringAsLines): adjust
6556
6557         * ParagraphList.C (insert): new function
6558
6559         * CutAndPaste.C (pasteSelection): adjust
6560
6561         * text.C (backspace): adjust
6562
6563         * tabular.C (SetMultiColumn): adjust
6564
6565         * CutAndPaste.C (cutSelection): adjust
6566         (pasteSelection): adjust
6567
6568         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6569         Buffer const * as arg
6570
6571         * ParagraphList.C (erase): new function
6572         * paragraph_funcs.C (mergeParagraph): use it
6573         (mergeParagraph): make it take a Buffer* instead of a
6574         BufferParams* as arg
6575
6576         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6577         as arg
6578         (breakParagraphConservative): ditto
6579
6580         * paragraph.h: remove the breakParagraph friend
6581
6582         * paragraph.C (eraseIntern): new function
6583         (setChange): new function
6584
6585         * paragraph_funcs.C (mergeParagraph): make it take a
6586         ParagraphList::iterator instead of a Paragraph *, adjust
6587         accordingly.
6588
6589         * paragraph.h: move an #endif so that the change tracking stuff
6590         also works in the NO_NEXT case.
6591
6592 2003-03-04  Angus Leeming  <leeming@lyx.org>
6593
6594         * commandtags.h:
6595         * LyXAction.C: new LFUN_INSET_MODIFY.
6596
6597         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6598         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6599
6600 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * several files: ws changes only
6603
6604         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6605         (TeXEnvironment): ditto
6606         (TeXDeeper): ditto
6607
6608         * buffer.C (makeLaTeXFile): adjust
6609         (latexParagraphs): make it take ParagraphList::iterator as args
6610
6611 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * buffer.C (latexParagraphs): adjust
6614
6615         * paragraph.C (TeXOnePar): move function...
6616         (optArgInset): move function...
6617         (TeXEnvironment): move function...
6618         * paragraph_pimpl.C (TeXDeeper): move function...
6619         * paragraph_funcs.C: ...here
6620
6621         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6622
6623 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * buffer.C (readInset): remove compability code for old Figure and
6626         InsetInfo insets
6627
6628 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * buffer.C: ws changes
6631         (readInset):
6632
6633         * BufferView_pimpl.C: ditto
6634         * author.C: ditto
6635         * buffer.h: ditto
6636         * bufferlist.h: ditto
6637         * changes.h: ditto
6638         * lyxfunc.C: ditto
6639
6640 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6641
6642         * converter.[Ch]: split into itself +
6643         * graph.[Ch]
6644         * format.[Ch]
6645         * Makefile.am: += graph.[Ch] + format.[Ch]
6646         * MenuBackend.C
6647         * buffer.C
6648         * exporter.C
6649         * importer.C
6650         * lyx_main.C
6651         * lyxfunc.C
6652         * lyxrc.C: added #include "format.h"
6653
6654 2003-02-27  Angus Leeming  <leeming@lyx.org>
6655
6656         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6657           a label.
6658
6659         * factory.C (createInset): add "label" to the factory.
6660
6661         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6662           string and do no more.
6663
6664 2003-02-27  Angus Leeming  <leeming@lyx.org>
6665
6666         * commandtags.h:
6667         * LyXAction.C (init):
6668         * factory.C (createInset):
6669         * BufferView_pimpl.C (dispatch):
6670           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6671
6672         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6673
6674         * lyxfunc.C (dispatch):
6675         * text3.C (dispatch): pass name to params2string.
6676
6677 2003-02-26  Angus Leeming  <leeming@lyx.org>
6678
6679         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6680           blocks together.
6681           Rearrange the ~includes. Strip out the unnecessary ones.
6682
6683         * factory.C (createInset): reformat.
6684           create new insets for the various LFUN_XYZ_APPLY lfuns.
6685
6686 2003-02-26  John Levon  <levon@movementarian.org>
6687
6688         * lyxrow.h:
6689         * lyxrow.C: add isParStart,isParEnd helpers
6690
6691         * paragraph.h: make isInserted/DeletedText take refs
6692
6693         * paragraph_funcs.h:
6694         * paragraph_funcs.C: remove #if 0'd code
6695
6696         * lyxtext.h:
6697         * text3.C:
6698         * text2.C:
6699         * text.C: use lyxrow helpers above.
6700           Move draw and paint routines to RowPainter.
6701           Make several methods use refs not pointers.
6702           Make backgroundColor() const.
6703           Add markChangeInDraw(), isInInset().
6704           Merge changeRegionCase into changeCase.
6705           Make workWidth() shouldn't-happen code into an Assert.
6706
6707         * rowpainter.h:
6708         * rowpainter.C: new class for painting a row.
6709
6710         * vspace.h:
6711         * vspace.C: make inPixels take a ref
6712
6713 2003-02-26  Angus Leeming  <leeming@lyx.org>
6714
6715         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6716         LFUN_REF_APPLY.
6717
6718 2003-02-25  John Levon  <levon@movementarian.org>
6719
6720         * ispell.C: give the forked command a more accurate name
6721
6722 2003-02-22  John Levon  <levon@movementarian.org>
6723
6724         * toc.h:
6725         * toc.C: make TocItem store an id not a Paragraph *
6726           (bug #913)
6727
6728 2003-02-21  Angus Leeming  <leeming@lyx.org>
6729
6730         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6731           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6732           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6733           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6734           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6735           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6736
6737         * BufferView_pimpl.C (dispatch):
6738         * LyXAction.C (init):
6739         * factory.C (createInset):
6740         * lyxfunc.C (getStatus, dispatch):
6741         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6742
6743 2003-02-21  Angus Leeming  <leeming@lyx.org>
6744
6745         * BufferView_pimpl.C (MenuInsertLyXFile):
6746         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6747         * lyxfunc.C (menuNew, open, doImport):
6748           no longer pass a LyXView & to fileDlg.
6749
6750 2003-02-21  Angus Leeming  <leeming@lyx.org>
6751
6752         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6753         * LyXAction.C: change, BIBKEY to BIBITEM.
6754         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6755         Change InsetBibKey to InsetBibitem.
6756         Change BIBKEY_CODE to BIBITEM_CODE.
6757         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6758         * factory.C: replace insetbib.h with insetbibitem.h.
6759         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6760         * paragraph.C: replace insetbib.h with insetbibitem.h.
6761         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6762         Change bibkey() to bibitem().
6763         * text.C: remove insetbib.h.
6764         * text2.C: replace insetbib.h with insetbibitem.h.
6765         change bibkey() to bibitem().
6766         * text3.C: remove insetbib.h.
6767         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6768
6769 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6770
6771         * lyxrc.C (output): enclose user email in quotes (in case there are
6772         several words)
6773
6774 2003-02-18  John Levon  <levon@movementarian.org>
6775
6776         * buffer.h: add std::
6777
6778 2003-02-17  John Levon  <levon@movementarian.org>
6779
6780         * SpellBase.h:
6781         * ispell.h:
6782         * ispell.C:
6783         * pspell.h:
6784         * pspell.C: reworking. Especially in ispell, a large
6785           number of clean ups and bug fixes.
6786
6787         * lyxfunc.C: fix revert to behave sensibly
6788
6789 2003-02-17 André Pönitz <poenitz@gmx.net>
6790
6791         * LyXAction.C:
6792         * commandtags.h: new LFUN_INSERT_BIBKEY
6793
6794         * layout.h:
6795         * lyxlayout.C:
6796         * buffer.C:
6797         * factory.C:
6798         * text.C:
6799         * text2.C:
6800         * text3.C:
6801         * paragraph.[Ch]:
6802         * paragraph_func.C: remove special bibkey handling
6803
6804 2003-02-17  John Levon  <levon@movementarian.org>
6805
6806         * text.C (Delete): fix case where delete at the end of
6807           the very first paragraph would not merge the pars
6808
6809 2003-02-17  John Levon  <levon@movementarian.org>
6810
6811         * lyxrow.C: fix lastPrintablePos()
6812
6813 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6814
6815         * bufferparams.C (writeLaTeX): add a std:here
6816
6817         * buffer.C: and remove a using directive there
6818
6819 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6820
6821         * buffer.C (makeLaTeXFile): move the code that generates the
6822           preamble...
6823
6824         * bufferparams.C (writeLaTeX): ... in this new method
6825
6826         * LaTeXFeatures.C (getEncodingSet): make const
6827           (getLanguages): make const
6828
6829         * MenuBackend.C (binding): returns the binding associated to this
6830           action
6831           (add): sets the status of each item by calling getStatus. Adds
6832           some intelligence.
6833           (read): add support for OptSubMenu
6834           (expand): remove extra separator at the end of expanded menu
6835
6836 2003-02-15  John Levon  <levon@movementarian.org>
6837
6838         * BufferView.C:
6839         * BufferView_pimpl.C:
6840         * bufferlist.h:
6841         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6842           inset code that had no actual effect. Remove unneeded status
6843           code.
6844
6845 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6846
6847         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6848           in preamble
6849
6850 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6851
6852         * text.C (drawLengthMarker): also draw an arrow marker for
6853           symbolic lengths (medskip...)
6854
6855 2003-02-14  John Levon  <levon@movementarian.org>
6856
6857         * tabular.h:
6858         * tabular.C: better method names
6859
6860 2003-02-14  John Levon  <levon@movementarian.org>
6861
6862         * BufferView_pimpl.C:
6863         * bufferlist.C:
6864         * buffer.C:
6865         * converter.C:
6866         * lyx_cb.C:
6867         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6868           it's a more accurate name. Remove some pointless uses.
6869
6870 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6871
6872         * text2.C (LyXText): change order of initilizers to shut off
6873           warnings
6874
6875 2003-02-14  John Levon  <levon@movementarian.org>
6876
6877         * buffer.C: use ParIterator for getParFromID()
6878
6879         * paragraph.h:
6880         * paragraph.C:
6881         * paragraph_pimpl.h:
6882         * paragraph_pimpl.C: remove unused getParFromID()
6883
6884 2003-02-14  John Levon  <levon@movementarian.org>
6885
6886         * buffer.C: remove some very old #if 0'd parse code
6887
6888 2003-02-13  John Levon  <levon@movementarian.org>
6889
6890         * text.h:
6891         * text.C:
6892         * text2.C: move hfillExpansion(), numberOfSeparators(),
6893           rowLast(), rowLastPrintable(), numberofHfills(),
6894           numberOfLabelHfills() ...
6895
6896         * lyxrow.h:
6897         * lyxrow.C: ... to member functions here.
6898
6899         * paragraph.h:
6900         * paragraph.C:
6901         * lyxtext.h:
6902         * text.C: remove LyXText::beginningOfMainBody(), and call
6903           p->beginningOfMainBody() directly. Move the check for
6904           LABEL_MANUAL into the latter.
6905
6906         * text.h:
6907         * text.C:
6908         * text2.C:
6909         * vspace.C:
6910         * BufferView.h:
6911         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6912
6913         * text.h:
6914         * text.C:
6915         * text2.C:
6916         * text3.C:
6917         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6918           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6919
6920 2003-02-13  John Levon  <levon@movementarian.org>
6921
6922         * CutAndPaste.C: remove debug
6923
6924 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6925
6926         * paragraph.C (asString): remove two unused variables
6927
6928         * lyxtextclass.C (readTitleType):
6929           (Read):
6930           (LyXTextClass): handle new members titletype_ and titlename_
6931
6932         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6933
6934 2003-02-09  John Levon  <levon@movementarian.org>
6935
6936         * buffer.h:
6937         * buffer.C: replace hand-coded list with a map for the dep clean
6938
6939 2003-02-08  John Levon  <levon@movementarian.org>
6940
6941         * LaTeX.C: consolidate code into showRunMessage() helper
6942
6943 2003-02-08  John Levon  <levon@movementarian.org>
6944
6945         * lyxfind.C:
6946         * lyxtext.h:
6947         * text2.C:
6948         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6949           and pass the size in explicitly
6950
6951         * BufferView_pimpl.h:
6952         * BufferView_pimpl.C:
6953         * BufferView.h:
6954         * BufferView.C: add getCurrentChange()
6955
6956         * BufferView_pimpl.h:
6957         * BufferView_pimpl.C: handle change lfuns
6958
6959         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6960           for changes. Mark pasted paragraphs as new.
6961
6962         * support/lyxtime.h:
6963         * support/lyxtime.C:
6964         * DepTable.C: abstract time_t as lyx::time_type
6965
6966         * LColor.h:
6967         * LColor.C: add colours for new text, deleted text, changebars
6968
6969         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6970           package use "usenames" option.
6971
6972         * commandtags.h:
6973         * lyxfunc.C:
6974         * LyXAction.C: add change lfuns
6975
6976         * Makefile.am:
6977         * author.h:
6978         * author.C: author handling
6979
6980         * buffer.h:
6981         * buffer.C: add a per-buffer author list, with first entry as
6982           current author. Handle new .lyx tokens for change tracking. Output
6983           author list to .lyx file. Output dvipost stuff to .tex preamble.
6984           Bump lyx format to 222.
6985
6986         * bufferlist.h:
6987         * bufferlist.C: add setCurrentAuthor() to reset current author details
6988           in all buffers.
6989
6990         * bufferparams.h:
6991         * bufferparams.C: add param for tracking
6992
6993         * bufferview_funcs.C: output change info in minibuffer
6994
6995         * Makefile.am:
6996         * changes.h:
6997         * changes.C: add change-tracking structure
6998
6999         * debug.h:
7000         * debug.C: add CHANGES debug flag
7001
7002         * lyxfind.h:
7003         * lyxfind.C: add code for finding the next change piece
7004
7005         * lyxrc.h:
7006         * lyxrc.C: add user_name and user_email
7007
7008         * lyxrow.h:
7009         * lyxrow.C: add a metric for the top of the text line
7010
7011         * lyxtext.h:
7012         * text.C: implement accept/rejectChange()
7013
7014         * lyxtext.h:
7015         * text.C: paint changebars. Paint new/deleted text in the chosen
7016         colours. Strike through deleted text.
7017
7018         * paragraph.h:
7019         * paragraph.C:
7020         * paragraph_pimpl.h:
7021         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7022           in the current change to the insert functions. Rework erase to
7023           mark text as deleted, adding an eraseIntern() and a range-based
7024           erase(). Implement per-paragraph change lookup and
7025           accept/reject.
7026
7027         * paragraph_funcs.C: Fixup paste for change tracking.
7028
7029         * tabular.C: mark added row/columns as new.
7030
7031         * text.C: fix rowLast() to never return -1. Don't allow
7032           spellchecking of deleted text. Track transpose changes. Don't
7033           allow paragraph break or merge where appropriate.
7034
7035         * text2.C: leave cursor at end of selection after a cut.
7036
7037 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7038
7039         * text.C (getLengthMarkerHeight):
7040         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7041         visible on screen too.
7042
7043 2003-02-07  John Levon  <levon@movementarian.org>
7044
7045         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7046
7047 2003-02-05  Angus Leeming  <leeming@lyx.org>
7048
7049         * lyxserver.C (read_ready): revert my patch of 11 September last year
7050         as it sends PC cpu through the roof. Presumably this means that
7051         the lyxserver will no longer run on an Alpha...
7052
7053 2003-01-30  Angus Leeming  <leeming@lyx.org>
7054
7055         * factory.C (createInset): create an InsetCommandParam of type "index"
7056         and use it to 'do the right thing'.
7057
7058         * text2.C (getStringToIndex): ensure that cursor position is always
7059         reset to the reset_cursor position.
7060
7061 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7062
7063         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7064         disabled.
7065
7066 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7067
7068         * bufferview.C:
7069         * lyxcb.C:
7070         * lyxfunc.C: Output messages with identical spelling, punctuation,
7071         and spaces
7072
7073 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7074
7075         * MenuBackend.C (expandFormats): List only viewable export formats
7076         in "View" menu
7077
7078         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7079         message
7080
7081         * lyxfunc.C (getStatus): Make sure that formats other than
7082         "fax" can also be disabled
7083
7084 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7085
7086         * text3.C (dispatch): put the lfuns that insert insets in 3
7087         groups, and call doInsertInset with appropriate arguments.
7088         (doInsertInset): new function, that creates an inset and inserts
7089         it according to some boolean parameters.
7090
7091 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * buffer.C (readFile): remember to pass on 'par' when calling
7094         readFile recursively.
7095
7096 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7097
7098         * MenuBackend.C (expandFormats): add "..." to import formats.
7099
7100 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7101
7102         * paragraph.C (asString): Remove XForms RTL hacks.
7103
7104 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7105         * buffer.C: fix typo
7106
7107 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * Makefile.am (LIBS): delete var
7110         (lyx_LDADD): add @LIBS@ here instead.
7111
7112 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7113
7114         * Clarify the meaning of "wheel mouse jump"
7115
7116 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7119         tabular in a float
7120
7121 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7122
7123         * importer.C (Loaders): do not preallocate 3 elements in the
7124         vector, since one ends up with 6 elements otherwise
7125
7126 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7127
7128         * DepTable.C (write): write the file name as last element of the
7129         .dep file (because it may contain spaces)
7130         (read): read info in the right order
7131
7132 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7133
7134         * paragraph_pimpl.C (simpleTeXBlanks):
7135         (simpleTeXSpecialChars):
7136         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7137
7138         * tabular.C (latex): add some missing case statements. Reindent.
7139
7140         * MenuBackend.C (expandToc): remove unused variable.
7141
7142 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7143
7144         * LColor.C:
7145         * LaTeX.C:
7146         * LyXAction.C:
7147         * MenuBackend.C:
7148         * buffer.C:
7149         * exporter.C:
7150         * lyxfunc.C:
7151         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7152         and the like.
7153
7154 2003-01-05  John Levon  <levon@movementarian.org>
7155
7156         * BufferView.h:
7157         * BufferView.C: add getEncoding()
7158
7159         * kbsequence.h:
7160         * kbsequence.C: do not store last keypress
7161
7162         * lyxfunc.h:
7163         * lyxfunc.C: store last keypress here instead. Pass encoding
7164           to getISOEncoded()
7165
7166 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7167
7168         * lyx_main.C (init): remove annoying error message when following
7169         symbolic links (bug #780)
7170
7171 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7172
7173         * text.C (insertChar):
7174         * lyxrc.C (getDescription): remove extra spaces
7175
7176 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7177
7178         * lyxrc.C (getDescription): remove extra spaces
7179
7180 2002-12-20  John Levon  <levon@movementarian.org>
7181
7182         * text3.C: hack fix for page up/down across tall rows
7183
7184 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7185
7186         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7187         not been invoked
7188
7189 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7190
7191         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7192         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7193         thesaurus is not compiled in
7194
7195 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7196
7197         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7198
7199 2002-12-16  Angus Leeming  <leeming@lyx.org>
7200
7201         * lyxrc.[Ch]:
7202         * lyx_main.C (init): remove override_x_deadkeys stuff.
7203
7204 2002-12-12  John Levon  <levon@movementarian.org>
7205
7206         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7207           insert. Only remove shift modifier under strict
7208           circumstances.
7209
7210 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * MenuBackend.C (expandToc): fix crash.
7213
7214 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * MenuBackend.C (expandToc): gettext on float names.
7217
7218 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7219
7220         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7221         implement bool empty() [bug 490]
7222
7223 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7226
7227 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * several files: ws changes
7230
7231 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * text2.C (setCounter): clean up a bit, use boost.format.
7234         (updateCounters): initialize par upon declaration.
7235
7236         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7237         if the layout exists. We do not just store the layout any more.
7238         (SwitchLayoutsBetweenClasses): use boost.format
7239
7240 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7241
7242         * converter.C (convert): if from and to files are the same, use a
7243         temporary files as intermediary
7244
7245 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7246
7247         * commandtags.h:
7248         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7249
7250 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7251
7252         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7253
7254 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * tabular.C (asciiPrintCell): use string(size, char) instead of
7257         explicit loop.
7258
7259         * sgml.C (openTag): fix order of arguments to string constructor
7260         (closeTag): ditto
7261
7262         * lyxfunc.C (dispatch): use boost.format
7263
7264         * lots of files: change "c" -> 'c'
7265
7266 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7267
7268         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7269
7270 2002-11-25  Angus Leeming  <leeming@lyx.org>
7271
7272         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7273
7274         * lyx_main.C (init): compile fix.
7275
7276 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * lyx_cb.C (start): boost.formatify
7279         do not include <iostream>
7280
7281         * lengthcommon.C: ws only
7282
7283         * boost-inst.C,BoostFormat.h: add more explict instantations
7284
7285 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * lots of files: handle USE_BOOST_FORMAT
7288
7289 2002-11-21  John Levon  <levon@movementarian.org>
7290
7291         * pspell.C: fix compile
7292
7293 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7294
7295         * lyxfunc.C (dispatch): use boost::format
7296         (open): ditto
7297         (doImport): ditto
7298
7299         * lyxfont.C (stateText): use boost::format
7300
7301         * lyx_main.C (LyX): use boost::format
7302         (init): ditto
7303         (queryUserLyXDir): ditto
7304         (readRcFile): ditto
7305         (parse_dbg): ditto
7306         (typedef boost::function): use the recommened syntax.
7307
7308         * importer.C (Import): use boost::format
7309
7310         * debug.C (showLevel): use boost::format
7311
7312         * converter.C (view): use boost::format
7313         (convert): ditto
7314         (move): ditto
7315         (scanLog): ditto
7316
7317         * bufferview_funcs.C (currentState): use boost::format
7318
7319         * bufferlist.C (emergencyWrite): use boost::format
7320
7321         * buffer.C (readLyXformat2): use boost::format
7322         (parseSingleLyXformat2Token): ditto
7323
7324         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7325
7326         * LaTeX.C (run): use boost::format
7327
7328         * Chktex.C (scanLogFile): use boost::format
7329
7330         * BufferView_pimpl.C (savePosition): use boost::format
7331         (restorePosition): ditto
7332         (MenuInsertLyXFile): ditto
7333
7334         * BoostFormat.h: help file for explicit instation.
7335
7336 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7337
7338         * tabular.C (latex): Support for block alignment in fixed width
7339         columns.
7340
7341 2002-11-17  John Levon  <levon@movementarian.org>
7342
7343         * BufferView_pimpl.C:
7344         * lyx_cb.C:
7345         * lyxfunc.C: split filedialog into open/save
7346
7347 2002-11-08  Juergen Vigna  <jug@sad.it>
7348
7349         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7350         by my last patch (hopefully).
7351
7352 2002-11-08  John Levon  <levon@movementarian.org>
7353
7354         * iterators.h:
7355         * iterators.C:
7356         * buffer.h:
7357         * buffer.C:
7358         * paragraph.h:
7359         * paragraph.C:
7360         * toc.h:
7361         * toc.C: ParConstIterator, and use it (from Lars)
7362
7363 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7364
7365         * lyxtextclass.[Ch]: revise and add doxygen comments
7366
7367 2002-11-07  John Levon  <levon@movementarian.org>
7368
7369         * text.C: fix progress value for spellchecker
7370
7371         * toc.C: fix navigate menu for insetwrap inside minipage
7372
7373         * paragraph_funcs.C: added FIXME for suspect code
7374
7375 2002-11-07  John Levon  <levon@movementarian.org>
7376
7377         * BufferView_pimpl.C: fix redrawing of insets
7378           on buffer switch
7379
7380 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7381
7382         * text2.C (updateCounters): fix bug 668
7383
7384 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7385
7386         * text3.C (dispatch): Do not make the buffer dirty when moving the
7387         cursor.
7388
7389 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * vc-backend.C: STRCONV
7392         (scanMaster): ditto
7393
7394         * text2.C (setCounter): STRCONV
7395
7396         * paragraph.C (asString): STRCONV
7397
7398         * lyxlength.C (asString): STRCONV
7399         (asLatexString): ditto
7400
7401         * lyxgluelength.C (asString): STRCONV
7402         (asLatexString): ditto
7403
7404         * lyxfunc.C (dispatch): STRCONV
7405         (open): ditto
7406
7407         * lyxfont.C (stateText): STRCONV
7408
7409         * importer.C (Import): STRCONV
7410
7411         * counters.C (labelItem): STRCONV
7412         (numberLabel): ditto
7413         (numberLabel): remove unused ostringstream o
7414
7415         * chset.C: STRCONV
7416         (loadFile): ditto
7417
7418         * bufferview_funcs.C (currentState): STRCONV
7419
7420         * buffer.C (readFile): STRCONV
7421         (asciiParagraph): ditto
7422         (makeLaTeXFile): ditto
7423
7424         * Spacing.C (writeEnvirBegin): STRCONV
7425
7426         * LaTeXFeatures.C (getLanguages): STRCONV
7427         (getPackages): ditto
7428         (getMacros): ditto
7429         (getBabelOptions): ditto
7430         (getTClassPreamble): ditto
7431         (getLyXSGMLEntities): ditto
7432         (getIncludedFiles): ditto
7433
7434         * LaTeX.C: STRCONV
7435         (run): ditto
7436         (scanAuxFile): ditto
7437         (deplog): ditto
7438
7439         * LString.h: add the STRCONV macros
7440
7441         * BufferView_pimpl.C (savePosition): STRCONV
7442         (restorePosition): ditto
7443         (MenuInsertLyXFile): ditto
7444
7445         * vc-backend.C (scanMaster): change from submatch[...] to
7446         submatch.str(...)
7447
7448         * funcrequest.C: include config.h
7449
7450         * factory.C: include config.h
7451
7452         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7453
7454         * box.C: include config.h
7455
7456         * LaTeX.C (scanAuxFile): change from submatch[...] to
7457         submatch.str(...)
7458         (deplog): ditto
7459
7460 2002-10-25  Angus Leeming  <leeming@lyx.org>
7461
7462         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7463
7464         * ispell.[Ch] (setError): new method.
7465         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7466         Use setError() insetead of goto END.
7467
7468         * lyx_cb.C (AutoSave): move out child process into new class
7469         AutoSaveBuffer.
7470
7471 2002-10-30  John Levon  <levon@movementarian.org>
7472
7473         * text3.C: make start appendix undoable
7474
7475 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7476
7477         * lyxlength.C (inPixels): Fix returned value.
7478
7479         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7480         environment.
7481
7482 2002-10-24  Angus Leeming  <leeming@lyx.org>
7483
7484         * lyxgluelength.h: no need to forward declare BufferParams
7485         or BufferView, so don't.
7486
7487 2002-10-21  John Levon  <levon@movementarian.org>
7488
7489         * BufferView.C: menuUndo ->undo, redo
7490
7491         * BufferView.h: document, remove dead, make some methods private
7492
7493         * paragraph_funcs.h:
7494         * paragraph_funcs.C:
7495         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7496
7497         * buffer.h:
7498         * buffer.C:
7499         * sgml.h:
7500         * sgml.C: move sgml open/close tag into sgml.C
7501
7502         * bufferview_funcs.h: unused prototype
7503
7504         * lyxfunc.h:
7505         * lyxfunc.C: remove unused
7506
7507         * lyxtext.h:
7508         * text.C: remove unused
7509
7510 2002-10-21  John Levon  <levon@movementarian.org>
7511
7512         * BufferView.h:
7513         * BufferView.C:
7514         * BufferView_pimpl.h:
7515         * BufferView_pimpl.C: fix mouse wheel handling based on
7516           patch from Darren Freeman
7517
7518 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7519
7520         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7521
7522 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7523
7524         * lyxlength.C (inPixels): Fix hanfling of negative length.
7525         Fix LyXLength::MU case.
7526
7527 2002-10-16  John Levon  <levon@movementarian.org>
7528
7529         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7530
7531 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7532
7533         * converter.C (view): add support for $$i (file name) and $$p
7534         (file path) for the viewer command. If $$i is not specified, then
7535         it is appended to the command (for compatibility with old syntax)
7536
7537 2002-10-14  Juergen Vigna  <jug@sad.it>
7538
7539         * undo_funcs.C (textHandleUndo): alter the order in which the
7540         new undopar is added to the LyXText, as we have to set first
7541         the right prev/next and then add it as otherwise the rebuild of
7542         LyXText is not correct. Also reset the cursor to the right paragraph,
7543         with this IMO we could remove the hack in "redoParagraphs()".
7544
7545 2002-10-09  Angus Leeming  <leeming@lyx.org>
7546
7547         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7548         to turn off an optimisation if a new inset is to be inserted.
7549
7550 2002-10-11 André Pönitz <poenitz@gmx.net>
7551
7552         * lyxtext.h: make some functions public to allow access
7553         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7554
7555 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7556
7557         * text3.C (dispatch): when changing layout, avoid an infinite loop
7558         [bug #652]
7559
7560 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7561
7562         * lyxrc.C (read): treat a viewer or converter command of "none" as
7563         if it were empty.
7564
7565         * MenuBackend.C (expandFormats): for an update, also allow the
7566         formats that are not viewable
7567
7568         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7569         script if it is newer than the lyxrc.defaults in user directory
7570
7571 2002-10-07 André Pönitz <poenitz@gmx.net>
7572
7573         * text.C: Vitaly Lipatov's small i18n fix
7574
7575 2002-09-25  Angus Leeming  <leeming@lyx.org>
7576
7577         * ispell.h: doxygen fix.
7578
7579 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7580
7581         * buffer.h (readFile): Add a new argument to the method, to allow
7582         reading of old-format templates.
7583
7584 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7585
7586         * toc.C (getTocList): Get TOC from InsetWrap.
7587
7588 2002-09-16  John Levon  <levon@movementarian.org>
7589
7590         * lyxfunc.C: check tabular for cut/copy too
7591
7592 2002-09-12  John Levon  <levon@movementarian.org>
7593
7594         * LyXAction.C: tidy
7595
7596         * factory.h:
7597         * factory.C: add header
7598
7599         * paragraph_funcs.h:
7600         * paragraph_funcs.C: cleanup
7601
7602 2002-09-11  John Levon  <levon@movementarian.org>
7603
7604         * PrinterParams.h: odd/even default to true
7605
7606 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7607
7608         * PrinterParams.h: update printer parameters for new xforms dialog
7609
7610 2002-09-11  Angus Leeming  <leeming@lyx.org>
7611
7612         * lyxserver.C (read_ready): re-write to make it more transparent
7613         and to make it work in coherent fashion under Tru64 Unix.
7614
7615 2002-09-11  André Pönitz <poenitz@gmx.net>
7616
7617         * commandtags.h:
7618         * LyXAction.C:
7619         * text3.C: implement LFUN_WORDSEL
7620
7621 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7624         make floatlist_ a boost::shared_ptr<FloatList>
7625
7626         * lyxtextclass.C: include FloatList.h
7627         (LyXTextClass): initialize floatlist_
7628         (TextClassTags): add TC_NOFLOAT
7629         (Read): match "nofloat" to TC_NOFLOAT and use it.
7630         (readFloat): modify call to floatlist_
7631         (floats): ditto
7632         (floats): ditto
7633
7634         * FloatList.[Ch] (FloatList): remove commented out float
7635         initialization.
7636         (erase): new function
7637
7638 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7639
7640         * MenuBackend.C (expandToc): fix crash when there is no document
7641         open
7642
7643 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7644
7645         * many files: Add insetwrap.
7646
7647 2002-09-09  John Levon  <levon@movementarian.org>
7648
7649         * text2.C: remove confusing and awkward depth wraparound
7650
7651 2002-09-09  John Levon  <levon@movementarian.org>
7652
7653         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7654
7655         * buffer.h:
7656         * buffer.C: remove getIncludeonlyList()
7657
7658         * paragraph.C:
7659         * lyxfunc.C: remove headers
7660
7661 2002-09-09  Juergen Vigna  <jug@sad.it>
7662
7663         * text.C (getColumnNearX): fix form Michael this is most
7664         probably a cut&paste bug.
7665
7666 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7669
7670         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7671         references, ws changes.
7672
7673         * text2.C (init): update counters after init
7674         (insertParagraph): no need to set counter on idividual paragraphs.
7675         (setCounter): access the counters object in the textclass object
7676         on in the buffer object.
7677         (updateCounters): ditto
7678
7679         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7680         shared_ptr<Counters> to avoid loading counters.h in all
7681         compilation units.
7682         (LyXTextClass): initialize ctrs_
7683         (TextClassTags): add TC_COUNTER, and ...
7684         (Read): use it here.
7685         (CounterTags): new tags
7686         (readCounter): new function
7687         (counters): new funtion
7688         (defaultLayoutName): return a const reference
7689
7690         * counters.C (Counters): remove contructor
7691         (newCounter): remove a couple of unneeded statements.
7692         (newCounter): simplify a bit.
7693         (numberLabel): some small formatting changes.
7694
7695         * buffer.[Ch]: remove all traces of counters, move the Counters
7696         object to the LyXTextClass.
7697
7698 2002-09-06  Alain Castera  <castera@in2p3.fr>
7699
7700         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7701         package to set the horizontal alignment on fixed width columns.
7702
7703         * lyx_sty.C:
7704         * lyx_sty.h: added tabularnewline macro def.
7705
7706         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7707
7708 2002-09-06  John Levon  <levon@movementarian.org>
7709
7710         * LyXAction.C: tooltips for sub/superscript
7711
7712         * MenuBackend.C: a bit more verbose
7713
7714         * lyxfunc.C: tiny clean
7715
7716         * undo_funcs.C: document undo_frozen
7717
7718 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7719
7720         * counters.C (Counters): add missing algorithm counter.
7721
7722         * text2.C (setCounter): lookup the counter with layouts latexname
7723         instead of by section number.
7724         (setCounter): use a hackish way to lookup the correct enum
7725         counter.
7726         a float name->type change
7727         reset enum couners with counter name directly instead of depth value.
7728
7729         * counters.C (Counters): remove the push_backs, change to use the
7730         float type not the float name.
7731         (labelItem): remove unused string, float name->type change
7732
7733         * counters.h: don't include vector, loose the enums and sects vectors
7734
7735 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7738         (Read): add float->TC_FLOAT to textclassTags
7739         (Read): and handle it in the switch
7740         (readFloat): new function
7741
7742         * FloatList.C (FloatList): comment out the hardcoded float
7743         definitions.
7744
7745         * lyxlayout.h: ws change.
7746
7747 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7748
7749         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7750
7751 2002-09-03  Angus Leeming  <leeming@lyx.org>
7752
7753         * BufferView_pimpl.h: qualified name is not allowed in member
7754         declaration: WorkArea & Pimpl::workarea() const;
7755
7756         * factory.C: added using std::endl directive.
7757
7758         * text3.C: added using std::find and std::vector directives.
7759
7760 2002-08-29  André Pönitz <poenitz@gmx.net>
7761
7762         * lyxtext.h:
7763         * text2.C: remove unused member number_of_rows
7764
7765         * Makefile.am:
7766         * BufferView2.C: remove file, move contents to...
7767         * BufferView.C: ... here
7768
7769         * BufferView_pimpl.C:
7770         * factory.C: move more inset creation to factory
7771
7772         * vspace.C: avoid direct usage of LyXText, ws changes
7773
7774         * BufferView.[Ch]:
7775                 don't provide direct access to WorkArea, use two simple
7776                 acessors haveSelction() and workHeight() instead
7777
7778
7779 2002-08-29  John Levon  <levon@movementarian.org>
7780
7781         * BufferView_pimpl.C (dispatch): do not continue when
7782           no buffer
7783
7784 2002-08-28  André Pönitz <poenitz@gmx.net>
7785
7786         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7787
7788         * BufferView.h:
7789         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7790
7791 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7792
7793         * buffer.C: increment LYX_FORMAT to 221
7794
7795         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7796         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7797
7798         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7799
7800         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7801
7802 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * factory.C (createInset): use LyXTextClass::floats
7805
7806         * MenuBackend.C (expandFloatListInsert):
7807         (expandFloatInsert):
7808         (expandToc):
7809
7810         * text2.C (setCounter):
7811
7812         * LaTeXFeatures.C (useFloat):
7813         (getFloatDefinitions):
7814
7815         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7816
7817         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7818         floatlist_, with accessor floats().
7819
7820         * FloatList.h: remove global FloatList
7821
7822 2002-08-26  André Pönitz <poenitz@gmx.net>
7823
7824         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7825
7826         * BufferView.h:
7827         * BufferView2.C:
7828         * BufferView_pimpl.C:
7829         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7830
7831 2002-08-25  John Levon  <levon@movementarian.org>
7832
7833         * LyXAction.C: fix margin note description
7834
7835 2002-08-24  John Levon  <levon@movementarian.org>
7836
7837         * buffer.C:
7838         * bufferlist.C:
7839         * bufferview_funcs.C:
7840         * lyxfont.C:
7841         * undo_funcs.C: cleanups
7842
7843         * lyxfunc.C: disable CUT/COPY when no selection
7844
7845 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7846
7847         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7848         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7849
7850         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7851         Add backward compatibility to "mono", "gray" and "no".
7852
7853 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7854
7855         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7856         (and file_format >= 200).
7857
7858 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7859
7860         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7861
7862 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7863
7864         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7865
7866 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7867
7868         * BufferView_pimpl.C:
7869         * LyXAction.C:
7870         * buffer.C:
7871         * commandtags.h:
7872         * lyxfunc.C:
7873         * paragraph.[Ch]:
7874         * text2.C:
7875         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7876         inset and code to make it  work with the paragraph code. The inset
7877         can be anywhere in the paragraph, but will only do the expected
7878         thing in LaTeX if the layout file contains the parameter line
7879                         OptionalArgs    1
7880         (or more generally, a nonzero value) for that layout.
7881
7882 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * paragraph.h: remove the declaration of undefined counters class
7885         function.
7886
7887 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7888
7889         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7890         Dr. Richard Hawkins.
7891
7892 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7893
7894         * paragraph_funcs.h: remove some unneeded includes
7895
7896         * text.C (backspace): pasteParagraph now in global scipe
7897
7898         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7899         (pasteSelection): ditto
7900
7901         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7902         * paragraph_funcs.C (pasteParagraph): ... here
7903
7904 2002-08-20  André Pönitz <poenitz@gmx.net>
7905
7906         * commandtags.h: new LFUNs for swapping/copying table row/colums
7907
7908         * LyXAction.C:
7909         * lyxfunc.C: support for new lfuns
7910
7911 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * tabular.C:
7914         * buffer.[Ch]: remove NO_COMPABILITY stuff
7915
7916 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * boost.C (throw_exception): new file, with helper function for
7919         boost compiled without exceptions.
7920
7921         * paragraph.h:
7922         * lyxlength.C:
7923         * buffer.C:
7924         * ParameterStruct.h:
7925         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7926
7927         * bufferlist.C (emergencyWriteAll): use boost bind
7928
7929         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7930
7931         * text.C: include paragraph_funcs.h
7932         (breakParagraph): breakParagraph is now in global scope
7933
7934         * paragraph_funcs.[Ch]: new files
7935
7936         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7937         global scope
7938
7939         * buffer.C: include paragraph_funcs.h
7940         (insertStringAsLines): breakParagraph is now in global scope
7941
7942         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7943         paragraph_funcs.C
7944
7945         * CutAndPaste.C: include paragraph_funcs.h
7946         (cutSelection): breakParagraphConservative is now in global scope
7947         (pasteSelection): ditto
7948
7949         * buffer.h: declare oprator== and operator!= for
7950         Buffer::inset_iterator
7951
7952         * bufferlist.C (emergencyWrite): don't use fmt(...)
7953
7954         * text3.C: add using std::endl
7955
7956         * BufferView.C (moveCursorUpdate): remove default arg
7957
7958 2002-08-20  André Pönitz <poenitz@gmx.net>
7959
7960         * buffer.[Ch]: move inline functions to .C
7961
7962         * BufferView2.C:
7963         * BufferView_pimpl.C:
7964         * text.C:
7965         * buffer.[Ch]: use improved inset_iterator
7966
7967         * buffer.C:
7968         * paragraph.[Ch]: write one paragraph at a time
7969
7970 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7971
7972         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7973         style if style is not specified.
7974
7975 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7976
7977         * text2.C (setCounter): when searching for right label for a
7978         caption, make sure to recurse to parent insets (so that a caption
7979         in a minipage in a figure float works) (bug #568)
7980
7981 2002-08-20  André Pönitz <poenitz@gmx.net>
7982
7983         * text3.C: new file for LyXText::dispatch() and helpers
7984
7985         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7986
7987         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7988
7989 2002-08-19  André Pönitz <poenitz@gmx.net>
7990
7991         * lyxtext.h:
7992         * text.C: new LyXText::dispatch()
7993
7994         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7995
7996 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7997
7998         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7999
8000         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8001         Hebrew text.
8002
8003 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8004
8005         * Makefile.am: use $(variables) instead of @substitutions@
8006
8007 2002-08-15  André Pönitz <poenitz@gmx.net>
8008
8009         * lyxfunc.C:
8010         * BufferView_pimpl.C: streamlining mathed <-> outer world
8011         interaction
8012
8013         * commandtags.h:
8014         * LyXAction.C: remove unused LFUN_MATH
8015
8016 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8019
8020 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * paragraph.C (Paragraph): reformat a bit
8023         (cutIntoMinibuffer): use builtin InsetList function instad of
8024         doing it manually.
8025         (getInset): ditto
8026
8027         * buffer.C: include boost/bind.hpp, add using std::for_each
8028         (writeFileAscii): use ParagraphList iterators
8029         (validate): use for_each for validate traversal of paragraphs
8030         (getBibkeyList): use ParagraphList iterators
8031         (resizeInsets): use for_each to resizeInsetsLyXText for all
8032         paragraphs.
8033         (getParFromID): use ParagraphList iterators
8034
8035         * BufferView2.C (lockInset): use paragraph list and iterators
8036
8037 2002-08-14  John Levon  <levon@movementarian.org>
8038
8039         * lyxserver.C: remove spurious xforms include
8040
8041 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8044
8045 2002-08-13  André Pönitz <poenitz@gmx.net>
8046
8047         * LyXAction.[Ch]:
8048         * lyxfunc.C: further cleaning
8049
8050 2002-08-13  André Pönitz <poenitz@gmx.net>
8051
8052         * funcrequest.h: new constructor
8053
8054         * funcrequest.C: move stuff here from .h
8055
8056         * Makefile.am:
8057         * BufferView_pimpl.C:
8058         * LyXAction.C:
8059         * toc.C:
8060         * lyxfunc.C: subsequent changes
8061
8062         * lyxfunc.h: new view() member function
8063
8064         * lyxfunc.C: subsequent changes
8065
8066 2002-08-13  Angus Leeming  <leeming@lyx.org>
8067
8068         * BufferView2.C:
8069         * BufferView_pimpl.C:
8070         * buffer.C:
8071         * converter.C:
8072         * importer.C:
8073         * lyxfunc.C:
8074         * lyxvc.C:
8075         * toc.C:
8076         * vc-backend.C:
8077         changes due to the changed LyXView interface that now returns references
8078         to member variables not pointers.
8079
8080 2002-08-13  Angus Leeming  <leeming@lyx.org>
8081
8082         * WordLangTuple (word, lang_code): return references to strings,
8083         not strings.
8084
8085         * BufferView.h:
8086         * SpellBase.h:
8087         * lyxtext.h: forward-declare WordLangTuple.
8088
8089         * BufferView2.C:
8090         * ispell.C:
8091         * pspell.C:
8092         * text.C: #include "WordLangTuple.h".
8093
8094         * lyxtext.h:
8095         * text.C: (selectNextWordToSpellcheck): constify return type.
8096
8097 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8098
8099         * buffer.C:
8100         * buffer.h:
8101         * lyxtext.h:
8102         * paragraph.C:
8103         * paragraph_pimpl.h:
8104         * text.C:
8105         * text2.C:
8106         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8107         suggested by Angus.
8108         Made updateCounter always count from start of buffer, and removed
8109         second argument (par).
8110         Reverted floats number display to '#'. Perhaps I'll try again when the
8111         code base is sanitized a bit.
8112
8113 2002-08-12  Angus Leeming  <leeming@lyx.org>
8114
8115         * buffer.[Ch] (getLabelList): constify.
8116
8117 2002-08-07  André Pönitz <poenitz@gmx.net>
8118
8119         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8120
8121         * funcrequest.h: extension to keep mouse (x,y) position
8122
8123 2002-08-12  Juergen Vigna  <jug@sad.it>
8124
8125         * BufferView2.C (insertErrors): forbid undo when inserting error
8126         insets.
8127
8128         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8129
8130 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * ParagraphList.[Ch]: new files
8133
8134         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8135
8136         * BufferView2.C (lockInset): ParagraphList changes
8137         * toc.C: ditto
8138         * text2.C: ditto
8139         * bufferlist.C: ditto
8140         * buffer.h: ditto
8141         * buffer.C: ditto
8142
8143 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8146         unused class variable counter_,
8147
8148         * paragraph.[Ch] (getFirstCounter): delete unused function
8149
8150         * counters.C: include LAssert.h
8151         (reset): add a new function with no arg, change other version to
8152         not have def. arg and to not allow empty arg.
8153
8154         * text2.C (setCounter): remove empty arg from call to Counters::reset
8155
8156 2002-08-11  John Levon  <levon@movementarian.org>
8157
8158         * Makefile.am: add WordLangTuple.h
8159
8160 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8161
8162         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8163         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8164
8165         * insets/insettext.C: InsetList changes
8166
8167         * graphics/GraphicsSupport.C (operator()): InsetList changes
8168
8169         * toc.C (getTocList): InsetList changes
8170
8171         * paragraph_pimpl.[Ch]: InsetList changes
8172
8173         * paragraph.[Ch]: InsetList changes
8174
8175         * buffer.C (inset_iterator): InsetList changes
8176         (setParagraph): ditto
8177         * buffer.h (inset_iterator): ditto
8178         * iterators.C (operator++): ditto
8179         * iterators.h: ditto
8180
8181         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8182
8183         * InsetList.[Ch]: new files, most InsetList handling moved out of
8184         paragraph.C.
8185
8186         * BufferView2.C (removeAutoInsets): InsetList changes
8187         (lockInset): ditto
8188         (ChangeInsets): ditto
8189
8190 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * paragraph_pimpl.h (empty): new function
8193
8194         * paragraph.[Ch] (empty): new function
8195
8196         * other files: use the new Paragraph::empty function
8197
8198 2002-08-09  John Levon  <levon@movementarian.org>
8199
8200         * lyxtext.h: remove unused refresh_height
8201
8202 2002-08-09  John Levon  <levon@movementarian.org>
8203
8204         * Makefile.am:
8205         * sgml.h:
8206         * sgml.C:
8207         * buffer.C:
8208         * paragraph.h:
8209         * paragraph.C: move sgml char escaping out of paragraph
8210
8211         * paragraph.h:
8212         * paragraph.C: remove id setter
8213
8214         * buffer.C:
8215         * paragraph.C:
8216         * paragraph_pimpl.C: remove dead tex_code_break_column
8217
8218         * bufferview_funcs.C: small cleanup
8219
8220         * lyxfunc.C: remove dead proto
8221
8222         * lyxtext.h: make some stuff private. Remove some dead stuff.
8223
8224         * lyxgluelength.C: make as[LyX]String() readable
8225
8226 2002-08-08  John Levon  <levon@movementarian.org>
8227
8228         * LyXAction.h:
8229         * LyXAction.C:
8230         * MenuBackend.C:
8231         * ToolbarDefaults.C:
8232         * lyxfunc.C:
8233         * lyxrc.C:
8234         * toc.C: lyxaction cleanup
8235
8236 2002-08-08  John Levon  <levon@movementarian.org>
8237
8238         * BufferView2.C: small cleanup
8239
8240         * lyxfind.h:
8241         * lyxfind.C: move unnecessary header into the .C
8242
8243 2002-08-08  John Levon  <levon@movementarian.org>
8244
8245         * funcrequest.h: just tedious nonsense
8246
8247         * lyx_main.h:
8248         * lyx_main.C: cleanups
8249
8250         * buffer.C:
8251         * vspace.C: remove dead header lyx_main.h
8252
8253 2002-08-07  Angus Leeming  <leeming@lyx.org>
8254
8255         * Paragraph.[Ch]:
8256         * paragraph_pimpl.h:
8257         Forward declare class Counters in paragraph.h by moving the ctrs member
8258         variable into Paragraph::Pimpl.
8259         (counters): new method, returning a reference to pimpl_->ctrs.
8260
8261         * text2.C: ensuing changes.
8262
8263 2002-08-07  John Levon  <levon@movementarian.org>
8264
8265         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8266
8267         * BufferView_pimpl.C: announce X selection on double/triple
8268           click
8269
8270         * lyx_main.C: use correct bool in batch dispatch
8271
8272         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8273
8274 2002-08-07  André Pönitz <poenitz@gmx.net>
8275
8276         * funcrequest.h: new class to wrap a kb_action and its argument
8277
8278         * BufferView.[Ch]:
8279         * BufferView_pimpl[Ch]:
8280         * LaTeX.C:
8281         * LyXAction.[Ch]:
8282         * lyxfunc.[Ch]:
8283         * lyxrc.C: subsequent changes
8284
8285
8286 2002-08-07  John Levon  <levon@movementarian.org>
8287
8288         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8289           document options change.
8290
8291 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8292
8293         * counters.[Ch]
8294         * text2.C
8295         * paragraph.[Ch]
8296         * makefile.am: move counters functionality over from
8297         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8298
8299 2002-08-06  John Levon  <levon@movementarian.org>
8300
8301         * WordLangTuple.h: new file for word + language code tuple
8302
8303         * SpellBase.h:
8304         * pspell.h:
8305         * pspell.C:
8306         * ispell.h:
8307         * ispell.C:
8308         * lyxtext.h:
8309         * text.C:
8310         * text2.C:
8311         * BufferView.h:
8312         * BufferView2.C: use WordLangTuple
8313
8314         * layout.h:
8315         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8316
8317 2002-08-06  John Levon  <levon@movementarian.org>
8318
8319         * lyx_main.C: fix cmdline batch handling
8320
8321 2002-08-06  André Pönitz <poenitz@gmx.net>
8322
8323         * lyxrc.C: set default for show_banner to true
8324
8325 2002-08-06  John Levon  <levon@movementarian.org>
8326
8327         * pspell.C: fix a crash, and allow new aspell to work
8328
8329 2002-08-06  John Levon  <levon@movementarian.org>
8330
8331         * lyxfunc.C:
8332         * kbmap.C: small cleanup
8333
8334         * vspace.h:
8335         * vspace.C: add const
8336
8337 2002-08-05  John Levon  <levon@movementarian.org>
8338
8339         * LyXAction.C: back to tabular-insert
8340
8341 2002-08-04  John Levon  <levon@movementarian.org>
8342
8343         * BufferView.h:
8344         * BufferView.C: cosmetic change
8345
8346         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8347
8348         * bufferlist.C:
8349         * buffer.h:
8350         * buffer.C:
8351         * lyxcb.h:
8352         * lyxcb.C:
8353         * lyxserver.C:
8354         * lyxvc.C:
8355         * vc-backend.C:
8356         * BufferView2.C: purge all "Lyx" not "LyX" strings
8357
8358         * lyxcursor.h:
8359         * lyxcursor.C: attempt to add some documentation
8360
8361         * lyxfunc.C:
8362         * commandtags.h:
8363         * LyXAction.C:
8364         * ToolbarDefaults.C:
8365         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8366           merge with LFUN_TABULAR_INSERT
8367
8368         * Makefile.am:
8369         * SpellBase.h:
8370         * ispell.h:
8371         * ispell.C:
8372         * pspell.h:
8373         * pspell.C: split up i/pspell implementations into separate
8374           files, many cleanups
8375
8376         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8377
8378         * text2.C: some cleanup
8379
8380         * lyxfunc.C: don't check for isp_command == "none" any more, it
8381           didn't make any sense
8382
8383 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8384
8385         * counters.[Ch]
8386         * text2.C
8387         * paragraph.[Ch]
8388         * makefile.am: move counters functionality over
8389         from text2.C/paragraph.[Ch] to counters.[Ch], and
8390         make proper C++.
8391 2002-08-02  John Levon  <levon@movementarian.org>
8392
8393         * buffer.C: s/lyxconvert/lyx2lyx/
8394
8395 2002-08-02  Angus Leeming  <leeming@lyx.org>
8396
8397         * lyxlex.C: revert John's change as it breaks reading of the user
8398         preamble.
8399
8400 2002-08-02  Angus Leeming  <leeming@lyx.org>
8401
8402         * importer.C (Import):
8403         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8404         changes due to LyXView::view() now returning a boost::shared_ptr.
8405
8406 2002-08-02  John Levon  <levon@movementarian.org>
8407
8408         * lyxlex.C: small cleanup
8409
8410 2002-08-02  John Levon  <levon@movementarian.org>
8411
8412         * text2.C (status): small cleanup, no logic change
8413
8414 2002-08-01  John Levon  <levon@movementarian.org>
8415
8416         * buffer.h:
8417         * buffer.C (writeFile): don't output alerts, caller
8418           handles this
8419
8420         * bufferlist.C:
8421         * lyx_cb.C: from above
8422
8423         * lyxfunc.C: allow to open non-existent files
8424
8425 2002-07-31  John Levon  <levon@movementarian.org>
8426
8427         * lyxserver.C: don't let incidental errors get
8428           in the way (errno)
8429
8430 2002-07-30  John Levon  <levon@movementarian.org>
8431
8432         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8433
8434 2002-07-30  John Levon  <levon@movementarian.org>
8435
8436         * lyxserver.h:
8437         * lyxserver.C: remove I/O callback too
8438
8439 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8442         log.
8443
8444 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * many files: strip,frontStrip -> trim,ltrim,rtrim
8447
8448 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * PrinterParams.h: remove extern containsOnly, and include
8451         support/lstrings.h instead.
8452
8453         * LaTeX.C (scanAuxFile): modify because of strip changes
8454         (deplog): ditto
8455         * buffer.C (makeLaTeXFile): ditto
8456         * bufferparams.C (writeFile): ditt
8457         * lyxfont.C (stateText): ditto
8458         * lyxserver.C (read_ready): ditto
8459         * vc-backend.C (scanMaster): ditto
8460
8461         * BufferView_pimpl.h: ws changes
8462
8463         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8464
8465 2002-07-26  André Pönitz <poenitz@gmx.net>
8466
8467         * kb_sequence.C: remove unnedred usings
8468
8469 2002-07-26  Juergen Vigna  <jug@sad.it>
8470
8471         * lyxfind.C (LyXReplace): we have to check better if the returned
8472         text is not of theLockingInset()->getLockingInset().
8473
8474 2002-07-25  Juergen Vigna  <jug@sad.it>
8475
8476         * lyxfind.C (LyXReplace): don't replace if we don't get the
8477         right LyXText.
8478
8479         * undo_funcs.C (createUndo): remove debugging code.
8480
8481 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8482
8483         * buffer.C (parseSingleLyXformat2Token): Use default placement
8484         when reading old floats.
8485
8486         * FloatList.C (FloatList): Change the default placement of figure
8487         and tables to "tbp".
8488
8489 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * MenuBackend.C: using std::max
8492
8493 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8494
8495         * MenuBackend.C (expandToc):
8496         (expandToc2): code moved from xforms menu frontend. It is now
8497         generic and TOCs are transparent to menu frontends.
8498
8499 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8500
8501         * toc.C (getTocList): protect against buf=0
8502
8503         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8504         Menu as first parameter. Now, this calls itself recursively to
8505         expand a whole tree (this will be useful for TOC handling)
8506         (expandFloatInsert): remove 'wide' version of floats
8507
8508         * MenuBackend.h (submenuname): returns the name of the submenu.
8509         (submenu): returns the submenu itself, provided it has been
8510         created by MenuBackend::expand
8511
8512 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8515         insets which have noFontChange == true. (bug #172)
8516
8517 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * BufferView_pimpl.C: add connection objects and use them...
8520         (Pimpl): here.
8521
8522 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8523
8524         * MenuBackend.C (expandLastfiles):
8525         (expandDocuments):
8526         (expandFormats):
8527         (expandFloatListInsert):
8528         (expandFloatInsert):
8529         (expand): split expand in parts
8530
8531 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8532
8533         * lyx_gui.C: use lyx_gui::exit()
8534
8535 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8536
8537         * LyXAction.C: show the failing pseudo action
8538
8539 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8540
8541         * buffer.C (readFile): Run the lyxconvert script in order to read
8542         old files.
8543
8544 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8545
8546         * LyXAction.C:
8547         * commandtags.h:
8548         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8549
8550 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8551
8552         * LyXAction.C:
8553         * commandtags.h:
8554         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8555
8556 2002-07-22  Herbert Voss  <voss@lyx.org>
8557
8558         * lengthcommon.C:
8559         * lyxlength.[Ch]: add support for the vertical lengths
8560
8561 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8562
8563         * toc.[Ch]: std:: fixes
8564
8565 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * lyxrc.C: do not include lyx_main.h
8568
8569         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8570         for layouts
8571
8572         * lyxrc.C:
8573         * encoding.C:
8574         * bufferlist.C:
8575         * BufferView2.C: include "lyxlex.h"
8576
8577         * tabular.h:
8578         * bufferparams.h: do not #include "lyxlex.h"
8579
8580         * lyxtextclasslist.C (Add): remove method
8581         (classlist): renamed to classlist_
8582
8583         * paragraph_pimpl.C:
8584         * paragraph.C:
8585         * text2.C:
8586         * CutAndPaste.C:
8587         * bufferview_funcs.C:
8588         * bufferlist.C:
8589         * text.C:
8590         * LaTeXFeatures.C:
8591         * buffer.C:
8592         * toc.C (getTocList): use BufferParams::getLyXTextClass
8593
8594         * toc.C (getTocList): use InsetFloat::addToToc
8595
8596         * toc.[Ch]: new files, containing helper functions to handle table
8597         of contents
8598
8599         * lyxfunc.C (dispatch): no need to remove spaces around command
8600         given as a string
8601         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8602         first command of the sequence; it is not very clever, but I do not
8603         have a better idea, actually
8604
8605         * LyXAction.C (LookupFunc): make sure to remove space at the
8606         beginning and end of the command
8607
8608 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8609
8610         * MenuBackend.C (getMenubar): new method: return the menubar of
8611         this menu set
8612         (read): treat differently reading of menu and menubar (in
8613         particular, the menubar has no name now)
8614         (Menu::menubar): remove
8615
8616         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8617         saving is finished
8618
8619 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8620
8621         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8622         a bibitem inset in a RTL paragraph.
8623
8624 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * paragraph_pimpl.C: constify
8627
8628         * BufferView_pimpl.C:
8629         * LaTeX.C:
8630         * lyxfunc.C: fix dispatch in a nicer way
8631
8632 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * lyxfunc.C (dispatch):
8635         * BufferView_pimpl.C:
8636         * BufferView_pimpl.h:
8637         * BufferView.C:
8638         * BufferView.h: rename Dispatch() to dispatch()
8639
8640         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8641
8642         * lyxlayout.C (Read): honor DependsOn tag
8643
8644         * lyxlayout.[Ch] (depends_on): new method
8645
8646         * version.C.in: update lyx_docversion
8647
8648         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8649
8650         * paragraph.C (validate): remove from here...
8651         * paragraph_pimpl.C (validate): ... and move here
8652         (isTextAt): make it const
8653
8654         * buffer.C (getLists): ws cleanup
8655
8656 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8657
8658         * language.C (read): Use iso8859-1 encoding in latex_lang
8659         (this prevents LyX from crashing when using iso10646-1 encoding).
8660
8661 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8662
8663         * text2.C (toggleInset): if cursor is inside an inset, close the
8664         inset and leave cursor _after_ it
8665
8666 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8667
8668         * lyxfunc.C: move minibuffer completion handling out of here
8669
8670 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8671
8672         * BufferView_pimpl.C:
8673         * LaTeX.C: fix dispatch calls
8674
8675 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8676
8677         * text.C (drawChars): Fix Arabic text rendering.
8678
8679 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8680
8681         * LyXAction.C:
8682         * commandtags.h:
8683         * lyxfunc.C: remove message-push/pop
8684
8685         * lyxserver.C:
8686         * lyxfunc.h:
8687         * lyxfunc.C: rationalise some code by removing verboseDispatch
8688           in favour of a bool argument to dispatch()
8689
8690 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8691
8692         * lyx_main.C (init): make sure to read symlinks as absolute paths
8693
8694 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8695
8696         * lyxfunc.h:
8697         * lyxfunc.C: no need for commandshortcut to be a member
8698
8699 2002-07-15  André Pönitz <poenitz@gmx.net>
8700
8701         * converter.C: add support for $$s (scripts from lib/scripts dir)
8702         * lyx_main.C: white space
8703
8704 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * bufferlist.C:
8707         * lyxrc.h:
8708         * lyxrc.C: remove second exit confirmation
8709
8710 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * BufferView.h:
8713         * BufferView.C:
8714         * BufferView2.C:
8715         * BufferView_pimpl.h:
8716         * BufferView_pimpl.C:
8717         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8718
8719 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * MenuBackend.C (expand): add numeric shortcuts to document menu
8722
8723         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8724
8725 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8726
8727         * lyxfont.C (setLyXFamily):
8728         (setLyXSeries):
8729         (setLyXShape):
8730         (setLyXSize):
8731         (setLyXMisc):
8732         (lyxRead):
8733         * debug.C (value):
8734         * buffer.C (asciiParagraph): use ascii_lowercase
8735
8736 2002-07-15  Mike Fabian  <mfabian@suse.de>
8737
8738         * lyxlex_pimpl.C (search_kw):
8739         * lyxlex.C (getLongString):
8740         * converter.h (operator<):
8741         * converter.C (operator<):
8742         * buffer.C (parseSingleLyXformat2Token):
8743         (asciiParagraph):
8744         * ToolbarDefaults.C (read):
8745         * MenuBackend.C (checkShortcuts):
8746         (read):
8747         * LColor.C (getFromGUIName):
8748         (getFromLyXName): use the compare_ascii_no_case instead of
8749         compare_no_case, because in turkish, 'i' is not the lowercase
8750         version of 'I', and thus turkish locale breaks parsing of tags.
8751
8752 2002-07-16  Angus Leeming  <leeming@lyx.org>
8753
8754         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8755         now takes a Buffer const & argument.
8756
8757 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * BufferView.C (resize): check there's a buffer to resize
8760
8761 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * lyxfunc.C: remove dead code
8764
8765         * lyxserver.h:
8766         * lyxserver.C: use lyx_guii::set_read_callback
8767
8768 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8769
8770         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8771         an inset in a RTL paragraph.
8772
8773 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8774
8775         * lyxfunc.C: repaint after a font size update
8776
8777 2002-07-15  André Pönitz <poenitz@gmx.net>
8778
8779         * lyxlength.C: inBP should be able to return negative values
8780
8781 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * lyxfunc.C: use lyx_gui::update_fonts()
8784
8785 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8786
8787         * lyxfunc.C: use lyx_gui::update_color()
8788
8789 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * bufferlist.C:
8792         * lyxfunc.h:
8793         * lyxfunc.C:
8794         * lyxrc.h:
8795         * lyxrc.C: remove file->new asks for name option, and let
8796           buffer-new take an argument
8797
8798 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * BufferView_pimpl.C: remove unneeded extra repaint()
8801
8802 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * LyXAction.C: allow command-sequence with NoBuffer
8805
8806         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8807
8808 2002-07-10  Angus Leeming  <leeming@lyx.org>
8809
8810         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8811
8812 2002-07-09  Angus Leeming  <leeming@lyx.org>
8813
8814         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8815
8816 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * lengthcommon.h: whitespace
8819
8820         * lyxfunc.C: update scrollbar after goto paragraph
8821
8822         * lyxtext.h: factor out page break drawing, and fix it so
8823           page break/added space paints as selected nicely
8824
8825 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * BufferView_pimpl.C: add FIXMEs, clean up a little
8828
8829 2002-07-09  André Pönitz <poenitz@gmx.net>
8830
8831         * lyxfont.[Ch]: support for wasy symbols
8832
8833 2002-07-08  André Pönitz <poenitz@gmx.net>
8834
8835         * BufferView_pimpl.C: apply John's patch for #93.
8836
8837 2002-07-05  Angus Leeming  <leeming@lyx.org>
8838
8839         * BufferView_pimpl.C (buffer): generate previews if desired.
8840
8841         * LColor.h: add "preview" to the color enum.
8842
8843         * LColor.C (LColor): add a corresponding entry to the items array.
8844
8845         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8846         with this buffer.
8847
8848 2002-07-05  Angus Leeming  <leeming@lyx.org>
8849
8850         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8851         The body of the code is now in the method that is passed an ostream &
8852         rather than a file name.
8853         Pass an additional only_preamble parameter, useful for the forthcoming
8854         preview stuff.
8855
8856 2002-07-03  André Pönitz <poenitz@gmx.net>
8857
8858         * lyxfunc.C: simplify getStatus() a bit for math stuff
8859
8860 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8863
8864 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * text.C (changeRegionCase): do not change case of all the
8867         document when region ends at paragraph end (bug #461)
8868
8869 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * paragraph.C (startTeXParParams):
8872         (endTeXParParams): add \protect when necessary
8873
8874 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * BufferView_pimpl.C (workAreaExpose): remove warning
8877
8878 2002-06-27  Angus Leeming  <leeming@lyx.org>
8879
8880         * Makefile.am: add lyxlayout_ptr_fwd.h.
8881
8882 2002-06-26  André Pönitz <poenitz@gmx.net>
8883
8884         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8885
8886 2002-06-25  Angus Leeming  <leeming@lyx.org>
8887
8888         * lyxfunc.C (dispatch): Comment out the call to
8889         grfx::GCache::changeDisplay. The method no longer exists now that the
8890         pixmap generation part of the graphics loader has been moved into
8891         InsetGraphics.
8892
8893 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * text2.C: layout as layout
8896
8897         * text.C: layout as layout
8898
8899         * tabular.C (OldFormatRead): layout as layout
8900
8901         * paragraph_pimpl.C (TeXDeeper): layout as layout
8902         (realizeFont): layout as layout
8903
8904         * paragraph.C (writeFile): layout as layout
8905         (validate): layout as layout
8906         (getFont): layout as layout
8907         (getLabelFont): layout as layout
8908         (getLayoutFont): layout as layout
8909         (breakParagraph): layout as layout
8910         (stripLeadingSpaces): layout as layout
8911         (getEndLabel): layout as layout
8912         (getMaxDepthAfter): layout as layout
8913         (applyLayout): layout as layout
8914         (TeXOnePar): layout as layout
8915         (simpleTeXOnePar): layout as layout
8916         (TeXEnvironment): layout as layout
8917         (layout): layout as layout
8918         (layout): layout as layout
8919
8920         * lyxtextclass.C (compare_name): new functor to work with
8921         shared_ptr, layout as layout
8922         (Read): layout as layout
8923         (hasLayout): layout as layout
8924         (operator): layout as layout
8925         (delete_layout): layout as layout
8926         (defaultLayout): layout as layout
8927
8928         * lyxlayout_ptr_fwd.h: new file
8929
8930         * lyxlayout.C (Read): layout as layout
8931
8932         * lyx_cb.C (MenuInsertLabel): layout as layout
8933
8934         * bufferlist.C (newFile): layout as layout
8935
8936         * buffer.C (readLyXformat2): layout as layout
8937         (parseSingleLyXformat2Token): layout as layout
8938         (insertStringAsLines): layout as layout
8939         (asciiParagraph): layout as layout
8940         (latexParagraphs): layout as layout
8941         (makeLinuxDocFile): layout as layout
8942         (simpleLinuxDocOnePar): layout as layout
8943         (makeDocBookFile): layout as layout
8944         (simpleDocBookOnePar): layout as layout
8945         (getLists): layout as layout
8946
8947         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8948
8949         * CutAndPaste.C (cutSelection): layout as layout
8950         (pasteSelection): layout as layout
8951         (SwitchLayoutsBetweenClasses): layout as layout
8952
8953         * BufferView_pimpl.C (Dispatch): layout as layout
8954         (smartQuote): layout as layout
8955
8956         * BufferView2.C (unlockInset): layout as layout
8957
8958 2002-06-24  André Pönitz <poenitz@gmx.net>
8959
8960         * lyxfunc.C: fix #487
8961
8962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * lyxrc.h:
8965         * lyxrc.C:
8966         * lyxfunc.C: remove display_shortcuts, show_banner
8967
8968 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * Buffer_pimpl.C: oops, update on resize
8971
8972 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * buffer.C:
8975         * converter.C:
8976         * exporter.C:
8977         * lyxfunc.C:
8978         * BufferView.h:
8979         * BufferView.C: use repaint()
8980
8981         * BufferView_pimpl.h:
8982         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8983           as it's a clearer description. Remove superfluous
8984           redraws.
8985
8986 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * text.C: fix bug 488. Not ideal, but getting
8989           getWord() to work properly for the insets that
8990           matter is more difficult ...
8991
8992 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * BufferView_pimpl.C:
8995         * LyXAction.C:
8996         * commandtags.h:
8997         * lyxfunc.C: remove the six million index lyxfuncs to just
8998           one, and DTRT (bug 458)
8999
9000 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * BufferView.h:
9003         * BufferView.C:
9004         * BufferView_pimpl.h:
9005         * BufferView_pimpl.C: clean up resize() stuff,
9006           and unnecessary updateScreen()s
9007
9008 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9009
9010         * BufferView.h:
9011         * BufferView.C:
9012         * BufferView_pimpl.h:
9013         * BufferView_pimpl.C:
9014         * lyxfind.h:
9015         * lyxfind.C:
9016         * minibuffer.C: remove focus management of workarea,
9017           not needed. Use screen's greyOut()
9018
9019 2002-06-17  Herbert Voss  <voss@lyx.org>
9020
9021         * converter.C: (convert) do not post a message, when converting
9022         fails, let the calling function decide what to do in this case
9023
9024 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * lyxfunc.C: tidy up a little
9027
9028 2002-06-16    <alstrup@diku.dk>
9029
9030         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9031         Got rid of FORMS_H_LOCATION include. Now we are
9032         GUII.
9033
9034 2002-06-15  LyX Development team  <lyx@rilke>
9035
9036         * buffer.[Ch] (sgmlOpenTag):
9037         (sgmlCloseTag): Added support for avoiding pernicious mixed
9038         content. Return number of lines written.
9039
9040         (makeLinuxDocFile):
9041         (makeDocBookFile): Fixed calls to sgml*Tag.
9042         Simple white space clean.
9043
9044         (simpleDocBookOnePar): Simple white space clean.
9045
9046         * tabular.[Ch] (docBook): Renamed to docbook and got another
9047         argument to related with the pernicious mixed content.
9048
9049         (docbookRow): Fixed calls for docbook inset method.
9050
9051 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9052
9053         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9054         so it's X11 independent.
9055
9056         * kb*.[Ch]: ditto.
9057
9058         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9059
9060 2002-06-15  Lyx Development team  <lyx@electronia>
9061
9062         * intl.h: Renamed getTrans to getTransManager.
9063
9064 2002-06-14  Angus Leeming  <leeming@lyx.org>
9065
9066         * Makefile.am: nuke forgotten stl_string_fwd.h.
9067
9068 2002-06-12  Angus Leeming  <leeming@lyx.org>
9069
9070         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9071
9072 2002-06-13  Angus Leeming  <leeming@lyx.org>
9073
9074         * LaTeX.C:
9075         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9076
9077 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9078
9079         * kbmap.C (getiso): add support for cyrillic and greek
9080
9081 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * BufferView.h:
9084         * BufferView.C:
9085         * BufferView_pimpl.h:
9086         * BufferView_pimpl.C: move bogus scrolling logic
9087           to xforms
9088
9089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * lyxfunc.C:
9092         * BufferView_pimpl.C: view->resize() change
9093
9094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * BufferView_pimpl.C: topCursorVisible
9097           prototype change
9098
9099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * Makefile.am:
9102         * lyx_gui.h:
9103         * lyx_gui.C: move to frontends/
9104
9105         * main.C:
9106         * lyx_main.h:
9107         * lyx_main.C: changes from above
9108
9109 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9110
9111         * intl.C:
9112         * intl.h:
9113         * kbmap.C:
9114         * kbsequence.C:
9115         * lyx_cb.C:
9116         * lyx_main.C: minor tidy
9117
9118 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9119
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C:
9122         * BufferView.h:
9123         * BufferView.C: make painter() const,
9124           remove dead code
9125
9126         * BufferView2.C: use screen() accessor
9127
9128         * lyx_main.h:
9129         * lyx_main.C: some minor cleanup
9130
9131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * BufferView_pimpl.h:
9134         * BufferView_pimpl.C: remove enter/leaveView,
9135           use workHeight()
9136
9137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9138
9139         * BufferView.h:
9140         * BufferView.C:
9141         * BufferView2.C:
9142         * BufferView_pimpl.h:
9143         * BufferView_pimpl.C: only construct screen once,
9144           rename
9145
9146         * lyxrc.C: remove pointless comment
9147
9148 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * BufferView.h:
9151         * BufferView.C: remove active() and belowMouse()
9152
9153         * BufferView_pimpl.h:
9154         * BufferView_pimpl.C: use workarea() not workarea_,
9155           and make it use a scoped_ptr instead
9156
9157 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * lyx_gui.C: add debug message on BadWindow
9160
9161 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9162
9163         * sp_spell.C: fdopen is not part of the C++ standard.
9164
9165         * paragraph.C (InsetIterator): use >= instead of ==
9166
9167 2002-06-07  Angus Leeming  <leeming@lyx.org>
9168
9169         Fixes needed to compile with Compaq cxx 6.5.
9170         * BufferView_pimpl.C:
9171         * DepTable.C:
9172         * buffer.C:
9173         * converter.C:
9174         * encoding.C:
9175         * lyx_gui.C:
9176         * lyx_main.C:
9177         * lyxtextclasslist.C:
9178         * minibuffer.C:
9179         * sp_spell.C:
9180         * tabular_funcs.C:
9181         * vc-backend.C:
9182         all c-library variables have been moved into namespace std. Wrap
9183         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9184
9185         * lyxlength.C:
9186         * tabular-old.C:
9187         * tabular.C:
9188         Add a using std::abs declaration.
9189
9190         * kbmap.h (modifier_pair):
9191         * paragraph.h (InsetTable, InsetList):
9192         * lyxfont.h (FontBits):
9193         type definition made public.
9194
9195         * bufferlist.C (emergencyWriteAll): the compiler complains that
9196         there is more than one possible lyx::class_fun template to choose from.
9197         I re-named the void specialisation as lyx::void_class_fun.
9198
9199         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9200
9201         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9202         the compiler is is unable to find tostr in write_attribute.
9203
9204 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * buffer.C (sgmlError): hide #warning
9207
9208 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * xtl/*: get rid of xtl, which is not in use anyway
9211
9212         * LyXAction.C (init):
9213         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9214         were unimplemented xtl experimentation
9215
9216 2002-06-04  André Pönitz <poenitz@gmx.net>
9217
9218         * lyxfunc.C: disable array operation on simple formulae
9219
9220 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * converter.C: constify a bit
9223
9224 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9225
9226         * lyx_gui.C: check xforms version correctly
9227
9228 2002-04-30  Herbert Voss  <voss@lyx.org>
9229
9230         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9231         "keep" option
9232
9233 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9236           attempt to register it with a VCS)
9237
9238 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * lyx_main.C (init): honor variables LYX_DIR_13x and
9241         LYX_USERDIR_13x
9242
9243 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9244
9245         * buffer.h:
9246         * buffer.C:
9247         * lyx_main.C: fix a crash on bad command line,
9248           and give a useful exit status on error
9249
9250         * lyxfunc.C (doImport): allow -i lyx to work
9251
9252 2002-03-30  André Pönitz <poenitz@gmx.net>
9253
9254         * lyxfunc.C: mathed font changes
9255
9256 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * LaTeX.C:
9259         * importer.h:
9260         * importer.C:
9261         * lyx_sty.h:
9262         * lyx_sty.C:
9263         * lyxlex.C:
9264         * lyxrow.h:
9265         * lyxtext.h:
9266         * paragraph.h:
9267         * paragraph.C:
9268         * texrow.h:
9269         * texrow.C:
9270         * text.C:
9271         * trans_mgr.h: srcdocs, and some minor cleanups
9272
9273 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9276         call getFont all the time)
9277
9278 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9279
9280         * switch from SigC signals to boost::signals
9281
9282 2002-05-29  André Pönitz <poenitz@gmx.net>
9283
9284         * paragraph_pimpl.C (getChar): don't call size() too often...
9285
9286 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9287
9288         * paragraph_pimpl.C (insertChar): do not try to update tables when
9289         appending (pos == size())
9290
9291         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9292         in order to reduce drastically the number of comparisons needed to
9293         parse a large document
9294
9295 2002-05-29  André Pönitz <poenitz@gmx.net>
9296
9297         * text.C:
9298         * text2.C:
9299         * lyxtextclass.C:
9300         * sp_pspell.h:
9301         * textclasslist.[Ch]:
9302         * sp_ispell.h: whitespace change
9303
9304 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9305
9306         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9307         lyxaction directly now.
9308
9309 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * trans.C:
9312         * lyxfont.C:
9313         * lyxvc.C: remove unused headers
9314
9315 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * Makefile.am:
9318         * buffer.h:
9319         * undostack.h:
9320         * undostack.C:
9321         * undo_funcs.h:
9322         * undo_funcs.C: some cleanups. Use shared_ptr
9323           and a template for the undo stacks.
9324
9325 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * BufferView_pimpl.h:
9328         * BufferView_pimpl.C:
9329         * kbmap.h:
9330         * kbmap.C:
9331         * kbsequence.h:
9332         * kbsequence.C:
9333         * lyxfunc.h:
9334         * lyxfunc.C:
9335         * text2.C: use key_state/mouse_state
9336
9337 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9338
9339         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9340         and LSubstring
9341
9342         * chset.C: change include order
9343         (loadFile): use boost regex and get rid of LRegex and LSubstring
9344
9345         * Makefile.am (BOOST_LIBS): new variable
9346         (lyx_LDADD): use it
9347
9348         * LaTeX.C: change include order.
9349         (scanAuxFile): use boost regex and get rid of LRegex and
9350         LSubstring
9351         (deplog): ditto
9352
9353 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * ColorHandler.h:
9356         * ColorHandler.C:
9357         * FontInfo.h:
9358         * FontInfo.C: moved to frontends/xforms/
9359
9360         * FontLoader.h:
9361         * FontLoader.C: moved into frontends for GUIIzation
9362
9363         * Makefile.am:
9364         * lyx_gui.C:
9365         * lyxfont.C:
9366         * lyxfunc.C: changes from above
9367
9368 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * LColor.C: remove spurious X include
9371
9372         * BufferView_pimpl.C:
9373         * Makefile.am:
9374         * font.h:
9375         * font.C:
9376         * text.C:
9377         * text2.C: move font metrics to frontends/
9378
9379 2002-05-24  Juergen Vigna  <jug@sad.it>
9380
9381         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9382         setting the undo_cursor.
9383
9384         * ParagraphParameters.h: include local includes first.
9385
9386 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * BufferView_pimpl.C:
9389         * BufferView_pimpl.h:
9390         * Makefile.am:
9391         * WorkArea.h:
9392         * WorkArea.C:
9393         * screen.C: move WorkArea into frontends/
9394
9395         * lyxscreen.h:
9396         * screen.C:
9397         * text.C:
9398         * BufferView.C:
9399         * BufferView2.C: move LyXScreen into frontends/
9400
9401         * lyxlookup.h:
9402         * lyxlookup.C:
9403         * lyx_gui.C: move lyxlookup into frontends/xforms/
9404
9405 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * BufferView2.C:
9408         * BufferView_pimpl.C:
9409         * FontLoader.C:
9410         * LyXView.h:
9411         * LyXView.C:
9412         * Makefile.am:
9413         * WorkArea.C:
9414         * XFormsView.h:
9415         * XFormsView.C:
9416         * buffer.C:
9417         * bufferlist.C:
9418         * bufferview_funcs.C:
9419         * converter.C:
9420         * importer.C:
9421         * lyx_cb.C:
9422         * lyx_gui.C:
9423         * lyx_main.C:
9424         * lyx_find.C:
9425         * lyxfunc.C:
9426         * lyxvc.C:
9427         * minibuffer.C:
9428         * text.C:
9429         * text2.C:
9430         * trans.C:
9431         * vc-backend.C: move LyX/XFormsView into frontends/
9432
9433 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * Makefile.am:
9436         * PainterBase.C:
9437         * PainterBase.h:
9438         * Painter.C:
9439         * Painter.h:
9440         * WorkArea.C:
9441         * WorkArea.h:
9442         * screen.C:
9443         * tabular.C:
9444         * text.C:
9445         * text2.C: move Painter to frontends/
9446
9447 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9448
9449         * buffer.C: comment out some some code that depend upon lyx_format
9450         < 220
9451
9452         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9453         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9454
9455         * buffer.h (NO_COMPABILITY): turn off compability
9456
9457         * ColorHandler.C: include scoped_array.hpp
9458
9459         * font.C: Use more specific smart_ptr header.
9460         * Painter.C: ditto
9461         * gettext.C: ditto
9462         * ShareContainer.h: ditto
9463         * lyx_main.h: ditto
9464         * kbmap.h: ditto
9465         * FontInfo.h: ditto
9466         * BufferView_pimpl.h: ditto
9467         * ColorHandler.h: ditto
9468
9469         * kbmap.C (defkey): change call to shared_ptr::reset
9470
9471 2002-05-21  Juergen Vigna  <jug@sad.it>
9472
9473         * buffer.C (insertErtContents): fix to insert ert asis if it is
9474         non empty. Skip it completely if it contains only whitespaces.
9475
9476 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * BufferView_pimpl.C:
9479         * BufferView2.C: clear selection on paste (bug 393)
9480
9481 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9482
9483         * DepTable.C: include ctime
9484
9485 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9486
9487         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9488
9489 2002-05-14  Juergen Vigna  <jug@sad.it>
9490
9491         * text.C (breakParagraph): fixed function to honor the keepempty
9492         layout in the right maner and also to permit the right breaking
9493         algorithm on empty or non empyt keepempty paragraphs.
9494
9495         * paragraph.C (breakParagraph): we have to check also if the par
9496         is really empty (!size()) for isempty otherwise we do the wrong
9497         paragraph break.
9498
9499 2002-05-10  Juergen Vigna  <jug@sad.it>
9500
9501         * buffer.[Ch] : The following are only changes to the ert
9502         compatibility read reading old LaTeX layout and font stuff and
9503         convert it to ERTInsets.
9504
9505         * buffer.h: added isErtInset().
9506
9507         * buffer.C (struct ErtComp): add a fromlayout bool to check
9508         if we're inside a LaTeX layout.
9509         (isErtInset): new helper function.
9510         (insertErtContents): look for other ert insets before this one
9511         and insert the contents there, so that we don't have subsequent
9512         ERT insets with nothing between them. This way we create only one
9513         inset with multiple paragraphs. Also check if we don't insert only
9514         spaces ' ' as they are ignored anyway afterwards in the .tex file
9515         so if we have only spaces we will ignore this latex part in the
9516         new file.
9517         (parseSingleLyXformat2Token \\layout): better compatibility when
9518         reading layout-latex stuff.
9519         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9520         language tag.
9521         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9522         stuff after reading the inset only get the information back from
9523         the stack.
9524
9525 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9528
9529         * LaTeXFeatures.C (getBabelOptions): New method.
9530
9531 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9532
9533         * BufferView_pimpl.C (Dispatch): work around missing argument for
9534         'layout'
9535
9536 2002-05-08  Juergen Vigna  <jug@sad.it>
9537
9538         * text.C (leftMargin): handle paragraph leftindent.
9539
9540         * paragraph.C (writeFile): write the new \\leftindent tag.
9541         (validate): handle leftindent code.
9542         (TeXEnvironment): handle paragraphleftindent code again.
9543
9544         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9545
9546         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9547         for paragrap_extra indent code and new token \\leftindent.
9548         (latexParagraphs): handle the leftindent as environment.
9549
9550         * ParameterStruct.h: added leftindent support.
9551
9552         * ParagraphParameters.C (leftIndent): added support functions for
9553         the paragraph left indent.
9554
9555         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9556         more appropriate.
9557
9558 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9559
9560         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9561         inside insetERT.
9562
9563         * text.C (computeBidiTables): No bidi in insetERT.
9564
9565         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9566         in RTL documents.
9567
9568 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9569
9570         * version.C.in: pre 5
9571
9572 2002-05-02  José Matos  <jamatos@fep.up.pt>
9573         * buffer.C (makeDocBookFile): white space changes, add newline to
9574         command styles.
9575         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9576
9577         * tabular.C (docBook): fix typo.
9578
9579 2002-05-03  Juergen Vigna  <jug@sad.it>
9580
9581         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9582         change in LyXText as we can not be sure it was not freed.
9583         (drawOneRow): remove unused code.
9584
9585         * text.C (drawInset): redo the calculation of the need_break_row as
9586         it could have a row which was already freed.
9587         (draw): look at the return value of drawInset and return false if
9588         it also returned false.
9589         (paintRowText): look at the return value of draw and return false if
9590         it also returned false.
9591
9592         * lyxtext.h: added bool return type to drawInset() and draw() so that
9593         if we have a change in the row so that the rowbreak has to be redone
9594         we abort drawing as it will be called again.
9595
9596 2002-05-02  Juergen Vigna  <jug@sad.it>
9597
9598         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9599         a change in the maintext also if we're inside an inset.
9600         (Dispatch): set the cursor again after a break line and after the
9601         screen has been updated as it could be we're in a different row.
9602
9603         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9604         to set the cursor behind the pargraph with > size().
9605         (setCursor): check also for the same paragraph when checking where
9606         to put the cursor if we have a NFR inset.
9607
9608         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9609         parts of layout read further up as it still was in the wrong
9610         position.
9611
9612 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9613
9614         * screen.C (drawFromTo): change sine fullRebreak always return
9615         true.
9616
9617         * buffer.C (parseSingleLyXformat2Token): reindent some
9618
9619         * BufferView_pimpl.C (update): change since fullRebreak always
9620         return true.
9621         (Dispatch): git rid of the last hardcoded "Standard"s.
9622
9623 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * text2.[Ch] (fullRebreak): make it return void now that we always
9626         returned true.
9627
9628 2002-04-30  Juergen Vigna  <jug@sad.it>
9629
9630         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9631         ert compatibility check for "latex" layout.
9632
9633 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9634
9635         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9636         minipages: use col% instead of p%, and also use the current font.
9637         (makeLaTeXFile): Fix use babel condition.
9638         (parseSingleLyXformat2Token): Correct font when reading old floats.
9639
9640 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9643         inserting list of floats.
9644
9645 2002-04-25  Herbert Voss  <voss@lyx.org>
9646
9647         * MenuBackend.C (expand): don't add the graphics extensions to the
9648         export menu
9649
9650 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9653         non-existing layout, do not complain if it was the default layout
9654         of the original class (bug #342)
9655
9656 2002-04-24  Juergen Vigna  <jug@sad.it>
9657
9658         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9659         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9660
9661 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9662
9663         * buffer.C (getBibkeyList): If using \bibliography, return the
9664         option field with the reference itself. Enables us to provide natbib
9665         support when using \bibliography.
9666
9667 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9668
9669         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9670
9671         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9672         natbib is provided by the LaTeX class.
9673
9674 2002-04-23  Juergen Vigna  <jug@sad.it>
9675
9676         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9677         Wakeup functions.
9678
9679         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9680
9681 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9682
9683         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9684
9685         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9686         ensuremath around textordmasculine, textordfeminine and
9687         textdegree.
9688
9689 2002-04-19  Juergen Vigna  <jug@sad.it>
9690
9691         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9692         reinitializing the buffer otherwise row-dimensions may be wrong.
9693         (update): reset also the selection cursors if they do exits otherwise
9694         their x/y positions may be wrong.
9695
9696         * text2.C (cursorDown): don't enter the inset if we came from a row
9697         above and are one row over the inset.
9698
9699         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9700         really leaving an inset.
9701
9702 2002-04-18  Juergen Vigna  <jug@sad.it>
9703
9704         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9705         of the selected paragraph does not have the selected layout also if
9706         the last one had!
9707
9708         * text2.C (setLayout): fixed bug which did not change last selected
9709         paragraph.
9710
9711         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9712         changed the read and substituted \\end_float with \\end_inset!
9713
9714         * BufferView_pimpl.C (cursorPrevious):
9715         (cursorNext): fixed to make it work with rows heigher than the work
9716         area without moving the cursor only the draw of the row.
9717         (workAreaMotionNotify): fix jumping over high rows.
9718
9719 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9720
9721         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9722         Ressler.
9723
9724 2002-04-16  Juergen Vigna  <jug@sad.it>
9725
9726         * text2.C (setCursor): set also the irow().
9727         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9728         (cursorUp):
9729         (cursorDown): support for locking an inset if the x_fix value goes
9730         inside it. That way I can transverse insets too with cursor up/down.
9731
9732         * lyxrow.h: added irow helper function same as other (i) functions.
9733
9734         * BufferView_pimpl.C (cursorPrevious):
9735         (cursorNext): fixed for insets!
9736
9737 2002-04-15  Juergen Vigna  <jug@sad.it>
9738
9739         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9740         position otherwise it is wrong in some cases.
9741
9742         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9743         inside the inset before the call.
9744
9745 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * buffer.[Ch] (getBibkeyList): make it const.
9748
9749 2002-04-12  Juergen Vigna  <jug@sad.it>
9750
9751         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9752
9753         * text2.C (getCursorX): new helper function
9754         (setCursor): compute also ix_
9755         (setCursorFromCoordinates): set also ix.
9756
9757         * lyxcursor.h: added ix_ and helper functions.
9758
9759         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9760
9761         * buffer.C (insertStringAsLines): dont break paragraph if the this
9762         paragraph is inside an inset which does not permit it!
9763
9764         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9765         also with no chars on this paragraph.
9766         (paintRowText): only paint stuff if it's inside the workarea!
9767
9768         * paragraph.C (breakParagraph): honor keepempty flag and break the
9769         paragraph always below not above.
9770
9771         * BufferView2.C (unlockInset): update the paragraph layout on inset
9772         unlock as we changed paragraph in such a case.
9773
9774         * lyxfind.C (LyXFind): clear the former selection if not found!
9775
9776         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9777         again called in insertChar().
9778
9779         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9780         an inset which uses the whole row!
9781         (rightMargin): ditto.
9782         (insertChar): force a rebreak if we inserted an inset!
9783
9784 2002-03-28  Herbert Voss  <voss@lyx.org>
9785
9786         * lyxlength.[Ch]: add inBP() to get the right PS-point
9787         units (BigPoint). With inPixels we have rounding errors
9788
9789 2002-04-11  Juergen Vigna  <jug@sad.it>
9790
9791         * text2.C (setCursorFromCoordinates): set iy to the right value.
9792         (setCursor): add check if row->previous exists!
9793
9794         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9795         an old float_type as this was the case in the old code!
9796
9797         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9798
9799         * BufferView2.C (showLockedInsetCursor): use iy
9800         (fitLockedInsetCursor): ditto
9801
9802         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9803         locked insets as there we have the right value now.
9804
9805         * lyxcursor.C: added iy_ variable and iy functions to set to the
9806         baseline of cursor-y of the locked inset.
9807
9808         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9809         (setCursor): fixed for insets which need a full row.
9810
9811         * text.C (rowLastPrintable): don't ignore the last space when before
9812         an inset which needs a full row.
9813         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9814         as last character of a row when before a inset which needs a full row.
9815
9816 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9817
9818         * version.C.in: update date
9819
9820         * text2.C (fullRebreak): try to always return true and see what
9821         happens...
9822
9823 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * MenuBackend.C (expand): use Floating::listName
9826
9827         * FloatList.C (FloatList): add listName argument to the built-in
9828         floats
9829
9830         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9831         text associated with the float.
9832
9833 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9836
9837 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9838
9839         * ShareContainer.h: add a couple of missing typenames.
9840
9841 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9842
9843         * lyxrc.C (getDescription): use _() correctly rather than N_().
9844
9845 2002-03-28  Herbert Voss  <voss@lyx.org>
9846
9847         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9848         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9849
9850 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9853         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9854
9855 2002-03-29  Juergen Vigna  <jug@sad.it>
9856
9857         * lyxfunc.C (dispatch): add a missing fitCursor call.
9858
9859         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9860         it was scrolled by a cursor move, so return the bool status.
9861
9862         * BufferView.C (fitCursor): return the bool flag also to the outside
9863         world as this is needed.
9864
9865         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9866
9867         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9868         call the edit() as it is not needed (and wrong) IMO.
9869         (workAreaButtonPress): set the screen_first variable before evt.
9870         unlock the inset as this may change screen_first and then we have
9871         a wrong y position for the click!
9872
9873 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * MenuBackend.C (expand): another translation that I missed
9876
9877 2002-03-28  Juergen Vigna  <jug@sad.it>
9878
9879         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9880
9881         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9882
9883 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9884
9885         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9886
9887         * MenuBackend.C (expand): fix export/view/update when there is no
9888         document open.
9889
9890 2002-03-27  Herbert Voss  <voss@lyx.org>
9891
9892         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9893         and text%
9894
9895 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9896
9897         * bufferview_funcs.C (currentState): only show paragraph number
9898         for is DEVEL_VERSION is set.
9899
9900         * lyxfunc.C (dispatch): put warning in INFO channel
9901
9902         * MenuBackend.C (expand): translate the name of floats
9903
9904         * FloatList.C (FloatList): mark the float names for translation
9905
9906         * converter.C (convert): use LibScriptSearch
9907
9908 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * MenuBackend.C (defaults): fix default menu (we might as well get
9911         rid of it...)
9912
9913 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9916         directory.
9917
9918 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * lyxvc.C: reorder includes.
9921
9922 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9925           properly
9926
9927 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * CutAndPaste.C: change layouts earlier on paste
9930           to avoid crashing when calling getFont()
9931
9932 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9933
9934         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9935         irritating #error.
9936
9937 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9938
9939         * WorkArea.C: remove 'Pending' debug message.
9940
9941         * most files: ws cleanup
9942
9943         * buffer.[Ch]: ws changes
9944
9945         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9946
9947 2002-03-21  Juergen Vigna  <jug@sad.it>
9948
9949         * tabular.C (SetMultiColumn): collapse also the contents of the
9950         cells and set the last border right. Added a Buffer const * param.
9951
9952 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9955         linking or not.
9956
9957 2002-03-19  Juergen Vigna  <jug@sad.it>
9958
9959         * text2.C (clearSelection): reset also xsel_cache.
9960
9961         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9962         where it needs to be called (John tells us to do so too :)
9963         (selectionLost): reset sel_cache.
9964
9965         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9966
9967 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9968
9969         * text2.C (setCursorIntern): put debuging code in INSETS channel
9970
9971 2002-03-19  André Pönitz <poenitz@gmx.net>
9972
9973         * lyxfunc.C: tiny whitespace change
9974
9975 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * ToolbarDefaults.C (init):
9978         * LyXAction.C (init):
9979         * commandtags.h:
9980         * BufferView_pimpl.C (Dispatch):
9981         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9982
9983 2002-03-19  Allan Rae  <rae@lyx.org>
9984
9985         * exporter.C (Export): removeAutoInsets before doing anything else.
9986         While I've just introduced a dependency on BufferView this really is
9987         the best place to clean the buffer otherwise you need to cleanup in
9988         a dozen places before calling export or cleanup in a dozen functions
9989         that export calls.
9990
9991         * converter.C (runLaTeX):
9992         (scanLog): Better handling of removeAutoInsets and screen updates.
9993
9994         * lyxfunc.C (dispatch): small whitespace changes
9995
9996 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9997
9998         * WorkArea.C (C_WorkAreaEvent): return a value.
9999         (event_cb): return 1 if we handled the event, 0 otherwise.
10000
10001         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10002
10003 2002-03-18  Juergen Vigna  <jug@sad.it>
10004
10005         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10006         (GetAdditionalWidth): ditto.
10007         (RightLine): ditto.
10008         (LeftLine): ditto.
10009
10010         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10011         inset if we're there actually (probably not used right now but this
10012         is the direction to go for unifying code).
10013         (paste): disable code to clear the selection.
10014
10015         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10016         inside an InsetText and move the check further up as it is in the
10017         wrong place.
10018
10019         * text2.C (pasteSelection): set a selection over the pasted text.
10020
10021 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10022
10023         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10024         and libgraphics to build on Cygwin.
10025
10026 2002-03-15  Juergen Vigna  <jug@sad.it>
10027
10028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10029         inserting an Inset into the paragraph. I know this is not the best
10030         fix but we already use current_view in CutAndPaste so we will remove
10031         all of it's using at the same time.
10032
10033         * buffer.C (sgmlError): deactivated function till it is rewritten in
10034         the right mode, now it can create problems.
10035
10036         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10037         before accessing it.
10038
10039 2002-03-14  Juergen Vigna  <jug@sad.it>
10040
10041         * undo_funcs.C (textHandleUndo): do the right thing when updating
10042         the inset after the undo/redo.
10043
10044         * text2.C (setCursor): just some testcode for #44 not ready yet.
10045
10046         * undo_funcs.C (textHandleUndo): set the next() and previous()
10047         pointers of the paragraph to 0 before deleting otherwise we have
10048         problems with the Paragraph::[destructor].
10049
10050         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10051         on a paragraph insertion.
10052
10053 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10054
10055         * buffer.C (asciiParagraph): use += operator for char append to
10056         string.
10057
10058         * paragraph.C (getFontSettings): compare >= not just >
10059         (highestFontInRange): ditto
10060         (setFont): ditto
10061
10062 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10063
10064         * paragraph.C: change several algorithm to be more appripriate for
10065         the problem domain. This is lookip in FontList and in the InsetList.
10066
10067 2002-03-13  André Pönitz <poenitz@gmx.net>
10068
10069         * commandtags.h:
10070         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10071
10072 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * commandtags.h:
10075         * LyXAction.C:
10076         * lyxfunc.C:
10077         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10078
10079 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10080
10081         * Painter.C (display): anon helper function, adjust code for this
10082         change.
10083         (pixmap): remove function.
10084
10085         * Painter.h: remove private display variable.
10086
10087         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10088
10089 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10090
10091         * WorkArea.[Ch]: remove figinset_canvas cruft.
10092
10093 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * lyxtextclass.C (operator): add one item cache optimization.
10096
10097         * bufferlist.h: doxy changes
10098
10099         * bufferlist.C: ws changes
10100
10101         * DepTable.[Ch] (ext_exist): place const in the right spot.
10102
10103         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10104         call resizeInsets.
10105         (workAreaExpose): call resizeInsets when the with BufferView changes.
10106         (Dispatch): adjust for protectedBlank removal
10107         (specialChar): call updateInset if the insert went ok.
10108
10109         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10110         specialChar instead.
10111
10112         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10113
10114         * BufferView.h: doxy change
10115
10116         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10117
10118         * lyxtextclass.C (operator[]): remove non-const version
10119         (defaultLayout): remove non-const version
10120
10121 2002-03-12  Juergen Vigna  <jug@sad.it>
10122
10123         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10124         did resize the LyXText too.
10125
10126         * buffer.C (readLyXformat2): set layout information on newly allocated
10127         paragraphs.
10128
10129         * tabular.C (OldFormatRead): set layout information on the paragraph.
10130
10131 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10132
10133         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10134
10135 2002-03-11  Juergen Vigna  <jug@sad.it>
10136
10137         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10138         plainly wrong.
10139         (resizeCurrentBuffer): force also the insets to resize themselfes.
10140         (moveCursorUpdate): fixed up for InsetText.
10141
10142 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * commandtags.h:
10145         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10146         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10147         value of Dialogs::tooltipsEnabled().
10148         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10149
10150 2002-03-08  Juergen Vigna  <jug@sad.it>
10151
10152         * BufferView_pimpl.C (updateInset): update inset inside inset also
10153         if it isn't inside theLockingInset().
10154
10155 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * buffer.C (asciiParagraph): redo some of the word and line length
10158         handling.
10159         (getLists): look for Caption instead of caption.
10160
10161 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * buffer.C (Buffer): initialize niceFile to true
10164         (makeLaTeXFile):
10165         (makeLinuxDocFile):
10166         (makeDocBookFile): make sure niceFile is true on exit
10167
10168 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10171
10172 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10173
10174         * LyXSendto.C: remove.
10175         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10176         * lyx_gui.C: remove now-redundant comment.
10177         * ColorHandler.h: remove forward declaration of class WorkArea.
10178         * lyxfunc.C: remove #include "WorkArea.h".
10179
10180 2002-03-07  Juergen Vigna  <jug@sad.it>
10181
10182         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10183         got moved away with the DEPM and also set the inset_owner always
10184         right which before could have been omitted.
10185
10186 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10187
10188         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10189         wanted layout is not found.
10190
10191 2002-03-07  Juergen Vigna  <jug@sad.it>
10192
10193         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10194
10195 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10196
10197         * paragraph.C (breakParagraph): use default layout not layout of
10198         prev paragraph.
10199         (Paragraph): clear ParagraphParameters.
10200
10201 2002-03-06  Juergen Vigna  <jug@sad.it>
10202
10203         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10204         otherwise it would not be a valid lenght. Fixed a special case in
10205         the minipage compatibility read where we end the document with a
10206         minipage.
10207
10208         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10209         was set as it could be 0 for InsetTexts first entry.
10210
10211 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10212
10213         * paragraph.C (writeFile): if layout is empty write out
10214         defaultLayoutName().
10215
10216         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10217         file without named layout we set layout to defaultLayoutName().
10218
10219 2002-03-06  Juergen Vigna  <jug@sad.it>
10220
10221         * CutAndPaste.C (copySelection): set layout for new paragraph.
10222
10223         * text.C (prepareToPrint): leave ERT inset left aligned
10224         (leftMargin): don't indent paragraphs inside ERT insets
10225
10226 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * paragraph.C (breakParagraph): dont call clear do the work manually
10229
10230         * paragraph.[Ch] (clear): remove function
10231
10232 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * paragraph.C (Paragraph): dont call clear, the work has already
10235         been done.
10236
10237         * lyxtextclass.C (operator): assert if n is empty
10238
10239         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10240         work manually instead.
10241
10242 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.C: protect selectionLost against text == 0
10245
10246 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10247
10248         * text.C (breakParagraph): fix a setting layout to '0' problem.
10249
10250 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10251
10252         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10253         final location of file, for the included files, and graphics.
10254
10255 2002-03-05  Juergen Vigna  <jug@sad.it>
10256
10257         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10258
10259 2002-03-04  Juergen Vigna  <jug@sad.it>
10260
10261         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10262
10263         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10264         last column of multicolumn cells.
10265         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10266
10267 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10268
10269         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10270         file if it doesn't go to a temporary file.
10271
10272         * buffer.C (sgmlOpenTag):
10273         (sgmlCloseTag):  remove extra newline insertion.
10274
10275 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10276
10277         * text.C (getRowNearY): comment out debug msg
10278
10279 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10280
10281         * text2.C: first -> first_y
10282
10283         * text.C (getRowNearY): add some attemts at a possible
10284         optimization, not working.
10285
10286         * tabular.[Ch]: add BufferParams to several function so that newly
10287         created paragraph can be initialized to he default layotu for the
10288         buffers textclass.
10289
10290         * tabular-old.C (ReadOld): add buf->params to call of Init
10291
10292         * screen.C: rename text->first to text->first_y
10293
10294         * paragraph.C (breakParagraph): always set layout in the broken
10295         paragraph
10296
10297         * lyxtextclass.C (Read): remove lowercase
10298         (hasLayout): ditto
10299         (operator): ditto
10300         (delete_layout): ditto
10301
10302         * lyxtext.h: rename first -> first_y
10303
10304         * lyxlayout.C (Read): remove lowercase
10305         (name): ditto
10306         (setName): ditto
10307         (obsoleted_by): ditto
10308
10309         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10310
10311         * buffer.C (insertErtContents): add params are to InsetERT
10312         (parseSingleLyXformat2Token): add code to check if a paragraphs
10313         layout really exist.
10314         (parseSingleLyXformat2Token): add params to several inset
10315         constructors
10316         (asciiParagraph): remove lowercase, do the layout comparisons with
10317         no_case
10318
10319         * BufferView_pimpl.C (cursorNext): first -> first_y
10320         (resizeCurrentBuffer): first -> first_y
10321         (updateScrollbar): first -> first_y
10322         (scrollCB): first -> first_y
10323         (workAreaMotionNotify): first -> first_y
10324         (workAreaButtonPress): first -> first_y
10325         (checkInsetHit): first -> first_y
10326         (cursorPrevious): first -> first_y
10327         (cursorNext): first -> first_y
10328         (Dispatch): add buffer_->params to severl inset contructors
10329
10330 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10331
10332         * lyxlayout.C (Read): remove some debug info that I forgot.
10333
10334         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10335         clean up the code slightly.
10336         (makeLinuxDocFile): ditto
10337         (makeDocBookFile): ditto
10338
10339         * text2.C: layout as string
10340
10341         * text.C: layout as string
10342
10343         * paragraph_pimpl.C: layout as string
10344
10345         * paragraph.[Ch]: layout as string
10346
10347         * lyxtextclasslist.[Ch]: layout as string
10348
10349         * lyxtextclass.[Ch]: layout as string
10350
10351         * lyxtext.h: layout as string
10352
10353         * lyxlayout.[Ch]: layout as string
10354
10355         * lyx_cb.C: layout as string
10356
10357         * bufferview_funcs.C: layout as string
10358
10359         * bufferparams.C: layout as string
10360
10361         * buffer.C: layout as string
10362
10363         * LyXView.[Ch]: layout as string
10364
10365         * LaTeXFeatures.[Ch]: layout as string
10366
10367         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10368
10369         * BufferView_pimpl.C: change current_layout to string, remove
10370         lyx::layout_type.
10371         (Dispatch):
10372         (smartQuote):
10373         (insertInset):
10374         (workAreaButtonRelease): layout as string
10375
10376         * BufferView2.C (unlockInset): adjust
10377
10378         * vspace.C (asLatexCommand): use an explict temp variable.
10379
10380 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * Makefile.am: use FRONTEND_*
10383
10384 2002-03-01  Juergen Vigna  <jug@sad.it>
10385
10386         * tabular.C (SetWidthOfMulticolCell): changed to something better
10387         I hope but still work in progress.
10388         (recalculateMulticolumnsOfColumn): renamed function from
10389         recalculateMulticolCells as it is more appropriate now.
10390         (SetWidthOfCell): calculate multicols better.
10391
10392 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10395
10396         * lyxfunc.C (processKeySym): print sequence also if it is
10397         `deleted' (complete)
10398
10399         * kbsequence.C (print): print sequence even if it is deleted
10400         (complete would be a better word, actually).
10401
10402         * lyxfunc.C (dispatch): print complete options after a prefix key
10403
10404         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10405
10406 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10407
10408         * text2.C (setCharFont): eliminate setCharFont code duplication.
10409
10410 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10413         LFUN_TABULAR_FEATURE (bug #177)
10414
10415 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10416
10417         * Makefile.am: remove figure.h
10418
10419 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10420
10421         * Bufferview_pimpl.C:
10422         * CutAndPasteC:
10423         * LaTeX.C:
10424         * LyXSendto.C:
10425         * buffer.C:
10426         * bufferlist.C:
10427         * converter.C:
10428         * language.C:
10429         * lyxfunc.C:
10430         * lyxvc.C:
10431         * paragraph.C:
10432         * text.C:
10433         * text2.C: remove #include "lyx_gui_misc.h".
10434
10435         * LaTeX.C: added #include <cstdio>
10436
10437 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10440         that the paragraph following this one can have.
10441
10442         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10443
10444         * vspace.C (asLatexCommand): fix bogus gcc warning
10445
10446         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10447
10448 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10449
10450         * text2.C (setLayout): get rid of redundant code
10451
10452 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10453
10454         * text2.C (incDepth): make sure depth cannot be increased beyond
10455         reasonable values.
10456
10457 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10458
10459         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10460         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10461
10462         * PainterBase.h (image):
10463         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10464         a LyXImage const *.
10465
10466 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * BufferView.C:
10469         * BufferView.h:
10470         * BufferView_pimpl.C:
10471         * BufferView_pimpl.h:
10472         * LaTeXFeatures.C:
10473         * LyXAction.C:
10474         * LyXView.C:
10475         * Makefile.am:
10476         * UpdateList.h:
10477         * UpdateList.C:
10478         * buffer.C:
10479         * figure.h:
10480         * figureForm.C:
10481         * figureForm.h:
10482         * figure_form.C:
10483         * figure_form.h:
10484         * lyx_cb.C:
10485         * lyx_gui.C:
10486         * lyx_gui_misc.C:
10487         * lyxfunc.C:
10488         * sp_base.h:
10489         * sp_ispell.h:
10490         * sp_pspell.h:
10491         * sp_spell.C: remove fig inset, and the crap house of
10492           cards that follows it
10493
10494 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * Makefile.am:
10497         * lyxserver.C:
10498         * os2_defines.h:
10499         * os2_errortable.h:
10500         * nt_defines.h: move .h into support/
10501
10502         * vms_defines.h: remove
10503
10504         * WorkArea.C: add space in debug output
10505
10506         * text2.C:
10507         * paragraph.C:
10508         * buffer.C: add WITH_WARNINGS
10509
10510         * vc-backend.h:
10511         * vc-backend.C:
10512         * bufferlist.C: s/retrive/retrieve/, add docs
10513
10514         * vspace.h:
10515         * vspace.C:
10516         * kbmap.h:
10517         * lyxlength.h:
10518         * lyxgluelength.h:
10519         * length_common.h:
10520         * chset.h:
10521         * chset.C: add docs
10522
10523         * lyxgui.C: add ID to X error handler
10524
10525         * lyxtestclass.c: fix typo
10526
10527 2002-02-26  Juergen Vigna  <jug@sad.it>
10528
10529         * tabular_funcs.C (write_attribute): changed so that some default
10530         attributes are not written at all.
10531         (getTokenValue): set default values before trying to read the
10532         value so we have the return value always set as default if we don't
10533         find the token we search for.
10534
10535         * tabular.C (Write): write bools as bools not as strings!
10536
10537 2002-02-22  Juergen Vigna  <jug@sad.it>
10538
10539         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10540         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10541
10542         * text.C (leftMargin): don't add an indent for paragraphs inside
10543         tabular cells (fix #208).
10544
10545 2002-02-21  José Matos  <jamatos@fep.up.pt>
10546
10547         * tabular.C (docBook): fixed support for long tables.
10548
10549 2002-02-20  Juergen Vigna  <jug@sad.it>
10550
10551         * text2.C (getFont): get the drawing font of the Inset if this
10552         paragraph is inside an inset (only important for InsetERT for now).
10553
10554         * buffer.C (insertErtContents): use new lanugage params in ERT
10555         constructor.
10556
10557         * CutAndPaste.C: commenting out seemingly uneeded code.
10558
10559 2002-02-19  Allan Rae  <rae@lyx.org>
10560
10561         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10562         Iterators might be simple to use but they also get invalidated.
10563         (removeAutoInsets): renamed saved cursor tracking variables and added
10564         some comments to clarify what everything does.
10565
10566 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10567
10568         * Chktex.C:
10569         * LaTeX.C:
10570         * LyXSendto.C:
10571         * converter.C:
10572         * lyx_cb.C:
10573         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10574         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10575
10576         * lyxfunc.C:
10577         * vc-backend.h: remove #include "support/syscall.h"
10578
10579         * LaTeX.C:
10580         * LyXSendto.C:
10581         * converter.C: rearrange #includes in Lars' approved fashion.
10582
10583         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10584         forward declare class Timeout in the header file.
10585
10586         * XFormsView.C: changes due to the above.
10587
10588         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10589         similar to LyXView.
10590
10591         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10592         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10593
10594 2002-02-18  José Matos  <jamatos@fep.up.pt>
10595
10596         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10597         insets contents.
10598
10599 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10600
10601         * a lot of small ws changes
10602         * add a lot of using std::XXX
10603         * use std construcs some places where approp.
10604         * use some exisint stuff from lyxfunctional where approp.
10605         * Make file changes to use partial linking (lets test this now...)
10606
10607 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10608
10609         * Chktex.C:
10610         * buffer.C:
10611         remove #include "support/syscontr.h" as it's redundant. Always has been.
10612
10613         * Chktex.C:
10614         * LaTeX.C:
10615         * LyXSendto.C:
10616         * converter.C:
10617         * lyx_cb.C:
10618         * vc-backend.C:
10619         change Systemcalls::System to Systemcalls::Wait and
10620         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10621         No change of functionality, just reflects the stripped down Systemcalls
10622         class.
10623
10624 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10625
10626         * debug.[Ch]: add a GRAPHICS type to the enum.
10627
10628 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10631
10632         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10633         there is an inset.
10634
10635 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10638         match the changes below.
10639
10640         * text2.C (toggleInset): if there is not editable inset at cursor
10641         position, try to see if cursor is _inside_ a collapsable inset
10642         and close it.
10643
10644 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10645
10646         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10647         document menu has a nice checkbox
10648
10649 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * lyxlength.C (asLatexString): change PW to output as percent of
10652         \textwidth.
10653
10654         * lengthcommon.C: change '%' to 't%'
10655
10656         * lyxfunc.C (dispatch): a few comments from Martin
10657
10658 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * WorkArea.h:
10661         * WorkArea.C:
10662         * BufferView_pimpl.h:
10663         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10664           the X selection.
10665
10666 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10667
10668         * vspace.C (inPixels): fix compiler warning
10669
10670 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * lyxfunc.C (getStatus): fix status message for disabled commands.
10673
10674 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * BufferView_pimpl.C: fix crash on close buffer
10677         during selection (#227)
10678
10679 2002-01-27  Herbert Voss  <voss@lyx.org>
10680
10681         * buffer.C: link old Figure to new graphic inset
10682
10683 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * FontLoader.C (getFontinfo): Change the latex font names in order
10686         to match the names of type1inst.
10687
10688 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10691
10692         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10693         (extchanged): ditto
10694         (ext_exist): ditto
10695         (remove_files_with_extension): ditto
10696         (remove_file): ditto
10697         (write): ditto
10698
10699         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10700         document is smaller than the work area height. Do not initialize
10701         static variables to 0.
10702
10703 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10706
10707         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10708         LFUN_LAYOUT_PARAGRAPHS.
10709
10710         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10711         tabular. It is possible to provide a possible cell, which will
10712         typically be the actcell from the corresponding insettabular
10713
10714         * lyxfunc.C (getStatus): small cleanup; disable
10715         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10716         true
10717
10718 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10721
10722         * paragraph.C (startTeXParParams):
10723         (endTeXParParams): new methods. The LaTeX code to
10724         start/end paragraph formatting
10725         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10726         empty (fixes bug #200)
10727
10728         * vspace.C (inPixels): adapt to the change below
10729         (inPixels): [later] more cleanups (remove unused variables)
10730
10731         * lyxlength.C (inPixels): change to use a width and a height as
10732         parameter.
10733
10734 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10737         Replaced with \paperwidth
10738
10739         * DepTable.C (insert): add std:: qualifier
10740
10741 2002-01-18  Allan Rae  <rae@lyx.org>
10742
10743         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10744         updated also?
10745
10746         * text.C (drawInset): Turned out I didn't know enough about how
10747         rebreaking worked.  This fixes most of the redraw problems.  I see
10748         an occasional cursor trail when a line is broken now and the cursor
10749         placement can seem out by a few pixels also after a rebreak.
10750
10751 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * buffer.C (parseSingleLyXformat2Token): update because minipage
10754         width is now a LyXLength
10755
10756         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10757
10758         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10759         math insets
10760
10761 2002-01-17  Juergen Vigna  <jug@sad.it>
10762
10763         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10764
10765         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10766         is set correctly and the inset is updated correctly.
10767
10768 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10769
10770         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10771         the beginning of the loop.
10772
10773 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * lyxrc.C: improve help for use_scalable_fonts
10776
10777 2002-01-17  Allan Rae  <rae@lyx.org>
10778
10779         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10780
10781 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10784         make sure to set their inset_owner to the right value (bug #171)
10785
10786 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10787
10788         * DepTable.h
10789         * DepTable.C: Implement mtime checking to reduce time spent doing
10790         CRCs.
10791
10792 2002-01-16  Juergen Vigna  <jug@sad.it>
10793
10794         * tabular.C (GetAdditionalHeight): one of error fixed.
10795
10796         * lyxrc.C (output): small fix in writing use_pspell.
10797
10798 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10799
10800         * sp_base.h: #include LString.h
10801
10802 2002-01-16  Allan Rae  <rae@lyx.org>
10803
10804         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10805         Can someone check this please?
10806
10807         * text.C (drawInset): It was possible that p.row would be removed by
10808         breakAgainOneRow upsetting a few other settings.  There may be another
10809         small tweak possible by setting need_break_row = 0 when p.row has been
10810         removed but I don't know enough about the logic here.
10811
10812 2002-01-15  Allan Rae  <rae@lyx.org>
10813
10814         * text.C (insertChar): removed conditional truism.
10815
10816         * BufferView2.C (removeAutoInsets): More tweaks.
10817         cur_par_prev could be a stray pointer.  Check for trailing empty line
10818         in case last line was cur_par and only had an error inset on it.
10819
10820 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10823         absolute
10824
10825         * vc-backend.C (most methods):
10826         * exporter.C (Export):
10827         * converter.C (convert):
10828         (runLaTeX):
10829         * LyXSendto.C (SendtoApplyCB):
10830         * lyxfunc.C (dispatch):
10831         (menuNew):
10832         (open):
10833         (doImport):
10834         * lyx_cb.C (AutoSave):
10835         (InsertAsciiFile):
10836         * BufferView_pimpl.C (MenuInsertLyXFile):
10837         * buffer.C (runChktex): use Buffer::filePath().
10838
10839         * buffer.h: rename filename to filename_; rename filepath to
10840         filepath_ and make it private
10841         (filePath): new method
10842
10843         * buffer.C (writeFile): use fileName()
10844         (getLatexName):
10845
10846         * lyx_main.C (init): fix starting  of LyX when the binary is a
10847         link from so,ewhere else.
10848
10849         * minibuffer.C: include <cctype> for isprint
10850
10851 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10852
10853         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10854         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10855         name clash with InsetCollapsable's width function.
10856
10857 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * lastfiles.C: include <iterator>
10860
10861 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10864         std::count.
10865
10866         * buffer.C (makeLaTeXFile): ditto.
10867         Also make loop operation more transparent.
10868
10869 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10870
10871         * ToolbarDefaults.C: remove trailing comma closing namespace.
10872
10873         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10874
10875         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10876         as in WorkArea.
10877
10878         * trans.C (Load): comment out unused variable, allowed.
10879
10880 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10881
10882         * minibuffer.[Ch] (append_char): new method to recieve input from the
10883         drop-down completion browser. If a key was pressed, then recieve this
10884         char and append it to the existing string.
10885         (peek_event): modify the positioning data passed to the completion
10886         browser so that it can be placed above the minibuffer rather than below.
10887 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * LyXAction.C (init): alloe error-next for readonly documents.
10890
10891         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10892         count.
10893
10894 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * bufferlist.C (readFile): create the buffer _after_ checking that
10897         the file exists.
10898
10899         * lyxfunc.C (verboseDispatch): fix handling of arguments
10900
10901         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10902
10903         * lyxrc.C: use string::erase() instead of initializing to "".
10904
10905
10906 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * BufferView_pimpl.h:
10909         * BufferView_pimpl.C:
10910         * WorkArea.h:
10911         * WorkArea.C:
10912         * text2.C: tell X when we have made a selection for copying
10913
10914 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * BufferView_pimpl.C (MenuInsertLyXFile):
10917         * lyxfunc.C (menuNew):
10918         (open):
10919         (doImport): add shortcuts to directory buttons
10920
10921         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10922         open a float)
10923
10924         * lyxfunc.C (setStatusMessage):
10925         (getStatusMessage): new methods
10926         (getStatus):use setStatusMessage instead of setErrorMessage
10927         (dispatch): when function is disabled, set error message here
10928         [instead of in getStatus previously]
10929
10930         * BufferView_pimpl.C (workAreaButtonRelease): update
10931         toolbar/menubar here too.
10932
10933 2002-01-13  Allan Rae  <rae@lyx.org>
10934
10935         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10936         Now seems indestructible.  Remaining task is to audit all other
10937         code affected by deleteEmptyParagraphMechanism.  One small quirk
10938         left is that an empty document with an error in the preamble can
10939         be made to report an error but no error box appears.  I don't know
10940         where it goes.
10941         (removeAutoInsets): Improved comments.
10942
10943 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * Thesaurus.h:
10946         * Thesaurus.C: update for Aiksaurus 0.14
10947
10948 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * text2.C (firstParagraph): removed member function, all uses
10951         replaces with ownerParagraph
10952         (redoParagraphs): here
10953         (updateInset): here
10954         (toggleAppendix): here
10955         * BufferView2.C (insertErrors): here
10956         (setCursorFromRow): here
10957
10958 2002-01-13  Allan Rae  <rae@lyx.org>
10959
10960         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10961         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10962         There is still a way to segfault this although you may have to do this
10963         multiple times: Have an InsetERT with an unknown command in it.
10964         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10965         <down-arrow>, <Enter> again, View->DVI, BANG!
10966
10967         * text2.C (setCursor):
10968         (deleteEmptyParagraphMechanism):
10969         * lyxtext.h (setCursor):
10970         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10971         Making use of the return value may help fix other bugs.
10972
10973 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10974
10975         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10976
10977         * LyXView.C (updateMenubar): call MenuBar::update here
10978         (updateToolbar): but not here
10979         (showState): do not update toolbar/menubar
10980
10981         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10982         should need to care about that.
10983
10984         * lyxfunc.C (verboseDispatch): simplify a bit
10985         (getStatus): have a version which takes a pseudoaction, and
10986         another which requires a (kb_action,string).
10987
10988         * LyXAction.C (retrieveActionArg): make it work also when action
10989         is not a pseudo-action.
10990         (getActionName): simplify a bit
10991         (helpText):
10992
10993 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10994
10995         * lyxfunc.C (verboseDispatch): new families of methods with
10996         several ways to specify a command and a bool to indicate whether
10997         the command name and shortcut should be displayed in minibuffer
10998         (eventually, we could extend that to a finer bitmask like
10999         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11000         (dispatch): the pristine dispatch command which just, well,
11001         dispatchs! Note it still sets its result to minibuffer; I'm not
11002         sure we want that.
11003
11004         * lyxfunc.h: remove setHintMessage
11005
11006         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11007
11008 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11009
11010         * BufferView_pimpl.C (specialChar): delete new inset if we have
11011         not been able to insert it.
11012
11013         * kbmap.C: revert to using int instead of kb_action, since all we
11014         are dealing with is pseudo-actions.
11015
11016         * LyXAction.C (searchActionArg): change to return int instead of
11017         kb_action, since the result is a pseudoaction.
11018
11019 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * buffer.C (insertErtContents): Fix (partially) the font bug.
11022
11023 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11026         as the other one is broken on my machine!
11027
11028 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11029
11030         * commandtags.h:
11031         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11032
11033 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11034
11035         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11036         reflect their actual use. Provide compatibility code for older lyxrc
11037         files.
11038
11039         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11040         FL_NORMAL_STYLE.
11041         change names of popup font variables in line with the changes to lyxrc.C
11042
11043 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * buffer.C (asciiParagraph): avoid outputing a word twice after
11046         an inset.
11047
11048         * lyxrc.C (getDescription): document that document_path and
11049         template_path can be empty.
11050
11051 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * LaTeXFeatures.C (getMacros):
11054         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11055
11056         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11057
11058         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11059         getPackages.
11060         (getPackages): rename feature "floats" to "float". Use an array to
11061         iterate over 'simple' features (i.e. just a \usepackage). Add
11062         handling of "amsmath" (renamed from "amsstyle").
11063
11064 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11065
11066         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11067         features list.
11068
11069 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11072         FuncStaus::FuncStatus & FuncStaus::some_method().
11073
11074 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11075
11076         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11077         of the func_satus stuff. Edited and massaged in various ways by
11078         JMarc.
11079
11080         * lyxfunc.C (getStatus): use FuncStatus
11081
11082 2002-01-08  Juergen Vigna  <jug@sad.it>
11083
11084         * text.C (nextBreakPoint): use function Inset::isChar().
11085
11086         * paragraph.C (TeXOnePar): use function
11087         Inset::forceDefaultParagraphs.
11088
11089         * buffer.C (latexParagraphs): use function
11090         Inset::forceDefaultParagraphs.
11091
11092 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * lyx_gui.C (init): set the style of the menu popups to
11095         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11096
11097 2002-01-07  Juergen Vigna  <jug@sad.it>
11098
11099         * text.C (setHeightOfRow): small fix
11100         (prepareToPrint): don't look at alignment if we don't have the place
11101         for doing it.
11102
11103 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * box.C: New file. Move the Box methods and functions out of box.h,
11106         following Lars' suggestion.
11107
11108 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * box.h: #include "support/LOstream.h", needed for inlined function.
11111
11112         * lyxtextclass.C:
11113         * lyxtextclasslist.C: added some using std declarations.
11114
11115 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * box.h: make signed dimensions to allow insets wider than
11118           the screen (bug #162)
11119
11120         * BufferView_pimpl.C: add some insetHit debug
11121
11122 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * vc-backend.C: add FIXME
11125
11126 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * lyxfunc.C (getStatus): enable code for showing math font status
11129         in toolbar/menu.
11130
11131 2002-01-07  Juergen Vigna  <jug@sad.it>
11132
11133         * text.C (nextBreakPoint): removed debug output not needed anymore.
11134
11135 2002-01-06  Juergen Vigna  <jug@sad.it>
11136
11137         * text.C (nextBreakPoint): fixed up this function we had this bug
11138         since ever but now hopefully we break row better.
11139         (insertChar): we have to check if an inset is the next char as it
11140         could now happen that a large inset is causing a break.
11141
11142 2002-01-05  Juergen Vigna  <jug@sad.it>
11143
11144         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11145         if it doesn't like to be drawed.
11146
11147 2002-01-04  Juergen Vigna  <jug@sad.it>
11148
11149         * BufferView2.C (lockInset): forgot to set a cursor.
11150
11151         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11152
11153 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11154
11155         * FormMathsPanel.C:
11156         * FormMathsPanel.h
11157         * MathsSymbols.C:
11158         * form_maths_panel.C:
11159         * form_maths_panel.h:
11160         * form_maths_panel.fd: implemented sub- and super- buttons in math
11161         panel.
11162
11163         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11164         (or ^ space) to be used as in TeX (req'd by André).
11165
11166         * lyxfunc.C: Allow ^ and _ again to be used both as
11167         super/subscript (mathed) and as themselves (in text).
11168
11169 2002-01-03  Allan Rae  <rae@lyx.org>
11170
11171         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11172         "LyX" or the filename of the current buffer if it has one.  This is a
11173         modified form of John Levon's patch.
11174
11175         * XFormsView.C (setWindowTitle): also set icon title.
11176
11177         * LyXView.h (setWindowTitle): signature changed.
11178         * XFormsView.h (setWindowTitle): ditto.
11179
11180 2002-01-02  Juergen Vigna  <jug@sad.it>
11181
11182         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11183
11184 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * screen.C (topCursorVisible): introduce a temp var for
11187         text->cursor.row(), handle the case where this row is null. (kindo
11188         hachish)
11189
11190         * text2.C (setCursor): add a couple of asserts.
11191
11192         * paragraph.h (inset_iterator): add -> operator
11193
11194         * paragraph.[Ch] (autoDeleteInsets): remove member function
11195
11196         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11197         cursor pos correctly and handle inset deletion by itself.
11198         (insertErrors): move iterator declaration out of for expression
11199
11200         * lyxtextclass.C: add <algorithm>
11201
11202         * Makefile.am: added the new files to sources, removed layout.C
11203
11204         * layout.C: removed file
11205
11206         * layout.h: remove LYX_DUMMY_LAYOUT
11207
11208         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11209         layout.
11210
11211         * lyxlayout.[Ch]:
11212         * lyxtextclass.[Ch]:
11213         * lyxtextclasslist.[Ch]: new files
11214
11215         * include order changes to a lot of files, also changes because of
11216         the six new files.
11217
11218 2001-12-27  Juergen Vigna  <jug@sad.it>
11219
11220         * buffer.C (asciiParagraph): more fixes.
11221
11222         * tabular.C (ascii): make ascii export support export of only the
11223         data separated by a column-delimiter.
11224         (ascii): better support for ascii export.
11225
11226         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11227
11228 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * tabular_funcs.C: use a "using std::getline" instead of the
11231         previous fix from Angus (necessary for cxx + lyxstring)
11232
11233 2001-12-24  Juergen Vigna  <jug@sad.it>
11234
11235         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11236
11237         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11238         problems. First check a minipage also if we have some ert-contents
11239         (not only on par->size(), second set the right depth of the paragraph
11240         on the relink to the root-paragraph-list!
11241
11242         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11243         which then did not anymore update the main paragraphs on undo/redo!
11244
11245 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11248         code. Support all font-changing funcs (even those which are not in
11249         menu currently). Support for reporting font settings in
11250         mathed (disabled until Andre provides a function on mathed's side).
11251
11252         * func_status.h (toggle): small helper function to set toggle
11253         state on a flag.
11254
11255 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11256
11257         * tabular_funcs.C: getline -> std::getline
11258
11259 2001-12-21  Juergen Vigna  <jug@sad.it>
11260
11261         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11262         accessed and could be 0 (I couldn't generate this but it seems
11263         Michael could!).
11264
11265 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11268         * tabular_funcs.h: here and include iosfwd
11269
11270 2001-12-20  Juergen Vigna  <jug@sad.it>
11271
11272         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11273         inside inset but undo_par was.
11274
11275 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * Thesaurus.C: always include <config.h> in sources.
11278
11279         * Painter.h:
11280         * lyxlookup.h:
11281         * box.h: do not include <config.h> in header files
11282
11283         * text.C (paintLastRow): remove unused variable
11284
11285         * text.C (transformChar):
11286         (insertChar):
11287         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11288
11289         * Painter.C (text):
11290         * font.C (width): rewrite to use uppercase() instead of
11291         islower/toupper.
11292
11293         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11294
11295 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * lyxfind.C: clean up of find failure position change
11298
11299 2001-12-20  Juergen Vigna  <jug@sad.it>
11300
11301         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11302
11303         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11304         (TeXRow): added to LaTeX a single tabular row.
11305         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11306         (Latex): simplified and finally good LT-h/f support.
11307         (various_functions): just small adaptions for LT-h/f support.
11308
11309         * tabular_funcs.[hC]: added and moved here all not classfunctions
11310         of LyXTabular.
11311
11312 2001-12-19  Juergen Vigna  <jug@sad.it>
11313
11314         * tabular.[Ch]: better support for longtabular options (not finished
11315         yet!)
11316
11317 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * text.C (paintLastRow): use the label font instead of the font of
11320         the last character to compute the size of *_BOX. This makes more
11321         sense and avoids a crash with empty paragraphs.
11322         Use Painter::rectangle to draw EMPTY_BOX.
11323
11324 2001-12-19  Juergen Vigna  <jug@sad.it>
11325
11326         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11327         the paragraphs if the replaced paragraph is not the first one!
11328         Tried to delete not used paragraphs but does not work yet so for
11329         now it's inside #ifdef's and by default off!
11330
11331 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * MenuBackend.C: include "lyx_main.h" instead of declaring
11334         lastfiles (actually was declared as LastFiles* instead of a
11335         scoped_ptr).
11336
11337 2001-12-17  Juergen Vigna  <jug@sad.it>
11338
11339         * tabular.C (AppendColumn): applied John's fix
11340
11341 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * BufferView.h:
11344         * BufferView.C:
11345         * BufferView_pimpl.h:
11346         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11347
11348         * Makefile.am:
11349         * box.h: new start of class for above
11350
11351         * lyxfunc.C: ignore space-only minibuffer dispatches.
11352           Show the command name when it doesn't exist
11353
11354         * minibuffer.C: don't add empty lines to the history
11355
11356         * minibuffer.C: add a space on dropdown completion
11357
11358 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * text.C: fix line above/below drawing in insets
11361
11362 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11363
11364         * lyxlength.C (LyXLength): Initialize private variables.
11365
11366 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11367
11368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11369         when inserting error insets.
11370
11371 2001-12-13  Juergen Vigna  <jug@sad.it>
11372
11373         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11374         actually sometimes the before-paragraph.
11375         (setUndo): don't clear the redostack if we're not actually undoing!
11376
11377 2001-12-06  Juergen Vigna  <jug@sad.it>
11378
11379         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11380         and fixed redoing of main paragraph, so we can use it now ;)
11381
11382         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11383
11384 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11387         Juergen's request
11388
11389 2001-12-13  André Pönitz <poenitz@gmx.net>
11390
11391         * undostack.[Ch]:
11392         * undo_func.C: minor cleanup
11393
11394 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11395
11396         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11397         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11398         font in urw-fonts package which is marked as -urw-fontspecific and
11399         does not work (incidentally, changing the encoding in the
11400         fonts.dir of this package to -adobe-fontspecific fixes the
11401         problem).
11402
11403         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11404         is a crash when undoing first paragraph (Juergen, please take a
11405         look). THis does not mean the undo fix is wrong, just that it
11406         uncovers problems.
11407
11408         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11409         the (Paragraph*) version when needed instead of duplicating the
11410         code.
11411
11412         * text.C (workWidth): use Inset::parOwner to find out where the
11413         inset has been inserted. This is a huge performance gain for large
11414         documents with lots of insets. If Inset::parOwner is not set, fall
11415         back on the brute force method
11416
11417         * paragraph_pimpl.C (insertInset):
11418         * paragraph.C (Paragraph):
11419         (cutIntoMinibuffer): set parOwner of insets when
11420         inserting/removing them
11421
11422         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11423
11424 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11425
11426         * commandtags.h:
11427         * LyXAction.C:
11428         * lyx_main.C:
11429         * lyxfunc.C:
11430         * mathed/formulabase.C:
11431         * mathed/math_cursor.[Ch]:
11432         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11433
11434
11435 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11436
11437         * lyxlength.[Ch] (operator!=): new function
11438
11439 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * text.C (workWidth): use Inset::parOwner to find out where the
11442         inset has been inserted. This is a huge performance gain for large
11443         documents with lots of insets. If Inset::parOwner is not set, fall
11444         back on the brute force method
11445
11446         * paragraph_pimpl.C (insertInset):
11447         * paragraph.C (Paragraph):
11448         (cutIntoMinibuffer): set parOwner of insets when
11449         inserting/removing them
11450
11451         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11452
11453 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * tabular-old.C (getTokenValue):
11456         * tabular.C (getTokenValue):
11457         (write_attribute): new versions for LyXLength
11458         (everywhere): adjust the use of widths
11459
11460         * tabular.h: change the type of widths from string to LyXLength
11461
11462 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11463
11464         * paragraph.C: fixed missing line number count when exporting
11465         Environments to LaTeX file
11466
11467         * buffer.C: added informational message for checking line numbers.
11468
11469 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11470
11471         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11472         paragraph, do the 'double space' part, but not the 'empty
11473         paragraph' one.
11474
11475         * text.C (workWidth): small optimization
11476         (getLengthMarkerHeight): use minimal size for negative lengths.
11477
11478 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11481
11482         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11483
11484 2001-12-11  André Pönitz <poenitz@gmx.net>
11485
11486         * FontLoader.C:
11487         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11488
11489 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * text2.C: keep selection on a setFont()
11492
11493 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * lyx_cb.C: another bv->text misuse, from insert label
11496
11497 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * kbsequence.h:
11500         * kbsequence.C: re-instate nmodifier mask
11501
11502 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11503
11504         * lyx_main.h: make lyxGUI private.
11505
11506 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * lyxfind.C: place the cursor correctly on failed search
11509
11510 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11511
11512         * text.C (getLengthMarkerHeight): for small heights, the arrows
11513         are not always on top/bottom of the text
11514         (drawLengthMarker): smaller arrows; take the left margin in
11515         account; draw also vfills.
11516         (paintFirstRow):
11517         (paintLastRow): remove special code for vfill and standard spaces,
11518         since everything is handled in drawLengthMarker now.
11519
11520 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11521
11522         * buffer.C (insertErtContents): try to handle font and language
11523         interaction a bit better.g
11524
11525         * ColorHandler.C (updateColor): change the hash to cover the whole
11526         LColor enum, ws cleanup
11527         (getGCLinepars): ditto
11528         (getGCLinepars): only lookup in the linecache once.
11529
11530 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11531
11532         * iterators.C (operator++): Make the iterator more robust
11533
11534         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11535         (John's patch)
11536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11537
11538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyxtext.h:
11541         * text.C: better added space drawing
11542
11543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * LyXView.C:
11546         * BufferView2.C: fix layout combo update on inset unlock
11547
11548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * Makefile.am: don't compile unused files
11551
11552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * lyxfunc.C:
11555         * commandtags.h:
11556         * LyXAction.C: remove old LFUN_LAYOUTNO
11557
11558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * paragraph_pimpl.h:
11561         * paragraph_pimpl.C: isTextAt() doesn't need font param
11562
11563 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * lyxlex.h:
11566         * lyxlex.C: little cleanup
11567
11568 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * BufferView_pimpl.C: fix insertAscii for insets
11571
11572 2001-12-05  Juergen Vigna  <jug@sad.it>
11573
11574         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11575         set the right font on the "multi" paragraph paste!
11576
11577 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * trans_decl.h:
11580         * trans_mgr.[Ch]:
11581         * trans.[Ch]:
11582         * lyxgluelength.C:
11583         * lyxlength.C: remove out-commented code.
11584
11585         * BufferView_pimpl:
11586         * CutAndPaste.C:
11587         * DepTable.C:
11588         * buffer.C:
11589         * chset.C:
11590         * lastfiles.C:
11591         * lyxlex.C:
11592         * lyxlex_pimpl.C:
11593         * lyxserver.C:
11594         * screen.C:
11595         * tabular-old.C:
11596         * tabular.C:
11597         * text.C:
11598         * trans_mgr.C:
11599         * vc-backend.C: change "while(" to "while ("
11600
11601         * lyxlength.[Ch]: add zero function to check if length is zero or
11602         not
11603         * lyxgluelength.C: use it
11604
11605 2001-12-05  Allan Rae  <rae@lyx.org>
11606
11607         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11608         Works for 2.95.3, from what I understand of Garst's reports this should
11609         work for other g++ versions.  We're screwed if the abs(int) definition
11610         changed between bugfix releases of gcc.
11611
11612 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * text.C: fix chapter label offset !
11615
11616 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * lyxtext.h:
11619         * text.C: fix hfill at end of line, clean up
11620
11621 2001-12-04  Juergen Vigna  <jug@sad.it>
11622
11623         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11624         that we force an update of the inset and it's owners if neccessary.
11625
11626 2001-12-03  Juergen Vigna  <jug@sad.it>
11627
11628         * text.C (rowLast): simplified code
11629
11630 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * lyxfunc.C: fix show options on timeout
11633
11634 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * screen.C (topCursorVisible): scroll half a page when the cursor
11637         reached top of bottom of screen
11638
11639 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * minibuffer.C: deactivate on loss of focus
11642
11643 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * vspace.[Ch] (operator!=): add operator.
11646
11647 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * BufferView_pimpl.C: refuse to open an inset when
11650         there's a selection.
11651
11652 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * BufferView_pimpl.C: allow to click on RHS of full row insets
11655
11656 2001-11-30  Juergen Vigna  <jug@sad.it>
11657
11658         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11659         insets for undo reasons.
11660
11661 2001-11-28  André Pönitz <poenitz@gmx.net>
11662
11663         * vspace.[Ch]: cosmetical changes
11664
11665 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * LyXAction.h:
11668         * LyXAction.C:
11669         * lyxfunc.h:
11670         * lyxfunc.C:
11671         * kbmap.h:
11672         * kbmap.C:
11673         * lyxrc.C:
11674         * kbsequence.h:
11675         * kbsequence.C: part re-write of old kb code
11676
11677         * Painter.C:
11678         * WorkArea.C: remove Lgb_bug_find_hack
11679
11680 2001-11-30  José Matos <jamatos@fep.up.pt>
11681
11682         * buffer.C (makeDocBookFile): add a comment to point a hack.
11683         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11684         Fixed a double write of labels.
11685
11686 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11687
11688         * LaTeX.C:
11689         * LaTeX.h Fixed bug in LaTeX class where it would not
11690         re-run latex if no depfiles were changed, but the .dvi was removed.
11691
11692 2001-11-28  André Pönitz <poenitz@gmx.net>
11693
11694         * all the files from the change on 2001/11/26:
11695         use lyx::layout_type instead of LyXTextClass::size_type
11696         use lyx::textclass_type instead of LyXTextClassList::size_type
11697
11698 2001-11-29  Juergen Vigna  <jug@sad.it>
11699
11700         * text.C: added support for paragraph::isFreeSpacing()
11701
11702         * buffer.C: same as above
11703
11704         * paragraph.h: inserted isFreeSpacing() function to enable
11705         FreeSpacing inside InsetERT.
11706
11707         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11708         of the paragraph's in the cut/copy buffer to 0!
11709
11710         * text2.C (removeRow): remove the assert as it can!
11711
11712         * lyxtext.h: added helper function firstRow returning firstrow and
11713         made firstrow private again.
11714
11715         * BufferView2.C (lockInset): don't relock if we're already locked!
11716
11717         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11718         the only paragraph.
11719         (removeRow): added Assert::(firstrow)
11720
11721         * debug.C: forgot to add INSETTEXT here.
11722
11723 2001-11-28  Juergen Vigna  <jug@sad.it>
11724
11725         * sp_spell.C (initialize): changed error text to more general
11726         spellchecker command use (not only ispell!)
11727
11728         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11729
11730         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11731
11732 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * vspace.C: initialise lyxgluelength on failure
11735
11736 2001-11-28  Allan Rae  <rae@lyx.org>
11737
11738         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11739         declaration & definition that looks like a function declaration.
11740
11741 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * BufferView2.C (copy):
11744         (copyEnvironment): do not clear the selection when doing a copy.
11745
11746         * text.C (paintFirstRow): compilation fix
11747
11748 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11749
11750         * tabular.C (Latex): correct line count when writing latex.
11751
11752 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * paragraph_pimpl.h:
11755         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11756           bug a bit
11757
11758 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * text.C:
11761         * LColor.h:
11762         * LColor.C: change vfillline->added_space
11763
11764         * text.C: add markers and text for added space
11765
11766         * vspace.C: fix comment
11767
11768 2001-11-28  André Pönitz <poenitz@gmx.net>
11769
11770         * paragraph.C: whitespace changes
11771         * all the other files from the change on 2001/11/26:
11772         change *::pos_type into lyx::pos_type
11773
11774 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11775
11776         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11777         language of the document when inserting error insets.
11778
11779 2001-11-26  André Pönitz <poenitz@gmx.net>
11780
11781         * BufferView_pimpl.[Ch]:
11782         *       CutAndPaste.C:
11783         * buffer.[Ch]:
11784         * lyxcursor.[Ch]:
11785         * lyxfind.C:
11786         * lyxfunc.C:
11787         * lyxrow.[Ch]:
11788         * paragraph.[Ch]:
11789         * paragraph_pimpl.[Ch]:
11790         * sp_spell.C:
11791         * text.C:
11792         * text2.C: reduce header dependencies, introduce type for positions
11793
11794 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * <various>: change to use Alert.h
11797
11798 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11799
11800         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11801         when encountering an unknown token.
11802         (readLyXformat2): Show an error message if there were unknown tokens.
11803
11804 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * BufferView2.C:
11807         * BufferView_pimpl.C:
11808         * buffer.C:
11809         * paragraph.h:
11810         * text.C:
11811         * text2.C: use par->isInset()
11812
11813 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * paragraph_pimpl.h:
11816         * paragraph_pimpl.C: cleanup
11817
11818 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11819
11820         * text2.C (removeRow):
11821         * text.C (setHeightOfRow): remove useless (and costly) call to
11822         getRow.
11823
11824 2001-11-20  Allan Rae  <rae@lyx.org>
11825
11826         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11827         Now need Inset*::checkInsertChar() to return true for appropriate
11828         cases so that the characters in the minibuffer will actually be
11829         inserted.
11830
11831 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * text.C: change the order of the includes.
11834         (workWidth): initialize it at once.
11835         (workWidth): make maxw unsigned
11836         (setHeightOfRow): remove unused variable (inset)
11837         (selectSelectedWord): remove unused variable (inset)
11838         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11839
11840 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11843         server is not running.
11844         (openConnection):
11845         (closeConnection): add debug info when server is disabled.
11846
11847         * ColorHandler.C (getGCForeground): send debug message to GUI
11848         channel.
11849
11850         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11851
11852         * kbmap.C (bind): modify because return conventions of
11853         kb_sequence::parse have changed.
11854
11855         * kbsequence.C (parse): only ignore spaces and not any stupid
11856         control character. This avoids tests like s[i] <= ' ', which are
11857         guaranteed to fail with 8bit characters and signed chars.
11858         Change return code to string::npos when there have been no error
11859         (0 was a bad idea when error is at first character)
11860
11861 2001-11-14  José Matos  <jamatos@fep.up.pt>
11862
11863         * buffer.h:
11864         * buffer.C (simpleDocBookOnePar): removed unused argument.
11865
11866 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11867
11868         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11869         insets which are part of a word. Paragraph::isLetter takes care of
11870         that now. Use Paragraph::isInset to identify insets.
11871         (selectSelectedWord): do not test for hyphenation break.
11872
11873         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11874         that protected spaces are considered as spaces.
11875
11876         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11877         Inset::isLetter.
11878
11879 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * lyxserver.h:
11882         * lyxserver.C: fix it. and small cleanup.
11883
11884 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * BufferView_pimpl.C: use inline helpers
11887
11888         * LaTeXFeatures.h:
11889         * LaTeXFeatures.C: fix typos
11890
11891         * Spacing.h:
11892         * Spacing.C: move spacing_string into class
11893
11894         * ToolbarDefaults.C: move stuff into namespace anon
11895
11896         * layout.h: update enum
11897
11898         * lyxfunc.C: use better debug
11899
11900         * minibuffer.h: fix typo
11901
11902         * debug.h:
11903         * debug.C:
11904         * WorkArea.C: add and use Debug::WORKAREA
11905
11906         * lyxtext.h:
11907         * text.C:
11908         * text2.C: code re-organisation, inline helpers
11909
11910 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11911
11912         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11913         std::vector.empty().
11914
11915 2001-11-09  Allan Rae  <rae@lyx.org>
11916
11917         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11918         '\n's after tables.  Tabular and ERT inset work now makes this no
11919         longer necessary.
11920
11921 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * minibuffer.h:
11924         * minibuffer.C: fix crash, improve drop-down completion
11925
11926 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyxserver.h:
11929         * lyxserver.C: invalidate fd's when doing endPipe()
11930
11931 2001-11-08  José Matos  <jamatos@fep.up.pt>
11932
11933         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11934         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11935
11936         * paragraph.h:
11937         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11938
11939 2001-11-07  José Matos  <jamatos@fep.up.pt>
11940
11941         * buffer.h:
11942         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11943         const qualifier.
11944
11945         * buffer.C (sgmlOpenTag):
11946         * buffer.C (sgmlCloseTag): removed debug info.
11947
11948         * buffer.h (sgmlOpenTag):
11949         * buffer.h (sgmlCloseTag): made public.
11950
11951 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11952
11953         * buffer.C (saveParamsAsDefaults):
11954         * lyx_cb.C (MenuLayoutSave): remove
11955
11956         * LyXAction.C (init):
11957         * commandtags.h:
11958         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11959
11960 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11961
11962         * buffer.C (setPaperStuff): removed from here...
11963
11964         * bufferparams.C (setPaperStuff): ... and moved there.
11965
11966 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * minibuffer.h:
11969         * minibuffer.C:
11970         * XFormsView.C: add support for drop-down completion
11971
11972 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11973
11974         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11975         commands.
11976
11977 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11978
11979         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11980         disabled.
11981
11982 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * lyx_main.C: change ref to known bugs
11985
11986 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11987
11988         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11989         to work around older babel problems.
11990
11991 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11992
11993         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11994
11995 2001-10-24  Juergen Vigna  <jug@sad.it>
11996
11997         * tabular-old.C (ReadOld): below variable changes reflected.
11998
11999         * tabular.[Ch]: added ltType struct for longtable header/footer
12000         defines and changed all instances where they are used. Added
12001         future support for double top/bottom rows.
12002
12003 2001-10-24  José Matos  <jamatos@fep.up.pt>
12004
12005         * buffer.h (docbookHandleCaption):
12006         * buffer.C (docbookHandleCaption): removed unused function.
12007         (makeDocBookFile): moved docbook supported version to v4.1.
12008
12009 2001-10-24  José Matos  <jamatos@fep.up.pt>
12010
12011         * tabular.h:
12012         * tabular.C (docbookRow): new function to export docbook code of a row.
12013         (DocBook): now honors the longtable flags.
12014
12015 2001-10-23  José Matos  <jamatos@fep.up.pt>
12016
12017         * LaTeXFeatures.h:
12018         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12019         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12020
12021         * buffer.C (makeLinuxDocFile):
12022         (makeDocBookFile): reworked the preamble, more clean, and with
12023         support for lyx defined entities. Changed the document declaration
12024         to be more XML friendly.
12025
12026         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12027         if we need to output XML that should be done with a filter.
12028
12029 2001-10-22  Juergen Vigna  <jug@sad.it>
12030
12031         * sp_pspell.h (class PSpell): add alive function needed in the
12032         controller to see if the spellchecker could be started.
12033
12034 2001-10-22  Juergen Vigna  <jug@sad.it>
12035
12036         * buffer.C (insertStringAsLines): modify the font for inserting
12037         chars in certain conditions by calling checkInsertChar(font).
12038
12039 2001-10-19  Juergen Vigna  <jug@sad.it>
12040
12041         * text.C (workWidth): use getRow instead of wrong algorithm.
12042         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12043
12044 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * lyxserver.h:
12047         * lyxserver.C:
12048         * lyx_main.h:
12049         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12050
12051 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * text.C (workWidth): do not search for the exact row when
12054         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12055         optimization for big documents.
12056
12057 2001-10-18  Juergen Vigna  <jug@sad.it>
12058
12059         * text.C (workWidth): new function with added Inset * parameter.
12060
12061 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12062
12063         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12064
12065         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12066         change return type of getColumnNearX.
12067
12068
12069         * text.C (changeRegionCase): use uppercase/lowercase instead of
12070         toupper/tolower.
12071         (leftMargin):
12072         (rightMargin): simplify code by factoring out the uses of
12073         textclasslist.
12074         (labelFill):
12075         (numberOfHfills):
12076         (setHeightOfRow):
12077         (appendParagraph): use Paragraph::size_type
12078
12079 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * vspace.C (asLatexString): add a missing break
12082
12083 2001-10-15  Herbert Voss  <voss@perce.de>
12084
12085         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12086
12087 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12090         is not available.
12091
12092 2001-10-10  André Pönitz <poenitz@gmx.net>
12093
12094         * lyxfunc.C: removed greek_kb_flag.
12095
12096 2001-10-10  Herbert Voss  <voss@perce.de>
12097
12098         * lyx_main.C: delete global string help_lyxdir.
12099
12100 2001-10-09  Herbert Voss  <voss@perce.de>
12101
12102         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12103
12104         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12105
12106         * lyx_main.C: added global string help_lyxdir.
12107
12108         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12109
12110 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12111
12112         * lyxrc.C (set_font_norm_type): support iso8859-4
12113
12114 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12115
12116         * LaTeX.C (deplog): add another regex for MikTeX
12117
12118 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12119
12120         * lyxrc.C (set_font_norm_type): support iso8859-3
12121
12122 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12123
12124         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12125
12126         * LaTeXFeatures.C: remove special case of french and index
12127
12128         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12129         before \begin{document}). This solves several incompatibilities.
12130
12131 2001-10-03  Garst Reese  <reese@isn.net>
12132
12133         * lyx_cb.C: change CheckTex error msg.
12134
12135 2001-10-03  José Matos  <jamatos@fep.up.pt>
12136
12137         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12138
12139 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12140
12141         * .cvsignore: update
12142
12143         * lyx_main.C (commandLineVersionInfo): use new style version info.
12144
12145         * buffer.C (writeFile):
12146         (makeLaTeXFile):
12147         (makeLinuxDocFile):
12148         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12149
12150         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12151
12152         * version.h: update to use stuff in version.C
12153
12154         * version.C.in: new file. Contains version information determined
12155         at compile time. This is a merging of version.h and
12156         version_info.h.in.
12157
12158 2001-10-03  Juergen Vigna  <jug@sad.it>
12159
12160         * BufferView_pimpl.C (update): don't change "dirty" status in
12161         updateInset call.
12162
12163 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12164
12165         * WorkArea.C (c-tor): re-position version string slightly.
12166
12167 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12168
12169         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12170         revert to previous code.
12171
12172         WorkArea.[Ch]: (show, destroySplash): methods removed.
12173
12174         WorkArea.C: rework code so that it's an amalgam of the codes before and
12175         after the splash screen was moved to WorkArea.
12176
12177 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * lyxrc.C (read):
12180         * vspace.C (inPixels):
12181         (lyx_advance):
12182         * kbmap.C (bind):
12183         * buffer.C (insertStringAsLines):
12184         (asciiParagraph): fix types to be large enough
12185
12186         * lyxlex_pimpl.h: change member status from short to int
12187
12188         * layout.h: fix type of endlabeltype
12189
12190         * kbmap.C (bind):
12191         * kbsequence.C (parse): change return type to string::size_type
12192
12193         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12194         variable
12195
12196         * Bullet.C (bulletSize):
12197         (bulletEntry): do not use short ints as parameters
12198
12199         * BufferView2.C (insertLyXFile): change a char to an int.
12200
12201         * WorkArea.C (WorkArea): remove unneeded floats in computation
12202
12203 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12204
12205         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12206
12207         * paragraph.C (asString): Do not ignore newline/hfill chars when
12208         copying to the clipboard.
12209
12210 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12213         after a multi-line inset.
12214
12215 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12216
12217         * paragraph.C (validate): Set NeedLyXFootnoteCode
12218
12219 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12220
12221         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12222         and decrease-error to decrease.
12223
12224 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12227         it more readable (should be equivalent)
12228
12229 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12230
12231         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12232
12233 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12234
12235         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12236         of a cursor (row, etc.) after a character has been deleted
12237         (deleteEmptyParagraphMechanism): call the method above on _all_
12238         cursors held by the LyXText when a double space has been
12239         detected/deleted.
12240
12241 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12244         pixmap.
12245         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12246
12247         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12248         background. Use greyOut() and the new show() methods to toggle between
12249         the foreground and background. Add code to remove the splash after
12250         its initial showing.
12251
12252         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12253         (create_forms): no longer call Dialogs::showSplash.
12254
12255 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * .cvsignore: add version_info.h
12258
12259 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12260
12261         * version_info.h.in: new file
12262
12263         * Makefile.am: add version_info.h.in
12264
12265         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12266         version_info.h instead of VERSION_INFO
12267
12268 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12271         The ERT inset now returns string().
12272
12273 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12274
12275         * lyxtext.h, text.C (selectNextWord): renamed as
12276         selectNextWordToSpellcheck.
12277
12278         * text.C (selectNextWordToSpellcheck): Modified to not select
12279         words inside an ERT inset.
12280
12281 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * lyx_cb.C (MenuLayoutSave): change a bit the question
12284
12285         * sp_base.h: include <sys/types.h>
12286
12287 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12290
12291 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12292
12293         * several files: fix typos in user-visible strings
12294
12295 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * text2.C (pasteSelection): do not set the selection, since it
12298         will be cleared later. Actually, the intent was to fix the way the
12299         selection was set, but I figured rmoving the code was just as good.
12300
12301 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12302
12303         * FontLoader.C (available): Check if font is available without
12304         loading the font.
12305
12306 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12307
12308         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12309
12310 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12311
12312         * lyxrc.[Ch]: added display_graphics variable and associated code.
12313
12314 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * bufferparams.C (hasClassDefaults): new method. Returns true if
12317         the buffer parameters correspond to known class defaults
12318
12319 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12320
12321         * XFormsView.C (show): set minimum size to the main window.
12322
12323 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * text2.C (copySelection):
12326         (cutSelection):
12327         * lyxfind.C (LyXReplace):
12328         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12329         LyXText::selectionAsString.
12330
12331         * paragraph.C (asString): add "label" argument to the second form
12332
12333         * text2.C (selectionAsString): add "label" argument and pass it to
12334         Paragraph::asString.
12335
12336 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12337
12338         * lyx_main.C (commandLineHelp): remove version information
12339
12340 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12341
12342         * lyx_main.C: add -version commandline option
12343
12344 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * paragraph.h: make the optional constructor arg required instead.
12347         some modifications to other files because of this.
12348
12349         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12350
12351         * lyxserver.C (C_LyXComm_callback): make it static
12352
12353         * lyx_main.C (error_handler): make it static
12354
12355         * lyx_gui.C (LyX_XErrHandler): make it static
12356
12357         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12358
12359         * WorkArea.C: make the extern "C" methods static.
12360
12361         * Makefile.am (lyx_LDADD): simplify
12362
12363 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12366         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12367
12368         * LyXAction.C (init):
12369         * lyxfunc.C (dispatch): associated code removal.
12370
12371 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * lyxfont.h (isSymbolFont): shut off warning
12374
12375         * text.C (setHeightOfRow):
12376         (getVisibleRow): fix crash with empty paragraphs which have a
12377         bottom line
12378
12379 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12380
12381         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12382         code.
12383
12384 2001-09-04  José Matos  <jamatos@fep.up.pt>
12385         * buffer.C
12386         * buffer.h
12387         * tabular.C (docbook): rename docBook method to docbook.
12388
12389 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * Makefile.am: add dependencies to main.o.
12392
12393 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * FontLoader.C (available): Return false if !lyxrc.use_gui
12396
12397 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12398
12399         * FontInfo.C (query):
12400         * converter.C (view):
12401         * importer.C (Import):
12402         * exporter.C (Export): Can not -> cannot.
12403
12404 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.C: allow to create index inset even if
12407           string is empty
12408
12409 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         * buffer.C (getLists): replace boost::tie code with an explicit pair
12412         as boost::tie can break some compilers.
12413
12414         * iterators.h: Added a std:: declaration to the return type of
12415         ParIterator::size.
12416
12417 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12420           case.
12421
12422 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12423
12424         * iterators.[Ch]: New files. Provide paragraph iterators.
12425
12426         * buffer.C (changeLanguage): Use paragraph iterators.
12427         (isMultiLingual): ditto
12428
12429         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12430
12431 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12432
12433         * FontLoader.C: Support for cmr font.
12434
12435 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12436
12437         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12438         (available): New method.
12439
12440         * FontInfo.C (getFontname): Use scalable fonts even when
12441         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12442         found.
12443
12444 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12445
12446         * converter.C (Formats::view): reverted! Incorrect fix.
12447
12448 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12449
12450         * converter.C (Formats::view): only output the -paper option
12451         if the dvi viewer is xdvi, thereby fixing bug #233429.
12452
12453 2001-08-23  Herbert Voss  <voss@perce>
12454
12455         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12456
12457 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12458
12459         * Spacing.h (Spacing): Set space to Default on in the default
12460         constructor.
12461
12462 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * vc-backend.h (RCS::versionString): add RCS to version
12465         (CVS::versionString): add CVS to version
12466
12467         * vc-backend.C (scanMaster): do not add CVS to version.
12468         (scanMaster): do not add RCS to version
12469
12470         * lyxvc.C (versionString): new method
12471
12472         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12473
12474 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * Spacing.C (set): initialize fval
12477
12478 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12481         " or \.
12482
12483 2001-08-16  Juergen Vigna  <jug@sad.it>
12484
12485         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12486
12487 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * BufferView_pimpl.C:
12490         * figureForm.C:
12491         * lyxtext.h:
12492         * text2.C: setParagraph takes linespacing now
12493
12494 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * LyxAction.C: add internal LFUN_CITATION_INSERT
12497
12498         * LyXView.C: actually apply fix
12499
12500         * bufferlist.C: fix open non-existent file
12501
12502         * lyxfind.C: fix indentation
12503
12504         * lyxfunc.C: remove unneeded assert, fix typo
12505
12506 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * MenuBackend.C: use "Floatname List"
12509
12510 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12513         when converting LaTeX layout to insetERT.
12514         Generate a non-collapsed float when reading old float
12515
12516 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12517
12518         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12519         ERT insets.
12520
12521 2001-08-13  Juergen Vigna  <jug@sad.it>
12522
12523         * text.C (fill): return 0 instead of 20 as this seems to be the more
12524         correct value.
12525
12526 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12527
12528         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12529         lyxrc.font_norm.
12530
12531 2001-08-13  Juergen Vigna  <jug@sad.it>
12532
12533         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12534         casesensitive off.
12535         (SearchBackward): comment out the unlocking of the inset_owner this
12536         should not be needed!
12537
12538 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12539
12540         * Many files: Remove inherit_language, and add latex_language
12541
12542         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12543         collapsible insets.
12544
12545 2001-08-10  Juergen Vigna  <jug@sad.it>
12546
12547         * text.C (prepareToPrint): fixed hfill-width in draw!
12548
12549         * BufferView2.C (selectLastWord): save the selection cursor as this
12550         now is cleared in the function LyXText::clearSelection!
12551
12552 2001-08-08  Juergen Vigna  <jug@sad.it>
12553
12554         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12555         BACKSPACE type functions.
12556
12557         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12558         is only cutted from the document but not put in the cut-buffer, where
12559         still the old stuff should be.
12560
12561         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12562
12563         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12564
12565         * tabular.C (SetWidthOfCell): fixed special case where the width
12566         was not updated!
12567         (LeftLine): handle '|' in align_special.
12568         (RightLine): ditto
12569         (LeftAlreadyDrawed): ditto
12570         (SetWidthOfCell): ditto
12571
12572 2001-08-07  Juergen Vigna  <jug@sad.it>
12573
12574         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12575
12576 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12579         * lyxlex.[hC]: ditto
12580
12581 2001-08-06  Juergen Vigna  <jug@sad.it>
12582
12583         * text.C (getVisibleRow): fix up row clearing a bit.
12584
12585 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * minibuffer.C: make sure the X server sees the changes in the input.
12588
12589 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * paragraph.C (getFont): split into...
12592         (getLabelFont): this
12593         (getLayoutFont): and this
12594         * paragraph_pimpl.C (realizeFont): calling this
12595
12596         * text2.C (getFont): split into...
12597         (getLayoutFont): this
12598         (getLabelFont): and this
12599         (realizeFont): all three calling this
12600
12601         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12602         files where used.
12603
12604 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12605
12606         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12607
12608 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12609
12610         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12611         layouts from the Quote inset insertion.
12612
12613 2001-08-03  Juergen Vigna  <jug@sad.it>
12614
12615         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12616
12617         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12618         only if status not is already CHANGED_IN_DRAW (second level).
12619
12620         * text.C (draw): don't set the need_break_row when inside an
12621         InsetText LyXText.
12622
12623 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * buffer.C (parseSingleLyXformat2Token): handle more latex
12626         conversion cases.
12627
12628         * bufferview_funcs.[hC]: change function names to
12629         begin with small char, adjust other files.
12630
12631 2001-08-02  André Pönitz <poenitz@gmx.net>
12632
12633         * lyxfunc.C:
12634         BufferView_pimpl.C: remove broken special code for math-greek
12635
12636 2001-08-02  Juergen Vigna  <jug@sad.it>
12637
12638         * BufferView_pimpl.C (update): redone this function so that we
12639         update the text again if there was a CHANGE_IN_DRAW.
12640
12641         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12642         (drawFromTo): added a new internal bool which is used by draw() and
12643         redraw() function.
12644         (general): some cursor drawing problems fixed.
12645
12646 2001-08-01  Juergen Vigna  <jug@sad.it>
12647
12648         * lyxfind.C (LyXFind): fixed
12649         (SearchForward): ditto
12650         (SearchBackward): ditto
12651
12652         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12653         spurius drawing of the cursor in the main area.
12654
12655         * text2.C (status): small fix which could lead to a segfault!
12656         (clearSelection): remove unneeded BufferView param.
12657
12658 2001-08-01  André Pönitz <poenitz@gmx.net>
12659
12660         * lyxfunc.C: small change due to changed mathed interface
12661
12662 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12665
12666 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * lyxfunc.c: fail gracefully if file doesn't exist
12669
12670         * LyXSendto.C:
12671         * buffer.C:
12672         * lyxfunc.C:
12673         * BufferView_pimpl.C: IsDirWriteable() proto changed
12674
12675         * LyXView.C: fix updateWindowTitle() to store the last title
12676
12677 2001-07-31  Juergen Vigna  <jug@sad.it>
12678
12679         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12680         the font (wrong since using of Paragraph::highestFontInRange).
12681
12682         * paragraph.C (highestFontInRange): added a default_size parameter.
12683
12684         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12685         (setHeightOfRow): reformat
12686
12687 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * converter.[hC] + affected files: move to (inital-char)lowercase
12690         function names.
12691
12692         * ParagraphParameters.C (ParagraphParameters): remove commented code
12693
12694         * PainterBase.[Ch]: remove commented code
12695
12696         * LaTeXFeatures.h: add "bool floats" for float.sty
12697
12698         * LaTeXFeatures.C (LaTeXFeatures): init floats
12699         (require): handle float
12700         (getPackages): do it with floats
12701
12702 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12703
12704         * BufferView_pimpl.C (Dispatch): improve handling of
12705         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12706
12707         * commandtags.h: #include lyxfont.h here temporarily to avoid
12708         keybinding bug.
12709
12710         * bufferlist.h: include LString.h here.
12711
12712 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * text2.C (getStringToIndex): new method.
12715
12716 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12717
12718         * *: Reduced header file dependencies all over.
12719
12720 2001-07-30  Baruch Even  <baruch@lyx.org>
12721
12722         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12723
12724 2001-07-29  Baruch Even  <baruch@lyx.org>
12725
12726         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12727
12728 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12729
12730         * ParameterStruct.h (endif): add a default constructor to make
12731         sure that all variables is initialized.
12732
12733         * ParagraphParameters.C (ParagraphParameters): adjust
12734
12735 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736
12737         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12738         index; also, check that there is something to index, and that it
12739         does not span over several paragraphs.
12740         (doubleClick): use WHOLE_WORD_STRICT for double click.
12741
12742         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12743
12744         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12745         scheme.
12746
12747 2001-07-26  Baruch Even  <baruch@lyx.org>
12748
12749         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12750         an InsetFig figure, backwards compatible reading of old figure code.
12751
12752 2001-07-27  Juergen Vigna  <jug@sad.it>
12753
12754         * text2.C: font.realize function adaption.
12755
12756         * text.C (draw): add a warnings lyxerr text if needed.
12757
12758         * layout.C: font.realize function adaption.
12759
12760         * language.C: add inherit_language and implement it's handlings
12761
12762         * bufferview_funcs.C (StyleReset): remove language parameter from
12763         font creation (should be language_inherit now).
12764
12765         * bufferparams.C (writeFile): handle ignore_language.
12766
12767         * paragraph.C (getFontSettings): the language has to be resolved
12768         otherwise we have problems in LyXFont!
12769
12770         * lyxfont.C (lyxWriteChanges): added document_language parameter
12771         (update): removed unneeded language parameter
12772
12773         * paragraph.C (validate): fixed wrong output of color-package when
12774         using interface colors for certain fonts in certain environments,
12775         which should not seen as that on the final output.
12776
12777 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * BufferView_pimpl.C:
12780         * Thesaurus.h:
12781         * Thesaurus.C:
12782         * Makefile.am:
12783         * commandtags.h:
12784         * LyXAction.C: add thesaurus support
12785
12786         * lyxfind.h:
12787         * lyxfind.C: add "once" parameter, for thesaurus, to not
12788           move to the next match
12789
12790 2001-07-26  Juergen Vigna  <jug@sad.it>
12791
12792         * lyxfont.C (realize): honor ignore_language too!
12793         (resolved): ditto.
12794
12795         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12796
12797         * text.C (draw): one place more for ignore_language to not draw
12798         itself!
12799
12800 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12803
12804 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12807         the minipage conversion problem.
12808
12809 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12812         insert an inset.
12813
12814 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * BufferView.h: don't forward declare WorkArea
12817
12818         * BufferView.C: don't include WorkArea.h
12819
12820 2001-07-25  André Pönitz <poenitz@gmx.net>
12821
12822         * commandtags.h:
12823         * LyXAction.C:
12824         * lyxfunc.C:  new LFUN 'math-space'
12825
12826         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12827
12828 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * text2.C (toggleInset): call open/close
12831
12832 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * lyxfunc.C (dispatch): add debug for the disabled case
12835
12836         * font.C (buttonText): make similar to rectText
12837
12838         * buffer.C (readInset): comment out parsing of insetlist and
12839         insttheorem
12840
12841         * PainterBase.C (rectText): small correction
12842
12843         * BufferView_pimpl.C: comment out insettheorem and insetlist
12844         * LyXAction.C: ditto
12845         * commandtags.h: ditto
12846
12847 2001-07-24  Juergen Vigna  <jug@sad.it>
12848
12849         * text.C (draw): honor the ignore_language.
12850
12851         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12852
12853 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12856         char inset.
12857
12858 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12859
12860         * lyxtext.h: remove unused (and unimplemented) methods
12861
12862 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12863
12864         * text.C (getVisibleRow): honor background color
12865
12866         * PainterBase.h:
12867         * Painter.h: remove default color argument for fillRectangle
12868
12869         * text.C (backgroundColor): new method
12870
12871 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * text.C (getVisibleRow): adjust
12874
12875         * font.[Ch] (rectText): new method, metrics
12876         (buttonText): new method, metrics
12877
12878         * PainterBase.[hC]: make rectText and buttonText always draw and take
12879         fewer paramteres.
12880
12881 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12882
12883         * ToolbarDefaults.C (read):
12884         * MenuBackend.C (read): allow escaping in all strings
12885
12886         * BufferView_pimpl.C (insertAndEditInset): new method.
12887         (Dispatch): use insertAndEditInset whenever appropriate.
12888
12889         * BufferView_pimpl.C (insertNote): removed
12890
12891         * BufferView_pimpl.C (smartQuote): new method, moved from
12892         BufferView; if an insetquote cannot be inserted, insert a '"'
12893         character instead.
12894
12895         * BufferView2.C: remove insertCorrectQuote();
12896
12897         * lyxfunc.C (getStatus): Add support for all remaingin
12898         inset-insert lfuns.
12899
12900         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12901
12902         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12903         command (necessary to pass " as parameter of self-insert.
12904
12905         * text.C (selectWordWhenUnderCursor):
12906         (selectWord): add word_location parameter
12907         (selectWordWhenUnderCursor): same + remove special code for word
12908         boundary.
12909         (selectNextWord): use kind() to guess type of insetspecialchar,
12910         not latex().
12911
12912         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12913         (insertErtContents): create ert insets as collapsed.
12914         (readInset): better compatibility code for Info inset.
12915
12916 2001-07-20  Juergen Vigna  <jug@sad.it>
12917
12918         * lyxfunc.C (dispatch): use always LyXFind now!
12919
12920         * text2.C (init): add a reinit flag so that the LyXText can be
12921         reinited instead of deleted and reallocated (used in InsetText).
12922
12923         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12924
12925         * text.C: ditto
12926
12927         * text2.C: ditto
12928
12929 2001-07-18  Juergen Vigna  <jug@sad.it>
12930
12931         * text.C (selectNextWord): handle insets inside inset by calling
12932         always the bv->text functions so that we can go up the_locking_inset!
12933
12934         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12935         in strange locations when inside an inset!
12936
12937         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12938         handling to include insets.
12939
12940         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12941
12942 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * LyXAction.C (init):
12945         * commandtags.h:
12946         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12947         LIGATURE_BREAK, since the name is so stupid.
12948
12949 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12952         InsetInfos.
12953
12954         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12955
12956         * sp_form.[Ch]: remove.
12957
12958         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12959
12960         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12961         InsetInfo.
12962
12963         * src/buffer.C (readInset): ditto.
12964
12965 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12966
12967         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12968         menuSeparator(), endOfSentenceDot(), ldots() and
12969         hyphenationPoint(), which are therefore removed.
12970         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12971
12972         * LyXAction.C (init):
12973         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12974
12975         * paragraph.C (getWord): removed.
12976
12977         * BufferView_pimpl.C (Dispatch): use last word or selection for
12978         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12979
12980         * lyx_main.C (queryUserLyXDir): do not ask before creating
12981         user_dir, except if it has been named explicitely.
12982
12983 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12986         a document of zero size.
12987
12988 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12991         approriately in the c-tor and in require().
12992         (getPackages): output the appropriate LaTeX for natbib support.
12993
12994         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12995         variables "use_natbib" and "use_numerical_citations" when reading the
12996         LyX file.
12997         (readInset): read the various natbib cite commands.
12998         (validate): white-space change.
12999
13000         * bufferparams.[Ch]: new variables "bool use_natbib" and
13001         "bool use_numerical_citations".
13002         (writeFile): output them in the LyX file.
13003
13004 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13005
13006         * lyxfunc.C (getStatus): add support for all the inset insertion
13007         commands.
13008
13009         * text2.C (insertInset):
13010         * paragraph.C (insetAllowed):
13011         * BufferView_pimpl.C (insertInset): update to take in account the
13012         renaming of insertInsetAllowed
13013
13014         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13015
13016         * text2.C (getInset): new method. returns inset at cursor position.
13017
13018         * BufferView_pimpl.C (Dispatch): changes because of this.
13019
13020         * LyXAction.C (init): rename open-stuff to inset-toggle.
13021
13022         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13023
13024         * text2.C (toggleInset): renamed from openStuff; use
13025         Inset::open().
13026
13027 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13028
13029         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13030
13031         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13032
13033 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13034
13035         * buffer.C (readLyXformat2): Add filename to the error dialog
13036
13037 2001-07-18  Juergen Vigna  <jug@sad.it>
13038
13039         * tabular.C (GetCellNumber): put an assert here instead of the check!
13040
13041 2001-07-17  Juergen Vigna  <jug@sad.it>
13042
13043         * BufferView_pimpl.C (toggleSelection): adapted too.
13044
13045         * text.C (selectNextWord): adapted for use with insets.
13046         (selectSelectedWord): ditto
13047
13048 2001-07-17  Juergen Vigna  <jug@sad.it>
13049
13050         * sp_spell.C (PSpell): fix initialitation order.
13051
13052 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * paragraph.C: spacing
13055
13056 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13057
13058         * sp_spell.C: repair language selection for pspell
13059
13060 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * lyxfunc.h: change more methods to begin with lower char.
13063
13064 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13067         for unknown layouts.
13068
13069 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13070
13071         * buffer.C (readLyXformat2): Generate an error dialog if there are
13072         unknown layouts.
13073
13074 2001-07-16  Juergen Vigna  <jug@sad.it>
13075
13076         * sp_spell.C: always compile ISpell part.
13077
13078         * lyxrc.C: added use_pspell entry and it's handling.
13079
13080 2001-07-13  Juergen Vigna  <jug@sad.it>
13081
13082         * sp_spell.C: removed double includes.
13083
13084 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13085
13086         Consistent use of Lsstream.h:
13087         * Lsstream.h: added using std::stringstream for consistencies sake.
13088
13089         * buffer.C: removed using std::stringstream
13090
13091         * lyxfont.C (stateText):
13092         * paragraph.C (asString):
13093         * text.C (selectNextWord, selectSelectedWord):
13094         * text2.C (setCounter):
13095         * vspace.C (asString, asLatexString):
13096         std::ostringstream -> ostringstream.
13097
13098 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13099
13100         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13101         * commandtags.h: add LFUN_HELP_ABOUTLYX
13102         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13103
13104 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13105
13106         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13107         cursorToggle()
13108         * lyx_gui_misc.C: remove spellchecker
13109         * lyxfunc.C: showSpellchecker
13110         * sp_base.h: added
13111         * sp_ispell.h: added
13112         * sp_pspell.h: added
13113         * sp_spell.C: added
13114         * sp_form.[Ch]: removed
13115         * spellchecker.[Ch]: removed
13116
13117 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13118
13119         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13120         is set.
13121         (simpleTeXSpecialChars): Simply print the input character without
13122         any special translation if pass_thru is set.
13123
13124         * layout.h: Added bool pass_thru to layout class for being able to
13125         implement pass through of a paragraph for Literate Programming.
13126
13127         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13128         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13129         * layout.C (Read): add "passthru" to list of layout tags and add
13130         code to set the pass_thru boolean when it is read.
13131
13132 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * trans_decl.h: remove allowed from KmodInfo
13135
13136         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13137         remove allowed code
13138         (Load): adjust
13139
13140         * paragraph_pimpl.C (erase): use boost::prior
13141
13142         * Painter.C (text): use data() instead of c_str() when length is
13143         also provided.
13144         * WorkArea.C (putClipboard): ditto
13145         * font.h (width): ditto
13146
13147         * BufferView2.C: use it-> instead of (*it). for iterators
13148         * texrow.C: ditto
13149         * paragraph_pimpl.C: ditto
13150         * paragraph.C: ditto
13151         * minibuffer.C: ditto
13152         * language.C: ditto
13153         * kbmap.C: ditto
13154         * encoding.C: ditto
13155         * counters.C: ditto
13156         * converter.C: ditto
13157         * chset.C: ditto
13158         * Variables.C: ditto
13159         * TextCache.C: ditto
13160         * MenuBackend.C: ditto
13161         * LyXAction.C: ditto
13162         * LColor.C: ditto
13163         * FloatList.C: ditto
13164         * DepTable.C: ditto
13165         * ColorHandler.C (LyXColorHandler): ditto
13166
13167 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13170
13171         * text2.C (openStuff): reintroduce this method (which had been
13172         nuked in NEW_INSETS frenzy).
13173
13174         * lyxfunc.C (Dispatch): when an action has not been handled, use
13175         its name in the error message, not its number.
13176
13177         * paragraph.C (inInset): change method name to begin with lowercase.
13178
13179         * undo_funcs.C:
13180         * text2.C: updates because of this.
13181
13182 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * ToolbarDefaults.C (add): add spaces in error message
13185
13186 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13189         (readLyXformat2): rename return_par to first_par, use lyxlex's
13190         pushToken and remove the manual push handling.
13191         (parseSingleLyXformat2Token): add another ert comp. variable:
13192         in_tabular, rename return_par to first_par. handle newlines better
13193
13194 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13195
13196         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13197
13198 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * text2.C (getParFromID): removed
13201
13202         * buffer.C (getParFromID): new method moved form lyxtext.
13203         * BufferView2.C (insertErrors): adjust
13204         (setCursorFromRow): adjust
13205         * BufferView_pimpl.C (restorePosition): adjust
13206         * lyxfunc.C (Dispatch): adjust
13207         * undo_funcs.C (textUndo): adjust
13208         (textRedo): adjust
13209         (textHandleUndo): adjust
13210         (textHandleUndo): adjust
13211
13212 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * buffer.C: up' the LYX_FORMAT
13215
13216         * lyxfont.h: turn NO_LATEX on as default
13217
13218         * buffer.C (insertErtContents): new methods of tex style compability.
13219         (parseSingleLyXformat2Token): use it several places.
13220         * tabular.C (OldFormatRead): and here
13221
13222 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * text2.C: remove some commented code.
13225         reindent file.
13226
13227         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13228         * trans.C: changes because of the above.
13229
13230 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13231
13232         * text2.C (setCounter): Fix counters bug with bibliography layout.
13233
13234 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13237         own member functions
13238         (simpleTeXSpecialChars): ditto
13239
13240 2001-07-06  Juergen Vigna  <jug@sad.it>
13241
13242         * a lot of files: changed the access to LyXText::status and the
13243         call of undo-functions.
13244
13245         * undo.[Ch]: added a inset_id to the undo informations.
13246
13247         * undo_funcs.[Ch]: added and moved here all undo functions.
13248
13249         * lyxtext.h: give the status enum a weight, made status_ a private
13250         variable and made accessor functions for it, removed the whole bunch
13251         of undo-functions as they are now in their own file, make some
13252         functions publically available. Added function ownerParagraph with
13253         int parameter.
13254
13255         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13256         made InInset() a const function, added getParFromID() function.
13257
13258         * buffer.[Ch]: added const version for inset_iterator functions,
13259         added getInsetFromID() function.
13260
13261         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13262         changed undo functions for new version.
13263
13264 2001-07-05  Juergen Vigna  <jug@sad.it>
13265
13266         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13267         unknow mechanism does not call the proper constructor but only this
13268         one also if I request the other!?
13269
13270 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13273
13274         * text2.C (LyXText): use initialization lists.
13275
13276         * lyxtext.h (Selection): initialize set_ and mark_
13277         (init): remove method
13278
13279 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13280
13281         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13282
13283 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * screen.[Ch]: change method names to begin with lowercase
13286
13287         * BufferView_pimpl.C (updateScrollbar): simplify further and
13288         hopefully make it a bit faster.
13289
13290 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13291
13292         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13293         calling directly xforms functions.
13294
13295         * Painter.C (Painter):
13296         * lyx_cb.C (MenuWrite):
13297         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13298         fl_display.
13299
13300         * lyx_gui.C: remove bogus guiruntime extern declaration.
13301
13302 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13305         in NEW_INSETS
13306         (redoDrawingOfParagraph): ditto
13307         (redoParagraphs): ditto
13308         (cutSelection): don't create a object for CutAndPaste use the
13309         static method directly
13310         (pasteSelection): ditto
13311
13312         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13313         LyXview (+ rename)
13314
13315 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * modifications to some other files because of this.
13318
13319         * Makefile.am (lyx_SOURCES): add XFormsView
13320
13321         * XFormsView.[Ch]: new files
13322
13323         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13324         the main window. Move the gui dependent stuff to XFormsView
13325
13326 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * tabular.C (GetCellInset): update cur_cell also in the row/col
13329         version of this function.
13330
13331         * lyxfunc.C: no need to include figure_form.h here.
13332
13333         * FontLoader.h:
13334         * lyxfunc.h:
13335         * lyxscreen.h:
13336         * text2.C:
13337         * lyxvc.C: no need to include forms.h here.
13338
13339 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13342
13343         * lyxfunc.C (Dispatch):
13344         * Spacing.C (set):
13345         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13346         constructor argument.
13347
13348 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * paragraph.C (Paragraph): dont't clear, and just set layout.
13351         (makeSameLayout): use params's copy contructor.
13352
13353         * ParagraphParameters.[Ch] (makeSame): delete method
13354
13355 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13356
13357         * Variables.[Ch]: fix indentation, rename set to isSet
13358
13359 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * lyxfunc.C (Dispatch): fix typo
13362
13363 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13366         upper_bound.
13367
13368         * bufferlist.C: include assert.h for emergencyWrite().
13369
13370 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13373           give up at last (bug #425202) !
13374
13375 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * lyx_gui_misc.C:
13378         * sp_form.h:
13379         * sp_form.C:
13380         * spellchecker.h:
13381         * spellchecker.C: strip spellchecker options and bring up
13382           preferences tab instead
13383
13384 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13387         the istringstream constructor
13388
13389 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * paragraph.C (getLayout): fix return value
13392
13393         * paragraph.h: do not declare getLayout as inline.
13394
13395         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13396
13397 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * lyxcursor.h (operator<): new func
13400         (operator>): new func
13401         (operator>=): new func
13402         (operator<=): new func
13403
13404         * text.C (changeCase): use selection.start and selection.end
13405         (changeRegionCase): require from to be <= to. Require par to be a
13406         valid paragraph.
13407
13408         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13409
13410 2001-06-27  Juergen Vigna  <jug@sad.it>
13411
13412         * text.C (cursorLeftOneWord): changed to return the cursor and added
13413         overlay with BufferView * parameter which calls this one.
13414         (getWord): added
13415         (selectWord): use new getWord function.
13416         (changeCase): renamed from changeWordCase as and extended to work
13417         also on selections.
13418
13419         * lyxtext.h: added enum word_location
13420
13421         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13422         changeCase as this operates now also on selections.
13423
13424 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13425
13426         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13427
13428         * many files: send debug output to Debug::INFO instead of
13429         Debug::ANY.
13430
13431         * converter.C (View):
13432         (Convert):
13433         (Move): send debug output to Debug::FILES instead of console.
13434
13435 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13436
13437         * lyxfunc.C (getStatus): use func_status
13438
13439         * func_status.h: new header, describing the results of
13440         LyXFunc::getStatus;
13441
13442         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13443         LFUN_MATH_HALIGN.
13444
13445 2001-06-25  The LyX Project  <jug@sad.it>
13446
13447         * buffer.C (sgmlOpenTag):
13448         (sgmlCloseTag):
13449         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13450
13451 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13452
13453         * text2.C: remove some dead code
13454
13455         * tabular.C (GetCellInset): store the last cell checked (gotten)
13456
13457         * tabular.h: add the helper for the speedup
13458
13459         * lyxtext.h: remove some dead code
13460
13461 2001-06-26  The LyX Project  <Asger>
13462
13463         * paragraph.C: Change export to LaTeX of alignment to
13464         \begin{center} and family for better roundtrip work with reLyX.
13465
13466         * Tune the math drawing a bit.
13467
13468 2001-06-25  The LyX Project  <Asger>
13469
13470         * LColor.C (LColor): New color for math background. New color
13471         for buttons.
13472
13473 2001-06-25  The LyX Project  <jug@sad.it>
13474
13475         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13476
13477         * lyxfunc.C (Open):
13478         * bufferlist.C (newFile): do not restrict to files ending with
13479         .lyx
13480
13481         * BufferView_pimpl.C (MenuInsertLyXFile):
13482
13483 2001-06-24  The LyX Project  <jug@sad.it>
13484
13485         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13486         of compare_no_case
13487
13488 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13489
13490         * lyxtext.h: rename most methods to begin with a small char.
13491         Lots of changes because of this.
13492
13493         * paragraph.C (Paragraph): do not call fitToSize
13494         (erase): call Pimpl::erase
13495         (insertChar): call Pimpl::insertChar
13496         (insertInset): call Pipl::insertInset
13497         (breakParagraph): do not call fitToSize
13498         (breakParagraphConservative): do not call fitToSize
13499         (fitToSize): remove method
13500
13501         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13502
13503 2001-06-24  The LyX Project  <Asger>
13504
13505         * Fix Qt compilation^2
13506
13507 2001-06-24  The LyX Project  <jug@sad.it>
13508
13509         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13510         depthHook(getDepth()-1).
13511
13512         * paragraph.h:
13513         * ParagraphParameters.h:
13514         * ParameterStruct.h: change type of depth to unsigned int ==
13515         depth_type. Many adaptations to other files before of that.
13516
13517 2001-06-24  The LyX Project  <Asger>
13518
13519         * Fix Qt compilation.
13520
13521 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * paragraph.h: renamed several methods to begin with small letter.
13524         several changes to many parts of the code because of this.
13525
13526 2001-06-23  The LyX Project  <jug@sad.it>
13527
13528         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13529         rewritten to discard all double spaces when KeepEmpty is off
13530         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13531         to only handle newlines but not fiddle with spaces and friends.
13532
13533         * lyxfunc.C (MenuNew): when doing 'new from template', use
13534         template_path as default directory
13535
13536 2001-06-23  The LyX Project  <Asger>
13537
13538         * Clean-up of header file includes all over
13539         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13540
13541 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * paragraph.h: renamed from lyxparagraph.h
13544
13545 2001-06-23  Asger  <lyx@violet.home.sad.it>
13546
13547         * Buffer.h: Removed Buffer::resize
13548         * BufferList.h: Removed BufferList::resize
13549         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13550         the document lazily when we change the width, or the font settings.
13551
13552 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13553
13554         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13555
13556 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * buffer.h: remove out of date comment
13559
13560 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13561
13562         * lyxscreen.h:
13563         * screen.C: fix "theoretical" GC leak
13564
13565 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * LaTeX.C (scanAuxFile):
13568         (deplog): remove trailing \r when reading stream (useful under
13569         win32)
13570
13571 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13572
13573         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13574         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13575         and BufferView::theLockingInset(Inset*), so should use them and not
13576         access bv_->text->the_locking_inset directly.
13577
13578         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13579
13580 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * Makefile.am:
13583         * tex-defs.h: remove old unused file
13584
13585 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * BufferView_pimpl.C: fix typo, remove minibuffer message
13588           when buffer has loaded
13589
13590 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * lyxfunc.C (Dispatch): use stringstream
13593         (MenuNew): use stringstream
13594         (Open): use stringstream
13595
13596         * importer.C (Import): use stringstream
13597
13598         * bufferview_funcs.C (CurrentState): use stringstream
13599
13600         * LaTeX.C (run): use stringstream
13601
13602         * BufferView_pimpl.C (savePosition): use stringstream
13603         (restorePosition): use stringstream
13604         (MenuInsertLyXFile): use stringstream
13605
13606 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * BufferView.C:
13609         * Bullet.C:
13610         * ColorHandler.C:
13611         * FontInfo.C:
13612         * FontLoader.C:
13613         * LColor.C:
13614         * LaTeXFeatures.C:
13615         * Painter.C:
13616         * gettext.C:
13617         * lyx_gui_misc.C:
13618         * lyxserver.C:
13619         * vspace.C: removed // -*- C++ -*- as first line.
13620
13621         * lyxfind.h:
13622         * version.h: added // -*- C++ -*- as first line.
13623
13624 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13625
13626         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13627
13628         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13629         of string
13630
13631 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13634         of floats.
13635
13636 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13637
13638         * gettext.C: include LString.h even when --disable-nls is on.
13639
13640 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13641
13642         * converter.h (Get): changed argument type from int to
13643         FormatList::size_type to avoid unnecessary conversion.
13644
13645         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13646         before using it.
13647
13648 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * gettext.h: include LString.h even when --disable-nls is on.
13651
13652 2001-06-07  Juergen Vigna  <jug@sad.it>
13653
13654         * text.C (BreakAgain): subst spaces with tabs.
13655
13656         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13657         (resizeInsetsLyXText): set force on resizeLyXText.
13658
13659 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * gettext.h (gettext_init):
13662         (locale_init): use a real definition instead of a macro
13663
13664 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * Bufferview_pimpl.C:
13667         * LColor.h:
13668         * LColor.C: further lcolor tidies
13669
13670 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * BufferView_pimpl.C (updateScrollbar): simplify.
13673
13674         * BufferView2.C: don't include insets/insetinfo.h, change
13675         prototype for insertInset and call the Pimpl version. let
13676         updateInset call Pimpl version.
13677
13678         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13679         gotoInset to BufferView::Pimpl
13680
13681 2001-06-01  Juergen Vigna  <jug@sad.it>
13682
13683         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13684         inside a LockingInset (is the update needed at all?).
13685
13686 2001-05-31  Juergen Vigna  <jug@sad.it>
13687
13688         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13689         here not the old one otherwise how should we compare it afterwards
13690         if it's the same!
13691
13692 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13693
13694         * lyxfont.C:
13695         * tabular.C:
13696         * tabular-old.C:
13697         * FontInfo.C: bring C functions into global namespace when
13698         necessary
13699
13700 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * LString.h: make sure config.h has been loaded before LString.h.
13703
13704         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13705         (one for each char read by EatLine!).
13706
13707         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13708         variables.
13709
13710 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13713         to the same as the par we break from
13714
13715 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13718
13719         * MenuBackend.C (expand): also create menu entries for wide
13720         versions of the floats.
13721
13722         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13723
13724         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13725
13726         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13727         frontends/Makefile.am
13728
13729         * text2.C: adjust
13730         * text.C: adjust
13731
13732
13733         * tabular.C (getTokenValue): add std::
13734
13735         * tabular-old.C (getTokenValue): add std::
13736         (getTokenValue): ditto
13737         (getTokenValue): ditto
13738
13739         * screen.C (ToggleSelection): adjust
13740
13741         * lyxtext.h: put selection cursors inside a Selection struct.
13742
13743         * lyxfunc.C (moveCursorUpdate): adjust
13744
13745         * lyxfont.C (latexWriteStartChanges): add std::
13746
13747         * lyxfind.C: adjust
13748
13749         * font.h: delete with(char const *, LyXFont const &)
13750
13751         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13752
13753         * FontInfo.C (getFontname): add std::
13754
13755         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13756         (workAreaButtonPress): adjust
13757         (tripleClick): adjust
13758         (update): adjust
13759         (moveCursorUpdate): adjust
13760         (Dispatch): adjust
13761
13762         * BufferView2.C (gotoInset): adjust
13763
13764 2001-05-30  Juergen Vigna  <jug@sad.it>
13765
13766         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13767         to check pspell I add this as default as I now have new pspell
13768         libraries and they seem to use this.
13769
13770 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * text2.C (CutSelection): make the cursor valid before the call to
13773         ClearSelection.
13774
13775 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13776
13777         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13778         relied on 0 terminated strings and other horrors. Bug found due to
13779         the new assert in lyxstring!
13780
13781         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13782         KP_ keys.
13783
13784 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13787         to latinkeys.bind.
13788
13789         * lyxfunc.C (processKeySym): change method of getting to the
13790         self-insert char.
13791
13792         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13793         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13794         * BufferView_pimpl.[Ch]: here as private methods.
13795
13796 2001-05-28  Juergen Vigna  <jug@sad.it>
13797
13798         * text.C (SetHeightOfRow): added the update() call again as it is
13799         needed to initialize inset dimensions!
13800
13801 2001-05-16  Juergen Vigna  <jug@sad.it>
13802
13803         * text2.C (SetCharFont): Add new function with BufferView * and
13804         bool toggleall parameters for setting insets internal fonts.
13805         (SetFont): Freeze the undo as we may change fonts in Insets and
13806         all this change should be inside only one Undo!
13807
13808         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13809         setting font's in insets as for them we have the SetFont function!
13810
13811 2001-05-15  Juergen Vigna  <jug@sad.it>
13812
13813         * text2.C (ClearSelection): to be sure we REALLY don't have any
13814         selection anymore!
13815
13816         * tabular.C (TeXCellPreamble): fixed the left border problem for
13817         multicolumn cells.
13818
13819 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13820
13821         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13822         dependancy file
13823
13824 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13827         LFUN_BREAKPARAGRAPH.
13828
13829         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13830         help test to "internal only", similar for LFUN_INSERT_URL
13831
13832         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13833         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13834         auto_region_delete and deadkeys.
13835
13836 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * LColor.h:
13839         * LColor.C: remove some dead entries, tidy a little
13840
13841 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13844         commented code.
13845         (Dispatch): implement LFUN_ESCAPE
13846
13847         * commandtags.h: add LFUN_ESCAPE
13848
13849         * LyXAction.C (init): add entry for LFUN_ESCAPE
13850
13851         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13852         Remove commented code.
13853         (insertNote): moved here
13854         (open_new_inset): moved here
13855
13856         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13857         BufferView_pimpl
13858
13859 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * kbmap.C (findbinding): clean it up and make it work correctly.
13862
13863         * lyx_main.C (init): do not pass argc and argv as parameters
13864
13865 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13866
13867         * buffer.C: fix path for OS/2 & Win32
13868
13869         * lyx_gui.C:
13870         * lyx_main:
13871         * lyx_main.C: Added os:: class.
13872
13873         * os2_defines.h: update
13874
13875 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13876
13877         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13878         better by trying again with reduced state.
13879
13880 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * lyxrc.C (read): print error about invalid key sequence only when
13883         debugging (because not all latinX keysyms are known to some X
13884         servers)
13885
13886         * kbsequence.C (getiso): add a few std:: qualifiers
13887         (getiso): comment out extra return statement.
13888
13889 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13892         handling.
13893         (Dispatch): enhance the accent inset a bit. (not perfect)
13894
13895 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13896
13897         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13898
13899 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * bufferlist.C (emergencyWrite): fix assert() call
13902
13903 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13904
13905         * text.C (InsertChar): Added trivial patch to only send the "you
13906         can not do multiple spaces this way" message once during a
13907         session.
13908
13909 2001-05-08  Baruch Even  <baruch@lyx.org>
13910
13911         * Makefile.am: Changed order of libraries to get LyX to link properly
13912         with the gnome frontend.
13913
13914 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * LaTeXFeatures.h: add a std:: qualifier
13917
13918 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13919
13920         * paragraph.C (String): use stringstream
13921
13922 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13923
13924         * paragraph.C (writeFile): remove footflag arg
13925
13926         * buffer.C (makeLaTeXFile): use stringstream
13927         (latexParagraphs): remove footnot gurba
13928
13929         * LaTeXFeatures.C (getPackages): use stringstream
13930         (getMacros): likewise
13931         (getTClassPreamble): likewise
13932         (getFloatDefinitions): new method
13933
13934         * paragraph.C (writeFile): reindent
13935         (Erase): reindent
13936
13937         * WorkArea.h: revert the xpos + etc changes.
13938
13939         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13940
13941         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13942
13943         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13944         (pasteSelection): likewise
13945         * text2.C (CreateUndo): likewise
13946
13947 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13948
13949         * minibuffer.C (peek_event): temporarily reduce the functionality
13950         of the minibuffer (to allow args on lfuns)
13951
13952         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13953         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13954
13955         * buffer.C (readInset): add compability reading of old float
13956         lists, add reading of new style float list.
13957         (readInset): avoid reevaluation of inscmd.getCmdName()
13958         (getLists): reindent
13959
13960         * MenuBackend.C (MenuItem): implement parsing of
13961         md_floatlistinsert and md_floatinsert.
13962         (expand::LastFiles): move initalizaton of iterators out of loop,
13963         avoid reevaluation.
13964         (expand::Documents): introduce typdedef vector<string> Strings,
13965         and use it.
13966         (expand::ExportFormats): introduce typedef vector<Format const *>
13967         Formats, and use it.
13968         (expand): implement FloatListInsert and FloatInsert.
13969
13970         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13971         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13972         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13973
13974         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13975         handling.
13976         (Dispatch::LFUN_FLOAT_LIST): implement
13977
13978 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13979
13980         * LaTeX.C (run): Fix problem with --export code.
13981
13982 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * BufferView.[Ch] (workarea): removed.
13985         (getClipboard) new method; wrapper for workarea()->getClipboard()
13986
13987         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13988         bug.
13989
13990         * WorkArea.h (width, height, xpos, ypos): These methods all
13991         returned the dimensions of the work_area sub-area of WorkArea,
13992         resulting in a position error if the WorkArea were resized. Now
13993         return the dimensions of the entire WorkArea.
13994
13995         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13996
13997 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13998
13999         * LaTeX.C (deplog): correct the syntax of regex reg1
14000
14001 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14002
14003         * undo.C: remove !NEW_INSETS cruft
14004
14005 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * text2.C: remove !NEW_INSETS cruft
14008
14009         * text.C: remove !NEW_INSETS cruft
14010
14011         * tabular.C: remove !NEW_INSETS cruft
14012
14013         * spellchecker.C: remove !NEW_INSETS cruft
14014
14015         * lyxtext.h: remove !NEW_INSETS cruft
14016
14017         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14018
14019         * lyxfunc.C: remove !NEW_INSETS cruft
14020
14021         * lyxfind.C: remove !NEW_INSETS cruft
14022
14023         * lyx_cb.C: remove !NEW_INSETS cruft
14024
14025         * figureForm.C: remove  !NEW_INSETS cruft
14026
14027         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14028
14029         * buffer.[Ch]: remove !NEW_INSETS cruft
14030
14031         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14032
14033         * CutAndPaste.C: remove !NEW_INSETS cruft
14034
14035         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14036
14037         * BufferView2.C: remove !NEW_INSETS cruft
14038
14039         * BufferView.h: remove !NEW_INSETS cruft
14040
14041 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14042
14043         * Lsstream.h: include LString.h before the sstream headers to
14044         fix problem with gcc 2.95.3 and lyxstring
14045
14046 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * lyx_main.C: add using directives when needed for C functions
14049         declared in std:: namespace.
14050
14051 2001-04-27  Juergen Vigna  <jug@sad.it>
14052
14053         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14054         (SetHeightOfRow): comment out the update call should not be needed!
14055
14056 2001-04-13  Juergen Vigna  <jug@sad.it>
14057
14058         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14059         (LyXTabular): tried to minimize operator= operations (and realized
14060         hopfully Lars wish).
14061
14062 2001-04-27  Juergen Vigna  <jug@sad.it>
14063
14064         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14065
14066 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14067
14068         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14069
14070         * buffer.C (readInset): hack to make listof algorithm work
14071
14072         * BufferView_pimpl.C: hack to make listof algorithm work
14073
14074 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14075
14076         * LyXAction.C: removed all !NEW_INSETS cruft
14077         (init): moved lfun_item in method
14078
14079         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14080
14081 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14082
14083         * BufferView2.C (theLockingInset): white space.
14084
14085 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14086
14087         * minibuffer.C: include <iostream>
14088
14089         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14090
14091         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14092
14093         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14094
14095         * text.[Ch] (TransposeChars): new method
14096
14097 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14098
14099         * call message directly through LyXView instead of through LyXFunc
14100         * BufferView2.C: adjust
14101         * BufferView_pimpl.C: adjust
14102         * FontLoader.C: adjust
14103         * buffer.C: adjust
14104         * bufferview_funcs.C: adjust
14105         * converter.C: adjust
14106         * figureForm.C: adjust
14107         * importer.C: adjust
14108         * lyx_cb.C: adjust
14109         * lyx_gui_misc.C: adjust
14110         * lyxfunc.C: adjust
14111         * lyxvc.C: adjust
14112         * text2.C: adjust
14113         + more files in subdirs
14114
14115         * lyxparagraph.h (size): move up int file
14116         (GetLayout): ditto
14117
14118         * adjust all uses of Assert to lyx::Assert.
14119
14120         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14121         lyxfunctional in namespace lyx
14122         * layout.C (hasLayout): ditto
14123         (GetLayout): ditto
14124         (GetLayout): ditto
14125         (delete_layout): ditto
14126         (NumberOfClass): ditto
14127         * converter.C (GetFormat): ditto
14128         (GetNumber): ditto
14129         (Add): ditto
14130         (Delete): ditto
14131         (SetViewer): ditto
14132         * bufferlist.C (getFileNames): ditto
14133         (emergencyWriteAll): ditto
14134         (exists): ditto
14135         (getBuffer): ditto
14136         * MenuBackend.C (hasSubmenu): ditto
14137         (hasMenu): ditto
14138         (getMenu): ditto
14139         * BufferView_pimpl.C (getInsetByCode): ditto
14140
14141 2001-04-18  Juergen Vigna  <jug@sad.it>
14142
14143         * vspace.C (asLatexString): fixed the 100% problem.
14144
14145 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * lyxfunc.C (Dispatch):
14148         * minibuffer.C:
14149         * minibuffer.h: add a few std:: qualifiers
14150
14151 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * minibuffer.[Ch]: reimplement so that commands is initiated and
14154         run from lyxfunc, simplified som handling, and made the completion
14155         and history code for complete. wip.
14156
14157         * lyxfunc.C (processKeySym): call message
14158         (miniDispatch): new temporary method
14159         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14160         (LFUN_MESSAGE): implement
14161         (LFUN_MESSAGE_PUSH): implement
14162         (LFUN_MESSAGE_POP): implement
14163         (initMiniBuffer): the initial/defualt minibuffer message.
14164
14165         * lyxfont.[Ch]: inline some more getters
14166
14167         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14168
14169         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14170
14171         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14172         (AutoSave): use LFUN_MESSAGE
14173         (Reconfigure): ditto
14174
14175         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14176
14177         * figureForm.C: use LFUN_MESSAGE
14178
14179         * converter.C (runLaTeX): use LFUN_MESSAGE
14180
14181         * bufferview_funcs.C: use LFUN_MESSAGE
14182         (Melt): ditto
14183         (changeDepth): ditto
14184
14185         * bufferparams.h: use boost::
14186
14187         * bufferlist.h: inherit privately from noncopyable
14188
14189         * bufferlist.C (loadLyXFile): remove some commented code.
14190
14191         * buffer.C (runChktex): use LFUN_MESSAGE
14192
14193         * ShareContainer.h: inherit privately from noncopyable
14194
14195         * ParagraphParameters.[hC] (depth): inline it.
14196
14197         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14198         methods.
14199         (message): new method
14200         (messagePush): ditto
14201         (messagePop): ditto
14202         (show): init minibuffer
14203         (showState): direct call
14204
14205         * LaTeX.[Ch]: inherit privately from noncopyable
14206         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14207         instead of WriteStatus.
14208
14209         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14210
14211         * BufferView_pimpl.C (buffer): don't init minibuffer
14212         (workAreaButtonPress): use LFUN_MESSAGE
14213         (workAreaButtonRelease): ditto
14214         (savePosition): ditto
14215         (restorePosition): ditto
14216         (MenuInsertLyXFile): ditto
14217         (workAreaExpose): don't init minibuffer
14218         (update): remove commented code, simplify
14219
14220         * BufferView2.C (openStuff): use LFUN_MESSAGE
14221         (toggleFloat): ditto
14222         (menuUndo): ditto
14223         (menuRedo): ditto
14224         (copyEnvironment): ditto
14225         (pasteEnvironment): ditto
14226         (copy): ditto
14227         (cut): ditto
14228         (paste): ditto
14229         (gotoInset): ditto
14230         (updateInset): remove some commented code
14231
14232         * lastfiles.h: inherit privately from noncopyable
14233         * layout.h: ditto
14234         * lyx_gui.h: ditto
14235         * lyx_main.h: ditto
14236         * lyxlex.h: ditto
14237         * lyxlex_pimpl.h: ditto
14238
14239         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14240         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14241         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14242
14243         * LyXAction.h: inherit privately from noncopyable, add methods
14244         func_begin, func_end, returning iterators to the func map.
14245
14246         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14247         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14248         (func_begin): new method
14249         (func_end): new method
14250
14251         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14252         and not)
14253         (copySelection): ditto
14254         (pasteSelection): ditto
14255
14256         * BufferView.C: whitespace change
14257         * BufferView.h: inherit privately from noncopyable
14258
14259 2001-04-16  Allan Rae  <rae@lyx.org>
14260
14261         * tabular-old.C (l_getline):
14262         * spellchecker.C (sc_check_word):
14263         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14264         an unrecognised preprocessor directive.  So ensure they're wrapped.
14265
14266 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * src/exporter.C (Export): Give an error message when path to file
14269         contains spaces.
14270
14271 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * LaTeX.C (deplog): Always check that foundfile exists.
14274
14275 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * lyx_main.h:
14278         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14279
14280 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * tabular.[Ch] (getLabelList): implement new method
14283
14284         * minibuffer.h: comment ouf setTiimer
14285
14286         * minibuffer.C (ExecutingCB): constify res
14287         (peek_event): constify s
14288         (Set): constify ntext
14289         (Init): constify nicename
14290
14291         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14292
14293         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14294         (savePosition): use two params to Minibuffer::Set
14295         (restorePosition): ditto
14296
14297 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14298
14299         * lyx_main.C: include language.h
14300
14301         * Makefile.am (lyx_main.o): add language.h
14302
14303 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * exporter.C:
14306         * paragraph.C:
14307         * screen.C:
14308         * tabular.C:
14309         * CutAndPaste.C: include gettext.h
14310
14311         * lyxfont.h: remove old hack with ON and OFF.
14312
14313         * lyxparagraph.h:
14314         * lyxfont.h: do not include language.h...
14315
14316         * BufferView2.C:
14317         * LaTeXFeatures.C:
14318         * Painter.C:
14319         * bufferview_funcs.C:
14320         * font.C:
14321         * lyxfont.C:
14322         * text.C:
14323         * text2.C:
14324         * trans_mgr.C:
14325         * paragraph.C: ... but do it here instead
14326
14327 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14330
14331         * tabular.C: small reformat
14332
14333         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14334         NEW_INSETS version
14335         (GetChar): ditto
14336         (BreakParagraph): ditto
14337         (SetOnlyLayout): ditto
14338         (SetLayout): ditto
14339
14340         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14341         with one arg less.
14342
14343         * lastfiles.C: removed most using decl, add std:: where needed
14344
14345         * buffer.C: ws changes
14346
14347         * MenuBackend.C (class compare_format): put into anon namespace
14348         (expand): constify label, names, action, action2
14349         (expand):
14350
14351         * text.C (SingleWidth): constify font
14352         (IsBoundary): constify rtl2
14353         (GetVisibleRow): constify ww
14354
14355         * LaTeX.C (deplog): constify logfile
14356
14357         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14358         start_x, end_x
14359         (workAreaExpose): constify widthChange, heightChange
14360
14361         * lyxrow.C (par): moved
14362         (height): moved
14363         (next): moved
14364         * lyxrow.h: as inlines here
14365
14366         * lyxfont.h (shape): moved from lyxfont.C
14367         (emph): moved from lyxfont.C
14368
14369         * lyxfont.C (LyXFont): use initialization list for all
14370         constructors
14371         (shape): move to lyxfont.h as inline
14372         (emph): move to lyxfont.h as inline
14373
14374
14375 2001-04-04  Juergen Vigna  <jug@sad.it>
14376
14377         * vspace.C: had to include stdio.h for use of sscanf
14378
14379 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * BufferView.h:
14382         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14383         independent of xforms.
14384
14385 2001-04-02  Juergen Vigna  <jug@sad.it>
14386
14387         * spellchecker.C: fixed namespace placing!
14388
14389 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14390
14391         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14392         the LyXParagraph * is 0.
14393
14394 2001-03-29  Juergen Vigna  <jug@sad.it>
14395
14396         * vspace.C: added support for %, c%, p%, l%.
14397         (stringFromUnit): added helper function.
14398         (asLatexString): changed to give right results for the %-values.
14399
14400         * buffer.C: convert the widthp in a width%.
14401
14402 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14405         figureForm.[Ch].
14406
14407         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14408         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14409
14410         * lyx_cb.[Ch]: see above.
14411
14412         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14413         form1.[Ch].
14414
14415         * form1.[Ch]:
14416         * lyx.[Ch]: replaced by figure_form.[Ch].
14417
14418         * lyx_gui.C:
14419         * lyx_gui_misc.C:
14420         * lyxfunc.C: changed headers associated with above changes.
14421
14422 2001-03-27  Juergen Vigna  <jug@sad.it>
14423
14424         * BufferView_pimpl.C: set the temporary cursor right!
14425
14426 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14427
14428         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14429
14430 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14431
14432         * LString.h: removed "using std::getline"!
14433
14434         * BufferView_pimpl.C (Dispatch): changes due to changes in
14435         InsetInclude::Params.
14436
14437         * buffer.C (tag_name): removed redundant break statements as they were
14438         producing lots of warnings with my compiler.
14439
14440 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * LString.h: add "using std::getline" when using the real <string>.
14443
14444 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14445
14446         * buffer.C: removed bitset usage.
14447         PAR_TAG moved to an anonymous name space.
14448         (tag_name): new funtion, also in the anonymous namespace.
14449         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14450         (makeDocBookFile): clean code. Completed transition from string arrays
14451         to string vectors.
14452         (SimpleDocBookOnePar): code clean.
14453
14454 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14455
14456         * tabular.C: add some comments.
14457
14458 2001-03-22  Juergen Vigna  <jug@sad.it>
14459
14460         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14461         compatibility read a bit and fixed bug with minipage in different
14462         depth.
14463
14464 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14465
14466         * buffer.C (pop_tag): removed.
14467         (push_tag): removed.
14468         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14469         array replaced with vector. Added support for CDATA sections.
14470         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14471         at any nest level.
14472         (makeDocBookFile): XML conformant declaration of CDATA section,
14473         fixed bug related to <emphasis> in the first paragraph char.
14474         (sgmlOpenTag): exclude empty tags.
14475         (sgmlCloseTag): ditto.
14476
14477         * buffer.h (pop_tag): removed.
14478         (push_tag): removed.
14479
14480 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14481
14482         * language.h (Languages): added size_type and size().
14483
14484 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14485
14486         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14487         response on compability reading of minipages. One probliem is that
14488         the old usage of minipages was «flertydig»
14489
14490         * several files here and in subdirs: don't use static at file
14491         scope use anon namespaces instead.
14492
14493 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14494
14495         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14496         LaTeX output. This is necessary for Literate document
14497         processing.
14498
14499 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14500
14501         * buffer.C: insert hfill when needed.
14502
14503         * tabular.C (l_getline): use string::erase, small whitespace change.
14504
14505         * BufferView_pimpl.C: try the anon namespace.
14506         * WorkArea.C: ditto
14507
14508 2001-03-16  Juergen Vigna  <jug@sad.it>
14509
14510         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14511         otherwise it won't open options-dialogs.
14512
14513         * buffer.C: honor pextraWidth(p) on converting minipages.
14514
14515         * tabular.C (l_getline): changed the functions to strip trailing \r.
14516
14517 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14518
14519         * BufferView_pimpl.C:
14520         * minibuffer..C: added "using SigC::slot" declaration.
14521
14522 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14523
14524         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14525
14526         * text2.C: ditto
14527
14528         * text.C: ditto
14529
14530         * paragraph.C: ditto
14531
14532         * lyxtext.h: NO_PEXTRA
14533
14534         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14535
14536         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14537         * ParameterStruct.h: ditto
14538         * ParagraphParameters.h: ditto
14539         * lyxparagraph.h: ditto
14540
14541 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14542
14543         * buffer.C: add compability for minipage alignment.
14544         (latexParagraphs): remove unwanted pextra check.
14545
14546         * several files: remove CXX_WORKING_NAMESPACES
14547
14548         * buffer.C (pop_tag): tie is in namespace boost
14549
14550         * BufferView.h: noncopyable is in namespace boost
14551         * lyxlex.h: ditto
14552         * lyx_main.h: ditto
14553         * lyx_gui.h: ditto
14554         * layout.h: ditto
14555         * lastfiles.h: ditto
14556         * bufferlist.h: ditto
14557         * ShareContainer.h: ditto
14558         * LyXView.h: ditto
14559         * LyXAction.h: ditto
14560         * LaTeX.h: ditto
14561
14562 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14563
14564         * Merging changes from BRANCH_MVC back into HEAD.
14565
14566         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14567
14568 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * BufferView_pimpl.C: change from intl.C
14571
14572         * combox.h:
14573         * combox.C:
14574         * Makefile.am: move combox.*
14575
14576         * form1.h:
14577         * form1.C:
14578         * lyx_gui.C:
14579         * intl.h:
14580         * intl.C: remove dialog (covered by prefs)
14581
14582 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14583
14584         * lyxfunc.C (Dispatch): removed redundant break statement.
14585
14586 2001-03-14  Juergen Vigna  <jug@sad.it>
14587
14588         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14589
14590 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14591
14592         * buffer.C: add hack to fix compability reading of minipages.
14593
14594 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * buffer.C (getLists): Cleanup.
14597
14598 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14599
14600         * lyxfont.C (update): don't honor toggleall on font size.
14601
14602 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * bmtable.c:
14605         * bmtable.h:
14606         * Makefile.am: moved to frontends/xforms/
14607
14608         * lyx_gui_misc.C:
14609         * lyxfunc.C:
14610         * BufferView_pimpl.C: changes for moved mathpanel
14611
14612 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14613
14614         * gettext.h: fix gettext_init() in --disable-nls
14615
14616 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14619
14620 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * lyx.C:
14623         * lyx.h: strip external form
14624
14625 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * BufferView_pimpl.C: add comment, destroySplash()
14628
14629 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * BufferView_pimpl.C:
14632         * LyXAction.C:
14633         * buffer.C:
14634         * commandtags.h:
14635         * lyxfunc.C: use re-worked insetinclude
14636
14637 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14638
14639         * buffer.C: add using std::stringstream.
14640
14641         * lyx_cb.C: readd using std::ios.
14642
14643         * buffer.C: add using std::map.
14644
14645         * BufferView_pimpl.C: add using std::vector.
14646
14647         * ShareContainer.h: add std:: to swap.
14648
14649         * buffer.h: add some typedefs
14650         * buffer.C (getLists): use them
14651         (getLists): renamed from getTocList.
14652         add a counter for the different float types and use it in the
14653         generated string.
14654         (getLists): use the same counter for the NEW_INSETS and the "non"
14655         NEW_INSETS
14656
14657         * lyx_cb.h: remove unused items, includes, using etc.
14658
14659         * ShareContainer.h: remove some commented code, add more comments
14660         and "documentation".
14661
14662 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14663
14664         * buffer.C (getTocList): make the list also when NEW_INSETS is
14665         defined.
14666
14667         * buffer.h: remove TocType
14668
14669         * buffer.C (getTocList): change to return a map<string,
14670         vector<TocItem> >, implement for dynamic number of list.
14671
14672         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14673         * text2.C (PasteSelection): adjust
14674         * CutAndPaste.C (pasteSelection): adjust
14675
14676         * FloatList.C (FloatList): update from the new_insets branch.
14677         * Floating.[Ch]: ditto
14678         * LaTeXFeatures.C: ditto
14679         * buffer.C: ditto
14680         * lyxlex_pimpl.C: ditto
14681
14682         * paragraph.C (Last): remove when NEW_INSETS is defined.
14683
14684         * other file: changes because of the above.
14685
14686 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14687
14688         * lyxparagraph.h: rename next to next_, previous to previous_,
14689         make them private for NEW_INSETS. Rename Next() to next(),
14690         Previous() to previous().
14691
14692         * other files: changes because of the above.
14693
14694 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * BufferView.h:
14697         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14698         problem.
14699
14700 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * main.C (main): pass lyx_localedir to gettext_init().
14703
14704         * gettext.h: remove locale_init and gettext_init macros
14705
14706         * gettext.C (locale_init): new function
14707         (gettext_init): new function
14708
14709         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14710         setlocale().
14711
14712 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14713
14714         * Moved credits to frontends:
14715         * credits.[Ch]: removed
14716         * credits_form.[Ch]: removed
14717         * lyx_gui_misc.C: remove credits stuff
14718         * Makefile.am:
14719
14720 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14721
14722         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14723
14724         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14725         unneeded destructor.
14726
14727         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14728         a standalone pointer again.
14729
14730         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14731
14732 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * Makefile.am:
14735         * filedlg.h:
14736         * filedlg.C:
14737         * LyXAction.C:
14738         * ToolbarDefaults.C:
14739         * bufferlist.C:
14740         * commandtags.h:
14741         * form1.C:
14742         * form1.h:
14743         * lyx_cb.C:
14744         * lyx_cb.h:
14745         * lyxfunc.h:
14746         * lyxfunc.C:
14747         * BufferView_pimpl.C: use new file dialog in GUII
14748
14749         * lyx_cb.h:
14750         * lyx_cb.C: remove LayoutsCB to Toolbar
14751
14752 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * ShareContainer.h (get): add std:: qualifier
14755
14756 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14757
14758         * ShareContainer.h: define a proper ShareContainer::value_type
14759         type (and use typename to please compaq cxx)
14760
14761 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14762
14763         * lyxparagraph.h: move serveral local vars to
14764         ParameterStruct/ParagraphParameters., use ShareContainer in
14765         FontTable., make vars in FontTable private and add getter and
14766         setter.
14767
14768         * paragraph.C: changes because of the above.
14769
14770         * lyxfont.h: remove copy constructor and copy assignment. (the
14771         default ones is ok), move number inside FontBits. move inlines to
14772         lyxfont.C
14773
14774         * lyxfont.C: add number to initializaton of statics, move several
14775         inlines here. constify several local vars. some whitespace
14776         cleanup. Dont hide outerscope variables.
14777
14778         * Spacing.h: add two new constructors to match the set methods.
14779
14780         * ShareContainer.h: new file, will perhaps be moved to support
14781
14782         * ParameterStruct.h: new file
14783
14784         * ParagraphParameters.h: new file
14785
14786         * ParagraphParameters.C: new file
14787
14788         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14789         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14790
14791         * BufferView_pimpl.C: ParagraphParameter changes.
14792         * buffer.C: Likewise.
14793         * bufferview_funcs.C: Likewise.
14794         * text.C: Likewise.
14795         * text2.C: Likewise.
14796
14797 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * lyxfind.C (LyXReplace): do not redefine default argument in
14800         implementation.
14801         (IsStringInText): ditto
14802         (SearchForward): ditto
14803         (SearchBackward): ditto
14804
14805 2001-03-06  Juergen Vigna  <jug@sad.it>
14806
14807         * lyxfind.C (IsStringInText): put parentes around expressions.
14808
14809 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14810
14811         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14812
14813 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14816
14817         * stl_string_fwd.h: add comment
14818
14819         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14820
14821         * tabular.h:
14822         * tabular.C: remove unused DocBook methods
14823
14824         * intl.C:
14825         * language.C:
14826         * paragraph.C:
14827         * buffer.C:
14828         killed DO_USE_DEFAULT_LANGUAGE
14829
14830 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14831
14832         * lyx_gui.C: do not include language.h.
14833
14834         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14835         arguments in function implementation.
14836
14837 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14838
14839         * BufferView_pimpl.C: add <ctime>
14840
14841 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14842
14843         * BufferView_pimpl.C: add using std::find_if
14844
14845 2001-02-27  José Matos  <jamatos@fep.up.pt>
14846
14847         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14848         by OnlyPath.
14849
14850 2001-02-11  José Matos  <jamatos@fep.up.pt>
14851
14852         * buffer.C (makeDocBookFile): command styles now have a parameter as
14853         "title" by default.
14854
14855 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14856
14857         * layout_forms.[Ch]: removed
14858         * lyx_cb.[Ch]: out character
14859         * lyx_gui.C: out character
14860         * lyx_gui_misc.C: out character
14861         * bufferview_funcs.C: : out character,
14862         added toggleall as parameter in ToggleAndShow
14863
14864 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14865
14866         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14867
14868         * text2.C (SetCurrentFont): Disable number property at boundary.
14869
14870 2001-02-26  Juergen Vigna  <jug@sad.it>
14871
14872         * lyxfunc.C (getStatus): added a string argument override function so
14873         that this is correctly called from LyXFunc::Dispatch if it contains a
14874         do_not_use_argument which is used!
14875         (Dispatch): added check for "custom" export and call appropriate func.
14876
14877 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * lyxrc.C: Add language_command_local, language_use_babel and
14880         language_global_options.
14881
14882         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14883
14884         * buffer.C (makeLaTeXFile): Use language_use_babel and
14885         language_global_options.
14886
14887 2001-02-23  Juergen Vigna  <jug@sad.it>
14888
14889         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14890         which works with LyXText and putted it inside BufferView. Here now we
14891         only call for that part the BufferView::Dispatch() function.
14892
14893         * BufferView.C (Dispatch): added.
14894
14895         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14896         functions which needs to use a LyXText over from LyXFunc.
14897         (MenuInsertLyXFile): added
14898         (getInsetByCode): added
14899         (moveCursorUpdate): added
14900         (static TEXT): added
14901
14902 2001-02-22  Juergen Vigna  <jug@sad.it>
14903
14904         * BufferView_pimpl.C (update): call a status update to see if LyXText
14905         needs it.
14906
14907 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14908
14909         * vc-backend.C (revert): implement for CVS
14910         (getLog): implement for CVS
14911
14912 2001-02-20  Juergen Vigna  <jug@sad.it>
14913
14914         * text2.C (ClearSelection): added BufferView param for inset_owner call
14915
14916         * lyxfunc.C (TEXT): added this function and use it instead of
14917         directly owner->view()-text of getLyXText().
14918
14919 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14920
14921         * src/layout_forms.C: out preamble
14922         * src/layout_forms.h: out preamble
14923         * src/lyx_cb.C: out preamble
14924         * src/lyx_cb.h: out preamble
14925         * src/lyx_gui.C: out preamble
14926         * src/lyx_gui_misc.C: out preamble
14927         * src/lyxfunc.C: connect with guii preamble
14928
14929 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14932
14933 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14934
14935         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14936         whether to run bibtex.
14937
14938 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14939
14940         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14941
14942 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14943
14944         * Makefile.am (lyx_SOURCES): removed bibforms.h
14945
14946         * vspace.h: doxygen
14947
14948         * text.C (GetVisibleRow): make several local vars const
14949
14950         * tabular.C: small cleanup.
14951
14952         * lyxserver.C (callback): use compare instead of strncmp
14953
14954         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14955         inlines to after class or to paragraph.C
14956
14957         * lyxfont.h: remove friend operator!=
14958
14959         * converter.h: move friend bool operator< to non friend and after
14960         class def.
14961
14962         * combox.h: small cleanup
14963
14964         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14965         to inlines after class def.
14966
14967         * buffer.C (pop_tag): use string operations instead of strcmp
14968
14969         * bmtable.c: doxygen, small cleanup
14970
14971         * LaTeX.h: remove friend operator==
14972
14973 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14974
14975         * screen.C:
14976         * lyxrc.[Ch]:
14977         * lyxfunc.C:
14978         * lyxfont.[Ch]:
14979         * lyx_cb.C:
14980         * intl.[Ch]:
14981         * commandtags.h:
14982         * buffer.C:
14983         * WorkArea.[Ch]:
14984         * LyXAction.C:
14985         * BufferView_pimpl.C:
14986         * BufferView.[Ch]: remove cruft
14987
14988 2001-02-14  Juergen Vigna  <jug@sad.it>
14989
14990         * lyxfunc.C: removed #if 0 unused code
14991
14992         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14993
14994         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14995
14996         * text2.C (SetSelection): added a BufferView * parameter
14997
14998 2001-02-13  Juergen Vigna  <jug@sad.it>
14999
15000         * lyxfunc.C (Dispatch): fixed protected blank problem.
15001         * BufferView2.C (protectedBlank): added LyxText * parameter.
15002
15003         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15004         (AppendColumn): same as above for column_info.
15005
15006         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15007         (moveCursorUpdate): use a LyXText param for support of InsetText.
15008
15009         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15010         (tripleClick): ditto
15011
15012         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15013
15014         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15015
15016         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15017
15018         * text2.C (SetSelection): set correct update status if inset_owner
15019         (ToggleFree): ditto
15020
15021 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15022
15023         * tabular.C: remove some commented code.
15024
15025 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * BufferView_pimpl.C: call hideSplash()
15028
15029         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15030
15031         * include_form.h:
15032         * bibforms.h: remove
15033
15034         * lyxfunc.C:
15035         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15036           add LFUN_CHILD_CREATE
15037
15038         * counters.h: fix tiny typo
15039
15040         * lyx_cb.C:
15041         * lyx.h:
15042         * lyx_gui.C:
15043         * lyx.C: move splash to frontends/xforms/
15044
15045         * lyx_gui_misc.C: move Include and Bibform to frontends
15046
15047         * lyxvc.h: clarify comment
15048
15049         * vspace.C: tiny housekeeping
15050
15051 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15052
15053         * text.C (PrepareToPrint): RTL Fix.
15054
15055         * paragraph.C (GetUChar): New method.
15056         (String):  Use GetUChar.
15057
15058         * buffer.C (asciiParagraph): Use GetUChar.
15059
15060 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15063
15064 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15065
15066         * buffer.h:
15067         * buffer.C: rename to getLogName(), handle
15068           build log / latex log nicely
15069
15070 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15071
15072         * MenuBackend.C:
15073         * MenuBackend.h: remove support for reference menuitem type.
15074
15075 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * BufferView_pimpl.C: housekeeping
15078         * BufferView_pimpl.h:
15079         * LyXView.h:
15080         * Makefile.am:
15081         * Timeout.C:
15082         * Timeout.h:
15083         * minibuffer.h: move Timeout GUI-I
15084
15085 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15086
15087         * lyxrc.C (read): Update converters data-structures.
15088
15089 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15090
15091         * LaTeX.h (operator!=): add operator != for Aux_Info
15092
15093 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15096
15097         * LaTeXLog.C: deleted, useful code moved to Buffer
15098
15099         * buffer.h:
15100         * buffer.C: new function getLatexLogName()
15101
15102         * lyx_gui_misc.C:
15103         * lyx_gui.C:
15104         * lyxvc.C:
15105         * lyxvc.h:
15106         * lyxfunc.C: use frontends for LaTeX and VC logs
15107
15108 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * LaTeX.h: yet another std:: that Allan forgot.
15111
15112         * Variables.C (set): renamed from isset(), because this clashes
15113         with some HP-UX macros (grr).
15114
15115 2001-02-06  Allan Rae  <rae@lyx.org>
15116
15117         * LaTeX.h: Another bug fix.  Missing std:: this time.
15118
15119 2001-02-04  Allan Rae  <rae@lyx.org>
15120
15121         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15122         floats problem. I've left it commented out because it's not quite
15123         correct.  It should also test that the current object is a table or
15124         figure inset.  But I haven't gotten around to figuring out how to do
15125         that.  I *think* it'll be something like: "table" == inset.type()
15126
15127         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15128         bool.
15129
15130 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15133         all the citation/databases/styles in the auxilary file.
15134         (run): Rerun latex if there was a babel language error.
15135
15136 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15137
15138         * text.C (Backspace): Preserve the font when changing newline char
15139         with a space.
15140         (BreakParagraph): If the cursor is before a space, delete the space.
15141
15142         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15143
15144 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15145
15146         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15147         new argument (code).
15148         (ChangeCitationsIfUnique): New method.
15149
15150         * paragraph.C (GetPositionOfInset): Handle bibkey.
15151
15152 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * BufferView_pimpl.h: change type of Position::par_pos to
15155         LyXParagraph::size_type.
15156
15157 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15158
15159         * BufferView_pimpl.C (savePosition, restorePosition): Write
15160         messages to minibuffer.
15161
15162 2001-01-28  José Matos  <jamatos@fep.up.pt>
15163
15164         * buffer.C (makeDocBookFile): adds support for document language.
15165         A silly restriction on the name of LatexCommand types where removed.
15166         Added support for CDATA sections, allows to chars unescaped, used
15167         among others in code, to avoid escape < and >.
15168
15169 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15170
15171         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15172         saved positions instrad of a stack. Furthermore, a position is
15173         stored using paragraph id/paragraph position.
15174
15175         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15176         Remove LFUN_REF_BACK.
15177
15178 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15179
15180         * converter.C (dvipdfm_options): New method.
15181
15182 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15183
15184         * vspace.C (isValidLength): Fix for empty input string.
15185
15186 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * LyXAction.C (init): change description of LFUN_FIGURE to
15189         "Insert Graphics"
15190
15191 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * LaTeX.C: add using directive
15194
15195 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15196
15197         * MenuBackend.C (expand): Fix the sorting of the formats.
15198
15199 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * lyx_main.C: tiny error message fix
15202
15203 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15206         calling fl_initialize(). This fixes the problem with ',' as
15207         decimal separator in text files.
15208
15209 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15210
15211         * trans.C (process): Fix the keymap bug.
15212
15213 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15214
15215         * LaTeX.C (scanAuxFiles): New method. Provides support for
15216         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15217         (scanLogFile) Scan for "run BibTeX" messages.
15218
15219         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15220         OT1 font encoding. Also, load the aecompl package if the ae
15221         package is loaded.
15222
15223         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15224
15225 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * texrow.C (increasePos): turn two error messages into debug
15228         messages.
15229
15230 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15231
15232         * LaTeX.C (scanAux): Handle the \@input macro.
15233         (runBibTeX): Use scanAux().
15234
15235         * language.C (latex_options_): New field.
15236
15237         * LaTeXFeatures.C (getMacros): Add language macros.
15238
15239         * buffer.C (makeLaTeXFile): Small fix.
15240
15241 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15244
15245         * text2.C: add a using directive.
15246
15247 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * BufferView2.C:
15250         * lyx_gui_misc.h:
15251         * lyxfr1.C:
15252         * lyxfunc.C: kill LyXBell.
15253
15254 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15255
15256         * text.C (IsBoundary): Remove the error message
15257
15258         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15259
15260         * lyxrc.C (setDefaults): Correct initialization value for
15261         font_norm_type.
15262
15263 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15266         gotoError().
15267
15268         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15269         and GotoNextNote().
15270
15271         * src/LyXAction.C: Added reference-next.
15272
15273         * text.C (InsertChar): Use contains instead of strchr.
15274
15275         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15276
15277 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15278
15279         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15280         alignment commands (when needed).
15281
15282         * text.C (InsertChar): Add ':' to number separator chars.