]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
51a08ccb6d41c97ecee4be9199526d02613027d9
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (getStatus, dispatch): changed invocation of the
4         preferences dialog.
5
6 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * BufferView.C
9         * cursor.[Ch]
10         * dociterator.[Ch]:
11         * insetiterator.[Ch]:
12         * lyxfind.C:
13         * lyxfunc.C:
14         * pariterator.[Ch]:
15         * text2.C:
16         * undo.[Ch]: s/DocumentIterator/DocIterator/g
17
18 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * BufferView.C (setCursor, putSelectionAt): call edit to open the
21         insets where we are putting the cursor.
22
23 2004-03-31  Angus Leeming  <leeming@lyx.org>
24
25         * lfuns.h:
26         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
27
28         * lyxrc.[Ch] (read, write): overloaded member functions taking
29         a std::[io]stream arguments.
30
31         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
32
33 2004-03-31  Angus Leeming  <leeming@lyx.org>
34
35         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
36         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
37
38         * lyxtextclass.C (load): if the text class couldn't be loaded, then
39         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
40
41 2004-03-31  Angus Leeming  <leeming@lyx.org>
42
43         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
44         the LFUN_ALL_INSETS_TOGGLE code.
45
46 2004-03-30  Angus Leeming  <leeming@lyx.org>
47
48         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
49         has died. Fall through to the generic Dialogs::show("document").
50         
51 2004-03-30  Angus Leeming  <leeming@lyx.org>
52
53         * lfuns.h:
54         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
55         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
56
57         * lyxfunc.C (getStatus, dispatch): define the actions for these
58         lfuns. Little more than a cut and pste job from ControlDocument.C
59
60         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
61
62 2004-03-30  Angus Leeming  <leeming@lyx.org>
63
64         * lfuns.h:
65         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
66         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
67
68         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
69         open/closed state of ollapsable insets. Usage:
70
71         all-inset-toggle <state> <name>, where
72         <state> == "open" || "closed" || "toggle" and
73         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
74
75         * lyxtext.h, text2.C (toggleInset): removed.
76
77         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
78         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
79         now passes LFUN_INSET_TOGGLE to the found inset.
80
81         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
82         is now invoked as "all-insets-toggle toggle branch".
83
84 2004-03-30  Angus Leeming  <leeming@lyx.org>
85
86         * dociterator.C:
87         * insetiterator.C:
88         * pariterator.[Ch]: added/corrected header blurb.
89
90 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * dociterator.[Ch]: add an inset_ member 
93         (backwardPos): implemented
94         (backwardPos, forwardPos): use inset_ when the stack is empty.
95         (doc_iterator_begin, doc_iterator_end): implemented
96         * pariterator.[Ch]: adjust, add begin, end
97         * insetiterator.[Ch]: adjust, add begin, end
98         * cursor.C: 
99         * document.C:
100         * BufferView.C:
101         * BufferView_pimpl.C:
102         * CutAndPaste.C: adjust
103
104 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * buffer.C: increment file format to 232.
107         * LaTeXFeatures.C: add bibtopic package.
108         * bufferparams.[Ch]: param \use_bibtopic.
109         
110         * lyxrc.[Ch]: add lyxrc bibtex_command
111         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
112         
113         * buffer.C: increment file format to 231.
114
115 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * dociterator.C: implement forwardPar
118         * iterators.[Ch]: remove, replaced by
119         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
120         * BufferView.C:
121         * BufferView_pimpl.C:
122         * CutAndPaste.C:
123         * buffer.C:
124         * bufferview_funcs.C:
125         * cursor.C:
126         * lyxfind.C
127         * lyxfunc.C
128         * paragraph_funcs.C
129         * toc.C:  
130         * Makefile.am: adjust
131
132 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * CutAndPaste.C (pasteSelection): fix 2 crashes
135         (eraseSelection): fix a crash
136         * paragraph_funcs.C: remove a warning
137
138 2004-03-28  Angus Leeming  <leeming@lyx.org>
139
140         * lfuns.h:
141         * LyXAction.C (init): new LFUN_PRINT.
142
143         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
144
145 2004-03-27  Angus Leeming  <leeming@lyx.org>
146
147         * lfuns.h:
148         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
149
150         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
151
152 2004-03-27  Angus Leeming  <leeming@lyx.org>
153
154         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
155         insetlist always contains non-null pointers to insets.
156
157 2004-03-26  Angus Leeming  <leeming@lyx.org>
158
159         * src/BufferView_pimpl.C:
160         * src/CutAndPaste.C:
161         * src/buffer.C:
162         * src/iterators.C:
163         * src/output_plaintext.C:
164         * src/outputparams.h:
165         * src/paragraph_funcs.C:
166         * src/rowpainter.C:
167         * src/text.C:
168         * src/text2.C:
169         * src/frontends/controllers/ControlErrorList.C:
170         * src/frontends/gtk/FileDialogPrivate.C:
171         * src/frontends/gtk/GPainter.C:
172         * src/frontends/gtk/GToolbar.C:
173         * src/frontends/qt2/QRef.C:
174         * src/mathed/math_scriptinset.C: squash compiler warnings.
175
176 2004-03-26  Angus Leeming  <leeming@lyx.org>
177
178         * ispell.C (LaunchIspell::start):
179         * lyx_cb.C (AutoSaveBuffer::start):
180         invoke run(DontWait) rather than runNonBlocking().
181
182 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
185
186 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * kbsequence.C (print): adjust
189
190         * kbmap.C (printKeySym): rename and change signature
191         (printKey): use LyXKeySym::print()
192
193 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * undo.C: add using std::advance to compile for stlport
196
197 2004-03-24  Angus Leeming  <leeming@lyx.org>
198
199         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
200         it leads to a crash when no buffer is present.
201
202 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203             Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * lyxfunc.C (dispatch): 
206         * bufferparams.C (readToken): use the new LColor::setColor 
207
208         * LColor.[Ch] (setColor): new version that takes two strings as
209         argument and creates a new color entry if necessary
210
211 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
212
213         * buffer.C (makeLaTeXFile): if the main latex file that is
214         processed is usually a subdocument of some master, then pretend
215         for a while that it is actually the master
216
217 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
218
219         * buffer.C (getLabelList):
220         (getBibkeyList): use getMasterBuffer()
221         (getMasterBuffer): new method. Returns the main document in the
222         case where one is using included documents.
223
224 2004-03-25  André Pönitz  <poenitz@gmx.net>
225
226         * Makefile.am:
227         * iterators.[Ch]:
228         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
229
230         * ParagraphList_fwd.h: change ParagraphList to a std::vector
231
232         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
233         text*.C over here. Rename namespace CutAndPaste to lyx::cap
234
235         * ParameterStruct.h: merge with ParagraphParameters
236
237         * lyxtext.h: remove LyXText::parOffset() and getPar()
238
239         * text3.C: Remove all 'manual' update calls. We do now one per user
240         interaction which is completely sufficient.
241
242         * Bidi.C:
243         * BufferView.[Ch]:
244         * BufferView_pimpl.C:
245         * FontIterator.[Ch]:
246         * MenuBackend.C:
247         * ParagraphParameters.[Ch]:
248         * buffer.C:
249         * buffer.h:
250         * bufferlist.C:
251         * cursor.[Ch]:
252         * cursor_slice.[Ch]:
253         * dociterator.[Ch]:
254         * errorlist.[Ch]:
255         * factory.C:
256         * lfuns.h:
257         * lyxfind.C:
258         * lyxfunc.C:
259         * output_docbook.[Ch]:
260         * output_latex.[Ch]:
261         * output_linuxdoc.[Ch]:
262         * output_plaintext.[Ch]:
263         * paragraph.[Ch]:
264         * paragraph_funcs.[Ch]:
265         * paragraph_pimpl.[Ch]:
266         * rowpainter.C:
267         * tabular.[Ch]:
268         * text.C:
269         * text2.C:
270         * toc.C:
271         * undo.[Ch]: adjust
272
273         * frontends/controllers/ControlDocument.C:
274         * frontends/controllers/ControlErrorList.C:
275         * frontends/controllers/ControlSpellchecker.C:
276         * insets/inset.C:
277         * insets/inset.h:
278         * insets/insetbase.h:
279         * insets/insetbibitem.C:
280         * insets/insetbox.C:
281         * insets/insetbranch.C:
282         * insets/insetcaption.C:
283         * insets/insetcharstyle.C:
284         * insets/insetcharstyle.h:
285         * insets/insetcollapsable.C:
286         * insets/insetcollapsable.h:
287         * insets/insetert.C:
288         * insets/insetfloat.C:
289         * insets/insetfoot.C:
290         * insets/insetmarginal.C:
291         * insets/insetnote.C:
292         * insets/insetoptarg.C:
293         * insets/insettabular.C:
294         * insets/insettext.C:
295         * insets/insettext.h:
296         * insets/insetwrap.C:
297         * mathed/math_mboxinset.C:
298         * mathed/math_nestinset.C:
299         * mathed/math_scriptinset.C:
300         * mathed/math_scriptinset.h:
301         * support/types.h:
302
303 2004-03-24  Angus Leeming  <leeming@lyx.org>
304
305         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
306         deal with any child processes that have finished but are waiting to
307         communicate this fact to the rest of LyX.
308
309 2004-03-24  Angus Leeming  <leeming@lyx.org>
310
311         64-bit compile fixes.
312
313         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
314         (c-tor): pass lyx::pos_types rather than ints.
315
316         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
317         lyx::pos_type.
318
319         * text.C (Delete): compile fix.
320         (getPar): ensure that function declaration is the same as that in
321         the header file.
322
323 2004-03-23  Angus Leeming  <leeming@lyx.org>
324
325         * ispell.C (LaunchIspell):
326         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
327         a boost::shred_ptr rather than a std::auto_ptr.
328
329 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * lyxfunc.C (getStatus): handle read-only buffers correctly;
332         handle LFUN_FILE_INSERT_*
333
334         * lyxrc.C (setDefaults, getDescription, output, read):
335         * lyxrc.h: remove ps_command
336
337 2004-03-22  Angus Leeming  <leeming@lyx.org>
338
339         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
340         Ensure that error_handler is processed once only and that all data
341         is saved before attempting to output any warning messages.
342
343         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
344
345 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
346
347         * tabular.C (TeXRow): crash fix (from Kayvan and André)
348
349 2004-03-19  André Pönitz  <poenitz@gmx.net>
350
351         * cursor.[Ch] (reset): take main text inset as argument
352
353         * BufferView: adjust
354         * BufferView_pimpl.C: adjust
355
356         * paragraph.[Ch]: fix completely broken operator=()
357
358 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * LColor.C (getFromLyXName): make sure that the color name is used
361         as lowercase.
362
363 2004-03-17  Angus Leeming  <leeming@lyx.org>
364
365         * lfuns.h:
366         * LyXAction.C (init): remove LFUN_FORKS_KILL.
367
368         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
369         dialog and to kill a forked process.
370
371 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * text2.C (setCursorFromCoordinates): fix font problem
374
375 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
376
377         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
378         bogus "rebuild cursor" code
379
380 2004-03-11  André Pönitz  <poenitz@gmx.net>
381
382         * buffer.[Ch]: use InsetText instead of LyXText as container for
383         the main lyx text.
384
385         * dociterator.[Ch]: drop the BufferView * member which is not needed
386         anymore after the change to buffer.C
387
388         * paragraph_funcs.C:
389         * text.C:
390         * text2.C:
391         * BufferView.[Ch]:
392         * BufferView_pimpl.[Ch]:
393         * cursor.[Ch]:
394         * cursor_slice.[Ch]: adjust
395
396         * text3.C: fix bug in mathDispatch
397
398 2004-03-08  André Pönitz  <poenitz@gmx.net>
399
400         * undo.[Ch]: use 'StableDocumentIterator' as base for
401         the Undo struct.
402
403 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
404
405         * LaTeXFeatures.C:
406         * bufferparams.[Ch]: add jurabib support and param.
407
408         * LaTeX.C: add FIXME/comment.
409
410 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
411
412         * buffer.C: increment file format to 230.
413
414 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * cursor.C (dispatch): avoid infinite loops
417
418 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * rowpainter.C (paintSelection): fix x coordinates
421
422 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * text.C (rowBreakPoint): fix breaking before displayed insets
425
426 2004-03-01  André Pönitz  <poenitz@gmx.net>
427
428         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
429
430         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
431
432         * Makefile.am:
433         * BufferView.C:
434         * BufferView_pimpl.C:
435         * buffer.C:
436         * lyxfind.C:
437         * lyxfunc.C:
438         * text.C:
439         * text2.C:
440         * text3.C: adjust
441
442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * lyxtext.h:
445         * text.C:
446         * text2.C:
447         * rowpainter.C:
448         * BufferView_pimpl.C: rename textwidth -> maxwidth,
449         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
450
451 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
452
453         * Bidi.[Ch] (computeTables): const correctness
454         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
455         fill_hfill, fill_label_hfill and x from Row
456         * lyxtext.h: prepareToPrint returns a RowMetrics
457         * rowPainter.C: adjust
458         * text.C (prepareToPrint): use width, not textWidth. adjust
459         (redoParagraphInternal, cursorX): adjust
460         * text2.C (getColumnNearX): adjust
461         (init): put a default value to the top LyXText::width
462
463 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
464
465         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
466
467 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * lyxtext.h: add FontIterator class
470
471         * text.C (FontIterator, operator*, operator->, operator++): add
472         (rowBreakPoint, setRowWidth): adjust (fixing a
473         rebreaking bug)
474
475 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * BufferView_pimpl.C (workAreaDispatch): allow also
478         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
479
480 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
481
482         * text.C (rowBreakPoint): fix a bug showing with very large insets
483
484 2004-02-25  André Pönitz  <poenitz@gmx.net>
485
486         * text3.C:
487         * cursor.[Ch]: move some mathed specific code to mathed
488
489 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
490
491         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
492         use_tempdir in preferences
493         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
494         tempfile creation
495         * lyx_main.C: ensure that tempdir is valid
496         * lyxlex.h: correct typo
497         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
498         * paragraph.[Ch] (isMultiLingual): make const
499         * cursor.[Ch] (openable): make const
500
501 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
502
503         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
504
505 2004-02-20  André Pönitz  <poenitz@gmx.net>
506
507         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
508
509         * cursor.[Ch]: prepare for localized getStatus()
510
511         * lyxtext.h:
512         * tabular.C:
513         * text.C:
514         * text2.C:
515         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
516
517 2004-02-20  André Pönitz  <poenitz@gmx.net>
518
519         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
520
521 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
522
523         * text2.C (setCursorFromCoordinates): switch to absolute coords
524         (cursorUp): adjust
525         (cursorDown): adjust
526         * text3.C (dispatch): adjust
527
528 2004-02-16  André Pönitz  <poenitz@gmx.net>
529
530         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
531           insets/ChangeLog)
532
533         * cursor_slice.[Ch]: remove unneeded acessor function
534
535         * lyxtext.h: rename rtl() to isRTL()
536
537         * rowpainter.C:
538         * tabular.C:
539         * text.C:
540         * text2.C:
541         * text3.C: adjust
542
543 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
544
545         * rowpainter.C (paintSelection): coord fix
546
547 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
548
549         * Spacing.C: compile fix
550
551 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * cursor.C (dispatch): restore current_ before returning
554
555 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * text2.C (cursorUp, cursorDown): fix coords
558         (moveUp): fix crash
559
560 2004-02-12  André Pönitz  <poenitz@gmx.net>
561
562         * lyxtext.h:
563         * text.C:
564         * text2.C:
565         * text3.C: add LCursor & parameter to most cursor movement functions
566           remove usage of LyXText::cursorRow() and cursorPar()
567
568         * cursor.[Ch]: add textRow() needed members
569
570         * BufferView.C:
571         * BufferView_pimpl.C:
572         * paragraph.[Ch]:
573         * BufferView.C:
574         * BufferView_pimpl.C: adjust
575
576 2004-02-11  André Pönitz  <poenitz@gmx.net>
577
578         * lyxfunc.C:
579         * BufferView.[Ch]:
580         * BufferView_pimpl.C: shift undo/redo handling
581
582         * cursor.[Ch]: fix mathed crash
583
584         * lyxfind.C:
585         * lyxtext.h: move selectionAsText to LCursor
586
587         * output_latex.C:
588         * paragraph.C:
589         * text.C:
590         * text2.C:
591         * text3.C: adjust
592
593         * rowpainter.C: fix excessive drawing
594
595 2004-02-06  André Pönitz  <poenitz@gmx.net>
596
597         * BufferView.[Ch]:
598         * BufferView_pimpl.[Ch]:
599         * text3.C: move some text specific LFUN handling
600
601 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
602
603         * text3.C (checkInsetHit): adjust coords
604         * text2.C (getColumnNearX): adjust coords
605         (edit): adjust coords
606         * text.C (getRowNearY): add two asserts
607
608 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * converter.C:
611         * format.C: add using std::distance to compile on gcc 2.95/stlport
612
613 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
616
617 2004-02-04  André Pönitz  <poenitz@gmx.net>
618
619         * BufferView.[Ch] (insertInset):
620         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
621
622         * text2.C:
623         * text3.C: adjust
624
625 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
626
627         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
628         on the default clause of the switch
629         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
630         wasn't catched by LCursor::dispatch
631
632 2004-02-03  André Pönitz  <poenitz@gmx.net>
633
634         * BufferView.C:
635         * cursor.[Ch]: some additional asserts
636
637         * undo.[Ch]: remove LyXText dependency in interface
638
639         * lyxfunc.C: adjust
640
641         * lyxtext.h (firstPar, lastPar): remove dead functions
642
643         * text.C:
644         * text2.C:
645         * text3.C:
646         * paragraph.[Ch]: adjust
647
648 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
649
650         * lyxfind.C (find): fix argument order in call to ::find
651
652 2004-02-02  André Pönitz  <poenitz@gmx.net>
653
654         * cursor.[Ch]: remove direct access to anchor
655
656         * text.C: remove findText() hack
657
658 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
659
660         * iterators.[Ch] (lockPath): remove in favour of...
661         * BufferView.[Ch] (setCursor): this addition
662         * BufferView.C (putSelectionAt): adjust
663         * undo.C (performUndoOrRedo): adjust
664         * lyxfunc.C (dispatch): adjust
665
666 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
667
668         * iterators.C (lockPath): add a missing slice
669         * undo.C (performUndoOrRedo): remove redundant positioning code
670
671 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * vc-backend.C (scanMaster): ";" -> ';'
674
675 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
678         std::binary_function
679
680         * lyxtextclass.C (compare_name): rename to...
681         (LayoutNamesEqual): ...this
682
683         * lyxlex_pimpl.C (compare_tags): inherit from
684         std::binary_function, put back into anon namespace
685
686         * lyxfind.C (MatchString): inherig from std::binary_function
687         (findChange): use empty() istead of !size()
688
689         * format.C (FormatNamesEqual): new functor
690         (getFormat): use it
691         (getNumber): use it
692         (add): use it
693         (erase): use it
694         (setViewer): use it
695
696         * converter.C (compare_Converter): rename to...
697         (ConverterEqual): ...this, and fixup a bit.
698         (getConverter): use it, and make function const
699         (getNumber): use it, and make function const
700         (add): use it
701         (erase): use it:
702
703         * bufferlist.C: add using boost::bind
704
705         * MenuBackend.C (MenuNamesEqual): new functor
706         (hasMenu): use it, and make function const
707         (hasSubmenu): use nested bind to get rid of compare_memfun.
708
709 2004-01-30  André Pönitz  <poenitz@gmx.net>
710
711         * BufferView_pimpl.C:
712         * cursor.C:
713         * cursor.h:
714         * cursor_slice.[Ch]:
715         * lyxfunc.C:
716         * lyxtext.h:
717         * paragraph_funcs.C:
718         * paragraph_funcs.h:
719         * rowpainter.C:
720         * text.C:
721         * text2.C:
722         * text3.C: move some of the edit(x,y) handling to the insets
723         some coordinate changes.
724
725 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
726
727         * text.C: add using statements for std::advance and std::distance
728
729         * paragraph.C: add using statement for std::distance
730
731         * lyxfind.C: add using statement for std::advance
732
733         * cursor.C (region): remove std:: from swap
734         (openable): use nucleus in stead of operator->
735
736         * BufferView.C: add using statements for std::distance and std::swap
737
738 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
739
740         * iterators.C: Remove the pimple, move the needed structures to
741         the header file. Create accessor for the positions stack.
742         (asPosIterator): remove function
743
744         * PosIterator.C (PosIterator): move constructors to top of file
745         (PosIterator): reimplement the constructor taking a ParIterator in
746         terms of setFrom.
747         (setFrom): new function
748         (operator!=): inline it
749
750 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
751
752         * lyxfind.C (replaceAll): use std::advance
753
754         * iterators.h: inherit from std::iterator.
755
756         * PosIterator.C (advance, distance): remove
757         * PosIterator.h: interit from std::iterator.
758
759 2004-01-26  André Pönitz  <poenitz@gmx.net>
760
761         * BufferView.[Ch]:
762         * BufferView_pimpl.[Ch]:
763         * InsetList.[Ch]:
764         * PosIterator.[Ch]:
765         * buffer.h:
766         * bufferview_funcs.C:
767         * cursor.[Ch]:
768         * cursor_slice.h:
769         * factory.[Ch]:
770         * iterators.[Ch]:
771         * lyxfind.C:
772         * lyxfunc.C:
773         * lyxtext.h:
774         * output_docbook.C:
775         * output_latex.C:
776         * output_linuxdoc.C:
777         * output_plaintext.C:
778         * paragraph.[Ch]:
779         * paragraph_funcs.[Ch]:
780         * paragraph_pimpl.[Ch]:
781         * rowpainter.C:
782         * tabular.C:
783         * tabular.h:
784         * text.C:
785         * text2.C:
786         * text3.C: more IU:  dumps most of the rest of the mathcursor
787     implementation into cursor.[Ch]; "globalize" a bit of it.
788
789 2004-01-25  Angus Leeming  <leeming@lyx.org>
790
791         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
792
793 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
794
795         * LaTeXFeatures.h: add nice_ and nice() const
796         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
797
798 2004-01-20  André Pönitz  <poenitz@gmx.net>
799
800         * BufferView.[Ch]:
801         * BufferView_pimpl.C:
802         * PosIterator.C:
803         * bufferview_funcs.C:
804         * cursor.[Ch]:
805         * cursor_slice.[Ch]:
806         * factory.C:
807         * iterators.C:
808         * lyx_cb.C:
809         * lyxfind.C:
810         * lyxfunc.C:
811         * lyxtext.h:
812         * rowpainter.C:
813         * text.C:
814         * text2.C:
815         * text3.C:
816         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
817           LCursor and mathcursor parts to LCursor and InsetBase.
818
819 2004-01-15  André Pönitz  <poenitz@gmx.net>
820
821         * cursor_slice.[Ch]: add a few covienience functions
822
823         * funcrequest.[Ch]: remove BufferView * member
824
825         * BufferView_pimpl.C:
826         * cursor.C:
827         * factory.[Ch]:
828         * lyxfind.[Ch]:
829         * lyxfunc.C:
830         * lyxtext.h:
831         * text3.C:
832         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
833
834 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
837         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
838
839 2004-01-13  André Pönitz  <poenitz@gmx.net>
840
841         * textcursor.[Ch]:
842         * lyxtext.h: hide cursor and selection anchor behind accessor function
843
844         * BufferView.C:
845         * BufferView_pimpl.[Ch]:
846         * PosIterator.C:
847         * bufferview_funcs.C:
848         * cursor.h:
849         * lyxfind.C:
850         * lyxfunc.C:
851         * text.C:
852         * text2.C:
853         * text3.C:
854         * undo.C: adjust
855
856         * cursor.h:
857         * cursor_slice.[Ch]: some integer type changes for inset unification
858
859         * lyxcursor.[hC]: remove, it's CursorSlice now.
860
861         * Makefile.am:
862         * BufferView_pimpl.[Ch]:
863         * bufferview_funcs.C:
864         * cursor_slice.C:
865         * lyxtext.h:
866         * text.C:
867         * text2.C:
868         * text3.C:
869         * textcursor.[Ch]: adjust
870
871 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * text2.C (undoSpan): add and use
874         * text.C (breakParagraph): use undoSpan (fix bug 578)
875         * lyxtext.h: adjust
876
877 2004-01-08  Angus Leeming  <leeming@lyx.org>
878
879         * BufferView_pimpl.C (MenuInsertLyXFile):
880         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
881         * lyxfunc.C (menuNew, open, doImport):
882         FileFilterList change to the FileDialog open and save functions.
883
884 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * ShareContainer.h: make isEqual and isUnique adaptable
887
888         * CutAndPaste.C: make resetOwnerAndChanges adaptable
889
890 2004-01-07  Angus Leeming  <leeming@lyx.org>
891
892         * LyXAction.C:
893         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
894
895         * BufferView_pimpl.C (dispatch): act on these LFUNs.
896
897         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
898         functions replacing find, replace and replaceAll.
899
900         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
901         LFUN_WORDFIND(FORWARD|BACKWARD).
902
903 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
904
905         * text.C (breakParagraph): remove an outdated #warning
906
907 2004-01-07  André Pönitz  <poenitz@gmx.net>
908
909         * lyxfind.C: somewhat clearer logic
910
911         * text.C: prevent crash in cursorX on unitialized row cache
912
913 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * lyxcursor.[Ch] (operator>): add
916         * textcursor.C (selStart, selEnd): use std::min and std::max
917
918 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * Chktex.C: include boost/format.hpp
921
922 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
923
924         * InsetList.C: replace functor MathcIt with adaptable functor
925         InsetTablePosLess
926         (insetIterator): modify accordingly
927
928         * BranchList.h: move the BranchNamesEqual functor here from...
929         * BranchList.C: ... to here
930
931         * BranchList.C: new BranchListEqual fuctor, use it. Remove
932         SameName and match.
933         (add): replace a finding loop with std::find_if.
934
935 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
936
937         * output_docbook.C: moving LatexParam functionality into
938         .layout files
939
940 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
941
942         * buffer.C: increment format to 229.
943
944 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
945
946         * LaTeXFeatures.C:
947         * lyx_sty.[Ch]: remove minipageindent_def
948
949         * LyXAction.C:
950         * factory.C:
951         * lfuns.h:
952         * lyxfunc.C:
953         * text3.C: remove LFUN_INSET_MINIPAGE
954
955 2003-12-28  Angus Leeming  <leeming@lyx.org>
956
957         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
958
959 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
960
961         * text2.C (setParagraph): fix off-by-one crash
962
963 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * output_docbook.C: header stuff for AGU
966
967 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
968
969         * text2.C (redoCursor): remove
970         * text.C:
971         * text3.C:
972         * BufferView_pimpl.C: remove calls to redoCursor and
973         setCursor(cursor.par(), cursor.pos()) all around
974
975 2003-12-15  Angus Leeming  <leeming@lyx.org>
976
977         * buffer.C: up the format to 228.
978
979 2003-12-15  André Pönitz  <poenitz@gmx.net>
980
981         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
982         slices
983
984         * Makefile.am:
985
986         * BufferView_pimpl.C:
987         * cursor.[Ch]:
988         * lyxcursor.[Ch]:
989         * rowpainter.[Ch]:
990         * lyxtext.h:
991         * text.C:
992         * text2.C:
993         * text3.C: adjust
994
995 2003-12-15  Angus Leeming  <leeming@lyx.org>
996
997         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
998         than getFromGUIName to manipulate the color.
999
1000 2003-12-14  Angus Leeming  <leeming@lyx.org>
1001
1002         * BranchList.[Ch]: minimize the API.
1003         (Branch::getBranch, getColor): now return a 'const &'.
1004         (Branch::setSelected) now returns a bool set to true if the
1005         selection status changes.
1006         (BranchList::clear, size, getColor, setColor, setSelected,
1007         allBranches, allSelected, separator): removed.
1008         (BranchList::find): new functions, returning the Branch with
1009         the given name.
1010         (BranchList::add, remove): return a bool indicating that
1011         the operation was successful.
1012
1013         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1014         new InsetBranch::isBranchSlected member function.
1015
1016         * LColor.[Ch]: mimimize the API.
1017         (fill): renamed as addColor and made private.
1018         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1019         versions of these functions taking a string arg have been removed.
1020
1021         * bufferparams.C (readToken):
1022         * lyxfunc.C (dispatch):
1023         * lyxrc.C (read): changes due to the altered BranchList and
1024         LColor APIs.
1025
1026         * factory.C (createInset, readInset): changes due to altered
1027         InsetBranch c-tor.
1028
1029 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1030
1031         * factory.C:
1032         * lyxfunc.C: remove insetminipage. "minipage-insert"
1033         now produces a frameless minipage box inset.
1034
1035 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * textcursor.[Ch] (selStart,selEnd): add new methods
1038         remove selection::start, end, use LyXCursor::operator<
1039         * lyxcursor.[Ch] (operator<): add
1040         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1041         * BufferView.[Ch] (unsetXSel): add
1042         * text2.C (clearSelection): use unsetXSel,adjust
1043         * text.C: adjust
1044         * text3.C: adjust
1045         * rowpainter.C: adjust
1046         * bufferview_funcs.C (put_selection_at): adjust
1047
1048 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1049
1050         * BufferView_pimpl.C: small coord. correction
1051
1052 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1053
1054         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1055         dragging over the splash screen.
1056
1057 2003-12-11  Angus Leeming  <leeming@lyx.org>
1058
1059         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1060         as it is now handled in LyXText::dispatch.
1061
1062         * text3.C (doInsertInset): remove a level of nesting.
1063
1064 2003-12-11  Angus Leeming  <leeming@lyx.org>
1065
1066         * factory.C (createInset): changes due to the changed interface to
1067         InsetCommandMailer::string2params.
1068
1069 2003-12-10  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1072         'dialog-show-new-inset <inset name>'
1073
1074 2003-12-10  Angus Leeming  <leeming@lyx.org>
1075
1076         * buffer.C: up the format to 227.
1077
1078         * factory.C: the box inset is now identified simply by 'Box'.
1079
1080 2003-12-10  Angus Leeming  <leeming@lyx.org>
1081
1082         * buffer.C: up the format to 226.
1083
1084         * factory.C: the note inset is now identified simply by 'Note'.
1085
1086 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1087
1088         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1089         when a pit is enough. Standarize a couple of loops.
1090
1091 2003-12-05  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1094         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1095         data to the re-worked "log" dialog.
1096
1097 2003-12-03  André Pönitz  <poenitz@gmx.net>
1098
1099         * PosIterator.C:
1100         * iterators.C:
1101         * lyxtext.h:
1102         * output_latex.C:
1103         * paragraph_funcs.C:
1104         * text.C:
1105         * text2.C: use Inset::getText instead of Inset::getParagraph
1106
1107 2003-12-03  André Pönitz  <poenitz@gmx.net>
1108
1109         * buffer.[Ch]:
1110         * lyxtext.h:
1111         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1112         InsetText::read() as LyXText::read()
1113
1114 2003-12-02  Angus Leeming  <leeming@lyx.org>
1115
1116         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1117         type. Add a comment in the implementation that the function uses
1118         the stream's bad() function rather than fail() as the std::streams
1119         would do.
1120
1121 2003-12-02  André Pönitz  <poenitz@gmx.net>
1122
1123         * lyxlex.[Ch]: make interface more similar to std::stream
1124
1125         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1126
1127 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1130
1131 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1132
1133         * vspace.[Ch]: remove VSpace::NONE
1134
1135 2003-12-01  André Pönitz  <poenitz@gmx.net>
1136
1137         * buffer.[Ch]:
1138         * lyxtext.h: move ParagraphList member to LyXText
1139         rename LyXText::ownerParagraphs to LyXText::paragraph
1140
1141         * CutAndPaste.C:
1142         * bufferview_funcs.C:
1143         * iterators.[Ch]:
1144         * lyx_cb.C:
1145         * paragraph.C:
1146         * rowpainter.C:
1147         * tabular.C:
1148         * text.C:
1149         * text2.C:
1150         * text3.C: adjust
1151
1152         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1153
1154         * undo.C: fix cursor positioning
1155
1156 2003-12-01  John Levon  <levon@movementarian.org>
1157
1158         * BufferView_pimpl.C: fix a crash on exit with
1159         a buffer open
1160
1161 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * BranchList.C: fix setSelected() method.
1164
1165 2003-11-28  André Pönitz  <poenitz@gmx.net>
1166
1167         * ParagraphParameters.[Ch]:
1168         * ParameterStruct.h: remove space above/below from Paragraph to
1169          InsetVSpace
1170
1171         * BufferView_pimpl.C:
1172         * factory.C:
1173         * lyxfunc.C:
1174         * lyxtext.h:
1175         * output_latex.C:
1176         * paragraph.C:
1177         * paragraph_funcs.C:
1178         * rowpainter.[Ch]:
1179         * text.C:
1180         * text2.C:
1181         * text3.C: adjust
1182
1183 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1184
1185         * factory.C: Syntax change for CharStyles
1186
1187 2003-11-28  André Pönitz  <poenitz@gmx.net>
1188
1189         * BufferView.[Ch]:
1190         * BufferView.[Ch]:
1191         * buffer.[Ch]:
1192         * buffer.[Ch]: move LyXText member
1193
1194 2003-11-28  André Pönitz  <poenitz@gmx.net>
1195
1196         * BufferView.[Ch]: make LyXText * text a private member
1197
1198         * BufferView_pimpl.C:
1199         * cursor.C:
1200         * iterators.C:
1201         * lyx_cb.C:
1202         * lyxfind.C:
1203         * lyxtext.h:
1204         * rowpainter.[Ch]:
1205         * text.C:
1206         * text2.C:
1207         * undo.C: adjust
1208
1209         * output_plaintext.C: cleanup
1210
1211 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1212
1213         * buffer.C:
1214         * lyxtextclass.[Ch]: parametrize SGML document header
1215
1216 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * converter.[Ch]:
1219         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1220         getFlavor().
1221
1222 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1223
1224         * text2.C (setFont): rework using PosIterator (no more recursive)
1225         (setCharFont): no more needed
1226         (setLayout): no more selection cursors fiddling (done by redoCursor)
1227         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1228         destroy remaining ones)
1229
1230 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1233         * lyxtext.h: ditto
1234         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1235         selection cursors
1236         * lyxfunc.C: adjust
1237         * text3.C: adjust + re-allow multi par depth changes
1238         * textcursor.C: simplify a bit
1239
1240 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * src/buffer.C:
1243         * src/lyxlayout.C:
1244         * src/lyxlayout.h:
1245         * src/lyxtext.h:
1246         * src/output_docbook.C:
1247         * src/output_latex.C:
1248         * src/paragraph.C:
1249         * src/paragraph.h:
1250         * src/sgml.C:
1251         * src/sgml.h:
1252         * src/text2.C: Introducing a number of tags parametrizing various
1253         XML formats that we may want to support
1254
1255 2003-11-25  André Pönitz  <poenitz@gmx.net>
1256
1257         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1258
1259         * lyxtext.h (leftMargin/rightMargin): simplify interface
1260
1261         * rowpainter.C:
1262         * text.C:
1263         * text2.C:
1264         * text3.C: adjust
1265
1266 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1267
1268         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1269         master file to any child files. Fixes bug 546.
1270
1271 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1272
1273         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1274
1275 2003-11-24  André Pönitz  <poenitz@gmx.net>
1276
1277         * rowpainter.C: simplification
1278
1279         * text2.C (updateCounters): remove call to redoParagraph on
1280         changed labels as this is far too expensive.
1281
1282 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1283
1284         * converter.C (convert): fix a crash: this function gets
1285         called with buffer == 0 from importer code.
1286
1287 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1288
1289         * text3.C (cursorPrevious): make sure that we do not compare
1290         iterators form different containers.
1291         (cursorNext): ditto
1292
1293         * rowpainter.C (paintSelection): make sure that we do not compare
1294         iterators from different containers.
1295
1296         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1297         iterators from different ParagraphList containers.
1298         [NEXT] ditto
1299
1300         * text2.C (LyXText): change order of initialization slightly
1301         (operator=): new function. copy all variables except cache_par_
1302         (moveUp): make sure that we do not compare iterators from
1303         different ParagraphList constainers.
1304         (moveDown): ditto
1305
1306         * text.C (firstPar): new function
1307         (lastPar): new function
1308         (endPar): new function
1309
1310         * lyxtext.h: move things around and group public functions, public
1311         variables, private functions, private variables
1312
1313 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1314
1315         * factory.C: change call to InsetERT constructor to avoid
1316         additional invocation of method status
1317         * text2.C (toggleInset): remove redundant update() call
1318         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1319         instead of a Bufferview pointer
1320
1321 2003-11-21  André Pönitz  <poenitz@gmx.net>
1322
1323         * rowpainter.C: simplification
1324
1325 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * text3.C (dispatch): make possible to extend a word/row selection
1328         with the mouse
1329
1330 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * lyxtext.h: x0_,y0_ -> xo_,yo_
1333         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1334         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1335         * rowpainter.C (paintRows): paint full paragraphs
1336
1337 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1338
1339         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1340         screen coordinates)
1341
1342 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1343
1344         * lyxtext.h: add x0_, y0_
1345         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1346         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1347
1348 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * text2.C (setCursorIntern): move the x_target update here *
1351         * text3.C: change some bv() to true/false in calls to
1352         cursorUp/Down/Right/Left
1353         * cursor.C: use helper function.
1354
1355 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1358         * paragraph_funcs.[Ch]: correct comment
1359         * rowpainter.C: do not paint selections away from bv->cursor()
1360         Fix a long standing selection painting bug.
1361         * text3.C: generalize mouse-selection code to LyXTexts other that
1362         top one
1363         * textcursor.C: do not use y coords if we can use par offsets
1364
1365 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1368         cursor position after e.g. inset insert)
1369
1370 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * lyxfind.C (replace): adjust to locking removal + some
1373         code simplification
1374
1375 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1378         of the path
1379
1380 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1381
1382         * lyxlayout.[Ch]:
1383         * output_docbook.C: XML sanitation: new layout
1384         parameters InnerTag and CommandDepth
1385
1386 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1387
1388         * BufferView_pimpl.C:
1389         * factory.C:
1390         * text3.C: Fix the insertion and modification of button-style
1391         insets
1392
1393 2003-11-13  André Pönitz  <poenitz@gmx.net>
1394
1395         * InsetList.[Ch]: remove deleteLyXText
1396
1397         * paragraph.[Ch]: cache beginOfBody position
1398
1399         * Bidi.C:
1400         * text.C:
1401         * text2.C:
1402         * text3.C: remove superfluous update() calls
1403
1404         * vspace.C: cleanup
1405
1406 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1407
1408         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1409         * BufferView.C (fitLockedInsetCursor): remove
1410         * cursor.[Ch] (getDim): add
1411         * text.C (getRowNearY): add faster version
1412         * text3.C: remove some update calls
1413
1414 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * LaTeXFeatures.C:
1417         * LyXAction.C:
1418         * MenuBackend.C:
1419         * MenuBackend.h:
1420         * dispatchresult.h:
1421         * factory.C:
1422         * lfuns.h:
1423         * lyxfunc.C:
1424         * lyxtextclass.C:
1425         * lyxtextclass.h:
1426         * text3.C: The Character Style /XML short element patch.
1427
1428 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * text3.C:
1431         * factory.C: Small step to solving 'unable to insert some insets'
1432         problem
1433
1434 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1435
1436         * cursor.[Ch] (updatePos): new function for updating the y
1437         position of the tip inset
1438         * bufferview_funcs.C (put_selection_at):
1439         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1440
1441 2003-11-11  André Pönitz  <poenitz@gmx.net>
1442
1443         * text.C: remove big comment on invalid Paragraph pointers as it is
1444         not valid anymore
1445
1446 2003-11-11  André Pönitz  <poenitz@gmx.net>
1447
1448         * text_funcs.[Ch]: merge with ...
1449
1450         * text.C: ... this
1451
1452         * lyxtext.h:
1453         * text2.C:
1454         * text3.C: adjust
1455
1456         * Makefile.am: remove text_funcs.[Ch]
1457
1458 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * cursor.C (getPos): return absolute cached y coord
1461
1462         * BufferView_pimpl.C (fitCursor): new simplistic code
1463         (workAreaDispatch): add a fitCursor call
1464
1465 2003-11-10  André Pönitz  <poenitz@gmx.net>
1466
1467         * BufferView.[Ch]:
1468         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1469
1470 2003-11-10  André Pönitz  <poenitz@gmx.net>
1471
1472         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1473         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1474         indicate that the cursor needs to leave an inset
1475
1476         * lyxtext.h: remove inset locking
1477
1478         * cursor.[Ch]: re-implement functionality provided by inset locking
1479
1480         * BufferView.[Ch]:
1481         * BufferView_pimpl.[Ch]:
1482         * LyXAction.C:
1483         * bufferview_funcs.[Ch]:
1484         * factory.C:
1485         * funcrequest.[Ch]:
1486         * iterators.C:
1487         * lyx_cb.C:
1488         * lyxfind.C:
1489         * lyxfunc.C:
1490         * text.C:
1491         * text2.C:
1492         * text3.C:
1493         * undo.C: adjust
1494
1495 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1496
1497         * PosIterator.[Ch]: replace the stack with a vector, add inset
1498         accesor
1499         * iterators.[C]: adjust
1500
1501 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1502
1503         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1504         replaced
1505         * paragraph_funcs.C (readParToken): put the correct id in the
1506         error item, not the id of the top paragraph
1507
1508 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1509
1510         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1511         * bufferview_funcs.C (put_selection_at): use the above
1512
1513 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1516
1517 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * output_linuxdoc.h:
1520         * output_plaintext.h:
1521         * output.h:
1522         * output_docbook.h: add #include statements
1523
1524 2003-11-05  José Matos  <jamatos@lyx.org>
1525
1526         * output_docbook.[Ch]:
1527         * output_latex.[Ch]:
1528         * output_linuxdoc.[Ch]:
1529         * output_plaintext.[Ch]: New files for output formats.
1530         * output.[Ch]: New file for helper functions.
1531
1532         * buffer.[Ch]:
1533         * paragraph_funcs.[Ch]: output functions moved to new files.
1534
1535         * outputparams.h: rename of latexrunparams.h
1536
1537         * LaTeX.[Ch]:
1538         * buffer.[Ch]:
1539         * bufferlist.[Ch]:
1540         * converter.[Ch]:
1541         * exporter.C:
1542         * paragraph.[Ch]:
1543         * paragraph_funcs.[Ch]:
1544         * paragraph_pimpl.[Ch]:
1545         * tabular.[Ch]: rename ascii to plaintext
1546         and LatexRunParams to OutputParams.
1547
1548 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1549
1550         * iterators.[Ch] (text): require bv argument
1551         * undo.C (recordUndo):
1552         * lyxfunc.C (dispatch):
1553         * bufferview_funcs.C (put_selection_at): adjust
1554
1555 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1556
1557         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1558
1559 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1560
1561         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1562         nestings
1563
1564 2003-11-04  André Pönitz  <poenitz@gmx.net>
1565
1566         * cursor.[Ch]: restructure
1567
1568         * BufferView.[Ch]:
1569         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1570
1571         * iterators.[Ch] (asCursor): remove
1572
1573         * lfuns.h: remove LFUN_INSET_EDIT
1574
1575         * lyxfunc.C:
1576         * tabular.C:
1577         * text.C:
1578         * text2.C:
1579         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1580
1581 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1582
1583         * lyxfind.[Ch]: complete overhaul
1584         * BufferView_pimpl.C:
1585         * lyxfunc.C: adjust
1586         * paragraph.[Ch] (insert): add
1587
1588 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1589
1590         * BufferView.[Ch]:
1591         * lyxtext.h:
1592         * text.C: remove dead spellcheck code
1593
1594 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1595
1596         * dispatchresult.h: add a val setter
1597
1598         * cursor.C (dispatch): use a tempvar for data_[i]
1599
1600 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1601
1602         * PosIterator.[Ch]: compile fix
1603
1604 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1605
1606         * text.C (cursorPar): deactivate the cursor cache
1607
1608 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1609
1610         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1611
1612 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1613
1614         * text3.C (dispatch): adjust for new DisptchResult semantics.
1615
1616         * lyxfunc.C (dispatch): handle update when return from
1617         Cursor::dispatch, adjust for new DispatchResult semantics.
1618
1619         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1620         DispatchResult(true) mean to not update. Add class functions for
1621         setting dispatched and update, as well as reading.
1622
1623         * cursor.C (dispatch): don't handle update here
1624
1625 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1628         * trans_mgr.C: adjust
1629
1630         * paragraph_funcs.C (readParToken): exception safety
1631
1632         * lyxvc.h: store the vcs pointer in a scoped_ptr
1633         * lyxvc.C: adjust
1634
1635         * lyxsocket.C (serverCallback): exception safety
1636
1637         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1638
1639         * ispell.C (clone): make it return a auto_ptr
1640
1641         * factory.C (createInset): exception safety
1642         (readInset): exception safety
1643
1644         * bufferlist.C (newBuffer): exception safety
1645
1646         * Thesaurus.C (Thesaurus): use initialization for aik_
1647
1648         * MenuBackend.C (expandToc): exception safety.
1649
1650 2003-11-03  André Pönitz  <poenitz@gmx.net>
1651
1652         * buffer.C:
1653         * buffer.h:
1654         * bufferview_funcs.C: remove getInsetFromId()
1655
1656         * lyxcursor.[Ch]:
1657         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1658
1659         * lyxfunc.C:
1660         * text2.C:
1661         * text3.C: adjust
1662
1663 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1664
1665         * PosIterator.C (distance, advance): new
1666         * bufferview_funcs.[Ch] (put_selection_at): new
1667         * iterators.[Ch] (lockPath): new
1668
1669 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1670
1671         * iterators.[Ch] (asPosIterator): added
1672         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1673         * PosIterator.[Ch]: added
1674
1675 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1676
1677         * text3.C:
1678         * lyxfunc.C:
1679         * cursor.C (dispatch):
1680         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1681
1682         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1683         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1684         contructor, add a class function dispatched. Remove operator>=
1685
1686 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * debug.C: only use the default constructor for debugstream
1689         (lyxerr) here.
1690
1691         * main.C (main): include debug.h and setup the lyxerr streambuf
1692         here.
1693
1694 2003-10-31  José Matos  <jamatos@lyx.org>
1695
1696         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1697
1698         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1699         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1700         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1701         * paragraph_pimpl.C (simpleTeXSpecialC):
1702         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1703         add LatexRunParams argument.
1704
1705         * exporter.C (Export): change call accordingly.
1706
1707         * latexrunparams.h: add new member to take care of the other backends.
1708 2003-10-30  José Matos  <jamatos@lyx.org>
1709
1710         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1711         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1712         factorise code for paragraph output.
1713         * buffer.[Ch]:
1714         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1715         move functions.
1716
1717 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * text3.C (dispatch):
1720         * lyxfunc.C (dispatch):
1721         * cursor.C (dispatch):
1722         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1723
1724         * dispatchresult.h: make the dispatch_result_t ctor explicit
1725
1726 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * sgml.[Ch]:
1729         * buffer.C: small refactoring of docbook stuff
1730
1731 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1732
1733         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1734         meaning.
1735
1736 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1737
1738         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1739         operator dispatch_result_t, and operators for == != and >=
1740
1741         * cursor.C (dispatch): adjust for operator dispatch_result_t
1742         removal. comment out call to update
1743
1744         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1745
1746 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * text3.C:
1749         * text2.C:
1750         * text.C:
1751         * lyxtext.h:
1752         * lyxfunc.C:
1753         * cursor.C:
1754         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1755         (dispatch):
1756
1757         * dispatchresult.h: new file, DispatchResult broken out of
1758         insets/insetbase.h
1759
1760         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1761
1762 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * text.C (rowBreakPoint): put a hack inside #if 0
1765
1766 2003-10-28  André Pönitz  <poenitz@gmx.net>
1767
1768         * lyxtext.h:
1769         * metricsinfo.C:
1770         * paragraph_funcs.C:
1771         * rowpainter.C:
1772         * text.C:
1773         * text2.C: general cleanup (lots of small stuff)
1774
1775 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1776
1777         * text2.C (cursorEnd): simple fix to the "end key goes to one
1778         before the end on last row" bug
1779
1780 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1781
1782         * text.C (backspace): fix the "zombie characters"
1783
1784 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1785
1786         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1787
1788 2003-10-27  André Pönitz  <poenitz@gmx.net>
1789
1790         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1791
1792         * factory.C: handle new InsetPagebreak, InsetLine
1793
1794         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1795         and move handling into new InsetPagebreak, InsetLine
1796
1797         * BufferView_pimpl.C:
1798         * LyXAction.C:
1799         * ParagraphParameters.C:
1800         * ParameterStruct.h:
1801         * lyxfunc.C:
1802         * lyxtext.h:
1803         * paragraph.C:
1804         * paragraph.h:
1805         * paragraph_funcs.C:
1806         * paragraph_pimpl.C:
1807         * rowpainter.C:
1808         * text.C:
1809         * text2.C:
1810         * text3.C: adjust
1811
1812 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * text.C:
1815         * lyxrow_funcs.[Ch]:
1816         * Bidi.C:
1817         * paragraph.C:
1818         * lyxtext.h:
1819         * rowpainter.C:
1820         * text2.C:
1821         * text3.C: remove lastPos uses in favour of Row::endpos
1822
1823 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1824
1825         * undo.C (performUndoOrRedo): fix two crashes by setting a
1826         cursor by hand and reordering some calls. Use bv->lockInset instead
1827         of inset->edit because the latter loses cursor information
1828
1829 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1832         by Martin
1833         (rowBreakPoint): fix width. change point to point + 1.
1834         Add a missing check.
1835
1836 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1837
1838         * MenuBackend.C:
1839         * lyxfunc.C: fix (at least partly) the problems
1840         with the Nav menu and headers inside branch insets
1841         reported by Kayvan
1842
1843 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1844
1845         * paragraph.C (getChar): add strong asserts
1846
1847         * lyxrow_funcs.C (lastPos): remove hideous hack
1848
1849         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1850         (fill): adjust to that (avoid an infinite loop)
1851
1852 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1853
1854         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1855
1856 2003-10-23  André Pönitz  <poenitz@gmx.net>
1857
1858         * RowList_fwd.h: change list<> to vector<> to gain speed
1859         after suggestion from Alfredo
1860
1861 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1862
1863         * lyxtext.h: move the bidi stuff from here...
1864         * text.C: and here
1865         * text2.C: and here
1866         * Bidi.[Ch]: ... to here
1867
1868 2003-10-23  André Pönitz  <poenitz@gmx.net>
1869
1870         * lyxtext.h:
1871         * text.C (isLastRow, isFirstRow): new functions
1872
1873         * paragraph.h: new width cache member
1874
1875         * rowpainter.C: replace RowList::iterator with Row & where possible
1876
1877         * lyxfunc.C: replace several view()->text with a single call
1878
1879         * toc.C: fix 'unused' warning
1880
1881 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1882
1883         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1884         when woring with stream::pos_type
1885         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1886
1887 2003-10-22  André Pönitz  <poenitz@gmx.net>
1888
1889         * lyxtext.h:
1890         * text.C: use Row & instead of RowList::iterator
1891
1892         * lyxrow.h: rename end() to endpos()
1893
1894         * rowpainter.C:
1895         * text.C:
1896         * text2.C: adjust
1897
1898 2003-10-22  Angus Leeming  <leeming@lyx.org>
1899
1900         * buffer.[Ch] (fully_loaded): new member function, returning true
1901         only when the file has been loaded fully.
1902         Used to prevent the premature generation of previews and by the
1903         citation inset to prevent computation of the natbib-style label.
1904
1905         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1906         templates are all set up.
1907
1908         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1909
1910 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * text.C: fixed an "oops" in the "is a bit silly"
1913         bug fix
1914
1915 2003-10-21  André Pönitz  <poenitz@gmx.net>
1916
1917         * FuncStatus.[Ch]: small stuff, whitespace
1918
1919         * lyxfont.[Ch]: operator<<() for debug reasons
1920
1921         * lyxfunc.C:
1922         * lyxrow_funcs.C:
1923         * lyxtext.h: whitespace, spelling
1924
1925         * paragraph.C: naming of variables
1926
1927         * text.C:
1928         * text2.C: small stuff
1929
1930
1931 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1932
1933         * text.C: (1) finish off the inset display() work;
1934         (2) fix the "is a bit silly" bug (accessing char
1935         past end of par).
1936
1937 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1938
1939         * text.C: re-introduce display() for insets, fixing the
1940         various bugs (stretch of line above, math inset
1941         positioning, ...)
1942
1943 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * text.C (rightMargin): remove spurious semicolon
1946
1947         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1948         1415)
1949
1950 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * text3.C: fix one crash due to wrong cursor def
1953
1954 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1955
1956         * vc-backend.C (scanMaster): make the regex static
1957
1958         * LaTeX.C (scanAuxFile): make the regexs static
1959
1960         * text3.C (doInsertInset, dispatch, dispatch):
1961         * text2.C (cursorUp, cursorDown):
1962         * text.C (selectNextWordToSpellcheck):
1963         * BufferView_pimpl.C (dispatch):
1964         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1965
1966 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxsocket.C: include <cerrno>
1969
1970 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1971
1972         * lyxfunc.C (dispatch): remove textcache stuff
1973
1974         * bufferlist.C (release): remove textcache stuff
1975         (closeAll): ditto
1976
1977         * TextCache.C: delete file
1978         * TextCache.h: delete file
1979
1980         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1981
1982         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1983         delete of the bv_->text.
1984         (resizeCurrentBuffer): remove texcache stuff
1985         (workAreaResize): ditto
1986
1987 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1988
1989         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1990         action.
1991
1992 2003-10-16  André Pönitz  <poenitz@gmx.net>
1993
1994         * lyxrow.[Ch]:
1995         * paragraph.h:
1996         * rowpainter.C:
1997         * text.C:
1998         * text2.C:
1999         * text3.C: speed up by storing y positions per paragraph plus per-row
2000         offset instead of having a 'full' y position in the row.
2001
2002 2003-10-15  André Pönitz  <poenitz@gmx.net>
2003
2004         * iterators.[Ch]:
2005         * iterators.[Ch]:
2006         * undo.[Ch]: make undo aware of inner insets
2007
2008 2003-10-14  Angus Leeming  <leeming@lyx.org>
2009
2010         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2011         static member functions LyX::ref() and LyX::cref.
2012         (lastfiles): new accessor functions for the new lastfiles_ member var.
2013         (addLyXView, views_): add a new LyXView to the list of views_.
2014         (updateInset): loop over all LyXViews to call their own updateInset
2015         member function, returning a pointer to the Buffer owning the inset.
2016
2017         * BufferView_pimpl.C (loadLyXFile):
2018         * MenuBackend.C (expandLastfiles):
2019         * bufferlist.C (MenuWrite, QuitLyX):
2020         lastfiles is no longer a global variable.
2021         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2022
2023         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2024         static function. Access through LyX::cref().emergencyCleanup().
2025
2026 2003-10-14  André Pönitz  <poenitz@gmx.net>
2027
2028         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2029
2030         * undo.[Ch]: restoring part of 'undo in insets'
2031
2032         * Makefile.am:
2033         * undo_funcs.[Ch]: merge with undo.[Ch]
2034
2035         * tabular.C: small cleansing stuff
2036
2037 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * paragraph_funcs.C (readParToken): report unknown insets as error
2040         boxes. Use the outer paragraph as location (also for unknown
2041         tokens).
2042
2043         * factory.C (readInset): do not abort on reading an unknown inset.
2044         Eat it and return 0.
2045
2046 2003-10-13  Angus Leeming  <leeming@lyx.org>
2047
2048         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2049
2050         * lyxrc.C: displayTranslator is now a function,
2051         declared in GraphicsTypes.h.
2052
2053 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2054
2055         * format.C: new placeholder $$a to pass the socket address.
2056
2057         * bufferlist.[Ch]: new function getBufferFromTmp.
2058
2059         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2060           files in the temporary dir.
2061
2062 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2063
2064         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2065
2066         * Makefile.am: add lyxsocket.[Ch].
2067
2068         * lyx_main.C (error_handler): handle SIGPIPE.
2069
2070 2003-10-13  André Pönitz  <poenitz@gmx.net>
2071
2072         * BufferView_pimpl.C:
2073         * lyxtext.h:
2074         * text.C:
2075         * text2.C:
2076         * text3.C:
2077         * undo_funcs.[Ch]: use paroffset_type instead of
2078           ParagraphList::iterators to prevent multiple conversion
2079           (and get a more robust interface)
2080
2081 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2084         * lyxtext.h: ditto
2085         * text3.C (dispatch): ditto
2086
2087 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2090         move the onlyfile, use onlyfile instead of foundfile in a couple
2091         of places.
2092
2093         * DepTable.C (update): flush the error stream a bit more
2094
2095 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * lyxserver.C (callback): adjust
2098
2099         * lyxfunc.C (getStatus): add a missing brace in commented code
2100         (ensureBufferClean): reindent
2101         (dispatch): delete version taking a string
2102
2103 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * LaTeX.C (deplog): move found file handlig from here...
2106         (handleFoundFile): .. to new function here.
2107         (deplog): make sure to discover several files mentioned on the
2108         same log line.
2109
2110 2003-10-10  André Pönitz  <poenitz@gmx.net>
2111
2112         * lyxfunc.C:
2113         * lyxtext.h:
2114         * tabular.C:
2115         * text.C:
2116         * text2.C:
2117         * text3.C: fix some of the tabular crashes
2118
2119 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2120
2121         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2122
2123         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2124
2125 2003-10-09  André Pönitz  <poenitz@gmx.net>
2126
2127         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2128
2129         * BufferView.C:
2130         * BufferView_pimpl.C:
2131         * bufferview_funcs.C:
2132         * lyx_cb.C:
2133         * lyxcursor.C:
2134         * lyxfind.C:
2135         * lyxfunc.C:
2136         * lyxtext.h:
2137         * text.C:
2138         * text2.C:
2139         * text3.C:
2140         * text_funcs.[Ch]:
2141         * textcursor.[Ch]:
2142         * undo_funcs.C: adjust
2143
2144 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * text2.C (incrementItemDepth): new function, use a backtracking
2147         algorithm to discover the correct item depth.
2148         (resetEnumCounterIfNeeded): new function, use a backtracking
2149         algorithm to discover if counter reset is needed.
2150         (setCounter): use them. Simplify a bit. Add different labels for
2151         different item depths for itemize.
2152
2153         * paragraph.C (Paragraph): remove initialization of enumdepth
2154         (operator=): ditto
2155
2156         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2157         enumerate and itemize. Change the type of itemdepth to signed char.
2158
2159 2003-10-08  André Pönitz  <poenitz@gmx.net>
2160
2161         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2162           thing assignable.
2163         * text.C:
2164         * text2.C: adjust
2165
2166         * tabular.[Ch]: fix crash after 'row-insert'
2167
2168 2003-10-08  Angus Leeming  <leeming@lyx.org>
2169
2170         Fix doxygen warnings.
2171
2172         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2173         Remove CutAndPaste:: prefix from header file declaration.
2174
2175         * LColor.h (fill): remove LColor:: prefix from declaration.
2176
2177         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2178         use lyx::depth_type rather than Paragraph::depth_type so that
2179         header file and .C file match.
2180
2181         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2182
2183         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2184         * aspell.C: \file aspell_local.C -> \file aspell.C
2185         * gettext.C: \file gettext.C -> \file src/gettext.C
2186         * gettext.h: \file gettext.h -> \file src/gettext.h
2187         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2188         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2189         * text.C: \file text.C -> \file src/text.C
2190
2191         * toc.C: move comment so that doxygen is not confused.
2192
2193 2003-10-07  Angus Leeming  <leeming@lyx.org>
2194
2195         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2196
2197 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2198
2199         * aspell.C:
2200         * aspell_local.h: add forgotten std::string's.
2201
2202 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2203
2204         * LaTeXFeatures.C:
2205         * LyXAction.C:
2206         * factory.C:
2207         * lfuns.h:
2208         * lyxfunc.C:
2209         * text3.C: The Box patch. Fancybox support, minipage, parbox
2210
2211 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2212
2213         * CutAndPaste.h:
2214         * DepTable.h:
2215         * FloatList.h:
2216         * LaTeXFeatures.h:
2217         * ParagraphParameters.h:
2218         * TextCache.h:
2219         * Thesaurus.h:
2220         * bufferlist.h:
2221         * exporter.h:
2222         * importer.h:
2223         * lastfiles.h:
2224         * lyxfind.h:
2225         * lyxfont.h:
2226         * lyxlex.h:
2227         * lyxtextclasslist.h:
2228         * messages.h:
2229         * paragraph.h:
2230         * paragraph_pimpl.C:
2231         * textcursor.h: add <string> and other small fixes to make Lars'
2232         std::string patch compile with STLport.
2233
2234 2003-10-06  Angus Leeming  <leeming@lyx.org>
2235
2236         * LColor.h: Add missing #include <string>.
2237
2238 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2239
2240         * All most all file in all subdirs: Make <string> be the prefered
2241         way of getting to std::string, add using declarations.
2242
2243 2003-10-06  André Pönitz  <poenitz@gmx.net>
2244
2245         * metricsinfo.C: initialize LyXFont before changing attribute.
2246         (fixes the 'math in \emph is upright' bug)
2247
2248 2003-10-06  André Pönitz  <poenitz@gmx.net>
2249
2250         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2251
2252 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2253
2254         * graph.C:
2255         * paragraph_pimpl.C: Small fixes to build using STLport
2256
2257 2003-10-02  André Pönitz  <poenitz@gmx.net>
2258
2259         * lyxfunc.C:
2260         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2261
2262 2003-10-01  André Pönitz  <poenitz@gmx.net>
2263
2264         * factory.C: assert early
2265
2266 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * lyx_main.C: remove the global debug object
2269
2270         * debug.h: adjust for new debugstream
2271
2272         * debug.C: adjust for new debugstream and keep the global debug
2273         object here.
2274
2275 2003-09-22  Angus Leeming  <leeming@lyx.org>
2276
2277         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2278         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2279         an incomplete class LyXFont.
2280
2281 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2282
2283         * factory.C: bug fix in branches
2284
2285 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * lyxfunc.C (processKeySym): adjust
2288         (dispatch): adjust
2289         (dispatch): change arg name from ev to func, adjust
2290         (sendDispatchMessage): ditto
2291
2292         * lyx_main.C (defaultKeyBindings): adjust keybindings
2293         (deadKeyBindings): ditto
2294
2295         * kbsequence.C (addkey): return a FuncRequest
2296
2297         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2298
2299         * kbmap.C (bind): take a FuncRequest as arg, adjust
2300         (read): adjust
2301         (lookup): adjust
2302         (defkey): change to take a FuncRequest as arg, adjust
2303         (findbinding): take a FuncRequest as arg, adjust.
2304
2305         * funcrequest.h (operator=): added
2306
2307         * funcrequest.C (FuncRequest): default kb_action changed from
2308         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2309
2310         * buffer.C (dispatch): simplify
2311         (dispatch): adjust to take a FuncRequest as arg, adjust
2312
2313         * boost.C (assertion_failed): change assertion message slightly
2314
2315         * ToolbarBackend.C (read): simplify
2316
2317         * MenuBackend.C (binding): adjust call to findbinding, add a
2318         message if no binding is found.
2319         (read): simplify
2320         (expandToc): correct by adding a empty FuncRequest
2321
2322         * LyXAction.C: include <boost/assert.hpp>
2323         (isPseudoAction): delete function
2324         (LookupFunc): change name to...
2325         (lookupFunc): this. change return type to FuncRequest.
2326         (getActionName): take kb_action as arg, simplify
2327         (funcHasFlag): add an assert, simplify.
2328
2329 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * toc.C (action): return a FuncRequest, simplify
2332
2333         * lyxfunc.C (processKeySym): adjust
2334         (getStatus): delete version that takes an int.
2335         (getStatus): adjust
2336         (dispatch): delete version that takes action as int
2337         (dispatch): adjust
2338         (sendDispatchMessage): simplify and adjust
2339
2340         * funcrequest.C (getArg): take unsigned int as arg
2341
2342         * ToolbarBackend.C (read): adjust
2343         (add): delete version that takes func as a string.
2344         (getIton): take a FuncRequest as arg
2345
2346         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2347         action.
2348
2349         * MenuBackend.C (MenuItem): add a new construct that only takes a
2350         Kind, simplify the constructor use for submenus.
2351         (add): adjust
2352         (expandLastfiles): adjust
2353         (expandDocuments): adjust
2354         (expandFormats): adjust
2355         (expandFloatListInsert): adjust
2356         (expandFloatInsert): adjust
2357         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2358
2359         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2360         Remove class variables lyx_pseudo_map and lyx_arg_map
2361
2362         * LyXAction.C (searchActionArg): delete function
2363         (getPseudoAction): delete function
2364         (retrieveActionArg): delete function
2365         (LookupFunc): make it return kb_action, simplify.
2366         (getActionName): simplify
2367
2368         * factory.C (createInset): fix new bug
2369
2370 2003-09-19  Angus Leeming  <leeming@lyx.org>
2371
2372         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2373         masterFilename_ parameter in the include inset.
2374
2375         * factory.C (createInset): changes due to the changes to InsetInclude.
2376
2377 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2378
2379         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2380
2381 2003-09-18  Angus Leeming  <leeming@lyx.org>
2382
2383         * buffer.C:
2384         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2385         Inset::fillWithBibKeys.
2386         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2387
2388 2003-09-18  Angus Leeming  <leeming@lyx.org>
2389
2390         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2391         variables.
2392         (ctor): pass and store a 'Buffer const &'
2393         (buffer): new member function.
2394
2395         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2396         '*this' to the LaTeXFeatures ctor.
2397
2398 2003-09-18  Angus Leeming  <leeming@lyx.org>
2399
2400         * LColor.h:
2401         * lyxfont.C:
2402         * lyxfont.h:
2403         * lyxtext.h:
2404         * text.C: rename EnumLColor as LColor_color.
2405
2406 2003-09-18  Angus Leeming  <leeming@lyx.org>
2407
2408         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2409         remove #include "insets/insetbase.h" from cursor.h.
2410
2411 2003-09-18  Angus Leeming  <leeming@lyx.org>
2412
2413         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2414         InsetOld_code to remove #include "inset.h".
2415
2416         * iterators.C: add #include "insets/inset.h"
2417
2418 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2419
2420         * BufferView.C: remove more locking stuff that apparently doesn't
2421         do anything sensible.
2422
2423 2003-09-16  André Pönitz  <poenitz@gmx.net>
2424
2425         * paragraph.[Ch]:
2426         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2427           performance boost.
2428
2429 2003-09-16  Angus Leeming  <leeming@lyx.org>
2430
2431         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2432
2433         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2434         arg/return type.
2435
2436         * paragraph.h: remove #include "lyxfont.h". Forward declare
2437         LyXFont_size.
2438
2439 2003-09-16  Angus Leeming  <leeming@lyx.org>
2440
2441         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2442         of support/textutils.h.
2443         (isWord): move the contents of support/textutils.h's IsWordChar here.
2444
2445         * buffer.C:
2446         * lyxfind.C:
2447         * rowpainter.C:
2448         * text.C:
2449         * text2.C: add #include "paragraph.h".
2450
2451         * rowpainter.C:
2452         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2453
2454 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2455
2456         * main.C:
2457         * lyx_main.C:
2458         * lyx_cb.C:
2459         * buffer.C:
2460         * LaTeX.C: use namespace alias for lyx::support::os
2461
2462 2003-09-16  Angus Leeming  <leeming@lyx.org>
2463
2464         * bufferparams.C:
2465         * bufferview_funcs.C:
2466         * factory.C:
2467         * lyxfunc.C:
2468         * paragraph_pimpl.C:
2469         * rowpainter.C:
2470         * text.C: add #include "LColor.h".
2471
2472 2003-09-16  Angus Leeming  <leeming@lyx.org>
2473
2474         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2475         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2476         return LyXFont &.
2477         Store the FontBits::color variable as an int rather than as an
2478         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2479         file.
2480
2481         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2482         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2483         string calls together.
2484
2485         * lyxrc.C: add #include "LColor.h".
2486
2487 2003-09-15  Angus Leeming  <leeming@lyx.org>
2488
2489         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2490         a cow_ptr.
2491
2492 2003-09-15  Angus Leeming  <leeming@lyx.org>
2493
2494         * LColor.h: add an EnumLColor wrapper for LColor::color.
2495
2496         * lyxfont.[Ch] (color, setColor, realColor):
2497         * lyxtext.h, text.C (backgroundColor):
2498         pass EnumLColor args to/from the functions, rather than LColor::color
2499         ones.
2500
2501         * lyxfont.h:
2502         * lyxtext.h: forward declare EnumLColor.
2503
2504         * lyx_main.C: add #include "LColor.h".
2505
2506 2003-09-15  Angus Leeming  <leeming@lyx.org>
2507
2508         * .cvsignore: add lyx-gtk.
2509
2510 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * Chktex.C
2513         * LaTeX.C
2514         * LaTeXFeatures.C
2515         * ParagraphParameters.C
2516         * Spacing.C
2517         * buffer.C
2518         * bufferparams.C
2519         * bufferview_funcs.C
2520         * chset.C
2521         * counters.C
2522         * funcrequest.C
2523         * lyxfont.C
2524         * lyxgluelength.C
2525         * lyxlength.C
2526         * paragraph.C
2527         * paragraph_funcs.C
2528         * text3.C
2529         * vc-backend.C: remove usage of STRCONV
2530
2531 2003-09-15  Angus Leeming  <leeming@lyx.org>
2532
2533         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2534         explicitly define the color passed to the painter.
2535
2536 2003-09-15  Angus Leeming  <leeming@lyx.org>
2537
2538         * bufferparams.C (BufferParams): reorder member initializers to avoid
2539         compiler warning.
2540
2541 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2544         * text.C (updateRowPositions): remove an unusual nop
2545
2546 2003-09-12  André Pönitz  <poenitz@gmx.net>
2547
2548         * BufferView_pimpl.C:
2549         * Bullet.C:
2550         * layout.h:
2551         * lyxfunc.C:
2552         * lyxlayout.[Ch]:
2553         * lyxtextclass.C:
2554         * rowpainter.C:
2555         * text.C:
2556         * text2.C:
2557         * Counters.[Ch]: finish the 'automatic counters' job
2558
2559 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2560
2561         * aspell.C: include <boost/assert.cpp> (compile fix)
2562
2563 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2564
2565         * boost.C (assertion_failed): use lyx::support::abort instead of
2566         assert.
2567
2568 2003-09-10  Angus Leeming  <leeming@lyx.org>
2569
2570         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2571         with their _fwd progeny.
2572
2573 2003-09-09  Angus Leeming  <leeming@lyx.org>
2574
2575         134 files throughtout the source tree: replace 'using namespace abc;'
2576         directives with the appropriate 'using abc::xyz;' declarations.
2577
2578 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2579
2580         * boost.C (emergencyCleanup): moved here from LAssert.c
2581         (assertion_failed): new function, called by BOOST_ASSERT
2582
2583         * several files: change Assert to BOOST_ASSERT
2584
2585 2003-09-09  Angus Leeming  <leeming@lyx.org>
2586
2587         * buffer.[Ch]: Add an Impl class and move Buffer's member
2588         variables into it. As a result move several header files out of
2589         buffer.h.
2590
2591         Add header files to lots of .C files all over the tree as a result.
2592
2593 2003-09-09  Angus Leeming  <leeming@lyx.org>
2594
2595         * buffer.[Ch]: make Buffer's member variables private. Add
2596         accessor functions.
2597
2598         Lots of changes all over the tree as a result.
2599
2600 2003-09-08  Angus Leeming  <leeming@lyx.org>
2601
2602         * graph.C: #include <config.h>.
2603
2604 2003-09-08  Angus Leeming  <leeming@lyx.org>
2605
2606         * BranchList.C:
2607         * BufferView.C:
2608         * BufferView_pimpl.C:
2609         * CutAndPaste.C:
2610         * DepTable.C:
2611         * LaTeX.C:
2612         * LaTeXFeatures.C:
2613         * LyXAction.C:
2614         * MenuBackend.C:
2615         * TextCache.C:
2616         * aspell.C:
2617         * buffer.C:
2618         * bufferlist.C:
2619         * changes.C:
2620         * chset.C:
2621         * converter.C:
2622         * counters.C:
2623         * debug.C:
2624         * graph.C:
2625         * ispell.C:
2626         * lyx_cb.C:
2627         * lyxfind.C:
2628         * lyxfunc.C:
2629         * lyxlex_pimpl.C:
2630         * lyxrc.C:
2631         * lyxrow.C:
2632         * paragraph.C:
2633         * rowpainter.C:
2634         * texrow.C:
2635         * text.C:
2636         * text2.C:
2637         * toc.C: remove redundant using directives.
2638
2639 2003-09-07  Angus Leeming  <leeming@lyx.org>
2640
2641         * LaTeXFeatures.h: remove #include "support/types.h".
2642         * ToolbarBackend.h: remove #include <algorithm>.
2643         * changes.h: remove #include <ctime>.
2644         * debug.h: remove #include <iosfwd>.
2645         * graph.h: remove #include "support/std_string.h".
2646         * lyx_main.h: remove #include <csignal>.
2647         * lyxlex_pimpl.h: remove #include <fstream>.
2648         * sgml.h: remove #include <algorithm>, <utility>.
2649         * toc.h: remove #include "support/std_ostream.h".
2650         Add #include <iosfwd>.
2651
2652 2003-09-07  Angus Leeming  <leeming@lyx.org>
2653
2654         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2655
2656         * converter.h: forward declare LatexRunParams.
2657         * encoding.h: remove #include "lyxrc.h".
2658         * lyxtext.h: remove #include "LColor.h".
2659         * lyxtextclass.h: remove #include "support/types.h".
2660         * trans.h: remove #include "tex-accent.h".
2661         * trans_mgr.h: remove #include "tex-accent.h".
2662         * insets/inset.h: remove #include "support/types.h", <vector>.
2663         * insets/insetcollapsable.h: remove #include "LColor.h".
2664         * insets/insetinclude.h: remove #include "dimension.h".
2665         * insets/insetlatexaccent.h: remove #include "dimension.h".
2666         * insets/insetoptarg.h:: remove #include "insettext.h".
2667         * insets/insettext.h: remove #include "dimension.h",
2668         <boost/shared_ptr.hpp>
2669
2670         * insets/renderers.h: add #include "dimension.h".
2671         * insets/updatableinset.h: add #include "support/types.h".
2672
2673         * many .C files: Associated changes.
2674
2675 2003-09-06  Angus Leeming  <leeming@lyx.org>
2676
2677         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2678         one, inside testInvariant.
2679
2680         * PrinterParams.C: new file.
2681         * PrinterParams.[Ch]: move the function bodies out of line.
2682
2683 2003-09-06  Angus Leeming  <leeming@lyx.org>
2684
2685         * ParagraphParameters.h: forward declare ParameterStruct rather than
2686         including its header file.
2687         (depth): moved out-of-line.
2688
2689 2003-09-06  Angus Leeming  <leeming@lyx.org>
2690
2691         * BufferView_pimpl.h:
2692         * kbmap.h:
2693         * kbsequence.h:
2694         * lyxfunc.h: forward declare LyXKeySym rather than
2695         #include "frontends/LyXKeySym.h".
2696
2697         * BufferView_pimpl.C:
2698         * kbmap.C:
2699         * kbsequence.C:
2700         * lyxfunc.C: associated changes.
2701
2702 2003-09-06  Angus Leeming  <leeming@lyx.org>
2703
2704         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2705         As a result, can remove the #include "insets/inset.h" from BufferView.h
2706
2707 2003-09-06  Angus Leeming  <leeming@lyx.org>
2708
2709         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2710         As a result, can remove the #include "insets/inset.h" from BufferView.h
2711
2712 2003-09-06  Angus Leeming  <leeming@lyx.org>
2713
2714         * buffer_funcs.C:
2715         * buffer.h:
2716         * bufferlist.C:
2717         * BufferView.C:
2718         * bufferview_funcs.C:
2719         * BufferView_pimpl.C:
2720         * CutAndPaste.C:
2721         * lyx_cb.C:
2722         * lyxfunc.C:
2723         * paragraph.h:
2724         * ParagraphParameters.C:
2725         * tabular.C:
2726         * text3.C:
2727         * toc.C:
2728         * undo_funcs.C:
2729         * frontends/controllers/ControlDocument.C:
2730         * insets/insetcaption.C: rearrange the #includes into some sort of
2731         coherent order.
2732
2733         * buffer.h: remove #includes ErrorList.h, undo.h
2734
2735 2003-09-06  Angus Leeming  <leeming@lyx.org>
2736
2737         * support/types.h: add a 'depth_type' typedef, used to store the
2738         nesting depth of a paragraph.
2739
2740         * paragraph.h:
2741         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2742         defining explicitly.
2743
2744         * buffer.h:
2745         * paragraph_funcs.h:
2746         * ParagraphParameters.h:
2747         * sgml.h: use lyx::depth_type rather than Paragraph or
2748         ParameterStruct's depth_type.
2749
2750         * buffer.h
2751         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2752
2753         * BufferView.C:
2754         * BufferView_pimpl.C:
2755         * CutAndPaste.C:
2756         * ParagraphParameters.C:
2757         * buffer_funcs.C:
2758         * bufferlist.C:
2759         * bufferview_funcs.C:
2760         * lyx_cb.C:
2761         * lyxfunc.C:
2762         * tabular.C:
2763         * text3.C:
2764         * toc.C:
2765         * undo_funcs.C:
2766         * frontends/LyXView.C:
2767         * frontends/controllers/ControlDocument.C:
2768         * frontends/controllers/ControlErrorList.C:
2769         * insets/insetbibitem.C:
2770         * insets/insetbranch.C:
2771         * insets/insetcaption.C:
2772         * insets/insetcollapsable.C:
2773         * insets/insetenv.C:
2774         * insets/insetert.C:
2775         * insets/insetfloat.C:
2776         * insets/insetfoot.C:
2777         * insets/insetfootlike.C:
2778         * insets/insetnewline.C:
2779         * insets/insetquotes.C:
2780         * insets/insettabular.C:
2781         * insets/insettext.C:
2782         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2783
2784         * frontends/controllers/ControlChanges.C: #include "changes.h".
2785
2786 2003-09-06  Angus Leeming  <leeming@lyx.org>
2787
2788         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2789         than #including paragraph.h.
2790
2791         * ParagraphList.h:
2792         * RowList.h: deleted. Superfluous.
2793
2794         * CutAndPaste.h:
2795         * iterators.h:
2796         * lyxcursor.h:
2797         * lyxtext.h:
2798         * text_funcs.h:
2799         * undo.h:
2800         * undo_funcs.h:
2801         * insets/inset.h:
2802         * insets/insettext.h: use ParagraphList_fwd.h rather than
2803         ParagraphList.h.
2804
2805         * paragraph.h: don't forward declare ParagraphList.
2806
2807         * buffer.h:
2808         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2809         rather than ParagraphList.h. paragraph.h is still needed for the
2810         Paragraph::depth_type parameters.
2811
2812         * textcursor.h: enable it to compile stand-alone in light of the
2813         above changes.
2814
2815         * bufferview_funcs.C:
2816         * iterators.C:
2817         * lyxfunc.C:
2818         * lyxrow_funcs.C:
2819         * paragraph.C:
2820         * rowpainter.C:
2821         * text.C:
2822         * text2.C:
2823         * text3.C:
2824         * text_funcs.C:
2825         * textcursor.C:
2826         * undo.C:
2827         * frontends/controllers/ControlParagraph.C:
2828         * frontends/controllers/ControlTabular.C:
2829         * insets/insetmarginal.C:
2830         * insets/insetminipage.C:
2831         * insets/insetnote.C:
2832         * insets/insetoptarg.C: add header files needed to compile again.
2833
2834 2003-09-06  Angus Leeming  <leeming@lyx.org>
2835
2836         * RowList_fwd.h: new file, forward-declaring Row rather than
2837         #including lyxrow.h.
2838
2839         * lyxrow_funcs.h:
2840         * lyxtext.h:
2841         * paragraph.h:
2842         * insets/insettext.h: use it instead of RowList.h
2843
2844         * bufferview_funcs.C:
2845         * lyxfunc.C:
2846         * lyxrow_funcs.C:
2847         * paragraph.C:
2848         * rowpainter.C:
2849         * text.C:
2850         * text2.C:
2851         * text3.C: #include "RowList.h".
2852
2853 2003-09-05  Angus Leeming  <leeming@lyx.org>
2854
2855         * factory.C (createInset):
2856         * vspace.C (c-tor): replace sscanf call with an istringstream.
2857         * ispell.C: re-add missing HP/UX headers.
2858         * lyxserver.C: re-add missing  os2 headers.
2859
2860 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * BranchList.C:
2863         * graph.C:
2864         * ispell.C:
2865         * lastfiles.C:
2866         * lyx_cb.C:
2867         * lyxserver.C:
2868         * texrow.C:
2869         * text3.C: re-add missing system headers, needed for 2.95.2.
2870
2871 2003-09-05  Angus Leeming  <leeming@lyx.org>
2872
2873         Changes most place everywhere due to the removal of using directives
2874         from support/std_sstream.h.
2875
2876 2003-09-05  Angus Leeming  <leeming@lyx.org>
2877
2878         Replace LString.h with support/std_string.h,
2879         Lsstream.h with support/std_sstream.h,
2880         support/LIstream.h with support/std_istream.h,
2881         support/LOstream.h with support/std_ostream.h.
2882
2883         Changes resulting throughout the tree.
2884
2885 2003-09-05  Angus Leeming  <leeming@lyx.org>
2886
2887         * sgml.h: ensure that the header file can be compiled stand-alone.
2888         * *.C: strip out redundant #includes. (320 in total.)
2889
2890 2003-09-04  Angus Leeming  <leeming@lyx.org>
2891
2892         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2893         here (from getPackages).
2894
2895         * debug.[Ch]: add a new EXTERNAL tag.
2896
2897 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2898
2899         * text2.C (cursorEnd): simplify
2900         (setCursor): adjust
2901         (getColumnNearX): adjust
2902
2903         * text.C (computeBidiTables): adjust
2904         (fill): adjust
2905
2906         * rowpainter.C (paintChars): adjust
2907         (paintSelection): adjust
2908         (paintChangeBar): adjust
2909         (paintText): adjust
2910
2911         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2912         lastPos instead.
2913         (numberOfSeparators): adjust
2914
2915 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2916
2917         * LyXAction.C:
2918         * box.[Ch]:
2919         * lfuns.h:
2920         * lyxfunc.C:
2921         * text3.C: Restricts the mouse click functionality
2922         of insets like bibtex, include, toc and floatlist to the visible
2923         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2924         up the dialogs. Cursor has to be in front of the inset (i.e.
2925         start of row) for this to function.
2926
2927 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2928
2929         * bufferview_funcs.C (currentState): output row information
2930
2931 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2932
2933         * bufferview_funcs.C (currentState): output paragraph position
2934
2935 2003-09-04  Angus Leeming  <leeming@lyx.org>
2936
2937         * FloatList.h: move out #include "Floating.h".
2938         * LaTeX.h: move out #include "DepTable.h".
2939         * LyXAction.h: move out #include "funcrequest.h".
2940         * buffer.h: move out #include "author.h", "iterators.h".
2941         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2942         * lyx_main.h: move out #include "errorlist.h".
2943         * lyxfunc.h: move out #include "FuncStatus.h".
2944         * lyxtext: move out #include "lyxcursor.h".
2945         * paragraph_pimpl.h: move out #include "counters.h".
2946
2947 2003-09-03  Angus Leeming  <leeming@lyx.org>
2948
2949         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2950         preamble_snippets list, enabling us to add snippets to the preamble
2951         only if the snippet was not there already.
2952
2953 2003-09-04  Angus Leeming  <leeming@lyx.org>
2954
2955         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2956
2957 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2960         update
2961
2962 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2963
2964         * BranchList.C: point fix, earlier forgotten
2965
2966 2003-09-02  Angus Leeming  <leeming@lyx.org>
2967
2968         * box.C (contains): renamed from 'contained' after a fantastic
2969         amount of hot air.
2970
2971 2003-09-02  John Levon  <levon@movementarian.org>
2972
2973         * BufferView.C:
2974         * lyxcursor.h:
2975         * lyxcursor.C:
2976         * lyxfunc.C:
2977         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2978
2979 2003-09-02  John Levon  <levon@movementarian.org>
2980
2981         * text2.C: simplification of cursorEnd(), including partial
2982         fix for bug 1376
2983
2984 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * buffer.C (readFile): add a space
2987
2988 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2991
2992 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * buffer.C (readFile): new function, take a filename and a
2995         ParagraphList::iterator
2996         (readFile): adjust
2997         (readFile): adjust, make it private. don't use setStream, make
2998         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2999         always contain the filename.
3000
3001         * BufferView.C (insertLyXFile): simplify and make it work for
3002         gzipped files.
3003
3004 2003-08-30  John Levon  <levon@movementarian.org>
3005
3006         * Makefile.am: fix dist (from Kayvan)
3007
3008 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * most files: change to use const Buffer refs
3011
3012 2003-08-27  André Pönitz  <poenitz@gmx.net>
3013
3014         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3015         on top of ownerPar().
3016
3017 2003-08-27  John Levon  <levon@movementarian.org>
3018
3019         * funcrequest.C: properly initialise POD members
3020
3021 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3022
3023         * lyxtext.h (top_y): move top_y from here
3024         * text.C:
3025         * text2.C:
3026         * text3.C:
3027         * BufferView.[Ch]:
3028         * BufferView_pimpl.[Ch]: to here
3029         * frontends/screen.C:
3030         * insets/insettabular.C:
3031         * insets/insettext.C: adjust
3032         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3033
3034 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * BufferView.[Ch]:
3037         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3038
3039 2003-08-26  André Pönitz  <poenitz@gmx.net>
3040
3041         * paragraph_func.[Ch] (outerPar): new function
3042
3043         * paragraph.C:
3044         * paragraph_funcs.C:
3045         * paragraph_funcs.h:
3046         * paragraph_pimpl.C:
3047         * text2.C: remove Inset::par_owner
3048
3049 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3050
3051         * lyxrow_funcs.C:
3052         * lyxtext.h:
3053         * text.C:
3054         * text2.C: eliminates the needFullRow/display() stuff
3055         altogether, putting the logic in metrics/draw in the insets.
3056
3057 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3058
3059         * text2.C (redoParagraphInternal, redoParagraphs):
3060         * text.C (redoParagraph): add a call to updateRowPositions at the
3061         end of each 'metrics-like' call. Remove all others.
3062         (getRow): remove the 'y-computing' version.
3063         (getRowNearY): do not compute nor return the real y. Solve the
3064         'y < 0' problem and simplify.
3065
3066 2003-08-22  Angus Leeming  <leeming@lyx.org>
3067
3068         * *.[Ch]: clean-up of licence and author blurbs.
3069         Also move config.h out of a few .h files and into a few .C files.
3070
3071 2003-08-22  André Pönitz  <poenitz@gmx.net>
3072
3073         * lyxrow.[Ch]: add x_ and *fill_ members
3074
3075         * lyxtext.h:
3076         * text.C:
3077         * rowpainter.C:
3078         * text2.C: adjust/remove prepareToPrint() calls
3079
3080 2003-08-22  André Pönitz  <poenitz@gmx.net>
3081
3082         * lyxrow.[Ch]: add  end_ member
3083
3084         * lyxrow_funcs.C: use LyXRow::end_
3085
3086         * lyxtext.h (singleWidth): add LyXFont parameter
3087
3088         * rowpainter.C:
3089         * text2.C: adjust LyXText::singleWidth() calls
3090
3091         * text.C (redoParagraph): simplify row breaking logic
3092
3093
3094 2003-08-19  André Pönitz  <poenitz@gmx.net>
3095
3096         * funcrequest.C: initialize button_ member
3097
3098         * text3.C:
3099         * rowpainter.[Ch]: interface consolidation
3100
3101 2003-08-18  André Pönitz  <poenitz@gmx.net>
3102
3103         * BufferView.C:
3104         * BufferView_pimpl.C:
3105         * lyxfind.C:
3106         * paragraph_funcs.C:
3107         * rowpainter.C:
3108         * text3.C: remove LyXScreen::draw() and fitCursor calls
3109
3110         * BranchList.h: remove spurious semicolons
3111
3112         * MenuBackend.C: fix branchlist related crash
3113
3114 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3115
3116         * BranchList.[Ch]:
3117         * InsetList.[Ch]:
3118         * LColor.[Ch]:
3119         * LyXAction.C:
3120         * Makefile.am:
3121         * MenuBackend.[Ch]:
3122         * bufferparams.[Ch]:
3123         * factory.C:
3124         * lfuns.h:
3125         * lyxfunc.C:
3126         * text3.C: implements the 'branch inset'
3127         idea. This allows the output of various versions of a document
3128         from a single source version, selectively outputing or suppressing
3129         output of parts of the text.
3130         This implementation contains a 'branch list editor' in a separate
3131         tab of the document settings dialog. Branches are user definable
3132         and have a "display colour" to distinguish them on-screen.
3133
3134         ColorHandler was somewhat cleaned up.
3135         (1) make possible a dynamically growing LColor list by allowing
3136         the graphic context cache to grow along (vector);
3137         (2) eliminate an IMHO unnecessary step in colour allocation.
3138
3139 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3140
3141         * BufferView_pimpl.C: compile fix
3142
3143 2003-08-15  André Pönitz  <poenitz@gmx.net>
3144
3145         * rowpainter.C: remove extra metrics calls
3146
3147         * lyxtext.h: merge the two constructors into a single one,
3148           pass reference to owner's par list
3149
3150         * BufferView_pimpl.C:
3151         * text.C:
3152         * text2.C: adjust
3153
3154 2003-08-15  André Pönitz  <poenitz@gmx.net>
3155
3156         * lyxrow_funcs.[Ch]:
3157         * lyxtext.h:
3158         * paragraph.h:
3159         * paragraph_funcs.C:
3160         * rowpainter.C:
3161         * text.C:
3162         * text2.C:
3163         * text3.C:
3164         * text_funcs.C: split LyXText::rowlist_ into individual
3165         Paragraph::rows_ chunks
3166
3167         * BufferView.[Ch]:
3168         * BufferView_pimpl.[Ch]:
3169         * lyxfind.C:
3170         * lyxtext.h:
3171         * text3.C: remove toggleSelection()
3172
3173 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3174
3175         * bufferlist.C: beautify two alerts (shorter text of buttons)
3176         * buffer.C: Remove redundant ' ' from message
3177         * tabular.h:
3178         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3179         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3180         rename VALIGN_CENTER to VALIGN_MIDDLE
3181
3182 2003-08-11  André Pönitz  <poenitz@gmx.net>
3183
3184         * lyxtext.h (getPar):
3185         * text.C: new function
3186
3187 2003-08-11  André Pönitz  <poenitz@gmx.net>
3188
3189         * Makefile.am:
3190         * tracer.[Ch]: remove unneeded files
3191
3192         * InsetList.[Ch]: remove resizeInsetsLyXText()
3193
3194         * lyxtext.h:
3195         * text.C:
3196         * text2.C:
3197         * text3.C: merge insertParagraphs() and appendParagraph()
3198         remove breakAgain(), update()
3199
3200         * BufferView_pimpl.[Ch]:
3201         * bufferview_funcs.[Ch]:
3202         * lyxfunc.C:
3203         * paragraph.[Ch]:
3204         * rowpainter.C:
3205         * tabular.C: adjust after text & InsetList changes.
3206
3207 2003-08-08  André Pönitz  <poenitz@gmx.net>
3208
3209         * text.C (insertChar, backspace): replace rowlist fiddling
3210         with rebreak of full par
3211
3212         * lyxtext.h:
3213         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3214         checkParagraph, updateInset): removed
3215
3216 2003-08-07  André Pönitz  <poenitz@gmx.net>
3217
3218         * paragraph.C:
3219         * text3.C: merge some LFUN handlers, remove dead code
3220
3221 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3222
3223         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3224
3225 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3226
3227         * text2.C (DEPM): fix part of bug 1255 and 1256
3228
3229 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3230
3231         * BufferView_pimpl.C (workAreaDispatch): change to use
3232         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3233         that are no mouse related.
3234
3235 2003-08-05  André Pönitz  <poenitz@gmx.net>
3236
3237         * BufferView.[Ch]:
3238         * BufferView_pimpl.[Ch]:
3239         * bufferview_funcs.C:
3240         * text2.C:
3241         * text3.C: rip out "deep update"
3242
3243         * textcursor.[Ch] (last_sel_cursor): remove unused member
3244
3245 2003-08-04  André Pönitz  <poenitz@gmx.net>
3246
3247         * BufferView.[Ch]:
3248         * BufferView_pimpl.[Ch]:
3249         * ParagraphParameters.C:
3250         * bufferview_funcs.C:
3251         * lyx_cb.C:
3252         * lyxfind.C:
3253         * lyxfunc.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: replace "complicated" BufferView::update(...) calls with
3257         simpler ones.
3258
3259         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3260
3261 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3262
3263         * Makefile.am (lyx_SOURCES): add paper.h
3264
3265 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3266
3267         * Makefile.am: move things around so that both lyx-qt and
3268         lyx-xforms can be built (according to --with-frontend). Then lyx
3269         is a symbolic link to lyx-[firstfrontend]
3270
3271 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3272
3273         * Always use std::endl with lyxerr
3274
3275 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3276
3277         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3278
3279 2003-08-01  André Pönitz  <poenitz@gmx.net>
3280
3281         * BufferView.[Ch]:
3282         * BufferView_pimpl.[Ch]:
3283         * lyxfunc.C:
3284         * text3.C: merge BufferView::repaint() and BufferView::update()
3285
3286 2003-08-01  José Matos  <jamatos@lyx.org>
3287
3288         * buffer.[Ch]: file_format is no longer a buffer data element.
3289
3290 2003-08-01  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView.C:
3293         * lyxtext.h:
3294         * text.C:
3295         * text2.C: make redoParagraph more independent of current cursor
3296
3297         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3298         * text.C:
3299         * text2.C: remove unneeded members
3300
3301 2003-07-30  André Pönitz  <poenitz@gmx.net>
3302
3303         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3304
3305         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3306           create a single function...
3307
3308         * paragraph_funcs.C (moveItem): ... here.
3309
3310         * text.C:
3311           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3312
3313 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3314
3315         * LColor.[Ch]: Add comment and greyedout logical colors.
3316
3317 2003-07-30  André Pönitz  <poenitz@gmx.net>
3318
3319         * tabular.C: don't use Assert too heavily. This crashes where it
3320           shouldn't
3321
3322 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3323
3324         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3325         is disabled (bug 1232)
3326
3327 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3328
3329         * factory.C: limited 'arg' scope
3330
3331 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3332
3333         * factory.C: fixed Note submenu issues
3334
3335 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3336
3337         * factory.C: submenu for Note/Comment/Greyedout
3338
3339 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3340
3341         * lyx_main.C (LyX):
3342         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3343
3344 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3345
3346         * LaTeXFeatures.C:
3347         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3348         greyedout. Patch provided by Jürgen Spitzmüller.
3349
3350 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3351
3352         * kbmap.C (read): fix error message when reading bind files
3353
3354 2003-07-29  Angus Leeming  <leeming@lyx.org>
3355
3356         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3357         certainly does not do what it purports to do. I am doing it, and
3358         us, a favour by killing it.
3359
3360 2003-07-28  José Matos  <jamatos@lyx.org>
3361
3362         * buffer.C (readBody, do_writeFile):
3363         * paragraph.C(readParagraph): \end_document replaces \the_end.
3364
3365 2003-07-29  André Pönitz  <poenitz@gmx.net>
3366
3367         * BufferView.[Ch]:
3368         * BufferView_pimpl.[Ch]:
3369         * lyxfunc.C:
3370         * text2.C:
3371         * text3.C:
3372         * textcursor.[Ch]: remove toggleToggle & Co
3373
3374 2003-07-28  José Matos  <jamatos@fep.up.pt>
3375
3376         * buffer.C (readParagraph):
3377         * params_func (readParToken, readParagraph):
3378         * paragraph.C (write): \layout -> \begin_layout.
3379
3380 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * lyxlex_pimpl.C (setFile): clean up slightly.
3383
3384         * bufferparams.h: add compressed var
3385
3386         * buffer_funcs.C (readFile): adjust for LyXLex change
3387         (newFile): ditto + simplify
3388
3389         * buffer.C (writeFile): handle writing of compressed files
3390
3391         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3392         Check if the file is compressed and set a bufferparm if so.
3393
3394         * Makefile.am (lyx_LDADD): remove explicit -lz
3395
3396 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3397
3398         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3399         makeDocBookFile): put the real LyX version in the first line of
3400         the file
3401
3402         * version.h:
3403         * version.C.in: remove lyx_docversion
3404
3405         * tabular.C (write_attribute): add a template-based version to
3406         write enums properly
3407
3408 2003-07-28  André Pönitz  <poenitz@gmx.net>
3409
3410         * lyxtext.h:
3411         * text.C:
3412         * text2.C:
3413         * text3.C: use doubles again for x-coordinates. They are needed.
3414
3415 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3416
3417         * messages.C (getLocaleDir): use lyx_localedir()
3418
3419         * lyxlex_pimpl.C (setFile): compress stuff
3420
3421         * buffer.C (writeFile): add some compression stuff
3422         (do_writeFile): new func, dont call expliti close... will this
3423         breake anything?
3424
3425         * Makefile.am (lyx_LDADD): add -lz
3426
3427 2003-07-28  José Matos  <jamatos@fep.up.pt>
3428
3429         * buffer.C: increment file format.
3430         * paragraph_funcs (readParagraph, readParToken):
3431         * paragraph.C (readParagraph): add \end_layout.
3432
3433 2003-07-27  Angus Leeming  <leeming@lyx.org>
3434
3435         * Makefile.am: remove special casing for configure-time setting of
3436         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3437
3438         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3439         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3440
3441 2003-07-26  André Pönitz  <poenitz@gmx.net>
3442
3443         * paragraph_func.[Ch]:
3444         * paragraph.C (realizeFont): inline it whereever it is used
3445
3446         * rowpainter.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3450
3451
3452 2003-07-26  André Pönitz  <poenitz@gmx.net>
3453
3454         *       lyxtext.h:
3455         * text.C:
3456         * text2.C: get rid of LyXText::need_break_row
3457
3458 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3459
3460         * toc.[Ch]: put namespace toc inside namespace lyx
3461
3462         * MenuBackend.C (expandToc2): adjust for lyx::toc
3463         (expandToc): ditto
3464
3465         * lyxfunc.C (dispatch): adjust for lyx::find
3466
3467         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3468         lyx::find instead. Reorganize a bit.
3469         (LyXReplace): rename to replace
3470         (LyXFind): rename to find
3471
3472         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3473         (dispatch): ditto
3474
3475 2003-07-26  André Pönitz  <poenitz@gmx.net>
3476
3477         * text.C (setHeightOfRow): restrict scope of temporary variable
3478
3479         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3480           code (never has been used?)
3481
3482 2003-07-27  Asger Alstrup  <alstrup@local>
3483
3484         * text.C (fill): Optimise algorithm to exploit that we can reuse
3485         the LyXFont for many characters.
3486         (setHeightOfRow): Same thing.
3487         (rowBreakPoint): Same thing.
3488
3489 2003-07-26  Asger Alstrup  <alstrup@local>
3490
3491         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3492
3493         * text.C (singleWidth): Spurious font copying in hot-spot
3494         singleWidth avoided. Reorder tests for arabic for efficiency.
3495
3496         * text.C (fill): handle empty paragraphs better.
3497
3498 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3499
3500         * ispell.C:
3501         * encoding.h: add includes
3502
3503         * lyxrc.C: remove reading of bind files
3504
3505         * lyx_main.C (init): setup bindings and menus only if we have a
3506         gui.
3507
3508         * kbmap.C (read): new method. Do the actual reading of bind
3509         files.
3510
3511         * converter.C (dvipdfm_options):
3512         * bufferparams.C:
3513         * lyxrc.C (read):
3514         (output): adapt PAPER_* enums.
3515
3516         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3517
3518         * bufferparams.h: remove paper-related enums from there
3519
3520         * paper.h: New file. A trivial header file to hold paper-related
3521         enums. It should later expand to contain many paper-related
3522         horrors access.
3523
3524         * lyxrc.C: declare extern displayTranslator
3525
3526 2003-07-27  José Matos  <jamatos@fep.up.pt>
3527
3528         * tabular.[Ch] (linuxdoc): add support for tables and figures
3529         (linuxdoc).
3530
3531 2003-07-27  José Matos  <jamatos@fep.up.pt>
3532
3533         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3534         consistency in both functions.
3535         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3536
3537 2003-07-26  Asger Alstrup  <alstrup@local>
3538
3539         * rowpainter.C (paintRows): Change algorithm to work directly on
3540         the insets rather than asking every character in the document
3541         whether its an inset.
3542
3543 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * buffer.C (openFileWrite): factorize some code
3546
3547 2003-07-26  Angus Leeming  <leeming@lyx.org>
3548
3549         * lyx_cb.C:
3550         * lyx_main.[Ch]: replace occurances of system_tempdir with
3551         os::getTmpDir().
3552
3553 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * rename Inset to InsetOld
3556
3557 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3558
3559         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3560         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3561         which I think is a bit clearer. EDIT is gone, since it was
3562         premature optimisation, and broken for mathed anyway.
3563         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3564         with cursor positioning in insets as well (math insets still do not
3565         work, but that's a different story anyway.) It mysteriously
3566         crashes sometimes with undo in the first paragraph, but I'm fairly
3567         confident that this is a compiler bug.
3568
3569 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * paragraph.C (Paragraph): adjust for new clone return type
3572         (operator==): ditto
3573         (copyIntoMinibuffer): ditto
3574
3575 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3576
3577         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3578         by not having a special case, and always doing a full rebreak of
3579         the document after undo.
3580
3581 2003-07-23  Angus Leeming  <leeming@lyx.org>
3582
3583         * factory.C (createInset): InsetExternal::setParams now takes a
3584         Buffer const * arg.
3585
3586 2003-07-23  Angus Leeming  <leeming@lyx.org>
3587
3588         * factory.C (createInset): changed interface to the external and
3589         graphics mailers' string2params functions.
3590
3591 2003-07-23  Angus Leeming  <leeming@lyx.org>
3592
3593         * factory.C (createInset): pass a
3594         Buffer const * parameter to InsetExternalMailer's string2params.
3595
3596 2003-07-22  John Levon  <levon@movementarian.org>
3597
3598         * Thesaurus.h: include the right aiksaurus header
3599
3600 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3601
3602         * MenuBackend.C (expand): check menu shortcuts unconditionally
3603
3604 2003-07-21  Angus Leeming  <leeming@lyx.org>
3605
3606         * factory.C (createInset): pass a
3607         buffer_path parameter to InsetGraphicsMailer's string2params.
3608
3609 2003-07-21  Angus Leeming  <leeming@lyx.org>
3610
3611         * BufferView_pimpl.C (buffer):
3612         * buffer.C (d-tor):
3613         * lyx_main.C (LyX):
3614         * lyxfunc.C (dispatch):
3615         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3616         rather than the grfx shortcut.
3617
3618 2003-07-21  André Pönitz  <poenitz@gmx.net>
3619
3620         * rowpainter.C: remove unused variables
3621
3622         * tabular_funcs.C:
3623         * tabular_funcs.h: move to tabular.C
3624         * Makefile.am: adjust
3625
3626         * tabular.[Ch]: basic optical cleaning
3627
3628         * author.h: pass references, not values
3629
3630 2003-07-18  André Pönitz  <poenitz@gmx.net>
3631
3632         * lyxtext.h:
3633         * metricsinfo.C:
3634         * metricsinfo.h:
3635         * rowpainter.C:
3636         * text.C:
3637         * text2.C:
3638         * text3.C: two-phase drawing for InsetText and InsetTabular
3639         some float -> int changes.
3640
3641 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * lyx_main.C: fix the fix
3644
3645 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * lyx_main.C: fix a crash in batch mode if no files specified
3648         * converter.C: ws
3649
3650 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3651
3652         * format.[Ch] (papersize): moved to BufferParams
3653         * converter.[Ch] (dvips_options): moved to BufferParams
3654         (dvipdfm_options): moved to anon namespace
3655         * bufferparams.[Ch]: added above functions.
3656
3657 2003-07-17  André Pönitz  <poenitz@gmx.net>
3658
3659         * lyxtext.h:
3660         * rowpainter.C:
3661         * text2.C: don't call inset->update() anymore
3662
3663         * metricsinfo.[Ch]: add convenience constructor
3664
3665 2003-07-16  André Pönitz  <poenitz@gmx.net>
3666
3667         * lyxcursor.[Ch]:
3668         * lyxfunc.[Ch]:
3669         * text.C:
3670         * text2.C: replace the LyXCursor::irow_ member with
3671          on-demand computation of the value
3672
3673 2003-07-16  John Levon  <levon@movementarian.org>
3674
3675         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3676
3677 2003-07-15  André Pönitz  <poenitz@gmx.net>
3678
3679         * text.C:
3680         * text2.C: remove no more needed refresh_row
3681
3682 2003-07-15  André Pönitz  <poenitz@gmx.net>
3683
3684         * lyxtext.h:
3685         * rowpainter.C:
3686         * text2.C:
3687         * text3.C: refresh_status tristate -> need_update bool
3688
3689 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * lyxtext.h (init): remove reinit argument (act as if always true)
3692         * text2.C: adjust to that
3693
3694 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3695
3696         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3697         * text3.C: use it to delete selections in some cases
3698         (bugs 441, 673, 702, 954).
3699
3700 2003-07-14  André Pönitz  <poenitz@gmx.net>
3701
3702         * rowpainter.[Ch]: reduce interface
3703
3704 2003-07-14  André Pönitz  <poenitz@gmx.net>
3705
3706         * BufferView_pimpl.C:
3707         * text2.C: adjust after removing unused BufferView * argument
3708
3709 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * text2.C (init): fix a crash fired on resize
3712
3713 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * buffer.[Ch]: added new closing signal
3716         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3717         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3718         BufferView::Pimpl via the closing the signal
3719
3720 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * buffer.[Ch]: take out all bv-related from buffer
3723         * BufferView.C:
3724         * BufferView_pimpl.[Ch]: connect to new signals
3725         * CutAndPaste.C: removed useless asserts
3726         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3727         * lyxvc.[Ch]:
3728         * vc-backend.[Ch]:
3729         * lyxfunc.C: moved view-related funciontality from vc here
3730         * paragraph.C: removed outdated comments
3731         * text.C: ws
3732
3733 2003-07-10  André Pönitz  <poenitz@gmx.net>
3734
3735         * BufferView_pimpl.C:
3736         * tabular.h:
3737         * tabular_funcs.C:
3738         * text.C:
3739         * text2.C: remove InsetText::InnerCache, clean up consequences
3740
3741 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3742
3743         * ispell.C: fix two typos in error messages
3744
3745 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3746
3747         * Extend Note inset to other forms of annotation like Comment
3748         and Greyedout. Right button click gives dialog.
3749
3750         Files modified or added (+):
3751
3752         * insetnote.[Ch]
3753         * FormNote.[Ch]      +
3754         * ControlNote.[Ch]   +
3755         * form_note.fd       +
3756         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3757         frontends/controllers
3758         * xforms/Dialogs.C
3759         * factory.C
3760
3761 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3762
3763         * aspell.C: add missing namespace lyx::support
3764
3765 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3766
3767         * BufferView.[Ch] (newFile): Add
3768         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3769         * LaTeX.[Ch] (message): added this signal and use it
3770         * buffer.[Ch] (busy, message): added these signals and use them
3771         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3772         * converter.C:
3773         * exporter.C:
3774         * format.C:
3775         * importer.C: use buffer signals instead of direct bv calling
3776         * lyx_cb.[Ch] (ShowMessage): removed
3777         * lyx_main.C:
3778         * lyxfunc.C:
3779         * paragraph_funcs.C:
3780         * text2.C: use buffer signals
3781
3782 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * introduce namespace lyx::graphics
3785
3786 2003-07-02  André Pönitz  <poenitz@gmx.net>
3787
3788         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3789
3790 2003-07-01  André Pönitz  <poenitz@gmx.net>
3791
3792         * text.C:
3793         * text2.C:
3794         * text3.C:
3795         * text_funcs.[Ch]:
3796         * textcursor.h:
3797         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3798           text*.C to text_func.C
3799
3800 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * introduce namespace lyx::support
3803
3804 2003-06-30  André Pönitz  <poenitz@gmx.net>
3805
3806         * Chktex.C:
3807         * funcrequest.C:
3808         * lyxtext.h:
3809         * text.C: re-enable --with-included-string
3810
3811 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * textcursor.C: add <config.h>
3814
3815         * text.C (getWord): remove const from word_location arg
3816
3817         * lyxvc.C (getLogFile): fix const type order
3818
3819         * lyxtext.h: remove const from word_location arg, add arg name
3820
3821         * lyxlayout.h: currect type on labeltype.
3822
3823         * importer.C: correct \file
3824
3825         * converter.C (intToFormat): use std:: on ret val, ws changes
3826
3827         * bufferlist.h: correct \file
3828
3829         * buffer.C (makeLinuxDocFile): fix const type order
3830         (makeDocBookFile): ditto
3831         (fillWithBibKeys): use std:: on stdlib args.
3832
3833         * CutAndPaste.C: fix authors.
3834         (availableSelections): use std:: on return vector
3835
3836 2003-06-27  André Pönitz  <poenitz@gmx.net>
3837
3838         * BufferView_pimpl.C:
3839         * bufferview_funcs.C:
3840         * lyxcursor.C:
3841         * lyxcursor.h:
3842         * lyxfunc.C:
3843         * lyxtext.h:
3844         * rowpainter.C:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: remove LyXCursor::row_ member
3848
3849         * lyxtext.h:
3850         * text.C: rename fullRebreak() to partialRebreak() and implement
3851           a fullRebreak() that really bereks fully
3852
3853         * textcursor.h: new struct for cursor-related data
3854
3855 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * lyx_main.C (LyX): get full path of document loaded on the
3858         command line
3859
3860 2003-06-26  André Pönitz  <poenitz@gmx.net>
3861
3862         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3863           remove unused/broken operator>,<,>=.
3864
3865         *       text.C: remove only use of broken operator<= in an Assert().
3866
3867 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3868
3869         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3870         moved errorlist_.clear to showErrorList
3871
3872 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3873
3874         * converter.C (scanLog, runLaTeX):
3875         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3876         move the bv->showErrorList call to the callers
3877         * lyxfunc.C: i.e. here...
3878         * text2.C: and here
3879         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3880         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3881         namespace, the second to...
3882         * buffer_funcs (BufferFormat, parseErrors): added
3883         * errorlist.C (ErrorList(TeXErrors const &)): removed
3884
3885 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3886
3887         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3888
3889 2003-06-24  "Garst R. Reese" <reese@isn.net>
3890
3891         * debug.C: fix typo
3892
3893 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3894
3895         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3896
3897         * version.C.in: change docversion to 1.4
3898
3899 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * buffer.C: fix a bug just introduced
3902
3903 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * buffer.[Ch]: added the parseError signal and use it, removed
3906         sgmlError
3907         * BufferView.[Ch] (addError): moved to ...
3908         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3909         to the Buffer::parseError signal to catch (guess what) parse errors
3910         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3911
3912 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3913
3914         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3915         ability to create a buffer and to return an existing one from
3916         the list. Moved these functions to...
3917         * buffer_funcs.[Ch]: added
3918         * BufferView.[Ch] (loadLyXFile): added
3919         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3920         job removed from bufferlist::loadLyXFile.
3921         * buffer.C (setReadOnly): make it work without view
3922         (i.e added an if (users))
3923
3924 2003-06-19  Angus Leeming  <leeming@lyx.org>
3925
3926         * lfuns.h:
3927         * LyXAction.C (init):
3928         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3929         with LFUN_DIALOG_SHOW <name> <data>.
3930
3931 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3932
3933         * CutAndPaste.C (availableSelections): small compilation fix for
3934         ancient (gcc 2.9x) compilers
3935
3936 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * text3.C (cursorNext): add tmp var
3939
3940         * text2.C (updateCounters): for function calling out of for clause
3941         (replaceSelectionWithString): ditto
3942         (insertStringAsParagraphs): ditto
3943         (getColumnNearX): add tmp var
3944         (setCursorFromCoordinates): add tmp var
3945         (cursorDownParagraph): add tmp var
3946         (deleteEmptyParagraphMechanism): add tmp var
3947
3948         * text.C (insertChar): add tmp var
3949
3950         * rowpainter.C (paintDepthBar): add tmp var
3951
3952         * CutAndPaste.C (availableSelections): potentially check all
3953         paragraphs in a cut to fill the shown strings.
3954
3955 2003-06-18  André Pönitz  <poenitz@gmx.net>
3956
3957         * kbmap.[Ch]: use vector<> instead of list<>
3958
3959 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3960
3961         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3962         pasteSelection with index
3963
3964         * text2.C (pasteSelection): modify, call pasteSelection with index
3965
3966         * paragraph.C (asString): reimplement version with no interval to
3967         call the one with interval.
3968
3969         * lyxtext.h: add index arg to pasteSelection
3970
3971         * MenuBackend.C (MenuItem): handle PasteRecent
3972         (Menu::read::Menutags): add md_pasterecent
3973         (read): handle it
3974         (expandPasteRecent): new function
3975         (expand): use it
3976
3977         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3978
3979         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3980         the limited stack
3981         (availableSelections): new function
3982
3983 2003-06-17  Angus Leeming  <leeming@lyx.org>
3984
3985         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3986
3987 2003-06-17  Angus Leeming  <leeming@lyx.org>
3988
3989         * lfuns.h:
3990         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3991
3992         * lyxfunc.C (dispatch): invoke it.
3993
3994 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3995
3996         * iterators.C (operator++, ParPosition): reintroduce some
3997         const_cast for the benefit of older compilers.
3998
3999 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4000
4001         * text3.C (dispatch): do not modify clipboard when doing
4002         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4003         LFUN_DELETE_SKIP on a selection selection
4004
4005 2003-06-16  André Pönitz  <poenitz@gmx.net>
4006
4007         * BufferView.C:
4008         * buffer.C:
4009         * buffer.h:
4010         * paragraph.C:
4011         * tabular.[Ch]: IU of clone() and getLabelList();
4012
4013 2003-06-13  André Pönitz  <poenitz@gmx.net>
4014
4015         * tabular.h: compactification
4016
4017 2003-06-12  André Pönitz  <poenitz@gmx.net>
4018
4019         * tabular.C:
4020         * tabular.h:
4021         * tabular_funcs.h: some renaming plus whitespace
4022
4023 2003-06-12  André Pönitz  <poenitz@gmx.net>
4024
4025         * BufferView.C:
4026         * BufferView_pimpl.C:
4027         * CutAndPaste.C:
4028         * buffer.C:
4029         * iterators.[Ch]:
4030         * lyxfunc.C:
4031         * text.C:
4032         * toc.C: Return a Paragraph & for ParIterator::operator*()
4033
4034 2003-06-11  John Levon  <levon@movementarian.org>
4035
4036         * lyx_main.C:
4037         * ToolbarBackend.h:
4038         * ToolbarBackend.C: add "Toolbars" section and
4039         put the flags there
4040
4041 2003-06-10  Angus Leeming  <leeming@lyx.org>
4042
4043         * lfuns.h:
4044         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4045
4046         * lyxfunc.C (dispatch): invoke it.
4047
4048 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * main.C: protect <ios> with HAVE_IOS
4051         (main): protect sync_with_stdio with HAVE_IOS
4052
4053 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4054
4055         * text2.C (cutSelection): adjust
4056         (pasteSelection): adjust
4057
4058         * messages.C: handle get of empty string
4059
4060         * main.C (main): use sync_with_stdio(false)
4061
4062         * lyxfunc.C (dispatch): adjust
4063
4064         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4065         (WriteAs): remove unneeded BufferView arg.
4066
4067         * bufferparams.h: use correct types on papersize, papersize2 and
4068         paperpackage.
4069
4070         * bufferparams.C (readToken): adjust for type
4071         (writeLaTeX): add missing cases to switch.
4072
4073         * bufferlist.C (quitWriteBuffer): adjust
4074         (close): adjust
4075
4076         * buffer.C (asciiParagraph): remove some commented code.
4077
4078         * CutAndPaste.C: remove current_view extern variable.
4079         (cutSelection): add BufferParams arg.
4080         (eraseSelection): add BufferParams arg.
4081         (pasteSelection): add Buffer const & arg
4082
4083 2003-06-07  John Levon  <levon@movementarian.org>
4084
4085         * buffer.C:
4086         * paragraph_funcs.C:
4087         * paragraph_pimpl.C:
4088         * text.C:
4089         * text2.C:
4090         * paragraph.h:
4091         * paragraph.C: allow InsetERT to freely space lines,
4092         and some consolidation of code
4093
4094 2003-06-06  José Matos  <jamatos@fep.up.pt>
4095
4096         * buffer.C (makeDocBookFile): fix bug #821
4097
4098 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4101
4102 2003-06-04  Angus Leeming  <leeming@lyx.org>
4103
4104         * buffer.C: bump format to 224.
4105
4106 2003-06-05  André Pönitz  <poenitz@gmx.net>
4107
4108         * text2.C (redoParagraphs): remove two const_cast<>
4109
4110 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4111
4112         * ParagraphList.h: remove last remnants of NO_STD_LIST
4113
4114 2003-06-03  Angus Leeming  <leeming@lyx.org>
4115
4116         * factory.C (createInset): small change to the way InsetExternal's params
4117         are set.
4118
4119 2003-06-04  André Pönitz  <poenitz@gmx.net>
4120
4121         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4122
4123         * paragraph_pimpl.h:
4124         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4125
4126         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4127
4128         * undo_funcs.C: make some simple cases of undo work again
4129
4130 2003-06-03  John Levon  <levon@movementarian.org>
4131
4132         * ispell.C: HPUX doesn't have sys/select.h
4133         (from Albert Chin)
4134
4135 2003-06-03  John Levon  <levon@movementarian.org>
4136
4137         * CutAndPaste.C: update tabular and include inset
4138         buffer references
4139
4140         * buffer.h:
4141         * paragraph.h:
4142         * paragraph.C: remove owningBuffer(), don't pass Buffer
4143         to clone()
4144
4145         * factory.C: insetGraphicsParams changed
4146
4147 2003-06-02  John Levon  <levon@movementarian.org>
4148
4149         * LyXAction.C:
4150         * factory.C:
4151         * lfuns.h:
4152         * lyxfunc.C:
4153         * text3.C: remove insetparent
4154
4155 2003-06-02  John Levon  <levon@movementarian.org>
4156
4157         * buffer.h:
4158         * buffer.C: fix inset_iterator.end(), move out of line
4159         (bug 1149)
4160
4161 2003-06-01  John Levon  <levon@movementarian.org>
4162
4163         * text3.C: use a proper cut/paste when doing inset
4164         insert (from Jürgen Spitzmüller)
4165
4166 2003-06-01  John Levon  <levon@movementarian.org>
4167
4168         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4169
4170 2003-05-30  André Pönitz  <poenitz@gmx.net>
4171
4172         * rowpainter.C: unify second drawing phase
4173
4174 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4175
4176         * trans_mgr.C: remove one case of current_view
4177
4178         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4179
4180         * paragraph_funcs.h: remove paragraph.h include
4181
4182         * paragraph.h: delete NO_STD_LIST stuff
4183
4184         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4185
4186         * buffer.h: remove paragraph.h include
4187
4188         * ParagraphList.C: delete file
4189
4190         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4191
4192         * toc.C (getTocList): adjust
4193
4194         * paragraph_pimpl.C (validate): adjust
4195
4196         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4197
4198         * paragraph.C (Paragraph): adjust
4199         (getPositionOfInset): use const_iterator, adjust
4200         (bibitem): use const_iterator, adjust
4201         (setInsetOwner): adjust
4202
4203         * iterators.C (operator++): adjust
4204
4205         * InsetList.[Ch]: Replace selfmade iterator with standard
4206         vector::iterator also introduce const_iterator. Remove getPos,
4207         getInset and setInset from InsetTable. Adjust accordingly.
4208
4209         * BufferView.C (lockInset): adjust
4210         (ChangeInsets): adjust
4211
4212         * tabular.[Ch]: delete commented same_id functions
4213
4214 2003-05-28  John Levon  <levon@movementarian.org>
4215
4216         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4217
4218 2003-05-28  André Pönitz  <poenitz@gmx.net>
4219
4220         * metricsinfo.[Ch]: remove 'fullredraw' member
4221
4222 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4223
4224         * lyxtextclass.C (operator): remove caching.
4225
4226 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * text3.C: adjust
4229
4230         * text2.C (cursorBottom): adjust
4231         (setCounter): use ParagraphList::find, adjust
4232
4233         * text.C (workWidth): use ParagraphList::find, adjust
4234
4235         * lyxcursor.C (LyXCursor): adjust
4236
4237         * buffer.C (inset_iterator): adjust
4238
4239         * ParagraphList.h: make iterator(value_type) private, make
4240         ParagraphList a friend of iterator.
4241
4242         * ParagraphList.C (find): new function
4243
4244         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4245
4246 2003-05-27  André Pönitz  <poenitz@gmx.net>
4247
4248         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4249
4250 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4251
4252         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4253
4254 2003-05-26  John Levon  <levon@movementarian.org>
4255
4256         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4257
4258 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * remove same_id from function signatures, adjust.
4261
4262 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4265
4266         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4267
4268         * paragraph.C (Paragraph): get rid of same_ids parameter
4269
4270         * ParagraphList.C (insert): adjust
4271         (push_back): adjust
4272
4273 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * paragraph_funcs.C (breakParagraph): adjust
4276         (breakParagraphConservative): adjust
4277
4278         * buffer.C (readParagraph): adjust
4279
4280         * ParagraphList.C (insert): take a reference instead of a pointer
4281         (insert): adjust
4282
4283         * paragraph.[Ch] (id): new function
4284
4285         * bufferlist.C (newFile): adjust
4286
4287         * ParagraphList.C (ParagraphList): adjust
4288         (assign): adjust
4289         (push_back): take a reference instead of a pointer.
4290
4291         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4292
4293         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4294         instead.
4295
4296         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4297         set else use old code.
4298
4299         * ParagraphList.C: remove all NO_NEXT code and only compile this
4300         code of NO_STD_LIST is set.
4301
4302 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * BufferView_pimpl.C:
4305         * TextCache.C:
4306         * TextCache.h:
4307         * bufferlist.C:
4308         * errorlist.h:
4309         * format.C:
4310         * format.h:
4311         * graph.C:
4312         * lyxfunc.C:
4313         * lyxrc.C:
4314         * graphics/GraphicsConverter.C:
4315         * graphics/PreviewLoader.C: header adjustment
4316
4317 2003-05-23  Angus Leeming  <leeming@lyx.org>
4318
4319         * LaTeXFeatures.[Ch] (useBabel): new method.
4320         * bufferparams.C (writeLaTeX): use it.
4321
4322 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * ParagraphList.h (set): remove unused function.
4325
4326 2003-05-23  André Pönitz  <poenitz@gmx.net>
4327
4328         * BufferView.C:
4329         * BufferView_pimpl.C:
4330         * buffer.C:
4331         * buffer.h:
4332         * lyxfunc.C:
4333         * undo_funcs.C: setUndo reworked
4334
4335         * iterators.[Ch]: add access to topmost ParagraphList
4336
4337         * lyxtext.[Ch] (workWidth): add a const
4338
4339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * texrow.[Ch] (increasePos): remove function
4342         * exporter.C (export): removed unused var and outdated comment
4343
4344 2003-05-23  Angus Leeming  <leeming@lyx.org>
4345
4346         * latexrunparams.h: rename fragile as moving_arg.
4347         * paragraph.C (simpleTeXOnePar): ditto.
4348         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4349
4350 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4353         (createUndo): ditto
4354         (textUndoOrRedo): comment out a currently unused var.
4355
4356         * paragraph.h (NO_NEXT): enable NO_NEXT
4357
4358         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4359
4360         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4361
4362         * exporter.C (Export): adjust for removeAutoInsets removal.
4363
4364         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4365
4366         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4367
4368         * BufferView.[Ch] (removeAutoInsets): delete function
4369
4370 2003-05-22  Angus Leeming  <leeming@lyx.org>
4371
4372         * latexrunparams.h: add a free_spacing variable.
4373
4374         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4375         to pass moving_arg, as the data is stored in runparams.fragile.
4376
4377         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4378         to Inset::latexOptional or to simpleTeXOnePar.
4379
4380         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4381         free_spacing arg to Inset::latexOptional.
4382
4383         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4384         free_spacing arg.
4385
4386 2003-05-22  Angus Leeming  <leeming@lyx.org>
4387
4388         * latexrunparams.h: add fragile and use_babel variables.
4389
4390         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4391         * buffer.C (makeLaTeXFile): store this returned value in
4392         runparams.use_babel, thus passing it to the inset::latex methods.
4393
4394         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4395         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4396
4397         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4398         longer has a fragile arg, as it is stored in runparams.fragile.
4399
4400         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4401         moving_arg parameter as the data is stored in runparams.fragile.
4402
4403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4404         a fragile parameter as the data is stored in runparams.fragile.
4405
4406 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4409
4410 2003-05-22  Angus Leeming  <leeming@lyx.org>
4411
4412         * latexrunparams.h: add a 'bool nice' which defaults to false.
4413
4414         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4415         now encapsulated within runparams.
4416
4417         * bufferlist.C (updateIncludedTeXfiles):
4418         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4419
4420 2003-05-22  Angus Leeming  <leeming@lyx.org>
4421
4422         * latexrunparams.h: new file containing struct LatexRunParams.
4423         * Makefile.am: add new file.
4424
4425         * LaTeX.[Ch] (c-tor, run):
4426         * buffer.[Ch] (makeLaTeXFile):
4427         * bufferlist.[Ch] (updateIncludedTeXfiles):
4428         * converter.C (convert, scanLog):
4429         * converter.[Ch] (runLaTeX):
4430         * exporter.C (Export):
4431         * paragraph.[Ch] (simpleTeXOnePar):
4432         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4433         * paragraph_funcs.[Ch] (latexParagraphs):
4434         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4435         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4436         pass around a LatexRunParams parameter.
4437
4438 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * paragraph.[Ch]: remove unused constructor
4441
4442         * ParagraphList.C (erase): new function, taking two iterators
4443
4444 2003-05-22  André Pönitz  <poenitz@gmx.net>
4445
4446         * undo_funcs.C: remove duplicated code
4447
4448         * iterator.[Ch]: operator=
4449
4450 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * tabular.C (SetMultiColumn): ws changes
4453
4454         * rowpainter.C (paintFirst): get rid of a ->previous
4455
4456         * lyx_cb.C (getPossibleLabel): parlist simplification
4457
4458         * BufferView.C (ChangeInsets): simplify slightly.
4459
4460 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4461
4462         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4463         * lfuns.h: new LFUN_SPACE
4464         * lyxfunc.C: protected space has a new lfun
4465         * paragraph_funcs.C: read new space insets
4466         * text3.C:
4467         * factory.C: handle new space insets
4468
4469 2003-05-22  André Pönitz  <poenitz@gmx.net>
4470
4471         * BufferView.C:
4472         * BufferView_pimpl.C:
4473         * buffer.[Ch]:
4474         * lyxfunc.C:
4475         * undo_funcs.C: return a ParIterator from getParFromID.
4476
4477         * iterators.[Ch]: add two const's
4478
4479 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * toc.C (getTocList): adjust
4482
4483         * iterators.[Ch]: rework for parlist
4484
4485         * buffer.C (par_iterator_begin): adjust
4486         (par_iterator_end): adjust
4487
4488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4489
4490         * BufferView.C (removeAutoInsets): adjust
4491         (ChangeInsets): adjust
4492
4493 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * text.C (top_y): fix bug 1110
4496
4497 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * errorlist.[Ch]: added
4500         * buffer.C:
4501         * BufferView.[Ch]:
4502         * BufferView_pimpl.C:
4503         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4504         instead
4505
4506 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * Makefile.am: ensure that lyx is relinked upon changes to the
4509         various "convenience" libs.
4510
4511 2003-05-20  Angus Leeming  <leeming@lyx.org>
4512
4513         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4514         files are compiled in alphabetical order again.
4515
4516         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4517
4518 2003-05-19  Angus Leeming  <leeming@lyx.org>
4519
4520         * gettext.[Ch]: remove "char const * _(char const *)".
4521
4522 2003-05-19  André Pönitz  <poenitz@gmx.net>
4523
4524         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4525
4526         * Makefile.am:
4527         * BufferView.C:
4528         * DepTable.h:
4529         * LaTeXFeatures.C:
4530         * buffer.C:
4531         * lyxfont.C:
4532         * lyxlex.h:
4533         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4534
4535 2003-05-19  André Pönitz  <poenitz@gmx.net>
4536
4537         * buffer.C:
4538         * lyxlayout.[Ch]:
4539         * lyxtextclass.[Ch]:
4540         * paragraph.C:
4541         * paragraph_funcs.[Ch]:
4542         * text2.C:
4543         * text3.C: more insetenv work
4544
4545 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * ParagraphParameters.C (params2string): small bug fixed
4548
4549 2003-05-16  André Pönitz  <poenitz@gmx.net>
4550
4551         * debug.C:
4552         * bufferview_funcs.C: patch from Kornel Benko to prevent
4553           crash when _(...) is called twice in a statement
4554
4555 2003-05-16  André Pönitz  <poenitz@gmx.net>
4556
4557         * BufferView.C:
4558         * lyxfunc.C:
4559         * text.C:
4560         * text2.C:
4561         * text3.C:
4562         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4563
4564 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * lyx_main.C (init): remove spurious static_cast
4567
4568 2003-05-14  André Pönitz  <poenitz@gmx.net>
4569
4570         * BufferView.C: fix format string
4571
4572 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4573
4574         * BufferView.[Ch] (insertErrors): removed
4575         * BufferView.[Ch] (showErrorList): added
4576         * buffer.C (runChkTeX):
4577         * converter.C (scanLog): call showErrorList instead of inserterrors
4578
4579 2003-05-13  André Pönitz  <poenitz@gmx.net>
4580
4581         * BufferView_pimpl.C:
4582         * buffer.C:
4583         * bufferview_func.C:
4584         * MenuBackend.C:
4585         * lyxfunc.C:
4586         * lyxrc.C:
4587         * tex-accent.C:
4588         * text3.C:
4589         * toc.C:
4590         * tabular_funcs.h: tostr() from its own header
4591
4592         * ParagraphParameters.C:
4593         * ToolbarBackend.C:
4594         * bufferparams.C:
4595         * format.C:
4596         * lyxlex_pimpl.C:
4597         * text3.C: STRCONV()
4598
4599 2003-05-12  André Pönitz  <poenitz@gmx.net>
4600
4601         * BufferView.C:
4602         * BufferView_pimpl.C:
4603         * CutAndPaste.C:
4604         * LaTeX.C:
4605         * LaTeXFeatures.C:
4606         * ParagraphParameters.C:
4607         * buffer.C:
4608         * bufferlist.C:
4609         * bufferparams.C:
4610         * bufferview_funcs.C:
4611         * converter.C:
4612         * counters.C:
4613         * debug.C:
4614         * exporter.C:
4615         * format.C:
4616         * importer.C:
4617         * lyx_cb.C:
4618         * lyx_main.C:
4619         * lyxfont.C:
4620         * lyxfunc.C:
4621         * lyxvc.C:
4622         * paragraph.C:
4623         * paragraph_funcs.C:
4624         * tabular.C:
4625         * tabular_funcs.C:
4626         * text2.C:
4627         * text3.C:  boost::format -> bformat  all over the place
4628
4629
4630 2003-05-09  André Pönitz  <poenitz@gmx.net>
4631
4632         * LColor.[Ch]: Pimpl the #include <map> away
4633
4634 2003-05-09  John Levon  <levon@movementarian.org>
4635
4636         * bufferlist.C: never remove emergency saves
4637
4638 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * Makefile.am: better lib building
4641
4642 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4645         instead.
4646         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4647         (simpleTeXSpecialChars): adjust
4648         (simpleTeXSpecialChars): adjust
4649         * paragraph.C (simpleTeXOnePar): adjust
4650         * buffer.C (makeLaTeXFile): adjust
4651
4652         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4653
4654         * text2.C (changeDepth): parlist cleanup
4655         (getColumnNearX): ditto
4656
4657         * rowpainter.C (getLabelFont): parlist cleanup
4658
4659         * bufferlist.C (newFile): parlist cleanup
4660
4661         * CutAndPaste.C (eraseSelection): parlist cleanup
4662
4663         * BufferView_pimpl.C (trackChanges): parlist cleanup
4664         (dispatch): ditto
4665
4666         * BufferView.C (lockInset): parlist cleanup.
4667         (ChangeInsets): ditto
4668
4669 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * CutAndPaste.h: Update file header.
4672
4673         * CutAndPaste.C: Update file header.
4674         Store the parts cut out of the Document in a limited_stack.
4675         (copySelection): adjust
4676         (pasteSelection): new function, takes the index in the limited stack.
4677         (nrOfParagraphs): adjust
4678         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4679         simplify error inset insertion.
4680         (checkPastePossible): adjust
4681
4682 2003-05-06  John Levon  <levon@movementarian.org>
4683
4684         * text2.C: don't cast wrap inset to float
4685
4686 2003-05-05  André Pönitz  <poenitz@gmx.net>
4687
4688         * iterator.C:
4689         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4690
4691         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4692           few naked Paragraph *.
4693
4694 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4695
4696         * bufferparams.C: Output warning if a document with missing
4697         TeX document class is loaded
4698         * exporter.C: Disable TeX exports if the document class is missing
4699         * lyxtextclass.C:
4700         * lyxtextclass.h:
4701         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4702         isTeXClassAvailable()
4703
4704 2003-05-03  John Levon  <levon@movementarian.org>
4705
4706         * BufferView.h:
4707         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4708         explicit cursor show/hide
4709
4710         * BufferView_pimpl.h:
4711         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4712         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4713
4714         * lyxfunc.C: hide cursor before dispatching.
4715
4716         * lyx_cb.C:
4717         * lyxfind.C:
4718         * text.C:
4719         * text3.C: remove explicit cursor hides
4720
4721 2003-05-02  André Pönitz  <poenitz@gmx.net>
4722
4723         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4724
4725         * undo_funcs.C:
4726         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4727           linked lists
4728
4729         * text2.C: tiny whitespace
4730
4731 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * undo_funcs.C: almost only ws changes.
4734
4735         * ParagraphList.C (splice): just return if pl is empty.
4736
4737 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * ParagraphList.C (splice): new function.
4740
4741         * CutAndPaste.C (pasteSelection): use it
4742
4743 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * CutAndPaste.C (pasteSelection): remove the last next and
4746         previous from this file.
4747
4748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * CutAndPaste.C (pasteSelection): more clean up, user proper
4751         ParagraphList functions for pasteing.
4752
4753         * ParagraphList.C (insert): new function, three arg insert
4754
4755 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * ParagraphList.C (insert): new function, three arg insert
4758
4759         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4760         not on paragraphs.
4761
4762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4765
4766 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4769
4770 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4773         (copySelection): clean up a bit.
4774         (pasteSelection): use make_pair
4775
4776         * ParagraphList.C (ParagraphList): implement copy constructor
4777         (operator=): implement, base on copy constructor.
4778         (assign): new func
4779
4780         * paragraph.C (erase): return a bool
4781
4782         * paragraph_pimpl.C (erasePos): remove function, move contents...
4783         (erase): ... here. Return a bool.
4784         (erase): call erase instead of erasePos.
4785
4786 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * ParagraphList.h: define PitPosPair
4789         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4790         ParagraphList, fix a bug on pasting multiple pars
4791         * text2.C: change interface to C&P
4792
4793 2003-04-30  André Pönitz  <poenitz@gmx.net>
4794
4795         * undo_func.C: revert part of yesterday's patch 2
4796
4797 2003-04-30  John Levon  <levon@movementarian.org>
4798
4799         * LColor.C: s/tabular/table/
4800
4801 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * text3.C (dispatch): do not convert iterator -> pointer
4804         * undo_funcs.C (setCursorParUndo): ditto
4805         * text_funcs.C (transposeChars): ditto
4806
4807         * text2.C (setLayout): ws changes only
4808
4809         * text.C (breakParagraph): do not convert iterator -> pointer
4810         (insertChar): ditto
4811         (acceptChange): ditto
4812         (rejectChange): ditto
4813         (changeCase): ditto
4814         (Delete): ditto
4815         (backspace): ditto
4816
4817         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4818         pointer
4819
4820 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4821
4822         * text3.C (gotoInset): YABG (yet another bad getChar)
4823
4824 2003-04-29  André Pönitz  <poenitz@gmx.net>
4825
4826         * paragraph.h: make operator= private unimplemented as long as
4827           it is unusable
4828
4829         * ParagraphList.C: whitespace
4830
4831         * paragraph.[Ch]:
4832         * paragraph_pimpl.[Ch]:
4833         * paragraph_funcs.C:
4834         * CutAndPaste.C:
4835         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4836
4837         * text2.C:
4838           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4839
4840 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4843         * paragraph.[Ch] (erase):
4844         * paragraph_pimpl.[Ch] (erase): change return type and value
4845         * text2.C (cutSelection): some rework
4846
4847 2003-04-28  John Levon  <levon@movementarian.org>
4848
4849         * bufferlist.C: changes for unsaved changes dialog
4850
4851 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * bufferlist.C (newFile): set language (messages_) for new
4854         documents also.
4855
4856         * buffer.C (readFile): ws changes only.
4857
4858 2003-04-28  André Pönitz  <poenitz@gmx.net>
4859
4860         * undo_funcs.C:
4861         * lyxfunc.C:
4862         * buffer.[Ch]:
4863         * BufferView_pimpl.C:
4864         * BufferView.C: getParFromID related ParagraphList::iterator changes
4865
4866 2003-04-28  André Pönitz  <poenitz@gmx.net>
4867
4868         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4869           Changes
4870
4871 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * messages.C: remove one more localedir class variable.
4874
4875 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * messages.C (getLocaleDir): singleton generation function
4878         (Pimpl): use it.
4879         (Messages): add a default constructor.
4880
4881         * main.C (main): do not setup localedir here, do not call
4882         gettext_init.
4883
4884         * gettext.C (_): use it.
4885         (gettext_init): delete funciton
4886
4887 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4888
4889         * gettext.C (getLyXMessages): new singleton generating function.
4890
4891         * buffer.C (updateDocLang): adjust
4892
4893         * Makefile.am (messages.o): add target
4894         (main.o): remove target
4895
4896 2003-04-27  John Levon  <levon@movementarian.org>
4897
4898         * bufferlist.C:
4899         * lyx_cb.C:
4900         * lyxfunc.C:
4901         * lyxvc.C: specify cancel button in Alert::prompt
4902
4903 2003-04-26  John Levon  <levon@movementarian.org>
4904
4905         * text3.C:
4906         * lyxfunc.C:
4907         * lfuns.h:
4908         * LyXAction.C: add LFUN_INSET_SETTINGS
4909
4910         * lyxfunc.C: don't enable tabular-feature when there's
4911         just any locking inset
4912
4913 2003-04-26  John Levon  <levon@movementarian.org>
4914
4915         * bufferlist.C: re-add Cancel to buffer close question
4916
4917         * lyxfunc.C: fix import UI a bit
4918
4919 2003-04-25  John Levon  <levon@movementarian.org>
4920
4921         * gettext.C: remove the broken asserts for now
4922
4923 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * messages.C: make case where setlocale cannot comply work better.
4926
4927         * buffer.C (updateDocLang): new function
4928         (changeLanguage): use it
4929         (readFile): use it
4930
4931         * text2.C (setCounter): use B_ a bit.
4932
4933         * lyxlayout.C (Read): be sure to trim the label strings.
4934
4935         * messages.C (Messages): fix typo in comment
4936
4937         * buffer.C (readFile): set message_ after file is loaded.
4938         (makeDocBookFile): remove double return
4939         (changeLanguage): reset message_ upon language change.
4940         (B_): new func, use this to get translated buffer strings.
4941
4942         * main.C: add myself and Jean Marc as authors.
4943
4944 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * messages.[hC]: pimplify Messages, and three different pimpls to be
4947         used in different circumstances.
4948
4949         * gettext.[Ch]: change for use with new message code.
4950
4951 2003-04-24 André Pönitz <poenitz@gmx.net>
4952
4953         * factory.C: support for eqref
4954
4955 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * messages.[Ch]: add missing char
4958
4959         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4960
4961         * messages.[Ch]: New files
4962
4963 2003-04-18  John Levon  <levon@movementarian.org>
4964
4965         * BufferView.h:
4966         * BufferView.C:
4967         * BufferView_pimpl.C:
4968         * lfuns.h:
4969         * LyXAction.C:
4970         * lyxtext.h:
4971         * text2.C: remove layout-copy/paste (bug 778)
4972
4973 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4976
4977 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4978
4979         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4980         if they succeed. Act accordingly.
4981
4982 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * text2.C (setCharFont): adjust
4985         (setCounter): adjust
4986         (insertStringAsLines): adjust
4987
4988         * text.C (leftMargin): adjust
4989         (setHeightOfRow): adjust
4990
4991         * rowpainter.C (paintFirst): adjust
4992         (paintLast): adjust
4993
4994         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4995         (outerHook): ditto
4996         (isFirstInSequence): ditto
4997         (getEndLabel): ditto
4998         (outerFont): adjust
4999
5000         * paragraph.C (getParLanguage): comment out some hard stuff.
5001
5002         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5003         (sgmlError): ditto
5004         (simpleDocBookOnePar): ditto
5005         (makeDocBookFile): use ParagraphList::iterator
5006
5007         * CutAndPaste.C (pasteSelection): adjust
5008
5009 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * text2.C (getFont): adjust
5012         (getLayoutFont): adjust
5013         (getLabelFont): adjust
5014
5015         * paragraph_funcs.C (TeXOnePar): adjust
5016
5017         * buffer.C (simpleLinuxDocOnePar): adjust
5018         (simpleDocBookOnePar): adjust
5019
5020         * CutAndPaste.C (pasteSelection): adjust
5021
5022         * BufferView.C (getEncoding): adjust
5023
5024         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5025
5026 2003-04-16  John Levon  <levon@movementarian.org>
5027
5028         * lyxfind.C: use parlist stuff for search/changes
5029
5030 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5033
5034         * text2.C (deleteEmptyParagraphMechanism): adjust
5035
5036         * text2.[Ch] (ownerParagraph): delete func (both of them
5037
5038 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5041
5042 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * ParagraphList.C: prepare for NO_NEXT
5045
5046 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * text2.C (getFont): adjust
5049         (getLayoutFont): adjust
5050         (getLabelFont): adjust
5051
5052         * paragraph.C (getFont): adjust
5053         (getLabelFont): adjust
5054         (getLayoutFont): adjust
5055
5056         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5057
5058 2003-04-15  John Levon  <levon@movementarian.org>
5059
5060         From Angus Leeming
5061
5062         * lyx_main.C: handle Include in .ui files
5063
5064 2003-04-15  John Levon  <levon@movementarian.org>
5065
5066         * MenuBackend.C: make the doc files length shorter
5067
5068         * ToolbarBackend.h:
5069         * ToolbarBackend.C: handle toolbar placement flags,
5070         Minibuffer
5071
5072 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5075         adjust
5076
5077         * paragraph_funcs.C (TeXOnePar): adjust
5078
5079         * paragraph.C (getLabelFont): add outerfont arg, adjust
5080         (getLayoutFont): ditto
5081         (simpleTeXOnePar): adjust
5082
5083         * paragraph_pimpl.C (realizeFont): delete func
5084
5085 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5088         row argument, constify cur argument.
5089
5090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * text2.C (getFont): adjust
5093         (getLayoutFont): adjust
5094         (getLabelFont): adjust
5095
5096         * paragraph_funcs.C (TeXOnePar): adjust
5097         (outerFont): new func...
5098         (realizeFont): ...moved out from here, changed this to facilitate
5099         transition
5100
5101         * paragraph.C (getFont): take outerfont as arg, adjust
5102         (simpleTeXOnePar): add outerfont arg, adjust
5103
5104         * buffer.C (simpleLinuxDocOnePar): adjust
5105         (simpleDocBookOnePar): adjust
5106
5107         * CutAndPaste.C (pasteSelection): adjust
5108
5109         * BufferView.C (getEncoding): adjust
5110
5111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * text2.C (setCharFont): adjust
5114         (setCounter): adjust
5115
5116         * text.C (leftMargin): adjust
5117         (setHeightOfRow): adjust
5118
5119         * rowpainter.C (paintFirst): adjust
5120         (paintLast): adjust
5121
5122         * paragraph_pimpl.C (realizeFont): adjust
5123
5124         * paragraph.C (isFirstInSequence): move from here...
5125         * paragraph_funcs.C (isFirstInSequence): ...to here
5126
5127         * paragraph.C (outerHook): move from here...
5128         * paragraph_funcs.C (outerHook): ...to here
5129
5130         * paragraph.C (depthHook): move from here...
5131         * paragraph_funcs.C (depthHook): ...to here
5132
5133         * paragraph.C (getEndLabel): move from here...
5134         * paragraph_funcs.C (getEndLabel): ...to here
5135
5136         * text2.C (realizeFont): move from here...
5137         * paragraph_funcs.C (realizeFont): ...to here
5138
5139 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5142
5143 2003-04-14  Angus Leeming  <leeming@lyx.org>
5144
5145         * LColor.[Ch]: scrap LColor mathcursor.
5146
5147 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * lyxlex.[Ch] (text): delete function
5150         * trans.C (Load): adjust
5151         * paragraph_funcs.C (readParToken): adjust
5152
5153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5156         vector<char> instead of a char[].
5157
5158         * lyxlex_pimpl.C (getString): adjust
5159         (next): adjust
5160         (lex): use getString
5161         (eatLine): adjust
5162         (nextToken): adjust
5163
5164         * lyxlex.C (text): use pimpl_->getString()
5165         (getBool): ditto
5166         (findToken): ditto
5167
5168 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5171         (makeFontEntriesLayoutSpecific): temp var for par.size()
5172         (setLayout): temp var for ownerParagraphs().end()
5173         (fullRebreak): temp var for rows().end()
5174         (selectionAsString): temp var for boost::next(startpit), realize
5175         that the while really is a regular for loop.
5176         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5177         setCursor in one place.
5178         (setParagraph): temp vr for ownerParagraphs().end()
5179         (updateCounters): make the while loop a for loop
5180         (cutSelection): temp var for ownerParagraphs().end()
5181         (updateInset): make the do {} while() a regular for loop
5182         (getCursorX): use temp vars
5183         (setCurrentFont): use temp vars
5184         (getColumnNearX): use temp vars
5185
5186 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * text.C (transformChar): use temp var for getChar
5189         (computeBidiTables): use temp var for row->par()
5190         (fill): move temp vars for row->par() and pit->layout() earlier in
5191         the function.
5192         (labelFill): use temp var for row->par()
5193         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5194         asc and desc, realize that pit never changes and that firstpit is
5195         just a duplicate and not needed. Exchange rit->par() with pit in a
5196         lot of places.
5197         (breakAgain): use a temp var for boost::next(rit)
5198         (breakAgainOneRow): ditto
5199         (breakParagraph): use a temp var for rows().begin()
5200         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5201         (cursorRightOneWord): use temp var for cursor.par() and
5202         cursor.pos(), remove usage of tmpcursor.
5203         (cursorLeftOneWord): use temp var for cursor.par() and
5204         cursor.pos() only set cur at end of function.
5205
5206 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * text.C, text2.C: exchange all usage of Paragraph::next with
5209         boost::next(ParagraphList::iterator)
5210
5211         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5212
5213         * text2.C (cursorTop): simplify implementation
5214         (cursorBottom): ditto
5215         (setParagraph): use ParagraphList::iterator
5216         (setCurrentFont): adjust
5217         (getColumnNearX): adjust
5218         (cursorRight): adjust
5219         (cursorLeft): remove usage of Paragraph::previous
5220         (cursorUpParagraph): ditto
5221         (deleteEmptyParagraphMechanism): slight cleanup
5222
5223         * text.C (isBoundary): take a Paragraph const & instead of a
5224         pointer as arg.
5225         (addressBreakPoint): ditto
5226         (leftMargin): remove usage of Paragraph::previous.
5227         (setHeightOfRow): ditto
5228         (cursorLeftOneWord): ditto
5229         (selectNextWordToSpellcheck): ditto
5230         (Delete): ditto
5231         (backspace): ditto
5232         (breakParagraph): remove one usage of Paragraph::next
5233         (redoParagraph): ditto
5234         (acceptChange): ditto
5235         (insertChar): adjust
5236         (rowBreakPoint): adjust
5237
5238         * bufferview_funcs.C (toggleAndShow): adjust
5239
5240 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5243         methods to access it.
5244         * lyxtext.h:
5245         * text.C: Added updateRowPositions to compute all row positions.
5246         Make top_y and getRowNearY() to use the cached y position
5247
5248 2003-04-11  John Levon  <levon@movementarian.org>
5249
5250         * text.C (rowBreakPoint): reintroduce the labelEnd
5251         checks, code copied from the row fill stuff. Deep voodoo.
5252
5253         * text.C (fill): add a comment and debugging for the
5254         next poor soul.
5255
5256 2003-04-11  John Levon  <levon@movementarian.org>
5257
5258         * text.C: make sure fullrow insets get wrapped to the next line,
5259         even when they're in a manual label
5260
5261 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * text2.C (insertParagraph): make it take ParagraphList::iterator
5264         as arg.
5265         (setLayout): make it return ParagraphList::iterator
5266         (redoParagraphs): ditto
5267         (setCounter): ditto
5268         (checkParagraph): ditto
5269
5270         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5271
5272         * text2.C: adjust several funcs.
5273         (realizeFont): take a ParagraphList::iterator as arg.
5274         (getLayoutFont): ditto
5275         (getLabelFont): ditto
5276         (setCharFont): ditto
5277
5278         * text.C: adjust several funcs.
5279
5280 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * text.C (selectNextWordToSpellcheck): don't accidentally
5283         skip insets
5284
5285 2003-04-10  John Levon  <levon@movementarian.org>
5286
5287         * ToolbarBackend.C (getIcon): special handling for
5288         LFUN_MATH_DELIM
5289
5290 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * text2.C (cursorRight): a getChar assert fixed
5293
5294 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * text2.C (getFont): change to take a ParagraphList::iterator
5297         instead of Paragraph*
5298         Adjust several functions.
5299
5300         * text.C (transformChar): change to take a ParagraphList::iterator
5301         instead of Paragraph*
5302         (singleWidth): ditto
5303         Adjust several functions.
5304
5305         * rowpainter.C: adjust several functions
5306         * rowpainter.h:store a ParagraphList::iterator and not a
5307         Paragraph&.
5308
5309
5310 2003-04-09  John Levon  <levon@movementarian.org>
5311
5312         * lyxfunc.C:
5313         * lfuns.h:
5314         * LyXAction.h:
5315         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5316         and the "help" bits as well
5317
5318 2003-04-09  John Levon  <levon@movementarian.org>
5319
5320         * ToolbarBackend.h:
5321         * ToolbarBackend.C: allow multiple toolbars
5322
5323 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * undo_funcs.C (setCursorParUndo): adjust
5326
5327         * text_funcs.C (transposeChars): adjust
5328
5329         * text3.C (gotoNextInset): adjust
5330         (dispatch): adjust
5331
5332         * text2.C (setLayout): adjust
5333         (changeDepth): adjust
5334         (setFont): adjust
5335         (redoParagraphs): adjust
5336         (selectionAsString): adjust
5337         (setParagraph): adjust
5338         (insertInset): adjust
5339         (cutSelection): adjust
5340         (copySelection): adjust
5341         (pasteSelection): adjust
5342         (insertStringAsLines): adjust
5343         (updateInset): adjust
5344         (setCursor): change to take a ParagraphList::iterator parameter
5345         (setCursorIntern): change to take a ParagraphList::iterator parameter
5346         (setCurrentFont): adjust
5347         (cursorLeft): adjust
5348         (cursorRight): adjust
5349         (deleteEmptyParagraphMechanism): adjust
5350
5351         * text.C (breakParagraph): adjust
5352         (insertChar): adjust
5353         (acceptChange): adjust
5354         (rejectChange): adjust
5355         (selectNextWordToSpellcheck): adjust
5356         (changeCase): adjust
5357         (Delete): adjust
5358         (backspace): adjust
5359
5360         * lyxfind.C (SearchForward): adjust
5361         (SearchBackward): adjust
5362         (nextChange): adjust
5363
5364         * lyxcursor.C (par): adjust
5365
5366         * lyxcursor.h: store a ParagraphList::iterator instead of a
5367         Paragraph*
5368
5369         * lyx_cb.C (getPossibleLabel): adjust
5370
5371         * bufferview_funcs.C (toggleAndShow): adjust
5372
5373         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5374         (dispatch): adjust
5375
5376         * BufferView.C (removeAutoInsets): adjust
5377         (lockedInsetStoreUndo): adjust
5378
5379 2003-04-09  John Levon  <levon@movementarian.org>
5380
5381         * ToolbarBackend.C: try icon without argument
5382         if with argument fails
5383
5384 2003-04-08  John Levon  <levon@movementarian.org>
5385
5386         * ToolbarBackend.h:
5387         * ToolbarBackend.C: add getIcon(), handle tooltip,
5388         and change from "Icon" to "Item".
5389
5390 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * BufferView.C (lockInset): another bad getchar crunched
5393
5394 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5397         again)
5398
5399 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * lyxfind.C (searchForward, searchBackwards): bug 782
5402
5403 2003-04-07  John Levon  <levon@movementarian.org>
5404
5405         * paragraph.C: remove dead comment
5406
5407         * text.C: remove troublesome depth-fiddling code
5408         in leftMargin() and rightMargin() (bug 1017)
5409
5410         * text.C: fix breaking of rows in nested lists
5411         (bug 1004)
5412
5413         * text2.C (updateCounters): fix up depth values
5414         (bug 1013)
5415
5416 2003-04-07  John Levon  <levon@movementarian.org>
5417
5418         * BufferView_pimpl.C: clear message when doc finishes resizing,
5419         and after a mouse event
5420
5421         * lyxfunc.C: clear message after exiting inset
5422
5423 2003-04-07  John Levon  <levon@movementarian.org>
5424
5425         * bufferview_funcs.C: show math status not outside
5426         status in the statusbar
5427
5428 2003-04-07  John Levon  <levon@movementarian.org>
5429
5430         * lyxfunc.C: note status changed after a depth change
5431
5432 2003-04-04  Angus Leeming  <leeming@lyx.org>
5433
5434         * LaTeX.h: move AuxInfo operator==, != out of line.
5435         Remove LaTeX virtual destructor; nothing derives from it.
5436         Move operator()() out of public area and rename it startscript().
5437         Change protected for private.
5438
5439 2003-04-04  Angus Leeming  <leeming@lyx.org>
5440
5441         * lyxfunc.C:
5442         * text2.C: remove unneeded #includes.
5443
5444 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * text2.C (dEPM): fix the heigth of the next row
5447
5448 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5449
5450         * text.C: squashed an invalid getChar requester + some ws changes
5451
5452 2003-04-03  John Levon  <levon@movementarian.org>
5453
5454         * bufferview_funcs.h:
5455         * bufferview_funcs.C:
5456         * lyxfunc.C:
5457         * lyxtext.h:
5458         * text2.C: make getStatus work for the env depth lfuns
5459
5460 2003-04-03  John Levon  <levon@movementarian.org>
5461
5462         * bufferview_funcs.h:
5463         * bufferview_funcs.C:
5464         * lyxfunc.C:
5465         * lyxtext.h:
5466         * text2.C: parlistize decDepth(), by merging it with incDepth()
5467
5468 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * lyxrow.h: store a ParagraphList::iterator instead of a
5471         Paragraph* and adjust other class functions to suit.
5472
5473         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5474         above.
5475
5476 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5477
5478         * text2.C (setCursor): do not anchor to cursor row for the time being
5479
5480 2003-04-02  John Levon  <levon@movementarian.org>
5481
5482         * LyXAction.C:
5483         * lfuns.h:
5484         * lyx_main.C:
5485         * lyxtext.h:
5486         * text.C:
5487         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5488
5489 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * paragraph.h: make ParagraphList and ParagraphList::iterator
5492         friends of Paragraph.
5493
5494         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5495
5496         * ParagraphList.C: Use the private next_ and previous_ from
5497         Paragraph.
5498
5499 2003-04-01  John Levon  <levon@movementarian.org>
5500
5501         * ToolbarBackend.h:
5502         * ToolbarBackend.C:
5503         * Makefile.am: rename, remove defaults gunk
5504
5505         * MenuBackend.h:
5506         * MenuBackend.C: remove defaults gunk
5507
5508         * Languages.h:
5509         * Languages.C: remove defaults gunk
5510
5511         * lyx_main.h:
5512         * lyx_main.C: error out if files couldn't be found.
5513
5514 2003-04-02  John Levon  <levon@movementarian.org>
5515
5516         * text2.C: make incDepth() use parlist
5517
5518 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * undo_funcs.C (firstUndoParagraph): adjust
5521
5522         * text3.C (gotoInset): adjust
5523         (dispatch): adjust, and rewrite loop.
5524
5525         * text2.C (init): adjust, and rewrite loop.
5526         (redoParagraphs): adjust
5527         (updateInset): adjust, and rewrite loop.
5528         (deleteEmptyParagraphMechanism): adjust
5529
5530         * tabular.C (LyXTabular): adjust
5531         (SetMultiColumn): adjust
5532         (TeXRow): adjust
5533
5534         * lyxtext.[Ch] (ownerParagraph): delete function
5535         (ownerParagraphs): new function returns a ParagraphList.
5536
5537         * BufferView.C (removeAutoInsets): adjust
5538         (insertErrors): adjust
5539         (setCursorFromRow): adjust
5540
5541 2003-04-01  Angus Leeming  <leeming@lyx.org>
5542
5543         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5544         in the frontends.
5545
5546 2003-04-02  John Levon  <levon@movementarian.org>
5547
5548         * lyxtext.h:
5549         * text.C:
5550         * Makefile.am:
5551         * text_funcs.h:
5552         * text_funcs.C: make transposeChars a free function
5553
5554         * lyxrow_funcs.C: remove wrong comment
5555
5556 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * lyxtext.h: adjust
5559         * rowpainter.C: adjust
5560         * text.C: adjust
5561         * text2.C: adjust
5562         * text3.C: adjust
5563
5564         * lyxrow_funcs. [Ch]: new files
5565
5566         * lyxrow.[Ch]: remove next and previous pointers
5567         (next,previous): remove accessor functions
5568         (isParEnd): move to lyxrow_funcs
5569         (lastPos): move to lyxrow_funcs
5570         (nextRowIsAllInset): move to lyxrow_funcs
5571         (lastPrintablePos): move to lyxrow_funcs
5572         (numberOfSeparators): move to lyxrow_funcs
5573         (numberOfHfills): move to lyxrow_funcs
5574         (numberOfLabelHfills): move to lyxrow_funcs
5575         (hfillExpansion): move to lyxrow_funcs
5576
5577         * lyxfunc.C: adjust
5578
5579         * bufferview_funcs.C (toggleAndShow): adjust
5580
5581         * RowList.h: Remove class RowList from file leave just a
5582         std::list<Row>.
5583
5584         * RowList.C: delete file
5585
5586         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5587         and lyxrow_funcs.h
5588
5589 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * text3.C (cursorPrevious): adjust
5592         (cursorNext): adjust
5593         (dispatch): adjust
5594
5595         * text2.C (redoHeightOfParagraph): adjust
5596         (redoDrawingOfParagraph): adjust
5597         (setCursor): adjust
5598
5599         * text.C (breakParagraph): adjust
5600         (insertChar): adjust
5601         (backspace): adjust
5602
5603         * rowpainter.C (RowPainter): adjust
5604         (leftMargin): simplify and adjust
5605         (most rowpainter functions): adjust.
5606
5607         * rowpainter.h: store the row as RowList::iterator not as Row*
5608
5609         * lyxcursor.C (row): taka RowList::iterator as arg
5610         (irow): ditto
5611
5612         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5613         of Row*.
5614
5615 2003-04-01  Angus Leeming  <leeming@lyx.org>
5616
5617         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5618         stuff like bool Bool.
5619
5620 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5623         rewrite a loop
5624
5625 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5628         RowList::iterator.
5629
5630         * lyxtext.h (rows): drop one version and leve a const variant that
5631         returns a RowList::iterator.
5632
5633 2003-03-31  Angus Leeming  <leeming@lyx.org>
5634
5635         * text.C (fill): ensure that the signature is the same as that in the
5636         header file.
5637
5638 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * text2.C (redoParagraphs): adjust
5641         (updateCounters): adjust
5642         (checkParagraph): adjust
5643         (getColumnNearX): adjust and reformat a bit.
5644
5645         * text.C (top_y): adjust
5646         (workWidth): adjust
5647         (leftMargin): adjust
5648         (prepareToPrint): adjust
5649         (getRow): adjust
5650         (getRowNearY): adjust
5651
5652         * lyxtext.h: make rowlist_ mutable.
5653
5654         * RowList.h: add const_iterator
5655         * RowList.C: adjust for RowList::const_iterator.
5656
5657         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5658         adjust.
5659
5660 2003-03-31  John Levon  <levon@movementarian.org>
5661
5662         * lyxrc.h:
5663         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5664
5665         * lyx_main.C: set default fonts from using lyx_gui funcs
5666
5667         * exporter.C: pdf_mode moved from lyxrc
5668
5669         * lyx_cb.C:
5670         * lyxfunc.C: changes from above
5671
5672 2003-03-31  John Levon  <levon@movementarian.org>
5673
5674         * lyx_main.C: fix to the last fix
5675
5676 2003-03-31  John Levon  <levon@movementarian.org>
5677
5678         * bufferlist.C: "Load original" -> "Load Original"
5679
5680         * converter.C:
5681         * exporter.C:
5682         * importer.C:
5683         * lyx_main.C:
5684         * format.C: more Alert cleanups
5685
5686 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * text2.C (removeParagraph): make it take a RowList::iterator as
5689         arg, adjust.
5690         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5691         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5692
5693         * text.C (anchor_row): make it take a RowList::iterator as arg,
5694         adjust.
5695         (computeBidiTables): make it take a const reference to Row instead
5696         of Row pointer, adjust.
5697         (leftMargin): make it take a RowList::iterator as arg, adjust.
5698         (rowBreakPoint): adjust
5699         (breakAgainOneRow): make it take a RowList::iterator as arg,
5700         adjust.
5701         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5702
5703         * bufferview_funcs.C (toggleAndShow): adjust
5704
5705 2003-03-30  John Levon  <levon@movementarian.org>
5706
5707         * Makefile.am:
5708         * BoostFormat.h:
5709         * boost-inst.C: moved to support
5710
5711         * several files: changes as a result
5712
5713 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * text2.C (LyXText): adjust.
5716         (init): adjust
5717         (removeRow): make it take a RowList::iterator as arg, adjust.
5718         (fullRebreak): adjust
5719         (deleteEmptyParagraphMechanism): adjust
5720         (clearPaint): adjust
5721         (postPaint): adjust
5722
5723         * text.C (top_y): adjust
5724         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5725         (breakAgain): make it take a RowList::iterator as arg, adjust.
5726         (breakParagraph): adjust
5727         (insertChar): adjust
5728         (backspace): adjust
5729
5730         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5731         need_break_row, and refresh_row.
5732
5733         * text3.C (dispatch): adjust
5734
5735         * text2.C (checkParagraph): adjust
5736         (setCursor): adjust
5737         (setCursorFromCoordinates): adjust
5738
5739         * text.C (top_y): adjust
5740         (workWidth): adjust
5741         (getRow): make it return a RowList::iterator, adjust
5742         (getRowNearY): make it return a RowList::iterator, adjust
5743
5744         * text2.C (init): adjust
5745         (insertRow): remove function
5746         (insertParagraph): adjust
5747         (redoParagraphs): adjust
5748         (fullRebreak): adjust
5749         (updateCounters): adjust
5750
5751         * text.C (top_y): rewrite to use RowList iterators.
5752         (top_y): adjust
5753         (setHeightOfRow): rewrite to sue RowList iterators.
5754         (appendParagraph): adjust
5755         (breakAgain): adjust
5756         (breakAgainOneRow): adjust
5757         (breakParagraph): adjust
5758         (getRow): adjust
5759         (getRowNearY): adjust, and remove commented code.
5760
5761         * lyxtext.h (firstRow): delete function
5762         (lastRow): delete function
5763         (rows): new function (const and non-const versions.)
5764         (insertRow): delete function
5765
5766         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5767
5768 2003-03-29  John Levon  <levon@movementarian.org>
5769
5770         * BufferView_pimpl.C: always update scrollbar top
5771         because pasting text when we're anchored could mean we
5772         miss an update altogether
5773
5774 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * text2.C (init): use rowlist_.end() and not 0.
5777         (insertRow): change to take a RowList::iterator as arg, adjust
5778         for this.
5779         (insertParagraph): change to take a RowList::iterator as arg,
5780         adjust for this.
5781         (redoParagraphs): remove some debug msgs.
5782
5783         * text.C (appendParagraph): change to take a RowList::iterator
5784         arg, adjust for this.
5785         (breakAgain): add an assert
5786         (breakAgainOneRow): ditto
5787
5788 2003-03-29  John Levon  <levon@movementarian.org>
5789
5790         * text2.C: do not clear selection after inc/decDepth
5791         (bug 550)
5792
5793 2003-03-29  John Levon  <levon@movementarian.org>
5794
5795         * BufferView.C:
5796         * buffer.C: fix broken strerrors according to Lars
5797
5798 2003-03-29  John Levon  <levon@movementarian.org>
5799
5800         * converters.C: more Alert cleanups
5801
5802 2003-03-29  John Levon  <levon@movementarian.org>
5803
5804         * bufferview_funcs.C: remove pointless Alert
5805
5806         * buffer.C: fix confusing error message when
5807         a template is chmoded 000
5808
5809 2003-03-29  John Levon  <levon@movementarian.org>
5810
5811         * BufferView.C:
5812         * BufferView.h:
5813         * BufferView_pimpl.C: Alert fixes
5814
5815         * Makefile.am:
5816         * tabular.C:
5817         * tabular-old.C: remove unused table compat reading
5818
5819 2003-03-29  John Levon  <levon@movementarian.org>
5820
5821         * BufferView.C:
5822         * buffer.C:
5823         * lyx_cb.h:
5824         * lyx_cb.C: more Alert cleanups
5825
5826         * lyxfunc.C: don't allow chktex if not latex document
5827
5828 2003-03-29  John Levon  <levon@movementarian.org>
5829
5830         * lyx_cb.C:
5831         * BufferView.C:
5832         * buffer.C: warnings pushed down from support/,
5833         kill err_alert
5834
5835 2003-03-29  John Levon  <levon@movementarian.org>
5836
5837         * lyxfunc.C: safety check for C-r (revert)
5838
5839 2003-03-29  John Levon  <levon@movementarian.org>
5840
5841         * bufferlist.h:
5842         * bufferlist.C: several UI fixes using Alert::prompt.
5843         Fix the pointless looping quit code. Fix stupid revert
5844         behaviour (bug 938)
5845
5846         * lyxvc.h:
5847         * lyxvc.C:
5848         * lyx_cb.C: use Alert::prompt
5849
5850         * lyx_main.C: remove a silly question
5851
5852         * lyxfunc.C: remove a couple of silly questions,
5853         use Alert::prompt
5854
5855 2003-03-28  John Levon  <levon@movementarian.org>
5856
5857         * text2.C: fix bug 974 (End on empty par)
5858
5859 2003-03-28  John Levon  <levon@movementarian.org>
5860
5861         * BufferView_pimpl.C:
5862         * LyXAction.C:
5863         * lfuns.h: remove do-nothing math greek lfuns
5864
5865 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * lyxgluelength.h (isValidGlueLength): add default arg on
5868         parameter 2. Remove default arg from friend in class.
5869
5870         * lyxlength.h (isValidLength): add default arg on parameter 2.
5871         Remove default arg from friend in class.
5872
5873         * text2.C (LyXText): adjust, initialize refresh_row.
5874         (init): adjust
5875         (removeRow): adjust
5876         (insertRow): adjust
5877         (insertParagraph): adjst
5878         (redoParagraphs): adjust
5879         (fullRebreak): adjust
5880         (updateCounters): adjust
5881         (deleteEmptyParagraphMechanism): first attempt at fixing a
5882         crashing bug.
5883
5884         * text.C (top_y): adjust
5885         (setHeightOfRow): adjust
5886         (getRow): adjust
5887         (getRowNearY): adjust
5888
5889         * lyxtext.h: include RowList.h
5890         (~LyXText): not needed anymore, deleted.
5891         (firstRow): modify for RowList
5892         (lastRow): new function
5893         Delete firstrow and lastrow class variables, add a Rowlist
5894         rowlist_ class variable.
5895
5896         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5897         paragraph is empty.
5898
5899         * RowList.C (insert): fix case where it == begin().
5900
5901 2003-03-26  Angus Leeming  <leeming@lyx.org>
5902
5903         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5904         the thesaurus dialog.
5905
5906 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5909
5910         * RowList.[Ch]: new files
5911
5912         * ParagraphList.C (erase): handle the case where it == begin
5913         correctly.
5914
5915 2003-03-25  John Levon  <levon@movementarian.org>
5916
5917         * Makefile.am:
5918         * aspell_local.h:
5919         * aspell.C: add new aspell support
5920
5921         * lyxrc.h:
5922         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5923         have it accessible.
5924
5925 2003-03-25  Angus Leeming  <leeming@lyx.org>
5926
5927         * lfuns.h:
5928         * LyXAction.C (init): new LFUN_INSET_INSERT.
5929
5930         * BufferView_pimpl.C (dispatch): split out part of the
5931         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5932
5933         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5934         LFUN_INSET_APPLY.
5935
5936 2003-03-25  Angus Leeming  <leeming@lyx.org>
5937
5938         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5939
5940 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * text2.C:
5943         * text3.C: remove useless row->height(0)
5944
5945 2003-03-25  John Levon  <levon@movementarian.org>
5946
5947         * lyxtext.h:
5948         * text2.C:
5949         * text3.C: rename the refreshing stuff to better names
5950
5951 2003-03-24  John Levon  <levon@movementarian.org>
5952
5953         * BufferView_pimpl.h:
5954         * BufferView_pimpl.C: update layout choice on a mouse
5955         press/release
5956
5957 2003-03-23  John Levon  <levon@movementarian.org>
5958
5959         * Makefile.am: fix commandtags.h reference
5960
5961 2003-03-22  John Levon  <levon@movementarian.org>
5962
5963         * BufferView_pimpl.C:
5964         * lyxtext.h:
5965         * rowpainter.C:
5966         * rowpainter.h:
5967         * text.C:
5968         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5969
5970 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * lyxtext.h:
5973         * text.C: take the rtl methods out of line
5974
5975 2003-03-21 André Pönitz <poenitz@gmx.net>
5976
5977         * metricsinfo.[Ch]: new files containing structures to be passed around
5978         during the two-phase-drawing...
5979
5980 2003-03-21 André Pönitz <poenitz@gmx.net>
5981
5982         * lyxtextclass.C: read 'environment' tag.
5983
5984 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * text2.C (removeRow): fix bug 964
5987
5988 2003-03-20  John Levon  <levon@movementarian.org>
5989
5990         * rowpainter.C:
5991         * text.C:
5992         * text2.C: paint cleanups. Inset::update() dropped font
5993         parameter
5994
5995 2003-03-19  John Levon  <levon@movementarian.org>
5996
5997         * lyxfunc.C: only fitcursor/markDirty if available()
5998
5999 2003-03-19  John Levon  <levon@movementarian.org>
6000
6001         * commandtags.h: rename to ...
6002
6003         * lfuns.h: ... this, and renumber / cleanup
6004
6005 2003-03-19  John Levon  <levon@movementarian.org>
6006
6007         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6008         fit the cursor after an lfun
6009
6010         * BufferView.h:
6011         * BufferView.C:
6012         * BufferView_pimpl.h:
6013         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6014
6015         * LyXAction.C: layout-character should have ReadOnly
6016
6017         * ParagraphParameters.C:
6018         * buffer.C:
6019         * bufferview_funcs.C:
6020         * lyx_cb.C:
6021         * lyxfind.C:
6022         * lyxtext.h:
6023         * text.C:
6024         * text2.C:
6025         * text3.C:
6026         * undo_funcs.C: changes from above
6027
6028 2003-03-18  John Levon  <levon@movementarian.org>
6029
6030         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6031         remove it from update()
6032
6033         * lyxfunc.C: update layout choice after an lfun
6034
6035         * text3.C: remove extra updateLayoutChoice()s
6036
6037 2003-03-18  John Levon  <levon@movementarian.org>
6038
6039         * text.C: top_y change means full repaint, fix
6040         a drawing bug with cursor movement
6041
6042 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6043
6044         * lyxtext.h:
6045         * text.C:
6046         * text2.C: anchor row on setCursor
6047
6048 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6049
6050         * lyxtext.h: remove almost all mutable keywords
6051         * text.C:
6052         * text2.C:
6053         * text3.C: remove const keywords accordingly
6054
6055 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6058         anon namespace
6059         (TeXEnvironment): ditto
6060         (TeXOnePar): ditto
6061
6062 2003-03-17  John Levon  <levon@movementarian.org>
6063
6064         * text.C (rowBreakPoint): remove attempt to fix displayed
6065         math insets inside a manual label
6066
6067 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * lyxtext.h: remove BufferView* as first arg from almost all class
6070         functions.
6071         * other files: adjust.
6072
6073 2003-03-17  John Levon  <levon@movementarian.org>
6074
6075         * lyxtext.h:
6076         * undo_funcs.C:
6077         * text2.C: more paint cleanups
6078
6079         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6080
6081         * rowpainter.h:
6082         * rowpainter.C: remove "smart" background painting code
6083
6084 2003-03-16  John Levon  <levon@movementarian.org>
6085
6086         * lyxtext.h:
6087         * text.C:
6088         * text2.C:
6089         * text3.C: add helper functions for setting refresh_row/y
6090
6091 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6092
6093         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6094         newline inset which *can* get inserted in the pass_thru layouts.
6095         This is primarily for literate documents.
6096
6097 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6098
6099         * buffer.C: increment LYX_FORMAT to 223
6100
6101 2003-03-14 André Pönitz <poenitz@gmx.net>
6102
6103         * textclass.h: prepare for environment handling, ws changes
6104         * lyxlayout.C: read latexheader and latexfooter tags
6105
6106 2003-03-14  John Levon  <levon@movementarian.org>
6107
6108         * text2.C: rewrite ::status() a bit
6109
6110 2003-03-13  John Levon  <levon@movementarian.org>
6111
6112         * lyxtext.h: add some docs
6113
6114 2003-03-13  John Levon  <levon@movementarian.org>
6115
6116         * lyxtext.h:
6117         * text.C:
6118         * text2.C:
6119         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6120
6121 2003-03-13  John Levon  <levon@movementarian.org>
6122
6123         * text3.C: fix appendix redrawing
6124
6125 2003-03-13  John Levon  <levon@movementarian.org>
6126
6127         * text.C (setHeightOfRow):
6128         * rowpainter.h:
6129         * rowpainter.C: make appendix mark have the text
6130           "Appendix" so the user knows what it is
6131
6132         * LColor.h:
6133         * LColor.C: s/appendixline/appendix/ from above
6134
6135 2003-03-13  John Levon  <levon@movementarian.org>
6136
6137         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6138
6139         * text.C: fix a getChar(pos) bug properly
6140
6141 2003-03-13  Angus Leeming  <leeming@lyx.org>
6142
6143         * commandtags.h:
6144         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6145         Probably only temporary. Let's see how things pan out.
6146
6147         * BufferView.C (unlockInset):
6148         * BufferView_pimpl.C (fitCursor):
6149         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6150
6151         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6152         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6153
6154         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6155         new functions that convert ParagraphParameters to and from a string.
6156
6157         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6158         BufferView::Pimpl's dispatch.
6159         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6160
6161 2003-03-13 André Pönitz <poenitz@gmx.net>
6162
6163         * lyxfunc.C:
6164         * text3.C:
6165         * factory.C: make it aware of InsetEnv
6166
6167 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * text2.C (setCursor): never ask for one past last
6170         (setCursor): add some debugging messages.
6171
6172         * text.C (singleWidth): never ask for one past last
6173         (singleWidth): ditto
6174         (leftMargin): ditto
6175         (rightMargin): ditto
6176         (rowBreakPoint): ditto
6177         (setHeightOfRow): ditto
6178         (prepareToPrint): ditto
6179
6180         * rowpainter.C (paintBackground): never ask for one past last
6181         (paintText): never ask for one past last
6182
6183         * paragraph_pimpl.C (getChar): make the assert stricter, never
6184         allow the one past last pos to be taken
6185
6186         * paragraph.C (getChar): ws changes only
6187
6188         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6189         (numberOfSeparators): ditto
6190         (numberOfHfills): ditto
6191
6192 2003-03-12  John Levon  <levon@movementarian.org>
6193
6194         * author.h:
6195         * author.C:
6196         * bufferparams.h:
6197         * bufferparams.C:
6198         * paragraph_funcs.C: fix per-buffer authorlists
6199
6200 2003-03-12  John Levon  <levon@movementarian.org>
6201
6202         * text.C: fix newline in right address
6203
6204 2003-03-12  Angus Leeming  <leeming@lyx.org>
6205
6206         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6207         duplicate those in LyXFunc::dispatch.
6208
6209         * commandtags.h:
6210         * LyXAction.C:
6211         * ToolbarDefaults.C:
6212         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6213         Add LFUN_FONTFREE_UPDATE.
6214
6215         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6216         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6217
6218         * bufferview_func.[Ch]: several new functions to facilliate
6219         transfer of data to and from the character dialog.
6220
6221 2003-03-12  John Levon  <levon@movementarian.org>
6222
6223         * buffer.C:
6224         * paragraph.h:
6225         * paragraph.C:
6226         * paragraph_funcs.C:
6227         * paragraph_pimpl.C:
6228         * sgml.C:
6229         * tabular.C:
6230         * text.C:
6231         * text3.C: remove META_NEWLINE in favour of an inset
6232
6233         * rowpainter.h:
6234         * rowpainter.C: remove paintNewline (done by inset)
6235
6236 2003-03-12  John Levon  <levon@movementarian.org>
6237
6238         * paragraph_pimpl.C: complain about bad getChar()s
6239         for a while at least
6240
6241 2003-03-12  John Levon  <levon@movementarian.org>
6242
6243         * buffer.h:
6244         * buffer.C: move paragraph read into a separate function,
6245         a little renaming to reflect that.
6246
6247         * bufferparams.h:
6248         * bufferparams.C: remove the author_ids map, not necessary now
6249
6250         * factory.h:
6251         * factory.C: moved Buffer::readInset to here
6252
6253         * paragraph_funcs.h:
6254         * paragraph_funcs.C: readParagraph free function moved from
6255         buffer.C
6256
6257         * tabular.C: name change
6258
6259 2003-03-12  John Levon  <levon@movementarian.org>
6260
6261         * buffer.C:
6262         * ParagraphParameters.C: move par params input to
6263         a read() method
6264
6265         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6266         behave like a normal read from the stream wrt reading
6267         a line vs. a \\token
6268
6269 2003-03-12  John Levon  <levon@movementarian.org>
6270
6271         * paragraph.C:
6272         * ParagraphParameters.h:
6273         * ParagraphParameters.C: move output code to a
6274         ::write() method
6275
6276 2003-03-12  John Levon  <levon@movementarian.org>
6277
6278         * BufferView.C (insertLyXFile):
6279         * buffer.h:
6280         * buffer.C:
6281         * tabular.C: use a parlist iterator for creating the
6282           document.
6283
6284 2003-03-12  John Levon  <levon@movementarian.org>
6285
6286         * buffer.C: make current_change static local not
6287           static file-scope
6288
6289 2003-03-12  John Levon  <levon@movementarian.org>
6290
6291         * buffer.C: fix insertStringAsLines for change tracking
6292
6293 2003-03-12  John Levon  <levon@movementarian.org>
6294
6295         * BufferView.C:
6296         * tabular.C:
6297         * buffer.h:
6298         * buffer.C:
6299         * bufferparams.h:
6300         * bufferparams.C: move author list into params. Rename some
6301           functions. Move the header reading into a separate token
6302           loop. Move the header token reading into BufferParams.
6303
6304 2003-03-12  John Levon  <levon@movementarian.org>
6305
6306         * changes.C: put debug inside lyxerr.debugging() checks
6307
6308 2003-03-11 André Pönitz <poenitz@gmx.net>
6309
6310         * factory.C: make it aware of InsetHFill
6311
6312 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6313
6314         * buffer.C (latexParagraphs): move function from here...
6315         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6316         args.
6317
6318 2003-03-10  Angus Leeming  <leeming@lyx.org>
6319
6320         * LyXAction.C (init): fix bug in poplating array with multiple entries
6321         with the same LFUN (spotted by JMarc).
6322
6323 2003-03-10  John Levon  <levon@movementarian.org>
6324
6325         * text.C:
6326         * text2.C: move getColumnNearX() near its
6327         only call site
6328
6329 2003-03-10  John Levon  <levon@movementarian.org>
6330
6331         * text.C: fix break before a minipage
6332
6333 2003-03-10  John Levon  <levon@movementarian.org>
6334
6335         * text.C: fix the last commit
6336
6337 2003-03-09  John Levon  <levon@movementarian.org>
6338
6339         * lyxtext.h:
6340         * text.C:
6341         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6342         bug 365 (don't break before insets unless needed). Don't
6343         return a value > last under any circumstances.
6344
6345 2003-03-09  Angus Leeming  <leeming@lyx.org>
6346
6347         * BufferView_pimpl.C (trackChanges, dispatch): call
6348         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6349
6350 2003-03-09  Angus Leeming  <leeming@lyx.org>
6351
6352         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6353         than Dialogs::showAboutlyx().
6354
6355 2003-03-09  Angus Leeming  <leeming@lyx.org>
6356
6357         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6358         than Dialogs::showTabularCreate().
6359
6360 2003-03-09  John Levon  <levon@movementarian.org>
6361
6362         * lyxtext.h:
6363         * text.C:
6364         * text2.C: 3rd arg to nextBreakPoint was always the same.
6365           Use references.
6366
6367 2003-03-08  John Levon  <levon@movementarian.org>
6368
6369         * lyxrow.C:
6370         * paragraph.C:
6371         * paragraph.h:
6372         * rowpainter.C:
6373         * text.C:
6374         * text2.C: Remove the "main" bit from the "main body"
6375           notion.
6376
6377 2003-03-08  John Levon  <levon@movementarian.org>
6378
6379         * text.C (leftMargin): The left margin of an empty
6380         manual label paragraph should not include the label width
6381         string length.
6382
6383         * text.C (prepareToPrint): don't attempt to measure hfills
6384         for empty manual label paragraphs - the answer should be 0
6385
6386 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * CutAndPaste.C: remove commented code and reindent.
6389
6390 2003-03-08  John Levon  <levon@movementarian.org>
6391
6392         * lyxfunc.h:
6393         * lyxfunc.C: move reloadBuffer()
6394
6395         * BufferView.h:
6396         * BufferView.C: to here
6397
6398         * lyxvc.C: add comment
6399
6400         * vc-backend.h:
6401         * vc-backend.C: call bv->reload() to avoid
6402           getStatus() check on MENURELOAD
6403
6404 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6405
6406         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6407         to an old format .dep file.
6408
6409 2003-03-07  Angus Leeming  <leeming@lyx.org>
6410
6411         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6412         when the LFUN_MOUSE_RELEASE should have been handled by
6413         inset->localDispatch.
6414
6415 2003-03-07  Angus Leeming  <leeming@lyx.org>
6416
6417         * BufferView_pimpl.C (dispatch):
6418         * LyXAction.C (init):
6419         * ToolbarDefaults.C (init):
6420         * commandtags.h:
6421         * lyxfunc.C (getStatus):
6422         remove LFUN_INSET_GRAPHICS.
6423
6424         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6425
6426 2003-03-07  Angus Leeming  <leeming@lyx.org>
6427
6428         * commandtags.h:
6429         * LyXAction.C (init):
6430         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6431
6432         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6433
6434         * commandtags.h:
6435         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6436
6437         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6438         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6439
6440 2003-03-07  Angus Leeming  <leeming@lyx.org>
6441
6442         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6443         remove "ert".
6444
6445 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * ParagraphList.C (front): new function
6448         (back): implement
6449
6450 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6451
6452         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6453         and top_row_offset_. removed var first_y.
6454         * text.C (top_y):
6455         * text2.C (LyXText, removeRow):
6456         * text3.C:
6457         * BufferView_pimpl.C:
6458         use these methods instead of using first_y
6459
6460 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * text2.C (pasteSelection): adjust for checkPastePossible
6463
6464         * CutAndPaste.C: remove Paragraph * buf and replace with
6465         ParagraphList paragraphs.
6466         (DeleteBuffer): delete
6467         (cutSelection): change the tc type to textclass_type
6468         (copySelection): change the tc type to textclass_type
6469         (copySelection): adjust for ParagraphList
6470         (pasteSelection): change the tc type to textclass_type
6471         (pasteSelection): adjust for Paragraphlist
6472         (nrOfParagraphs): simplify for ParagraphList
6473         (checkPastePossible): simplify for ParagraphList
6474         (checkPastePossible): remove unused arg
6475
6476         * ParagraphList.C (insert): handle the case where there are no
6477         paragraphs yet.
6478
6479         * CutAndPaste.h: make CutAndPaste a namespace.
6480
6481         * text3.C (dispatch): adjust
6482
6483         * text.C (breakParagraph): add a ParagraphList as arg
6484
6485         * paragraph_funcs.C (breakParagraph): change to take a
6486         BufferParams and a ParagraphList as args.
6487         (breakParagraphConservative): ditto
6488         (mergeParagraph): ditto
6489         (TeXDeeper): add a ParagraphList arg
6490         (TeXEnvironment): ditto
6491         (TeXOnePar): ditto
6492
6493         * buffer.C (readLyXformat2): adjust
6494         (insertStringAsLines): adjust
6495         (latexParagraphs): adjust
6496
6497         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6498         (cutSelection): adjust
6499         (pasteSelection): adjust
6500
6501         * BufferView_pimpl.C (insertInset): adjust
6502
6503 2003-03-05  Angus Leeming  <leeming@lyx.org>
6504
6505         * commandtags.h:
6506         * LyXAction.C (init):
6507         * BufferView_pimpl.C (dispatch):
6508         * lyxfunc.C (getStatus):
6509         remove LFUN_CHILD_INSERT.
6510
6511         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6512
6513 2003-03-05  Angus Leeming  <leeming@lyx.org>
6514
6515         * commandtags.h:
6516         * LyXAction.C (init):
6517         * src/factory.C (createInset):
6518         * lyxfunc.C (getStatus):
6519         * text3.C (dispatch):
6520         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6521
6522         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6523
6524 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * ParagraphList.C (insert): handle insert right before end()
6527         (erase): fix cases where it can be first or last paragraph.
6528
6529 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6532         Paragraph::next and Paragraph::previous
6533         (TeXOnePar): ditto
6534
6535         * text.C (breakParagraph): adjust
6536
6537         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6538         BufferParams& as arg.
6539         (breakParagraph): use ParagraphList::insert
6540         (breakParagraphConservative): take a Buffer* instead of a
6541         BufferParams& as arg.
6542         (breakParagraphConservative): use ParagraphList::insert.
6543
6544         * buffer.C (insertStringAsLines): un-const it
6545         (insertStringAsLines): adjust
6546
6547         * ParagraphList.C (insert): new function
6548
6549         * CutAndPaste.C (pasteSelection): adjust
6550
6551         * text.C (backspace): adjust
6552
6553         * tabular.C (SetMultiColumn): adjust
6554
6555         * CutAndPaste.C (cutSelection): adjust
6556         (pasteSelection): adjust
6557
6558         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6559         Buffer const * as arg
6560
6561         * ParagraphList.C (erase): new function
6562         * paragraph_funcs.C (mergeParagraph): use it
6563         (mergeParagraph): make it take a Buffer* instead of a
6564         BufferParams* as arg
6565
6566         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6567         as arg
6568         (breakParagraphConservative): ditto
6569
6570         * paragraph.h: remove the breakParagraph friend
6571
6572         * paragraph.C (eraseIntern): new function
6573         (setChange): new function
6574
6575         * paragraph_funcs.C (mergeParagraph): make it take a
6576         ParagraphList::iterator instead of a Paragraph *, adjust
6577         accordingly.
6578
6579         * paragraph.h: move an #endif so that the change tracking stuff
6580         also works in the NO_NEXT case.
6581
6582 2003-03-04  Angus Leeming  <leeming@lyx.org>
6583
6584         * commandtags.h:
6585         * LyXAction.C: new LFUN_INSET_MODIFY.
6586
6587         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6588         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6589
6590 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * several files: ws changes only
6593
6594         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6595         (TeXEnvironment): ditto
6596         (TeXDeeper): ditto
6597
6598         * buffer.C (makeLaTeXFile): adjust
6599         (latexParagraphs): make it take ParagraphList::iterator as args
6600
6601 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * buffer.C (latexParagraphs): adjust
6604
6605         * paragraph.C (TeXOnePar): move function...
6606         (optArgInset): move function...
6607         (TeXEnvironment): move function...
6608         * paragraph_pimpl.C (TeXDeeper): move function...
6609         * paragraph_funcs.C: ...here
6610
6611         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6612
6613 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * buffer.C (readInset): remove compability code for old Figure and
6616         InsetInfo insets
6617
6618 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * buffer.C: ws changes
6621         (readInset):
6622
6623         * BufferView_pimpl.C: ditto
6624         * author.C: ditto
6625         * buffer.h: ditto
6626         * bufferlist.h: ditto
6627         * changes.h: ditto
6628         * lyxfunc.C: ditto
6629
6630 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6631
6632         * converter.[Ch]: split into itself +
6633         * graph.[Ch]
6634         * format.[Ch]
6635         * Makefile.am: += graph.[Ch] + format.[Ch]
6636         * MenuBackend.C
6637         * buffer.C
6638         * exporter.C
6639         * importer.C
6640         * lyx_main.C
6641         * lyxfunc.C
6642         * lyxrc.C: added #include "format.h"
6643
6644 2003-02-27  Angus Leeming  <leeming@lyx.org>
6645
6646         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6647           a label.
6648
6649         * factory.C (createInset): add "label" to the factory.
6650
6651         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6652           string and do no more.
6653
6654 2003-02-27  Angus Leeming  <leeming@lyx.org>
6655
6656         * commandtags.h:
6657         * LyXAction.C (init):
6658         * factory.C (createInset):
6659         * BufferView_pimpl.C (dispatch):
6660           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6661
6662         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6663
6664         * lyxfunc.C (dispatch):
6665         * text3.C (dispatch): pass name to params2string.
6666
6667 2003-02-26  Angus Leeming  <leeming@lyx.org>
6668
6669         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6670           blocks together.
6671           Rearrange the ~includes. Strip out the unnecessary ones.
6672
6673         * factory.C (createInset): reformat.
6674           create new insets for the various LFUN_XYZ_APPLY lfuns.
6675
6676 2003-02-26  John Levon  <levon@movementarian.org>
6677
6678         * lyxrow.h:
6679         * lyxrow.C: add isParStart,isParEnd helpers
6680
6681         * paragraph.h: make isInserted/DeletedText take refs
6682
6683         * paragraph_funcs.h:
6684         * paragraph_funcs.C: remove #if 0'd code
6685
6686         * lyxtext.h:
6687         * text3.C:
6688         * text2.C:
6689         * text.C: use lyxrow helpers above.
6690           Move draw and paint routines to RowPainter.
6691           Make several methods use refs not pointers.
6692           Make backgroundColor() const.
6693           Add markChangeInDraw(), isInInset().
6694           Merge changeRegionCase into changeCase.
6695           Make workWidth() shouldn't-happen code into an Assert.
6696
6697         * rowpainter.h:
6698         * rowpainter.C: new class for painting a row.
6699
6700         * vspace.h:
6701         * vspace.C: make inPixels take a ref
6702
6703 2003-02-26  Angus Leeming  <leeming@lyx.org>
6704
6705         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6706         LFUN_REF_APPLY.
6707
6708 2003-02-25  John Levon  <levon@movementarian.org>
6709
6710         * ispell.C: give the forked command a more accurate name
6711
6712 2003-02-22  John Levon  <levon@movementarian.org>
6713
6714         * toc.h:
6715         * toc.C: make TocItem store an id not a Paragraph *
6716           (bug #913)
6717
6718 2003-02-21  Angus Leeming  <leeming@lyx.org>
6719
6720         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6721           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6722           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6723           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6724           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6725           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6726
6727         * BufferView_pimpl.C (dispatch):
6728         * LyXAction.C (init):
6729         * factory.C (createInset):
6730         * lyxfunc.C (getStatus, dispatch):
6731         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6732
6733 2003-02-21  Angus Leeming  <leeming@lyx.org>
6734
6735         * BufferView_pimpl.C (MenuInsertLyXFile):
6736         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6737         * lyxfunc.C (menuNew, open, doImport):
6738           no longer pass a LyXView & to fileDlg.
6739
6740 2003-02-21  Angus Leeming  <leeming@lyx.org>
6741
6742         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6743         * LyXAction.C: change, BIBKEY to BIBITEM.
6744         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6745         Change InsetBibKey to InsetBibitem.
6746         Change BIBKEY_CODE to BIBITEM_CODE.
6747         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6748         * factory.C: replace insetbib.h with insetbibitem.h.
6749         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6750         * paragraph.C: replace insetbib.h with insetbibitem.h.
6751         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6752         Change bibkey() to bibitem().
6753         * text.C: remove insetbib.h.
6754         * text2.C: replace insetbib.h with insetbibitem.h.
6755         change bibkey() to bibitem().
6756         * text3.C: remove insetbib.h.
6757         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6758
6759 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6760
6761         * lyxrc.C (output): enclose user email in quotes (in case there are
6762         several words)
6763
6764 2003-02-18  John Levon  <levon@movementarian.org>
6765
6766         * buffer.h: add std::
6767
6768 2003-02-17  John Levon  <levon@movementarian.org>
6769
6770         * SpellBase.h:
6771         * ispell.h:
6772         * ispell.C:
6773         * pspell.h:
6774         * pspell.C: reworking. Especially in ispell, a large
6775           number of clean ups and bug fixes.
6776
6777         * lyxfunc.C: fix revert to behave sensibly
6778
6779 2003-02-17 André Pönitz <poenitz@gmx.net>
6780
6781         * LyXAction.C:
6782         * commandtags.h: new LFUN_INSERT_BIBKEY
6783
6784         * layout.h:
6785         * lyxlayout.C:
6786         * buffer.C:
6787         * factory.C:
6788         * text.C:
6789         * text2.C:
6790         * text3.C:
6791         * paragraph.[Ch]:
6792         * paragraph_func.C: remove special bibkey handling
6793
6794 2003-02-17  John Levon  <levon@movementarian.org>
6795
6796         * text.C (Delete): fix case where delete at the end of
6797           the very first paragraph would not merge the pars
6798
6799 2003-02-17  John Levon  <levon@movementarian.org>
6800
6801         * lyxrow.C: fix lastPrintablePos()
6802
6803 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6804
6805         * bufferparams.C (writeLaTeX): add a std:here
6806
6807         * buffer.C: and remove a using directive there
6808
6809 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6810
6811         * buffer.C (makeLaTeXFile): move the code that generates the
6812           preamble...
6813
6814         * bufferparams.C (writeLaTeX): ... in this new method
6815
6816         * LaTeXFeatures.C (getEncodingSet): make const
6817           (getLanguages): make const
6818
6819         * MenuBackend.C (binding): returns the binding associated to this
6820           action
6821           (add): sets the status of each item by calling getStatus. Adds
6822           some intelligence.
6823           (read): add support for OptSubMenu
6824           (expand): remove extra separator at the end of expanded menu
6825
6826 2003-02-15  John Levon  <levon@movementarian.org>
6827
6828         * BufferView.C:
6829         * BufferView_pimpl.C:
6830         * bufferlist.h:
6831         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6832           inset code that had no actual effect. Remove unneeded status
6833           code.
6834
6835 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6836
6837         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6838           in preamble
6839
6840 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6841
6842         * text.C (drawLengthMarker): also draw an arrow marker for
6843           symbolic lengths (medskip...)
6844
6845 2003-02-14  John Levon  <levon@movementarian.org>
6846
6847         * tabular.h:
6848         * tabular.C: better method names
6849
6850 2003-02-14  John Levon  <levon@movementarian.org>
6851
6852         * BufferView_pimpl.C:
6853         * bufferlist.C:
6854         * buffer.C:
6855         * converter.C:
6856         * lyx_cb.C:
6857         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6858           it's a more accurate name. Remove some pointless uses.
6859
6860 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6861
6862         * text2.C (LyXText): change order of initilizers to shut off
6863           warnings
6864
6865 2003-02-14  John Levon  <levon@movementarian.org>
6866
6867         * buffer.C: use ParIterator for getParFromID()
6868
6869         * paragraph.h:
6870         * paragraph.C:
6871         * paragraph_pimpl.h:
6872         * paragraph_pimpl.C: remove unused getParFromID()
6873
6874 2003-02-14  John Levon  <levon@movementarian.org>
6875
6876         * buffer.C: remove some very old #if 0'd parse code
6877
6878 2003-02-13  John Levon  <levon@movementarian.org>
6879
6880         * text.h:
6881         * text.C:
6882         * text2.C: move hfillExpansion(), numberOfSeparators(),
6883           rowLast(), rowLastPrintable(), numberofHfills(),
6884           numberOfLabelHfills() ...
6885
6886         * lyxrow.h:
6887         * lyxrow.C: ... to member functions here.
6888
6889         * paragraph.h:
6890         * paragraph.C:
6891         * lyxtext.h:
6892         * text.C: remove LyXText::beginningOfMainBody(), and call
6893           p->beginningOfMainBody() directly. Move the check for
6894           LABEL_MANUAL into the latter.
6895
6896         * text.h:
6897         * text.C:
6898         * text2.C:
6899         * vspace.C:
6900         * BufferView.h:
6901         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6902
6903         * text.h:
6904         * text.C:
6905         * text2.C:
6906         * text3.C:
6907         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6908           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6909
6910 2003-02-13  John Levon  <levon@movementarian.org>
6911
6912         * CutAndPaste.C: remove debug
6913
6914 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * paragraph.C (asString): remove two unused variables
6917
6918         * lyxtextclass.C (readTitleType):
6919           (Read):
6920           (LyXTextClass): handle new members titletype_ and titlename_
6921
6922         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6923
6924 2003-02-09  John Levon  <levon@movementarian.org>
6925
6926         * buffer.h:
6927         * buffer.C: replace hand-coded list with a map for the dep clean
6928
6929 2003-02-08  John Levon  <levon@movementarian.org>
6930
6931         * LaTeX.C: consolidate code into showRunMessage() helper
6932
6933 2003-02-08  John Levon  <levon@movementarian.org>
6934
6935         * lyxfind.C:
6936         * lyxtext.h:
6937         * text2.C:
6938         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6939           and pass the size in explicitly
6940
6941         * BufferView_pimpl.h:
6942         * BufferView_pimpl.C:
6943         * BufferView.h:
6944         * BufferView.C: add getCurrentChange()
6945
6946         * BufferView_pimpl.h:
6947         * BufferView_pimpl.C: handle change lfuns
6948
6949         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6950           for changes. Mark pasted paragraphs as new.
6951
6952         * support/lyxtime.h:
6953         * support/lyxtime.C:
6954         * DepTable.C: abstract time_t as lyx::time_type
6955
6956         * LColor.h:
6957         * LColor.C: add colours for new text, deleted text, changebars
6958
6959         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6960           package use "usenames" option.
6961
6962         * commandtags.h:
6963         * lyxfunc.C:
6964         * LyXAction.C: add change lfuns
6965
6966         * Makefile.am:
6967         * author.h:
6968         * author.C: author handling
6969
6970         * buffer.h:
6971         * buffer.C: add a per-buffer author list, with first entry as
6972           current author. Handle new .lyx tokens for change tracking. Output
6973           author list to .lyx file. Output dvipost stuff to .tex preamble.
6974           Bump lyx format to 222.
6975
6976         * bufferlist.h:
6977         * bufferlist.C: add setCurrentAuthor() to reset current author details
6978           in all buffers.
6979
6980         * bufferparams.h:
6981         * bufferparams.C: add param for tracking
6982
6983         * bufferview_funcs.C: output change info in minibuffer
6984
6985         * Makefile.am:
6986         * changes.h:
6987         * changes.C: add change-tracking structure
6988
6989         * debug.h:
6990         * debug.C: add CHANGES debug flag
6991
6992         * lyxfind.h:
6993         * lyxfind.C: add code for finding the next change piece
6994
6995         * lyxrc.h:
6996         * lyxrc.C: add user_name and user_email
6997
6998         * lyxrow.h:
6999         * lyxrow.C: add a metric for the top of the text line
7000
7001         * lyxtext.h:
7002         * text.C: implement accept/rejectChange()
7003
7004         * lyxtext.h:
7005         * text.C: paint changebars. Paint new/deleted text in the chosen
7006         colours. Strike through deleted text.
7007
7008         * paragraph.h:
7009         * paragraph.C:
7010         * paragraph_pimpl.h:
7011         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7012           in the current change to the insert functions. Rework erase to
7013           mark text as deleted, adding an eraseIntern() and a range-based
7014           erase(). Implement per-paragraph change lookup and
7015           accept/reject.
7016
7017         * paragraph_funcs.C: Fixup paste for change tracking.
7018
7019         * tabular.C: mark added row/columns as new.
7020
7021         * text.C: fix rowLast() to never return -1. Don't allow
7022           spellchecking of deleted text. Track transpose changes. Don't
7023           allow paragraph break or merge where appropriate.
7024
7025         * text2.C: leave cursor at end of selection after a cut.
7026
7027 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7028
7029         * text.C (getLengthMarkerHeight):
7030         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7031         visible on screen too.
7032
7033 2003-02-07  John Levon  <levon@movementarian.org>
7034
7035         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7036
7037 2003-02-05  Angus Leeming  <leeming@lyx.org>
7038
7039         * lyxserver.C (read_ready): revert my patch of 11 September last year
7040         as it sends PC cpu through the roof. Presumably this means that
7041         the lyxserver will no longer run on an Alpha...
7042
7043 2003-01-30  Angus Leeming  <leeming@lyx.org>
7044
7045         * factory.C (createInset): create an InsetCommandParam of type "index"
7046         and use it to 'do the right thing'.
7047
7048         * text2.C (getStringToIndex): ensure that cursor position is always
7049         reset to the reset_cursor position.
7050
7051 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7052
7053         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7054         disabled.
7055
7056 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7057
7058         * bufferview.C:
7059         * lyxcb.C:
7060         * lyxfunc.C: Output messages with identical spelling, punctuation,
7061         and spaces
7062
7063 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7064
7065         * MenuBackend.C (expandFormats): List only viewable export formats
7066         in "View" menu
7067
7068         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7069         message
7070
7071         * lyxfunc.C (getStatus): Make sure that formats other than
7072         "fax" can also be disabled
7073
7074 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7075
7076         * text3.C (dispatch): put the lfuns that insert insets in 3
7077         groups, and call doInsertInset with appropriate arguments.
7078         (doInsertInset): new function, that creates an inset and inserts
7079         it according to some boolean parameters.
7080
7081 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * buffer.C (readFile): remember to pass on 'par' when calling
7084         readFile recursively.
7085
7086 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7087
7088         * MenuBackend.C (expandFormats): add "..." to import formats.
7089
7090 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7091
7092         * paragraph.C (asString): Remove XForms RTL hacks.
7093
7094 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7095         * buffer.C: fix typo
7096
7097 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * Makefile.am (LIBS): delete var
7100         (lyx_LDADD): add @LIBS@ here instead.
7101
7102 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7103
7104         * Clarify the meaning of "wheel mouse jump"
7105
7106 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7107
7108         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7109         tabular in a float
7110
7111 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7112
7113         * importer.C (Loaders): do not preallocate 3 elements in the
7114         vector, since one ends up with 6 elements otherwise
7115
7116 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * DepTable.C (write): write the file name as last element of the
7119         .dep file (because it may contain spaces)
7120         (read): read info in the right order
7121
7122 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7123
7124         * paragraph_pimpl.C (simpleTeXBlanks):
7125         (simpleTeXSpecialChars):
7126         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7127
7128         * tabular.C (latex): add some missing case statements. Reindent.
7129
7130         * MenuBackend.C (expandToc): remove unused variable.
7131
7132 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7133
7134         * LColor.C:
7135         * LaTeX.C:
7136         * LyXAction.C:
7137         * MenuBackend.C:
7138         * buffer.C:
7139         * exporter.C:
7140         * lyxfunc.C:
7141         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7142         and the like.
7143
7144 2003-01-05  John Levon  <levon@movementarian.org>
7145
7146         * BufferView.h:
7147         * BufferView.C: add getEncoding()
7148
7149         * kbsequence.h:
7150         * kbsequence.C: do not store last keypress
7151
7152         * lyxfunc.h:
7153         * lyxfunc.C: store last keypress here instead. Pass encoding
7154           to getISOEncoded()
7155
7156 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7157
7158         * lyx_main.C (init): remove annoying error message when following
7159         symbolic links (bug #780)
7160
7161 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7162
7163         * text.C (insertChar):
7164         * lyxrc.C (getDescription): remove extra spaces
7165
7166 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7167
7168         * lyxrc.C (getDescription): remove extra spaces
7169
7170 2002-12-20  John Levon  <levon@movementarian.org>
7171
7172         * text3.C: hack fix for page up/down across tall rows
7173
7174 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7175
7176         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7177         not been invoked
7178
7179 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7180
7181         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7182         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7183         thesaurus is not compiled in
7184
7185 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7186
7187         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7188
7189 2002-12-16  Angus Leeming  <leeming@lyx.org>
7190
7191         * lyxrc.[Ch]:
7192         * lyx_main.C (init): remove override_x_deadkeys stuff.
7193
7194 2002-12-12  John Levon  <levon@movementarian.org>
7195
7196         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7197           insert. Only remove shift modifier under strict
7198           circumstances.
7199
7200 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7201
7202         * MenuBackend.C (expandToc): fix crash.
7203
7204 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * MenuBackend.C (expandToc): gettext on float names.
7207
7208 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7209
7210         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7211         implement bool empty() [bug 490]
7212
7213 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7216
7217 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * several files: ws changes
7220
7221 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7222
7223         * text2.C (setCounter): clean up a bit, use boost.format.
7224         (updateCounters): initialize par upon declaration.
7225
7226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7227         if the layout exists. We do not just store the layout any more.
7228         (SwitchLayoutsBetweenClasses): use boost.format
7229
7230 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7231
7232         * converter.C (convert): if from and to files are the same, use a
7233         temporary files as intermediary
7234
7235 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7236
7237         * commandtags.h:
7238         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7239
7240 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7241
7242         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7243
7244 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * tabular.C (asciiPrintCell): use string(size, char) instead of
7247         explicit loop.
7248
7249         * sgml.C (openTag): fix order of arguments to string constructor
7250         (closeTag): ditto
7251
7252         * lyxfunc.C (dispatch): use boost.format
7253
7254         * lots of files: change "c" -> 'c'
7255
7256 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7257
7258         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7259
7260 2002-11-25  Angus Leeming  <leeming@lyx.org>
7261
7262         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7263
7264         * lyx_main.C (init): compile fix.
7265
7266 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * lyx_cb.C (start): boost.formatify
7269         do not include <iostream>
7270
7271         * lengthcommon.C: ws only
7272
7273         * boost-inst.C,BoostFormat.h: add more explict instantations
7274
7275 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * lots of files: handle USE_BOOST_FORMAT
7278
7279 2002-11-21  John Levon  <levon@movementarian.org>
7280
7281         * pspell.C: fix compile
7282
7283 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7284
7285         * lyxfunc.C (dispatch): use boost::format
7286         (open): ditto
7287         (doImport): ditto
7288
7289         * lyxfont.C (stateText): use boost::format
7290
7291         * lyx_main.C (LyX): use boost::format
7292         (init): ditto
7293         (queryUserLyXDir): ditto
7294         (readRcFile): ditto
7295         (parse_dbg): ditto
7296         (typedef boost::function): use the recommened syntax.
7297
7298         * importer.C (Import): use boost::format
7299
7300         * debug.C (showLevel): use boost::format
7301
7302         * converter.C (view): use boost::format
7303         (convert): ditto
7304         (move): ditto
7305         (scanLog): ditto
7306
7307         * bufferview_funcs.C (currentState): use boost::format
7308
7309         * bufferlist.C (emergencyWrite): use boost::format
7310
7311         * buffer.C (readLyXformat2): use boost::format
7312         (parseSingleLyXformat2Token): ditto
7313
7314         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7315
7316         * LaTeX.C (run): use boost::format
7317
7318         * Chktex.C (scanLogFile): use boost::format
7319
7320         * BufferView_pimpl.C (savePosition): use boost::format
7321         (restorePosition): ditto
7322         (MenuInsertLyXFile): ditto
7323
7324         * BoostFormat.h: help file for explicit instation.
7325
7326 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7327
7328         * tabular.C (latex): Support for block alignment in fixed width
7329         columns.
7330
7331 2002-11-17  John Levon  <levon@movementarian.org>
7332
7333         * BufferView_pimpl.C:
7334         * lyx_cb.C:
7335         * lyxfunc.C: split filedialog into open/save
7336
7337 2002-11-08  Juergen Vigna  <jug@sad.it>
7338
7339         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7340         by my last patch (hopefully).
7341
7342 2002-11-08  John Levon  <levon@movementarian.org>
7343
7344         * iterators.h:
7345         * iterators.C:
7346         * buffer.h:
7347         * buffer.C:
7348         * paragraph.h:
7349         * paragraph.C:
7350         * toc.h:
7351         * toc.C: ParConstIterator, and use it (from Lars)
7352
7353 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7354
7355         * lyxtextclass.[Ch]: revise and add doxygen comments
7356
7357 2002-11-07  John Levon  <levon@movementarian.org>
7358
7359         * text.C: fix progress value for spellchecker
7360
7361         * toc.C: fix navigate menu for insetwrap inside minipage
7362
7363         * paragraph_funcs.C: added FIXME for suspect code
7364
7365 2002-11-07  John Levon  <levon@movementarian.org>
7366
7367         * BufferView_pimpl.C: fix redrawing of insets
7368           on buffer switch
7369
7370 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7371
7372         * text2.C (updateCounters): fix bug 668
7373
7374 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7375
7376         * text3.C (dispatch): Do not make the buffer dirty when moving the
7377         cursor.
7378
7379 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * vc-backend.C: STRCONV
7382         (scanMaster): ditto
7383
7384         * text2.C (setCounter): STRCONV
7385
7386         * paragraph.C (asString): STRCONV
7387
7388         * lyxlength.C (asString): STRCONV
7389         (asLatexString): ditto
7390
7391         * lyxgluelength.C (asString): STRCONV
7392         (asLatexString): ditto
7393
7394         * lyxfunc.C (dispatch): STRCONV
7395         (open): ditto
7396
7397         * lyxfont.C (stateText): STRCONV
7398
7399         * importer.C (Import): STRCONV
7400
7401         * counters.C (labelItem): STRCONV
7402         (numberLabel): ditto
7403         (numberLabel): remove unused ostringstream o
7404
7405         * chset.C: STRCONV
7406         (loadFile): ditto
7407
7408         * bufferview_funcs.C (currentState): STRCONV
7409
7410         * buffer.C (readFile): STRCONV
7411         (asciiParagraph): ditto
7412         (makeLaTeXFile): ditto
7413
7414         * Spacing.C (writeEnvirBegin): STRCONV
7415
7416         * LaTeXFeatures.C (getLanguages): STRCONV
7417         (getPackages): ditto
7418         (getMacros): ditto
7419         (getBabelOptions): ditto
7420         (getTClassPreamble): ditto
7421         (getLyXSGMLEntities): ditto
7422         (getIncludedFiles): ditto
7423
7424         * LaTeX.C: STRCONV
7425         (run): ditto
7426         (scanAuxFile): ditto
7427         (deplog): ditto
7428
7429         * LString.h: add the STRCONV macros
7430
7431         * BufferView_pimpl.C (savePosition): STRCONV
7432         (restorePosition): ditto
7433         (MenuInsertLyXFile): ditto
7434
7435         * vc-backend.C (scanMaster): change from submatch[...] to
7436         submatch.str(...)
7437
7438         * funcrequest.C: include config.h
7439
7440         * factory.C: include config.h
7441
7442         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7443
7444         * box.C: include config.h
7445
7446         * LaTeX.C (scanAuxFile): change from submatch[...] to
7447         submatch.str(...)
7448         (deplog): ditto
7449
7450 2002-10-25  Angus Leeming  <leeming@lyx.org>
7451
7452         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7453
7454         * ispell.[Ch] (setError): new method.
7455         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7456         Use setError() insetead of goto END.
7457
7458         * lyx_cb.C (AutoSave): move out child process into new class
7459         AutoSaveBuffer.
7460
7461 2002-10-30  John Levon  <levon@movementarian.org>
7462
7463         * text3.C: make start appendix undoable
7464
7465 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7466
7467         * lyxlength.C (inPixels): Fix returned value.
7468
7469         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7470         environment.
7471
7472 2002-10-24  Angus Leeming  <leeming@lyx.org>
7473
7474         * lyxgluelength.h: no need to forward declare BufferParams
7475         or BufferView, so don't.
7476
7477 2002-10-21  John Levon  <levon@movementarian.org>
7478
7479         * BufferView.C: menuUndo ->undo, redo
7480
7481         * BufferView.h: document, remove dead, make some methods private
7482
7483         * paragraph_funcs.h:
7484         * paragraph_funcs.C:
7485         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7486
7487         * buffer.h:
7488         * buffer.C:
7489         * sgml.h:
7490         * sgml.C: move sgml open/close tag into sgml.C
7491
7492         * bufferview_funcs.h: unused prototype
7493
7494         * lyxfunc.h:
7495         * lyxfunc.C: remove unused
7496
7497         * lyxtext.h:
7498         * text.C: remove unused
7499
7500 2002-10-21  John Levon  <levon@movementarian.org>
7501
7502         * BufferView.h:
7503         * BufferView.C:
7504         * BufferView_pimpl.h:
7505         * BufferView_pimpl.C: fix mouse wheel handling based on
7506           patch from Darren Freeman
7507
7508 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7509
7510         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7511
7512 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7513
7514         * lyxlength.C (inPixels): Fix hanfling of negative length.
7515         Fix LyXLength::MU case.
7516
7517 2002-10-16  John Levon  <levon@movementarian.org>
7518
7519         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7520
7521 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7522
7523         * converter.C (view): add support for $$i (file name) and $$p
7524         (file path) for the viewer command. If $$i is not specified, then
7525         it is appended to the command (for compatibility with old syntax)
7526
7527 2002-10-14  Juergen Vigna  <jug@sad.it>
7528
7529         * undo_funcs.C (textHandleUndo): alter the order in which the
7530         new undopar is added to the LyXText, as we have to set first
7531         the right prev/next and then add it as otherwise the rebuild of
7532         LyXText is not correct. Also reset the cursor to the right paragraph,
7533         with this IMO we could remove the hack in "redoParagraphs()".
7534
7535 2002-10-09  Angus Leeming  <leeming@lyx.org>
7536
7537         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7538         to turn off an optimisation if a new inset is to be inserted.
7539
7540 2002-10-11 André Pönitz <poenitz@gmx.net>
7541
7542         * lyxtext.h: make some functions public to allow access
7543         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7544
7545 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7546
7547         * text3.C (dispatch): when changing layout, avoid an infinite loop
7548         [bug #652]
7549
7550 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7551
7552         * lyxrc.C (read): treat a viewer or converter command of "none" as
7553         if it were empty.
7554
7555         * MenuBackend.C (expandFormats): for an update, also allow the
7556         formats that are not viewable
7557
7558         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7559         script if it is newer than the lyxrc.defaults in user directory
7560
7561 2002-10-07 André Pönitz <poenitz@gmx.net>
7562
7563         * text.C: Vitaly Lipatov's small i18n fix
7564
7565 2002-09-25  Angus Leeming  <leeming@lyx.org>
7566
7567         * ispell.h: doxygen fix.
7568
7569 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7570
7571         * buffer.h (readFile): Add a new argument to the method, to allow
7572         reading of old-format templates.
7573
7574 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7575
7576         * toc.C (getTocList): Get TOC from InsetWrap.
7577
7578 2002-09-16  John Levon  <levon@movementarian.org>
7579
7580         * lyxfunc.C: check tabular for cut/copy too
7581
7582 2002-09-12  John Levon  <levon@movementarian.org>
7583
7584         * LyXAction.C: tidy
7585
7586         * factory.h:
7587         * factory.C: add header
7588
7589         * paragraph_funcs.h:
7590         * paragraph_funcs.C: cleanup
7591
7592 2002-09-11  John Levon  <levon@movementarian.org>
7593
7594         * PrinterParams.h: odd/even default to true
7595
7596 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7597
7598         * PrinterParams.h: update printer parameters for new xforms dialog
7599
7600 2002-09-11  Angus Leeming  <leeming@lyx.org>
7601
7602         * lyxserver.C (read_ready): re-write to make it more transparent
7603         and to make it work in coherent fashion under Tru64 Unix.
7604
7605 2002-09-11  André Pönitz <poenitz@gmx.net>
7606
7607         * commandtags.h:
7608         * LyXAction.C:
7609         * text3.C: implement LFUN_WORDSEL
7610
7611 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7614         make floatlist_ a boost::shared_ptr<FloatList>
7615
7616         * lyxtextclass.C: include FloatList.h
7617         (LyXTextClass): initialize floatlist_
7618         (TextClassTags): add TC_NOFLOAT
7619         (Read): match "nofloat" to TC_NOFLOAT and use it.
7620         (readFloat): modify call to floatlist_
7621         (floats): ditto
7622         (floats): ditto
7623
7624         * FloatList.[Ch] (FloatList): remove commented out float
7625         initialization.
7626         (erase): new function
7627
7628 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7629
7630         * MenuBackend.C (expandToc): fix crash when there is no document
7631         open
7632
7633 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7634
7635         * many files: Add insetwrap.
7636
7637 2002-09-09  John Levon  <levon@movementarian.org>
7638
7639         * text2.C: remove confusing and awkward depth wraparound
7640
7641 2002-09-09  John Levon  <levon@movementarian.org>
7642
7643         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7644
7645         * buffer.h:
7646         * buffer.C: remove getIncludeonlyList()
7647
7648         * paragraph.C:
7649         * lyxfunc.C: remove headers
7650
7651 2002-09-09  Juergen Vigna  <jug@sad.it>
7652
7653         * text.C (getColumnNearX): fix form Michael this is most
7654         probably a cut&paste bug.
7655
7656 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7659
7660         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7661         references, ws changes.
7662
7663         * text2.C (init): update counters after init
7664         (insertParagraph): no need to set counter on idividual paragraphs.
7665         (setCounter): access the counters object in the textclass object
7666         on in the buffer object.
7667         (updateCounters): ditto
7668
7669         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7670         shared_ptr<Counters> to avoid loading counters.h in all
7671         compilation units.
7672         (LyXTextClass): initialize ctrs_
7673         (TextClassTags): add TC_COUNTER, and ...
7674         (Read): use it here.
7675         (CounterTags): new tags
7676         (readCounter): new function
7677         (counters): new funtion
7678         (defaultLayoutName): return a const reference
7679
7680         * counters.C (Counters): remove contructor
7681         (newCounter): remove a couple of unneeded statements.
7682         (newCounter): simplify a bit.
7683         (numberLabel): some small formatting changes.
7684
7685         * buffer.[Ch]: remove all traces of counters, move the Counters
7686         object to the LyXTextClass.
7687
7688 2002-09-06  Alain Castera  <castera@in2p3.fr>
7689
7690         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7691         package to set the horizontal alignment on fixed width columns.
7692
7693         * lyx_sty.C:
7694         * lyx_sty.h: added tabularnewline macro def.
7695
7696         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7697
7698 2002-09-06  John Levon  <levon@movementarian.org>
7699
7700         * LyXAction.C: tooltips for sub/superscript
7701
7702         * MenuBackend.C: a bit more verbose
7703
7704         * lyxfunc.C: tiny clean
7705
7706         * undo_funcs.C: document undo_frozen
7707
7708 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * counters.C (Counters): add missing algorithm counter.
7711
7712         * text2.C (setCounter): lookup the counter with layouts latexname
7713         instead of by section number.
7714         (setCounter): use a hackish way to lookup the correct enum
7715         counter.
7716         a float name->type change
7717         reset enum couners with counter name directly instead of depth value.
7718
7719         * counters.C (Counters): remove the push_backs, change to use the
7720         float type not the float name.
7721         (labelItem): remove unused string, float name->type change
7722
7723         * counters.h: don't include vector, loose the enums and sects vectors
7724
7725 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7728         (Read): add float->TC_FLOAT to textclassTags
7729         (Read): and handle it in the switch
7730         (readFloat): new function
7731
7732         * FloatList.C (FloatList): comment out the hardcoded float
7733         definitions.
7734
7735         * lyxlayout.h: ws change.
7736
7737 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7738
7739         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7740
7741 2002-09-03  Angus Leeming  <leeming@lyx.org>
7742
7743         * BufferView_pimpl.h: qualified name is not allowed in member
7744         declaration: WorkArea & Pimpl::workarea() const;
7745
7746         * factory.C: added using std::endl directive.
7747
7748         * text3.C: added using std::find and std::vector directives.
7749
7750 2002-08-29  André Pönitz <poenitz@gmx.net>
7751
7752         * lyxtext.h:
7753         * text2.C: remove unused member number_of_rows
7754
7755         * Makefile.am:
7756         * BufferView2.C: remove file, move contents to...
7757         * BufferView.C: ... here
7758
7759         * BufferView_pimpl.C:
7760         * factory.C: move more inset creation to factory
7761
7762         * vspace.C: avoid direct usage of LyXText, ws changes
7763
7764         * BufferView.[Ch]:
7765                 don't provide direct access to WorkArea, use two simple
7766                 acessors haveSelction() and workHeight() instead
7767
7768
7769 2002-08-29  John Levon  <levon@movementarian.org>
7770
7771         * BufferView_pimpl.C (dispatch): do not continue when
7772           no buffer
7773
7774 2002-08-28  André Pönitz <poenitz@gmx.net>
7775
7776         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7777
7778         * BufferView.h:
7779         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7780
7781 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7782
7783         * buffer.C: increment LYX_FORMAT to 221
7784
7785         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7786         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7787
7788         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7789
7790         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7791
7792 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7793
7794         * factory.C (createInset): use LyXTextClass::floats
7795
7796         * MenuBackend.C (expandFloatListInsert):
7797         (expandFloatInsert):
7798         (expandToc):
7799
7800         * text2.C (setCounter):
7801
7802         * LaTeXFeatures.C (useFloat):
7803         (getFloatDefinitions):
7804
7805         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7806
7807         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7808         floatlist_, with accessor floats().
7809
7810         * FloatList.h: remove global FloatList
7811
7812 2002-08-26  André Pönitz <poenitz@gmx.net>
7813
7814         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7815
7816         * BufferView.h:
7817         * BufferView2.C:
7818         * BufferView_pimpl.C:
7819         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7820
7821 2002-08-25  John Levon  <levon@movementarian.org>
7822
7823         * LyXAction.C: fix margin note description
7824
7825 2002-08-24  John Levon  <levon@movementarian.org>
7826
7827         * buffer.C:
7828         * bufferlist.C:
7829         * bufferview_funcs.C:
7830         * lyxfont.C:
7831         * undo_funcs.C: cleanups
7832
7833         * lyxfunc.C: disable CUT/COPY when no selection
7834
7835 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7836
7837         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7838         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7839
7840         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7841         Add backward compatibility to "mono", "gray" and "no".
7842
7843 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7844
7845         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7846         (and file_format >= 200).
7847
7848 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7849
7850         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7851
7852 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7853
7854         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7855
7856 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7857
7858         * BufferView_pimpl.C:
7859         * LyXAction.C:
7860         * buffer.C:
7861         * commandtags.h:
7862         * lyxfunc.C:
7863         * paragraph.[Ch]:
7864         * text2.C:
7865         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7866         inset and code to make it  work with the paragraph code. The inset
7867         can be anywhere in the paragraph, but will only do the expected
7868         thing in LaTeX if the layout file contains the parameter line
7869                         OptionalArgs    1
7870         (or more generally, a nonzero value) for that layout.
7871
7872 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * paragraph.h: remove the declaration of undefined counters class
7875         function.
7876
7877 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7878
7879         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7880         Dr. Richard Hawkins.
7881
7882 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7883
7884         * paragraph_funcs.h: remove some unneeded includes
7885
7886         * text.C (backspace): pasteParagraph now in global scipe
7887
7888         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7889         (pasteSelection): ditto
7890
7891         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7892         * paragraph_funcs.C (pasteParagraph): ... here
7893
7894 2002-08-20  André Pönitz <poenitz@gmx.net>
7895
7896         * commandtags.h: new LFUNs for swapping/copying table row/colums
7897
7898         * LyXAction.C:
7899         * lyxfunc.C: support for new lfuns
7900
7901 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * tabular.C:
7904         * buffer.[Ch]: remove NO_COMPABILITY stuff
7905
7906 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * boost.C (throw_exception): new file, with helper function for
7909         boost compiled without exceptions.
7910
7911         * paragraph.h:
7912         * lyxlength.C:
7913         * buffer.C:
7914         * ParameterStruct.h:
7915         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7916
7917         * bufferlist.C (emergencyWriteAll): use boost bind
7918
7919         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7920
7921         * text.C: include paragraph_funcs.h
7922         (breakParagraph): breakParagraph is now in global scope
7923
7924         * paragraph_funcs.[Ch]: new files
7925
7926         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7927         global scope
7928
7929         * buffer.C: include paragraph_funcs.h
7930         (insertStringAsLines): breakParagraph is now in global scope
7931
7932         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7933         paragraph_funcs.C
7934
7935         * CutAndPaste.C: include paragraph_funcs.h
7936         (cutSelection): breakParagraphConservative is now in global scope
7937         (pasteSelection): ditto
7938
7939         * buffer.h: declare oprator== and operator!= for
7940         Buffer::inset_iterator
7941
7942         * bufferlist.C (emergencyWrite): don't use fmt(...)
7943
7944         * text3.C: add using std::endl
7945
7946         * BufferView.C (moveCursorUpdate): remove default arg
7947
7948 2002-08-20  André Pönitz <poenitz@gmx.net>
7949
7950         * buffer.[Ch]: move inline functions to .C
7951
7952         * BufferView2.C:
7953         * BufferView_pimpl.C:
7954         * text.C:
7955         * buffer.[Ch]: use improved inset_iterator
7956
7957         * buffer.C:
7958         * paragraph.[Ch]: write one paragraph at a time
7959
7960 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7961
7962         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7963         style if style is not specified.
7964
7965 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * text2.C (setCounter): when searching for right label for a
7968         caption, make sure to recurse to parent insets (so that a caption
7969         in a minipage in a figure float works) (bug #568)
7970
7971 2002-08-20  André Pönitz <poenitz@gmx.net>
7972
7973         * text3.C: new file for LyXText::dispatch() and helpers
7974
7975         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7976
7977         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7978
7979 2002-08-19  André Pönitz <poenitz@gmx.net>
7980
7981         * lyxtext.h:
7982         * text.C: new LyXText::dispatch()
7983
7984         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7985
7986 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7987
7988         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7989
7990         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7991         Hebrew text.
7992
7993 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7994
7995         * Makefile.am: use $(variables) instead of @substitutions@
7996
7997 2002-08-15  André Pönitz <poenitz@gmx.net>
7998
7999         * lyxfunc.C:
8000         * BufferView_pimpl.C: streamlining mathed <-> outer world
8001         interaction
8002
8003         * commandtags.h:
8004         * LyXAction.C: remove unused LFUN_MATH
8005
8006 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8009
8010 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * paragraph.C (Paragraph): reformat a bit
8013         (cutIntoMinibuffer): use builtin InsetList function instad of
8014         doing it manually.
8015         (getInset): ditto
8016
8017         * buffer.C: include boost/bind.hpp, add using std::for_each
8018         (writeFileAscii): use ParagraphList iterators
8019         (validate): use for_each for validate traversal of paragraphs
8020         (getBibkeyList): use ParagraphList iterators
8021         (resizeInsets): use for_each to resizeInsetsLyXText for all
8022         paragraphs.
8023         (getParFromID): use ParagraphList iterators
8024
8025         * BufferView2.C (lockInset): use paragraph list and iterators
8026
8027 2002-08-14  John Levon  <levon@movementarian.org>
8028
8029         * lyxserver.C: remove spurious xforms include
8030
8031 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8032
8033         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8034
8035 2002-08-13  André Pönitz <poenitz@gmx.net>
8036
8037         * LyXAction.[Ch]:
8038         * lyxfunc.C: further cleaning
8039
8040 2002-08-13  André Pönitz <poenitz@gmx.net>
8041
8042         * funcrequest.h: new constructor
8043
8044         * funcrequest.C: move stuff here from .h
8045
8046         * Makefile.am:
8047         * BufferView_pimpl.C:
8048         * LyXAction.C:
8049         * toc.C:
8050         * lyxfunc.C: subsequent changes
8051
8052         * lyxfunc.h: new view() member function
8053
8054         * lyxfunc.C: subsequent changes
8055
8056 2002-08-13  Angus Leeming  <leeming@lyx.org>
8057
8058         * BufferView2.C:
8059         * BufferView_pimpl.C:
8060         * buffer.C:
8061         * converter.C:
8062         * importer.C:
8063         * lyxfunc.C:
8064         * lyxvc.C:
8065         * toc.C:
8066         * vc-backend.C:
8067         changes due to the changed LyXView interface that now returns references
8068         to member variables not pointers.
8069
8070 2002-08-13  Angus Leeming  <leeming@lyx.org>
8071
8072         * WordLangTuple (word, lang_code): return references to strings,
8073         not strings.
8074
8075         * BufferView.h:
8076         * SpellBase.h:
8077         * lyxtext.h: forward-declare WordLangTuple.
8078
8079         * BufferView2.C:
8080         * ispell.C:
8081         * pspell.C:
8082         * text.C: #include "WordLangTuple.h".
8083
8084         * lyxtext.h:
8085         * text.C: (selectNextWordToSpellcheck): constify return type.
8086
8087 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8088
8089         * buffer.C:
8090         * buffer.h:
8091         * lyxtext.h:
8092         * paragraph.C:
8093         * paragraph_pimpl.h:
8094         * text.C:
8095         * text2.C:
8096         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8097         suggested by Angus.
8098         Made updateCounter always count from start of buffer, and removed
8099         second argument (par).
8100         Reverted floats number display to '#'. Perhaps I'll try again when the
8101         code base is sanitized a bit.
8102
8103 2002-08-12  Angus Leeming  <leeming@lyx.org>
8104
8105         * buffer.[Ch] (getLabelList): constify.
8106
8107 2002-08-07  André Pönitz <poenitz@gmx.net>
8108
8109         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8110
8111         * funcrequest.h: extension to keep mouse (x,y) position
8112
8113 2002-08-12  Juergen Vigna  <jug@sad.it>
8114
8115         * BufferView2.C (insertErrors): forbid undo when inserting error
8116         insets.
8117
8118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8119
8120 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * ParagraphList.[Ch]: new files
8123
8124         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8125
8126         * BufferView2.C (lockInset): ParagraphList changes
8127         * toc.C: ditto
8128         * text2.C: ditto
8129         * bufferlist.C: ditto
8130         * buffer.h: ditto
8131         * buffer.C: ditto
8132
8133 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8136         unused class variable counter_,
8137
8138         * paragraph.[Ch] (getFirstCounter): delete unused function
8139
8140         * counters.C: include LAssert.h
8141         (reset): add a new function with no arg, change other version to
8142         not have def. arg and to not allow empty arg.
8143
8144         * text2.C (setCounter): remove empty arg from call to Counters::reset
8145
8146 2002-08-11  John Levon  <levon@movementarian.org>
8147
8148         * Makefile.am: add WordLangTuple.h
8149
8150 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8153         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8154
8155         * insets/insettext.C: InsetList changes
8156
8157         * graphics/GraphicsSupport.C (operator()): InsetList changes
8158
8159         * toc.C (getTocList): InsetList changes
8160
8161         * paragraph_pimpl.[Ch]: InsetList changes
8162
8163         * paragraph.[Ch]: InsetList changes
8164
8165         * buffer.C (inset_iterator): InsetList changes
8166         (setParagraph): ditto
8167         * buffer.h (inset_iterator): ditto
8168         * iterators.C (operator++): ditto
8169         * iterators.h: ditto
8170
8171         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8172
8173         * InsetList.[Ch]: new files, most InsetList handling moved out of
8174         paragraph.C.
8175
8176         * BufferView2.C (removeAutoInsets): InsetList changes
8177         (lockInset): ditto
8178         (ChangeInsets): ditto
8179
8180 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * paragraph_pimpl.h (empty): new function
8183
8184         * paragraph.[Ch] (empty): new function
8185
8186         * other files: use the new Paragraph::empty function
8187
8188 2002-08-09  John Levon  <levon@movementarian.org>
8189
8190         * lyxtext.h: remove unused refresh_height
8191
8192 2002-08-09  John Levon  <levon@movementarian.org>
8193
8194         * Makefile.am:
8195         * sgml.h:
8196         * sgml.C:
8197         * buffer.C:
8198         * paragraph.h:
8199         * paragraph.C: move sgml char escaping out of paragraph
8200
8201         * paragraph.h:
8202         * paragraph.C: remove id setter
8203
8204         * buffer.C:
8205         * paragraph.C:
8206         * paragraph_pimpl.C: remove dead tex_code_break_column
8207
8208         * bufferview_funcs.C: small cleanup
8209
8210         * lyxfunc.C: remove dead proto
8211
8212         * lyxtext.h: make some stuff private. Remove some dead stuff.
8213
8214         * lyxgluelength.C: make as[LyX]String() readable
8215
8216 2002-08-08  John Levon  <levon@movementarian.org>
8217
8218         * LyXAction.h:
8219         * LyXAction.C:
8220         * MenuBackend.C:
8221         * ToolbarDefaults.C:
8222         * lyxfunc.C:
8223         * lyxrc.C:
8224         * toc.C: lyxaction cleanup
8225
8226 2002-08-08  John Levon  <levon@movementarian.org>
8227
8228         * BufferView2.C: small cleanup
8229
8230         * lyxfind.h:
8231         * lyxfind.C: move unnecessary header into the .C
8232
8233 2002-08-08  John Levon  <levon@movementarian.org>
8234
8235         * funcrequest.h: just tedious nonsense
8236
8237         * lyx_main.h:
8238         * lyx_main.C: cleanups
8239
8240         * buffer.C:
8241         * vspace.C: remove dead header lyx_main.h
8242
8243 2002-08-07  Angus Leeming  <leeming@lyx.org>
8244
8245         * Paragraph.[Ch]:
8246         * paragraph_pimpl.h:
8247         Forward declare class Counters in paragraph.h by moving the ctrs member
8248         variable into Paragraph::Pimpl.
8249         (counters): new method, returning a reference to pimpl_->ctrs.
8250
8251         * text2.C: ensuing changes.
8252
8253 2002-08-07  John Levon  <levon@movementarian.org>
8254
8255         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8256
8257         * BufferView_pimpl.C: announce X selection on double/triple
8258           click
8259
8260         * lyx_main.C: use correct bool in batch dispatch
8261
8262         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8263
8264 2002-08-07  André Pönitz <poenitz@gmx.net>
8265
8266         * funcrequest.h: new class to wrap a kb_action and its argument
8267
8268         * BufferView.[Ch]:
8269         * BufferView_pimpl[Ch]:
8270         * LaTeX.C:
8271         * LyXAction.[Ch]:
8272         * lyxfunc.[Ch]:
8273         * lyxrc.C: subsequent changes
8274
8275
8276 2002-08-07  John Levon  <levon@movementarian.org>
8277
8278         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8279           document options change.
8280
8281 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8282
8283         * counters.[Ch]
8284         * text2.C
8285         * paragraph.[Ch]
8286         * makefile.am: move counters functionality over from
8287         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8288
8289 2002-08-06  John Levon  <levon@movementarian.org>
8290
8291         * WordLangTuple.h: new file for word + language code tuple
8292
8293         * SpellBase.h:
8294         * pspell.h:
8295         * pspell.C:
8296         * ispell.h:
8297         * ispell.C:
8298         * lyxtext.h:
8299         * text.C:
8300         * text2.C:
8301         * BufferView.h:
8302         * BufferView2.C: use WordLangTuple
8303
8304         * layout.h:
8305         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8306
8307 2002-08-06  John Levon  <levon@movementarian.org>
8308
8309         * lyx_main.C: fix cmdline batch handling
8310
8311 2002-08-06  André Pönitz <poenitz@gmx.net>
8312
8313         * lyxrc.C: set default for show_banner to true
8314
8315 2002-08-06  John Levon  <levon@movementarian.org>
8316
8317         * pspell.C: fix a crash, and allow new aspell to work
8318
8319 2002-08-06  John Levon  <levon@movementarian.org>
8320
8321         * lyxfunc.C:
8322         * kbmap.C: small cleanup
8323
8324         * vspace.h:
8325         * vspace.C: add const
8326
8327 2002-08-05  John Levon  <levon@movementarian.org>
8328
8329         * LyXAction.C: back to tabular-insert
8330
8331 2002-08-04  John Levon  <levon@movementarian.org>
8332
8333         * BufferView.h:
8334         * BufferView.C: cosmetic change
8335
8336         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8337
8338         * bufferlist.C:
8339         * buffer.h:
8340         * buffer.C:
8341         * lyxcb.h:
8342         * lyxcb.C:
8343         * lyxserver.C:
8344         * lyxvc.C:
8345         * vc-backend.C:
8346         * BufferView2.C: purge all "Lyx" not "LyX" strings
8347
8348         * lyxcursor.h:
8349         * lyxcursor.C: attempt to add some documentation
8350
8351         * lyxfunc.C:
8352         * commandtags.h:
8353         * LyXAction.C:
8354         * ToolbarDefaults.C:
8355         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8356           merge with LFUN_TABULAR_INSERT
8357
8358         * Makefile.am:
8359         * SpellBase.h:
8360         * ispell.h:
8361         * ispell.C:
8362         * pspell.h:
8363         * pspell.C: split up i/pspell implementations into separate
8364           files, many cleanups
8365
8366         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8367
8368         * text2.C: some cleanup
8369
8370         * lyxfunc.C: don't check for isp_command == "none" any more, it
8371           didn't make any sense
8372
8373 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8374
8375         * counters.[Ch]
8376         * text2.C
8377         * paragraph.[Ch]
8378         * makefile.am: move counters functionality over
8379         from text2.C/paragraph.[Ch] to counters.[Ch], and
8380         make proper C++.
8381 2002-08-02  John Levon  <levon@movementarian.org>
8382
8383         * buffer.C: s/lyxconvert/lyx2lyx/
8384
8385 2002-08-02  Angus Leeming  <leeming@lyx.org>
8386
8387         * lyxlex.C: revert John's change as it breaks reading of the user
8388         preamble.
8389
8390 2002-08-02  Angus Leeming  <leeming@lyx.org>
8391
8392         * importer.C (Import):
8393         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8394         changes due to LyXView::view() now returning a boost::shared_ptr.
8395
8396 2002-08-02  John Levon  <levon@movementarian.org>
8397
8398         * lyxlex.C: small cleanup
8399
8400 2002-08-02  John Levon  <levon@movementarian.org>
8401
8402         * text2.C (status): small cleanup, no logic change
8403
8404 2002-08-01  John Levon  <levon@movementarian.org>
8405
8406         * buffer.h:
8407         * buffer.C (writeFile): don't output alerts, caller
8408           handles this
8409
8410         * bufferlist.C:
8411         * lyx_cb.C: from above
8412
8413         * lyxfunc.C: allow to open non-existent files
8414
8415 2002-07-31  John Levon  <levon@movementarian.org>
8416
8417         * lyxserver.C: don't let incidental errors get
8418           in the way (errno)
8419
8420 2002-07-30  John Levon  <levon@movementarian.org>
8421
8422         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8423
8424 2002-07-30  John Levon  <levon@movementarian.org>
8425
8426         * lyxserver.h:
8427         * lyxserver.C: remove I/O callback too
8428
8429 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8430
8431         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8432         log.
8433
8434 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8435
8436         * many files: strip,frontStrip -> trim,ltrim,rtrim
8437
8438 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * PrinterParams.h: remove extern containsOnly, and include
8441         support/lstrings.h instead.
8442
8443         * LaTeX.C (scanAuxFile): modify because of strip changes
8444         (deplog): ditto
8445         * buffer.C (makeLaTeXFile): ditto
8446         * bufferparams.C (writeFile): ditt
8447         * lyxfont.C (stateText): ditto
8448         * lyxserver.C (read_ready): ditto
8449         * vc-backend.C (scanMaster): ditto
8450
8451         * BufferView_pimpl.h: ws changes
8452
8453         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8454
8455 2002-07-26  André Pönitz <poenitz@gmx.net>
8456
8457         * kb_sequence.C: remove unnedred usings
8458
8459 2002-07-26  Juergen Vigna  <jug@sad.it>
8460
8461         * lyxfind.C (LyXReplace): we have to check better if the returned
8462         text is not of theLockingInset()->getLockingInset().
8463
8464 2002-07-25  Juergen Vigna  <jug@sad.it>
8465
8466         * lyxfind.C (LyXReplace): don't replace if we don't get the
8467         right LyXText.
8468
8469         * undo_funcs.C (createUndo): remove debugging code.
8470
8471 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8472
8473         * buffer.C (parseSingleLyXformat2Token): Use default placement
8474         when reading old floats.
8475
8476         * FloatList.C (FloatList): Change the default placement of figure
8477         and tables to "tbp".
8478
8479 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * MenuBackend.C: using std::max
8482
8483 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8484
8485         * MenuBackend.C (expandToc):
8486         (expandToc2): code moved from xforms menu frontend. It is now
8487         generic and TOCs are transparent to menu frontends.
8488
8489 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8490
8491         * toc.C (getTocList): protect against buf=0
8492
8493         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8494         Menu as first parameter. Now, this calls itself recursively to
8495         expand a whole tree (this will be useful for TOC handling)
8496         (expandFloatInsert): remove 'wide' version of floats
8497
8498         * MenuBackend.h (submenuname): returns the name of the submenu.
8499         (submenu): returns the submenu itself, provided it has been
8500         created by MenuBackend::expand
8501
8502 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8503
8504         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8505         insets which have noFontChange == true. (bug #172)
8506
8507 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8508
8509         * BufferView_pimpl.C: add connection objects and use them...
8510         (Pimpl): here.
8511
8512 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * MenuBackend.C (expandLastfiles):
8515         (expandDocuments):
8516         (expandFormats):
8517         (expandFloatListInsert):
8518         (expandFloatInsert):
8519         (expand): split expand in parts
8520
8521 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * lyx_gui.C: use lyx_gui::exit()
8524
8525 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * LyXAction.C: show the failing pseudo action
8528
8529 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8530
8531         * buffer.C (readFile): Run the lyxconvert script in order to read
8532         old files.
8533
8534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * LyXAction.C:
8537         * commandtags.h:
8538         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8539
8540 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * LyXAction.C:
8543         * commandtags.h:
8544         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8545
8546 2002-07-22  Herbert Voss  <voss@lyx.org>
8547
8548         * lengthcommon.C:
8549         * lyxlength.[Ch]: add support for the vertical lengths
8550
8551 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8552
8553         * toc.[Ch]: std:: fixes
8554
8555 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * lyxrc.C: do not include lyx_main.h
8558
8559         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8560         for layouts
8561
8562         * lyxrc.C:
8563         * encoding.C:
8564         * bufferlist.C:
8565         * BufferView2.C: include "lyxlex.h"
8566
8567         * tabular.h:
8568         * bufferparams.h: do not #include "lyxlex.h"
8569
8570         * lyxtextclasslist.C (Add): remove method
8571         (classlist): renamed to classlist_
8572
8573         * paragraph_pimpl.C:
8574         * paragraph.C:
8575         * text2.C:
8576         * CutAndPaste.C:
8577         * bufferview_funcs.C:
8578         * bufferlist.C:
8579         * text.C:
8580         * LaTeXFeatures.C:
8581         * buffer.C:
8582         * toc.C (getTocList): use BufferParams::getLyXTextClass
8583
8584         * toc.C (getTocList): use InsetFloat::addToToc
8585
8586         * toc.[Ch]: new files, containing helper functions to handle table
8587         of contents
8588
8589         * lyxfunc.C (dispatch): no need to remove spaces around command
8590         given as a string
8591         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8592         first command of the sequence; it is not very clever, but I do not
8593         have a better idea, actually
8594
8595         * LyXAction.C (LookupFunc): make sure to remove space at the
8596         beginning and end of the command
8597
8598 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * MenuBackend.C (getMenubar): new method: return the menubar of
8601         this menu set
8602         (read): treat differently reading of menu and menubar (in
8603         particular, the menubar has no name now)
8604         (Menu::menubar): remove
8605
8606         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8607         saving is finished
8608
8609 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8610
8611         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8612         a bibitem inset in a RTL paragraph.
8613
8614 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * paragraph_pimpl.C: constify
8617
8618         * BufferView_pimpl.C:
8619         * LaTeX.C:
8620         * lyxfunc.C: fix dispatch in a nicer way
8621
8622 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8623
8624         * lyxfunc.C (dispatch):
8625         * BufferView_pimpl.C:
8626         * BufferView_pimpl.h:
8627         * BufferView.C:
8628         * BufferView.h: rename Dispatch() to dispatch()
8629
8630         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8631
8632         * lyxlayout.C (Read): honor DependsOn tag
8633
8634         * lyxlayout.[Ch] (depends_on): new method
8635
8636         * version.C.in: update lyx_docversion
8637
8638         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8639
8640         * paragraph.C (validate): remove from here...
8641         * paragraph_pimpl.C (validate): ... and move here
8642         (isTextAt): make it const
8643
8644         * buffer.C (getLists): ws cleanup
8645
8646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8647
8648         * language.C (read): Use iso8859-1 encoding in latex_lang
8649         (this prevents LyX from crashing when using iso10646-1 encoding).
8650
8651 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8652
8653         * text2.C (toggleInset): if cursor is inside an inset, close the
8654         inset and leave cursor _after_ it
8655
8656 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * lyxfunc.C: move minibuffer completion handling out of here
8659
8660 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * BufferView_pimpl.C:
8663         * LaTeX.C: fix dispatch calls
8664
8665 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8666
8667         * text.C (drawChars): Fix Arabic text rendering.
8668
8669 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * LyXAction.C:
8672         * commandtags.h:
8673         * lyxfunc.C: remove message-push/pop
8674
8675         * lyxserver.C:
8676         * lyxfunc.h:
8677         * lyxfunc.C: rationalise some code by removing verboseDispatch
8678           in favour of a bool argument to dispatch()
8679
8680 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * lyx_main.C (init): make sure to read symlinks as absolute paths
8683
8684 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * lyxfunc.h:
8687         * lyxfunc.C: no need for commandshortcut to be a member
8688
8689 2002-07-15  André Pönitz <poenitz@gmx.net>
8690
8691         * converter.C: add support for $$s (scripts from lib/scripts dir)
8692         * lyx_main.C: white space
8693
8694 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8695
8696         * bufferlist.C:
8697         * lyxrc.h:
8698         * lyxrc.C: remove second exit confirmation
8699
8700 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * BufferView.h:
8703         * BufferView.C:
8704         * BufferView2.C:
8705         * BufferView_pimpl.h:
8706         * BufferView_pimpl.C:
8707         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8708
8709 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8710
8711         * MenuBackend.C (expand): add numeric shortcuts to document menu
8712
8713         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8714
8715 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8716
8717         * lyxfont.C (setLyXFamily):
8718         (setLyXSeries):
8719         (setLyXShape):
8720         (setLyXSize):
8721         (setLyXMisc):
8722         (lyxRead):
8723         * debug.C (value):
8724         * buffer.C (asciiParagraph): use ascii_lowercase
8725
8726 2002-07-15  Mike Fabian  <mfabian@suse.de>
8727
8728         * lyxlex_pimpl.C (search_kw):
8729         * lyxlex.C (getLongString):
8730         * converter.h (operator<):
8731         * converter.C (operator<):
8732         * buffer.C (parseSingleLyXformat2Token):
8733         (asciiParagraph):
8734         * ToolbarDefaults.C (read):
8735         * MenuBackend.C (checkShortcuts):
8736         (read):
8737         * LColor.C (getFromGUIName):
8738         (getFromLyXName): use the compare_ascii_no_case instead of
8739         compare_no_case, because in turkish, 'i' is not the lowercase
8740         version of 'I', and thus turkish locale breaks parsing of tags.
8741
8742 2002-07-16  Angus Leeming  <leeming@lyx.org>
8743
8744         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8745         now takes a Buffer const & argument.
8746
8747 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * BufferView.C (resize): check there's a buffer to resize
8750
8751 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * lyxfunc.C: remove dead code
8754
8755         * lyxserver.h:
8756         * lyxserver.C: use lyx_guii::set_read_callback
8757
8758 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8759
8760         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8761         an inset in a RTL paragraph.
8762
8763 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * lyxfunc.C: repaint after a font size update
8766
8767 2002-07-15  André Pönitz <poenitz@gmx.net>
8768
8769         * lyxlength.C: inBP should be able to return negative values
8770
8771 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * lyxfunc.C: use lyx_gui::update_fonts()
8774
8775 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8776
8777         * lyxfunc.C: use lyx_gui::update_color()
8778
8779 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * bufferlist.C:
8782         * lyxfunc.h:
8783         * lyxfunc.C:
8784         * lyxrc.h:
8785         * lyxrc.C: remove file->new asks for name option, and let
8786           buffer-new take an argument
8787
8788 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8789
8790         * BufferView_pimpl.C: remove unneeded extra repaint()
8791
8792 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8793
8794         * LyXAction.C: allow command-sequence with NoBuffer
8795
8796         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8797
8798 2002-07-10  Angus Leeming  <leeming@lyx.org>
8799
8800         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8801
8802 2002-07-09  Angus Leeming  <leeming@lyx.org>
8803
8804         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8805
8806 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * lengthcommon.h: whitespace
8809
8810         * lyxfunc.C: update scrollbar after goto paragraph
8811
8812         * lyxtext.h: factor out page break drawing, and fix it so
8813           page break/added space paints as selected nicely
8814
8815 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * BufferView_pimpl.C: add FIXMEs, clean up a little
8818
8819 2002-07-09  André Pönitz <poenitz@gmx.net>
8820
8821         * lyxfont.[Ch]: support for wasy symbols
8822
8823 2002-07-08  André Pönitz <poenitz@gmx.net>
8824
8825         * BufferView_pimpl.C: apply John's patch for #93.
8826
8827 2002-07-05  Angus Leeming  <leeming@lyx.org>
8828
8829         * BufferView_pimpl.C (buffer): generate previews if desired.
8830
8831         * LColor.h: add "preview" to the color enum.
8832
8833         * LColor.C (LColor): add a corresponding entry to the items array.
8834
8835         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8836         with this buffer.
8837
8838 2002-07-05  Angus Leeming  <leeming@lyx.org>
8839
8840         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8841         The body of the code is now in the method that is passed an ostream &
8842         rather than a file name.
8843         Pass an additional only_preamble parameter, useful for the forthcoming
8844         preview stuff.
8845
8846 2002-07-03  André Pönitz <poenitz@gmx.net>
8847
8848         * lyxfunc.C: simplify getStatus() a bit for math stuff
8849
8850 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8851
8852         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8853
8854 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8855
8856         * text.C (changeRegionCase): do not change case of all the
8857         document when region ends at paragraph end (bug #461)
8858
8859 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * paragraph.C (startTeXParParams):
8862         (endTeXParParams): add \protect when necessary
8863
8864 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * BufferView_pimpl.C (workAreaExpose): remove warning
8867
8868 2002-06-27  Angus Leeming  <leeming@lyx.org>
8869
8870         * Makefile.am: add lyxlayout_ptr_fwd.h.
8871
8872 2002-06-26  André Pönitz <poenitz@gmx.net>
8873
8874         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8875
8876 2002-06-25  Angus Leeming  <leeming@lyx.org>
8877
8878         * lyxfunc.C (dispatch): Comment out the call to
8879         grfx::GCache::changeDisplay. The method no longer exists now that the
8880         pixmap generation part of the graphics loader has been moved into
8881         InsetGraphics.
8882
8883 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8884
8885         * text2.C: layout as layout
8886
8887         * text.C: layout as layout
8888
8889         * tabular.C (OldFormatRead): layout as layout
8890
8891         * paragraph_pimpl.C (TeXDeeper): layout as layout
8892         (realizeFont): layout as layout
8893
8894         * paragraph.C (writeFile): layout as layout
8895         (validate): layout as layout
8896         (getFont): layout as layout
8897         (getLabelFont): layout as layout
8898         (getLayoutFont): layout as layout
8899         (breakParagraph): layout as layout
8900         (stripLeadingSpaces): layout as layout
8901         (getEndLabel): layout as layout
8902         (getMaxDepthAfter): layout as layout
8903         (applyLayout): layout as layout
8904         (TeXOnePar): layout as layout
8905         (simpleTeXOnePar): layout as layout
8906         (TeXEnvironment): layout as layout
8907         (layout): layout as layout
8908         (layout): layout as layout
8909
8910         * lyxtextclass.C (compare_name): new functor to work with
8911         shared_ptr, layout as layout
8912         (Read): layout as layout
8913         (hasLayout): layout as layout
8914         (operator): layout as layout
8915         (delete_layout): layout as layout
8916         (defaultLayout): layout as layout
8917
8918         * lyxlayout_ptr_fwd.h: new file
8919
8920         * lyxlayout.C (Read): layout as layout
8921
8922         * lyx_cb.C (MenuInsertLabel): layout as layout
8923
8924         * bufferlist.C (newFile): layout as layout
8925
8926         * buffer.C (readLyXformat2): layout as layout
8927         (parseSingleLyXformat2Token): layout as layout
8928         (insertStringAsLines): layout as layout
8929         (asciiParagraph): layout as layout
8930         (latexParagraphs): layout as layout
8931         (makeLinuxDocFile): layout as layout
8932         (simpleLinuxDocOnePar): layout as layout
8933         (makeDocBookFile): layout as layout
8934         (simpleDocBookOnePar): layout as layout
8935         (getLists): layout as layout
8936
8937         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8938
8939         * CutAndPaste.C (cutSelection): layout as layout
8940         (pasteSelection): layout as layout
8941         (SwitchLayoutsBetweenClasses): layout as layout
8942
8943         * BufferView_pimpl.C (Dispatch): layout as layout
8944         (smartQuote): layout as layout
8945
8946         * BufferView2.C (unlockInset): layout as layout
8947
8948 2002-06-24  André Pönitz <poenitz@gmx.net>
8949
8950         * lyxfunc.C: fix #487
8951
8952 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * lyxrc.h:
8955         * lyxrc.C:
8956         * lyxfunc.C: remove display_shortcuts, show_banner
8957
8958 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * Buffer_pimpl.C: oops, update on resize
8961
8962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * buffer.C:
8965         * converter.C:
8966         * exporter.C:
8967         * lyxfunc.C:
8968         * BufferView.h:
8969         * BufferView.C: use repaint()
8970
8971         * BufferView_pimpl.h:
8972         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8973           as it's a clearer description. Remove superfluous
8974           redraws.
8975
8976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * text.C: fix bug 488. Not ideal, but getting
8979           getWord() to work properly for the insets that
8980           matter is more difficult ...
8981
8982 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * BufferView_pimpl.C:
8985         * LyXAction.C:
8986         * commandtags.h:
8987         * lyxfunc.C: remove the six million index lyxfuncs to just
8988           one, and DTRT (bug 458)
8989
8990 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * BufferView.h:
8993         * BufferView.C:
8994         * BufferView_pimpl.h:
8995         * BufferView_pimpl.C: clean up resize() stuff,
8996           and unnecessary updateScreen()s
8997
8998 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8999
9000         * BufferView.h:
9001         * BufferView.C:
9002         * BufferView_pimpl.h:
9003         * BufferView_pimpl.C:
9004         * lyxfind.h:
9005         * lyxfind.C:
9006         * minibuffer.C: remove focus management of workarea,
9007           not needed. Use screen's greyOut()
9008
9009 2002-06-17  Herbert Voss  <voss@lyx.org>
9010
9011         * converter.C: (convert) do not post a message, when converting
9012         fails, let the calling function decide what to do in this case
9013
9014 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * lyxfunc.C: tidy up a little
9017
9018 2002-06-16    <alstrup@diku.dk>
9019
9020         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9021         Got rid of FORMS_H_LOCATION include. Now we are
9022         GUII.
9023
9024 2002-06-15  LyX Development team  <lyx@rilke>
9025
9026         * buffer.[Ch] (sgmlOpenTag):
9027         (sgmlCloseTag): Added support for avoiding pernicious mixed
9028         content. Return number of lines written.
9029
9030         (makeLinuxDocFile):
9031         (makeDocBookFile): Fixed calls to sgml*Tag.
9032         Simple white space clean.
9033
9034         (simpleDocBookOnePar): Simple white space clean.
9035
9036         * tabular.[Ch] (docBook): Renamed to docbook and got another
9037         argument to related with the pernicious mixed content.
9038
9039         (docbookRow): Fixed calls for docbook inset method.
9040
9041 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9042
9043         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9044         so it's X11 independent.
9045
9046         * kb*.[Ch]: ditto.
9047
9048         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9049
9050 2002-06-15  Lyx Development team  <lyx@electronia>
9051
9052         * intl.h: Renamed getTrans to getTransManager.
9053
9054 2002-06-14  Angus Leeming  <leeming@lyx.org>
9055
9056         * Makefile.am: nuke forgotten stl_string_fwd.h.
9057
9058 2002-06-12  Angus Leeming  <leeming@lyx.org>
9059
9060         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9061
9062 2002-06-13  Angus Leeming  <leeming@lyx.org>
9063
9064         * LaTeX.C:
9065         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9066
9067 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9068
9069         * kbmap.C (getiso): add support for cyrillic and greek
9070
9071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * BufferView.h:
9074         * BufferView.C:
9075         * BufferView_pimpl.h:
9076         * BufferView_pimpl.C: move bogus scrolling logic
9077           to xforms
9078
9079 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9080
9081         * lyxfunc.C:
9082         * BufferView_pimpl.C: view->resize() change
9083
9084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * BufferView_pimpl.C: topCursorVisible
9087           prototype change
9088
9089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * Makefile.am:
9092         * lyx_gui.h:
9093         * lyx_gui.C: move to frontends/
9094
9095         * main.C:
9096         * lyx_main.h:
9097         * lyx_main.C: changes from above
9098
9099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * intl.C:
9102         * intl.h:
9103         * kbmap.C:
9104         * kbsequence.C:
9105         * lyx_cb.C:
9106         * lyx_main.C: minor tidy
9107
9108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * BufferView_pimpl.h:
9111         * BufferView_pimpl.C:
9112         * BufferView.h:
9113         * BufferView.C: make painter() const,
9114           remove dead code
9115
9116         * BufferView2.C: use screen() accessor
9117
9118         * lyx_main.h:
9119         * lyx_main.C: some minor cleanup
9120
9121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * BufferView_pimpl.h:
9124         * BufferView_pimpl.C: remove enter/leaveView,
9125           use workHeight()
9126
9127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * BufferView.h:
9130         * BufferView.C:
9131         * BufferView2.C:
9132         * BufferView_pimpl.h:
9133         * BufferView_pimpl.C: only construct screen once,
9134           rename
9135
9136         * lyxrc.C: remove pointless comment
9137
9138 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * BufferView.h:
9141         * BufferView.C: remove active() and belowMouse()
9142
9143         * BufferView_pimpl.h:
9144         * BufferView_pimpl.C: use workarea() not workarea_,
9145           and make it use a scoped_ptr instead
9146
9147 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * lyx_gui.C: add debug message on BadWindow
9150
9151 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * sp_spell.C: fdopen is not part of the C++ standard.
9154
9155         * paragraph.C (InsetIterator): use >= instead of ==
9156
9157 2002-06-07  Angus Leeming  <leeming@lyx.org>
9158
9159         Fixes needed to compile with Compaq cxx 6.5.
9160         * BufferView_pimpl.C:
9161         * DepTable.C:
9162         * buffer.C:
9163         * converter.C:
9164         * encoding.C:
9165         * lyx_gui.C:
9166         * lyx_main.C:
9167         * lyxtextclasslist.C:
9168         * minibuffer.C:
9169         * sp_spell.C:
9170         * tabular_funcs.C:
9171         * vc-backend.C:
9172         all c-library variables have been moved into namespace std. Wrap
9173         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9174
9175         * lyxlength.C:
9176         * tabular-old.C:
9177         * tabular.C:
9178         Add a using std::abs declaration.
9179
9180         * kbmap.h (modifier_pair):
9181         * paragraph.h (InsetTable, InsetList):
9182         * lyxfont.h (FontBits):
9183         type definition made public.
9184
9185         * bufferlist.C (emergencyWriteAll): the compiler complains that
9186         there is more than one possible lyx::class_fun template to choose from.
9187         I re-named the void specialisation as lyx::void_class_fun.
9188
9189         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9190
9191         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9192         the compiler is is unable to find tostr in write_attribute.
9193
9194 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * buffer.C (sgmlError): hide #warning
9197
9198 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9199
9200         * xtl/*: get rid of xtl, which is not in use anyway
9201
9202         * LyXAction.C (init):
9203         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9204         were unimplemented xtl experimentation
9205
9206 2002-06-04  André Pönitz <poenitz@gmx.net>
9207
9208         * lyxfunc.C: disable array operation on simple formulae
9209
9210 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * converter.C: constify a bit
9213
9214 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * lyx_gui.C: check xforms version correctly
9217
9218 2002-04-30  Herbert Voss  <voss@lyx.org>
9219
9220         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9221         "keep" option
9222
9223 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9224
9225         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9226           attempt to register it with a VCS)
9227
9228 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9229
9230         * lyx_main.C (init): honor variables LYX_DIR_13x and
9231         LYX_USERDIR_13x
9232
9233 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * buffer.h:
9236         * buffer.C:
9237         * lyx_main.C: fix a crash on bad command line,
9238           and give a useful exit status on error
9239
9240         * lyxfunc.C (doImport): allow -i lyx to work
9241
9242 2002-03-30  André Pönitz <poenitz@gmx.net>
9243
9244         * lyxfunc.C: mathed font changes
9245
9246 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * LaTeX.C:
9249         * importer.h:
9250         * importer.C:
9251         * lyx_sty.h:
9252         * lyx_sty.C:
9253         * lyxlex.C:
9254         * lyxrow.h:
9255         * lyxtext.h:
9256         * paragraph.h:
9257         * paragraph.C:
9258         * texrow.h:
9259         * texrow.C:
9260         * text.C:
9261         * trans_mgr.h: srcdocs, and some minor cleanups
9262
9263 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9266         call getFont all the time)
9267
9268 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9269
9270         * switch from SigC signals to boost::signals
9271
9272 2002-05-29  André Pönitz <poenitz@gmx.net>
9273
9274         * paragraph_pimpl.C (getChar): don't call size() too often...
9275
9276 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9277
9278         * paragraph_pimpl.C (insertChar): do not try to update tables when
9279         appending (pos == size())
9280
9281         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9282         in order to reduce drastically the number of comparisons needed to
9283         parse a large document
9284
9285 2002-05-29  André Pönitz <poenitz@gmx.net>
9286
9287         * text.C:
9288         * text2.C:
9289         * lyxtextclass.C:
9290         * sp_pspell.h:
9291         * textclasslist.[Ch]:
9292         * sp_ispell.h: whitespace change
9293
9294 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9297         lyxaction directly now.
9298
9299 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9300
9301         * trans.C:
9302         * lyxfont.C:
9303         * lyxvc.C: remove unused headers
9304
9305 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * Makefile.am:
9308         * buffer.h:
9309         * undostack.h:
9310         * undostack.C:
9311         * undo_funcs.h:
9312         * undo_funcs.C: some cleanups. Use shared_ptr
9313           and a template for the undo stacks.
9314
9315 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * BufferView_pimpl.h:
9318         * BufferView_pimpl.C:
9319         * kbmap.h:
9320         * kbmap.C:
9321         * kbsequence.h:
9322         * kbsequence.C:
9323         * lyxfunc.h:
9324         * lyxfunc.C:
9325         * text2.C: use key_state/mouse_state
9326
9327 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9330         and LSubstring
9331
9332         * chset.C: change include order
9333         (loadFile): use boost regex and get rid of LRegex and LSubstring
9334
9335         * Makefile.am (BOOST_LIBS): new variable
9336         (lyx_LDADD): use it
9337
9338         * LaTeX.C: change include order.
9339         (scanAuxFile): use boost regex and get rid of LRegex and
9340         LSubstring
9341         (deplog): ditto
9342
9343 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * ColorHandler.h:
9346         * ColorHandler.C:
9347         * FontInfo.h:
9348         * FontInfo.C: moved to frontends/xforms/
9349
9350         * FontLoader.h:
9351         * FontLoader.C: moved into frontends for GUIIzation
9352
9353         * Makefile.am:
9354         * lyx_gui.C:
9355         * lyxfont.C:
9356         * lyxfunc.C: changes from above
9357
9358 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * LColor.C: remove spurious X include
9361
9362         * BufferView_pimpl.C:
9363         * Makefile.am:
9364         * font.h:
9365         * font.C:
9366         * text.C:
9367         * text2.C: move font metrics to frontends/
9368
9369 2002-05-24  Juergen Vigna  <jug@sad.it>
9370
9371         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9372         setting the undo_cursor.
9373
9374         * ParagraphParameters.h: include local includes first.
9375
9376 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * BufferView_pimpl.C:
9379         * BufferView_pimpl.h:
9380         * Makefile.am:
9381         * WorkArea.h:
9382         * WorkArea.C:
9383         * screen.C: move WorkArea into frontends/
9384
9385         * lyxscreen.h:
9386         * screen.C:
9387         * text.C:
9388         * BufferView.C:
9389         * BufferView2.C: move LyXScreen into frontends/
9390
9391         * lyxlookup.h:
9392         * lyxlookup.C:
9393         * lyx_gui.C: move lyxlookup into frontends/xforms/
9394
9395 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * BufferView2.C:
9398         * BufferView_pimpl.C:
9399         * FontLoader.C:
9400         * LyXView.h:
9401         * LyXView.C:
9402         * Makefile.am:
9403         * WorkArea.C:
9404         * XFormsView.h:
9405         * XFormsView.C:
9406         * buffer.C:
9407         * bufferlist.C:
9408         * bufferview_funcs.C:
9409         * converter.C:
9410         * importer.C:
9411         * lyx_cb.C:
9412         * lyx_gui.C:
9413         * lyx_main.C:
9414         * lyx_find.C:
9415         * lyxfunc.C:
9416         * lyxvc.C:
9417         * minibuffer.C:
9418         * text.C:
9419         * text2.C:
9420         * trans.C:
9421         * vc-backend.C: move LyX/XFormsView into frontends/
9422
9423 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * Makefile.am:
9426         * PainterBase.C:
9427         * PainterBase.h:
9428         * Painter.C:
9429         * Painter.h:
9430         * WorkArea.C:
9431         * WorkArea.h:
9432         * screen.C:
9433         * tabular.C:
9434         * text.C:
9435         * text2.C: move Painter to frontends/
9436
9437 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9438
9439         * buffer.C: comment out some some code that depend upon lyx_format
9440         < 220
9441
9442         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9443         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9444
9445         * buffer.h (NO_COMPABILITY): turn off compability
9446
9447         * ColorHandler.C: include scoped_array.hpp
9448
9449         * font.C: Use more specific smart_ptr header.
9450         * Painter.C: ditto
9451         * gettext.C: ditto
9452         * ShareContainer.h: ditto
9453         * lyx_main.h: ditto
9454         * kbmap.h: ditto
9455         * FontInfo.h: ditto
9456         * BufferView_pimpl.h: ditto
9457         * ColorHandler.h: ditto
9458
9459         * kbmap.C (defkey): change call to shared_ptr::reset
9460
9461 2002-05-21  Juergen Vigna  <jug@sad.it>
9462
9463         * buffer.C (insertErtContents): fix to insert ert asis if it is
9464         non empty. Skip it completely if it contains only whitespaces.
9465
9466 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9467
9468         * BufferView_pimpl.C:
9469         * BufferView2.C: clear selection on paste (bug 393)
9470
9471 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9472
9473         * DepTable.C: include ctime
9474
9475 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9476
9477         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9478
9479 2002-05-14  Juergen Vigna  <jug@sad.it>
9480
9481         * text.C (breakParagraph): fixed function to honor the keepempty
9482         layout in the right maner and also to permit the right breaking
9483         algorithm on empty or non empyt keepempty paragraphs.
9484
9485         * paragraph.C (breakParagraph): we have to check also if the par
9486         is really empty (!size()) for isempty otherwise we do the wrong
9487         paragraph break.
9488
9489 2002-05-10  Juergen Vigna  <jug@sad.it>
9490
9491         * buffer.[Ch] : The following are only changes to the ert
9492         compatibility read reading old LaTeX layout and font stuff and
9493         convert it to ERTInsets.
9494
9495         * buffer.h: added isErtInset().
9496
9497         * buffer.C (struct ErtComp): add a fromlayout bool to check
9498         if we're inside a LaTeX layout.
9499         (isErtInset): new helper function.
9500         (insertErtContents): look for other ert insets before this one
9501         and insert the contents there, so that we don't have subsequent
9502         ERT insets with nothing between them. This way we create only one
9503         inset with multiple paragraphs. Also check if we don't insert only
9504         spaces ' ' as they are ignored anyway afterwards in the .tex file
9505         so if we have only spaces we will ignore this latex part in the
9506         new file.
9507         (parseSingleLyXformat2Token \\layout): better compatibility when
9508         reading layout-latex stuff.
9509         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9510         language tag.
9511         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9512         stuff after reading the inset only get the information back from
9513         the stack.
9514
9515 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9516
9517         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9518
9519         * LaTeXFeatures.C (getBabelOptions): New method.
9520
9521 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9522
9523         * BufferView_pimpl.C (Dispatch): work around missing argument for
9524         'layout'
9525
9526 2002-05-08  Juergen Vigna  <jug@sad.it>
9527
9528         * text.C (leftMargin): handle paragraph leftindent.
9529
9530         * paragraph.C (writeFile): write the new \\leftindent tag.
9531         (validate): handle leftindent code.
9532         (TeXEnvironment): handle paragraphleftindent code again.
9533
9534         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9535
9536         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9537         for paragrap_extra indent code and new token \\leftindent.
9538         (latexParagraphs): handle the leftindent as environment.
9539
9540         * ParameterStruct.h: added leftindent support.
9541
9542         * ParagraphParameters.C (leftIndent): added support functions for
9543         the paragraph left indent.
9544
9545         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9546         more appropriate.
9547
9548 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9551         inside insetERT.
9552
9553         * text.C (computeBidiTables): No bidi in insetERT.
9554
9555         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9556         in RTL documents.
9557
9558 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9559
9560         * version.C.in: pre 5
9561
9562 2002-05-02  José Matos  <jamatos@fep.up.pt>
9563         * buffer.C (makeDocBookFile): white space changes, add newline to
9564         command styles.
9565         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9566
9567         * tabular.C (docBook): fix typo.
9568
9569 2002-05-03  Juergen Vigna  <jug@sad.it>
9570
9571         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9572         change in LyXText as we can not be sure it was not freed.
9573         (drawOneRow): remove unused code.
9574
9575         * text.C (drawInset): redo the calculation of the need_break_row as
9576         it could have a row which was already freed.
9577         (draw): look at the return value of drawInset and return false if
9578         it also returned false.
9579         (paintRowText): look at the return value of draw and return false if
9580         it also returned false.
9581
9582         * lyxtext.h: added bool return type to drawInset() and draw() so that
9583         if we have a change in the row so that the rowbreak has to be redone
9584         we abort drawing as it will be called again.
9585
9586 2002-05-02  Juergen Vigna  <jug@sad.it>
9587
9588         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9589         a change in the maintext also if we're inside an inset.
9590         (Dispatch): set the cursor again after a break line and after the
9591         screen has been updated as it could be we're in a different row.
9592
9593         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9594         to set the cursor behind the pargraph with > size().
9595         (setCursor): check also for the same paragraph when checking where
9596         to put the cursor if we have a NFR inset.
9597
9598         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9599         parts of layout read further up as it still was in the wrong
9600         position.
9601
9602 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * screen.C (drawFromTo): change sine fullRebreak always return
9605         true.
9606
9607         * buffer.C (parseSingleLyXformat2Token): reindent some
9608
9609         * BufferView_pimpl.C (update): change since fullRebreak always
9610         return true.
9611         (Dispatch): git rid of the last hardcoded "Standard"s.
9612
9613 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * text2.[Ch] (fullRebreak): make it return void now that we always
9616         returned true.
9617
9618 2002-04-30  Juergen Vigna  <jug@sad.it>
9619
9620         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9621         ert compatibility check for "latex" layout.
9622
9623 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9624
9625         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9626         minipages: use col% instead of p%, and also use the current font.
9627         (makeLaTeXFile): Fix use babel condition.
9628         (parseSingleLyXformat2Token): Correct font when reading old floats.
9629
9630 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9631
9632         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9633         inserting list of floats.
9634
9635 2002-04-25  Herbert Voss  <voss@lyx.org>
9636
9637         * MenuBackend.C (expand): don't add the graphics extensions to the
9638         export menu
9639
9640 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9643         non-existing layout, do not complain if it was the default layout
9644         of the original class (bug #342)
9645
9646 2002-04-24  Juergen Vigna  <jug@sad.it>
9647
9648         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9649         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9650
9651 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9652
9653         * buffer.C (getBibkeyList): If using \bibliography, return the
9654         option field with the reference itself. Enables us to provide natbib
9655         support when using \bibliography.
9656
9657 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9658
9659         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9660
9661         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9662         natbib is provided by the LaTeX class.
9663
9664 2002-04-23  Juergen Vigna  <jug@sad.it>
9665
9666         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9667         Wakeup functions.
9668
9669         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9670
9671 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9674
9675         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9676         ensuremath around textordmasculine, textordfeminine and
9677         textdegree.
9678
9679 2002-04-19  Juergen Vigna  <jug@sad.it>
9680
9681         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9682         reinitializing the buffer otherwise row-dimensions may be wrong.
9683         (update): reset also the selection cursors if they do exits otherwise
9684         their x/y positions may be wrong.
9685
9686         * text2.C (cursorDown): don't enter the inset if we came from a row
9687         above and are one row over the inset.
9688
9689         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9690         really leaving an inset.
9691
9692 2002-04-18  Juergen Vigna  <jug@sad.it>
9693
9694         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9695         of the selected paragraph does not have the selected layout also if
9696         the last one had!
9697
9698         * text2.C (setLayout): fixed bug which did not change last selected
9699         paragraph.
9700
9701         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9702         changed the read and substituted \\end_float with \\end_inset!
9703
9704         * BufferView_pimpl.C (cursorPrevious):
9705         (cursorNext): fixed to make it work with rows heigher than the work
9706         area without moving the cursor only the draw of the row.
9707         (workAreaMotionNotify): fix jumping over high rows.
9708
9709 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9710
9711         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9712         Ressler.
9713
9714 2002-04-16  Juergen Vigna  <jug@sad.it>
9715
9716         * text2.C (setCursor): set also the irow().
9717         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9718         (cursorUp):
9719         (cursorDown): support for locking an inset if the x_fix value goes
9720         inside it. That way I can transverse insets too with cursor up/down.
9721
9722         * lyxrow.h: added irow helper function same as other (i) functions.
9723
9724         * BufferView_pimpl.C (cursorPrevious):
9725         (cursorNext): fixed for insets!
9726
9727 2002-04-15  Juergen Vigna  <jug@sad.it>
9728
9729         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9730         position otherwise it is wrong in some cases.
9731
9732         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9733         inside the inset before the call.
9734
9735 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9736
9737         * buffer.[Ch] (getBibkeyList): make it const.
9738
9739 2002-04-12  Juergen Vigna  <jug@sad.it>
9740
9741         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9742
9743         * text2.C (getCursorX): new helper function
9744         (setCursor): compute also ix_
9745         (setCursorFromCoordinates): set also ix.
9746
9747         * lyxcursor.h: added ix_ and helper functions.
9748
9749         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9750
9751         * buffer.C (insertStringAsLines): dont break paragraph if the this
9752         paragraph is inside an inset which does not permit it!
9753
9754         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9755         also with no chars on this paragraph.
9756         (paintRowText): only paint stuff if it's inside the workarea!
9757
9758         * paragraph.C (breakParagraph): honor keepempty flag and break the
9759         paragraph always below not above.
9760
9761         * BufferView2.C (unlockInset): update the paragraph layout on inset
9762         unlock as we changed paragraph in such a case.
9763
9764         * lyxfind.C (LyXFind): clear the former selection if not found!
9765
9766         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9767         again called in insertChar().
9768
9769         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9770         an inset which uses the whole row!
9771         (rightMargin): ditto.
9772         (insertChar): force a rebreak if we inserted an inset!
9773
9774 2002-03-28  Herbert Voss  <voss@lyx.org>
9775
9776         * lyxlength.[Ch]: add inBP() to get the right PS-point
9777         units (BigPoint). With inPixels we have rounding errors
9778
9779 2002-04-11  Juergen Vigna  <jug@sad.it>
9780
9781         * text2.C (setCursorFromCoordinates): set iy to the right value.
9782         (setCursor): add check if row->previous exists!
9783
9784         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9785         an old float_type as this was the case in the old code!
9786
9787         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9788
9789         * BufferView2.C (showLockedInsetCursor): use iy
9790         (fitLockedInsetCursor): ditto
9791
9792         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9793         locked insets as there we have the right value now.
9794
9795         * lyxcursor.C: added iy_ variable and iy functions to set to the
9796         baseline of cursor-y of the locked inset.
9797
9798         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9799         (setCursor): fixed for insets which need a full row.
9800
9801         * text.C (rowLastPrintable): don't ignore the last space when before
9802         an inset which needs a full row.
9803         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9804         as last character of a row when before a inset which needs a full row.
9805
9806 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9807
9808         * version.C.in: update date
9809
9810         * text2.C (fullRebreak): try to always return true and see what
9811         happens...
9812
9813 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * MenuBackend.C (expand): use Floating::listName
9816
9817         * FloatList.C (FloatList): add listName argument to the built-in
9818         floats
9819
9820         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9821         text associated with the float.
9822
9823 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9826
9827 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * ShareContainer.h: add a couple of missing typenames.
9830
9831 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * lyxrc.C (getDescription): use _() correctly rather than N_().
9834
9835 2002-03-28  Herbert Voss  <voss@lyx.org>
9836
9837         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9838         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9839
9840 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9843         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9844
9845 2002-03-29  Juergen Vigna  <jug@sad.it>
9846
9847         * lyxfunc.C (dispatch): add a missing fitCursor call.
9848
9849         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9850         it was scrolled by a cursor move, so return the bool status.
9851
9852         * BufferView.C (fitCursor): return the bool flag also to the outside
9853         world as this is needed.
9854
9855         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9856
9857         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9858         call the edit() as it is not needed (and wrong) IMO.
9859         (workAreaButtonPress): set the screen_first variable before evt.
9860         unlock the inset as this may change screen_first and then we have
9861         a wrong y position for the click!
9862
9863 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * MenuBackend.C (expand): another translation that I missed
9866
9867 2002-03-28  Juergen Vigna  <jug@sad.it>
9868
9869         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9870
9871         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9872
9873 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9876
9877         * MenuBackend.C (expand): fix export/view/update when there is no
9878         document open.
9879
9880 2002-03-27  Herbert Voss  <voss@lyx.org>
9881
9882         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9883         and text%
9884
9885 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * bufferview_funcs.C (currentState): only show paragraph number
9888         for is DEVEL_VERSION is set.
9889
9890         * lyxfunc.C (dispatch): put warning in INFO channel
9891
9892         * MenuBackend.C (expand): translate the name of floats
9893
9894         * FloatList.C (FloatList): mark the float names for translation
9895
9896         * converter.C (convert): use LibScriptSearch
9897
9898 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * MenuBackend.C (defaults): fix default menu (we might as well get
9901         rid of it...)
9902
9903 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9904
9905         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9906         directory.
9907
9908 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * lyxvc.C: reorder includes.
9911
9912 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9915           properly
9916
9917 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * CutAndPaste.C: change layouts earlier on paste
9920           to avoid crashing when calling getFont()
9921
9922 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9923
9924         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9925         irritating #error.
9926
9927 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * WorkArea.C: remove 'Pending' debug message.
9930
9931         * most files: ws cleanup
9932
9933         * buffer.[Ch]: ws changes
9934
9935         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9936
9937 2002-03-21  Juergen Vigna  <jug@sad.it>
9938
9939         * tabular.C (SetMultiColumn): collapse also the contents of the
9940         cells and set the last border right. Added a Buffer const * param.
9941
9942 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9945         linking or not.
9946
9947 2002-03-19  Juergen Vigna  <jug@sad.it>
9948
9949         * text2.C (clearSelection): reset also xsel_cache.
9950
9951         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9952         where it needs to be called (John tells us to do so too :)
9953         (selectionLost): reset sel_cache.
9954
9955         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9956
9957 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9958
9959         * text2.C (setCursorIntern): put debuging code in INSETS channel
9960
9961 2002-03-19  André Pönitz <poenitz@gmx.net>
9962
9963         * lyxfunc.C: tiny whitespace change
9964
9965 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * ToolbarDefaults.C (init):
9968         * LyXAction.C (init):
9969         * commandtags.h:
9970         * BufferView_pimpl.C (Dispatch):
9971         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9972
9973 2002-03-19  Allan Rae  <rae@lyx.org>
9974
9975         * exporter.C (Export): removeAutoInsets before doing anything else.
9976         While I've just introduced a dependency on BufferView this really is
9977         the best place to clean the buffer otherwise you need to cleanup in
9978         a dozen places before calling export or cleanup in a dozen functions
9979         that export calls.
9980
9981         * converter.C (runLaTeX):
9982         (scanLog): Better handling of removeAutoInsets and screen updates.
9983
9984         * lyxfunc.C (dispatch): small whitespace changes
9985
9986 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * WorkArea.C (C_WorkAreaEvent): return a value.
9989         (event_cb): return 1 if we handled the event, 0 otherwise.
9990
9991         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9992
9993 2002-03-18  Juergen Vigna  <jug@sad.it>
9994
9995         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9996         (GetAdditionalWidth): ditto.
9997         (RightLine): ditto.
9998         (LeftLine): ditto.
9999
10000         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10001         inset if we're there actually (probably not used right now but this
10002         is the direction to go for unifying code).
10003         (paste): disable code to clear the selection.
10004
10005         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10006         inside an InsetText and move the check further up as it is in the
10007         wrong place.
10008
10009         * text2.C (pasteSelection): set a selection over the pasted text.
10010
10011 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10012
10013         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10014         and libgraphics to build on Cygwin.
10015
10016 2002-03-15  Juergen Vigna  <jug@sad.it>
10017
10018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10019         inserting an Inset into the paragraph. I know this is not the best
10020         fix but we already use current_view in CutAndPaste so we will remove
10021         all of it's using at the same time.
10022
10023         * buffer.C (sgmlError): deactivated function till it is rewritten in
10024         the right mode, now it can create problems.
10025
10026         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10027         before accessing it.
10028
10029 2002-03-14  Juergen Vigna  <jug@sad.it>
10030
10031         * undo_funcs.C (textHandleUndo): do the right thing when updating
10032         the inset after the undo/redo.
10033
10034         * text2.C (setCursor): just some testcode for #44 not ready yet.
10035
10036         * undo_funcs.C (textHandleUndo): set the next() and previous()
10037         pointers of the paragraph to 0 before deleting otherwise we have
10038         problems with the Paragraph::[destructor].
10039
10040         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10041         on a paragraph insertion.
10042
10043 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10044
10045         * buffer.C (asciiParagraph): use += operator for char append to
10046         string.
10047
10048         * paragraph.C (getFontSettings): compare >= not just >
10049         (highestFontInRange): ditto
10050         (setFont): ditto
10051
10052 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10053
10054         * paragraph.C: change several algorithm to be more appripriate for
10055         the problem domain. This is lookip in FontList and in the InsetList.
10056
10057 2002-03-13  André Pönitz <poenitz@gmx.net>
10058
10059         * commandtags.h:
10060         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10061
10062 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * commandtags.h:
10065         * LyXAction.C:
10066         * lyxfunc.C:
10067         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10068
10069 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * Painter.C (display): anon helper function, adjust code for this
10072         change.
10073         (pixmap): remove function.
10074
10075         * Painter.h: remove private display variable.
10076
10077         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10078
10079 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10080
10081         * WorkArea.[Ch]: remove figinset_canvas cruft.
10082
10083 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10084
10085         * lyxtextclass.C (operator): add one item cache optimization.
10086
10087         * bufferlist.h: doxy changes
10088
10089         * bufferlist.C: ws changes
10090
10091         * DepTable.[Ch] (ext_exist): place const in the right spot.
10092
10093         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10094         call resizeInsets.
10095         (workAreaExpose): call resizeInsets when the with BufferView changes.
10096         (Dispatch): adjust for protectedBlank removal
10097         (specialChar): call updateInset if the insert went ok.
10098
10099         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10100         specialChar instead.
10101
10102         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10103
10104         * BufferView.h: doxy change
10105
10106         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10107
10108         * lyxtextclass.C (operator[]): remove non-const version
10109         (defaultLayout): remove non-const version
10110
10111 2002-03-12  Juergen Vigna  <jug@sad.it>
10112
10113         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10114         did resize the LyXText too.
10115
10116         * buffer.C (readLyXformat2): set layout information on newly allocated
10117         paragraphs.
10118
10119         * tabular.C (OldFormatRead): set layout information on the paragraph.
10120
10121 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10122
10123         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10124
10125 2002-03-11  Juergen Vigna  <jug@sad.it>
10126
10127         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10128         plainly wrong.
10129         (resizeCurrentBuffer): force also the insets to resize themselfes.
10130         (moveCursorUpdate): fixed up for InsetText.
10131
10132 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10133
10134         * commandtags.h:
10135         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10136         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10137         value of Dialogs::tooltipsEnabled().
10138         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10139
10140 2002-03-08  Juergen Vigna  <jug@sad.it>
10141
10142         * BufferView_pimpl.C (updateInset): update inset inside inset also
10143         if it isn't inside theLockingInset().
10144
10145 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * buffer.C (asciiParagraph): redo some of the word and line length
10148         handling.
10149         (getLists): look for Caption instead of caption.
10150
10151 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10152
10153         * buffer.C (Buffer): initialize niceFile to true
10154         (makeLaTeXFile):
10155         (makeLinuxDocFile):
10156         (makeDocBookFile): make sure niceFile is true on exit
10157
10158 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10161
10162 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10163
10164         * LyXSendto.C: remove.
10165         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10166         * lyx_gui.C: remove now-redundant comment.
10167         * ColorHandler.h: remove forward declaration of class WorkArea.
10168         * lyxfunc.C: remove #include "WorkArea.h".
10169
10170 2002-03-07  Juergen Vigna  <jug@sad.it>
10171
10172         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10173         got moved away with the DEPM and also set the inset_owner always
10174         right which before could have been omitted.
10175
10176 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10177
10178         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10179         wanted layout is not found.
10180
10181 2002-03-07  Juergen Vigna  <jug@sad.it>
10182
10183         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10184
10185 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10186
10187         * paragraph.C (breakParagraph): use default layout not layout of
10188         prev paragraph.
10189         (Paragraph): clear ParagraphParameters.
10190
10191 2002-03-06  Juergen Vigna  <jug@sad.it>
10192
10193         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10194         otherwise it would not be a valid lenght. Fixed a special case in
10195         the minipage compatibility read where we end the document with a
10196         minipage.
10197
10198         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10199         was set as it could be 0 for InsetTexts first entry.
10200
10201 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10202
10203         * paragraph.C (writeFile): if layout is empty write out
10204         defaultLayoutName().
10205
10206         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10207         file without named layout we set layout to defaultLayoutName().
10208
10209 2002-03-06  Juergen Vigna  <jug@sad.it>
10210
10211         * CutAndPaste.C (copySelection): set layout for new paragraph.
10212
10213         * text.C (prepareToPrint): leave ERT inset left aligned
10214         (leftMargin): don't indent paragraphs inside ERT insets
10215
10216 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * paragraph.C (breakParagraph): dont call clear do the work manually
10219
10220         * paragraph.[Ch] (clear): remove function
10221
10222 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * paragraph.C (Paragraph): dont call clear, the work has already
10225         been done.
10226
10227         * lyxtextclass.C (operator): assert if n is empty
10228
10229         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10230         work manually instead.
10231
10232 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * BufferView_pimpl.C: protect selectionLost against text == 0
10235
10236 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10237
10238         * text.C (breakParagraph): fix a setting layout to '0' problem.
10239
10240 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10241
10242         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10243         final location of file, for the included files, and graphics.
10244
10245 2002-03-05  Juergen Vigna  <jug@sad.it>
10246
10247         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10248
10249 2002-03-04  Juergen Vigna  <jug@sad.it>
10250
10251         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10252
10253         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10254         last column of multicolumn cells.
10255         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10256
10257 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10258
10259         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10260         file if it doesn't go to a temporary file.
10261
10262         * buffer.C (sgmlOpenTag):
10263         (sgmlCloseTag):  remove extra newline insertion.
10264
10265 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10266
10267         * text.C (getRowNearY): comment out debug msg
10268
10269 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10270
10271         * text2.C: first -> first_y
10272
10273         * text.C (getRowNearY): add some attemts at a possible
10274         optimization, not working.
10275
10276         * tabular.[Ch]: add BufferParams to several function so that newly
10277         created paragraph can be initialized to he default layotu for the
10278         buffers textclass.
10279
10280         * tabular-old.C (ReadOld): add buf->params to call of Init
10281
10282         * screen.C: rename text->first to text->first_y
10283
10284         * paragraph.C (breakParagraph): always set layout in the broken
10285         paragraph
10286
10287         * lyxtextclass.C (Read): remove lowercase
10288         (hasLayout): ditto
10289         (operator): ditto
10290         (delete_layout): ditto
10291
10292         * lyxtext.h: rename first -> first_y
10293
10294         * lyxlayout.C (Read): remove lowercase
10295         (name): ditto
10296         (setName): ditto
10297         (obsoleted_by): ditto
10298
10299         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10300
10301         * buffer.C (insertErtContents): add params are to InsetERT
10302         (parseSingleLyXformat2Token): add code to check if a paragraphs
10303         layout really exist.
10304         (parseSingleLyXformat2Token): add params to several inset
10305         constructors
10306         (asciiParagraph): remove lowercase, do the layout comparisons with
10307         no_case
10308
10309         * BufferView_pimpl.C (cursorNext): first -> first_y
10310         (resizeCurrentBuffer): first -> first_y
10311         (updateScrollbar): first -> first_y
10312         (scrollCB): first -> first_y
10313         (workAreaMotionNotify): first -> first_y
10314         (workAreaButtonPress): first -> first_y
10315         (checkInsetHit): first -> first_y
10316         (cursorPrevious): first -> first_y
10317         (cursorNext): first -> first_y
10318         (Dispatch): add buffer_->params to severl inset contructors
10319
10320 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * lyxlayout.C (Read): remove some debug info that I forgot.
10323
10324         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10325         clean up the code slightly.
10326         (makeLinuxDocFile): ditto
10327         (makeDocBookFile): ditto
10328
10329         * text2.C: layout as string
10330
10331         * text.C: layout as string
10332
10333         * paragraph_pimpl.C: layout as string
10334
10335         * paragraph.[Ch]: layout as string
10336
10337         * lyxtextclasslist.[Ch]: layout as string
10338
10339         * lyxtextclass.[Ch]: layout as string
10340
10341         * lyxtext.h: layout as string
10342
10343         * lyxlayout.[Ch]: layout as string
10344
10345         * lyx_cb.C: layout as string
10346
10347         * bufferview_funcs.C: layout as string
10348
10349         * bufferparams.C: layout as string
10350
10351         * buffer.C: layout as string
10352
10353         * LyXView.[Ch]: layout as string
10354
10355         * LaTeXFeatures.[Ch]: layout as string
10356
10357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10358
10359         * BufferView_pimpl.C: change current_layout to string, remove
10360         lyx::layout_type.
10361         (Dispatch):
10362         (smartQuote):
10363         (insertInset):
10364         (workAreaButtonRelease): layout as string
10365
10366         * BufferView2.C (unlockInset): adjust
10367
10368         * vspace.C (asLatexCommand): use an explict temp variable.
10369
10370 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * Makefile.am: use FRONTEND_*
10373
10374 2002-03-01  Juergen Vigna  <jug@sad.it>
10375
10376         * tabular.C (SetWidthOfMulticolCell): changed to something better
10377         I hope but still work in progress.
10378         (recalculateMulticolumnsOfColumn): renamed function from
10379         recalculateMulticolCells as it is more appropriate now.
10380         (SetWidthOfCell): calculate multicols better.
10381
10382 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10385
10386         * lyxfunc.C (processKeySym): print sequence also if it is
10387         `deleted' (complete)
10388
10389         * kbsequence.C (print): print sequence even if it is deleted
10390         (complete would be a better word, actually).
10391
10392         * lyxfunc.C (dispatch): print complete options after a prefix key
10393
10394         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10395
10396 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10397
10398         * text2.C (setCharFont): eliminate setCharFont code duplication.
10399
10400 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10403         LFUN_TABULAR_FEATURE (bug #177)
10404
10405 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10406
10407         * Makefile.am: remove figure.h
10408
10409 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10410
10411         * Bufferview_pimpl.C:
10412         * CutAndPasteC:
10413         * LaTeX.C:
10414         * LyXSendto.C:
10415         * buffer.C:
10416         * bufferlist.C:
10417         * converter.C:
10418         * language.C:
10419         * lyxfunc.C:
10420         * lyxvc.C:
10421         * paragraph.C:
10422         * text.C:
10423         * text2.C: remove #include "lyx_gui_misc.h".
10424
10425         * LaTeX.C: added #include <cstdio>
10426
10427 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10430         that the paragraph following this one can have.
10431
10432         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10433
10434         * vspace.C (asLatexCommand): fix bogus gcc warning
10435
10436         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10437
10438 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10439
10440         * text2.C (setLayout): get rid of redundant code
10441
10442 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10443
10444         * text2.C (incDepth): make sure depth cannot be increased beyond
10445         reasonable values.
10446
10447 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10448
10449         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10450         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10451
10452         * PainterBase.h (image):
10453         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10454         a LyXImage const *.
10455
10456 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * BufferView.C:
10459         * BufferView.h:
10460         * BufferView_pimpl.C:
10461         * BufferView_pimpl.h:
10462         * LaTeXFeatures.C:
10463         * LyXAction.C:
10464         * LyXView.C:
10465         * Makefile.am:
10466         * UpdateList.h:
10467         * UpdateList.C:
10468         * buffer.C:
10469         * figure.h:
10470         * figureForm.C:
10471         * figureForm.h:
10472         * figure_form.C:
10473         * figure_form.h:
10474         * lyx_cb.C:
10475         * lyx_gui.C:
10476         * lyx_gui_misc.C:
10477         * lyxfunc.C:
10478         * sp_base.h:
10479         * sp_ispell.h:
10480         * sp_pspell.h:
10481         * sp_spell.C: remove fig inset, and the crap house of
10482           cards that follows it
10483
10484 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * Makefile.am:
10487         * lyxserver.C:
10488         * os2_defines.h:
10489         * os2_errortable.h:
10490         * nt_defines.h: move .h into support/
10491
10492         * vms_defines.h: remove
10493
10494         * WorkArea.C: add space in debug output
10495
10496         * text2.C:
10497         * paragraph.C:
10498         * buffer.C: add WITH_WARNINGS
10499
10500         * vc-backend.h:
10501         * vc-backend.C:
10502         * bufferlist.C: s/retrive/retrieve/, add docs
10503
10504         * vspace.h:
10505         * vspace.C:
10506         * kbmap.h:
10507         * lyxlength.h:
10508         * lyxgluelength.h:
10509         * length_common.h:
10510         * chset.h:
10511         * chset.C: add docs
10512
10513         * lyxgui.C: add ID to X error handler
10514
10515         * lyxtestclass.c: fix typo
10516
10517 2002-02-26  Juergen Vigna  <jug@sad.it>
10518
10519         * tabular_funcs.C (write_attribute): changed so that some default
10520         attributes are not written at all.
10521         (getTokenValue): set default values before trying to read the
10522         value so we have the return value always set as default if we don't
10523         find the token we search for.
10524
10525         * tabular.C (Write): write bools as bools not as strings!
10526
10527 2002-02-22  Juergen Vigna  <jug@sad.it>
10528
10529         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10530         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10531
10532         * text.C (leftMargin): don't add an indent for paragraphs inside
10533         tabular cells (fix #208).
10534
10535 2002-02-21  José Matos  <jamatos@fep.up.pt>
10536
10537         * tabular.C (docBook): fixed support for long tables.
10538
10539 2002-02-20  Juergen Vigna  <jug@sad.it>
10540
10541         * text2.C (getFont): get the drawing font of the Inset if this
10542         paragraph is inside an inset (only important for InsetERT for now).
10543
10544         * buffer.C (insertErtContents): use new lanugage params in ERT
10545         constructor.
10546
10547         * CutAndPaste.C: commenting out seemingly uneeded code.
10548
10549 2002-02-19  Allan Rae  <rae@lyx.org>
10550
10551         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10552         Iterators might be simple to use but they also get invalidated.
10553         (removeAutoInsets): renamed saved cursor tracking variables and added
10554         some comments to clarify what everything does.
10555
10556 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10557
10558         * Chktex.C:
10559         * LaTeX.C:
10560         * LyXSendto.C:
10561         * converter.C:
10562         * lyx_cb.C:
10563         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10564         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10565
10566         * lyxfunc.C:
10567         * vc-backend.h: remove #include "support/syscall.h"
10568
10569         * LaTeX.C:
10570         * LyXSendto.C:
10571         * converter.C: rearrange #includes in Lars' approved fashion.
10572
10573         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10574         forward declare class Timeout in the header file.
10575
10576         * XFormsView.C: changes due to the above.
10577
10578         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10579         similar to LyXView.
10580
10581         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10582         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10583
10584 2002-02-18  José Matos  <jamatos@fep.up.pt>
10585
10586         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10587         insets contents.
10588
10589 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10590
10591         * a lot of small ws changes
10592         * add a lot of using std::XXX
10593         * use std construcs some places where approp.
10594         * use some exisint stuff from lyxfunctional where approp.
10595         * Make file changes to use partial linking (lets test this now...)
10596
10597 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10598
10599         * Chktex.C:
10600         * buffer.C:
10601         remove #include "support/syscontr.h" as it's redundant. Always has been.
10602
10603         * Chktex.C:
10604         * LaTeX.C:
10605         * LyXSendto.C:
10606         * converter.C:
10607         * lyx_cb.C:
10608         * vc-backend.C:
10609         change Systemcalls::System to Systemcalls::Wait and
10610         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10611         No change of functionality, just reflects the stripped down Systemcalls
10612         class.
10613
10614 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10615
10616         * debug.[Ch]: add a GRAPHICS type to the enum.
10617
10618 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10621
10622         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10623         there is an inset.
10624
10625 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10628         match the changes below.
10629
10630         * text2.C (toggleInset): if there is not editable inset at cursor
10631         position, try to see if cursor is _inside_ a collapsable inset
10632         and close it.
10633
10634 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10635
10636         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10637         document menu has a nice checkbox
10638
10639 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10640
10641         * lyxlength.C (asLatexString): change PW to output as percent of
10642         \textwidth.
10643
10644         * lengthcommon.C: change '%' to 't%'
10645
10646         * lyxfunc.C (dispatch): a few comments from Martin
10647
10648 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * WorkArea.h:
10651         * WorkArea.C:
10652         * BufferView_pimpl.h:
10653         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10654           the X selection.
10655
10656 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * vspace.C (inPixels): fix compiler warning
10659
10660 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * lyxfunc.C (getStatus): fix status message for disabled commands.
10663
10664 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * BufferView_pimpl.C: fix crash on close buffer
10667         during selection (#227)
10668
10669 2002-01-27  Herbert Voss  <voss@lyx.org>
10670
10671         * buffer.C: link old Figure to new graphic inset
10672
10673 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10674
10675         * FontLoader.C (getFontinfo): Change the latex font names in order
10676         to match the names of type1inst.
10677
10678 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10679
10680         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10681
10682         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10683         (extchanged): ditto
10684         (ext_exist): ditto
10685         (remove_files_with_extension): ditto
10686         (remove_file): ditto
10687         (write): ditto
10688
10689         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10690         document is smaller than the work area height. Do not initialize
10691         static variables to 0.
10692
10693 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10696
10697         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10698         LFUN_LAYOUT_PARAGRAPHS.
10699
10700         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10701         tabular. It is possible to provide a possible cell, which will
10702         typically be the actcell from the corresponding insettabular
10703
10704         * lyxfunc.C (getStatus): small cleanup; disable
10705         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10706         true
10707
10708 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10711
10712         * paragraph.C (startTeXParParams):
10713         (endTeXParParams): new methods. The LaTeX code to
10714         start/end paragraph formatting
10715         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10716         empty (fixes bug #200)
10717
10718         * vspace.C (inPixels): adapt to the change below
10719         (inPixels): [later] more cleanups (remove unused variables)
10720
10721         * lyxlength.C (inPixels): change to use a width and a height as
10722         parameter.
10723
10724 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10727         Replaced with \paperwidth
10728
10729         * DepTable.C (insert): add std:: qualifier
10730
10731 2002-01-18  Allan Rae  <rae@lyx.org>
10732
10733         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10734         updated also?
10735
10736         * text.C (drawInset): Turned out I didn't know enough about how
10737         rebreaking worked.  This fixes most of the redraw problems.  I see
10738         an occasional cursor trail when a line is broken now and the cursor
10739         placement can seem out by a few pixels also after a rebreak.
10740
10741 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10742
10743         * buffer.C (parseSingleLyXformat2Token): update because minipage
10744         width is now a LyXLength
10745
10746         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10747
10748         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10749         math insets
10750
10751 2002-01-17  Juergen Vigna  <jug@sad.it>
10752
10753         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10754
10755         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10756         is set correctly and the inset is updated correctly.
10757
10758 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10759
10760         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10761         the beginning of the loop.
10762
10763 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * lyxrc.C: improve help for use_scalable_fonts
10766
10767 2002-01-17  Allan Rae  <rae@lyx.org>
10768
10769         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10770
10771 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10774         make sure to set their inset_owner to the right value (bug #171)
10775
10776 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10777
10778         * DepTable.h
10779         * DepTable.C: Implement mtime checking to reduce time spent doing
10780         CRCs.
10781
10782 2002-01-16  Juergen Vigna  <jug@sad.it>
10783
10784         * tabular.C (GetAdditionalHeight): one of error fixed.
10785
10786         * lyxrc.C (output): small fix in writing use_pspell.
10787
10788 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10789
10790         * sp_base.h: #include LString.h
10791
10792 2002-01-16  Allan Rae  <rae@lyx.org>
10793
10794         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10795         Can someone check this please?
10796
10797         * text.C (drawInset): It was possible that p.row would be removed by
10798         breakAgainOneRow upsetting a few other settings.  There may be another
10799         small tweak possible by setting need_break_row = 0 when p.row has been
10800         removed but I don't know enough about the logic here.
10801
10802 2002-01-15  Allan Rae  <rae@lyx.org>
10803
10804         * text.C (insertChar): removed conditional truism.
10805
10806         * BufferView2.C (removeAutoInsets): More tweaks.
10807         cur_par_prev could be a stray pointer.  Check for trailing empty line
10808         in case last line was cur_par and only had an error inset on it.
10809
10810 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10813         absolute
10814
10815         * vc-backend.C (most methods):
10816         * exporter.C (Export):
10817         * converter.C (convert):
10818         (runLaTeX):
10819         * LyXSendto.C (SendtoApplyCB):
10820         * lyxfunc.C (dispatch):
10821         (menuNew):
10822         (open):
10823         (doImport):
10824         * lyx_cb.C (AutoSave):
10825         (InsertAsciiFile):
10826         * BufferView_pimpl.C (MenuInsertLyXFile):
10827         * buffer.C (runChktex): use Buffer::filePath().
10828
10829         * buffer.h: rename filename to filename_; rename filepath to
10830         filepath_ and make it private
10831         (filePath): new method
10832
10833         * buffer.C (writeFile): use fileName()
10834         (getLatexName):
10835
10836         * lyx_main.C (init): fix starting  of LyX when the binary is a
10837         link from so,ewhere else.
10838
10839         * minibuffer.C: include <cctype> for isprint
10840
10841 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10842
10843         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10844         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10845         name clash with InsetCollapsable's width function.
10846
10847 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10848
10849         * lastfiles.C: include <iterator>
10850
10851 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10852
10853         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10854         std::count.
10855
10856         * buffer.C (makeLaTeXFile): ditto.
10857         Also make loop operation more transparent.
10858
10859 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10860
10861         * ToolbarDefaults.C: remove trailing comma closing namespace.
10862
10863         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10864
10865         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10866         as in WorkArea.
10867
10868         * trans.C (Load): comment out unused variable, allowed.
10869
10870 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10871
10872         * minibuffer.[Ch] (append_char): new method to recieve input from the
10873         drop-down completion browser. If a key was pressed, then recieve this
10874         char and append it to the existing string.
10875         (peek_event): modify the positioning data passed to the completion
10876         browser so that it can be placed above the minibuffer rather than below.
10877 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * LyXAction.C (init): alloe error-next for readonly documents.
10880
10881         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10882         count.
10883
10884 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10885
10886         * bufferlist.C (readFile): create the buffer _after_ checking that
10887         the file exists.
10888
10889         * lyxfunc.C (verboseDispatch): fix handling of arguments
10890
10891         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10892
10893         * lyxrc.C: use string::erase() instead of initializing to "".
10894
10895
10896 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * BufferView_pimpl.h:
10899         * BufferView_pimpl.C:
10900         * WorkArea.h:
10901         * WorkArea.C:
10902         * text2.C: tell X when we have made a selection for copying
10903
10904 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * BufferView_pimpl.C (MenuInsertLyXFile):
10907         * lyxfunc.C (menuNew):
10908         (open):
10909         (doImport): add shortcuts to directory buttons
10910
10911         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10912         open a float)
10913
10914         * lyxfunc.C (setStatusMessage):
10915         (getStatusMessage): new methods
10916         (getStatus):use setStatusMessage instead of setErrorMessage
10917         (dispatch): when function is disabled, set error message here
10918         [instead of in getStatus previously]
10919
10920         * BufferView_pimpl.C (workAreaButtonRelease): update
10921         toolbar/menubar here too.
10922
10923 2002-01-13  Allan Rae  <rae@lyx.org>
10924
10925         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10926         Now seems indestructible.  Remaining task is to audit all other
10927         code affected by deleteEmptyParagraphMechanism.  One small quirk
10928         left is that an empty document with an error in the preamble can
10929         be made to report an error but no error box appears.  I don't know
10930         where it goes.
10931         (removeAutoInsets): Improved comments.
10932
10933 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * Thesaurus.h:
10936         * Thesaurus.C: update for Aiksaurus 0.14
10937
10938 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * text2.C (firstParagraph): removed member function, all uses
10941         replaces with ownerParagraph
10942         (redoParagraphs): here
10943         (updateInset): here
10944         (toggleAppendix): here
10945         * BufferView2.C (insertErrors): here
10946         (setCursorFromRow): here
10947
10948 2002-01-13  Allan Rae  <rae@lyx.org>
10949
10950         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10951         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10952         There is still a way to segfault this although you may have to do this
10953         multiple times: Have an InsetERT with an unknown command in it.
10954         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10955         <down-arrow>, <Enter> again, View->DVI, BANG!
10956
10957         * text2.C (setCursor):
10958         (deleteEmptyParagraphMechanism):
10959         * lyxtext.h (setCursor):
10960         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10961         Making use of the return value may help fix other bugs.
10962
10963 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10966
10967         * LyXView.C (updateMenubar): call MenuBar::update here
10968         (updateToolbar): but not here
10969         (showState): do not update toolbar/menubar
10970
10971         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10972         should need to care about that.
10973
10974         * lyxfunc.C (verboseDispatch): simplify a bit
10975         (getStatus): have a version which takes a pseudoaction, and
10976         another which requires a (kb_action,string).
10977
10978         * LyXAction.C (retrieveActionArg): make it work also when action
10979         is not a pseudo-action.
10980         (getActionName): simplify a bit
10981         (helpText):
10982
10983 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10984
10985         * lyxfunc.C (verboseDispatch): new families of methods with
10986         several ways to specify a command and a bool to indicate whether
10987         the command name and shortcut should be displayed in minibuffer
10988         (eventually, we could extend that to a finer bitmask like
10989         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10990         (dispatch): the pristine dispatch command which just, well,
10991         dispatchs! Note it still sets its result to minibuffer; I'm not
10992         sure we want that.
10993
10994         * lyxfunc.h: remove setHintMessage
10995
10996         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10997
10998 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10999
11000         * BufferView_pimpl.C (specialChar): delete new inset if we have
11001         not been able to insert it.
11002
11003         * kbmap.C: revert to using int instead of kb_action, since all we
11004         are dealing with is pseudo-actions.
11005
11006         * LyXAction.C (searchActionArg): change to return int instead of
11007         kb_action, since the result is a pseudoaction.
11008
11009 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11010
11011         * buffer.C (insertErtContents): Fix (partially) the font bug.
11012
11013 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11014
11015         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11016         as the other one is broken on my machine!
11017
11018 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11019
11020         * commandtags.h:
11021         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11022
11023 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11026         reflect their actual use. Provide compatibility code for older lyxrc
11027         files.
11028
11029         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11030         FL_NORMAL_STYLE.
11031         change names of popup font variables in line with the changes to lyxrc.C
11032
11033 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * buffer.C (asciiParagraph): avoid outputing a word twice after
11036         an inset.
11037
11038         * lyxrc.C (getDescription): document that document_path and
11039         template_path can be empty.
11040
11041 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * LaTeXFeatures.C (getMacros):
11044         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11045
11046         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11047
11048         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11049         getPackages.
11050         (getPackages): rename feature "floats" to "float". Use an array to
11051         iterate over 'simple' features (i.e. just a \usepackage). Add
11052         handling of "amsmath" (renamed from "amsstyle").
11053
11054 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11055
11056         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11057         features list.
11058
11059 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11060
11061         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11062         FuncStaus::FuncStatus & FuncStaus::some_method().
11063
11064 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11065
11066         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11067         of the func_satus stuff. Edited and massaged in various ways by
11068         JMarc.
11069
11070         * lyxfunc.C (getStatus): use FuncStatus
11071
11072 2002-01-08  Juergen Vigna  <jug@sad.it>
11073
11074         * text.C (nextBreakPoint): use function Inset::isChar().
11075
11076         * paragraph.C (TeXOnePar): use function
11077         Inset::forceDefaultParagraphs.
11078
11079         * buffer.C (latexParagraphs): use function
11080         Inset::forceDefaultParagraphs.
11081
11082 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * lyx_gui.C (init): set the style of the menu popups to
11085         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11086
11087 2002-01-07  Juergen Vigna  <jug@sad.it>
11088
11089         * text.C (setHeightOfRow): small fix
11090         (prepareToPrint): don't look at alignment if we don't have the place
11091         for doing it.
11092
11093 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * box.C: New file. Move the Box methods and functions out of box.h,
11096         following Lars' suggestion.
11097
11098 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * box.h: #include "support/LOstream.h", needed for inlined function.
11101
11102         * lyxtextclass.C:
11103         * lyxtextclasslist.C: added some using std declarations.
11104
11105 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * box.h: make signed dimensions to allow insets wider than
11108           the screen (bug #162)
11109
11110         * BufferView_pimpl.C: add some insetHit debug
11111
11112 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * vc-backend.C: add FIXME
11115
11116 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * lyxfunc.C (getStatus): enable code for showing math font status
11119         in toolbar/menu.
11120
11121 2002-01-07  Juergen Vigna  <jug@sad.it>
11122
11123         * text.C (nextBreakPoint): removed debug output not needed anymore.
11124
11125 2002-01-06  Juergen Vigna  <jug@sad.it>
11126
11127         * text.C (nextBreakPoint): fixed up this function we had this bug
11128         since ever but now hopefully we break row better.
11129         (insertChar): we have to check if an inset is the next char as it
11130         could now happen that a large inset is causing a break.
11131
11132 2002-01-05  Juergen Vigna  <jug@sad.it>
11133
11134         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11135         if it doesn't like to be drawed.
11136
11137 2002-01-04  Juergen Vigna  <jug@sad.it>
11138
11139         * BufferView2.C (lockInset): forgot to set a cursor.
11140
11141         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11142
11143 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11144
11145         * FormMathsPanel.C:
11146         * FormMathsPanel.h
11147         * MathsSymbols.C:
11148         * form_maths_panel.C:
11149         * form_maths_panel.h:
11150         * form_maths_panel.fd: implemented sub- and super- buttons in math
11151         panel.
11152
11153         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11154         (or ^ space) to be used as in TeX (req'd by André).
11155
11156         * lyxfunc.C: Allow ^ and _ again to be used both as
11157         super/subscript (mathed) and as themselves (in text).
11158
11159 2002-01-03  Allan Rae  <rae@lyx.org>
11160
11161         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11162         "LyX" or the filename of the current buffer if it has one.  This is a
11163         modified form of John Levon's patch.
11164
11165         * XFormsView.C (setWindowTitle): also set icon title.
11166
11167         * LyXView.h (setWindowTitle): signature changed.
11168         * XFormsView.h (setWindowTitle): ditto.
11169
11170 2002-01-02  Juergen Vigna  <jug@sad.it>
11171
11172         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11173
11174 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * screen.C (topCursorVisible): introduce a temp var for
11177         text->cursor.row(), handle the case where this row is null. (kindo
11178         hachish)
11179
11180         * text2.C (setCursor): add a couple of asserts.
11181
11182         * paragraph.h (inset_iterator): add -> operator
11183
11184         * paragraph.[Ch] (autoDeleteInsets): remove member function
11185
11186         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11187         cursor pos correctly and handle inset deletion by itself.
11188         (insertErrors): move iterator declaration out of for expression
11189
11190         * lyxtextclass.C: add <algorithm>
11191
11192         * Makefile.am: added the new files to sources, removed layout.C
11193
11194         * layout.C: removed file
11195
11196         * layout.h: remove LYX_DUMMY_LAYOUT
11197
11198         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11199         layout.
11200
11201         * lyxlayout.[Ch]:
11202         * lyxtextclass.[Ch]:
11203         * lyxtextclasslist.[Ch]: new files
11204
11205         * include order changes to a lot of files, also changes because of
11206         the six new files.
11207
11208 2001-12-27  Juergen Vigna  <jug@sad.it>
11209
11210         * buffer.C (asciiParagraph): more fixes.
11211
11212         * tabular.C (ascii): make ascii export support export of only the
11213         data separated by a column-delimiter.
11214         (ascii): better support for ascii export.
11215
11216         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11217
11218 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11219
11220         * tabular_funcs.C: use a "using std::getline" instead of the
11221         previous fix from Angus (necessary for cxx + lyxstring)
11222
11223 2001-12-24  Juergen Vigna  <jug@sad.it>
11224
11225         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11226
11227         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11228         problems. First check a minipage also if we have some ert-contents
11229         (not only on par->size(), second set the right depth of the paragraph
11230         on the relink to the root-paragraph-list!
11231
11232         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11233         which then did not anymore update the main paragraphs on undo/redo!
11234
11235 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11238         code. Support all font-changing funcs (even those which are not in
11239         menu currently). Support for reporting font settings in
11240         mathed (disabled until Andre provides a function on mathed's side).
11241
11242         * func_status.h (toggle): small helper function to set toggle
11243         state on a flag.
11244
11245 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11246
11247         * tabular_funcs.C: getline -> std::getline
11248
11249 2001-12-21  Juergen Vigna  <jug@sad.it>
11250
11251         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11252         accessed and could be 0 (I couldn't generate this but it seems
11253         Michael could!).
11254
11255 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11258         * tabular_funcs.h: here and include iosfwd
11259
11260 2001-12-20  Juergen Vigna  <jug@sad.it>
11261
11262         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11263         inside inset but undo_par was.
11264
11265 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11266
11267         * Thesaurus.C: always include <config.h> in sources.
11268
11269         * Painter.h:
11270         * lyxlookup.h:
11271         * box.h: do not include <config.h> in header files
11272
11273         * text.C (paintLastRow): remove unused variable
11274
11275         * text.C (transformChar):
11276         (insertChar):
11277         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11278
11279         * Painter.C (text):
11280         * font.C (width): rewrite to use uppercase() instead of
11281         islower/toupper.
11282
11283         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11284
11285 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * lyxfind.C: clean up of find failure position change
11288
11289 2001-12-20  Juergen Vigna  <jug@sad.it>
11290
11291         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11292
11293         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11294         (TeXRow): added to LaTeX a single tabular row.
11295         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11296         (Latex): simplified and finally good LT-h/f support.
11297         (various_functions): just small adaptions for LT-h/f support.
11298
11299         * tabular_funcs.[hC]: added and moved here all not classfunctions
11300         of LyXTabular.
11301
11302 2001-12-19  Juergen Vigna  <jug@sad.it>
11303
11304         * tabular.[Ch]: better support for longtabular options (not finished
11305         yet!)
11306
11307 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * text.C (paintLastRow): use the label font instead of the font of
11310         the last character to compute the size of *_BOX. This makes more
11311         sense and avoids a crash with empty paragraphs.
11312         Use Painter::rectangle to draw EMPTY_BOX.
11313
11314 2001-12-19  Juergen Vigna  <jug@sad.it>
11315
11316         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11317         the paragraphs if the replaced paragraph is not the first one!
11318         Tried to delete not used paragraphs but does not work yet so for
11319         now it's inside #ifdef's and by default off!
11320
11321 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11322
11323         * MenuBackend.C: include "lyx_main.h" instead of declaring
11324         lastfiles (actually was declared as LastFiles* instead of a
11325         scoped_ptr).
11326
11327 2001-12-17  Juergen Vigna  <jug@sad.it>
11328
11329         * tabular.C (AppendColumn): applied John's fix
11330
11331 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * BufferView.h:
11334         * BufferView.C:
11335         * BufferView_pimpl.h:
11336         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11337
11338         * Makefile.am:
11339         * box.h: new start of class for above
11340
11341         * lyxfunc.C: ignore space-only minibuffer dispatches.
11342           Show the command name when it doesn't exist
11343
11344         * minibuffer.C: don't add empty lines to the history
11345
11346         * minibuffer.C: add a space on dropdown completion
11347
11348 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * text.C: fix line above/below drawing in insets
11351
11352 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * lyxlength.C (LyXLength): Initialize private variables.
11355
11356 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11359         when inserting error insets.
11360
11361 2001-12-13  Juergen Vigna  <jug@sad.it>
11362
11363         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11364         actually sometimes the before-paragraph.
11365         (setUndo): don't clear the redostack if we're not actually undoing!
11366
11367 2001-12-06  Juergen Vigna  <jug@sad.it>
11368
11369         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11370         and fixed redoing of main paragraph, so we can use it now ;)
11371
11372         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11373
11374 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11375
11376         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11377         Juergen's request
11378
11379 2001-12-13  André Pönitz <poenitz@gmx.net>
11380
11381         * undostack.[Ch]:
11382         * undo_func.C: minor cleanup
11383
11384 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11387         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11388         font in urw-fonts package which is marked as -urw-fontspecific and
11389         does not work (incidentally, changing the encoding in the
11390         fonts.dir of this package to -adobe-fontspecific fixes the
11391         problem).
11392
11393         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11394         is a crash when undoing first paragraph (Juergen, please take a
11395         look). THis does not mean the undo fix is wrong, just that it
11396         uncovers problems.
11397
11398         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11399         the (Paragraph*) version when needed instead of duplicating the
11400         code.
11401
11402         * text.C (workWidth): use Inset::parOwner to find out where the
11403         inset has been inserted. This is a huge performance gain for large
11404         documents with lots of insets. If Inset::parOwner is not set, fall
11405         back on the brute force method
11406
11407         * paragraph_pimpl.C (insertInset):
11408         * paragraph.C (Paragraph):
11409         (cutIntoMinibuffer): set parOwner of insets when
11410         inserting/removing them
11411
11412         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11413
11414 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11415
11416         * commandtags.h:
11417         * LyXAction.C:
11418         * lyx_main.C:
11419         * lyxfunc.C:
11420         * mathed/formulabase.C:
11421         * mathed/math_cursor.[Ch]:
11422         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11423
11424
11425 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * lyxlength.[Ch] (operator!=): new function
11428
11429 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * text.C (workWidth): use Inset::parOwner to find out where the
11432         inset has been inserted. This is a huge performance gain for large
11433         documents with lots of insets. If Inset::parOwner is not set, fall
11434         back on the brute force method
11435
11436         * paragraph_pimpl.C (insertInset):
11437         * paragraph.C (Paragraph):
11438         (cutIntoMinibuffer): set parOwner of insets when
11439         inserting/removing them
11440
11441         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11442
11443 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * tabular-old.C (getTokenValue):
11446         * tabular.C (getTokenValue):
11447         (write_attribute): new versions for LyXLength
11448         (everywhere): adjust the use of widths
11449
11450         * tabular.h: change the type of widths from string to LyXLength
11451
11452 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11453
11454         * paragraph.C: fixed missing line number count when exporting
11455         Environments to LaTeX file
11456
11457         * buffer.C: added informational message for checking line numbers.
11458
11459 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11460
11461         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11462         paragraph, do the 'double space' part, but not the 'empty
11463         paragraph' one.
11464
11465         * text.C (workWidth): small optimization
11466         (getLengthMarkerHeight): use minimal size for negative lengths.
11467
11468 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11471
11472         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11473
11474 2001-12-11  André Pönitz <poenitz@gmx.net>
11475
11476         * FontLoader.C:
11477         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11478
11479 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * text2.C: keep selection on a setFont()
11482
11483 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * lyx_cb.C: another bv->text misuse, from insert label
11486
11487 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11488
11489         * kbsequence.h:
11490         * kbsequence.C: re-instate nmodifier mask
11491
11492 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11493
11494         * lyx_main.h: make lyxGUI private.
11495
11496 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxfind.C: place the cursor correctly on failed search
11499
11500 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11501
11502         * text.C (getLengthMarkerHeight): for small heights, the arrows
11503         are not always on top/bottom of the text
11504         (drawLengthMarker): smaller arrows; take the left margin in
11505         account; draw also vfills.
11506         (paintFirstRow):
11507         (paintLastRow): remove special code for vfill and standard spaces,
11508         since everything is handled in drawLengthMarker now.
11509
11510 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * buffer.C (insertErtContents): try to handle font and language
11513         interaction a bit better.g
11514
11515         * ColorHandler.C (updateColor): change the hash to cover the whole
11516         LColor enum, ws cleanup
11517         (getGCLinepars): ditto
11518         (getGCLinepars): only lookup in the linecache once.
11519
11520 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11521
11522         * iterators.C (operator++): Make the iterator more robust
11523
11524         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11525         (John's patch)
11526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11527
11528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * lyxtext.h:
11531         * text.C: better added space drawing
11532
11533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * LyXView.C:
11536         * BufferView2.C: fix layout combo update on inset unlock
11537
11538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * Makefile.am: don't compile unused files
11541
11542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * lyxfunc.C:
11545         * commandtags.h:
11546         * LyXAction.C: remove old LFUN_LAYOUTNO
11547
11548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * paragraph_pimpl.h:
11551         * paragraph_pimpl.C: isTextAt() doesn't need font param
11552
11553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * lyxlex.h:
11556         * lyxlex.C: little cleanup
11557
11558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * BufferView_pimpl.C: fix insertAscii for insets
11561
11562 2001-12-05  Juergen Vigna  <jug@sad.it>
11563
11564         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11565         set the right font on the "multi" paragraph paste!
11566
11567 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * trans_decl.h:
11570         * trans_mgr.[Ch]:
11571         * trans.[Ch]:
11572         * lyxgluelength.C:
11573         * lyxlength.C: remove out-commented code.
11574
11575         * BufferView_pimpl:
11576         * CutAndPaste.C:
11577         * DepTable.C:
11578         * buffer.C:
11579         * chset.C:
11580         * lastfiles.C:
11581         * lyxlex.C:
11582         * lyxlex_pimpl.C:
11583         * lyxserver.C:
11584         * screen.C:
11585         * tabular-old.C:
11586         * tabular.C:
11587         * text.C:
11588         * trans_mgr.C:
11589         * vc-backend.C: change "while(" to "while ("
11590
11591         * lyxlength.[Ch]: add zero function to check if length is zero or
11592         not
11593         * lyxgluelength.C: use it
11594
11595 2001-12-05  Allan Rae  <rae@lyx.org>
11596
11597         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11598         Works for 2.95.3, from what I understand of Garst's reports this should
11599         work for other g++ versions.  We're screwed if the abs(int) definition
11600         changed between bugfix releases of gcc.
11601
11602 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * text.C: fix chapter label offset !
11605
11606 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * lyxtext.h:
11609         * text.C: fix hfill at end of line, clean up
11610
11611 2001-12-04  Juergen Vigna  <jug@sad.it>
11612
11613         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11614         that we force an update of the inset and it's owners if neccessary.
11615
11616 2001-12-03  Juergen Vigna  <jug@sad.it>
11617
11618         * text.C (rowLast): simplified code
11619
11620 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * lyxfunc.C: fix show options on timeout
11623
11624 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11625
11626         * screen.C (topCursorVisible): scroll half a page when the cursor
11627         reached top of bottom of screen
11628
11629 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * minibuffer.C: deactivate on loss of focus
11632
11633 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11634
11635         * vspace.[Ch] (operator!=): add operator.
11636
11637 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * BufferView_pimpl.C: refuse to open an inset when
11640         there's a selection.
11641
11642 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * BufferView_pimpl.C: allow to click on RHS of full row insets
11645
11646 2001-11-30  Juergen Vigna  <jug@sad.it>
11647
11648         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11649         insets for undo reasons.
11650
11651 2001-11-28  André Pönitz <poenitz@gmx.net>
11652
11653         * vspace.[Ch]: cosmetical changes
11654
11655 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * LyXAction.h:
11658         * LyXAction.C:
11659         * lyxfunc.h:
11660         * lyxfunc.C:
11661         * kbmap.h:
11662         * kbmap.C:
11663         * lyxrc.C:
11664         * kbsequence.h:
11665         * kbsequence.C: part re-write of old kb code
11666
11667         * Painter.C:
11668         * WorkArea.C: remove Lgb_bug_find_hack
11669
11670 2001-11-30  José Matos <jamatos@fep.up.pt>
11671
11672         * buffer.C (makeDocBookFile): add a comment to point a hack.
11673         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11674         Fixed a double write of labels.
11675
11676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11677
11678         * LaTeX.C:
11679         * LaTeX.h Fixed bug in LaTeX class where it would not
11680         re-run latex if no depfiles were changed, but the .dvi was removed.
11681
11682 2001-11-28  André Pönitz <poenitz@gmx.net>
11683
11684         * all the files from the change on 2001/11/26:
11685         use lyx::layout_type instead of LyXTextClass::size_type
11686         use lyx::textclass_type instead of LyXTextClassList::size_type
11687
11688 2001-11-29  Juergen Vigna  <jug@sad.it>
11689
11690         * text.C: added support for paragraph::isFreeSpacing()
11691
11692         * buffer.C: same as above
11693
11694         * paragraph.h: inserted isFreeSpacing() function to enable
11695         FreeSpacing inside InsetERT.
11696
11697         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11698         of the paragraph's in the cut/copy buffer to 0!
11699
11700         * text2.C (removeRow): remove the assert as it can!
11701
11702         * lyxtext.h: added helper function firstRow returning firstrow and
11703         made firstrow private again.
11704
11705         * BufferView2.C (lockInset): don't relock if we're already locked!
11706
11707         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11708         the only paragraph.
11709         (removeRow): added Assert::(firstrow)
11710
11711         * debug.C: forgot to add INSETTEXT here.
11712
11713 2001-11-28  Juergen Vigna  <jug@sad.it>
11714
11715         * sp_spell.C (initialize): changed error text to more general
11716         spellchecker command use (not only ispell!)
11717
11718         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11719
11720         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11721
11722 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * vspace.C: initialise lyxgluelength on failure
11725
11726 2001-11-28  Allan Rae  <rae@lyx.org>
11727
11728         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11729         declaration & definition that looks like a function declaration.
11730
11731 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * BufferView2.C (copy):
11734         (copyEnvironment): do not clear the selection when doing a copy.
11735
11736         * text.C (paintFirstRow): compilation fix
11737
11738 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11739
11740         * tabular.C (Latex): correct line count when writing latex.
11741
11742 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * paragraph_pimpl.h:
11745         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11746           bug a bit
11747
11748 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11749
11750         * text.C:
11751         * LColor.h:
11752         * LColor.C: change vfillline->added_space
11753
11754         * text.C: add markers and text for added space
11755
11756         * vspace.C: fix comment
11757
11758 2001-11-28  André Pönitz <poenitz@gmx.net>
11759
11760         * paragraph.C: whitespace changes
11761         * all the other files from the change on 2001/11/26:
11762         change *::pos_type into lyx::pos_type
11763
11764 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11765
11766         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11767         language of the document when inserting error insets.
11768
11769 2001-11-26  André Pönitz <poenitz@gmx.net>
11770
11771         * BufferView_pimpl.[Ch]:
11772         *       CutAndPaste.C:
11773         * buffer.[Ch]:
11774         * lyxcursor.[Ch]:
11775         * lyxfind.C:
11776         * lyxfunc.C:
11777         * lyxrow.[Ch]:
11778         * paragraph.[Ch]:
11779         * paragraph_pimpl.[Ch]:
11780         * sp_spell.C:
11781         * text.C:
11782         * text2.C: reduce header dependencies, introduce type for positions
11783
11784 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * <various>: change to use Alert.h
11787
11788 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11791         when encountering an unknown token.
11792         (readLyXformat2): Show an error message if there were unknown tokens.
11793
11794 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * BufferView2.C:
11797         * BufferView_pimpl.C:
11798         * buffer.C:
11799         * paragraph.h:
11800         * text.C:
11801         * text2.C: use par->isInset()
11802
11803 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * paragraph_pimpl.h:
11806         * paragraph_pimpl.C: cleanup
11807
11808 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11809
11810         * text2.C (removeRow):
11811         * text.C (setHeightOfRow): remove useless (and costly) call to
11812         getRow.
11813
11814 2001-11-20  Allan Rae  <rae@lyx.org>
11815
11816         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11817         Now need Inset*::checkInsertChar() to return true for appropriate
11818         cases so that the characters in the minibuffer will actually be
11819         inserted.
11820
11821 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * text.C: change the order of the includes.
11824         (workWidth): initialize it at once.
11825         (workWidth): make maxw unsigned
11826         (setHeightOfRow): remove unused variable (inset)
11827         (selectSelectedWord): remove unused variable (inset)
11828         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11829
11830 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11833         server is not running.
11834         (openConnection):
11835         (closeConnection): add debug info when server is disabled.
11836
11837         * ColorHandler.C (getGCForeground): send debug message to GUI
11838         channel.
11839
11840         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11841
11842         * kbmap.C (bind): modify because return conventions of
11843         kb_sequence::parse have changed.
11844
11845         * kbsequence.C (parse): only ignore spaces and not any stupid
11846         control character. This avoids tests like s[i] <= ' ', which are
11847         guaranteed to fail with 8bit characters and signed chars.
11848         Change return code to string::npos when there have been no error
11849         (0 was a bad idea when error is at first character)
11850
11851 2001-11-14  José Matos  <jamatos@fep.up.pt>
11852
11853         * buffer.h:
11854         * buffer.C (simpleDocBookOnePar): removed unused argument.
11855
11856 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11857
11858         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11859         insets which are part of a word. Paragraph::isLetter takes care of
11860         that now. Use Paragraph::isInset to identify insets.
11861         (selectSelectedWord): do not test for hyphenation break.
11862
11863         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11864         that protected spaces are considered as spaces.
11865
11866         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11867         Inset::isLetter.
11868
11869 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * lyxserver.h:
11872         * lyxserver.C: fix it. and small cleanup.
11873
11874 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * BufferView_pimpl.C: use inline helpers
11877
11878         * LaTeXFeatures.h:
11879         * LaTeXFeatures.C: fix typos
11880
11881         * Spacing.h:
11882         * Spacing.C: move spacing_string into class
11883
11884         * ToolbarDefaults.C: move stuff into namespace anon
11885
11886         * layout.h: update enum
11887
11888         * lyxfunc.C: use better debug
11889
11890         * minibuffer.h: fix typo
11891
11892         * debug.h:
11893         * debug.C:
11894         * WorkArea.C: add and use Debug::WORKAREA
11895
11896         * lyxtext.h:
11897         * text.C:
11898         * text2.C: code re-organisation, inline helpers
11899
11900 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11901
11902         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11903         std::vector.empty().
11904
11905 2001-11-09  Allan Rae  <rae@lyx.org>
11906
11907         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11908         '\n's after tables.  Tabular and ERT inset work now makes this no
11909         longer necessary.
11910
11911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * minibuffer.h:
11914         * minibuffer.C: fix crash, improve drop-down completion
11915
11916 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * lyxserver.h:
11919         * lyxserver.C: invalidate fd's when doing endPipe()
11920
11921 2001-11-08  José Matos  <jamatos@fep.up.pt>
11922
11923         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11924         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11925
11926         * paragraph.h:
11927         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11928
11929 2001-11-07  José Matos  <jamatos@fep.up.pt>
11930
11931         * buffer.h:
11932         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11933         const qualifier.
11934
11935         * buffer.C (sgmlOpenTag):
11936         * buffer.C (sgmlCloseTag): removed debug info.
11937
11938         * buffer.h (sgmlOpenTag):
11939         * buffer.h (sgmlCloseTag): made public.
11940
11941 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * buffer.C (saveParamsAsDefaults):
11944         * lyx_cb.C (MenuLayoutSave): remove
11945
11946         * LyXAction.C (init):
11947         * commandtags.h:
11948         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11949
11950 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11951
11952         * buffer.C (setPaperStuff): removed from here...
11953
11954         * bufferparams.C (setPaperStuff): ... and moved there.
11955
11956 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * minibuffer.h:
11959         * minibuffer.C:
11960         * XFormsView.C: add support for drop-down completion
11961
11962 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11963
11964         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11965         commands.
11966
11967 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11968
11969         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11970         disabled.
11971
11972 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * lyx_main.C: change ref to known bugs
11975
11976 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11977
11978         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11979         to work around older babel problems.
11980
11981 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11982
11983         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11984
11985 2001-10-24  Juergen Vigna  <jug@sad.it>
11986
11987         * tabular-old.C (ReadOld): below variable changes reflected.
11988
11989         * tabular.[Ch]: added ltType struct for longtable header/footer
11990         defines and changed all instances where they are used. Added
11991         future support for double top/bottom rows.
11992
11993 2001-10-24  José Matos  <jamatos@fep.up.pt>
11994
11995         * buffer.h (docbookHandleCaption):
11996         * buffer.C (docbookHandleCaption): removed unused function.
11997         (makeDocBookFile): moved docbook supported version to v4.1.
11998
11999 2001-10-24  José Matos  <jamatos@fep.up.pt>
12000
12001         * tabular.h:
12002         * tabular.C (docbookRow): new function to export docbook code of a row.
12003         (DocBook): now honors the longtable flags.
12004
12005 2001-10-23  José Matos  <jamatos@fep.up.pt>
12006
12007         * LaTeXFeatures.h:
12008         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12009         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12010
12011         * buffer.C (makeLinuxDocFile):
12012         (makeDocBookFile): reworked the preamble, more clean, and with
12013         support for lyx defined entities. Changed the document declaration
12014         to be more XML friendly.
12015
12016         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12017         if we need to output XML that should be done with a filter.
12018
12019 2001-10-22  Juergen Vigna  <jug@sad.it>
12020
12021         * sp_pspell.h (class PSpell): add alive function needed in the
12022         controller to see if the spellchecker could be started.
12023
12024 2001-10-22  Juergen Vigna  <jug@sad.it>
12025
12026         * buffer.C (insertStringAsLines): modify the font for inserting
12027         chars in certain conditions by calling checkInsertChar(font).
12028
12029 2001-10-19  Juergen Vigna  <jug@sad.it>
12030
12031         * text.C (workWidth): use getRow instead of wrong algorithm.
12032         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12033
12034 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxserver.h:
12037         * lyxserver.C:
12038         * lyx_main.h:
12039         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12040
12041 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * text.C (workWidth): do not search for the exact row when
12044         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12045         optimization for big documents.
12046
12047 2001-10-18  Juergen Vigna  <jug@sad.it>
12048
12049         * text.C (workWidth): new function with added Inset * parameter.
12050
12051 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12054
12055         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12056         change return type of getColumnNearX.
12057
12058
12059         * text.C (changeRegionCase): use uppercase/lowercase instead of
12060         toupper/tolower.
12061         (leftMargin):
12062         (rightMargin): simplify code by factoring out the uses of
12063         textclasslist.
12064         (labelFill):
12065         (numberOfHfills):
12066         (setHeightOfRow):
12067         (appendParagraph): use Paragraph::size_type
12068
12069 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12070
12071         * vspace.C (asLatexString): add a missing break
12072
12073 2001-10-15  Herbert Voss  <voss@perce.de>
12074
12075         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12076
12077 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12078
12079         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12080         is not available.
12081
12082 2001-10-10  André Pönitz <poenitz@gmx.net>
12083
12084         * lyxfunc.C: removed greek_kb_flag.
12085
12086 2001-10-10  Herbert Voss  <voss@perce.de>
12087
12088         * lyx_main.C: delete global string help_lyxdir.
12089
12090 2001-10-09  Herbert Voss  <voss@perce.de>
12091
12092         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12093
12094         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12095
12096         * lyx_main.C: added global string help_lyxdir.
12097
12098         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12099
12100 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12101
12102         * lyxrc.C (set_font_norm_type): support iso8859-4
12103
12104 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12105
12106         * LaTeX.C (deplog): add another regex for MikTeX
12107
12108 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12109
12110         * lyxrc.C (set_font_norm_type): support iso8859-3
12111
12112 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12113
12114         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12115
12116         * LaTeXFeatures.C: remove special case of french and index
12117
12118         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12119         before \begin{document}). This solves several incompatibilities.
12120
12121 2001-10-03  Garst Reese  <reese@isn.net>
12122
12123         * lyx_cb.C: change CheckTex error msg.
12124
12125 2001-10-03  José Matos  <jamatos@fep.up.pt>
12126
12127         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12128
12129 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * .cvsignore: update
12132
12133         * lyx_main.C (commandLineVersionInfo): use new style version info.
12134
12135         * buffer.C (writeFile):
12136         (makeLaTeXFile):
12137         (makeLinuxDocFile):
12138         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12139
12140         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12141
12142         * version.h: update to use stuff in version.C
12143
12144         * version.C.in: new file. Contains version information determined
12145         at compile time. This is a merging of version.h and
12146         version_info.h.in.
12147
12148 2001-10-03  Juergen Vigna  <jug@sad.it>
12149
12150         * BufferView_pimpl.C (update): don't change "dirty" status in
12151         updateInset call.
12152
12153 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         * WorkArea.C (c-tor): re-position version string slightly.
12156
12157 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12160         revert to previous code.
12161
12162         WorkArea.[Ch]: (show, destroySplash): methods removed.
12163
12164         WorkArea.C: rework code so that it's an amalgam of the codes before and
12165         after the splash screen was moved to WorkArea.
12166
12167 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12168
12169         * lyxrc.C (read):
12170         * vspace.C (inPixels):
12171         (lyx_advance):
12172         * kbmap.C (bind):
12173         * buffer.C (insertStringAsLines):
12174         (asciiParagraph): fix types to be large enough
12175
12176         * lyxlex_pimpl.h: change member status from short to int
12177
12178         * layout.h: fix type of endlabeltype
12179
12180         * kbmap.C (bind):
12181         * kbsequence.C (parse): change return type to string::size_type
12182
12183         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12184         variable
12185
12186         * Bullet.C (bulletSize):
12187         (bulletEntry): do not use short ints as parameters
12188
12189         * BufferView2.C (insertLyXFile): change a char to an int.
12190
12191         * WorkArea.C (WorkArea): remove unneeded floats in computation
12192
12193 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12194
12195         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12196
12197         * paragraph.C (asString): Do not ignore newline/hfill chars when
12198         copying to the clipboard.
12199
12200 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12201
12202         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12203         after a multi-line inset.
12204
12205 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12206
12207         * paragraph.C (validate): Set NeedLyXFootnoteCode
12208
12209 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12210
12211         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12212         and decrease-error to decrease.
12213
12214 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12215
12216         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12217         it more readable (should be equivalent)
12218
12219 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12220
12221         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12222
12223 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12226         of a cursor (row, etc.) after a character has been deleted
12227         (deleteEmptyParagraphMechanism): call the method above on _all_
12228         cursors held by the LyXText when a double space has been
12229         detected/deleted.
12230
12231 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12232
12233         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12234         pixmap.
12235         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12236
12237         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12238         background. Use greyOut() and the new show() methods to toggle between
12239         the foreground and background. Add code to remove the splash after
12240         its initial showing.
12241
12242         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12243         (create_forms): no longer call Dialogs::showSplash.
12244
12245 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12246
12247         * .cvsignore: add version_info.h
12248
12249 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * version_info.h.in: new file
12252
12253         * Makefile.am: add version_info.h.in
12254
12255         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12256         version_info.h instead of VERSION_INFO
12257
12258 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12261         The ERT inset now returns string().
12262
12263 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * lyxtext.h, text.C (selectNextWord): renamed as
12266         selectNextWordToSpellcheck.
12267
12268         * text.C (selectNextWordToSpellcheck): Modified to not select
12269         words inside an ERT inset.
12270
12271 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12272
12273         * lyx_cb.C (MenuLayoutSave): change a bit the question
12274
12275         * sp_base.h: include <sys/types.h>
12276
12277 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12278
12279         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12280
12281 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12282
12283         * several files: fix typos in user-visible strings
12284
12285 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * text2.C (pasteSelection): do not set the selection, since it
12288         will be cleared later. Actually, the intent was to fix the way the
12289         selection was set, but I figured rmoving the code was just as good.
12290
12291 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12292
12293         * FontLoader.C (available): Check if font is available without
12294         loading the font.
12295
12296 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12297
12298         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12299
12300 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12301
12302         * lyxrc.[Ch]: added display_graphics variable and associated code.
12303
12304 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12305
12306         * bufferparams.C (hasClassDefaults): new method. Returns true if
12307         the buffer parameters correspond to known class defaults
12308
12309 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12310
12311         * XFormsView.C (show): set minimum size to the main window.
12312
12313 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * text2.C (copySelection):
12316         (cutSelection):
12317         * lyxfind.C (LyXReplace):
12318         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12319         LyXText::selectionAsString.
12320
12321         * paragraph.C (asString): add "label" argument to the second form
12322
12323         * text2.C (selectionAsString): add "label" argument and pass it to
12324         Paragraph::asString.
12325
12326 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * lyx_main.C (commandLineHelp): remove version information
12329
12330 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12331
12332         * lyx_main.C: add -version commandline option
12333
12334 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * paragraph.h: make the optional constructor arg required instead.
12337         some modifications to other files because of this.
12338
12339         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12340
12341         * lyxserver.C (C_LyXComm_callback): make it static
12342
12343         * lyx_main.C (error_handler): make it static
12344
12345         * lyx_gui.C (LyX_XErrHandler): make it static
12346
12347         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12348
12349         * WorkArea.C: make the extern "C" methods static.
12350
12351         * Makefile.am (lyx_LDADD): simplify
12352
12353 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12354
12355         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12356         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12357
12358         * LyXAction.C (init):
12359         * lyxfunc.C (dispatch): associated code removal.
12360
12361 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * lyxfont.h (isSymbolFont): shut off warning
12364
12365         * text.C (setHeightOfRow):
12366         (getVisibleRow): fix crash with empty paragraphs which have a
12367         bottom line
12368
12369 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12370
12371         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12372         code.
12373
12374 2001-09-04  José Matos  <jamatos@fep.up.pt>
12375         * buffer.C
12376         * buffer.h
12377         * tabular.C (docbook): rename docBook method to docbook.
12378
12379 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * Makefile.am: add dependencies to main.o.
12382
12383 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12384
12385         * FontLoader.C (available): Return false if !lyxrc.use_gui
12386
12387 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12388
12389         * FontInfo.C (query):
12390         * converter.C (view):
12391         * importer.C (Import):
12392         * exporter.C (Export): Can not -> cannot.
12393
12394 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * BufferView_pimpl.C: allow to create index inset even if
12397           string is empty
12398
12399 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * buffer.C (getLists): replace boost::tie code with an explicit pair
12402         as boost::tie can break some compilers.
12403
12404         * iterators.h: Added a std:: declaration to the return type of
12405         ParIterator::size.
12406
12407 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12410           case.
12411
12412 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12413
12414         * iterators.[Ch]: New files. Provide paragraph iterators.
12415
12416         * buffer.C (changeLanguage): Use paragraph iterators.
12417         (isMultiLingual): ditto
12418
12419         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12420
12421 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12422
12423         * FontLoader.C: Support for cmr font.
12424
12425 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12428         (available): New method.
12429
12430         * FontInfo.C (getFontname): Use scalable fonts even when
12431         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12432         found.
12433
12434 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * converter.C (Formats::view): reverted! Incorrect fix.
12437
12438 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12439
12440         * converter.C (Formats::view): only output the -paper option
12441         if the dvi viewer is xdvi, thereby fixing bug #233429.
12442
12443 2001-08-23  Herbert Voss  <voss@perce>
12444
12445         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12446
12447 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12448
12449         * Spacing.h (Spacing): Set space to Default on in the default
12450         constructor.
12451
12452 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * vc-backend.h (RCS::versionString): add RCS to version
12455         (CVS::versionString): add CVS to version
12456
12457         * vc-backend.C (scanMaster): do not add CVS to version.
12458         (scanMaster): do not add RCS to version
12459
12460         * lyxvc.C (versionString): new method
12461
12462         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12463
12464 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * Spacing.C (set): initialize fval
12467
12468 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12469
12470         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12471         " or \.
12472
12473 2001-08-16  Juergen Vigna  <jug@sad.it>
12474
12475         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12476
12477 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView_pimpl.C:
12480         * figureForm.C:
12481         * lyxtext.h:
12482         * text2.C: setParagraph takes linespacing now
12483
12484 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * LyxAction.C: add internal LFUN_CITATION_INSERT
12487
12488         * LyXView.C: actually apply fix
12489
12490         * bufferlist.C: fix open non-existent file
12491
12492         * lyxfind.C: fix indentation
12493
12494         * lyxfunc.C: remove unneeded assert, fix typo
12495
12496 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * MenuBackend.C: use "Floatname List"
12499
12500 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12501
12502         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12503         when converting LaTeX layout to insetERT.
12504         Generate a non-collapsed float when reading old float
12505
12506 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12507
12508         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12509         ERT insets.
12510
12511 2001-08-13  Juergen Vigna  <jug@sad.it>
12512
12513         * text.C (fill): return 0 instead of 20 as this seems to be the more
12514         correct value.
12515
12516 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12517
12518         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12519         lyxrc.font_norm.
12520
12521 2001-08-13  Juergen Vigna  <jug@sad.it>
12522
12523         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12524         casesensitive off.
12525         (SearchBackward): comment out the unlocking of the inset_owner this
12526         should not be needed!
12527
12528 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * Many files: Remove inherit_language, and add latex_language
12531
12532         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12533         collapsible insets.
12534
12535 2001-08-10  Juergen Vigna  <jug@sad.it>
12536
12537         * text.C (prepareToPrint): fixed hfill-width in draw!
12538
12539         * BufferView2.C (selectLastWord): save the selection cursor as this
12540         now is cleared in the function LyXText::clearSelection!
12541
12542 2001-08-08  Juergen Vigna  <jug@sad.it>
12543
12544         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12545         BACKSPACE type functions.
12546
12547         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12548         is only cutted from the document but not put in the cut-buffer, where
12549         still the old stuff should be.
12550
12551         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12552
12553         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12554
12555         * tabular.C (SetWidthOfCell): fixed special case where the width
12556         was not updated!
12557         (LeftLine): handle '|' in align_special.
12558         (RightLine): ditto
12559         (LeftAlreadyDrawed): ditto
12560         (SetWidthOfCell): ditto
12561
12562 2001-08-07  Juergen Vigna  <jug@sad.it>
12563
12564         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12565
12566 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12569         * lyxlex.[hC]: ditto
12570
12571 2001-08-06  Juergen Vigna  <jug@sad.it>
12572
12573         * text.C (getVisibleRow): fix up row clearing a bit.
12574
12575 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * minibuffer.C: make sure the X server sees the changes in the input.
12578
12579 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * paragraph.C (getFont): split into...
12582         (getLabelFont): this
12583         (getLayoutFont): and this
12584         * paragraph_pimpl.C (realizeFont): calling this
12585
12586         * text2.C (getFont): split into...
12587         (getLayoutFont): this
12588         (getLabelFont): and this
12589         (realizeFont): all three calling this
12590
12591         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12592         files where used.
12593
12594 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12595
12596         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12597
12598 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12599
12600         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12601         layouts from the Quote inset insertion.
12602
12603 2001-08-03  Juergen Vigna  <jug@sad.it>
12604
12605         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12606
12607         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12608         only if status not is already CHANGED_IN_DRAW (second level).
12609
12610         * text.C (draw): don't set the need_break_row when inside an
12611         InsetText LyXText.
12612
12613 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * buffer.C (parseSingleLyXformat2Token): handle more latex
12616         conversion cases.
12617
12618         * bufferview_funcs.[hC]: change function names to
12619         begin with small char, adjust other files.
12620
12621 2001-08-02  André Pönitz <poenitz@gmx.net>
12622
12623         * lyxfunc.C:
12624         BufferView_pimpl.C: remove broken special code for math-greek
12625
12626 2001-08-02  Juergen Vigna  <jug@sad.it>
12627
12628         * BufferView_pimpl.C (update): redone this function so that we
12629         update the text again if there was a CHANGE_IN_DRAW.
12630
12631         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12632         (drawFromTo): added a new internal bool which is used by draw() and
12633         redraw() function.
12634         (general): some cursor drawing problems fixed.
12635
12636 2001-08-01  Juergen Vigna  <jug@sad.it>
12637
12638         * lyxfind.C (LyXFind): fixed
12639         (SearchForward): ditto
12640         (SearchBackward): ditto
12641
12642         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12643         spurius drawing of the cursor in the main area.
12644
12645         * text2.C (status): small fix which could lead to a segfault!
12646         (clearSelection): remove unneeded BufferView param.
12647
12648 2001-08-01  André Pönitz <poenitz@gmx.net>
12649
12650         * lyxfunc.C: small change due to changed mathed interface
12651
12652 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12655
12656 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * lyxfunc.c: fail gracefully if file doesn't exist
12659
12660         * LyXSendto.C:
12661         * buffer.C:
12662         * lyxfunc.C:
12663         * BufferView_pimpl.C: IsDirWriteable() proto changed
12664
12665         * LyXView.C: fix updateWindowTitle() to store the last title
12666
12667 2001-07-31  Juergen Vigna  <jug@sad.it>
12668
12669         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12670         the font (wrong since using of Paragraph::highestFontInRange).
12671
12672         * paragraph.C (highestFontInRange): added a default_size parameter.
12673
12674         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12675         (setHeightOfRow): reformat
12676
12677 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * converter.[hC] + affected files: move to (inital-char)lowercase
12680         function names.
12681
12682         * ParagraphParameters.C (ParagraphParameters): remove commented code
12683
12684         * PainterBase.[Ch]: remove commented code
12685
12686         * LaTeXFeatures.h: add "bool floats" for float.sty
12687
12688         * LaTeXFeatures.C (LaTeXFeatures): init floats
12689         (require): handle float
12690         (getPackages): do it with floats
12691
12692 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * BufferView_pimpl.C (Dispatch): improve handling of
12695         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12696
12697         * commandtags.h: #include lyxfont.h here temporarily to avoid
12698         keybinding bug.
12699
12700         * bufferlist.h: include LString.h here.
12701
12702 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12703
12704         * text2.C (getStringToIndex): new method.
12705
12706 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12707
12708         * *: Reduced header file dependencies all over.
12709
12710 2001-07-30  Baruch Even  <baruch@lyx.org>
12711
12712         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12713
12714 2001-07-29  Baruch Even  <baruch@lyx.org>
12715
12716         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12717
12718 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * ParameterStruct.h (endif): add a default constructor to make
12721         sure that all variables is initialized.
12722
12723         * ParagraphParameters.C (ParagraphParameters): adjust
12724
12725 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12726
12727         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12728         index; also, check that there is something to index, and that it
12729         does not span over several paragraphs.
12730         (doubleClick): use WHOLE_WORD_STRICT for double click.
12731
12732         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12733
12734         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12735         scheme.
12736
12737 2001-07-26  Baruch Even  <baruch@lyx.org>
12738
12739         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12740         an InsetFig figure, backwards compatible reading of old figure code.
12741
12742 2001-07-27  Juergen Vigna  <jug@sad.it>
12743
12744         * text2.C: font.realize function adaption.
12745
12746         * text.C (draw): add a warnings lyxerr text if needed.
12747
12748         * layout.C: font.realize function adaption.
12749
12750         * language.C: add inherit_language and implement it's handlings
12751
12752         * bufferview_funcs.C (StyleReset): remove language parameter from
12753         font creation (should be language_inherit now).
12754
12755         * bufferparams.C (writeFile): handle ignore_language.
12756
12757         * paragraph.C (getFontSettings): the language has to be resolved
12758         otherwise we have problems in LyXFont!
12759
12760         * lyxfont.C (lyxWriteChanges): added document_language parameter
12761         (update): removed unneeded language parameter
12762
12763         * paragraph.C (validate): fixed wrong output of color-package when
12764         using interface colors for certain fonts in certain environments,
12765         which should not seen as that on the final output.
12766
12767 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * BufferView_pimpl.C:
12770         * Thesaurus.h:
12771         * Thesaurus.C:
12772         * Makefile.am:
12773         * commandtags.h:
12774         * LyXAction.C: add thesaurus support
12775
12776         * lyxfind.h:
12777         * lyxfind.C: add "once" parameter, for thesaurus, to not
12778           move to the next match
12779
12780 2001-07-26  Juergen Vigna  <jug@sad.it>
12781
12782         * lyxfont.C (realize): honor ignore_language too!
12783         (resolved): ditto.
12784
12785         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12786
12787         * text.C (draw): one place more for ignore_language to not draw
12788         itself!
12789
12790 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12793
12794 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12797         the minipage conversion problem.
12798
12799 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12802         insert an inset.
12803
12804 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * BufferView.h: don't forward declare WorkArea
12807
12808         * BufferView.C: don't include WorkArea.h
12809
12810 2001-07-25  André Pönitz <poenitz@gmx.net>
12811
12812         * commandtags.h:
12813         * LyXAction.C:
12814         * lyxfunc.C:  new LFUN 'math-space'
12815
12816         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12817
12818 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * text2.C (toggleInset): call open/close
12821
12822 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * lyxfunc.C (dispatch): add debug for the disabled case
12825
12826         * font.C (buttonText): make similar to rectText
12827
12828         * buffer.C (readInset): comment out parsing of insetlist and
12829         insttheorem
12830
12831         * PainterBase.C (rectText): small correction
12832
12833         * BufferView_pimpl.C: comment out insettheorem and insetlist
12834         * LyXAction.C: ditto
12835         * commandtags.h: ditto
12836
12837 2001-07-24  Juergen Vigna  <jug@sad.it>
12838
12839         * text.C (draw): honor the ignore_language.
12840
12841         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12842
12843 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12846         char inset.
12847
12848 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12849
12850         * lyxtext.h: remove unused (and unimplemented) methods
12851
12852 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12853
12854         * text.C (getVisibleRow): honor background color
12855
12856         * PainterBase.h:
12857         * Painter.h: remove default color argument for fillRectangle
12858
12859         * text.C (backgroundColor): new method
12860
12861 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * text.C (getVisibleRow): adjust
12864
12865         * font.[Ch] (rectText): new method, metrics
12866         (buttonText): new method, metrics
12867
12868         * PainterBase.[hC]: make rectText and buttonText always draw and take
12869         fewer paramteres.
12870
12871 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12872
12873         * ToolbarDefaults.C (read):
12874         * MenuBackend.C (read): allow escaping in all strings
12875
12876         * BufferView_pimpl.C (insertAndEditInset): new method.
12877         (Dispatch): use insertAndEditInset whenever appropriate.
12878
12879         * BufferView_pimpl.C (insertNote): removed
12880
12881         * BufferView_pimpl.C (smartQuote): new method, moved from
12882         BufferView; if an insetquote cannot be inserted, insert a '"'
12883         character instead.
12884
12885         * BufferView2.C: remove insertCorrectQuote();
12886
12887         * lyxfunc.C (getStatus): Add support for all remaingin
12888         inset-insert lfuns.
12889
12890         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12891
12892         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12893         command (necessary to pass " as parameter of self-insert.
12894
12895         * text.C (selectWordWhenUnderCursor):
12896         (selectWord): add word_location parameter
12897         (selectWordWhenUnderCursor): same + remove special code for word
12898         boundary.
12899         (selectNextWord): use kind() to guess type of insetspecialchar,
12900         not latex().
12901
12902         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12903         (insertErtContents): create ert insets as collapsed.
12904         (readInset): better compatibility code for Info inset.
12905
12906 2001-07-20  Juergen Vigna  <jug@sad.it>
12907
12908         * lyxfunc.C (dispatch): use always LyXFind now!
12909
12910         * text2.C (init): add a reinit flag so that the LyXText can be
12911         reinited instead of deleted and reallocated (used in InsetText).
12912
12913         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12914
12915         * text.C: ditto
12916
12917         * text2.C: ditto
12918
12919 2001-07-18  Juergen Vigna  <jug@sad.it>
12920
12921         * text.C (selectNextWord): handle insets inside inset by calling
12922         always the bv->text functions so that we can go up the_locking_inset!
12923
12924         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12925         in strange locations when inside an inset!
12926
12927         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12928         handling to include insets.
12929
12930         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12931
12932 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * LyXAction.C (init):
12935         * commandtags.h:
12936         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12937         LIGATURE_BREAK, since the name is so stupid.
12938
12939 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12940
12941         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12942         InsetInfos.
12943
12944         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12945
12946         * sp_form.[Ch]: remove.
12947
12948         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12949
12950         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12951         InsetInfo.
12952
12953         * src/buffer.C (readInset): ditto.
12954
12955 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12956
12957         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12958         menuSeparator(), endOfSentenceDot(), ldots() and
12959         hyphenationPoint(), which are therefore removed.
12960         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12961
12962         * LyXAction.C (init):
12963         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12964
12965         * paragraph.C (getWord): removed.
12966
12967         * BufferView_pimpl.C (Dispatch): use last word or selection for
12968         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12969
12970         * lyx_main.C (queryUserLyXDir): do not ask before creating
12971         user_dir, except if it has been named explicitely.
12972
12973 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12974
12975         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12976         a document of zero size.
12977
12978 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12981         approriately in the c-tor and in require().
12982         (getPackages): output the appropriate LaTeX for natbib support.
12983
12984         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12985         variables "use_natbib" and "use_numerical_citations" when reading the
12986         LyX file.
12987         (readInset): read the various natbib cite commands.
12988         (validate): white-space change.
12989
12990         * bufferparams.[Ch]: new variables "bool use_natbib" and
12991         "bool use_numerical_citations".
12992         (writeFile): output them in the LyX file.
12993
12994 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12995
12996         * lyxfunc.C (getStatus): add support for all the inset insertion
12997         commands.
12998
12999         * text2.C (insertInset):
13000         * paragraph.C (insetAllowed):
13001         * BufferView_pimpl.C (insertInset): update to take in account the
13002         renaming of insertInsetAllowed
13003
13004         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13005
13006         * text2.C (getInset): new method. returns inset at cursor position.
13007
13008         * BufferView_pimpl.C (Dispatch): changes because of this.
13009
13010         * LyXAction.C (init): rename open-stuff to inset-toggle.
13011
13012         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13013
13014         * text2.C (toggleInset): renamed from openStuff; use
13015         Inset::open().
13016
13017 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13018
13019         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13020
13021         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13022
13023 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13024
13025         * buffer.C (readLyXformat2): Add filename to the error dialog
13026
13027 2001-07-18  Juergen Vigna  <jug@sad.it>
13028
13029         * tabular.C (GetCellNumber): put an assert here instead of the check!
13030
13031 2001-07-17  Juergen Vigna  <jug@sad.it>
13032
13033         * BufferView_pimpl.C (toggleSelection): adapted too.
13034
13035         * text.C (selectNextWord): adapted for use with insets.
13036         (selectSelectedWord): ditto
13037
13038 2001-07-17  Juergen Vigna  <jug@sad.it>
13039
13040         * sp_spell.C (PSpell): fix initialitation order.
13041
13042 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * paragraph.C: spacing
13045
13046 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13047
13048         * sp_spell.C: repair language selection for pspell
13049
13050 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13051
13052         * lyxfunc.h: change more methods to begin with lower char.
13053
13054 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13055
13056         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13057         for unknown layouts.
13058
13059 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13060
13061         * buffer.C (readLyXformat2): Generate an error dialog if there are
13062         unknown layouts.
13063
13064 2001-07-16  Juergen Vigna  <jug@sad.it>
13065
13066         * sp_spell.C: always compile ISpell part.
13067
13068         * lyxrc.C: added use_pspell entry and it's handling.
13069
13070 2001-07-13  Juergen Vigna  <jug@sad.it>
13071
13072         * sp_spell.C: removed double includes.
13073
13074 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13075
13076         Consistent use of Lsstream.h:
13077         * Lsstream.h: added using std::stringstream for consistencies sake.
13078
13079         * buffer.C: removed using std::stringstream
13080
13081         * lyxfont.C (stateText):
13082         * paragraph.C (asString):
13083         * text.C (selectNextWord, selectSelectedWord):
13084         * text2.C (setCounter):
13085         * vspace.C (asString, asLatexString):
13086         std::ostringstream -> ostringstream.
13087
13088 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13089
13090         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13091         * commandtags.h: add LFUN_HELP_ABOUTLYX
13092         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13093
13094 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13095
13096         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13097         cursorToggle()
13098         * lyx_gui_misc.C: remove spellchecker
13099         * lyxfunc.C: showSpellchecker
13100         * sp_base.h: added
13101         * sp_ispell.h: added
13102         * sp_pspell.h: added
13103         * sp_spell.C: added
13104         * sp_form.[Ch]: removed
13105         * spellchecker.[Ch]: removed
13106
13107 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13108
13109         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13110         is set.
13111         (simpleTeXSpecialChars): Simply print the input character without
13112         any special translation if pass_thru is set.
13113
13114         * layout.h: Added bool pass_thru to layout class for being able to
13115         implement pass through of a paragraph for Literate Programming.
13116
13117         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13118         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13119         * layout.C (Read): add "passthru" to list of layout tags and add
13120         code to set the pass_thru boolean when it is read.
13121
13122 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * trans_decl.h: remove allowed from KmodInfo
13125
13126         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13127         remove allowed code
13128         (Load): adjust
13129
13130         * paragraph_pimpl.C (erase): use boost::prior
13131
13132         * Painter.C (text): use data() instead of c_str() when length is
13133         also provided.
13134         * WorkArea.C (putClipboard): ditto
13135         * font.h (width): ditto
13136
13137         * BufferView2.C: use it-> instead of (*it). for iterators
13138         * texrow.C: ditto
13139         * paragraph_pimpl.C: ditto
13140         * paragraph.C: ditto
13141         * minibuffer.C: ditto
13142         * language.C: ditto
13143         * kbmap.C: ditto
13144         * encoding.C: ditto
13145         * counters.C: ditto
13146         * converter.C: ditto
13147         * chset.C: ditto
13148         * Variables.C: ditto
13149         * TextCache.C: ditto
13150         * MenuBackend.C: ditto
13151         * LyXAction.C: ditto
13152         * LColor.C: ditto
13153         * FloatList.C: ditto
13154         * DepTable.C: ditto
13155         * ColorHandler.C (LyXColorHandler): ditto
13156
13157 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13160
13161         * text2.C (openStuff): reintroduce this method (which had been
13162         nuked in NEW_INSETS frenzy).
13163
13164         * lyxfunc.C (Dispatch): when an action has not been handled, use
13165         its name in the error message, not its number.
13166
13167         * paragraph.C (inInset): change method name to begin with lowercase.
13168
13169         * undo_funcs.C:
13170         * text2.C: updates because of this.
13171
13172 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13173
13174         * ToolbarDefaults.C (add): add spaces in error message
13175
13176 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13179         (readLyXformat2): rename return_par to first_par, use lyxlex's
13180         pushToken and remove the manual push handling.
13181         (parseSingleLyXformat2Token): add another ert comp. variable:
13182         in_tabular, rename return_par to first_par. handle newlines better
13183
13184 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13187
13188 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13189
13190         * text2.C (getParFromID): removed
13191
13192         * buffer.C (getParFromID): new method moved form lyxtext.
13193         * BufferView2.C (insertErrors): adjust
13194         (setCursorFromRow): adjust
13195         * BufferView_pimpl.C (restorePosition): adjust
13196         * lyxfunc.C (Dispatch): adjust
13197         * undo_funcs.C (textUndo): adjust
13198         (textRedo): adjust
13199         (textHandleUndo): adjust
13200         (textHandleUndo): adjust
13201
13202 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * buffer.C: up' the LYX_FORMAT
13205
13206         * lyxfont.h: turn NO_LATEX on as default
13207
13208         * buffer.C (insertErtContents): new methods of tex style compability.
13209         (parseSingleLyXformat2Token): use it several places.
13210         * tabular.C (OldFormatRead): and here
13211
13212 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * text2.C: remove some commented code.
13215         reindent file.
13216
13217         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13218         * trans.C: changes because of the above.
13219
13220 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * text2.C (setCounter): Fix counters bug with bibliography layout.
13223
13224 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13227         own member functions
13228         (simpleTeXSpecialChars): ditto
13229
13230 2001-07-06  Juergen Vigna  <jug@sad.it>
13231
13232         * a lot of files: changed the access to LyXText::status and the
13233         call of undo-functions.
13234
13235         * undo.[Ch]: added a inset_id to the undo informations.
13236
13237         * undo_funcs.[Ch]: added and moved here all undo functions.
13238
13239         * lyxtext.h: give the status enum a weight, made status_ a private
13240         variable and made accessor functions for it, removed the whole bunch
13241         of undo-functions as they are now in their own file, make some
13242         functions publically available. Added function ownerParagraph with
13243         int parameter.
13244
13245         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13246         made InInset() a const function, added getParFromID() function.
13247
13248         * buffer.[Ch]: added const version for inset_iterator functions,
13249         added getInsetFromID() function.
13250
13251         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13252         changed undo functions for new version.
13253
13254 2001-07-05  Juergen Vigna  <jug@sad.it>
13255
13256         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13257         unknow mechanism does not call the proper constructor but only this
13258         one also if I request the other!?
13259
13260 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13263
13264         * text2.C (LyXText): use initialization lists.
13265
13266         * lyxtext.h (Selection): initialize set_ and mark_
13267         (init): remove method
13268
13269 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13270
13271         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13272
13273 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * screen.[Ch]: change method names to begin with lowercase
13276
13277         * BufferView_pimpl.C (updateScrollbar): simplify further and
13278         hopefully make it a bit faster.
13279
13280 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13283         calling directly xforms functions.
13284
13285         * Painter.C (Painter):
13286         * lyx_cb.C (MenuWrite):
13287         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13288         fl_display.
13289
13290         * lyx_gui.C: remove bogus guiruntime extern declaration.
13291
13292 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13295         in NEW_INSETS
13296         (redoDrawingOfParagraph): ditto
13297         (redoParagraphs): ditto
13298         (cutSelection): don't create a object for CutAndPaste use the
13299         static method directly
13300         (pasteSelection): ditto
13301
13302         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13303         LyXview (+ rename)
13304
13305 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * modifications to some other files because of this.
13308
13309         * Makefile.am (lyx_SOURCES): add XFormsView
13310
13311         * XFormsView.[Ch]: new files
13312
13313         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13314         the main window. Move the gui dependent stuff to XFormsView
13315
13316 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * tabular.C (GetCellInset): update cur_cell also in the row/col
13319         version of this function.
13320
13321         * lyxfunc.C: no need to include figure_form.h here.
13322
13323         * FontLoader.h:
13324         * lyxfunc.h:
13325         * lyxscreen.h:
13326         * text2.C:
13327         * lyxvc.C: no need to include forms.h here.
13328
13329 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13332
13333         * lyxfunc.C (Dispatch):
13334         * Spacing.C (set):
13335         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13336         constructor argument.
13337
13338 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * paragraph.C (Paragraph): dont't clear, and just set layout.
13341         (makeSameLayout): use params's copy contructor.
13342
13343         * ParagraphParameters.[Ch] (makeSame): delete method
13344
13345 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * Variables.[Ch]: fix indentation, rename set to isSet
13348
13349 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * lyxfunc.C (Dispatch): fix typo
13352
13353 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13356         upper_bound.
13357
13358         * bufferlist.C: include assert.h for emergencyWrite().
13359
13360 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13363           give up at last (bug #425202) !
13364
13365 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13366
13367         * lyx_gui_misc.C:
13368         * sp_form.h:
13369         * sp_form.C:
13370         * spellchecker.h:
13371         * spellchecker.C: strip spellchecker options and bring up
13372           preferences tab instead
13373
13374 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13377         the istringstream constructor
13378
13379 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * paragraph.C (getLayout): fix return value
13382
13383         * paragraph.h: do not declare getLayout as inline.
13384
13385         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13386
13387 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * lyxcursor.h (operator<): new func
13390         (operator>): new func
13391         (operator>=): new func
13392         (operator<=): new func
13393
13394         * text.C (changeCase): use selection.start and selection.end
13395         (changeRegionCase): require from to be <= to. Require par to be a
13396         valid paragraph.
13397
13398         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13399
13400 2001-06-27  Juergen Vigna  <jug@sad.it>
13401
13402         * text.C (cursorLeftOneWord): changed to return the cursor and added
13403         overlay with BufferView * parameter which calls this one.
13404         (getWord): added
13405         (selectWord): use new getWord function.
13406         (changeCase): renamed from changeWordCase as and extended to work
13407         also on selections.
13408
13409         * lyxtext.h: added enum word_location
13410
13411         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13412         changeCase as this operates now also on selections.
13413
13414 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13415
13416         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13417
13418         * many files: send debug output to Debug::INFO instead of
13419         Debug::ANY.
13420
13421         * converter.C (View):
13422         (Convert):
13423         (Move): send debug output to Debug::FILES instead of console.
13424
13425 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13426
13427         * lyxfunc.C (getStatus): use func_status
13428
13429         * func_status.h: new header, describing the results of
13430         LyXFunc::getStatus;
13431
13432         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13433         LFUN_MATH_HALIGN.
13434
13435 2001-06-25  The LyX Project  <jug@sad.it>
13436
13437         * buffer.C (sgmlOpenTag):
13438         (sgmlCloseTag):
13439         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13440
13441 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * text2.C: remove some dead code
13444
13445         * tabular.C (GetCellInset): store the last cell checked (gotten)
13446
13447         * tabular.h: add the helper for the speedup
13448
13449         * lyxtext.h: remove some dead code
13450
13451 2001-06-26  The LyX Project  <Asger>
13452
13453         * paragraph.C: Change export to LaTeX of alignment to
13454         \begin{center} and family for better roundtrip work with reLyX.
13455
13456         * Tune the math drawing a bit.
13457
13458 2001-06-25  The LyX Project  <Asger>
13459
13460         * LColor.C (LColor): New color for math background. New color
13461         for buttons.
13462
13463 2001-06-25  The LyX Project  <jug@sad.it>
13464
13465         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13466
13467         * lyxfunc.C (Open):
13468         * bufferlist.C (newFile): do not restrict to files ending with
13469         .lyx
13470
13471         * BufferView_pimpl.C (MenuInsertLyXFile):
13472
13473 2001-06-24  The LyX Project  <jug@sad.it>
13474
13475         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13476         of compare_no_case
13477
13478 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * lyxtext.h: rename most methods to begin with a small char.
13481         Lots of changes because of this.
13482
13483         * paragraph.C (Paragraph): do not call fitToSize
13484         (erase): call Pimpl::erase
13485         (insertChar): call Pimpl::insertChar
13486         (insertInset): call Pipl::insertInset
13487         (breakParagraph): do not call fitToSize
13488         (breakParagraphConservative): do not call fitToSize
13489         (fitToSize): remove method
13490
13491         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13492
13493 2001-06-24  The LyX Project  <Asger>
13494
13495         * Fix Qt compilation^2
13496
13497 2001-06-24  The LyX Project  <jug@sad.it>
13498
13499         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13500         depthHook(getDepth()-1).
13501
13502         * paragraph.h:
13503         * ParagraphParameters.h:
13504         * ParameterStruct.h: change type of depth to unsigned int ==
13505         depth_type. Many adaptations to other files before of that.
13506
13507 2001-06-24  The LyX Project  <Asger>
13508
13509         * Fix Qt compilation.
13510
13511 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * paragraph.h: renamed several methods to begin with small letter.
13514         several changes to many parts of the code because of this.
13515
13516 2001-06-23  The LyX Project  <jug@sad.it>
13517
13518         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13519         rewritten to discard all double spaces when KeepEmpty is off
13520         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13521         to only handle newlines but not fiddle with spaces and friends.
13522
13523         * lyxfunc.C (MenuNew): when doing 'new from template', use
13524         template_path as default directory
13525
13526 2001-06-23  The LyX Project  <Asger>
13527
13528         * Clean-up of header file includes all over
13529         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13530
13531 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * paragraph.h: renamed from lyxparagraph.h
13534
13535 2001-06-23  Asger  <lyx@violet.home.sad.it>
13536
13537         * Buffer.h: Removed Buffer::resize
13538         * BufferList.h: Removed BufferList::resize
13539         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13540         the document lazily when we change the width, or the font settings.
13541
13542 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13545
13546 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * buffer.h: remove out of date comment
13549
13550 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * lyxscreen.h:
13553         * screen.C: fix "theoretical" GC leak
13554
13555 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * LaTeX.C (scanAuxFile):
13558         (deplog): remove trailing \r when reading stream (useful under
13559         win32)
13560
13561 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13562
13563         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13564         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13565         and BufferView::theLockingInset(Inset*), so should use them and not
13566         access bv_->text->the_locking_inset directly.
13567
13568         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13569
13570 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * Makefile.am:
13573         * tex-defs.h: remove old unused file
13574
13575 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * BufferView_pimpl.C: fix typo, remove minibuffer message
13578           when buffer has loaded
13579
13580 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * lyxfunc.C (Dispatch): use stringstream
13583         (MenuNew): use stringstream
13584         (Open): use stringstream
13585
13586         * importer.C (Import): use stringstream
13587
13588         * bufferview_funcs.C (CurrentState): use stringstream
13589
13590         * LaTeX.C (run): use stringstream
13591
13592         * BufferView_pimpl.C (savePosition): use stringstream
13593         (restorePosition): use stringstream
13594         (MenuInsertLyXFile): use stringstream
13595
13596 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * BufferView.C:
13599         * Bullet.C:
13600         * ColorHandler.C:
13601         * FontInfo.C:
13602         * FontLoader.C:
13603         * LColor.C:
13604         * LaTeXFeatures.C:
13605         * Painter.C:
13606         * gettext.C:
13607         * lyx_gui_misc.C:
13608         * lyxserver.C:
13609         * vspace.C: removed // -*- C++ -*- as first line.
13610
13611         * lyxfind.h:
13612         * version.h: added // -*- C++ -*- as first line.
13613
13614 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13617
13618         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13619         of string
13620
13621 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13624         of floats.
13625
13626 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13627
13628         * gettext.C: include LString.h even when --disable-nls is on.
13629
13630 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13631
13632         * converter.h (Get): changed argument type from int to
13633         FormatList::size_type to avoid unnecessary conversion.
13634
13635         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13636         before using it.
13637
13638 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13639
13640         * gettext.h: include LString.h even when --disable-nls is on.
13641
13642 2001-06-07  Juergen Vigna  <jug@sad.it>
13643
13644         * text.C (BreakAgain): subst spaces with tabs.
13645
13646         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13647         (resizeInsetsLyXText): set force on resizeLyXText.
13648
13649 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * gettext.h (gettext_init):
13652         (locale_init): use a real definition instead of a macro
13653
13654 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * Bufferview_pimpl.C:
13657         * LColor.h:
13658         * LColor.C: further lcolor tidies
13659
13660 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * BufferView_pimpl.C (updateScrollbar): simplify.
13663
13664         * BufferView2.C: don't include insets/insetinfo.h, change
13665         prototype for insertInset and call the Pimpl version. let
13666         updateInset call Pimpl version.
13667
13668         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13669         gotoInset to BufferView::Pimpl
13670
13671 2001-06-01  Juergen Vigna  <jug@sad.it>
13672
13673         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13674         inside a LockingInset (is the update needed at all?).
13675
13676 2001-05-31  Juergen Vigna  <jug@sad.it>
13677
13678         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13679         here not the old one otherwise how should we compare it afterwards
13680         if it's the same!
13681
13682 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * lyxfont.C:
13685         * tabular.C:
13686         * tabular-old.C:
13687         * FontInfo.C: bring C functions into global namespace when
13688         necessary
13689
13690 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * LString.h: make sure config.h has been loaded before LString.h.
13693
13694         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13695         (one for each char read by EatLine!).
13696
13697         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13698         variables.
13699
13700 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13703         to the same as the par we break from
13704
13705 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13706
13707         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13708
13709         * MenuBackend.C (expand): also create menu entries for wide
13710         versions of the floats.
13711
13712         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13713
13714         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13715
13716         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13717         frontends/Makefile.am
13718
13719         * text2.C: adjust
13720         * text.C: adjust
13721
13722
13723         * tabular.C (getTokenValue): add std::
13724
13725         * tabular-old.C (getTokenValue): add std::
13726         (getTokenValue): ditto
13727         (getTokenValue): ditto
13728
13729         * screen.C (ToggleSelection): adjust
13730
13731         * lyxtext.h: put selection cursors inside a Selection struct.
13732
13733         * lyxfunc.C (moveCursorUpdate): adjust
13734
13735         * lyxfont.C (latexWriteStartChanges): add std::
13736
13737         * lyxfind.C: adjust
13738
13739         * font.h: delete with(char const *, LyXFont const &)
13740
13741         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13742
13743         * FontInfo.C (getFontname): add std::
13744
13745         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13746         (workAreaButtonPress): adjust
13747         (tripleClick): adjust
13748         (update): adjust
13749         (moveCursorUpdate): adjust
13750         (Dispatch): adjust
13751
13752         * BufferView2.C (gotoInset): adjust
13753
13754 2001-05-30  Juergen Vigna  <jug@sad.it>
13755
13756         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13757         to check pspell I add this as default as I now have new pspell
13758         libraries and they seem to use this.
13759
13760 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * text2.C (CutSelection): make the cursor valid before the call to
13763         ClearSelection.
13764
13765 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13768         relied on 0 terminated strings and other horrors. Bug found due to
13769         the new assert in lyxstring!
13770
13771         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13772         KP_ keys.
13773
13774 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13777         to latinkeys.bind.
13778
13779         * lyxfunc.C (processKeySym): change method of getting to the
13780         self-insert char.
13781
13782         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13783         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13784         * BufferView_pimpl.[Ch]: here as private methods.
13785
13786 2001-05-28  Juergen Vigna  <jug@sad.it>
13787
13788         * text.C (SetHeightOfRow): added the update() call again as it is
13789         needed to initialize inset dimensions!
13790
13791 2001-05-16  Juergen Vigna  <jug@sad.it>
13792
13793         * text2.C (SetCharFont): Add new function with BufferView * and
13794         bool toggleall parameters for setting insets internal fonts.
13795         (SetFont): Freeze the undo as we may change fonts in Insets and
13796         all this change should be inside only one Undo!
13797
13798         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13799         setting font's in insets as for them we have the SetFont function!
13800
13801 2001-05-15  Juergen Vigna  <jug@sad.it>
13802
13803         * text2.C (ClearSelection): to be sure we REALLY don't have any
13804         selection anymore!
13805
13806         * tabular.C (TeXCellPreamble): fixed the left border problem for
13807         multicolumn cells.
13808
13809 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13812         dependancy file
13813
13814 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13817         LFUN_BREAKPARAGRAPH.
13818
13819         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13820         help test to "internal only", similar for LFUN_INSERT_URL
13821
13822         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13823         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13824         auto_region_delete and deadkeys.
13825
13826 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13827
13828         * LColor.h:
13829         * LColor.C: remove some dead entries, tidy a little
13830
13831 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13834         commented code.
13835         (Dispatch): implement LFUN_ESCAPE
13836
13837         * commandtags.h: add LFUN_ESCAPE
13838
13839         * LyXAction.C (init): add entry for LFUN_ESCAPE
13840
13841         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13842         Remove commented code.
13843         (insertNote): moved here
13844         (open_new_inset): moved here
13845
13846         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13847         BufferView_pimpl
13848
13849 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * kbmap.C (findbinding): clean it up and make it work correctly.
13852
13853         * lyx_main.C (init): do not pass argc and argv as parameters
13854
13855 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13856
13857         * buffer.C: fix path for OS/2 & Win32
13858
13859         * lyx_gui.C:
13860         * lyx_main:
13861         * lyx_main.C: Added os:: class.
13862
13863         * os2_defines.h: update
13864
13865 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13868         better by trying again with reduced state.
13869
13870 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * lyxrc.C (read): print error about invalid key sequence only when
13873         debugging (because not all latinX keysyms are known to some X
13874         servers)
13875
13876         * kbsequence.C (getiso): add a few std:: qualifiers
13877         (getiso): comment out extra return statement.
13878
13879 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13882         handling.
13883         (Dispatch): enhance the accent inset a bit. (not perfect)
13884
13885 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13888
13889 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * bufferlist.C (emergencyWrite): fix assert() call
13892
13893 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13894
13895         * text.C (InsertChar): Added trivial patch to only send the "you
13896         can not do multiple spaces this way" message once during a
13897         session.
13898
13899 2001-05-08  Baruch Even  <baruch@lyx.org>
13900
13901         * Makefile.am: Changed order of libraries to get LyX to link properly
13902         with the gnome frontend.
13903
13904 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * LaTeXFeatures.h: add a std:: qualifier
13907
13908 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * paragraph.C (String): use stringstream
13911
13912 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * paragraph.C (writeFile): remove footflag arg
13915
13916         * buffer.C (makeLaTeXFile): use stringstream
13917         (latexParagraphs): remove footnot gurba
13918
13919         * LaTeXFeatures.C (getPackages): use stringstream
13920         (getMacros): likewise
13921         (getTClassPreamble): likewise
13922         (getFloatDefinitions): new method
13923
13924         * paragraph.C (writeFile): reindent
13925         (Erase): reindent
13926
13927         * WorkArea.h: revert the xpos + etc changes.
13928
13929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13930
13931         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13932
13933         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13934         (pasteSelection): likewise
13935         * text2.C (CreateUndo): likewise
13936
13937 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13938
13939         * minibuffer.C (peek_event): temporarily reduce the functionality
13940         of the minibuffer (to allow args on lfuns)
13941
13942         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13943         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13944
13945         * buffer.C (readInset): add compability reading of old float
13946         lists, add reading of new style float list.
13947         (readInset): avoid reevaluation of inscmd.getCmdName()
13948         (getLists): reindent
13949
13950         * MenuBackend.C (MenuItem): implement parsing of
13951         md_floatlistinsert and md_floatinsert.
13952         (expand::LastFiles): move initalizaton of iterators out of loop,
13953         avoid reevaluation.
13954         (expand::Documents): introduce typdedef vector<string> Strings,
13955         and use it.
13956         (expand::ExportFormats): introduce typedef vector<Format const *>
13957         Formats, and use it.
13958         (expand): implement FloatListInsert and FloatInsert.
13959
13960         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13961         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13962         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13963
13964         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13965         handling.
13966         (Dispatch::LFUN_FLOAT_LIST): implement
13967
13968 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13969
13970         * LaTeX.C (run): Fix problem with --export code.
13971
13972 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * BufferView.[Ch] (workarea): removed.
13975         (getClipboard) new method; wrapper for workarea()->getClipboard()
13976
13977         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13978         bug.
13979
13980         * WorkArea.h (width, height, xpos, ypos): These methods all
13981         returned the dimensions of the work_area sub-area of WorkArea,
13982         resulting in a position error if the WorkArea were resized. Now
13983         return the dimensions of the entire WorkArea.
13984
13985         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13986
13987 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * LaTeX.C (deplog): correct the syntax of regex reg1
13990
13991 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * undo.C: remove !NEW_INSETS cruft
13994
13995 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * text2.C: remove !NEW_INSETS cruft
13998
13999         * text.C: remove !NEW_INSETS cruft
14000
14001         * tabular.C: remove !NEW_INSETS cruft
14002
14003         * spellchecker.C: remove !NEW_INSETS cruft
14004
14005         * lyxtext.h: remove !NEW_INSETS cruft
14006
14007         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14008
14009         * lyxfunc.C: remove !NEW_INSETS cruft
14010
14011         * lyxfind.C: remove !NEW_INSETS cruft
14012
14013         * lyx_cb.C: remove !NEW_INSETS cruft
14014
14015         * figureForm.C: remove  !NEW_INSETS cruft
14016
14017         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14018
14019         * buffer.[Ch]: remove !NEW_INSETS cruft
14020
14021         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14022
14023         * CutAndPaste.C: remove !NEW_INSETS cruft
14024
14025         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14026
14027         * BufferView2.C: remove !NEW_INSETS cruft
14028
14029         * BufferView.h: remove !NEW_INSETS cruft
14030
14031 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14032
14033         * Lsstream.h: include LString.h before the sstream headers to
14034         fix problem with gcc 2.95.3 and lyxstring
14035
14036 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * lyx_main.C: add using directives when needed for C functions
14039         declared in std:: namespace.
14040
14041 2001-04-27  Juergen Vigna  <jug@sad.it>
14042
14043         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14044         (SetHeightOfRow): comment out the update call should not be needed!
14045
14046 2001-04-13  Juergen Vigna  <jug@sad.it>
14047
14048         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14049         (LyXTabular): tried to minimize operator= operations (and realized
14050         hopfully Lars wish).
14051
14052 2001-04-27  Juergen Vigna  <jug@sad.it>
14053
14054         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14055
14056 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14057
14058         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14059
14060         * buffer.C (readInset): hack to make listof algorithm work
14061
14062         * BufferView_pimpl.C: hack to make listof algorithm work
14063
14064 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14065
14066         * LyXAction.C: removed all !NEW_INSETS cruft
14067         (init): moved lfun_item in method
14068
14069         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14070
14071 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14072
14073         * BufferView2.C (theLockingInset): white space.
14074
14075 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * minibuffer.C: include <iostream>
14078
14079         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14080
14081         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14082
14083         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14084
14085         * text.[Ch] (TransposeChars): new method
14086
14087 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14088
14089         * call message directly through LyXView instead of through LyXFunc
14090         * BufferView2.C: adjust
14091         * BufferView_pimpl.C: adjust
14092         * FontLoader.C: adjust
14093         * buffer.C: adjust
14094         * bufferview_funcs.C: adjust
14095         * converter.C: adjust
14096         * figureForm.C: adjust
14097         * importer.C: adjust
14098         * lyx_cb.C: adjust
14099         * lyx_gui_misc.C: adjust
14100         * lyxfunc.C: adjust
14101         * lyxvc.C: adjust
14102         * text2.C: adjust
14103         + more files in subdirs
14104
14105         * lyxparagraph.h (size): move up int file
14106         (GetLayout): ditto
14107
14108         * adjust all uses of Assert to lyx::Assert.
14109
14110         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14111         lyxfunctional in namespace lyx
14112         * layout.C (hasLayout): ditto
14113         (GetLayout): ditto
14114         (GetLayout): ditto
14115         (delete_layout): ditto
14116         (NumberOfClass): ditto
14117         * converter.C (GetFormat): ditto
14118         (GetNumber): ditto
14119         (Add): ditto
14120         (Delete): ditto
14121         (SetViewer): ditto
14122         * bufferlist.C (getFileNames): ditto
14123         (emergencyWriteAll): ditto
14124         (exists): ditto
14125         (getBuffer): ditto
14126         * MenuBackend.C (hasSubmenu): ditto
14127         (hasMenu): ditto
14128         (getMenu): ditto
14129         * BufferView_pimpl.C (getInsetByCode): ditto
14130
14131 2001-04-18  Juergen Vigna  <jug@sad.it>
14132
14133         * vspace.C (asLatexString): fixed the 100% problem.
14134
14135 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * lyxfunc.C (Dispatch):
14138         * minibuffer.C:
14139         * minibuffer.h: add a few std:: qualifiers
14140
14141 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * minibuffer.[Ch]: reimplement so that commands is initiated and
14144         run from lyxfunc, simplified som handling, and made the completion
14145         and history code for complete. wip.
14146
14147         * lyxfunc.C (processKeySym): call message
14148         (miniDispatch): new temporary method
14149         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14150         (LFUN_MESSAGE): implement
14151         (LFUN_MESSAGE_PUSH): implement
14152         (LFUN_MESSAGE_POP): implement
14153         (initMiniBuffer): the initial/defualt minibuffer message.
14154
14155         * lyxfont.[Ch]: inline some more getters
14156
14157         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14158
14159         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14160
14161         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14162         (AutoSave): use LFUN_MESSAGE
14163         (Reconfigure): ditto
14164
14165         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14166
14167         * figureForm.C: use LFUN_MESSAGE
14168
14169         * converter.C (runLaTeX): use LFUN_MESSAGE
14170
14171         * bufferview_funcs.C: use LFUN_MESSAGE
14172         (Melt): ditto
14173         (changeDepth): ditto
14174
14175         * bufferparams.h: use boost::
14176
14177         * bufferlist.h: inherit privately from noncopyable
14178
14179         * bufferlist.C (loadLyXFile): remove some commented code.
14180
14181         * buffer.C (runChktex): use LFUN_MESSAGE
14182
14183         * ShareContainer.h: inherit privately from noncopyable
14184
14185         * ParagraphParameters.[hC] (depth): inline it.
14186
14187         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14188         methods.
14189         (message): new method
14190         (messagePush): ditto
14191         (messagePop): ditto
14192         (show): init minibuffer
14193         (showState): direct call
14194
14195         * LaTeX.[Ch]: inherit privately from noncopyable
14196         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14197         instead of WriteStatus.
14198
14199         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14200
14201         * BufferView_pimpl.C (buffer): don't init minibuffer
14202         (workAreaButtonPress): use LFUN_MESSAGE
14203         (workAreaButtonRelease): ditto
14204         (savePosition): ditto
14205         (restorePosition): ditto
14206         (MenuInsertLyXFile): ditto
14207         (workAreaExpose): don't init minibuffer
14208         (update): remove commented code, simplify
14209
14210         * BufferView2.C (openStuff): use LFUN_MESSAGE
14211         (toggleFloat): ditto
14212         (menuUndo): ditto
14213         (menuRedo): ditto
14214         (copyEnvironment): ditto
14215         (pasteEnvironment): ditto
14216         (copy): ditto
14217         (cut): ditto
14218         (paste): ditto
14219         (gotoInset): ditto
14220         (updateInset): remove some commented code
14221
14222         * lastfiles.h: inherit privately from noncopyable
14223         * layout.h: ditto
14224         * lyx_gui.h: ditto
14225         * lyx_main.h: ditto
14226         * lyxlex.h: ditto
14227         * lyxlex_pimpl.h: ditto
14228
14229         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14230         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14231         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14232
14233         * LyXAction.h: inherit privately from noncopyable, add methods
14234         func_begin, func_end, returning iterators to the func map.
14235
14236         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14237         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14238         (func_begin): new method
14239         (func_end): new method
14240
14241         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14242         and not)
14243         (copySelection): ditto
14244         (pasteSelection): ditto
14245
14246         * BufferView.C: whitespace change
14247         * BufferView.h: inherit privately from noncopyable
14248
14249 2001-04-16  Allan Rae  <rae@lyx.org>
14250
14251         * tabular-old.C (l_getline):
14252         * spellchecker.C (sc_check_word):
14253         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14254         an unrecognised preprocessor directive.  So ensure they're wrapped.
14255
14256 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14257
14258         * src/exporter.C (Export): Give an error message when path to file
14259         contains spaces.
14260
14261 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * LaTeX.C (deplog): Always check that foundfile exists.
14264
14265 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyx_main.h:
14268         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14269
14270 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * tabular.[Ch] (getLabelList): implement new method
14273
14274         * minibuffer.h: comment ouf setTiimer
14275
14276         * minibuffer.C (ExecutingCB): constify res
14277         (peek_event): constify s
14278         (Set): constify ntext
14279         (Init): constify nicename
14280
14281         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14282
14283         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14284         (savePosition): use two params to Minibuffer::Set
14285         (restorePosition): ditto
14286
14287 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * lyx_main.C: include language.h
14290
14291         * Makefile.am (lyx_main.o): add language.h
14292
14293 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * exporter.C:
14296         * paragraph.C:
14297         * screen.C:
14298         * tabular.C:
14299         * CutAndPaste.C: include gettext.h
14300
14301         * lyxfont.h: remove old hack with ON and OFF.
14302
14303         * lyxparagraph.h:
14304         * lyxfont.h: do not include language.h...
14305
14306         * BufferView2.C:
14307         * LaTeXFeatures.C:
14308         * Painter.C:
14309         * bufferview_funcs.C:
14310         * font.C:
14311         * lyxfont.C:
14312         * text.C:
14313         * text2.C:
14314         * trans_mgr.C:
14315         * paragraph.C: ... but do it here instead
14316
14317 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14318
14319         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14320
14321         * tabular.C: small reformat
14322
14323         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14324         NEW_INSETS version
14325         (GetChar): ditto
14326         (BreakParagraph): ditto
14327         (SetOnlyLayout): ditto
14328         (SetLayout): ditto
14329
14330         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14331         with one arg less.
14332
14333         * lastfiles.C: removed most using decl, add std:: where needed
14334
14335         * buffer.C: ws changes
14336
14337         * MenuBackend.C (class compare_format): put into anon namespace
14338         (expand): constify label, names, action, action2
14339         (expand):
14340
14341         * text.C (SingleWidth): constify font
14342         (IsBoundary): constify rtl2
14343         (GetVisibleRow): constify ww
14344
14345         * LaTeX.C (deplog): constify logfile
14346
14347         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14348         start_x, end_x
14349         (workAreaExpose): constify widthChange, heightChange
14350
14351         * lyxrow.C (par): moved
14352         (height): moved
14353         (next): moved
14354         * lyxrow.h: as inlines here
14355
14356         * lyxfont.h (shape): moved from lyxfont.C
14357         (emph): moved from lyxfont.C
14358
14359         * lyxfont.C (LyXFont): use initialization list for all
14360         constructors
14361         (shape): move to lyxfont.h as inline
14362         (emph): move to lyxfont.h as inline
14363
14364
14365 2001-04-04  Juergen Vigna  <jug@sad.it>
14366
14367         * vspace.C: had to include stdio.h for use of sscanf
14368
14369 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * BufferView.h:
14372         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14373         independent of xforms.
14374
14375 2001-04-02  Juergen Vigna  <jug@sad.it>
14376
14377         * spellchecker.C: fixed namespace placing!
14378
14379 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14382         the LyXParagraph * is 0.
14383
14384 2001-03-29  Juergen Vigna  <jug@sad.it>
14385
14386         * vspace.C: added support for %, c%, p%, l%.
14387         (stringFromUnit): added helper function.
14388         (asLatexString): changed to give right results for the %-values.
14389
14390         * buffer.C: convert the widthp in a width%.
14391
14392 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14395         figureForm.[Ch].
14396
14397         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14398         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14399
14400         * lyx_cb.[Ch]: see above.
14401
14402         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14403         form1.[Ch].
14404
14405         * form1.[Ch]:
14406         * lyx.[Ch]: replaced by figure_form.[Ch].
14407
14408         * lyx_gui.C:
14409         * lyx_gui_misc.C:
14410         * lyxfunc.C: changed headers associated with above changes.
14411
14412 2001-03-27  Juergen Vigna  <jug@sad.it>
14413
14414         * BufferView_pimpl.C: set the temporary cursor right!
14415
14416 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14419
14420 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14421
14422         * LString.h: removed "using std::getline"!
14423
14424         * BufferView_pimpl.C (Dispatch): changes due to changes in
14425         InsetInclude::Params.
14426
14427         * buffer.C (tag_name): removed redundant break statements as they were
14428         producing lots of warnings with my compiler.
14429
14430 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * LString.h: add "using std::getline" when using the real <string>.
14433
14434 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14435
14436         * buffer.C: removed bitset usage.
14437         PAR_TAG moved to an anonymous name space.
14438         (tag_name): new funtion, also in the anonymous namespace.
14439         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14440         (makeDocBookFile): clean code. Completed transition from string arrays
14441         to string vectors.
14442         (SimpleDocBookOnePar): code clean.
14443
14444 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14445
14446         * tabular.C: add some comments.
14447
14448 2001-03-22  Juergen Vigna  <jug@sad.it>
14449
14450         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14451         compatibility read a bit and fixed bug with minipage in different
14452         depth.
14453
14454 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14455
14456         * buffer.C (pop_tag): removed.
14457         (push_tag): removed.
14458         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14459         array replaced with vector. Added support for CDATA sections.
14460         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14461         at any nest level.
14462         (makeDocBookFile): XML conformant declaration of CDATA section,
14463         fixed bug related to <emphasis> in the first paragraph char.
14464         (sgmlOpenTag): exclude empty tags.
14465         (sgmlCloseTag): ditto.
14466
14467         * buffer.h (pop_tag): removed.
14468         (push_tag): removed.
14469
14470 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * language.h (Languages): added size_type and size().
14473
14474 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14475
14476         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14477         response on compability reading of minipages. One probliem is that
14478         the old usage of minipages was «flertydig»
14479
14480         * several files here and in subdirs: don't use static at file
14481         scope use anon namespaces instead.
14482
14483 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14484
14485         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14486         LaTeX output. This is necessary for Literate document
14487         processing.
14488
14489 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14490
14491         * buffer.C: insert hfill when needed.
14492
14493         * tabular.C (l_getline): use string::erase, small whitespace change.
14494
14495         * BufferView_pimpl.C: try the anon namespace.
14496         * WorkArea.C: ditto
14497
14498 2001-03-16  Juergen Vigna  <jug@sad.it>
14499
14500         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14501         otherwise it won't open options-dialogs.
14502
14503         * buffer.C: honor pextraWidth(p) on converting minipages.
14504
14505         * tabular.C (l_getline): changed the functions to strip trailing \r.
14506
14507 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14508
14509         * BufferView_pimpl.C:
14510         * minibuffer..C: added "using SigC::slot" declaration.
14511
14512 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14513
14514         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14515
14516         * text2.C: ditto
14517
14518         * text.C: ditto
14519
14520         * paragraph.C: ditto
14521
14522         * lyxtext.h: NO_PEXTRA
14523
14524         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14525
14526         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14527         * ParameterStruct.h: ditto
14528         * ParagraphParameters.h: ditto
14529         * lyxparagraph.h: ditto
14530
14531 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14532
14533         * buffer.C: add compability for minipage alignment.
14534         (latexParagraphs): remove unwanted pextra check.
14535
14536         * several files: remove CXX_WORKING_NAMESPACES
14537
14538         * buffer.C (pop_tag): tie is in namespace boost
14539
14540         * BufferView.h: noncopyable is in namespace boost
14541         * lyxlex.h: ditto
14542         * lyx_main.h: ditto
14543         * lyx_gui.h: ditto
14544         * layout.h: ditto
14545         * lastfiles.h: ditto
14546         * bufferlist.h: ditto
14547         * ShareContainer.h: ditto
14548         * LyXView.h: ditto
14549         * LyXAction.h: ditto
14550         * LaTeX.h: ditto
14551
14552 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14553
14554         * Merging changes from BRANCH_MVC back into HEAD.
14555
14556         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14557
14558 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14559
14560         * BufferView_pimpl.C: change from intl.C
14561
14562         * combox.h:
14563         * combox.C:
14564         * Makefile.am: move combox.*
14565
14566         * form1.h:
14567         * form1.C:
14568         * lyx_gui.C:
14569         * intl.h:
14570         * intl.C: remove dialog (covered by prefs)
14571
14572 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14573
14574         * lyxfunc.C (Dispatch): removed redundant break statement.
14575
14576 2001-03-14  Juergen Vigna  <jug@sad.it>
14577
14578         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14579
14580 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14581
14582         * buffer.C: add hack to fix compability reading of minipages.
14583
14584 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14585
14586         * buffer.C (getLists): Cleanup.
14587
14588 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14589
14590         * lyxfont.C (update): don't honor toggleall on font size.
14591
14592 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * bmtable.c:
14595         * bmtable.h:
14596         * Makefile.am: moved to frontends/xforms/
14597
14598         * lyx_gui_misc.C:
14599         * lyxfunc.C:
14600         * BufferView_pimpl.C: changes for moved mathpanel
14601
14602 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * gettext.h: fix gettext_init() in --disable-nls
14605
14606 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14607
14608         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14609
14610 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * lyx.C:
14613         * lyx.h: strip external form
14614
14615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * BufferView_pimpl.C: add comment, destroySplash()
14618
14619 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * BufferView_pimpl.C:
14622         * LyXAction.C:
14623         * buffer.C:
14624         * commandtags.h:
14625         * lyxfunc.C: use re-worked insetinclude
14626
14627 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14628
14629         * buffer.C: add using std::stringstream.
14630
14631         * lyx_cb.C: readd using std::ios.
14632
14633         * buffer.C: add using std::map.
14634
14635         * BufferView_pimpl.C: add using std::vector.
14636
14637         * ShareContainer.h: add std:: to swap.
14638
14639         * buffer.h: add some typedefs
14640         * buffer.C (getLists): use them
14641         (getLists): renamed from getTocList.
14642         add a counter for the different float types and use it in the
14643         generated string.
14644         (getLists): use the same counter for the NEW_INSETS and the "non"
14645         NEW_INSETS
14646
14647         * lyx_cb.h: remove unused items, includes, using etc.
14648
14649         * ShareContainer.h: remove some commented code, add more comments
14650         and "documentation".
14651
14652 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14653
14654         * buffer.C (getTocList): make the list also when NEW_INSETS is
14655         defined.
14656
14657         * buffer.h: remove TocType
14658
14659         * buffer.C (getTocList): change to return a map<string,
14660         vector<TocItem> >, implement for dynamic number of list.
14661
14662         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14663         * text2.C (PasteSelection): adjust
14664         * CutAndPaste.C (pasteSelection): adjust
14665
14666         * FloatList.C (FloatList): update from the new_insets branch.
14667         * Floating.[Ch]: ditto
14668         * LaTeXFeatures.C: ditto
14669         * buffer.C: ditto
14670         * lyxlex_pimpl.C: ditto
14671
14672         * paragraph.C (Last): remove when NEW_INSETS is defined.
14673
14674         * other file: changes because of the above.
14675
14676 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14677
14678         * lyxparagraph.h: rename next to next_, previous to previous_,
14679         make them private for NEW_INSETS. Rename Next() to next(),
14680         Previous() to previous().
14681
14682         * other files: changes because of the above.
14683
14684 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14685
14686         * BufferView.h:
14687         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14688         problem.
14689
14690 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * main.C (main): pass lyx_localedir to gettext_init().
14693
14694         * gettext.h: remove locale_init and gettext_init macros
14695
14696         * gettext.C (locale_init): new function
14697         (gettext_init): new function
14698
14699         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14700         setlocale().
14701
14702 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14703
14704         * Moved credits to frontends:
14705         * credits.[Ch]: removed
14706         * credits_form.[Ch]: removed
14707         * lyx_gui_misc.C: remove credits stuff
14708         * Makefile.am:
14709
14710 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14711
14712         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14713
14714         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14715         unneeded destructor.
14716
14717         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14718         a standalone pointer again.
14719
14720         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14721
14722 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * Makefile.am:
14725         * filedlg.h:
14726         * filedlg.C:
14727         * LyXAction.C:
14728         * ToolbarDefaults.C:
14729         * bufferlist.C:
14730         * commandtags.h:
14731         * form1.C:
14732         * form1.h:
14733         * lyx_cb.C:
14734         * lyx_cb.h:
14735         * lyxfunc.h:
14736         * lyxfunc.C:
14737         * BufferView_pimpl.C: use new file dialog in GUII
14738
14739         * lyx_cb.h:
14740         * lyx_cb.C: remove LayoutsCB to Toolbar
14741
14742 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14743
14744         * ShareContainer.h (get): add std:: qualifier
14745
14746 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14747
14748         * ShareContainer.h: define a proper ShareContainer::value_type
14749         type (and use typename to please compaq cxx)
14750
14751 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14752
14753         * lyxparagraph.h: move serveral local vars to
14754         ParameterStruct/ParagraphParameters., use ShareContainer in
14755         FontTable., make vars in FontTable private and add getter and
14756         setter.
14757
14758         * paragraph.C: changes because of the above.
14759
14760         * lyxfont.h: remove copy constructor and copy assignment. (the
14761         default ones is ok), move number inside FontBits. move inlines to
14762         lyxfont.C
14763
14764         * lyxfont.C: add number to initializaton of statics, move several
14765         inlines here. constify several local vars. some whitespace
14766         cleanup. Dont hide outerscope variables.
14767
14768         * Spacing.h: add two new constructors to match the set methods.
14769
14770         * ShareContainer.h: new file, will perhaps be moved to support
14771
14772         * ParameterStruct.h: new file
14773
14774         * ParagraphParameters.h: new file
14775
14776         * ParagraphParameters.C: new file
14777
14778         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14779         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14780
14781         * BufferView_pimpl.C: ParagraphParameter changes.
14782         * buffer.C: Likewise.
14783         * bufferview_funcs.C: Likewise.
14784         * text.C: Likewise.
14785         * text2.C: Likewise.
14786
14787 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14788
14789         * lyxfind.C (LyXReplace): do not redefine default argument in
14790         implementation.
14791         (IsStringInText): ditto
14792         (SearchForward): ditto
14793         (SearchBackward): ditto
14794
14795 2001-03-06  Juergen Vigna  <jug@sad.it>
14796
14797         * lyxfind.C (IsStringInText): put parentes around expressions.
14798
14799 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14800
14801         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14802
14803 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14806
14807         * stl_string_fwd.h: add comment
14808
14809         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14810
14811         * tabular.h:
14812         * tabular.C: remove unused DocBook methods
14813
14814         * intl.C:
14815         * language.C:
14816         * paragraph.C:
14817         * buffer.C:
14818         killed DO_USE_DEFAULT_LANGUAGE
14819
14820 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * lyx_gui.C: do not include language.h.
14823
14824         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14825         arguments in function implementation.
14826
14827 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14828
14829         * BufferView_pimpl.C: add <ctime>
14830
14831 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14832
14833         * BufferView_pimpl.C: add using std::find_if
14834
14835 2001-02-27  José Matos  <jamatos@fep.up.pt>
14836
14837         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14838         by OnlyPath.
14839
14840 2001-02-11  José Matos  <jamatos@fep.up.pt>
14841
14842         * buffer.C (makeDocBookFile): command styles now have a parameter as
14843         "title" by default.
14844
14845 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14846
14847         * layout_forms.[Ch]: removed
14848         * lyx_cb.[Ch]: out character
14849         * lyx_gui.C: out character
14850         * lyx_gui_misc.C: out character
14851         * bufferview_funcs.C: : out character,
14852         added toggleall as parameter in ToggleAndShow
14853
14854 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14857
14858         * text2.C (SetCurrentFont): Disable number property at boundary.
14859
14860 2001-02-26  Juergen Vigna  <jug@sad.it>
14861
14862         * lyxfunc.C (getStatus): added a string argument override function so
14863         that this is correctly called from LyXFunc::Dispatch if it contains a
14864         do_not_use_argument which is used!
14865         (Dispatch): added check for "custom" export and call appropriate func.
14866
14867 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * lyxrc.C: Add language_command_local, language_use_babel and
14870         language_global_options.
14871
14872         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14873
14874         * buffer.C (makeLaTeXFile): Use language_use_babel and
14875         language_global_options.
14876
14877 2001-02-23  Juergen Vigna  <jug@sad.it>
14878
14879         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14880         which works with LyXText and putted it inside BufferView. Here now we
14881         only call for that part the BufferView::Dispatch() function.
14882
14883         * BufferView.C (Dispatch): added.
14884
14885         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14886         functions which needs to use a LyXText over from LyXFunc.
14887         (MenuInsertLyXFile): added
14888         (getInsetByCode): added
14889         (moveCursorUpdate): added
14890         (static TEXT): added
14891
14892 2001-02-22  Juergen Vigna  <jug@sad.it>
14893
14894         * BufferView_pimpl.C (update): call a status update to see if LyXText
14895         needs it.
14896
14897 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14898
14899         * vc-backend.C (revert): implement for CVS
14900         (getLog): implement for CVS
14901
14902 2001-02-20  Juergen Vigna  <jug@sad.it>
14903
14904         * text2.C (ClearSelection): added BufferView param for inset_owner call
14905
14906         * lyxfunc.C (TEXT): added this function and use it instead of
14907         directly owner->view()-text of getLyXText().
14908
14909 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14910
14911         * src/layout_forms.C: out preamble
14912         * src/layout_forms.h: out preamble
14913         * src/lyx_cb.C: out preamble
14914         * src/lyx_cb.h: out preamble
14915         * src/lyx_gui.C: out preamble
14916         * src/lyx_gui_misc.C: out preamble
14917         * src/lyxfunc.C: connect with guii preamble
14918
14919 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14920
14921         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14922
14923 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14924
14925         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14926         whether to run bibtex.
14927
14928 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14931
14932 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14933
14934         * Makefile.am (lyx_SOURCES): removed bibforms.h
14935
14936         * vspace.h: doxygen
14937
14938         * text.C (GetVisibleRow): make several local vars const
14939
14940         * tabular.C: small cleanup.
14941
14942         * lyxserver.C (callback): use compare instead of strncmp
14943
14944         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14945         inlines to after class or to paragraph.C
14946
14947         * lyxfont.h: remove friend operator!=
14948
14949         * converter.h: move friend bool operator< to non friend and after
14950         class def.
14951
14952         * combox.h: small cleanup
14953
14954         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14955         to inlines after class def.
14956
14957         * buffer.C (pop_tag): use string operations instead of strcmp
14958
14959         * bmtable.c: doxygen, small cleanup
14960
14961         * LaTeX.h: remove friend operator==
14962
14963 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14964
14965         * screen.C:
14966         * lyxrc.[Ch]:
14967         * lyxfunc.C:
14968         * lyxfont.[Ch]:
14969         * lyx_cb.C:
14970         * intl.[Ch]:
14971         * commandtags.h:
14972         * buffer.C:
14973         * WorkArea.[Ch]:
14974         * LyXAction.C:
14975         * BufferView_pimpl.C:
14976         * BufferView.[Ch]: remove cruft
14977
14978 2001-02-14  Juergen Vigna  <jug@sad.it>
14979
14980         * lyxfunc.C: removed #if 0 unused code
14981
14982         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14983
14984         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14985
14986         * text2.C (SetSelection): added a BufferView * parameter
14987
14988 2001-02-13  Juergen Vigna  <jug@sad.it>
14989
14990         * lyxfunc.C (Dispatch): fixed protected blank problem.
14991         * BufferView2.C (protectedBlank): added LyxText * parameter.
14992
14993         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14994         (AppendColumn): same as above for column_info.
14995
14996         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14997         (moveCursorUpdate): use a LyXText param for support of InsetText.
14998
14999         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15000         (tripleClick): ditto
15001
15002         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15003
15004         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15005
15006         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15007
15008         * text2.C (SetSelection): set correct update status if inset_owner
15009         (ToggleFree): ditto
15010
15011 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15012
15013         * tabular.C: remove some commented code.
15014
15015 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * BufferView_pimpl.C: call hideSplash()
15018
15019         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15020
15021         * include_form.h:
15022         * bibforms.h: remove
15023
15024         * lyxfunc.C:
15025         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15026           add LFUN_CHILD_CREATE
15027
15028         * counters.h: fix tiny typo
15029
15030         * lyx_cb.C:
15031         * lyx.h:
15032         * lyx_gui.C:
15033         * lyx.C: move splash to frontends/xforms/
15034
15035         * lyx_gui_misc.C: move Include and Bibform to frontends
15036
15037         * lyxvc.h: clarify comment
15038
15039         * vspace.C: tiny housekeeping
15040
15041 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15042
15043         * text.C (PrepareToPrint): RTL Fix.
15044
15045         * paragraph.C (GetUChar): New method.
15046         (String):  Use GetUChar.
15047
15048         * buffer.C (asciiParagraph): Use GetUChar.
15049
15050 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15051
15052         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15053
15054 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * buffer.h:
15057         * buffer.C: rename to getLogName(), handle
15058           build log / latex log nicely
15059
15060 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * MenuBackend.C:
15063         * MenuBackend.h: remove support for reference menuitem type.
15064
15065 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * BufferView_pimpl.C: housekeeping
15068         * BufferView_pimpl.h:
15069         * LyXView.h:
15070         * Makefile.am:
15071         * Timeout.C:
15072         * Timeout.h:
15073         * minibuffer.h: move Timeout GUI-I
15074
15075 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * lyxrc.C (read): Update converters data-structures.
15078
15079 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15080
15081         * LaTeX.h (operator!=): add operator != for Aux_Info
15082
15083 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15086
15087         * LaTeXLog.C: deleted, useful code moved to Buffer
15088
15089         * buffer.h:
15090         * buffer.C: new function getLatexLogName()
15091
15092         * lyx_gui_misc.C:
15093         * lyx_gui.C:
15094         * lyxvc.C:
15095         * lyxvc.h:
15096         * lyxfunc.C: use frontends for LaTeX and VC logs
15097
15098 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * LaTeX.h: yet another std:: that Allan forgot.
15101
15102         * Variables.C (set): renamed from isset(), because this clashes
15103         with some HP-UX macros (grr).
15104
15105 2001-02-06  Allan Rae  <rae@lyx.org>
15106
15107         * LaTeX.h: Another bug fix.  Missing std:: this time.
15108
15109 2001-02-04  Allan Rae  <rae@lyx.org>
15110
15111         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15112         floats problem. I've left it commented out because it's not quite
15113         correct.  It should also test that the current object is a table or
15114         figure inset.  But I haven't gotten around to figuring out how to do
15115         that.  I *think* it'll be something like: "table" == inset.type()
15116
15117         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15118         bool.
15119
15120 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15121
15122         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15123         all the citation/databases/styles in the auxilary file.
15124         (run): Rerun latex if there was a babel language error.
15125
15126 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15127
15128         * text.C (Backspace): Preserve the font when changing newline char
15129         with a space.
15130         (BreakParagraph): If the cursor is before a space, delete the space.
15131
15132         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15133
15134 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15137         new argument (code).
15138         (ChangeCitationsIfUnique): New method.
15139
15140         * paragraph.C (GetPositionOfInset): Handle bibkey.
15141
15142 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * BufferView_pimpl.h: change type of Position::par_pos to
15145         LyXParagraph::size_type.
15146
15147 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15148
15149         * BufferView_pimpl.C (savePosition, restorePosition): Write
15150         messages to minibuffer.
15151
15152 2001-01-28  José Matos  <jamatos@fep.up.pt>
15153
15154         * buffer.C (makeDocBookFile): adds support for document language.
15155         A silly restriction on the name of LatexCommand types where removed.
15156         Added support for CDATA sections, allows to chars unescaped, used
15157         among others in code, to avoid escape < and >.
15158
15159 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15162         saved positions instrad of a stack. Furthermore, a position is
15163         stored using paragraph id/paragraph position.
15164
15165         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15166         Remove LFUN_REF_BACK.
15167
15168 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15169
15170         * converter.C (dvipdfm_options): New method.
15171
15172 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * vspace.C (isValidLength): Fix for empty input string.
15175
15176 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15177
15178         * LyXAction.C (init): change description of LFUN_FIGURE to
15179         "Insert Graphics"
15180
15181 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * LaTeX.C: add using directive
15184
15185 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15186
15187         * MenuBackend.C (expand): Fix the sorting of the formats.
15188
15189 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * lyx_main.C: tiny error message fix
15192
15193 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15196         calling fl_initialize(). This fixes the problem with ',' as
15197         decimal separator in text files.
15198
15199 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * trans.C (process): Fix the keymap bug.
15202
15203 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15204
15205         * LaTeX.C (scanAuxFiles): New method. Provides support for
15206         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15207         (scanLogFile) Scan for "run BibTeX" messages.
15208
15209         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15210         OT1 font encoding. Also, load the aecompl package if the ae
15211         package is loaded.
15212
15213         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15214
15215 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * texrow.C (increasePos): turn two error messages into debug
15218         messages.
15219
15220 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * LaTeX.C (scanAux): Handle the \@input macro.
15223         (runBibTeX): Use scanAux().
15224
15225         * language.C (latex_options_): New field.
15226
15227         * LaTeXFeatures.C (getMacros): Add language macros.
15228
15229         * buffer.C (makeLaTeXFile): Small fix.
15230
15231 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15234
15235         * text2.C: add a using directive.
15236
15237 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15238
15239         * BufferView2.C:
15240         * lyx_gui_misc.h:
15241         * lyxfr1.C:
15242         * lyxfunc.C: kill LyXBell.
15243
15244 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * text.C (IsBoundary): Remove the error message
15247
15248         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15249
15250         * lyxrc.C (setDefaults): Correct initialization value for
15251         font_norm_type.
15252
15253 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15256         gotoError().
15257
15258         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15259         and GotoNextNote().
15260
15261         * src/LyXAction.C: Added reference-next.
15262
15263         * text.C (InsertChar): Use contains instead of strchr.
15264
15265         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15266
15267 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15268
15269         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15270         alignment commands (when needed).
15271
15272         * text.C (InsertChar): Add ':' to number separator chars.