]> git.lyx.org Git - features.git/blob - src/ChangeLog
4e0b80731a7eb40a0ae981ac8f9a04a84ce06c73
[features.git] / src / ChangeLog
1 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxrc.[Ch]: add lyxrc bibtex_command
4         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
5         
6         * buffer.C: increment file format to 231.
7
8 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
9
10         * dociterator.C: implement forwardPar
11         * iterators.[Ch]: remove, replaced by
12         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
13         * BufferView.C:
14         * BufferView_pimpl.C:
15         * CutAndPaste.C:
16         * buffer.C:
17         * bufferview_funcs.C:
18         * cursor.C:
19         * lyxfind.C
20         * lyxfunc.C
21         * paragraph_funcs.C
22         * toc.C:  
23         * Makefile.am: adjust
24
25 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * CutAndPaste.C (pasteSelection): fix 2 crashes
28         (eraseSelection): fix a crash
29         * paragraph_funcs.C: remove a warning
30
31 2004-03-28  Angus Leeming  <leeming@lyx.org>
32
33         * lfuns.h:
34         * LyXAction.C (init): new LFUN_PRINT.
35
36         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
37
38 2004-03-27  Angus Leeming  <leeming@lyx.org>
39
40         * lfuns.h:
41         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
42
43         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
44
45 2004-03-27  Angus Leeming  <leeming@lyx.org>
46
47         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
48         insetlist always contains non-null pointers to insets.
49
50 2004-03-26  Angus Leeming  <leeming@lyx.org>
51
52         * src/BufferView_pimpl.C:
53         * src/CutAndPaste.C:
54         * src/buffer.C:
55         * src/iterators.C:
56         * src/output_plaintext.C:
57         * src/outputparams.h:
58         * src/paragraph_funcs.C:
59         * src/rowpainter.C:
60         * src/text.C:
61         * src/text2.C:
62         * src/frontends/controllers/ControlErrorList.C:
63         * src/frontends/gtk/FileDialogPrivate.C:
64         * src/frontends/gtk/GPainter.C:
65         * src/frontends/gtk/GToolbar.C:
66         * src/frontends/qt2/QRef.C:
67         * src/mathed/math_scriptinset.C: squash compiler warnings.
68
69 2004-03-26  Angus Leeming  <leeming@lyx.org>
70
71         * ispell.C (LaunchIspell::start):
72         * lyx_cb.C (AutoSaveBuffer::start):
73         invoke run(DontWait) rather than runNonBlocking().
74
75 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
78
79 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * kbsequence.C (print): adjust
82
83         * kbmap.C (printKeySym): rename and change signature
84         (printKey): use LyXKeySym::print()
85
86 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * undo.C: add using std::advance to compile for stlport
89
90 2004-03-24  Angus Leeming  <leeming@lyx.org>
91
92         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
93         it leads to a crash when no buffer is present.
94
95 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96             Martin Vermeer  <martin.vermeer@hut.fi>
97
98         * lyxfunc.C (dispatch): 
99         * bufferparams.C (readToken): use the new LColor::setColor 
100
101         * LColor.[Ch] (setColor): new version that takes two strings as
102         argument and creates a new color entry if necessary
103
104 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
105
106         * buffer.C (makeLaTeXFile): if the main latex file that is
107         processed is usually a subdocument of some master, then pretend
108         for a while that it is actually the master
109
110 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
111
112         * buffer.C (getLabelList):
113         (getBibkeyList): use getMasterBuffer()
114         (getMasterBuffer): new method. Returns the main document in the
115         case where one is using included documents.
116
117 2004-03-25  André Pönitz  <poenitz@gmx.net>
118
119         * Makefile.am:
120         * iterators.[Ch]:
121         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
122
123         * ParagraphList_fwd.h: change ParagraphList to a std::vector
124
125         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
126         text*.C over here. Rename namespace CutAndPaste to lyx::cap
127
128         * ParameterStruct.h: merge with ParagraphParameters
129
130         * lyxtext.h: remove LyXText::parOffset() and getPar()
131
132         * text3.C: Remove all 'manual' update calls. We do now one per user
133         interaction which is completely sufficient.
134
135         * Bidi.C:
136         * BufferView.[Ch]:
137         * BufferView_pimpl.C:
138         * FontIterator.[Ch]:
139         * MenuBackend.C:
140         * ParagraphParameters.[Ch]:
141         * buffer.C:
142         * buffer.h:
143         * bufferlist.C:
144         * cursor.[Ch]:
145         * cursor_slice.[Ch]:
146         * dociterator.[Ch]:
147         * errorlist.[Ch]:
148         * factory.C:
149         * lfuns.h:
150         * lyxfind.C:
151         * lyxfunc.C:
152         * output_docbook.[Ch]:
153         * output_latex.[Ch]:
154         * output_linuxdoc.[Ch]:
155         * output_plaintext.[Ch]:
156         * paragraph.[Ch]:
157         * paragraph_funcs.[Ch]:
158         * paragraph_pimpl.[Ch]:
159         * rowpainter.C:
160         * tabular.[Ch]:
161         * text.C:
162         * text2.C:
163         * toc.C:
164         * undo.[Ch]: adjust
165
166         * frontends/controllers/ControlDocument.C:
167         * frontends/controllers/ControlErrorList.C:
168         * frontends/controllers/ControlSpellchecker.C:
169         * insets/inset.C:
170         * insets/inset.h:
171         * insets/insetbase.h:
172         * insets/insetbibitem.C:
173         * insets/insetbox.C:
174         * insets/insetbranch.C:
175         * insets/insetcaption.C:
176         * insets/insetcharstyle.C:
177         * insets/insetcharstyle.h:
178         * insets/insetcollapsable.C:
179         * insets/insetcollapsable.h:
180         * insets/insetert.C:
181         * insets/insetfloat.C:
182         * insets/insetfoot.C:
183         * insets/insetmarginal.C:
184         * insets/insetnote.C:
185         * insets/insetoptarg.C:
186         * insets/insettabular.C:
187         * insets/insettext.C:
188         * insets/insettext.h:
189         * insets/insetwrap.C:
190         * mathed/math_mboxinset.C:
191         * mathed/math_nestinset.C:
192         * mathed/math_scriptinset.C:
193         * mathed/math_scriptinset.h:
194         * support/types.h:
195
196 2004-03-24  Angus Leeming  <leeming@lyx.org>
197
198         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
199         deal with any child processes that have finished but are waiting to
200         communicate this fact to the rest of LyX.
201
202 2004-03-24  Angus Leeming  <leeming@lyx.org>
203
204         64-bit compile fixes.
205
206         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
207         (c-tor): pass lyx::pos_types rather than ints.
208
209         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
210         lyx::pos_type.
211
212         * text.C (Delete): compile fix.
213         (getPar): ensure that function declaration is the same as that in
214         the header file.
215
216 2004-03-23  Angus Leeming  <leeming@lyx.org>
217
218         * ispell.C (LaunchIspell):
219         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
220         a boost::shred_ptr rather than a std::auto_ptr.
221
222 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * lyxfunc.C (getStatus): handle read-only buffers correctly;
225         handle LFUN_FILE_INSERT_*
226
227         * lyxrc.C (setDefaults, getDescription, output, read):
228         * lyxrc.h: remove ps_command
229
230 2004-03-22  Angus Leeming  <leeming@lyx.org>
231
232         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
233         Ensure that error_handler is processed once only and that all data
234         is saved before attempting to output any warning messages.
235
236         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
237
238 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
239
240         * tabular.C (TeXRow): crash fix (from Kayvan and André)
241
242 2004-03-19  André Pönitz  <poenitz@gmx.net>
243
244         * cursor.[Ch] (reset): take main text inset as argument
245
246         * BufferView: adjust
247         * BufferView_pimpl.C: adjust
248
249         * paragraph.[Ch]: fix completely broken operator=()
250
251 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * LColor.C (getFromLyXName): make sure that the color name is used
254         as lowercase.
255
256 2004-03-17  Angus Leeming  <leeming@lyx.org>
257
258         * lfuns.h:
259         * LyXAction.C (init): remove LFUN_FORKS_KILL.
260
261         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
262         dialog and to kill a forked process.
263
264 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * text2.C (setCursorFromCoordinates): fix font problem
267
268 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
269
270         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
271         bogus "rebuild cursor" code
272
273 2004-03-11  André Pönitz  <poenitz@gmx.net>
274
275         * buffer.[Ch]: use InsetText instead of LyXText as container for
276         the main lyx text.
277
278         * dociterator.[Ch]: drop the BufferView * member which is not needed
279         anymore after the change to buffer.C
280
281         * paragraph_funcs.C:
282         * text.C:
283         * text2.C:
284         * BufferView.[Ch]:
285         * BufferView_pimpl.[Ch]:
286         * cursor.[Ch]:
287         * cursor_slice.[Ch]: adjust
288
289         * text3.C: fix bug in mathDispatch
290
291 2004-03-08  André Pönitz  <poenitz@gmx.net>
292
293         * undo.[Ch]: use 'StableDocumentIterator' as base for
294         the Undo struct.
295
296 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * LaTeXFeatures.C:
299         * bufferparams.[Ch]: add jurabib support and param.
300
301         * LaTeX.C: add FIXME/comment.
302
303 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
304
305         * buffer.C: increment file format to 230.
306
307 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
308
309         * cursor.C (dispatch): avoid infinite loops
310
311 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * rowpainter.C (paintSelection): fix x coordinates
314
315 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
316
317         * text.C (rowBreakPoint): fix breaking before displayed insets
318
319 2004-03-01  André Pönitz  <poenitz@gmx.net>
320
321         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
322
323         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
324
325         * Makefile.am:
326         * BufferView.C:
327         * BufferView_pimpl.C:
328         * buffer.C:
329         * lyxfind.C:
330         * lyxfunc.C:
331         * text.C:
332         * text2.C:
333         * text3.C: adjust
334
335 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
336
337         * lyxtext.h:
338         * text.C:
339         * text2.C:
340         * rowpainter.C:
341         * BufferView_pimpl.C: rename textwidth -> maxwidth,
342         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
343
344 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
345
346         * Bidi.[Ch] (computeTables): const correctness
347         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
348         fill_hfill, fill_label_hfill and x from Row
349         * lyxtext.h: prepareToPrint returns a RowMetrics
350         * rowPainter.C: adjust
351         * text.C (prepareToPrint): use width, not textWidth. adjust
352         (redoParagraphInternal, cursorX): adjust
353         * text2.C (getColumnNearX): adjust
354         (init): put a default value to the top LyXText::width
355
356 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
357
358         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
359
360 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * lyxtext.h: add FontIterator class
363
364         * text.C (FontIterator, operator*, operator->, operator++): add
365         (rowBreakPoint, setRowWidth): adjust (fixing a
366         rebreaking bug)
367
368 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * BufferView_pimpl.C (workAreaDispatch): allow also
371         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
372
373 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * text.C (rowBreakPoint): fix a bug showing with very large insets
376
377 2004-02-25  André Pönitz  <poenitz@gmx.net>
378
379         * text3.C:
380         * cursor.[Ch]: move some mathed specific code to mathed
381
382 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
385         use_tempdir in preferences
386         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
387         tempfile creation
388         * lyx_main.C: ensure that tempdir is valid
389         * lyxlex.h: correct typo
390         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
391         * paragraph.[Ch] (isMultiLingual): make const
392         * cursor.[Ch] (openable): make const
393
394 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
397
398 2004-02-20  André Pönitz  <poenitz@gmx.net>
399
400         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
401
402         * cursor.[Ch]: prepare for localized getStatus()
403
404         * lyxtext.h:
405         * tabular.C:
406         * text.C:
407         * text2.C:
408         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
409
410 2004-02-20  André Pönitz  <poenitz@gmx.net>
411
412         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
413
414 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * text2.C (setCursorFromCoordinates): switch to absolute coords
417         (cursorUp): adjust
418         (cursorDown): adjust
419         * text3.C (dispatch): adjust
420
421 2004-02-16  André Pönitz  <poenitz@gmx.net>
422
423         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
424           insets/ChangeLog)
425
426         * cursor_slice.[Ch]: remove unneeded acessor function
427
428         * lyxtext.h: rename rtl() to isRTL()
429
430         * rowpainter.C:
431         * tabular.C:
432         * text.C:
433         * text2.C:
434         * text3.C: adjust
435
436 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
437
438         * rowpainter.C (paintSelection): coord fix
439
440 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
441
442         * Spacing.C: compile fix
443
444 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
445
446         * cursor.C (dispatch): restore current_ before returning
447
448 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * text2.C (cursorUp, cursorDown): fix coords
451         (moveUp): fix crash
452
453 2004-02-12  André Pönitz  <poenitz@gmx.net>
454
455         * lyxtext.h:
456         * text.C:
457         * text2.C:
458         * text3.C: add LCursor & parameter to most cursor movement functions
459           remove usage of LyXText::cursorRow() and cursorPar()
460
461         * cursor.[Ch]: add textRow() needed members
462
463         * BufferView.C:
464         * BufferView_pimpl.C:
465         * paragraph.[Ch]:
466         * BufferView.C:
467         * BufferView_pimpl.C: adjust
468
469 2004-02-11  André Pönitz  <poenitz@gmx.net>
470
471         * lyxfunc.C:
472         * BufferView.[Ch]:
473         * BufferView_pimpl.C: shift undo/redo handling
474
475         * cursor.[Ch]: fix mathed crash
476
477         * lyxfind.C:
478         * lyxtext.h: move selectionAsText to LCursor
479
480         * output_latex.C:
481         * paragraph.C:
482         * text.C:
483         * text2.C:
484         * text3.C: adjust
485
486         * rowpainter.C: fix excessive drawing
487
488 2004-02-06  André Pönitz  <poenitz@gmx.net>
489
490         * BufferView.[Ch]:
491         * BufferView_pimpl.[Ch]:
492         * text3.C: move some text specific LFUN handling
493
494 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
495
496         * text3.C (checkInsetHit): adjust coords
497         * text2.C (getColumnNearX): adjust coords
498         (edit): adjust coords
499         * text.C (getRowNearY): add two asserts
500
501 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * converter.C:
504         * format.C: add using std::distance to compile on gcc 2.95/stlport
505
506 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
509
510 2004-02-04  André Pönitz  <poenitz@gmx.net>
511
512         * BufferView.[Ch] (insertInset):
513         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
514
515         * text2.C:
516         * text3.C: adjust
517
518 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
521         on the default clause of the switch
522         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
523         wasn't catched by LCursor::dispatch
524
525 2004-02-03  André Pönitz  <poenitz@gmx.net>
526
527         * BufferView.C:
528         * cursor.[Ch]: some additional asserts
529
530         * undo.[Ch]: remove LyXText dependency in interface
531
532         * lyxfunc.C: adjust
533
534         * lyxtext.h (firstPar, lastPar): remove dead functions
535
536         * text.C:
537         * text2.C:
538         * text3.C:
539         * paragraph.[Ch]: adjust
540
541 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
542
543         * lyxfind.C (find): fix argument order in call to ::find
544
545 2004-02-02  André Pönitz  <poenitz@gmx.net>
546
547         * cursor.[Ch]: remove direct access to anchor
548
549         * text.C: remove findText() hack
550
551 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * iterators.[Ch] (lockPath): remove in favour of...
554         * BufferView.[Ch] (setCursor): this addition
555         * BufferView.C (putSelectionAt): adjust
556         * undo.C (performUndoOrRedo): adjust
557         * lyxfunc.C (dispatch): adjust
558
559 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * iterators.C (lockPath): add a missing slice
562         * undo.C (performUndoOrRedo): remove redundant positioning code
563
564 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * vc-backend.C (scanMaster): ";" -> ';'
567
568 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
571         std::binary_function
572
573         * lyxtextclass.C (compare_name): rename to...
574         (LayoutNamesEqual): ...this
575
576         * lyxlex_pimpl.C (compare_tags): inherit from
577         std::binary_function, put back into anon namespace
578
579         * lyxfind.C (MatchString): inherig from std::binary_function
580         (findChange): use empty() istead of !size()
581
582         * format.C (FormatNamesEqual): new functor
583         (getFormat): use it
584         (getNumber): use it
585         (add): use it
586         (erase): use it
587         (setViewer): use it
588
589         * converter.C (compare_Converter): rename to...
590         (ConverterEqual): ...this, and fixup a bit.
591         (getConverter): use it, and make function const
592         (getNumber): use it, and make function const
593         (add): use it
594         (erase): use it:
595
596         * bufferlist.C: add using boost::bind
597
598         * MenuBackend.C (MenuNamesEqual): new functor
599         (hasMenu): use it, and make function const
600         (hasSubmenu): use nested bind to get rid of compare_memfun.
601
602 2004-01-30  André Pönitz  <poenitz@gmx.net>
603
604         * BufferView_pimpl.C:
605         * cursor.C:
606         * cursor.h:
607         * cursor_slice.[Ch]:
608         * lyxfunc.C:
609         * lyxtext.h:
610         * paragraph_funcs.C:
611         * paragraph_funcs.h:
612         * rowpainter.C:
613         * text.C:
614         * text2.C:
615         * text3.C: move some of the edit(x,y) handling to the insets
616         some coordinate changes.
617
618 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
619
620         * text.C: add using statements for std::advance and std::distance
621
622         * paragraph.C: add using statement for std::distance
623
624         * lyxfind.C: add using statement for std::advance
625
626         * cursor.C (region): remove std:: from swap
627         (openable): use nucleus in stead of operator->
628
629         * BufferView.C: add using statements for std::distance and std::swap
630
631 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
632
633         * iterators.C: Remove the pimple, move the needed structures to
634         the header file. Create accessor for the positions stack.
635         (asPosIterator): remove function
636
637         * PosIterator.C (PosIterator): move constructors to top of file
638         (PosIterator): reimplement the constructor taking a ParIterator in
639         terms of setFrom.
640         (setFrom): new function
641         (operator!=): inline it
642
643 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
644
645         * lyxfind.C (replaceAll): use std::advance
646
647         * iterators.h: inherit from std::iterator.
648
649         * PosIterator.C (advance, distance): remove
650         * PosIterator.h: interit from std::iterator.
651
652 2004-01-26  André Pönitz  <poenitz@gmx.net>
653
654         * BufferView.[Ch]:
655         * BufferView_pimpl.[Ch]:
656         * InsetList.[Ch]:
657         * PosIterator.[Ch]:
658         * buffer.h:
659         * bufferview_funcs.C:
660         * cursor.[Ch]:
661         * cursor_slice.h:
662         * factory.[Ch]:
663         * iterators.[Ch]:
664         * lyxfind.C:
665         * lyxfunc.C:
666         * lyxtext.h:
667         * output_docbook.C:
668         * output_latex.C:
669         * output_linuxdoc.C:
670         * output_plaintext.C:
671         * paragraph.[Ch]:
672         * paragraph_funcs.[Ch]:
673         * paragraph_pimpl.[Ch]:
674         * rowpainter.C:
675         * tabular.C:
676         * tabular.h:
677         * text.C:
678         * text2.C:
679         * text3.C: more IU:  dumps most of the rest of the mathcursor
680     implementation into cursor.[Ch]; "globalize" a bit of it.
681
682 2004-01-25  Angus Leeming  <leeming@lyx.org>
683
684         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
685
686 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * LaTeXFeatures.h: add nice_ and nice() const
689         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
690
691 2004-01-20  André Pönitz  <poenitz@gmx.net>
692
693         * BufferView.[Ch]:
694         * BufferView_pimpl.C:
695         * PosIterator.C:
696         * bufferview_funcs.C:
697         * cursor.[Ch]:
698         * cursor_slice.[Ch]:
699         * factory.C:
700         * iterators.C:
701         * lyx_cb.C:
702         * lyxfind.C:
703         * lyxfunc.C:
704         * lyxtext.h:
705         * rowpainter.C:
706         * text.C:
707         * text2.C:
708         * text3.C:
709         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
710           LCursor and mathcursor parts to LCursor and InsetBase.
711
712 2004-01-15  André Pönitz  <poenitz@gmx.net>
713
714         * cursor_slice.[Ch]: add a few covienience functions
715
716         * funcrequest.[Ch]: remove BufferView * member
717
718         * BufferView_pimpl.C:
719         * cursor.C:
720         * factory.[Ch]:
721         * lyxfind.[Ch]:
722         * lyxfunc.C:
723         * lyxtext.h:
724         * text3.C:
725         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
726
727 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
730         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
731
732 2004-01-13  André Pönitz  <poenitz@gmx.net>
733
734         * textcursor.[Ch]:
735         * lyxtext.h: hide cursor and selection anchor behind accessor function
736
737         * BufferView.C:
738         * BufferView_pimpl.[Ch]:
739         * PosIterator.C:
740         * bufferview_funcs.C:
741         * cursor.h:
742         * lyxfind.C:
743         * lyxfunc.C:
744         * text.C:
745         * text2.C:
746         * text3.C:
747         * undo.C: adjust
748
749         * cursor.h:
750         * cursor_slice.[Ch]: some integer type changes for inset unification
751
752         * lyxcursor.[hC]: remove, it's CursorSlice now.
753
754         * Makefile.am:
755         * BufferView_pimpl.[Ch]:
756         * bufferview_funcs.C:
757         * cursor_slice.C:
758         * lyxtext.h:
759         * text.C:
760         * text2.C:
761         * text3.C:
762         * textcursor.[Ch]: adjust
763
764 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
765
766         * text2.C (undoSpan): add and use
767         * text.C (breakParagraph): use undoSpan (fix bug 578)
768         * lyxtext.h: adjust
769
770 2004-01-08  Angus Leeming  <leeming@lyx.org>
771
772         * BufferView_pimpl.C (MenuInsertLyXFile):
773         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
774         * lyxfunc.C (menuNew, open, doImport):
775         FileFilterList change to the FileDialog open and save functions.
776
777 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
778
779         * ShareContainer.h: make isEqual and isUnique adaptable
780
781         * CutAndPaste.C: make resetOwnerAndChanges adaptable
782
783 2004-01-07  Angus Leeming  <leeming@lyx.org>
784
785         * LyXAction.C:
786         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
787
788         * BufferView_pimpl.C (dispatch): act on these LFUNs.
789
790         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
791         functions replacing find, replace and replaceAll.
792
793         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
794         LFUN_WORDFIND(FORWARD|BACKWARD).
795
796 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
797
798         * text.C (breakParagraph): remove an outdated #warning
799
800 2004-01-07  André Pönitz  <poenitz@gmx.net>
801
802         * lyxfind.C: somewhat clearer logic
803
804         * text.C: prevent crash in cursorX on unitialized row cache
805
806 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * lyxcursor.[Ch] (operator>): add
809         * textcursor.C (selStart, selEnd): use std::min and std::max
810
811 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
812
813         * Chktex.C: include boost/format.hpp
814
815 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * InsetList.C: replace functor MathcIt with adaptable functor
818         InsetTablePosLess
819         (insetIterator): modify accordingly
820
821         * BranchList.h: move the BranchNamesEqual functor here from...
822         * BranchList.C: ... to here
823
824         * BranchList.C: new BranchListEqual fuctor, use it. Remove
825         SameName and match.
826         (add): replace a finding loop with std::find_if.
827
828 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
829
830         * output_docbook.C: moving LatexParam functionality into
831         .layout files
832
833 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * buffer.C: increment format to 229.
836
837 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
838
839         * LaTeXFeatures.C:
840         * lyx_sty.[Ch]: remove minipageindent_def
841
842         * LyXAction.C:
843         * factory.C:
844         * lfuns.h:
845         * lyxfunc.C:
846         * text3.C: remove LFUN_INSET_MINIPAGE
847
848 2003-12-28  Angus Leeming  <leeming@lyx.org>
849
850         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
851
852 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * text2.C (setParagraph): fix off-by-one crash
855
856 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
857
858         * output_docbook.C: header stuff for AGU
859
860 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * text2.C (redoCursor): remove
863         * text.C:
864         * text3.C:
865         * BufferView_pimpl.C: remove calls to redoCursor and
866         setCursor(cursor.par(), cursor.pos()) all around
867
868 2003-12-15  Angus Leeming  <leeming@lyx.org>
869
870         * buffer.C: up the format to 228.
871
872 2003-12-15  André Pönitz  <poenitz@gmx.net>
873
874         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
875         slices
876
877         * Makefile.am:
878
879         * BufferView_pimpl.C:
880         * cursor.[Ch]:
881         * lyxcursor.[Ch]:
882         * rowpainter.[Ch]:
883         * lyxtext.h:
884         * text.C:
885         * text2.C:
886         * text3.C: adjust
887
888 2003-12-15  Angus Leeming  <leeming@lyx.org>
889
890         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
891         than getFromGUIName to manipulate the color.
892
893 2003-12-14  Angus Leeming  <leeming@lyx.org>
894
895         * BranchList.[Ch]: minimize the API.
896         (Branch::getBranch, getColor): now return a 'const &'.
897         (Branch::setSelected) now returns a bool set to true if the
898         selection status changes.
899         (BranchList::clear, size, getColor, setColor, setSelected,
900         allBranches, allSelected, separator): removed.
901         (BranchList::find): new functions, returning the Branch with
902         the given name.
903         (BranchList::add, remove): return a bool indicating that
904         the operation was successful.
905
906         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
907         new InsetBranch::isBranchSlected member function.
908
909         * LColor.[Ch]: mimimize the API.
910         (fill): renamed as addColor and made private.
911         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
912         versions of these functions taking a string arg have been removed.
913
914         * bufferparams.C (readToken):
915         * lyxfunc.C (dispatch):
916         * lyxrc.C (read): changes due to the altered BranchList and
917         LColor APIs.
918
919         * factory.C (createInset, readInset): changes due to altered
920         InsetBranch c-tor.
921
922 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
923
924         * factory.C:
925         * lyxfunc.C: remove insetminipage. "minipage-insert"
926         now produces a frameless minipage box inset.
927
928 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * textcursor.[Ch] (selStart,selEnd): add new methods
931         remove selection::start, end, use LyXCursor::operator<
932         * lyxcursor.[Ch] (operator<): add
933         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
934         * BufferView.[Ch] (unsetXSel): add
935         * text2.C (clearSelection): use unsetXSel,adjust
936         * text.C: adjust
937         * text3.C: adjust
938         * rowpainter.C: adjust
939         * bufferview_funcs.C (put_selection_at): adjust
940
941 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * BufferView_pimpl.C: small coord. correction
944
945 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
948         dragging over the splash screen.
949
950 2003-12-11  Angus Leeming  <leeming@lyx.org>
951
952         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
953         as it is now handled in LyXText::dispatch.
954
955         * text3.C (doInsertInset): remove a level of nesting.
956
957 2003-12-11  Angus Leeming  <leeming@lyx.org>
958
959         * factory.C (createInset): changes due to the changed interface to
960         InsetCommandMailer::string2params.
961
962 2003-12-10  Angus Leeming  <leeming@lyx.org>
963
964         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
965         'dialog-show-new-inset <inset name>'
966
967 2003-12-10  Angus Leeming  <leeming@lyx.org>
968
969         * buffer.C: up the format to 227.
970
971         * factory.C: the box inset is now identified simply by 'Box'.
972
973 2003-12-10  Angus Leeming  <leeming@lyx.org>
974
975         * buffer.C: up the format to 226.
976
977         * factory.C: the note inset is now identified simply by 'Note'.
978
979 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
980
981         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
982         when a pit is enough. Standarize a couple of loops.
983
984 2003-12-05  Angus Leeming  <leeming@lyx.org>
985
986         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
987         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
988         data to the re-worked "log" dialog.
989
990 2003-12-03  André Pönitz  <poenitz@gmx.net>
991
992         * PosIterator.C:
993         * iterators.C:
994         * lyxtext.h:
995         * output_latex.C:
996         * paragraph_funcs.C:
997         * text.C:
998         * text2.C: use Inset::getText instead of Inset::getParagraph
999
1000 2003-12-03  André Pönitz  <poenitz@gmx.net>
1001
1002         * buffer.[Ch]:
1003         * lyxtext.h:
1004         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1005         InsetText::read() as LyXText::read()
1006
1007 2003-12-02  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1010         type. Add a comment in the implementation that the function uses
1011         the stream's bad() function rather than fail() as the std::streams
1012         would do.
1013
1014 2003-12-02  André Pönitz  <poenitz@gmx.net>
1015
1016         * lyxlex.[Ch]: make interface more similar to std::stream
1017
1018         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1019
1020 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1023
1024 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1025
1026         * vspace.[Ch]: remove VSpace::NONE
1027
1028 2003-12-01  André Pönitz  <poenitz@gmx.net>
1029
1030         * buffer.[Ch]:
1031         * lyxtext.h: move ParagraphList member to LyXText
1032         rename LyXText::ownerParagraphs to LyXText::paragraph
1033
1034         * CutAndPaste.C:
1035         * bufferview_funcs.C:
1036         * iterators.[Ch]:
1037         * lyx_cb.C:
1038         * paragraph.C:
1039         * rowpainter.C:
1040         * tabular.C:
1041         * text.C:
1042         * text2.C:
1043         * text3.C: adjust
1044
1045         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1046
1047         * undo.C: fix cursor positioning
1048
1049 2003-12-01  John Levon  <levon@movementarian.org>
1050
1051         * BufferView_pimpl.C: fix a crash on exit with
1052         a buffer open
1053
1054 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * BranchList.C: fix setSelected() method.
1057
1058 2003-11-28  André Pönitz  <poenitz@gmx.net>
1059
1060         * ParagraphParameters.[Ch]:
1061         * ParameterStruct.h: remove space above/below from Paragraph to
1062          InsetVSpace
1063
1064         * BufferView_pimpl.C:
1065         * factory.C:
1066         * lyxfunc.C:
1067         * lyxtext.h:
1068         * output_latex.C:
1069         * paragraph.C:
1070         * paragraph_funcs.C:
1071         * rowpainter.[Ch]:
1072         * text.C:
1073         * text2.C:
1074         * text3.C: adjust
1075
1076 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1077
1078         * factory.C: Syntax change for CharStyles
1079
1080 2003-11-28  André Pönitz  <poenitz@gmx.net>
1081
1082         * BufferView.[Ch]:
1083         * BufferView.[Ch]:
1084         * buffer.[Ch]:
1085         * buffer.[Ch]: move LyXText member
1086
1087 2003-11-28  André Pönitz  <poenitz@gmx.net>
1088
1089         * BufferView.[Ch]: make LyXText * text a private member
1090
1091         * BufferView_pimpl.C:
1092         * cursor.C:
1093         * iterators.C:
1094         * lyx_cb.C:
1095         * lyxfind.C:
1096         * lyxtext.h:
1097         * rowpainter.[Ch]:
1098         * text.C:
1099         * text2.C:
1100         * undo.C: adjust
1101
1102         * output_plaintext.C: cleanup
1103
1104 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * buffer.C:
1107         * lyxtextclass.[Ch]: parametrize SGML document header
1108
1109 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1110
1111         * converter.[Ch]:
1112         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1113         getFlavor().
1114
1115 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * text2.C (setFont): rework using PosIterator (no more recursive)
1118         (setCharFont): no more needed
1119         (setLayout): no more selection cursors fiddling (done by redoCursor)
1120         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1121         destroy remaining ones)
1122
1123 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1124
1125         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1126         * lyxtext.h: ditto
1127         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1128         selection cursors
1129         * lyxfunc.C: adjust
1130         * text3.C: adjust + re-allow multi par depth changes
1131         * textcursor.C: simplify a bit
1132
1133 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * src/buffer.C:
1136         * src/lyxlayout.C:
1137         * src/lyxlayout.h:
1138         * src/lyxtext.h:
1139         * src/output_docbook.C:
1140         * src/output_latex.C:
1141         * src/paragraph.C:
1142         * src/paragraph.h:
1143         * src/sgml.C:
1144         * src/sgml.h:
1145         * src/text2.C: Introducing a number of tags parametrizing various
1146         XML formats that we may want to support
1147
1148 2003-11-25  André Pönitz  <poenitz@gmx.net>
1149
1150         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1151
1152         * lyxtext.h (leftMargin/rightMargin): simplify interface
1153
1154         * rowpainter.C:
1155         * text.C:
1156         * text2.C:
1157         * text3.C: adjust
1158
1159 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1160
1161         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1162         master file to any child files. Fixes bug 546.
1163
1164 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1165
1166         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1167
1168 2003-11-24  André Pönitz  <poenitz@gmx.net>
1169
1170         * rowpainter.C: simplification
1171
1172         * text2.C (updateCounters): remove call to redoParagraph on
1173         changed labels as this is far too expensive.
1174
1175 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * converter.C (convert): fix a crash: this function gets
1178         called with buffer == 0 from importer code.
1179
1180 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1181
1182         * text3.C (cursorPrevious): make sure that we do not compare
1183         iterators form different containers.
1184         (cursorNext): ditto
1185
1186         * rowpainter.C (paintSelection): make sure that we do not compare
1187         iterators from different containers.
1188
1189         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1190         iterators from different ParagraphList containers.
1191         [NEXT] ditto
1192
1193         * text2.C (LyXText): change order of initialization slightly
1194         (operator=): new function. copy all variables except cache_par_
1195         (moveUp): make sure that we do not compare iterators from
1196         different ParagraphList constainers.
1197         (moveDown): ditto
1198
1199         * text.C (firstPar): new function
1200         (lastPar): new function
1201         (endPar): new function
1202
1203         * lyxtext.h: move things around and group public functions, public
1204         variables, private functions, private variables
1205
1206 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1207
1208         * factory.C: change call to InsetERT constructor to avoid
1209         additional invocation of method status
1210         * text2.C (toggleInset): remove redundant update() call
1211         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1212         instead of a Bufferview pointer
1213
1214 2003-11-21  André Pönitz  <poenitz@gmx.net>
1215
1216         * rowpainter.C: simplification
1217
1218 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * text3.C (dispatch): make possible to extend a word/row selection
1221         with the mouse
1222
1223 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1224
1225         * lyxtext.h: x0_,y0_ -> xo_,yo_
1226         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1227         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1228         * rowpainter.C (paintRows): paint full paragraphs
1229
1230 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1233         screen coordinates)
1234
1235 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1236
1237         * lyxtext.h: add x0_, y0_
1238         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1239         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1240
1241 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1242
1243         * text2.C (setCursorIntern): move the x_target update here *
1244         * text3.C: change some bv() to true/false in calls to
1245         cursorUp/Down/Right/Left
1246         * cursor.C: use helper function.
1247
1248 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1249
1250         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1251         * paragraph_funcs.[Ch]: correct comment
1252         * rowpainter.C: do not paint selections away from bv->cursor()
1253         Fix a long standing selection painting bug.
1254         * text3.C: generalize mouse-selection code to LyXTexts other that
1255         top one
1256         * textcursor.C: do not use y coords if we can use par offsets
1257
1258 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1261         cursor position after e.g. inset insert)
1262
1263 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1264
1265         * lyxfind.C (replace): adjust to locking removal + some
1266         code simplification
1267
1268 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1269
1270         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1271         of the path
1272
1273 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * lyxlayout.[Ch]:
1276         * output_docbook.C: XML sanitation: new layout
1277         parameters InnerTag and CommandDepth
1278
1279 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1280
1281         * BufferView_pimpl.C:
1282         * factory.C:
1283         * text3.C: Fix the insertion and modification of button-style
1284         insets
1285
1286 2003-11-13  André Pönitz  <poenitz@gmx.net>
1287
1288         * InsetList.[Ch]: remove deleteLyXText
1289
1290         * paragraph.[Ch]: cache beginOfBody position
1291
1292         * Bidi.C:
1293         * text.C:
1294         * text2.C:
1295         * text3.C: remove superfluous update() calls
1296
1297         * vspace.C: cleanup
1298
1299 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1302         * BufferView.C (fitLockedInsetCursor): remove
1303         * cursor.[Ch] (getDim): add
1304         * text.C (getRowNearY): add faster version
1305         * text3.C: remove some update calls
1306
1307 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * LaTeXFeatures.C:
1310         * LyXAction.C:
1311         * MenuBackend.C:
1312         * MenuBackend.h:
1313         * dispatchresult.h:
1314         * factory.C:
1315         * lfuns.h:
1316         * lyxfunc.C:
1317         * lyxtextclass.C:
1318         * lyxtextclass.h:
1319         * text3.C: The Character Style /XML short element patch.
1320
1321 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1322
1323         * text3.C:
1324         * factory.C: Small step to solving 'unable to insert some insets'
1325         problem
1326
1327 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1328
1329         * cursor.[Ch] (updatePos): new function for updating the y
1330         position of the tip inset
1331         * bufferview_funcs.C (put_selection_at):
1332         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1333
1334 2003-11-11  André Pönitz  <poenitz@gmx.net>
1335
1336         * text.C: remove big comment on invalid Paragraph pointers as it is
1337         not valid anymore
1338
1339 2003-11-11  André Pönitz  <poenitz@gmx.net>
1340
1341         * text_funcs.[Ch]: merge with ...
1342
1343         * text.C: ... this
1344
1345         * lyxtext.h:
1346         * text2.C:
1347         * text3.C: adjust
1348
1349         * Makefile.am: remove text_funcs.[Ch]
1350
1351 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1352
1353         * cursor.C (getPos): return absolute cached y coord
1354
1355         * BufferView_pimpl.C (fitCursor): new simplistic code
1356         (workAreaDispatch): add a fitCursor call
1357
1358 2003-11-10  André Pönitz  <poenitz@gmx.net>
1359
1360         * BufferView.[Ch]:
1361         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1362
1363 2003-11-10  André Pönitz  <poenitz@gmx.net>
1364
1365         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1366         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1367         indicate that the cursor needs to leave an inset
1368
1369         * lyxtext.h: remove inset locking
1370
1371         * cursor.[Ch]: re-implement functionality provided by inset locking
1372
1373         * BufferView.[Ch]:
1374         * BufferView_pimpl.[Ch]:
1375         * LyXAction.C:
1376         * bufferview_funcs.[Ch]:
1377         * factory.C:
1378         * funcrequest.[Ch]:
1379         * iterators.C:
1380         * lyx_cb.C:
1381         * lyxfind.C:
1382         * lyxfunc.C:
1383         * text.C:
1384         * text2.C:
1385         * text3.C:
1386         * undo.C: adjust
1387
1388 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1389
1390         * PosIterator.[Ch]: replace the stack with a vector, add inset
1391         accesor
1392         * iterators.[C]: adjust
1393
1394 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1395
1396         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1397         replaced
1398         * paragraph_funcs.C (readParToken): put the correct id in the
1399         error item, not the id of the top paragraph
1400
1401 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1402
1403         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1404         * bufferview_funcs.C (put_selection_at): use the above
1405
1406 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1407
1408         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1409
1410 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * output_linuxdoc.h:
1413         * output_plaintext.h:
1414         * output.h:
1415         * output_docbook.h: add #include statements
1416
1417 2003-11-05  José Matos  <jamatos@lyx.org>
1418
1419         * output_docbook.[Ch]:
1420         * output_latex.[Ch]:
1421         * output_linuxdoc.[Ch]:
1422         * output_plaintext.[Ch]: New files for output formats.
1423         * output.[Ch]: New file for helper functions.
1424
1425         * buffer.[Ch]:
1426         * paragraph_funcs.[Ch]: output functions moved to new files.
1427
1428         * outputparams.h: rename of latexrunparams.h
1429
1430         * LaTeX.[Ch]:
1431         * buffer.[Ch]:
1432         * bufferlist.[Ch]:
1433         * converter.[Ch]:
1434         * exporter.C:
1435         * paragraph.[Ch]:
1436         * paragraph_funcs.[Ch]:
1437         * paragraph_pimpl.[Ch]:
1438         * tabular.[Ch]: rename ascii to plaintext
1439         and LatexRunParams to OutputParams.
1440
1441 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1442
1443         * iterators.[Ch] (text): require bv argument
1444         * undo.C (recordUndo):
1445         * lyxfunc.C (dispatch):
1446         * bufferview_funcs.C (put_selection_at): adjust
1447
1448 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1449
1450         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1451
1452 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1455         nestings
1456
1457 2003-11-04  André Pönitz  <poenitz@gmx.net>
1458
1459         * cursor.[Ch]: restructure
1460
1461         * BufferView.[Ch]:
1462         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1463
1464         * iterators.[Ch] (asCursor): remove
1465
1466         * lfuns.h: remove LFUN_INSET_EDIT
1467
1468         * lyxfunc.C:
1469         * tabular.C:
1470         * text.C:
1471         * text2.C:
1472         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1473
1474 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * lyxfind.[Ch]: complete overhaul
1477         * BufferView_pimpl.C:
1478         * lyxfunc.C: adjust
1479         * paragraph.[Ch] (insert): add
1480
1481 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * BufferView.[Ch]:
1484         * lyxtext.h:
1485         * text.C: remove dead spellcheck code
1486
1487 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1488
1489         * dispatchresult.h: add a val setter
1490
1491         * cursor.C (dispatch): use a tempvar for data_[i]
1492
1493 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1494
1495         * PosIterator.[Ch]: compile fix
1496
1497 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1498
1499         * text.C (cursorPar): deactivate the cursor cache
1500
1501 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1502
1503         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1504
1505 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1506
1507         * text3.C (dispatch): adjust for new DisptchResult semantics.
1508
1509         * lyxfunc.C (dispatch): handle update when return from
1510         Cursor::dispatch, adjust for new DispatchResult semantics.
1511
1512         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1513         DispatchResult(true) mean to not update. Add class functions for
1514         setting dispatched and update, as well as reading.
1515
1516         * cursor.C (dispatch): don't handle update here
1517
1518 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1521         * trans_mgr.C: adjust
1522
1523         * paragraph_funcs.C (readParToken): exception safety
1524
1525         * lyxvc.h: store the vcs pointer in a scoped_ptr
1526         * lyxvc.C: adjust
1527
1528         * lyxsocket.C (serverCallback): exception safety
1529
1530         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1531
1532         * ispell.C (clone): make it return a auto_ptr
1533
1534         * factory.C (createInset): exception safety
1535         (readInset): exception safety
1536
1537         * bufferlist.C (newBuffer): exception safety
1538
1539         * Thesaurus.C (Thesaurus): use initialization for aik_
1540
1541         * MenuBackend.C (expandToc): exception safety.
1542
1543 2003-11-03  André Pönitz  <poenitz@gmx.net>
1544
1545         * buffer.C:
1546         * buffer.h:
1547         * bufferview_funcs.C: remove getInsetFromId()
1548
1549         * lyxcursor.[Ch]:
1550         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1551
1552         * lyxfunc.C:
1553         * text2.C:
1554         * text3.C: adjust
1555
1556 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1557
1558         * PosIterator.C (distance, advance): new
1559         * bufferview_funcs.[Ch] (put_selection_at): new
1560         * iterators.[Ch] (lockPath): new
1561
1562 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1563
1564         * iterators.[Ch] (asPosIterator): added
1565         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1566         * PosIterator.[Ch]: added
1567
1568 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * text3.C:
1571         * lyxfunc.C:
1572         * cursor.C (dispatch):
1573         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1574
1575         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1576         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1577         contructor, add a class function dispatched. Remove operator>=
1578
1579 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1580
1581         * debug.C: only use the default constructor for debugstream
1582         (lyxerr) here.
1583
1584         * main.C (main): include debug.h and setup the lyxerr streambuf
1585         here.
1586
1587 2003-10-31  José Matos  <jamatos@lyx.org>
1588
1589         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1590
1591         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1592         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1593         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1594         * paragraph_pimpl.C (simpleTeXSpecialC):
1595         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1596         add LatexRunParams argument.
1597
1598         * exporter.C (Export): change call accordingly.
1599
1600         * latexrunparams.h: add new member to take care of the other backends.
1601 2003-10-30  José Matos  <jamatos@lyx.org>
1602
1603         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1604         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1605         factorise code for paragraph output.
1606         * buffer.[Ch]:
1607         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1608         move functions.
1609
1610 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1611
1612         * text3.C (dispatch):
1613         * lyxfunc.C (dispatch):
1614         * cursor.C (dispatch):
1615         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1616
1617         * dispatchresult.h: make the dispatch_result_t ctor explicit
1618
1619 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1620
1621         * sgml.[Ch]:
1622         * buffer.C: small refactoring of docbook stuff
1623
1624 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1625
1626         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1627         meaning.
1628
1629 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1632         operator dispatch_result_t, and operators for == != and >=
1633
1634         * cursor.C (dispatch): adjust for operator dispatch_result_t
1635         removal. comment out call to update
1636
1637         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1638
1639 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1640
1641         * text3.C:
1642         * text2.C:
1643         * text.C:
1644         * lyxtext.h:
1645         * lyxfunc.C:
1646         * cursor.C:
1647         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1648         (dispatch):
1649
1650         * dispatchresult.h: new file, DispatchResult broken out of
1651         insets/insetbase.h
1652
1653         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1654
1655 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * text.C (rowBreakPoint): put a hack inside #if 0
1658
1659 2003-10-28  André Pönitz  <poenitz@gmx.net>
1660
1661         * lyxtext.h:
1662         * metricsinfo.C:
1663         * paragraph_funcs.C:
1664         * rowpainter.C:
1665         * text.C:
1666         * text2.C: general cleanup (lots of small stuff)
1667
1668 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1669
1670         * text2.C (cursorEnd): simple fix to the "end key goes to one
1671         before the end on last row" bug
1672
1673 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1674
1675         * text.C (backspace): fix the "zombie characters"
1676
1677 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1680
1681 2003-10-27  André Pönitz  <poenitz@gmx.net>
1682
1683         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1684
1685         * factory.C: handle new InsetPagebreak, InsetLine
1686
1687         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1688         and move handling into new InsetPagebreak, InsetLine
1689
1690         * BufferView_pimpl.C:
1691         * LyXAction.C:
1692         * ParagraphParameters.C:
1693         * ParameterStruct.h:
1694         * lyxfunc.C:
1695         * lyxtext.h:
1696         * paragraph.C:
1697         * paragraph.h:
1698         * paragraph_funcs.C:
1699         * paragraph_pimpl.C:
1700         * rowpainter.C:
1701         * text.C:
1702         * text2.C:
1703         * text3.C: adjust
1704
1705 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1706
1707         * text.C:
1708         * lyxrow_funcs.[Ch]:
1709         * Bidi.C:
1710         * paragraph.C:
1711         * lyxtext.h:
1712         * rowpainter.C:
1713         * text2.C:
1714         * text3.C: remove lastPos uses in favour of Row::endpos
1715
1716 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1717
1718         * undo.C (performUndoOrRedo): fix two crashes by setting a
1719         cursor by hand and reordering some calls. Use bv->lockInset instead
1720         of inset->edit because the latter loses cursor information
1721
1722 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1725         by Martin
1726         (rowBreakPoint): fix width. change point to point + 1.
1727         Add a missing check.
1728
1729 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1730
1731         * MenuBackend.C:
1732         * lyxfunc.C: fix (at least partly) the problems
1733         with the Nav menu and headers inside branch insets
1734         reported by Kayvan
1735
1736 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * paragraph.C (getChar): add strong asserts
1739
1740         * lyxrow_funcs.C (lastPos): remove hideous hack
1741
1742         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1743         (fill): adjust to that (avoid an infinite loop)
1744
1745 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1748
1749 2003-10-23  André Pönitz  <poenitz@gmx.net>
1750
1751         * RowList_fwd.h: change list<> to vector<> to gain speed
1752         after suggestion from Alfredo
1753
1754 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1755
1756         * lyxtext.h: move the bidi stuff from here...
1757         * text.C: and here
1758         * text2.C: and here
1759         * Bidi.[Ch]: ... to here
1760
1761 2003-10-23  André Pönitz  <poenitz@gmx.net>
1762
1763         * lyxtext.h:
1764         * text.C (isLastRow, isFirstRow): new functions
1765
1766         * paragraph.h: new width cache member
1767
1768         * rowpainter.C: replace RowList::iterator with Row & where possible
1769
1770         * lyxfunc.C: replace several view()->text with a single call
1771
1772         * toc.C: fix 'unused' warning
1773
1774 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1775
1776         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1777         when woring with stream::pos_type
1778         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1779
1780 2003-10-22  André Pönitz  <poenitz@gmx.net>
1781
1782         * lyxtext.h:
1783         * text.C: use Row & instead of RowList::iterator
1784
1785         * lyxrow.h: rename end() to endpos()
1786
1787         * rowpainter.C:
1788         * text.C:
1789         * text2.C: adjust
1790
1791 2003-10-22  Angus Leeming  <leeming@lyx.org>
1792
1793         * buffer.[Ch] (fully_loaded): new member function, returning true
1794         only when the file has been loaded fully.
1795         Used to prevent the premature generation of previews and by the
1796         citation inset to prevent computation of the natbib-style label.
1797
1798         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1799         templates are all set up.
1800
1801         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1802
1803 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1804
1805         * text.C: fixed an "oops" in the "is a bit silly"
1806         bug fix
1807
1808 2003-10-21  André Pönitz  <poenitz@gmx.net>
1809
1810         * FuncStatus.[Ch]: small stuff, whitespace
1811
1812         * lyxfont.[Ch]: operator<<() for debug reasons
1813
1814         * lyxfunc.C:
1815         * lyxrow_funcs.C:
1816         * lyxtext.h: whitespace, spelling
1817
1818         * paragraph.C: naming of variables
1819
1820         * text.C:
1821         * text2.C: small stuff
1822
1823
1824 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1825
1826         * text.C: (1) finish off the inset display() work;
1827         (2) fix the "is a bit silly" bug (accessing char
1828         past end of par).
1829
1830 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1831
1832         * text.C: re-introduce display() for insets, fixing the
1833         various bugs (stretch of line above, math inset
1834         positioning, ...)
1835
1836 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * text.C (rightMargin): remove spurious semicolon
1839
1840         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1841         1415)
1842
1843 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1844
1845         * text3.C: fix one crash due to wrong cursor def
1846
1847 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1848
1849         * vc-backend.C (scanMaster): make the regex static
1850
1851         * LaTeX.C (scanAuxFile): make the regexs static
1852
1853         * text3.C (doInsertInset, dispatch, dispatch):
1854         * text2.C (cursorUp, cursorDown):
1855         * text.C (selectNextWordToSpellcheck):
1856         * BufferView_pimpl.C (dispatch):
1857         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1858
1859 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * lyxsocket.C: include <cerrno>
1862
1863 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * lyxfunc.C (dispatch): remove textcache stuff
1866
1867         * bufferlist.C (release): remove textcache stuff
1868         (closeAll): ditto
1869
1870         * TextCache.C: delete file
1871         * TextCache.h: delete file
1872
1873         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1874
1875         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1876         delete of the bv_->text.
1877         (resizeCurrentBuffer): remove texcache stuff
1878         (workAreaResize): ditto
1879
1880 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1883         action.
1884
1885 2003-10-16  André Pönitz  <poenitz@gmx.net>
1886
1887         * lyxrow.[Ch]:
1888         * paragraph.h:
1889         * rowpainter.C:
1890         * text.C:
1891         * text2.C:
1892         * text3.C: speed up by storing y positions per paragraph plus per-row
1893         offset instead of having a 'full' y position in the row.
1894
1895 2003-10-15  André Pönitz  <poenitz@gmx.net>
1896
1897         * iterators.[Ch]:
1898         * iterators.[Ch]:
1899         * undo.[Ch]: make undo aware of inner insets
1900
1901 2003-10-14  Angus Leeming  <leeming@lyx.org>
1902
1903         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1904         static member functions LyX::ref() and LyX::cref.
1905         (lastfiles): new accessor functions for the new lastfiles_ member var.
1906         (addLyXView, views_): add a new LyXView to the list of views_.
1907         (updateInset): loop over all LyXViews to call their own updateInset
1908         member function, returning a pointer to the Buffer owning the inset.
1909
1910         * BufferView_pimpl.C (loadLyXFile):
1911         * MenuBackend.C (expandLastfiles):
1912         * bufferlist.C (MenuWrite, QuitLyX):
1913         lastfiles is no longer a global variable.
1914         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1915
1916         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1917         static function. Access through LyX::cref().emergencyCleanup().
1918
1919 2003-10-14  André Pönitz  <poenitz@gmx.net>
1920
1921         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1922
1923         * undo.[Ch]: restoring part of 'undo in insets'
1924
1925         * Makefile.am:
1926         * undo_funcs.[Ch]: merge with undo.[Ch]
1927
1928         * tabular.C: small cleansing stuff
1929
1930 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1931
1932         * paragraph_funcs.C (readParToken): report unknown insets as error
1933         boxes. Use the outer paragraph as location (also for unknown
1934         tokens).
1935
1936         * factory.C (readInset): do not abort on reading an unknown inset.
1937         Eat it and return 0.
1938
1939 2003-10-13  Angus Leeming  <leeming@lyx.org>
1940
1941         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1942
1943         * lyxrc.C: displayTranslator is now a function,
1944         declared in GraphicsTypes.h.
1945
1946 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1947
1948         * format.C: new placeholder $$a to pass the socket address.
1949
1950         * bufferlist.[Ch]: new function getBufferFromTmp.
1951
1952         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1953           files in the temporary dir.
1954
1955 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1956
1957         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1958
1959         * Makefile.am: add lyxsocket.[Ch].
1960
1961         * lyx_main.C (error_handler): handle SIGPIPE.
1962
1963 2003-10-13  André Pönitz  <poenitz@gmx.net>
1964
1965         * BufferView_pimpl.C:
1966         * lyxtext.h:
1967         * text.C:
1968         * text2.C:
1969         * text3.C:
1970         * undo_funcs.[Ch]: use paroffset_type instead of
1971           ParagraphList::iterators to prevent multiple conversion
1972           (and get a more robust interface)
1973
1974 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1977         * lyxtext.h: ditto
1978         * text3.C (dispatch): ditto
1979
1980 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1983         move the onlyfile, use onlyfile instead of foundfile in a couple
1984         of places.
1985
1986         * DepTable.C (update): flush the error stream a bit more
1987
1988 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * lyxserver.C (callback): adjust
1991
1992         * lyxfunc.C (getStatus): add a missing brace in commented code
1993         (ensureBufferClean): reindent
1994         (dispatch): delete version taking a string
1995
1996 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1997
1998         * LaTeX.C (deplog): move found file handlig from here...
1999         (handleFoundFile): .. to new function here.
2000         (deplog): make sure to discover several files mentioned on the
2001         same log line.
2002
2003 2003-10-10  André Pönitz  <poenitz@gmx.net>
2004
2005         * lyxfunc.C:
2006         * lyxtext.h:
2007         * tabular.C:
2008         * text.C:
2009         * text2.C:
2010         * text3.C: fix some of the tabular crashes
2011
2012 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2013
2014         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2015
2016         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2017
2018 2003-10-09  André Pönitz  <poenitz@gmx.net>
2019
2020         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2021
2022         * BufferView.C:
2023         * BufferView_pimpl.C:
2024         * bufferview_funcs.C:
2025         * lyx_cb.C:
2026         * lyxcursor.C:
2027         * lyxfind.C:
2028         * lyxfunc.C:
2029         * lyxtext.h:
2030         * text.C:
2031         * text2.C:
2032         * text3.C:
2033         * text_funcs.[Ch]:
2034         * textcursor.[Ch]:
2035         * undo_funcs.C: adjust
2036
2037 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * text2.C (incrementItemDepth): new function, use a backtracking
2040         algorithm to discover the correct item depth.
2041         (resetEnumCounterIfNeeded): new function, use a backtracking
2042         algorithm to discover if counter reset is needed.
2043         (setCounter): use them. Simplify a bit. Add different labels for
2044         different item depths for itemize.
2045
2046         * paragraph.C (Paragraph): remove initialization of enumdepth
2047         (operator=): ditto
2048
2049         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2050         enumerate and itemize. Change the type of itemdepth to signed char.
2051
2052 2003-10-08  André Pönitz  <poenitz@gmx.net>
2053
2054         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2055           thing assignable.
2056         * text.C:
2057         * text2.C: adjust
2058
2059         * tabular.[Ch]: fix crash after 'row-insert'
2060
2061 2003-10-08  Angus Leeming  <leeming@lyx.org>
2062
2063         Fix doxygen warnings.
2064
2065         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2066         Remove CutAndPaste:: prefix from header file declaration.
2067
2068         * LColor.h (fill): remove LColor:: prefix from declaration.
2069
2070         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2071         use lyx::depth_type rather than Paragraph::depth_type so that
2072         header file and .C file match.
2073
2074         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2075
2076         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2077         * aspell.C: \file aspell_local.C -> \file aspell.C
2078         * gettext.C: \file gettext.C -> \file src/gettext.C
2079         * gettext.h: \file gettext.h -> \file src/gettext.h
2080         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2081         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2082         * text.C: \file text.C -> \file src/text.C
2083
2084         * toc.C: move comment so that doxygen is not confused.
2085
2086 2003-10-07  Angus Leeming  <leeming@lyx.org>
2087
2088         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2089
2090 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2091
2092         * aspell.C:
2093         * aspell_local.h: add forgotten std::string's.
2094
2095 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2096
2097         * LaTeXFeatures.C:
2098         * LyXAction.C:
2099         * factory.C:
2100         * lfuns.h:
2101         * lyxfunc.C:
2102         * text3.C: The Box patch. Fancybox support, minipage, parbox
2103
2104 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2105
2106         * CutAndPaste.h:
2107         * DepTable.h:
2108         * FloatList.h:
2109         * LaTeXFeatures.h:
2110         * ParagraphParameters.h:
2111         * TextCache.h:
2112         * Thesaurus.h:
2113         * bufferlist.h:
2114         * exporter.h:
2115         * importer.h:
2116         * lastfiles.h:
2117         * lyxfind.h:
2118         * lyxfont.h:
2119         * lyxlex.h:
2120         * lyxtextclasslist.h:
2121         * messages.h:
2122         * paragraph.h:
2123         * paragraph_pimpl.C:
2124         * textcursor.h: add <string> and other small fixes to make Lars'
2125         std::string patch compile with STLport.
2126
2127 2003-10-06  Angus Leeming  <leeming@lyx.org>
2128
2129         * LColor.h: Add missing #include <string>.
2130
2131 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * All most all file in all subdirs: Make <string> be the prefered
2134         way of getting to std::string, add using declarations.
2135
2136 2003-10-06  André Pönitz  <poenitz@gmx.net>
2137
2138         * metricsinfo.C: initialize LyXFont before changing attribute.
2139         (fixes the 'math in \emph is upright' bug)
2140
2141 2003-10-06  André Pönitz  <poenitz@gmx.net>
2142
2143         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2144
2145 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2146
2147         * graph.C:
2148         * paragraph_pimpl.C: Small fixes to build using STLport
2149
2150 2003-10-02  André Pönitz  <poenitz@gmx.net>
2151
2152         * lyxfunc.C:
2153         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2154
2155 2003-10-01  André Pönitz  <poenitz@gmx.net>
2156
2157         * factory.C: assert early
2158
2159 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * lyx_main.C: remove the global debug object
2162
2163         * debug.h: adjust for new debugstream
2164
2165         * debug.C: adjust for new debugstream and keep the global debug
2166         object here.
2167
2168 2003-09-22  Angus Leeming  <leeming@lyx.org>
2169
2170         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2171         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2172         an incomplete class LyXFont.
2173
2174 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * factory.C: bug fix in branches
2177
2178 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * lyxfunc.C (processKeySym): adjust
2181         (dispatch): adjust
2182         (dispatch): change arg name from ev to func, adjust
2183         (sendDispatchMessage): ditto
2184
2185         * lyx_main.C (defaultKeyBindings): adjust keybindings
2186         (deadKeyBindings): ditto
2187
2188         * kbsequence.C (addkey): return a FuncRequest
2189
2190         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2191
2192         * kbmap.C (bind): take a FuncRequest as arg, adjust
2193         (read): adjust
2194         (lookup): adjust
2195         (defkey): change to take a FuncRequest as arg, adjust
2196         (findbinding): take a FuncRequest as arg, adjust.
2197
2198         * funcrequest.h (operator=): added
2199
2200         * funcrequest.C (FuncRequest): default kb_action changed from
2201         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2202
2203         * buffer.C (dispatch): simplify
2204         (dispatch): adjust to take a FuncRequest as arg, adjust
2205
2206         * boost.C (assertion_failed): change assertion message slightly
2207
2208         * ToolbarBackend.C (read): simplify
2209
2210         * MenuBackend.C (binding): adjust call to findbinding, add a
2211         message if no binding is found.
2212         (read): simplify
2213         (expandToc): correct by adding a empty FuncRequest
2214
2215         * LyXAction.C: include <boost/assert.hpp>
2216         (isPseudoAction): delete function
2217         (LookupFunc): change name to...
2218         (lookupFunc): this. change return type to FuncRequest.
2219         (getActionName): take kb_action as arg, simplify
2220         (funcHasFlag): add an assert, simplify.
2221
2222 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * toc.C (action): return a FuncRequest, simplify
2225
2226         * lyxfunc.C (processKeySym): adjust
2227         (getStatus): delete version that takes an int.
2228         (getStatus): adjust
2229         (dispatch): delete version that takes action as int
2230         (dispatch): adjust
2231         (sendDispatchMessage): simplify and adjust
2232
2233         * funcrequest.C (getArg): take unsigned int as arg
2234
2235         * ToolbarBackend.C (read): adjust
2236         (add): delete version that takes func as a string.
2237         (getIton): take a FuncRequest as arg
2238
2239         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2240         action.
2241
2242         * MenuBackend.C (MenuItem): add a new construct that only takes a
2243         Kind, simplify the constructor use for submenus.
2244         (add): adjust
2245         (expandLastfiles): adjust
2246         (expandDocuments): adjust
2247         (expandFormats): adjust
2248         (expandFloatListInsert): adjust
2249         (expandFloatInsert): adjust
2250         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2251
2252         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2253         Remove class variables lyx_pseudo_map and lyx_arg_map
2254
2255         * LyXAction.C (searchActionArg): delete function
2256         (getPseudoAction): delete function
2257         (retrieveActionArg): delete function
2258         (LookupFunc): make it return kb_action, simplify.
2259         (getActionName): simplify
2260
2261         * factory.C (createInset): fix new bug
2262
2263 2003-09-19  Angus Leeming  <leeming@lyx.org>
2264
2265         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2266         masterFilename_ parameter in the include inset.
2267
2268         * factory.C (createInset): changes due to the changes to InsetInclude.
2269
2270 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2271
2272         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2273
2274 2003-09-18  Angus Leeming  <leeming@lyx.org>
2275
2276         * buffer.C:
2277         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2278         Inset::fillWithBibKeys.
2279         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2280
2281 2003-09-18  Angus Leeming  <leeming@lyx.org>
2282
2283         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2284         variables.
2285         (ctor): pass and store a 'Buffer const &'
2286         (buffer): new member function.
2287
2288         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2289         '*this' to the LaTeXFeatures ctor.
2290
2291 2003-09-18  Angus Leeming  <leeming@lyx.org>
2292
2293         * LColor.h:
2294         * lyxfont.C:
2295         * lyxfont.h:
2296         * lyxtext.h:
2297         * text.C: rename EnumLColor as LColor_color.
2298
2299 2003-09-18  Angus Leeming  <leeming@lyx.org>
2300
2301         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2302         remove #include "insets/insetbase.h" from cursor.h.
2303
2304 2003-09-18  Angus Leeming  <leeming@lyx.org>
2305
2306         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2307         InsetOld_code to remove #include "inset.h".
2308
2309         * iterators.C: add #include "insets/inset.h"
2310
2311 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2312
2313         * BufferView.C: remove more locking stuff that apparently doesn't
2314         do anything sensible.
2315
2316 2003-09-16  André Pönitz  <poenitz@gmx.net>
2317
2318         * paragraph.[Ch]:
2319         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2320           performance boost.
2321
2322 2003-09-16  Angus Leeming  <leeming@lyx.org>
2323
2324         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2325
2326         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2327         arg/return type.
2328
2329         * paragraph.h: remove #include "lyxfont.h". Forward declare
2330         LyXFont_size.
2331
2332 2003-09-16  Angus Leeming  <leeming@lyx.org>
2333
2334         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2335         of support/textutils.h.
2336         (isWord): move the contents of support/textutils.h's IsWordChar here.
2337
2338         * buffer.C:
2339         * lyxfind.C:
2340         * rowpainter.C:
2341         * text.C:
2342         * text2.C: add #include "paragraph.h".
2343
2344         * rowpainter.C:
2345         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2346
2347 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2348
2349         * main.C:
2350         * lyx_main.C:
2351         * lyx_cb.C:
2352         * buffer.C:
2353         * LaTeX.C: use namespace alias for lyx::support::os
2354
2355 2003-09-16  Angus Leeming  <leeming@lyx.org>
2356
2357         * bufferparams.C:
2358         * bufferview_funcs.C:
2359         * factory.C:
2360         * lyxfunc.C:
2361         * paragraph_pimpl.C:
2362         * rowpainter.C:
2363         * text.C: add #include "LColor.h".
2364
2365 2003-09-16  Angus Leeming  <leeming@lyx.org>
2366
2367         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2368         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2369         return LyXFont &.
2370         Store the FontBits::color variable as an int rather than as an
2371         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2372         file.
2373
2374         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2375         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2376         string calls together.
2377
2378         * lyxrc.C: add #include "LColor.h".
2379
2380 2003-09-15  Angus Leeming  <leeming@lyx.org>
2381
2382         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2383         a cow_ptr.
2384
2385 2003-09-15  Angus Leeming  <leeming@lyx.org>
2386
2387         * LColor.h: add an EnumLColor wrapper for LColor::color.
2388
2389         * lyxfont.[Ch] (color, setColor, realColor):
2390         * lyxtext.h, text.C (backgroundColor):
2391         pass EnumLColor args to/from the functions, rather than LColor::color
2392         ones.
2393
2394         * lyxfont.h:
2395         * lyxtext.h: forward declare EnumLColor.
2396
2397         * lyx_main.C: add #include "LColor.h".
2398
2399 2003-09-15  Angus Leeming  <leeming@lyx.org>
2400
2401         * .cvsignore: add lyx-gtk.
2402
2403 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * Chktex.C
2406         * LaTeX.C
2407         * LaTeXFeatures.C
2408         * ParagraphParameters.C
2409         * Spacing.C
2410         * buffer.C
2411         * bufferparams.C
2412         * bufferview_funcs.C
2413         * chset.C
2414         * counters.C
2415         * funcrequest.C
2416         * lyxfont.C
2417         * lyxgluelength.C
2418         * lyxlength.C
2419         * paragraph.C
2420         * paragraph_funcs.C
2421         * text3.C
2422         * vc-backend.C: remove usage of STRCONV
2423
2424 2003-09-15  Angus Leeming  <leeming@lyx.org>
2425
2426         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2427         explicitly define the color passed to the painter.
2428
2429 2003-09-15  Angus Leeming  <leeming@lyx.org>
2430
2431         * bufferparams.C (BufferParams): reorder member initializers to avoid
2432         compiler warning.
2433
2434 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2435
2436         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2437         * text.C (updateRowPositions): remove an unusual nop
2438
2439 2003-09-12  André Pönitz  <poenitz@gmx.net>
2440
2441         * BufferView_pimpl.C:
2442         * Bullet.C:
2443         * layout.h:
2444         * lyxfunc.C:
2445         * lyxlayout.[Ch]:
2446         * lyxtextclass.C:
2447         * rowpainter.C:
2448         * text.C:
2449         * text2.C:
2450         * Counters.[Ch]: finish the 'automatic counters' job
2451
2452 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2453
2454         * aspell.C: include <boost/assert.cpp> (compile fix)
2455
2456 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2457
2458         * boost.C (assertion_failed): use lyx::support::abort instead of
2459         assert.
2460
2461 2003-09-10  Angus Leeming  <leeming@lyx.org>
2462
2463         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2464         with their _fwd progeny.
2465
2466 2003-09-09  Angus Leeming  <leeming@lyx.org>
2467
2468         134 files throughtout the source tree: replace 'using namespace abc;'
2469         directives with the appropriate 'using abc::xyz;' declarations.
2470
2471 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2472
2473         * boost.C (emergencyCleanup): moved here from LAssert.c
2474         (assertion_failed): new function, called by BOOST_ASSERT
2475
2476         * several files: change Assert to BOOST_ASSERT
2477
2478 2003-09-09  Angus Leeming  <leeming@lyx.org>
2479
2480         * buffer.[Ch]: Add an Impl class and move Buffer's member
2481         variables into it. As a result move several header files out of
2482         buffer.h.
2483
2484         Add header files to lots of .C files all over the tree as a result.
2485
2486 2003-09-09  Angus Leeming  <leeming@lyx.org>
2487
2488         * buffer.[Ch]: make Buffer's member variables private. Add
2489         accessor functions.
2490
2491         Lots of changes all over the tree as a result.
2492
2493 2003-09-08  Angus Leeming  <leeming@lyx.org>
2494
2495         * graph.C: #include <config.h>.
2496
2497 2003-09-08  Angus Leeming  <leeming@lyx.org>
2498
2499         * BranchList.C:
2500         * BufferView.C:
2501         * BufferView_pimpl.C:
2502         * CutAndPaste.C:
2503         * DepTable.C:
2504         * LaTeX.C:
2505         * LaTeXFeatures.C:
2506         * LyXAction.C:
2507         * MenuBackend.C:
2508         * TextCache.C:
2509         * aspell.C:
2510         * buffer.C:
2511         * bufferlist.C:
2512         * changes.C:
2513         * chset.C:
2514         * converter.C:
2515         * counters.C:
2516         * debug.C:
2517         * graph.C:
2518         * ispell.C:
2519         * lyx_cb.C:
2520         * lyxfind.C:
2521         * lyxfunc.C:
2522         * lyxlex_pimpl.C:
2523         * lyxrc.C:
2524         * lyxrow.C:
2525         * paragraph.C:
2526         * rowpainter.C:
2527         * texrow.C:
2528         * text.C:
2529         * text2.C:
2530         * toc.C: remove redundant using directives.
2531
2532 2003-09-07  Angus Leeming  <leeming@lyx.org>
2533
2534         * LaTeXFeatures.h: remove #include "support/types.h".
2535         * ToolbarBackend.h: remove #include <algorithm>.
2536         * changes.h: remove #include <ctime>.
2537         * debug.h: remove #include <iosfwd>.
2538         * graph.h: remove #include "support/std_string.h".
2539         * lyx_main.h: remove #include <csignal>.
2540         * lyxlex_pimpl.h: remove #include <fstream>.
2541         * sgml.h: remove #include <algorithm>, <utility>.
2542         * toc.h: remove #include "support/std_ostream.h".
2543         Add #include <iosfwd>.
2544
2545 2003-09-07  Angus Leeming  <leeming@lyx.org>
2546
2547         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2548
2549         * converter.h: forward declare LatexRunParams.
2550         * encoding.h: remove #include "lyxrc.h".
2551         * lyxtext.h: remove #include "LColor.h".
2552         * lyxtextclass.h: remove #include "support/types.h".
2553         * trans.h: remove #include "tex-accent.h".
2554         * trans_mgr.h: remove #include "tex-accent.h".
2555         * insets/inset.h: remove #include "support/types.h", <vector>.
2556         * insets/insetcollapsable.h: remove #include "LColor.h".
2557         * insets/insetinclude.h: remove #include "dimension.h".
2558         * insets/insetlatexaccent.h: remove #include "dimension.h".
2559         * insets/insetoptarg.h:: remove #include "insettext.h".
2560         * insets/insettext.h: remove #include "dimension.h",
2561         <boost/shared_ptr.hpp>
2562
2563         * insets/renderers.h: add #include "dimension.h".
2564         * insets/updatableinset.h: add #include "support/types.h".
2565
2566         * many .C files: Associated changes.
2567
2568 2003-09-06  Angus Leeming  <leeming@lyx.org>
2569
2570         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2571         one, inside testInvariant.
2572
2573         * PrinterParams.C: new file.
2574         * PrinterParams.[Ch]: move the function bodies out of line.
2575
2576 2003-09-06  Angus Leeming  <leeming@lyx.org>
2577
2578         * ParagraphParameters.h: forward declare ParameterStruct rather than
2579         including its header file.
2580         (depth): moved out-of-line.
2581
2582 2003-09-06  Angus Leeming  <leeming@lyx.org>
2583
2584         * BufferView_pimpl.h:
2585         * kbmap.h:
2586         * kbsequence.h:
2587         * lyxfunc.h: forward declare LyXKeySym rather than
2588         #include "frontends/LyXKeySym.h".
2589
2590         * BufferView_pimpl.C:
2591         * kbmap.C:
2592         * kbsequence.C:
2593         * lyxfunc.C: associated changes.
2594
2595 2003-09-06  Angus Leeming  <leeming@lyx.org>
2596
2597         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2598         As a result, can remove the #include "insets/inset.h" from BufferView.h
2599
2600 2003-09-06  Angus Leeming  <leeming@lyx.org>
2601
2602         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2603         As a result, can remove the #include "insets/inset.h" from BufferView.h
2604
2605 2003-09-06  Angus Leeming  <leeming@lyx.org>
2606
2607         * buffer_funcs.C:
2608         * buffer.h:
2609         * bufferlist.C:
2610         * BufferView.C:
2611         * bufferview_funcs.C:
2612         * BufferView_pimpl.C:
2613         * CutAndPaste.C:
2614         * lyx_cb.C:
2615         * lyxfunc.C:
2616         * paragraph.h:
2617         * ParagraphParameters.C:
2618         * tabular.C:
2619         * text3.C:
2620         * toc.C:
2621         * undo_funcs.C:
2622         * frontends/controllers/ControlDocument.C:
2623         * insets/insetcaption.C: rearrange the #includes into some sort of
2624         coherent order.
2625
2626         * buffer.h: remove #includes ErrorList.h, undo.h
2627
2628 2003-09-06  Angus Leeming  <leeming@lyx.org>
2629
2630         * support/types.h: add a 'depth_type' typedef, used to store the
2631         nesting depth of a paragraph.
2632
2633         * paragraph.h:
2634         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2635         defining explicitly.
2636
2637         * buffer.h:
2638         * paragraph_funcs.h:
2639         * ParagraphParameters.h:
2640         * sgml.h: use lyx::depth_type rather than Paragraph or
2641         ParameterStruct's depth_type.
2642
2643         * buffer.h
2644         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2645
2646         * BufferView.C:
2647         * BufferView_pimpl.C:
2648         * CutAndPaste.C:
2649         * ParagraphParameters.C:
2650         * buffer_funcs.C:
2651         * bufferlist.C:
2652         * bufferview_funcs.C:
2653         * lyx_cb.C:
2654         * lyxfunc.C:
2655         * tabular.C:
2656         * text3.C:
2657         * toc.C:
2658         * undo_funcs.C:
2659         * frontends/LyXView.C:
2660         * frontends/controllers/ControlDocument.C:
2661         * frontends/controllers/ControlErrorList.C:
2662         * insets/insetbibitem.C:
2663         * insets/insetbranch.C:
2664         * insets/insetcaption.C:
2665         * insets/insetcollapsable.C:
2666         * insets/insetenv.C:
2667         * insets/insetert.C:
2668         * insets/insetfloat.C:
2669         * insets/insetfoot.C:
2670         * insets/insetfootlike.C:
2671         * insets/insetnewline.C:
2672         * insets/insetquotes.C:
2673         * insets/insettabular.C:
2674         * insets/insettext.C:
2675         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2676
2677         * frontends/controllers/ControlChanges.C: #include "changes.h".
2678
2679 2003-09-06  Angus Leeming  <leeming@lyx.org>
2680
2681         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2682         than #including paragraph.h.
2683
2684         * ParagraphList.h:
2685         * RowList.h: deleted. Superfluous.
2686
2687         * CutAndPaste.h:
2688         * iterators.h:
2689         * lyxcursor.h:
2690         * lyxtext.h:
2691         * text_funcs.h:
2692         * undo.h:
2693         * undo_funcs.h:
2694         * insets/inset.h:
2695         * insets/insettext.h: use ParagraphList_fwd.h rather than
2696         ParagraphList.h.
2697
2698         * paragraph.h: don't forward declare ParagraphList.
2699
2700         * buffer.h:
2701         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2702         rather than ParagraphList.h. paragraph.h is still needed for the
2703         Paragraph::depth_type parameters.
2704
2705         * textcursor.h: enable it to compile stand-alone in light of the
2706         above changes.
2707
2708         * bufferview_funcs.C:
2709         * iterators.C:
2710         * lyxfunc.C:
2711         * lyxrow_funcs.C:
2712         * paragraph.C:
2713         * rowpainter.C:
2714         * text.C:
2715         * text2.C:
2716         * text3.C:
2717         * text_funcs.C:
2718         * textcursor.C:
2719         * undo.C:
2720         * frontends/controllers/ControlParagraph.C:
2721         * frontends/controllers/ControlTabular.C:
2722         * insets/insetmarginal.C:
2723         * insets/insetminipage.C:
2724         * insets/insetnote.C:
2725         * insets/insetoptarg.C: add header files needed to compile again.
2726
2727 2003-09-06  Angus Leeming  <leeming@lyx.org>
2728
2729         * RowList_fwd.h: new file, forward-declaring Row rather than
2730         #including lyxrow.h.
2731
2732         * lyxrow_funcs.h:
2733         * lyxtext.h:
2734         * paragraph.h:
2735         * insets/insettext.h: use it instead of RowList.h
2736
2737         * bufferview_funcs.C:
2738         * lyxfunc.C:
2739         * lyxrow_funcs.C:
2740         * paragraph.C:
2741         * rowpainter.C:
2742         * text.C:
2743         * text2.C:
2744         * text3.C: #include "RowList.h".
2745
2746 2003-09-05  Angus Leeming  <leeming@lyx.org>
2747
2748         * factory.C (createInset):
2749         * vspace.C (c-tor): replace sscanf call with an istringstream.
2750         * ispell.C: re-add missing HP/UX headers.
2751         * lyxserver.C: re-add missing  os2 headers.
2752
2753 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2754
2755         * BranchList.C:
2756         * graph.C:
2757         * ispell.C:
2758         * lastfiles.C:
2759         * lyx_cb.C:
2760         * lyxserver.C:
2761         * texrow.C:
2762         * text3.C: re-add missing system headers, needed for 2.95.2.
2763
2764 2003-09-05  Angus Leeming  <leeming@lyx.org>
2765
2766         Changes most place everywhere due to the removal of using directives
2767         from support/std_sstream.h.
2768
2769 2003-09-05  Angus Leeming  <leeming@lyx.org>
2770
2771         Replace LString.h with support/std_string.h,
2772         Lsstream.h with support/std_sstream.h,
2773         support/LIstream.h with support/std_istream.h,
2774         support/LOstream.h with support/std_ostream.h.
2775
2776         Changes resulting throughout the tree.
2777
2778 2003-09-05  Angus Leeming  <leeming@lyx.org>
2779
2780         * sgml.h: ensure that the header file can be compiled stand-alone.
2781         * *.C: strip out redundant #includes. (320 in total.)
2782
2783 2003-09-04  Angus Leeming  <leeming@lyx.org>
2784
2785         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2786         here (from getPackages).
2787
2788         * debug.[Ch]: add a new EXTERNAL tag.
2789
2790 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2791
2792         * text2.C (cursorEnd): simplify
2793         (setCursor): adjust
2794         (getColumnNearX): adjust
2795
2796         * text.C (computeBidiTables): adjust
2797         (fill): adjust
2798
2799         * rowpainter.C (paintChars): adjust
2800         (paintSelection): adjust
2801         (paintChangeBar): adjust
2802         (paintText): adjust
2803
2804         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2805         lastPos instead.
2806         (numberOfSeparators): adjust
2807
2808 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2809
2810         * LyXAction.C:
2811         * box.[Ch]:
2812         * lfuns.h:
2813         * lyxfunc.C:
2814         * text3.C: Restricts the mouse click functionality
2815         of insets like bibtex, include, toc and floatlist to the visible
2816         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2817         up the dialogs. Cursor has to be in front of the inset (i.e.
2818         start of row) for this to function.
2819
2820 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2821
2822         * bufferview_funcs.C (currentState): output row information
2823
2824 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2825
2826         * bufferview_funcs.C (currentState): output paragraph position
2827
2828 2003-09-04  Angus Leeming  <leeming@lyx.org>
2829
2830         * FloatList.h: move out #include "Floating.h".
2831         * LaTeX.h: move out #include "DepTable.h".
2832         * LyXAction.h: move out #include "funcrequest.h".
2833         * buffer.h: move out #include "author.h", "iterators.h".
2834         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2835         * lyx_main.h: move out #include "errorlist.h".
2836         * lyxfunc.h: move out #include "FuncStatus.h".
2837         * lyxtext: move out #include "lyxcursor.h".
2838         * paragraph_pimpl.h: move out #include "counters.h".
2839
2840 2003-09-03  Angus Leeming  <leeming@lyx.org>
2841
2842         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2843         preamble_snippets list, enabling us to add snippets to the preamble
2844         only if the snippet was not there already.
2845
2846 2003-09-04  Angus Leeming  <leeming@lyx.org>
2847
2848         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2849
2850 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2853         update
2854
2855 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * BranchList.C: point fix, earlier forgotten
2858
2859 2003-09-02  Angus Leeming  <leeming@lyx.org>
2860
2861         * box.C (contains): renamed from 'contained' after a fantastic
2862         amount of hot air.
2863
2864 2003-09-02  John Levon  <levon@movementarian.org>
2865
2866         * BufferView.C:
2867         * lyxcursor.h:
2868         * lyxcursor.C:
2869         * lyxfunc.C:
2870         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2871
2872 2003-09-02  John Levon  <levon@movementarian.org>
2873
2874         * text2.C: simplification of cursorEnd(), including partial
2875         fix for bug 1376
2876
2877 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * buffer.C (readFile): add a space
2880
2881 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2882
2883         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2884
2885 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * buffer.C (readFile): new function, take a filename and a
2888         ParagraphList::iterator
2889         (readFile): adjust
2890         (readFile): adjust, make it private. don't use setStream, make
2891         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2892         always contain the filename.
2893
2894         * BufferView.C (insertLyXFile): simplify and make it work for
2895         gzipped files.
2896
2897 2003-08-30  John Levon  <levon@movementarian.org>
2898
2899         * Makefile.am: fix dist (from Kayvan)
2900
2901 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * most files: change to use const Buffer refs
2904
2905 2003-08-27  André Pönitz  <poenitz@gmx.net>
2906
2907         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2908         on top of ownerPar().
2909
2910 2003-08-27  John Levon  <levon@movementarian.org>
2911
2912         * funcrequest.C: properly initialise POD members
2913
2914 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * lyxtext.h (top_y): move top_y from here
2917         * text.C:
2918         * text2.C:
2919         * text3.C:
2920         * BufferView.[Ch]:
2921         * BufferView_pimpl.[Ch]: to here
2922         * frontends/screen.C:
2923         * insets/insettabular.C:
2924         * insets/insettext.C: adjust
2925         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2926
2927 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * BufferView.[Ch]:
2930         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2931
2932 2003-08-26  André Pönitz  <poenitz@gmx.net>
2933
2934         * paragraph_func.[Ch] (outerPar): new function
2935
2936         * paragraph.C:
2937         * paragraph_funcs.C:
2938         * paragraph_funcs.h:
2939         * paragraph_pimpl.C:
2940         * text2.C: remove Inset::par_owner
2941
2942 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2943
2944         * lyxrow_funcs.C:
2945         * lyxtext.h:
2946         * text.C:
2947         * text2.C: eliminates the needFullRow/display() stuff
2948         altogether, putting the logic in metrics/draw in the insets.
2949
2950 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2951
2952         * text2.C (redoParagraphInternal, redoParagraphs):
2953         * text.C (redoParagraph): add a call to updateRowPositions at the
2954         end of each 'metrics-like' call. Remove all others.
2955         (getRow): remove the 'y-computing' version.
2956         (getRowNearY): do not compute nor return the real y. Solve the
2957         'y < 0' problem and simplify.
2958
2959 2003-08-22  Angus Leeming  <leeming@lyx.org>
2960
2961         * *.[Ch]: clean-up of licence and author blurbs.
2962         Also move config.h out of a few .h files and into a few .C files.
2963
2964 2003-08-22  André Pönitz  <poenitz@gmx.net>
2965
2966         * lyxrow.[Ch]: add x_ and *fill_ members
2967
2968         * lyxtext.h:
2969         * text.C:
2970         * rowpainter.C:
2971         * text2.C: adjust/remove prepareToPrint() calls
2972
2973 2003-08-22  André Pönitz  <poenitz@gmx.net>
2974
2975         * lyxrow.[Ch]: add  end_ member
2976
2977         * lyxrow_funcs.C: use LyXRow::end_
2978
2979         * lyxtext.h (singleWidth): add LyXFont parameter
2980
2981         * rowpainter.C:
2982         * text2.C: adjust LyXText::singleWidth() calls
2983
2984         * text.C (redoParagraph): simplify row breaking logic
2985
2986
2987 2003-08-19  André Pönitz  <poenitz@gmx.net>
2988
2989         * funcrequest.C: initialize button_ member
2990
2991         * text3.C:
2992         * rowpainter.[Ch]: interface consolidation
2993
2994 2003-08-18  André Pönitz  <poenitz@gmx.net>
2995
2996         * BufferView.C:
2997         * BufferView_pimpl.C:
2998         * lyxfind.C:
2999         * paragraph_funcs.C:
3000         * rowpainter.C:
3001         * text3.C: remove LyXScreen::draw() and fitCursor calls
3002
3003         * BranchList.h: remove spurious semicolons
3004
3005         * MenuBackend.C: fix branchlist related crash
3006
3007 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3008
3009         * BranchList.[Ch]:
3010         * InsetList.[Ch]:
3011         * LColor.[Ch]:
3012         * LyXAction.C:
3013         * Makefile.am:
3014         * MenuBackend.[Ch]:
3015         * bufferparams.[Ch]:
3016         * factory.C:
3017         * lfuns.h:
3018         * lyxfunc.C:
3019         * text3.C: implements the 'branch inset'
3020         idea. This allows the output of various versions of a document
3021         from a single source version, selectively outputing or suppressing
3022         output of parts of the text.
3023         This implementation contains a 'branch list editor' in a separate
3024         tab of the document settings dialog. Branches are user definable
3025         and have a "display colour" to distinguish them on-screen.
3026
3027         ColorHandler was somewhat cleaned up.
3028         (1) make possible a dynamically growing LColor list by allowing
3029         the graphic context cache to grow along (vector);
3030         (2) eliminate an IMHO unnecessary step in colour allocation.
3031
3032 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3033
3034         * BufferView_pimpl.C: compile fix
3035
3036 2003-08-15  André Pönitz  <poenitz@gmx.net>
3037
3038         * rowpainter.C: remove extra metrics calls
3039
3040         * lyxtext.h: merge the two constructors into a single one,
3041           pass reference to owner's par list
3042
3043         * BufferView_pimpl.C:
3044         * text.C:
3045         * text2.C: adjust
3046
3047 2003-08-15  André Pönitz  <poenitz@gmx.net>
3048
3049         * lyxrow_funcs.[Ch]:
3050         * lyxtext.h:
3051         * paragraph.h:
3052         * paragraph_funcs.C:
3053         * rowpainter.C:
3054         * text.C:
3055         * text2.C:
3056         * text3.C:
3057         * text_funcs.C: split LyXText::rowlist_ into individual
3058         Paragraph::rows_ chunks
3059
3060         * BufferView.[Ch]:
3061         * BufferView_pimpl.[Ch]:
3062         * lyxfind.C:
3063         * lyxtext.h:
3064         * text3.C: remove toggleSelection()
3065
3066 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3067
3068         * bufferlist.C: beautify two alerts (shorter text of buttons)
3069         * buffer.C: Remove redundant ' ' from message
3070         * tabular.h:
3071         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3072         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3073         rename VALIGN_CENTER to VALIGN_MIDDLE
3074
3075 2003-08-11  André Pönitz  <poenitz@gmx.net>
3076
3077         * lyxtext.h (getPar):
3078         * text.C: new function
3079
3080 2003-08-11  André Pönitz  <poenitz@gmx.net>
3081
3082         * Makefile.am:
3083         * tracer.[Ch]: remove unneeded files
3084
3085         * InsetList.[Ch]: remove resizeInsetsLyXText()
3086
3087         * lyxtext.h:
3088         * text.C:
3089         * text2.C:
3090         * text3.C: merge insertParagraphs() and appendParagraph()
3091         remove breakAgain(), update()
3092
3093         * BufferView_pimpl.[Ch]:
3094         * bufferview_funcs.[Ch]:
3095         * lyxfunc.C:
3096         * paragraph.[Ch]:
3097         * rowpainter.C:
3098         * tabular.C: adjust after text & InsetList changes.
3099
3100 2003-08-08  André Pönitz  <poenitz@gmx.net>
3101
3102         * text.C (insertChar, backspace): replace rowlist fiddling
3103         with rebreak of full par
3104
3105         * lyxtext.h:
3106         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3107         checkParagraph, updateInset): removed
3108
3109 2003-08-07  André Pönitz  <poenitz@gmx.net>
3110
3111         * paragraph.C:
3112         * text3.C: merge some LFUN handlers, remove dead code
3113
3114 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3115
3116         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3117
3118 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * text2.C (DEPM): fix part of bug 1255 and 1256
3121
3122 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3123
3124         * BufferView_pimpl.C (workAreaDispatch): change to use
3125         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3126         that are no mouse related.
3127
3128 2003-08-05  André Pönitz  <poenitz@gmx.net>
3129
3130         * BufferView.[Ch]:
3131         * BufferView_pimpl.[Ch]:
3132         * bufferview_funcs.C:
3133         * text2.C:
3134         * text3.C: rip out "deep update"
3135
3136         * textcursor.[Ch] (last_sel_cursor): remove unused member
3137
3138 2003-08-04  André Pönitz  <poenitz@gmx.net>
3139
3140         * BufferView.[Ch]:
3141         * BufferView_pimpl.[Ch]:
3142         * ParagraphParameters.C:
3143         * bufferview_funcs.C:
3144         * lyx_cb.C:
3145         * lyxfind.C:
3146         * lyxfunc.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C: replace "complicated" BufferView::update(...) calls with
3150         simpler ones.
3151
3152         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3153
3154 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3155
3156         * Makefile.am (lyx_SOURCES): add paper.h
3157
3158 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3159
3160         * Makefile.am: move things around so that both lyx-qt and
3161         lyx-xforms can be built (according to --with-frontend). Then lyx
3162         is a symbolic link to lyx-[firstfrontend]
3163
3164 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3165
3166         * Always use std::endl with lyxerr
3167
3168 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3169
3170         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3171
3172 2003-08-01  André Pönitz  <poenitz@gmx.net>
3173
3174         * BufferView.[Ch]:
3175         * BufferView_pimpl.[Ch]:
3176         * lyxfunc.C:
3177         * text3.C: merge BufferView::repaint() and BufferView::update()
3178
3179 2003-08-01  José Matos  <jamatos@lyx.org>
3180
3181         * buffer.[Ch]: file_format is no longer a buffer data element.
3182
3183 2003-08-01  André Pönitz  <poenitz@gmx.net>
3184
3185         * BufferView.C:
3186         * lyxtext.h:
3187         * text.C:
3188         * text2.C: make redoParagraph more independent of current cursor
3189
3190         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3191         * text.C:
3192         * text2.C: remove unneeded members
3193
3194 2003-07-30  André Pönitz  <poenitz@gmx.net>
3195
3196         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3197
3198         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3199           create a single function...
3200
3201         * paragraph_funcs.C (moveItem): ... here.
3202
3203         * text.C:
3204           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3205
3206 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * LColor.[Ch]: Add comment and greyedout logical colors.
3209
3210 2003-07-30  André Pönitz  <poenitz@gmx.net>
3211
3212         * tabular.C: don't use Assert too heavily. This crashes where it
3213           shouldn't
3214
3215 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3218         is disabled (bug 1232)
3219
3220 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * factory.C: limited 'arg' scope
3223
3224 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3225
3226         * factory.C: fixed Note submenu issues
3227
3228 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3229
3230         * factory.C: submenu for Note/Comment/Greyedout
3231
3232 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3233
3234         * lyx_main.C (LyX):
3235         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3236
3237 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3238
3239         * LaTeXFeatures.C:
3240         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3241         greyedout. Patch provided by Jürgen Spitzmüller.
3242
3243 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3244
3245         * kbmap.C (read): fix error message when reading bind files
3246
3247 2003-07-29  Angus Leeming  <leeming@lyx.org>
3248
3249         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3250         certainly does not do what it purports to do. I am doing it, and
3251         us, a favour by killing it.
3252
3253 2003-07-28  José Matos  <jamatos@lyx.org>
3254
3255         * buffer.C (readBody, do_writeFile):
3256         * paragraph.C(readParagraph): \end_document replaces \the_end.
3257
3258 2003-07-29  André Pönitz  <poenitz@gmx.net>
3259
3260         * BufferView.[Ch]:
3261         * BufferView_pimpl.[Ch]:
3262         * lyxfunc.C:
3263         * text2.C:
3264         * text3.C:
3265         * textcursor.[Ch]: remove toggleToggle & Co
3266
3267 2003-07-28  José Matos  <jamatos@fep.up.pt>
3268
3269         * buffer.C (readParagraph):
3270         * params_func (readParToken, readParagraph):
3271         * paragraph.C (write): \layout -> \begin_layout.
3272
3273 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * lyxlex_pimpl.C (setFile): clean up slightly.
3276
3277         * bufferparams.h: add compressed var
3278
3279         * buffer_funcs.C (readFile): adjust for LyXLex change
3280         (newFile): ditto + simplify
3281
3282         * buffer.C (writeFile): handle writing of compressed files
3283
3284         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3285         Check if the file is compressed and set a bufferparm if so.
3286
3287         * Makefile.am (lyx_LDADD): remove explicit -lz
3288
3289 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3290
3291         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3292         makeDocBookFile): put the real LyX version in the first line of
3293         the file
3294
3295         * version.h:
3296         * version.C.in: remove lyx_docversion
3297
3298         * tabular.C (write_attribute): add a template-based version to
3299         write enums properly
3300
3301 2003-07-28  André Pönitz  <poenitz@gmx.net>
3302
3303         * lyxtext.h:
3304         * text.C:
3305         * text2.C:
3306         * text3.C: use doubles again for x-coordinates. They are needed.
3307
3308 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * messages.C (getLocaleDir): use lyx_localedir()
3311
3312         * lyxlex_pimpl.C (setFile): compress stuff
3313
3314         * buffer.C (writeFile): add some compression stuff
3315         (do_writeFile): new func, dont call expliti close... will this
3316         breake anything?
3317
3318         * Makefile.am (lyx_LDADD): add -lz
3319
3320 2003-07-28  José Matos  <jamatos@fep.up.pt>
3321
3322         * buffer.C: increment file format.
3323         * paragraph_funcs (readParagraph, readParToken):
3324         * paragraph.C (readParagraph): add \end_layout.
3325
3326 2003-07-27  Angus Leeming  <leeming@lyx.org>
3327
3328         * Makefile.am: remove special casing for configure-time setting of
3329         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3330
3331         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3332         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3333
3334 2003-07-26  André Pönitz  <poenitz@gmx.net>
3335
3336         * paragraph_func.[Ch]:
3337         * paragraph.C (realizeFont): inline it whereever it is used
3338
3339         * rowpainter.C:
3340         * text.C:
3341         * text2.C:
3342         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3343
3344
3345 2003-07-26  André Pönitz  <poenitz@gmx.net>
3346
3347         *       lyxtext.h:
3348         * text.C:
3349         * text2.C: get rid of LyXText::need_break_row
3350
3351 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * toc.[Ch]: put namespace toc inside namespace lyx
3354
3355         * MenuBackend.C (expandToc2): adjust for lyx::toc
3356         (expandToc): ditto
3357
3358         * lyxfunc.C (dispatch): adjust for lyx::find
3359
3360         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3361         lyx::find instead. Reorganize a bit.
3362         (LyXReplace): rename to replace
3363         (LyXFind): rename to find
3364
3365         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3366         (dispatch): ditto
3367
3368 2003-07-26  André Pönitz  <poenitz@gmx.net>
3369
3370         * text.C (setHeightOfRow): restrict scope of temporary variable
3371
3372         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3373           code (never has been used?)
3374
3375 2003-07-27  Asger Alstrup  <alstrup@local>
3376
3377         * text.C (fill): Optimise algorithm to exploit that we can reuse
3378         the LyXFont for many characters.
3379         (setHeightOfRow): Same thing.
3380         (rowBreakPoint): Same thing.
3381
3382 2003-07-26  Asger Alstrup  <alstrup@local>
3383
3384         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3385
3386         * text.C (singleWidth): Spurious font copying in hot-spot
3387         singleWidth avoided. Reorder tests for arabic for efficiency.
3388
3389         * text.C (fill): handle empty paragraphs better.
3390
3391 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3392
3393         * ispell.C:
3394         * encoding.h: add includes
3395
3396         * lyxrc.C: remove reading of bind files
3397
3398         * lyx_main.C (init): setup bindings and menus only if we have a
3399         gui.
3400
3401         * kbmap.C (read): new method. Do the actual reading of bind
3402         files.
3403
3404         * converter.C (dvipdfm_options):
3405         * bufferparams.C:
3406         * lyxrc.C (read):
3407         (output): adapt PAPER_* enums.
3408
3409         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3410
3411         * bufferparams.h: remove paper-related enums from there
3412
3413         * paper.h: New file. A trivial header file to hold paper-related
3414         enums. It should later expand to contain many paper-related
3415         horrors access.
3416
3417         * lyxrc.C: declare extern displayTranslator
3418
3419 2003-07-27  José Matos  <jamatos@fep.up.pt>
3420
3421         * tabular.[Ch] (linuxdoc): add support for tables and figures
3422         (linuxdoc).
3423
3424 2003-07-27  José Matos  <jamatos@fep.up.pt>
3425
3426         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3427         consistency in both functions.
3428         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3429
3430 2003-07-26  Asger Alstrup  <alstrup@local>
3431
3432         * rowpainter.C (paintRows): Change algorithm to work directly on
3433         the insets rather than asking every character in the document
3434         whether its an inset.
3435
3436 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3437
3438         * buffer.C (openFileWrite): factorize some code
3439
3440 2003-07-26  Angus Leeming  <leeming@lyx.org>
3441
3442         * lyx_cb.C:
3443         * lyx_main.[Ch]: replace occurances of system_tempdir with
3444         os::getTmpDir().
3445
3446 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * rename Inset to InsetOld
3449
3450 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3451
3452         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3453         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3454         which I think is a bit clearer. EDIT is gone, since it was
3455         premature optimisation, and broken for mathed anyway.
3456         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3457         with cursor positioning in insets as well (math insets still do not
3458         work, but that's a different story anyway.) It mysteriously
3459         crashes sometimes with undo in the first paragraph, but I'm fairly
3460         confident that this is a compiler bug.
3461
3462 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * paragraph.C (Paragraph): adjust for new clone return type
3465         (operator==): ditto
3466         (copyIntoMinibuffer): ditto
3467
3468 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3469
3470         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3471         by not having a special case, and always doing a full rebreak of
3472         the document after undo.
3473
3474 2003-07-23  Angus Leeming  <leeming@lyx.org>
3475
3476         * factory.C (createInset): InsetExternal::setParams now takes a
3477         Buffer const * arg.
3478
3479 2003-07-23  Angus Leeming  <leeming@lyx.org>
3480
3481         * factory.C (createInset): changed interface to the external and
3482         graphics mailers' string2params functions.
3483
3484 2003-07-23  Angus Leeming  <leeming@lyx.org>
3485
3486         * factory.C (createInset): pass a
3487         Buffer const * parameter to InsetExternalMailer's string2params.
3488
3489 2003-07-22  John Levon  <levon@movementarian.org>
3490
3491         * Thesaurus.h: include the right aiksaurus header
3492
3493 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3494
3495         * MenuBackend.C (expand): check menu shortcuts unconditionally
3496
3497 2003-07-21  Angus Leeming  <leeming@lyx.org>
3498
3499         * factory.C (createInset): pass a
3500         buffer_path parameter to InsetGraphicsMailer's string2params.
3501
3502 2003-07-21  Angus Leeming  <leeming@lyx.org>
3503
3504         * BufferView_pimpl.C (buffer):
3505         * buffer.C (d-tor):
3506         * lyx_main.C (LyX):
3507         * lyxfunc.C (dispatch):
3508         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3509         rather than the grfx shortcut.
3510
3511 2003-07-21  André Pönitz  <poenitz@gmx.net>
3512
3513         * rowpainter.C: remove unused variables
3514
3515         * tabular_funcs.C:
3516         * tabular_funcs.h: move to tabular.C
3517         * Makefile.am: adjust
3518
3519         * tabular.[Ch]: basic optical cleaning
3520
3521         * author.h: pass references, not values
3522
3523 2003-07-18  André Pönitz  <poenitz@gmx.net>
3524
3525         * lyxtext.h:
3526         * metricsinfo.C:
3527         * metricsinfo.h:
3528         * rowpainter.C:
3529         * text.C:
3530         * text2.C:
3531         * text3.C: two-phase drawing for InsetText and InsetTabular
3532         some float -> int changes.
3533
3534 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * lyx_main.C: fix the fix
3537
3538 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyx_main.C: fix a crash in batch mode if no files specified
3541         * converter.C: ws
3542
3543 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * format.[Ch] (papersize): moved to BufferParams
3546         * converter.[Ch] (dvips_options): moved to BufferParams
3547         (dvipdfm_options): moved to anon namespace
3548         * bufferparams.[Ch]: added above functions.
3549
3550 2003-07-17  André Pönitz  <poenitz@gmx.net>
3551
3552         * lyxtext.h:
3553         * rowpainter.C:
3554         * text2.C: don't call inset->update() anymore
3555
3556         * metricsinfo.[Ch]: add convenience constructor
3557
3558 2003-07-16  André Pönitz  <poenitz@gmx.net>
3559
3560         * lyxcursor.[Ch]:
3561         * lyxfunc.[Ch]:
3562         * text.C:
3563         * text2.C: replace the LyXCursor::irow_ member with
3564          on-demand computation of the value
3565
3566 2003-07-16  John Levon  <levon@movementarian.org>
3567
3568         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3569
3570 2003-07-15  André Pönitz  <poenitz@gmx.net>
3571
3572         * text.C:
3573         * text2.C: remove no more needed refresh_row
3574
3575 2003-07-15  André Pönitz  <poenitz@gmx.net>
3576
3577         * lyxtext.h:
3578         * rowpainter.C:
3579         * text2.C:
3580         * text3.C: refresh_status tristate -> need_update bool
3581
3582 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * lyxtext.h (init): remove reinit argument (act as if always true)
3585         * text2.C: adjust to that
3586
3587 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3588
3589         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3590         * text3.C: use it to delete selections in some cases
3591         (bugs 441, 673, 702, 954).
3592
3593 2003-07-14  André Pönitz  <poenitz@gmx.net>
3594
3595         * rowpainter.[Ch]: reduce interface
3596
3597 2003-07-14  André Pönitz  <poenitz@gmx.net>
3598
3599         * BufferView_pimpl.C:
3600         * text2.C: adjust after removing unused BufferView * argument
3601
3602 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * text2.C (init): fix a crash fired on resize
3605
3606 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * buffer.[Ch]: added new closing signal
3609         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3610         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3611         BufferView::Pimpl via the closing the signal
3612
3613 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * buffer.[Ch]: take out all bv-related from buffer
3616         * BufferView.C:
3617         * BufferView_pimpl.[Ch]: connect to new signals
3618         * CutAndPaste.C: removed useless asserts
3619         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3620         * lyxvc.[Ch]:
3621         * vc-backend.[Ch]:
3622         * lyxfunc.C: moved view-related funciontality from vc here
3623         * paragraph.C: removed outdated comments
3624         * text.C: ws
3625
3626 2003-07-10  André Pönitz  <poenitz@gmx.net>
3627
3628         * BufferView_pimpl.C:
3629         * tabular.h:
3630         * tabular_funcs.C:
3631         * text.C:
3632         * text2.C: remove InsetText::InnerCache, clean up consequences
3633
3634 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3635
3636         * ispell.C: fix two typos in error messages
3637
3638 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3639
3640         * Extend Note inset to other forms of annotation like Comment
3641         and Greyedout. Right button click gives dialog.
3642
3643         Files modified or added (+):
3644
3645         * insetnote.[Ch]
3646         * FormNote.[Ch]      +
3647         * ControlNote.[Ch]   +
3648         * form_note.fd       +
3649         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3650         frontends/controllers
3651         * xforms/Dialogs.C
3652         * factory.C
3653
3654 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3655
3656         * aspell.C: add missing namespace lyx::support
3657
3658 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3659
3660         * BufferView.[Ch] (newFile): Add
3661         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3662         * LaTeX.[Ch] (message): added this signal and use it
3663         * buffer.[Ch] (busy, message): added these signals and use them
3664         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3665         * converter.C:
3666         * exporter.C:
3667         * format.C:
3668         * importer.C: use buffer signals instead of direct bv calling
3669         * lyx_cb.[Ch] (ShowMessage): removed
3670         * lyx_main.C:
3671         * lyxfunc.C:
3672         * paragraph_funcs.C:
3673         * text2.C: use buffer signals
3674
3675 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * introduce namespace lyx::graphics
3678
3679 2003-07-02  André Pönitz  <poenitz@gmx.net>
3680
3681         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3682
3683 2003-07-01  André Pönitz  <poenitz@gmx.net>
3684
3685         * text.C:
3686         * text2.C:
3687         * text3.C:
3688         * text_funcs.[Ch]:
3689         * textcursor.h:
3690         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3691           text*.C to text_func.C
3692
3693 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3694
3695         * introduce namespace lyx::support
3696
3697 2003-06-30  André Pönitz  <poenitz@gmx.net>
3698
3699         * Chktex.C:
3700         * funcrequest.C:
3701         * lyxtext.h:
3702         * text.C: re-enable --with-included-string
3703
3704 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * textcursor.C: add <config.h>
3707
3708         * text.C (getWord): remove const from word_location arg
3709
3710         * lyxvc.C (getLogFile): fix const type order
3711
3712         * lyxtext.h: remove const from word_location arg, add arg name
3713
3714         * lyxlayout.h: currect type on labeltype.
3715
3716         * importer.C: correct \file
3717
3718         * converter.C (intToFormat): use std:: on ret val, ws changes
3719
3720         * bufferlist.h: correct \file
3721
3722         * buffer.C (makeLinuxDocFile): fix const type order
3723         (makeDocBookFile): ditto
3724         (fillWithBibKeys): use std:: on stdlib args.
3725
3726         * CutAndPaste.C: fix authors.
3727         (availableSelections): use std:: on return vector
3728
3729 2003-06-27  André Pönitz  <poenitz@gmx.net>
3730
3731         * BufferView_pimpl.C:
3732         * bufferview_funcs.C:
3733         * lyxcursor.C:
3734         * lyxcursor.h:
3735         * lyxfunc.C:
3736         * lyxtext.h:
3737         * rowpainter.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: remove LyXCursor::row_ member
3741
3742         * lyxtext.h:
3743         * text.C: rename fullRebreak() to partialRebreak() and implement
3744           a fullRebreak() that really bereks fully
3745
3746         * textcursor.h: new struct for cursor-related data
3747
3748 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3749
3750         * lyx_main.C (LyX): get full path of document loaded on the
3751         command line
3752
3753 2003-06-26  André Pönitz  <poenitz@gmx.net>
3754
3755         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3756           remove unused/broken operator>,<,>=.
3757
3758         *       text.C: remove only use of broken operator<= in an Assert().
3759
3760 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3761
3762         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3763         moved errorlist_.clear to showErrorList
3764
3765 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3766
3767         * converter.C (scanLog, runLaTeX):
3768         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3769         move the bv->showErrorList call to the callers
3770         * lyxfunc.C: i.e. here...
3771         * text2.C: and here
3772         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3773         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3774         namespace, the second to...
3775         * buffer_funcs (BufferFormat, parseErrors): added
3776         * errorlist.C (ErrorList(TeXErrors const &)): removed
3777
3778 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3779
3780         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3781
3782 2003-06-24  "Garst R. Reese" <reese@isn.net>
3783
3784         * debug.C: fix typo
3785
3786 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3787
3788         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3789
3790         * version.C.in: change docversion to 1.4
3791
3792 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * buffer.C: fix a bug just introduced
3795
3796 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * buffer.[Ch]: added the parseError signal and use it, removed
3799         sgmlError
3800         * BufferView.[Ch] (addError): moved to ...
3801         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3802         to the Buffer::parseError signal to catch (guess what) parse errors
3803         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3804
3805 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3806
3807         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3808         ability to create a buffer and to return an existing one from
3809         the list. Moved these functions to...
3810         * buffer_funcs.[Ch]: added
3811         * BufferView.[Ch] (loadLyXFile): added
3812         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3813         job removed from bufferlist::loadLyXFile.
3814         * buffer.C (setReadOnly): make it work without view
3815         (i.e added an if (users))
3816
3817 2003-06-19  Angus Leeming  <leeming@lyx.org>
3818
3819         * lfuns.h:
3820         * LyXAction.C (init):
3821         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3822         with LFUN_DIALOG_SHOW <name> <data>.
3823
3824 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3825
3826         * CutAndPaste.C (availableSelections): small compilation fix for
3827         ancient (gcc 2.9x) compilers
3828
3829 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * text3.C (cursorNext): add tmp var
3832
3833         * text2.C (updateCounters): for function calling out of for clause
3834         (replaceSelectionWithString): ditto
3835         (insertStringAsParagraphs): ditto
3836         (getColumnNearX): add tmp var
3837         (setCursorFromCoordinates): add tmp var
3838         (cursorDownParagraph): add tmp var
3839         (deleteEmptyParagraphMechanism): add tmp var
3840
3841         * text.C (insertChar): add tmp var
3842
3843         * rowpainter.C (paintDepthBar): add tmp var
3844
3845         * CutAndPaste.C (availableSelections): potentially check all
3846         paragraphs in a cut to fill the shown strings.
3847
3848 2003-06-18  André Pönitz  <poenitz@gmx.net>
3849
3850         * kbmap.[Ch]: use vector<> instead of list<>
3851
3852 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3853
3854         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3855         pasteSelection with index
3856
3857         * text2.C (pasteSelection): modify, call pasteSelection with index
3858
3859         * paragraph.C (asString): reimplement version with no interval to
3860         call the one with interval.
3861
3862         * lyxtext.h: add index arg to pasteSelection
3863
3864         * MenuBackend.C (MenuItem): handle PasteRecent
3865         (Menu::read::Menutags): add md_pasterecent
3866         (read): handle it
3867         (expandPasteRecent): new function
3868         (expand): use it
3869
3870         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3871
3872         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3873         the limited stack
3874         (availableSelections): new function
3875
3876 2003-06-17  Angus Leeming  <leeming@lyx.org>
3877
3878         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3879
3880 2003-06-17  Angus Leeming  <leeming@lyx.org>
3881
3882         * lfuns.h:
3883         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3884
3885         * lyxfunc.C (dispatch): invoke it.
3886
3887 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3888
3889         * iterators.C (operator++, ParPosition): reintroduce some
3890         const_cast for the benefit of older compilers.
3891
3892 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3893
3894         * text3.C (dispatch): do not modify clipboard when doing
3895         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3896         LFUN_DELETE_SKIP on a selection selection
3897
3898 2003-06-16  André Pönitz  <poenitz@gmx.net>
3899
3900         * BufferView.C:
3901         * buffer.C:
3902         * buffer.h:
3903         * paragraph.C:
3904         * tabular.[Ch]: IU of clone() and getLabelList();
3905
3906 2003-06-13  André Pönitz  <poenitz@gmx.net>
3907
3908         * tabular.h: compactification
3909
3910 2003-06-12  André Pönitz  <poenitz@gmx.net>
3911
3912         * tabular.C:
3913         * tabular.h:
3914         * tabular_funcs.h: some renaming plus whitespace
3915
3916 2003-06-12  André Pönitz  <poenitz@gmx.net>
3917
3918         * BufferView.C:
3919         * BufferView_pimpl.C:
3920         * CutAndPaste.C:
3921         * buffer.C:
3922         * iterators.[Ch]:
3923         * lyxfunc.C:
3924         * text.C:
3925         * toc.C: Return a Paragraph & for ParIterator::operator*()
3926
3927 2003-06-11  John Levon  <levon@movementarian.org>
3928
3929         * lyx_main.C:
3930         * ToolbarBackend.h:
3931         * ToolbarBackend.C: add "Toolbars" section and
3932         put the flags there
3933
3934 2003-06-10  Angus Leeming  <leeming@lyx.org>
3935
3936         * lfuns.h:
3937         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3938
3939         * lyxfunc.C (dispatch): invoke it.
3940
3941 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * main.C: protect <ios> with HAVE_IOS
3944         (main): protect sync_with_stdio with HAVE_IOS
3945
3946 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3947
3948         * text2.C (cutSelection): adjust
3949         (pasteSelection): adjust
3950
3951         * messages.C: handle get of empty string
3952
3953         * main.C (main): use sync_with_stdio(false)
3954
3955         * lyxfunc.C (dispatch): adjust
3956
3957         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3958         (WriteAs): remove unneeded BufferView arg.
3959
3960         * bufferparams.h: use correct types on papersize, papersize2 and
3961         paperpackage.
3962
3963         * bufferparams.C (readToken): adjust for type
3964         (writeLaTeX): add missing cases to switch.
3965
3966         * bufferlist.C (quitWriteBuffer): adjust
3967         (close): adjust
3968
3969         * buffer.C (asciiParagraph): remove some commented code.
3970
3971         * CutAndPaste.C: remove current_view extern variable.
3972         (cutSelection): add BufferParams arg.
3973         (eraseSelection): add BufferParams arg.
3974         (pasteSelection): add Buffer const & arg
3975
3976 2003-06-07  John Levon  <levon@movementarian.org>
3977
3978         * buffer.C:
3979         * paragraph_funcs.C:
3980         * paragraph_pimpl.C:
3981         * text.C:
3982         * text2.C:
3983         * paragraph.h:
3984         * paragraph.C: allow InsetERT to freely space lines,
3985         and some consolidation of code
3986
3987 2003-06-06  José Matos  <jamatos@fep.up.pt>
3988
3989         * buffer.C (makeDocBookFile): fix bug #821
3990
3991 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3992
3993         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3994
3995 2003-06-04  Angus Leeming  <leeming@lyx.org>
3996
3997         * buffer.C: bump format to 224.
3998
3999 2003-06-05  André Pönitz  <poenitz@gmx.net>
4000
4001         * text2.C (redoParagraphs): remove two const_cast<>
4002
4003 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4004
4005         * ParagraphList.h: remove last remnants of NO_STD_LIST
4006
4007 2003-06-03  Angus Leeming  <leeming@lyx.org>
4008
4009         * factory.C (createInset): small change to the way InsetExternal's params
4010         are set.
4011
4012 2003-06-04  André Pönitz  <poenitz@gmx.net>
4013
4014         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4015
4016         * paragraph_pimpl.h:
4017         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4018
4019         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4020
4021         * undo_funcs.C: make some simple cases of undo work again
4022
4023 2003-06-03  John Levon  <levon@movementarian.org>
4024
4025         * ispell.C: HPUX doesn't have sys/select.h
4026         (from Albert Chin)
4027
4028 2003-06-03  John Levon  <levon@movementarian.org>
4029
4030         * CutAndPaste.C: update tabular and include inset
4031         buffer references
4032
4033         * buffer.h:
4034         * paragraph.h:
4035         * paragraph.C: remove owningBuffer(), don't pass Buffer
4036         to clone()
4037
4038         * factory.C: insetGraphicsParams changed
4039
4040 2003-06-02  John Levon  <levon@movementarian.org>
4041
4042         * LyXAction.C:
4043         * factory.C:
4044         * lfuns.h:
4045         * lyxfunc.C:
4046         * text3.C: remove insetparent
4047
4048 2003-06-02  John Levon  <levon@movementarian.org>
4049
4050         * buffer.h:
4051         * buffer.C: fix inset_iterator.end(), move out of line
4052         (bug 1149)
4053
4054 2003-06-01  John Levon  <levon@movementarian.org>
4055
4056         * text3.C: use a proper cut/paste when doing inset
4057         insert (from Jürgen Spitzmüller)
4058
4059 2003-06-01  John Levon  <levon@movementarian.org>
4060
4061         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4062
4063 2003-05-30  André Pönitz  <poenitz@gmx.net>
4064
4065         * rowpainter.C: unify second drawing phase
4066
4067 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * trans_mgr.C: remove one case of current_view
4070
4071         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4072
4073         * paragraph_funcs.h: remove paragraph.h include
4074
4075         * paragraph.h: delete NO_STD_LIST stuff
4076
4077         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4078
4079         * buffer.h: remove paragraph.h include
4080
4081         * ParagraphList.C: delete file
4082
4083         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4084
4085         * toc.C (getTocList): adjust
4086
4087         * paragraph_pimpl.C (validate): adjust
4088
4089         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4090
4091         * paragraph.C (Paragraph): adjust
4092         (getPositionOfInset): use const_iterator, adjust
4093         (bibitem): use const_iterator, adjust
4094         (setInsetOwner): adjust
4095
4096         * iterators.C (operator++): adjust
4097
4098         * InsetList.[Ch]: Replace selfmade iterator with standard
4099         vector::iterator also introduce const_iterator. Remove getPos,
4100         getInset and setInset from InsetTable. Adjust accordingly.
4101
4102         * BufferView.C (lockInset): adjust
4103         (ChangeInsets): adjust
4104
4105         * tabular.[Ch]: delete commented same_id functions
4106
4107 2003-05-28  John Levon  <levon@movementarian.org>
4108
4109         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4110
4111 2003-05-28  André Pönitz  <poenitz@gmx.net>
4112
4113         * metricsinfo.[Ch]: remove 'fullredraw' member
4114
4115 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4116
4117         * lyxtextclass.C (operator): remove caching.
4118
4119 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * text3.C: adjust
4122
4123         * text2.C (cursorBottom): adjust
4124         (setCounter): use ParagraphList::find, adjust
4125
4126         * text.C (workWidth): use ParagraphList::find, adjust
4127
4128         * lyxcursor.C (LyXCursor): adjust
4129
4130         * buffer.C (inset_iterator): adjust
4131
4132         * ParagraphList.h: make iterator(value_type) private, make
4133         ParagraphList a friend of iterator.
4134
4135         * ParagraphList.C (find): new function
4136
4137         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4138
4139 2003-05-27  André Pönitz  <poenitz@gmx.net>
4140
4141         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4142
4143 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4144
4145         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4146
4147 2003-05-26  John Levon  <levon@movementarian.org>
4148
4149         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4150
4151 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * remove same_id from function signatures, adjust.
4154
4155 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4158
4159         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4160
4161         * paragraph.C (Paragraph): get rid of same_ids parameter
4162
4163         * ParagraphList.C (insert): adjust
4164         (push_back): adjust
4165
4166 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * paragraph_funcs.C (breakParagraph): adjust
4169         (breakParagraphConservative): adjust
4170
4171         * buffer.C (readParagraph): adjust
4172
4173         * ParagraphList.C (insert): take a reference instead of a pointer
4174         (insert): adjust
4175
4176         * paragraph.[Ch] (id): new function
4177
4178         * bufferlist.C (newFile): adjust
4179
4180         * ParagraphList.C (ParagraphList): adjust
4181         (assign): adjust
4182         (push_back): take a reference instead of a pointer.
4183
4184         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4185
4186         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4187         instead.
4188
4189         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4190         set else use old code.
4191
4192         * ParagraphList.C: remove all NO_NEXT code and only compile this
4193         code of NO_STD_LIST is set.
4194
4195 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * BufferView_pimpl.C:
4198         * TextCache.C:
4199         * TextCache.h:
4200         * bufferlist.C:
4201         * errorlist.h:
4202         * format.C:
4203         * format.h:
4204         * graph.C:
4205         * lyxfunc.C:
4206         * lyxrc.C:
4207         * graphics/GraphicsConverter.C:
4208         * graphics/PreviewLoader.C: header adjustment
4209
4210 2003-05-23  Angus Leeming  <leeming@lyx.org>
4211
4212         * LaTeXFeatures.[Ch] (useBabel): new method.
4213         * bufferparams.C (writeLaTeX): use it.
4214
4215 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * ParagraphList.h (set): remove unused function.
4218
4219 2003-05-23  André Pönitz  <poenitz@gmx.net>
4220
4221         * BufferView.C:
4222         * BufferView_pimpl.C:
4223         * buffer.C:
4224         * buffer.h:
4225         * lyxfunc.C:
4226         * undo_funcs.C: setUndo reworked
4227
4228         * iterators.[Ch]: add access to topmost ParagraphList
4229
4230         * lyxtext.[Ch] (workWidth): add a const
4231
4232 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * texrow.[Ch] (increasePos): remove function
4235         * exporter.C (export): removed unused var and outdated comment
4236
4237 2003-05-23  Angus Leeming  <leeming@lyx.org>
4238
4239         * latexrunparams.h: rename fragile as moving_arg.
4240         * paragraph.C (simpleTeXOnePar): ditto.
4241         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4242
4243 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4246         (createUndo): ditto
4247         (textUndoOrRedo): comment out a currently unused var.
4248
4249         * paragraph.h (NO_NEXT): enable NO_NEXT
4250
4251         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4252
4253         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4254
4255         * exporter.C (Export): adjust for removeAutoInsets removal.
4256
4257         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4258
4259         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4260
4261         * BufferView.[Ch] (removeAutoInsets): delete function
4262
4263 2003-05-22  Angus Leeming  <leeming@lyx.org>
4264
4265         * latexrunparams.h: add a free_spacing variable.
4266
4267         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4268         to pass moving_arg, as the data is stored in runparams.fragile.
4269
4270         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4271         to Inset::latexOptional or to simpleTeXOnePar.
4272
4273         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4274         free_spacing arg to Inset::latexOptional.
4275
4276         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4277         free_spacing arg.
4278
4279 2003-05-22  Angus Leeming  <leeming@lyx.org>
4280
4281         * latexrunparams.h: add fragile and use_babel variables.
4282
4283         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4284         * buffer.C (makeLaTeXFile): store this returned value in
4285         runparams.use_babel, thus passing it to the inset::latex methods.
4286
4287         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4288         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4289
4290         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4291         longer has a fragile arg, as it is stored in runparams.fragile.
4292
4293         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4294         moving_arg parameter as the data is stored in runparams.fragile.
4295
4296         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4297         a fragile parameter as the data is stored in runparams.fragile.
4298
4299 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4302
4303 2003-05-22  Angus Leeming  <leeming@lyx.org>
4304
4305         * latexrunparams.h: add a 'bool nice' which defaults to false.
4306
4307         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4308         now encapsulated within runparams.
4309
4310         * bufferlist.C (updateIncludedTeXfiles):
4311         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4312
4313 2003-05-22  Angus Leeming  <leeming@lyx.org>
4314
4315         * latexrunparams.h: new file containing struct LatexRunParams.
4316         * Makefile.am: add new file.
4317
4318         * LaTeX.[Ch] (c-tor, run):
4319         * buffer.[Ch] (makeLaTeXFile):
4320         * bufferlist.[Ch] (updateIncludedTeXfiles):
4321         * converter.C (convert, scanLog):
4322         * converter.[Ch] (runLaTeX):
4323         * exporter.C (Export):
4324         * paragraph.[Ch] (simpleTeXOnePar):
4325         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4326         * paragraph_funcs.[Ch] (latexParagraphs):
4327         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4328         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4329         pass around a LatexRunParams parameter.
4330
4331 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * paragraph.[Ch]: remove unused constructor
4334
4335         * ParagraphList.C (erase): new function, taking two iterators
4336
4337 2003-05-22  André Pönitz  <poenitz@gmx.net>
4338
4339         * undo_funcs.C: remove duplicated code
4340
4341         * iterator.[Ch]: operator=
4342
4343 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * tabular.C (SetMultiColumn): ws changes
4346
4347         * rowpainter.C (paintFirst): get rid of a ->previous
4348
4349         * lyx_cb.C (getPossibleLabel): parlist simplification
4350
4351         * BufferView.C (ChangeInsets): simplify slightly.
4352
4353 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4354
4355         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4356         * lfuns.h: new LFUN_SPACE
4357         * lyxfunc.C: protected space has a new lfun
4358         * paragraph_funcs.C: read new space insets
4359         * text3.C:
4360         * factory.C: handle new space insets
4361
4362 2003-05-22  André Pönitz  <poenitz@gmx.net>
4363
4364         * BufferView.C:
4365         * BufferView_pimpl.C:
4366         * buffer.[Ch]:
4367         * lyxfunc.C:
4368         * undo_funcs.C: return a ParIterator from getParFromID.
4369
4370         * iterators.[Ch]: add two const's
4371
4372 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * toc.C (getTocList): adjust
4375
4376         * iterators.[Ch]: rework for parlist
4377
4378         * buffer.C (par_iterator_begin): adjust
4379         (par_iterator_end): adjust
4380
4381         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4382
4383         * BufferView.C (removeAutoInsets): adjust
4384         (ChangeInsets): adjust
4385
4386 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4387
4388         * text.C (top_y): fix bug 1110
4389
4390 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * errorlist.[Ch]: added
4393         * buffer.C:
4394         * BufferView.[Ch]:
4395         * BufferView_pimpl.C:
4396         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4397         instead
4398
4399 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * Makefile.am: ensure that lyx is relinked upon changes to the
4402         various "convenience" libs.
4403
4404 2003-05-20  Angus Leeming  <leeming@lyx.org>
4405
4406         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4407         files are compiled in alphabetical order again.
4408
4409         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4410
4411 2003-05-19  Angus Leeming  <leeming@lyx.org>
4412
4413         * gettext.[Ch]: remove "char const * _(char const *)".
4414
4415 2003-05-19  André Pönitz  <poenitz@gmx.net>
4416
4417         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4418
4419         * Makefile.am:
4420         * BufferView.C:
4421         * DepTable.h:
4422         * LaTeXFeatures.C:
4423         * buffer.C:
4424         * lyxfont.C:
4425         * lyxlex.h:
4426         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4427
4428 2003-05-19  André Pönitz  <poenitz@gmx.net>
4429
4430         * buffer.C:
4431         * lyxlayout.[Ch]:
4432         * lyxtextclass.[Ch]:
4433         * paragraph.C:
4434         * paragraph_funcs.[Ch]:
4435         * text2.C:
4436         * text3.C: more insetenv work
4437
4438 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * ParagraphParameters.C (params2string): small bug fixed
4441
4442 2003-05-16  André Pönitz  <poenitz@gmx.net>
4443
4444         * debug.C:
4445         * bufferview_funcs.C: patch from Kornel Benko to prevent
4446           crash when _(...) is called twice in a statement
4447
4448 2003-05-16  André Pönitz  <poenitz@gmx.net>
4449
4450         * BufferView.C:
4451         * lyxfunc.C:
4452         * text.C:
4453         * text2.C:
4454         * text3.C:
4455         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4456
4457 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4458
4459         * lyx_main.C (init): remove spurious static_cast
4460
4461 2003-05-14  André Pönitz  <poenitz@gmx.net>
4462
4463         * BufferView.C: fix format string
4464
4465 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * BufferView.[Ch] (insertErrors): removed
4468         * BufferView.[Ch] (showErrorList): added
4469         * buffer.C (runChkTeX):
4470         * converter.C (scanLog): call showErrorList instead of inserterrors
4471
4472 2003-05-13  André Pönitz  <poenitz@gmx.net>
4473
4474         * BufferView_pimpl.C:
4475         * buffer.C:
4476         * bufferview_func.C:
4477         * MenuBackend.C:
4478         * lyxfunc.C:
4479         * lyxrc.C:
4480         * tex-accent.C:
4481         * text3.C:
4482         * toc.C:
4483         * tabular_funcs.h: tostr() from its own header
4484
4485         * ParagraphParameters.C:
4486         * ToolbarBackend.C:
4487         * bufferparams.C:
4488         * format.C:
4489         * lyxlex_pimpl.C:
4490         * text3.C: STRCONV()
4491
4492 2003-05-12  André Pönitz  <poenitz@gmx.net>
4493
4494         * BufferView.C:
4495         * BufferView_pimpl.C:
4496         * CutAndPaste.C:
4497         * LaTeX.C:
4498         * LaTeXFeatures.C:
4499         * ParagraphParameters.C:
4500         * buffer.C:
4501         * bufferlist.C:
4502         * bufferparams.C:
4503         * bufferview_funcs.C:
4504         * converter.C:
4505         * counters.C:
4506         * debug.C:
4507         * exporter.C:
4508         * format.C:
4509         * importer.C:
4510         * lyx_cb.C:
4511         * lyx_main.C:
4512         * lyxfont.C:
4513         * lyxfunc.C:
4514         * lyxvc.C:
4515         * paragraph.C:
4516         * paragraph_funcs.C:
4517         * tabular.C:
4518         * tabular_funcs.C:
4519         * text2.C:
4520         * text3.C:  boost::format -> bformat  all over the place
4521
4522
4523 2003-05-09  André Pönitz  <poenitz@gmx.net>
4524
4525         * LColor.[Ch]: Pimpl the #include <map> away
4526
4527 2003-05-09  John Levon  <levon@movementarian.org>
4528
4529         * bufferlist.C: never remove emergency saves
4530
4531 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * Makefile.am: better lib building
4534
4535 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4538         instead.
4539         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4540         (simpleTeXSpecialChars): adjust
4541         (simpleTeXSpecialChars): adjust
4542         * paragraph.C (simpleTeXOnePar): adjust
4543         * buffer.C (makeLaTeXFile): adjust
4544
4545         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4546
4547         * text2.C (changeDepth): parlist cleanup
4548         (getColumnNearX): ditto
4549
4550         * rowpainter.C (getLabelFont): parlist cleanup
4551
4552         * bufferlist.C (newFile): parlist cleanup
4553
4554         * CutAndPaste.C (eraseSelection): parlist cleanup
4555
4556         * BufferView_pimpl.C (trackChanges): parlist cleanup
4557         (dispatch): ditto
4558
4559         * BufferView.C (lockInset): parlist cleanup.
4560         (ChangeInsets): ditto
4561
4562 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * CutAndPaste.h: Update file header.
4565
4566         * CutAndPaste.C: Update file header.
4567         Store the parts cut out of the Document in a limited_stack.
4568         (copySelection): adjust
4569         (pasteSelection): new function, takes the index in the limited stack.
4570         (nrOfParagraphs): adjust
4571         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4572         simplify error inset insertion.
4573         (checkPastePossible): adjust
4574
4575 2003-05-06  John Levon  <levon@movementarian.org>
4576
4577         * text2.C: don't cast wrap inset to float
4578
4579 2003-05-05  André Pönitz  <poenitz@gmx.net>
4580
4581         * iterator.C:
4582         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4583
4584         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4585           few naked Paragraph *.
4586
4587 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4588
4589         * bufferparams.C: Output warning if a document with missing
4590         TeX document class is loaded
4591         * exporter.C: Disable TeX exports if the document class is missing
4592         * lyxtextclass.C:
4593         * lyxtextclass.h:
4594         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4595         isTeXClassAvailable()
4596
4597 2003-05-03  John Levon  <levon@movementarian.org>
4598
4599         * BufferView.h:
4600         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4601         explicit cursor show/hide
4602
4603         * BufferView_pimpl.h:
4604         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4605         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4606
4607         * lyxfunc.C: hide cursor before dispatching.
4608
4609         * lyx_cb.C:
4610         * lyxfind.C:
4611         * text.C:
4612         * text3.C: remove explicit cursor hides
4613
4614 2003-05-02  André Pönitz  <poenitz@gmx.net>
4615
4616         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4617
4618         * undo_funcs.C:
4619         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4620           linked lists
4621
4622         * text2.C: tiny whitespace
4623
4624 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * undo_funcs.C: almost only ws changes.
4627
4628         * ParagraphList.C (splice): just return if pl is empty.
4629
4630 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4631
4632         * ParagraphList.C (splice): new function.
4633
4634         * CutAndPaste.C (pasteSelection): use it
4635
4636 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * CutAndPaste.C (pasteSelection): remove the last next and
4639         previous from this file.
4640
4641 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * CutAndPaste.C (pasteSelection): more clean up, user proper
4644         ParagraphList functions for pasteing.
4645
4646         * ParagraphList.C (insert): new function, three arg insert
4647
4648 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * ParagraphList.C (insert): new function, three arg insert
4651
4652         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4653         not on paragraphs.
4654
4655 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4658
4659 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4662
4663 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4666         (copySelection): clean up a bit.
4667         (pasteSelection): use make_pair
4668
4669         * ParagraphList.C (ParagraphList): implement copy constructor
4670         (operator=): implement, base on copy constructor.
4671         (assign): new func
4672
4673         * paragraph.C (erase): return a bool
4674
4675         * paragraph_pimpl.C (erasePos): remove function, move contents...
4676         (erase): ... here. Return a bool.
4677         (erase): call erase instead of erasePos.
4678
4679 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * ParagraphList.h: define PitPosPair
4682         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4683         ParagraphList, fix a bug on pasting multiple pars
4684         * text2.C: change interface to C&P
4685
4686 2003-04-30  André Pönitz  <poenitz@gmx.net>
4687
4688         * undo_func.C: revert part of yesterday's patch 2
4689
4690 2003-04-30  John Levon  <levon@movementarian.org>
4691
4692         * LColor.C: s/tabular/table/
4693
4694 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * text3.C (dispatch): do not convert iterator -> pointer
4697         * undo_funcs.C (setCursorParUndo): ditto
4698         * text_funcs.C (transposeChars): ditto
4699
4700         * text2.C (setLayout): ws changes only
4701
4702         * text.C (breakParagraph): do not convert iterator -> pointer
4703         (insertChar): ditto
4704         (acceptChange): ditto
4705         (rejectChange): ditto
4706         (changeCase): ditto
4707         (Delete): ditto
4708         (backspace): ditto
4709
4710         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4711         pointer
4712
4713 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * text3.C (gotoInset): YABG (yet another bad getChar)
4716
4717 2003-04-29  André Pönitz  <poenitz@gmx.net>
4718
4719         * paragraph.h: make operator= private unimplemented as long as
4720           it is unusable
4721
4722         * ParagraphList.C: whitespace
4723
4724         * paragraph.[Ch]:
4725         * paragraph_pimpl.[Ch]:
4726         * paragraph_funcs.C:
4727         * CutAndPaste.C:
4728         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4729
4730         * text2.C:
4731           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4732
4733 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4736         * paragraph.[Ch] (erase):
4737         * paragraph_pimpl.[Ch] (erase): change return type and value
4738         * text2.C (cutSelection): some rework
4739
4740 2003-04-28  John Levon  <levon@movementarian.org>
4741
4742         * bufferlist.C: changes for unsaved changes dialog
4743
4744 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * bufferlist.C (newFile): set language (messages_) for new
4747         documents also.
4748
4749         * buffer.C (readFile): ws changes only.
4750
4751 2003-04-28  André Pönitz  <poenitz@gmx.net>
4752
4753         * undo_funcs.C:
4754         * lyxfunc.C:
4755         * buffer.[Ch]:
4756         * BufferView_pimpl.C:
4757         * BufferView.C: getParFromID related ParagraphList::iterator changes
4758
4759 2003-04-28  André Pönitz  <poenitz@gmx.net>
4760
4761         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4762           Changes
4763
4764 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * messages.C: remove one more localedir class variable.
4767
4768 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * messages.C (getLocaleDir): singleton generation function
4771         (Pimpl): use it.
4772         (Messages): add a default constructor.
4773
4774         * main.C (main): do not setup localedir here, do not call
4775         gettext_init.
4776
4777         * gettext.C (_): use it.
4778         (gettext_init): delete funciton
4779
4780 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * gettext.C (getLyXMessages): new singleton generating function.
4783
4784         * buffer.C (updateDocLang): adjust
4785
4786         * Makefile.am (messages.o): add target
4787         (main.o): remove target
4788
4789 2003-04-27  John Levon  <levon@movementarian.org>
4790
4791         * bufferlist.C:
4792         * lyx_cb.C:
4793         * lyxfunc.C:
4794         * lyxvc.C: specify cancel button in Alert::prompt
4795
4796 2003-04-26  John Levon  <levon@movementarian.org>
4797
4798         * text3.C:
4799         * lyxfunc.C:
4800         * lfuns.h:
4801         * LyXAction.C: add LFUN_INSET_SETTINGS
4802
4803         * lyxfunc.C: don't enable tabular-feature when there's
4804         just any locking inset
4805
4806 2003-04-26  John Levon  <levon@movementarian.org>
4807
4808         * bufferlist.C: re-add Cancel to buffer close question
4809
4810         * lyxfunc.C: fix import UI a bit
4811
4812 2003-04-25  John Levon  <levon@movementarian.org>
4813
4814         * gettext.C: remove the broken asserts for now
4815
4816 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * messages.C: make case where setlocale cannot comply work better.
4819
4820         * buffer.C (updateDocLang): new function
4821         (changeLanguage): use it
4822         (readFile): use it
4823
4824         * text2.C (setCounter): use B_ a bit.
4825
4826         * lyxlayout.C (Read): be sure to trim the label strings.
4827
4828         * messages.C (Messages): fix typo in comment
4829
4830         * buffer.C (readFile): set message_ after file is loaded.
4831         (makeDocBookFile): remove double return
4832         (changeLanguage): reset message_ upon language change.
4833         (B_): new func, use this to get translated buffer strings.
4834
4835         * main.C: add myself and Jean Marc as authors.
4836
4837 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * messages.[hC]: pimplify Messages, and three different pimpls to be
4840         used in different circumstances.
4841
4842         * gettext.[Ch]: change for use with new message code.
4843
4844 2003-04-24 André Pönitz <poenitz@gmx.net>
4845
4846         * factory.C: support for eqref
4847
4848 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * messages.[Ch]: add missing char
4851
4852         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4853
4854         * messages.[Ch]: New files
4855
4856 2003-04-18  John Levon  <levon@movementarian.org>
4857
4858         * BufferView.h:
4859         * BufferView.C:
4860         * BufferView_pimpl.C:
4861         * lfuns.h:
4862         * LyXAction.C:
4863         * lyxtext.h:
4864         * text2.C: remove layout-copy/paste (bug 778)
4865
4866 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4869
4870 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4873         if they succeed. Act accordingly.
4874
4875 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * text2.C (setCharFont): adjust
4878         (setCounter): adjust
4879         (insertStringAsLines): adjust
4880
4881         * text.C (leftMargin): adjust
4882         (setHeightOfRow): adjust
4883
4884         * rowpainter.C (paintFirst): adjust
4885         (paintLast): adjust
4886
4887         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4888         (outerHook): ditto
4889         (isFirstInSequence): ditto
4890         (getEndLabel): ditto
4891         (outerFont): adjust
4892
4893         * paragraph.C (getParLanguage): comment out some hard stuff.
4894
4895         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4896         (sgmlError): ditto
4897         (simpleDocBookOnePar): ditto
4898         (makeDocBookFile): use ParagraphList::iterator
4899
4900         * CutAndPaste.C (pasteSelection): adjust
4901
4902 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * text2.C (getFont): adjust
4905         (getLayoutFont): adjust
4906         (getLabelFont): adjust
4907
4908         * paragraph_funcs.C (TeXOnePar): adjust
4909
4910         * buffer.C (simpleLinuxDocOnePar): adjust
4911         (simpleDocBookOnePar): adjust
4912
4913         * CutAndPaste.C (pasteSelection): adjust
4914
4915         * BufferView.C (getEncoding): adjust
4916
4917         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4918
4919 2003-04-16  John Levon  <levon@movementarian.org>
4920
4921         * lyxfind.C: use parlist stuff for search/changes
4922
4923 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4926
4927         * text2.C (deleteEmptyParagraphMechanism): adjust
4928
4929         * text2.[Ch] (ownerParagraph): delete func (both of them
4930
4931 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4934
4935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * ParagraphList.C: prepare for NO_NEXT
4938
4939 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * text2.C (getFont): adjust
4942         (getLayoutFont): adjust
4943         (getLabelFont): adjust
4944
4945         * paragraph.C (getFont): adjust
4946         (getLabelFont): adjust
4947         (getLayoutFont): adjust
4948
4949         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4950
4951 2003-04-15  John Levon  <levon@movementarian.org>
4952
4953         From Angus Leeming
4954
4955         * lyx_main.C: handle Include in .ui files
4956
4957 2003-04-15  John Levon  <levon@movementarian.org>
4958
4959         * MenuBackend.C: make the doc files length shorter
4960
4961         * ToolbarBackend.h:
4962         * ToolbarBackend.C: handle toolbar placement flags,
4963         Minibuffer
4964
4965 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4968         adjust
4969
4970         * paragraph_funcs.C (TeXOnePar): adjust
4971
4972         * paragraph.C (getLabelFont): add outerfont arg, adjust
4973         (getLayoutFont): ditto
4974         (simpleTeXOnePar): adjust
4975
4976         * paragraph_pimpl.C (realizeFont): delete func
4977
4978 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4981         row argument, constify cur argument.
4982
4983 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * text2.C (getFont): adjust
4986         (getLayoutFont): adjust
4987         (getLabelFont): adjust
4988
4989         * paragraph_funcs.C (TeXOnePar): adjust
4990         (outerFont): new func...
4991         (realizeFont): ...moved out from here, changed this to facilitate
4992         transition
4993
4994         * paragraph.C (getFont): take outerfont as arg, adjust
4995         (simpleTeXOnePar): add outerfont arg, adjust
4996
4997         * buffer.C (simpleLinuxDocOnePar): adjust
4998         (simpleDocBookOnePar): adjust
4999
5000         * CutAndPaste.C (pasteSelection): adjust
5001
5002         * BufferView.C (getEncoding): adjust
5003
5004 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * text2.C (setCharFont): adjust
5007         (setCounter): adjust
5008
5009         * text.C (leftMargin): adjust
5010         (setHeightOfRow): adjust
5011
5012         * rowpainter.C (paintFirst): adjust
5013         (paintLast): adjust
5014
5015         * paragraph_pimpl.C (realizeFont): adjust
5016
5017         * paragraph.C (isFirstInSequence): move from here...
5018         * paragraph_funcs.C (isFirstInSequence): ...to here
5019
5020         * paragraph.C (outerHook): move from here...
5021         * paragraph_funcs.C (outerHook): ...to here
5022
5023         * paragraph.C (depthHook): move from here...
5024         * paragraph_funcs.C (depthHook): ...to here
5025
5026         * paragraph.C (getEndLabel): move from here...
5027         * paragraph_funcs.C (getEndLabel): ...to here
5028
5029         * text2.C (realizeFont): move from here...
5030         * paragraph_funcs.C (realizeFont): ...to here
5031
5032 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5035
5036 2003-04-14  Angus Leeming  <leeming@lyx.org>
5037
5038         * LColor.[Ch]: scrap LColor mathcursor.
5039
5040 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * lyxlex.[Ch] (text): delete function
5043         * trans.C (Load): adjust
5044         * paragraph_funcs.C (readParToken): adjust
5045
5046 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5049         vector<char> instead of a char[].
5050
5051         * lyxlex_pimpl.C (getString): adjust
5052         (next): adjust
5053         (lex): use getString
5054         (eatLine): adjust
5055         (nextToken): adjust
5056
5057         * lyxlex.C (text): use pimpl_->getString()
5058         (getBool): ditto
5059         (findToken): ditto
5060
5061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5064         (makeFontEntriesLayoutSpecific): temp var for par.size()
5065         (setLayout): temp var for ownerParagraphs().end()
5066         (fullRebreak): temp var for rows().end()
5067         (selectionAsString): temp var for boost::next(startpit), realize
5068         that the while really is a regular for loop.
5069         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5070         setCursor in one place.
5071         (setParagraph): temp vr for ownerParagraphs().end()
5072         (updateCounters): make the while loop a for loop
5073         (cutSelection): temp var for ownerParagraphs().end()
5074         (updateInset): make the do {} while() a regular for loop
5075         (getCursorX): use temp vars
5076         (setCurrentFont): use temp vars
5077         (getColumnNearX): use temp vars
5078
5079 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * text.C (transformChar): use temp var for getChar
5082         (computeBidiTables): use temp var for row->par()
5083         (fill): move temp vars for row->par() and pit->layout() earlier in
5084         the function.
5085         (labelFill): use temp var for row->par()
5086         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5087         asc and desc, realize that pit never changes and that firstpit is
5088         just a duplicate and not needed. Exchange rit->par() with pit in a
5089         lot of places.
5090         (breakAgain): use a temp var for boost::next(rit)
5091         (breakAgainOneRow): ditto
5092         (breakParagraph): use a temp var for rows().begin()
5093         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5094         (cursorRightOneWord): use temp var for cursor.par() and
5095         cursor.pos(), remove usage of tmpcursor.
5096         (cursorLeftOneWord): use temp var for cursor.par() and
5097         cursor.pos() only set cur at end of function.
5098
5099 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text.C, text2.C: exchange all usage of Paragraph::next with
5102         boost::next(ParagraphList::iterator)
5103
5104         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5105
5106         * text2.C (cursorTop): simplify implementation
5107         (cursorBottom): ditto
5108         (setParagraph): use ParagraphList::iterator
5109         (setCurrentFont): adjust
5110         (getColumnNearX): adjust
5111         (cursorRight): adjust
5112         (cursorLeft): remove usage of Paragraph::previous
5113         (cursorUpParagraph): ditto
5114         (deleteEmptyParagraphMechanism): slight cleanup
5115
5116         * text.C (isBoundary): take a Paragraph const & instead of a
5117         pointer as arg.
5118         (addressBreakPoint): ditto
5119         (leftMargin): remove usage of Paragraph::previous.
5120         (setHeightOfRow): ditto
5121         (cursorLeftOneWord): ditto
5122         (selectNextWordToSpellcheck): ditto
5123         (Delete): ditto
5124         (backspace): ditto
5125         (breakParagraph): remove one usage of Paragraph::next
5126         (redoParagraph): ditto
5127         (acceptChange): ditto
5128         (insertChar): adjust
5129         (rowBreakPoint): adjust
5130
5131         * bufferview_funcs.C (toggleAndShow): adjust
5132
5133 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5134
5135         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5136         methods to access it.
5137         * lyxtext.h:
5138         * text.C: Added updateRowPositions to compute all row positions.
5139         Make top_y and getRowNearY() to use the cached y position
5140
5141 2003-04-11  John Levon  <levon@movementarian.org>
5142
5143         * text.C (rowBreakPoint): reintroduce the labelEnd
5144         checks, code copied from the row fill stuff. Deep voodoo.
5145
5146         * text.C (fill): add a comment and debugging for the
5147         next poor soul.
5148
5149 2003-04-11  John Levon  <levon@movementarian.org>
5150
5151         * text.C: make sure fullrow insets get wrapped to the next line,
5152         even when they're in a manual label
5153
5154 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * text2.C (insertParagraph): make it take ParagraphList::iterator
5157         as arg.
5158         (setLayout): make it return ParagraphList::iterator
5159         (redoParagraphs): ditto
5160         (setCounter): ditto
5161         (checkParagraph): ditto
5162
5163         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5164
5165         * text2.C: adjust several funcs.
5166         (realizeFont): take a ParagraphList::iterator as arg.
5167         (getLayoutFont): ditto
5168         (getLabelFont): ditto
5169         (setCharFont): ditto
5170
5171         * text.C: adjust several funcs.
5172
5173 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * text.C (selectNextWordToSpellcheck): don't accidentally
5176         skip insets
5177
5178 2003-04-10  John Levon  <levon@movementarian.org>
5179
5180         * ToolbarBackend.C (getIcon): special handling for
5181         LFUN_MATH_DELIM
5182
5183 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * text2.C (cursorRight): a getChar assert fixed
5186
5187 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text2.C (getFont): change to take a ParagraphList::iterator
5190         instead of Paragraph*
5191         Adjust several functions.
5192
5193         * text.C (transformChar): change to take a ParagraphList::iterator
5194         instead of Paragraph*
5195         (singleWidth): ditto
5196         Adjust several functions.
5197
5198         * rowpainter.C: adjust several functions
5199         * rowpainter.h:store a ParagraphList::iterator and not a
5200         Paragraph&.
5201
5202
5203 2003-04-09  John Levon  <levon@movementarian.org>
5204
5205         * lyxfunc.C:
5206         * lfuns.h:
5207         * LyXAction.h:
5208         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5209         and the "help" bits as well
5210
5211 2003-04-09  John Levon  <levon@movementarian.org>
5212
5213         * ToolbarBackend.h:
5214         * ToolbarBackend.C: allow multiple toolbars
5215
5216 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * undo_funcs.C (setCursorParUndo): adjust
5219
5220         * text_funcs.C (transposeChars): adjust
5221
5222         * text3.C (gotoNextInset): adjust
5223         (dispatch): adjust
5224
5225         * text2.C (setLayout): adjust
5226         (changeDepth): adjust
5227         (setFont): adjust
5228         (redoParagraphs): adjust
5229         (selectionAsString): adjust
5230         (setParagraph): adjust
5231         (insertInset): adjust
5232         (cutSelection): adjust
5233         (copySelection): adjust
5234         (pasteSelection): adjust
5235         (insertStringAsLines): adjust
5236         (updateInset): adjust
5237         (setCursor): change to take a ParagraphList::iterator parameter
5238         (setCursorIntern): change to take a ParagraphList::iterator parameter
5239         (setCurrentFont): adjust
5240         (cursorLeft): adjust
5241         (cursorRight): adjust
5242         (deleteEmptyParagraphMechanism): adjust
5243
5244         * text.C (breakParagraph): adjust
5245         (insertChar): adjust
5246         (acceptChange): adjust
5247         (rejectChange): adjust
5248         (selectNextWordToSpellcheck): adjust
5249         (changeCase): adjust
5250         (Delete): adjust
5251         (backspace): adjust
5252
5253         * lyxfind.C (SearchForward): adjust
5254         (SearchBackward): adjust
5255         (nextChange): adjust
5256
5257         * lyxcursor.C (par): adjust
5258
5259         * lyxcursor.h: store a ParagraphList::iterator instead of a
5260         Paragraph*
5261
5262         * lyx_cb.C (getPossibleLabel): adjust
5263
5264         * bufferview_funcs.C (toggleAndShow): adjust
5265
5266         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5267         (dispatch): adjust
5268
5269         * BufferView.C (removeAutoInsets): adjust
5270         (lockedInsetStoreUndo): adjust
5271
5272 2003-04-09  John Levon  <levon@movementarian.org>
5273
5274         * ToolbarBackend.C: try icon without argument
5275         if with argument fails
5276
5277 2003-04-08  John Levon  <levon@movementarian.org>
5278
5279         * ToolbarBackend.h:
5280         * ToolbarBackend.C: add getIcon(), handle tooltip,
5281         and change from "Icon" to "Item".
5282
5283 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5284
5285         * BufferView.C (lockInset): another bad getchar crunched
5286
5287 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5290         again)
5291
5292 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * lyxfind.C (searchForward, searchBackwards): bug 782
5295
5296 2003-04-07  John Levon  <levon@movementarian.org>
5297
5298         * paragraph.C: remove dead comment
5299
5300         * text.C: remove troublesome depth-fiddling code
5301         in leftMargin() and rightMargin() (bug 1017)
5302
5303         * text.C: fix breaking of rows in nested lists
5304         (bug 1004)
5305
5306         * text2.C (updateCounters): fix up depth values
5307         (bug 1013)
5308
5309 2003-04-07  John Levon  <levon@movementarian.org>
5310
5311         * BufferView_pimpl.C: clear message when doc finishes resizing,
5312         and after a mouse event
5313
5314         * lyxfunc.C: clear message after exiting inset
5315
5316 2003-04-07  John Levon  <levon@movementarian.org>
5317
5318         * bufferview_funcs.C: show math status not outside
5319         status in the statusbar
5320
5321 2003-04-07  John Levon  <levon@movementarian.org>
5322
5323         * lyxfunc.C: note status changed after a depth change
5324
5325 2003-04-04  Angus Leeming  <leeming@lyx.org>
5326
5327         * LaTeX.h: move AuxInfo operator==, != out of line.
5328         Remove LaTeX virtual destructor; nothing derives from it.
5329         Move operator()() out of public area and rename it startscript().
5330         Change protected for private.
5331
5332 2003-04-04  Angus Leeming  <leeming@lyx.org>
5333
5334         * lyxfunc.C:
5335         * text2.C: remove unneeded #includes.
5336
5337 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * text2.C (dEPM): fix the heigth of the next row
5340
5341 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5342
5343         * text.C: squashed an invalid getChar requester + some ws changes
5344
5345 2003-04-03  John Levon  <levon@movementarian.org>
5346
5347         * bufferview_funcs.h:
5348         * bufferview_funcs.C:
5349         * lyxfunc.C:
5350         * lyxtext.h:
5351         * text2.C: make getStatus work for the env depth lfuns
5352
5353 2003-04-03  John Levon  <levon@movementarian.org>
5354
5355         * bufferview_funcs.h:
5356         * bufferview_funcs.C:
5357         * lyxfunc.C:
5358         * lyxtext.h:
5359         * text2.C: parlistize decDepth(), by merging it with incDepth()
5360
5361 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * lyxrow.h: store a ParagraphList::iterator instead of a
5364         Paragraph* and adjust other class functions to suit.
5365
5366         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5367         above.
5368
5369 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * text2.C (setCursor): do not anchor to cursor row for the time being
5372
5373 2003-04-02  John Levon  <levon@movementarian.org>
5374
5375         * LyXAction.C:
5376         * lfuns.h:
5377         * lyx_main.C:
5378         * lyxtext.h:
5379         * text.C:
5380         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5381
5382 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * paragraph.h: make ParagraphList and ParagraphList::iterator
5385         friends of Paragraph.
5386
5387         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5388
5389         * ParagraphList.C: Use the private next_ and previous_ from
5390         Paragraph.
5391
5392 2003-04-01  John Levon  <levon@movementarian.org>
5393
5394         * ToolbarBackend.h:
5395         * ToolbarBackend.C:
5396         * Makefile.am: rename, remove defaults gunk
5397
5398         * MenuBackend.h:
5399         * MenuBackend.C: remove defaults gunk
5400
5401         * Languages.h:
5402         * Languages.C: remove defaults gunk
5403
5404         * lyx_main.h:
5405         * lyx_main.C: error out if files couldn't be found.
5406
5407 2003-04-02  John Levon  <levon@movementarian.org>
5408
5409         * text2.C: make incDepth() use parlist
5410
5411 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * undo_funcs.C (firstUndoParagraph): adjust
5414
5415         * text3.C (gotoInset): adjust
5416         (dispatch): adjust, and rewrite loop.
5417
5418         * text2.C (init): adjust, and rewrite loop.
5419         (redoParagraphs): adjust
5420         (updateInset): adjust, and rewrite loop.
5421         (deleteEmptyParagraphMechanism): adjust
5422
5423         * tabular.C (LyXTabular): adjust
5424         (SetMultiColumn): adjust
5425         (TeXRow): adjust
5426
5427         * lyxtext.[Ch] (ownerParagraph): delete function
5428         (ownerParagraphs): new function returns a ParagraphList.
5429
5430         * BufferView.C (removeAutoInsets): adjust
5431         (insertErrors): adjust
5432         (setCursorFromRow): adjust
5433
5434 2003-04-01  Angus Leeming  <leeming@lyx.org>
5435
5436         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5437         in the frontends.
5438
5439 2003-04-02  John Levon  <levon@movementarian.org>
5440
5441         * lyxtext.h:
5442         * text.C:
5443         * Makefile.am:
5444         * text_funcs.h:
5445         * text_funcs.C: make transposeChars a free function
5446
5447         * lyxrow_funcs.C: remove wrong comment
5448
5449 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * lyxtext.h: adjust
5452         * rowpainter.C: adjust
5453         * text.C: adjust
5454         * text2.C: adjust
5455         * text3.C: adjust
5456
5457         * lyxrow_funcs. [Ch]: new files
5458
5459         * lyxrow.[Ch]: remove next and previous pointers
5460         (next,previous): remove accessor functions
5461         (isParEnd): move to lyxrow_funcs
5462         (lastPos): move to lyxrow_funcs
5463         (nextRowIsAllInset): move to lyxrow_funcs
5464         (lastPrintablePos): move to lyxrow_funcs
5465         (numberOfSeparators): move to lyxrow_funcs
5466         (numberOfHfills): move to lyxrow_funcs
5467         (numberOfLabelHfills): move to lyxrow_funcs
5468         (hfillExpansion): move to lyxrow_funcs
5469
5470         * lyxfunc.C: adjust
5471
5472         * bufferview_funcs.C (toggleAndShow): adjust
5473
5474         * RowList.h: Remove class RowList from file leave just a
5475         std::list<Row>.
5476
5477         * RowList.C: delete file
5478
5479         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5480         and lyxrow_funcs.h
5481
5482 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * text3.C (cursorPrevious): adjust
5485         (cursorNext): adjust
5486         (dispatch): adjust
5487
5488         * text2.C (redoHeightOfParagraph): adjust
5489         (redoDrawingOfParagraph): adjust
5490         (setCursor): adjust
5491
5492         * text.C (breakParagraph): adjust
5493         (insertChar): adjust
5494         (backspace): adjust
5495
5496         * rowpainter.C (RowPainter): adjust
5497         (leftMargin): simplify and adjust
5498         (most rowpainter functions): adjust.
5499
5500         * rowpainter.h: store the row as RowList::iterator not as Row*
5501
5502         * lyxcursor.C (row): taka RowList::iterator as arg
5503         (irow): ditto
5504
5505         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5506         of Row*.
5507
5508 2003-04-01  Angus Leeming  <leeming@lyx.org>
5509
5510         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5511         stuff like bool Bool.
5512
5513 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5514
5515         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5516         rewrite a loop
5517
5518 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5521         RowList::iterator.
5522
5523         * lyxtext.h (rows): drop one version and leve a const variant that
5524         returns a RowList::iterator.
5525
5526 2003-03-31  Angus Leeming  <leeming@lyx.org>
5527
5528         * text.C (fill): ensure that the signature is the same as that in the
5529         header file.
5530
5531 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * text2.C (redoParagraphs): adjust
5534         (updateCounters): adjust
5535         (checkParagraph): adjust
5536         (getColumnNearX): adjust and reformat a bit.
5537
5538         * text.C (top_y): adjust
5539         (workWidth): adjust
5540         (leftMargin): adjust
5541         (prepareToPrint): adjust
5542         (getRow): adjust
5543         (getRowNearY): adjust
5544
5545         * lyxtext.h: make rowlist_ mutable.
5546
5547         * RowList.h: add const_iterator
5548         * RowList.C: adjust for RowList::const_iterator.
5549
5550         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5551         adjust.
5552
5553 2003-03-31  John Levon  <levon@movementarian.org>
5554
5555         * lyxrc.h:
5556         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5557
5558         * lyx_main.C: set default fonts from using lyx_gui funcs
5559
5560         * exporter.C: pdf_mode moved from lyxrc
5561
5562         * lyx_cb.C:
5563         * lyxfunc.C: changes from above
5564
5565 2003-03-31  John Levon  <levon@movementarian.org>
5566
5567         * lyx_main.C: fix to the last fix
5568
5569 2003-03-31  John Levon  <levon@movementarian.org>
5570
5571         * bufferlist.C: "Load original" -> "Load Original"
5572
5573         * converter.C:
5574         * exporter.C:
5575         * importer.C:
5576         * lyx_main.C:
5577         * format.C: more Alert cleanups
5578
5579 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * text2.C (removeParagraph): make it take a RowList::iterator as
5582         arg, adjust.
5583         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5584         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5585
5586         * text.C (anchor_row): make it take a RowList::iterator as arg,
5587         adjust.
5588         (computeBidiTables): make it take a const reference to Row instead
5589         of Row pointer, adjust.
5590         (leftMargin): make it take a RowList::iterator as arg, adjust.
5591         (rowBreakPoint): adjust
5592         (breakAgainOneRow): make it take a RowList::iterator as arg,
5593         adjust.
5594         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5595
5596         * bufferview_funcs.C (toggleAndShow): adjust
5597
5598 2003-03-30  John Levon  <levon@movementarian.org>
5599
5600         * Makefile.am:
5601         * BoostFormat.h:
5602         * boost-inst.C: moved to support
5603
5604         * several files: changes as a result
5605
5606 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * text2.C (LyXText): adjust.
5609         (init): adjust
5610         (removeRow): make it take a RowList::iterator as arg, adjust.
5611         (fullRebreak): adjust
5612         (deleteEmptyParagraphMechanism): adjust
5613         (clearPaint): adjust
5614         (postPaint): adjust
5615
5616         * text.C (top_y): adjust
5617         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5618         (breakAgain): make it take a RowList::iterator as arg, adjust.
5619         (breakParagraph): adjust
5620         (insertChar): adjust
5621         (backspace): adjust
5622
5623         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5624         need_break_row, and refresh_row.
5625
5626         * text3.C (dispatch): adjust
5627
5628         * text2.C (checkParagraph): adjust
5629         (setCursor): adjust
5630         (setCursorFromCoordinates): adjust
5631
5632         * text.C (top_y): adjust
5633         (workWidth): adjust
5634         (getRow): make it return a RowList::iterator, adjust
5635         (getRowNearY): make it return a RowList::iterator, adjust
5636
5637         * text2.C (init): adjust
5638         (insertRow): remove function
5639         (insertParagraph): adjust
5640         (redoParagraphs): adjust
5641         (fullRebreak): adjust
5642         (updateCounters): adjust
5643
5644         * text.C (top_y): rewrite to use RowList iterators.
5645         (top_y): adjust
5646         (setHeightOfRow): rewrite to sue RowList iterators.
5647         (appendParagraph): adjust
5648         (breakAgain): adjust
5649         (breakAgainOneRow): adjust
5650         (breakParagraph): adjust
5651         (getRow): adjust
5652         (getRowNearY): adjust, and remove commented code.
5653
5654         * lyxtext.h (firstRow): delete function
5655         (lastRow): delete function
5656         (rows): new function (const and non-const versions.)
5657         (insertRow): delete function
5658
5659         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5660
5661 2003-03-29  John Levon  <levon@movementarian.org>
5662
5663         * BufferView_pimpl.C: always update scrollbar top
5664         because pasting text when we're anchored could mean we
5665         miss an update altogether
5666
5667 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * text2.C (init): use rowlist_.end() and not 0.
5670         (insertRow): change to take a RowList::iterator as arg, adjust
5671         for this.
5672         (insertParagraph): change to take a RowList::iterator as arg,
5673         adjust for this.
5674         (redoParagraphs): remove some debug msgs.
5675
5676         * text.C (appendParagraph): change to take a RowList::iterator
5677         arg, adjust for this.
5678         (breakAgain): add an assert
5679         (breakAgainOneRow): ditto
5680
5681 2003-03-29  John Levon  <levon@movementarian.org>
5682
5683         * text2.C: do not clear selection after inc/decDepth
5684         (bug 550)
5685
5686 2003-03-29  John Levon  <levon@movementarian.org>
5687
5688         * BufferView.C:
5689         * buffer.C: fix broken strerrors according to Lars
5690
5691 2003-03-29  John Levon  <levon@movementarian.org>
5692
5693         * converters.C: more Alert cleanups
5694
5695 2003-03-29  John Levon  <levon@movementarian.org>
5696
5697         * bufferview_funcs.C: remove pointless Alert
5698
5699         * buffer.C: fix confusing error message when
5700         a template is chmoded 000
5701
5702 2003-03-29  John Levon  <levon@movementarian.org>
5703
5704         * BufferView.C:
5705         * BufferView.h:
5706         * BufferView_pimpl.C: Alert fixes
5707
5708         * Makefile.am:
5709         * tabular.C:
5710         * tabular-old.C: remove unused table compat reading
5711
5712 2003-03-29  John Levon  <levon@movementarian.org>
5713
5714         * BufferView.C:
5715         * buffer.C:
5716         * lyx_cb.h:
5717         * lyx_cb.C: more Alert cleanups
5718
5719         * lyxfunc.C: don't allow chktex if not latex document
5720
5721 2003-03-29  John Levon  <levon@movementarian.org>
5722
5723         * lyx_cb.C:
5724         * BufferView.C:
5725         * buffer.C: warnings pushed down from support/,
5726         kill err_alert
5727
5728 2003-03-29  John Levon  <levon@movementarian.org>
5729
5730         * lyxfunc.C: safety check for C-r (revert)
5731
5732 2003-03-29  John Levon  <levon@movementarian.org>
5733
5734         * bufferlist.h:
5735         * bufferlist.C: several UI fixes using Alert::prompt.
5736         Fix the pointless looping quit code. Fix stupid revert
5737         behaviour (bug 938)
5738
5739         * lyxvc.h:
5740         * lyxvc.C:
5741         * lyx_cb.C: use Alert::prompt
5742
5743         * lyx_main.C: remove a silly question
5744
5745         * lyxfunc.C: remove a couple of silly questions,
5746         use Alert::prompt
5747
5748 2003-03-28  John Levon  <levon@movementarian.org>
5749
5750         * text2.C: fix bug 974 (End on empty par)
5751
5752 2003-03-28  John Levon  <levon@movementarian.org>
5753
5754         * BufferView_pimpl.C:
5755         * LyXAction.C:
5756         * lfuns.h: remove do-nothing math greek lfuns
5757
5758 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * lyxgluelength.h (isValidGlueLength): add default arg on
5761         parameter 2. Remove default arg from friend in class.
5762
5763         * lyxlength.h (isValidLength): add default arg on parameter 2.
5764         Remove default arg from friend in class.
5765
5766         * text2.C (LyXText): adjust, initialize refresh_row.
5767         (init): adjust
5768         (removeRow): adjust
5769         (insertRow): adjust
5770         (insertParagraph): adjst
5771         (redoParagraphs): adjust
5772         (fullRebreak): adjust
5773         (updateCounters): adjust
5774         (deleteEmptyParagraphMechanism): first attempt at fixing a
5775         crashing bug.
5776
5777         * text.C (top_y): adjust
5778         (setHeightOfRow): adjust
5779         (getRow): adjust
5780         (getRowNearY): adjust
5781
5782         * lyxtext.h: include RowList.h
5783         (~LyXText): not needed anymore, deleted.
5784         (firstRow): modify for RowList
5785         (lastRow): new function
5786         Delete firstrow and lastrow class variables, add a Rowlist
5787         rowlist_ class variable.
5788
5789         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5790         paragraph is empty.
5791
5792         * RowList.C (insert): fix case where it == begin().
5793
5794 2003-03-26  Angus Leeming  <leeming@lyx.org>
5795
5796         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5797         the thesaurus dialog.
5798
5799 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5802
5803         * RowList.[Ch]: new files
5804
5805         * ParagraphList.C (erase): handle the case where it == begin
5806         correctly.
5807
5808 2003-03-25  John Levon  <levon@movementarian.org>
5809
5810         * Makefile.am:
5811         * aspell_local.h:
5812         * aspell.C: add new aspell support
5813
5814         * lyxrc.h:
5815         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5816         have it accessible.
5817
5818 2003-03-25  Angus Leeming  <leeming@lyx.org>
5819
5820         * lfuns.h:
5821         * LyXAction.C (init): new LFUN_INSET_INSERT.
5822
5823         * BufferView_pimpl.C (dispatch): split out part of the
5824         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5825
5826         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5827         LFUN_INSET_APPLY.
5828
5829 2003-03-25  Angus Leeming  <leeming@lyx.org>
5830
5831         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5832
5833 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * text2.C:
5836         * text3.C: remove useless row->height(0)
5837
5838 2003-03-25  John Levon  <levon@movementarian.org>
5839
5840         * lyxtext.h:
5841         * text2.C:
5842         * text3.C: rename the refreshing stuff to better names
5843
5844 2003-03-24  John Levon  <levon@movementarian.org>
5845
5846         * BufferView_pimpl.h:
5847         * BufferView_pimpl.C: update layout choice on a mouse
5848         press/release
5849
5850 2003-03-23  John Levon  <levon@movementarian.org>
5851
5852         * Makefile.am: fix commandtags.h reference
5853
5854 2003-03-22  John Levon  <levon@movementarian.org>
5855
5856         * BufferView_pimpl.C:
5857         * lyxtext.h:
5858         * rowpainter.C:
5859         * rowpainter.h:
5860         * text.C:
5861         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5862
5863 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * lyxtext.h:
5866         * text.C: take the rtl methods out of line
5867
5868 2003-03-21 André Pönitz <poenitz@gmx.net>
5869
5870         * metricsinfo.[Ch]: new files containing structures to be passed around
5871         during the two-phase-drawing...
5872
5873 2003-03-21 André Pönitz <poenitz@gmx.net>
5874
5875         * lyxtextclass.C: read 'environment' tag.
5876
5877 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * text2.C (removeRow): fix bug 964
5880
5881 2003-03-20  John Levon  <levon@movementarian.org>
5882
5883         * rowpainter.C:
5884         * text.C:
5885         * text2.C: paint cleanups. Inset::update() dropped font
5886         parameter
5887
5888 2003-03-19  John Levon  <levon@movementarian.org>
5889
5890         * lyxfunc.C: only fitcursor/markDirty if available()
5891
5892 2003-03-19  John Levon  <levon@movementarian.org>
5893
5894         * commandtags.h: rename to ...
5895
5896         * lfuns.h: ... this, and renumber / cleanup
5897
5898 2003-03-19  John Levon  <levon@movementarian.org>
5899
5900         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5901         fit the cursor after an lfun
5902
5903         * BufferView.h:
5904         * BufferView.C:
5905         * BufferView_pimpl.h:
5906         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5907
5908         * LyXAction.C: layout-character should have ReadOnly
5909
5910         * ParagraphParameters.C:
5911         * buffer.C:
5912         * bufferview_funcs.C:
5913         * lyx_cb.C:
5914         * lyxfind.C:
5915         * lyxtext.h:
5916         * text.C:
5917         * text2.C:
5918         * text3.C:
5919         * undo_funcs.C: changes from above
5920
5921 2003-03-18  John Levon  <levon@movementarian.org>
5922
5923         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5924         remove it from update()
5925
5926         * lyxfunc.C: update layout choice after an lfun
5927
5928         * text3.C: remove extra updateLayoutChoice()s
5929
5930 2003-03-18  John Levon  <levon@movementarian.org>
5931
5932         * text.C: top_y change means full repaint, fix
5933         a drawing bug with cursor movement
5934
5935 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * lyxtext.h:
5938         * text.C:
5939         * text2.C: anchor row on setCursor
5940
5941 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5942
5943         * lyxtext.h: remove almost all mutable keywords
5944         * text.C:
5945         * text2.C:
5946         * text3.C: remove const keywords accordingly
5947
5948 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5951         anon namespace
5952         (TeXEnvironment): ditto
5953         (TeXOnePar): ditto
5954
5955 2003-03-17  John Levon  <levon@movementarian.org>
5956
5957         * text.C (rowBreakPoint): remove attempt to fix displayed
5958         math insets inside a manual label
5959
5960 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * lyxtext.h: remove BufferView* as first arg from almost all class
5963         functions.
5964         * other files: adjust.
5965
5966 2003-03-17  John Levon  <levon@movementarian.org>
5967
5968         * lyxtext.h:
5969         * undo_funcs.C:
5970         * text2.C: more paint cleanups
5971
5972         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5973
5974         * rowpainter.h:
5975         * rowpainter.C: remove "smart" background painting code
5976
5977 2003-03-16  John Levon  <levon@movementarian.org>
5978
5979         * lyxtext.h:
5980         * text.C:
5981         * text2.C:
5982         * text3.C: add helper functions for setting refresh_row/y
5983
5984 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5985
5986         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5987         newline inset which *can* get inserted in the pass_thru layouts.
5988         This is primarily for literate documents.
5989
5990 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5991
5992         * buffer.C: increment LYX_FORMAT to 223
5993
5994 2003-03-14 André Pönitz <poenitz@gmx.net>
5995
5996         * textclass.h: prepare for environment handling, ws changes
5997         * lyxlayout.C: read latexheader and latexfooter tags
5998
5999 2003-03-14  John Levon  <levon@movementarian.org>
6000
6001         * text2.C: rewrite ::status() a bit
6002
6003 2003-03-13  John Levon  <levon@movementarian.org>
6004
6005         * lyxtext.h: add some docs
6006
6007 2003-03-13  John Levon  <levon@movementarian.org>
6008
6009         * lyxtext.h:
6010         * text.C:
6011         * text2.C:
6012         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6013
6014 2003-03-13  John Levon  <levon@movementarian.org>
6015
6016         * text3.C: fix appendix redrawing
6017
6018 2003-03-13  John Levon  <levon@movementarian.org>
6019
6020         * text.C (setHeightOfRow):
6021         * rowpainter.h:
6022         * rowpainter.C: make appendix mark have the text
6023           "Appendix" so the user knows what it is
6024
6025         * LColor.h:
6026         * LColor.C: s/appendixline/appendix/ from above
6027
6028 2003-03-13  John Levon  <levon@movementarian.org>
6029
6030         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6031
6032         * text.C: fix a getChar(pos) bug properly
6033
6034 2003-03-13  Angus Leeming  <leeming@lyx.org>
6035
6036         * commandtags.h:
6037         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6038         Probably only temporary. Let's see how things pan out.
6039
6040         * BufferView.C (unlockInset):
6041         * BufferView_pimpl.C (fitCursor):
6042         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6043
6044         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6045         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6046
6047         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6048         new functions that convert ParagraphParameters to and from a string.
6049
6050         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6051         BufferView::Pimpl's dispatch.
6052         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6053
6054 2003-03-13 André Pönitz <poenitz@gmx.net>
6055
6056         * lyxfunc.C:
6057         * text3.C:
6058         * factory.C: make it aware of InsetEnv
6059
6060 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * text2.C (setCursor): never ask for one past last
6063         (setCursor): add some debugging messages.
6064
6065         * text.C (singleWidth): never ask for one past last
6066         (singleWidth): ditto
6067         (leftMargin): ditto
6068         (rightMargin): ditto
6069         (rowBreakPoint): ditto
6070         (setHeightOfRow): ditto
6071         (prepareToPrint): ditto
6072
6073         * rowpainter.C (paintBackground): never ask for one past last
6074         (paintText): never ask for one past last
6075
6076         * paragraph_pimpl.C (getChar): make the assert stricter, never
6077         allow the one past last pos to be taken
6078
6079         * paragraph.C (getChar): ws changes only
6080
6081         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6082         (numberOfSeparators): ditto
6083         (numberOfHfills): ditto
6084
6085 2003-03-12  John Levon  <levon@movementarian.org>
6086
6087         * author.h:
6088         * author.C:
6089         * bufferparams.h:
6090         * bufferparams.C:
6091         * paragraph_funcs.C: fix per-buffer authorlists
6092
6093 2003-03-12  John Levon  <levon@movementarian.org>
6094
6095         * text.C: fix newline in right address
6096
6097 2003-03-12  Angus Leeming  <leeming@lyx.org>
6098
6099         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6100         duplicate those in LyXFunc::dispatch.
6101
6102         * commandtags.h:
6103         * LyXAction.C:
6104         * ToolbarDefaults.C:
6105         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6106         Add LFUN_FONTFREE_UPDATE.
6107
6108         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6109         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6110
6111         * bufferview_func.[Ch]: several new functions to facilliate
6112         transfer of data to and from the character dialog.
6113
6114 2003-03-12  John Levon  <levon@movementarian.org>
6115
6116         * buffer.C:
6117         * paragraph.h:
6118         * paragraph.C:
6119         * paragraph_funcs.C:
6120         * paragraph_pimpl.C:
6121         * sgml.C:
6122         * tabular.C:
6123         * text.C:
6124         * text3.C: remove META_NEWLINE in favour of an inset
6125
6126         * rowpainter.h:
6127         * rowpainter.C: remove paintNewline (done by inset)
6128
6129 2003-03-12  John Levon  <levon@movementarian.org>
6130
6131         * paragraph_pimpl.C: complain about bad getChar()s
6132         for a while at least
6133
6134 2003-03-12  John Levon  <levon@movementarian.org>
6135
6136         * buffer.h:
6137         * buffer.C: move paragraph read into a separate function,
6138         a little renaming to reflect that.
6139
6140         * bufferparams.h:
6141         * bufferparams.C: remove the author_ids map, not necessary now
6142
6143         * factory.h:
6144         * factory.C: moved Buffer::readInset to here
6145
6146         * paragraph_funcs.h:
6147         * paragraph_funcs.C: readParagraph free function moved from
6148         buffer.C
6149
6150         * tabular.C: name change
6151
6152 2003-03-12  John Levon  <levon@movementarian.org>
6153
6154         * buffer.C:
6155         * ParagraphParameters.C: move par params input to
6156         a read() method
6157
6158         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6159         behave like a normal read from the stream wrt reading
6160         a line vs. a \\token
6161
6162 2003-03-12  John Levon  <levon@movementarian.org>
6163
6164         * paragraph.C:
6165         * ParagraphParameters.h:
6166         * ParagraphParameters.C: move output code to a
6167         ::write() method
6168
6169 2003-03-12  John Levon  <levon@movementarian.org>
6170
6171         * BufferView.C (insertLyXFile):
6172         * buffer.h:
6173         * buffer.C:
6174         * tabular.C: use a parlist iterator for creating the
6175           document.
6176
6177 2003-03-12  John Levon  <levon@movementarian.org>
6178
6179         * buffer.C: make current_change static local not
6180           static file-scope
6181
6182 2003-03-12  John Levon  <levon@movementarian.org>
6183
6184         * buffer.C: fix insertStringAsLines for change tracking
6185
6186 2003-03-12  John Levon  <levon@movementarian.org>
6187
6188         * BufferView.C:
6189         * tabular.C:
6190         * buffer.h:
6191         * buffer.C:
6192         * bufferparams.h:
6193         * bufferparams.C: move author list into params. Rename some
6194           functions. Move the header reading into a separate token
6195           loop. Move the header token reading into BufferParams.
6196
6197 2003-03-12  John Levon  <levon@movementarian.org>
6198
6199         * changes.C: put debug inside lyxerr.debugging() checks
6200
6201 2003-03-11 André Pönitz <poenitz@gmx.net>
6202
6203         * factory.C: make it aware of InsetHFill
6204
6205 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6206
6207         * buffer.C (latexParagraphs): move function from here...
6208         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6209         args.
6210
6211 2003-03-10  Angus Leeming  <leeming@lyx.org>
6212
6213         * LyXAction.C (init): fix bug in poplating array with multiple entries
6214         with the same LFUN (spotted by JMarc).
6215
6216 2003-03-10  John Levon  <levon@movementarian.org>
6217
6218         * text.C:
6219         * text2.C: move getColumnNearX() near its
6220         only call site
6221
6222 2003-03-10  John Levon  <levon@movementarian.org>
6223
6224         * text.C: fix break before a minipage
6225
6226 2003-03-10  John Levon  <levon@movementarian.org>
6227
6228         * text.C: fix the last commit
6229
6230 2003-03-09  John Levon  <levon@movementarian.org>
6231
6232         * lyxtext.h:
6233         * text.C:
6234         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6235         bug 365 (don't break before insets unless needed). Don't
6236         return a value > last under any circumstances.
6237
6238 2003-03-09  Angus Leeming  <leeming@lyx.org>
6239
6240         * BufferView_pimpl.C (trackChanges, dispatch): call
6241         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6242
6243 2003-03-09  Angus Leeming  <leeming@lyx.org>
6244
6245         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6246         than Dialogs::showAboutlyx().
6247
6248 2003-03-09  Angus Leeming  <leeming@lyx.org>
6249
6250         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6251         than Dialogs::showTabularCreate().
6252
6253 2003-03-09  John Levon  <levon@movementarian.org>
6254
6255         * lyxtext.h:
6256         * text.C:
6257         * text2.C: 3rd arg to nextBreakPoint was always the same.
6258           Use references.
6259
6260 2003-03-08  John Levon  <levon@movementarian.org>
6261
6262         * lyxrow.C:
6263         * paragraph.C:
6264         * paragraph.h:
6265         * rowpainter.C:
6266         * text.C:
6267         * text2.C: Remove the "main" bit from the "main body"
6268           notion.
6269
6270 2003-03-08  John Levon  <levon@movementarian.org>
6271
6272         * text.C (leftMargin): The left margin of an empty
6273         manual label paragraph should not include the label width
6274         string length.
6275
6276         * text.C (prepareToPrint): don't attempt to measure hfills
6277         for empty manual label paragraphs - the answer should be 0
6278
6279 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * CutAndPaste.C: remove commented code and reindent.
6282
6283 2003-03-08  John Levon  <levon@movementarian.org>
6284
6285         * lyxfunc.h:
6286         * lyxfunc.C: move reloadBuffer()
6287
6288         * BufferView.h:
6289         * BufferView.C: to here
6290
6291         * lyxvc.C: add comment
6292
6293         * vc-backend.h:
6294         * vc-backend.C: call bv->reload() to avoid
6295           getStatus() check on MENURELOAD
6296
6297 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6298
6299         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6300         to an old format .dep file.
6301
6302 2003-03-07  Angus Leeming  <leeming@lyx.org>
6303
6304         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6305         when the LFUN_MOUSE_RELEASE should have been handled by
6306         inset->localDispatch.
6307
6308 2003-03-07  Angus Leeming  <leeming@lyx.org>
6309
6310         * BufferView_pimpl.C (dispatch):
6311         * LyXAction.C (init):
6312         * ToolbarDefaults.C (init):
6313         * commandtags.h:
6314         * lyxfunc.C (getStatus):
6315         remove LFUN_INSET_GRAPHICS.
6316
6317         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6318
6319 2003-03-07  Angus Leeming  <leeming@lyx.org>
6320
6321         * commandtags.h:
6322         * LyXAction.C (init):
6323         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6324
6325         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6326
6327         * commandtags.h:
6328         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6329
6330         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6331         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6332
6333 2003-03-07  Angus Leeming  <leeming@lyx.org>
6334
6335         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6336         remove "ert".
6337
6338 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * ParagraphList.C (front): new function
6341         (back): implement
6342
6343 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6346         and top_row_offset_. removed var first_y.
6347         * text.C (top_y):
6348         * text2.C (LyXText, removeRow):
6349         * text3.C:
6350         * BufferView_pimpl.C:
6351         use these methods instead of using first_y
6352
6353 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * text2.C (pasteSelection): adjust for checkPastePossible
6356
6357         * CutAndPaste.C: remove Paragraph * buf and replace with
6358         ParagraphList paragraphs.
6359         (DeleteBuffer): delete
6360         (cutSelection): change the tc type to textclass_type
6361         (copySelection): change the tc type to textclass_type
6362         (copySelection): adjust for ParagraphList
6363         (pasteSelection): change the tc type to textclass_type
6364         (pasteSelection): adjust for Paragraphlist
6365         (nrOfParagraphs): simplify for ParagraphList
6366         (checkPastePossible): simplify for ParagraphList
6367         (checkPastePossible): remove unused arg
6368
6369         * ParagraphList.C (insert): handle the case where there are no
6370         paragraphs yet.
6371
6372         * CutAndPaste.h: make CutAndPaste a namespace.
6373
6374         * text3.C (dispatch): adjust
6375
6376         * text.C (breakParagraph): add a ParagraphList as arg
6377
6378         * paragraph_funcs.C (breakParagraph): change to take a
6379         BufferParams and a ParagraphList as args.
6380         (breakParagraphConservative): ditto
6381         (mergeParagraph): ditto
6382         (TeXDeeper): add a ParagraphList arg
6383         (TeXEnvironment): ditto
6384         (TeXOnePar): ditto
6385
6386         * buffer.C (readLyXformat2): adjust
6387         (insertStringAsLines): adjust
6388         (latexParagraphs): adjust
6389
6390         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6391         (cutSelection): adjust
6392         (pasteSelection): adjust
6393
6394         * BufferView_pimpl.C (insertInset): adjust
6395
6396 2003-03-05  Angus Leeming  <leeming@lyx.org>
6397
6398         * commandtags.h:
6399         * LyXAction.C (init):
6400         * BufferView_pimpl.C (dispatch):
6401         * lyxfunc.C (getStatus):
6402         remove LFUN_CHILD_INSERT.
6403
6404         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6405
6406 2003-03-05  Angus Leeming  <leeming@lyx.org>
6407
6408         * commandtags.h:
6409         * LyXAction.C (init):
6410         * src/factory.C (createInset):
6411         * lyxfunc.C (getStatus):
6412         * text3.C (dispatch):
6413         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6414
6415         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6416
6417 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * ParagraphList.C (insert): handle insert right before end()
6420         (erase): fix cases where it can be first or last paragraph.
6421
6422 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6425         Paragraph::next and Paragraph::previous
6426         (TeXOnePar): ditto
6427
6428         * text.C (breakParagraph): adjust
6429
6430         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6431         BufferParams& as arg.
6432         (breakParagraph): use ParagraphList::insert
6433         (breakParagraphConservative): take a Buffer* instead of a
6434         BufferParams& as arg.
6435         (breakParagraphConservative): use ParagraphList::insert.
6436
6437         * buffer.C (insertStringAsLines): un-const it
6438         (insertStringAsLines): adjust
6439
6440         * ParagraphList.C (insert): new function
6441
6442         * CutAndPaste.C (pasteSelection): adjust
6443
6444         * text.C (backspace): adjust
6445
6446         * tabular.C (SetMultiColumn): adjust
6447
6448         * CutAndPaste.C (cutSelection): adjust
6449         (pasteSelection): adjust
6450
6451         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6452         Buffer const * as arg
6453
6454         * ParagraphList.C (erase): new function
6455         * paragraph_funcs.C (mergeParagraph): use it
6456         (mergeParagraph): make it take a Buffer* instead of a
6457         BufferParams* as arg
6458
6459         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6460         as arg
6461         (breakParagraphConservative): ditto
6462
6463         * paragraph.h: remove the breakParagraph friend
6464
6465         * paragraph.C (eraseIntern): new function
6466         (setChange): new function
6467
6468         * paragraph_funcs.C (mergeParagraph): make it take a
6469         ParagraphList::iterator instead of a Paragraph *, adjust
6470         accordingly.
6471
6472         * paragraph.h: move an #endif so that the change tracking stuff
6473         also works in the NO_NEXT case.
6474
6475 2003-03-04  Angus Leeming  <leeming@lyx.org>
6476
6477         * commandtags.h:
6478         * LyXAction.C: new LFUN_INSET_MODIFY.
6479
6480         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6481         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6482
6483 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * several files: ws changes only
6486
6487         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6488         (TeXEnvironment): ditto
6489         (TeXDeeper): ditto
6490
6491         * buffer.C (makeLaTeXFile): adjust
6492         (latexParagraphs): make it take ParagraphList::iterator as args
6493
6494 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * buffer.C (latexParagraphs): adjust
6497
6498         * paragraph.C (TeXOnePar): move function...
6499         (optArgInset): move function...
6500         (TeXEnvironment): move function...
6501         * paragraph_pimpl.C (TeXDeeper): move function...
6502         * paragraph_funcs.C: ...here
6503
6504         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6505
6506 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * buffer.C (readInset): remove compability code for old Figure and
6509         InsetInfo insets
6510
6511 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * buffer.C: ws changes
6514         (readInset):
6515
6516         * BufferView_pimpl.C: ditto
6517         * author.C: ditto
6518         * buffer.h: ditto
6519         * bufferlist.h: ditto
6520         * changes.h: ditto
6521         * lyxfunc.C: ditto
6522
6523 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6524
6525         * converter.[Ch]: split into itself +
6526         * graph.[Ch]
6527         * format.[Ch]
6528         * Makefile.am: += graph.[Ch] + format.[Ch]
6529         * MenuBackend.C
6530         * buffer.C
6531         * exporter.C
6532         * importer.C
6533         * lyx_main.C
6534         * lyxfunc.C
6535         * lyxrc.C: added #include "format.h"
6536
6537 2003-02-27  Angus Leeming  <leeming@lyx.org>
6538
6539         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6540           a label.
6541
6542         * factory.C (createInset): add "label" to the factory.
6543
6544         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6545           string and do no more.
6546
6547 2003-02-27  Angus Leeming  <leeming@lyx.org>
6548
6549         * commandtags.h:
6550         * LyXAction.C (init):
6551         * factory.C (createInset):
6552         * BufferView_pimpl.C (dispatch):
6553           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6554
6555         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6556
6557         * lyxfunc.C (dispatch):
6558         * text3.C (dispatch): pass name to params2string.
6559
6560 2003-02-26  Angus Leeming  <leeming@lyx.org>
6561
6562         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6563           blocks together.
6564           Rearrange the ~includes. Strip out the unnecessary ones.
6565
6566         * factory.C (createInset): reformat.
6567           create new insets for the various LFUN_XYZ_APPLY lfuns.
6568
6569 2003-02-26  John Levon  <levon@movementarian.org>
6570
6571         * lyxrow.h:
6572         * lyxrow.C: add isParStart,isParEnd helpers
6573
6574         * paragraph.h: make isInserted/DeletedText take refs
6575
6576         * paragraph_funcs.h:
6577         * paragraph_funcs.C: remove #if 0'd code
6578
6579         * lyxtext.h:
6580         * text3.C:
6581         * text2.C:
6582         * text.C: use lyxrow helpers above.
6583           Move draw and paint routines to RowPainter.
6584           Make several methods use refs not pointers.
6585           Make backgroundColor() const.
6586           Add markChangeInDraw(), isInInset().
6587           Merge changeRegionCase into changeCase.
6588           Make workWidth() shouldn't-happen code into an Assert.
6589
6590         * rowpainter.h:
6591         * rowpainter.C: new class for painting a row.
6592
6593         * vspace.h:
6594         * vspace.C: make inPixels take a ref
6595
6596 2003-02-26  Angus Leeming  <leeming@lyx.org>
6597
6598         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6599         LFUN_REF_APPLY.
6600
6601 2003-02-25  John Levon  <levon@movementarian.org>
6602
6603         * ispell.C: give the forked command a more accurate name
6604
6605 2003-02-22  John Levon  <levon@movementarian.org>
6606
6607         * toc.h:
6608         * toc.C: make TocItem store an id not a Paragraph *
6609           (bug #913)
6610
6611 2003-02-21  Angus Leeming  <leeming@lyx.org>
6612
6613         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6614           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6615           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6616           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6617           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6618           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6619
6620         * BufferView_pimpl.C (dispatch):
6621         * LyXAction.C (init):
6622         * factory.C (createInset):
6623         * lyxfunc.C (getStatus, dispatch):
6624         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6625
6626 2003-02-21  Angus Leeming  <leeming@lyx.org>
6627
6628         * BufferView_pimpl.C (MenuInsertLyXFile):
6629         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6630         * lyxfunc.C (menuNew, open, doImport):
6631           no longer pass a LyXView & to fileDlg.
6632
6633 2003-02-21  Angus Leeming  <leeming@lyx.org>
6634
6635         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6636         * LyXAction.C: change, BIBKEY to BIBITEM.
6637         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6638         Change InsetBibKey to InsetBibitem.
6639         Change BIBKEY_CODE to BIBITEM_CODE.
6640         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6641         * factory.C: replace insetbib.h with insetbibitem.h.
6642         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6643         * paragraph.C: replace insetbib.h with insetbibitem.h.
6644         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6645         Change bibkey() to bibitem().
6646         * text.C: remove insetbib.h.
6647         * text2.C: replace insetbib.h with insetbibitem.h.
6648         change bibkey() to bibitem().
6649         * text3.C: remove insetbib.h.
6650         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6651
6652 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6653
6654         * lyxrc.C (output): enclose user email in quotes (in case there are
6655         several words)
6656
6657 2003-02-18  John Levon  <levon@movementarian.org>
6658
6659         * buffer.h: add std::
6660
6661 2003-02-17  John Levon  <levon@movementarian.org>
6662
6663         * SpellBase.h:
6664         * ispell.h:
6665         * ispell.C:
6666         * pspell.h:
6667         * pspell.C: reworking. Especially in ispell, a large
6668           number of clean ups and bug fixes.
6669
6670         * lyxfunc.C: fix revert to behave sensibly
6671
6672 2003-02-17 André Pönitz <poenitz@gmx.net>
6673
6674         * LyXAction.C:
6675         * commandtags.h: new LFUN_INSERT_BIBKEY
6676
6677         * layout.h:
6678         * lyxlayout.C:
6679         * buffer.C:
6680         * factory.C:
6681         * text.C:
6682         * text2.C:
6683         * text3.C:
6684         * paragraph.[Ch]:
6685         * paragraph_func.C: remove special bibkey handling
6686
6687 2003-02-17  John Levon  <levon@movementarian.org>
6688
6689         * text.C (Delete): fix case where delete at the end of
6690           the very first paragraph would not merge the pars
6691
6692 2003-02-17  John Levon  <levon@movementarian.org>
6693
6694         * lyxrow.C: fix lastPrintablePos()
6695
6696 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6697
6698         * bufferparams.C (writeLaTeX): add a std:here
6699
6700         * buffer.C: and remove a using directive there
6701
6702 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * buffer.C (makeLaTeXFile): move the code that generates the
6705           preamble...
6706
6707         * bufferparams.C (writeLaTeX): ... in this new method
6708
6709         * LaTeXFeatures.C (getEncodingSet): make const
6710           (getLanguages): make const
6711
6712         * MenuBackend.C (binding): returns the binding associated to this
6713           action
6714           (add): sets the status of each item by calling getStatus. Adds
6715           some intelligence.
6716           (read): add support for OptSubMenu
6717           (expand): remove extra separator at the end of expanded menu
6718
6719 2003-02-15  John Levon  <levon@movementarian.org>
6720
6721         * BufferView.C:
6722         * BufferView_pimpl.C:
6723         * bufferlist.h:
6724         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6725           inset code that had no actual effect. Remove unneeded status
6726           code.
6727
6728 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6729
6730         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6731           in preamble
6732
6733 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6734
6735         * text.C (drawLengthMarker): also draw an arrow marker for
6736           symbolic lengths (medskip...)
6737
6738 2003-02-14  John Levon  <levon@movementarian.org>
6739
6740         * tabular.h:
6741         * tabular.C: better method names
6742
6743 2003-02-14  John Levon  <levon@movementarian.org>
6744
6745         * BufferView_pimpl.C:
6746         * bufferlist.C:
6747         * buffer.C:
6748         * converter.C:
6749         * lyx_cb.C:
6750         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6751           it's a more accurate name. Remove some pointless uses.
6752
6753 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6754
6755         * text2.C (LyXText): change order of initilizers to shut off
6756           warnings
6757
6758 2003-02-14  John Levon  <levon@movementarian.org>
6759
6760         * buffer.C: use ParIterator for getParFromID()
6761
6762         * paragraph.h:
6763         * paragraph.C:
6764         * paragraph_pimpl.h:
6765         * paragraph_pimpl.C: remove unused getParFromID()
6766
6767 2003-02-14  John Levon  <levon@movementarian.org>
6768
6769         * buffer.C: remove some very old #if 0'd parse code
6770
6771 2003-02-13  John Levon  <levon@movementarian.org>
6772
6773         * text.h:
6774         * text.C:
6775         * text2.C: move hfillExpansion(), numberOfSeparators(),
6776           rowLast(), rowLastPrintable(), numberofHfills(),
6777           numberOfLabelHfills() ...
6778
6779         * lyxrow.h:
6780         * lyxrow.C: ... to member functions here.
6781
6782         * paragraph.h:
6783         * paragraph.C:
6784         * lyxtext.h:
6785         * text.C: remove LyXText::beginningOfMainBody(), and call
6786           p->beginningOfMainBody() directly. Move the check for
6787           LABEL_MANUAL into the latter.
6788
6789         * text.h:
6790         * text.C:
6791         * text2.C:
6792         * vspace.C:
6793         * BufferView.h:
6794         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6795
6796         * text.h:
6797         * text.C:
6798         * text2.C:
6799         * text3.C:
6800         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6801           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6802
6803 2003-02-13  John Levon  <levon@movementarian.org>
6804
6805         * CutAndPaste.C: remove debug
6806
6807 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6808
6809         * paragraph.C (asString): remove two unused variables
6810
6811         * lyxtextclass.C (readTitleType):
6812           (Read):
6813           (LyXTextClass): handle new members titletype_ and titlename_
6814
6815         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6816
6817 2003-02-09  John Levon  <levon@movementarian.org>
6818
6819         * buffer.h:
6820         * buffer.C: replace hand-coded list with a map for the dep clean
6821
6822 2003-02-08  John Levon  <levon@movementarian.org>
6823
6824         * LaTeX.C: consolidate code into showRunMessage() helper
6825
6826 2003-02-08  John Levon  <levon@movementarian.org>
6827
6828         * lyxfind.C:
6829         * lyxtext.h:
6830         * text2.C:
6831         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6832           and pass the size in explicitly
6833
6834         * BufferView_pimpl.h:
6835         * BufferView_pimpl.C:
6836         * BufferView.h:
6837         * BufferView.C: add getCurrentChange()
6838
6839         * BufferView_pimpl.h:
6840         * BufferView_pimpl.C: handle change lfuns
6841
6842         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6843           for changes. Mark pasted paragraphs as new.
6844
6845         * support/lyxtime.h:
6846         * support/lyxtime.C:
6847         * DepTable.C: abstract time_t as lyx::time_type
6848
6849         * LColor.h:
6850         * LColor.C: add colours for new text, deleted text, changebars
6851
6852         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6853           package use "usenames" option.
6854
6855         * commandtags.h:
6856         * lyxfunc.C:
6857         * LyXAction.C: add change lfuns
6858
6859         * Makefile.am:
6860         * author.h:
6861         * author.C: author handling
6862
6863         * buffer.h:
6864         * buffer.C: add a per-buffer author list, with first entry as
6865           current author. Handle new .lyx tokens for change tracking. Output
6866           author list to .lyx file. Output dvipost stuff to .tex preamble.
6867           Bump lyx format to 222.
6868
6869         * bufferlist.h:
6870         * bufferlist.C: add setCurrentAuthor() to reset current author details
6871           in all buffers.
6872
6873         * bufferparams.h:
6874         * bufferparams.C: add param for tracking
6875
6876         * bufferview_funcs.C: output change info in minibuffer
6877
6878         * Makefile.am:
6879         * changes.h:
6880         * changes.C: add change-tracking structure
6881
6882         * debug.h:
6883         * debug.C: add CHANGES debug flag
6884
6885         * lyxfind.h:
6886         * lyxfind.C: add code for finding the next change piece
6887
6888         * lyxrc.h:
6889         * lyxrc.C: add user_name and user_email
6890
6891         * lyxrow.h:
6892         * lyxrow.C: add a metric for the top of the text line
6893
6894         * lyxtext.h:
6895         * text.C: implement accept/rejectChange()
6896
6897         * lyxtext.h:
6898         * text.C: paint changebars. Paint new/deleted text in the chosen
6899         colours. Strike through deleted text.
6900
6901         * paragraph.h:
6902         * paragraph.C:
6903         * paragraph_pimpl.h:
6904         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6905           in the current change to the insert functions. Rework erase to
6906           mark text as deleted, adding an eraseIntern() and a range-based
6907           erase(). Implement per-paragraph change lookup and
6908           accept/reject.
6909
6910         * paragraph_funcs.C: Fixup paste for change tracking.
6911
6912         * tabular.C: mark added row/columns as new.
6913
6914         * text.C: fix rowLast() to never return -1. Don't allow
6915           spellchecking of deleted text. Track transpose changes. Don't
6916           allow paragraph break or merge where appropriate.
6917
6918         * text2.C: leave cursor at end of selection after a cut.
6919
6920 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6921
6922         * text.C (getLengthMarkerHeight):
6923         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6924         visible on screen too.
6925
6926 2003-02-07  John Levon  <levon@movementarian.org>
6927
6928         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6929
6930 2003-02-05  Angus Leeming  <leeming@lyx.org>
6931
6932         * lyxserver.C (read_ready): revert my patch of 11 September last year
6933         as it sends PC cpu through the roof. Presumably this means that
6934         the lyxserver will no longer run on an Alpha...
6935
6936 2003-01-30  Angus Leeming  <leeming@lyx.org>
6937
6938         * factory.C (createInset): create an InsetCommandParam of type "index"
6939         and use it to 'do the right thing'.
6940
6941         * text2.C (getStringToIndex): ensure that cursor position is always
6942         reset to the reset_cursor position.
6943
6944 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6945
6946         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6947         disabled.
6948
6949 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6950
6951         * bufferview.C:
6952         * lyxcb.C:
6953         * lyxfunc.C: Output messages with identical spelling, punctuation,
6954         and spaces
6955
6956 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6957
6958         * MenuBackend.C (expandFormats): List only viewable export formats
6959         in "View" menu
6960
6961         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6962         message
6963
6964         * lyxfunc.C (getStatus): Make sure that formats other than
6965         "fax" can also be disabled
6966
6967 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6968
6969         * text3.C (dispatch): put the lfuns that insert insets in 3
6970         groups, and call doInsertInset with appropriate arguments.
6971         (doInsertInset): new function, that creates an inset and inserts
6972         it according to some boolean parameters.
6973
6974 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6975
6976         * buffer.C (readFile): remember to pass on 'par' when calling
6977         readFile recursively.
6978
6979 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6980
6981         * MenuBackend.C (expandFormats): add "..." to import formats.
6982
6983 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6984
6985         * paragraph.C (asString): Remove XForms RTL hacks.
6986
6987 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6988         * buffer.C: fix typo
6989
6990 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * Makefile.am (LIBS): delete var
6993         (lyx_LDADD): add @LIBS@ here instead.
6994
6995 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6996
6997         * Clarify the meaning of "wheel mouse jump"
6998
6999 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7000
7001         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7002         tabular in a float
7003
7004 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7005
7006         * importer.C (Loaders): do not preallocate 3 elements in the
7007         vector, since one ends up with 6 elements otherwise
7008
7009 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7010
7011         * DepTable.C (write): write the file name as last element of the
7012         .dep file (because it may contain spaces)
7013         (read): read info in the right order
7014
7015 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7016
7017         * paragraph_pimpl.C (simpleTeXBlanks):
7018         (simpleTeXSpecialChars):
7019         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7020
7021         * tabular.C (latex): add some missing case statements. Reindent.
7022
7023         * MenuBackend.C (expandToc): remove unused variable.
7024
7025 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7026
7027         * LColor.C:
7028         * LaTeX.C:
7029         * LyXAction.C:
7030         * MenuBackend.C:
7031         * buffer.C:
7032         * exporter.C:
7033         * lyxfunc.C:
7034         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7035         and the like.
7036
7037 2003-01-05  John Levon  <levon@movementarian.org>
7038
7039         * BufferView.h:
7040         * BufferView.C: add getEncoding()
7041
7042         * kbsequence.h:
7043         * kbsequence.C: do not store last keypress
7044
7045         * lyxfunc.h:
7046         * lyxfunc.C: store last keypress here instead. Pass encoding
7047           to getISOEncoded()
7048
7049 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7050
7051         * lyx_main.C (init): remove annoying error message when following
7052         symbolic links (bug #780)
7053
7054 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7055
7056         * text.C (insertChar):
7057         * lyxrc.C (getDescription): remove extra spaces
7058
7059 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7060
7061         * lyxrc.C (getDescription): remove extra spaces
7062
7063 2002-12-20  John Levon  <levon@movementarian.org>
7064
7065         * text3.C: hack fix for page up/down across tall rows
7066
7067 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7068
7069         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7070         not been invoked
7071
7072 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7073
7074         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7075         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7076         thesaurus is not compiled in
7077
7078 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7079
7080         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7081
7082 2002-12-16  Angus Leeming  <leeming@lyx.org>
7083
7084         * lyxrc.[Ch]:
7085         * lyx_main.C (init): remove override_x_deadkeys stuff.
7086
7087 2002-12-12  John Levon  <levon@movementarian.org>
7088
7089         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7090           insert. Only remove shift modifier under strict
7091           circumstances.
7092
7093 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * MenuBackend.C (expandToc): fix crash.
7096
7097 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * MenuBackend.C (expandToc): gettext on float names.
7100
7101 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7102
7103         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7104         implement bool empty() [bug 490]
7105
7106 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7109
7110 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * several files: ws changes
7113
7114 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * text2.C (setCounter): clean up a bit, use boost.format.
7117         (updateCounters): initialize par upon declaration.
7118
7119         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7120         if the layout exists. We do not just store the layout any more.
7121         (SwitchLayoutsBetweenClasses): use boost.format
7122
7123 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7124
7125         * converter.C (convert): if from and to files are the same, use a
7126         temporary files as intermediary
7127
7128 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7129
7130         * commandtags.h:
7131         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7132
7133 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7134
7135         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7136
7137 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * tabular.C (asciiPrintCell): use string(size, char) instead of
7140         explicit loop.
7141
7142         * sgml.C (openTag): fix order of arguments to string constructor
7143         (closeTag): ditto
7144
7145         * lyxfunc.C (dispatch): use boost.format
7146
7147         * lots of files: change "c" -> 'c'
7148
7149 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7150
7151         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7152
7153 2002-11-25  Angus Leeming  <leeming@lyx.org>
7154
7155         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7156
7157         * lyx_main.C (init): compile fix.
7158
7159 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * lyx_cb.C (start): boost.formatify
7162         do not include <iostream>
7163
7164         * lengthcommon.C: ws only
7165
7166         * boost-inst.C,BoostFormat.h: add more explict instantations
7167
7168 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * lots of files: handle USE_BOOST_FORMAT
7171
7172 2002-11-21  John Levon  <levon@movementarian.org>
7173
7174         * pspell.C: fix compile
7175
7176 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7177
7178         * lyxfunc.C (dispatch): use boost::format
7179         (open): ditto
7180         (doImport): ditto
7181
7182         * lyxfont.C (stateText): use boost::format
7183
7184         * lyx_main.C (LyX): use boost::format
7185         (init): ditto
7186         (queryUserLyXDir): ditto
7187         (readRcFile): ditto
7188         (parse_dbg): ditto
7189         (typedef boost::function): use the recommened syntax.
7190
7191         * importer.C (Import): use boost::format
7192
7193         * debug.C (showLevel): use boost::format
7194
7195         * converter.C (view): use boost::format
7196         (convert): ditto
7197         (move): ditto
7198         (scanLog): ditto
7199
7200         * bufferview_funcs.C (currentState): use boost::format
7201
7202         * bufferlist.C (emergencyWrite): use boost::format
7203
7204         * buffer.C (readLyXformat2): use boost::format
7205         (parseSingleLyXformat2Token): ditto
7206
7207         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7208
7209         * LaTeX.C (run): use boost::format
7210
7211         * Chktex.C (scanLogFile): use boost::format
7212
7213         * BufferView_pimpl.C (savePosition): use boost::format
7214         (restorePosition): ditto
7215         (MenuInsertLyXFile): ditto
7216
7217         * BoostFormat.h: help file for explicit instation.
7218
7219 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7220
7221         * tabular.C (latex): Support for block alignment in fixed width
7222         columns.
7223
7224 2002-11-17  John Levon  <levon@movementarian.org>
7225
7226         * BufferView_pimpl.C:
7227         * lyx_cb.C:
7228         * lyxfunc.C: split filedialog into open/save
7229
7230 2002-11-08  Juergen Vigna  <jug@sad.it>
7231
7232         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7233         by my last patch (hopefully).
7234
7235 2002-11-08  John Levon  <levon@movementarian.org>
7236
7237         * iterators.h:
7238         * iterators.C:
7239         * buffer.h:
7240         * buffer.C:
7241         * paragraph.h:
7242         * paragraph.C:
7243         * toc.h:
7244         * toc.C: ParConstIterator, and use it (from Lars)
7245
7246 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7247
7248         * lyxtextclass.[Ch]: revise and add doxygen comments
7249
7250 2002-11-07  John Levon  <levon@movementarian.org>
7251
7252         * text.C: fix progress value for spellchecker
7253
7254         * toc.C: fix navigate menu for insetwrap inside minipage
7255
7256         * paragraph_funcs.C: added FIXME for suspect code
7257
7258 2002-11-07  John Levon  <levon@movementarian.org>
7259
7260         * BufferView_pimpl.C: fix redrawing of insets
7261           on buffer switch
7262
7263 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7264
7265         * text2.C (updateCounters): fix bug 668
7266
7267 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7268
7269         * text3.C (dispatch): Do not make the buffer dirty when moving the
7270         cursor.
7271
7272 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * vc-backend.C: STRCONV
7275         (scanMaster): ditto
7276
7277         * text2.C (setCounter): STRCONV
7278
7279         * paragraph.C (asString): STRCONV
7280
7281         * lyxlength.C (asString): STRCONV
7282         (asLatexString): ditto
7283
7284         * lyxgluelength.C (asString): STRCONV
7285         (asLatexString): ditto
7286
7287         * lyxfunc.C (dispatch): STRCONV
7288         (open): ditto
7289
7290         * lyxfont.C (stateText): STRCONV
7291
7292         * importer.C (Import): STRCONV
7293
7294         * counters.C (labelItem): STRCONV
7295         (numberLabel): ditto
7296         (numberLabel): remove unused ostringstream o
7297
7298         * chset.C: STRCONV
7299         (loadFile): ditto
7300
7301         * bufferview_funcs.C (currentState): STRCONV
7302
7303         * buffer.C (readFile): STRCONV
7304         (asciiParagraph): ditto
7305         (makeLaTeXFile): ditto
7306
7307         * Spacing.C (writeEnvirBegin): STRCONV
7308
7309         * LaTeXFeatures.C (getLanguages): STRCONV
7310         (getPackages): ditto
7311         (getMacros): ditto
7312         (getBabelOptions): ditto
7313         (getTClassPreamble): ditto
7314         (getLyXSGMLEntities): ditto
7315         (getIncludedFiles): ditto
7316
7317         * LaTeX.C: STRCONV
7318         (run): ditto
7319         (scanAuxFile): ditto
7320         (deplog): ditto
7321
7322         * LString.h: add the STRCONV macros
7323
7324         * BufferView_pimpl.C (savePosition): STRCONV
7325         (restorePosition): ditto
7326         (MenuInsertLyXFile): ditto
7327
7328         * vc-backend.C (scanMaster): change from submatch[...] to
7329         submatch.str(...)
7330
7331         * funcrequest.C: include config.h
7332
7333         * factory.C: include config.h
7334
7335         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7336
7337         * box.C: include config.h
7338
7339         * LaTeX.C (scanAuxFile): change from submatch[...] to
7340         submatch.str(...)
7341         (deplog): ditto
7342
7343 2002-10-25  Angus Leeming  <leeming@lyx.org>
7344
7345         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7346
7347         * ispell.[Ch] (setError): new method.
7348         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7349         Use setError() insetead of goto END.
7350
7351         * lyx_cb.C (AutoSave): move out child process into new class
7352         AutoSaveBuffer.
7353
7354 2002-10-30  John Levon  <levon@movementarian.org>
7355
7356         * text3.C: make start appendix undoable
7357
7358 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7359
7360         * lyxlength.C (inPixels): Fix returned value.
7361
7362         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7363         environment.
7364
7365 2002-10-24  Angus Leeming  <leeming@lyx.org>
7366
7367         * lyxgluelength.h: no need to forward declare BufferParams
7368         or BufferView, so don't.
7369
7370 2002-10-21  John Levon  <levon@movementarian.org>
7371
7372         * BufferView.C: menuUndo ->undo, redo
7373
7374         * BufferView.h: document, remove dead, make some methods private
7375
7376         * paragraph_funcs.h:
7377         * paragraph_funcs.C:
7378         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7379
7380         * buffer.h:
7381         * buffer.C:
7382         * sgml.h:
7383         * sgml.C: move sgml open/close tag into sgml.C
7384
7385         * bufferview_funcs.h: unused prototype
7386
7387         * lyxfunc.h:
7388         * lyxfunc.C: remove unused
7389
7390         * lyxtext.h:
7391         * text.C: remove unused
7392
7393 2002-10-21  John Levon  <levon@movementarian.org>
7394
7395         * BufferView.h:
7396         * BufferView.C:
7397         * BufferView_pimpl.h:
7398         * BufferView_pimpl.C: fix mouse wheel handling based on
7399           patch from Darren Freeman
7400
7401 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7402
7403         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7404
7405 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7406
7407         * lyxlength.C (inPixels): Fix hanfling of negative length.
7408         Fix LyXLength::MU case.
7409
7410 2002-10-16  John Levon  <levon@movementarian.org>
7411
7412         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7413
7414 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7415
7416         * converter.C (view): add support for $$i (file name) and $$p
7417         (file path) for the viewer command. If $$i is not specified, then
7418         it is appended to the command (for compatibility with old syntax)
7419
7420 2002-10-14  Juergen Vigna  <jug@sad.it>
7421
7422         * undo_funcs.C (textHandleUndo): alter the order in which the
7423         new undopar is added to the LyXText, as we have to set first
7424         the right prev/next and then add it as otherwise the rebuild of
7425         LyXText is not correct. Also reset the cursor to the right paragraph,
7426         with this IMO we could remove the hack in "redoParagraphs()".
7427
7428 2002-10-09  Angus Leeming  <leeming@lyx.org>
7429
7430         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7431         to turn off an optimisation if a new inset is to be inserted.
7432
7433 2002-10-11 André Pönitz <poenitz@gmx.net>
7434
7435         * lyxtext.h: make some functions public to allow access
7436         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7437
7438 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7439
7440         * text3.C (dispatch): when changing layout, avoid an infinite loop
7441         [bug #652]
7442
7443 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7444
7445         * lyxrc.C (read): treat a viewer or converter command of "none" as
7446         if it were empty.
7447
7448         * MenuBackend.C (expandFormats): for an update, also allow the
7449         formats that are not viewable
7450
7451         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7452         script if it is newer than the lyxrc.defaults in user directory
7453
7454 2002-10-07 André Pönitz <poenitz@gmx.net>
7455
7456         * text.C: Vitaly Lipatov's small i18n fix
7457
7458 2002-09-25  Angus Leeming  <leeming@lyx.org>
7459
7460         * ispell.h: doxygen fix.
7461
7462 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7463
7464         * buffer.h (readFile): Add a new argument to the method, to allow
7465         reading of old-format templates.
7466
7467 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * toc.C (getTocList): Get TOC from InsetWrap.
7470
7471 2002-09-16  John Levon  <levon@movementarian.org>
7472
7473         * lyxfunc.C: check tabular for cut/copy too
7474
7475 2002-09-12  John Levon  <levon@movementarian.org>
7476
7477         * LyXAction.C: tidy
7478
7479         * factory.h:
7480         * factory.C: add header
7481
7482         * paragraph_funcs.h:
7483         * paragraph_funcs.C: cleanup
7484
7485 2002-09-11  John Levon  <levon@movementarian.org>
7486
7487         * PrinterParams.h: odd/even default to true
7488
7489 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7490
7491         * PrinterParams.h: update printer parameters for new xforms dialog
7492
7493 2002-09-11  Angus Leeming  <leeming@lyx.org>
7494
7495         * lyxserver.C (read_ready): re-write to make it more transparent
7496         and to make it work in coherent fashion under Tru64 Unix.
7497
7498 2002-09-11  André Pönitz <poenitz@gmx.net>
7499
7500         * commandtags.h:
7501         * LyXAction.C:
7502         * text3.C: implement LFUN_WORDSEL
7503
7504 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7507         make floatlist_ a boost::shared_ptr<FloatList>
7508
7509         * lyxtextclass.C: include FloatList.h
7510         (LyXTextClass): initialize floatlist_
7511         (TextClassTags): add TC_NOFLOAT
7512         (Read): match "nofloat" to TC_NOFLOAT and use it.
7513         (readFloat): modify call to floatlist_
7514         (floats): ditto
7515         (floats): ditto
7516
7517         * FloatList.[Ch] (FloatList): remove commented out float
7518         initialization.
7519         (erase): new function
7520
7521 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7522
7523         * MenuBackend.C (expandToc): fix crash when there is no document
7524         open
7525
7526 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7527
7528         * many files: Add insetwrap.
7529
7530 2002-09-09  John Levon  <levon@movementarian.org>
7531
7532         * text2.C: remove confusing and awkward depth wraparound
7533
7534 2002-09-09  John Levon  <levon@movementarian.org>
7535
7536         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7537
7538         * buffer.h:
7539         * buffer.C: remove getIncludeonlyList()
7540
7541         * paragraph.C:
7542         * lyxfunc.C: remove headers
7543
7544 2002-09-09  Juergen Vigna  <jug@sad.it>
7545
7546         * text.C (getColumnNearX): fix form Michael this is most
7547         probably a cut&paste bug.
7548
7549 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7552
7553         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7554         references, ws changes.
7555
7556         * text2.C (init): update counters after init
7557         (insertParagraph): no need to set counter on idividual paragraphs.
7558         (setCounter): access the counters object in the textclass object
7559         on in the buffer object.
7560         (updateCounters): ditto
7561
7562         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7563         shared_ptr<Counters> to avoid loading counters.h in all
7564         compilation units.
7565         (LyXTextClass): initialize ctrs_
7566         (TextClassTags): add TC_COUNTER, and ...
7567         (Read): use it here.
7568         (CounterTags): new tags
7569         (readCounter): new function
7570         (counters): new funtion
7571         (defaultLayoutName): return a const reference
7572
7573         * counters.C (Counters): remove contructor
7574         (newCounter): remove a couple of unneeded statements.
7575         (newCounter): simplify a bit.
7576         (numberLabel): some small formatting changes.
7577
7578         * buffer.[Ch]: remove all traces of counters, move the Counters
7579         object to the LyXTextClass.
7580
7581 2002-09-06  Alain Castera  <castera@in2p3.fr>
7582
7583         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7584         package to set the horizontal alignment on fixed width columns.
7585
7586         * lyx_sty.C:
7587         * lyx_sty.h: added tabularnewline macro def.
7588
7589         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7590
7591 2002-09-06  John Levon  <levon@movementarian.org>
7592
7593         * LyXAction.C: tooltips for sub/superscript
7594
7595         * MenuBackend.C: a bit more verbose
7596
7597         * lyxfunc.C: tiny clean
7598
7599         * undo_funcs.C: document undo_frozen
7600
7601 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7602
7603         * counters.C (Counters): add missing algorithm counter.
7604
7605         * text2.C (setCounter): lookup the counter with layouts latexname
7606         instead of by section number.
7607         (setCounter): use a hackish way to lookup the correct enum
7608         counter.
7609         a float name->type change
7610         reset enum couners with counter name directly instead of depth value.
7611
7612         * counters.C (Counters): remove the push_backs, change to use the
7613         float type not the float name.
7614         (labelItem): remove unused string, float name->type change
7615
7616         * counters.h: don't include vector, loose the enums and sects vectors
7617
7618 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7621         (Read): add float->TC_FLOAT to textclassTags
7622         (Read): and handle it in the switch
7623         (readFloat): new function
7624
7625         * FloatList.C (FloatList): comment out the hardcoded float
7626         definitions.
7627
7628         * lyxlayout.h: ws change.
7629
7630 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7631
7632         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7633
7634 2002-09-03  Angus Leeming  <leeming@lyx.org>
7635
7636         * BufferView_pimpl.h: qualified name is not allowed in member
7637         declaration: WorkArea & Pimpl::workarea() const;
7638
7639         * factory.C: added using std::endl directive.
7640
7641         * text3.C: added using std::find and std::vector directives.
7642
7643 2002-08-29  André Pönitz <poenitz@gmx.net>
7644
7645         * lyxtext.h:
7646         * text2.C: remove unused member number_of_rows
7647
7648         * Makefile.am:
7649         * BufferView2.C: remove file, move contents to...
7650         * BufferView.C: ... here
7651
7652         * BufferView_pimpl.C:
7653         * factory.C: move more inset creation to factory
7654
7655         * vspace.C: avoid direct usage of LyXText, ws changes
7656
7657         * BufferView.[Ch]:
7658                 don't provide direct access to WorkArea, use two simple
7659                 acessors haveSelction() and workHeight() instead
7660
7661
7662 2002-08-29  John Levon  <levon@movementarian.org>
7663
7664         * BufferView_pimpl.C (dispatch): do not continue when
7665           no buffer
7666
7667 2002-08-28  André Pönitz <poenitz@gmx.net>
7668
7669         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7670
7671         * BufferView.h:
7672         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7673
7674 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7675
7676         * buffer.C: increment LYX_FORMAT to 221
7677
7678         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7679         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7680
7681         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7682
7683         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7684
7685 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * factory.C (createInset): use LyXTextClass::floats
7688
7689         * MenuBackend.C (expandFloatListInsert):
7690         (expandFloatInsert):
7691         (expandToc):
7692
7693         * text2.C (setCounter):
7694
7695         * LaTeXFeatures.C (useFloat):
7696         (getFloatDefinitions):
7697
7698         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7699
7700         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7701         floatlist_, with accessor floats().
7702
7703         * FloatList.h: remove global FloatList
7704
7705 2002-08-26  André Pönitz <poenitz@gmx.net>
7706
7707         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7708
7709         * BufferView.h:
7710         * BufferView2.C:
7711         * BufferView_pimpl.C:
7712         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7713
7714 2002-08-25  John Levon  <levon@movementarian.org>
7715
7716         * LyXAction.C: fix margin note description
7717
7718 2002-08-24  John Levon  <levon@movementarian.org>
7719
7720         * buffer.C:
7721         * bufferlist.C:
7722         * bufferview_funcs.C:
7723         * lyxfont.C:
7724         * undo_funcs.C: cleanups
7725
7726         * lyxfunc.C: disable CUT/COPY when no selection
7727
7728 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7729
7730         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7731         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7732
7733         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7734         Add backward compatibility to "mono", "gray" and "no".
7735
7736 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7737
7738         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7739         (and file_format >= 200).
7740
7741 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7742
7743         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7744
7745 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7746
7747         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7748
7749 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7750
7751         * BufferView_pimpl.C:
7752         * LyXAction.C:
7753         * buffer.C:
7754         * commandtags.h:
7755         * lyxfunc.C:
7756         * paragraph.[Ch]:
7757         * text2.C:
7758         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7759         inset and code to make it  work with the paragraph code. The inset
7760         can be anywhere in the paragraph, but will only do the expected
7761         thing in LaTeX if the layout file contains the parameter line
7762                         OptionalArgs    1
7763         (or more generally, a nonzero value) for that layout.
7764
7765 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * paragraph.h: remove the declaration of undefined counters class
7768         function.
7769
7770 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7771
7772         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7773         Dr. Richard Hawkins.
7774
7775 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7776
7777         * paragraph_funcs.h: remove some unneeded includes
7778
7779         * text.C (backspace): pasteParagraph now in global scipe
7780
7781         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7782         (pasteSelection): ditto
7783
7784         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7785         * paragraph_funcs.C (pasteParagraph): ... here
7786
7787 2002-08-20  André Pönitz <poenitz@gmx.net>
7788
7789         * commandtags.h: new LFUNs for swapping/copying table row/colums
7790
7791         * LyXAction.C:
7792         * lyxfunc.C: support for new lfuns
7793
7794 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * tabular.C:
7797         * buffer.[Ch]: remove NO_COMPABILITY stuff
7798
7799 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * boost.C (throw_exception): new file, with helper function for
7802         boost compiled without exceptions.
7803
7804         * paragraph.h:
7805         * lyxlength.C:
7806         * buffer.C:
7807         * ParameterStruct.h:
7808         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7809
7810         * bufferlist.C (emergencyWriteAll): use boost bind
7811
7812         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7813
7814         * text.C: include paragraph_funcs.h
7815         (breakParagraph): breakParagraph is now in global scope
7816
7817         * paragraph_funcs.[Ch]: new files
7818
7819         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7820         global scope
7821
7822         * buffer.C: include paragraph_funcs.h
7823         (insertStringAsLines): breakParagraph is now in global scope
7824
7825         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7826         paragraph_funcs.C
7827
7828         * CutAndPaste.C: include paragraph_funcs.h
7829         (cutSelection): breakParagraphConservative is now in global scope
7830         (pasteSelection): ditto
7831
7832         * buffer.h: declare oprator== and operator!= for
7833         Buffer::inset_iterator
7834
7835         * bufferlist.C (emergencyWrite): don't use fmt(...)
7836
7837         * text3.C: add using std::endl
7838
7839         * BufferView.C (moveCursorUpdate): remove default arg
7840
7841 2002-08-20  André Pönitz <poenitz@gmx.net>
7842
7843         * buffer.[Ch]: move inline functions to .C
7844
7845         * BufferView2.C:
7846         * BufferView_pimpl.C:
7847         * text.C:
7848         * buffer.[Ch]: use improved inset_iterator
7849
7850         * buffer.C:
7851         * paragraph.[Ch]: write one paragraph at a time
7852
7853 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7854
7855         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7856         style if style is not specified.
7857
7858 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7859
7860         * text2.C (setCounter): when searching for right label for a
7861         caption, make sure to recurse to parent insets (so that a caption
7862         in a minipage in a figure float works) (bug #568)
7863
7864 2002-08-20  André Pönitz <poenitz@gmx.net>
7865
7866         * text3.C: new file for LyXText::dispatch() and helpers
7867
7868         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7869
7870         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7871
7872 2002-08-19  André Pönitz <poenitz@gmx.net>
7873
7874         * lyxtext.h:
7875         * text.C: new LyXText::dispatch()
7876
7877         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7878
7879 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7880
7881         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7882
7883         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7884         Hebrew text.
7885
7886 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7887
7888         * Makefile.am: use $(variables) instead of @substitutions@
7889
7890 2002-08-15  André Pönitz <poenitz@gmx.net>
7891
7892         * lyxfunc.C:
7893         * BufferView_pimpl.C: streamlining mathed <-> outer world
7894         interaction
7895
7896         * commandtags.h:
7897         * LyXAction.C: remove unused LFUN_MATH
7898
7899 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7902
7903 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7904
7905         * paragraph.C (Paragraph): reformat a bit
7906         (cutIntoMinibuffer): use builtin InsetList function instad of
7907         doing it manually.
7908         (getInset): ditto
7909
7910         * buffer.C: include boost/bind.hpp, add using std::for_each
7911         (writeFileAscii): use ParagraphList iterators
7912         (validate): use for_each for validate traversal of paragraphs
7913         (getBibkeyList): use ParagraphList iterators
7914         (resizeInsets): use for_each to resizeInsetsLyXText for all
7915         paragraphs.
7916         (getParFromID): use ParagraphList iterators
7917
7918         * BufferView2.C (lockInset): use paragraph list and iterators
7919
7920 2002-08-14  John Levon  <levon@movementarian.org>
7921
7922         * lyxserver.C: remove spurious xforms include
7923
7924 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7925
7926         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7927
7928 2002-08-13  André Pönitz <poenitz@gmx.net>
7929
7930         * LyXAction.[Ch]:
7931         * lyxfunc.C: further cleaning
7932
7933 2002-08-13  André Pönitz <poenitz@gmx.net>
7934
7935         * funcrequest.h: new constructor
7936
7937         * funcrequest.C: move stuff here from .h
7938
7939         * Makefile.am:
7940         * BufferView_pimpl.C:
7941         * LyXAction.C:
7942         * toc.C:
7943         * lyxfunc.C: subsequent changes
7944
7945         * lyxfunc.h: new view() member function
7946
7947         * lyxfunc.C: subsequent changes
7948
7949 2002-08-13  Angus Leeming  <leeming@lyx.org>
7950
7951         * BufferView2.C:
7952         * BufferView_pimpl.C:
7953         * buffer.C:
7954         * converter.C:
7955         * importer.C:
7956         * lyxfunc.C:
7957         * lyxvc.C:
7958         * toc.C:
7959         * vc-backend.C:
7960         changes due to the changed LyXView interface that now returns references
7961         to member variables not pointers.
7962
7963 2002-08-13  Angus Leeming  <leeming@lyx.org>
7964
7965         * WordLangTuple (word, lang_code): return references to strings,
7966         not strings.
7967
7968         * BufferView.h:
7969         * SpellBase.h:
7970         * lyxtext.h: forward-declare WordLangTuple.
7971
7972         * BufferView2.C:
7973         * ispell.C:
7974         * pspell.C:
7975         * text.C: #include "WordLangTuple.h".
7976
7977         * lyxtext.h:
7978         * text.C: (selectNextWordToSpellcheck): constify return type.
7979
7980 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7981
7982         * buffer.C:
7983         * buffer.h:
7984         * lyxtext.h:
7985         * paragraph.C:
7986         * paragraph_pimpl.h:
7987         * text.C:
7988         * text2.C:
7989         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7990         suggested by Angus.
7991         Made updateCounter always count from start of buffer, and removed
7992         second argument (par).
7993         Reverted floats number display to '#'. Perhaps I'll try again when the
7994         code base is sanitized a bit.
7995
7996 2002-08-12  Angus Leeming  <leeming@lyx.org>
7997
7998         * buffer.[Ch] (getLabelList): constify.
7999
8000 2002-08-07  André Pönitz <poenitz@gmx.net>
8001
8002         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8003
8004         * funcrequest.h: extension to keep mouse (x,y) position
8005
8006 2002-08-12  Juergen Vigna  <jug@sad.it>
8007
8008         * BufferView2.C (insertErrors): forbid undo when inserting error
8009         insets.
8010
8011         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8012
8013 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * ParagraphList.[Ch]: new files
8016
8017         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8018
8019         * BufferView2.C (lockInset): ParagraphList changes
8020         * toc.C: ditto
8021         * text2.C: ditto
8022         * bufferlist.C: ditto
8023         * buffer.h: ditto
8024         * buffer.C: ditto
8025
8026 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8029         unused class variable counter_,
8030
8031         * paragraph.[Ch] (getFirstCounter): delete unused function
8032
8033         * counters.C: include LAssert.h
8034         (reset): add a new function with no arg, change other version to
8035         not have def. arg and to not allow empty arg.
8036
8037         * text2.C (setCounter): remove empty arg from call to Counters::reset
8038
8039 2002-08-11  John Levon  <levon@movementarian.org>
8040
8041         * Makefile.am: add WordLangTuple.h
8042
8043 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8046         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8047
8048         * insets/insettext.C: InsetList changes
8049
8050         * graphics/GraphicsSupport.C (operator()): InsetList changes
8051
8052         * toc.C (getTocList): InsetList changes
8053
8054         * paragraph_pimpl.[Ch]: InsetList changes
8055
8056         * paragraph.[Ch]: InsetList changes
8057
8058         * buffer.C (inset_iterator): InsetList changes
8059         (setParagraph): ditto
8060         * buffer.h (inset_iterator): ditto
8061         * iterators.C (operator++): ditto
8062         * iterators.h: ditto
8063
8064         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8065
8066         * InsetList.[Ch]: new files, most InsetList handling moved out of
8067         paragraph.C.
8068
8069         * BufferView2.C (removeAutoInsets): InsetList changes
8070         (lockInset): ditto
8071         (ChangeInsets): ditto
8072
8073 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * paragraph_pimpl.h (empty): new function
8076
8077         * paragraph.[Ch] (empty): new function
8078
8079         * other files: use the new Paragraph::empty function
8080
8081 2002-08-09  John Levon  <levon@movementarian.org>
8082
8083         * lyxtext.h: remove unused refresh_height
8084
8085 2002-08-09  John Levon  <levon@movementarian.org>
8086
8087         * Makefile.am:
8088         * sgml.h:
8089         * sgml.C:
8090         * buffer.C:
8091         * paragraph.h:
8092         * paragraph.C: move sgml char escaping out of paragraph
8093
8094         * paragraph.h:
8095         * paragraph.C: remove id setter
8096
8097         * buffer.C:
8098         * paragraph.C:
8099         * paragraph_pimpl.C: remove dead tex_code_break_column
8100
8101         * bufferview_funcs.C: small cleanup
8102
8103         * lyxfunc.C: remove dead proto
8104
8105         * lyxtext.h: make some stuff private. Remove some dead stuff.
8106
8107         * lyxgluelength.C: make as[LyX]String() readable
8108
8109 2002-08-08  John Levon  <levon@movementarian.org>
8110
8111         * LyXAction.h:
8112         * LyXAction.C:
8113         * MenuBackend.C:
8114         * ToolbarDefaults.C:
8115         * lyxfunc.C:
8116         * lyxrc.C:
8117         * toc.C: lyxaction cleanup
8118
8119 2002-08-08  John Levon  <levon@movementarian.org>
8120
8121         * BufferView2.C: small cleanup
8122
8123         * lyxfind.h:
8124         * lyxfind.C: move unnecessary header into the .C
8125
8126 2002-08-08  John Levon  <levon@movementarian.org>
8127
8128         * funcrequest.h: just tedious nonsense
8129
8130         * lyx_main.h:
8131         * lyx_main.C: cleanups
8132
8133         * buffer.C:
8134         * vspace.C: remove dead header lyx_main.h
8135
8136 2002-08-07  Angus Leeming  <leeming@lyx.org>
8137
8138         * Paragraph.[Ch]:
8139         * paragraph_pimpl.h:
8140         Forward declare class Counters in paragraph.h by moving the ctrs member
8141         variable into Paragraph::Pimpl.
8142         (counters): new method, returning a reference to pimpl_->ctrs.
8143
8144         * text2.C: ensuing changes.
8145
8146 2002-08-07  John Levon  <levon@movementarian.org>
8147
8148         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8149
8150         * BufferView_pimpl.C: announce X selection on double/triple
8151           click
8152
8153         * lyx_main.C: use correct bool in batch dispatch
8154
8155         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8156
8157 2002-08-07  André Pönitz <poenitz@gmx.net>
8158
8159         * funcrequest.h: new class to wrap a kb_action and its argument
8160
8161         * BufferView.[Ch]:
8162         * BufferView_pimpl[Ch]:
8163         * LaTeX.C:
8164         * LyXAction.[Ch]:
8165         * lyxfunc.[Ch]:
8166         * lyxrc.C: subsequent changes
8167
8168
8169 2002-08-07  John Levon  <levon@movementarian.org>
8170
8171         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8172           document options change.
8173
8174 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8175
8176         * counters.[Ch]
8177         * text2.C
8178         * paragraph.[Ch]
8179         * makefile.am: move counters functionality over from
8180         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8181
8182 2002-08-06  John Levon  <levon@movementarian.org>
8183
8184         * WordLangTuple.h: new file for word + language code tuple
8185
8186         * SpellBase.h:
8187         * pspell.h:
8188         * pspell.C:
8189         * ispell.h:
8190         * ispell.C:
8191         * lyxtext.h:
8192         * text.C:
8193         * text2.C:
8194         * BufferView.h:
8195         * BufferView2.C: use WordLangTuple
8196
8197         * layout.h:
8198         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8199
8200 2002-08-06  John Levon  <levon@movementarian.org>
8201
8202         * lyx_main.C: fix cmdline batch handling
8203
8204 2002-08-06  André Pönitz <poenitz@gmx.net>
8205
8206         * lyxrc.C: set default for show_banner to true
8207
8208 2002-08-06  John Levon  <levon@movementarian.org>
8209
8210         * pspell.C: fix a crash, and allow new aspell to work
8211
8212 2002-08-06  John Levon  <levon@movementarian.org>
8213
8214         * lyxfunc.C:
8215         * kbmap.C: small cleanup
8216
8217         * vspace.h:
8218         * vspace.C: add const
8219
8220 2002-08-05  John Levon  <levon@movementarian.org>
8221
8222         * LyXAction.C: back to tabular-insert
8223
8224 2002-08-04  John Levon  <levon@movementarian.org>
8225
8226         * BufferView.h:
8227         * BufferView.C: cosmetic change
8228
8229         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8230
8231         * bufferlist.C:
8232         * buffer.h:
8233         * buffer.C:
8234         * lyxcb.h:
8235         * lyxcb.C:
8236         * lyxserver.C:
8237         * lyxvc.C:
8238         * vc-backend.C:
8239         * BufferView2.C: purge all "Lyx" not "LyX" strings
8240
8241         * lyxcursor.h:
8242         * lyxcursor.C: attempt to add some documentation
8243
8244         * lyxfunc.C:
8245         * commandtags.h:
8246         * LyXAction.C:
8247         * ToolbarDefaults.C:
8248         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8249           merge with LFUN_TABULAR_INSERT
8250
8251         * Makefile.am:
8252         * SpellBase.h:
8253         * ispell.h:
8254         * ispell.C:
8255         * pspell.h:
8256         * pspell.C: split up i/pspell implementations into separate
8257           files, many cleanups
8258
8259         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8260
8261         * text2.C: some cleanup
8262
8263         * lyxfunc.C: don't check for isp_command == "none" any more, it
8264           didn't make any sense
8265
8266 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8267
8268         * counters.[Ch]
8269         * text2.C
8270         * paragraph.[Ch]
8271         * makefile.am: move counters functionality over
8272         from text2.C/paragraph.[Ch] to counters.[Ch], and
8273         make proper C++.
8274 2002-08-02  John Levon  <levon@movementarian.org>
8275
8276         * buffer.C: s/lyxconvert/lyx2lyx/
8277
8278 2002-08-02  Angus Leeming  <leeming@lyx.org>
8279
8280         * lyxlex.C: revert John's change as it breaks reading of the user
8281         preamble.
8282
8283 2002-08-02  Angus Leeming  <leeming@lyx.org>
8284
8285         * importer.C (Import):
8286         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8287         changes due to LyXView::view() now returning a boost::shared_ptr.
8288
8289 2002-08-02  John Levon  <levon@movementarian.org>
8290
8291         * lyxlex.C: small cleanup
8292
8293 2002-08-02  John Levon  <levon@movementarian.org>
8294
8295         * text2.C (status): small cleanup, no logic change
8296
8297 2002-08-01  John Levon  <levon@movementarian.org>
8298
8299         * buffer.h:
8300         * buffer.C (writeFile): don't output alerts, caller
8301           handles this
8302
8303         * bufferlist.C:
8304         * lyx_cb.C: from above
8305
8306         * lyxfunc.C: allow to open non-existent files
8307
8308 2002-07-31  John Levon  <levon@movementarian.org>
8309
8310         * lyxserver.C: don't let incidental errors get
8311           in the way (errno)
8312
8313 2002-07-30  John Levon  <levon@movementarian.org>
8314
8315         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8316
8317 2002-07-30  John Levon  <levon@movementarian.org>
8318
8319         * lyxserver.h:
8320         * lyxserver.C: remove I/O callback too
8321
8322 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8323
8324         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8325         log.
8326
8327 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * many files: strip,frontStrip -> trim,ltrim,rtrim
8330
8331 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * PrinterParams.h: remove extern containsOnly, and include
8334         support/lstrings.h instead.
8335
8336         * LaTeX.C (scanAuxFile): modify because of strip changes
8337         (deplog): ditto
8338         * buffer.C (makeLaTeXFile): ditto
8339         * bufferparams.C (writeFile): ditt
8340         * lyxfont.C (stateText): ditto
8341         * lyxserver.C (read_ready): ditto
8342         * vc-backend.C (scanMaster): ditto
8343
8344         * BufferView_pimpl.h: ws changes
8345
8346         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8347
8348 2002-07-26  André Pönitz <poenitz@gmx.net>
8349
8350         * kb_sequence.C: remove unnedred usings
8351
8352 2002-07-26  Juergen Vigna  <jug@sad.it>
8353
8354         * lyxfind.C (LyXReplace): we have to check better if the returned
8355         text is not of theLockingInset()->getLockingInset().
8356
8357 2002-07-25  Juergen Vigna  <jug@sad.it>
8358
8359         * lyxfind.C (LyXReplace): don't replace if we don't get the
8360         right LyXText.
8361
8362         * undo_funcs.C (createUndo): remove debugging code.
8363
8364 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8365
8366         * buffer.C (parseSingleLyXformat2Token): Use default placement
8367         when reading old floats.
8368
8369         * FloatList.C (FloatList): Change the default placement of figure
8370         and tables to "tbp".
8371
8372 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * MenuBackend.C: using std::max
8375
8376 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8377
8378         * MenuBackend.C (expandToc):
8379         (expandToc2): code moved from xforms menu frontend. It is now
8380         generic and TOCs are transparent to menu frontends.
8381
8382 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * toc.C (getTocList): protect against buf=0
8385
8386         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8387         Menu as first parameter. Now, this calls itself recursively to
8388         expand a whole tree (this will be useful for TOC handling)
8389         (expandFloatInsert): remove 'wide' version of floats
8390
8391         * MenuBackend.h (submenuname): returns the name of the submenu.
8392         (submenu): returns the submenu itself, provided it has been
8393         created by MenuBackend::expand
8394
8395 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8396
8397         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8398         insets which have noFontChange == true. (bug #172)
8399
8400 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * BufferView_pimpl.C: add connection objects and use them...
8403         (Pimpl): here.
8404
8405 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8406
8407         * MenuBackend.C (expandLastfiles):
8408         (expandDocuments):
8409         (expandFormats):
8410         (expandFloatListInsert):
8411         (expandFloatInsert):
8412         (expand): split expand in parts
8413
8414 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * lyx_gui.C: use lyx_gui::exit()
8417
8418 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * LyXAction.C: show the failing pseudo action
8421
8422 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * buffer.C (readFile): Run the lyxconvert script in order to read
8425         old files.
8426
8427 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * LyXAction.C:
8430         * commandtags.h:
8431         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8432
8433 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * LyXAction.C:
8436         * commandtags.h:
8437         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8438
8439 2002-07-22  Herbert Voss  <voss@lyx.org>
8440
8441         * lengthcommon.C:
8442         * lyxlength.[Ch]: add support for the vertical lengths
8443
8444 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8445
8446         * toc.[Ch]: std:: fixes
8447
8448 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8449
8450         * lyxrc.C: do not include lyx_main.h
8451
8452         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8453         for layouts
8454
8455         * lyxrc.C:
8456         * encoding.C:
8457         * bufferlist.C:
8458         * BufferView2.C: include "lyxlex.h"
8459
8460         * tabular.h:
8461         * bufferparams.h: do not #include "lyxlex.h"
8462
8463         * lyxtextclasslist.C (Add): remove method
8464         (classlist): renamed to classlist_
8465
8466         * paragraph_pimpl.C:
8467         * paragraph.C:
8468         * text2.C:
8469         * CutAndPaste.C:
8470         * bufferview_funcs.C:
8471         * bufferlist.C:
8472         * text.C:
8473         * LaTeXFeatures.C:
8474         * buffer.C:
8475         * toc.C (getTocList): use BufferParams::getLyXTextClass
8476
8477         * toc.C (getTocList): use InsetFloat::addToToc
8478
8479         * toc.[Ch]: new files, containing helper functions to handle table
8480         of contents
8481
8482         * lyxfunc.C (dispatch): no need to remove spaces around command
8483         given as a string
8484         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8485         first command of the sequence; it is not very clever, but I do not
8486         have a better idea, actually
8487
8488         * LyXAction.C (LookupFunc): make sure to remove space at the
8489         beginning and end of the command
8490
8491 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * MenuBackend.C (getMenubar): new method: return the menubar of
8494         this menu set
8495         (read): treat differently reading of menu and menubar (in
8496         particular, the menubar has no name now)
8497         (Menu::menubar): remove
8498
8499         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8500         saving is finished
8501
8502 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8503
8504         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8505         a bibitem inset in a RTL paragraph.
8506
8507 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * paragraph_pimpl.C: constify
8510
8511         * BufferView_pimpl.C:
8512         * LaTeX.C:
8513         * lyxfunc.C: fix dispatch in a nicer way
8514
8515 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8516
8517         * lyxfunc.C (dispatch):
8518         * BufferView_pimpl.C:
8519         * BufferView_pimpl.h:
8520         * BufferView.C:
8521         * BufferView.h: rename Dispatch() to dispatch()
8522
8523         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8524
8525         * lyxlayout.C (Read): honor DependsOn tag
8526
8527         * lyxlayout.[Ch] (depends_on): new method
8528
8529         * version.C.in: update lyx_docversion
8530
8531         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8532
8533         * paragraph.C (validate): remove from here...
8534         * paragraph_pimpl.C (validate): ... and move here
8535         (isTextAt): make it const
8536
8537         * buffer.C (getLists): ws cleanup
8538
8539 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8540
8541         * language.C (read): Use iso8859-1 encoding in latex_lang
8542         (this prevents LyX from crashing when using iso10646-1 encoding).
8543
8544 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * text2.C (toggleInset): if cursor is inside an inset, close the
8547         inset and leave cursor _after_ it
8548
8549 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * lyxfunc.C: move minibuffer completion handling out of here
8552
8553 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * BufferView_pimpl.C:
8556         * LaTeX.C: fix dispatch calls
8557
8558 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8559
8560         * text.C (drawChars): Fix Arabic text rendering.
8561
8562 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * LyXAction.C:
8565         * commandtags.h:
8566         * lyxfunc.C: remove message-push/pop
8567
8568         * lyxserver.C:
8569         * lyxfunc.h:
8570         * lyxfunc.C: rationalise some code by removing verboseDispatch
8571           in favour of a bool argument to dispatch()
8572
8573 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8574
8575         * lyx_main.C (init): make sure to read symlinks as absolute paths
8576
8577 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * lyxfunc.h:
8580         * lyxfunc.C: no need for commandshortcut to be a member
8581
8582 2002-07-15  André Pönitz <poenitz@gmx.net>
8583
8584         * converter.C: add support for $$s (scripts from lib/scripts dir)
8585         * lyx_main.C: white space
8586
8587 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * bufferlist.C:
8590         * lyxrc.h:
8591         * lyxrc.C: remove second exit confirmation
8592
8593 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * BufferView.h:
8596         * BufferView.C:
8597         * BufferView2.C:
8598         * BufferView_pimpl.h:
8599         * BufferView_pimpl.C:
8600         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8601
8602 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8603
8604         * MenuBackend.C (expand): add numeric shortcuts to document menu
8605
8606         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8607
8608 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8609
8610         * lyxfont.C (setLyXFamily):
8611         (setLyXSeries):
8612         (setLyXShape):
8613         (setLyXSize):
8614         (setLyXMisc):
8615         (lyxRead):
8616         * debug.C (value):
8617         * buffer.C (asciiParagraph): use ascii_lowercase
8618
8619 2002-07-15  Mike Fabian  <mfabian@suse.de>
8620
8621         * lyxlex_pimpl.C (search_kw):
8622         * lyxlex.C (getLongString):
8623         * converter.h (operator<):
8624         * converter.C (operator<):
8625         * buffer.C (parseSingleLyXformat2Token):
8626         (asciiParagraph):
8627         * ToolbarDefaults.C (read):
8628         * MenuBackend.C (checkShortcuts):
8629         (read):
8630         * LColor.C (getFromGUIName):
8631         (getFromLyXName): use the compare_ascii_no_case instead of
8632         compare_no_case, because in turkish, 'i' is not the lowercase
8633         version of 'I', and thus turkish locale breaks parsing of tags.
8634
8635 2002-07-16  Angus Leeming  <leeming@lyx.org>
8636
8637         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8638         now takes a Buffer const & argument.
8639
8640 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * BufferView.C (resize): check there's a buffer to resize
8643
8644 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * lyxfunc.C: remove dead code
8647
8648         * lyxserver.h:
8649         * lyxserver.C: use lyx_guii::set_read_callback
8650
8651 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8654         an inset in a RTL paragraph.
8655
8656 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * lyxfunc.C: repaint after a font size update
8659
8660 2002-07-15  André Pönitz <poenitz@gmx.net>
8661
8662         * lyxlength.C: inBP should be able to return negative values
8663
8664 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * lyxfunc.C: use lyx_gui::update_fonts()
8667
8668 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * lyxfunc.C: use lyx_gui::update_color()
8671
8672 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8673
8674         * bufferlist.C:
8675         * lyxfunc.h:
8676         * lyxfunc.C:
8677         * lyxrc.h:
8678         * lyxrc.C: remove file->new asks for name option, and let
8679           buffer-new take an argument
8680
8681 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8682
8683         * BufferView_pimpl.C: remove unneeded extra repaint()
8684
8685 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * LyXAction.C: allow command-sequence with NoBuffer
8688
8689         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8690
8691 2002-07-10  Angus Leeming  <leeming@lyx.org>
8692
8693         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8694
8695 2002-07-09  Angus Leeming  <leeming@lyx.org>
8696
8697         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8698
8699 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8700
8701         * lengthcommon.h: whitespace
8702
8703         * lyxfunc.C: update scrollbar after goto paragraph
8704
8705         * lyxtext.h: factor out page break drawing, and fix it so
8706           page break/added space paints as selected nicely
8707
8708 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8709
8710         * BufferView_pimpl.C: add FIXMEs, clean up a little
8711
8712 2002-07-09  André Pönitz <poenitz@gmx.net>
8713
8714         * lyxfont.[Ch]: support for wasy symbols
8715
8716 2002-07-08  André Pönitz <poenitz@gmx.net>
8717
8718         * BufferView_pimpl.C: apply John's patch for #93.
8719
8720 2002-07-05  Angus Leeming  <leeming@lyx.org>
8721
8722         * BufferView_pimpl.C (buffer): generate previews if desired.
8723
8724         * LColor.h: add "preview" to the color enum.
8725
8726         * LColor.C (LColor): add a corresponding entry to the items array.
8727
8728         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8729         with this buffer.
8730
8731 2002-07-05  Angus Leeming  <leeming@lyx.org>
8732
8733         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8734         The body of the code is now in the method that is passed an ostream &
8735         rather than a file name.
8736         Pass an additional only_preamble parameter, useful for the forthcoming
8737         preview stuff.
8738
8739 2002-07-03  André Pönitz <poenitz@gmx.net>
8740
8741         * lyxfunc.C: simplify getStatus() a bit for math stuff
8742
8743 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8744
8745         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8746
8747 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * text.C (changeRegionCase): do not change case of all the
8750         document when region ends at paragraph end (bug #461)
8751
8752 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8753
8754         * paragraph.C (startTeXParParams):
8755         (endTeXParParams): add \protect when necessary
8756
8757 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * BufferView_pimpl.C (workAreaExpose): remove warning
8760
8761 2002-06-27  Angus Leeming  <leeming@lyx.org>
8762
8763         * Makefile.am: add lyxlayout_ptr_fwd.h.
8764
8765 2002-06-26  André Pönitz <poenitz@gmx.net>
8766
8767         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8768
8769 2002-06-25  Angus Leeming  <leeming@lyx.org>
8770
8771         * lyxfunc.C (dispatch): Comment out the call to
8772         grfx::GCache::changeDisplay. The method no longer exists now that the
8773         pixmap generation part of the graphics loader has been moved into
8774         InsetGraphics.
8775
8776 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8777
8778         * text2.C: layout as layout
8779
8780         * text.C: layout as layout
8781
8782         * tabular.C (OldFormatRead): layout as layout
8783
8784         * paragraph_pimpl.C (TeXDeeper): layout as layout
8785         (realizeFont): layout as layout
8786
8787         * paragraph.C (writeFile): layout as layout
8788         (validate): layout as layout
8789         (getFont): layout as layout
8790         (getLabelFont): layout as layout
8791         (getLayoutFont): layout as layout
8792         (breakParagraph): layout as layout
8793         (stripLeadingSpaces): layout as layout
8794         (getEndLabel): layout as layout
8795         (getMaxDepthAfter): layout as layout
8796         (applyLayout): layout as layout
8797         (TeXOnePar): layout as layout
8798         (simpleTeXOnePar): layout as layout
8799         (TeXEnvironment): layout as layout
8800         (layout): layout as layout
8801         (layout): layout as layout
8802
8803         * lyxtextclass.C (compare_name): new functor to work with
8804         shared_ptr, layout as layout
8805         (Read): layout as layout
8806         (hasLayout): layout as layout
8807         (operator): layout as layout
8808         (delete_layout): layout as layout
8809         (defaultLayout): layout as layout
8810
8811         * lyxlayout_ptr_fwd.h: new file
8812
8813         * lyxlayout.C (Read): layout as layout
8814
8815         * lyx_cb.C (MenuInsertLabel): layout as layout
8816
8817         * bufferlist.C (newFile): layout as layout
8818
8819         * buffer.C (readLyXformat2): layout as layout
8820         (parseSingleLyXformat2Token): layout as layout
8821         (insertStringAsLines): layout as layout
8822         (asciiParagraph): layout as layout
8823         (latexParagraphs): layout as layout
8824         (makeLinuxDocFile): layout as layout
8825         (simpleLinuxDocOnePar): layout as layout
8826         (makeDocBookFile): layout as layout
8827         (simpleDocBookOnePar): layout as layout
8828         (getLists): layout as layout
8829
8830         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8831
8832         * CutAndPaste.C (cutSelection): layout as layout
8833         (pasteSelection): layout as layout
8834         (SwitchLayoutsBetweenClasses): layout as layout
8835
8836         * BufferView_pimpl.C (Dispatch): layout as layout
8837         (smartQuote): layout as layout
8838
8839         * BufferView2.C (unlockInset): layout as layout
8840
8841 2002-06-24  André Pönitz <poenitz@gmx.net>
8842
8843         * lyxfunc.C: fix #487
8844
8845 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * lyxrc.h:
8848         * lyxrc.C:
8849         * lyxfunc.C: remove display_shortcuts, show_banner
8850
8851 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * Buffer_pimpl.C: oops, update on resize
8854
8855 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * buffer.C:
8858         * converter.C:
8859         * exporter.C:
8860         * lyxfunc.C:
8861         * BufferView.h:
8862         * BufferView.C: use repaint()
8863
8864         * BufferView_pimpl.h:
8865         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8866           as it's a clearer description. Remove superfluous
8867           redraws.
8868
8869 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * text.C: fix bug 488. Not ideal, but getting
8872           getWord() to work properly for the insets that
8873           matter is more difficult ...
8874
8875 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * BufferView_pimpl.C:
8878         * LyXAction.C:
8879         * commandtags.h:
8880         * lyxfunc.C: remove the six million index lyxfuncs to just
8881           one, and DTRT (bug 458)
8882
8883 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * BufferView.h:
8886         * BufferView.C:
8887         * BufferView_pimpl.h:
8888         * BufferView_pimpl.C: clean up resize() stuff,
8889           and unnecessary updateScreen()s
8890
8891 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8892
8893         * BufferView.h:
8894         * BufferView.C:
8895         * BufferView_pimpl.h:
8896         * BufferView_pimpl.C:
8897         * lyxfind.h:
8898         * lyxfind.C:
8899         * minibuffer.C: remove focus management of workarea,
8900           not needed. Use screen's greyOut()
8901
8902 2002-06-17  Herbert Voss  <voss@lyx.org>
8903
8904         * converter.C: (convert) do not post a message, when converting
8905         fails, let the calling function decide what to do in this case
8906
8907 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * lyxfunc.C: tidy up a little
8910
8911 2002-06-16    <alstrup@diku.dk>
8912
8913         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8914         Got rid of FORMS_H_LOCATION include. Now we are
8915         GUII.
8916
8917 2002-06-15  LyX Development team  <lyx@rilke>
8918
8919         * buffer.[Ch] (sgmlOpenTag):
8920         (sgmlCloseTag): Added support for avoiding pernicious mixed
8921         content. Return number of lines written.
8922
8923         (makeLinuxDocFile):
8924         (makeDocBookFile): Fixed calls to sgml*Tag.
8925         Simple white space clean.
8926
8927         (simpleDocBookOnePar): Simple white space clean.
8928
8929         * tabular.[Ch] (docBook): Renamed to docbook and got another
8930         argument to related with the pernicious mixed content.
8931
8932         (docbookRow): Fixed calls for docbook inset method.
8933
8934 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8935
8936         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8937         so it's X11 independent.
8938
8939         * kb*.[Ch]: ditto.
8940
8941         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8942
8943 2002-06-15  Lyx Development team  <lyx@electronia>
8944
8945         * intl.h: Renamed getTrans to getTransManager.
8946
8947 2002-06-14  Angus Leeming  <leeming@lyx.org>
8948
8949         * Makefile.am: nuke forgotten stl_string_fwd.h.
8950
8951 2002-06-12  Angus Leeming  <leeming@lyx.org>
8952
8953         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8954
8955 2002-06-13  Angus Leeming  <leeming@lyx.org>
8956
8957         * LaTeX.C:
8958         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8959
8960 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8961
8962         * kbmap.C (getiso): add support for cyrillic and greek
8963
8964 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8965
8966         * BufferView.h:
8967         * BufferView.C:
8968         * BufferView_pimpl.h:
8969         * BufferView_pimpl.C: move bogus scrolling logic
8970           to xforms
8971
8972 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * lyxfunc.C:
8975         * BufferView_pimpl.C: view->resize() change
8976
8977 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * BufferView_pimpl.C: topCursorVisible
8980           prototype change
8981
8982 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * Makefile.am:
8985         * lyx_gui.h:
8986         * lyx_gui.C: move to frontends/
8987
8988         * main.C:
8989         * lyx_main.h:
8990         * lyx_main.C: changes from above
8991
8992 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * intl.C:
8995         * intl.h:
8996         * kbmap.C:
8997         * kbsequence.C:
8998         * lyx_cb.C:
8999         * lyx_main.C: minor tidy
9000
9001 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * BufferView_pimpl.h:
9004         * BufferView_pimpl.C:
9005         * BufferView.h:
9006         * BufferView.C: make painter() const,
9007           remove dead code
9008
9009         * BufferView2.C: use screen() accessor
9010
9011         * lyx_main.h:
9012         * lyx_main.C: some minor cleanup
9013
9014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * BufferView_pimpl.h:
9017         * BufferView_pimpl.C: remove enter/leaveView,
9018           use workHeight()
9019
9020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * BufferView.h:
9023         * BufferView.C:
9024         * BufferView2.C:
9025         * BufferView_pimpl.h:
9026         * BufferView_pimpl.C: only construct screen once,
9027           rename
9028
9029         * lyxrc.C: remove pointless comment
9030
9031 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * BufferView.h:
9034         * BufferView.C: remove active() and belowMouse()
9035
9036         * BufferView_pimpl.h:
9037         * BufferView_pimpl.C: use workarea() not workarea_,
9038           and make it use a scoped_ptr instead
9039
9040 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * lyx_gui.C: add debug message on BadWindow
9043
9044 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * sp_spell.C: fdopen is not part of the C++ standard.
9047
9048         * paragraph.C (InsetIterator): use >= instead of ==
9049
9050 2002-06-07  Angus Leeming  <leeming@lyx.org>
9051
9052         Fixes needed to compile with Compaq cxx 6.5.
9053         * BufferView_pimpl.C:
9054         * DepTable.C:
9055         * buffer.C:
9056         * converter.C:
9057         * encoding.C:
9058         * lyx_gui.C:
9059         * lyx_main.C:
9060         * lyxtextclasslist.C:
9061         * minibuffer.C:
9062         * sp_spell.C:
9063         * tabular_funcs.C:
9064         * vc-backend.C:
9065         all c-library variables have been moved into namespace std. Wrap
9066         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9067
9068         * lyxlength.C:
9069         * tabular-old.C:
9070         * tabular.C:
9071         Add a using std::abs declaration.
9072
9073         * kbmap.h (modifier_pair):
9074         * paragraph.h (InsetTable, InsetList):
9075         * lyxfont.h (FontBits):
9076         type definition made public.
9077
9078         * bufferlist.C (emergencyWriteAll): the compiler complains that
9079         there is more than one possible lyx::class_fun template to choose from.
9080         I re-named the void specialisation as lyx::void_class_fun.
9081
9082         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9083
9084         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9085         the compiler is is unable to find tostr in write_attribute.
9086
9087 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * buffer.C (sgmlError): hide #warning
9090
9091 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9092
9093         * xtl/*: get rid of xtl, which is not in use anyway
9094
9095         * LyXAction.C (init):
9096         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9097         were unimplemented xtl experimentation
9098
9099 2002-06-04  André Pönitz <poenitz@gmx.net>
9100
9101         * lyxfunc.C: disable array operation on simple formulae
9102
9103 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * converter.C: constify a bit
9106
9107 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * lyx_gui.C: check xforms version correctly
9110
9111 2002-04-30  Herbert Voss  <voss@lyx.org>
9112
9113         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9114         "keep" option
9115
9116 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9119           attempt to register it with a VCS)
9120
9121 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9122
9123         * lyx_main.C (init): honor variables LYX_DIR_13x and
9124         LYX_USERDIR_13x
9125
9126 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * buffer.h:
9129         * buffer.C:
9130         * lyx_main.C: fix a crash on bad command line,
9131           and give a useful exit status on error
9132
9133         * lyxfunc.C (doImport): allow -i lyx to work
9134
9135 2002-03-30  André Pönitz <poenitz@gmx.net>
9136
9137         * lyxfunc.C: mathed font changes
9138
9139 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9140
9141         * LaTeX.C:
9142         * importer.h:
9143         * importer.C:
9144         * lyx_sty.h:
9145         * lyx_sty.C:
9146         * lyxlex.C:
9147         * lyxrow.h:
9148         * lyxtext.h:
9149         * paragraph.h:
9150         * paragraph.C:
9151         * texrow.h:
9152         * texrow.C:
9153         * text.C:
9154         * trans_mgr.h: srcdocs, and some minor cleanups
9155
9156 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9157
9158         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9159         call getFont all the time)
9160
9161 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9162
9163         * switch from SigC signals to boost::signals
9164
9165 2002-05-29  André Pönitz <poenitz@gmx.net>
9166
9167         * paragraph_pimpl.C (getChar): don't call size() too often...
9168
9169 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * paragraph_pimpl.C (insertChar): do not try to update tables when
9172         appending (pos == size())
9173
9174         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9175         in order to reduce drastically the number of comparisons needed to
9176         parse a large document
9177
9178 2002-05-29  André Pönitz <poenitz@gmx.net>
9179
9180         * text.C:
9181         * text2.C:
9182         * lyxtextclass.C:
9183         * sp_pspell.h:
9184         * textclasslist.[Ch]:
9185         * sp_ispell.h: whitespace change
9186
9187 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9188
9189         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9190         lyxaction directly now.
9191
9192 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * trans.C:
9195         * lyxfont.C:
9196         * lyxvc.C: remove unused headers
9197
9198 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * Makefile.am:
9201         * buffer.h:
9202         * undostack.h:
9203         * undostack.C:
9204         * undo_funcs.h:
9205         * undo_funcs.C: some cleanups. Use shared_ptr
9206           and a template for the undo stacks.
9207
9208 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9209
9210         * BufferView_pimpl.h:
9211         * BufferView_pimpl.C:
9212         * kbmap.h:
9213         * kbmap.C:
9214         * kbsequence.h:
9215         * kbsequence.C:
9216         * lyxfunc.h:
9217         * lyxfunc.C:
9218         * text2.C: use key_state/mouse_state
9219
9220 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9223         and LSubstring
9224
9225         * chset.C: change include order
9226         (loadFile): use boost regex and get rid of LRegex and LSubstring
9227
9228         * Makefile.am (BOOST_LIBS): new variable
9229         (lyx_LDADD): use it
9230
9231         * LaTeX.C: change include order.
9232         (scanAuxFile): use boost regex and get rid of LRegex and
9233         LSubstring
9234         (deplog): ditto
9235
9236 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9237
9238         * ColorHandler.h:
9239         * ColorHandler.C:
9240         * FontInfo.h:
9241         * FontInfo.C: moved to frontends/xforms/
9242
9243         * FontLoader.h:
9244         * FontLoader.C: moved into frontends for GUIIzation
9245
9246         * Makefile.am:
9247         * lyx_gui.C:
9248         * lyxfont.C:
9249         * lyxfunc.C: changes from above
9250
9251 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9252
9253         * LColor.C: remove spurious X include
9254
9255         * BufferView_pimpl.C:
9256         * Makefile.am:
9257         * font.h:
9258         * font.C:
9259         * text.C:
9260         * text2.C: move font metrics to frontends/
9261
9262 2002-05-24  Juergen Vigna  <jug@sad.it>
9263
9264         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9265         setting the undo_cursor.
9266
9267         * ParagraphParameters.h: include local includes first.
9268
9269 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * BufferView_pimpl.C:
9272         * BufferView_pimpl.h:
9273         * Makefile.am:
9274         * WorkArea.h:
9275         * WorkArea.C:
9276         * screen.C: move WorkArea into frontends/
9277
9278         * lyxscreen.h:
9279         * screen.C:
9280         * text.C:
9281         * BufferView.C:
9282         * BufferView2.C: move LyXScreen into frontends/
9283
9284         * lyxlookup.h:
9285         * lyxlookup.C:
9286         * lyx_gui.C: move lyxlookup into frontends/xforms/
9287
9288 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * BufferView2.C:
9291         * BufferView_pimpl.C:
9292         * FontLoader.C:
9293         * LyXView.h:
9294         * LyXView.C:
9295         * Makefile.am:
9296         * WorkArea.C:
9297         * XFormsView.h:
9298         * XFormsView.C:
9299         * buffer.C:
9300         * bufferlist.C:
9301         * bufferview_funcs.C:
9302         * converter.C:
9303         * importer.C:
9304         * lyx_cb.C:
9305         * lyx_gui.C:
9306         * lyx_main.C:
9307         * lyx_find.C:
9308         * lyxfunc.C:
9309         * lyxvc.C:
9310         * minibuffer.C:
9311         * text.C:
9312         * text2.C:
9313         * trans.C:
9314         * vc-backend.C: move LyX/XFormsView into frontends/
9315
9316 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * Makefile.am:
9319         * PainterBase.C:
9320         * PainterBase.h:
9321         * Painter.C:
9322         * Painter.h:
9323         * WorkArea.C:
9324         * WorkArea.h:
9325         * screen.C:
9326         * tabular.C:
9327         * text.C:
9328         * text2.C: move Painter to frontends/
9329
9330 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9331
9332         * buffer.C: comment out some some code that depend upon lyx_format
9333         < 220
9334
9335         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9336         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9337
9338         * buffer.h (NO_COMPABILITY): turn off compability
9339
9340         * ColorHandler.C: include scoped_array.hpp
9341
9342         * font.C: Use more specific smart_ptr header.
9343         * Painter.C: ditto
9344         * gettext.C: ditto
9345         * ShareContainer.h: ditto
9346         * lyx_main.h: ditto
9347         * kbmap.h: ditto
9348         * FontInfo.h: ditto
9349         * BufferView_pimpl.h: ditto
9350         * ColorHandler.h: ditto
9351
9352         * kbmap.C (defkey): change call to shared_ptr::reset
9353
9354 2002-05-21  Juergen Vigna  <jug@sad.it>
9355
9356         * buffer.C (insertErtContents): fix to insert ert asis if it is
9357         non empty. Skip it completely if it contains only whitespaces.
9358
9359 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9360
9361         * BufferView_pimpl.C:
9362         * BufferView2.C: clear selection on paste (bug 393)
9363
9364 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9365
9366         * DepTable.C: include ctime
9367
9368 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9369
9370         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9371
9372 2002-05-14  Juergen Vigna  <jug@sad.it>
9373
9374         * text.C (breakParagraph): fixed function to honor the keepempty
9375         layout in the right maner and also to permit the right breaking
9376         algorithm on empty or non empyt keepempty paragraphs.
9377
9378         * paragraph.C (breakParagraph): we have to check also if the par
9379         is really empty (!size()) for isempty otherwise we do the wrong
9380         paragraph break.
9381
9382 2002-05-10  Juergen Vigna  <jug@sad.it>
9383
9384         * buffer.[Ch] : The following are only changes to the ert
9385         compatibility read reading old LaTeX layout and font stuff and
9386         convert it to ERTInsets.
9387
9388         * buffer.h: added isErtInset().
9389
9390         * buffer.C (struct ErtComp): add a fromlayout bool to check
9391         if we're inside a LaTeX layout.
9392         (isErtInset): new helper function.
9393         (insertErtContents): look for other ert insets before this one
9394         and insert the contents there, so that we don't have subsequent
9395         ERT insets with nothing between them. This way we create only one
9396         inset with multiple paragraphs. Also check if we don't insert only
9397         spaces ' ' as they are ignored anyway afterwards in the .tex file
9398         so if we have only spaces we will ignore this latex part in the
9399         new file.
9400         (parseSingleLyXformat2Token \\layout): better compatibility when
9401         reading layout-latex stuff.
9402         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9403         language tag.
9404         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9405         stuff after reading the inset only get the information back from
9406         the stack.
9407
9408 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9409
9410         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9411
9412         * LaTeXFeatures.C (getBabelOptions): New method.
9413
9414 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9415
9416         * BufferView_pimpl.C (Dispatch): work around missing argument for
9417         'layout'
9418
9419 2002-05-08  Juergen Vigna  <jug@sad.it>
9420
9421         * text.C (leftMargin): handle paragraph leftindent.
9422
9423         * paragraph.C (writeFile): write the new \\leftindent tag.
9424         (validate): handle leftindent code.
9425         (TeXEnvironment): handle paragraphleftindent code again.
9426
9427         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9428
9429         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9430         for paragrap_extra indent code and new token \\leftindent.
9431         (latexParagraphs): handle the leftindent as environment.
9432
9433         * ParameterStruct.h: added leftindent support.
9434
9435         * ParagraphParameters.C (leftIndent): added support functions for
9436         the paragraph left indent.
9437
9438         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9439         more appropriate.
9440
9441 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9442
9443         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9444         inside insetERT.
9445
9446         * text.C (computeBidiTables): No bidi in insetERT.
9447
9448         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9449         in RTL documents.
9450
9451 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9452
9453         * version.C.in: pre 5
9454
9455 2002-05-02  José Matos  <jamatos@fep.up.pt>
9456         * buffer.C (makeDocBookFile): white space changes, add newline to
9457         command styles.
9458         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9459
9460         * tabular.C (docBook): fix typo.
9461
9462 2002-05-03  Juergen Vigna  <jug@sad.it>
9463
9464         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9465         change in LyXText as we can not be sure it was not freed.
9466         (drawOneRow): remove unused code.
9467
9468         * text.C (drawInset): redo the calculation of the need_break_row as
9469         it could have a row which was already freed.
9470         (draw): look at the return value of drawInset and return false if
9471         it also returned false.
9472         (paintRowText): look at the return value of draw and return false if
9473         it also returned false.
9474
9475         * lyxtext.h: added bool return type to drawInset() and draw() so that
9476         if we have a change in the row so that the rowbreak has to be redone
9477         we abort drawing as it will be called again.
9478
9479 2002-05-02  Juergen Vigna  <jug@sad.it>
9480
9481         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9482         a change in the maintext also if we're inside an inset.
9483         (Dispatch): set the cursor again after a break line and after the
9484         screen has been updated as it could be we're in a different row.
9485
9486         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9487         to set the cursor behind the pargraph with > size().
9488         (setCursor): check also for the same paragraph when checking where
9489         to put the cursor if we have a NFR inset.
9490
9491         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9492         parts of layout read further up as it still was in the wrong
9493         position.
9494
9495 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * screen.C (drawFromTo): change sine fullRebreak always return
9498         true.
9499
9500         * buffer.C (parseSingleLyXformat2Token): reindent some
9501
9502         * BufferView_pimpl.C (update): change since fullRebreak always
9503         return true.
9504         (Dispatch): git rid of the last hardcoded "Standard"s.
9505
9506 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * text2.[Ch] (fullRebreak): make it return void now that we always
9509         returned true.
9510
9511 2002-04-30  Juergen Vigna  <jug@sad.it>
9512
9513         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9514         ert compatibility check for "latex" layout.
9515
9516 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9517
9518         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9519         minipages: use col% instead of p%, and also use the current font.
9520         (makeLaTeXFile): Fix use babel condition.
9521         (parseSingleLyXformat2Token): Correct font when reading old floats.
9522
9523 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9524
9525         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9526         inserting list of floats.
9527
9528 2002-04-25  Herbert Voss  <voss@lyx.org>
9529
9530         * MenuBackend.C (expand): don't add the graphics extensions to the
9531         export menu
9532
9533 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9536         non-existing layout, do not complain if it was the default layout
9537         of the original class (bug #342)
9538
9539 2002-04-24  Juergen Vigna  <jug@sad.it>
9540
9541         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9542         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9543
9544 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9545
9546         * buffer.C (getBibkeyList): If using \bibliography, return the
9547         option field with the reference itself. Enables us to provide natbib
9548         support when using \bibliography.
9549
9550 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9551
9552         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9553
9554         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9555         natbib is provided by the LaTeX class.
9556
9557 2002-04-23  Juergen Vigna  <jug@sad.it>
9558
9559         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9560         Wakeup functions.
9561
9562         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9563
9564 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9565
9566         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9567
9568         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9569         ensuremath around textordmasculine, textordfeminine and
9570         textdegree.
9571
9572 2002-04-19  Juergen Vigna  <jug@sad.it>
9573
9574         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9575         reinitializing the buffer otherwise row-dimensions may be wrong.
9576         (update): reset also the selection cursors if they do exits otherwise
9577         their x/y positions may be wrong.
9578
9579         * text2.C (cursorDown): don't enter the inset if we came from a row
9580         above and are one row over the inset.
9581
9582         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9583         really leaving an inset.
9584
9585 2002-04-18  Juergen Vigna  <jug@sad.it>
9586
9587         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9588         of the selected paragraph does not have the selected layout also if
9589         the last one had!
9590
9591         * text2.C (setLayout): fixed bug which did not change last selected
9592         paragraph.
9593
9594         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9595         changed the read and substituted \\end_float with \\end_inset!
9596
9597         * BufferView_pimpl.C (cursorPrevious):
9598         (cursorNext): fixed to make it work with rows heigher than the work
9599         area without moving the cursor only the draw of the row.
9600         (workAreaMotionNotify): fix jumping over high rows.
9601
9602 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9605         Ressler.
9606
9607 2002-04-16  Juergen Vigna  <jug@sad.it>
9608
9609         * text2.C (setCursor): set also the irow().
9610         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9611         (cursorUp):
9612         (cursorDown): support for locking an inset if the x_fix value goes
9613         inside it. That way I can transverse insets too with cursor up/down.
9614
9615         * lyxrow.h: added irow helper function same as other (i) functions.
9616
9617         * BufferView_pimpl.C (cursorPrevious):
9618         (cursorNext): fixed for insets!
9619
9620 2002-04-15  Juergen Vigna  <jug@sad.it>
9621
9622         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9623         position otherwise it is wrong in some cases.
9624
9625         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9626         inside the inset before the call.
9627
9628 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9629
9630         * buffer.[Ch] (getBibkeyList): make it const.
9631
9632 2002-04-12  Juergen Vigna  <jug@sad.it>
9633
9634         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9635
9636         * text2.C (getCursorX): new helper function
9637         (setCursor): compute also ix_
9638         (setCursorFromCoordinates): set also ix.
9639
9640         * lyxcursor.h: added ix_ and helper functions.
9641
9642         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9643
9644         * buffer.C (insertStringAsLines): dont break paragraph if the this
9645         paragraph is inside an inset which does not permit it!
9646
9647         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9648         also with no chars on this paragraph.
9649         (paintRowText): only paint stuff if it's inside the workarea!
9650
9651         * paragraph.C (breakParagraph): honor keepempty flag and break the
9652         paragraph always below not above.
9653
9654         * BufferView2.C (unlockInset): update the paragraph layout on inset
9655         unlock as we changed paragraph in such a case.
9656
9657         * lyxfind.C (LyXFind): clear the former selection if not found!
9658
9659         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9660         again called in insertChar().
9661
9662         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9663         an inset which uses the whole row!
9664         (rightMargin): ditto.
9665         (insertChar): force a rebreak if we inserted an inset!
9666
9667 2002-03-28  Herbert Voss  <voss@lyx.org>
9668
9669         * lyxlength.[Ch]: add inBP() to get the right PS-point
9670         units (BigPoint). With inPixels we have rounding errors
9671
9672 2002-04-11  Juergen Vigna  <jug@sad.it>
9673
9674         * text2.C (setCursorFromCoordinates): set iy to the right value.
9675         (setCursor): add check if row->previous exists!
9676
9677         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9678         an old float_type as this was the case in the old code!
9679
9680         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9681
9682         * BufferView2.C (showLockedInsetCursor): use iy
9683         (fitLockedInsetCursor): ditto
9684
9685         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9686         locked insets as there we have the right value now.
9687
9688         * lyxcursor.C: added iy_ variable and iy functions to set to the
9689         baseline of cursor-y of the locked inset.
9690
9691         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9692         (setCursor): fixed for insets which need a full row.
9693
9694         * text.C (rowLastPrintable): don't ignore the last space when before
9695         an inset which needs a full row.
9696         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9697         as last character of a row when before a inset which needs a full row.
9698
9699 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9700
9701         * version.C.in: update date
9702
9703         * text2.C (fullRebreak): try to always return true and see what
9704         happens...
9705
9706 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * MenuBackend.C (expand): use Floating::listName
9709
9710         * FloatList.C (FloatList): add listName argument to the built-in
9711         floats
9712
9713         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9714         text associated with the float.
9715
9716 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9717
9718         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9719
9720 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9721
9722         * ShareContainer.h: add a couple of missing typenames.
9723
9724 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9725
9726         * lyxrc.C (getDescription): use _() correctly rather than N_().
9727
9728 2002-03-28  Herbert Voss  <voss@lyx.org>
9729
9730         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9731         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9732
9733 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9734
9735         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9736         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9737
9738 2002-03-29  Juergen Vigna  <jug@sad.it>
9739
9740         * lyxfunc.C (dispatch): add a missing fitCursor call.
9741
9742         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9743         it was scrolled by a cursor move, so return the bool status.
9744
9745         * BufferView.C (fitCursor): return the bool flag also to the outside
9746         world as this is needed.
9747
9748         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9749
9750         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9751         call the edit() as it is not needed (and wrong) IMO.
9752         (workAreaButtonPress): set the screen_first variable before evt.
9753         unlock the inset as this may change screen_first and then we have
9754         a wrong y position for the click!
9755
9756 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * MenuBackend.C (expand): another translation that I missed
9759
9760 2002-03-28  Juergen Vigna  <jug@sad.it>
9761
9762         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9763
9764         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9765
9766 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9767
9768         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9769
9770         * MenuBackend.C (expand): fix export/view/update when there is no
9771         document open.
9772
9773 2002-03-27  Herbert Voss  <voss@lyx.org>
9774
9775         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9776         and text%
9777
9778 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * bufferview_funcs.C (currentState): only show paragraph number
9781         for is DEVEL_VERSION is set.
9782
9783         * lyxfunc.C (dispatch): put warning in INFO channel
9784
9785         * MenuBackend.C (expand): translate the name of floats
9786
9787         * FloatList.C (FloatList): mark the float names for translation
9788
9789         * converter.C (convert): use LibScriptSearch
9790
9791 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * MenuBackend.C (defaults): fix default menu (we might as well get
9794         rid of it...)
9795
9796 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9797
9798         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9799         directory.
9800
9801 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9802
9803         * lyxvc.C: reorder includes.
9804
9805 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9808           properly
9809
9810 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9811
9812         * CutAndPaste.C: change layouts earlier on paste
9813           to avoid crashing when calling getFont()
9814
9815 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9816
9817         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9818         irritating #error.
9819
9820 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9821
9822         * WorkArea.C: remove 'Pending' debug message.
9823
9824         * most files: ws cleanup
9825
9826         * buffer.[Ch]: ws changes
9827
9828         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9829
9830 2002-03-21  Juergen Vigna  <jug@sad.it>
9831
9832         * tabular.C (SetMultiColumn): collapse also the contents of the
9833         cells and set the last border right. Added a Buffer const * param.
9834
9835 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9836
9837         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9838         linking or not.
9839
9840 2002-03-19  Juergen Vigna  <jug@sad.it>
9841
9842         * text2.C (clearSelection): reset also xsel_cache.
9843
9844         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9845         where it needs to be called (John tells us to do so too :)
9846         (selectionLost): reset sel_cache.
9847
9848         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9849
9850 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * text2.C (setCursorIntern): put debuging code in INSETS channel
9853
9854 2002-03-19  André Pönitz <poenitz@gmx.net>
9855
9856         * lyxfunc.C: tiny whitespace change
9857
9858 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * ToolbarDefaults.C (init):
9861         * LyXAction.C (init):
9862         * commandtags.h:
9863         * BufferView_pimpl.C (Dispatch):
9864         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9865
9866 2002-03-19  Allan Rae  <rae@lyx.org>
9867
9868         * exporter.C (Export): removeAutoInsets before doing anything else.
9869         While I've just introduced a dependency on BufferView this really is
9870         the best place to clean the buffer otherwise you need to cleanup in
9871         a dozen places before calling export or cleanup in a dozen functions
9872         that export calls.
9873
9874         * converter.C (runLaTeX):
9875         (scanLog): Better handling of removeAutoInsets and screen updates.
9876
9877         * lyxfunc.C (dispatch): small whitespace changes
9878
9879 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * WorkArea.C (C_WorkAreaEvent): return a value.
9882         (event_cb): return 1 if we handled the event, 0 otherwise.
9883
9884         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9885
9886 2002-03-18  Juergen Vigna  <jug@sad.it>
9887
9888         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9889         (GetAdditionalWidth): ditto.
9890         (RightLine): ditto.
9891         (LeftLine): ditto.
9892
9893         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9894         inset if we're there actually (probably not used right now but this
9895         is the direction to go for unifying code).
9896         (paste): disable code to clear the selection.
9897
9898         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9899         inside an InsetText and move the check further up as it is in the
9900         wrong place.
9901
9902         * text2.C (pasteSelection): set a selection over the pasted text.
9903
9904 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9905
9906         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9907         and libgraphics to build on Cygwin.
9908
9909 2002-03-15  Juergen Vigna  <jug@sad.it>
9910
9911         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9912         inserting an Inset into the paragraph. I know this is not the best
9913         fix but we already use current_view in CutAndPaste so we will remove
9914         all of it's using at the same time.
9915
9916         * buffer.C (sgmlError): deactivated function till it is rewritten in
9917         the right mode, now it can create problems.
9918
9919         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9920         before accessing it.
9921
9922 2002-03-14  Juergen Vigna  <jug@sad.it>
9923
9924         * undo_funcs.C (textHandleUndo): do the right thing when updating
9925         the inset after the undo/redo.
9926
9927         * text2.C (setCursor): just some testcode for #44 not ready yet.
9928
9929         * undo_funcs.C (textHandleUndo): set the next() and previous()
9930         pointers of the paragraph to 0 before deleting otherwise we have
9931         problems with the Paragraph::[destructor].
9932
9933         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9934         on a paragraph insertion.
9935
9936 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * buffer.C (asciiParagraph): use += operator for char append to
9939         string.
9940
9941         * paragraph.C (getFontSettings): compare >= not just >
9942         (highestFontInRange): ditto
9943         (setFont): ditto
9944
9945 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9946
9947         * paragraph.C: change several algorithm to be more appripriate for
9948         the problem domain. This is lookip in FontList and in the InsetList.
9949
9950 2002-03-13  André Pönitz <poenitz@gmx.net>
9951
9952         * commandtags.h:
9953         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9954
9955 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * commandtags.h:
9958         * LyXAction.C:
9959         * lyxfunc.C:
9960         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9961
9962 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9963
9964         * Painter.C (display): anon helper function, adjust code for this
9965         change.
9966         (pixmap): remove function.
9967
9968         * Painter.h: remove private display variable.
9969
9970         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9971
9972 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9973
9974         * WorkArea.[Ch]: remove figinset_canvas cruft.
9975
9976 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9977
9978         * lyxtextclass.C (operator): add one item cache optimization.
9979
9980         * bufferlist.h: doxy changes
9981
9982         * bufferlist.C: ws changes
9983
9984         * DepTable.[Ch] (ext_exist): place const in the right spot.
9985
9986         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9987         call resizeInsets.
9988         (workAreaExpose): call resizeInsets when the with BufferView changes.
9989         (Dispatch): adjust for protectedBlank removal
9990         (specialChar): call updateInset if the insert went ok.
9991
9992         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9993         specialChar instead.
9994
9995         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9996
9997         * BufferView.h: doxy change
9998
9999         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10000
10001         * lyxtextclass.C (operator[]): remove non-const version
10002         (defaultLayout): remove non-const version
10003
10004 2002-03-12  Juergen Vigna  <jug@sad.it>
10005
10006         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10007         did resize the LyXText too.
10008
10009         * buffer.C (readLyXformat2): set layout information on newly allocated
10010         paragraphs.
10011
10012         * tabular.C (OldFormatRead): set layout information on the paragraph.
10013
10014 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10015
10016         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10017
10018 2002-03-11  Juergen Vigna  <jug@sad.it>
10019
10020         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10021         plainly wrong.
10022         (resizeCurrentBuffer): force also the insets to resize themselfes.
10023         (moveCursorUpdate): fixed up for InsetText.
10024
10025 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * commandtags.h:
10028         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10029         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10030         value of Dialogs::tooltipsEnabled().
10031         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10032
10033 2002-03-08  Juergen Vigna  <jug@sad.it>
10034
10035         * BufferView_pimpl.C (updateInset): update inset inside inset also
10036         if it isn't inside theLockingInset().
10037
10038 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * buffer.C (asciiParagraph): redo some of the word and line length
10041         handling.
10042         (getLists): look for Caption instead of caption.
10043
10044 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * buffer.C (Buffer): initialize niceFile to true
10047         (makeLaTeXFile):
10048         (makeLinuxDocFile):
10049         (makeDocBookFile): make sure niceFile is true on exit
10050
10051 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10054
10055 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10056
10057         * LyXSendto.C: remove.
10058         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10059         * lyx_gui.C: remove now-redundant comment.
10060         * ColorHandler.h: remove forward declaration of class WorkArea.
10061         * lyxfunc.C: remove #include "WorkArea.h".
10062
10063 2002-03-07  Juergen Vigna  <jug@sad.it>
10064
10065         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10066         got moved away with the DEPM and also set the inset_owner always
10067         right which before could have been omitted.
10068
10069 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10072         wanted layout is not found.
10073
10074 2002-03-07  Juergen Vigna  <jug@sad.it>
10075
10076         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10077
10078 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10079
10080         * paragraph.C (breakParagraph): use default layout not layout of
10081         prev paragraph.
10082         (Paragraph): clear ParagraphParameters.
10083
10084 2002-03-06  Juergen Vigna  <jug@sad.it>
10085
10086         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10087         otherwise it would not be a valid lenght. Fixed a special case in
10088         the minipage compatibility read where we end the document with a
10089         minipage.
10090
10091         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10092         was set as it could be 0 for InsetTexts first entry.
10093
10094 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10095
10096         * paragraph.C (writeFile): if layout is empty write out
10097         defaultLayoutName().
10098
10099         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10100         file without named layout we set layout to defaultLayoutName().
10101
10102 2002-03-06  Juergen Vigna  <jug@sad.it>
10103
10104         * CutAndPaste.C (copySelection): set layout for new paragraph.
10105
10106         * text.C (prepareToPrint): leave ERT inset left aligned
10107         (leftMargin): don't indent paragraphs inside ERT insets
10108
10109 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10110
10111         * paragraph.C (breakParagraph): dont call clear do the work manually
10112
10113         * paragraph.[Ch] (clear): remove function
10114
10115 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * paragraph.C (Paragraph): dont call clear, the work has already
10118         been done.
10119
10120         * lyxtextclass.C (operator): assert if n is empty
10121
10122         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10123         work manually instead.
10124
10125 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * BufferView_pimpl.C: protect selectionLost against text == 0
10128
10129 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10130
10131         * text.C (breakParagraph): fix a setting layout to '0' problem.
10132
10133 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10134
10135         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10136         final location of file, for the included files, and graphics.
10137
10138 2002-03-05  Juergen Vigna  <jug@sad.it>
10139
10140         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10141
10142 2002-03-04  Juergen Vigna  <jug@sad.it>
10143
10144         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10145
10146         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10147         last column of multicolumn cells.
10148         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10149
10150 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10151
10152         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10153         file if it doesn't go to a temporary file.
10154
10155         * buffer.C (sgmlOpenTag):
10156         (sgmlCloseTag):  remove extra newline insertion.
10157
10158 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10159
10160         * text.C (getRowNearY): comment out debug msg
10161
10162 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10163
10164         * text2.C: first -> first_y
10165
10166         * text.C (getRowNearY): add some attemts at a possible
10167         optimization, not working.
10168
10169         * tabular.[Ch]: add BufferParams to several function so that newly
10170         created paragraph can be initialized to he default layotu for the
10171         buffers textclass.
10172
10173         * tabular-old.C (ReadOld): add buf->params to call of Init
10174
10175         * screen.C: rename text->first to text->first_y
10176
10177         * paragraph.C (breakParagraph): always set layout in the broken
10178         paragraph
10179
10180         * lyxtextclass.C (Read): remove lowercase
10181         (hasLayout): ditto
10182         (operator): ditto
10183         (delete_layout): ditto
10184
10185         * lyxtext.h: rename first -> first_y
10186
10187         * lyxlayout.C (Read): remove lowercase
10188         (name): ditto
10189         (setName): ditto
10190         (obsoleted_by): ditto
10191
10192         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10193
10194         * buffer.C (insertErtContents): add params are to InsetERT
10195         (parseSingleLyXformat2Token): add code to check if a paragraphs
10196         layout really exist.
10197         (parseSingleLyXformat2Token): add params to several inset
10198         constructors
10199         (asciiParagraph): remove lowercase, do the layout comparisons with
10200         no_case
10201
10202         * BufferView_pimpl.C (cursorNext): first -> first_y
10203         (resizeCurrentBuffer): first -> first_y
10204         (updateScrollbar): first -> first_y
10205         (scrollCB): first -> first_y
10206         (workAreaMotionNotify): first -> first_y
10207         (workAreaButtonPress): first -> first_y
10208         (checkInsetHit): first -> first_y
10209         (cursorPrevious): first -> first_y
10210         (cursorNext): first -> first_y
10211         (Dispatch): add buffer_->params to severl inset contructors
10212
10213 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * lyxlayout.C (Read): remove some debug info that I forgot.
10216
10217         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10218         clean up the code slightly.
10219         (makeLinuxDocFile): ditto
10220         (makeDocBookFile): ditto
10221
10222         * text2.C: layout as string
10223
10224         * text.C: layout as string
10225
10226         * paragraph_pimpl.C: layout as string
10227
10228         * paragraph.[Ch]: layout as string
10229
10230         * lyxtextclasslist.[Ch]: layout as string
10231
10232         * lyxtextclass.[Ch]: layout as string
10233
10234         * lyxtext.h: layout as string
10235
10236         * lyxlayout.[Ch]: layout as string
10237
10238         * lyx_cb.C: layout as string
10239
10240         * bufferview_funcs.C: layout as string
10241
10242         * bufferparams.C: layout as string
10243
10244         * buffer.C: layout as string
10245
10246         * LyXView.[Ch]: layout as string
10247
10248         * LaTeXFeatures.[Ch]: layout as string
10249
10250         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10251
10252         * BufferView_pimpl.C: change current_layout to string, remove
10253         lyx::layout_type.
10254         (Dispatch):
10255         (smartQuote):
10256         (insertInset):
10257         (workAreaButtonRelease): layout as string
10258
10259         * BufferView2.C (unlockInset): adjust
10260
10261         * vspace.C (asLatexCommand): use an explict temp variable.
10262
10263 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * Makefile.am: use FRONTEND_*
10266
10267 2002-03-01  Juergen Vigna  <jug@sad.it>
10268
10269         * tabular.C (SetWidthOfMulticolCell): changed to something better
10270         I hope but still work in progress.
10271         (recalculateMulticolumnsOfColumn): renamed function from
10272         recalculateMulticolCells as it is more appropriate now.
10273         (SetWidthOfCell): calculate multicols better.
10274
10275 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10278
10279         * lyxfunc.C (processKeySym): print sequence also if it is
10280         `deleted' (complete)
10281
10282         * kbsequence.C (print): print sequence even if it is deleted
10283         (complete would be a better word, actually).
10284
10285         * lyxfunc.C (dispatch): print complete options after a prefix key
10286
10287         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10288
10289 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10290
10291         * text2.C (setCharFont): eliminate setCharFont code duplication.
10292
10293 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10296         LFUN_TABULAR_FEATURE (bug #177)
10297
10298 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10299
10300         * Makefile.am: remove figure.h
10301
10302 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10303
10304         * Bufferview_pimpl.C:
10305         * CutAndPasteC:
10306         * LaTeX.C:
10307         * LyXSendto.C:
10308         * buffer.C:
10309         * bufferlist.C:
10310         * converter.C:
10311         * language.C:
10312         * lyxfunc.C:
10313         * lyxvc.C:
10314         * paragraph.C:
10315         * text.C:
10316         * text2.C: remove #include "lyx_gui_misc.h".
10317
10318         * LaTeX.C: added #include <cstdio>
10319
10320 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10323         that the paragraph following this one can have.
10324
10325         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10326
10327         * vspace.C (asLatexCommand): fix bogus gcc warning
10328
10329         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10330
10331 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10332
10333         * text2.C (setLayout): get rid of redundant code
10334
10335 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10336
10337         * text2.C (incDepth): make sure depth cannot be increased beyond
10338         reasonable values.
10339
10340 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10341
10342         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10343         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10344
10345         * PainterBase.h (image):
10346         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10347         a LyXImage const *.
10348
10349 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * BufferView.C:
10352         * BufferView.h:
10353         * BufferView_pimpl.C:
10354         * BufferView_pimpl.h:
10355         * LaTeXFeatures.C:
10356         * LyXAction.C:
10357         * LyXView.C:
10358         * Makefile.am:
10359         * UpdateList.h:
10360         * UpdateList.C:
10361         * buffer.C:
10362         * figure.h:
10363         * figureForm.C:
10364         * figureForm.h:
10365         * figure_form.C:
10366         * figure_form.h:
10367         * lyx_cb.C:
10368         * lyx_gui.C:
10369         * lyx_gui_misc.C:
10370         * lyxfunc.C:
10371         * sp_base.h:
10372         * sp_ispell.h:
10373         * sp_pspell.h:
10374         * sp_spell.C: remove fig inset, and the crap house of
10375           cards that follows it
10376
10377 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * Makefile.am:
10380         * lyxserver.C:
10381         * os2_defines.h:
10382         * os2_errortable.h:
10383         * nt_defines.h: move .h into support/
10384
10385         * vms_defines.h: remove
10386
10387         * WorkArea.C: add space in debug output
10388
10389         * text2.C:
10390         * paragraph.C:
10391         * buffer.C: add WITH_WARNINGS
10392
10393         * vc-backend.h:
10394         * vc-backend.C:
10395         * bufferlist.C: s/retrive/retrieve/, add docs
10396
10397         * vspace.h:
10398         * vspace.C:
10399         * kbmap.h:
10400         * lyxlength.h:
10401         * lyxgluelength.h:
10402         * length_common.h:
10403         * chset.h:
10404         * chset.C: add docs
10405
10406         * lyxgui.C: add ID to X error handler
10407
10408         * lyxtestclass.c: fix typo
10409
10410 2002-02-26  Juergen Vigna  <jug@sad.it>
10411
10412         * tabular_funcs.C (write_attribute): changed so that some default
10413         attributes are not written at all.
10414         (getTokenValue): set default values before trying to read the
10415         value so we have the return value always set as default if we don't
10416         find the token we search for.
10417
10418         * tabular.C (Write): write bools as bools not as strings!
10419
10420 2002-02-22  Juergen Vigna  <jug@sad.it>
10421
10422         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10423         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10424
10425         * text.C (leftMargin): don't add an indent for paragraphs inside
10426         tabular cells (fix #208).
10427
10428 2002-02-21  José Matos  <jamatos@fep.up.pt>
10429
10430         * tabular.C (docBook): fixed support for long tables.
10431
10432 2002-02-20  Juergen Vigna  <jug@sad.it>
10433
10434         * text2.C (getFont): get the drawing font of the Inset if this
10435         paragraph is inside an inset (only important for InsetERT for now).
10436
10437         * buffer.C (insertErtContents): use new lanugage params in ERT
10438         constructor.
10439
10440         * CutAndPaste.C: commenting out seemingly uneeded code.
10441
10442 2002-02-19  Allan Rae  <rae@lyx.org>
10443
10444         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10445         Iterators might be simple to use but they also get invalidated.
10446         (removeAutoInsets): renamed saved cursor tracking variables and added
10447         some comments to clarify what everything does.
10448
10449 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * Chktex.C:
10452         * LaTeX.C:
10453         * LyXSendto.C:
10454         * converter.C:
10455         * lyx_cb.C:
10456         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10457         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10458
10459         * lyxfunc.C:
10460         * vc-backend.h: remove #include "support/syscall.h"
10461
10462         * LaTeX.C:
10463         * LyXSendto.C:
10464         * converter.C: rearrange #includes in Lars' approved fashion.
10465
10466         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10467         forward declare class Timeout in the header file.
10468
10469         * XFormsView.C: changes due to the above.
10470
10471         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10472         similar to LyXView.
10473
10474         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10475         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10476
10477 2002-02-18  José Matos  <jamatos@fep.up.pt>
10478
10479         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10480         insets contents.
10481
10482 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10483
10484         * a lot of small ws changes
10485         * add a lot of using std::XXX
10486         * use std construcs some places where approp.
10487         * use some exisint stuff from lyxfunctional where approp.
10488         * Make file changes to use partial linking (lets test this now...)
10489
10490 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10491
10492         * Chktex.C:
10493         * buffer.C:
10494         remove #include "support/syscontr.h" as it's redundant. Always has been.
10495
10496         * Chktex.C:
10497         * LaTeX.C:
10498         * LyXSendto.C:
10499         * converter.C:
10500         * lyx_cb.C:
10501         * vc-backend.C:
10502         change Systemcalls::System to Systemcalls::Wait and
10503         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10504         No change of functionality, just reflects the stripped down Systemcalls
10505         class.
10506
10507 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10508
10509         * debug.[Ch]: add a GRAPHICS type to the enum.
10510
10511 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10514
10515         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10516         there is an inset.
10517
10518 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10521         match the changes below.
10522
10523         * text2.C (toggleInset): if there is not editable inset at cursor
10524         position, try to see if cursor is _inside_ a collapsable inset
10525         and close it.
10526
10527 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10530         document menu has a nice checkbox
10531
10532 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * lyxlength.C (asLatexString): change PW to output as percent of
10535         \textwidth.
10536
10537         * lengthcommon.C: change '%' to 't%'
10538
10539         * lyxfunc.C (dispatch): a few comments from Martin
10540
10541 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * WorkArea.h:
10544         * WorkArea.C:
10545         * BufferView_pimpl.h:
10546         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10547           the X selection.
10548
10549 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * vspace.C (inPixels): fix compiler warning
10552
10553 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * lyxfunc.C (getStatus): fix status message for disabled commands.
10556
10557 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * BufferView_pimpl.C: fix crash on close buffer
10560         during selection (#227)
10561
10562 2002-01-27  Herbert Voss  <voss@lyx.org>
10563
10564         * buffer.C: link old Figure to new graphic inset
10565
10566 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * FontLoader.C (getFontinfo): Change the latex font names in order
10569         to match the names of type1inst.
10570
10571 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10574
10575         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10576         (extchanged): ditto
10577         (ext_exist): ditto
10578         (remove_files_with_extension): ditto
10579         (remove_file): ditto
10580         (write): ditto
10581
10582         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10583         document is smaller than the work area height. Do not initialize
10584         static variables to 0.
10585
10586 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10589
10590         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10591         LFUN_LAYOUT_PARAGRAPHS.
10592
10593         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10594         tabular. It is possible to provide a possible cell, which will
10595         typically be the actcell from the corresponding insettabular
10596
10597         * lyxfunc.C (getStatus): small cleanup; disable
10598         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10599         true
10600
10601 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10604
10605         * paragraph.C (startTeXParParams):
10606         (endTeXParParams): new methods. The LaTeX code to
10607         start/end paragraph formatting
10608         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10609         empty (fixes bug #200)
10610
10611         * vspace.C (inPixels): adapt to the change below
10612         (inPixels): [later] more cleanups (remove unused variables)
10613
10614         * lyxlength.C (inPixels): change to use a width and a height as
10615         parameter.
10616
10617 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10618
10619         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10620         Replaced with \paperwidth
10621
10622         * DepTable.C (insert): add std:: qualifier
10623
10624 2002-01-18  Allan Rae  <rae@lyx.org>
10625
10626         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10627         updated also?
10628
10629         * text.C (drawInset): Turned out I didn't know enough about how
10630         rebreaking worked.  This fixes most of the redraw problems.  I see
10631         an occasional cursor trail when a line is broken now and the cursor
10632         placement can seem out by a few pixels also after a rebreak.
10633
10634 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10635
10636         * buffer.C (parseSingleLyXformat2Token): update because minipage
10637         width is now a LyXLength
10638
10639         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10640
10641         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10642         math insets
10643
10644 2002-01-17  Juergen Vigna  <jug@sad.it>
10645
10646         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10647
10648         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10649         is set correctly and the inset is updated correctly.
10650
10651 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10654         the beginning of the loop.
10655
10656 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyxrc.C: improve help for use_scalable_fonts
10659
10660 2002-01-17  Allan Rae  <rae@lyx.org>
10661
10662         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10663
10664 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10667         make sure to set their inset_owner to the right value (bug #171)
10668
10669 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10670
10671         * DepTable.h
10672         * DepTable.C: Implement mtime checking to reduce time spent doing
10673         CRCs.
10674
10675 2002-01-16  Juergen Vigna  <jug@sad.it>
10676
10677         * tabular.C (GetAdditionalHeight): one of error fixed.
10678
10679         * lyxrc.C (output): small fix in writing use_pspell.
10680
10681 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10682
10683         * sp_base.h: #include LString.h
10684
10685 2002-01-16  Allan Rae  <rae@lyx.org>
10686
10687         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10688         Can someone check this please?
10689
10690         * text.C (drawInset): It was possible that p.row would be removed by
10691         breakAgainOneRow upsetting a few other settings.  There may be another
10692         small tweak possible by setting need_break_row = 0 when p.row has been
10693         removed but I don't know enough about the logic here.
10694
10695 2002-01-15  Allan Rae  <rae@lyx.org>
10696
10697         * text.C (insertChar): removed conditional truism.
10698
10699         * BufferView2.C (removeAutoInsets): More tweaks.
10700         cur_par_prev could be a stray pointer.  Check for trailing empty line
10701         in case last line was cur_par and only had an error inset on it.
10702
10703 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10706         absolute
10707
10708         * vc-backend.C (most methods):
10709         * exporter.C (Export):
10710         * converter.C (convert):
10711         (runLaTeX):
10712         * LyXSendto.C (SendtoApplyCB):
10713         * lyxfunc.C (dispatch):
10714         (menuNew):
10715         (open):
10716         (doImport):
10717         * lyx_cb.C (AutoSave):
10718         (InsertAsciiFile):
10719         * BufferView_pimpl.C (MenuInsertLyXFile):
10720         * buffer.C (runChktex): use Buffer::filePath().
10721
10722         * buffer.h: rename filename to filename_; rename filepath to
10723         filepath_ and make it private
10724         (filePath): new method
10725
10726         * buffer.C (writeFile): use fileName()
10727         (getLatexName):
10728
10729         * lyx_main.C (init): fix starting  of LyX when the binary is a
10730         link from so,ewhere else.
10731
10732         * minibuffer.C: include <cctype> for isprint
10733
10734 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10735
10736         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10737         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10738         name clash with InsetCollapsable's width function.
10739
10740 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10741
10742         * lastfiles.C: include <iterator>
10743
10744 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10745
10746         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10747         std::count.
10748
10749         * buffer.C (makeLaTeXFile): ditto.
10750         Also make loop operation more transparent.
10751
10752 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10753
10754         * ToolbarDefaults.C: remove trailing comma closing namespace.
10755
10756         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10757
10758         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10759         as in WorkArea.
10760
10761         * trans.C (Load): comment out unused variable, allowed.
10762
10763 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10764
10765         * minibuffer.[Ch] (append_char): new method to recieve input from the
10766         drop-down completion browser. If a key was pressed, then recieve this
10767         char and append it to the existing string.
10768         (peek_event): modify the positioning data passed to the completion
10769         browser so that it can be placed above the minibuffer rather than below.
10770 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10771
10772         * LyXAction.C (init): alloe error-next for readonly documents.
10773
10774         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10775         count.
10776
10777 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * bufferlist.C (readFile): create the buffer _after_ checking that
10780         the file exists.
10781
10782         * lyxfunc.C (verboseDispatch): fix handling of arguments
10783
10784         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10785
10786         * lyxrc.C: use string::erase() instead of initializing to "".
10787
10788
10789 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * BufferView_pimpl.h:
10792         * BufferView_pimpl.C:
10793         * WorkArea.h:
10794         * WorkArea.C:
10795         * text2.C: tell X when we have made a selection for copying
10796
10797 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10798
10799         * BufferView_pimpl.C (MenuInsertLyXFile):
10800         * lyxfunc.C (menuNew):
10801         (open):
10802         (doImport): add shortcuts to directory buttons
10803
10804         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10805         open a float)
10806
10807         * lyxfunc.C (setStatusMessage):
10808         (getStatusMessage): new methods
10809         (getStatus):use setStatusMessage instead of setErrorMessage
10810         (dispatch): when function is disabled, set error message here
10811         [instead of in getStatus previously]
10812
10813         * BufferView_pimpl.C (workAreaButtonRelease): update
10814         toolbar/menubar here too.
10815
10816 2002-01-13  Allan Rae  <rae@lyx.org>
10817
10818         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10819         Now seems indestructible.  Remaining task is to audit all other
10820         code affected by deleteEmptyParagraphMechanism.  One small quirk
10821         left is that an empty document with an error in the preamble can
10822         be made to report an error but no error box appears.  I don't know
10823         where it goes.
10824         (removeAutoInsets): Improved comments.
10825
10826 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * Thesaurus.h:
10829         * Thesaurus.C: update for Aiksaurus 0.14
10830
10831 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10832
10833         * text2.C (firstParagraph): removed member function, all uses
10834         replaces with ownerParagraph
10835         (redoParagraphs): here
10836         (updateInset): here
10837         (toggleAppendix): here
10838         * BufferView2.C (insertErrors): here
10839         (setCursorFromRow): here
10840
10841 2002-01-13  Allan Rae  <rae@lyx.org>
10842
10843         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10844         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10845         There is still a way to segfault this although you may have to do this
10846         multiple times: Have an InsetERT with an unknown command in it.
10847         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10848         <down-arrow>, <Enter> again, View->DVI, BANG!
10849
10850         * text2.C (setCursor):
10851         (deleteEmptyParagraphMechanism):
10852         * lyxtext.h (setCursor):
10853         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10854         Making use of the return value may help fix other bugs.
10855
10856 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10859
10860         * LyXView.C (updateMenubar): call MenuBar::update here
10861         (updateToolbar): but not here
10862         (showState): do not update toolbar/menubar
10863
10864         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10865         should need to care about that.
10866
10867         * lyxfunc.C (verboseDispatch): simplify a bit
10868         (getStatus): have a version which takes a pseudoaction, and
10869         another which requires a (kb_action,string).
10870
10871         * LyXAction.C (retrieveActionArg): make it work also when action
10872         is not a pseudo-action.
10873         (getActionName): simplify a bit
10874         (helpText):
10875
10876 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * lyxfunc.C (verboseDispatch): new families of methods with
10879         several ways to specify a command and a bool to indicate whether
10880         the command name and shortcut should be displayed in minibuffer
10881         (eventually, we could extend that to a finer bitmask like
10882         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10883         (dispatch): the pristine dispatch command which just, well,
10884         dispatchs! Note it still sets its result to minibuffer; I'm not
10885         sure we want that.
10886
10887         * lyxfunc.h: remove setHintMessage
10888
10889         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10890
10891 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * BufferView_pimpl.C (specialChar): delete new inset if we have
10894         not been able to insert it.
10895
10896         * kbmap.C: revert to using int instead of kb_action, since all we
10897         are dealing with is pseudo-actions.
10898
10899         * LyXAction.C (searchActionArg): change to return int instead of
10900         kb_action, since the result is a pseudoaction.
10901
10902 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10903
10904         * buffer.C (insertErtContents): Fix (partially) the font bug.
10905
10906 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10907
10908         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10909         as the other one is broken on my machine!
10910
10911 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10912
10913         * commandtags.h:
10914         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10915
10916 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10917
10918         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10919         reflect their actual use. Provide compatibility code for older lyxrc
10920         files.
10921
10922         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10923         FL_NORMAL_STYLE.
10924         change names of popup font variables in line with the changes to lyxrc.C
10925
10926 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10927
10928         * buffer.C (asciiParagraph): avoid outputing a word twice after
10929         an inset.
10930
10931         * lyxrc.C (getDescription): document that document_path and
10932         template_path can be empty.
10933
10934 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * LaTeXFeatures.C (getMacros):
10937         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10938
10939         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10940
10941         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10942         getPackages.
10943         (getPackages): rename feature "floats" to "float". Use an array to
10944         iterate over 'simple' features (i.e. just a \usepackage). Add
10945         handling of "amsmath" (renamed from "amsstyle").
10946
10947 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10948
10949         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10950         features list.
10951
10952 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10953
10954         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10955         FuncStaus::FuncStatus & FuncStaus::some_method().
10956
10957 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10958
10959         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10960         of the func_satus stuff. Edited and massaged in various ways by
10961         JMarc.
10962
10963         * lyxfunc.C (getStatus): use FuncStatus
10964
10965 2002-01-08  Juergen Vigna  <jug@sad.it>
10966
10967         * text.C (nextBreakPoint): use function Inset::isChar().
10968
10969         * paragraph.C (TeXOnePar): use function
10970         Inset::forceDefaultParagraphs.
10971
10972         * buffer.C (latexParagraphs): use function
10973         Inset::forceDefaultParagraphs.
10974
10975 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10976
10977         * lyx_gui.C (init): set the style of the menu popups to
10978         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10979
10980 2002-01-07  Juergen Vigna  <jug@sad.it>
10981
10982         * text.C (setHeightOfRow): small fix
10983         (prepareToPrint): don't look at alignment if we don't have the place
10984         for doing it.
10985
10986 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10987
10988         * box.C: New file. Move the Box methods and functions out of box.h,
10989         following Lars' suggestion.
10990
10991 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10992
10993         * box.h: #include "support/LOstream.h", needed for inlined function.
10994
10995         * lyxtextclass.C:
10996         * lyxtextclasslist.C: added some using std declarations.
10997
10998 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * box.h: make signed dimensions to allow insets wider than
11001           the screen (bug #162)
11002
11003         * BufferView_pimpl.C: add some insetHit debug
11004
11005 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * vc-backend.C: add FIXME
11008
11009 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * lyxfunc.C (getStatus): enable code for showing math font status
11012         in toolbar/menu.
11013
11014 2002-01-07  Juergen Vigna  <jug@sad.it>
11015
11016         * text.C (nextBreakPoint): removed debug output not needed anymore.
11017
11018 2002-01-06  Juergen Vigna  <jug@sad.it>
11019
11020         * text.C (nextBreakPoint): fixed up this function we had this bug
11021         since ever but now hopefully we break row better.
11022         (insertChar): we have to check if an inset is the next char as it
11023         could now happen that a large inset is causing a break.
11024
11025 2002-01-05  Juergen Vigna  <jug@sad.it>
11026
11027         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11028         if it doesn't like to be drawed.
11029
11030 2002-01-04  Juergen Vigna  <jug@sad.it>
11031
11032         * BufferView2.C (lockInset): forgot to set a cursor.
11033
11034         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11035
11036 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11037
11038         * FormMathsPanel.C:
11039         * FormMathsPanel.h
11040         * MathsSymbols.C:
11041         * form_maths_panel.C:
11042         * form_maths_panel.h:
11043         * form_maths_panel.fd: implemented sub- and super- buttons in math
11044         panel.
11045
11046         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11047         (or ^ space) to be used as in TeX (req'd by André).
11048
11049         * lyxfunc.C: Allow ^ and _ again to be used both as
11050         super/subscript (mathed) and as themselves (in text).
11051
11052 2002-01-03  Allan Rae  <rae@lyx.org>
11053
11054         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11055         "LyX" or the filename of the current buffer if it has one.  This is a
11056         modified form of John Levon's patch.
11057
11058         * XFormsView.C (setWindowTitle): also set icon title.
11059
11060         * LyXView.h (setWindowTitle): signature changed.
11061         * XFormsView.h (setWindowTitle): ditto.
11062
11063 2002-01-02  Juergen Vigna  <jug@sad.it>
11064
11065         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11066
11067 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * screen.C (topCursorVisible): introduce a temp var for
11070         text->cursor.row(), handle the case where this row is null. (kindo
11071         hachish)
11072
11073         * text2.C (setCursor): add a couple of asserts.
11074
11075         * paragraph.h (inset_iterator): add -> operator
11076
11077         * paragraph.[Ch] (autoDeleteInsets): remove member function
11078
11079         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11080         cursor pos correctly and handle inset deletion by itself.
11081         (insertErrors): move iterator declaration out of for expression
11082
11083         * lyxtextclass.C: add <algorithm>
11084
11085         * Makefile.am: added the new files to sources, removed layout.C
11086
11087         * layout.C: removed file
11088
11089         * layout.h: remove LYX_DUMMY_LAYOUT
11090
11091         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11092         layout.
11093
11094         * lyxlayout.[Ch]:
11095         * lyxtextclass.[Ch]:
11096         * lyxtextclasslist.[Ch]: new files
11097
11098         * include order changes to a lot of files, also changes because of
11099         the six new files.
11100
11101 2001-12-27  Juergen Vigna  <jug@sad.it>
11102
11103         * buffer.C (asciiParagraph): more fixes.
11104
11105         * tabular.C (ascii): make ascii export support export of only the
11106         data separated by a column-delimiter.
11107         (ascii): better support for ascii export.
11108
11109         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11110
11111 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * tabular_funcs.C: use a "using std::getline" instead of the
11114         previous fix from Angus (necessary for cxx + lyxstring)
11115
11116 2001-12-24  Juergen Vigna  <jug@sad.it>
11117
11118         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11119
11120         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11121         problems. First check a minipage also if we have some ert-contents
11122         (not only on par->size(), second set the right depth of the paragraph
11123         on the relink to the root-paragraph-list!
11124
11125         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11126         which then did not anymore update the main paragraphs on undo/redo!
11127
11128 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11129
11130         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11131         code. Support all font-changing funcs (even those which are not in
11132         menu currently). Support for reporting font settings in
11133         mathed (disabled until Andre provides a function on mathed's side).
11134
11135         * func_status.h (toggle): small helper function to set toggle
11136         state on a flag.
11137
11138 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11139
11140         * tabular_funcs.C: getline -> std::getline
11141
11142 2001-12-21  Juergen Vigna  <jug@sad.it>
11143
11144         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11145         accessed and could be 0 (I couldn't generate this but it seems
11146         Michael could!).
11147
11148 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11149
11150         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11151         * tabular_funcs.h: here and include iosfwd
11152
11153 2001-12-20  Juergen Vigna  <jug@sad.it>
11154
11155         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11156         inside inset but undo_par was.
11157
11158 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * Thesaurus.C: always include <config.h> in sources.
11161
11162         * Painter.h:
11163         * lyxlookup.h:
11164         * box.h: do not include <config.h> in header files
11165
11166         * text.C (paintLastRow): remove unused variable
11167
11168         * text.C (transformChar):
11169         (insertChar):
11170         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11171
11172         * Painter.C (text):
11173         * font.C (width): rewrite to use uppercase() instead of
11174         islower/toupper.
11175
11176         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11177
11178 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * lyxfind.C: clean up of find failure position change
11181
11182 2001-12-20  Juergen Vigna  <jug@sad.it>
11183
11184         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11185
11186         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11187         (TeXRow): added to LaTeX a single tabular row.
11188         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11189         (Latex): simplified and finally good LT-h/f support.
11190         (various_functions): just small adaptions for LT-h/f support.
11191
11192         * tabular_funcs.[hC]: added and moved here all not classfunctions
11193         of LyXTabular.
11194
11195 2001-12-19  Juergen Vigna  <jug@sad.it>
11196
11197         * tabular.[Ch]: better support for longtabular options (not finished
11198         yet!)
11199
11200 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11201
11202         * text.C (paintLastRow): use the label font instead of the font of
11203         the last character to compute the size of *_BOX. This makes more
11204         sense and avoids a crash with empty paragraphs.
11205         Use Painter::rectangle to draw EMPTY_BOX.
11206
11207 2001-12-19  Juergen Vigna  <jug@sad.it>
11208
11209         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11210         the paragraphs if the replaced paragraph is not the first one!
11211         Tried to delete not used paragraphs but does not work yet so for
11212         now it's inside #ifdef's and by default off!
11213
11214 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * MenuBackend.C: include "lyx_main.h" instead of declaring
11217         lastfiles (actually was declared as LastFiles* instead of a
11218         scoped_ptr).
11219
11220 2001-12-17  Juergen Vigna  <jug@sad.it>
11221
11222         * tabular.C (AppendColumn): applied John's fix
11223
11224 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * BufferView.h:
11227         * BufferView.C:
11228         * BufferView_pimpl.h:
11229         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11230
11231         * Makefile.am:
11232         * box.h: new start of class for above
11233
11234         * lyxfunc.C: ignore space-only minibuffer dispatches.
11235           Show the command name when it doesn't exist
11236
11237         * minibuffer.C: don't add empty lines to the history
11238
11239         * minibuffer.C: add a space on dropdown completion
11240
11241 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * text.C: fix line above/below drawing in insets
11244
11245 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * lyxlength.C (LyXLength): Initialize private variables.
11248
11249 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11250
11251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11252         when inserting error insets.
11253
11254 2001-12-13  Juergen Vigna  <jug@sad.it>
11255
11256         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11257         actually sometimes the before-paragraph.
11258         (setUndo): don't clear the redostack if we're not actually undoing!
11259
11260 2001-12-06  Juergen Vigna  <jug@sad.it>
11261
11262         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11263         and fixed redoing of main paragraph, so we can use it now ;)
11264
11265         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11266
11267 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11270         Juergen's request
11271
11272 2001-12-13  André Pönitz <poenitz@gmx.net>
11273
11274         * undostack.[Ch]:
11275         * undo_func.C: minor cleanup
11276
11277 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11278
11279         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11280         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11281         font in urw-fonts package which is marked as -urw-fontspecific and
11282         does not work (incidentally, changing the encoding in the
11283         fonts.dir of this package to -adobe-fontspecific fixes the
11284         problem).
11285
11286         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11287         is a crash when undoing first paragraph (Juergen, please take a
11288         look). THis does not mean the undo fix is wrong, just that it
11289         uncovers problems.
11290
11291         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11292         the (Paragraph*) version when needed instead of duplicating the
11293         code.
11294
11295         * text.C (workWidth): use Inset::parOwner to find out where the
11296         inset has been inserted. This is a huge performance gain for large
11297         documents with lots of insets. If Inset::parOwner is not set, fall
11298         back on the brute force method
11299
11300         * paragraph_pimpl.C (insertInset):
11301         * paragraph.C (Paragraph):
11302         (cutIntoMinibuffer): set parOwner of insets when
11303         inserting/removing them
11304
11305         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11306
11307 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11308
11309         * commandtags.h:
11310         * LyXAction.C:
11311         * lyx_main.C:
11312         * lyxfunc.C:
11313         * mathed/formulabase.C:
11314         * mathed/math_cursor.[Ch]:
11315         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11316
11317
11318 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * lyxlength.[Ch] (operator!=): new function
11321
11322 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * text.C (workWidth): use Inset::parOwner to find out where the
11325         inset has been inserted. This is a huge performance gain for large
11326         documents with lots of insets. If Inset::parOwner is not set, fall
11327         back on the brute force method
11328
11329         * paragraph_pimpl.C (insertInset):
11330         * paragraph.C (Paragraph):
11331         (cutIntoMinibuffer): set parOwner of insets when
11332         inserting/removing them
11333
11334         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11335
11336 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11337
11338         * tabular-old.C (getTokenValue):
11339         * tabular.C (getTokenValue):
11340         (write_attribute): new versions for LyXLength
11341         (everywhere): adjust the use of widths
11342
11343         * tabular.h: change the type of widths from string to LyXLength
11344
11345 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11346
11347         * paragraph.C: fixed missing line number count when exporting
11348         Environments to LaTeX file
11349
11350         * buffer.C: added informational message for checking line numbers.
11351
11352 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11355         paragraph, do the 'double space' part, but not the 'empty
11356         paragraph' one.
11357
11358         * text.C (workWidth): small optimization
11359         (getLengthMarkerHeight): use minimal size for negative lengths.
11360
11361 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11364
11365         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11366
11367 2001-12-11  André Pönitz <poenitz@gmx.net>
11368
11369         * FontLoader.C:
11370         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11371
11372 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * text2.C: keep selection on a setFont()
11375
11376 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * lyx_cb.C: another bv->text misuse, from insert label
11379
11380 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * kbsequence.h:
11383         * kbsequence.C: re-instate nmodifier mask
11384
11385 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11386
11387         * lyx_main.h: make lyxGUI private.
11388
11389 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * lyxfind.C: place the cursor correctly on failed search
11392
11393 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394
11395         * text.C (getLengthMarkerHeight): for small heights, the arrows
11396         are not always on top/bottom of the text
11397         (drawLengthMarker): smaller arrows; take the left margin in
11398         account; draw also vfills.
11399         (paintFirstRow):
11400         (paintLastRow): remove special code for vfill and standard spaces,
11401         since everything is handled in drawLengthMarker now.
11402
11403 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * buffer.C (insertErtContents): try to handle font and language
11406         interaction a bit better.g
11407
11408         * ColorHandler.C (updateColor): change the hash to cover the whole
11409         LColor enum, ws cleanup
11410         (getGCLinepars): ditto
11411         (getGCLinepars): only lookup in the linecache once.
11412
11413 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11414
11415         * iterators.C (operator++): Make the iterator more robust
11416
11417         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11418         (John's patch)
11419         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11420
11421 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * lyxtext.h:
11424         * text.C: better added space drawing
11425
11426 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * LyXView.C:
11429         * BufferView2.C: fix layout combo update on inset unlock
11430
11431 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * Makefile.am: don't compile unused files
11434
11435 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * lyxfunc.C:
11438         * commandtags.h:
11439         * LyXAction.C: remove old LFUN_LAYOUTNO
11440
11441 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * paragraph_pimpl.h:
11444         * paragraph_pimpl.C: isTextAt() doesn't need font param
11445
11446 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyxlex.h:
11449         * lyxlex.C: little cleanup
11450
11451 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * BufferView_pimpl.C: fix insertAscii for insets
11454
11455 2001-12-05  Juergen Vigna  <jug@sad.it>
11456
11457         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11458         set the right font on the "multi" paragraph paste!
11459
11460 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * trans_decl.h:
11463         * trans_mgr.[Ch]:
11464         * trans.[Ch]:
11465         * lyxgluelength.C:
11466         * lyxlength.C: remove out-commented code.
11467
11468         * BufferView_pimpl:
11469         * CutAndPaste.C:
11470         * DepTable.C:
11471         * buffer.C:
11472         * chset.C:
11473         * lastfiles.C:
11474         * lyxlex.C:
11475         * lyxlex_pimpl.C:
11476         * lyxserver.C:
11477         * screen.C:
11478         * tabular-old.C:
11479         * tabular.C:
11480         * text.C:
11481         * trans_mgr.C:
11482         * vc-backend.C: change "while(" to "while ("
11483
11484         * lyxlength.[Ch]: add zero function to check if length is zero or
11485         not
11486         * lyxgluelength.C: use it
11487
11488 2001-12-05  Allan Rae  <rae@lyx.org>
11489
11490         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11491         Works for 2.95.3, from what I understand of Garst's reports this should
11492         work for other g++ versions.  We're screwed if the abs(int) definition
11493         changed between bugfix releases of gcc.
11494
11495 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * text.C: fix chapter label offset !
11498
11499 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxtext.h:
11502         * text.C: fix hfill at end of line, clean up
11503
11504 2001-12-04  Juergen Vigna  <jug@sad.it>
11505
11506         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11507         that we force an update of the inset and it's owners if neccessary.
11508
11509 2001-12-03  Juergen Vigna  <jug@sad.it>
11510
11511         * text.C (rowLast): simplified code
11512
11513 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * lyxfunc.C: fix show options on timeout
11516
11517 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * screen.C (topCursorVisible): scroll half a page when the cursor
11520         reached top of bottom of screen
11521
11522 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * minibuffer.C: deactivate on loss of focus
11525
11526 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * vspace.[Ch] (operator!=): add operator.
11529
11530 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * BufferView_pimpl.C: refuse to open an inset when
11533         there's a selection.
11534
11535 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * BufferView_pimpl.C: allow to click on RHS of full row insets
11538
11539 2001-11-30  Juergen Vigna  <jug@sad.it>
11540
11541         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11542         insets for undo reasons.
11543
11544 2001-11-28  André Pönitz <poenitz@gmx.net>
11545
11546         * vspace.[Ch]: cosmetical changes
11547
11548 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * LyXAction.h:
11551         * LyXAction.C:
11552         * lyxfunc.h:
11553         * lyxfunc.C:
11554         * kbmap.h:
11555         * kbmap.C:
11556         * lyxrc.C:
11557         * kbsequence.h:
11558         * kbsequence.C: part re-write of old kb code
11559
11560         * Painter.C:
11561         * WorkArea.C: remove Lgb_bug_find_hack
11562
11563 2001-11-30  José Matos <jamatos@fep.up.pt>
11564
11565         * buffer.C (makeDocBookFile): add a comment to point a hack.
11566         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11567         Fixed a double write of labels.
11568
11569 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11570
11571         * LaTeX.C:
11572         * LaTeX.h Fixed bug in LaTeX class where it would not
11573         re-run latex if no depfiles were changed, but the .dvi was removed.
11574
11575 2001-11-28  André Pönitz <poenitz@gmx.net>
11576
11577         * all the files from the change on 2001/11/26:
11578         use lyx::layout_type instead of LyXTextClass::size_type
11579         use lyx::textclass_type instead of LyXTextClassList::size_type
11580
11581 2001-11-29  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C: added support for paragraph::isFreeSpacing()
11584
11585         * buffer.C: same as above
11586
11587         * paragraph.h: inserted isFreeSpacing() function to enable
11588         FreeSpacing inside InsetERT.
11589
11590         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11591         of the paragraph's in the cut/copy buffer to 0!
11592
11593         * text2.C (removeRow): remove the assert as it can!
11594
11595         * lyxtext.h: added helper function firstRow returning firstrow and
11596         made firstrow private again.
11597
11598         * BufferView2.C (lockInset): don't relock if we're already locked!
11599
11600         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11601         the only paragraph.
11602         (removeRow): added Assert::(firstrow)
11603
11604         * debug.C: forgot to add INSETTEXT here.
11605
11606 2001-11-28  Juergen Vigna  <jug@sad.it>
11607
11608         * sp_spell.C (initialize): changed error text to more general
11609         spellchecker command use (not only ispell!)
11610
11611         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11612
11613         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11614
11615 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * vspace.C: initialise lyxgluelength on failure
11618
11619 2001-11-28  Allan Rae  <rae@lyx.org>
11620
11621         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11622         declaration & definition that looks like a function declaration.
11623
11624 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * BufferView2.C (copy):
11627         (copyEnvironment): do not clear the selection when doing a copy.
11628
11629         * text.C (paintFirstRow): compilation fix
11630
11631 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11632
11633         * tabular.C (Latex): correct line count when writing latex.
11634
11635 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * paragraph_pimpl.h:
11638         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11639           bug a bit
11640
11641 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * text.C:
11644         * LColor.h:
11645         * LColor.C: change vfillline->added_space
11646
11647         * text.C: add markers and text for added space
11648
11649         * vspace.C: fix comment
11650
11651 2001-11-28  André Pönitz <poenitz@gmx.net>
11652
11653         * paragraph.C: whitespace changes
11654         * all the other files from the change on 2001/11/26:
11655         change *::pos_type into lyx::pos_type
11656
11657 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11658
11659         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11660         language of the document when inserting error insets.
11661
11662 2001-11-26  André Pönitz <poenitz@gmx.net>
11663
11664         * BufferView_pimpl.[Ch]:
11665         *       CutAndPaste.C:
11666         * buffer.[Ch]:
11667         * lyxcursor.[Ch]:
11668         * lyxfind.C:
11669         * lyxfunc.C:
11670         * lyxrow.[Ch]:
11671         * paragraph.[Ch]:
11672         * paragraph_pimpl.[Ch]:
11673         * sp_spell.C:
11674         * text.C:
11675         * text2.C: reduce header dependencies, introduce type for positions
11676
11677 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * <various>: change to use Alert.h
11680
11681 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11682
11683         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11684         when encountering an unknown token.
11685         (readLyXformat2): Show an error message if there were unknown tokens.
11686
11687 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * BufferView2.C:
11690         * BufferView_pimpl.C:
11691         * buffer.C:
11692         * paragraph.h:
11693         * text.C:
11694         * text2.C: use par->isInset()
11695
11696 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * paragraph_pimpl.h:
11699         * paragraph_pimpl.C: cleanup
11700
11701 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11702
11703         * text2.C (removeRow):
11704         * text.C (setHeightOfRow): remove useless (and costly) call to
11705         getRow.
11706
11707 2001-11-20  Allan Rae  <rae@lyx.org>
11708
11709         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11710         Now need Inset*::checkInsertChar() to return true for appropriate
11711         cases so that the characters in the minibuffer will actually be
11712         inserted.
11713
11714 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * text.C: change the order of the includes.
11717         (workWidth): initialize it at once.
11718         (workWidth): make maxw unsigned
11719         (setHeightOfRow): remove unused variable (inset)
11720         (selectSelectedWord): remove unused variable (inset)
11721         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11722
11723 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11724
11725         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11726         server is not running.
11727         (openConnection):
11728         (closeConnection): add debug info when server is disabled.
11729
11730         * ColorHandler.C (getGCForeground): send debug message to GUI
11731         channel.
11732
11733         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11734
11735         * kbmap.C (bind): modify because return conventions of
11736         kb_sequence::parse have changed.
11737
11738         * kbsequence.C (parse): only ignore spaces and not any stupid
11739         control character. This avoids tests like s[i] <= ' ', which are
11740         guaranteed to fail with 8bit characters and signed chars.
11741         Change return code to string::npos when there have been no error
11742         (0 was a bad idea when error is at first character)
11743
11744 2001-11-14  José Matos  <jamatos@fep.up.pt>
11745
11746         * buffer.h:
11747         * buffer.C (simpleDocBookOnePar): removed unused argument.
11748
11749 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11752         insets which are part of a word. Paragraph::isLetter takes care of
11753         that now. Use Paragraph::isInset to identify insets.
11754         (selectSelectedWord): do not test for hyphenation break.
11755
11756         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11757         that protected spaces are considered as spaces.
11758
11759         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11760         Inset::isLetter.
11761
11762 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * lyxserver.h:
11765         * lyxserver.C: fix it. and small cleanup.
11766
11767 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * BufferView_pimpl.C: use inline helpers
11770
11771         * LaTeXFeatures.h:
11772         * LaTeXFeatures.C: fix typos
11773
11774         * Spacing.h:
11775         * Spacing.C: move spacing_string into class
11776
11777         * ToolbarDefaults.C: move stuff into namespace anon
11778
11779         * layout.h: update enum
11780
11781         * lyxfunc.C: use better debug
11782
11783         * minibuffer.h: fix typo
11784
11785         * debug.h:
11786         * debug.C:
11787         * WorkArea.C: add and use Debug::WORKAREA
11788
11789         * lyxtext.h:
11790         * text.C:
11791         * text2.C: code re-organisation, inline helpers
11792
11793 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11794
11795         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11796         std::vector.empty().
11797
11798 2001-11-09  Allan Rae  <rae@lyx.org>
11799
11800         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11801         '\n's after tables.  Tabular and ERT inset work now makes this no
11802         longer necessary.
11803
11804 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * minibuffer.h:
11807         * minibuffer.C: fix crash, improve drop-down completion
11808
11809 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * lyxserver.h:
11812         * lyxserver.C: invalidate fd's when doing endPipe()
11813
11814 2001-11-08  José Matos  <jamatos@fep.up.pt>
11815
11816         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11817         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11818
11819         * paragraph.h:
11820         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11821
11822 2001-11-07  José Matos  <jamatos@fep.up.pt>
11823
11824         * buffer.h:
11825         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11826         const qualifier.
11827
11828         * buffer.C (sgmlOpenTag):
11829         * buffer.C (sgmlCloseTag): removed debug info.
11830
11831         * buffer.h (sgmlOpenTag):
11832         * buffer.h (sgmlCloseTag): made public.
11833
11834 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11835
11836         * buffer.C (saveParamsAsDefaults):
11837         * lyx_cb.C (MenuLayoutSave): remove
11838
11839         * LyXAction.C (init):
11840         * commandtags.h:
11841         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11842
11843 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * buffer.C (setPaperStuff): removed from here...
11846
11847         * bufferparams.C (setPaperStuff): ... and moved there.
11848
11849 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * minibuffer.h:
11852         * minibuffer.C:
11853         * XFormsView.C: add support for drop-down completion
11854
11855 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11856
11857         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11858         commands.
11859
11860 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11861
11862         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11863         disabled.
11864
11865 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * lyx_main.C: change ref to known bugs
11868
11869 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11870
11871         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11872         to work around older babel problems.
11873
11874 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11875
11876         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11877
11878 2001-10-24  Juergen Vigna  <jug@sad.it>
11879
11880         * tabular-old.C (ReadOld): below variable changes reflected.
11881
11882         * tabular.[Ch]: added ltType struct for longtable header/footer
11883         defines and changed all instances where they are used. Added
11884         future support for double top/bottom rows.
11885
11886 2001-10-24  José Matos  <jamatos@fep.up.pt>
11887
11888         * buffer.h (docbookHandleCaption):
11889         * buffer.C (docbookHandleCaption): removed unused function.
11890         (makeDocBookFile): moved docbook supported version to v4.1.
11891
11892 2001-10-24  José Matos  <jamatos@fep.up.pt>
11893
11894         * tabular.h:
11895         * tabular.C (docbookRow): new function to export docbook code of a row.
11896         (DocBook): now honors the longtable flags.
11897
11898 2001-10-23  José Matos  <jamatos@fep.up.pt>
11899
11900         * LaTeXFeatures.h:
11901         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11902         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11903
11904         * buffer.C (makeLinuxDocFile):
11905         (makeDocBookFile): reworked the preamble, more clean, and with
11906         support for lyx defined entities. Changed the document declaration
11907         to be more XML friendly.
11908
11909         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11910         if we need to output XML that should be done with a filter.
11911
11912 2001-10-22  Juergen Vigna  <jug@sad.it>
11913
11914         * sp_pspell.h (class PSpell): add alive function needed in the
11915         controller to see if the spellchecker could be started.
11916
11917 2001-10-22  Juergen Vigna  <jug@sad.it>
11918
11919         * buffer.C (insertStringAsLines): modify the font for inserting
11920         chars in certain conditions by calling checkInsertChar(font).
11921
11922 2001-10-19  Juergen Vigna  <jug@sad.it>
11923
11924         * text.C (workWidth): use getRow instead of wrong algorithm.
11925         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11926
11927 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyxserver.h:
11930         * lyxserver.C:
11931         * lyx_main.h:
11932         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11933
11934 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11935
11936         * text.C (workWidth): do not search for the exact row when
11937         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11938         optimization for big documents.
11939
11940 2001-10-18  Juergen Vigna  <jug@sad.it>
11941
11942         * text.C (workWidth): new function with added Inset * parameter.
11943
11944 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11945
11946         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11947
11948         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11949         change return type of getColumnNearX.
11950
11951
11952         * text.C (changeRegionCase): use uppercase/lowercase instead of
11953         toupper/tolower.
11954         (leftMargin):
11955         (rightMargin): simplify code by factoring out the uses of
11956         textclasslist.
11957         (labelFill):
11958         (numberOfHfills):
11959         (setHeightOfRow):
11960         (appendParagraph): use Paragraph::size_type
11961
11962 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11963
11964         * vspace.C (asLatexString): add a missing break
11965
11966 2001-10-15  Herbert Voss  <voss@perce.de>
11967
11968         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11969
11970 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11971
11972         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11973         is not available.
11974
11975 2001-10-10  André Pönitz <poenitz@gmx.net>
11976
11977         * lyxfunc.C: removed greek_kb_flag.
11978
11979 2001-10-10  Herbert Voss  <voss@perce.de>
11980
11981         * lyx_main.C: delete global string help_lyxdir.
11982
11983 2001-10-09  Herbert Voss  <voss@perce.de>
11984
11985         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11986
11987         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11988
11989         * lyx_main.C: added global string help_lyxdir.
11990
11991         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11992
11993 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11994
11995         * lyxrc.C (set_font_norm_type): support iso8859-4
11996
11997 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11998
11999         * LaTeX.C (deplog): add another regex for MikTeX
12000
12001 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12002
12003         * lyxrc.C (set_font_norm_type): support iso8859-3
12004
12005 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12008
12009         * LaTeXFeatures.C: remove special case of french and index
12010
12011         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12012         before \begin{document}). This solves several incompatibilities.
12013
12014 2001-10-03  Garst Reese  <reese@isn.net>
12015
12016         * lyx_cb.C: change CheckTex error msg.
12017
12018 2001-10-03  José Matos  <jamatos@fep.up.pt>
12019
12020         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12021
12022 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * .cvsignore: update
12025
12026         * lyx_main.C (commandLineVersionInfo): use new style version info.
12027
12028         * buffer.C (writeFile):
12029         (makeLaTeXFile):
12030         (makeLinuxDocFile):
12031         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12032
12033         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12034
12035         * version.h: update to use stuff in version.C
12036
12037         * version.C.in: new file. Contains version information determined
12038         at compile time. This is a merging of version.h and
12039         version_info.h.in.
12040
12041 2001-10-03  Juergen Vigna  <jug@sad.it>
12042
12043         * BufferView_pimpl.C (update): don't change "dirty" status in
12044         updateInset call.
12045
12046 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12047
12048         * WorkArea.C (c-tor): re-position version string slightly.
12049
12050 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12053         revert to previous code.
12054
12055         WorkArea.[Ch]: (show, destroySplash): methods removed.
12056
12057         WorkArea.C: rework code so that it's an amalgam of the codes before and
12058         after the splash screen was moved to WorkArea.
12059
12060 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12061
12062         * lyxrc.C (read):
12063         * vspace.C (inPixels):
12064         (lyx_advance):
12065         * kbmap.C (bind):
12066         * buffer.C (insertStringAsLines):
12067         (asciiParagraph): fix types to be large enough
12068
12069         * lyxlex_pimpl.h: change member status from short to int
12070
12071         * layout.h: fix type of endlabeltype
12072
12073         * kbmap.C (bind):
12074         * kbsequence.C (parse): change return type to string::size_type
12075
12076         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12077         variable
12078
12079         * Bullet.C (bulletSize):
12080         (bulletEntry): do not use short ints as parameters
12081
12082         * BufferView2.C (insertLyXFile): change a char to an int.
12083
12084         * WorkArea.C (WorkArea): remove unneeded floats in computation
12085
12086 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12087
12088         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12089
12090         * paragraph.C (asString): Do not ignore newline/hfill chars when
12091         copying to the clipboard.
12092
12093 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12096         after a multi-line inset.
12097
12098 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12099
12100         * paragraph.C (validate): Set NeedLyXFootnoteCode
12101
12102 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12103
12104         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12105         and decrease-error to decrease.
12106
12107 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12108
12109         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12110         it more readable (should be equivalent)
12111
12112 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12113
12114         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12115
12116 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12117
12118         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12119         of a cursor (row, etc.) after a character has been deleted
12120         (deleteEmptyParagraphMechanism): call the method above on _all_
12121         cursors held by the LyXText when a double space has been
12122         detected/deleted.
12123
12124 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12125
12126         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12127         pixmap.
12128         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12129
12130         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12131         background. Use greyOut() and the new show() methods to toggle between
12132         the foreground and background. Add code to remove the splash after
12133         its initial showing.
12134
12135         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12136         (create_forms): no longer call Dialogs::showSplash.
12137
12138 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * .cvsignore: add version_info.h
12141
12142 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12143
12144         * version_info.h.in: new file
12145
12146         * Makefile.am: add version_info.h.in
12147
12148         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12149         version_info.h instead of VERSION_INFO
12150
12151 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12152
12153         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12154         The ERT inset now returns string().
12155
12156 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * lyxtext.h, text.C (selectNextWord): renamed as
12159         selectNextWordToSpellcheck.
12160
12161         * text.C (selectNextWordToSpellcheck): Modified to not select
12162         words inside an ERT inset.
12163
12164 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * lyx_cb.C (MenuLayoutSave): change a bit the question
12167
12168         * sp_base.h: include <sys/types.h>
12169
12170 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12173
12174 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12175
12176         * several files: fix typos in user-visible strings
12177
12178 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * text2.C (pasteSelection): do not set the selection, since it
12181         will be cleared later. Actually, the intent was to fix the way the
12182         selection was set, but I figured rmoving the code was just as good.
12183
12184 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * FontLoader.C (available): Check if font is available without
12187         loading the font.
12188
12189 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12190
12191         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12192
12193 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * lyxrc.[Ch]: added display_graphics variable and associated code.
12196
12197 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12198
12199         * bufferparams.C (hasClassDefaults): new method. Returns true if
12200         the buffer parameters correspond to known class defaults
12201
12202 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * XFormsView.C (show): set minimum size to the main window.
12205
12206 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12207
12208         * text2.C (copySelection):
12209         (cutSelection):
12210         * lyxfind.C (LyXReplace):
12211         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12212         LyXText::selectionAsString.
12213
12214         * paragraph.C (asString): add "label" argument to the second form
12215
12216         * text2.C (selectionAsString): add "label" argument and pass it to
12217         Paragraph::asString.
12218
12219 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * lyx_main.C (commandLineHelp): remove version information
12222
12223 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12224
12225         * lyx_main.C: add -version commandline option
12226
12227 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * paragraph.h: make the optional constructor arg required instead.
12230         some modifications to other files because of this.
12231
12232         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12233
12234         * lyxserver.C (C_LyXComm_callback): make it static
12235
12236         * lyx_main.C (error_handler): make it static
12237
12238         * lyx_gui.C (LyX_XErrHandler): make it static
12239
12240         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12241
12242         * WorkArea.C: make the extern "C" methods static.
12243
12244         * Makefile.am (lyx_LDADD): simplify
12245
12246 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12247
12248         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12249         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12250
12251         * LyXAction.C (init):
12252         * lyxfunc.C (dispatch): associated code removal.
12253
12254 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12255
12256         * lyxfont.h (isSymbolFont): shut off warning
12257
12258         * text.C (setHeightOfRow):
12259         (getVisibleRow): fix crash with empty paragraphs which have a
12260         bottom line
12261
12262 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12263
12264         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12265         code.
12266
12267 2001-09-04  José Matos  <jamatos@fep.up.pt>
12268         * buffer.C
12269         * buffer.h
12270         * tabular.C (docbook): rename docBook method to docbook.
12271
12272 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * Makefile.am: add dependencies to main.o.
12275
12276 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12277
12278         * FontLoader.C (available): Return false if !lyxrc.use_gui
12279
12280 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12281
12282         * FontInfo.C (query):
12283         * converter.C (view):
12284         * importer.C (Import):
12285         * exporter.C (Export): Can not -> cannot.
12286
12287 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * BufferView_pimpl.C: allow to create index inset even if
12290           string is empty
12291
12292 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * buffer.C (getLists): replace boost::tie code with an explicit pair
12295         as boost::tie can break some compilers.
12296
12297         * iterators.h: Added a std:: declaration to the return type of
12298         ParIterator::size.
12299
12300 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12303           case.
12304
12305 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12306
12307         * iterators.[Ch]: New files. Provide paragraph iterators.
12308
12309         * buffer.C (changeLanguage): Use paragraph iterators.
12310         (isMultiLingual): ditto
12311
12312         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12313
12314 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * FontLoader.C: Support for cmr font.
12317
12318 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12319
12320         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12321         (available): New method.
12322
12323         * FontInfo.C (getFontname): Use scalable fonts even when
12324         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12325         found.
12326
12327 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12328
12329         * converter.C (Formats::view): reverted! Incorrect fix.
12330
12331 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * converter.C (Formats::view): only output the -paper option
12334         if the dvi viewer is xdvi, thereby fixing bug #233429.
12335
12336 2001-08-23  Herbert Voss  <voss@perce>
12337
12338         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12339
12340 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12341
12342         * Spacing.h (Spacing): Set space to Default on in the default
12343         constructor.
12344
12345 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * vc-backend.h (RCS::versionString): add RCS to version
12348         (CVS::versionString): add CVS to version
12349
12350         * vc-backend.C (scanMaster): do not add CVS to version.
12351         (scanMaster): do not add RCS to version
12352
12353         * lyxvc.C (versionString): new method
12354
12355         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12356
12357 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * Spacing.C (set): initialize fval
12360
12361 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12362
12363         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12364         " or \.
12365
12366 2001-08-16  Juergen Vigna  <jug@sad.it>
12367
12368         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12369
12370 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * BufferView_pimpl.C:
12373         * figureForm.C:
12374         * lyxtext.h:
12375         * text2.C: setParagraph takes linespacing now
12376
12377 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * LyxAction.C: add internal LFUN_CITATION_INSERT
12380
12381         * LyXView.C: actually apply fix
12382
12383         * bufferlist.C: fix open non-existent file
12384
12385         * lyxfind.C: fix indentation
12386
12387         * lyxfunc.C: remove unneeded assert, fix typo
12388
12389 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * MenuBackend.C: use "Floatname List"
12392
12393 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12396         when converting LaTeX layout to insetERT.
12397         Generate a non-collapsed float when reading old float
12398
12399 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12400
12401         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12402         ERT insets.
12403
12404 2001-08-13  Juergen Vigna  <jug@sad.it>
12405
12406         * text.C (fill): return 0 instead of 20 as this seems to be the more
12407         correct value.
12408
12409 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12410
12411         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12412         lyxrc.font_norm.
12413
12414 2001-08-13  Juergen Vigna  <jug@sad.it>
12415
12416         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12417         casesensitive off.
12418         (SearchBackward): comment out the unlocking of the inset_owner this
12419         should not be needed!
12420
12421 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12422
12423         * Many files: Remove inherit_language, and add latex_language
12424
12425         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12426         collapsible insets.
12427
12428 2001-08-10  Juergen Vigna  <jug@sad.it>
12429
12430         * text.C (prepareToPrint): fixed hfill-width in draw!
12431
12432         * BufferView2.C (selectLastWord): save the selection cursor as this
12433         now is cleared in the function LyXText::clearSelection!
12434
12435 2001-08-08  Juergen Vigna  <jug@sad.it>
12436
12437         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12438         BACKSPACE type functions.
12439
12440         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12441         is only cutted from the document but not put in the cut-buffer, where
12442         still the old stuff should be.
12443
12444         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12445
12446         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12447
12448         * tabular.C (SetWidthOfCell): fixed special case where the width
12449         was not updated!
12450         (LeftLine): handle '|' in align_special.
12451         (RightLine): ditto
12452         (LeftAlreadyDrawed): ditto
12453         (SetWidthOfCell): ditto
12454
12455 2001-08-07  Juergen Vigna  <jug@sad.it>
12456
12457         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12458
12459 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12462         * lyxlex.[hC]: ditto
12463
12464 2001-08-06  Juergen Vigna  <jug@sad.it>
12465
12466         * text.C (getVisibleRow): fix up row clearing a bit.
12467
12468 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * minibuffer.C: make sure the X server sees the changes in the input.
12471
12472 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * paragraph.C (getFont): split into...
12475         (getLabelFont): this
12476         (getLayoutFont): and this
12477         * paragraph_pimpl.C (realizeFont): calling this
12478
12479         * text2.C (getFont): split into...
12480         (getLayoutFont): this
12481         (getLabelFont): and this
12482         (realizeFont): all three calling this
12483
12484         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12485         files where used.
12486
12487 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12490
12491 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12492
12493         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12494         layouts from the Quote inset insertion.
12495
12496 2001-08-03  Juergen Vigna  <jug@sad.it>
12497
12498         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12499
12500         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12501         only if status not is already CHANGED_IN_DRAW (second level).
12502
12503         * text.C (draw): don't set the need_break_row when inside an
12504         InsetText LyXText.
12505
12506 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * buffer.C (parseSingleLyXformat2Token): handle more latex
12509         conversion cases.
12510
12511         * bufferview_funcs.[hC]: change function names to
12512         begin with small char, adjust other files.
12513
12514 2001-08-02  André Pönitz <poenitz@gmx.net>
12515
12516         * lyxfunc.C:
12517         BufferView_pimpl.C: remove broken special code for math-greek
12518
12519 2001-08-02  Juergen Vigna  <jug@sad.it>
12520
12521         * BufferView_pimpl.C (update): redone this function so that we
12522         update the text again if there was a CHANGE_IN_DRAW.
12523
12524         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12525         (drawFromTo): added a new internal bool which is used by draw() and
12526         redraw() function.
12527         (general): some cursor drawing problems fixed.
12528
12529 2001-08-01  Juergen Vigna  <jug@sad.it>
12530
12531         * lyxfind.C (LyXFind): fixed
12532         (SearchForward): ditto
12533         (SearchBackward): ditto
12534
12535         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12536         spurius drawing of the cursor in the main area.
12537
12538         * text2.C (status): small fix which could lead to a segfault!
12539         (clearSelection): remove unneeded BufferView param.
12540
12541 2001-08-01  André Pönitz <poenitz@gmx.net>
12542
12543         * lyxfunc.C: small change due to changed mathed interface
12544
12545 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12546
12547         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12548
12549 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyxfunc.c: fail gracefully if file doesn't exist
12552
12553         * LyXSendto.C:
12554         * buffer.C:
12555         * lyxfunc.C:
12556         * BufferView_pimpl.C: IsDirWriteable() proto changed
12557
12558         * LyXView.C: fix updateWindowTitle() to store the last title
12559
12560 2001-07-31  Juergen Vigna  <jug@sad.it>
12561
12562         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12563         the font (wrong since using of Paragraph::highestFontInRange).
12564
12565         * paragraph.C (highestFontInRange): added a default_size parameter.
12566
12567         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12568         (setHeightOfRow): reformat
12569
12570 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * converter.[hC] + affected files: move to (inital-char)lowercase
12573         function names.
12574
12575         * ParagraphParameters.C (ParagraphParameters): remove commented code
12576
12577         * PainterBase.[Ch]: remove commented code
12578
12579         * LaTeXFeatures.h: add "bool floats" for float.sty
12580
12581         * LaTeXFeatures.C (LaTeXFeatures): init floats
12582         (require): handle float
12583         (getPackages): do it with floats
12584
12585 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12586
12587         * BufferView_pimpl.C (Dispatch): improve handling of
12588         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12589
12590         * commandtags.h: #include lyxfont.h here temporarily to avoid
12591         keybinding bug.
12592
12593         * bufferlist.h: include LString.h here.
12594
12595 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * text2.C (getStringToIndex): new method.
12598
12599 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12600
12601         * *: Reduced header file dependencies all over.
12602
12603 2001-07-30  Baruch Even  <baruch@lyx.org>
12604
12605         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12606
12607 2001-07-29  Baruch Even  <baruch@lyx.org>
12608
12609         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12610
12611 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12612
12613         * ParameterStruct.h (endif): add a default constructor to make
12614         sure that all variables is initialized.
12615
12616         * ParagraphParameters.C (ParagraphParameters): adjust
12617
12618 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12619
12620         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12621         index; also, check that there is something to index, and that it
12622         does not span over several paragraphs.
12623         (doubleClick): use WHOLE_WORD_STRICT for double click.
12624
12625         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12626
12627         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12628         scheme.
12629
12630 2001-07-26  Baruch Even  <baruch@lyx.org>
12631
12632         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12633         an InsetFig figure, backwards compatible reading of old figure code.
12634
12635 2001-07-27  Juergen Vigna  <jug@sad.it>
12636
12637         * text2.C: font.realize function adaption.
12638
12639         * text.C (draw): add a warnings lyxerr text if needed.
12640
12641         * layout.C: font.realize function adaption.
12642
12643         * language.C: add inherit_language and implement it's handlings
12644
12645         * bufferview_funcs.C (StyleReset): remove language parameter from
12646         font creation (should be language_inherit now).
12647
12648         * bufferparams.C (writeFile): handle ignore_language.
12649
12650         * paragraph.C (getFontSettings): the language has to be resolved
12651         otherwise we have problems in LyXFont!
12652
12653         * lyxfont.C (lyxWriteChanges): added document_language parameter
12654         (update): removed unneeded language parameter
12655
12656         * paragraph.C (validate): fixed wrong output of color-package when
12657         using interface colors for certain fonts in certain environments,
12658         which should not seen as that on the final output.
12659
12660 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * BufferView_pimpl.C:
12663         * Thesaurus.h:
12664         * Thesaurus.C:
12665         * Makefile.am:
12666         * commandtags.h:
12667         * LyXAction.C: add thesaurus support
12668
12669         * lyxfind.h:
12670         * lyxfind.C: add "once" parameter, for thesaurus, to not
12671           move to the next match
12672
12673 2001-07-26  Juergen Vigna  <jug@sad.it>
12674
12675         * lyxfont.C (realize): honor ignore_language too!
12676         (resolved): ditto.
12677
12678         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12679
12680         * text.C (draw): one place more for ignore_language to not draw
12681         itself!
12682
12683 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12686
12687 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12690         the minipage conversion problem.
12691
12692 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12695         insert an inset.
12696
12697 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * BufferView.h: don't forward declare WorkArea
12700
12701         * BufferView.C: don't include WorkArea.h
12702
12703 2001-07-25  André Pönitz <poenitz@gmx.net>
12704
12705         * commandtags.h:
12706         * LyXAction.C:
12707         * lyxfunc.C:  new LFUN 'math-space'
12708
12709         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12710
12711 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * text2.C (toggleInset): call open/close
12714
12715 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * lyxfunc.C (dispatch): add debug for the disabled case
12718
12719         * font.C (buttonText): make similar to rectText
12720
12721         * buffer.C (readInset): comment out parsing of insetlist and
12722         insttheorem
12723
12724         * PainterBase.C (rectText): small correction
12725
12726         * BufferView_pimpl.C: comment out insettheorem and insetlist
12727         * LyXAction.C: ditto
12728         * commandtags.h: ditto
12729
12730 2001-07-24  Juergen Vigna  <jug@sad.it>
12731
12732         * text.C (draw): honor the ignore_language.
12733
12734         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12735
12736 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12739         char inset.
12740
12741 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12742
12743         * lyxtext.h: remove unused (and unimplemented) methods
12744
12745 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12746
12747         * text.C (getVisibleRow): honor background color
12748
12749         * PainterBase.h:
12750         * Painter.h: remove default color argument for fillRectangle
12751
12752         * text.C (backgroundColor): new method
12753
12754 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * text.C (getVisibleRow): adjust
12757
12758         * font.[Ch] (rectText): new method, metrics
12759         (buttonText): new method, metrics
12760
12761         * PainterBase.[hC]: make rectText and buttonText always draw and take
12762         fewer paramteres.
12763
12764 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12765
12766         * ToolbarDefaults.C (read):
12767         * MenuBackend.C (read): allow escaping in all strings
12768
12769         * BufferView_pimpl.C (insertAndEditInset): new method.
12770         (Dispatch): use insertAndEditInset whenever appropriate.
12771
12772         * BufferView_pimpl.C (insertNote): removed
12773
12774         * BufferView_pimpl.C (smartQuote): new method, moved from
12775         BufferView; if an insetquote cannot be inserted, insert a '"'
12776         character instead.
12777
12778         * BufferView2.C: remove insertCorrectQuote();
12779
12780         * lyxfunc.C (getStatus): Add support for all remaingin
12781         inset-insert lfuns.
12782
12783         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12784
12785         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12786         command (necessary to pass " as parameter of self-insert.
12787
12788         * text.C (selectWordWhenUnderCursor):
12789         (selectWord): add word_location parameter
12790         (selectWordWhenUnderCursor): same + remove special code for word
12791         boundary.
12792         (selectNextWord): use kind() to guess type of insetspecialchar,
12793         not latex().
12794
12795         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12796         (insertErtContents): create ert insets as collapsed.
12797         (readInset): better compatibility code for Info inset.
12798
12799 2001-07-20  Juergen Vigna  <jug@sad.it>
12800
12801         * lyxfunc.C (dispatch): use always LyXFind now!
12802
12803         * text2.C (init): add a reinit flag so that the LyXText can be
12804         reinited instead of deleted and reallocated (used in InsetText).
12805
12806         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12807
12808         * text.C: ditto
12809
12810         * text2.C: ditto
12811
12812 2001-07-18  Juergen Vigna  <jug@sad.it>
12813
12814         * text.C (selectNextWord): handle insets inside inset by calling
12815         always the bv->text functions so that we can go up the_locking_inset!
12816
12817         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12818         in strange locations when inside an inset!
12819
12820         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12821         handling to include insets.
12822
12823         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12824
12825 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * LyXAction.C (init):
12828         * commandtags.h:
12829         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12830         LIGATURE_BREAK, since the name is so stupid.
12831
12832 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12833
12834         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12835         InsetInfos.
12836
12837         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12838
12839         * sp_form.[Ch]: remove.
12840
12841         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12842
12843         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12844         InsetInfo.
12845
12846         * src/buffer.C (readInset): ditto.
12847
12848 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12849
12850         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12851         menuSeparator(), endOfSentenceDot(), ldots() and
12852         hyphenationPoint(), which are therefore removed.
12853         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12854
12855         * LyXAction.C (init):
12856         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12857
12858         * paragraph.C (getWord): removed.
12859
12860         * BufferView_pimpl.C (Dispatch): use last word or selection for
12861         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12862
12863         * lyx_main.C (queryUserLyXDir): do not ask before creating
12864         user_dir, except if it has been named explicitely.
12865
12866 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12867
12868         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12869         a document of zero size.
12870
12871 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12872
12873         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12874         approriately in the c-tor and in require().
12875         (getPackages): output the appropriate LaTeX for natbib support.
12876
12877         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12878         variables "use_natbib" and "use_numerical_citations" when reading the
12879         LyX file.
12880         (readInset): read the various natbib cite commands.
12881         (validate): white-space change.
12882
12883         * bufferparams.[Ch]: new variables "bool use_natbib" and
12884         "bool use_numerical_citations".
12885         (writeFile): output them in the LyX file.
12886
12887 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12888
12889         * lyxfunc.C (getStatus): add support for all the inset insertion
12890         commands.
12891
12892         * text2.C (insertInset):
12893         * paragraph.C (insetAllowed):
12894         * BufferView_pimpl.C (insertInset): update to take in account the
12895         renaming of insertInsetAllowed
12896
12897         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12898
12899         * text2.C (getInset): new method. returns inset at cursor position.
12900
12901         * BufferView_pimpl.C (Dispatch): changes because of this.
12902
12903         * LyXAction.C (init): rename open-stuff to inset-toggle.
12904
12905         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12906
12907         * text2.C (toggleInset): renamed from openStuff; use
12908         Inset::open().
12909
12910 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12911
12912         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12913
12914         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12915
12916 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12917
12918         * buffer.C (readLyXformat2): Add filename to the error dialog
12919
12920 2001-07-18  Juergen Vigna  <jug@sad.it>
12921
12922         * tabular.C (GetCellNumber): put an assert here instead of the check!
12923
12924 2001-07-17  Juergen Vigna  <jug@sad.it>
12925
12926         * BufferView_pimpl.C (toggleSelection): adapted too.
12927
12928         * text.C (selectNextWord): adapted for use with insets.
12929         (selectSelectedWord): ditto
12930
12931 2001-07-17  Juergen Vigna  <jug@sad.it>
12932
12933         * sp_spell.C (PSpell): fix initialitation order.
12934
12935 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * paragraph.C: spacing
12938
12939 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12940
12941         * sp_spell.C: repair language selection for pspell
12942
12943 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * lyxfunc.h: change more methods to begin with lower char.
12946
12947 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12950         for unknown layouts.
12951
12952 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12953
12954         * buffer.C (readLyXformat2): Generate an error dialog if there are
12955         unknown layouts.
12956
12957 2001-07-16  Juergen Vigna  <jug@sad.it>
12958
12959         * sp_spell.C: always compile ISpell part.
12960
12961         * lyxrc.C: added use_pspell entry and it's handling.
12962
12963 2001-07-13  Juergen Vigna  <jug@sad.it>
12964
12965         * sp_spell.C: removed double includes.
12966
12967 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         Consistent use of Lsstream.h:
12970         * Lsstream.h: added using std::stringstream for consistencies sake.
12971
12972         * buffer.C: removed using std::stringstream
12973
12974         * lyxfont.C (stateText):
12975         * paragraph.C (asString):
12976         * text.C (selectNextWord, selectSelectedWord):
12977         * text2.C (setCounter):
12978         * vspace.C (asString, asLatexString):
12979         std::ostringstream -> ostringstream.
12980
12981 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12982
12983         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12984         * commandtags.h: add LFUN_HELP_ABOUTLYX
12985         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12986
12987 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12988
12989         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12990         cursorToggle()
12991         * lyx_gui_misc.C: remove spellchecker
12992         * lyxfunc.C: showSpellchecker
12993         * sp_base.h: added
12994         * sp_ispell.h: added
12995         * sp_pspell.h: added
12996         * sp_spell.C: added
12997         * sp_form.[Ch]: removed
12998         * spellchecker.[Ch]: removed
12999
13000 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13001
13002         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13003         is set.
13004         (simpleTeXSpecialChars): Simply print the input character without
13005         any special translation if pass_thru is set.
13006
13007         * layout.h: Added bool pass_thru to layout class for being able to
13008         implement pass through of a paragraph for Literate Programming.
13009
13010         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13011         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13012         * layout.C (Read): add "passthru" to list of layout tags and add
13013         code to set the pass_thru boolean when it is read.
13014
13015 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * trans_decl.h: remove allowed from KmodInfo
13018
13019         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13020         remove allowed code
13021         (Load): adjust
13022
13023         * paragraph_pimpl.C (erase): use boost::prior
13024
13025         * Painter.C (text): use data() instead of c_str() when length is
13026         also provided.
13027         * WorkArea.C (putClipboard): ditto
13028         * font.h (width): ditto
13029
13030         * BufferView2.C: use it-> instead of (*it). for iterators
13031         * texrow.C: ditto
13032         * paragraph_pimpl.C: ditto
13033         * paragraph.C: ditto
13034         * minibuffer.C: ditto
13035         * language.C: ditto
13036         * kbmap.C: ditto
13037         * encoding.C: ditto
13038         * counters.C: ditto
13039         * converter.C: ditto
13040         * chset.C: ditto
13041         * Variables.C: ditto
13042         * TextCache.C: ditto
13043         * MenuBackend.C: ditto
13044         * LyXAction.C: ditto
13045         * LColor.C: ditto
13046         * FloatList.C: ditto
13047         * DepTable.C: ditto
13048         * ColorHandler.C (LyXColorHandler): ditto
13049
13050 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13053
13054         * text2.C (openStuff): reintroduce this method (which had been
13055         nuked in NEW_INSETS frenzy).
13056
13057         * lyxfunc.C (Dispatch): when an action has not been handled, use
13058         its name in the error message, not its number.
13059
13060         * paragraph.C (inInset): change method name to begin with lowercase.
13061
13062         * undo_funcs.C:
13063         * text2.C: updates because of this.
13064
13065 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * ToolbarDefaults.C (add): add spaces in error message
13068
13069 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13072         (readLyXformat2): rename return_par to first_par, use lyxlex's
13073         pushToken and remove the manual push handling.
13074         (parseSingleLyXformat2Token): add another ert comp. variable:
13075         in_tabular, rename return_par to first_par. handle newlines better
13076
13077 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13080
13081 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * text2.C (getParFromID): removed
13084
13085         * buffer.C (getParFromID): new method moved form lyxtext.
13086         * BufferView2.C (insertErrors): adjust
13087         (setCursorFromRow): adjust
13088         * BufferView_pimpl.C (restorePosition): adjust
13089         * lyxfunc.C (Dispatch): adjust
13090         * undo_funcs.C (textUndo): adjust
13091         (textRedo): adjust
13092         (textHandleUndo): adjust
13093         (textHandleUndo): adjust
13094
13095 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * buffer.C: up' the LYX_FORMAT
13098
13099         * lyxfont.h: turn NO_LATEX on as default
13100
13101         * buffer.C (insertErtContents): new methods of tex style compability.
13102         (parseSingleLyXformat2Token): use it several places.
13103         * tabular.C (OldFormatRead): and here
13104
13105 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * text2.C: remove some commented code.
13108         reindent file.
13109
13110         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13111         * trans.C: changes because of the above.
13112
13113 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13114
13115         * text2.C (setCounter): Fix counters bug with bibliography layout.
13116
13117 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13120         own member functions
13121         (simpleTeXSpecialChars): ditto
13122
13123 2001-07-06  Juergen Vigna  <jug@sad.it>
13124
13125         * a lot of files: changed the access to LyXText::status and the
13126         call of undo-functions.
13127
13128         * undo.[Ch]: added a inset_id to the undo informations.
13129
13130         * undo_funcs.[Ch]: added and moved here all undo functions.
13131
13132         * lyxtext.h: give the status enum a weight, made status_ a private
13133         variable and made accessor functions for it, removed the whole bunch
13134         of undo-functions as they are now in their own file, make some
13135         functions publically available. Added function ownerParagraph with
13136         int parameter.
13137
13138         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13139         made InInset() a const function, added getParFromID() function.
13140
13141         * buffer.[Ch]: added const version for inset_iterator functions,
13142         added getInsetFromID() function.
13143
13144         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13145         changed undo functions for new version.
13146
13147 2001-07-05  Juergen Vigna  <jug@sad.it>
13148
13149         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13150         unknow mechanism does not call the proper constructor but only this
13151         one also if I request the other!?
13152
13153 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13156
13157         * text2.C (LyXText): use initialization lists.
13158
13159         * lyxtext.h (Selection): initialize set_ and mark_
13160         (init): remove method
13161
13162 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13165
13166 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * screen.[Ch]: change method names to begin with lowercase
13169
13170         * BufferView_pimpl.C (updateScrollbar): simplify further and
13171         hopefully make it a bit faster.
13172
13173 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13176         calling directly xforms functions.
13177
13178         * Painter.C (Painter):
13179         * lyx_cb.C (MenuWrite):
13180         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13181         fl_display.
13182
13183         * lyx_gui.C: remove bogus guiruntime extern declaration.
13184
13185 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13188         in NEW_INSETS
13189         (redoDrawingOfParagraph): ditto
13190         (redoParagraphs): ditto
13191         (cutSelection): don't create a object for CutAndPaste use the
13192         static method directly
13193         (pasteSelection): ditto
13194
13195         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13196         LyXview (+ rename)
13197
13198 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * modifications to some other files because of this.
13201
13202         * Makefile.am (lyx_SOURCES): add XFormsView
13203
13204         * XFormsView.[Ch]: new files
13205
13206         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13207         the main window. Move the gui dependent stuff to XFormsView
13208
13209 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13210
13211         * tabular.C (GetCellInset): update cur_cell also in the row/col
13212         version of this function.
13213
13214         * lyxfunc.C: no need to include figure_form.h here.
13215
13216         * FontLoader.h:
13217         * lyxfunc.h:
13218         * lyxscreen.h:
13219         * text2.C:
13220         * lyxvc.C: no need to include forms.h here.
13221
13222 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13223
13224         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13225
13226         * lyxfunc.C (Dispatch):
13227         * Spacing.C (set):
13228         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13229         constructor argument.
13230
13231 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * paragraph.C (Paragraph): dont't clear, and just set layout.
13234         (makeSameLayout): use params's copy contructor.
13235
13236         * ParagraphParameters.[Ch] (makeSame): delete method
13237
13238 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * Variables.[Ch]: fix indentation, rename set to isSet
13241
13242 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * lyxfunc.C (Dispatch): fix typo
13245
13246 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13249         upper_bound.
13250
13251         * bufferlist.C: include assert.h for emergencyWrite().
13252
13253 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13256           give up at last (bug #425202) !
13257
13258 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * lyx_gui_misc.C:
13261         * sp_form.h:
13262         * sp_form.C:
13263         * spellchecker.h:
13264         * spellchecker.C: strip spellchecker options and bring up
13265           preferences tab instead
13266
13267 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13270         the istringstream constructor
13271
13272 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * paragraph.C (getLayout): fix return value
13275
13276         * paragraph.h: do not declare getLayout as inline.
13277
13278         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13279
13280 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * lyxcursor.h (operator<): new func
13283         (operator>): new func
13284         (operator>=): new func
13285         (operator<=): new func
13286
13287         * text.C (changeCase): use selection.start and selection.end
13288         (changeRegionCase): require from to be <= to. Require par to be a
13289         valid paragraph.
13290
13291         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13292
13293 2001-06-27  Juergen Vigna  <jug@sad.it>
13294
13295         * text.C (cursorLeftOneWord): changed to return the cursor and added
13296         overlay with BufferView * parameter which calls this one.
13297         (getWord): added
13298         (selectWord): use new getWord function.
13299         (changeCase): renamed from changeWordCase as and extended to work
13300         also on selections.
13301
13302         * lyxtext.h: added enum word_location
13303
13304         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13305         changeCase as this operates now also on selections.
13306
13307 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13308
13309         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13310
13311         * many files: send debug output to Debug::INFO instead of
13312         Debug::ANY.
13313
13314         * converter.C (View):
13315         (Convert):
13316         (Move): send debug output to Debug::FILES instead of console.
13317
13318 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13319
13320         * lyxfunc.C (getStatus): use func_status
13321
13322         * func_status.h: new header, describing the results of
13323         LyXFunc::getStatus;
13324
13325         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13326         LFUN_MATH_HALIGN.
13327
13328 2001-06-25  The LyX Project  <jug@sad.it>
13329
13330         * buffer.C (sgmlOpenTag):
13331         (sgmlCloseTag):
13332         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13333
13334 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * text2.C: remove some dead code
13337
13338         * tabular.C (GetCellInset): store the last cell checked (gotten)
13339
13340         * tabular.h: add the helper for the speedup
13341
13342         * lyxtext.h: remove some dead code
13343
13344 2001-06-26  The LyX Project  <Asger>
13345
13346         * paragraph.C: Change export to LaTeX of alignment to
13347         \begin{center} and family for better roundtrip work with reLyX.
13348
13349         * Tune the math drawing a bit.
13350
13351 2001-06-25  The LyX Project  <Asger>
13352
13353         * LColor.C (LColor): New color for math background. New color
13354         for buttons.
13355
13356 2001-06-25  The LyX Project  <jug@sad.it>
13357
13358         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13359
13360         * lyxfunc.C (Open):
13361         * bufferlist.C (newFile): do not restrict to files ending with
13362         .lyx
13363
13364         * BufferView_pimpl.C (MenuInsertLyXFile):
13365
13366 2001-06-24  The LyX Project  <jug@sad.it>
13367
13368         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13369         of compare_no_case
13370
13371 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * lyxtext.h: rename most methods to begin with a small char.
13374         Lots of changes because of this.
13375
13376         * paragraph.C (Paragraph): do not call fitToSize
13377         (erase): call Pimpl::erase
13378         (insertChar): call Pimpl::insertChar
13379         (insertInset): call Pipl::insertInset
13380         (breakParagraph): do not call fitToSize
13381         (breakParagraphConservative): do not call fitToSize
13382         (fitToSize): remove method
13383
13384         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13385
13386 2001-06-24  The LyX Project  <Asger>
13387
13388         * Fix Qt compilation^2
13389
13390 2001-06-24  The LyX Project  <jug@sad.it>
13391
13392         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13393         depthHook(getDepth()-1).
13394
13395         * paragraph.h:
13396         * ParagraphParameters.h:
13397         * ParameterStruct.h: change type of depth to unsigned int ==
13398         depth_type. Many adaptations to other files before of that.
13399
13400 2001-06-24  The LyX Project  <Asger>
13401
13402         * Fix Qt compilation.
13403
13404 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * paragraph.h: renamed several methods to begin with small letter.
13407         several changes to many parts of the code because of this.
13408
13409 2001-06-23  The LyX Project  <jug@sad.it>
13410
13411         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13412         rewritten to discard all double spaces when KeepEmpty is off
13413         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13414         to only handle newlines but not fiddle with spaces and friends.
13415
13416         * lyxfunc.C (MenuNew): when doing 'new from template', use
13417         template_path as default directory
13418
13419 2001-06-23  The LyX Project  <Asger>
13420
13421         * Clean-up of header file includes all over
13422         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13423
13424 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * paragraph.h: renamed from lyxparagraph.h
13427
13428 2001-06-23  Asger  <lyx@violet.home.sad.it>
13429
13430         * Buffer.h: Removed Buffer::resize
13431         * BufferList.h: Removed BufferList::resize
13432         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13433         the document lazily when we change the width, or the font settings.
13434
13435 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13436
13437         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13438
13439 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * buffer.h: remove out of date comment
13442
13443 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * lyxscreen.h:
13446         * screen.C: fix "theoretical" GC leak
13447
13448 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * LaTeX.C (scanAuxFile):
13451         (deplog): remove trailing \r when reading stream (useful under
13452         win32)
13453
13454 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13457         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13458         and BufferView::theLockingInset(Inset*), so should use them and not
13459         access bv_->text->the_locking_inset directly.
13460
13461         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13462
13463 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * Makefile.am:
13466         * tex-defs.h: remove old unused file
13467
13468 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13469
13470         * BufferView_pimpl.C: fix typo, remove minibuffer message
13471           when buffer has loaded
13472
13473 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * lyxfunc.C (Dispatch): use stringstream
13476         (MenuNew): use stringstream
13477         (Open): use stringstream
13478
13479         * importer.C (Import): use stringstream
13480
13481         * bufferview_funcs.C (CurrentState): use stringstream
13482
13483         * LaTeX.C (run): use stringstream
13484
13485         * BufferView_pimpl.C (savePosition): use stringstream
13486         (restorePosition): use stringstream
13487         (MenuInsertLyXFile): use stringstream
13488
13489 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13490
13491         * BufferView.C:
13492         * Bullet.C:
13493         * ColorHandler.C:
13494         * FontInfo.C:
13495         * FontLoader.C:
13496         * LColor.C:
13497         * LaTeXFeatures.C:
13498         * Painter.C:
13499         * gettext.C:
13500         * lyx_gui_misc.C:
13501         * lyxserver.C:
13502         * vspace.C: removed // -*- C++ -*- as first line.
13503
13504         * lyxfind.h:
13505         * version.h: added // -*- C++ -*- as first line.
13506
13507 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13510
13511         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13512         of string
13513
13514 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13517         of floats.
13518
13519 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * gettext.C: include LString.h even when --disable-nls is on.
13522
13523 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * converter.h (Get): changed argument type from int to
13526         FormatList::size_type to avoid unnecessary conversion.
13527
13528         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13529         before using it.
13530
13531 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * gettext.h: include LString.h even when --disable-nls is on.
13534
13535 2001-06-07  Juergen Vigna  <jug@sad.it>
13536
13537         * text.C (BreakAgain): subst spaces with tabs.
13538
13539         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13540         (resizeInsetsLyXText): set force on resizeLyXText.
13541
13542 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13543
13544         * gettext.h (gettext_init):
13545         (locale_init): use a real definition instead of a macro
13546
13547 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * Bufferview_pimpl.C:
13550         * LColor.h:
13551         * LColor.C: further lcolor tidies
13552
13553 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13554
13555         * BufferView_pimpl.C (updateScrollbar): simplify.
13556
13557         * BufferView2.C: don't include insets/insetinfo.h, change
13558         prototype for insertInset and call the Pimpl version. let
13559         updateInset call Pimpl version.
13560
13561         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13562         gotoInset to BufferView::Pimpl
13563
13564 2001-06-01  Juergen Vigna  <jug@sad.it>
13565
13566         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13567         inside a LockingInset (is the update needed at all?).
13568
13569 2001-05-31  Juergen Vigna  <jug@sad.it>
13570
13571         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13572         here not the old one otherwise how should we compare it afterwards
13573         if it's the same!
13574
13575 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13576
13577         * lyxfont.C:
13578         * tabular.C:
13579         * tabular-old.C:
13580         * FontInfo.C: bring C functions into global namespace when
13581         necessary
13582
13583 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * LString.h: make sure config.h has been loaded before LString.h.
13586
13587         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13588         (one for each char read by EatLine!).
13589
13590         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13591         variables.
13592
13593 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13594
13595         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13596         to the same as the par we break from
13597
13598 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13601
13602         * MenuBackend.C (expand): also create menu entries for wide
13603         versions of the floats.
13604
13605         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13606
13607         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13608
13609         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13610         frontends/Makefile.am
13611
13612         * text2.C: adjust
13613         * text.C: adjust
13614
13615
13616         * tabular.C (getTokenValue): add std::
13617
13618         * tabular-old.C (getTokenValue): add std::
13619         (getTokenValue): ditto
13620         (getTokenValue): ditto
13621
13622         * screen.C (ToggleSelection): adjust
13623
13624         * lyxtext.h: put selection cursors inside a Selection struct.
13625
13626         * lyxfunc.C (moveCursorUpdate): adjust
13627
13628         * lyxfont.C (latexWriteStartChanges): add std::
13629
13630         * lyxfind.C: adjust
13631
13632         * font.h: delete with(char const *, LyXFont const &)
13633
13634         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13635
13636         * FontInfo.C (getFontname): add std::
13637
13638         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13639         (workAreaButtonPress): adjust
13640         (tripleClick): adjust
13641         (update): adjust
13642         (moveCursorUpdate): adjust
13643         (Dispatch): adjust
13644
13645         * BufferView2.C (gotoInset): adjust
13646
13647 2001-05-30  Juergen Vigna  <jug@sad.it>
13648
13649         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13650         to check pspell I add this as default as I now have new pspell
13651         libraries and they seem to use this.
13652
13653 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * text2.C (CutSelection): make the cursor valid before the call to
13656         ClearSelection.
13657
13658 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13661         relied on 0 terminated strings and other horrors. Bug found due to
13662         the new assert in lyxstring!
13663
13664         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13665         KP_ keys.
13666
13667 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13670         to latinkeys.bind.
13671
13672         * lyxfunc.C (processKeySym): change method of getting to the
13673         self-insert char.
13674
13675         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13676         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13677         * BufferView_pimpl.[Ch]: here as private methods.
13678
13679 2001-05-28  Juergen Vigna  <jug@sad.it>
13680
13681         * text.C (SetHeightOfRow): added the update() call again as it is
13682         needed to initialize inset dimensions!
13683
13684 2001-05-16  Juergen Vigna  <jug@sad.it>
13685
13686         * text2.C (SetCharFont): Add new function with BufferView * and
13687         bool toggleall parameters for setting insets internal fonts.
13688         (SetFont): Freeze the undo as we may change fonts in Insets and
13689         all this change should be inside only one Undo!
13690
13691         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13692         setting font's in insets as for them we have the SetFont function!
13693
13694 2001-05-15  Juergen Vigna  <jug@sad.it>
13695
13696         * text2.C (ClearSelection): to be sure we REALLY don't have any
13697         selection anymore!
13698
13699         * tabular.C (TeXCellPreamble): fixed the left border problem for
13700         multicolumn cells.
13701
13702 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13703
13704         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13705         dependancy file
13706
13707 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13710         LFUN_BREAKPARAGRAPH.
13711
13712         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13713         help test to "internal only", similar for LFUN_INSERT_URL
13714
13715         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13716         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13717         auto_region_delete and deadkeys.
13718
13719 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * LColor.h:
13722         * LColor.C: remove some dead entries, tidy a little
13723
13724 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13727         commented code.
13728         (Dispatch): implement LFUN_ESCAPE
13729
13730         * commandtags.h: add LFUN_ESCAPE
13731
13732         * LyXAction.C (init): add entry for LFUN_ESCAPE
13733
13734         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13735         Remove commented code.
13736         (insertNote): moved here
13737         (open_new_inset): moved here
13738
13739         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13740         BufferView_pimpl
13741
13742 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13743
13744         * kbmap.C (findbinding): clean it up and make it work correctly.
13745
13746         * lyx_main.C (init): do not pass argc and argv as parameters
13747
13748 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13749
13750         * buffer.C: fix path for OS/2 & Win32
13751
13752         * lyx_gui.C:
13753         * lyx_main:
13754         * lyx_main.C: Added os:: class.
13755
13756         * os2_defines.h: update
13757
13758 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13759
13760         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13761         better by trying again with reduced state.
13762
13763 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * lyxrc.C (read): print error about invalid key sequence only when
13766         debugging (because not all latinX keysyms are known to some X
13767         servers)
13768
13769         * kbsequence.C (getiso): add a few std:: qualifiers
13770         (getiso): comment out extra return statement.
13771
13772 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13775         handling.
13776         (Dispatch): enhance the accent inset a bit. (not perfect)
13777
13778 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13781
13782 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * bufferlist.C (emergencyWrite): fix assert() call
13785
13786 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13787
13788         * text.C (InsertChar): Added trivial patch to only send the "you
13789         can not do multiple spaces this way" message once during a
13790         session.
13791
13792 2001-05-08  Baruch Even  <baruch@lyx.org>
13793
13794         * Makefile.am: Changed order of libraries to get LyX to link properly
13795         with the gnome frontend.
13796
13797 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13798
13799         * LaTeXFeatures.h: add a std:: qualifier
13800
13801 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * paragraph.C (String): use stringstream
13804
13805 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * paragraph.C (writeFile): remove footflag arg
13808
13809         * buffer.C (makeLaTeXFile): use stringstream
13810         (latexParagraphs): remove footnot gurba
13811
13812         * LaTeXFeatures.C (getPackages): use stringstream
13813         (getMacros): likewise
13814         (getTClassPreamble): likewise
13815         (getFloatDefinitions): new method
13816
13817         * paragraph.C (writeFile): reindent
13818         (Erase): reindent
13819
13820         * WorkArea.h: revert the xpos + etc changes.
13821
13822         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13823
13824         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13825
13826         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13827         (pasteSelection): likewise
13828         * text2.C (CreateUndo): likewise
13829
13830 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * minibuffer.C (peek_event): temporarily reduce the functionality
13833         of the minibuffer (to allow args on lfuns)
13834
13835         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13836         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13837
13838         * buffer.C (readInset): add compability reading of old float
13839         lists, add reading of new style float list.
13840         (readInset): avoid reevaluation of inscmd.getCmdName()
13841         (getLists): reindent
13842
13843         * MenuBackend.C (MenuItem): implement parsing of
13844         md_floatlistinsert and md_floatinsert.
13845         (expand::LastFiles): move initalizaton of iterators out of loop,
13846         avoid reevaluation.
13847         (expand::Documents): introduce typdedef vector<string> Strings,
13848         and use it.
13849         (expand::ExportFormats): introduce typedef vector<Format const *>
13850         Formats, and use it.
13851         (expand): implement FloatListInsert and FloatInsert.
13852
13853         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13854         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13855         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13856
13857         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13858         handling.
13859         (Dispatch::LFUN_FLOAT_LIST): implement
13860
13861 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13862
13863         * LaTeX.C (run): Fix problem with --export code.
13864
13865 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * BufferView.[Ch] (workarea): removed.
13868         (getClipboard) new method; wrapper for workarea()->getClipboard()
13869
13870         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13871         bug.
13872
13873         * WorkArea.h (width, height, xpos, ypos): These methods all
13874         returned the dimensions of the work_area sub-area of WorkArea,
13875         resulting in a position error if the WorkArea were resized. Now
13876         return the dimensions of the entire WorkArea.
13877
13878         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13879
13880 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * LaTeX.C (deplog): correct the syntax of regex reg1
13883
13884 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * undo.C: remove !NEW_INSETS cruft
13887
13888 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * text2.C: remove !NEW_INSETS cruft
13891
13892         * text.C: remove !NEW_INSETS cruft
13893
13894         * tabular.C: remove !NEW_INSETS cruft
13895
13896         * spellchecker.C: remove !NEW_INSETS cruft
13897
13898         * lyxtext.h: remove !NEW_INSETS cruft
13899
13900         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13901
13902         * lyxfunc.C: remove !NEW_INSETS cruft
13903
13904         * lyxfind.C: remove !NEW_INSETS cruft
13905
13906         * lyx_cb.C: remove !NEW_INSETS cruft
13907
13908         * figureForm.C: remove  !NEW_INSETS cruft
13909
13910         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13911
13912         * buffer.[Ch]: remove !NEW_INSETS cruft
13913
13914         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13915
13916         * CutAndPaste.C: remove !NEW_INSETS cruft
13917
13918         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13919
13920         * BufferView2.C: remove !NEW_INSETS cruft
13921
13922         * BufferView.h: remove !NEW_INSETS cruft
13923
13924 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * Lsstream.h: include LString.h before the sstream headers to
13927         fix problem with gcc 2.95.3 and lyxstring
13928
13929 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * lyx_main.C: add using directives when needed for C functions
13932         declared in std:: namespace.
13933
13934 2001-04-27  Juergen Vigna  <jug@sad.it>
13935
13936         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13937         (SetHeightOfRow): comment out the update call should not be needed!
13938
13939 2001-04-13  Juergen Vigna  <jug@sad.it>
13940
13941         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13942         (LyXTabular): tried to minimize operator= operations (and realized
13943         hopfully Lars wish).
13944
13945 2001-04-27  Juergen Vigna  <jug@sad.it>
13946
13947         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13948
13949 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13952
13953         * buffer.C (readInset): hack to make listof algorithm work
13954
13955         * BufferView_pimpl.C: hack to make listof algorithm work
13956
13957 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * LyXAction.C: removed all !NEW_INSETS cruft
13960         (init): moved lfun_item in method
13961
13962         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13963
13964 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13965
13966         * BufferView2.C (theLockingInset): white space.
13967
13968 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * minibuffer.C: include <iostream>
13971
13972         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13973
13974         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13975
13976         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13977
13978         * text.[Ch] (TransposeChars): new method
13979
13980 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13981
13982         * call message directly through LyXView instead of through LyXFunc
13983         * BufferView2.C: adjust
13984         * BufferView_pimpl.C: adjust
13985         * FontLoader.C: adjust
13986         * buffer.C: adjust
13987         * bufferview_funcs.C: adjust
13988         * converter.C: adjust
13989         * figureForm.C: adjust
13990         * importer.C: adjust
13991         * lyx_cb.C: adjust
13992         * lyx_gui_misc.C: adjust
13993         * lyxfunc.C: adjust
13994         * lyxvc.C: adjust
13995         * text2.C: adjust
13996         + more files in subdirs
13997
13998         * lyxparagraph.h (size): move up int file
13999         (GetLayout): ditto
14000
14001         * adjust all uses of Assert to lyx::Assert.
14002
14003         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14004         lyxfunctional in namespace lyx
14005         * layout.C (hasLayout): ditto
14006         (GetLayout): ditto
14007         (GetLayout): ditto
14008         (delete_layout): ditto
14009         (NumberOfClass): ditto
14010         * converter.C (GetFormat): ditto
14011         (GetNumber): ditto
14012         (Add): ditto
14013         (Delete): ditto
14014         (SetViewer): ditto
14015         * bufferlist.C (getFileNames): ditto
14016         (emergencyWriteAll): ditto
14017         (exists): ditto
14018         (getBuffer): ditto
14019         * MenuBackend.C (hasSubmenu): ditto
14020         (hasMenu): ditto
14021         (getMenu): ditto
14022         * BufferView_pimpl.C (getInsetByCode): ditto
14023
14024 2001-04-18  Juergen Vigna  <jug@sad.it>
14025
14026         * vspace.C (asLatexString): fixed the 100% problem.
14027
14028 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * lyxfunc.C (Dispatch):
14031         * minibuffer.C:
14032         * minibuffer.h: add a few std:: qualifiers
14033
14034 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * minibuffer.[Ch]: reimplement so that commands is initiated and
14037         run from lyxfunc, simplified som handling, and made the completion
14038         and history code for complete. wip.
14039
14040         * lyxfunc.C (processKeySym): call message
14041         (miniDispatch): new temporary method
14042         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14043         (LFUN_MESSAGE): implement
14044         (LFUN_MESSAGE_PUSH): implement
14045         (LFUN_MESSAGE_POP): implement
14046         (initMiniBuffer): the initial/defualt minibuffer message.
14047
14048         * lyxfont.[Ch]: inline some more getters
14049
14050         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14051
14052         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14053
14054         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14055         (AutoSave): use LFUN_MESSAGE
14056         (Reconfigure): ditto
14057
14058         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14059
14060         * figureForm.C: use LFUN_MESSAGE
14061
14062         * converter.C (runLaTeX): use LFUN_MESSAGE
14063
14064         * bufferview_funcs.C: use LFUN_MESSAGE
14065         (Melt): ditto
14066         (changeDepth): ditto
14067
14068         * bufferparams.h: use boost::
14069
14070         * bufferlist.h: inherit privately from noncopyable
14071
14072         * bufferlist.C (loadLyXFile): remove some commented code.
14073
14074         * buffer.C (runChktex): use LFUN_MESSAGE
14075
14076         * ShareContainer.h: inherit privately from noncopyable
14077
14078         * ParagraphParameters.[hC] (depth): inline it.
14079
14080         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14081         methods.
14082         (message): new method
14083         (messagePush): ditto
14084         (messagePop): ditto
14085         (show): init minibuffer
14086         (showState): direct call
14087
14088         * LaTeX.[Ch]: inherit privately from noncopyable
14089         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14090         instead of WriteStatus.
14091
14092         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14093
14094         * BufferView_pimpl.C (buffer): don't init minibuffer
14095         (workAreaButtonPress): use LFUN_MESSAGE
14096         (workAreaButtonRelease): ditto
14097         (savePosition): ditto
14098         (restorePosition): ditto
14099         (MenuInsertLyXFile): ditto
14100         (workAreaExpose): don't init minibuffer
14101         (update): remove commented code, simplify
14102
14103         * BufferView2.C (openStuff): use LFUN_MESSAGE
14104         (toggleFloat): ditto
14105         (menuUndo): ditto
14106         (menuRedo): ditto
14107         (copyEnvironment): ditto
14108         (pasteEnvironment): ditto
14109         (copy): ditto
14110         (cut): ditto
14111         (paste): ditto
14112         (gotoInset): ditto
14113         (updateInset): remove some commented code
14114
14115         * lastfiles.h: inherit privately from noncopyable
14116         * layout.h: ditto
14117         * lyx_gui.h: ditto
14118         * lyx_main.h: ditto
14119         * lyxlex.h: ditto
14120         * lyxlex_pimpl.h: ditto
14121
14122         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14123         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14124         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14125
14126         * LyXAction.h: inherit privately from noncopyable, add methods
14127         func_begin, func_end, returning iterators to the func map.
14128
14129         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14130         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14131         (func_begin): new method
14132         (func_end): new method
14133
14134         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14135         and not)
14136         (copySelection): ditto
14137         (pasteSelection): ditto
14138
14139         * BufferView.C: whitespace change
14140         * BufferView.h: inherit privately from noncopyable
14141
14142 2001-04-16  Allan Rae  <rae@lyx.org>
14143
14144         * tabular-old.C (l_getline):
14145         * spellchecker.C (sc_check_word):
14146         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14147         an unrecognised preprocessor directive.  So ensure they're wrapped.
14148
14149 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14150
14151         * src/exporter.C (Export): Give an error message when path to file
14152         contains spaces.
14153
14154 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * LaTeX.C (deplog): Always check that foundfile exists.
14157
14158 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * lyx_main.h:
14161         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14162
14163 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * tabular.[Ch] (getLabelList): implement new method
14166
14167         * minibuffer.h: comment ouf setTiimer
14168
14169         * minibuffer.C (ExecutingCB): constify res
14170         (peek_event): constify s
14171         (Set): constify ntext
14172         (Init): constify nicename
14173
14174         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14175
14176         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14177         (savePosition): use two params to Minibuffer::Set
14178         (restorePosition): ditto
14179
14180 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * lyx_main.C: include language.h
14183
14184         * Makefile.am (lyx_main.o): add language.h
14185
14186 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14187
14188         * exporter.C:
14189         * paragraph.C:
14190         * screen.C:
14191         * tabular.C:
14192         * CutAndPaste.C: include gettext.h
14193
14194         * lyxfont.h: remove old hack with ON and OFF.
14195
14196         * lyxparagraph.h:
14197         * lyxfont.h: do not include language.h...
14198
14199         * BufferView2.C:
14200         * LaTeXFeatures.C:
14201         * Painter.C:
14202         * bufferview_funcs.C:
14203         * font.C:
14204         * lyxfont.C:
14205         * text.C:
14206         * text2.C:
14207         * trans_mgr.C:
14208         * paragraph.C: ... but do it here instead
14209
14210 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14211
14212         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14213
14214         * tabular.C: small reformat
14215
14216         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14217         NEW_INSETS version
14218         (GetChar): ditto
14219         (BreakParagraph): ditto
14220         (SetOnlyLayout): ditto
14221         (SetLayout): ditto
14222
14223         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14224         with one arg less.
14225
14226         * lastfiles.C: removed most using decl, add std:: where needed
14227
14228         * buffer.C: ws changes
14229
14230         * MenuBackend.C (class compare_format): put into anon namespace
14231         (expand): constify label, names, action, action2
14232         (expand):
14233
14234         * text.C (SingleWidth): constify font
14235         (IsBoundary): constify rtl2
14236         (GetVisibleRow): constify ww
14237
14238         * LaTeX.C (deplog): constify logfile
14239
14240         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14241         start_x, end_x
14242         (workAreaExpose): constify widthChange, heightChange
14243
14244         * lyxrow.C (par): moved
14245         (height): moved
14246         (next): moved
14247         * lyxrow.h: as inlines here
14248
14249         * lyxfont.h (shape): moved from lyxfont.C
14250         (emph): moved from lyxfont.C
14251
14252         * lyxfont.C (LyXFont): use initialization list for all
14253         constructors
14254         (shape): move to lyxfont.h as inline
14255         (emph): move to lyxfont.h as inline
14256
14257
14258 2001-04-04  Juergen Vigna  <jug@sad.it>
14259
14260         * vspace.C: had to include stdio.h for use of sscanf
14261
14262 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * BufferView.h:
14265         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14266         independent of xforms.
14267
14268 2001-04-02  Juergen Vigna  <jug@sad.it>
14269
14270         * spellchecker.C: fixed namespace placing!
14271
14272 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14273
14274         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14275         the LyXParagraph * is 0.
14276
14277 2001-03-29  Juergen Vigna  <jug@sad.it>
14278
14279         * vspace.C: added support for %, c%, p%, l%.
14280         (stringFromUnit): added helper function.
14281         (asLatexString): changed to give right results for the %-values.
14282
14283         * buffer.C: convert the widthp in a width%.
14284
14285 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14286
14287         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14288         figureForm.[Ch].
14289
14290         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14291         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14292
14293         * lyx_cb.[Ch]: see above.
14294
14295         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14296         form1.[Ch].
14297
14298         * form1.[Ch]:
14299         * lyx.[Ch]: replaced by figure_form.[Ch].
14300
14301         * lyx_gui.C:
14302         * lyx_gui_misc.C:
14303         * lyxfunc.C: changed headers associated with above changes.
14304
14305 2001-03-27  Juergen Vigna  <jug@sad.it>
14306
14307         * BufferView_pimpl.C: set the temporary cursor right!
14308
14309 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14312
14313 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * LString.h: removed "using std::getline"!
14316
14317         * BufferView_pimpl.C (Dispatch): changes due to changes in
14318         InsetInclude::Params.
14319
14320         * buffer.C (tag_name): removed redundant break statements as they were
14321         producing lots of warnings with my compiler.
14322
14323 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * LString.h: add "using std::getline" when using the real <string>.
14326
14327 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14328
14329         * buffer.C: removed bitset usage.
14330         PAR_TAG moved to an anonymous name space.
14331         (tag_name): new funtion, also in the anonymous namespace.
14332         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14333         (makeDocBookFile): clean code. Completed transition from string arrays
14334         to string vectors.
14335         (SimpleDocBookOnePar): code clean.
14336
14337 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14338
14339         * tabular.C: add some comments.
14340
14341 2001-03-22  Juergen Vigna  <jug@sad.it>
14342
14343         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14344         compatibility read a bit and fixed bug with minipage in different
14345         depth.
14346
14347 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14348
14349         * buffer.C (pop_tag): removed.
14350         (push_tag): removed.
14351         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14352         array replaced with vector. Added support for CDATA sections.
14353         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14354         at any nest level.
14355         (makeDocBookFile): XML conformant declaration of CDATA section,
14356         fixed bug related to <emphasis> in the first paragraph char.
14357         (sgmlOpenTag): exclude empty tags.
14358         (sgmlCloseTag): ditto.
14359
14360         * buffer.h (pop_tag): removed.
14361         (push_tag): removed.
14362
14363 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14364
14365         * language.h (Languages): added size_type and size().
14366
14367 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14368
14369         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14370         response on compability reading of minipages. One probliem is that
14371         the old usage of minipages was «flertydig»
14372
14373         * several files here and in subdirs: don't use static at file
14374         scope use anon namespaces instead.
14375
14376 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14377
14378         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14379         LaTeX output. This is necessary for Literate document
14380         processing.
14381
14382 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14383
14384         * buffer.C: insert hfill when needed.
14385
14386         * tabular.C (l_getline): use string::erase, small whitespace change.
14387
14388         * BufferView_pimpl.C: try the anon namespace.
14389         * WorkArea.C: ditto
14390
14391 2001-03-16  Juergen Vigna  <jug@sad.it>
14392
14393         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14394         otherwise it won't open options-dialogs.
14395
14396         * buffer.C: honor pextraWidth(p) on converting minipages.
14397
14398         * tabular.C (l_getline): changed the functions to strip trailing \r.
14399
14400 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * BufferView_pimpl.C:
14403         * minibuffer..C: added "using SigC::slot" declaration.
14404
14405 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14406
14407         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14408
14409         * text2.C: ditto
14410
14411         * text.C: ditto
14412
14413         * paragraph.C: ditto
14414
14415         * lyxtext.h: NO_PEXTRA
14416
14417         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14418
14419         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14420         * ParameterStruct.h: ditto
14421         * ParagraphParameters.h: ditto
14422         * lyxparagraph.h: ditto
14423
14424 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14425
14426         * buffer.C: add compability for minipage alignment.
14427         (latexParagraphs): remove unwanted pextra check.
14428
14429         * several files: remove CXX_WORKING_NAMESPACES
14430
14431         * buffer.C (pop_tag): tie is in namespace boost
14432
14433         * BufferView.h: noncopyable is in namespace boost
14434         * lyxlex.h: ditto
14435         * lyx_main.h: ditto
14436         * lyx_gui.h: ditto
14437         * layout.h: ditto
14438         * lastfiles.h: ditto
14439         * bufferlist.h: ditto
14440         * ShareContainer.h: ditto
14441         * LyXView.h: ditto
14442         * LyXAction.h: ditto
14443         * LaTeX.h: ditto
14444
14445 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14446
14447         * Merging changes from BRANCH_MVC back into HEAD.
14448
14449         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14450
14451 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14452
14453         * BufferView_pimpl.C: change from intl.C
14454
14455         * combox.h:
14456         * combox.C:
14457         * Makefile.am: move combox.*
14458
14459         * form1.h:
14460         * form1.C:
14461         * lyx_gui.C:
14462         * intl.h:
14463         * intl.C: remove dialog (covered by prefs)
14464
14465 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14466
14467         * lyxfunc.C (Dispatch): removed redundant break statement.
14468
14469 2001-03-14  Juergen Vigna  <jug@sad.it>
14470
14471         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14472
14473 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14474
14475         * buffer.C: add hack to fix compability reading of minipages.
14476
14477 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14478
14479         * buffer.C (getLists): Cleanup.
14480
14481 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14482
14483         * lyxfont.C (update): don't honor toggleall on font size.
14484
14485 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * bmtable.c:
14488         * bmtable.h:
14489         * Makefile.am: moved to frontends/xforms/
14490
14491         * lyx_gui_misc.C:
14492         * lyxfunc.C:
14493         * BufferView_pimpl.C: changes for moved mathpanel
14494
14495 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * gettext.h: fix gettext_init() in --disable-nls
14498
14499 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14500
14501         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14502
14503 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyx.C:
14506         * lyx.h: strip external form
14507
14508 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * BufferView_pimpl.C: add comment, destroySplash()
14511
14512 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * BufferView_pimpl.C:
14515         * LyXAction.C:
14516         * buffer.C:
14517         * commandtags.h:
14518         * lyxfunc.C: use re-worked insetinclude
14519
14520 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14521
14522         * buffer.C: add using std::stringstream.
14523
14524         * lyx_cb.C: readd using std::ios.
14525
14526         * buffer.C: add using std::map.
14527
14528         * BufferView_pimpl.C: add using std::vector.
14529
14530         * ShareContainer.h: add std:: to swap.
14531
14532         * buffer.h: add some typedefs
14533         * buffer.C (getLists): use them
14534         (getLists): renamed from getTocList.
14535         add a counter for the different float types and use it in the
14536         generated string.
14537         (getLists): use the same counter for the NEW_INSETS and the "non"
14538         NEW_INSETS
14539
14540         * lyx_cb.h: remove unused items, includes, using etc.
14541
14542         * ShareContainer.h: remove some commented code, add more comments
14543         and "documentation".
14544
14545 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14546
14547         * buffer.C (getTocList): make the list also when NEW_INSETS is
14548         defined.
14549
14550         * buffer.h: remove TocType
14551
14552         * buffer.C (getTocList): change to return a map<string,
14553         vector<TocItem> >, implement for dynamic number of list.
14554
14555         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14556         * text2.C (PasteSelection): adjust
14557         * CutAndPaste.C (pasteSelection): adjust
14558
14559         * FloatList.C (FloatList): update from the new_insets branch.
14560         * Floating.[Ch]: ditto
14561         * LaTeXFeatures.C: ditto
14562         * buffer.C: ditto
14563         * lyxlex_pimpl.C: ditto
14564
14565         * paragraph.C (Last): remove when NEW_INSETS is defined.
14566
14567         * other file: changes because of the above.
14568
14569 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14570
14571         * lyxparagraph.h: rename next to next_, previous to previous_,
14572         make them private for NEW_INSETS. Rename Next() to next(),
14573         Previous() to previous().
14574
14575         * other files: changes because of the above.
14576
14577 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14578
14579         * BufferView.h:
14580         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14581         problem.
14582
14583 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14584
14585         * main.C (main): pass lyx_localedir to gettext_init().
14586
14587         * gettext.h: remove locale_init and gettext_init macros
14588
14589         * gettext.C (locale_init): new function
14590         (gettext_init): new function
14591
14592         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14593         setlocale().
14594
14595 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14596
14597         * Moved credits to frontends:
14598         * credits.[Ch]: removed
14599         * credits_form.[Ch]: removed
14600         * lyx_gui_misc.C: remove credits stuff
14601         * Makefile.am:
14602
14603 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14604
14605         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14606
14607         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14608         unneeded destructor.
14609
14610         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14611         a standalone pointer again.
14612
14613         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14614
14615 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * Makefile.am:
14618         * filedlg.h:
14619         * filedlg.C:
14620         * LyXAction.C:
14621         * ToolbarDefaults.C:
14622         * bufferlist.C:
14623         * commandtags.h:
14624         * form1.C:
14625         * form1.h:
14626         * lyx_cb.C:
14627         * lyx_cb.h:
14628         * lyxfunc.h:
14629         * lyxfunc.C:
14630         * BufferView_pimpl.C: use new file dialog in GUII
14631
14632         * lyx_cb.h:
14633         * lyx_cb.C: remove LayoutsCB to Toolbar
14634
14635 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * ShareContainer.h (get): add std:: qualifier
14638
14639 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * ShareContainer.h: define a proper ShareContainer::value_type
14642         type (and use typename to please compaq cxx)
14643
14644 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14645
14646         * lyxparagraph.h: move serveral local vars to
14647         ParameterStruct/ParagraphParameters., use ShareContainer in
14648         FontTable., make vars in FontTable private and add getter and
14649         setter.
14650
14651         * paragraph.C: changes because of the above.
14652
14653         * lyxfont.h: remove copy constructor and copy assignment. (the
14654         default ones is ok), move number inside FontBits. move inlines to
14655         lyxfont.C
14656
14657         * lyxfont.C: add number to initializaton of statics, move several
14658         inlines here. constify several local vars. some whitespace
14659         cleanup. Dont hide outerscope variables.
14660
14661         * Spacing.h: add two new constructors to match the set methods.
14662
14663         * ShareContainer.h: new file, will perhaps be moved to support
14664
14665         * ParameterStruct.h: new file
14666
14667         * ParagraphParameters.h: new file
14668
14669         * ParagraphParameters.C: new file
14670
14671         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14672         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14673
14674         * BufferView_pimpl.C: ParagraphParameter changes.
14675         * buffer.C: Likewise.
14676         * bufferview_funcs.C: Likewise.
14677         * text.C: Likewise.
14678         * text2.C: Likewise.
14679
14680 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14681
14682         * lyxfind.C (LyXReplace): do not redefine default argument in
14683         implementation.
14684         (IsStringInText): ditto
14685         (SearchForward): ditto
14686         (SearchBackward): ditto
14687
14688 2001-03-06  Juergen Vigna  <jug@sad.it>
14689
14690         * lyxfind.C (IsStringInText): put parentes around expressions.
14691
14692 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14693
14694         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14695
14696 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14697
14698         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14699
14700         * stl_string_fwd.h: add comment
14701
14702         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14703
14704         * tabular.h:
14705         * tabular.C: remove unused DocBook methods
14706
14707         * intl.C:
14708         * language.C:
14709         * paragraph.C:
14710         * buffer.C:
14711         killed DO_USE_DEFAULT_LANGUAGE
14712
14713 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * lyx_gui.C: do not include language.h.
14716
14717         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14718         arguments in function implementation.
14719
14720 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14721
14722         * BufferView_pimpl.C: add <ctime>
14723
14724 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14725
14726         * BufferView_pimpl.C: add using std::find_if
14727
14728 2001-02-27  José Matos  <jamatos@fep.up.pt>
14729
14730         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14731         by OnlyPath.
14732
14733 2001-02-11  José Matos  <jamatos@fep.up.pt>
14734
14735         * buffer.C (makeDocBookFile): command styles now have a parameter as
14736         "title" by default.
14737
14738 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14739
14740         * layout_forms.[Ch]: removed
14741         * lyx_cb.[Ch]: out character
14742         * lyx_gui.C: out character
14743         * lyx_gui_misc.C: out character
14744         * bufferview_funcs.C: : out character,
14745         added toggleall as parameter in ToggleAndShow
14746
14747 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14748
14749         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14750
14751         * text2.C (SetCurrentFont): Disable number property at boundary.
14752
14753 2001-02-26  Juergen Vigna  <jug@sad.it>
14754
14755         * lyxfunc.C (getStatus): added a string argument override function so
14756         that this is correctly called from LyXFunc::Dispatch if it contains a
14757         do_not_use_argument which is used!
14758         (Dispatch): added check for "custom" export and call appropriate func.
14759
14760 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14761
14762         * lyxrc.C: Add language_command_local, language_use_babel and
14763         language_global_options.
14764
14765         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14766
14767         * buffer.C (makeLaTeXFile): Use language_use_babel and
14768         language_global_options.
14769
14770 2001-02-23  Juergen Vigna  <jug@sad.it>
14771
14772         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14773         which works with LyXText and putted it inside BufferView. Here now we
14774         only call for that part the BufferView::Dispatch() function.
14775
14776         * BufferView.C (Dispatch): added.
14777
14778         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14779         functions which needs to use a LyXText over from LyXFunc.
14780         (MenuInsertLyXFile): added
14781         (getInsetByCode): added
14782         (moveCursorUpdate): added
14783         (static TEXT): added
14784
14785 2001-02-22  Juergen Vigna  <jug@sad.it>
14786
14787         * BufferView_pimpl.C (update): call a status update to see if LyXText
14788         needs it.
14789
14790 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14791
14792         * vc-backend.C (revert): implement for CVS
14793         (getLog): implement for CVS
14794
14795 2001-02-20  Juergen Vigna  <jug@sad.it>
14796
14797         * text2.C (ClearSelection): added BufferView param for inset_owner call
14798
14799         * lyxfunc.C (TEXT): added this function and use it instead of
14800         directly owner->view()-text of getLyXText().
14801
14802 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14803
14804         * src/layout_forms.C: out preamble
14805         * src/layout_forms.h: out preamble
14806         * src/lyx_cb.C: out preamble
14807         * src/lyx_cb.h: out preamble
14808         * src/lyx_gui.C: out preamble
14809         * src/lyx_gui_misc.C: out preamble
14810         * src/lyxfunc.C: connect with guii preamble
14811
14812 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14813
14814         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14815
14816 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14817
14818         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14819         whether to run bibtex.
14820
14821 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14824
14825 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14826
14827         * Makefile.am (lyx_SOURCES): removed bibforms.h
14828
14829         * vspace.h: doxygen
14830
14831         * text.C (GetVisibleRow): make several local vars const
14832
14833         * tabular.C: small cleanup.
14834
14835         * lyxserver.C (callback): use compare instead of strncmp
14836
14837         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14838         inlines to after class or to paragraph.C
14839
14840         * lyxfont.h: remove friend operator!=
14841
14842         * converter.h: move friend bool operator< to non friend and after
14843         class def.
14844
14845         * combox.h: small cleanup
14846
14847         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14848         to inlines after class def.
14849
14850         * buffer.C (pop_tag): use string operations instead of strcmp
14851
14852         * bmtable.c: doxygen, small cleanup
14853
14854         * LaTeX.h: remove friend operator==
14855
14856 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14857
14858         * screen.C:
14859         * lyxrc.[Ch]:
14860         * lyxfunc.C:
14861         * lyxfont.[Ch]:
14862         * lyx_cb.C:
14863         * intl.[Ch]:
14864         * commandtags.h:
14865         * buffer.C:
14866         * WorkArea.[Ch]:
14867         * LyXAction.C:
14868         * BufferView_pimpl.C:
14869         * BufferView.[Ch]: remove cruft
14870
14871 2001-02-14  Juergen Vigna  <jug@sad.it>
14872
14873         * lyxfunc.C: removed #if 0 unused code
14874
14875         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14876
14877         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14878
14879         * text2.C (SetSelection): added a BufferView * parameter
14880
14881 2001-02-13  Juergen Vigna  <jug@sad.it>
14882
14883         * lyxfunc.C (Dispatch): fixed protected blank problem.
14884         * BufferView2.C (protectedBlank): added LyxText * parameter.
14885
14886         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14887         (AppendColumn): same as above for column_info.
14888
14889         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14890         (moveCursorUpdate): use a LyXText param for support of InsetText.
14891
14892         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14893         (tripleClick): ditto
14894
14895         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14896
14897         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14898
14899         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14900
14901         * text2.C (SetSelection): set correct update status if inset_owner
14902         (ToggleFree): ditto
14903
14904 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14905
14906         * tabular.C: remove some commented code.
14907
14908 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * BufferView_pimpl.C: call hideSplash()
14911
14912         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14913
14914         * include_form.h:
14915         * bibforms.h: remove
14916
14917         * lyxfunc.C:
14918         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14919           add LFUN_CHILD_CREATE
14920
14921         * counters.h: fix tiny typo
14922
14923         * lyx_cb.C:
14924         * lyx.h:
14925         * lyx_gui.C:
14926         * lyx.C: move splash to frontends/xforms/
14927
14928         * lyx_gui_misc.C: move Include and Bibform to frontends
14929
14930         * lyxvc.h: clarify comment
14931
14932         * vspace.C: tiny housekeeping
14933
14934 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * text.C (PrepareToPrint): RTL Fix.
14937
14938         * paragraph.C (GetUChar): New method.
14939         (String):  Use GetUChar.
14940
14941         * buffer.C (asciiParagraph): Use GetUChar.
14942
14943 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14944
14945         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14946
14947 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14948
14949         * buffer.h:
14950         * buffer.C: rename to getLogName(), handle
14951           build log / latex log nicely
14952
14953 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14954
14955         * MenuBackend.C:
14956         * MenuBackend.h: remove support for reference menuitem type.
14957
14958 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14959
14960         * BufferView_pimpl.C: housekeeping
14961         * BufferView_pimpl.h:
14962         * LyXView.h:
14963         * Makefile.am:
14964         * Timeout.C:
14965         * Timeout.h:
14966         * minibuffer.h: move Timeout GUI-I
14967
14968 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * lyxrc.C (read): Update converters data-structures.
14971
14972 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14973
14974         * LaTeX.h (operator!=): add operator != for Aux_Info
14975
14976 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14979
14980         * LaTeXLog.C: deleted, useful code moved to Buffer
14981
14982         * buffer.h:
14983         * buffer.C: new function getLatexLogName()
14984
14985         * lyx_gui_misc.C:
14986         * lyx_gui.C:
14987         * lyxvc.C:
14988         * lyxvc.h:
14989         * lyxfunc.C: use frontends for LaTeX and VC logs
14990
14991 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * LaTeX.h: yet another std:: that Allan forgot.
14994
14995         * Variables.C (set): renamed from isset(), because this clashes
14996         with some HP-UX macros (grr).
14997
14998 2001-02-06  Allan Rae  <rae@lyx.org>
14999
15000         * LaTeX.h: Another bug fix.  Missing std:: this time.
15001
15002 2001-02-04  Allan Rae  <rae@lyx.org>
15003
15004         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15005         floats problem. I've left it commented out because it's not quite
15006         correct.  It should also test that the current object is a table or
15007         figure inset.  But I haven't gotten around to figuring out how to do
15008         that.  I *think* it'll be something like: "table" == inset.type()
15009
15010         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15011         bool.
15012
15013 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15014
15015         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15016         all the citation/databases/styles in the auxilary file.
15017         (run): Rerun latex if there was a babel language error.
15018
15019 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * text.C (Backspace): Preserve the font when changing newline char
15022         with a space.
15023         (BreakParagraph): If the cursor is before a space, delete the space.
15024
15025         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15026
15027 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15028
15029         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15030         new argument (code).
15031         (ChangeCitationsIfUnique): New method.
15032
15033         * paragraph.C (GetPositionOfInset): Handle bibkey.
15034
15035 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * BufferView_pimpl.h: change type of Position::par_pos to
15038         LyXParagraph::size_type.
15039
15040 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * BufferView_pimpl.C (savePosition, restorePosition): Write
15043         messages to minibuffer.
15044
15045 2001-01-28  José Matos  <jamatos@fep.up.pt>
15046
15047         * buffer.C (makeDocBookFile): adds support for document language.
15048         A silly restriction on the name of LatexCommand types where removed.
15049         Added support for CDATA sections, allows to chars unescaped, used
15050         among others in code, to avoid escape < and >.
15051
15052 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15055         saved positions instrad of a stack. Furthermore, a position is
15056         stored using paragraph id/paragraph position.
15057
15058         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15059         Remove LFUN_REF_BACK.
15060
15061 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * converter.C (dvipdfm_options): New method.
15064
15065 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * vspace.C (isValidLength): Fix for empty input string.
15068
15069 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * LyXAction.C (init): change description of LFUN_FIGURE to
15072         "Insert Graphics"
15073
15074 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15075
15076         * LaTeX.C: add using directive
15077
15078 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * MenuBackend.C (expand): Fix the sorting of the formats.
15081
15082 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * lyx_main.C: tiny error message fix
15085
15086 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15089         calling fl_initialize(). This fixes the problem with ',' as
15090         decimal separator in text files.
15091
15092 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * trans.C (process): Fix the keymap bug.
15095
15096 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15097
15098         * LaTeX.C (scanAuxFiles): New method. Provides support for
15099         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15100         (scanLogFile) Scan for "run BibTeX" messages.
15101
15102         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15103         OT1 font encoding. Also, load the aecompl package if the ae
15104         package is loaded.
15105
15106         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15107
15108 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * texrow.C (increasePos): turn two error messages into debug
15111         messages.
15112
15113 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15114
15115         * LaTeX.C (scanAux): Handle the \@input macro.
15116         (runBibTeX): Use scanAux().
15117
15118         * language.C (latex_options_): New field.
15119
15120         * LaTeXFeatures.C (getMacros): Add language macros.
15121
15122         * buffer.C (makeLaTeXFile): Small fix.
15123
15124 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15127
15128         * text2.C: add a using directive.
15129
15130 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * BufferView2.C:
15133         * lyx_gui_misc.h:
15134         * lyxfr1.C:
15135         * lyxfunc.C: kill LyXBell.
15136
15137 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * text.C (IsBoundary): Remove the error message
15140
15141         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15142
15143         * lyxrc.C (setDefaults): Correct initialization value for
15144         font_norm_type.
15145
15146 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15149         gotoError().
15150
15151         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15152         and GotoNextNote().
15153
15154         * src/LyXAction.C: Added reference-next.
15155
15156         * text.C (InsertChar): Use contains instead of strchr.
15157
15158         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15159
15160 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15161
15162         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15163         alignment commands (when needed).
15164
15165         * text.C (InsertChar): Add ':' to number separator chars.