]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8aa23d6f14bac3eda11ca68efbdecff6ec1448ac
[lyx.git] / src / ChangeLog
1 2004-03-30  Angus Leeming  <leeming@lyx.org>
2
3         * dociterator.C:
4         * insetiterator.C:
5         * pariterator.[Ch]: added/corrected header blurb.
6
7 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * dociterator.[Ch]: add an inset_ member 
10         (backwardPos): implemented
11         (backwardPos, forwardPos): use inset_ when the stack is empty.
12         (doc_iterator_begin, doc_iterator_end): implemented
13         * pariterator.[Ch]: adjust, add begin, end
14         * insetiterator.[Ch]: adjust, add begin, end
15         * cursor.C: 
16         * document.C:
17         * BufferView.C:
18         * BufferView_pimpl.C:
19         * CutAndPaste.C: adjust
20
21 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * buffer.C: increment file format to 232.
24         * LaTeXFeatures.C: add bibtopic package.
25         * bufferparams.[Ch]: param \use_bibtopic.
26         
27         * lyxrc.[Ch]: add lyxrc bibtex_command
28         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
29         
30         * buffer.C: increment file format to 231.
31
32 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
33
34         * dociterator.C: implement forwardPar
35         * iterators.[Ch]: remove, replaced by
36         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
37         * BufferView.C:
38         * BufferView_pimpl.C:
39         * CutAndPaste.C:
40         * buffer.C:
41         * bufferview_funcs.C:
42         * cursor.C:
43         * lyxfind.C
44         * lyxfunc.C
45         * paragraph_funcs.C
46         * toc.C:  
47         * Makefile.am: adjust
48
49 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * CutAndPaste.C (pasteSelection): fix 2 crashes
52         (eraseSelection): fix a crash
53         * paragraph_funcs.C: remove a warning
54
55 2004-03-28  Angus Leeming  <leeming@lyx.org>
56
57         * lfuns.h:
58         * LyXAction.C (init): new LFUN_PRINT.
59
60         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
61
62 2004-03-27  Angus Leeming  <leeming@lyx.org>
63
64         * lfuns.h:
65         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
66
67         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
68
69 2004-03-27  Angus Leeming  <leeming@lyx.org>
70
71         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
72         insetlist always contains non-null pointers to insets.
73
74 2004-03-26  Angus Leeming  <leeming@lyx.org>
75
76         * src/BufferView_pimpl.C:
77         * src/CutAndPaste.C:
78         * src/buffer.C:
79         * src/iterators.C:
80         * src/output_plaintext.C:
81         * src/outputparams.h:
82         * src/paragraph_funcs.C:
83         * src/rowpainter.C:
84         * src/text.C:
85         * src/text2.C:
86         * src/frontends/controllers/ControlErrorList.C:
87         * src/frontends/gtk/FileDialogPrivate.C:
88         * src/frontends/gtk/GPainter.C:
89         * src/frontends/gtk/GToolbar.C:
90         * src/frontends/qt2/QRef.C:
91         * src/mathed/math_scriptinset.C: squash compiler warnings.
92
93 2004-03-26  Angus Leeming  <leeming@lyx.org>
94
95         * ispell.C (LaunchIspell::start):
96         * lyx_cb.C (AutoSaveBuffer::start):
97         invoke run(DontWait) rather than runNonBlocking().
98
99 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
100
101         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
102
103 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * kbsequence.C (print): adjust
106
107         * kbmap.C (printKeySym): rename and change signature
108         (printKey): use LyXKeySym::print()
109
110 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * undo.C: add using std::advance to compile for stlport
113
114 2004-03-24  Angus Leeming  <leeming@lyx.org>
115
116         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
117         it leads to a crash when no buffer is present.
118
119 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120             Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * lyxfunc.C (dispatch): 
123         * bufferparams.C (readToken): use the new LColor::setColor 
124
125         * LColor.[Ch] (setColor): new version that takes two strings as
126         argument and creates a new color entry if necessary
127
128 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
129
130         * buffer.C (makeLaTeXFile): if the main latex file that is
131         processed is usually a subdocument of some master, then pretend
132         for a while that it is actually the master
133
134 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
135
136         * buffer.C (getLabelList):
137         (getBibkeyList): use getMasterBuffer()
138         (getMasterBuffer): new method. Returns the main document in the
139         case where one is using included documents.
140
141 2004-03-25  André Pönitz  <poenitz@gmx.net>
142
143         * Makefile.am:
144         * iterators.[Ch]:
145         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
146
147         * ParagraphList_fwd.h: change ParagraphList to a std::vector
148
149         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
150         text*.C over here. Rename namespace CutAndPaste to lyx::cap
151
152         * ParameterStruct.h: merge with ParagraphParameters
153
154         * lyxtext.h: remove LyXText::parOffset() and getPar()
155
156         * text3.C: Remove all 'manual' update calls. We do now one per user
157         interaction which is completely sufficient.
158
159         * Bidi.C:
160         * BufferView.[Ch]:
161         * BufferView_pimpl.C:
162         * FontIterator.[Ch]:
163         * MenuBackend.C:
164         * ParagraphParameters.[Ch]:
165         * buffer.C:
166         * buffer.h:
167         * bufferlist.C:
168         * cursor.[Ch]:
169         * cursor_slice.[Ch]:
170         * dociterator.[Ch]:
171         * errorlist.[Ch]:
172         * factory.C:
173         * lfuns.h:
174         * lyxfind.C:
175         * lyxfunc.C:
176         * output_docbook.[Ch]:
177         * output_latex.[Ch]:
178         * output_linuxdoc.[Ch]:
179         * output_plaintext.[Ch]:
180         * paragraph.[Ch]:
181         * paragraph_funcs.[Ch]:
182         * paragraph_pimpl.[Ch]:
183         * rowpainter.C:
184         * tabular.[Ch]:
185         * text.C:
186         * text2.C:
187         * toc.C:
188         * undo.[Ch]: adjust
189
190         * frontends/controllers/ControlDocument.C:
191         * frontends/controllers/ControlErrorList.C:
192         * frontends/controllers/ControlSpellchecker.C:
193         * insets/inset.C:
194         * insets/inset.h:
195         * insets/insetbase.h:
196         * insets/insetbibitem.C:
197         * insets/insetbox.C:
198         * insets/insetbranch.C:
199         * insets/insetcaption.C:
200         * insets/insetcharstyle.C:
201         * insets/insetcharstyle.h:
202         * insets/insetcollapsable.C:
203         * insets/insetcollapsable.h:
204         * insets/insetert.C:
205         * insets/insetfloat.C:
206         * insets/insetfoot.C:
207         * insets/insetmarginal.C:
208         * insets/insetnote.C:
209         * insets/insetoptarg.C:
210         * insets/insettabular.C:
211         * insets/insettext.C:
212         * insets/insettext.h:
213         * insets/insetwrap.C:
214         * mathed/math_mboxinset.C:
215         * mathed/math_nestinset.C:
216         * mathed/math_scriptinset.C:
217         * mathed/math_scriptinset.h:
218         * support/types.h:
219
220 2004-03-24  Angus Leeming  <leeming@lyx.org>
221
222         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
223         deal with any child processes that have finished but are waiting to
224         communicate this fact to the rest of LyX.
225
226 2004-03-24  Angus Leeming  <leeming@lyx.org>
227
228         64-bit compile fixes.
229
230         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
231         (c-tor): pass lyx::pos_types rather than ints.
232
233         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
234         lyx::pos_type.
235
236         * text.C (Delete): compile fix.
237         (getPar): ensure that function declaration is the same as that in
238         the header file.
239
240 2004-03-23  Angus Leeming  <leeming@lyx.org>
241
242         * ispell.C (LaunchIspell):
243         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
244         a boost::shred_ptr rather than a std::auto_ptr.
245
246 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * lyxfunc.C (getStatus): handle read-only buffers correctly;
249         handle LFUN_FILE_INSERT_*
250
251         * lyxrc.C (setDefaults, getDescription, output, read):
252         * lyxrc.h: remove ps_command
253
254 2004-03-22  Angus Leeming  <leeming@lyx.org>
255
256         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
257         Ensure that error_handler is processed once only and that all data
258         is saved before attempting to output any warning messages.
259
260         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
261
262 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * tabular.C (TeXRow): crash fix (from Kayvan and André)
265
266 2004-03-19  André Pönitz  <poenitz@gmx.net>
267
268         * cursor.[Ch] (reset): take main text inset as argument
269
270         * BufferView: adjust
271         * BufferView_pimpl.C: adjust
272
273         * paragraph.[Ch]: fix completely broken operator=()
274
275 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * LColor.C (getFromLyXName): make sure that the color name is used
278         as lowercase.
279
280 2004-03-17  Angus Leeming  <leeming@lyx.org>
281
282         * lfuns.h:
283         * LyXAction.C (init): remove LFUN_FORKS_KILL.
284
285         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
286         dialog and to kill a forked process.
287
288 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * text2.C (setCursorFromCoordinates): fix font problem
291
292 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
295         bogus "rebuild cursor" code
296
297 2004-03-11  André Pönitz  <poenitz@gmx.net>
298
299         * buffer.[Ch]: use InsetText instead of LyXText as container for
300         the main lyx text.
301
302         * dociterator.[Ch]: drop the BufferView * member which is not needed
303         anymore after the change to buffer.C
304
305         * paragraph_funcs.C:
306         * text.C:
307         * text2.C:
308         * BufferView.[Ch]:
309         * BufferView_pimpl.[Ch]:
310         * cursor.[Ch]:
311         * cursor_slice.[Ch]: adjust
312
313         * text3.C: fix bug in mathDispatch
314
315 2004-03-08  André Pönitz  <poenitz@gmx.net>
316
317         * undo.[Ch]: use 'StableDocumentIterator' as base for
318         the Undo struct.
319
320 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
321
322         * LaTeXFeatures.C:
323         * bufferparams.[Ch]: add jurabib support and param.
324
325         * LaTeX.C: add FIXME/comment.
326
327 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
328
329         * buffer.C: increment file format to 230.
330
331 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
332
333         * cursor.C (dispatch): avoid infinite loops
334
335 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
336
337         * rowpainter.C (paintSelection): fix x coordinates
338
339 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * text.C (rowBreakPoint): fix breaking before displayed insets
342
343 2004-03-01  André Pönitz  <poenitz@gmx.net>
344
345         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
346
347         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
348
349         * Makefile.am:
350         * BufferView.C:
351         * BufferView_pimpl.C:
352         * buffer.C:
353         * lyxfind.C:
354         * lyxfunc.C:
355         * text.C:
356         * text2.C:
357         * text3.C: adjust
358
359 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * lyxtext.h:
362         * text.C:
363         * text2.C:
364         * rowpainter.C:
365         * BufferView_pimpl.C: rename textwidth -> maxwidth,
366         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
367
368 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * Bidi.[Ch] (computeTables): const correctness
371         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
372         fill_hfill, fill_label_hfill and x from Row
373         * lyxtext.h: prepareToPrint returns a RowMetrics
374         * rowPainter.C: adjust
375         * text.C (prepareToPrint): use width, not textWidth. adjust
376         (redoParagraphInternal, cursorX): adjust
377         * text2.C (getColumnNearX): adjust
378         (init): put a default value to the top LyXText::width
379
380 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
383
384 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
385
386         * lyxtext.h: add FontIterator class
387
388         * text.C (FontIterator, operator*, operator->, operator++): add
389         (rowBreakPoint, setRowWidth): adjust (fixing a
390         rebreaking bug)
391
392 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * BufferView_pimpl.C (workAreaDispatch): allow also
395         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
396
397 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * text.C (rowBreakPoint): fix a bug showing with very large insets
400
401 2004-02-25  André Pönitz  <poenitz@gmx.net>
402
403         * text3.C:
404         * cursor.[Ch]: move some mathed specific code to mathed
405
406 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
409         use_tempdir in preferences
410         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
411         tempfile creation
412         * lyx_main.C: ensure that tempdir is valid
413         * lyxlex.h: correct typo
414         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
415         * paragraph.[Ch] (isMultiLingual): make const
416         * cursor.[Ch] (openable): make const
417
418 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
421
422 2004-02-20  André Pönitz  <poenitz@gmx.net>
423
424         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
425
426         * cursor.[Ch]: prepare for localized getStatus()
427
428         * lyxtext.h:
429         * tabular.C:
430         * text.C:
431         * text2.C:
432         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
433
434 2004-02-20  André Pönitz  <poenitz@gmx.net>
435
436         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
437
438 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * text2.C (setCursorFromCoordinates): switch to absolute coords
441         (cursorUp): adjust
442         (cursorDown): adjust
443         * text3.C (dispatch): adjust
444
445 2004-02-16  André Pönitz  <poenitz@gmx.net>
446
447         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
448           insets/ChangeLog)
449
450         * cursor_slice.[Ch]: remove unneeded acessor function
451
452         * lyxtext.h: rename rtl() to isRTL()
453
454         * rowpainter.C:
455         * tabular.C:
456         * text.C:
457         * text2.C:
458         * text3.C: adjust
459
460 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * rowpainter.C (paintSelection): coord fix
463
464 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
465
466         * Spacing.C: compile fix
467
468 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
469
470         * cursor.C (dispatch): restore current_ before returning
471
472 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * text2.C (cursorUp, cursorDown): fix coords
475         (moveUp): fix crash
476
477 2004-02-12  André Pönitz  <poenitz@gmx.net>
478
479         * lyxtext.h:
480         * text.C:
481         * text2.C:
482         * text3.C: add LCursor & parameter to most cursor movement functions
483           remove usage of LyXText::cursorRow() and cursorPar()
484
485         * cursor.[Ch]: add textRow() needed members
486
487         * BufferView.C:
488         * BufferView_pimpl.C:
489         * paragraph.[Ch]:
490         * BufferView.C:
491         * BufferView_pimpl.C: adjust
492
493 2004-02-11  André Pönitz  <poenitz@gmx.net>
494
495         * lyxfunc.C:
496         * BufferView.[Ch]:
497         * BufferView_pimpl.C: shift undo/redo handling
498
499         * cursor.[Ch]: fix mathed crash
500
501         * lyxfind.C:
502         * lyxtext.h: move selectionAsText to LCursor
503
504         * output_latex.C:
505         * paragraph.C:
506         * text.C:
507         * text2.C:
508         * text3.C: adjust
509
510         * rowpainter.C: fix excessive drawing
511
512 2004-02-06  André Pönitz  <poenitz@gmx.net>
513
514         * BufferView.[Ch]:
515         * BufferView_pimpl.[Ch]:
516         * text3.C: move some text specific LFUN handling
517
518 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * text3.C (checkInsetHit): adjust coords
521         * text2.C (getColumnNearX): adjust coords
522         (edit): adjust coords
523         * text.C (getRowNearY): add two asserts
524
525 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * converter.C:
528         * format.C: add using std::distance to compile on gcc 2.95/stlport
529
530 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
531
532         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
533
534 2004-02-04  André Pönitz  <poenitz@gmx.net>
535
536         * BufferView.[Ch] (insertInset):
537         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
538
539         * text2.C:
540         * text3.C: adjust
541
542 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
545         on the default clause of the switch
546         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
547         wasn't catched by LCursor::dispatch
548
549 2004-02-03  André Pönitz  <poenitz@gmx.net>
550
551         * BufferView.C:
552         * cursor.[Ch]: some additional asserts
553
554         * undo.[Ch]: remove LyXText dependency in interface
555
556         * lyxfunc.C: adjust
557
558         * lyxtext.h (firstPar, lastPar): remove dead functions
559
560         * text.C:
561         * text2.C:
562         * text3.C:
563         * paragraph.[Ch]: adjust
564
565 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * lyxfind.C (find): fix argument order in call to ::find
568
569 2004-02-02  André Pönitz  <poenitz@gmx.net>
570
571         * cursor.[Ch]: remove direct access to anchor
572
573         * text.C: remove findText() hack
574
575 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * iterators.[Ch] (lockPath): remove in favour of...
578         * BufferView.[Ch] (setCursor): this addition
579         * BufferView.C (putSelectionAt): adjust
580         * undo.C (performUndoOrRedo): adjust
581         * lyxfunc.C (dispatch): adjust
582
583 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * iterators.C (lockPath): add a missing slice
586         * undo.C (performUndoOrRedo): remove redundant positioning code
587
588 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
589
590         * vc-backend.C (scanMaster): ";" -> ';'
591
592 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
593
594         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
595         std::binary_function
596
597         * lyxtextclass.C (compare_name): rename to...
598         (LayoutNamesEqual): ...this
599
600         * lyxlex_pimpl.C (compare_tags): inherit from
601         std::binary_function, put back into anon namespace
602
603         * lyxfind.C (MatchString): inherig from std::binary_function
604         (findChange): use empty() istead of !size()
605
606         * format.C (FormatNamesEqual): new functor
607         (getFormat): use it
608         (getNumber): use it
609         (add): use it
610         (erase): use it
611         (setViewer): use it
612
613         * converter.C (compare_Converter): rename to...
614         (ConverterEqual): ...this, and fixup a bit.
615         (getConverter): use it, and make function const
616         (getNumber): use it, and make function const
617         (add): use it
618         (erase): use it:
619
620         * bufferlist.C: add using boost::bind
621
622         * MenuBackend.C (MenuNamesEqual): new functor
623         (hasMenu): use it, and make function const
624         (hasSubmenu): use nested bind to get rid of compare_memfun.
625
626 2004-01-30  André Pönitz  <poenitz@gmx.net>
627
628         * BufferView_pimpl.C:
629         * cursor.C:
630         * cursor.h:
631         * cursor_slice.[Ch]:
632         * lyxfunc.C:
633         * lyxtext.h:
634         * paragraph_funcs.C:
635         * paragraph_funcs.h:
636         * rowpainter.C:
637         * text.C:
638         * text2.C:
639         * text3.C: move some of the edit(x,y) handling to the insets
640         some coordinate changes.
641
642 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * text.C: add using statements for std::advance and std::distance
645
646         * paragraph.C: add using statement for std::distance
647
648         * lyxfind.C: add using statement for std::advance
649
650         * cursor.C (region): remove std:: from swap
651         (openable): use nucleus in stead of operator->
652
653         * BufferView.C: add using statements for std::distance and std::swap
654
655 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
656
657         * iterators.C: Remove the pimple, move the needed structures to
658         the header file. Create accessor for the positions stack.
659         (asPosIterator): remove function
660
661         * PosIterator.C (PosIterator): move constructors to top of file
662         (PosIterator): reimplement the constructor taking a ParIterator in
663         terms of setFrom.
664         (setFrom): new function
665         (operator!=): inline it
666
667 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
668
669         * lyxfind.C (replaceAll): use std::advance
670
671         * iterators.h: inherit from std::iterator.
672
673         * PosIterator.C (advance, distance): remove
674         * PosIterator.h: interit from std::iterator.
675
676 2004-01-26  André Pönitz  <poenitz@gmx.net>
677
678         * BufferView.[Ch]:
679         * BufferView_pimpl.[Ch]:
680         * InsetList.[Ch]:
681         * PosIterator.[Ch]:
682         * buffer.h:
683         * bufferview_funcs.C:
684         * cursor.[Ch]:
685         * cursor_slice.h:
686         * factory.[Ch]:
687         * iterators.[Ch]:
688         * lyxfind.C:
689         * lyxfunc.C:
690         * lyxtext.h:
691         * output_docbook.C:
692         * output_latex.C:
693         * output_linuxdoc.C:
694         * output_plaintext.C:
695         * paragraph.[Ch]:
696         * paragraph_funcs.[Ch]:
697         * paragraph_pimpl.[Ch]:
698         * rowpainter.C:
699         * tabular.C:
700         * tabular.h:
701         * text.C:
702         * text2.C:
703         * text3.C: more IU:  dumps most of the rest of the mathcursor
704     implementation into cursor.[Ch]; "globalize" a bit of it.
705
706 2004-01-25  Angus Leeming  <leeming@lyx.org>
707
708         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
709
710 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
711
712         * LaTeXFeatures.h: add nice_ and nice() const
713         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
714
715 2004-01-20  André Pönitz  <poenitz@gmx.net>
716
717         * BufferView.[Ch]:
718         * BufferView_pimpl.C:
719         * PosIterator.C:
720         * bufferview_funcs.C:
721         * cursor.[Ch]:
722         * cursor_slice.[Ch]:
723         * factory.C:
724         * iterators.C:
725         * lyx_cb.C:
726         * lyxfind.C:
727         * lyxfunc.C:
728         * lyxtext.h:
729         * rowpainter.C:
730         * text.C:
731         * text2.C:
732         * text3.C:
733         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
734           LCursor and mathcursor parts to LCursor and InsetBase.
735
736 2004-01-15  André Pönitz  <poenitz@gmx.net>
737
738         * cursor_slice.[Ch]: add a few covienience functions
739
740         * funcrequest.[Ch]: remove BufferView * member
741
742         * BufferView_pimpl.C:
743         * cursor.C:
744         * factory.[Ch]:
745         * lyxfind.[Ch]:
746         * lyxfunc.C:
747         * lyxtext.h:
748         * text3.C:
749         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
750
751 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
754         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
755
756 2004-01-13  André Pönitz  <poenitz@gmx.net>
757
758         * textcursor.[Ch]:
759         * lyxtext.h: hide cursor and selection anchor behind accessor function
760
761         * BufferView.C:
762         * BufferView_pimpl.[Ch]:
763         * PosIterator.C:
764         * bufferview_funcs.C:
765         * cursor.h:
766         * lyxfind.C:
767         * lyxfunc.C:
768         * text.C:
769         * text2.C:
770         * text3.C:
771         * undo.C: adjust
772
773         * cursor.h:
774         * cursor_slice.[Ch]: some integer type changes for inset unification
775
776         * lyxcursor.[hC]: remove, it's CursorSlice now.
777
778         * Makefile.am:
779         * BufferView_pimpl.[Ch]:
780         * bufferview_funcs.C:
781         * cursor_slice.C:
782         * lyxtext.h:
783         * text.C:
784         * text2.C:
785         * text3.C:
786         * textcursor.[Ch]: adjust
787
788 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
789
790         * text2.C (undoSpan): add and use
791         * text.C (breakParagraph): use undoSpan (fix bug 578)
792         * lyxtext.h: adjust
793
794 2004-01-08  Angus Leeming  <leeming@lyx.org>
795
796         * BufferView_pimpl.C (MenuInsertLyXFile):
797         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
798         * lyxfunc.C (menuNew, open, doImport):
799         FileFilterList change to the FileDialog open and save functions.
800
801 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * ShareContainer.h: make isEqual and isUnique adaptable
804
805         * CutAndPaste.C: make resetOwnerAndChanges adaptable
806
807 2004-01-07  Angus Leeming  <leeming@lyx.org>
808
809         * LyXAction.C:
810         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
811
812         * BufferView_pimpl.C (dispatch): act on these LFUNs.
813
814         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
815         functions replacing find, replace and replaceAll.
816
817         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
818         LFUN_WORDFIND(FORWARD|BACKWARD).
819
820 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text.C (breakParagraph): remove an outdated #warning
823
824 2004-01-07  André Pönitz  <poenitz@gmx.net>
825
826         * lyxfind.C: somewhat clearer logic
827
828         * text.C: prevent crash in cursorX on unitialized row cache
829
830 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * lyxcursor.[Ch] (operator>): add
833         * textcursor.C (selStart, selEnd): use std::min and std::max
834
835 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * Chktex.C: include boost/format.hpp
838
839 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * InsetList.C: replace functor MathcIt with adaptable functor
842         InsetTablePosLess
843         (insetIterator): modify accordingly
844
845         * BranchList.h: move the BranchNamesEqual functor here from...
846         * BranchList.C: ... to here
847
848         * BranchList.C: new BranchListEqual fuctor, use it. Remove
849         SameName and match.
850         (add): replace a finding loop with std::find_if.
851
852 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * output_docbook.C: moving LatexParam functionality into
855         .layout files
856
857 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
858
859         * buffer.C: increment format to 229.
860
861 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
862
863         * LaTeXFeatures.C:
864         * lyx_sty.[Ch]: remove minipageindent_def
865
866         * LyXAction.C:
867         * factory.C:
868         * lfuns.h:
869         * lyxfunc.C:
870         * text3.C: remove LFUN_INSET_MINIPAGE
871
872 2003-12-28  Angus Leeming  <leeming@lyx.org>
873
874         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
875
876 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
877
878         * text2.C (setParagraph): fix off-by-one crash
879
880 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * output_docbook.C: header stuff for AGU
883
884 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * text2.C (redoCursor): remove
887         * text.C:
888         * text3.C:
889         * BufferView_pimpl.C: remove calls to redoCursor and
890         setCursor(cursor.par(), cursor.pos()) all around
891
892 2003-12-15  Angus Leeming  <leeming@lyx.org>
893
894         * buffer.C: up the format to 228.
895
896 2003-12-15  André Pönitz  <poenitz@gmx.net>
897
898         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
899         slices
900
901         * Makefile.am:
902
903         * BufferView_pimpl.C:
904         * cursor.[Ch]:
905         * lyxcursor.[Ch]:
906         * rowpainter.[Ch]:
907         * lyxtext.h:
908         * text.C:
909         * text2.C:
910         * text3.C: adjust
911
912 2003-12-15  Angus Leeming  <leeming@lyx.org>
913
914         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
915         than getFromGUIName to manipulate the color.
916
917 2003-12-14  Angus Leeming  <leeming@lyx.org>
918
919         * BranchList.[Ch]: minimize the API.
920         (Branch::getBranch, getColor): now return a 'const &'.
921         (Branch::setSelected) now returns a bool set to true if the
922         selection status changes.
923         (BranchList::clear, size, getColor, setColor, setSelected,
924         allBranches, allSelected, separator): removed.
925         (BranchList::find): new functions, returning the Branch with
926         the given name.
927         (BranchList::add, remove): return a bool indicating that
928         the operation was successful.
929
930         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
931         new InsetBranch::isBranchSlected member function.
932
933         * LColor.[Ch]: mimimize the API.
934         (fill): renamed as addColor and made private.
935         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
936         versions of these functions taking a string arg have been removed.
937
938         * bufferparams.C (readToken):
939         * lyxfunc.C (dispatch):
940         * lyxrc.C (read): changes due to the altered BranchList and
941         LColor APIs.
942
943         * factory.C (createInset, readInset): changes due to altered
944         InsetBranch c-tor.
945
946 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
947
948         * factory.C:
949         * lyxfunc.C: remove insetminipage. "minipage-insert"
950         now produces a frameless minipage box inset.
951
952 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * textcursor.[Ch] (selStart,selEnd): add new methods
955         remove selection::start, end, use LyXCursor::operator<
956         * lyxcursor.[Ch] (operator<): add
957         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
958         * BufferView.[Ch] (unsetXSel): add
959         * text2.C (clearSelection): use unsetXSel,adjust
960         * text.C: adjust
961         * text3.C: adjust
962         * rowpainter.C: adjust
963         * bufferview_funcs.C (put_selection_at): adjust
964
965 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * BufferView_pimpl.C: small coord. correction
968
969 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
972         dragging over the splash screen.
973
974 2003-12-11  Angus Leeming  <leeming@lyx.org>
975
976         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
977         as it is now handled in LyXText::dispatch.
978
979         * text3.C (doInsertInset): remove a level of nesting.
980
981 2003-12-11  Angus Leeming  <leeming@lyx.org>
982
983         * factory.C (createInset): changes due to the changed interface to
984         InsetCommandMailer::string2params.
985
986 2003-12-10  Angus Leeming  <leeming@lyx.org>
987
988         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
989         'dialog-show-new-inset <inset name>'
990
991 2003-12-10  Angus Leeming  <leeming@lyx.org>
992
993         * buffer.C: up the format to 227.
994
995         * factory.C: the box inset is now identified simply by 'Box'.
996
997 2003-12-10  Angus Leeming  <leeming@lyx.org>
998
999         * buffer.C: up the format to 226.
1000
1001         * factory.C: the note inset is now identified simply by 'Note'.
1002
1003 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1004
1005         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1006         when a pit is enough. Standarize a couple of loops.
1007
1008 2003-12-05  Angus Leeming  <leeming@lyx.org>
1009
1010         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1011         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1012         data to the re-worked "log" dialog.
1013
1014 2003-12-03  André Pönitz  <poenitz@gmx.net>
1015
1016         * PosIterator.C:
1017         * iterators.C:
1018         * lyxtext.h:
1019         * output_latex.C:
1020         * paragraph_funcs.C:
1021         * text.C:
1022         * text2.C: use Inset::getText instead of Inset::getParagraph
1023
1024 2003-12-03  André Pönitz  <poenitz@gmx.net>
1025
1026         * buffer.[Ch]:
1027         * lyxtext.h:
1028         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1029         InsetText::read() as LyXText::read()
1030
1031 2003-12-02  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1034         type. Add a comment in the implementation that the function uses
1035         the stream's bad() function rather than fail() as the std::streams
1036         would do.
1037
1038 2003-12-02  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxlex.[Ch]: make interface more similar to std::stream
1041
1042         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1043
1044 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1045
1046         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1047
1048 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1049
1050         * vspace.[Ch]: remove VSpace::NONE
1051
1052 2003-12-01  André Pönitz  <poenitz@gmx.net>
1053
1054         * buffer.[Ch]:
1055         * lyxtext.h: move ParagraphList member to LyXText
1056         rename LyXText::ownerParagraphs to LyXText::paragraph
1057
1058         * CutAndPaste.C:
1059         * bufferview_funcs.C:
1060         * iterators.[Ch]:
1061         * lyx_cb.C:
1062         * paragraph.C:
1063         * rowpainter.C:
1064         * tabular.C:
1065         * text.C:
1066         * text2.C:
1067         * text3.C: adjust
1068
1069         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1070
1071         * undo.C: fix cursor positioning
1072
1073 2003-12-01  John Levon  <levon@movementarian.org>
1074
1075         * BufferView_pimpl.C: fix a crash on exit with
1076         a buffer open
1077
1078 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * BranchList.C: fix setSelected() method.
1081
1082 2003-11-28  André Pönitz  <poenitz@gmx.net>
1083
1084         * ParagraphParameters.[Ch]:
1085         * ParameterStruct.h: remove space above/below from Paragraph to
1086          InsetVSpace
1087
1088         * BufferView_pimpl.C:
1089         * factory.C:
1090         * lyxfunc.C:
1091         * lyxtext.h:
1092         * output_latex.C:
1093         * paragraph.C:
1094         * paragraph_funcs.C:
1095         * rowpainter.[Ch]:
1096         * text.C:
1097         * text2.C:
1098         * text3.C: adjust
1099
1100 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * factory.C: Syntax change for CharStyles
1103
1104 2003-11-28  André Pönitz  <poenitz@gmx.net>
1105
1106         * BufferView.[Ch]:
1107         * BufferView.[Ch]:
1108         * buffer.[Ch]:
1109         * buffer.[Ch]: move LyXText member
1110
1111 2003-11-28  André Pönitz  <poenitz@gmx.net>
1112
1113         * BufferView.[Ch]: make LyXText * text a private member
1114
1115         * BufferView_pimpl.C:
1116         * cursor.C:
1117         * iterators.C:
1118         * lyx_cb.C:
1119         * lyxfind.C:
1120         * lyxtext.h:
1121         * rowpainter.[Ch]:
1122         * text.C:
1123         * text2.C:
1124         * undo.C: adjust
1125
1126         * output_plaintext.C: cleanup
1127
1128 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1129
1130         * buffer.C:
1131         * lyxtextclass.[Ch]: parametrize SGML document header
1132
1133 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * converter.[Ch]:
1136         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1137         getFlavor().
1138
1139 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1140
1141         * text2.C (setFont): rework using PosIterator (no more recursive)
1142         (setCharFont): no more needed
1143         (setLayout): no more selection cursors fiddling (done by redoCursor)
1144         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1145         destroy remaining ones)
1146
1147 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1148
1149         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1150         * lyxtext.h: ditto
1151         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1152         selection cursors
1153         * lyxfunc.C: adjust
1154         * text3.C: adjust + re-allow multi par depth changes
1155         * textcursor.C: simplify a bit
1156
1157 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1158
1159         * src/buffer.C:
1160         * src/lyxlayout.C:
1161         * src/lyxlayout.h:
1162         * src/lyxtext.h:
1163         * src/output_docbook.C:
1164         * src/output_latex.C:
1165         * src/paragraph.C:
1166         * src/paragraph.h:
1167         * src/sgml.C:
1168         * src/sgml.h:
1169         * src/text2.C: Introducing a number of tags parametrizing various
1170         XML formats that we may want to support
1171
1172 2003-11-25  André Pönitz  <poenitz@gmx.net>
1173
1174         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1175
1176         * lyxtext.h (leftMargin/rightMargin): simplify interface
1177
1178         * rowpainter.C:
1179         * text.C:
1180         * text2.C:
1181         * text3.C: adjust
1182
1183 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1184
1185         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1186         master file to any child files. Fixes bug 546.
1187
1188 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1191
1192 2003-11-24  André Pönitz  <poenitz@gmx.net>
1193
1194         * rowpainter.C: simplification
1195
1196         * text2.C (updateCounters): remove call to redoParagraph on
1197         changed labels as this is far too expensive.
1198
1199 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * converter.C (convert): fix a crash: this function gets
1202         called with buffer == 0 from importer code.
1203
1204 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1205
1206         * text3.C (cursorPrevious): make sure that we do not compare
1207         iterators form different containers.
1208         (cursorNext): ditto
1209
1210         * rowpainter.C (paintSelection): make sure that we do not compare
1211         iterators from different containers.
1212
1213         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1214         iterators from different ParagraphList containers.
1215         [NEXT] ditto
1216
1217         * text2.C (LyXText): change order of initialization slightly
1218         (operator=): new function. copy all variables except cache_par_
1219         (moveUp): make sure that we do not compare iterators from
1220         different ParagraphList constainers.
1221         (moveDown): ditto
1222
1223         * text.C (firstPar): new function
1224         (lastPar): new function
1225         (endPar): new function
1226
1227         * lyxtext.h: move things around and group public functions, public
1228         variables, private functions, private variables
1229
1230 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1231
1232         * factory.C: change call to InsetERT constructor to avoid
1233         additional invocation of method status
1234         * text2.C (toggleInset): remove redundant update() call
1235         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1236         instead of a Bufferview pointer
1237
1238 2003-11-21  André Pönitz  <poenitz@gmx.net>
1239
1240         * rowpainter.C: simplification
1241
1242 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * text3.C (dispatch): make possible to extend a word/row selection
1245         with the mouse
1246
1247 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * lyxtext.h: x0_,y0_ -> xo_,yo_
1250         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1251         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1252         * rowpainter.C (paintRows): paint full paragraphs
1253
1254 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1255
1256         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1257         screen coordinates)
1258
1259 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * lyxtext.h: add x0_, y0_
1262         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1263         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1264
1265 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1266
1267         * text2.C (setCursorIntern): move the x_target update here *
1268         * text3.C: change some bv() to true/false in calls to
1269         cursorUp/Down/Right/Left
1270         * cursor.C: use helper function.
1271
1272 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1275         * paragraph_funcs.[Ch]: correct comment
1276         * rowpainter.C: do not paint selections away from bv->cursor()
1277         Fix a long standing selection painting bug.
1278         * text3.C: generalize mouse-selection code to LyXTexts other that
1279         top one
1280         * textcursor.C: do not use y coords if we can use par offsets
1281
1282 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1283
1284         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1285         cursor position after e.g. inset insert)
1286
1287 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1288
1289         * lyxfind.C (replace): adjust to locking removal + some
1290         code simplification
1291
1292 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1295         of the path
1296
1297 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1298
1299         * lyxlayout.[Ch]:
1300         * output_docbook.C: XML sanitation: new layout
1301         parameters InnerTag and CommandDepth
1302
1303 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * BufferView_pimpl.C:
1306         * factory.C:
1307         * text3.C: Fix the insertion and modification of button-style
1308         insets
1309
1310 2003-11-13  André Pönitz  <poenitz@gmx.net>
1311
1312         * InsetList.[Ch]: remove deleteLyXText
1313
1314         * paragraph.[Ch]: cache beginOfBody position
1315
1316         * Bidi.C:
1317         * text.C:
1318         * text2.C:
1319         * text3.C: remove superfluous update() calls
1320
1321         * vspace.C: cleanup
1322
1323 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1326         * BufferView.C (fitLockedInsetCursor): remove
1327         * cursor.[Ch] (getDim): add
1328         * text.C (getRowNearY): add faster version
1329         * text3.C: remove some update calls
1330
1331 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1332
1333         * LaTeXFeatures.C:
1334         * LyXAction.C:
1335         * MenuBackend.C:
1336         * MenuBackend.h:
1337         * dispatchresult.h:
1338         * factory.C:
1339         * lfuns.h:
1340         * lyxfunc.C:
1341         * lyxtextclass.C:
1342         * lyxtextclass.h:
1343         * text3.C: The Character Style /XML short element patch.
1344
1345 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1346
1347         * text3.C:
1348         * factory.C: Small step to solving 'unable to insert some insets'
1349         problem
1350
1351 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * cursor.[Ch] (updatePos): new function for updating the y
1354         position of the tip inset
1355         * bufferview_funcs.C (put_selection_at):
1356         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1357
1358 2003-11-11  André Pönitz  <poenitz@gmx.net>
1359
1360         * text.C: remove big comment on invalid Paragraph pointers as it is
1361         not valid anymore
1362
1363 2003-11-11  André Pönitz  <poenitz@gmx.net>
1364
1365         * text_funcs.[Ch]: merge with ...
1366
1367         * text.C: ... this
1368
1369         * lyxtext.h:
1370         * text2.C:
1371         * text3.C: adjust
1372
1373         * Makefile.am: remove text_funcs.[Ch]
1374
1375 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1376
1377         * cursor.C (getPos): return absolute cached y coord
1378
1379         * BufferView_pimpl.C (fitCursor): new simplistic code
1380         (workAreaDispatch): add a fitCursor call
1381
1382 2003-11-10  André Pönitz  <poenitz@gmx.net>
1383
1384         * BufferView.[Ch]:
1385         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1386
1387 2003-11-10  André Pönitz  <poenitz@gmx.net>
1388
1389         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1390         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1391         indicate that the cursor needs to leave an inset
1392
1393         * lyxtext.h: remove inset locking
1394
1395         * cursor.[Ch]: re-implement functionality provided by inset locking
1396
1397         * BufferView.[Ch]:
1398         * BufferView_pimpl.[Ch]:
1399         * LyXAction.C:
1400         * bufferview_funcs.[Ch]:
1401         * factory.C:
1402         * funcrequest.[Ch]:
1403         * iterators.C:
1404         * lyx_cb.C:
1405         * lyxfind.C:
1406         * lyxfunc.C:
1407         * text.C:
1408         * text2.C:
1409         * text3.C:
1410         * undo.C: adjust
1411
1412 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1413
1414         * PosIterator.[Ch]: replace the stack with a vector, add inset
1415         accesor
1416         * iterators.[C]: adjust
1417
1418 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1419
1420         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1421         replaced
1422         * paragraph_funcs.C (readParToken): put the correct id in the
1423         error item, not the id of the top paragraph
1424
1425 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1426
1427         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1428         * bufferview_funcs.C (put_selection_at): use the above
1429
1430 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1431
1432         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1433
1434 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * output_linuxdoc.h:
1437         * output_plaintext.h:
1438         * output.h:
1439         * output_docbook.h: add #include statements
1440
1441 2003-11-05  José Matos  <jamatos@lyx.org>
1442
1443         * output_docbook.[Ch]:
1444         * output_latex.[Ch]:
1445         * output_linuxdoc.[Ch]:
1446         * output_plaintext.[Ch]: New files for output formats.
1447         * output.[Ch]: New file for helper functions.
1448
1449         * buffer.[Ch]:
1450         * paragraph_funcs.[Ch]: output functions moved to new files.
1451
1452         * outputparams.h: rename of latexrunparams.h
1453
1454         * LaTeX.[Ch]:
1455         * buffer.[Ch]:
1456         * bufferlist.[Ch]:
1457         * converter.[Ch]:
1458         * exporter.C:
1459         * paragraph.[Ch]:
1460         * paragraph_funcs.[Ch]:
1461         * paragraph_pimpl.[Ch]:
1462         * tabular.[Ch]: rename ascii to plaintext
1463         and LatexRunParams to OutputParams.
1464
1465 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1466
1467         * iterators.[Ch] (text): require bv argument
1468         * undo.C (recordUndo):
1469         * lyxfunc.C (dispatch):
1470         * bufferview_funcs.C (put_selection_at): adjust
1471
1472 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1473
1474         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1475
1476 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1479         nestings
1480
1481 2003-11-04  André Pönitz  <poenitz@gmx.net>
1482
1483         * cursor.[Ch]: restructure
1484
1485         * BufferView.[Ch]:
1486         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1487
1488         * iterators.[Ch] (asCursor): remove
1489
1490         * lfuns.h: remove LFUN_INSET_EDIT
1491
1492         * lyxfunc.C:
1493         * tabular.C:
1494         * text.C:
1495         * text2.C:
1496         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1497
1498 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * lyxfind.[Ch]: complete overhaul
1501         * BufferView_pimpl.C:
1502         * lyxfunc.C: adjust
1503         * paragraph.[Ch] (insert): add
1504
1505 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1506
1507         * BufferView.[Ch]:
1508         * lyxtext.h:
1509         * text.C: remove dead spellcheck code
1510
1511 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * dispatchresult.h: add a val setter
1514
1515         * cursor.C (dispatch): use a tempvar for data_[i]
1516
1517 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1518
1519         * PosIterator.[Ch]: compile fix
1520
1521 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * text.C (cursorPar): deactivate the cursor cache
1524
1525 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1526
1527         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1528
1529 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * text3.C (dispatch): adjust for new DisptchResult semantics.
1532
1533         * lyxfunc.C (dispatch): handle update when return from
1534         Cursor::dispatch, adjust for new DispatchResult semantics.
1535
1536         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1537         DispatchResult(true) mean to not update. Add class functions for
1538         setting dispatched and update, as well as reading.
1539
1540         * cursor.C (dispatch): don't handle update here
1541
1542 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1543
1544         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1545         * trans_mgr.C: adjust
1546
1547         * paragraph_funcs.C (readParToken): exception safety
1548
1549         * lyxvc.h: store the vcs pointer in a scoped_ptr
1550         * lyxvc.C: adjust
1551
1552         * lyxsocket.C (serverCallback): exception safety
1553
1554         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1555
1556         * ispell.C (clone): make it return a auto_ptr
1557
1558         * factory.C (createInset): exception safety
1559         (readInset): exception safety
1560
1561         * bufferlist.C (newBuffer): exception safety
1562
1563         * Thesaurus.C (Thesaurus): use initialization for aik_
1564
1565         * MenuBackend.C (expandToc): exception safety.
1566
1567 2003-11-03  André Pönitz  <poenitz@gmx.net>
1568
1569         * buffer.C:
1570         * buffer.h:
1571         * bufferview_funcs.C: remove getInsetFromId()
1572
1573         * lyxcursor.[Ch]:
1574         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1575
1576         * lyxfunc.C:
1577         * text2.C:
1578         * text3.C: adjust
1579
1580 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1581
1582         * PosIterator.C (distance, advance): new
1583         * bufferview_funcs.[Ch] (put_selection_at): new
1584         * iterators.[Ch] (lockPath): new
1585
1586 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1587
1588         * iterators.[Ch] (asPosIterator): added
1589         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1590         * PosIterator.[Ch]: added
1591
1592 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * text3.C:
1595         * lyxfunc.C:
1596         * cursor.C (dispatch):
1597         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1598
1599         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1600         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1601         contructor, add a class function dispatched. Remove operator>=
1602
1603 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1604
1605         * debug.C: only use the default constructor for debugstream
1606         (lyxerr) here.
1607
1608         * main.C (main): include debug.h and setup the lyxerr streambuf
1609         here.
1610
1611 2003-10-31  José Matos  <jamatos@lyx.org>
1612
1613         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1614
1615         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1616         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1617         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1618         * paragraph_pimpl.C (simpleTeXSpecialC):
1619         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1620         add LatexRunParams argument.
1621
1622         * exporter.C (Export): change call accordingly.
1623
1624         * latexrunparams.h: add new member to take care of the other backends.
1625 2003-10-30  José Matos  <jamatos@lyx.org>
1626
1627         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1628         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1629         factorise code for paragraph output.
1630         * buffer.[Ch]:
1631         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1632         move functions.
1633
1634 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1635
1636         * text3.C (dispatch):
1637         * lyxfunc.C (dispatch):
1638         * cursor.C (dispatch):
1639         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1640
1641         * dispatchresult.h: make the dispatch_result_t ctor explicit
1642
1643 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1644
1645         * sgml.[Ch]:
1646         * buffer.C: small refactoring of docbook stuff
1647
1648 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1649
1650         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1651         meaning.
1652
1653 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1656         operator dispatch_result_t, and operators for == != and >=
1657
1658         * cursor.C (dispatch): adjust for operator dispatch_result_t
1659         removal. comment out call to update
1660
1661         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1662
1663 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1664
1665         * text3.C:
1666         * text2.C:
1667         * text.C:
1668         * lyxtext.h:
1669         * lyxfunc.C:
1670         * cursor.C:
1671         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1672         (dispatch):
1673
1674         * dispatchresult.h: new file, DispatchResult broken out of
1675         insets/insetbase.h
1676
1677         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1678
1679 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1680
1681         * text.C (rowBreakPoint): put a hack inside #if 0
1682
1683 2003-10-28  André Pönitz  <poenitz@gmx.net>
1684
1685         * lyxtext.h:
1686         * metricsinfo.C:
1687         * paragraph_funcs.C:
1688         * rowpainter.C:
1689         * text.C:
1690         * text2.C: general cleanup (lots of small stuff)
1691
1692 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * text2.C (cursorEnd): simple fix to the "end key goes to one
1695         before the end on last row" bug
1696
1697 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1698
1699         * text.C (backspace): fix the "zombie characters"
1700
1701 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1704
1705 2003-10-27  André Pönitz  <poenitz@gmx.net>
1706
1707         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1708
1709         * factory.C: handle new InsetPagebreak, InsetLine
1710
1711         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1712         and move handling into new InsetPagebreak, InsetLine
1713
1714         * BufferView_pimpl.C:
1715         * LyXAction.C:
1716         * ParagraphParameters.C:
1717         * ParameterStruct.h:
1718         * lyxfunc.C:
1719         * lyxtext.h:
1720         * paragraph.C:
1721         * paragraph.h:
1722         * paragraph_funcs.C:
1723         * paragraph_pimpl.C:
1724         * rowpainter.C:
1725         * text.C:
1726         * text2.C:
1727         * text3.C: adjust
1728
1729 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1730
1731         * text.C:
1732         * lyxrow_funcs.[Ch]:
1733         * Bidi.C:
1734         * paragraph.C:
1735         * lyxtext.h:
1736         * rowpainter.C:
1737         * text2.C:
1738         * text3.C: remove lastPos uses in favour of Row::endpos
1739
1740 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * undo.C (performUndoOrRedo): fix two crashes by setting a
1743         cursor by hand and reordering some calls. Use bv->lockInset instead
1744         of inset->edit because the latter loses cursor information
1745
1746 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1747
1748         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1749         by Martin
1750         (rowBreakPoint): fix width. change point to point + 1.
1751         Add a missing check.
1752
1753 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1754
1755         * MenuBackend.C:
1756         * lyxfunc.C: fix (at least partly) the problems
1757         with the Nav menu and headers inside branch insets
1758         reported by Kayvan
1759
1760 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1761
1762         * paragraph.C (getChar): add strong asserts
1763
1764         * lyxrow_funcs.C (lastPos): remove hideous hack
1765
1766         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1767         (fill): adjust to that (avoid an infinite loop)
1768
1769 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1770
1771         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1772
1773 2003-10-23  André Pönitz  <poenitz@gmx.net>
1774
1775         * RowList_fwd.h: change list<> to vector<> to gain speed
1776         after suggestion from Alfredo
1777
1778 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1779
1780         * lyxtext.h: move the bidi stuff from here...
1781         * text.C: and here
1782         * text2.C: and here
1783         * Bidi.[Ch]: ... to here
1784
1785 2003-10-23  André Pönitz  <poenitz@gmx.net>
1786
1787         * lyxtext.h:
1788         * text.C (isLastRow, isFirstRow): new functions
1789
1790         * paragraph.h: new width cache member
1791
1792         * rowpainter.C: replace RowList::iterator with Row & where possible
1793
1794         * lyxfunc.C: replace several view()->text with a single call
1795
1796         * toc.C: fix 'unused' warning
1797
1798 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1801         when woring with stream::pos_type
1802         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1803
1804 2003-10-22  André Pönitz  <poenitz@gmx.net>
1805
1806         * lyxtext.h:
1807         * text.C: use Row & instead of RowList::iterator
1808
1809         * lyxrow.h: rename end() to endpos()
1810
1811         * rowpainter.C:
1812         * text.C:
1813         * text2.C: adjust
1814
1815 2003-10-22  Angus Leeming  <leeming@lyx.org>
1816
1817         * buffer.[Ch] (fully_loaded): new member function, returning true
1818         only when the file has been loaded fully.
1819         Used to prevent the premature generation of previews and by the
1820         citation inset to prevent computation of the natbib-style label.
1821
1822         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1823         templates are all set up.
1824
1825         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1826
1827 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1828
1829         * text.C: fixed an "oops" in the "is a bit silly"
1830         bug fix
1831
1832 2003-10-21  André Pönitz  <poenitz@gmx.net>
1833
1834         * FuncStatus.[Ch]: small stuff, whitespace
1835
1836         * lyxfont.[Ch]: operator<<() for debug reasons
1837
1838         * lyxfunc.C:
1839         * lyxrow_funcs.C:
1840         * lyxtext.h: whitespace, spelling
1841
1842         * paragraph.C: naming of variables
1843
1844         * text.C:
1845         * text2.C: small stuff
1846
1847
1848 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1849
1850         * text.C: (1) finish off the inset display() work;
1851         (2) fix the "is a bit silly" bug (accessing char
1852         past end of par).
1853
1854 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1855
1856         * text.C: re-introduce display() for insets, fixing the
1857         various bugs (stretch of line above, math inset
1858         positioning, ...)
1859
1860 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1861
1862         * text.C (rightMargin): remove spurious semicolon
1863
1864         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1865         1415)
1866
1867 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * text3.C: fix one crash due to wrong cursor def
1870
1871 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1872
1873         * vc-backend.C (scanMaster): make the regex static
1874
1875         * LaTeX.C (scanAuxFile): make the regexs static
1876
1877         * text3.C (doInsertInset, dispatch, dispatch):
1878         * text2.C (cursorUp, cursorDown):
1879         * text.C (selectNextWordToSpellcheck):
1880         * BufferView_pimpl.C (dispatch):
1881         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1882
1883 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1884
1885         * lyxsocket.C: include <cerrno>
1886
1887 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1888
1889         * lyxfunc.C (dispatch): remove textcache stuff
1890
1891         * bufferlist.C (release): remove textcache stuff
1892         (closeAll): ditto
1893
1894         * TextCache.C: delete file
1895         * TextCache.h: delete file
1896
1897         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1898
1899         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1900         delete of the bv_->text.
1901         (resizeCurrentBuffer): remove texcache stuff
1902         (workAreaResize): ditto
1903
1904 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1907         action.
1908
1909 2003-10-16  André Pönitz  <poenitz@gmx.net>
1910
1911         * lyxrow.[Ch]:
1912         * paragraph.h:
1913         * rowpainter.C:
1914         * text.C:
1915         * text2.C:
1916         * text3.C: speed up by storing y positions per paragraph plus per-row
1917         offset instead of having a 'full' y position in the row.
1918
1919 2003-10-15  André Pönitz  <poenitz@gmx.net>
1920
1921         * iterators.[Ch]:
1922         * iterators.[Ch]:
1923         * undo.[Ch]: make undo aware of inner insets
1924
1925 2003-10-14  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1928         static member functions LyX::ref() and LyX::cref.
1929         (lastfiles): new accessor functions for the new lastfiles_ member var.
1930         (addLyXView, views_): add a new LyXView to the list of views_.
1931         (updateInset): loop over all LyXViews to call their own updateInset
1932         member function, returning a pointer to the Buffer owning the inset.
1933
1934         * BufferView_pimpl.C (loadLyXFile):
1935         * MenuBackend.C (expandLastfiles):
1936         * bufferlist.C (MenuWrite, QuitLyX):
1937         lastfiles is no longer a global variable.
1938         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1939
1940         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1941         static function. Access through LyX::cref().emergencyCleanup().
1942
1943 2003-10-14  André Pönitz  <poenitz@gmx.net>
1944
1945         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1946
1947         * undo.[Ch]: restoring part of 'undo in insets'
1948
1949         * Makefile.am:
1950         * undo_funcs.[Ch]: merge with undo.[Ch]
1951
1952         * tabular.C: small cleansing stuff
1953
1954 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * paragraph_funcs.C (readParToken): report unknown insets as error
1957         boxes. Use the outer paragraph as location (also for unknown
1958         tokens).
1959
1960         * factory.C (readInset): do not abort on reading an unknown inset.
1961         Eat it and return 0.
1962
1963 2003-10-13  Angus Leeming  <leeming@lyx.org>
1964
1965         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1966
1967         * lyxrc.C: displayTranslator is now a function,
1968         declared in GraphicsTypes.h.
1969
1970 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1971
1972         * format.C: new placeholder $$a to pass the socket address.
1973
1974         * bufferlist.[Ch]: new function getBufferFromTmp.
1975
1976         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1977           files in the temporary dir.
1978
1979 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1980
1981         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1982
1983         * Makefile.am: add lyxsocket.[Ch].
1984
1985         * lyx_main.C (error_handler): handle SIGPIPE.
1986
1987 2003-10-13  André Pönitz  <poenitz@gmx.net>
1988
1989         * BufferView_pimpl.C:
1990         * lyxtext.h:
1991         * text.C:
1992         * text2.C:
1993         * text3.C:
1994         * undo_funcs.[Ch]: use paroffset_type instead of
1995           ParagraphList::iterators to prevent multiple conversion
1996           (and get a more robust interface)
1997
1998 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2001         * lyxtext.h: ditto
2002         * text3.C (dispatch): ditto
2003
2004 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2005
2006         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2007         move the onlyfile, use onlyfile instead of foundfile in a couple
2008         of places.
2009
2010         * DepTable.C (update): flush the error stream a bit more
2011
2012 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * lyxserver.C (callback): adjust
2015
2016         * lyxfunc.C (getStatus): add a missing brace in commented code
2017         (ensureBufferClean): reindent
2018         (dispatch): delete version taking a string
2019
2020 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2021
2022         * LaTeX.C (deplog): move found file handlig from here...
2023         (handleFoundFile): .. to new function here.
2024         (deplog): make sure to discover several files mentioned on the
2025         same log line.
2026
2027 2003-10-10  André Pönitz  <poenitz@gmx.net>
2028
2029         * lyxfunc.C:
2030         * lyxtext.h:
2031         * tabular.C:
2032         * text.C:
2033         * text2.C:
2034         * text3.C: fix some of the tabular crashes
2035
2036 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2037
2038         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2039
2040         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2041
2042 2003-10-09  André Pönitz  <poenitz@gmx.net>
2043
2044         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2045
2046         * BufferView.C:
2047         * BufferView_pimpl.C:
2048         * bufferview_funcs.C:
2049         * lyx_cb.C:
2050         * lyxcursor.C:
2051         * lyxfind.C:
2052         * lyxfunc.C:
2053         * lyxtext.h:
2054         * text.C:
2055         * text2.C:
2056         * text3.C:
2057         * text_funcs.[Ch]:
2058         * textcursor.[Ch]:
2059         * undo_funcs.C: adjust
2060
2061 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2062
2063         * text2.C (incrementItemDepth): new function, use a backtracking
2064         algorithm to discover the correct item depth.
2065         (resetEnumCounterIfNeeded): new function, use a backtracking
2066         algorithm to discover if counter reset is needed.
2067         (setCounter): use them. Simplify a bit. Add different labels for
2068         different item depths for itemize.
2069
2070         * paragraph.C (Paragraph): remove initialization of enumdepth
2071         (operator=): ditto
2072
2073         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2074         enumerate and itemize. Change the type of itemdepth to signed char.
2075
2076 2003-10-08  André Pönitz  <poenitz@gmx.net>
2077
2078         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2079           thing assignable.
2080         * text.C:
2081         * text2.C: adjust
2082
2083         * tabular.[Ch]: fix crash after 'row-insert'
2084
2085 2003-10-08  Angus Leeming  <leeming@lyx.org>
2086
2087         Fix doxygen warnings.
2088
2089         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2090         Remove CutAndPaste:: prefix from header file declaration.
2091
2092         * LColor.h (fill): remove LColor:: prefix from declaration.
2093
2094         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2095         use lyx::depth_type rather than Paragraph::depth_type so that
2096         header file and .C file match.
2097
2098         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2099
2100         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2101         * aspell.C: \file aspell_local.C -> \file aspell.C
2102         * gettext.C: \file gettext.C -> \file src/gettext.C
2103         * gettext.h: \file gettext.h -> \file src/gettext.h
2104         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2105         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2106         * text.C: \file text.C -> \file src/text.C
2107
2108         * toc.C: move comment so that doxygen is not confused.
2109
2110 2003-10-07  Angus Leeming  <leeming@lyx.org>
2111
2112         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2113
2114 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2115
2116         * aspell.C:
2117         * aspell_local.h: add forgotten std::string's.
2118
2119 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2120
2121         * LaTeXFeatures.C:
2122         * LyXAction.C:
2123         * factory.C:
2124         * lfuns.h:
2125         * lyxfunc.C:
2126         * text3.C: The Box patch. Fancybox support, minipage, parbox
2127
2128 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2129
2130         * CutAndPaste.h:
2131         * DepTable.h:
2132         * FloatList.h:
2133         * LaTeXFeatures.h:
2134         * ParagraphParameters.h:
2135         * TextCache.h:
2136         * Thesaurus.h:
2137         * bufferlist.h:
2138         * exporter.h:
2139         * importer.h:
2140         * lastfiles.h:
2141         * lyxfind.h:
2142         * lyxfont.h:
2143         * lyxlex.h:
2144         * lyxtextclasslist.h:
2145         * messages.h:
2146         * paragraph.h:
2147         * paragraph_pimpl.C:
2148         * textcursor.h: add <string> and other small fixes to make Lars'
2149         std::string patch compile with STLport.
2150
2151 2003-10-06  Angus Leeming  <leeming@lyx.org>
2152
2153         * LColor.h: Add missing #include <string>.
2154
2155 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * All most all file in all subdirs: Make <string> be the prefered
2158         way of getting to std::string, add using declarations.
2159
2160 2003-10-06  André Pönitz  <poenitz@gmx.net>
2161
2162         * metricsinfo.C: initialize LyXFont before changing attribute.
2163         (fixes the 'math in \emph is upright' bug)
2164
2165 2003-10-06  André Pönitz  <poenitz@gmx.net>
2166
2167         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2168
2169 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2170
2171         * graph.C:
2172         * paragraph_pimpl.C: Small fixes to build using STLport
2173
2174 2003-10-02  André Pönitz  <poenitz@gmx.net>
2175
2176         * lyxfunc.C:
2177         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2178
2179 2003-10-01  André Pönitz  <poenitz@gmx.net>
2180
2181         * factory.C: assert early
2182
2183 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * lyx_main.C: remove the global debug object
2186
2187         * debug.h: adjust for new debugstream
2188
2189         * debug.C: adjust for new debugstream and keep the global debug
2190         object here.
2191
2192 2003-09-22  Angus Leeming  <leeming@lyx.org>
2193
2194         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2195         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2196         an incomplete class LyXFont.
2197
2198 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2199
2200         * factory.C: bug fix in branches
2201
2202 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2203
2204         * lyxfunc.C (processKeySym): adjust
2205         (dispatch): adjust
2206         (dispatch): change arg name from ev to func, adjust
2207         (sendDispatchMessage): ditto
2208
2209         * lyx_main.C (defaultKeyBindings): adjust keybindings
2210         (deadKeyBindings): ditto
2211
2212         * kbsequence.C (addkey): return a FuncRequest
2213
2214         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2215
2216         * kbmap.C (bind): take a FuncRequest as arg, adjust
2217         (read): adjust
2218         (lookup): adjust
2219         (defkey): change to take a FuncRequest as arg, adjust
2220         (findbinding): take a FuncRequest as arg, adjust.
2221
2222         * funcrequest.h (operator=): added
2223
2224         * funcrequest.C (FuncRequest): default kb_action changed from
2225         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2226
2227         * buffer.C (dispatch): simplify
2228         (dispatch): adjust to take a FuncRequest as arg, adjust
2229
2230         * boost.C (assertion_failed): change assertion message slightly
2231
2232         * ToolbarBackend.C (read): simplify
2233
2234         * MenuBackend.C (binding): adjust call to findbinding, add a
2235         message if no binding is found.
2236         (read): simplify
2237         (expandToc): correct by adding a empty FuncRequest
2238
2239         * LyXAction.C: include <boost/assert.hpp>
2240         (isPseudoAction): delete function
2241         (LookupFunc): change name to...
2242         (lookupFunc): this. change return type to FuncRequest.
2243         (getActionName): take kb_action as arg, simplify
2244         (funcHasFlag): add an assert, simplify.
2245
2246 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2247
2248         * toc.C (action): return a FuncRequest, simplify
2249
2250         * lyxfunc.C (processKeySym): adjust
2251         (getStatus): delete version that takes an int.
2252         (getStatus): adjust
2253         (dispatch): delete version that takes action as int
2254         (dispatch): adjust
2255         (sendDispatchMessage): simplify and adjust
2256
2257         * funcrequest.C (getArg): take unsigned int as arg
2258
2259         * ToolbarBackend.C (read): adjust
2260         (add): delete version that takes func as a string.
2261         (getIton): take a FuncRequest as arg
2262
2263         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2264         action.
2265
2266         * MenuBackend.C (MenuItem): add a new construct that only takes a
2267         Kind, simplify the constructor use for submenus.
2268         (add): adjust
2269         (expandLastfiles): adjust
2270         (expandDocuments): adjust
2271         (expandFormats): adjust
2272         (expandFloatListInsert): adjust
2273         (expandFloatInsert): adjust
2274         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2275
2276         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2277         Remove class variables lyx_pseudo_map and lyx_arg_map
2278
2279         * LyXAction.C (searchActionArg): delete function
2280         (getPseudoAction): delete function
2281         (retrieveActionArg): delete function
2282         (LookupFunc): make it return kb_action, simplify.
2283         (getActionName): simplify
2284
2285         * factory.C (createInset): fix new bug
2286
2287 2003-09-19  Angus Leeming  <leeming@lyx.org>
2288
2289         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2290         masterFilename_ parameter in the include inset.
2291
2292         * factory.C (createInset): changes due to the changes to InsetInclude.
2293
2294 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2295
2296         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2297
2298 2003-09-18  Angus Leeming  <leeming@lyx.org>
2299
2300         * buffer.C:
2301         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2302         Inset::fillWithBibKeys.
2303         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2304
2305 2003-09-18  Angus Leeming  <leeming@lyx.org>
2306
2307         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2308         variables.
2309         (ctor): pass and store a 'Buffer const &'
2310         (buffer): new member function.
2311
2312         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2313         '*this' to the LaTeXFeatures ctor.
2314
2315 2003-09-18  Angus Leeming  <leeming@lyx.org>
2316
2317         * LColor.h:
2318         * lyxfont.C:
2319         * lyxfont.h:
2320         * lyxtext.h:
2321         * text.C: rename EnumLColor as LColor_color.
2322
2323 2003-09-18  Angus Leeming  <leeming@lyx.org>
2324
2325         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2326         remove #include "insets/insetbase.h" from cursor.h.
2327
2328 2003-09-18  Angus Leeming  <leeming@lyx.org>
2329
2330         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2331         InsetOld_code to remove #include "inset.h".
2332
2333         * iterators.C: add #include "insets/inset.h"
2334
2335 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2336
2337         * BufferView.C: remove more locking stuff that apparently doesn't
2338         do anything sensible.
2339
2340 2003-09-16  André Pönitz  <poenitz@gmx.net>
2341
2342         * paragraph.[Ch]:
2343         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2344           performance boost.
2345
2346 2003-09-16  Angus Leeming  <leeming@lyx.org>
2347
2348         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2349
2350         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2351         arg/return type.
2352
2353         * paragraph.h: remove #include "lyxfont.h". Forward declare
2354         LyXFont_size.
2355
2356 2003-09-16  Angus Leeming  <leeming@lyx.org>
2357
2358         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2359         of support/textutils.h.
2360         (isWord): move the contents of support/textutils.h's IsWordChar here.
2361
2362         * buffer.C:
2363         * lyxfind.C:
2364         * rowpainter.C:
2365         * text.C:
2366         * text2.C: add #include "paragraph.h".
2367
2368         * rowpainter.C:
2369         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2370
2371 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * main.C:
2374         * lyx_main.C:
2375         * lyx_cb.C:
2376         * buffer.C:
2377         * LaTeX.C: use namespace alias for lyx::support::os
2378
2379 2003-09-16  Angus Leeming  <leeming@lyx.org>
2380
2381         * bufferparams.C:
2382         * bufferview_funcs.C:
2383         * factory.C:
2384         * lyxfunc.C:
2385         * paragraph_pimpl.C:
2386         * rowpainter.C:
2387         * text.C: add #include "LColor.h".
2388
2389 2003-09-16  Angus Leeming  <leeming@lyx.org>
2390
2391         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2392         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2393         return LyXFont &.
2394         Store the FontBits::color variable as an int rather than as an
2395         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2396         file.
2397
2398         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2399         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2400         string calls together.
2401
2402         * lyxrc.C: add #include "LColor.h".
2403
2404 2003-09-15  Angus Leeming  <leeming@lyx.org>
2405
2406         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2407         a cow_ptr.
2408
2409 2003-09-15  Angus Leeming  <leeming@lyx.org>
2410
2411         * LColor.h: add an EnumLColor wrapper for LColor::color.
2412
2413         * lyxfont.[Ch] (color, setColor, realColor):
2414         * lyxtext.h, text.C (backgroundColor):
2415         pass EnumLColor args to/from the functions, rather than LColor::color
2416         ones.
2417
2418         * lyxfont.h:
2419         * lyxtext.h: forward declare EnumLColor.
2420
2421         * lyx_main.C: add #include "LColor.h".
2422
2423 2003-09-15  Angus Leeming  <leeming@lyx.org>
2424
2425         * .cvsignore: add lyx-gtk.
2426
2427 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * Chktex.C
2430         * LaTeX.C
2431         * LaTeXFeatures.C
2432         * ParagraphParameters.C
2433         * Spacing.C
2434         * buffer.C
2435         * bufferparams.C
2436         * bufferview_funcs.C
2437         * chset.C
2438         * counters.C
2439         * funcrequest.C
2440         * lyxfont.C
2441         * lyxgluelength.C
2442         * lyxlength.C
2443         * paragraph.C
2444         * paragraph_funcs.C
2445         * text3.C
2446         * vc-backend.C: remove usage of STRCONV
2447
2448 2003-09-15  Angus Leeming  <leeming@lyx.org>
2449
2450         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2451         explicitly define the color passed to the painter.
2452
2453 2003-09-15  Angus Leeming  <leeming@lyx.org>
2454
2455         * bufferparams.C (BufferParams): reorder member initializers to avoid
2456         compiler warning.
2457
2458 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2461         * text.C (updateRowPositions): remove an unusual nop
2462
2463 2003-09-12  André Pönitz  <poenitz@gmx.net>
2464
2465         * BufferView_pimpl.C:
2466         * Bullet.C:
2467         * layout.h:
2468         * lyxfunc.C:
2469         * lyxlayout.[Ch]:
2470         * lyxtextclass.C:
2471         * rowpainter.C:
2472         * text.C:
2473         * text2.C:
2474         * Counters.[Ch]: finish the 'automatic counters' job
2475
2476 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2477
2478         * aspell.C: include <boost/assert.cpp> (compile fix)
2479
2480 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2481
2482         * boost.C (assertion_failed): use lyx::support::abort instead of
2483         assert.
2484
2485 2003-09-10  Angus Leeming  <leeming@lyx.org>
2486
2487         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2488         with their _fwd progeny.
2489
2490 2003-09-09  Angus Leeming  <leeming@lyx.org>
2491
2492         134 files throughtout the source tree: replace 'using namespace abc;'
2493         directives with the appropriate 'using abc::xyz;' declarations.
2494
2495 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2496
2497         * boost.C (emergencyCleanup): moved here from LAssert.c
2498         (assertion_failed): new function, called by BOOST_ASSERT
2499
2500         * several files: change Assert to BOOST_ASSERT
2501
2502 2003-09-09  Angus Leeming  <leeming@lyx.org>
2503
2504         * buffer.[Ch]: Add an Impl class and move Buffer's member
2505         variables into it. As a result move several header files out of
2506         buffer.h.
2507
2508         Add header files to lots of .C files all over the tree as a result.
2509
2510 2003-09-09  Angus Leeming  <leeming@lyx.org>
2511
2512         * buffer.[Ch]: make Buffer's member variables private. Add
2513         accessor functions.
2514
2515         Lots of changes all over the tree as a result.
2516
2517 2003-09-08  Angus Leeming  <leeming@lyx.org>
2518
2519         * graph.C: #include <config.h>.
2520
2521 2003-09-08  Angus Leeming  <leeming@lyx.org>
2522
2523         * BranchList.C:
2524         * BufferView.C:
2525         * BufferView_pimpl.C:
2526         * CutAndPaste.C:
2527         * DepTable.C:
2528         * LaTeX.C:
2529         * LaTeXFeatures.C:
2530         * LyXAction.C:
2531         * MenuBackend.C:
2532         * TextCache.C:
2533         * aspell.C:
2534         * buffer.C:
2535         * bufferlist.C:
2536         * changes.C:
2537         * chset.C:
2538         * converter.C:
2539         * counters.C:
2540         * debug.C:
2541         * graph.C:
2542         * ispell.C:
2543         * lyx_cb.C:
2544         * lyxfind.C:
2545         * lyxfunc.C:
2546         * lyxlex_pimpl.C:
2547         * lyxrc.C:
2548         * lyxrow.C:
2549         * paragraph.C:
2550         * rowpainter.C:
2551         * texrow.C:
2552         * text.C:
2553         * text2.C:
2554         * toc.C: remove redundant using directives.
2555
2556 2003-09-07  Angus Leeming  <leeming@lyx.org>
2557
2558         * LaTeXFeatures.h: remove #include "support/types.h".
2559         * ToolbarBackend.h: remove #include <algorithm>.
2560         * changes.h: remove #include <ctime>.
2561         * debug.h: remove #include <iosfwd>.
2562         * graph.h: remove #include "support/std_string.h".
2563         * lyx_main.h: remove #include <csignal>.
2564         * lyxlex_pimpl.h: remove #include <fstream>.
2565         * sgml.h: remove #include <algorithm>, <utility>.
2566         * toc.h: remove #include "support/std_ostream.h".
2567         Add #include <iosfwd>.
2568
2569 2003-09-07  Angus Leeming  <leeming@lyx.org>
2570
2571         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2572
2573         * converter.h: forward declare LatexRunParams.
2574         * encoding.h: remove #include "lyxrc.h".
2575         * lyxtext.h: remove #include "LColor.h".
2576         * lyxtextclass.h: remove #include "support/types.h".
2577         * trans.h: remove #include "tex-accent.h".
2578         * trans_mgr.h: remove #include "tex-accent.h".
2579         * insets/inset.h: remove #include "support/types.h", <vector>.
2580         * insets/insetcollapsable.h: remove #include "LColor.h".
2581         * insets/insetinclude.h: remove #include "dimension.h".
2582         * insets/insetlatexaccent.h: remove #include "dimension.h".
2583         * insets/insetoptarg.h:: remove #include "insettext.h".
2584         * insets/insettext.h: remove #include "dimension.h",
2585         <boost/shared_ptr.hpp>
2586
2587         * insets/renderers.h: add #include "dimension.h".
2588         * insets/updatableinset.h: add #include "support/types.h".
2589
2590         * many .C files: Associated changes.
2591
2592 2003-09-06  Angus Leeming  <leeming@lyx.org>
2593
2594         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2595         one, inside testInvariant.
2596
2597         * PrinterParams.C: new file.
2598         * PrinterParams.[Ch]: move the function bodies out of line.
2599
2600 2003-09-06  Angus Leeming  <leeming@lyx.org>
2601
2602         * ParagraphParameters.h: forward declare ParameterStruct rather than
2603         including its header file.
2604         (depth): moved out-of-line.
2605
2606 2003-09-06  Angus Leeming  <leeming@lyx.org>
2607
2608         * BufferView_pimpl.h:
2609         * kbmap.h:
2610         * kbsequence.h:
2611         * lyxfunc.h: forward declare LyXKeySym rather than
2612         #include "frontends/LyXKeySym.h".
2613
2614         * BufferView_pimpl.C:
2615         * kbmap.C:
2616         * kbsequence.C:
2617         * lyxfunc.C: associated changes.
2618
2619 2003-09-06  Angus Leeming  <leeming@lyx.org>
2620
2621         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2622         As a result, can remove the #include "insets/inset.h" from BufferView.h
2623
2624 2003-09-06  Angus Leeming  <leeming@lyx.org>
2625
2626         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2627         As a result, can remove the #include "insets/inset.h" from BufferView.h
2628
2629 2003-09-06  Angus Leeming  <leeming@lyx.org>
2630
2631         * buffer_funcs.C:
2632         * buffer.h:
2633         * bufferlist.C:
2634         * BufferView.C:
2635         * bufferview_funcs.C:
2636         * BufferView_pimpl.C:
2637         * CutAndPaste.C:
2638         * lyx_cb.C:
2639         * lyxfunc.C:
2640         * paragraph.h:
2641         * ParagraphParameters.C:
2642         * tabular.C:
2643         * text3.C:
2644         * toc.C:
2645         * undo_funcs.C:
2646         * frontends/controllers/ControlDocument.C:
2647         * insets/insetcaption.C: rearrange the #includes into some sort of
2648         coherent order.
2649
2650         * buffer.h: remove #includes ErrorList.h, undo.h
2651
2652 2003-09-06  Angus Leeming  <leeming@lyx.org>
2653
2654         * support/types.h: add a 'depth_type' typedef, used to store the
2655         nesting depth of a paragraph.
2656
2657         * paragraph.h:
2658         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2659         defining explicitly.
2660
2661         * buffer.h:
2662         * paragraph_funcs.h:
2663         * ParagraphParameters.h:
2664         * sgml.h: use lyx::depth_type rather than Paragraph or
2665         ParameterStruct's depth_type.
2666
2667         * buffer.h
2668         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2669
2670         * BufferView.C:
2671         * BufferView_pimpl.C:
2672         * CutAndPaste.C:
2673         * ParagraphParameters.C:
2674         * buffer_funcs.C:
2675         * bufferlist.C:
2676         * bufferview_funcs.C:
2677         * lyx_cb.C:
2678         * lyxfunc.C:
2679         * tabular.C:
2680         * text3.C:
2681         * toc.C:
2682         * undo_funcs.C:
2683         * frontends/LyXView.C:
2684         * frontends/controllers/ControlDocument.C:
2685         * frontends/controllers/ControlErrorList.C:
2686         * insets/insetbibitem.C:
2687         * insets/insetbranch.C:
2688         * insets/insetcaption.C:
2689         * insets/insetcollapsable.C:
2690         * insets/insetenv.C:
2691         * insets/insetert.C:
2692         * insets/insetfloat.C:
2693         * insets/insetfoot.C:
2694         * insets/insetfootlike.C:
2695         * insets/insetnewline.C:
2696         * insets/insetquotes.C:
2697         * insets/insettabular.C:
2698         * insets/insettext.C:
2699         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2700
2701         * frontends/controllers/ControlChanges.C: #include "changes.h".
2702
2703 2003-09-06  Angus Leeming  <leeming@lyx.org>
2704
2705         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2706         than #including paragraph.h.
2707
2708         * ParagraphList.h:
2709         * RowList.h: deleted. Superfluous.
2710
2711         * CutAndPaste.h:
2712         * iterators.h:
2713         * lyxcursor.h:
2714         * lyxtext.h:
2715         * text_funcs.h:
2716         * undo.h:
2717         * undo_funcs.h:
2718         * insets/inset.h:
2719         * insets/insettext.h: use ParagraphList_fwd.h rather than
2720         ParagraphList.h.
2721
2722         * paragraph.h: don't forward declare ParagraphList.
2723
2724         * buffer.h:
2725         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2726         rather than ParagraphList.h. paragraph.h is still needed for the
2727         Paragraph::depth_type parameters.
2728
2729         * textcursor.h: enable it to compile stand-alone in light of the
2730         above changes.
2731
2732         * bufferview_funcs.C:
2733         * iterators.C:
2734         * lyxfunc.C:
2735         * lyxrow_funcs.C:
2736         * paragraph.C:
2737         * rowpainter.C:
2738         * text.C:
2739         * text2.C:
2740         * text3.C:
2741         * text_funcs.C:
2742         * textcursor.C:
2743         * undo.C:
2744         * frontends/controllers/ControlParagraph.C:
2745         * frontends/controllers/ControlTabular.C:
2746         * insets/insetmarginal.C:
2747         * insets/insetminipage.C:
2748         * insets/insetnote.C:
2749         * insets/insetoptarg.C: add header files needed to compile again.
2750
2751 2003-09-06  Angus Leeming  <leeming@lyx.org>
2752
2753         * RowList_fwd.h: new file, forward-declaring Row rather than
2754         #including lyxrow.h.
2755
2756         * lyxrow_funcs.h:
2757         * lyxtext.h:
2758         * paragraph.h:
2759         * insets/insettext.h: use it instead of RowList.h
2760
2761         * bufferview_funcs.C:
2762         * lyxfunc.C:
2763         * lyxrow_funcs.C:
2764         * paragraph.C:
2765         * rowpainter.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: #include "RowList.h".
2769
2770 2003-09-05  Angus Leeming  <leeming@lyx.org>
2771
2772         * factory.C (createInset):
2773         * vspace.C (c-tor): replace sscanf call with an istringstream.
2774         * ispell.C: re-add missing HP/UX headers.
2775         * lyxserver.C: re-add missing  os2 headers.
2776
2777 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * BranchList.C:
2780         * graph.C:
2781         * ispell.C:
2782         * lastfiles.C:
2783         * lyx_cb.C:
2784         * lyxserver.C:
2785         * texrow.C:
2786         * text3.C: re-add missing system headers, needed for 2.95.2.
2787
2788 2003-09-05  Angus Leeming  <leeming@lyx.org>
2789
2790         Changes most place everywhere due to the removal of using directives
2791         from support/std_sstream.h.
2792
2793 2003-09-05  Angus Leeming  <leeming@lyx.org>
2794
2795         Replace LString.h with support/std_string.h,
2796         Lsstream.h with support/std_sstream.h,
2797         support/LIstream.h with support/std_istream.h,
2798         support/LOstream.h with support/std_ostream.h.
2799
2800         Changes resulting throughout the tree.
2801
2802 2003-09-05  Angus Leeming  <leeming@lyx.org>
2803
2804         * sgml.h: ensure that the header file can be compiled stand-alone.
2805         * *.C: strip out redundant #includes. (320 in total.)
2806
2807 2003-09-04  Angus Leeming  <leeming@lyx.org>
2808
2809         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2810         here (from getPackages).
2811
2812         * debug.[Ch]: add a new EXTERNAL tag.
2813
2814 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2815
2816         * text2.C (cursorEnd): simplify
2817         (setCursor): adjust
2818         (getColumnNearX): adjust
2819
2820         * text.C (computeBidiTables): adjust
2821         (fill): adjust
2822
2823         * rowpainter.C (paintChars): adjust
2824         (paintSelection): adjust
2825         (paintChangeBar): adjust
2826         (paintText): adjust
2827
2828         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2829         lastPos instead.
2830         (numberOfSeparators): adjust
2831
2832 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * LyXAction.C:
2835         * box.[Ch]:
2836         * lfuns.h:
2837         * lyxfunc.C:
2838         * text3.C: Restricts the mouse click functionality
2839         of insets like bibtex, include, toc and floatlist to the visible
2840         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2841         up the dialogs. Cursor has to be in front of the inset (i.e.
2842         start of row) for this to function.
2843
2844 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2845
2846         * bufferview_funcs.C (currentState): output row information
2847
2848 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2849
2850         * bufferview_funcs.C (currentState): output paragraph position
2851
2852 2003-09-04  Angus Leeming  <leeming@lyx.org>
2853
2854         * FloatList.h: move out #include "Floating.h".
2855         * LaTeX.h: move out #include "DepTable.h".
2856         * LyXAction.h: move out #include "funcrequest.h".
2857         * buffer.h: move out #include "author.h", "iterators.h".
2858         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2859         * lyx_main.h: move out #include "errorlist.h".
2860         * lyxfunc.h: move out #include "FuncStatus.h".
2861         * lyxtext: move out #include "lyxcursor.h".
2862         * paragraph_pimpl.h: move out #include "counters.h".
2863
2864 2003-09-03  Angus Leeming  <leeming@lyx.org>
2865
2866         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2867         preamble_snippets list, enabling us to add snippets to the preamble
2868         only if the snippet was not there already.
2869
2870 2003-09-04  Angus Leeming  <leeming@lyx.org>
2871
2872         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2873
2874 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2877         update
2878
2879 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2880
2881         * BranchList.C: point fix, earlier forgotten
2882
2883 2003-09-02  Angus Leeming  <leeming@lyx.org>
2884
2885         * box.C (contains): renamed from 'contained' after a fantastic
2886         amount of hot air.
2887
2888 2003-09-02  John Levon  <levon@movementarian.org>
2889
2890         * BufferView.C:
2891         * lyxcursor.h:
2892         * lyxcursor.C:
2893         * lyxfunc.C:
2894         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2895
2896 2003-09-02  John Levon  <levon@movementarian.org>
2897
2898         * text2.C: simplification of cursorEnd(), including partial
2899         fix for bug 1376
2900
2901 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * buffer.C (readFile): add a space
2904
2905 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2906
2907         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2908
2909 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * buffer.C (readFile): new function, take a filename and a
2912         ParagraphList::iterator
2913         (readFile): adjust
2914         (readFile): adjust, make it private. don't use setStream, make
2915         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2916         always contain the filename.
2917
2918         * BufferView.C (insertLyXFile): simplify and make it work for
2919         gzipped files.
2920
2921 2003-08-30  John Levon  <levon@movementarian.org>
2922
2923         * Makefile.am: fix dist (from Kayvan)
2924
2925 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2926
2927         * most files: change to use const Buffer refs
2928
2929 2003-08-27  André Pönitz  <poenitz@gmx.net>
2930
2931         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2932         on top of ownerPar().
2933
2934 2003-08-27  John Levon  <levon@movementarian.org>
2935
2936         * funcrequest.C: properly initialise POD members
2937
2938 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * lyxtext.h (top_y): move top_y from here
2941         * text.C:
2942         * text2.C:
2943         * text3.C:
2944         * BufferView.[Ch]:
2945         * BufferView_pimpl.[Ch]: to here
2946         * frontends/screen.C:
2947         * insets/insettabular.C:
2948         * insets/insettext.C: adjust
2949         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2950
2951 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * BufferView.[Ch]:
2954         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2955
2956 2003-08-26  André Pönitz  <poenitz@gmx.net>
2957
2958         * paragraph_func.[Ch] (outerPar): new function
2959
2960         * paragraph.C:
2961         * paragraph_funcs.C:
2962         * paragraph_funcs.h:
2963         * paragraph_pimpl.C:
2964         * text2.C: remove Inset::par_owner
2965
2966 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2967
2968         * lyxrow_funcs.C:
2969         * lyxtext.h:
2970         * text.C:
2971         * text2.C: eliminates the needFullRow/display() stuff
2972         altogether, putting the logic in metrics/draw in the insets.
2973
2974 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * text2.C (redoParagraphInternal, redoParagraphs):
2977         * text.C (redoParagraph): add a call to updateRowPositions at the
2978         end of each 'metrics-like' call. Remove all others.
2979         (getRow): remove the 'y-computing' version.
2980         (getRowNearY): do not compute nor return the real y. Solve the
2981         'y < 0' problem and simplify.
2982
2983 2003-08-22  Angus Leeming  <leeming@lyx.org>
2984
2985         * *.[Ch]: clean-up of licence and author blurbs.
2986         Also move config.h out of a few .h files and into a few .C files.
2987
2988 2003-08-22  André Pönitz  <poenitz@gmx.net>
2989
2990         * lyxrow.[Ch]: add x_ and *fill_ members
2991
2992         * lyxtext.h:
2993         * text.C:
2994         * rowpainter.C:
2995         * text2.C: adjust/remove prepareToPrint() calls
2996
2997 2003-08-22  André Pönitz  <poenitz@gmx.net>
2998
2999         * lyxrow.[Ch]: add  end_ member
3000
3001         * lyxrow_funcs.C: use LyXRow::end_
3002
3003         * lyxtext.h (singleWidth): add LyXFont parameter
3004
3005         * rowpainter.C:
3006         * text2.C: adjust LyXText::singleWidth() calls
3007
3008         * text.C (redoParagraph): simplify row breaking logic
3009
3010
3011 2003-08-19  André Pönitz  <poenitz@gmx.net>
3012
3013         * funcrequest.C: initialize button_ member
3014
3015         * text3.C:
3016         * rowpainter.[Ch]: interface consolidation
3017
3018 2003-08-18  André Pönitz  <poenitz@gmx.net>
3019
3020         * BufferView.C:
3021         * BufferView_pimpl.C:
3022         * lyxfind.C:
3023         * paragraph_funcs.C:
3024         * rowpainter.C:
3025         * text3.C: remove LyXScreen::draw() and fitCursor calls
3026
3027         * BranchList.h: remove spurious semicolons
3028
3029         * MenuBackend.C: fix branchlist related crash
3030
3031 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * BranchList.[Ch]:
3034         * InsetList.[Ch]:
3035         * LColor.[Ch]:
3036         * LyXAction.C:
3037         * Makefile.am:
3038         * MenuBackend.[Ch]:
3039         * bufferparams.[Ch]:
3040         * factory.C:
3041         * lfuns.h:
3042         * lyxfunc.C:
3043         * text3.C: implements the 'branch inset'
3044         idea. This allows the output of various versions of a document
3045         from a single source version, selectively outputing or suppressing
3046         output of parts of the text.
3047         This implementation contains a 'branch list editor' in a separate
3048         tab of the document settings dialog. Branches are user definable
3049         and have a "display colour" to distinguish them on-screen.
3050
3051         ColorHandler was somewhat cleaned up.
3052         (1) make possible a dynamically growing LColor list by allowing
3053         the graphic context cache to grow along (vector);
3054         (2) eliminate an IMHO unnecessary step in colour allocation.
3055
3056 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3057
3058         * BufferView_pimpl.C: compile fix
3059
3060 2003-08-15  André Pönitz  <poenitz@gmx.net>
3061
3062         * rowpainter.C: remove extra metrics calls
3063
3064         * lyxtext.h: merge the two constructors into a single one,
3065           pass reference to owner's par list
3066
3067         * BufferView_pimpl.C:
3068         * text.C:
3069         * text2.C: adjust
3070
3071 2003-08-15  André Pönitz  <poenitz@gmx.net>
3072
3073         * lyxrow_funcs.[Ch]:
3074         * lyxtext.h:
3075         * paragraph.h:
3076         * paragraph_funcs.C:
3077         * rowpainter.C:
3078         * text.C:
3079         * text2.C:
3080         * text3.C:
3081         * text_funcs.C: split LyXText::rowlist_ into individual
3082         Paragraph::rows_ chunks
3083
3084         * BufferView.[Ch]:
3085         * BufferView_pimpl.[Ch]:
3086         * lyxfind.C:
3087         * lyxtext.h:
3088         * text3.C: remove toggleSelection()
3089
3090 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3091
3092         * bufferlist.C: beautify two alerts (shorter text of buttons)
3093         * buffer.C: Remove redundant ' ' from message
3094         * tabular.h:
3095         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3096         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3097         rename VALIGN_CENTER to VALIGN_MIDDLE
3098
3099 2003-08-11  André Pönitz  <poenitz@gmx.net>
3100
3101         * lyxtext.h (getPar):
3102         * text.C: new function
3103
3104 2003-08-11  André Pönitz  <poenitz@gmx.net>
3105
3106         * Makefile.am:
3107         * tracer.[Ch]: remove unneeded files
3108
3109         * InsetList.[Ch]: remove resizeInsetsLyXText()
3110
3111         * lyxtext.h:
3112         * text.C:
3113         * text2.C:
3114         * text3.C: merge insertParagraphs() and appendParagraph()
3115         remove breakAgain(), update()
3116
3117         * BufferView_pimpl.[Ch]:
3118         * bufferview_funcs.[Ch]:
3119         * lyxfunc.C:
3120         * paragraph.[Ch]:
3121         * rowpainter.C:
3122         * tabular.C: adjust after text & InsetList changes.
3123
3124 2003-08-08  André Pönitz  <poenitz@gmx.net>
3125
3126         * text.C (insertChar, backspace): replace rowlist fiddling
3127         with rebreak of full par
3128
3129         * lyxtext.h:
3130         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3131         checkParagraph, updateInset): removed
3132
3133 2003-08-07  André Pönitz  <poenitz@gmx.net>
3134
3135         * paragraph.C:
3136         * text3.C: merge some LFUN handlers, remove dead code
3137
3138 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3139
3140         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3141
3142 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * text2.C (DEPM): fix part of bug 1255 and 1256
3145
3146 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3147
3148         * BufferView_pimpl.C (workAreaDispatch): change to use
3149         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3150         that are no mouse related.
3151
3152 2003-08-05  André Pönitz  <poenitz@gmx.net>
3153
3154         * BufferView.[Ch]:
3155         * BufferView_pimpl.[Ch]:
3156         * bufferview_funcs.C:
3157         * text2.C:
3158         * text3.C: rip out "deep update"
3159
3160         * textcursor.[Ch] (last_sel_cursor): remove unused member
3161
3162 2003-08-04  André Pönitz  <poenitz@gmx.net>
3163
3164         * BufferView.[Ch]:
3165         * BufferView_pimpl.[Ch]:
3166         * ParagraphParameters.C:
3167         * bufferview_funcs.C:
3168         * lyx_cb.C:
3169         * lyxfind.C:
3170         * lyxfunc.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C: replace "complicated" BufferView::update(...) calls with
3174         simpler ones.
3175
3176         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3177
3178 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3179
3180         * Makefile.am (lyx_SOURCES): add paper.h
3181
3182 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3183
3184         * Makefile.am: move things around so that both lyx-qt and
3185         lyx-xforms can be built (according to --with-frontend). Then lyx
3186         is a symbolic link to lyx-[firstfrontend]
3187
3188 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3189
3190         * Always use std::endl with lyxerr
3191
3192 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3193
3194         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3195
3196 2003-08-01  André Pönitz  <poenitz@gmx.net>
3197
3198         * BufferView.[Ch]:
3199         * BufferView_pimpl.[Ch]:
3200         * lyxfunc.C:
3201         * text3.C: merge BufferView::repaint() and BufferView::update()
3202
3203 2003-08-01  José Matos  <jamatos@lyx.org>
3204
3205         * buffer.[Ch]: file_format is no longer a buffer data element.
3206
3207 2003-08-01  André Pönitz  <poenitz@gmx.net>
3208
3209         * BufferView.C:
3210         * lyxtext.h:
3211         * text.C:
3212         * text2.C: make redoParagraph more independent of current cursor
3213
3214         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3215         * text.C:
3216         * text2.C: remove unneeded members
3217
3218 2003-07-30  André Pönitz  <poenitz@gmx.net>
3219
3220         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3221
3222         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3223           create a single function...
3224
3225         * paragraph_funcs.C (moveItem): ... here.
3226
3227         * text.C:
3228           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3229
3230 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3231
3232         * LColor.[Ch]: Add comment and greyedout logical colors.
3233
3234 2003-07-30  André Pönitz  <poenitz@gmx.net>
3235
3236         * tabular.C: don't use Assert too heavily. This crashes where it
3237           shouldn't
3238
3239 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3242         is disabled (bug 1232)
3243
3244 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3245
3246         * factory.C: limited 'arg' scope
3247
3248 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * factory.C: fixed Note submenu issues
3251
3252 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3253
3254         * factory.C: submenu for Note/Comment/Greyedout
3255
3256 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * lyx_main.C (LyX):
3259         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3260
3261 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3262
3263         * LaTeXFeatures.C:
3264         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3265         greyedout. Patch provided by Jürgen Spitzmüller.
3266
3267 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3268
3269         * kbmap.C (read): fix error message when reading bind files
3270
3271 2003-07-29  Angus Leeming  <leeming@lyx.org>
3272
3273         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3274         certainly does not do what it purports to do. I am doing it, and
3275         us, a favour by killing it.
3276
3277 2003-07-28  José Matos  <jamatos@lyx.org>
3278
3279         * buffer.C (readBody, do_writeFile):
3280         * paragraph.C(readParagraph): \end_document replaces \the_end.
3281
3282 2003-07-29  André Pönitz  <poenitz@gmx.net>
3283
3284         * BufferView.[Ch]:
3285         * BufferView_pimpl.[Ch]:
3286         * lyxfunc.C:
3287         * text2.C:
3288         * text3.C:
3289         * textcursor.[Ch]: remove toggleToggle & Co
3290
3291 2003-07-28  José Matos  <jamatos@fep.up.pt>
3292
3293         * buffer.C (readParagraph):
3294         * params_func (readParToken, readParagraph):
3295         * paragraph.C (write): \layout -> \begin_layout.
3296
3297 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * lyxlex_pimpl.C (setFile): clean up slightly.
3300
3301         * bufferparams.h: add compressed var
3302
3303         * buffer_funcs.C (readFile): adjust for LyXLex change
3304         (newFile): ditto + simplify
3305
3306         * buffer.C (writeFile): handle writing of compressed files
3307
3308         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3309         Check if the file is compressed and set a bufferparm if so.
3310
3311         * Makefile.am (lyx_LDADD): remove explicit -lz
3312
3313 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3314
3315         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3316         makeDocBookFile): put the real LyX version in the first line of
3317         the file
3318
3319         * version.h:
3320         * version.C.in: remove lyx_docversion
3321
3322         * tabular.C (write_attribute): add a template-based version to
3323         write enums properly
3324
3325 2003-07-28  André Pönitz  <poenitz@gmx.net>
3326
3327         * lyxtext.h:
3328         * text.C:
3329         * text2.C:
3330         * text3.C: use doubles again for x-coordinates. They are needed.
3331
3332 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * messages.C (getLocaleDir): use lyx_localedir()
3335
3336         * lyxlex_pimpl.C (setFile): compress stuff
3337
3338         * buffer.C (writeFile): add some compression stuff
3339         (do_writeFile): new func, dont call expliti close... will this
3340         breake anything?
3341
3342         * Makefile.am (lyx_LDADD): add -lz
3343
3344 2003-07-28  José Matos  <jamatos@fep.up.pt>
3345
3346         * buffer.C: increment file format.
3347         * paragraph_funcs (readParagraph, readParToken):
3348         * paragraph.C (readParagraph): add \end_layout.
3349
3350 2003-07-27  Angus Leeming  <leeming@lyx.org>
3351
3352         * Makefile.am: remove special casing for configure-time setting of
3353         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3354
3355         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3356         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3357
3358 2003-07-26  André Pönitz  <poenitz@gmx.net>
3359
3360         * paragraph_func.[Ch]:
3361         * paragraph.C (realizeFont): inline it whereever it is used
3362
3363         * rowpainter.C:
3364         * text.C:
3365         * text2.C:
3366         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3367
3368
3369 2003-07-26  André Pönitz  <poenitz@gmx.net>
3370
3371         *       lyxtext.h:
3372         * text.C:
3373         * text2.C: get rid of LyXText::need_break_row
3374
3375 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * toc.[Ch]: put namespace toc inside namespace lyx
3378
3379         * MenuBackend.C (expandToc2): adjust for lyx::toc
3380         (expandToc): ditto
3381
3382         * lyxfunc.C (dispatch): adjust for lyx::find
3383
3384         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3385         lyx::find instead. Reorganize a bit.
3386         (LyXReplace): rename to replace
3387         (LyXFind): rename to find
3388
3389         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3390         (dispatch): ditto
3391
3392 2003-07-26  André Pönitz  <poenitz@gmx.net>
3393
3394         * text.C (setHeightOfRow): restrict scope of temporary variable
3395
3396         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3397           code (never has been used?)
3398
3399 2003-07-27  Asger Alstrup  <alstrup@local>
3400
3401         * text.C (fill): Optimise algorithm to exploit that we can reuse
3402         the LyXFont for many characters.
3403         (setHeightOfRow): Same thing.
3404         (rowBreakPoint): Same thing.
3405
3406 2003-07-26  Asger Alstrup  <alstrup@local>
3407
3408         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3409
3410         * text.C (singleWidth): Spurious font copying in hot-spot
3411         singleWidth avoided. Reorder tests for arabic for efficiency.
3412
3413         * text.C (fill): handle empty paragraphs better.
3414
3415 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3416
3417         * ispell.C:
3418         * encoding.h: add includes
3419
3420         * lyxrc.C: remove reading of bind files
3421
3422         * lyx_main.C (init): setup bindings and menus only if we have a
3423         gui.
3424
3425         * kbmap.C (read): new method. Do the actual reading of bind
3426         files.
3427
3428         * converter.C (dvipdfm_options):
3429         * bufferparams.C:
3430         * lyxrc.C (read):
3431         (output): adapt PAPER_* enums.
3432
3433         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3434
3435         * bufferparams.h: remove paper-related enums from there
3436
3437         * paper.h: New file. A trivial header file to hold paper-related
3438         enums. It should later expand to contain many paper-related
3439         horrors access.
3440
3441         * lyxrc.C: declare extern displayTranslator
3442
3443 2003-07-27  José Matos  <jamatos@fep.up.pt>
3444
3445         * tabular.[Ch] (linuxdoc): add support for tables and figures
3446         (linuxdoc).
3447
3448 2003-07-27  José Matos  <jamatos@fep.up.pt>
3449
3450         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3451         consistency in both functions.
3452         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3453
3454 2003-07-26  Asger Alstrup  <alstrup@local>
3455
3456         * rowpainter.C (paintRows): Change algorithm to work directly on
3457         the insets rather than asking every character in the document
3458         whether its an inset.
3459
3460 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3461
3462         * buffer.C (openFileWrite): factorize some code
3463
3464 2003-07-26  Angus Leeming  <leeming@lyx.org>
3465
3466         * lyx_cb.C:
3467         * lyx_main.[Ch]: replace occurances of system_tempdir with
3468         os::getTmpDir().
3469
3470 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * rename Inset to InsetOld
3473
3474 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3475
3476         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3477         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3478         which I think is a bit clearer. EDIT is gone, since it was
3479         premature optimisation, and broken for mathed anyway.
3480         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3481         with cursor positioning in insets as well (math insets still do not
3482         work, but that's a different story anyway.) It mysteriously
3483         crashes sometimes with undo in the first paragraph, but I'm fairly
3484         confident that this is a compiler bug.
3485
3486 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * paragraph.C (Paragraph): adjust for new clone return type
3489         (operator==): ditto
3490         (copyIntoMinibuffer): ditto
3491
3492 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3493
3494         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3495         by not having a special case, and always doing a full rebreak of
3496         the document after undo.
3497
3498 2003-07-23  Angus Leeming  <leeming@lyx.org>
3499
3500         * factory.C (createInset): InsetExternal::setParams now takes a
3501         Buffer const * arg.
3502
3503 2003-07-23  Angus Leeming  <leeming@lyx.org>
3504
3505         * factory.C (createInset): changed interface to the external and
3506         graphics mailers' string2params functions.
3507
3508 2003-07-23  Angus Leeming  <leeming@lyx.org>
3509
3510         * factory.C (createInset): pass a
3511         Buffer const * parameter to InsetExternalMailer's string2params.
3512
3513 2003-07-22  John Levon  <levon@movementarian.org>
3514
3515         * Thesaurus.h: include the right aiksaurus header
3516
3517 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3518
3519         * MenuBackend.C (expand): check menu shortcuts unconditionally
3520
3521 2003-07-21  Angus Leeming  <leeming@lyx.org>
3522
3523         * factory.C (createInset): pass a
3524         buffer_path parameter to InsetGraphicsMailer's string2params.
3525
3526 2003-07-21  Angus Leeming  <leeming@lyx.org>
3527
3528         * BufferView_pimpl.C (buffer):
3529         * buffer.C (d-tor):
3530         * lyx_main.C (LyX):
3531         * lyxfunc.C (dispatch):
3532         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3533         rather than the grfx shortcut.
3534
3535 2003-07-21  André Pönitz  <poenitz@gmx.net>
3536
3537         * rowpainter.C: remove unused variables
3538
3539         * tabular_funcs.C:
3540         * tabular_funcs.h: move to tabular.C
3541         * Makefile.am: adjust
3542
3543         * tabular.[Ch]: basic optical cleaning
3544
3545         * author.h: pass references, not values
3546
3547 2003-07-18  André Pönitz  <poenitz@gmx.net>
3548
3549         * lyxtext.h:
3550         * metricsinfo.C:
3551         * metricsinfo.h:
3552         * rowpainter.C:
3553         * text.C:
3554         * text2.C:
3555         * text3.C: two-phase drawing for InsetText and InsetTabular
3556         some float -> int changes.
3557
3558 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3559
3560         * lyx_main.C: fix the fix
3561
3562 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3563
3564         * lyx_main.C: fix a crash in batch mode if no files specified
3565         * converter.C: ws
3566
3567 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * format.[Ch] (papersize): moved to BufferParams
3570         * converter.[Ch] (dvips_options): moved to BufferParams
3571         (dvipdfm_options): moved to anon namespace
3572         * bufferparams.[Ch]: added above functions.
3573
3574 2003-07-17  André Pönitz  <poenitz@gmx.net>
3575
3576         * lyxtext.h:
3577         * rowpainter.C:
3578         * text2.C: don't call inset->update() anymore
3579
3580         * metricsinfo.[Ch]: add convenience constructor
3581
3582 2003-07-16  André Pönitz  <poenitz@gmx.net>
3583
3584         * lyxcursor.[Ch]:
3585         * lyxfunc.[Ch]:
3586         * text.C:
3587         * text2.C: replace the LyXCursor::irow_ member with
3588          on-demand computation of the value
3589
3590 2003-07-16  John Levon  <levon@movementarian.org>
3591
3592         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3593
3594 2003-07-15  André Pönitz  <poenitz@gmx.net>
3595
3596         * text.C:
3597         * text2.C: remove no more needed refresh_row
3598
3599 2003-07-15  André Pönitz  <poenitz@gmx.net>
3600
3601         * lyxtext.h:
3602         * rowpainter.C:
3603         * text2.C:
3604         * text3.C: refresh_status tristate -> need_update bool
3605
3606 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * lyxtext.h (init): remove reinit argument (act as if always true)
3609         * text2.C: adjust to that
3610
3611 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3612
3613         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3614         * text3.C: use it to delete selections in some cases
3615         (bugs 441, 673, 702, 954).
3616
3617 2003-07-14  André Pönitz  <poenitz@gmx.net>
3618
3619         * rowpainter.[Ch]: reduce interface
3620
3621 2003-07-14  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView_pimpl.C:
3624         * text2.C: adjust after removing unused BufferView * argument
3625
3626 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * text2.C (init): fix a crash fired on resize
3629
3630 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * buffer.[Ch]: added new closing signal
3633         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3634         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3635         BufferView::Pimpl via the closing the signal
3636
3637 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * buffer.[Ch]: take out all bv-related from buffer
3640         * BufferView.C:
3641         * BufferView_pimpl.[Ch]: connect to new signals
3642         * CutAndPaste.C: removed useless asserts
3643         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3644         * lyxvc.[Ch]:
3645         * vc-backend.[Ch]:
3646         * lyxfunc.C: moved view-related funciontality from vc here
3647         * paragraph.C: removed outdated comments
3648         * text.C: ws
3649
3650 2003-07-10  André Pönitz  <poenitz@gmx.net>
3651
3652         * BufferView_pimpl.C:
3653         * tabular.h:
3654         * tabular_funcs.C:
3655         * text.C:
3656         * text2.C: remove InsetText::InnerCache, clean up consequences
3657
3658 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3659
3660         * ispell.C: fix two typos in error messages
3661
3662 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3663
3664         * Extend Note inset to other forms of annotation like Comment
3665         and Greyedout. Right button click gives dialog.
3666
3667         Files modified or added (+):
3668
3669         * insetnote.[Ch]
3670         * FormNote.[Ch]      +
3671         * ControlNote.[Ch]   +
3672         * form_note.fd       +
3673         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3674         frontends/controllers
3675         * xforms/Dialogs.C
3676         * factory.C
3677
3678 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3679
3680         * aspell.C: add missing namespace lyx::support
3681
3682 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * BufferView.[Ch] (newFile): Add
3685         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3686         * LaTeX.[Ch] (message): added this signal and use it
3687         * buffer.[Ch] (busy, message): added these signals and use them
3688         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3689         * converter.C:
3690         * exporter.C:
3691         * format.C:
3692         * importer.C: use buffer signals instead of direct bv calling
3693         * lyx_cb.[Ch] (ShowMessage): removed
3694         * lyx_main.C:
3695         * lyxfunc.C:
3696         * paragraph_funcs.C:
3697         * text2.C: use buffer signals
3698
3699 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * introduce namespace lyx::graphics
3702
3703 2003-07-02  André Pönitz  <poenitz@gmx.net>
3704
3705         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3706
3707 2003-07-01  André Pönitz  <poenitz@gmx.net>
3708
3709         * text.C:
3710         * text2.C:
3711         * text3.C:
3712         * text_funcs.[Ch]:
3713         * textcursor.h:
3714         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3715           text*.C to text_func.C
3716
3717 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * introduce namespace lyx::support
3720
3721 2003-06-30  André Pönitz  <poenitz@gmx.net>
3722
3723         * Chktex.C:
3724         * funcrequest.C:
3725         * lyxtext.h:
3726         * text.C: re-enable --with-included-string
3727
3728 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * textcursor.C: add <config.h>
3731
3732         * text.C (getWord): remove const from word_location arg
3733
3734         * lyxvc.C (getLogFile): fix const type order
3735
3736         * lyxtext.h: remove const from word_location arg, add arg name
3737
3738         * lyxlayout.h: currect type on labeltype.
3739
3740         * importer.C: correct \file
3741
3742         * converter.C (intToFormat): use std:: on ret val, ws changes
3743
3744         * bufferlist.h: correct \file
3745
3746         * buffer.C (makeLinuxDocFile): fix const type order
3747         (makeDocBookFile): ditto
3748         (fillWithBibKeys): use std:: on stdlib args.
3749
3750         * CutAndPaste.C: fix authors.
3751         (availableSelections): use std:: on return vector
3752
3753 2003-06-27  André Pönitz  <poenitz@gmx.net>
3754
3755         * BufferView_pimpl.C:
3756         * bufferview_funcs.C:
3757         * lyxcursor.C:
3758         * lyxcursor.h:
3759         * lyxfunc.C:
3760         * lyxtext.h:
3761         * rowpainter.C:
3762         * text.C:
3763         * text2.C:
3764         * text3.C: remove LyXCursor::row_ member
3765
3766         * lyxtext.h:
3767         * text.C: rename fullRebreak() to partialRebreak() and implement
3768           a fullRebreak() that really bereks fully
3769
3770         * textcursor.h: new struct for cursor-related data
3771
3772 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3773
3774         * lyx_main.C (LyX): get full path of document loaded on the
3775         command line
3776
3777 2003-06-26  André Pönitz  <poenitz@gmx.net>
3778
3779         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3780           remove unused/broken operator>,<,>=.
3781
3782         *       text.C: remove only use of broken operator<= in an Assert().
3783
3784 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3787         moved errorlist_.clear to showErrorList
3788
3789 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * converter.C (scanLog, runLaTeX):
3792         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3793         move the bv->showErrorList call to the callers
3794         * lyxfunc.C: i.e. here...
3795         * text2.C: and here
3796         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3797         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3798         namespace, the second to...
3799         * buffer_funcs (BufferFormat, parseErrors): added
3800         * errorlist.C (ErrorList(TeXErrors const &)): removed
3801
3802 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3803
3804         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3805
3806 2003-06-24  "Garst R. Reese" <reese@isn.net>
3807
3808         * debug.C: fix typo
3809
3810 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3811
3812         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3813
3814         * version.C.in: change docversion to 1.4
3815
3816 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * buffer.C: fix a bug just introduced
3819
3820 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * buffer.[Ch]: added the parseError signal and use it, removed
3823         sgmlError
3824         * BufferView.[Ch] (addError): moved to ...
3825         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3826         to the Buffer::parseError signal to catch (guess what) parse errors
3827         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3828
3829 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3832         ability to create a buffer and to return an existing one from
3833         the list. Moved these functions to...
3834         * buffer_funcs.[Ch]: added
3835         * BufferView.[Ch] (loadLyXFile): added
3836         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3837         job removed from bufferlist::loadLyXFile.
3838         * buffer.C (setReadOnly): make it work without view
3839         (i.e added an if (users))
3840
3841 2003-06-19  Angus Leeming  <leeming@lyx.org>
3842
3843         * lfuns.h:
3844         * LyXAction.C (init):
3845         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3846         with LFUN_DIALOG_SHOW <name> <data>.
3847
3848 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * CutAndPaste.C (availableSelections): small compilation fix for
3851         ancient (gcc 2.9x) compilers
3852
3853 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * text3.C (cursorNext): add tmp var
3856
3857         * text2.C (updateCounters): for function calling out of for clause
3858         (replaceSelectionWithString): ditto
3859         (insertStringAsParagraphs): ditto
3860         (getColumnNearX): add tmp var
3861         (setCursorFromCoordinates): add tmp var
3862         (cursorDownParagraph): add tmp var
3863         (deleteEmptyParagraphMechanism): add tmp var
3864
3865         * text.C (insertChar): add tmp var
3866
3867         * rowpainter.C (paintDepthBar): add tmp var
3868
3869         * CutAndPaste.C (availableSelections): potentially check all
3870         paragraphs in a cut to fill the shown strings.
3871
3872 2003-06-18  André Pönitz  <poenitz@gmx.net>
3873
3874         * kbmap.[Ch]: use vector<> instead of list<>
3875
3876 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3877
3878         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3879         pasteSelection with index
3880
3881         * text2.C (pasteSelection): modify, call pasteSelection with index
3882
3883         * paragraph.C (asString): reimplement version with no interval to
3884         call the one with interval.
3885
3886         * lyxtext.h: add index arg to pasteSelection
3887
3888         * MenuBackend.C (MenuItem): handle PasteRecent
3889         (Menu::read::Menutags): add md_pasterecent
3890         (read): handle it
3891         (expandPasteRecent): new function
3892         (expand): use it
3893
3894         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3895
3896         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3897         the limited stack
3898         (availableSelections): new function
3899
3900 2003-06-17  Angus Leeming  <leeming@lyx.org>
3901
3902         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3903
3904 2003-06-17  Angus Leeming  <leeming@lyx.org>
3905
3906         * lfuns.h:
3907         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3908
3909         * lyxfunc.C (dispatch): invoke it.
3910
3911 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3912
3913         * iterators.C (operator++, ParPosition): reintroduce some
3914         const_cast for the benefit of older compilers.
3915
3916 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3917
3918         * text3.C (dispatch): do not modify clipboard when doing
3919         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3920         LFUN_DELETE_SKIP on a selection selection
3921
3922 2003-06-16  André Pönitz  <poenitz@gmx.net>
3923
3924         * BufferView.C:
3925         * buffer.C:
3926         * buffer.h:
3927         * paragraph.C:
3928         * tabular.[Ch]: IU of clone() and getLabelList();
3929
3930 2003-06-13  André Pönitz  <poenitz@gmx.net>
3931
3932         * tabular.h: compactification
3933
3934 2003-06-12  André Pönitz  <poenitz@gmx.net>
3935
3936         * tabular.C:
3937         * tabular.h:
3938         * tabular_funcs.h: some renaming plus whitespace
3939
3940 2003-06-12  André Pönitz  <poenitz@gmx.net>
3941
3942         * BufferView.C:
3943         * BufferView_pimpl.C:
3944         * CutAndPaste.C:
3945         * buffer.C:
3946         * iterators.[Ch]:
3947         * lyxfunc.C:
3948         * text.C:
3949         * toc.C: Return a Paragraph & for ParIterator::operator*()
3950
3951 2003-06-11  John Levon  <levon@movementarian.org>
3952
3953         * lyx_main.C:
3954         * ToolbarBackend.h:
3955         * ToolbarBackend.C: add "Toolbars" section and
3956         put the flags there
3957
3958 2003-06-10  Angus Leeming  <leeming@lyx.org>
3959
3960         * lfuns.h:
3961         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3962
3963         * lyxfunc.C (dispatch): invoke it.
3964
3965 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * main.C: protect <ios> with HAVE_IOS
3968         (main): protect sync_with_stdio with HAVE_IOS
3969
3970 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3971
3972         * text2.C (cutSelection): adjust
3973         (pasteSelection): adjust
3974
3975         * messages.C: handle get of empty string
3976
3977         * main.C (main): use sync_with_stdio(false)
3978
3979         * lyxfunc.C (dispatch): adjust
3980
3981         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3982         (WriteAs): remove unneeded BufferView arg.
3983
3984         * bufferparams.h: use correct types on papersize, papersize2 and
3985         paperpackage.
3986
3987         * bufferparams.C (readToken): adjust for type
3988         (writeLaTeX): add missing cases to switch.
3989
3990         * bufferlist.C (quitWriteBuffer): adjust
3991         (close): adjust
3992
3993         * buffer.C (asciiParagraph): remove some commented code.
3994
3995         * CutAndPaste.C: remove current_view extern variable.
3996         (cutSelection): add BufferParams arg.
3997         (eraseSelection): add BufferParams arg.
3998         (pasteSelection): add Buffer const & arg
3999
4000 2003-06-07  John Levon  <levon@movementarian.org>
4001
4002         * buffer.C:
4003         * paragraph_funcs.C:
4004         * paragraph_pimpl.C:
4005         * text.C:
4006         * text2.C:
4007         * paragraph.h:
4008         * paragraph.C: allow InsetERT to freely space lines,
4009         and some consolidation of code
4010
4011 2003-06-06  José Matos  <jamatos@fep.up.pt>
4012
4013         * buffer.C (makeDocBookFile): fix bug #821
4014
4015 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4018
4019 2003-06-04  Angus Leeming  <leeming@lyx.org>
4020
4021         * buffer.C: bump format to 224.
4022
4023 2003-06-05  André Pönitz  <poenitz@gmx.net>
4024
4025         * text2.C (redoParagraphs): remove two const_cast<>
4026
4027 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4028
4029         * ParagraphList.h: remove last remnants of NO_STD_LIST
4030
4031 2003-06-03  Angus Leeming  <leeming@lyx.org>
4032
4033         * factory.C (createInset): small change to the way InsetExternal's params
4034         are set.
4035
4036 2003-06-04  André Pönitz  <poenitz@gmx.net>
4037
4038         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4039
4040         * paragraph_pimpl.h:
4041         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4042
4043         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4044
4045         * undo_funcs.C: make some simple cases of undo work again
4046
4047 2003-06-03  John Levon  <levon@movementarian.org>
4048
4049         * ispell.C: HPUX doesn't have sys/select.h
4050         (from Albert Chin)
4051
4052 2003-06-03  John Levon  <levon@movementarian.org>
4053
4054         * CutAndPaste.C: update tabular and include inset
4055         buffer references
4056
4057         * buffer.h:
4058         * paragraph.h:
4059         * paragraph.C: remove owningBuffer(), don't pass Buffer
4060         to clone()
4061
4062         * factory.C: insetGraphicsParams changed
4063
4064 2003-06-02  John Levon  <levon@movementarian.org>
4065
4066         * LyXAction.C:
4067         * factory.C:
4068         * lfuns.h:
4069         * lyxfunc.C:
4070         * text3.C: remove insetparent
4071
4072 2003-06-02  John Levon  <levon@movementarian.org>
4073
4074         * buffer.h:
4075         * buffer.C: fix inset_iterator.end(), move out of line
4076         (bug 1149)
4077
4078 2003-06-01  John Levon  <levon@movementarian.org>
4079
4080         * text3.C: use a proper cut/paste when doing inset
4081         insert (from Jürgen Spitzmüller)
4082
4083 2003-06-01  John Levon  <levon@movementarian.org>
4084
4085         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4086
4087 2003-05-30  André Pönitz  <poenitz@gmx.net>
4088
4089         * rowpainter.C: unify second drawing phase
4090
4091 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * trans_mgr.C: remove one case of current_view
4094
4095         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4096
4097         * paragraph_funcs.h: remove paragraph.h include
4098
4099         * paragraph.h: delete NO_STD_LIST stuff
4100
4101         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4102
4103         * buffer.h: remove paragraph.h include
4104
4105         * ParagraphList.C: delete file
4106
4107         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4108
4109         * toc.C (getTocList): adjust
4110
4111         * paragraph_pimpl.C (validate): adjust
4112
4113         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4114
4115         * paragraph.C (Paragraph): adjust
4116         (getPositionOfInset): use const_iterator, adjust
4117         (bibitem): use const_iterator, adjust
4118         (setInsetOwner): adjust
4119
4120         * iterators.C (operator++): adjust
4121
4122         * InsetList.[Ch]: Replace selfmade iterator with standard
4123         vector::iterator also introduce const_iterator. Remove getPos,
4124         getInset and setInset from InsetTable. Adjust accordingly.
4125
4126         * BufferView.C (lockInset): adjust
4127         (ChangeInsets): adjust
4128
4129         * tabular.[Ch]: delete commented same_id functions
4130
4131 2003-05-28  John Levon  <levon@movementarian.org>
4132
4133         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4134
4135 2003-05-28  André Pönitz  <poenitz@gmx.net>
4136
4137         * metricsinfo.[Ch]: remove 'fullredraw' member
4138
4139 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4140
4141         * lyxtextclass.C (operator): remove caching.
4142
4143 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * text3.C: adjust
4146
4147         * text2.C (cursorBottom): adjust
4148         (setCounter): use ParagraphList::find, adjust
4149
4150         * text.C (workWidth): use ParagraphList::find, adjust
4151
4152         * lyxcursor.C (LyXCursor): adjust
4153
4154         * buffer.C (inset_iterator): adjust
4155
4156         * ParagraphList.h: make iterator(value_type) private, make
4157         ParagraphList a friend of iterator.
4158
4159         * ParagraphList.C (find): new function
4160
4161         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4162
4163 2003-05-27  André Pönitz  <poenitz@gmx.net>
4164
4165         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4166
4167 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4168
4169         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4170
4171 2003-05-26  John Levon  <levon@movementarian.org>
4172
4173         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4174
4175 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * remove same_id from function signatures, adjust.
4178
4179 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4182
4183         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4184
4185         * paragraph.C (Paragraph): get rid of same_ids parameter
4186
4187         * ParagraphList.C (insert): adjust
4188         (push_back): adjust
4189
4190 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * paragraph_funcs.C (breakParagraph): adjust
4193         (breakParagraphConservative): adjust
4194
4195         * buffer.C (readParagraph): adjust
4196
4197         * ParagraphList.C (insert): take a reference instead of a pointer
4198         (insert): adjust
4199
4200         * paragraph.[Ch] (id): new function
4201
4202         * bufferlist.C (newFile): adjust
4203
4204         * ParagraphList.C (ParagraphList): adjust
4205         (assign): adjust
4206         (push_back): take a reference instead of a pointer.
4207
4208         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4209
4210         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4211         instead.
4212
4213         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4214         set else use old code.
4215
4216         * ParagraphList.C: remove all NO_NEXT code and only compile this
4217         code of NO_STD_LIST is set.
4218
4219 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * BufferView_pimpl.C:
4222         * TextCache.C:
4223         * TextCache.h:
4224         * bufferlist.C:
4225         * errorlist.h:
4226         * format.C:
4227         * format.h:
4228         * graph.C:
4229         * lyxfunc.C:
4230         * lyxrc.C:
4231         * graphics/GraphicsConverter.C:
4232         * graphics/PreviewLoader.C: header adjustment
4233
4234 2003-05-23  Angus Leeming  <leeming@lyx.org>
4235
4236         * LaTeXFeatures.[Ch] (useBabel): new method.
4237         * bufferparams.C (writeLaTeX): use it.
4238
4239 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4240
4241         * ParagraphList.h (set): remove unused function.
4242
4243 2003-05-23  André Pönitz  <poenitz@gmx.net>
4244
4245         * BufferView.C:
4246         * BufferView_pimpl.C:
4247         * buffer.C:
4248         * buffer.h:
4249         * lyxfunc.C:
4250         * undo_funcs.C: setUndo reworked
4251
4252         * iterators.[Ch]: add access to topmost ParagraphList
4253
4254         * lyxtext.[Ch] (workWidth): add a const
4255
4256 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * texrow.[Ch] (increasePos): remove function
4259         * exporter.C (export): removed unused var and outdated comment
4260
4261 2003-05-23  Angus Leeming  <leeming@lyx.org>
4262
4263         * latexrunparams.h: rename fragile as moving_arg.
4264         * paragraph.C (simpleTeXOnePar): ditto.
4265         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4266
4267 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4270         (createUndo): ditto
4271         (textUndoOrRedo): comment out a currently unused var.
4272
4273         * paragraph.h (NO_NEXT): enable NO_NEXT
4274
4275         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4276
4277         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4278
4279         * exporter.C (Export): adjust for removeAutoInsets removal.
4280
4281         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4282
4283         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4284
4285         * BufferView.[Ch] (removeAutoInsets): delete function
4286
4287 2003-05-22  Angus Leeming  <leeming@lyx.org>
4288
4289         * latexrunparams.h: add a free_spacing variable.
4290
4291         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4292         to pass moving_arg, as the data is stored in runparams.fragile.
4293
4294         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4295         to Inset::latexOptional or to simpleTeXOnePar.
4296
4297         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4298         free_spacing arg to Inset::latexOptional.
4299
4300         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4301         free_spacing arg.
4302
4303 2003-05-22  Angus Leeming  <leeming@lyx.org>
4304
4305         * latexrunparams.h: add fragile and use_babel variables.
4306
4307         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4308         * buffer.C (makeLaTeXFile): store this returned value in
4309         runparams.use_babel, thus passing it to the inset::latex methods.
4310
4311         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4312         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4313
4314         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4315         longer has a fragile arg, as it is stored in runparams.fragile.
4316
4317         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4318         moving_arg parameter as the data is stored in runparams.fragile.
4319
4320         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4321         a fragile parameter as the data is stored in runparams.fragile.
4322
4323 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4326
4327 2003-05-22  Angus Leeming  <leeming@lyx.org>
4328
4329         * latexrunparams.h: add a 'bool nice' which defaults to false.
4330
4331         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4332         now encapsulated within runparams.
4333
4334         * bufferlist.C (updateIncludedTeXfiles):
4335         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4336
4337 2003-05-22  Angus Leeming  <leeming@lyx.org>
4338
4339         * latexrunparams.h: new file containing struct LatexRunParams.
4340         * Makefile.am: add new file.
4341
4342         * LaTeX.[Ch] (c-tor, run):
4343         * buffer.[Ch] (makeLaTeXFile):
4344         * bufferlist.[Ch] (updateIncludedTeXfiles):
4345         * converter.C (convert, scanLog):
4346         * converter.[Ch] (runLaTeX):
4347         * exporter.C (Export):
4348         * paragraph.[Ch] (simpleTeXOnePar):
4349         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4350         * paragraph_funcs.[Ch] (latexParagraphs):
4351         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4352         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4353         pass around a LatexRunParams parameter.
4354
4355 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * paragraph.[Ch]: remove unused constructor
4358
4359         * ParagraphList.C (erase): new function, taking two iterators
4360
4361 2003-05-22  André Pönitz  <poenitz@gmx.net>
4362
4363         * undo_funcs.C: remove duplicated code
4364
4365         * iterator.[Ch]: operator=
4366
4367 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * tabular.C (SetMultiColumn): ws changes
4370
4371         * rowpainter.C (paintFirst): get rid of a ->previous
4372
4373         * lyx_cb.C (getPossibleLabel): parlist simplification
4374
4375         * BufferView.C (ChangeInsets): simplify slightly.
4376
4377 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4378
4379         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4380         * lfuns.h: new LFUN_SPACE
4381         * lyxfunc.C: protected space has a new lfun
4382         * paragraph_funcs.C: read new space insets
4383         * text3.C:
4384         * factory.C: handle new space insets
4385
4386 2003-05-22  André Pönitz  <poenitz@gmx.net>
4387
4388         * BufferView.C:
4389         * BufferView_pimpl.C:
4390         * buffer.[Ch]:
4391         * lyxfunc.C:
4392         * undo_funcs.C: return a ParIterator from getParFromID.
4393
4394         * iterators.[Ch]: add two const's
4395
4396 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * toc.C (getTocList): adjust
4399
4400         * iterators.[Ch]: rework for parlist
4401
4402         * buffer.C (par_iterator_begin): adjust
4403         (par_iterator_end): adjust
4404
4405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4406
4407         * BufferView.C (removeAutoInsets): adjust
4408         (ChangeInsets): adjust
4409
4410 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * text.C (top_y): fix bug 1110
4413
4414 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * errorlist.[Ch]: added
4417         * buffer.C:
4418         * BufferView.[Ch]:
4419         * BufferView_pimpl.C:
4420         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4421         instead
4422
4423 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * Makefile.am: ensure that lyx is relinked upon changes to the
4426         various "convenience" libs.
4427
4428 2003-05-20  Angus Leeming  <leeming@lyx.org>
4429
4430         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4431         files are compiled in alphabetical order again.
4432
4433         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4434
4435 2003-05-19  Angus Leeming  <leeming@lyx.org>
4436
4437         * gettext.[Ch]: remove "char const * _(char const *)".
4438
4439 2003-05-19  André Pönitz  <poenitz@gmx.net>
4440
4441         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4442
4443         * Makefile.am:
4444         * BufferView.C:
4445         * DepTable.h:
4446         * LaTeXFeatures.C:
4447         * buffer.C:
4448         * lyxfont.C:
4449         * lyxlex.h:
4450         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4451
4452 2003-05-19  André Pönitz  <poenitz@gmx.net>
4453
4454         * buffer.C:
4455         * lyxlayout.[Ch]:
4456         * lyxtextclass.[Ch]:
4457         * paragraph.C:
4458         * paragraph_funcs.[Ch]:
4459         * text2.C:
4460         * text3.C: more insetenv work
4461
4462 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * ParagraphParameters.C (params2string): small bug fixed
4465
4466 2003-05-16  André Pönitz  <poenitz@gmx.net>
4467
4468         * debug.C:
4469         * bufferview_funcs.C: patch from Kornel Benko to prevent
4470           crash when _(...) is called twice in a statement
4471
4472 2003-05-16  André Pönitz  <poenitz@gmx.net>
4473
4474         * BufferView.C:
4475         * lyxfunc.C:
4476         * text.C:
4477         * text2.C:
4478         * text3.C:
4479         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4480
4481 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4482
4483         * lyx_main.C (init): remove spurious static_cast
4484
4485 2003-05-14  André Pönitz  <poenitz@gmx.net>
4486
4487         * BufferView.C: fix format string
4488
4489 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4490
4491         * BufferView.[Ch] (insertErrors): removed
4492         * BufferView.[Ch] (showErrorList): added
4493         * buffer.C (runChkTeX):
4494         * converter.C (scanLog): call showErrorList instead of inserterrors
4495
4496 2003-05-13  André Pönitz  <poenitz@gmx.net>
4497
4498         * BufferView_pimpl.C:
4499         * buffer.C:
4500         * bufferview_func.C:
4501         * MenuBackend.C:
4502         * lyxfunc.C:
4503         * lyxrc.C:
4504         * tex-accent.C:
4505         * text3.C:
4506         * toc.C:
4507         * tabular_funcs.h: tostr() from its own header
4508
4509         * ParagraphParameters.C:
4510         * ToolbarBackend.C:
4511         * bufferparams.C:
4512         * format.C:
4513         * lyxlex_pimpl.C:
4514         * text3.C: STRCONV()
4515
4516 2003-05-12  André Pönitz  <poenitz@gmx.net>
4517
4518         * BufferView.C:
4519         * BufferView_pimpl.C:
4520         * CutAndPaste.C:
4521         * LaTeX.C:
4522         * LaTeXFeatures.C:
4523         * ParagraphParameters.C:
4524         * buffer.C:
4525         * bufferlist.C:
4526         * bufferparams.C:
4527         * bufferview_funcs.C:
4528         * converter.C:
4529         * counters.C:
4530         * debug.C:
4531         * exporter.C:
4532         * format.C:
4533         * importer.C:
4534         * lyx_cb.C:
4535         * lyx_main.C:
4536         * lyxfont.C:
4537         * lyxfunc.C:
4538         * lyxvc.C:
4539         * paragraph.C:
4540         * paragraph_funcs.C:
4541         * tabular.C:
4542         * tabular_funcs.C:
4543         * text2.C:
4544         * text3.C:  boost::format -> bformat  all over the place
4545
4546
4547 2003-05-09  André Pönitz  <poenitz@gmx.net>
4548
4549         * LColor.[Ch]: Pimpl the #include <map> away
4550
4551 2003-05-09  John Levon  <levon@movementarian.org>
4552
4553         * bufferlist.C: never remove emergency saves
4554
4555 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * Makefile.am: better lib building
4558
4559 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4562         instead.
4563         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4564         (simpleTeXSpecialChars): adjust
4565         (simpleTeXSpecialChars): adjust
4566         * paragraph.C (simpleTeXOnePar): adjust
4567         * buffer.C (makeLaTeXFile): adjust
4568
4569         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4570
4571         * text2.C (changeDepth): parlist cleanup
4572         (getColumnNearX): ditto
4573
4574         * rowpainter.C (getLabelFont): parlist cleanup
4575
4576         * bufferlist.C (newFile): parlist cleanup
4577
4578         * CutAndPaste.C (eraseSelection): parlist cleanup
4579
4580         * BufferView_pimpl.C (trackChanges): parlist cleanup
4581         (dispatch): ditto
4582
4583         * BufferView.C (lockInset): parlist cleanup.
4584         (ChangeInsets): ditto
4585
4586 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * CutAndPaste.h: Update file header.
4589
4590         * CutAndPaste.C: Update file header.
4591         Store the parts cut out of the Document in a limited_stack.
4592         (copySelection): adjust
4593         (pasteSelection): new function, takes the index in the limited stack.
4594         (nrOfParagraphs): adjust
4595         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4596         simplify error inset insertion.
4597         (checkPastePossible): adjust
4598
4599 2003-05-06  John Levon  <levon@movementarian.org>
4600
4601         * text2.C: don't cast wrap inset to float
4602
4603 2003-05-05  André Pönitz  <poenitz@gmx.net>
4604
4605         * iterator.C:
4606         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4607
4608         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4609           few naked Paragraph *.
4610
4611 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4612
4613         * bufferparams.C: Output warning if a document with missing
4614         TeX document class is loaded
4615         * exporter.C: Disable TeX exports if the document class is missing
4616         * lyxtextclass.C:
4617         * lyxtextclass.h:
4618         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4619         isTeXClassAvailable()
4620
4621 2003-05-03  John Levon  <levon@movementarian.org>
4622
4623         * BufferView.h:
4624         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4625         explicit cursor show/hide
4626
4627         * BufferView_pimpl.h:
4628         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4629         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4630
4631         * lyxfunc.C: hide cursor before dispatching.
4632
4633         * lyx_cb.C:
4634         * lyxfind.C:
4635         * text.C:
4636         * text3.C: remove explicit cursor hides
4637
4638 2003-05-02  André Pönitz  <poenitz@gmx.net>
4639
4640         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4641
4642         * undo_funcs.C:
4643         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4644           linked lists
4645
4646         * text2.C: tiny whitespace
4647
4648 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * undo_funcs.C: almost only ws changes.
4651
4652         * ParagraphList.C (splice): just return if pl is empty.
4653
4654 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4655
4656         * ParagraphList.C (splice): new function.
4657
4658         * CutAndPaste.C (pasteSelection): use it
4659
4660 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * CutAndPaste.C (pasteSelection): remove the last next and
4663         previous from this file.
4664
4665 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * CutAndPaste.C (pasteSelection): more clean up, user proper
4668         ParagraphList functions for pasteing.
4669
4670         * ParagraphList.C (insert): new function, three arg insert
4671
4672 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * ParagraphList.C (insert): new function, three arg insert
4675
4676         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4677         not on paragraphs.
4678
4679 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4682
4683 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4686
4687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4690         (copySelection): clean up a bit.
4691         (pasteSelection): use make_pair
4692
4693         * ParagraphList.C (ParagraphList): implement copy constructor
4694         (operator=): implement, base on copy constructor.
4695         (assign): new func
4696
4697         * paragraph.C (erase): return a bool
4698
4699         * paragraph_pimpl.C (erasePos): remove function, move contents...
4700         (erase): ... here. Return a bool.
4701         (erase): call erase instead of erasePos.
4702
4703 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * ParagraphList.h: define PitPosPair
4706         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4707         ParagraphList, fix a bug on pasting multiple pars
4708         * text2.C: change interface to C&P
4709
4710 2003-04-30  André Pönitz  <poenitz@gmx.net>
4711
4712         * undo_func.C: revert part of yesterday's patch 2
4713
4714 2003-04-30  John Levon  <levon@movementarian.org>
4715
4716         * LColor.C: s/tabular/table/
4717
4718 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * text3.C (dispatch): do not convert iterator -> pointer
4721         * undo_funcs.C (setCursorParUndo): ditto
4722         * text_funcs.C (transposeChars): ditto
4723
4724         * text2.C (setLayout): ws changes only
4725
4726         * text.C (breakParagraph): do not convert iterator -> pointer
4727         (insertChar): ditto
4728         (acceptChange): ditto
4729         (rejectChange): ditto
4730         (changeCase): ditto
4731         (Delete): ditto
4732         (backspace): ditto
4733
4734         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4735         pointer
4736
4737 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * text3.C (gotoInset): YABG (yet another bad getChar)
4740
4741 2003-04-29  André Pönitz  <poenitz@gmx.net>
4742
4743         * paragraph.h: make operator= private unimplemented as long as
4744           it is unusable
4745
4746         * ParagraphList.C: whitespace
4747
4748         * paragraph.[Ch]:
4749         * paragraph_pimpl.[Ch]:
4750         * paragraph_funcs.C:
4751         * CutAndPaste.C:
4752         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4753
4754         * text2.C:
4755           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4756
4757 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4760         * paragraph.[Ch] (erase):
4761         * paragraph_pimpl.[Ch] (erase): change return type and value
4762         * text2.C (cutSelection): some rework
4763
4764 2003-04-28  John Levon  <levon@movementarian.org>
4765
4766         * bufferlist.C: changes for unsaved changes dialog
4767
4768 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * bufferlist.C (newFile): set language (messages_) for new
4771         documents also.
4772
4773         * buffer.C (readFile): ws changes only.
4774
4775 2003-04-28  André Pönitz  <poenitz@gmx.net>
4776
4777         * undo_funcs.C:
4778         * lyxfunc.C:
4779         * buffer.[Ch]:
4780         * BufferView_pimpl.C:
4781         * BufferView.C: getParFromID related ParagraphList::iterator changes
4782
4783 2003-04-28  André Pönitz  <poenitz@gmx.net>
4784
4785         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4786           Changes
4787
4788 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * messages.C: remove one more localedir class variable.
4791
4792 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * messages.C (getLocaleDir): singleton generation function
4795         (Pimpl): use it.
4796         (Messages): add a default constructor.
4797
4798         * main.C (main): do not setup localedir here, do not call
4799         gettext_init.
4800
4801         * gettext.C (_): use it.
4802         (gettext_init): delete funciton
4803
4804 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * gettext.C (getLyXMessages): new singleton generating function.
4807
4808         * buffer.C (updateDocLang): adjust
4809
4810         * Makefile.am (messages.o): add target
4811         (main.o): remove target
4812
4813 2003-04-27  John Levon  <levon@movementarian.org>
4814
4815         * bufferlist.C:
4816         * lyx_cb.C:
4817         * lyxfunc.C:
4818         * lyxvc.C: specify cancel button in Alert::prompt
4819
4820 2003-04-26  John Levon  <levon@movementarian.org>
4821
4822         * text3.C:
4823         * lyxfunc.C:
4824         * lfuns.h:
4825         * LyXAction.C: add LFUN_INSET_SETTINGS
4826
4827         * lyxfunc.C: don't enable tabular-feature when there's
4828         just any locking inset
4829
4830 2003-04-26  John Levon  <levon@movementarian.org>
4831
4832         * bufferlist.C: re-add Cancel to buffer close question
4833
4834         * lyxfunc.C: fix import UI a bit
4835
4836 2003-04-25  John Levon  <levon@movementarian.org>
4837
4838         * gettext.C: remove the broken asserts for now
4839
4840 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * messages.C: make case where setlocale cannot comply work better.
4843
4844         * buffer.C (updateDocLang): new function
4845         (changeLanguage): use it
4846         (readFile): use it
4847
4848         * text2.C (setCounter): use B_ a bit.
4849
4850         * lyxlayout.C (Read): be sure to trim the label strings.
4851
4852         * messages.C (Messages): fix typo in comment
4853
4854         * buffer.C (readFile): set message_ after file is loaded.
4855         (makeDocBookFile): remove double return
4856         (changeLanguage): reset message_ upon language change.
4857         (B_): new func, use this to get translated buffer strings.
4858
4859         * main.C: add myself and Jean Marc as authors.
4860
4861 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * messages.[hC]: pimplify Messages, and three different pimpls to be
4864         used in different circumstances.
4865
4866         * gettext.[Ch]: change for use with new message code.
4867
4868 2003-04-24 André Pönitz <poenitz@gmx.net>
4869
4870         * factory.C: support for eqref
4871
4872 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * messages.[Ch]: add missing char
4875
4876         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4877
4878         * messages.[Ch]: New files
4879
4880 2003-04-18  John Levon  <levon@movementarian.org>
4881
4882         * BufferView.h:
4883         * BufferView.C:
4884         * BufferView_pimpl.C:
4885         * lfuns.h:
4886         * LyXAction.C:
4887         * lyxtext.h:
4888         * text2.C: remove layout-copy/paste (bug 778)
4889
4890 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4893
4894 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4897         if they succeed. Act accordingly.
4898
4899 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * text2.C (setCharFont): adjust
4902         (setCounter): adjust
4903         (insertStringAsLines): adjust
4904
4905         * text.C (leftMargin): adjust
4906         (setHeightOfRow): adjust
4907
4908         * rowpainter.C (paintFirst): adjust
4909         (paintLast): adjust
4910
4911         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4912         (outerHook): ditto
4913         (isFirstInSequence): ditto
4914         (getEndLabel): ditto
4915         (outerFont): adjust
4916
4917         * paragraph.C (getParLanguage): comment out some hard stuff.
4918
4919         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4920         (sgmlError): ditto
4921         (simpleDocBookOnePar): ditto
4922         (makeDocBookFile): use ParagraphList::iterator
4923
4924         * CutAndPaste.C (pasteSelection): adjust
4925
4926 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * text2.C (getFont): adjust
4929         (getLayoutFont): adjust
4930         (getLabelFont): adjust
4931
4932         * paragraph_funcs.C (TeXOnePar): adjust
4933
4934         * buffer.C (simpleLinuxDocOnePar): adjust
4935         (simpleDocBookOnePar): adjust
4936
4937         * CutAndPaste.C (pasteSelection): adjust
4938
4939         * BufferView.C (getEncoding): adjust
4940
4941         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4942
4943 2003-04-16  John Levon  <levon@movementarian.org>
4944
4945         * lyxfind.C: use parlist stuff for search/changes
4946
4947 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4950
4951         * text2.C (deleteEmptyParagraphMechanism): adjust
4952
4953         * text2.[Ch] (ownerParagraph): delete func (both of them
4954
4955 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4958
4959 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * ParagraphList.C: prepare for NO_NEXT
4962
4963 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * text2.C (getFont): adjust
4966         (getLayoutFont): adjust
4967         (getLabelFont): adjust
4968
4969         * paragraph.C (getFont): adjust
4970         (getLabelFont): adjust
4971         (getLayoutFont): adjust
4972
4973         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4974
4975 2003-04-15  John Levon  <levon@movementarian.org>
4976
4977         From Angus Leeming
4978
4979         * lyx_main.C: handle Include in .ui files
4980
4981 2003-04-15  John Levon  <levon@movementarian.org>
4982
4983         * MenuBackend.C: make the doc files length shorter
4984
4985         * ToolbarBackend.h:
4986         * ToolbarBackend.C: handle toolbar placement flags,
4987         Minibuffer
4988
4989 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4992         adjust
4993
4994         * paragraph_funcs.C (TeXOnePar): adjust
4995
4996         * paragraph.C (getLabelFont): add outerfont arg, adjust
4997         (getLayoutFont): ditto
4998         (simpleTeXOnePar): adjust
4999
5000         * paragraph_pimpl.C (realizeFont): delete func
5001
5002 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5005         row argument, constify cur argument.
5006
5007 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * text2.C (getFont): adjust
5010         (getLayoutFont): adjust
5011         (getLabelFont): adjust
5012
5013         * paragraph_funcs.C (TeXOnePar): adjust
5014         (outerFont): new func...
5015         (realizeFont): ...moved out from here, changed this to facilitate
5016         transition
5017
5018         * paragraph.C (getFont): take outerfont as arg, adjust
5019         (simpleTeXOnePar): add outerfont arg, adjust
5020
5021         * buffer.C (simpleLinuxDocOnePar): adjust
5022         (simpleDocBookOnePar): adjust
5023
5024         * CutAndPaste.C (pasteSelection): adjust
5025
5026         * BufferView.C (getEncoding): adjust
5027
5028 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * text2.C (setCharFont): adjust
5031         (setCounter): adjust
5032
5033         * text.C (leftMargin): adjust
5034         (setHeightOfRow): adjust
5035
5036         * rowpainter.C (paintFirst): adjust
5037         (paintLast): adjust
5038
5039         * paragraph_pimpl.C (realizeFont): adjust
5040
5041         * paragraph.C (isFirstInSequence): move from here...
5042         * paragraph_funcs.C (isFirstInSequence): ...to here
5043
5044         * paragraph.C (outerHook): move from here...
5045         * paragraph_funcs.C (outerHook): ...to here
5046
5047         * paragraph.C (depthHook): move from here...
5048         * paragraph_funcs.C (depthHook): ...to here
5049
5050         * paragraph.C (getEndLabel): move from here...
5051         * paragraph_funcs.C (getEndLabel): ...to here
5052
5053         * text2.C (realizeFont): move from here...
5054         * paragraph_funcs.C (realizeFont): ...to here
5055
5056 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5059
5060 2003-04-14  Angus Leeming  <leeming@lyx.org>
5061
5062         * LColor.[Ch]: scrap LColor mathcursor.
5063
5064 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * lyxlex.[Ch] (text): delete function
5067         * trans.C (Load): adjust
5068         * paragraph_funcs.C (readParToken): adjust
5069
5070 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5073         vector<char> instead of a char[].
5074
5075         * lyxlex_pimpl.C (getString): adjust
5076         (next): adjust
5077         (lex): use getString
5078         (eatLine): adjust
5079         (nextToken): adjust
5080
5081         * lyxlex.C (text): use pimpl_->getString()
5082         (getBool): ditto
5083         (findToken): ditto
5084
5085 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5088         (makeFontEntriesLayoutSpecific): temp var for par.size()
5089         (setLayout): temp var for ownerParagraphs().end()
5090         (fullRebreak): temp var for rows().end()
5091         (selectionAsString): temp var for boost::next(startpit), realize
5092         that the while really is a regular for loop.
5093         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5094         setCursor in one place.
5095         (setParagraph): temp vr for ownerParagraphs().end()
5096         (updateCounters): make the while loop a for loop
5097         (cutSelection): temp var for ownerParagraphs().end()
5098         (updateInset): make the do {} while() a regular for loop
5099         (getCursorX): use temp vars
5100         (setCurrentFont): use temp vars
5101         (getColumnNearX): use temp vars
5102
5103 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * text.C (transformChar): use temp var for getChar
5106         (computeBidiTables): use temp var for row->par()
5107         (fill): move temp vars for row->par() and pit->layout() earlier in
5108         the function.
5109         (labelFill): use temp var for row->par()
5110         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5111         asc and desc, realize that pit never changes and that firstpit is
5112         just a duplicate and not needed. Exchange rit->par() with pit in a
5113         lot of places.
5114         (breakAgain): use a temp var for boost::next(rit)
5115         (breakAgainOneRow): ditto
5116         (breakParagraph): use a temp var for rows().begin()
5117         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5118         (cursorRightOneWord): use temp var for cursor.par() and
5119         cursor.pos(), remove usage of tmpcursor.
5120         (cursorLeftOneWord): use temp var for cursor.par() and
5121         cursor.pos() only set cur at end of function.
5122
5123 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * text.C, text2.C: exchange all usage of Paragraph::next with
5126         boost::next(ParagraphList::iterator)
5127
5128         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5129
5130         * text2.C (cursorTop): simplify implementation
5131         (cursorBottom): ditto
5132         (setParagraph): use ParagraphList::iterator
5133         (setCurrentFont): adjust
5134         (getColumnNearX): adjust
5135         (cursorRight): adjust
5136         (cursorLeft): remove usage of Paragraph::previous
5137         (cursorUpParagraph): ditto
5138         (deleteEmptyParagraphMechanism): slight cleanup
5139
5140         * text.C (isBoundary): take a Paragraph const & instead of a
5141         pointer as arg.
5142         (addressBreakPoint): ditto
5143         (leftMargin): remove usage of Paragraph::previous.
5144         (setHeightOfRow): ditto
5145         (cursorLeftOneWord): ditto
5146         (selectNextWordToSpellcheck): ditto
5147         (Delete): ditto
5148         (backspace): ditto
5149         (breakParagraph): remove one usage of Paragraph::next
5150         (redoParagraph): ditto
5151         (acceptChange): ditto
5152         (insertChar): adjust
5153         (rowBreakPoint): adjust
5154
5155         * bufferview_funcs.C (toggleAndShow): adjust
5156
5157 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5160         methods to access it.
5161         * lyxtext.h:
5162         * text.C: Added updateRowPositions to compute all row positions.
5163         Make top_y and getRowNearY() to use the cached y position
5164
5165 2003-04-11  John Levon  <levon@movementarian.org>
5166
5167         * text.C (rowBreakPoint): reintroduce the labelEnd
5168         checks, code copied from the row fill stuff. Deep voodoo.
5169
5170         * text.C (fill): add a comment and debugging for the
5171         next poor soul.
5172
5173 2003-04-11  John Levon  <levon@movementarian.org>
5174
5175         * text.C: make sure fullrow insets get wrapped to the next line,
5176         even when they're in a manual label
5177
5178 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * text2.C (insertParagraph): make it take ParagraphList::iterator
5181         as arg.
5182         (setLayout): make it return ParagraphList::iterator
5183         (redoParagraphs): ditto
5184         (setCounter): ditto
5185         (checkParagraph): ditto
5186
5187         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5188
5189         * text2.C: adjust several funcs.
5190         (realizeFont): take a ParagraphList::iterator as arg.
5191         (getLayoutFont): ditto
5192         (getLabelFont): ditto
5193         (setCharFont): ditto
5194
5195         * text.C: adjust several funcs.
5196
5197 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * text.C (selectNextWordToSpellcheck): don't accidentally
5200         skip insets
5201
5202 2003-04-10  John Levon  <levon@movementarian.org>
5203
5204         * ToolbarBackend.C (getIcon): special handling for
5205         LFUN_MATH_DELIM
5206
5207 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * text2.C (cursorRight): a getChar assert fixed
5210
5211 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text2.C (getFont): change to take a ParagraphList::iterator
5214         instead of Paragraph*
5215         Adjust several functions.
5216
5217         * text.C (transformChar): change to take a ParagraphList::iterator
5218         instead of Paragraph*
5219         (singleWidth): ditto
5220         Adjust several functions.
5221
5222         * rowpainter.C: adjust several functions
5223         * rowpainter.h:store a ParagraphList::iterator and not a
5224         Paragraph&.
5225
5226
5227 2003-04-09  John Levon  <levon@movementarian.org>
5228
5229         * lyxfunc.C:
5230         * lfuns.h:
5231         * LyXAction.h:
5232         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5233         and the "help" bits as well
5234
5235 2003-04-09  John Levon  <levon@movementarian.org>
5236
5237         * ToolbarBackend.h:
5238         * ToolbarBackend.C: allow multiple toolbars
5239
5240 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * undo_funcs.C (setCursorParUndo): adjust
5243
5244         * text_funcs.C (transposeChars): adjust
5245
5246         * text3.C (gotoNextInset): adjust
5247         (dispatch): adjust
5248
5249         * text2.C (setLayout): adjust
5250         (changeDepth): adjust
5251         (setFont): adjust
5252         (redoParagraphs): adjust
5253         (selectionAsString): adjust
5254         (setParagraph): adjust
5255         (insertInset): adjust
5256         (cutSelection): adjust
5257         (copySelection): adjust
5258         (pasteSelection): adjust
5259         (insertStringAsLines): adjust
5260         (updateInset): adjust
5261         (setCursor): change to take a ParagraphList::iterator parameter
5262         (setCursorIntern): change to take a ParagraphList::iterator parameter
5263         (setCurrentFont): adjust
5264         (cursorLeft): adjust
5265         (cursorRight): adjust
5266         (deleteEmptyParagraphMechanism): adjust
5267
5268         * text.C (breakParagraph): adjust
5269         (insertChar): adjust
5270         (acceptChange): adjust
5271         (rejectChange): adjust
5272         (selectNextWordToSpellcheck): adjust
5273         (changeCase): adjust
5274         (Delete): adjust
5275         (backspace): adjust
5276
5277         * lyxfind.C (SearchForward): adjust
5278         (SearchBackward): adjust
5279         (nextChange): adjust
5280
5281         * lyxcursor.C (par): adjust
5282
5283         * lyxcursor.h: store a ParagraphList::iterator instead of a
5284         Paragraph*
5285
5286         * lyx_cb.C (getPossibleLabel): adjust
5287
5288         * bufferview_funcs.C (toggleAndShow): adjust
5289
5290         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5291         (dispatch): adjust
5292
5293         * BufferView.C (removeAutoInsets): adjust
5294         (lockedInsetStoreUndo): adjust
5295
5296 2003-04-09  John Levon  <levon@movementarian.org>
5297
5298         * ToolbarBackend.C: try icon without argument
5299         if with argument fails
5300
5301 2003-04-08  John Levon  <levon@movementarian.org>
5302
5303         * ToolbarBackend.h:
5304         * ToolbarBackend.C: add getIcon(), handle tooltip,
5305         and change from "Icon" to "Item".
5306
5307 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * BufferView.C (lockInset): another bad getchar crunched
5310
5311 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5314         again)
5315
5316 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * lyxfind.C (searchForward, searchBackwards): bug 782
5319
5320 2003-04-07  John Levon  <levon@movementarian.org>
5321
5322         * paragraph.C: remove dead comment
5323
5324         * text.C: remove troublesome depth-fiddling code
5325         in leftMargin() and rightMargin() (bug 1017)
5326
5327         * text.C: fix breaking of rows in nested lists
5328         (bug 1004)
5329
5330         * text2.C (updateCounters): fix up depth values
5331         (bug 1013)
5332
5333 2003-04-07  John Levon  <levon@movementarian.org>
5334
5335         * BufferView_pimpl.C: clear message when doc finishes resizing,
5336         and after a mouse event
5337
5338         * lyxfunc.C: clear message after exiting inset
5339
5340 2003-04-07  John Levon  <levon@movementarian.org>
5341
5342         * bufferview_funcs.C: show math status not outside
5343         status in the statusbar
5344
5345 2003-04-07  John Levon  <levon@movementarian.org>
5346
5347         * lyxfunc.C: note status changed after a depth change
5348
5349 2003-04-04  Angus Leeming  <leeming@lyx.org>
5350
5351         * LaTeX.h: move AuxInfo operator==, != out of line.
5352         Remove LaTeX virtual destructor; nothing derives from it.
5353         Move operator()() out of public area and rename it startscript().
5354         Change protected for private.
5355
5356 2003-04-04  Angus Leeming  <leeming@lyx.org>
5357
5358         * lyxfunc.C:
5359         * text2.C: remove unneeded #includes.
5360
5361 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5362
5363         * text2.C (dEPM): fix the heigth of the next row
5364
5365 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5366
5367         * text.C: squashed an invalid getChar requester + some ws changes
5368
5369 2003-04-03  John Levon  <levon@movementarian.org>
5370
5371         * bufferview_funcs.h:
5372         * bufferview_funcs.C:
5373         * lyxfunc.C:
5374         * lyxtext.h:
5375         * text2.C: make getStatus work for the env depth lfuns
5376
5377 2003-04-03  John Levon  <levon@movementarian.org>
5378
5379         * bufferview_funcs.h:
5380         * bufferview_funcs.C:
5381         * lyxfunc.C:
5382         * lyxtext.h:
5383         * text2.C: parlistize decDepth(), by merging it with incDepth()
5384
5385 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxrow.h: store a ParagraphList::iterator instead of a
5388         Paragraph* and adjust other class functions to suit.
5389
5390         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5391         above.
5392
5393 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5394
5395         * text2.C (setCursor): do not anchor to cursor row for the time being
5396
5397 2003-04-02  John Levon  <levon@movementarian.org>
5398
5399         * LyXAction.C:
5400         * lfuns.h:
5401         * lyx_main.C:
5402         * lyxtext.h:
5403         * text.C:
5404         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5405
5406 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * paragraph.h: make ParagraphList and ParagraphList::iterator
5409         friends of Paragraph.
5410
5411         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5412
5413         * ParagraphList.C: Use the private next_ and previous_ from
5414         Paragraph.
5415
5416 2003-04-01  John Levon  <levon@movementarian.org>
5417
5418         * ToolbarBackend.h:
5419         * ToolbarBackend.C:
5420         * Makefile.am: rename, remove defaults gunk
5421
5422         * MenuBackend.h:
5423         * MenuBackend.C: remove defaults gunk
5424
5425         * Languages.h:
5426         * Languages.C: remove defaults gunk
5427
5428         * lyx_main.h:
5429         * lyx_main.C: error out if files couldn't be found.
5430
5431 2003-04-02  John Levon  <levon@movementarian.org>
5432
5433         * text2.C: make incDepth() use parlist
5434
5435 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * undo_funcs.C (firstUndoParagraph): adjust
5438
5439         * text3.C (gotoInset): adjust
5440         (dispatch): adjust, and rewrite loop.
5441
5442         * text2.C (init): adjust, and rewrite loop.
5443         (redoParagraphs): adjust
5444         (updateInset): adjust, and rewrite loop.
5445         (deleteEmptyParagraphMechanism): adjust
5446
5447         * tabular.C (LyXTabular): adjust
5448         (SetMultiColumn): adjust
5449         (TeXRow): adjust
5450
5451         * lyxtext.[Ch] (ownerParagraph): delete function
5452         (ownerParagraphs): new function returns a ParagraphList.
5453
5454         * BufferView.C (removeAutoInsets): adjust
5455         (insertErrors): adjust
5456         (setCursorFromRow): adjust
5457
5458 2003-04-01  Angus Leeming  <leeming@lyx.org>
5459
5460         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5461         in the frontends.
5462
5463 2003-04-02  John Levon  <levon@movementarian.org>
5464
5465         * lyxtext.h:
5466         * text.C:
5467         * Makefile.am:
5468         * text_funcs.h:
5469         * text_funcs.C: make transposeChars a free function
5470
5471         * lyxrow_funcs.C: remove wrong comment
5472
5473 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * lyxtext.h: adjust
5476         * rowpainter.C: adjust
5477         * text.C: adjust
5478         * text2.C: adjust
5479         * text3.C: adjust
5480
5481         * lyxrow_funcs. [Ch]: new files
5482
5483         * lyxrow.[Ch]: remove next and previous pointers
5484         (next,previous): remove accessor functions
5485         (isParEnd): move to lyxrow_funcs
5486         (lastPos): move to lyxrow_funcs
5487         (nextRowIsAllInset): move to lyxrow_funcs
5488         (lastPrintablePos): move to lyxrow_funcs
5489         (numberOfSeparators): move to lyxrow_funcs
5490         (numberOfHfills): move to lyxrow_funcs
5491         (numberOfLabelHfills): move to lyxrow_funcs
5492         (hfillExpansion): move to lyxrow_funcs
5493
5494         * lyxfunc.C: adjust
5495
5496         * bufferview_funcs.C (toggleAndShow): adjust
5497
5498         * RowList.h: Remove class RowList from file leave just a
5499         std::list<Row>.
5500
5501         * RowList.C: delete file
5502
5503         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5504         and lyxrow_funcs.h
5505
5506 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text3.C (cursorPrevious): adjust
5509         (cursorNext): adjust
5510         (dispatch): adjust
5511
5512         * text2.C (redoHeightOfParagraph): adjust
5513         (redoDrawingOfParagraph): adjust
5514         (setCursor): adjust
5515
5516         * text.C (breakParagraph): adjust
5517         (insertChar): adjust
5518         (backspace): adjust
5519
5520         * rowpainter.C (RowPainter): adjust
5521         (leftMargin): simplify and adjust
5522         (most rowpainter functions): adjust.
5523
5524         * rowpainter.h: store the row as RowList::iterator not as Row*
5525
5526         * lyxcursor.C (row): taka RowList::iterator as arg
5527         (irow): ditto
5528
5529         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5530         of Row*.
5531
5532 2003-04-01  Angus Leeming  <leeming@lyx.org>
5533
5534         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5535         stuff like bool Bool.
5536
5537 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5538
5539         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5540         rewrite a loop
5541
5542 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5545         RowList::iterator.
5546
5547         * lyxtext.h (rows): drop one version and leve a const variant that
5548         returns a RowList::iterator.
5549
5550 2003-03-31  Angus Leeming  <leeming@lyx.org>
5551
5552         * text.C (fill): ensure that the signature is the same as that in the
5553         header file.
5554
5555 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * text2.C (redoParagraphs): adjust
5558         (updateCounters): adjust
5559         (checkParagraph): adjust
5560         (getColumnNearX): adjust and reformat a bit.
5561
5562         * text.C (top_y): adjust
5563         (workWidth): adjust
5564         (leftMargin): adjust
5565         (prepareToPrint): adjust
5566         (getRow): adjust
5567         (getRowNearY): adjust
5568
5569         * lyxtext.h: make rowlist_ mutable.
5570
5571         * RowList.h: add const_iterator
5572         * RowList.C: adjust for RowList::const_iterator.
5573
5574         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5575         adjust.
5576
5577 2003-03-31  John Levon  <levon@movementarian.org>
5578
5579         * lyxrc.h:
5580         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5581
5582         * lyx_main.C: set default fonts from using lyx_gui funcs
5583
5584         * exporter.C: pdf_mode moved from lyxrc
5585
5586         * lyx_cb.C:
5587         * lyxfunc.C: changes from above
5588
5589 2003-03-31  John Levon  <levon@movementarian.org>
5590
5591         * lyx_main.C: fix to the last fix
5592
5593 2003-03-31  John Levon  <levon@movementarian.org>
5594
5595         * bufferlist.C: "Load original" -> "Load Original"
5596
5597         * converter.C:
5598         * exporter.C:
5599         * importer.C:
5600         * lyx_main.C:
5601         * format.C: more Alert cleanups
5602
5603 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * text2.C (removeParagraph): make it take a RowList::iterator as
5606         arg, adjust.
5607         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5608         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5609
5610         * text.C (anchor_row): make it take a RowList::iterator as arg,
5611         adjust.
5612         (computeBidiTables): make it take a const reference to Row instead
5613         of Row pointer, adjust.
5614         (leftMargin): make it take a RowList::iterator as arg, adjust.
5615         (rowBreakPoint): adjust
5616         (breakAgainOneRow): make it take a RowList::iterator as arg,
5617         adjust.
5618         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5619
5620         * bufferview_funcs.C (toggleAndShow): adjust
5621
5622 2003-03-30  John Levon  <levon@movementarian.org>
5623
5624         * Makefile.am:
5625         * BoostFormat.h:
5626         * boost-inst.C: moved to support
5627
5628         * several files: changes as a result
5629
5630 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * text2.C (LyXText): adjust.
5633         (init): adjust
5634         (removeRow): make it take a RowList::iterator as arg, adjust.
5635         (fullRebreak): adjust
5636         (deleteEmptyParagraphMechanism): adjust
5637         (clearPaint): adjust
5638         (postPaint): adjust
5639
5640         * text.C (top_y): adjust
5641         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5642         (breakAgain): make it take a RowList::iterator as arg, adjust.
5643         (breakParagraph): adjust
5644         (insertChar): adjust
5645         (backspace): adjust
5646
5647         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5648         need_break_row, and refresh_row.
5649
5650         * text3.C (dispatch): adjust
5651
5652         * text2.C (checkParagraph): adjust
5653         (setCursor): adjust
5654         (setCursorFromCoordinates): adjust
5655
5656         * text.C (top_y): adjust
5657         (workWidth): adjust
5658         (getRow): make it return a RowList::iterator, adjust
5659         (getRowNearY): make it return a RowList::iterator, adjust
5660
5661         * text2.C (init): adjust
5662         (insertRow): remove function
5663         (insertParagraph): adjust
5664         (redoParagraphs): adjust
5665         (fullRebreak): adjust
5666         (updateCounters): adjust
5667
5668         * text.C (top_y): rewrite to use RowList iterators.
5669         (top_y): adjust
5670         (setHeightOfRow): rewrite to sue RowList iterators.
5671         (appendParagraph): adjust
5672         (breakAgain): adjust
5673         (breakAgainOneRow): adjust
5674         (breakParagraph): adjust
5675         (getRow): adjust
5676         (getRowNearY): adjust, and remove commented code.
5677
5678         * lyxtext.h (firstRow): delete function
5679         (lastRow): delete function
5680         (rows): new function (const and non-const versions.)
5681         (insertRow): delete function
5682
5683         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5684
5685 2003-03-29  John Levon  <levon@movementarian.org>
5686
5687         * BufferView_pimpl.C: always update scrollbar top
5688         because pasting text when we're anchored could mean we
5689         miss an update altogether
5690
5691 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * text2.C (init): use rowlist_.end() and not 0.
5694         (insertRow): change to take a RowList::iterator as arg, adjust
5695         for this.
5696         (insertParagraph): change to take a RowList::iterator as arg,
5697         adjust for this.
5698         (redoParagraphs): remove some debug msgs.
5699
5700         * text.C (appendParagraph): change to take a RowList::iterator
5701         arg, adjust for this.
5702         (breakAgain): add an assert
5703         (breakAgainOneRow): ditto
5704
5705 2003-03-29  John Levon  <levon@movementarian.org>
5706
5707         * text2.C: do not clear selection after inc/decDepth
5708         (bug 550)
5709
5710 2003-03-29  John Levon  <levon@movementarian.org>
5711
5712         * BufferView.C:
5713         * buffer.C: fix broken strerrors according to Lars
5714
5715 2003-03-29  John Levon  <levon@movementarian.org>
5716
5717         * converters.C: more Alert cleanups
5718
5719 2003-03-29  John Levon  <levon@movementarian.org>
5720
5721         * bufferview_funcs.C: remove pointless Alert
5722
5723         * buffer.C: fix confusing error message when
5724         a template is chmoded 000
5725
5726 2003-03-29  John Levon  <levon@movementarian.org>
5727
5728         * BufferView.C:
5729         * BufferView.h:
5730         * BufferView_pimpl.C: Alert fixes
5731
5732         * Makefile.am:
5733         * tabular.C:
5734         * tabular-old.C: remove unused table compat reading
5735
5736 2003-03-29  John Levon  <levon@movementarian.org>
5737
5738         * BufferView.C:
5739         * buffer.C:
5740         * lyx_cb.h:
5741         * lyx_cb.C: more Alert cleanups
5742
5743         * lyxfunc.C: don't allow chktex if not latex document
5744
5745 2003-03-29  John Levon  <levon@movementarian.org>
5746
5747         * lyx_cb.C:
5748         * BufferView.C:
5749         * buffer.C: warnings pushed down from support/,
5750         kill err_alert
5751
5752 2003-03-29  John Levon  <levon@movementarian.org>
5753
5754         * lyxfunc.C: safety check for C-r (revert)
5755
5756 2003-03-29  John Levon  <levon@movementarian.org>
5757
5758         * bufferlist.h:
5759         * bufferlist.C: several UI fixes using Alert::prompt.
5760         Fix the pointless looping quit code. Fix stupid revert
5761         behaviour (bug 938)
5762
5763         * lyxvc.h:
5764         * lyxvc.C:
5765         * lyx_cb.C: use Alert::prompt
5766
5767         * lyx_main.C: remove a silly question
5768
5769         * lyxfunc.C: remove a couple of silly questions,
5770         use Alert::prompt
5771
5772 2003-03-28  John Levon  <levon@movementarian.org>
5773
5774         * text2.C: fix bug 974 (End on empty par)
5775
5776 2003-03-28  John Levon  <levon@movementarian.org>
5777
5778         * BufferView_pimpl.C:
5779         * LyXAction.C:
5780         * lfuns.h: remove do-nothing math greek lfuns
5781
5782 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * lyxgluelength.h (isValidGlueLength): add default arg on
5785         parameter 2. Remove default arg from friend in class.
5786
5787         * lyxlength.h (isValidLength): add default arg on parameter 2.
5788         Remove default arg from friend in class.
5789
5790         * text2.C (LyXText): adjust, initialize refresh_row.
5791         (init): adjust
5792         (removeRow): adjust
5793         (insertRow): adjust
5794         (insertParagraph): adjst
5795         (redoParagraphs): adjust
5796         (fullRebreak): adjust
5797         (updateCounters): adjust
5798         (deleteEmptyParagraphMechanism): first attempt at fixing a
5799         crashing bug.
5800
5801         * text.C (top_y): adjust
5802         (setHeightOfRow): adjust
5803         (getRow): adjust
5804         (getRowNearY): adjust
5805
5806         * lyxtext.h: include RowList.h
5807         (~LyXText): not needed anymore, deleted.
5808         (firstRow): modify for RowList
5809         (lastRow): new function
5810         Delete firstrow and lastrow class variables, add a Rowlist
5811         rowlist_ class variable.
5812
5813         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5814         paragraph is empty.
5815
5816         * RowList.C (insert): fix case where it == begin().
5817
5818 2003-03-26  Angus Leeming  <leeming@lyx.org>
5819
5820         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5821         the thesaurus dialog.
5822
5823 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5824
5825         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5826
5827         * RowList.[Ch]: new files
5828
5829         * ParagraphList.C (erase): handle the case where it == begin
5830         correctly.
5831
5832 2003-03-25  John Levon  <levon@movementarian.org>
5833
5834         * Makefile.am:
5835         * aspell_local.h:
5836         * aspell.C: add new aspell support
5837
5838         * lyxrc.h:
5839         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5840         have it accessible.
5841
5842 2003-03-25  Angus Leeming  <leeming@lyx.org>
5843
5844         * lfuns.h:
5845         * LyXAction.C (init): new LFUN_INSET_INSERT.
5846
5847         * BufferView_pimpl.C (dispatch): split out part of the
5848         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5849
5850         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5851         LFUN_INSET_APPLY.
5852
5853 2003-03-25  Angus Leeming  <leeming@lyx.org>
5854
5855         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5856
5857 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5858
5859         * text2.C:
5860         * text3.C: remove useless row->height(0)
5861
5862 2003-03-25  John Levon  <levon@movementarian.org>
5863
5864         * lyxtext.h:
5865         * text2.C:
5866         * text3.C: rename the refreshing stuff to better names
5867
5868 2003-03-24  John Levon  <levon@movementarian.org>
5869
5870         * BufferView_pimpl.h:
5871         * BufferView_pimpl.C: update layout choice on a mouse
5872         press/release
5873
5874 2003-03-23  John Levon  <levon@movementarian.org>
5875
5876         * Makefile.am: fix commandtags.h reference
5877
5878 2003-03-22  John Levon  <levon@movementarian.org>
5879
5880         * BufferView_pimpl.C:
5881         * lyxtext.h:
5882         * rowpainter.C:
5883         * rowpainter.h:
5884         * text.C:
5885         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5886
5887 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * lyxtext.h:
5890         * text.C: take the rtl methods out of line
5891
5892 2003-03-21 André Pönitz <poenitz@gmx.net>
5893
5894         * metricsinfo.[Ch]: new files containing structures to be passed around
5895         during the two-phase-drawing...
5896
5897 2003-03-21 André Pönitz <poenitz@gmx.net>
5898
5899         * lyxtextclass.C: read 'environment' tag.
5900
5901 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5902
5903         * text2.C (removeRow): fix bug 964
5904
5905 2003-03-20  John Levon  <levon@movementarian.org>
5906
5907         * rowpainter.C:
5908         * text.C:
5909         * text2.C: paint cleanups. Inset::update() dropped font
5910         parameter
5911
5912 2003-03-19  John Levon  <levon@movementarian.org>
5913
5914         * lyxfunc.C: only fitcursor/markDirty if available()
5915
5916 2003-03-19  John Levon  <levon@movementarian.org>
5917
5918         * commandtags.h: rename to ...
5919
5920         * lfuns.h: ... this, and renumber / cleanup
5921
5922 2003-03-19  John Levon  <levon@movementarian.org>
5923
5924         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5925         fit the cursor after an lfun
5926
5927         * BufferView.h:
5928         * BufferView.C:
5929         * BufferView_pimpl.h:
5930         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5931
5932         * LyXAction.C: layout-character should have ReadOnly
5933
5934         * ParagraphParameters.C:
5935         * buffer.C:
5936         * bufferview_funcs.C:
5937         * lyx_cb.C:
5938         * lyxfind.C:
5939         * lyxtext.h:
5940         * text.C:
5941         * text2.C:
5942         * text3.C:
5943         * undo_funcs.C: changes from above
5944
5945 2003-03-18  John Levon  <levon@movementarian.org>
5946
5947         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5948         remove it from update()
5949
5950         * lyxfunc.C: update layout choice after an lfun
5951
5952         * text3.C: remove extra updateLayoutChoice()s
5953
5954 2003-03-18  John Levon  <levon@movementarian.org>
5955
5956         * text.C: top_y change means full repaint, fix
5957         a drawing bug with cursor movement
5958
5959 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5960
5961         * lyxtext.h:
5962         * text.C:
5963         * text2.C: anchor row on setCursor
5964
5965 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5966
5967         * lyxtext.h: remove almost all mutable keywords
5968         * text.C:
5969         * text2.C:
5970         * text3.C: remove const keywords accordingly
5971
5972 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5975         anon namespace
5976         (TeXEnvironment): ditto
5977         (TeXOnePar): ditto
5978
5979 2003-03-17  John Levon  <levon@movementarian.org>
5980
5981         * text.C (rowBreakPoint): remove attempt to fix displayed
5982         math insets inside a manual label
5983
5984 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * lyxtext.h: remove BufferView* as first arg from almost all class
5987         functions.
5988         * other files: adjust.
5989
5990 2003-03-17  John Levon  <levon@movementarian.org>
5991
5992         * lyxtext.h:
5993         * undo_funcs.C:
5994         * text2.C: more paint cleanups
5995
5996         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5997
5998         * rowpainter.h:
5999         * rowpainter.C: remove "smart" background painting code
6000
6001 2003-03-16  John Levon  <levon@movementarian.org>
6002
6003         * lyxtext.h:
6004         * text.C:
6005         * text2.C:
6006         * text3.C: add helper functions for setting refresh_row/y
6007
6008 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6009
6010         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6011         newline inset which *can* get inserted in the pass_thru layouts.
6012         This is primarily for literate documents.
6013
6014 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6015
6016         * buffer.C: increment LYX_FORMAT to 223
6017
6018 2003-03-14 André Pönitz <poenitz@gmx.net>
6019
6020         * textclass.h: prepare for environment handling, ws changes
6021         * lyxlayout.C: read latexheader and latexfooter tags
6022
6023 2003-03-14  John Levon  <levon@movementarian.org>
6024
6025         * text2.C: rewrite ::status() a bit
6026
6027 2003-03-13  John Levon  <levon@movementarian.org>
6028
6029         * lyxtext.h: add some docs
6030
6031 2003-03-13  John Levon  <levon@movementarian.org>
6032
6033         * lyxtext.h:
6034         * text.C:
6035         * text2.C:
6036         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6037
6038 2003-03-13  John Levon  <levon@movementarian.org>
6039
6040         * text3.C: fix appendix redrawing
6041
6042 2003-03-13  John Levon  <levon@movementarian.org>
6043
6044         * text.C (setHeightOfRow):
6045         * rowpainter.h:
6046         * rowpainter.C: make appendix mark have the text
6047           "Appendix" so the user knows what it is
6048
6049         * LColor.h:
6050         * LColor.C: s/appendixline/appendix/ from above
6051
6052 2003-03-13  John Levon  <levon@movementarian.org>
6053
6054         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6055
6056         * text.C: fix a getChar(pos) bug properly
6057
6058 2003-03-13  Angus Leeming  <leeming@lyx.org>
6059
6060         * commandtags.h:
6061         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6062         Probably only temporary. Let's see how things pan out.
6063
6064         * BufferView.C (unlockInset):
6065         * BufferView_pimpl.C (fitCursor):
6066         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6067
6068         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6069         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6070
6071         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6072         new functions that convert ParagraphParameters to and from a string.
6073
6074         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6075         BufferView::Pimpl's dispatch.
6076         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6077
6078 2003-03-13 André Pönitz <poenitz@gmx.net>
6079
6080         * lyxfunc.C:
6081         * text3.C:
6082         * factory.C: make it aware of InsetEnv
6083
6084 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * text2.C (setCursor): never ask for one past last
6087         (setCursor): add some debugging messages.
6088
6089         * text.C (singleWidth): never ask for one past last
6090         (singleWidth): ditto
6091         (leftMargin): ditto
6092         (rightMargin): ditto
6093         (rowBreakPoint): ditto
6094         (setHeightOfRow): ditto
6095         (prepareToPrint): ditto
6096
6097         * rowpainter.C (paintBackground): never ask for one past last
6098         (paintText): never ask for one past last
6099
6100         * paragraph_pimpl.C (getChar): make the assert stricter, never
6101         allow the one past last pos to be taken
6102
6103         * paragraph.C (getChar): ws changes only
6104
6105         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6106         (numberOfSeparators): ditto
6107         (numberOfHfills): ditto
6108
6109 2003-03-12  John Levon  <levon@movementarian.org>
6110
6111         * author.h:
6112         * author.C:
6113         * bufferparams.h:
6114         * bufferparams.C:
6115         * paragraph_funcs.C: fix per-buffer authorlists
6116
6117 2003-03-12  John Levon  <levon@movementarian.org>
6118
6119         * text.C: fix newline in right address
6120
6121 2003-03-12  Angus Leeming  <leeming@lyx.org>
6122
6123         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6124         duplicate those in LyXFunc::dispatch.
6125
6126         * commandtags.h:
6127         * LyXAction.C:
6128         * ToolbarDefaults.C:
6129         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6130         Add LFUN_FONTFREE_UPDATE.
6131
6132         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6133         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6134
6135         * bufferview_func.[Ch]: several new functions to facilliate
6136         transfer of data to and from the character dialog.
6137
6138 2003-03-12  John Levon  <levon@movementarian.org>
6139
6140         * buffer.C:
6141         * paragraph.h:
6142         * paragraph.C:
6143         * paragraph_funcs.C:
6144         * paragraph_pimpl.C:
6145         * sgml.C:
6146         * tabular.C:
6147         * text.C:
6148         * text3.C: remove META_NEWLINE in favour of an inset
6149
6150         * rowpainter.h:
6151         * rowpainter.C: remove paintNewline (done by inset)
6152
6153 2003-03-12  John Levon  <levon@movementarian.org>
6154
6155         * paragraph_pimpl.C: complain about bad getChar()s
6156         for a while at least
6157
6158 2003-03-12  John Levon  <levon@movementarian.org>
6159
6160         * buffer.h:
6161         * buffer.C: move paragraph read into a separate function,
6162         a little renaming to reflect that.
6163
6164         * bufferparams.h:
6165         * bufferparams.C: remove the author_ids map, not necessary now
6166
6167         * factory.h:
6168         * factory.C: moved Buffer::readInset to here
6169
6170         * paragraph_funcs.h:
6171         * paragraph_funcs.C: readParagraph free function moved from
6172         buffer.C
6173
6174         * tabular.C: name change
6175
6176 2003-03-12  John Levon  <levon@movementarian.org>
6177
6178         * buffer.C:
6179         * ParagraphParameters.C: move par params input to
6180         a read() method
6181
6182         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6183         behave like a normal read from the stream wrt reading
6184         a line vs. a \\token
6185
6186 2003-03-12  John Levon  <levon@movementarian.org>
6187
6188         * paragraph.C:
6189         * ParagraphParameters.h:
6190         * ParagraphParameters.C: move output code to a
6191         ::write() method
6192
6193 2003-03-12  John Levon  <levon@movementarian.org>
6194
6195         * BufferView.C (insertLyXFile):
6196         * buffer.h:
6197         * buffer.C:
6198         * tabular.C: use a parlist iterator for creating the
6199           document.
6200
6201 2003-03-12  John Levon  <levon@movementarian.org>
6202
6203         * buffer.C: make current_change static local not
6204           static file-scope
6205
6206 2003-03-12  John Levon  <levon@movementarian.org>
6207
6208         * buffer.C: fix insertStringAsLines for change tracking
6209
6210 2003-03-12  John Levon  <levon@movementarian.org>
6211
6212         * BufferView.C:
6213         * tabular.C:
6214         * buffer.h:
6215         * buffer.C:
6216         * bufferparams.h:
6217         * bufferparams.C: move author list into params. Rename some
6218           functions. Move the header reading into a separate token
6219           loop. Move the header token reading into BufferParams.
6220
6221 2003-03-12  John Levon  <levon@movementarian.org>
6222
6223         * changes.C: put debug inside lyxerr.debugging() checks
6224
6225 2003-03-11 André Pönitz <poenitz@gmx.net>
6226
6227         * factory.C: make it aware of InsetHFill
6228
6229 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6230
6231         * buffer.C (latexParagraphs): move function from here...
6232         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6233         args.
6234
6235 2003-03-10  Angus Leeming  <leeming@lyx.org>
6236
6237         * LyXAction.C (init): fix bug in poplating array with multiple entries
6238         with the same LFUN (spotted by JMarc).
6239
6240 2003-03-10  John Levon  <levon@movementarian.org>
6241
6242         * text.C:
6243         * text2.C: move getColumnNearX() near its
6244         only call site
6245
6246 2003-03-10  John Levon  <levon@movementarian.org>
6247
6248         * text.C: fix break before a minipage
6249
6250 2003-03-10  John Levon  <levon@movementarian.org>
6251
6252         * text.C: fix the last commit
6253
6254 2003-03-09  John Levon  <levon@movementarian.org>
6255
6256         * lyxtext.h:
6257         * text.C:
6258         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6259         bug 365 (don't break before insets unless needed). Don't
6260         return a value > last under any circumstances.
6261
6262 2003-03-09  Angus Leeming  <leeming@lyx.org>
6263
6264         * BufferView_pimpl.C (trackChanges, dispatch): call
6265         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6266
6267 2003-03-09  Angus Leeming  <leeming@lyx.org>
6268
6269         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6270         than Dialogs::showAboutlyx().
6271
6272 2003-03-09  Angus Leeming  <leeming@lyx.org>
6273
6274         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6275         than Dialogs::showTabularCreate().
6276
6277 2003-03-09  John Levon  <levon@movementarian.org>
6278
6279         * lyxtext.h:
6280         * text.C:
6281         * text2.C: 3rd arg to nextBreakPoint was always the same.
6282           Use references.
6283
6284 2003-03-08  John Levon  <levon@movementarian.org>
6285
6286         * lyxrow.C:
6287         * paragraph.C:
6288         * paragraph.h:
6289         * rowpainter.C:
6290         * text.C:
6291         * text2.C: Remove the "main" bit from the "main body"
6292           notion.
6293
6294 2003-03-08  John Levon  <levon@movementarian.org>
6295
6296         * text.C (leftMargin): The left margin of an empty
6297         manual label paragraph should not include the label width
6298         string length.
6299
6300         * text.C (prepareToPrint): don't attempt to measure hfills
6301         for empty manual label paragraphs - the answer should be 0
6302
6303 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * CutAndPaste.C: remove commented code and reindent.
6306
6307 2003-03-08  John Levon  <levon@movementarian.org>
6308
6309         * lyxfunc.h:
6310         * lyxfunc.C: move reloadBuffer()
6311
6312         * BufferView.h:
6313         * BufferView.C: to here
6314
6315         * lyxvc.C: add comment
6316
6317         * vc-backend.h:
6318         * vc-backend.C: call bv->reload() to avoid
6319           getStatus() check on MENURELOAD
6320
6321 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6322
6323         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6324         to an old format .dep file.
6325
6326 2003-03-07  Angus Leeming  <leeming@lyx.org>
6327
6328         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6329         when the LFUN_MOUSE_RELEASE should have been handled by
6330         inset->localDispatch.
6331
6332 2003-03-07  Angus Leeming  <leeming@lyx.org>
6333
6334         * BufferView_pimpl.C (dispatch):
6335         * LyXAction.C (init):
6336         * ToolbarDefaults.C (init):
6337         * commandtags.h:
6338         * lyxfunc.C (getStatus):
6339         remove LFUN_INSET_GRAPHICS.
6340
6341         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6342
6343 2003-03-07  Angus Leeming  <leeming@lyx.org>
6344
6345         * commandtags.h:
6346         * LyXAction.C (init):
6347         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6348
6349         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6350
6351         * commandtags.h:
6352         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6353
6354         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6355         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6356
6357 2003-03-07  Angus Leeming  <leeming@lyx.org>
6358
6359         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6360         remove "ert".
6361
6362 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6363
6364         * ParagraphList.C (front): new function
6365         (back): implement
6366
6367 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6368
6369         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6370         and top_row_offset_. removed var first_y.
6371         * text.C (top_y):
6372         * text2.C (LyXText, removeRow):
6373         * text3.C:
6374         * BufferView_pimpl.C:
6375         use these methods instead of using first_y
6376
6377 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * text2.C (pasteSelection): adjust for checkPastePossible
6380
6381         * CutAndPaste.C: remove Paragraph * buf and replace with
6382         ParagraphList paragraphs.
6383         (DeleteBuffer): delete
6384         (cutSelection): change the tc type to textclass_type
6385         (copySelection): change the tc type to textclass_type
6386         (copySelection): adjust for ParagraphList
6387         (pasteSelection): change the tc type to textclass_type
6388         (pasteSelection): adjust for Paragraphlist
6389         (nrOfParagraphs): simplify for ParagraphList
6390         (checkPastePossible): simplify for ParagraphList
6391         (checkPastePossible): remove unused arg
6392
6393         * ParagraphList.C (insert): handle the case where there are no
6394         paragraphs yet.
6395
6396         * CutAndPaste.h: make CutAndPaste a namespace.
6397
6398         * text3.C (dispatch): adjust
6399
6400         * text.C (breakParagraph): add a ParagraphList as arg
6401
6402         * paragraph_funcs.C (breakParagraph): change to take a
6403         BufferParams and a ParagraphList as args.
6404         (breakParagraphConservative): ditto
6405         (mergeParagraph): ditto
6406         (TeXDeeper): add a ParagraphList arg
6407         (TeXEnvironment): ditto
6408         (TeXOnePar): ditto
6409
6410         * buffer.C (readLyXformat2): adjust
6411         (insertStringAsLines): adjust
6412         (latexParagraphs): adjust
6413
6414         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6415         (cutSelection): adjust
6416         (pasteSelection): adjust
6417
6418         * BufferView_pimpl.C (insertInset): adjust
6419
6420 2003-03-05  Angus Leeming  <leeming@lyx.org>
6421
6422         * commandtags.h:
6423         * LyXAction.C (init):
6424         * BufferView_pimpl.C (dispatch):
6425         * lyxfunc.C (getStatus):
6426         remove LFUN_CHILD_INSERT.
6427
6428         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6429
6430 2003-03-05  Angus Leeming  <leeming@lyx.org>
6431
6432         * commandtags.h:
6433         * LyXAction.C (init):
6434         * src/factory.C (createInset):
6435         * lyxfunc.C (getStatus):
6436         * text3.C (dispatch):
6437         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6438
6439         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6440
6441 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * ParagraphList.C (insert): handle insert right before end()
6444         (erase): fix cases where it can be first or last paragraph.
6445
6446 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6449         Paragraph::next and Paragraph::previous
6450         (TeXOnePar): ditto
6451
6452         * text.C (breakParagraph): adjust
6453
6454         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6455         BufferParams& as arg.
6456         (breakParagraph): use ParagraphList::insert
6457         (breakParagraphConservative): take a Buffer* instead of a
6458         BufferParams& as arg.
6459         (breakParagraphConservative): use ParagraphList::insert.
6460
6461         * buffer.C (insertStringAsLines): un-const it
6462         (insertStringAsLines): adjust
6463
6464         * ParagraphList.C (insert): new function
6465
6466         * CutAndPaste.C (pasteSelection): adjust
6467
6468         * text.C (backspace): adjust
6469
6470         * tabular.C (SetMultiColumn): adjust
6471
6472         * CutAndPaste.C (cutSelection): adjust
6473         (pasteSelection): adjust
6474
6475         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6476         Buffer const * as arg
6477
6478         * ParagraphList.C (erase): new function
6479         * paragraph_funcs.C (mergeParagraph): use it
6480         (mergeParagraph): make it take a Buffer* instead of a
6481         BufferParams* as arg
6482
6483         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6484         as arg
6485         (breakParagraphConservative): ditto
6486
6487         * paragraph.h: remove the breakParagraph friend
6488
6489         * paragraph.C (eraseIntern): new function
6490         (setChange): new function
6491
6492         * paragraph_funcs.C (mergeParagraph): make it take a
6493         ParagraphList::iterator instead of a Paragraph *, adjust
6494         accordingly.
6495
6496         * paragraph.h: move an #endif so that the change tracking stuff
6497         also works in the NO_NEXT case.
6498
6499 2003-03-04  Angus Leeming  <leeming@lyx.org>
6500
6501         * commandtags.h:
6502         * LyXAction.C: new LFUN_INSET_MODIFY.
6503
6504         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6505         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6506
6507 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * several files: ws changes only
6510
6511         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6512         (TeXEnvironment): ditto
6513         (TeXDeeper): ditto
6514
6515         * buffer.C (makeLaTeXFile): adjust
6516         (latexParagraphs): make it take ParagraphList::iterator as args
6517
6518 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * buffer.C (latexParagraphs): adjust
6521
6522         * paragraph.C (TeXOnePar): move function...
6523         (optArgInset): move function...
6524         (TeXEnvironment): move function...
6525         * paragraph_pimpl.C (TeXDeeper): move function...
6526         * paragraph_funcs.C: ...here
6527
6528         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6529
6530 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * buffer.C (readInset): remove compability code for old Figure and
6533         InsetInfo insets
6534
6535 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * buffer.C: ws changes
6538         (readInset):
6539
6540         * BufferView_pimpl.C: ditto
6541         * author.C: ditto
6542         * buffer.h: ditto
6543         * bufferlist.h: ditto
6544         * changes.h: ditto
6545         * lyxfunc.C: ditto
6546
6547 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6548
6549         * converter.[Ch]: split into itself +
6550         * graph.[Ch]
6551         * format.[Ch]
6552         * Makefile.am: += graph.[Ch] + format.[Ch]
6553         * MenuBackend.C
6554         * buffer.C
6555         * exporter.C
6556         * importer.C
6557         * lyx_main.C
6558         * lyxfunc.C
6559         * lyxrc.C: added #include "format.h"
6560
6561 2003-02-27  Angus Leeming  <leeming@lyx.org>
6562
6563         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6564           a label.
6565
6566         * factory.C (createInset): add "label" to the factory.
6567
6568         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6569           string and do no more.
6570
6571 2003-02-27  Angus Leeming  <leeming@lyx.org>
6572
6573         * commandtags.h:
6574         * LyXAction.C (init):
6575         * factory.C (createInset):
6576         * BufferView_pimpl.C (dispatch):
6577           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6578
6579         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6580
6581         * lyxfunc.C (dispatch):
6582         * text3.C (dispatch): pass name to params2string.
6583
6584 2003-02-26  Angus Leeming  <leeming@lyx.org>
6585
6586         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6587           blocks together.
6588           Rearrange the ~includes. Strip out the unnecessary ones.
6589
6590         * factory.C (createInset): reformat.
6591           create new insets for the various LFUN_XYZ_APPLY lfuns.
6592
6593 2003-02-26  John Levon  <levon@movementarian.org>
6594
6595         * lyxrow.h:
6596         * lyxrow.C: add isParStart,isParEnd helpers
6597
6598         * paragraph.h: make isInserted/DeletedText take refs
6599
6600         * paragraph_funcs.h:
6601         * paragraph_funcs.C: remove #if 0'd code
6602
6603         * lyxtext.h:
6604         * text3.C:
6605         * text2.C:
6606         * text.C: use lyxrow helpers above.
6607           Move draw and paint routines to RowPainter.
6608           Make several methods use refs not pointers.
6609           Make backgroundColor() const.
6610           Add markChangeInDraw(), isInInset().
6611           Merge changeRegionCase into changeCase.
6612           Make workWidth() shouldn't-happen code into an Assert.
6613
6614         * rowpainter.h:
6615         * rowpainter.C: new class for painting a row.
6616
6617         * vspace.h:
6618         * vspace.C: make inPixels take a ref
6619
6620 2003-02-26  Angus Leeming  <leeming@lyx.org>
6621
6622         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6623         LFUN_REF_APPLY.
6624
6625 2003-02-25  John Levon  <levon@movementarian.org>
6626
6627         * ispell.C: give the forked command a more accurate name
6628
6629 2003-02-22  John Levon  <levon@movementarian.org>
6630
6631         * toc.h:
6632         * toc.C: make TocItem store an id not a Paragraph *
6633           (bug #913)
6634
6635 2003-02-21  Angus Leeming  <leeming@lyx.org>
6636
6637         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6638           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6639           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6640           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6641           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6642           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6643
6644         * BufferView_pimpl.C (dispatch):
6645         * LyXAction.C (init):
6646         * factory.C (createInset):
6647         * lyxfunc.C (getStatus, dispatch):
6648         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6649
6650 2003-02-21  Angus Leeming  <leeming@lyx.org>
6651
6652         * BufferView_pimpl.C (MenuInsertLyXFile):
6653         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6654         * lyxfunc.C (menuNew, open, doImport):
6655           no longer pass a LyXView & to fileDlg.
6656
6657 2003-02-21  Angus Leeming  <leeming@lyx.org>
6658
6659         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6660         * LyXAction.C: change, BIBKEY to BIBITEM.
6661         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6662         Change InsetBibKey to InsetBibitem.
6663         Change BIBKEY_CODE to BIBITEM_CODE.
6664         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6665         * factory.C: replace insetbib.h with insetbibitem.h.
6666         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6667         * paragraph.C: replace insetbib.h with insetbibitem.h.
6668         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6669         Change bibkey() to bibitem().
6670         * text.C: remove insetbib.h.
6671         * text2.C: replace insetbib.h with insetbibitem.h.
6672         change bibkey() to bibitem().
6673         * text3.C: remove insetbib.h.
6674         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6675
6676 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6677
6678         * lyxrc.C (output): enclose user email in quotes (in case there are
6679         several words)
6680
6681 2003-02-18  John Levon  <levon@movementarian.org>
6682
6683         * buffer.h: add std::
6684
6685 2003-02-17  John Levon  <levon@movementarian.org>
6686
6687         * SpellBase.h:
6688         * ispell.h:
6689         * ispell.C:
6690         * pspell.h:
6691         * pspell.C: reworking. Especially in ispell, a large
6692           number of clean ups and bug fixes.
6693
6694         * lyxfunc.C: fix revert to behave sensibly
6695
6696 2003-02-17 André Pönitz <poenitz@gmx.net>
6697
6698         * LyXAction.C:
6699         * commandtags.h: new LFUN_INSERT_BIBKEY
6700
6701         * layout.h:
6702         * lyxlayout.C:
6703         * buffer.C:
6704         * factory.C:
6705         * text.C:
6706         * text2.C:
6707         * text3.C:
6708         * paragraph.[Ch]:
6709         * paragraph_func.C: remove special bibkey handling
6710
6711 2003-02-17  John Levon  <levon@movementarian.org>
6712
6713         * text.C (Delete): fix case where delete at the end of
6714           the very first paragraph would not merge the pars
6715
6716 2003-02-17  John Levon  <levon@movementarian.org>
6717
6718         * lyxrow.C: fix lastPrintablePos()
6719
6720 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6721
6722         * bufferparams.C (writeLaTeX): add a std:here
6723
6724         * buffer.C: and remove a using directive there
6725
6726 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6727
6728         * buffer.C (makeLaTeXFile): move the code that generates the
6729           preamble...
6730
6731         * bufferparams.C (writeLaTeX): ... in this new method
6732
6733         * LaTeXFeatures.C (getEncodingSet): make const
6734           (getLanguages): make const
6735
6736         * MenuBackend.C (binding): returns the binding associated to this
6737           action
6738           (add): sets the status of each item by calling getStatus. Adds
6739           some intelligence.
6740           (read): add support for OptSubMenu
6741           (expand): remove extra separator at the end of expanded menu
6742
6743 2003-02-15  John Levon  <levon@movementarian.org>
6744
6745         * BufferView.C:
6746         * BufferView_pimpl.C:
6747         * bufferlist.h:
6748         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6749           inset code that had no actual effect. Remove unneeded status
6750           code.
6751
6752 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6753
6754         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6755           in preamble
6756
6757 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6758
6759         * text.C (drawLengthMarker): also draw an arrow marker for
6760           symbolic lengths (medskip...)
6761
6762 2003-02-14  John Levon  <levon@movementarian.org>
6763
6764         * tabular.h:
6765         * tabular.C: better method names
6766
6767 2003-02-14  John Levon  <levon@movementarian.org>
6768
6769         * BufferView_pimpl.C:
6770         * bufferlist.C:
6771         * buffer.C:
6772         * converter.C:
6773         * lyx_cb.C:
6774         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6775           it's a more accurate name. Remove some pointless uses.
6776
6777 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6778
6779         * text2.C (LyXText): change order of initilizers to shut off
6780           warnings
6781
6782 2003-02-14  John Levon  <levon@movementarian.org>
6783
6784         * buffer.C: use ParIterator for getParFromID()
6785
6786         * paragraph.h:
6787         * paragraph.C:
6788         * paragraph_pimpl.h:
6789         * paragraph_pimpl.C: remove unused getParFromID()
6790
6791 2003-02-14  John Levon  <levon@movementarian.org>
6792
6793         * buffer.C: remove some very old #if 0'd parse code
6794
6795 2003-02-13  John Levon  <levon@movementarian.org>
6796
6797         * text.h:
6798         * text.C:
6799         * text2.C: move hfillExpansion(), numberOfSeparators(),
6800           rowLast(), rowLastPrintable(), numberofHfills(),
6801           numberOfLabelHfills() ...
6802
6803         * lyxrow.h:
6804         * lyxrow.C: ... to member functions here.
6805
6806         * paragraph.h:
6807         * paragraph.C:
6808         * lyxtext.h:
6809         * text.C: remove LyXText::beginningOfMainBody(), and call
6810           p->beginningOfMainBody() directly. Move the check for
6811           LABEL_MANUAL into the latter.
6812
6813         * text.h:
6814         * text.C:
6815         * text2.C:
6816         * vspace.C:
6817         * BufferView.h:
6818         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6819
6820         * text.h:
6821         * text.C:
6822         * text2.C:
6823         * text3.C:
6824         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6825           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6826
6827 2003-02-13  John Levon  <levon@movementarian.org>
6828
6829         * CutAndPaste.C: remove debug
6830
6831 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6832
6833         * paragraph.C (asString): remove two unused variables
6834
6835         * lyxtextclass.C (readTitleType):
6836           (Read):
6837           (LyXTextClass): handle new members titletype_ and titlename_
6838
6839         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6840
6841 2003-02-09  John Levon  <levon@movementarian.org>
6842
6843         * buffer.h:
6844         * buffer.C: replace hand-coded list with a map for the dep clean
6845
6846 2003-02-08  John Levon  <levon@movementarian.org>
6847
6848         * LaTeX.C: consolidate code into showRunMessage() helper
6849
6850 2003-02-08  John Levon  <levon@movementarian.org>
6851
6852         * lyxfind.C:
6853         * lyxtext.h:
6854         * text2.C:
6855         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6856           and pass the size in explicitly
6857
6858         * BufferView_pimpl.h:
6859         * BufferView_pimpl.C:
6860         * BufferView.h:
6861         * BufferView.C: add getCurrentChange()
6862
6863         * BufferView_pimpl.h:
6864         * BufferView_pimpl.C: handle change lfuns
6865
6866         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6867           for changes. Mark pasted paragraphs as new.
6868
6869         * support/lyxtime.h:
6870         * support/lyxtime.C:
6871         * DepTable.C: abstract time_t as lyx::time_type
6872
6873         * LColor.h:
6874         * LColor.C: add colours for new text, deleted text, changebars
6875
6876         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6877           package use "usenames" option.
6878
6879         * commandtags.h:
6880         * lyxfunc.C:
6881         * LyXAction.C: add change lfuns
6882
6883         * Makefile.am:
6884         * author.h:
6885         * author.C: author handling
6886
6887         * buffer.h:
6888         * buffer.C: add a per-buffer author list, with first entry as
6889           current author. Handle new .lyx tokens for change tracking. Output
6890           author list to .lyx file. Output dvipost stuff to .tex preamble.
6891           Bump lyx format to 222.
6892
6893         * bufferlist.h:
6894         * bufferlist.C: add setCurrentAuthor() to reset current author details
6895           in all buffers.
6896
6897         * bufferparams.h:
6898         * bufferparams.C: add param for tracking
6899
6900         * bufferview_funcs.C: output change info in minibuffer
6901
6902         * Makefile.am:
6903         * changes.h:
6904         * changes.C: add change-tracking structure
6905
6906         * debug.h:
6907         * debug.C: add CHANGES debug flag
6908
6909         * lyxfind.h:
6910         * lyxfind.C: add code for finding the next change piece
6911
6912         * lyxrc.h:
6913         * lyxrc.C: add user_name and user_email
6914
6915         * lyxrow.h:
6916         * lyxrow.C: add a metric for the top of the text line
6917
6918         * lyxtext.h:
6919         * text.C: implement accept/rejectChange()
6920
6921         * lyxtext.h:
6922         * text.C: paint changebars. Paint new/deleted text in the chosen
6923         colours. Strike through deleted text.
6924
6925         * paragraph.h:
6926         * paragraph.C:
6927         * paragraph_pimpl.h:
6928         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6929           in the current change to the insert functions. Rework erase to
6930           mark text as deleted, adding an eraseIntern() and a range-based
6931           erase(). Implement per-paragraph change lookup and
6932           accept/reject.
6933
6934         * paragraph_funcs.C: Fixup paste for change tracking.
6935
6936         * tabular.C: mark added row/columns as new.
6937
6938         * text.C: fix rowLast() to never return -1. Don't allow
6939           spellchecking of deleted text. Track transpose changes. Don't
6940           allow paragraph break or merge where appropriate.
6941
6942         * text2.C: leave cursor at end of selection after a cut.
6943
6944 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6945
6946         * text.C (getLengthMarkerHeight):
6947         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6948         visible on screen too.
6949
6950 2003-02-07  John Levon  <levon@movementarian.org>
6951
6952         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6953
6954 2003-02-05  Angus Leeming  <leeming@lyx.org>
6955
6956         * lyxserver.C (read_ready): revert my patch of 11 September last year
6957         as it sends PC cpu through the roof. Presumably this means that
6958         the lyxserver will no longer run on an Alpha...
6959
6960 2003-01-30  Angus Leeming  <leeming@lyx.org>
6961
6962         * factory.C (createInset): create an InsetCommandParam of type "index"
6963         and use it to 'do the right thing'.
6964
6965         * text2.C (getStringToIndex): ensure that cursor position is always
6966         reset to the reset_cursor position.
6967
6968 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6969
6970         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6971         disabled.
6972
6973 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6974
6975         * bufferview.C:
6976         * lyxcb.C:
6977         * lyxfunc.C: Output messages with identical spelling, punctuation,
6978         and spaces
6979
6980 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6981
6982         * MenuBackend.C (expandFormats): List only viewable export formats
6983         in "View" menu
6984
6985         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6986         message
6987
6988         * lyxfunc.C (getStatus): Make sure that formats other than
6989         "fax" can also be disabled
6990
6991 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6992
6993         * text3.C (dispatch): put the lfuns that insert insets in 3
6994         groups, and call doInsertInset with appropriate arguments.
6995         (doInsertInset): new function, that creates an inset and inserts
6996         it according to some boolean parameters.
6997
6998 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * buffer.C (readFile): remember to pass on 'par' when calling
7001         readFile recursively.
7002
7003 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7004
7005         * MenuBackend.C (expandFormats): add "..." to import formats.
7006
7007 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7008
7009         * paragraph.C (asString): Remove XForms RTL hacks.
7010
7011 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7012         * buffer.C: fix typo
7013
7014 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * Makefile.am (LIBS): delete var
7017         (lyx_LDADD): add @LIBS@ here instead.
7018
7019 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7020
7021         * Clarify the meaning of "wheel mouse jump"
7022
7023 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7024
7025         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7026         tabular in a float
7027
7028 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7029
7030         * importer.C (Loaders): do not preallocate 3 elements in the
7031         vector, since one ends up with 6 elements otherwise
7032
7033 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7034
7035         * DepTable.C (write): write the file name as last element of the
7036         .dep file (because it may contain spaces)
7037         (read): read info in the right order
7038
7039 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7040
7041         * paragraph_pimpl.C (simpleTeXBlanks):
7042         (simpleTeXSpecialChars):
7043         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7044
7045         * tabular.C (latex): add some missing case statements. Reindent.
7046
7047         * MenuBackend.C (expandToc): remove unused variable.
7048
7049 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7050
7051         * LColor.C:
7052         * LaTeX.C:
7053         * LyXAction.C:
7054         * MenuBackend.C:
7055         * buffer.C:
7056         * exporter.C:
7057         * lyxfunc.C:
7058         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7059         and the like.
7060
7061 2003-01-05  John Levon  <levon@movementarian.org>
7062
7063         * BufferView.h:
7064         * BufferView.C: add getEncoding()
7065
7066         * kbsequence.h:
7067         * kbsequence.C: do not store last keypress
7068
7069         * lyxfunc.h:
7070         * lyxfunc.C: store last keypress here instead. Pass encoding
7071           to getISOEncoded()
7072
7073 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7074
7075         * lyx_main.C (init): remove annoying error message when following
7076         symbolic links (bug #780)
7077
7078 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7079
7080         * text.C (insertChar):
7081         * lyxrc.C (getDescription): remove extra spaces
7082
7083 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7084
7085         * lyxrc.C (getDescription): remove extra spaces
7086
7087 2002-12-20  John Levon  <levon@movementarian.org>
7088
7089         * text3.C: hack fix for page up/down across tall rows
7090
7091 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7092
7093         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7094         not been invoked
7095
7096 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7097
7098         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7099         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7100         thesaurus is not compiled in
7101
7102 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7103
7104         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7105
7106 2002-12-16  Angus Leeming  <leeming@lyx.org>
7107
7108         * lyxrc.[Ch]:
7109         * lyx_main.C (init): remove override_x_deadkeys stuff.
7110
7111 2002-12-12  John Levon  <levon@movementarian.org>
7112
7113         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7114           insert. Only remove shift modifier under strict
7115           circumstances.
7116
7117 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * MenuBackend.C (expandToc): fix crash.
7120
7121 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * MenuBackend.C (expandToc): gettext on float names.
7124
7125 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7126
7127         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7128         implement bool empty() [bug 490]
7129
7130 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7131
7132         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7133
7134 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * several files: ws changes
7137
7138 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * text2.C (setCounter): clean up a bit, use boost.format.
7141         (updateCounters): initialize par upon declaration.
7142
7143         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7144         if the layout exists. We do not just store the layout any more.
7145         (SwitchLayoutsBetweenClasses): use boost.format
7146
7147 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7148
7149         * converter.C (convert): if from and to files are the same, use a
7150         temporary files as intermediary
7151
7152 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7153
7154         * commandtags.h:
7155         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7156
7157 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7158
7159         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7160
7161 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * tabular.C (asciiPrintCell): use string(size, char) instead of
7164         explicit loop.
7165
7166         * sgml.C (openTag): fix order of arguments to string constructor
7167         (closeTag): ditto
7168
7169         * lyxfunc.C (dispatch): use boost.format
7170
7171         * lots of files: change "c" -> 'c'
7172
7173 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7174
7175         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7176
7177 2002-11-25  Angus Leeming  <leeming@lyx.org>
7178
7179         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7180
7181         * lyx_main.C (init): compile fix.
7182
7183 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * lyx_cb.C (start): boost.formatify
7186         do not include <iostream>
7187
7188         * lengthcommon.C: ws only
7189
7190         * boost-inst.C,BoostFormat.h: add more explict instantations
7191
7192 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7193
7194         * lots of files: handle USE_BOOST_FORMAT
7195
7196 2002-11-21  John Levon  <levon@movementarian.org>
7197
7198         * pspell.C: fix compile
7199
7200 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7201
7202         * lyxfunc.C (dispatch): use boost::format
7203         (open): ditto
7204         (doImport): ditto
7205
7206         * lyxfont.C (stateText): use boost::format
7207
7208         * lyx_main.C (LyX): use boost::format
7209         (init): ditto
7210         (queryUserLyXDir): ditto
7211         (readRcFile): ditto
7212         (parse_dbg): ditto
7213         (typedef boost::function): use the recommened syntax.
7214
7215         * importer.C (Import): use boost::format
7216
7217         * debug.C (showLevel): use boost::format
7218
7219         * converter.C (view): use boost::format
7220         (convert): ditto
7221         (move): ditto
7222         (scanLog): ditto
7223
7224         * bufferview_funcs.C (currentState): use boost::format
7225
7226         * bufferlist.C (emergencyWrite): use boost::format
7227
7228         * buffer.C (readLyXformat2): use boost::format
7229         (parseSingleLyXformat2Token): ditto
7230
7231         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7232
7233         * LaTeX.C (run): use boost::format
7234
7235         * Chktex.C (scanLogFile): use boost::format
7236
7237         * BufferView_pimpl.C (savePosition): use boost::format
7238         (restorePosition): ditto
7239         (MenuInsertLyXFile): ditto
7240
7241         * BoostFormat.h: help file for explicit instation.
7242
7243 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7244
7245         * tabular.C (latex): Support for block alignment in fixed width
7246         columns.
7247
7248 2002-11-17  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C:
7251         * lyx_cb.C:
7252         * lyxfunc.C: split filedialog into open/save
7253
7254 2002-11-08  Juergen Vigna  <jug@sad.it>
7255
7256         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7257         by my last patch (hopefully).
7258
7259 2002-11-08  John Levon  <levon@movementarian.org>
7260
7261         * iterators.h:
7262         * iterators.C:
7263         * buffer.h:
7264         * buffer.C:
7265         * paragraph.h:
7266         * paragraph.C:
7267         * toc.h:
7268         * toc.C: ParConstIterator, and use it (from Lars)
7269
7270 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7271
7272         * lyxtextclass.[Ch]: revise and add doxygen comments
7273
7274 2002-11-07  John Levon  <levon@movementarian.org>
7275
7276         * text.C: fix progress value for spellchecker
7277
7278         * toc.C: fix navigate menu for insetwrap inside minipage
7279
7280         * paragraph_funcs.C: added FIXME for suspect code
7281
7282 2002-11-07  John Levon  <levon@movementarian.org>
7283
7284         * BufferView_pimpl.C: fix redrawing of insets
7285           on buffer switch
7286
7287 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7288
7289         * text2.C (updateCounters): fix bug 668
7290
7291 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7292
7293         * text3.C (dispatch): Do not make the buffer dirty when moving the
7294         cursor.
7295
7296 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * vc-backend.C: STRCONV
7299         (scanMaster): ditto
7300
7301         * text2.C (setCounter): STRCONV
7302
7303         * paragraph.C (asString): STRCONV
7304
7305         * lyxlength.C (asString): STRCONV
7306         (asLatexString): ditto
7307
7308         * lyxgluelength.C (asString): STRCONV
7309         (asLatexString): ditto
7310
7311         * lyxfunc.C (dispatch): STRCONV
7312         (open): ditto
7313
7314         * lyxfont.C (stateText): STRCONV
7315
7316         * importer.C (Import): STRCONV
7317
7318         * counters.C (labelItem): STRCONV
7319         (numberLabel): ditto
7320         (numberLabel): remove unused ostringstream o
7321
7322         * chset.C: STRCONV
7323         (loadFile): ditto
7324
7325         * bufferview_funcs.C (currentState): STRCONV
7326
7327         * buffer.C (readFile): STRCONV
7328         (asciiParagraph): ditto
7329         (makeLaTeXFile): ditto
7330
7331         * Spacing.C (writeEnvirBegin): STRCONV
7332
7333         * LaTeXFeatures.C (getLanguages): STRCONV
7334         (getPackages): ditto
7335         (getMacros): ditto
7336         (getBabelOptions): ditto
7337         (getTClassPreamble): ditto
7338         (getLyXSGMLEntities): ditto
7339         (getIncludedFiles): ditto
7340
7341         * LaTeX.C: STRCONV
7342         (run): ditto
7343         (scanAuxFile): ditto
7344         (deplog): ditto
7345
7346         * LString.h: add the STRCONV macros
7347
7348         * BufferView_pimpl.C (savePosition): STRCONV
7349         (restorePosition): ditto
7350         (MenuInsertLyXFile): ditto
7351
7352         * vc-backend.C (scanMaster): change from submatch[...] to
7353         submatch.str(...)
7354
7355         * funcrequest.C: include config.h
7356
7357         * factory.C: include config.h
7358
7359         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7360
7361         * box.C: include config.h
7362
7363         * LaTeX.C (scanAuxFile): change from submatch[...] to
7364         submatch.str(...)
7365         (deplog): ditto
7366
7367 2002-10-25  Angus Leeming  <leeming@lyx.org>
7368
7369         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7370
7371         * ispell.[Ch] (setError): new method.
7372         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7373         Use setError() insetead of goto END.
7374
7375         * lyx_cb.C (AutoSave): move out child process into new class
7376         AutoSaveBuffer.
7377
7378 2002-10-30  John Levon  <levon@movementarian.org>
7379
7380         * text3.C: make start appendix undoable
7381
7382 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7383
7384         * lyxlength.C (inPixels): Fix returned value.
7385
7386         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7387         environment.
7388
7389 2002-10-24  Angus Leeming  <leeming@lyx.org>
7390
7391         * lyxgluelength.h: no need to forward declare BufferParams
7392         or BufferView, so don't.
7393
7394 2002-10-21  John Levon  <levon@movementarian.org>
7395
7396         * BufferView.C: menuUndo ->undo, redo
7397
7398         * BufferView.h: document, remove dead, make some methods private
7399
7400         * paragraph_funcs.h:
7401         * paragraph_funcs.C:
7402         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7403
7404         * buffer.h:
7405         * buffer.C:
7406         * sgml.h:
7407         * sgml.C: move sgml open/close tag into sgml.C
7408
7409         * bufferview_funcs.h: unused prototype
7410
7411         * lyxfunc.h:
7412         * lyxfunc.C: remove unused
7413
7414         * lyxtext.h:
7415         * text.C: remove unused
7416
7417 2002-10-21  John Levon  <levon@movementarian.org>
7418
7419         * BufferView.h:
7420         * BufferView.C:
7421         * BufferView_pimpl.h:
7422         * BufferView_pimpl.C: fix mouse wheel handling based on
7423           patch from Darren Freeman
7424
7425 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7426
7427         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7428
7429 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7430
7431         * lyxlength.C (inPixels): Fix hanfling of negative length.
7432         Fix LyXLength::MU case.
7433
7434 2002-10-16  John Levon  <levon@movementarian.org>
7435
7436         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7437
7438 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7439
7440         * converter.C (view): add support for $$i (file name) and $$p
7441         (file path) for the viewer command. If $$i is not specified, then
7442         it is appended to the command (for compatibility with old syntax)
7443
7444 2002-10-14  Juergen Vigna  <jug@sad.it>
7445
7446         * undo_funcs.C (textHandleUndo): alter the order in which the
7447         new undopar is added to the LyXText, as we have to set first
7448         the right prev/next and then add it as otherwise the rebuild of
7449         LyXText is not correct. Also reset the cursor to the right paragraph,
7450         with this IMO we could remove the hack in "redoParagraphs()".
7451
7452 2002-10-09  Angus Leeming  <leeming@lyx.org>
7453
7454         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7455         to turn off an optimisation if a new inset is to be inserted.
7456
7457 2002-10-11 André Pönitz <poenitz@gmx.net>
7458
7459         * lyxtext.h: make some functions public to allow access
7460         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7461
7462 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7463
7464         * text3.C (dispatch): when changing layout, avoid an infinite loop
7465         [bug #652]
7466
7467 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7468
7469         * lyxrc.C (read): treat a viewer or converter command of "none" as
7470         if it were empty.
7471
7472         * MenuBackend.C (expandFormats): for an update, also allow the
7473         formats that are not viewable
7474
7475         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7476         script if it is newer than the lyxrc.defaults in user directory
7477
7478 2002-10-07 André Pönitz <poenitz@gmx.net>
7479
7480         * text.C: Vitaly Lipatov's small i18n fix
7481
7482 2002-09-25  Angus Leeming  <leeming@lyx.org>
7483
7484         * ispell.h: doxygen fix.
7485
7486 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7487
7488         * buffer.h (readFile): Add a new argument to the method, to allow
7489         reading of old-format templates.
7490
7491 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7492
7493         * toc.C (getTocList): Get TOC from InsetWrap.
7494
7495 2002-09-16  John Levon  <levon@movementarian.org>
7496
7497         * lyxfunc.C: check tabular for cut/copy too
7498
7499 2002-09-12  John Levon  <levon@movementarian.org>
7500
7501         * LyXAction.C: tidy
7502
7503         * factory.h:
7504         * factory.C: add header
7505
7506         * paragraph_funcs.h:
7507         * paragraph_funcs.C: cleanup
7508
7509 2002-09-11  John Levon  <levon@movementarian.org>
7510
7511         * PrinterParams.h: odd/even default to true
7512
7513 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7514
7515         * PrinterParams.h: update printer parameters for new xforms dialog
7516
7517 2002-09-11  Angus Leeming  <leeming@lyx.org>
7518
7519         * lyxserver.C (read_ready): re-write to make it more transparent
7520         and to make it work in coherent fashion under Tru64 Unix.
7521
7522 2002-09-11  André Pönitz <poenitz@gmx.net>
7523
7524         * commandtags.h:
7525         * LyXAction.C:
7526         * text3.C: implement LFUN_WORDSEL
7527
7528 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7531         make floatlist_ a boost::shared_ptr<FloatList>
7532
7533         * lyxtextclass.C: include FloatList.h
7534         (LyXTextClass): initialize floatlist_
7535         (TextClassTags): add TC_NOFLOAT
7536         (Read): match "nofloat" to TC_NOFLOAT and use it.
7537         (readFloat): modify call to floatlist_
7538         (floats): ditto
7539         (floats): ditto
7540
7541         * FloatList.[Ch] (FloatList): remove commented out float
7542         initialization.
7543         (erase): new function
7544
7545 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7546
7547         * MenuBackend.C (expandToc): fix crash when there is no document
7548         open
7549
7550 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7551
7552         * many files: Add insetwrap.
7553
7554 2002-09-09  John Levon  <levon@movementarian.org>
7555
7556         * text2.C: remove confusing and awkward depth wraparound
7557
7558 2002-09-09  John Levon  <levon@movementarian.org>
7559
7560         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7561
7562         * buffer.h:
7563         * buffer.C: remove getIncludeonlyList()
7564
7565         * paragraph.C:
7566         * lyxfunc.C: remove headers
7567
7568 2002-09-09  Juergen Vigna  <jug@sad.it>
7569
7570         * text.C (getColumnNearX): fix form Michael this is most
7571         probably a cut&paste bug.
7572
7573 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7576
7577         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7578         references, ws changes.
7579
7580         * text2.C (init): update counters after init
7581         (insertParagraph): no need to set counter on idividual paragraphs.
7582         (setCounter): access the counters object in the textclass object
7583         on in the buffer object.
7584         (updateCounters): ditto
7585
7586         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7587         shared_ptr<Counters> to avoid loading counters.h in all
7588         compilation units.
7589         (LyXTextClass): initialize ctrs_
7590         (TextClassTags): add TC_COUNTER, and ...
7591         (Read): use it here.
7592         (CounterTags): new tags
7593         (readCounter): new function
7594         (counters): new funtion
7595         (defaultLayoutName): return a const reference
7596
7597         * counters.C (Counters): remove contructor
7598         (newCounter): remove a couple of unneeded statements.
7599         (newCounter): simplify a bit.
7600         (numberLabel): some small formatting changes.
7601
7602         * buffer.[Ch]: remove all traces of counters, move the Counters
7603         object to the LyXTextClass.
7604
7605 2002-09-06  Alain Castera  <castera@in2p3.fr>
7606
7607         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7608         package to set the horizontal alignment on fixed width columns.
7609
7610         * lyx_sty.C:
7611         * lyx_sty.h: added tabularnewline macro def.
7612
7613         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7614
7615 2002-09-06  John Levon  <levon@movementarian.org>
7616
7617         * LyXAction.C: tooltips for sub/superscript
7618
7619         * MenuBackend.C: a bit more verbose
7620
7621         * lyxfunc.C: tiny clean
7622
7623         * undo_funcs.C: document undo_frozen
7624
7625 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * counters.C (Counters): add missing algorithm counter.
7628
7629         * text2.C (setCounter): lookup the counter with layouts latexname
7630         instead of by section number.
7631         (setCounter): use a hackish way to lookup the correct enum
7632         counter.
7633         a float name->type change
7634         reset enum couners with counter name directly instead of depth value.
7635
7636         * counters.C (Counters): remove the push_backs, change to use the
7637         float type not the float name.
7638         (labelItem): remove unused string, float name->type change
7639
7640         * counters.h: don't include vector, loose the enums and sects vectors
7641
7642 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7645         (Read): add float->TC_FLOAT to textclassTags
7646         (Read): and handle it in the switch
7647         (readFloat): new function
7648
7649         * FloatList.C (FloatList): comment out the hardcoded float
7650         definitions.
7651
7652         * lyxlayout.h: ws change.
7653
7654 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7657
7658 2002-09-03  Angus Leeming  <leeming@lyx.org>
7659
7660         * BufferView_pimpl.h: qualified name is not allowed in member
7661         declaration: WorkArea & Pimpl::workarea() const;
7662
7663         * factory.C: added using std::endl directive.
7664
7665         * text3.C: added using std::find and std::vector directives.
7666
7667 2002-08-29  André Pönitz <poenitz@gmx.net>
7668
7669         * lyxtext.h:
7670         * text2.C: remove unused member number_of_rows
7671
7672         * Makefile.am:
7673         * BufferView2.C: remove file, move contents to...
7674         * BufferView.C: ... here
7675
7676         * BufferView_pimpl.C:
7677         * factory.C: move more inset creation to factory
7678
7679         * vspace.C: avoid direct usage of LyXText, ws changes
7680
7681         * BufferView.[Ch]:
7682                 don't provide direct access to WorkArea, use two simple
7683                 acessors haveSelction() and workHeight() instead
7684
7685
7686 2002-08-29  John Levon  <levon@movementarian.org>
7687
7688         * BufferView_pimpl.C (dispatch): do not continue when
7689           no buffer
7690
7691 2002-08-28  André Pönitz <poenitz@gmx.net>
7692
7693         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7694
7695         * BufferView.h:
7696         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7697
7698 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7699
7700         * buffer.C: increment LYX_FORMAT to 221
7701
7702         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7703         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7704
7705         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7706
7707         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7708
7709 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7710
7711         * factory.C (createInset): use LyXTextClass::floats
7712
7713         * MenuBackend.C (expandFloatListInsert):
7714         (expandFloatInsert):
7715         (expandToc):
7716
7717         * text2.C (setCounter):
7718
7719         * LaTeXFeatures.C (useFloat):
7720         (getFloatDefinitions):
7721
7722         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7723
7724         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7725         floatlist_, with accessor floats().
7726
7727         * FloatList.h: remove global FloatList
7728
7729 2002-08-26  André Pönitz <poenitz@gmx.net>
7730
7731         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7732
7733         * BufferView.h:
7734         * BufferView2.C:
7735         * BufferView_pimpl.C:
7736         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7737
7738 2002-08-25  John Levon  <levon@movementarian.org>
7739
7740         * LyXAction.C: fix margin note description
7741
7742 2002-08-24  John Levon  <levon@movementarian.org>
7743
7744         * buffer.C:
7745         * bufferlist.C:
7746         * bufferview_funcs.C:
7747         * lyxfont.C:
7748         * undo_funcs.C: cleanups
7749
7750         * lyxfunc.C: disable CUT/COPY when no selection
7751
7752 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7753
7754         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7755         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7756
7757         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7758         Add backward compatibility to "mono", "gray" and "no".
7759
7760 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7761
7762         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7763         (and file_format >= 200).
7764
7765 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7768
7769 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7772
7773 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7774
7775         * BufferView_pimpl.C:
7776         * LyXAction.C:
7777         * buffer.C:
7778         * commandtags.h:
7779         * lyxfunc.C:
7780         * paragraph.[Ch]:
7781         * text2.C:
7782         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7783         inset and code to make it  work with the paragraph code. The inset
7784         can be anywhere in the paragraph, but will only do the expected
7785         thing in LaTeX if the layout file contains the parameter line
7786                         OptionalArgs    1
7787         (or more generally, a nonzero value) for that layout.
7788
7789 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * paragraph.h: remove the declaration of undefined counters class
7792         function.
7793
7794 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7795
7796         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7797         Dr. Richard Hawkins.
7798
7799 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7800
7801         * paragraph_funcs.h: remove some unneeded includes
7802
7803         * text.C (backspace): pasteParagraph now in global scipe
7804
7805         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7806         (pasteSelection): ditto
7807
7808         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7809         * paragraph_funcs.C (pasteParagraph): ... here
7810
7811 2002-08-20  André Pönitz <poenitz@gmx.net>
7812
7813         * commandtags.h: new LFUNs for swapping/copying table row/colums
7814
7815         * LyXAction.C:
7816         * lyxfunc.C: support for new lfuns
7817
7818 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * tabular.C:
7821         * buffer.[Ch]: remove NO_COMPABILITY stuff
7822
7823 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * boost.C (throw_exception): new file, with helper function for
7826         boost compiled without exceptions.
7827
7828         * paragraph.h:
7829         * lyxlength.C:
7830         * buffer.C:
7831         * ParameterStruct.h:
7832         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7833
7834         * bufferlist.C (emergencyWriteAll): use boost bind
7835
7836         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7837
7838         * text.C: include paragraph_funcs.h
7839         (breakParagraph): breakParagraph is now in global scope
7840
7841         * paragraph_funcs.[Ch]: new files
7842
7843         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7844         global scope
7845
7846         * buffer.C: include paragraph_funcs.h
7847         (insertStringAsLines): breakParagraph is now in global scope
7848
7849         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7850         paragraph_funcs.C
7851
7852         * CutAndPaste.C: include paragraph_funcs.h
7853         (cutSelection): breakParagraphConservative is now in global scope
7854         (pasteSelection): ditto
7855
7856         * buffer.h: declare oprator== and operator!= for
7857         Buffer::inset_iterator
7858
7859         * bufferlist.C (emergencyWrite): don't use fmt(...)
7860
7861         * text3.C: add using std::endl
7862
7863         * BufferView.C (moveCursorUpdate): remove default arg
7864
7865 2002-08-20  André Pönitz <poenitz@gmx.net>
7866
7867         * buffer.[Ch]: move inline functions to .C
7868
7869         * BufferView2.C:
7870         * BufferView_pimpl.C:
7871         * text.C:
7872         * buffer.[Ch]: use improved inset_iterator
7873
7874         * buffer.C:
7875         * paragraph.[Ch]: write one paragraph at a time
7876
7877 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7878
7879         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7880         style if style is not specified.
7881
7882 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7883
7884         * text2.C (setCounter): when searching for right label for a
7885         caption, make sure to recurse to parent insets (so that a caption
7886         in a minipage in a figure float works) (bug #568)
7887
7888 2002-08-20  André Pönitz <poenitz@gmx.net>
7889
7890         * text3.C: new file for LyXText::dispatch() and helpers
7891
7892         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7893
7894         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7895
7896 2002-08-19  André Pönitz <poenitz@gmx.net>
7897
7898         * lyxtext.h:
7899         * text.C: new LyXText::dispatch()
7900
7901         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7902
7903 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7904
7905         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7906
7907         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7908         Hebrew text.
7909
7910 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * Makefile.am: use $(variables) instead of @substitutions@
7913
7914 2002-08-15  André Pönitz <poenitz@gmx.net>
7915
7916         * lyxfunc.C:
7917         * BufferView_pimpl.C: streamlining mathed <-> outer world
7918         interaction
7919
7920         * commandtags.h:
7921         * LyXAction.C: remove unused LFUN_MATH
7922
7923 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7926
7927 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * paragraph.C (Paragraph): reformat a bit
7930         (cutIntoMinibuffer): use builtin InsetList function instad of
7931         doing it manually.
7932         (getInset): ditto
7933
7934         * buffer.C: include boost/bind.hpp, add using std::for_each
7935         (writeFileAscii): use ParagraphList iterators
7936         (validate): use for_each for validate traversal of paragraphs
7937         (getBibkeyList): use ParagraphList iterators
7938         (resizeInsets): use for_each to resizeInsetsLyXText for all
7939         paragraphs.
7940         (getParFromID): use ParagraphList iterators
7941
7942         * BufferView2.C (lockInset): use paragraph list and iterators
7943
7944 2002-08-14  John Levon  <levon@movementarian.org>
7945
7946         * lyxserver.C: remove spurious xforms include
7947
7948 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7951
7952 2002-08-13  André Pönitz <poenitz@gmx.net>
7953
7954         * LyXAction.[Ch]:
7955         * lyxfunc.C: further cleaning
7956
7957 2002-08-13  André Pönitz <poenitz@gmx.net>
7958
7959         * funcrequest.h: new constructor
7960
7961         * funcrequest.C: move stuff here from .h
7962
7963         * Makefile.am:
7964         * BufferView_pimpl.C:
7965         * LyXAction.C:
7966         * toc.C:
7967         * lyxfunc.C: subsequent changes
7968
7969         * lyxfunc.h: new view() member function
7970
7971         * lyxfunc.C: subsequent changes
7972
7973 2002-08-13  Angus Leeming  <leeming@lyx.org>
7974
7975         * BufferView2.C:
7976         * BufferView_pimpl.C:
7977         * buffer.C:
7978         * converter.C:
7979         * importer.C:
7980         * lyxfunc.C:
7981         * lyxvc.C:
7982         * toc.C:
7983         * vc-backend.C:
7984         changes due to the changed LyXView interface that now returns references
7985         to member variables not pointers.
7986
7987 2002-08-13  Angus Leeming  <leeming@lyx.org>
7988
7989         * WordLangTuple (word, lang_code): return references to strings,
7990         not strings.
7991
7992         * BufferView.h:
7993         * SpellBase.h:
7994         * lyxtext.h: forward-declare WordLangTuple.
7995
7996         * BufferView2.C:
7997         * ispell.C:
7998         * pspell.C:
7999         * text.C: #include "WordLangTuple.h".
8000
8001         * lyxtext.h:
8002         * text.C: (selectNextWordToSpellcheck): constify return type.
8003
8004 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8005
8006         * buffer.C:
8007         * buffer.h:
8008         * lyxtext.h:
8009         * paragraph.C:
8010         * paragraph_pimpl.h:
8011         * text.C:
8012         * text2.C:
8013         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8014         suggested by Angus.
8015         Made updateCounter always count from start of buffer, and removed
8016         second argument (par).
8017         Reverted floats number display to '#'. Perhaps I'll try again when the
8018         code base is sanitized a bit.
8019
8020 2002-08-12  Angus Leeming  <leeming@lyx.org>
8021
8022         * buffer.[Ch] (getLabelList): constify.
8023
8024 2002-08-07  André Pönitz <poenitz@gmx.net>
8025
8026         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8027
8028         * funcrequest.h: extension to keep mouse (x,y) position
8029
8030 2002-08-12  Juergen Vigna  <jug@sad.it>
8031
8032         * BufferView2.C (insertErrors): forbid undo when inserting error
8033         insets.
8034
8035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8036
8037 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * ParagraphList.[Ch]: new files
8040
8041         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8042
8043         * BufferView2.C (lockInset): ParagraphList changes
8044         * toc.C: ditto
8045         * text2.C: ditto
8046         * bufferlist.C: ditto
8047         * buffer.h: ditto
8048         * buffer.C: ditto
8049
8050 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8053         unused class variable counter_,
8054
8055         * paragraph.[Ch] (getFirstCounter): delete unused function
8056
8057         * counters.C: include LAssert.h
8058         (reset): add a new function with no arg, change other version to
8059         not have def. arg and to not allow empty arg.
8060
8061         * text2.C (setCounter): remove empty arg from call to Counters::reset
8062
8063 2002-08-11  John Levon  <levon@movementarian.org>
8064
8065         * Makefile.am: add WordLangTuple.h
8066
8067 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8070         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8071
8072         * insets/insettext.C: InsetList changes
8073
8074         * graphics/GraphicsSupport.C (operator()): InsetList changes
8075
8076         * toc.C (getTocList): InsetList changes
8077
8078         * paragraph_pimpl.[Ch]: InsetList changes
8079
8080         * paragraph.[Ch]: InsetList changes
8081
8082         * buffer.C (inset_iterator): InsetList changes
8083         (setParagraph): ditto
8084         * buffer.h (inset_iterator): ditto
8085         * iterators.C (operator++): ditto
8086         * iterators.h: ditto
8087
8088         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8089
8090         * InsetList.[Ch]: new files, most InsetList handling moved out of
8091         paragraph.C.
8092
8093         * BufferView2.C (removeAutoInsets): InsetList changes
8094         (lockInset): ditto
8095         (ChangeInsets): ditto
8096
8097 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * paragraph_pimpl.h (empty): new function
8100
8101         * paragraph.[Ch] (empty): new function
8102
8103         * other files: use the new Paragraph::empty function
8104
8105 2002-08-09  John Levon  <levon@movementarian.org>
8106
8107         * lyxtext.h: remove unused refresh_height
8108
8109 2002-08-09  John Levon  <levon@movementarian.org>
8110
8111         * Makefile.am:
8112         * sgml.h:
8113         * sgml.C:
8114         * buffer.C:
8115         * paragraph.h:
8116         * paragraph.C: move sgml char escaping out of paragraph
8117
8118         * paragraph.h:
8119         * paragraph.C: remove id setter
8120
8121         * buffer.C:
8122         * paragraph.C:
8123         * paragraph_pimpl.C: remove dead tex_code_break_column
8124
8125         * bufferview_funcs.C: small cleanup
8126
8127         * lyxfunc.C: remove dead proto
8128
8129         * lyxtext.h: make some stuff private. Remove some dead stuff.
8130
8131         * lyxgluelength.C: make as[LyX]String() readable
8132
8133 2002-08-08  John Levon  <levon@movementarian.org>
8134
8135         * LyXAction.h:
8136         * LyXAction.C:
8137         * MenuBackend.C:
8138         * ToolbarDefaults.C:
8139         * lyxfunc.C:
8140         * lyxrc.C:
8141         * toc.C: lyxaction cleanup
8142
8143 2002-08-08  John Levon  <levon@movementarian.org>
8144
8145         * BufferView2.C: small cleanup
8146
8147         * lyxfind.h:
8148         * lyxfind.C: move unnecessary header into the .C
8149
8150 2002-08-08  John Levon  <levon@movementarian.org>
8151
8152         * funcrequest.h: just tedious nonsense
8153
8154         * lyx_main.h:
8155         * lyx_main.C: cleanups
8156
8157         * buffer.C:
8158         * vspace.C: remove dead header lyx_main.h
8159
8160 2002-08-07  Angus Leeming  <leeming@lyx.org>
8161
8162         * Paragraph.[Ch]:
8163         * paragraph_pimpl.h:
8164         Forward declare class Counters in paragraph.h by moving the ctrs member
8165         variable into Paragraph::Pimpl.
8166         (counters): new method, returning a reference to pimpl_->ctrs.
8167
8168         * text2.C: ensuing changes.
8169
8170 2002-08-07  John Levon  <levon@movementarian.org>
8171
8172         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8173
8174         * BufferView_pimpl.C: announce X selection on double/triple
8175           click
8176
8177         * lyx_main.C: use correct bool in batch dispatch
8178
8179         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8180
8181 2002-08-07  André Pönitz <poenitz@gmx.net>
8182
8183         * funcrequest.h: new class to wrap a kb_action and its argument
8184
8185         * BufferView.[Ch]:
8186         * BufferView_pimpl[Ch]:
8187         * LaTeX.C:
8188         * LyXAction.[Ch]:
8189         * lyxfunc.[Ch]:
8190         * lyxrc.C: subsequent changes
8191
8192
8193 2002-08-07  John Levon  <levon@movementarian.org>
8194
8195         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8196           document options change.
8197
8198 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8199
8200         * counters.[Ch]
8201         * text2.C
8202         * paragraph.[Ch]
8203         * makefile.am: move counters functionality over from
8204         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8205
8206 2002-08-06  John Levon  <levon@movementarian.org>
8207
8208         * WordLangTuple.h: new file for word + language code tuple
8209
8210         * SpellBase.h:
8211         * pspell.h:
8212         * pspell.C:
8213         * ispell.h:
8214         * ispell.C:
8215         * lyxtext.h:
8216         * text.C:
8217         * text2.C:
8218         * BufferView.h:
8219         * BufferView2.C: use WordLangTuple
8220
8221         * layout.h:
8222         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8223
8224 2002-08-06  John Levon  <levon@movementarian.org>
8225
8226         * lyx_main.C: fix cmdline batch handling
8227
8228 2002-08-06  André Pönitz <poenitz@gmx.net>
8229
8230         * lyxrc.C: set default for show_banner to true
8231
8232 2002-08-06  John Levon  <levon@movementarian.org>
8233
8234         * pspell.C: fix a crash, and allow new aspell to work
8235
8236 2002-08-06  John Levon  <levon@movementarian.org>
8237
8238         * lyxfunc.C:
8239         * kbmap.C: small cleanup
8240
8241         * vspace.h:
8242         * vspace.C: add const
8243
8244 2002-08-05  John Levon  <levon@movementarian.org>
8245
8246         * LyXAction.C: back to tabular-insert
8247
8248 2002-08-04  John Levon  <levon@movementarian.org>
8249
8250         * BufferView.h:
8251         * BufferView.C: cosmetic change
8252
8253         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8254
8255         * bufferlist.C:
8256         * buffer.h:
8257         * buffer.C:
8258         * lyxcb.h:
8259         * lyxcb.C:
8260         * lyxserver.C:
8261         * lyxvc.C:
8262         * vc-backend.C:
8263         * BufferView2.C: purge all "Lyx" not "LyX" strings
8264
8265         * lyxcursor.h:
8266         * lyxcursor.C: attempt to add some documentation
8267
8268         * lyxfunc.C:
8269         * commandtags.h:
8270         * LyXAction.C:
8271         * ToolbarDefaults.C:
8272         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8273           merge with LFUN_TABULAR_INSERT
8274
8275         * Makefile.am:
8276         * SpellBase.h:
8277         * ispell.h:
8278         * ispell.C:
8279         * pspell.h:
8280         * pspell.C: split up i/pspell implementations into separate
8281           files, many cleanups
8282
8283         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8284
8285         * text2.C: some cleanup
8286
8287         * lyxfunc.C: don't check for isp_command == "none" any more, it
8288           didn't make any sense
8289
8290 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8291
8292         * counters.[Ch]
8293         * text2.C
8294         * paragraph.[Ch]
8295         * makefile.am: move counters functionality over
8296         from text2.C/paragraph.[Ch] to counters.[Ch], and
8297         make proper C++.
8298 2002-08-02  John Levon  <levon@movementarian.org>
8299
8300         * buffer.C: s/lyxconvert/lyx2lyx/
8301
8302 2002-08-02  Angus Leeming  <leeming@lyx.org>
8303
8304         * lyxlex.C: revert John's change as it breaks reading of the user
8305         preamble.
8306
8307 2002-08-02  Angus Leeming  <leeming@lyx.org>
8308
8309         * importer.C (Import):
8310         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8311         changes due to LyXView::view() now returning a boost::shared_ptr.
8312
8313 2002-08-02  John Levon  <levon@movementarian.org>
8314
8315         * lyxlex.C: small cleanup
8316
8317 2002-08-02  John Levon  <levon@movementarian.org>
8318
8319         * text2.C (status): small cleanup, no logic change
8320
8321 2002-08-01  John Levon  <levon@movementarian.org>
8322
8323         * buffer.h:
8324         * buffer.C (writeFile): don't output alerts, caller
8325           handles this
8326
8327         * bufferlist.C:
8328         * lyx_cb.C: from above
8329
8330         * lyxfunc.C: allow to open non-existent files
8331
8332 2002-07-31  John Levon  <levon@movementarian.org>
8333
8334         * lyxserver.C: don't let incidental errors get
8335           in the way (errno)
8336
8337 2002-07-30  John Levon  <levon@movementarian.org>
8338
8339         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8340
8341 2002-07-30  John Levon  <levon@movementarian.org>
8342
8343         * lyxserver.h:
8344         * lyxserver.C: remove I/O callback too
8345
8346 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8349         log.
8350
8351 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * many files: strip,frontStrip -> trim,ltrim,rtrim
8354
8355 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * PrinterParams.h: remove extern containsOnly, and include
8358         support/lstrings.h instead.
8359
8360         * LaTeX.C (scanAuxFile): modify because of strip changes
8361         (deplog): ditto
8362         * buffer.C (makeLaTeXFile): ditto
8363         * bufferparams.C (writeFile): ditt
8364         * lyxfont.C (stateText): ditto
8365         * lyxserver.C (read_ready): ditto
8366         * vc-backend.C (scanMaster): ditto
8367
8368         * BufferView_pimpl.h: ws changes
8369
8370         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8371
8372 2002-07-26  André Pönitz <poenitz@gmx.net>
8373
8374         * kb_sequence.C: remove unnedred usings
8375
8376 2002-07-26  Juergen Vigna  <jug@sad.it>
8377
8378         * lyxfind.C (LyXReplace): we have to check better if the returned
8379         text is not of theLockingInset()->getLockingInset().
8380
8381 2002-07-25  Juergen Vigna  <jug@sad.it>
8382
8383         * lyxfind.C (LyXReplace): don't replace if we don't get the
8384         right LyXText.
8385
8386         * undo_funcs.C (createUndo): remove debugging code.
8387
8388 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8389
8390         * buffer.C (parseSingleLyXformat2Token): Use default placement
8391         when reading old floats.
8392
8393         * FloatList.C (FloatList): Change the default placement of figure
8394         and tables to "tbp".
8395
8396 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8397
8398         * MenuBackend.C: using std::max
8399
8400 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8401
8402         * MenuBackend.C (expandToc):
8403         (expandToc2): code moved from xforms menu frontend. It is now
8404         generic and TOCs are transparent to menu frontends.
8405
8406 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * toc.C (getTocList): protect against buf=0
8409
8410         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8411         Menu as first parameter. Now, this calls itself recursively to
8412         expand a whole tree (this will be useful for TOC handling)
8413         (expandFloatInsert): remove 'wide' version of floats
8414
8415         * MenuBackend.h (submenuname): returns the name of the submenu.
8416         (submenu): returns the submenu itself, provided it has been
8417         created by MenuBackend::expand
8418
8419 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8420
8421         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8422         insets which have noFontChange == true. (bug #172)
8423
8424 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8425
8426         * BufferView_pimpl.C: add connection objects and use them...
8427         (Pimpl): here.
8428
8429 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8430
8431         * MenuBackend.C (expandLastfiles):
8432         (expandDocuments):
8433         (expandFormats):
8434         (expandFloatListInsert):
8435         (expandFloatInsert):
8436         (expand): split expand in parts
8437
8438 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * lyx_gui.C: use lyx_gui::exit()
8441
8442 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8443
8444         * LyXAction.C: show the failing pseudo action
8445
8446 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8447
8448         * buffer.C (readFile): Run the lyxconvert script in order to read
8449         old files.
8450
8451 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * LyXAction.C:
8454         * commandtags.h:
8455         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8456
8457 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * LyXAction.C:
8460         * commandtags.h:
8461         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8462
8463 2002-07-22  Herbert Voss  <voss@lyx.org>
8464
8465         * lengthcommon.C:
8466         * lyxlength.[Ch]: add support for the vertical lengths
8467
8468 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * toc.[Ch]: std:: fixes
8471
8472 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * lyxrc.C: do not include lyx_main.h
8475
8476         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8477         for layouts
8478
8479         * lyxrc.C:
8480         * encoding.C:
8481         * bufferlist.C:
8482         * BufferView2.C: include "lyxlex.h"
8483
8484         * tabular.h:
8485         * bufferparams.h: do not #include "lyxlex.h"
8486
8487         * lyxtextclasslist.C (Add): remove method
8488         (classlist): renamed to classlist_
8489
8490         * paragraph_pimpl.C:
8491         * paragraph.C:
8492         * text2.C:
8493         * CutAndPaste.C:
8494         * bufferview_funcs.C:
8495         * bufferlist.C:
8496         * text.C:
8497         * LaTeXFeatures.C:
8498         * buffer.C:
8499         * toc.C (getTocList): use BufferParams::getLyXTextClass
8500
8501         * toc.C (getTocList): use InsetFloat::addToToc
8502
8503         * toc.[Ch]: new files, containing helper functions to handle table
8504         of contents
8505
8506         * lyxfunc.C (dispatch): no need to remove spaces around command
8507         given as a string
8508         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8509         first command of the sequence; it is not very clever, but I do not
8510         have a better idea, actually
8511
8512         * LyXAction.C (LookupFunc): make sure to remove space at the
8513         beginning and end of the command
8514
8515 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8516
8517         * MenuBackend.C (getMenubar): new method: return the menubar of
8518         this menu set
8519         (read): treat differently reading of menu and menubar (in
8520         particular, the menubar has no name now)
8521         (Menu::menubar): remove
8522
8523         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8524         saving is finished
8525
8526 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8527
8528         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8529         a bibitem inset in a RTL paragraph.
8530
8531 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8532
8533         * paragraph_pimpl.C: constify
8534
8535         * BufferView_pimpl.C:
8536         * LaTeX.C:
8537         * lyxfunc.C: fix dispatch in a nicer way
8538
8539 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8540
8541         * lyxfunc.C (dispatch):
8542         * BufferView_pimpl.C:
8543         * BufferView_pimpl.h:
8544         * BufferView.C:
8545         * BufferView.h: rename Dispatch() to dispatch()
8546
8547         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8548
8549         * lyxlayout.C (Read): honor DependsOn tag
8550
8551         * lyxlayout.[Ch] (depends_on): new method
8552
8553         * version.C.in: update lyx_docversion
8554
8555         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8556
8557         * paragraph.C (validate): remove from here...
8558         * paragraph_pimpl.C (validate): ... and move here
8559         (isTextAt): make it const
8560
8561         * buffer.C (getLists): ws cleanup
8562
8563 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8564
8565         * language.C (read): Use iso8859-1 encoding in latex_lang
8566         (this prevents LyX from crashing when using iso10646-1 encoding).
8567
8568 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8569
8570         * text2.C (toggleInset): if cursor is inside an inset, close the
8571         inset and leave cursor _after_ it
8572
8573 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * lyxfunc.C: move minibuffer completion handling out of here
8576
8577 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * BufferView_pimpl.C:
8580         * LaTeX.C: fix dispatch calls
8581
8582 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8583
8584         * text.C (drawChars): Fix Arabic text rendering.
8585
8586 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8587
8588         * LyXAction.C:
8589         * commandtags.h:
8590         * lyxfunc.C: remove message-push/pop
8591
8592         * lyxserver.C:
8593         * lyxfunc.h:
8594         * lyxfunc.C: rationalise some code by removing verboseDispatch
8595           in favour of a bool argument to dispatch()
8596
8597 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8598
8599         * lyx_main.C (init): make sure to read symlinks as absolute paths
8600
8601 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8602
8603         * lyxfunc.h:
8604         * lyxfunc.C: no need for commandshortcut to be a member
8605
8606 2002-07-15  André Pönitz <poenitz@gmx.net>
8607
8608         * converter.C: add support for $$s (scripts from lib/scripts dir)
8609         * lyx_main.C: white space
8610
8611 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8612
8613         * bufferlist.C:
8614         * lyxrc.h:
8615         * lyxrc.C: remove second exit confirmation
8616
8617 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * BufferView.h:
8620         * BufferView.C:
8621         * BufferView2.C:
8622         * BufferView_pimpl.h:
8623         * BufferView_pimpl.C:
8624         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8625
8626 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8627
8628         * MenuBackend.C (expand): add numeric shortcuts to document menu
8629
8630         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8631
8632 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * lyxfont.C (setLyXFamily):
8635         (setLyXSeries):
8636         (setLyXShape):
8637         (setLyXSize):
8638         (setLyXMisc):
8639         (lyxRead):
8640         * debug.C (value):
8641         * buffer.C (asciiParagraph): use ascii_lowercase
8642
8643 2002-07-15  Mike Fabian  <mfabian@suse.de>
8644
8645         * lyxlex_pimpl.C (search_kw):
8646         * lyxlex.C (getLongString):
8647         * converter.h (operator<):
8648         * converter.C (operator<):
8649         * buffer.C (parseSingleLyXformat2Token):
8650         (asciiParagraph):
8651         * ToolbarDefaults.C (read):
8652         * MenuBackend.C (checkShortcuts):
8653         (read):
8654         * LColor.C (getFromGUIName):
8655         (getFromLyXName): use the compare_ascii_no_case instead of
8656         compare_no_case, because in turkish, 'i' is not the lowercase
8657         version of 'I', and thus turkish locale breaks parsing of tags.
8658
8659 2002-07-16  Angus Leeming  <leeming@lyx.org>
8660
8661         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8662         now takes a Buffer const & argument.
8663
8664 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * BufferView.C (resize): check there's a buffer to resize
8667
8668 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * lyxfunc.C: remove dead code
8671
8672         * lyxserver.h:
8673         * lyxserver.C: use lyx_guii::set_read_callback
8674
8675 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8676
8677         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8678         an inset in a RTL paragraph.
8679
8680 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8681
8682         * lyxfunc.C: repaint after a font size update
8683
8684 2002-07-15  André Pönitz <poenitz@gmx.net>
8685
8686         * lyxlength.C: inBP should be able to return negative values
8687
8688 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * lyxfunc.C: use lyx_gui::update_fonts()
8691
8692 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8693
8694         * lyxfunc.C: use lyx_gui::update_color()
8695
8696 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * bufferlist.C:
8699         * lyxfunc.h:
8700         * lyxfunc.C:
8701         * lyxrc.h:
8702         * lyxrc.C: remove file->new asks for name option, and let
8703           buffer-new take an argument
8704
8705 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8706
8707         * BufferView_pimpl.C: remove unneeded extra repaint()
8708
8709 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * LyXAction.C: allow command-sequence with NoBuffer
8712
8713         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8714
8715 2002-07-10  Angus Leeming  <leeming@lyx.org>
8716
8717         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8718
8719 2002-07-09  Angus Leeming  <leeming@lyx.org>
8720
8721         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8722
8723 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8724
8725         * lengthcommon.h: whitespace
8726
8727         * lyxfunc.C: update scrollbar after goto paragraph
8728
8729         * lyxtext.h: factor out page break drawing, and fix it so
8730           page break/added space paints as selected nicely
8731
8732 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * BufferView_pimpl.C: add FIXMEs, clean up a little
8735
8736 2002-07-09  André Pönitz <poenitz@gmx.net>
8737
8738         * lyxfont.[Ch]: support for wasy symbols
8739
8740 2002-07-08  André Pönitz <poenitz@gmx.net>
8741
8742         * BufferView_pimpl.C: apply John's patch for #93.
8743
8744 2002-07-05  Angus Leeming  <leeming@lyx.org>
8745
8746         * BufferView_pimpl.C (buffer): generate previews if desired.
8747
8748         * LColor.h: add "preview" to the color enum.
8749
8750         * LColor.C (LColor): add a corresponding entry to the items array.
8751
8752         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8753         with this buffer.
8754
8755 2002-07-05  Angus Leeming  <leeming@lyx.org>
8756
8757         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8758         The body of the code is now in the method that is passed an ostream &
8759         rather than a file name.
8760         Pass an additional only_preamble parameter, useful for the forthcoming
8761         preview stuff.
8762
8763 2002-07-03  André Pönitz <poenitz@gmx.net>
8764
8765         * lyxfunc.C: simplify getStatus() a bit for math stuff
8766
8767 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8768
8769         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8770
8771 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * text.C (changeRegionCase): do not change case of all the
8774         document when region ends at paragraph end (bug #461)
8775
8776 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * paragraph.C (startTeXParParams):
8779         (endTeXParParams): add \protect when necessary
8780
8781 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8782
8783         * BufferView_pimpl.C (workAreaExpose): remove warning
8784
8785 2002-06-27  Angus Leeming  <leeming@lyx.org>
8786
8787         * Makefile.am: add lyxlayout_ptr_fwd.h.
8788
8789 2002-06-26  André Pönitz <poenitz@gmx.net>
8790
8791         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8792
8793 2002-06-25  Angus Leeming  <leeming@lyx.org>
8794
8795         * lyxfunc.C (dispatch): Comment out the call to
8796         grfx::GCache::changeDisplay. The method no longer exists now that the
8797         pixmap generation part of the graphics loader has been moved into
8798         InsetGraphics.
8799
8800 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8801
8802         * text2.C: layout as layout
8803
8804         * text.C: layout as layout
8805
8806         * tabular.C (OldFormatRead): layout as layout
8807
8808         * paragraph_pimpl.C (TeXDeeper): layout as layout
8809         (realizeFont): layout as layout
8810
8811         * paragraph.C (writeFile): layout as layout
8812         (validate): layout as layout
8813         (getFont): layout as layout
8814         (getLabelFont): layout as layout
8815         (getLayoutFont): layout as layout
8816         (breakParagraph): layout as layout
8817         (stripLeadingSpaces): layout as layout
8818         (getEndLabel): layout as layout
8819         (getMaxDepthAfter): layout as layout
8820         (applyLayout): layout as layout
8821         (TeXOnePar): layout as layout
8822         (simpleTeXOnePar): layout as layout
8823         (TeXEnvironment): layout as layout
8824         (layout): layout as layout
8825         (layout): layout as layout
8826
8827         * lyxtextclass.C (compare_name): new functor to work with
8828         shared_ptr, layout as layout
8829         (Read): layout as layout
8830         (hasLayout): layout as layout
8831         (operator): layout as layout
8832         (delete_layout): layout as layout
8833         (defaultLayout): layout as layout
8834
8835         * lyxlayout_ptr_fwd.h: new file
8836
8837         * lyxlayout.C (Read): layout as layout
8838
8839         * lyx_cb.C (MenuInsertLabel): layout as layout
8840
8841         * bufferlist.C (newFile): layout as layout
8842
8843         * buffer.C (readLyXformat2): layout as layout
8844         (parseSingleLyXformat2Token): layout as layout
8845         (insertStringAsLines): layout as layout
8846         (asciiParagraph): layout as layout
8847         (latexParagraphs): layout as layout
8848         (makeLinuxDocFile): layout as layout
8849         (simpleLinuxDocOnePar): layout as layout
8850         (makeDocBookFile): layout as layout
8851         (simpleDocBookOnePar): layout as layout
8852         (getLists): layout as layout
8853
8854         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8855
8856         * CutAndPaste.C (cutSelection): layout as layout
8857         (pasteSelection): layout as layout
8858         (SwitchLayoutsBetweenClasses): layout as layout
8859
8860         * BufferView_pimpl.C (Dispatch): layout as layout
8861         (smartQuote): layout as layout
8862
8863         * BufferView2.C (unlockInset): layout as layout
8864
8865 2002-06-24  André Pönitz <poenitz@gmx.net>
8866
8867         * lyxfunc.C: fix #487
8868
8869 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * lyxrc.h:
8872         * lyxrc.C:
8873         * lyxfunc.C: remove display_shortcuts, show_banner
8874
8875 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * Buffer_pimpl.C: oops, update on resize
8878
8879 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * buffer.C:
8882         * converter.C:
8883         * exporter.C:
8884         * lyxfunc.C:
8885         * BufferView.h:
8886         * BufferView.C: use repaint()
8887
8888         * BufferView_pimpl.h:
8889         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8890           as it's a clearer description. Remove superfluous
8891           redraws.
8892
8893 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * text.C: fix bug 488. Not ideal, but getting
8896           getWord() to work properly for the insets that
8897           matter is more difficult ...
8898
8899 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8900
8901         * BufferView_pimpl.C:
8902         * LyXAction.C:
8903         * commandtags.h:
8904         * lyxfunc.C: remove the six million index lyxfuncs to just
8905           one, and DTRT (bug 458)
8906
8907 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * BufferView.h:
8910         * BufferView.C:
8911         * BufferView_pimpl.h:
8912         * BufferView_pimpl.C: clean up resize() stuff,
8913           and unnecessary updateScreen()s
8914
8915 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * BufferView.h:
8918         * BufferView.C:
8919         * BufferView_pimpl.h:
8920         * BufferView_pimpl.C:
8921         * lyxfind.h:
8922         * lyxfind.C:
8923         * minibuffer.C: remove focus management of workarea,
8924           not needed. Use screen's greyOut()
8925
8926 2002-06-17  Herbert Voss  <voss@lyx.org>
8927
8928         * converter.C: (convert) do not post a message, when converting
8929         fails, let the calling function decide what to do in this case
8930
8931 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * lyxfunc.C: tidy up a little
8934
8935 2002-06-16    <alstrup@diku.dk>
8936
8937         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8938         Got rid of FORMS_H_LOCATION include. Now we are
8939         GUII.
8940
8941 2002-06-15  LyX Development team  <lyx@rilke>
8942
8943         * buffer.[Ch] (sgmlOpenTag):
8944         (sgmlCloseTag): Added support for avoiding pernicious mixed
8945         content. Return number of lines written.
8946
8947         (makeLinuxDocFile):
8948         (makeDocBookFile): Fixed calls to sgml*Tag.
8949         Simple white space clean.
8950
8951         (simpleDocBookOnePar): Simple white space clean.
8952
8953         * tabular.[Ch] (docBook): Renamed to docbook and got another
8954         argument to related with the pernicious mixed content.
8955
8956         (docbookRow): Fixed calls for docbook inset method.
8957
8958 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8959
8960         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8961         so it's X11 independent.
8962
8963         * kb*.[Ch]: ditto.
8964
8965         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8966
8967 2002-06-15  Lyx Development team  <lyx@electronia>
8968
8969         * intl.h: Renamed getTrans to getTransManager.
8970
8971 2002-06-14  Angus Leeming  <leeming@lyx.org>
8972
8973         * Makefile.am: nuke forgotten stl_string_fwd.h.
8974
8975 2002-06-12  Angus Leeming  <leeming@lyx.org>
8976
8977         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8978
8979 2002-06-13  Angus Leeming  <leeming@lyx.org>
8980
8981         * LaTeX.C:
8982         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8983
8984 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8985
8986         * kbmap.C (getiso): add support for cyrillic and greek
8987
8988 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8989
8990         * BufferView.h:
8991         * BufferView.C:
8992         * BufferView_pimpl.h:
8993         * BufferView_pimpl.C: move bogus scrolling logic
8994           to xforms
8995
8996 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * lyxfunc.C:
8999         * BufferView_pimpl.C: view->resize() change
9000
9001 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * BufferView_pimpl.C: topCursorVisible
9004           prototype change
9005
9006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * Makefile.am:
9009         * lyx_gui.h:
9010         * lyx_gui.C: move to frontends/
9011
9012         * main.C:
9013         * lyx_main.h:
9014         * lyx_main.C: changes from above
9015
9016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * intl.C:
9019         * intl.h:
9020         * kbmap.C:
9021         * kbsequence.C:
9022         * lyx_cb.C:
9023         * lyx_main.C: minor tidy
9024
9025 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * BufferView_pimpl.h:
9028         * BufferView_pimpl.C:
9029         * BufferView.h:
9030         * BufferView.C: make painter() const,
9031           remove dead code
9032
9033         * BufferView2.C: use screen() accessor
9034
9035         * lyx_main.h:
9036         * lyx_main.C: some minor cleanup
9037
9038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * BufferView_pimpl.h:
9041         * BufferView_pimpl.C: remove enter/leaveView,
9042           use workHeight()
9043
9044 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * BufferView.h:
9047         * BufferView.C:
9048         * BufferView2.C:
9049         * BufferView_pimpl.h:
9050         * BufferView_pimpl.C: only construct screen once,
9051           rename
9052
9053         * lyxrc.C: remove pointless comment
9054
9055 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * BufferView.h:
9058         * BufferView.C: remove active() and belowMouse()
9059
9060         * BufferView_pimpl.h:
9061         * BufferView_pimpl.C: use workarea() not workarea_,
9062           and make it use a scoped_ptr instead
9063
9064 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * lyx_gui.C: add debug message on BadWindow
9067
9068 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9069
9070         * sp_spell.C: fdopen is not part of the C++ standard.
9071
9072         * paragraph.C (InsetIterator): use >= instead of ==
9073
9074 2002-06-07  Angus Leeming  <leeming@lyx.org>
9075
9076         Fixes needed to compile with Compaq cxx 6.5.
9077         * BufferView_pimpl.C:
9078         * DepTable.C:
9079         * buffer.C:
9080         * converter.C:
9081         * encoding.C:
9082         * lyx_gui.C:
9083         * lyx_main.C:
9084         * lyxtextclasslist.C:
9085         * minibuffer.C:
9086         * sp_spell.C:
9087         * tabular_funcs.C:
9088         * vc-backend.C:
9089         all c-library variables have been moved into namespace std. Wrap
9090         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9091
9092         * lyxlength.C:
9093         * tabular-old.C:
9094         * tabular.C:
9095         Add a using std::abs declaration.
9096
9097         * kbmap.h (modifier_pair):
9098         * paragraph.h (InsetTable, InsetList):
9099         * lyxfont.h (FontBits):
9100         type definition made public.
9101
9102         * bufferlist.C (emergencyWriteAll): the compiler complains that
9103         there is more than one possible lyx::class_fun template to choose from.
9104         I re-named the void specialisation as lyx::void_class_fun.
9105
9106         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9107
9108         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9109         the compiler is is unable to find tostr in write_attribute.
9110
9111 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9112
9113         * buffer.C (sgmlError): hide #warning
9114
9115 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9116
9117         * xtl/*: get rid of xtl, which is not in use anyway
9118
9119         * LyXAction.C (init):
9120         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9121         were unimplemented xtl experimentation
9122
9123 2002-06-04  André Pönitz <poenitz@gmx.net>
9124
9125         * lyxfunc.C: disable array operation on simple formulae
9126
9127 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * converter.C: constify a bit
9130
9131 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * lyx_gui.C: check xforms version correctly
9134
9135 2002-04-30  Herbert Voss  <voss@lyx.org>
9136
9137         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9138         "keep" option
9139
9140 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9143           attempt to register it with a VCS)
9144
9145 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9146
9147         * lyx_main.C (init): honor variables LYX_DIR_13x and
9148         LYX_USERDIR_13x
9149
9150 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9151
9152         * buffer.h:
9153         * buffer.C:
9154         * lyx_main.C: fix a crash on bad command line,
9155           and give a useful exit status on error
9156
9157         * lyxfunc.C (doImport): allow -i lyx to work
9158
9159 2002-03-30  André Pönitz <poenitz@gmx.net>
9160
9161         * lyxfunc.C: mathed font changes
9162
9163 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9164
9165         * LaTeX.C:
9166         * importer.h:
9167         * importer.C:
9168         * lyx_sty.h:
9169         * lyx_sty.C:
9170         * lyxlex.C:
9171         * lyxrow.h:
9172         * lyxtext.h:
9173         * paragraph.h:
9174         * paragraph.C:
9175         * texrow.h:
9176         * texrow.C:
9177         * text.C:
9178         * trans_mgr.h: srcdocs, and some minor cleanups
9179
9180 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9181
9182         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9183         call getFont all the time)
9184
9185 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * switch from SigC signals to boost::signals
9188
9189 2002-05-29  André Pönitz <poenitz@gmx.net>
9190
9191         * paragraph_pimpl.C (getChar): don't call size() too often...
9192
9193 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * paragraph_pimpl.C (insertChar): do not try to update tables when
9196         appending (pos == size())
9197
9198         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9199         in order to reduce drastically the number of comparisons needed to
9200         parse a large document
9201
9202 2002-05-29  André Pönitz <poenitz@gmx.net>
9203
9204         * text.C:
9205         * text2.C:
9206         * lyxtextclass.C:
9207         * sp_pspell.h:
9208         * textclasslist.[Ch]:
9209         * sp_ispell.h: whitespace change
9210
9211 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9212
9213         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9214         lyxaction directly now.
9215
9216 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9217
9218         * trans.C:
9219         * lyxfont.C:
9220         * lyxvc.C: remove unused headers
9221
9222 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9223
9224         * Makefile.am:
9225         * buffer.h:
9226         * undostack.h:
9227         * undostack.C:
9228         * undo_funcs.h:
9229         * undo_funcs.C: some cleanups. Use shared_ptr
9230           and a template for the undo stacks.
9231
9232 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9233
9234         * BufferView_pimpl.h:
9235         * BufferView_pimpl.C:
9236         * kbmap.h:
9237         * kbmap.C:
9238         * kbsequence.h:
9239         * kbsequence.C:
9240         * lyxfunc.h:
9241         * lyxfunc.C:
9242         * text2.C: use key_state/mouse_state
9243
9244 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9247         and LSubstring
9248
9249         * chset.C: change include order
9250         (loadFile): use boost regex and get rid of LRegex and LSubstring
9251
9252         * Makefile.am (BOOST_LIBS): new variable
9253         (lyx_LDADD): use it
9254
9255         * LaTeX.C: change include order.
9256         (scanAuxFile): use boost regex and get rid of LRegex and
9257         LSubstring
9258         (deplog): ditto
9259
9260 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * ColorHandler.h:
9263         * ColorHandler.C:
9264         * FontInfo.h:
9265         * FontInfo.C: moved to frontends/xforms/
9266
9267         * FontLoader.h:
9268         * FontLoader.C: moved into frontends for GUIIzation
9269
9270         * Makefile.am:
9271         * lyx_gui.C:
9272         * lyxfont.C:
9273         * lyxfunc.C: changes from above
9274
9275 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * LColor.C: remove spurious X include
9278
9279         * BufferView_pimpl.C:
9280         * Makefile.am:
9281         * font.h:
9282         * font.C:
9283         * text.C:
9284         * text2.C: move font metrics to frontends/
9285
9286 2002-05-24  Juergen Vigna  <jug@sad.it>
9287
9288         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9289         setting the undo_cursor.
9290
9291         * ParagraphParameters.h: include local includes first.
9292
9293 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.C:
9296         * BufferView_pimpl.h:
9297         * Makefile.am:
9298         * WorkArea.h:
9299         * WorkArea.C:
9300         * screen.C: move WorkArea into frontends/
9301
9302         * lyxscreen.h:
9303         * screen.C:
9304         * text.C:
9305         * BufferView.C:
9306         * BufferView2.C: move LyXScreen into frontends/
9307
9308         * lyxlookup.h:
9309         * lyxlookup.C:
9310         * lyx_gui.C: move lyxlookup into frontends/xforms/
9311
9312 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * BufferView2.C:
9315         * BufferView_pimpl.C:
9316         * FontLoader.C:
9317         * LyXView.h:
9318         * LyXView.C:
9319         * Makefile.am:
9320         * WorkArea.C:
9321         * XFormsView.h:
9322         * XFormsView.C:
9323         * buffer.C:
9324         * bufferlist.C:
9325         * bufferview_funcs.C:
9326         * converter.C:
9327         * importer.C:
9328         * lyx_cb.C:
9329         * lyx_gui.C:
9330         * lyx_main.C:
9331         * lyx_find.C:
9332         * lyxfunc.C:
9333         * lyxvc.C:
9334         * minibuffer.C:
9335         * text.C:
9336         * text2.C:
9337         * trans.C:
9338         * vc-backend.C: move LyX/XFormsView into frontends/
9339
9340 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * Makefile.am:
9343         * PainterBase.C:
9344         * PainterBase.h:
9345         * Painter.C:
9346         * Painter.h:
9347         * WorkArea.C:
9348         * WorkArea.h:
9349         * screen.C:
9350         * tabular.C:
9351         * text.C:
9352         * text2.C: move Painter to frontends/
9353
9354 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9355
9356         * buffer.C: comment out some some code that depend upon lyx_format
9357         < 220
9358
9359         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9360         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9361
9362         * buffer.h (NO_COMPABILITY): turn off compability
9363
9364         * ColorHandler.C: include scoped_array.hpp
9365
9366         * font.C: Use more specific smart_ptr header.
9367         * Painter.C: ditto
9368         * gettext.C: ditto
9369         * ShareContainer.h: ditto
9370         * lyx_main.h: ditto
9371         * kbmap.h: ditto
9372         * FontInfo.h: ditto
9373         * BufferView_pimpl.h: ditto
9374         * ColorHandler.h: ditto
9375
9376         * kbmap.C (defkey): change call to shared_ptr::reset
9377
9378 2002-05-21  Juergen Vigna  <jug@sad.it>
9379
9380         * buffer.C (insertErtContents): fix to insert ert asis if it is
9381         non empty. Skip it completely if it contains only whitespaces.
9382
9383 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * BufferView_pimpl.C:
9386         * BufferView2.C: clear selection on paste (bug 393)
9387
9388 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9389
9390         * DepTable.C: include ctime
9391
9392 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9393
9394         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9395
9396 2002-05-14  Juergen Vigna  <jug@sad.it>
9397
9398         * text.C (breakParagraph): fixed function to honor the keepempty
9399         layout in the right maner and also to permit the right breaking
9400         algorithm on empty or non empyt keepempty paragraphs.
9401
9402         * paragraph.C (breakParagraph): we have to check also if the par
9403         is really empty (!size()) for isempty otherwise we do the wrong
9404         paragraph break.
9405
9406 2002-05-10  Juergen Vigna  <jug@sad.it>
9407
9408         * buffer.[Ch] : The following are only changes to the ert
9409         compatibility read reading old LaTeX layout and font stuff and
9410         convert it to ERTInsets.
9411
9412         * buffer.h: added isErtInset().
9413
9414         * buffer.C (struct ErtComp): add a fromlayout bool to check
9415         if we're inside a LaTeX layout.
9416         (isErtInset): new helper function.
9417         (insertErtContents): look for other ert insets before this one
9418         and insert the contents there, so that we don't have subsequent
9419         ERT insets with nothing between them. This way we create only one
9420         inset with multiple paragraphs. Also check if we don't insert only
9421         spaces ' ' as they are ignored anyway afterwards in the .tex file
9422         so if we have only spaces we will ignore this latex part in the
9423         new file.
9424         (parseSingleLyXformat2Token \\layout): better compatibility when
9425         reading layout-latex stuff.
9426         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9427         language tag.
9428         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9429         stuff after reading the inset only get the information back from
9430         the stack.
9431
9432 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9435
9436         * LaTeXFeatures.C (getBabelOptions): New method.
9437
9438 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9439
9440         * BufferView_pimpl.C (Dispatch): work around missing argument for
9441         'layout'
9442
9443 2002-05-08  Juergen Vigna  <jug@sad.it>
9444
9445         * text.C (leftMargin): handle paragraph leftindent.
9446
9447         * paragraph.C (writeFile): write the new \\leftindent tag.
9448         (validate): handle leftindent code.
9449         (TeXEnvironment): handle paragraphleftindent code again.
9450
9451         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9452
9453         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9454         for paragrap_extra indent code and new token \\leftindent.
9455         (latexParagraphs): handle the leftindent as environment.
9456
9457         * ParameterStruct.h: added leftindent support.
9458
9459         * ParagraphParameters.C (leftIndent): added support functions for
9460         the paragraph left indent.
9461
9462         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9463         more appropriate.
9464
9465 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9468         inside insetERT.
9469
9470         * text.C (computeBidiTables): No bidi in insetERT.
9471
9472         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9473         in RTL documents.
9474
9475 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9476
9477         * version.C.in: pre 5
9478
9479 2002-05-02  José Matos  <jamatos@fep.up.pt>
9480         * buffer.C (makeDocBookFile): white space changes, add newline to
9481         command styles.
9482         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9483
9484         * tabular.C (docBook): fix typo.
9485
9486 2002-05-03  Juergen Vigna  <jug@sad.it>
9487
9488         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9489         change in LyXText as we can not be sure it was not freed.
9490         (drawOneRow): remove unused code.
9491
9492         * text.C (drawInset): redo the calculation of the need_break_row as
9493         it could have a row which was already freed.
9494         (draw): look at the return value of drawInset and return false if
9495         it also returned false.
9496         (paintRowText): look at the return value of draw and return false if
9497         it also returned false.
9498
9499         * lyxtext.h: added bool return type to drawInset() and draw() so that
9500         if we have a change in the row so that the rowbreak has to be redone
9501         we abort drawing as it will be called again.
9502
9503 2002-05-02  Juergen Vigna  <jug@sad.it>
9504
9505         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9506         a change in the maintext also if we're inside an inset.
9507         (Dispatch): set the cursor again after a break line and after the
9508         screen has been updated as it could be we're in a different row.
9509
9510         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9511         to set the cursor behind the pargraph with > size().
9512         (setCursor): check also for the same paragraph when checking where
9513         to put the cursor if we have a NFR inset.
9514
9515         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9516         parts of layout read further up as it still was in the wrong
9517         position.
9518
9519 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9520
9521         * screen.C (drawFromTo): change sine fullRebreak always return
9522         true.
9523
9524         * buffer.C (parseSingleLyXformat2Token): reindent some
9525
9526         * BufferView_pimpl.C (update): change since fullRebreak always
9527         return true.
9528         (Dispatch): git rid of the last hardcoded "Standard"s.
9529
9530 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * text2.[Ch] (fullRebreak): make it return void now that we always
9533         returned true.
9534
9535 2002-04-30  Juergen Vigna  <jug@sad.it>
9536
9537         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9538         ert compatibility check for "latex" layout.
9539
9540 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9541
9542         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9543         minipages: use col% instead of p%, and also use the current font.
9544         (makeLaTeXFile): Fix use babel condition.
9545         (parseSingleLyXformat2Token): Correct font when reading old floats.
9546
9547 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9548
9549         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9550         inserting list of floats.
9551
9552 2002-04-25  Herbert Voss  <voss@lyx.org>
9553
9554         * MenuBackend.C (expand): don't add the graphics extensions to the
9555         export menu
9556
9557 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9560         non-existing layout, do not complain if it was the default layout
9561         of the original class (bug #342)
9562
9563 2002-04-24  Juergen Vigna  <jug@sad.it>
9564
9565         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9566         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9567
9568 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9569
9570         * buffer.C (getBibkeyList): If using \bibliography, return the
9571         option field with the reference itself. Enables us to provide natbib
9572         support when using \bibliography.
9573
9574 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9575
9576         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9577
9578         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9579         natbib is provided by the LaTeX class.
9580
9581 2002-04-23  Juergen Vigna  <jug@sad.it>
9582
9583         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9584         Wakeup functions.
9585
9586         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9587
9588 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9591
9592         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9593         ensuremath around textordmasculine, textordfeminine and
9594         textdegree.
9595
9596 2002-04-19  Juergen Vigna  <jug@sad.it>
9597
9598         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9599         reinitializing the buffer otherwise row-dimensions may be wrong.
9600         (update): reset also the selection cursors if they do exits otherwise
9601         their x/y positions may be wrong.
9602
9603         * text2.C (cursorDown): don't enter the inset if we came from a row
9604         above and are one row over the inset.
9605
9606         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9607         really leaving an inset.
9608
9609 2002-04-18  Juergen Vigna  <jug@sad.it>
9610
9611         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9612         of the selected paragraph does not have the selected layout also if
9613         the last one had!
9614
9615         * text2.C (setLayout): fixed bug which did not change last selected
9616         paragraph.
9617
9618         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9619         changed the read and substituted \\end_float with \\end_inset!
9620
9621         * BufferView_pimpl.C (cursorPrevious):
9622         (cursorNext): fixed to make it work with rows heigher than the work
9623         area without moving the cursor only the draw of the row.
9624         (workAreaMotionNotify): fix jumping over high rows.
9625
9626 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9629         Ressler.
9630
9631 2002-04-16  Juergen Vigna  <jug@sad.it>
9632
9633         * text2.C (setCursor): set also the irow().
9634         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9635         (cursorUp):
9636         (cursorDown): support for locking an inset if the x_fix value goes
9637         inside it. That way I can transverse insets too with cursor up/down.
9638
9639         * lyxrow.h: added irow helper function same as other (i) functions.
9640
9641         * BufferView_pimpl.C (cursorPrevious):
9642         (cursorNext): fixed for insets!
9643
9644 2002-04-15  Juergen Vigna  <jug@sad.it>
9645
9646         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9647         position otherwise it is wrong in some cases.
9648
9649         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9650         inside the inset before the call.
9651
9652 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9653
9654         * buffer.[Ch] (getBibkeyList): make it const.
9655
9656 2002-04-12  Juergen Vigna  <jug@sad.it>
9657
9658         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9659
9660         * text2.C (getCursorX): new helper function
9661         (setCursor): compute also ix_
9662         (setCursorFromCoordinates): set also ix.
9663
9664         * lyxcursor.h: added ix_ and helper functions.
9665
9666         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9667
9668         * buffer.C (insertStringAsLines): dont break paragraph if the this
9669         paragraph is inside an inset which does not permit it!
9670
9671         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9672         also with no chars on this paragraph.
9673         (paintRowText): only paint stuff if it's inside the workarea!
9674
9675         * paragraph.C (breakParagraph): honor keepempty flag and break the
9676         paragraph always below not above.
9677
9678         * BufferView2.C (unlockInset): update the paragraph layout on inset
9679         unlock as we changed paragraph in such a case.
9680
9681         * lyxfind.C (LyXFind): clear the former selection if not found!
9682
9683         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9684         again called in insertChar().
9685
9686         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9687         an inset which uses the whole row!
9688         (rightMargin): ditto.
9689         (insertChar): force a rebreak if we inserted an inset!
9690
9691 2002-03-28  Herbert Voss  <voss@lyx.org>
9692
9693         * lyxlength.[Ch]: add inBP() to get the right PS-point
9694         units (BigPoint). With inPixels we have rounding errors
9695
9696 2002-04-11  Juergen Vigna  <jug@sad.it>
9697
9698         * text2.C (setCursorFromCoordinates): set iy to the right value.
9699         (setCursor): add check if row->previous exists!
9700
9701         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9702         an old float_type as this was the case in the old code!
9703
9704         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9705
9706         * BufferView2.C (showLockedInsetCursor): use iy
9707         (fitLockedInsetCursor): ditto
9708
9709         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9710         locked insets as there we have the right value now.
9711
9712         * lyxcursor.C: added iy_ variable and iy functions to set to the
9713         baseline of cursor-y of the locked inset.
9714
9715         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9716         (setCursor): fixed for insets which need a full row.
9717
9718         * text.C (rowLastPrintable): don't ignore the last space when before
9719         an inset which needs a full row.
9720         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9721         as last character of a row when before a inset which needs a full row.
9722
9723 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * version.C.in: update date
9726
9727         * text2.C (fullRebreak): try to always return true and see what
9728         happens...
9729
9730 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * MenuBackend.C (expand): use Floating::listName
9733
9734         * FloatList.C (FloatList): add listName argument to the built-in
9735         floats
9736
9737         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9738         text associated with the float.
9739
9740 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9741
9742         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9743
9744 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * ShareContainer.h: add a couple of missing typenames.
9747
9748 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9749
9750         * lyxrc.C (getDescription): use _() correctly rather than N_().
9751
9752 2002-03-28  Herbert Voss  <voss@lyx.org>
9753
9754         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9755         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9756
9757 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9760         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9761
9762 2002-03-29  Juergen Vigna  <jug@sad.it>
9763
9764         * lyxfunc.C (dispatch): add a missing fitCursor call.
9765
9766         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9767         it was scrolled by a cursor move, so return the bool status.
9768
9769         * BufferView.C (fitCursor): return the bool flag also to the outside
9770         world as this is needed.
9771
9772         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9773
9774         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9775         call the edit() as it is not needed (and wrong) IMO.
9776         (workAreaButtonPress): set the screen_first variable before evt.
9777         unlock the inset as this may change screen_first and then we have
9778         a wrong y position for the click!
9779
9780 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * MenuBackend.C (expand): another translation that I missed
9783
9784 2002-03-28  Juergen Vigna  <jug@sad.it>
9785
9786         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9787
9788         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9789
9790 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9793
9794         * MenuBackend.C (expand): fix export/view/update when there is no
9795         document open.
9796
9797 2002-03-27  Herbert Voss  <voss@lyx.org>
9798
9799         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9800         and text%
9801
9802 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * bufferview_funcs.C (currentState): only show paragraph number
9805         for is DEVEL_VERSION is set.
9806
9807         * lyxfunc.C (dispatch): put warning in INFO channel
9808
9809         * MenuBackend.C (expand): translate the name of floats
9810
9811         * FloatList.C (FloatList): mark the float names for translation
9812
9813         * converter.C (convert): use LibScriptSearch
9814
9815 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * MenuBackend.C (defaults): fix default menu (we might as well get
9818         rid of it...)
9819
9820 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9821
9822         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9823         directory.
9824
9825 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9826
9827         * lyxvc.C: reorder includes.
9828
9829 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9832           properly
9833
9834 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * CutAndPaste.C: change layouts earlier on paste
9837           to avoid crashing when calling getFont()
9838
9839 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9840
9841         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9842         irritating #error.
9843
9844 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9845
9846         * WorkArea.C: remove 'Pending' debug message.
9847
9848         * most files: ws cleanup
9849
9850         * buffer.[Ch]: ws changes
9851
9852         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9853
9854 2002-03-21  Juergen Vigna  <jug@sad.it>
9855
9856         * tabular.C (SetMultiColumn): collapse also the contents of the
9857         cells and set the last border right. Added a Buffer const * param.
9858
9859 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9860
9861         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9862         linking or not.
9863
9864 2002-03-19  Juergen Vigna  <jug@sad.it>
9865
9866         * text2.C (clearSelection): reset also xsel_cache.
9867
9868         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9869         where it needs to be called (John tells us to do so too :)
9870         (selectionLost): reset sel_cache.
9871
9872         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9873
9874 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * text2.C (setCursorIntern): put debuging code in INSETS channel
9877
9878 2002-03-19  André Pönitz <poenitz@gmx.net>
9879
9880         * lyxfunc.C: tiny whitespace change
9881
9882 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * ToolbarDefaults.C (init):
9885         * LyXAction.C (init):
9886         * commandtags.h:
9887         * BufferView_pimpl.C (Dispatch):
9888         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9889
9890 2002-03-19  Allan Rae  <rae@lyx.org>
9891
9892         * exporter.C (Export): removeAutoInsets before doing anything else.
9893         While I've just introduced a dependency on BufferView this really is
9894         the best place to clean the buffer otherwise you need to cleanup in
9895         a dozen places before calling export or cleanup in a dozen functions
9896         that export calls.
9897
9898         * converter.C (runLaTeX):
9899         (scanLog): Better handling of removeAutoInsets and screen updates.
9900
9901         * lyxfunc.C (dispatch): small whitespace changes
9902
9903 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9904
9905         * WorkArea.C (C_WorkAreaEvent): return a value.
9906         (event_cb): return 1 if we handled the event, 0 otherwise.
9907
9908         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9909
9910 2002-03-18  Juergen Vigna  <jug@sad.it>
9911
9912         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9913         (GetAdditionalWidth): ditto.
9914         (RightLine): ditto.
9915         (LeftLine): ditto.
9916
9917         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9918         inset if we're there actually (probably not used right now but this
9919         is the direction to go for unifying code).
9920         (paste): disable code to clear the selection.
9921
9922         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9923         inside an InsetText and move the check further up as it is in the
9924         wrong place.
9925
9926         * text2.C (pasteSelection): set a selection over the pasted text.
9927
9928 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9929
9930         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9931         and libgraphics to build on Cygwin.
9932
9933 2002-03-15  Juergen Vigna  <jug@sad.it>
9934
9935         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9936         inserting an Inset into the paragraph. I know this is not the best
9937         fix but we already use current_view in CutAndPaste so we will remove
9938         all of it's using at the same time.
9939
9940         * buffer.C (sgmlError): deactivated function till it is rewritten in
9941         the right mode, now it can create problems.
9942
9943         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9944         before accessing it.
9945
9946 2002-03-14  Juergen Vigna  <jug@sad.it>
9947
9948         * undo_funcs.C (textHandleUndo): do the right thing when updating
9949         the inset after the undo/redo.
9950
9951         * text2.C (setCursor): just some testcode for #44 not ready yet.
9952
9953         * undo_funcs.C (textHandleUndo): set the next() and previous()
9954         pointers of the paragraph to 0 before deleting otherwise we have
9955         problems with the Paragraph::[destructor].
9956
9957         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9958         on a paragraph insertion.
9959
9960 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9961
9962         * buffer.C (asciiParagraph): use += operator for char append to
9963         string.
9964
9965         * paragraph.C (getFontSettings): compare >= not just >
9966         (highestFontInRange): ditto
9967         (setFont): ditto
9968
9969 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * paragraph.C: change several algorithm to be more appripriate for
9972         the problem domain. This is lookip in FontList and in the InsetList.
9973
9974 2002-03-13  André Pönitz <poenitz@gmx.net>
9975
9976         * commandtags.h:
9977         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9978
9979 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * commandtags.h:
9982         * LyXAction.C:
9983         * lyxfunc.C:
9984         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9985
9986 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * Painter.C (display): anon helper function, adjust code for this
9989         change.
9990         (pixmap): remove function.
9991
9992         * Painter.h: remove private display variable.
9993
9994         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9995
9996 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9997
9998         * WorkArea.[Ch]: remove figinset_canvas cruft.
9999
10000 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10001
10002         * lyxtextclass.C (operator): add one item cache optimization.
10003
10004         * bufferlist.h: doxy changes
10005
10006         * bufferlist.C: ws changes
10007
10008         * DepTable.[Ch] (ext_exist): place const in the right spot.
10009
10010         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10011         call resizeInsets.
10012         (workAreaExpose): call resizeInsets when the with BufferView changes.
10013         (Dispatch): adjust for protectedBlank removal
10014         (specialChar): call updateInset if the insert went ok.
10015
10016         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10017         specialChar instead.
10018
10019         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10020
10021         * BufferView.h: doxy change
10022
10023         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10024
10025         * lyxtextclass.C (operator[]): remove non-const version
10026         (defaultLayout): remove non-const version
10027
10028 2002-03-12  Juergen Vigna  <jug@sad.it>
10029
10030         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10031         did resize the LyXText too.
10032
10033         * buffer.C (readLyXformat2): set layout information on newly allocated
10034         paragraphs.
10035
10036         * tabular.C (OldFormatRead): set layout information on the paragraph.
10037
10038 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10039
10040         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10041
10042 2002-03-11  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10045         plainly wrong.
10046         (resizeCurrentBuffer): force also the insets to resize themselfes.
10047         (moveCursorUpdate): fixed up for InsetText.
10048
10049 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10050
10051         * commandtags.h:
10052         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10053         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10054         value of Dialogs::tooltipsEnabled().
10055         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10056
10057 2002-03-08  Juergen Vigna  <jug@sad.it>
10058
10059         * BufferView_pimpl.C (updateInset): update inset inside inset also
10060         if it isn't inside theLockingInset().
10061
10062 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10063
10064         * buffer.C (asciiParagraph): redo some of the word and line length
10065         handling.
10066         (getLists): look for Caption instead of caption.
10067
10068 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * buffer.C (Buffer): initialize niceFile to true
10071         (makeLaTeXFile):
10072         (makeLinuxDocFile):
10073         (makeDocBookFile): make sure niceFile is true on exit
10074
10075 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10078
10079 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10080
10081         * LyXSendto.C: remove.
10082         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10083         * lyx_gui.C: remove now-redundant comment.
10084         * ColorHandler.h: remove forward declaration of class WorkArea.
10085         * lyxfunc.C: remove #include "WorkArea.h".
10086
10087 2002-03-07  Juergen Vigna  <jug@sad.it>
10088
10089         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10090         got moved away with the DEPM and also set the inset_owner always
10091         right which before could have been omitted.
10092
10093 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10096         wanted layout is not found.
10097
10098 2002-03-07  Juergen Vigna  <jug@sad.it>
10099
10100         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10101
10102 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10103
10104         * paragraph.C (breakParagraph): use default layout not layout of
10105         prev paragraph.
10106         (Paragraph): clear ParagraphParameters.
10107
10108 2002-03-06  Juergen Vigna  <jug@sad.it>
10109
10110         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10111         otherwise it would not be a valid lenght. Fixed a special case in
10112         the minipage compatibility read where we end the document with a
10113         minipage.
10114
10115         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10116         was set as it could be 0 for InsetTexts first entry.
10117
10118 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * paragraph.C (writeFile): if layout is empty write out
10121         defaultLayoutName().
10122
10123         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10124         file without named layout we set layout to defaultLayoutName().
10125
10126 2002-03-06  Juergen Vigna  <jug@sad.it>
10127
10128         * CutAndPaste.C (copySelection): set layout for new paragraph.
10129
10130         * text.C (prepareToPrint): leave ERT inset left aligned
10131         (leftMargin): don't indent paragraphs inside ERT insets
10132
10133 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10134
10135         * paragraph.C (breakParagraph): dont call clear do the work manually
10136
10137         * paragraph.[Ch] (clear): remove function
10138
10139 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * paragraph.C (Paragraph): dont call clear, the work has already
10142         been done.
10143
10144         * lyxtextclass.C (operator): assert if n is empty
10145
10146         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10147         work manually instead.
10148
10149 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * BufferView_pimpl.C: protect selectionLost against text == 0
10152
10153 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10154
10155         * text.C (breakParagraph): fix a setting layout to '0' problem.
10156
10157 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10158
10159         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10160         final location of file, for the included files, and graphics.
10161
10162 2002-03-05  Juergen Vigna  <jug@sad.it>
10163
10164         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10165
10166 2002-03-04  Juergen Vigna  <jug@sad.it>
10167
10168         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10169
10170         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10171         last column of multicolumn cells.
10172         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10173
10174 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10175
10176         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10177         file if it doesn't go to a temporary file.
10178
10179         * buffer.C (sgmlOpenTag):
10180         (sgmlCloseTag):  remove extra newline insertion.
10181
10182 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * text.C (getRowNearY): comment out debug msg
10185
10186 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10187
10188         * text2.C: first -> first_y
10189
10190         * text.C (getRowNearY): add some attemts at a possible
10191         optimization, not working.
10192
10193         * tabular.[Ch]: add BufferParams to several function so that newly
10194         created paragraph can be initialized to he default layotu for the
10195         buffers textclass.
10196
10197         * tabular-old.C (ReadOld): add buf->params to call of Init
10198
10199         * screen.C: rename text->first to text->first_y
10200
10201         * paragraph.C (breakParagraph): always set layout in the broken
10202         paragraph
10203
10204         * lyxtextclass.C (Read): remove lowercase
10205         (hasLayout): ditto
10206         (operator): ditto
10207         (delete_layout): ditto
10208
10209         * lyxtext.h: rename first -> first_y
10210
10211         * lyxlayout.C (Read): remove lowercase
10212         (name): ditto
10213         (setName): ditto
10214         (obsoleted_by): ditto
10215
10216         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10217
10218         * buffer.C (insertErtContents): add params are to InsetERT
10219         (parseSingleLyXformat2Token): add code to check if a paragraphs
10220         layout really exist.
10221         (parseSingleLyXformat2Token): add params to several inset
10222         constructors
10223         (asciiParagraph): remove lowercase, do the layout comparisons with
10224         no_case
10225
10226         * BufferView_pimpl.C (cursorNext): first -> first_y
10227         (resizeCurrentBuffer): first -> first_y
10228         (updateScrollbar): first -> first_y
10229         (scrollCB): first -> first_y
10230         (workAreaMotionNotify): first -> first_y
10231         (workAreaButtonPress): first -> first_y
10232         (checkInsetHit): first -> first_y
10233         (cursorPrevious): first -> first_y
10234         (cursorNext): first -> first_y
10235         (Dispatch): add buffer_->params to severl inset contructors
10236
10237 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * lyxlayout.C (Read): remove some debug info that I forgot.
10240
10241         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10242         clean up the code slightly.
10243         (makeLinuxDocFile): ditto
10244         (makeDocBookFile): ditto
10245
10246         * text2.C: layout as string
10247
10248         * text.C: layout as string
10249
10250         * paragraph_pimpl.C: layout as string
10251
10252         * paragraph.[Ch]: layout as string
10253
10254         * lyxtextclasslist.[Ch]: layout as string
10255
10256         * lyxtextclass.[Ch]: layout as string
10257
10258         * lyxtext.h: layout as string
10259
10260         * lyxlayout.[Ch]: layout as string
10261
10262         * lyx_cb.C: layout as string
10263
10264         * bufferview_funcs.C: layout as string
10265
10266         * bufferparams.C: layout as string
10267
10268         * buffer.C: layout as string
10269
10270         * LyXView.[Ch]: layout as string
10271
10272         * LaTeXFeatures.[Ch]: layout as string
10273
10274         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10275
10276         * BufferView_pimpl.C: change current_layout to string, remove
10277         lyx::layout_type.
10278         (Dispatch):
10279         (smartQuote):
10280         (insertInset):
10281         (workAreaButtonRelease): layout as string
10282
10283         * BufferView2.C (unlockInset): adjust
10284
10285         * vspace.C (asLatexCommand): use an explict temp variable.
10286
10287 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * Makefile.am: use FRONTEND_*
10290
10291 2002-03-01  Juergen Vigna  <jug@sad.it>
10292
10293         * tabular.C (SetWidthOfMulticolCell): changed to something better
10294         I hope but still work in progress.
10295         (recalculateMulticolumnsOfColumn): renamed function from
10296         recalculateMulticolCells as it is more appropriate now.
10297         (SetWidthOfCell): calculate multicols better.
10298
10299 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10302
10303         * lyxfunc.C (processKeySym): print sequence also if it is
10304         `deleted' (complete)
10305
10306         * kbsequence.C (print): print sequence even if it is deleted
10307         (complete would be a better word, actually).
10308
10309         * lyxfunc.C (dispatch): print complete options after a prefix key
10310
10311         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10312
10313 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10314
10315         * text2.C (setCharFont): eliminate setCharFont code duplication.
10316
10317 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10320         LFUN_TABULAR_FEATURE (bug #177)
10321
10322 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * Makefile.am: remove figure.h
10325
10326 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10327
10328         * Bufferview_pimpl.C:
10329         * CutAndPasteC:
10330         * LaTeX.C:
10331         * LyXSendto.C:
10332         * buffer.C:
10333         * bufferlist.C:
10334         * converter.C:
10335         * language.C:
10336         * lyxfunc.C:
10337         * lyxvc.C:
10338         * paragraph.C:
10339         * text.C:
10340         * text2.C: remove #include "lyx_gui_misc.h".
10341
10342         * LaTeX.C: added #include <cstdio>
10343
10344 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10347         that the paragraph following this one can have.
10348
10349         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10350
10351         * vspace.C (asLatexCommand): fix bogus gcc warning
10352
10353         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10354
10355 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10356
10357         * text2.C (setLayout): get rid of redundant code
10358
10359 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10360
10361         * text2.C (incDepth): make sure depth cannot be increased beyond
10362         reasonable values.
10363
10364 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10365
10366         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10367         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10368
10369         * PainterBase.h (image):
10370         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10371         a LyXImage const *.
10372
10373 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * BufferView.C:
10376         * BufferView.h:
10377         * BufferView_pimpl.C:
10378         * BufferView_pimpl.h:
10379         * LaTeXFeatures.C:
10380         * LyXAction.C:
10381         * LyXView.C:
10382         * Makefile.am:
10383         * UpdateList.h:
10384         * UpdateList.C:
10385         * buffer.C:
10386         * figure.h:
10387         * figureForm.C:
10388         * figureForm.h:
10389         * figure_form.C:
10390         * figure_form.h:
10391         * lyx_cb.C:
10392         * lyx_gui.C:
10393         * lyx_gui_misc.C:
10394         * lyxfunc.C:
10395         * sp_base.h:
10396         * sp_ispell.h:
10397         * sp_pspell.h:
10398         * sp_spell.C: remove fig inset, and the crap house of
10399           cards that follows it
10400
10401 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * Makefile.am:
10404         * lyxserver.C:
10405         * os2_defines.h:
10406         * os2_errortable.h:
10407         * nt_defines.h: move .h into support/
10408
10409         * vms_defines.h: remove
10410
10411         * WorkArea.C: add space in debug output
10412
10413         * text2.C:
10414         * paragraph.C:
10415         * buffer.C: add WITH_WARNINGS
10416
10417         * vc-backend.h:
10418         * vc-backend.C:
10419         * bufferlist.C: s/retrive/retrieve/, add docs
10420
10421         * vspace.h:
10422         * vspace.C:
10423         * kbmap.h:
10424         * lyxlength.h:
10425         * lyxgluelength.h:
10426         * length_common.h:
10427         * chset.h:
10428         * chset.C: add docs
10429
10430         * lyxgui.C: add ID to X error handler
10431
10432         * lyxtestclass.c: fix typo
10433
10434 2002-02-26  Juergen Vigna  <jug@sad.it>
10435
10436         * tabular_funcs.C (write_attribute): changed so that some default
10437         attributes are not written at all.
10438         (getTokenValue): set default values before trying to read the
10439         value so we have the return value always set as default if we don't
10440         find the token we search for.
10441
10442         * tabular.C (Write): write bools as bools not as strings!
10443
10444 2002-02-22  Juergen Vigna  <jug@sad.it>
10445
10446         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10447         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10448
10449         * text.C (leftMargin): don't add an indent for paragraphs inside
10450         tabular cells (fix #208).
10451
10452 2002-02-21  José Matos  <jamatos@fep.up.pt>
10453
10454         * tabular.C (docBook): fixed support for long tables.
10455
10456 2002-02-20  Juergen Vigna  <jug@sad.it>
10457
10458         * text2.C (getFont): get the drawing font of the Inset if this
10459         paragraph is inside an inset (only important for InsetERT for now).
10460
10461         * buffer.C (insertErtContents): use new lanugage params in ERT
10462         constructor.
10463
10464         * CutAndPaste.C: commenting out seemingly uneeded code.
10465
10466 2002-02-19  Allan Rae  <rae@lyx.org>
10467
10468         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10469         Iterators might be simple to use but they also get invalidated.
10470         (removeAutoInsets): renamed saved cursor tracking variables and added
10471         some comments to clarify what everything does.
10472
10473 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10474
10475         * Chktex.C:
10476         * LaTeX.C:
10477         * LyXSendto.C:
10478         * converter.C:
10479         * lyx_cb.C:
10480         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10481         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10482
10483         * lyxfunc.C:
10484         * vc-backend.h: remove #include "support/syscall.h"
10485
10486         * LaTeX.C:
10487         * LyXSendto.C:
10488         * converter.C: rearrange #includes in Lars' approved fashion.
10489
10490         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10491         forward declare class Timeout in the header file.
10492
10493         * XFormsView.C: changes due to the above.
10494
10495         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10496         similar to LyXView.
10497
10498         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10499         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10500
10501 2002-02-18  José Matos  <jamatos@fep.up.pt>
10502
10503         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10504         insets contents.
10505
10506 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10507
10508         * a lot of small ws changes
10509         * add a lot of using std::XXX
10510         * use std construcs some places where approp.
10511         * use some exisint stuff from lyxfunctional where approp.
10512         * Make file changes to use partial linking (lets test this now...)
10513
10514 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10515
10516         * Chktex.C:
10517         * buffer.C:
10518         remove #include "support/syscontr.h" as it's redundant. Always has been.
10519
10520         * Chktex.C:
10521         * LaTeX.C:
10522         * LyXSendto.C:
10523         * converter.C:
10524         * lyx_cb.C:
10525         * vc-backend.C:
10526         change Systemcalls::System to Systemcalls::Wait and
10527         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10528         No change of functionality, just reflects the stripped down Systemcalls
10529         class.
10530
10531 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10532
10533         * debug.[Ch]: add a GRAPHICS type to the enum.
10534
10535 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10538
10539         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10540         there is an inset.
10541
10542 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10545         match the changes below.
10546
10547         * text2.C (toggleInset): if there is not editable inset at cursor
10548         position, try to see if cursor is _inside_ a collapsable inset
10549         and close it.
10550
10551 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10554         document menu has a nice checkbox
10555
10556 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * lyxlength.C (asLatexString): change PW to output as percent of
10559         \textwidth.
10560
10561         * lengthcommon.C: change '%' to 't%'
10562
10563         * lyxfunc.C (dispatch): a few comments from Martin
10564
10565 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * WorkArea.h:
10568         * WorkArea.C:
10569         * BufferView_pimpl.h:
10570         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10571           the X selection.
10572
10573 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * vspace.C (inPixels): fix compiler warning
10576
10577 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * lyxfunc.C (getStatus): fix status message for disabled commands.
10580
10581 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * BufferView_pimpl.C: fix crash on close buffer
10584         during selection (#227)
10585
10586 2002-01-27  Herbert Voss  <voss@lyx.org>
10587
10588         * buffer.C: link old Figure to new graphic inset
10589
10590 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * FontLoader.C (getFontinfo): Change the latex font names in order
10593         to match the names of type1inst.
10594
10595 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596
10597         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10598
10599         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10600         (extchanged): ditto
10601         (ext_exist): ditto
10602         (remove_files_with_extension): ditto
10603         (remove_file): ditto
10604         (write): ditto
10605
10606         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10607         document is smaller than the work area height. Do not initialize
10608         static variables to 0.
10609
10610 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10613
10614         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10615         LFUN_LAYOUT_PARAGRAPHS.
10616
10617         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10618         tabular. It is possible to provide a possible cell, which will
10619         typically be the actcell from the corresponding insettabular
10620
10621         * lyxfunc.C (getStatus): small cleanup; disable
10622         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10623         true
10624
10625 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10628
10629         * paragraph.C (startTeXParParams):
10630         (endTeXParParams): new methods. The LaTeX code to
10631         start/end paragraph formatting
10632         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10633         empty (fixes bug #200)
10634
10635         * vspace.C (inPixels): adapt to the change below
10636         (inPixels): [later] more cleanups (remove unused variables)
10637
10638         * lyxlength.C (inPixels): change to use a width and a height as
10639         parameter.
10640
10641 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10644         Replaced with \paperwidth
10645
10646         * DepTable.C (insert): add std:: qualifier
10647
10648 2002-01-18  Allan Rae  <rae@lyx.org>
10649
10650         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10651         updated also?
10652
10653         * text.C (drawInset): Turned out I didn't know enough about how
10654         rebreaking worked.  This fixes most of the redraw problems.  I see
10655         an occasional cursor trail when a line is broken now and the cursor
10656         placement can seem out by a few pixels also after a rebreak.
10657
10658 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * buffer.C (parseSingleLyXformat2Token): update because minipage
10661         width is now a LyXLength
10662
10663         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10664
10665         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10666         math insets
10667
10668 2002-01-17  Juergen Vigna  <jug@sad.it>
10669
10670         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10671
10672         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10673         is set correctly and the inset is updated correctly.
10674
10675 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10678         the beginning of the loop.
10679
10680 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * lyxrc.C: improve help for use_scalable_fonts
10683
10684 2002-01-17  Allan Rae  <rae@lyx.org>
10685
10686         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10687
10688 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10691         make sure to set their inset_owner to the right value (bug #171)
10692
10693 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10694
10695         * DepTable.h
10696         * DepTable.C: Implement mtime checking to reduce time spent doing
10697         CRCs.
10698
10699 2002-01-16  Juergen Vigna  <jug@sad.it>
10700
10701         * tabular.C (GetAdditionalHeight): one of error fixed.
10702
10703         * lyxrc.C (output): small fix in writing use_pspell.
10704
10705 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10706
10707         * sp_base.h: #include LString.h
10708
10709 2002-01-16  Allan Rae  <rae@lyx.org>
10710
10711         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10712         Can someone check this please?
10713
10714         * text.C (drawInset): It was possible that p.row would be removed by
10715         breakAgainOneRow upsetting a few other settings.  There may be another
10716         small tweak possible by setting need_break_row = 0 when p.row has been
10717         removed but I don't know enough about the logic here.
10718
10719 2002-01-15  Allan Rae  <rae@lyx.org>
10720
10721         * text.C (insertChar): removed conditional truism.
10722
10723         * BufferView2.C (removeAutoInsets): More tweaks.
10724         cur_par_prev could be a stray pointer.  Check for trailing empty line
10725         in case last line was cur_par and only had an error inset on it.
10726
10727 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10730         absolute
10731
10732         * vc-backend.C (most methods):
10733         * exporter.C (Export):
10734         * converter.C (convert):
10735         (runLaTeX):
10736         * LyXSendto.C (SendtoApplyCB):
10737         * lyxfunc.C (dispatch):
10738         (menuNew):
10739         (open):
10740         (doImport):
10741         * lyx_cb.C (AutoSave):
10742         (InsertAsciiFile):
10743         * BufferView_pimpl.C (MenuInsertLyXFile):
10744         * buffer.C (runChktex): use Buffer::filePath().
10745
10746         * buffer.h: rename filename to filename_; rename filepath to
10747         filepath_ and make it private
10748         (filePath): new method
10749
10750         * buffer.C (writeFile): use fileName()
10751         (getLatexName):
10752
10753         * lyx_main.C (init): fix starting  of LyX when the binary is a
10754         link from so,ewhere else.
10755
10756         * minibuffer.C: include <cctype> for isprint
10757
10758 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10759
10760         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10761         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10762         name clash with InsetCollapsable's width function.
10763
10764 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * lastfiles.C: include <iterator>
10767
10768 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10769
10770         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10771         std::count.
10772
10773         * buffer.C (makeLaTeXFile): ditto.
10774         Also make loop operation more transparent.
10775
10776 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10777
10778         * ToolbarDefaults.C: remove trailing comma closing namespace.
10779
10780         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10781
10782         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10783         as in WorkArea.
10784
10785         * trans.C (Load): comment out unused variable, allowed.
10786
10787 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10788
10789         * minibuffer.[Ch] (append_char): new method to recieve input from the
10790         drop-down completion browser. If a key was pressed, then recieve this
10791         char and append it to the existing string.
10792         (peek_event): modify the positioning data passed to the completion
10793         browser so that it can be placed above the minibuffer rather than below.
10794 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * LyXAction.C (init): alloe error-next for readonly documents.
10797
10798         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10799         count.
10800
10801 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * bufferlist.C (readFile): create the buffer _after_ checking that
10804         the file exists.
10805
10806         * lyxfunc.C (verboseDispatch): fix handling of arguments
10807
10808         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10809
10810         * lyxrc.C: use string::erase() instead of initializing to "".
10811
10812
10813 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * BufferView_pimpl.h:
10816         * BufferView_pimpl.C:
10817         * WorkArea.h:
10818         * WorkArea.C:
10819         * text2.C: tell X when we have made a selection for copying
10820
10821 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * BufferView_pimpl.C (MenuInsertLyXFile):
10824         * lyxfunc.C (menuNew):
10825         (open):
10826         (doImport): add shortcuts to directory buttons
10827
10828         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10829         open a float)
10830
10831         * lyxfunc.C (setStatusMessage):
10832         (getStatusMessage): new methods
10833         (getStatus):use setStatusMessage instead of setErrorMessage
10834         (dispatch): when function is disabled, set error message here
10835         [instead of in getStatus previously]
10836
10837         * BufferView_pimpl.C (workAreaButtonRelease): update
10838         toolbar/menubar here too.
10839
10840 2002-01-13  Allan Rae  <rae@lyx.org>
10841
10842         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10843         Now seems indestructible.  Remaining task is to audit all other
10844         code affected by deleteEmptyParagraphMechanism.  One small quirk
10845         left is that an empty document with an error in the preamble can
10846         be made to report an error but no error box appears.  I don't know
10847         where it goes.
10848         (removeAutoInsets): Improved comments.
10849
10850 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * Thesaurus.h:
10853         * Thesaurus.C: update for Aiksaurus 0.14
10854
10855 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * text2.C (firstParagraph): removed member function, all uses
10858         replaces with ownerParagraph
10859         (redoParagraphs): here
10860         (updateInset): here
10861         (toggleAppendix): here
10862         * BufferView2.C (insertErrors): here
10863         (setCursorFromRow): here
10864
10865 2002-01-13  Allan Rae  <rae@lyx.org>
10866
10867         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10868         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10869         There is still a way to segfault this although you may have to do this
10870         multiple times: Have an InsetERT with an unknown command in it.
10871         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10872         <down-arrow>, <Enter> again, View->DVI, BANG!
10873
10874         * text2.C (setCursor):
10875         (deleteEmptyParagraphMechanism):
10876         * lyxtext.h (setCursor):
10877         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10878         Making use of the return value may help fix other bugs.
10879
10880 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10883
10884         * LyXView.C (updateMenubar): call MenuBar::update here
10885         (updateToolbar): but not here
10886         (showState): do not update toolbar/menubar
10887
10888         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10889         should need to care about that.
10890
10891         * lyxfunc.C (verboseDispatch): simplify a bit
10892         (getStatus): have a version which takes a pseudoaction, and
10893         another which requires a (kb_action,string).
10894
10895         * LyXAction.C (retrieveActionArg): make it work also when action
10896         is not a pseudo-action.
10897         (getActionName): simplify a bit
10898         (helpText):
10899
10900 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * lyxfunc.C (verboseDispatch): new families of methods with
10903         several ways to specify a command and a bool to indicate whether
10904         the command name and shortcut should be displayed in minibuffer
10905         (eventually, we could extend that to a finer bitmask like
10906         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10907         (dispatch): the pristine dispatch command which just, well,
10908         dispatchs! Note it still sets its result to minibuffer; I'm not
10909         sure we want that.
10910
10911         * lyxfunc.h: remove setHintMessage
10912
10913         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10914
10915 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * BufferView_pimpl.C (specialChar): delete new inset if we have
10918         not been able to insert it.
10919
10920         * kbmap.C: revert to using int instead of kb_action, since all we
10921         are dealing with is pseudo-actions.
10922
10923         * LyXAction.C (searchActionArg): change to return int instead of
10924         kb_action, since the result is a pseudoaction.
10925
10926 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10927
10928         * buffer.C (insertErtContents): Fix (partially) the font bug.
10929
10930 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10931
10932         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10933         as the other one is broken on my machine!
10934
10935 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10936
10937         * commandtags.h:
10938         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10939
10940 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10941
10942         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10943         reflect their actual use. Provide compatibility code for older lyxrc
10944         files.
10945
10946         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10947         FL_NORMAL_STYLE.
10948         change names of popup font variables in line with the changes to lyxrc.C
10949
10950 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10951
10952         * buffer.C (asciiParagraph): avoid outputing a word twice after
10953         an inset.
10954
10955         * lyxrc.C (getDescription): document that document_path and
10956         template_path can be empty.
10957
10958 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10959
10960         * LaTeXFeatures.C (getMacros):
10961         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10962
10963         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10964
10965         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10966         getPackages.
10967         (getPackages): rename feature "floats" to "float". Use an array to
10968         iterate over 'simple' features (i.e. just a \usepackage). Add
10969         handling of "amsmath" (renamed from "amsstyle").
10970
10971 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10972
10973         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10974         features list.
10975
10976 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10977
10978         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10979         FuncStaus::FuncStatus & FuncStaus::some_method().
10980
10981 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10982
10983         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10984         of the func_satus stuff. Edited and massaged in various ways by
10985         JMarc.
10986
10987         * lyxfunc.C (getStatus): use FuncStatus
10988
10989 2002-01-08  Juergen Vigna  <jug@sad.it>
10990
10991         * text.C (nextBreakPoint): use function Inset::isChar().
10992
10993         * paragraph.C (TeXOnePar): use function
10994         Inset::forceDefaultParagraphs.
10995
10996         * buffer.C (latexParagraphs): use function
10997         Inset::forceDefaultParagraphs.
10998
10999 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11000
11001         * lyx_gui.C (init): set the style of the menu popups to
11002         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11003
11004 2002-01-07  Juergen Vigna  <jug@sad.it>
11005
11006         * text.C (setHeightOfRow): small fix
11007         (prepareToPrint): don't look at alignment if we don't have the place
11008         for doing it.
11009
11010 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11011
11012         * box.C: New file. Move the Box methods and functions out of box.h,
11013         following Lars' suggestion.
11014
11015 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11016
11017         * box.h: #include "support/LOstream.h", needed for inlined function.
11018
11019         * lyxtextclass.C:
11020         * lyxtextclasslist.C: added some using std declarations.
11021
11022 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * box.h: make signed dimensions to allow insets wider than
11025           the screen (bug #162)
11026
11027         * BufferView_pimpl.C: add some insetHit debug
11028
11029 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * vc-backend.C: add FIXME
11032
11033 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyxfunc.C (getStatus): enable code for showing math font status
11036         in toolbar/menu.
11037
11038 2002-01-07  Juergen Vigna  <jug@sad.it>
11039
11040         * text.C (nextBreakPoint): removed debug output not needed anymore.
11041
11042 2002-01-06  Juergen Vigna  <jug@sad.it>
11043
11044         * text.C (nextBreakPoint): fixed up this function we had this bug
11045         since ever but now hopefully we break row better.
11046         (insertChar): we have to check if an inset is the next char as it
11047         could now happen that a large inset is causing a break.
11048
11049 2002-01-05  Juergen Vigna  <jug@sad.it>
11050
11051         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11052         if it doesn't like to be drawed.
11053
11054 2002-01-04  Juergen Vigna  <jug@sad.it>
11055
11056         * BufferView2.C (lockInset): forgot to set a cursor.
11057
11058         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11059
11060 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11061
11062         * FormMathsPanel.C:
11063         * FormMathsPanel.h
11064         * MathsSymbols.C:
11065         * form_maths_panel.C:
11066         * form_maths_panel.h:
11067         * form_maths_panel.fd: implemented sub- and super- buttons in math
11068         panel.
11069
11070         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11071         (or ^ space) to be used as in TeX (req'd by André).
11072
11073         * lyxfunc.C: Allow ^ and _ again to be used both as
11074         super/subscript (mathed) and as themselves (in text).
11075
11076 2002-01-03  Allan Rae  <rae@lyx.org>
11077
11078         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11079         "LyX" or the filename of the current buffer if it has one.  This is a
11080         modified form of John Levon's patch.
11081
11082         * XFormsView.C (setWindowTitle): also set icon title.
11083
11084         * LyXView.h (setWindowTitle): signature changed.
11085         * XFormsView.h (setWindowTitle): ditto.
11086
11087 2002-01-02  Juergen Vigna  <jug@sad.it>
11088
11089         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11090
11091 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * screen.C (topCursorVisible): introduce a temp var for
11094         text->cursor.row(), handle the case where this row is null. (kindo
11095         hachish)
11096
11097         * text2.C (setCursor): add a couple of asserts.
11098
11099         * paragraph.h (inset_iterator): add -> operator
11100
11101         * paragraph.[Ch] (autoDeleteInsets): remove member function
11102
11103         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11104         cursor pos correctly and handle inset deletion by itself.
11105         (insertErrors): move iterator declaration out of for expression
11106
11107         * lyxtextclass.C: add <algorithm>
11108
11109         * Makefile.am: added the new files to sources, removed layout.C
11110
11111         * layout.C: removed file
11112
11113         * layout.h: remove LYX_DUMMY_LAYOUT
11114
11115         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11116         layout.
11117
11118         * lyxlayout.[Ch]:
11119         * lyxtextclass.[Ch]:
11120         * lyxtextclasslist.[Ch]: new files
11121
11122         * include order changes to a lot of files, also changes because of
11123         the six new files.
11124
11125 2001-12-27  Juergen Vigna  <jug@sad.it>
11126
11127         * buffer.C (asciiParagraph): more fixes.
11128
11129         * tabular.C (ascii): make ascii export support export of only the
11130         data separated by a column-delimiter.
11131         (ascii): better support for ascii export.
11132
11133         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11134
11135 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11136
11137         * tabular_funcs.C: use a "using std::getline" instead of the
11138         previous fix from Angus (necessary for cxx + lyxstring)
11139
11140 2001-12-24  Juergen Vigna  <jug@sad.it>
11141
11142         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11143
11144         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11145         problems. First check a minipage also if we have some ert-contents
11146         (not only on par->size(), second set the right depth of the paragraph
11147         on the relink to the root-paragraph-list!
11148
11149         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11150         which then did not anymore update the main paragraphs on undo/redo!
11151
11152 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11155         code. Support all font-changing funcs (even those which are not in
11156         menu currently). Support for reporting font settings in
11157         mathed (disabled until Andre provides a function on mathed's side).
11158
11159         * func_status.h (toggle): small helper function to set toggle
11160         state on a flag.
11161
11162 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * tabular_funcs.C: getline -> std::getline
11165
11166 2001-12-21  Juergen Vigna  <jug@sad.it>
11167
11168         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11169         accessed and could be 0 (I couldn't generate this but it seems
11170         Michael could!).
11171
11172 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11175         * tabular_funcs.h: here and include iosfwd
11176
11177 2001-12-20  Juergen Vigna  <jug@sad.it>
11178
11179         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11180         inside inset but undo_par was.
11181
11182 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * Thesaurus.C: always include <config.h> in sources.
11185
11186         * Painter.h:
11187         * lyxlookup.h:
11188         * box.h: do not include <config.h> in header files
11189
11190         * text.C (paintLastRow): remove unused variable
11191
11192         * text.C (transformChar):
11193         (insertChar):
11194         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11195
11196         * Painter.C (text):
11197         * font.C (width): rewrite to use uppercase() instead of
11198         islower/toupper.
11199
11200         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11201
11202 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * lyxfind.C: clean up of find failure position change
11205
11206 2001-12-20  Juergen Vigna  <jug@sad.it>
11207
11208         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11209
11210         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11211         (TeXRow): added to LaTeX a single tabular row.
11212         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11213         (Latex): simplified and finally good LT-h/f support.
11214         (various_functions): just small adaptions for LT-h/f support.
11215
11216         * tabular_funcs.[hC]: added and moved here all not classfunctions
11217         of LyXTabular.
11218
11219 2001-12-19  Juergen Vigna  <jug@sad.it>
11220
11221         * tabular.[Ch]: better support for longtabular options (not finished
11222         yet!)
11223
11224 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * text.C (paintLastRow): use the label font instead of the font of
11227         the last character to compute the size of *_BOX. This makes more
11228         sense and avoids a crash with empty paragraphs.
11229         Use Painter::rectangle to draw EMPTY_BOX.
11230
11231 2001-12-19  Juergen Vigna  <jug@sad.it>
11232
11233         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11234         the paragraphs if the replaced paragraph is not the first one!
11235         Tried to delete not used paragraphs but does not work yet so for
11236         now it's inside #ifdef's and by default off!
11237
11238 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * MenuBackend.C: include "lyx_main.h" instead of declaring
11241         lastfiles (actually was declared as LastFiles* instead of a
11242         scoped_ptr).
11243
11244 2001-12-17  Juergen Vigna  <jug@sad.it>
11245
11246         * tabular.C (AppendColumn): applied John's fix
11247
11248 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * BufferView.h:
11251         * BufferView.C:
11252         * BufferView_pimpl.h:
11253         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11254
11255         * Makefile.am:
11256         * box.h: new start of class for above
11257
11258         * lyxfunc.C: ignore space-only minibuffer dispatches.
11259           Show the command name when it doesn't exist
11260
11261         * minibuffer.C: don't add empty lines to the history
11262
11263         * minibuffer.C: add a space on dropdown completion
11264
11265 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * text.C: fix line above/below drawing in insets
11268
11269 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * lyxlength.C (LyXLength): Initialize private variables.
11272
11273 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11274
11275         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11276         when inserting error insets.
11277
11278 2001-12-13  Juergen Vigna  <jug@sad.it>
11279
11280         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11281         actually sometimes the before-paragraph.
11282         (setUndo): don't clear the redostack if we're not actually undoing!
11283
11284 2001-12-06  Juergen Vigna  <jug@sad.it>
11285
11286         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11287         and fixed redoing of main paragraph, so we can use it now ;)
11288
11289         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11290
11291 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11294         Juergen's request
11295
11296 2001-12-13  André Pönitz <poenitz@gmx.net>
11297
11298         * undostack.[Ch]:
11299         * undo_func.C: minor cleanup
11300
11301 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11304         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11305         font in urw-fonts package which is marked as -urw-fontspecific and
11306         does not work (incidentally, changing the encoding in the
11307         fonts.dir of this package to -adobe-fontspecific fixes the
11308         problem).
11309
11310         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11311         is a crash when undoing first paragraph (Juergen, please take a
11312         look). THis does not mean the undo fix is wrong, just that it
11313         uncovers problems.
11314
11315         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11316         the (Paragraph*) version when needed instead of duplicating the
11317         code.
11318
11319         * text.C (workWidth): use Inset::parOwner to find out where the
11320         inset has been inserted. This is a huge performance gain for large
11321         documents with lots of insets. If Inset::parOwner is not set, fall
11322         back on the brute force method
11323
11324         * paragraph_pimpl.C (insertInset):
11325         * paragraph.C (Paragraph):
11326         (cutIntoMinibuffer): set parOwner of insets when
11327         inserting/removing them
11328
11329         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11330
11331 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11332
11333         * commandtags.h:
11334         * LyXAction.C:
11335         * lyx_main.C:
11336         * lyxfunc.C:
11337         * mathed/formulabase.C:
11338         * mathed/math_cursor.[Ch]:
11339         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11340
11341
11342 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * lyxlength.[Ch] (operator!=): new function
11345
11346 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * text.C (workWidth): use Inset::parOwner to find out where the
11349         inset has been inserted. This is a huge performance gain for large
11350         documents with lots of insets. If Inset::parOwner is not set, fall
11351         back on the brute force method
11352
11353         * paragraph_pimpl.C (insertInset):
11354         * paragraph.C (Paragraph):
11355         (cutIntoMinibuffer): set parOwner of insets when
11356         inserting/removing them
11357
11358         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11359
11360 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * tabular-old.C (getTokenValue):
11363         * tabular.C (getTokenValue):
11364         (write_attribute): new versions for LyXLength
11365         (everywhere): adjust the use of widths
11366
11367         * tabular.h: change the type of widths from string to LyXLength
11368
11369 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11370
11371         * paragraph.C: fixed missing line number count when exporting
11372         Environments to LaTeX file
11373
11374         * buffer.C: added informational message for checking line numbers.
11375
11376 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11379         paragraph, do the 'double space' part, but not the 'empty
11380         paragraph' one.
11381
11382         * text.C (workWidth): small optimization
11383         (getLengthMarkerHeight): use minimal size for negative lengths.
11384
11385 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11386
11387         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11388
11389         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11390
11391 2001-12-11  André Pönitz <poenitz@gmx.net>
11392
11393         * FontLoader.C:
11394         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11395
11396 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11397
11398         * text2.C: keep selection on a setFont()
11399
11400 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * lyx_cb.C: another bv->text misuse, from insert label
11403
11404 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * kbsequence.h:
11407         * kbsequence.C: re-instate nmodifier mask
11408
11409 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * lyx_main.h: make lyxGUI private.
11412
11413 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * lyxfind.C: place the cursor correctly on failed search
11416
11417 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * text.C (getLengthMarkerHeight): for small heights, the arrows
11420         are not always on top/bottom of the text
11421         (drawLengthMarker): smaller arrows; take the left margin in
11422         account; draw also vfills.
11423         (paintFirstRow):
11424         (paintLastRow): remove special code for vfill and standard spaces,
11425         since everything is handled in drawLengthMarker now.
11426
11427 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * buffer.C (insertErtContents): try to handle font and language
11430         interaction a bit better.g
11431
11432         * ColorHandler.C (updateColor): change the hash to cover the whole
11433         LColor enum, ws cleanup
11434         (getGCLinepars): ditto
11435         (getGCLinepars): only lookup in the linecache once.
11436
11437 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * iterators.C (operator++): Make the iterator more robust
11440
11441         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11442         (John's patch)
11443         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11444
11445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * lyxtext.h:
11448         * text.C: better added space drawing
11449
11450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * LyXView.C:
11453         * BufferView2.C: fix layout combo update on inset unlock
11454
11455 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * Makefile.am: don't compile unused files
11458
11459 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * lyxfunc.C:
11462         * commandtags.h:
11463         * LyXAction.C: remove old LFUN_LAYOUTNO
11464
11465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * paragraph_pimpl.h:
11468         * paragraph_pimpl.C: isTextAt() doesn't need font param
11469
11470 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * lyxlex.h:
11473         * lyxlex.C: little cleanup
11474
11475 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * BufferView_pimpl.C: fix insertAscii for insets
11478
11479 2001-12-05  Juergen Vigna  <jug@sad.it>
11480
11481         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11482         set the right font on the "multi" paragraph paste!
11483
11484 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * trans_decl.h:
11487         * trans_mgr.[Ch]:
11488         * trans.[Ch]:
11489         * lyxgluelength.C:
11490         * lyxlength.C: remove out-commented code.
11491
11492         * BufferView_pimpl:
11493         * CutAndPaste.C:
11494         * DepTable.C:
11495         * buffer.C:
11496         * chset.C:
11497         * lastfiles.C:
11498         * lyxlex.C:
11499         * lyxlex_pimpl.C:
11500         * lyxserver.C:
11501         * screen.C:
11502         * tabular-old.C:
11503         * tabular.C:
11504         * text.C:
11505         * trans_mgr.C:
11506         * vc-backend.C: change "while(" to "while ("
11507
11508         * lyxlength.[Ch]: add zero function to check if length is zero or
11509         not
11510         * lyxgluelength.C: use it
11511
11512 2001-12-05  Allan Rae  <rae@lyx.org>
11513
11514         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11515         Works for 2.95.3, from what I understand of Garst's reports this should
11516         work for other g++ versions.  We're screwed if the abs(int) definition
11517         changed between bugfix releases of gcc.
11518
11519 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * text.C: fix chapter label offset !
11522
11523 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyxtext.h:
11526         * text.C: fix hfill at end of line, clean up
11527
11528 2001-12-04  Juergen Vigna  <jug@sad.it>
11529
11530         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11531         that we force an update of the inset and it's owners if neccessary.
11532
11533 2001-12-03  Juergen Vigna  <jug@sad.it>
11534
11535         * text.C (rowLast): simplified code
11536
11537 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * lyxfunc.C: fix show options on timeout
11540
11541 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * screen.C (topCursorVisible): scroll half a page when the cursor
11544         reached top of bottom of screen
11545
11546 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * minibuffer.C: deactivate on loss of focus
11549
11550 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * vspace.[Ch] (operator!=): add operator.
11553
11554 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * BufferView_pimpl.C: refuse to open an inset when
11557         there's a selection.
11558
11559 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * BufferView_pimpl.C: allow to click on RHS of full row insets
11562
11563 2001-11-30  Juergen Vigna  <jug@sad.it>
11564
11565         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11566         insets for undo reasons.
11567
11568 2001-11-28  André Pönitz <poenitz@gmx.net>
11569
11570         * vspace.[Ch]: cosmetical changes
11571
11572 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * LyXAction.h:
11575         * LyXAction.C:
11576         * lyxfunc.h:
11577         * lyxfunc.C:
11578         * kbmap.h:
11579         * kbmap.C:
11580         * lyxrc.C:
11581         * kbsequence.h:
11582         * kbsequence.C: part re-write of old kb code
11583
11584         * Painter.C:
11585         * WorkArea.C: remove Lgb_bug_find_hack
11586
11587 2001-11-30  José Matos <jamatos@fep.up.pt>
11588
11589         * buffer.C (makeDocBookFile): add a comment to point a hack.
11590         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11591         Fixed a double write of labels.
11592
11593 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11594
11595         * LaTeX.C:
11596         * LaTeX.h Fixed bug in LaTeX class where it would not
11597         re-run latex if no depfiles were changed, but the .dvi was removed.
11598
11599 2001-11-28  André Pönitz <poenitz@gmx.net>
11600
11601         * all the files from the change on 2001/11/26:
11602         use lyx::layout_type instead of LyXTextClass::size_type
11603         use lyx::textclass_type instead of LyXTextClassList::size_type
11604
11605 2001-11-29  Juergen Vigna  <jug@sad.it>
11606
11607         * text.C: added support for paragraph::isFreeSpacing()
11608
11609         * buffer.C: same as above
11610
11611         * paragraph.h: inserted isFreeSpacing() function to enable
11612         FreeSpacing inside InsetERT.
11613
11614         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11615         of the paragraph's in the cut/copy buffer to 0!
11616
11617         * text2.C (removeRow): remove the assert as it can!
11618
11619         * lyxtext.h: added helper function firstRow returning firstrow and
11620         made firstrow private again.
11621
11622         * BufferView2.C (lockInset): don't relock if we're already locked!
11623
11624         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11625         the only paragraph.
11626         (removeRow): added Assert::(firstrow)
11627
11628         * debug.C: forgot to add INSETTEXT here.
11629
11630 2001-11-28  Juergen Vigna  <jug@sad.it>
11631
11632         * sp_spell.C (initialize): changed error text to more general
11633         spellchecker command use (not only ispell!)
11634
11635         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11636
11637         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11638
11639 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * vspace.C: initialise lyxgluelength on failure
11642
11643 2001-11-28  Allan Rae  <rae@lyx.org>
11644
11645         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11646         declaration & definition that looks like a function declaration.
11647
11648 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11649
11650         * BufferView2.C (copy):
11651         (copyEnvironment): do not clear the selection when doing a copy.
11652
11653         * text.C (paintFirstRow): compilation fix
11654
11655 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11656
11657         * tabular.C (Latex): correct line count when writing latex.
11658
11659 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * paragraph_pimpl.h:
11662         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11663           bug a bit
11664
11665 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * text.C:
11668         * LColor.h:
11669         * LColor.C: change vfillline->added_space
11670
11671         * text.C: add markers and text for added space
11672
11673         * vspace.C: fix comment
11674
11675 2001-11-28  André Pönitz <poenitz@gmx.net>
11676
11677         * paragraph.C: whitespace changes
11678         * all the other files from the change on 2001/11/26:
11679         change *::pos_type into lyx::pos_type
11680
11681 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11682
11683         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11684         language of the document when inserting error insets.
11685
11686 2001-11-26  André Pönitz <poenitz@gmx.net>
11687
11688         * BufferView_pimpl.[Ch]:
11689         *       CutAndPaste.C:
11690         * buffer.[Ch]:
11691         * lyxcursor.[Ch]:
11692         * lyxfind.C:
11693         * lyxfunc.C:
11694         * lyxrow.[Ch]:
11695         * paragraph.[Ch]:
11696         * paragraph_pimpl.[Ch]:
11697         * sp_spell.C:
11698         * text.C:
11699         * text2.C: reduce header dependencies, introduce type for positions
11700
11701 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * <various>: change to use Alert.h
11704
11705 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11706
11707         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11708         when encountering an unknown token.
11709         (readLyXformat2): Show an error message if there were unknown tokens.
11710
11711 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * BufferView2.C:
11714         * BufferView_pimpl.C:
11715         * buffer.C:
11716         * paragraph.h:
11717         * text.C:
11718         * text2.C: use par->isInset()
11719
11720 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * paragraph_pimpl.h:
11723         * paragraph_pimpl.C: cleanup
11724
11725 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11726
11727         * text2.C (removeRow):
11728         * text.C (setHeightOfRow): remove useless (and costly) call to
11729         getRow.
11730
11731 2001-11-20  Allan Rae  <rae@lyx.org>
11732
11733         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11734         Now need Inset*::checkInsertChar() to return true for appropriate
11735         cases so that the characters in the minibuffer will actually be
11736         inserted.
11737
11738 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * text.C: change the order of the includes.
11741         (workWidth): initialize it at once.
11742         (workWidth): make maxw unsigned
11743         (setHeightOfRow): remove unused variable (inset)
11744         (selectSelectedWord): remove unused variable (inset)
11745         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11746
11747 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11750         server is not running.
11751         (openConnection):
11752         (closeConnection): add debug info when server is disabled.
11753
11754         * ColorHandler.C (getGCForeground): send debug message to GUI
11755         channel.
11756
11757         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11758
11759         * kbmap.C (bind): modify because return conventions of
11760         kb_sequence::parse have changed.
11761
11762         * kbsequence.C (parse): only ignore spaces and not any stupid
11763         control character. This avoids tests like s[i] <= ' ', which are
11764         guaranteed to fail with 8bit characters and signed chars.
11765         Change return code to string::npos when there have been no error
11766         (0 was a bad idea when error is at first character)
11767
11768 2001-11-14  José Matos  <jamatos@fep.up.pt>
11769
11770         * buffer.h:
11771         * buffer.C (simpleDocBookOnePar): removed unused argument.
11772
11773 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11774
11775         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11776         insets which are part of a word. Paragraph::isLetter takes care of
11777         that now. Use Paragraph::isInset to identify insets.
11778         (selectSelectedWord): do not test for hyphenation break.
11779
11780         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11781         that protected spaces are considered as spaces.
11782
11783         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11784         Inset::isLetter.
11785
11786 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxserver.h:
11789         * lyxserver.C: fix it. and small cleanup.
11790
11791 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * BufferView_pimpl.C: use inline helpers
11794
11795         * LaTeXFeatures.h:
11796         * LaTeXFeatures.C: fix typos
11797
11798         * Spacing.h:
11799         * Spacing.C: move spacing_string into class
11800
11801         * ToolbarDefaults.C: move stuff into namespace anon
11802
11803         * layout.h: update enum
11804
11805         * lyxfunc.C: use better debug
11806
11807         * minibuffer.h: fix typo
11808
11809         * debug.h:
11810         * debug.C:
11811         * WorkArea.C: add and use Debug::WORKAREA
11812
11813         * lyxtext.h:
11814         * text.C:
11815         * text2.C: code re-organisation, inline helpers
11816
11817 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11818
11819         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11820         std::vector.empty().
11821
11822 2001-11-09  Allan Rae  <rae@lyx.org>
11823
11824         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11825         '\n's after tables.  Tabular and ERT inset work now makes this no
11826         longer necessary.
11827
11828 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * minibuffer.h:
11831         * minibuffer.C: fix crash, improve drop-down completion
11832
11833 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxserver.h:
11836         * lyxserver.C: invalidate fd's when doing endPipe()
11837
11838 2001-11-08  José Matos  <jamatos@fep.up.pt>
11839
11840         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11841         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11842
11843         * paragraph.h:
11844         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11845
11846 2001-11-07  José Matos  <jamatos@fep.up.pt>
11847
11848         * buffer.h:
11849         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11850         const qualifier.
11851
11852         * buffer.C (sgmlOpenTag):
11853         * buffer.C (sgmlCloseTag): removed debug info.
11854
11855         * buffer.h (sgmlOpenTag):
11856         * buffer.h (sgmlCloseTag): made public.
11857
11858 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11859
11860         * buffer.C (saveParamsAsDefaults):
11861         * lyx_cb.C (MenuLayoutSave): remove
11862
11863         * LyXAction.C (init):
11864         * commandtags.h:
11865         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11866
11867 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11868
11869         * buffer.C (setPaperStuff): removed from here...
11870
11871         * bufferparams.C (setPaperStuff): ... and moved there.
11872
11873 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * minibuffer.h:
11876         * minibuffer.C:
11877         * XFormsView.C: add support for drop-down completion
11878
11879 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11880
11881         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11882         commands.
11883
11884 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11885
11886         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11887         disabled.
11888
11889 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * lyx_main.C: change ref to known bugs
11892
11893 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11894
11895         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11896         to work around older babel problems.
11897
11898 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11899
11900         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11901
11902 2001-10-24  Juergen Vigna  <jug@sad.it>
11903
11904         * tabular-old.C (ReadOld): below variable changes reflected.
11905
11906         * tabular.[Ch]: added ltType struct for longtable header/footer
11907         defines and changed all instances where they are used. Added
11908         future support for double top/bottom rows.
11909
11910 2001-10-24  José Matos  <jamatos@fep.up.pt>
11911
11912         * buffer.h (docbookHandleCaption):
11913         * buffer.C (docbookHandleCaption): removed unused function.
11914         (makeDocBookFile): moved docbook supported version to v4.1.
11915
11916 2001-10-24  José Matos  <jamatos@fep.up.pt>
11917
11918         * tabular.h:
11919         * tabular.C (docbookRow): new function to export docbook code of a row.
11920         (DocBook): now honors the longtable flags.
11921
11922 2001-10-23  José Matos  <jamatos@fep.up.pt>
11923
11924         * LaTeXFeatures.h:
11925         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11926         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11927
11928         * buffer.C (makeLinuxDocFile):
11929         (makeDocBookFile): reworked the preamble, more clean, and with
11930         support for lyx defined entities. Changed the document declaration
11931         to be more XML friendly.
11932
11933         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11934         if we need to output XML that should be done with a filter.
11935
11936 2001-10-22  Juergen Vigna  <jug@sad.it>
11937
11938         * sp_pspell.h (class PSpell): add alive function needed in the
11939         controller to see if the spellchecker could be started.
11940
11941 2001-10-22  Juergen Vigna  <jug@sad.it>
11942
11943         * buffer.C (insertStringAsLines): modify the font for inserting
11944         chars in certain conditions by calling checkInsertChar(font).
11945
11946 2001-10-19  Juergen Vigna  <jug@sad.it>
11947
11948         * text.C (workWidth): use getRow instead of wrong algorithm.
11949         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11950
11951 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxserver.h:
11954         * lyxserver.C:
11955         * lyx_main.h:
11956         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11957
11958 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11959
11960         * text.C (workWidth): do not search for the exact row when
11961         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11962         optimization for big documents.
11963
11964 2001-10-18  Juergen Vigna  <jug@sad.it>
11965
11966         * text.C (workWidth): new function with added Inset * parameter.
11967
11968 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11971
11972         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11973         change return type of getColumnNearX.
11974
11975
11976         * text.C (changeRegionCase): use uppercase/lowercase instead of
11977         toupper/tolower.
11978         (leftMargin):
11979         (rightMargin): simplify code by factoring out the uses of
11980         textclasslist.
11981         (labelFill):
11982         (numberOfHfills):
11983         (setHeightOfRow):
11984         (appendParagraph): use Paragraph::size_type
11985
11986 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11987
11988         * vspace.C (asLatexString): add a missing break
11989
11990 2001-10-15  Herbert Voss  <voss@perce.de>
11991
11992         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11993
11994 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11997         is not available.
11998
11999 2001-10-10  André Pönitz <poenitz@gmx.net>
12000
12001         * lyxfunc.C: removed greek_kb_flag.
12002
12003 2001-10-10  Herbert Voss  <voss@perce.de>
12004
12005         * lyx_main.C: delete global string help_lyxdir.
12006
12007 2001-10-09  Herbert Voss  <voss@perce.de>
12008
12009         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12010
12011         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12012
12013         * lyx_main.C: added global string help_lyxdir.
12014
12015         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12016
12017 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12018
12019         * lyxrc.C (set_font_norm_type): support iso8859-4
12020
12021 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12022
12023         * LaTeX.C (deplog): add another regex for MikTeX
12024
12025 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12026
12027         * lyxrc.C (set_font_norm_type): support iso8859-3
12028
12029 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12032
12033         * LaTeXFeatures.C: remove special case of french and index
12034
12035         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12036         before \begin{document}). This solves several incompatibilities.
12037
12038 2001-10-03  Garst Reese  <reese@isn.net>
12039
12040         * lyx_cb.C: change CheckTex error msg.
12041
12042 2001-10-03  José Matos  <jamatos@fep.up.pt>
12043
12044         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12045
12046 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * .cvsignore: update
12049
12050         * lyx_main.C (commandLineVersionInfo): use new style version info.
12051
12052         * buffer.C (writeFile):
12053         (makeLaTeXFile):
12054         (makeLinuxDocFile):
12055         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12056
12057         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12058
12059         * version.h: update to use stuff in version.C
12060
12061         * version.C.in: new file. Contains version information determined
12062         at compile time. This is a merging of version.h and
12063         version_info.h.in.
12064
12065 2001-10-03  Juergen Vigna  <jug@sad.it>
12066
12067         * BufferView_pimpl.C (update): don't change "dirty" status in
12068         updateInset call.
12069
12070 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12071
12072         * WorkArea.C (c-tor): re-position version string slightly.
12073
12074 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12075
12076         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12077         revert to previous code.
12078
12079         WorkArea.[Ch]: (show, destroySplash): methods removed.
12080
12081         WorkArea.C: rework code so that it's an amalgam of the codes before and
12082         after the splash screen was moved to WorkArea.
12083
12084 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * lyxrc.C (read):
12087         * vspace.C (inPixels):
12088         (lyx_advance):
12089         * kbmap.C (bind):
12090         * buffer.C (insertStringAsLines):
12091         (asciiParagraph): fix types to be large enough
12092
12093         * lyxlex_pimpl.h: change member status from short to int
12094
12095         * layout.h: fix type of endlabeltype
12096
12097         * kbmap.C (bind):
12098         * kbsequence.C (parse): change return type to string::size_type
12099
12100         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12101         variable
12102
12103         * Bullet.C (bulletSize):
12104         (bulletEntry): do not use short ints as parameters
12105
12106         * BufferView2.C (insertLyXFile): change a char to an int.
12107
12108         * WorkArea.C (WorkArea): remove unneeded floats in computation
12109
12110 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12111
12112         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12113
12114         * paragraph.C (asString): Do not ignore newline/hfill chars when
12115         copying to the clipboard.
12116
12117 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12118
12119         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12120         after a multi-line inset.
12121
12122 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12123
12124         * paragraph.C (validate): Set NeedLyXFootnoteCode
12125
12126 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12129         and decrease-error to decrease.
12130
12131 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12132
12133         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12134         it more readable (should be equivalent)
12135
12136 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12137
12138         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12139
12140 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12141
12142         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12143         of a cursor (row, etc.) after a character has been deleted
12144         (deleteEmptyParagraphMechanism): call the method above on _all_
12145         cursors held by the LyXText when a double space has been
12146         detected/deleted.
12147
12148 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12149
12150         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12151         pixmap.
12152         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12153
12154         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12155         background. Use greyOut() and the new show() methods to toggle between
12156         the foreground and background. Add code to remove the splash after
12157         its initial showing.
12158
12159         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12160         (create_forms): no longer call Dialogs::showSplash.
12161
12162 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12163
12164         * .cvsignore: add version_info.h
12165
12166 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12167
12168         * version_info.h.in: new file
12169
12170         * Makefile.am: add version_info.h.in
12171
12172         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12173         version_info.h instead of VERSION_INFO
12174
12175 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12178         The ERT inset now returns string().
12179
12180 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12181
12182         * lyxtext.h, text.C (selectNextWord): renamed as
12183         selectNextWordToSpellcheck.
12184
12185         * text.C (selectNextWordToSpellcheck): Modified to not select
12186         words inside an ERT inset.
12187
12188 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * lyx_cb.C (MenuLayoutSave): change a bit the question
12191
12192         * sp_base.h: include <sys/types.h>
12193
12194 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12195
12196         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12197
12198 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12199
12200         * several files: fix typos in user-visible strings
12201
12202 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12203
12204         * text2.C (pasteSelection): do not set the selection, since it
12205         will be cleared later. Actually, the intent was to fix the way the
12206         selection was set, but I figured rmoving the code was just as good.
12207
12208 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * FontLoader.C (available): Check if font is available without
12211         loading the font.
12212
12213 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12214
12215         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12216
12217 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12218
12219         * lyxrc.[Ch]: added display_graphics variable and associated code.
12220
12221 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12222
12223         * bufferparams.C (hasClassDefaults): new method. Returns true if
12224         the buffer parameters correspond to known class defaults
12225
12226 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12227
12228         * XFormsView.C (show): set minimum size to the main window.
12229
12230 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * text2.C (copySelection):
12233         (cutSelection):
12234         * lyxfind.C (LyXReplace):
12235         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12236         LyXText::selectionAsString.
12237
12238         * paragraph.C (asString): add "label" argument to the second form
12239
12240         * text2.C (selectionAsString): add "label" argument and pass it to
12241         Paragraph::asString.
12242
12243 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * lyx_main.C (commandLineHelp): remove version information
12246
12247 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12248
12249         * lyx_main.C: add -version commandline option
12250
12251 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * paragraph.h: make the optional constructor arg required instead.
12254         some modifications to other files because of this.
12255
12256         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12257
12258         * lyxserver.C (C_LyXComm_callback): make it static
12259
12260         * lyx_main.C (error_handler): make it static
12261
12262         * lyx_gui.C (LyX_XErrHandler): make it static
12263
12264         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12265
12266         * WorkArea.C: make the extern "C" methods static.
12267
12268         * Makefile.am (lyx_LDADD): simplify
12269
12270 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12271
12272         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12273         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12274
12275         * LyXAction.C (init):
12276         * lyxfunc.C (dispatch): associated code removal.
12277
12278 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12279
12280         * lyxfont.h (isSymbolFont): shut off warning
12281
12282         * text.C (setHeightOfRow):
12283         (getVisibleRow): fix crash with empty paragraphs which have a
12284         bottom line
12285
12286 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12287
12288         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12289         code.
12290
12291 2001-09-04  José Matos  <jamatos@fep.up.pt>
12292         * buffer.C
12293         * buffer.h
12294         * tabular.C (docbook): rename docBook method to docbook.
12295
12296 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12297
12298         * Makefile.am: add dependencies to main.o.
12299
12300 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12301
12302         * FontLoader.C (available): Return false if !lyxrc.use_gui
12303
12304 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12305
12306         * FontInfo.C (query):
12307         * converter.C (view):
12308         * importer.C (Import):
12309         * exporter.C (Export): Can not -> cannot.
12310
12311 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * BufferView_pimpl.C: allow to create index inset even if
12314           string is empty
12315
12316 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12317
12318         * buffer.C (getLists): replace boost::tie code with an explicit pair
12319         as boost::tie can break some compilers.
12320
12321         * iterators.h: Added a std:: declaration to the return type of
12322         ParIterator::size.
12323
12324 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12327           case.
12328
12329 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12330
12331         * iterators.[Ch]: New files. Provide paragraph iterators.
12332
12333         * buffer.C (changeLanguage): Use paragraph iterators.
12334         (isMultiLingual): ditto
12335
12336         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12337
12338 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12339
12340         * FontLoader.C: Support for cmr font.
12341
12342 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12343
12344         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12345         (available): New method.
12346
12347         * FontInfo.C (getFontname): Use scalable fonts even when
12348         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12349         found.
12350
12351 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12352
12353         * converter.C (Formats::view): reverted! Incorrect fix.
12354
12355 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12356
12357         * converter.C (Formats::view): only output the -paper option
12358         if the dvi viewer is xdvi, thereby fixing bug #233429.
12359
12360 2001-08-23  Herbert Voss  <voss@perce>
12361
12362         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12363
12364 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12365
12366         * Spacing.h (Spacing): Set space to Default on in the default
12367         constructor.
12368
12369 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * vc-backend.h (RCS::versionString): add RCS to version
12372         (CVS::versionString): add CVS to version
12373
12374         * vc-backend.C (scanMaster): do not add CVS to version.
12375         (scanMaster): do not add RCS to version
12376
12377         * lyxvc.C (versionString): new method
12378
12379         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12380
12381 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * Spacing.C (set): initialize fval
12384
12385 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12386
12387         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12388         " or \.
12389
12390 2001-08-16  Juergen Vigna  <jug@sad.it>
12391
12392         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12393
12394 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * BufferView_pimpl.C:
12397         * figureForm.C:
12398         * lyxtext.h:
12399         * text2.C: setParagraph takes linespacing now
12400
12401 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * LyxAction.C: add internal LFUN_CITATION_INSERT
12404
12405         * LyXView.C: actually apply fix
12406
12407         * bufferlist.C: fix open non-existent file
12408
12409         * lyxfind.C: fix indentation
12410
12411         * lyxfunc.C: remove unneeded assert, fix typo
12412
12413 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * MenuBackend.C: use "Floatname List"
12416
12417 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12418
12419         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12420         when converting LaTeX layout to insetERT.
12421         Generate a non-collapsed float when reading old float
12422
12423 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12426         ERT insets.
12427
12428 2001-08-13  Juergen Vigna  <jug@sad.it>
12429
12430         * text.C (fill): return 0 instead of 20 as this seems to be the more
12431         correct value.
12432
12433 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12434
12435         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12436         lyxrc.font_norm.
12437
12438 2001-08-13  Juergen Vigna  <jug@sad.it>
12439
12440         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12441         casesensitive off.
12442         (SearchBackward): comment out the unlocking of the inset_owner this
12443         should not be needed!
12444
12445 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * Many files: Remove inherit_language, and add latex_language
12448
12449         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12450         collapsible insets.
12451
12452 2001-08-10  Juergen Vigna  <jug@sad.it>
12453
12454         * text.C (prepareToPrint): fixed hfill-width in draw!
12455
12456         * BufferView2.C (selectLastWord): save the selection cursor as this
12457         now is cleared in the function LyXText::clearSelection!
12458
12459 2001-08-08  Juergen Vigna  <jug@sad.it>
12460
12461         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12462         BACKSPACE type functions.
12463
12464         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12465         is only cutted from the document but not put in the cut-buffer, where
12466         still the old stuff should be.
12467
12468         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12469
12470         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12471
12472         * tabular.C (SetWidthOfCell): fixed special case where the width
12473         was not updated!
12474         (LeftLine): handle '|' in align_special.
12475         (RightLine): ditto
12476         (LeftAlreadyDrawed): ditto
12477         (SetWidthOfCell): ditto
12478
12479 2001-08-07  Juergen Vigna  <jug@sad.it>
12480
12481         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12482
12483 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12486         * lyxlex.[hC]: ditto
12487
12488 2001-08-06  Juergen Vigna  <jug@sad.it>
12489
12490         * text.C (getVisibleRow): fix up row clearing a bit.
12491
12492 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * minibuffer.C: make sure the X server sees the changes in the input.
12495
12496 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * paragraph.C (getFont): split into...
12499         (getLabelFont): this
12500         (getLayoutFont): and this
12501         * paragraph_pimpl.C (realizeFont): calling this
12502
12503         * text2.C (getFont): split into...
12504         (getLayoutFont): this
12505         (getLabelFont): and this
12506         (realizeFont): all three calling this
12507
12508         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12509         files where used.
12510
12511 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12512
12513         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12514
12515 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12516
12517         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12518         layouts from the Quote inset insertion.
12519
12520 2001-08-03  Juergen Vigna  <jug@sad.it>
12521
12522         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12523
12524         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12525         only if status not is already CHANGED_IN_DRAW (second level).
12526
12527         * text.C (draw): don't set the need_break_row when inside an
12528         InsetText LyXText.
12529
12530 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * buffer.C (parseSingleLyXformat2Token): handle more latex
12533         conversion cases.
12534
12535         * bufferview_funcs.[hC]: change function names to
12536         begin with small char, adjust other files.
12537
12538 2001-08-02  André Pönitz <poenitz@gmx.net>
12539
12540         * lyxfunc.C:
12541         BufferView_pimpl.C: remove broken special code for math-greek
12542
12543 2001-08-02  Juergen Vigna  <jug@sad.it>
12544
12545         * BufferView_pimpl.C (update): redone this function so that we
12546         update the text again if there was a CHANGE_IN_DRAW.
12547
12548         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12549         (drawFromTo): added a new internal bool which is used by draw() and
12550         redraw() function.
12551         (general): some cursor drawing problems fixed.
12552
12553 2001-08-01  Juergen Vigna  <jug@sad.it>
12554
12555         * lyxfind.C (LyXFind): fixed
12556         (SearchForward): ditto
12557         (SearchBackward): ditto
12558
12559         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12560         spurius drawing of the cursor in the main area.
12561
12562         * text2.C (status): small fix which could lead to a segfault!
12563         (clearSelection): remove unneeded BufferView param.
12564
12565 2001-08-01  André Pönitz <poenitz@gmx.net>
12566
12567         * lyxfunc.C: small change due to changed mathed interface
12568
12569 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12572
12573 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * lyxfunc.c: fail gracefully if file doesn't exist
12576
12577         * LyXSendto.C:
12578         * buffer.C:
12579         * lyxfunc.C:
12580         * BufferView_pimpl.C: IsDirWriteable() proto changed
12581
12582         * LyXView.C: fix updateWindowTitle() to store the last title
12583
12584 2001-07-31  Juergen Vigna  <jug@sad.it>
12585
12586         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12587         the font (wrong since using of Paragraph::highestFontInRange).
12588
12589         * paragraph.C (highestFontInRange): added a default_size parameter.
12590
12591         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12592         (setHeightOfRow): reformat
12593
12594 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * converter.[hC] + affected files: move to (inital-char)lowercase
12597         function names.
12598
12599         * ParagraphParameters.C (ParagraphParameters): remove commented code
12600
12601         * PainterBase.[Ch]: remove commented code
12602
12603         * LaTeXFeatures.h: add "bool floats" for float.sty
12604
12605         * LaTeXFeatures.C (LaTeXFeatures): init floats
12606         (require): handle float
12607         (getPackages): do it with floats
12608
12609 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12610
12611         * BufferView_pimpl.C (Dispatch): improve handling of
12612         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12613
12614         * commandtags.h: #include lyxfont.h here temporarily to avoid
12615         keybinding bug.
12616
12617         * bufferlist.h: include LString.h here.
12618
12619 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * text2.C (getStringToIndex): new method.
12622
12623 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12624
12625         * *: Reduced header file dependencies all over.
12626
12627 2001-07-30  Baruch Even  <baruch@lyx.org>
12628
12629         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12630
12631 2001-07-29  Baruch Even  <baruch@lyx.org>
12632
12633         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12634
12635 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * ParameterStruct.h (endif): add a default constructor to make
12638         sure that all variables is initialized.
12639
12640         * ParagraphParameters.C (ParagraphParameters): adjust
12641
12642 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12645         index; also, check that there is something to index, and that it
12646         does not span over several paragraphs.
12647         (doubleClick): use WHOLE_WORD_STRICT for double click.
12648
12649         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12650
12651         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12652         scheme.
12653
12654 2001-07-26  Baruch Even  <baruch@lyx.org>
12655
12656         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12657         an InsetFig figure, backwards compatible reading of old figure code.
12658
12659 2001-07-27  Juergen Vigna  <jug@sad.it>
12660
12661         * text2.C: font.realize function adaption.
12662
12663         * text.C (draw): add a warnings lyxerr text if needed.
12664
12665         * layout.C: font.realize function adaption.
12666
12667         * language.C: add inherit_language and implement it's handlings
12668
12669         * bufferview_funcs.C (StyleReset): remove language parameter from
12670         font creation (should be language_inherit now).
12671
12672         * bufferparams.C (writeFile): handle ignore_language.
12673
12674         * paragraph.C (getFontSettings): the language has to be resolved
12675         otherwise we have problems in LyXFont!
12676
12677         * lyxfont.C (lyxWriteChanges): added document_language parameter
12678         (update): removed unneeded language parameter
12679
12680         * paragraph.C (validate): fixed wrong output of color-package when
12681         using interface colors for certain fonts in certain environments,
12682         which should not seen as that on the final output.
12683
12684 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * BufferView_pimpl.C:
12687         * Thesaurus.h:
12688         * Thesaurus.C:
12689         * Makefile.am:
12690         * commandtags.h:
12691         * LyXAction.C: add thesaurus support
12692
12693         * lyxfind.h:
12694         * lyxfind.C: add "once" parameter, for thesaurus, to not
12695           move to the next match
12696
12697 2001-07-26  Juergen Vigna  <jug@sad.it>
12698
12699         * lyxfont.C (realize): honor ignore_language too!
12700         (resolved): ditto.
12701
12702         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12703
12704         * text.C (draw): one place more for ignore_language to not draw
12705         itself!
12706
12707 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12710
12711 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12714         the minipage conversion problem.
12715
12716 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12717
12718         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12719         insert an inset.
12720
12721 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * BufferView.h: don't forward declare WorkArea
12724
12725         * BufferView.C: don't include WorkArea.h
12726
12727 2001-07-25  André Pönitz <poenitz@gmx.net>
12728
12729         * commandtags.h:
12730         * LyXAction.C:
12731         * lyxfunc.C:  new LFUN 'math-space'
12732
12733         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12734
12735 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * text2.C (toggleInset): call open/close
12738
12739 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * lyxfunc.C (dispatch): add debug for the disabled case
12742
12743         * font.C (buttonText): make similar to rectText
12744
12745         * buffer.C (readInset): comment out parsing of insetlist and
12746         insttheorem
12747
12748         * PainterBase.C (rectText): small correction
12749
12750         * BufferView_pimpl.C: comment out insettheorem and insetlist
12751         * LyXAction.C: ditto
12752         * commandtags.h: ditto
12753
12754 2001-07-24  Juergen Vigna  <jug@sad.it>
12755
12756         * text.C (draw): honor the ignore_language.
12757
12758         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12759
12760 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12761
12762         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12763         char inset.
12764
12765 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12766
12767         * lyxtext.h: remove unused (and unimplemented) methods
12768
12769 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12770
12771         * text.C (getVisibleRow): honor background color
12772
12773         * PainterBase.h:
12774         * Painter.h: remove default color argument for fillRectangle
12775
12776         * text.C (backgroundColor): new method
12777
12778 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * text.C (getVisibleRow): adjust
12781
12782         * font.[Ch] (rectText): new method, metrics
12783         (buttonText): new method, metrics
12784
12785         * PainterBase.[hC]: make rectText and buttonText always draw and take
12786         fewer paramteres.
12787
12788 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12789
12790         * ToolbarDefaults.C (read):
12791         * MenuBackend.C (read): allow escaping in all strings
12792
12793         * BufferView_pimpl.C (insertAndEditInset): new method.
12794         (Dispatch): use insertAndEditInset whenever appropriate.
12795
12796         * BufferView_pimpl.C (insertNote): removed
12797
12798         * BufferView_pimpl.C (smartQuote): new method, moved from
12799         BufferView; if an insetquote cannot be inserted, insert a '"'
12800         character instead.
12801
12802         * BufferView2.C: remove insertCorrectQuote();
12803
12804         * lyxfunc.C (getStatus): Add support for all remaingin
12805         inset-insert lfuns.
12806
12807         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12808
12809         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12810         command (necessary to pass " as parameter of self-insert.
12811
12812         * text.C (selectWordWhenUnderCursor):
12813         (selectWord): add word_location parameter
12814         (selectWordWhenUnderCursor): same + remove special code for word
12815         boundary.
12816         (selectNextWord): use kind() to guess type of insetspecialchar,
12817         not latex().
12818
12819         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12820         (insertErtContents): create ert insets as collapsed.
12821         (readInset): better compatibility code for Info inset.
12822
12823 2001-07-20  Juergen Vigna  <jug@sad.it>
12824
12825         * lyxfunc.C (dispatch): use always LyXFind now!
12826
12827         * text2.C (init): add a reinit flag so that the LyXText can be
12828         reinited instead of deleted and reallocated (used in InsetText).
12829
12830         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12831
12832         * text.C: ditto
12833
12834         * text2.C: ditto
12835
12836 2001-07-18  Juergen Vigna  <jug@sad.it>
12837
12838         * text.C (selectNextWord): handle insets inside inset by calling
12839         always the bv->text functions so that we can go up the_locking_inset!
12840
12841         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12842         in strange locations when inside an inset!
12843
12844         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12845         handling to include insets.
12846
12847         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12848
12849 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * LyXAction.C (init):
12852         * commandtags.h:
12853         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12854         LIGATURE_BREAK, since the name is so stupid.
12855
12856 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12857
12858         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12859         InsetInfos.
12860
12861         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12862
12863         * sp_form.[Ch]: remove.
12864
12865         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12866
12867         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12868         InsetInfo.
12869
12870         * src/buffer.C (readInset): ditto.
12871
12872 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12873
12874         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12875         menuSeparator(), endOfSentenceDot(), ldots() and
12876         hyphenationPoint(), which are therefore removed.
12877         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12878
12879         * LyXAction.C (init):
12880         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12881
12882         * paragraph.C (getWord): removed.
12883
12884         * BufferView_pimpl.C (Dispatch): use last word or selection for
12885         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12886
12887         * lyx_main.C (queryUserLyXDir): do not ask before creating
12888         user_dir, except if it has been named explicitely.
12889
12890 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12893         a document of zero size.
12894
12895 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12896
12897         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12898         approriately in the c-tor and in require().
12899         (getPackages): output the appropriate LaTeX for natbib support.
12900
12901         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12902         variables "use_natbib" and "use_numerical_citations" when reading the
12903         LyX file.
12904         (readInset): read the various natbib cite commands.
12905         (validate): white-space change.
12906
12907         * bufferparams.[Ch]: new variables "bool use_natbib" and
12908         "bool use_numerical_citations".
12909         (writeFile): output them in the LyX file.
12910
12911 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12912
12913         * lyxfunc.C (getStatus): add support for all the inset insertion
12914         commands.
12915
12916         * text2.C (insertInset):
12917         * paragraph.C (insetAllowed):
12918         * BufferView_pimpl.C (insertInset): update to take in account the
12919         renaming of insertInsetAllowed
12920
12921         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12922
12923         * text2.C (getInset): new method. returns inset at cursor position.
12924
12925         * BufferView_pimpl.C (Dispatch): changes because of this.
12926
12927         * LyXAction.C (init): rename open-stuff to inset-toggle.
12928
12929         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12930
12931         * text2.C (toggleInset): renamed from openStuff; use
12932         Inset::open().
12933
12934 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12935
12936         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12937
12938         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12939
12940 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12941
12942         * buffer.C (readLyXformat2): Add filename to the error dialog
12943
12944 2001-07-18  Juergen Vigna  <jug@sad.it>
12945
12946         * tabular.C (GetCellNumber): put an assert here instead of the check!
12947
12948 2001-07-17  Juergen Vigna  <jug@sad.it>
12949
12950         * BufferView_pimpl.C (toggleSelection): adapted too.
12951
12952         * text.C (selectNextWord): adapted for use with insets.
12953         (selectSelectedWord): ditto
12954
12955 2001-07-17  Juergen Vigna  <jug@sad.it>
12956
12957         * sp_spell.C (PSpell): fix initialitation order.
12958
12959 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * paragraph.C: spacing
12962
12963 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12964
12965         * sp_spell.C: repair language selection for pspell
12966
12967 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * lyxfunc.h: change more methods to begin with lower char.
12970
12971 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12972
12973         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12974         for unknown layouts.
12975
12976 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12977
12978         * buffer.C (readLyXformat2): Generate an error dialog if there are
12979         unknown layouts.
12980
12981 2001-07-16  Juergen Vigna  <jug@sad.it>
12982
12983         * sp_spell.C: always compile ISpell part.
12984
12985         * lyxrc.C: added use_pspell entry and it's handling.
12986
12987 2001-07-13  Juergen Vigna  <jug@sad.it>
12988
12989         * sp_spell.C: removed double includes.
12990
12991 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12992
12993         Consistent use of Lsstream.h:
12994         * Lsstream.h: added using std::stringstream for consistencies sake.
12995
12996         * buffer.C: removed using std::stringstream
12997
12998         * lyxfont.C (stateText):
12999         * paragraph.C (asString):
13000         * text.C (selectNextWord, selectSelectedWord):
13001         * text2.C (setCounter):
13002         * vspace.C (asString, asLatexString):
13003         std::ostringstream -> ostringstream.
13004
13005 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13006
13007         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13008         * commandtags.h: add LFUN_HELP_ABOUTLYX
13009         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13010
13011 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13012
13013         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13014         cursorToggle()
13015         * lyx_gui_misc.C: remove spellchecker
13016         * lyxfunc.C: showSpellchecker
13017         * sp_base.h: added
13018         * sp_ispell.h: added
13019         * sp_pspell.h: added
13020         * sp_spell.C: added
13021         * sp_form.[Ch]: removed
13022         * spellchecker.[Ch]: removed
13023
13024 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13025
13026         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13027         is set.
13028         (simpleTeXSpecialChars): Simply print the input character without
13029         any special translation if pass_thru is set.
13030
13031         * layout.h: Added bool pass_thru to layout class for being able to
13032         implement pass through of a paragraph for Literate Programming.
13033
13034         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13035         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13036         * layout.C (Read): add "passthru" to list of layout tags and add
13037         code to set the pass_thru boolean when it is read.
13038
13039 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * trans_decl.h: remove allowed from KmodInfo
13042
13043         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13044         remove allowed code
13045         (Load): adjust
13046
13047         * paragraph_pimpl.C (erase): use boost::prior
13048
13049         * Painter.C (text): use data() instead of c_str() when length is
13050         also provided.
13051         * WorkArea.C (putClipboard): ditto
13052         * font.h (width): ditto
13053
13054         * BufferView2.C: use it-> instead of (*it). for iterators
13055         * texrow.C: ditto
13056         * paragraph_pimpl.C: ditto
13057         * paragraph.C: ditto
13058         * minibuffer.C: ditto
13059         * language.C: ditto
13060         * kbmap.C: ditto
13061         * encoding.C: ditto
13062         * counters.C: ditto
13063         * converter.C: ditto
13064         * chset.C: ditto
13065         * Variables.C: ditto
13066         * TextCache.C: ditto
13067         * MenuBackend.C: ditto
13068         * LyXAction.C: ditto
13069         * LColor.C: ditto
13070         * FloatList.C: ditto
13071         * DepTable.C: ditto
13072         * ColorHandler.C (LyXColorHandler): ditto
13073
13074 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13077
13078         * text2.C (openStuff): reintroduce this method (which had been
13079         nuked in NEW_INSETS frenzy).
13080
13081         * lyxfunc.C (Dispatch): when an action has not been handled, use
13082         its name in the error message, not its number.
13083
13084         * paragraph.C (inInset): change method name to begin with lowercase.
13085
13086         * undo_funcs.C:
13087         * text2.C: updates because of this.
13088
13089 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13090
13091         * ToolbarDefaults.C (add): add spaces in error message
13092
13093 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13096         (readLyXformat2): rename return_par to first_par, use lyxlex's
13097         pushToken and remove the manual push handling.
13098         (parseSingleLyXformat2Token): add another ert comp. variable:
13099         in_tabular, rename return_par to first_par. handle newlines better
13100
13101 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13104
13105 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * text2.C (getParFromID): removed
13108
13109         * buffer.C (getParFromID): new method moved form lyxtext.
13110         * BufferView2.C (insertErrors): adjust
13111         (setCursorFromRow): adjust
13112         * BufferView_pimpl.C (restorePosition): adjust
13113         * lyxfunc.C (Dispatch): adjust
13114         * undo_funcs.C (textUndo): adjust
13115         (textRedo): adjust
13116         (textHandleUndo): adjust
13117         (textHandleUndo): adjust
13118
13119 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * buffer.C: up' the LYX_FORMAT
13122
13123         * lyxfont.h: turn NO_LATEX on as default
13124
13125         * buffer.C (insertErtContents): new methods of tex style compability.
13126         (parseSingleLyXformat2Token): use it several places.
13127         * tabular.C (OldFormatRead): and here
13128
13129 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * text2.C: remove some commented code.
13132         reindent file.
13133
13134         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13135         * trans.C: changes because of the above.
13136
13137 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13138
13139         * text2.C (setCounter): Fix counters bug with bibliography layout.
13140
13141 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13144         own member functions
13145         (simpleTeXSpecialChars): ditto
13146
13147 2001-07-06  Juergen Vigna  <jug@sad.it>
13148
13149         * a lot of files: changed the access to LyXText::status and the
13150         call of undo-functions.
13151
13152         * undo.[Ch]: added a inset_id to the undo informations.
13153
13154         * undo_funcs.[Ch]: added and moved here all undo functions.
13155
13156         * lyxtext.h: give the status enum a weight, made status_ a private
13157         variable and made accessor functions for it, removed the whole bunch
13158         of undo-functions as they are now in their own file, make some
13159         functions publically available. Added function ownerParagraph with
13160         int parameter.
13161
13162         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13163         made InInset() a const function, added getParFromID() function.
13164
13165         * buffer.[Ch]: added const version for inset_iterator functions,
13166         added getInsetFromID() function.
13167
13168         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13169         changed undo functions for new version.
13170
13171 2001-07-05  Juergen Vigna  <jug@sad.it>
13172
13173         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13174         unknow mechanism does not call the proper constructor but only this
13175         one also if I request the other!?
13176
13177 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13180
13181         * text2.C (LyXText): use initialization lists.
13182
13183         * lyxtext.h (Selection): initialize set_ and mark_
13184         (init): remove method
13185
13186 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13187
13188         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13189
13190 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * screen.[Ch]: change method names to begin with lowercase
13193
13194         * BufferView_pimpl.C (updateScrollbar): simplify further and
13195         hopefully make it a bit faster.
13196
13197 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13200         calling directly xforms functions.
13201
13202         * Painter.C (Painter):
13203         * lyx_cb.C (MenuWrite):
13204         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13205         fl_display.
13206
13207         * lyx_gui.C: remove bogus guiruntime extern declaration.
13208
13209 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13212         in NEW_INSETS
13213         (redoDrawingOfParagraph): ditto
13214         (redoParagraphs): ditto
13215         (cutSelection): don't create a object for CutAndPaste use the
13216         static method directly
13217         (pasteSelection): ditto
13218
13219         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13220         LyXview (+ rename)
13221
13222 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * modifications to some other files because of this.
13225
13226         * Makefile.am (lyx_SOURCES): add XFormsView
13227
13228         * XFormsView.[Ch]: new files
13229
13230         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13231         the main window. Move the gui dependent stuff to XFormsView
13232
13233 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13234
13235         * tabular.C (GetCellInset): update cur_cell also in the row/col
13236         version of this function.
13237
13238         * lyxfunc.C: no need to include figure_form.h here.
13239
13240         * FontLoader.h:
13241         * lyxfunc.h:
13242         * lyxscreen.h:
13243         * text2.C:
13244         * lyxvc.C: no need to include forms.h here.
13245
13246 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13249
13250         * lyxfunc.C (Dispatch):
13251         * Spacing.C (set):
13252         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13253         constructor argument.
13254
13255 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * paragraph.C (Paragraph): dont't clear, and just set layout.
13258         (makeSameLayout): use params's copy contructor.
13259
13260         * ParagraphParameters.[Ch] (makeSame): delete method
13261
13262 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * Variables.[Ch]: fix indentation, rename set to isSet
13265
13266 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * lyxfunc.C (Dispatch): fix typo
13269
13270 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13271
13272         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13273         upper_bound.
13274
13275         * bufferlist.C: include assert.h for emergencyWrite().
13276
13277 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13278
13279         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13280           give up at last (bug #425202) !
13281
13282 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * lyx_gui_misc.C:
13285         * sp_form.h:
13286         * sp_form.C:
13287         * spellchecker.h:
13288         * spellchecker.C: strip spellchecker options and bring up
13289           preferences tab instead
13290
13291 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13294         the istringstream constructor
13295
13296 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * paragraph.C (getLayout): fix return value
13299
13300         * paragraph.h: do not declare getLayout as inline.
13301
13302         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13303
13304 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * lyxcursor.h (operator<): new func
13307         (operator>): new func
13308         (operator>=): new func
13309         (operator<=): new func
13310
13311         * text.C (changeCase): use selection.start and selection.end
13312         (changeRegionCase): require from to be <= to. Require par to be a
13313         valid paragraph.
13314
13315         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13316
13317 2001-06-27  Juergen Vigna  <jug@sad.it>
13318
13319         * text.C (cursorLeftOneWord): changed to return the cursor and added
13320         overlay with BufferView * parameter which calls this one.
13321         (getWord): added
13322         (selectWord): use new getWord function.
13323         (changeCase): renamed from changeWordCase as and extended to work
13324         also on selections.
13325
13326         * lyxtext.h: added enum word_location
13327
13328         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13329         changeCase as this operates now also on selections.
13330
13331 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13332
13333         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13334
13335         * many files: send debug output to Debug::INFO instead of
13336         Debug::ANY.
13337
13338         * converter.C (View):
13339         (Convert):
13340         (Move): send debug output to Debug::FILES instead of console.
13341
13342 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13343
13344         * lyxfunc.C (getStatus): use func_status
13345
13346         * func_status.h: new header, describing the results of
13347         LyXFunc::getStatus;
13348
13349         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13350         LFUN_MATH_HALIGN.
13351
13352 2001-06-25  The LyX Project  <jug@sad.it>
13353
13354         * buffer.C (sgmlOpenTag):
13355         (sgmlCloseTag):
13356         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13357
13358 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * text2.C: remove some dead code
13361
13362         * tabular.C (GetCellInset): store the last cell checked (gotten)
13363
13364         * tabular.h: add the helper for the speedup
13365
13366         * lyxtext.h: remove some dead code
13367
13368 2001-06-26  The LyX Project  <Asger>
13369
13370         * paragraph.C: Change export to LaTeX of alignment to
13371         \begin{center} and family for better roundtrip work with reLyX.
13372
13373         * Tune the math drawing a bit.
13374
13375 2001-06-25  The LyX Project  <Asger>
13376
13377         * LColor.C (LColor): New color for math background. New color
13378         for buttons.
13379
13380 2001-06-25  The LyX Project  <jug@sad.it>
13381
13382         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13383
13384         * lyxfunc.C (Open):
13385         * bufferlist.C (newFile): do not restrict to files ending with
13386         .lyx
13387
13388         * BufferView_pimpl.C (MenuInsertLyXFile):
13389
13390 2001-06-24  The LyX Project  <jug@sad.it>
13391
13392         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13393         of compare_no_case
13394
13395 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * lyxtext.h: rename most methods to begin with a small char.
13398         Lots of changes because of this.
13399
13400         * paragraph.C (Paragraph): do not call fitToSize
13401         (erase): call Pimpl::erase
13402         (insertChar): call Pimpl::insertChar
13403         (insertInset): call Pipl::insertInset
13404         (breakParagraph): do not call fitToSize
13405         (breakParagraphConservative): do not call fitToSize
13406         (fitToSize): remove method
13407
13408         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13409
13410 2001-06-24  The LyX Project  <Asger>
13411
13412         * Fix Qt compilation^2
13413
13414 2001-06-24  The LyX Project  <jug@sad.it>
13415
13416         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13417         depthHook(getDepth()-1).
13418
13419         * paragraph.h:
13420         * ParagraphParameters.h:
13421         * ParameterStruct.h: change type of depth to unsigned int ==
13422         depth_type. Many adaptations to other files before of that.
13423
13424 2001-06-24  The LyX Project  <Asger>
13425
13426         * Fix Qt compilation.
13427
13428 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.h: renamed several methods to begin with small letter.
13431         several changes to many parts of the code because of this.
13432
13433 2001-06-23  The LyX Project  <jug@sad.it>
13434
13435         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13436         rewritten to discard all double spaces when KeepEmpty is off
13437         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13438         to only handle newlines but not fiddle with spaces and friends.
13439
13440         * lyxfunc.C (MenuNew): when doing 'new from template', use
13441         template_path as default directory
13442
13443 2001-06-23  The LyX Project  <Asger>
13444
13445         * Clean-up of header file includes all over
13446         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13447
13448 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * paragraph.h: renamed from lyxparagraph.h
13451
13452 2001-06-23  Asger  <lyx@violet.home.sad.it>
13453
13454         * Buffer.h: Removed Buffer::resize
13455         * BufferList.h: Removed BufferList::resize
13456         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13457         the document lazily when we change the width, or the font settings.
13458
13459 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13462
13463 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * buffer.h: remove out of date comment
13466
13467 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13468
13469         * lyxscreen.h:
13470         * screen.C: fix "theoretical" GC leak
13471
13472 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * LaTeX.C (scanAuxFile):
13475         (deplog): remove trailing \r when reading stream (useful under
13476         win32)
13477
13478 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13479
13480         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13481         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13482         and BufferView::theLockingInset(Inset*), so should use them and not
13483         access bv_->text->the_locking_inset directly.
13484
13485         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13486
13487 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * Makefile.am:
13490         * tex-defs.h: remove old unused file
13491
13492 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * BufferView_pimpl.C: fix typo, remove minibuffer message
13495           when buffer has loaded
13496
13497 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13498
13499         * lyxfunc.C (Dispatch): use stringstream
13500         (MenuNew): use stringstream
13501         (Open): use stringstream
13502
13503         * importer.C (Import): use stringstream
13504
13505         * bufferview_funcs.C (CurrentState): use stringstream
13506
13507         * LaTeX.C (run): use stringstream
13508
13509         * BufferView_pimpl.C (savePosition): use stringstream
13510         (restorePosition): use stringstream
13511         (MenuInsertLyXFile): use stringstream
13512
13513 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * BufferView.C:
13516         * Bullet.C:
13517         * ColorHandler.C:
13518         * FontInfo.C:
13519         * FontLoader.C:
13520         * LColor.C:
13521         * LaTeXFeatures.C:
13522         * Painter.C:
13523         * gettext.C:
13524         * lyx_gui_misc.C:
13525         * lyxserver.C:
13526         * vspace.C: removed // -*- C++ -*- as first line.
13527
13528         * lyxfind.h:
13529         * version.h: added // -*- C++ -*- as first line.
13530
13531 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13534
13535         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13536         of string
13537
13538 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13541         of floats.
13542
13543 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * gettext.C: include LString.h even when --disable-nls is on.
13546
13547 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * converter.h (Get): changed argument type from int to
13550         FormatList::size_type to avoid unnecessary conversion.
13551
13552         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13553         before using it.
13554
13555 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * gettext.h: include LString.h even when --disable-nls is on.
13558
13559 2001-06-07  Juergen Vigna  <jug@sad.it>
13560
13561         * text.C (BreakAgain): subst spaces with tabs.
13562
13563         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13564         (resizeInsetsLyXText): set force on resizeLyXText.
13565
13566 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * gettext.h (gettext_init):
13569         (locale_init): use a real definition instead of a macro
13570
13571 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * Bufferview_pimpl.C:
13574         * LColor.h:
13575         * LColor.C: further lcolor tidies
13576
13577 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * BufferView_pimpl.C (updateScrollbar): simplify.
13580
13581         * BufferView2.C: don't include insets/insetinfo.h, change
13582         prototype for insertInset and call the Pimpl version. let
13583         updateInset call Pimpl version.
13584
13585         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13586         gotoInset to BufferView::Pimpl
13587
13588 2001-06-01  Juergen Vigna  <jug@sad.it>
13589
13590         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13591         inside a LockingInset (is the update needed at all?).
13592
13593 2001-05-31  Juergen Vigna  <jug@sad.it>
13594
13595         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13596         here not the old one otherwise how should we compare it afterwards
13597         if it's the same!
13598
13599 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13600
13601         * lyxfont.C:
13602         * tabular.C:
13603         * tabular-old.C:
13604         * FontInfo.C: bring C functions into global namespace when
13605         necessary
13606
13607 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * LString.h: make sure config.h has been loaded before LString.h.
13610
13611         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13612         (one for each char read by EatLine!).
13613
13614         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13615         variables.
13616
13617 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13620         to the same as the par we break from
13621
13622 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13625
13626         * MenuBackend.C (expand): also create menu entries for wide
13627         versions of the floats.
13628
13629         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13630
13631         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13632
13633         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13634         frontends/Makefile.am
13635
13636         * text2.C: adjust
13637         * text.C: adjust
13638
13639
13640         * tabular.C (getTokenValue): add std::
13641
13642         * tabular-old.C (getTokenValue): add std::
13643         (getTokenValue): ditto
13644         (getTokenValue): ditto
13645
13646         * screen.C (ToggleSelection): adjust
13647
13648         * lyxtext.h: put selection cursors inside a Selection struct.
13649
13650         * lyxfunc.C (moveCursorUpdate): adjust
13651
13652         * lyxfont.C (latexWriteStartChanges): add std::
13653
13654         * lyxfind.C: adjust
13655
13656         * font.h: delete with(char const *, LyXFont const &)
13657
13658         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13659
13660         * FontInfo.C (getFontname): add std::
13661
13662         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13663         (workAreaButtonPress): adjust
13664         (tripleClick): adjust
13665         (update): adjust
13666         (moveCursorUpdate): adjust
13667         (Dispatch): adjust
13668
13669         * BufferView2.C (gotoInset): adjust
13670
13671 2001-05-30  Juergen Vigna  <jug@sad.it>
13672
13673         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13674         to check pspell I add this as default as I now have new pspell
13675         libraries and they seem to use this.
13676
13677 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * text2.C (CutSelection): make the cursor valid before the call to
13680         ClearSelection.
13681
13682 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13685         relied on 0 terminated strings and other horrors. Bug found due to
13686         the new assert in lyxstring!
13687
13688         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13689         KP_ keys.
13690
13691 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13694         to latinkeys.bind.
13695
13696         * lyxfunc.C (processKeySym): change method of getting to the
13697         self-insert char.
13698
13699         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13700         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13701         * BufferView_pimpl.[Ch]: here as private methods.
13702
13703 2001-05-28  Juergen Vigna  <jug@sad.it>
13704
13705         * text.C (SetHeightOfRow): added the update() call again as it is
13706         needed to initialize inset dimensions!
13707
13708 2001-05-16  Juergen Vigna  <jug@sad.it>
13709
13710         * text2.C (SetCharFont): Add new function with BufferView * and
13711         bool toggleall parameters for setting insets internal fonts.
13712         (SetFont): Freeze the undo as we may change fonts in Insets and
13713         all this change should be inside only one Undo!
13714
13715         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13716         setting font's in insets as for them we have the SetFont function!
13717
13718 2001-05-15  Juergen Vigna  <jug@sad.it>
13719
13720         * text2.C (ClearSelection): to be sure we REALLY don't have any
13721         selection anymore!
13722
13723         * tabular.C (TeXCellPreamble): fixed the left border problem for
13724         multicolumn cells.
13725
13726 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13729         dependancy file
13730
13731 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13734         LFUN_BREAKPARAGRAPH.
13735
13736         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13737         help test to "internal only", similar for LFUN_INSERT_URL
13738
13739         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13740         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13741         auto_region_delete and deadkeys.
13742
13743 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * LColor.h:
13746         * LColor.C: remove some dead entries, tidy a little
13747
13748 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13751         commented code.
13752         (Dispatch): implement LFUN_ESCAPE
13753
13754         * commandtags.h: add LFUN_ESCAPE
13755
13756         * LyXAction.C (init): add entry for LFUN_ESCAPE
13757
13758         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13759         Remove commented code.
13760         (insertNote): moved here
13761         (open_new_inset): moved here
13762
13763         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13764         BufferView_pimpl
13765
13766 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13767
13768         * kbmap.C (findbinding): clean it up and make it work correctly.
13769
13770         * lyx_main.C (init): do not pass argc and argv as parameters
13771
13772 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13773
13774         * buffer.C: fix path for OS/2 & Win32
13775
13776         * lyx_gui.C:
13777         * lyx_main:
13778         * lyx_main.C: Added os:: class.
13779
13780         * os2_defines.h: update
13781
13782 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13785         better by trying again with reduced state.
13786
13787 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * lyxrc.C (read): print error about invalid key sequence only when
13790         debugging (because not all latinX keysyms are known to some X
13791         servers)
13792
13793         * kbsequence.C (getiso): add a few std:: qualifiers
13794         (getiso): comment out extra return statement.
13795
13796 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13799         handling.
13800         (Dispatch): enhance the accent inset a bit. (not perfect)
13801
13802 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13805
13806 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * bufferlist.C (emergencyWrite): fix assert() call
13809
13810 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13811
13812         * text.C (InsertChar): Added trivial patch to only send the "you
13813         can not do multiple spaces this way" message once during a
13814         session.
13815
13816 2001-05-08  Baruch Even  <baruch@lyx.org>
13817
13818         * Makefile.am: Changed order of libraries to get LyX to link properly
13819         with the gnome frontend.
13820
13821 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * LaTeXFeatures.h: add a std:: qualifier
13824
13825 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * paragraph.C (String): use stringstream
13828
13829 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * paragraph.C (writeFile): remove footflag arg
13832
13833         * buffer.C (makeLaTeXFile): use stringstream
13834         (latexParagraphs): remove footnot gurba
13835
13836         * LaTeXFeatures.C (getPackages): use stringstream
13837         (getMacros): likewise
13838         (getTClassPreamble): likewise
13839         (getFloatDefinitions): new method
13840
13841         * paragraph.C (writeFile): reindent
13842         (Erase): reindent
13843
13844         * WorkArea.h: revert the xpos + etc changes.
13845
13846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13847
13848         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13849
13850         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13851         (pasteSelection): likewise
13852         * text2.C (CreateUndo): likewise
13853
13854 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * minibuffer.C (peek_event): temporarily reduce the functionality
13857         of the minibuffer (to allow args on lfuns)
13858
13859         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13860         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13861
13862         * buffer.C (readInset): add compability reading of old float
13863         lists, add reading of new style float list.
13864         (readInset): avoid reevaluation of inscmd.getCmdName()
13865         (getLists): reindent
13866
13867         * MenuBackend.C (MenuItem): implement parsing of
13868         md_floatlistinsert and md_floatinsert.
13869         (expand::LastFiles): move initalizaton of iterators out of loop,
13870         avoid reevaluation.
13871         (expand::Documents): introduce typdedef vector<string> Strings,
13872         and use it.
13873         (expand::ExportFormats): introduce typedef vector<Format const *>
13874         Formats, and use it.
13875         (expand): implement FloatListInsert and FloatInsert.
13876
13877         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13878         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13879         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13880
13881         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13882         handling.
13883         (Dispatch::LFUN_FLOAT_LIST): implement
13884
13885 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13886
13887         * LaTeX.C (run): Fix problem with --export code.
13888
13889 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * BufferView.[Ch] (workarea): removed.
13892         (getClipboard) new method; wrapper for workarea()->getClipboard()
13893
13894         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13895         bug.
13896
13897         * WorkArea.h (width, height, xpos, ypos): These methods all
13898         returned the dimensions of the work_area sub-area of WorkArea,
13899         resulting in a position error if the WorkArea were resized. Now
13900         return the dimensions of the entire WorkArea.
13901
13902         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13903
13904 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * LaTeX.C (deplog): correct the syntax of regex reg1
13907
13908 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * undo.C: remove !NEW_INSETS cruft
13911
13912 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * text2.C: remove !NEW_INSETS cruft
13915
13916         * text.C: remove !NEW_INSETS cruft
13917
13918         * tabular.C: remove !NEW_INSETS cruft
13919
13920         * spellchecker.C: remove !NEW_INSETS cruft
13921
13922         * lyxtext.h: remove !NEW_INSETS cruft
13923
13924         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13925
13926         * lyxfunc.C: remove !NEW_INSETS cruft
13927
13928         * lyxfind.C: remove !NEW_INSETS cruft
13929
13930         * lyx_cb.C: remove !NEW_INSETS cruft
13931
13932         * figureForm.C: remove  !NEW_INSETS cruft
13933
13934         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13935
13936         * buffer.[Ch]: remove !NEW_INSETS cruft
13937
13938         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13939
13940         * CutAndPaste.C: remove !NEW_INSETS cruft
13941
13942         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13943
13944         * BufferView2.C: remove !NEW_INSETS cruft
13945
13946         * BufferView.h: remove !NEW_INSETS cruft
13947
13948 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13949
13950         * Lsstream.h: include LString.h before the sstream headers to
13951         fix problem with gcc 2.95.3 and lyxstring
13952
13953 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * lyx_main.C: add using directives when needed for C functions
13956         declared in std:: namespace.
13957
13958 2001-04-27  Juergen Vigna  <jug@sad.it>
13959
13960         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13961         (SetHeightOfRow): comment out the update call should not be needed!
13962
13963 2001-04-13  Juergen Vigna  <jug@sad.it>
13964
13965         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13966         (LyXTabular): tried to minimize operator= operations (and realized
13967         hopfully Lars wish).
13968
13969 2001-04-27  Juergen Vigna  <jug@sad.it>
13970
13971         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13972
13973 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13976
13977         * buffer.C (readInset): hack to make listof algorithm work
13978
13979         * BufferView_pimpl.C: hack to make listof algorithm work
13980
13981 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * LyXAction.C: removed all !NEW_INSETS cruft
13984         (init): moved lfun_item in method
13985
13986         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13987
13988 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13989
13990         * BufferView2.C (theLockingInset): white space.
13991
13992 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * minibuffer.C: include <iostream>
13995
13996         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13997
13998         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13999
14000         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14001
14002         * text.[Ch] (TransposeChars): new method
14003
14004 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * call message directly through LyXView instead of through LyXFunc
14007         * BufferView2.C: adjust
14008         * BufferView_pimpl.C: adjust
14009         * FontLoader.C: adjust
14010         * buffer.C: adjust
14011         * bufferview_funcs.C: adjust
14012         * converter.C: adjust
14013         * figureForm.C: adjust
14014         * importer.C: adjust
14015         * lyx_cb.C: adjust
14016         * lyx_gui_misc.C: adjust
14017         * lyxfunc.C: adjust
14018         * lyxvc.C: adjust
14019         * text2.C: adjust
14020         + more files in subdirs
14021
14022         * lyxparagraph.h (size): move up int file
14023         (GetLayout): ditto
14024
14025         * adjust all uses of Assert to lyx::Assert.
14026
14027         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14028         lyxfunctional in namespace lyx
14029         * layout.C (hasLayout): ditto
14030         (GetLayout): ditto
14031         (GetLayout): ditto
14032         (delete_layout): ditto
14033         (NumberOfClass): ditto
14034         * converter.C (GetFormat): ditto
14035         (GetNumber): ditto
14036         (Add): ditto
14037         (Delete): ditto
14038         (SetViewer): ditto
14039         * bufferlist.C (getFileNames): ditto
14040         (emergencyWriteAll): ditto
14041         (exists): ditto
14042         (getBuffer): ditto
14043         * MenuBackend.C (hasSubmenu): ditto
14044         (hasMenu): ditto
14045         (getMenu): ditto
14046         * BufferView_pimpl.C (getInsetByCode): ditto
14047
14048 2001-04-18  Juergen Vigna  <jug@sad.it>
14049
14050         * vspace.C (asLatexString): fixed the 100% problem.
14051
14052 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * lyxfunc.C (Dispatch):
14055         * minibuffer.C:
14056         * minibuffer.h: add a few std:: qualifiers
14057
14058 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * minibuffer.[Ch]: reimplement so that commands is initiated and
14061         run from lyxfunc, simplified som handling, and made the completion
14062         and history code for complete. wip.
14063
14064         * lyxfunc.C (processKeySym): call message
14065         (miniDispatch): new temporary method
14066         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14067         (LFUN_MESSAGE): implement
14068         (LFUN_MESSAGE_PUSH): implement
14069         (LFUN_MESSAGE_POP): implement
14070         (initMiniBuffer): the initial/defualt minibuffer message.
14071
14072         * lyxfont.[Ch]: inline some more getters
14073
14074         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14075
14076         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14077
14078         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14079         (AutoSave): use LFUN_MESSAGE
14080         (Reconfigure): ditto
14081
14082         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14083
14084         * figureForm.C: use LFUN_MESSAGE
14085
14086         * converter.C (runLaTeX): use LFUN_MESSAGE
14087
14088         * bufferview_funcs.C: use LFUN_MESSAGE
14089         (Melt): ditto
14090         (changeDepth): ditto
14091
14092         * bufferparams.h: use boost::
14093
14094         * bufferlist.h: inherit privately from noncopyable
14095
14096         * bufferlist.C (loadLyXFile): remove some commented code.
14097
14098         * buffer.C (runChktex): use LFUN_MESSAGE
14099
14100         * ShareContainer.h: inherit privately from noncopyable
14101
14102         * ParagraphParameters.[hC] (depth): inline it.
14103
14104         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14105         methods.
14106         (message): new method
14107         (messagePush): ditto
14108         (messagePop): ditto
14109         (show): init minibuffer
14110         (showState): direct call
14111
14112         * LaTeX.[Ch]: inherit privately from noncopyable
14113         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14114         instead of WriteStatus.
14115
14116         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14117
14118         * BufferView_pimpl.C (buffer): don't init minibuffer
14119         (workAreaButtonPress): use LFUN_MESSAGE
14120         (workAreaButtonRelease): ditto
14121         (savePosition): ditto
14122         (restorePosition): ditto
14123         (MenuInsertLyXFile): ditto
14124         (workAreaExpose): don't init minibuffer
14125         (update): remove commented code, simplify
14126
14127         * BufferView2.C (openStuff): use LFUN_MESSAGE
14128         (toggleFloat): ditto
14129         (menuUndo): ditto
14130         (menuRedo): ditto
14131         (copyEnvironment): ditto
14132         (pasteEnvironment): ditto
14133         (copy): ditto
14134         (cut): ditto
14135         (paste): ditto
14136         (gotoInset): ditto
14137         (updateInset): remove some commented code
14138
14139         * lastfiles.h: inherit privately from noncopyable
14140         * layout.h: ditto
14141         * lyx_gui.h: ditto
14142         * lyx_main.h: ditto
14143         * lyxlex.h: ditto
14144         * lyxlex_pimpl.h: ditto
14145
14146         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14147         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14148         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14149
14150         * LyXAction.h: inherit privately from noncopyable, add methods
14151         func_begin, func_end, returning iterators to the func map.
14152
14153         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14154         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14155         (func_begin): new method
14156         (func_end): new method
14157
14158         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14159         and not)
14160         (copySelection): ditto
14161         (pasteSelection): ditto
14162
14163         * BufferView.C: whitespace change
14164         * BufferView.h: inherit privately from noncopyable
14165
14166 2001-04-16  Allan Rae  <rae@lyx.org>
14167
14168         * tabular-old.C (l_getline):
14169         * spellchecker.C (sc_check_word):
14170         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14171         an unrecognised preprocessor directive.  So ensure they're wrapped.
14172
14173 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * src/exporter.C (Export): Give an error message when path to file
14176         contains spaces.
14177
14178 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14179
14180         * LaTeX.C (deplog): Always check that foundfile exists.
14181
14182 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * lyx_main.h:
14185         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14186
14187 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * tabular.[Ch] (getLabelList): implement new method
14190
14191         * minibuffer.h: comment ouf setTiimer
14192
14193         * minibuffer.C (ExecutingCB): constify res
14194         (peek_event): constify s
14195         (Set): constify ntext
14196         (Init): constify nicename
14197
14198         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14199
14200         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14201         (savePosition): use two params to Minibuffer::Set
14202         (restorePosition): ditto
14203
14204 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * lyx_main.C: include language.h
14207
14208         * Makefile.am (lyx_main.o): add language.h
14209
14210 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * exporter.C:
14213         * paragraph.C:
14214         * screen.C:
14215         * tabular.C:
14216         * CutAndPaste.C: include gettext.h
14217
14218         * lyxfont.h: remove old hack with ON and OFF.
14219
14220         * lyxparagraph.h:
14221         * lyxfont.h: do not include language.h...
14222
14223         * BufferView2.C:
14224         * LaTeXFeatures.C:
14225         * Painter.C:
14226         * bufferview_funcs.C:
14227         * font.C:
14228         * lyxfont.C:
14229         * text.C:
14230         * text2.C:
14231         * trans_mgr.C:
14232         * paragraph.C: ... but do it here instead
14233
14234 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14235
14236         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14237
14238         * tabular.C: small reformat
14239
14240         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14241         NEW_INSETS version
14242         (GetChar): ditto
14243         (BreakParagraph): ditto
14244         (SetOnlyLayout): ditto
14245         (SetLayout): ditto
14246
14247         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14248         with one arg less.
14249
14250         * lastfiles.C: removed most using decl, add std:: where needed
14251
14252         * buffer.C: ws changes
14253
14254         * MenuBackend.C (class compare_format): put into anon namespace
14255         (expand): constify label, names, action, action2
14256         (expand):
14257
14258         * text.C (SingleWidth): constify font
14259         (IsBoundary): constify rtl2
14260         (GetVisibleRow): constify ww
14261
14262         * LaTeX.C (deplog): constify logfile
14263
14264         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14265         start_x, end_x
14266         (workAreaExpose): constify widthChange, heightChange
14267
14268         * lyxrow.C (par): moved
14269         (height): moved
14270         (next): moved
14271         * lyxrow.h: as inlines here
14272
14273         * lyxfont.h (shape): moved from lyxfont.C
14274         (emph): moved from lyxfont.C
14275
14276         * lyxfont.C (LyXFont): use initialization list for all
14277         constructors
14278         (shape): move to lyxfont.h as inline
14279         (emph): move to lyxfont.h as inline
14280
14281
14282 2001-04-04  Juergen Vigna  <jug@sad.it>
14283
14284         * vspace.C: had to include stdio.h for use of sscanf
14285
14286 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14287
14288         * BufferView.h:
14289         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14290         independent of xforms.
14291
14292 2001-04-02  Juergen Vigna  <jug@sad.it>
14293
14294         * spellchecker.C: fixed namespace placing!
14295
14296 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14299         the LyXParagraph * is 0.
14300
14301 2001-03-29  Juergen Vigna  <jug@sad.it>
14302
14303         * vspace.C: added support for %, c%, p%, l%.
14304         (stringFromUnit): added helper function.
14305         (asLatexString): changed to give right results for the %-values.
14306
14307         * buffer.C: convert the widthp in a width%.
14308
14309 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14312         figureForm.[Ch].
14313
14314         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14315         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14316
14317         * lyx_cb.[Ch]: see above.
14318
14319         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14320         form1.[Ch].
14321
14322         * form1.[Ch]:
14323         * lyx.[Ch]: replaced by figure_form.[Ch].
14324
14325         * lyx_gui.C:
14326         * lyx_gui_misc.C:
14327         * lyxfunc.C: changed headers associated with above changes.
14328
14329 2001-03-27  Juergen Vigna  <jug@sad.it>
14330
14331         * BufferView_pimpl.C: set the temporary cursor right!
14332
14333 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14336
14337 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * LString.h: removed "using std::getline"!
14340
14341         * BufferView_pimpl.C (Dispatch): changes due to changes in
14342         InsetInclude::Params.
14343
14344         * buffer.C (tag_name): removed redundant break statements as they were
14345         producing lots of warnings with my compiler.
14346
14347 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14348
14349         * LString.h: add "using std::getline" when using the real <string>.
14350
14351 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14352
14353         * buffer.C: removed bitset usage.
14354         PAR_TAG moved to an anonymous name space.
14355         (tag_name): new funtion, also in the anonymous namespace.
14356         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14357         (makeDocBookFile): clean code. Completed transition from string arrays
14358         to string vectors.
14359         (SimpleDocBookOnePar): code clean.
14360
14361 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14362
14363         * tabular.C: add some comments.
14364
14365 2001-03-22  Juergen Vigna  <jug@sad.it>
14366
14367         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14368         compatibility read a bit and fixed bug with minipage in different
14369         depth.
14370
14371 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14372
14373         * buffer.C (pop_tag): removed.
14374         (push_tag): removed.
14375         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14376         array replaced with vector. Added support for CDATA sections.
14377         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14378         at any nest level.
14379         (makeDocBookFile): XML conformant declaration of CDATA section,
14380         fixed bug related to <emphasis> in the first paragraph char.
14381         (sgmlOpenTag): exclude empty tags.
14382         (sgmlCloseTag): ditto.
14383
14384         * buffer.h (pop_tag): removed.
14385         (push_tag): removed.
14386
14387 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14388
14389         * language.h (Languages): added size_type and size().
14390
14391 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14392
14393         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14394         response on compability reading of minipages. One probliem is that
14395         the old usage of minipages was «flertydig»
14396
14397         * several files here and in subdirs: don't use static at file
14398         scope use anon namespaces instead.
14399
14400 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14401
14402         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14403         LaTeX output. This is necessary for Literate document
14404         processing.
14405
14406 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14407
14408         * buffer.C: insert hfill when needed.
14409
14410         * tabular.C (l_getline): use string::erase, small whitespace change.
14411
14412         * BufferView_pimpl.C: try the anon namespace.
14413         * WorkArea.C: ditto
14414
14415 2001-03-16  Juergen Vigna  <jug@sad.it>
14416
14417         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14418         otherwise it won't open options-dialogs.
14419
14420         * buffer.C: honor pextraWidth(p) on converting minipages.
14421
14422         * tabular.C (l_getline): changed the functions to strip trailing \r.
14423
14424 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * BufferView_pimpl.C:
14427         * minibuffer..C: added "using SigC::slot" declaration.
14428
14429 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14430
14431         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14432
14433         * text2.C: ditto
14434
14435         * text.C: ditto
14436
14437         * paragraph.C: ditto
14438
14439         * lyxtext.h: NO_PEXTRA
14440
14441         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14442
14443         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14444         * ParameterStruct.h: ditto
14445         * ParagraphParameters.h: ditto
14446         * lyxparagraph.h: ditto
14447
14448 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14449
14450         * buffer.C: add compability for minipage alignment.
14451         (latexParagraphs): remove unwanted pextra check.
14452
14453         * several files: remove CXX_WORKING_NAMESPACES
14454
14455         * buffer.C (pop_tag): tie is in namespace boost
14456
14457         * BufferView.h: noncopyable is in namespace boost
14458         * lyxlex.h: ditto
14459         * lyx_main.h: ditto
14460         * lyx_gui.h: ditto
14461         * layout.h: ditto
14462         * lastfiles.h: ditto
14463         * bufferlist.h: ditto
14464         * ShareContainer.h: ditto
14465         * LyXView.h: ditto
14466         * LyXAction.h: ditto
14467         * LaTeX.h: ditto
14468
14469 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14470
14471         * Merging changes from BRANCH_MVC back into HEAD.
14472
14473         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14474
14475 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14476
14477         * BufferView_pimpl.C: change from intl.C
14478
14479         * combox.h:
14480         * combox.C:
14481         * Makefile.am: move combox.*
14482
14483         * form1.h:
14484         * form1.C:
14485         * lyx_gui.C:
14486         * intl.h:
14487         * intl.C: remove dialog (covered by prefs)
14488
14489 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14490
14491         * lyxfunc.C (Dispatch): removed redundant break statement.
14492
14493 2001-03-14  Juergen Vigna  <jug@sad.it>
14494
14495         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14496
14497 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14498
14499         * buffer.C: add hack to fix compability reading of minipages.
14500
14501 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * buffer.C (getLists): Cleanup.
14504
14505 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * lyxfont.C (update): don't honor toggleall on font size.
14508
14509 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * bmtable.c:
14512         * bmtable.h:
14513         * Makefile.am: moved to frontends/xforms/
14514
14515         * lyx_gui_misc.C:
14516         * lyxfunc.C:
14517         * BufferView_pimpl.C: changes for moved mathpanel
14518
14519 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * gettext.h: fix gettext_init() in --disable-nls
14522
14523 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14526
14527 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * lyx.C:
14530         * lyx.h: strip external form
14531
14532 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14533
14534         * BufferView_pimpl.C: add comment, destroySplash()
14535
14536 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14537
14538         * BufferView_pimpl.C:
14539         * LyXAction.C:
14540         * buffer.C:
14541         * commandtags.h:
14542         * lyxfunc.C: use re-worked insetinclude
14543
14544 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14545
14546         * buffer.C: add using std::stringstream.
14547
14548         * lyx_cb.C: readd using std::ios.
14549
14550         * buffer.C: add using std::map.
14551
14552         * BufferView_pimpl.C: add using std::vector.
14553
14554         * ShareContainer.h: add std:: to swap.
14555
14556         * buffer.h: add some typedefs
14557         * buffer.C (getLists): use them
14558         (getLists): renamed from getTocList.
14559         add a counter for the different float types and use it in the
14560         generated string.
14561         (getLists): use the same counter for the NEW_INSETS and the "non"
14562         NEW_INSETS
14563
14564         * lyx_cb.h: remove unused items, includes, using etc.
14565
14566         * ShareContainer.h: remove some commented code, add more comments
14567         and "documentation".
14568
14569 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14570
14571         * buffer.C (getTocList): make the list also when NEW_INSETS is
14572         defined.
14573
14574         * buffer.h: remove TocType
14575
14576         * buffer.C (getTocList): change to return a map<string,
14577         vector<TocItem> >, implement for dynamic number of list.
14578
14579         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14580         * text2.C (PasteSelection): adjust
14581         * CutAndPaste.C (pasteSelection): adjust
14582
14583         * FloatList.C (FloatList): update from the new_insets branch.
14584         * Floating.[Ch]: ditto
14585         * LaTeXFeatures.C: ditto
14586         * buffer.C: ditto
14587         * lyxlex_pimpl.C: ditto
14588
14589         * paragraph.C (Last): remove when NEW_INSETS is defined.
14590
14591         * other file: changes because of the above.
14592
14593 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14594
14595         * lyxparagraph.h: rename next to next_, previous to previous_,
14596         make them private for NEW_INSETS. Rename Next() to next(),
14597         Previous() to previous().
14598
14599         * other files: changes because of the above.
14600
14601 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * BufferView.h:
14604         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14605         problem.
14606
14607 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * main.C (main): pass lyx_localedir to gettext_init().
14610
14611         * gettext.h: remove locale_init and gettext_init macros
14612
14613         * gettext.C (locale_init): new function
14614         (gettext_init): new function
14615
14616         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14617         setlocale().
14618
14619 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14620
14621         * Moved credits to frontends:
14622         * credits.[Ch]: removed
14623         * credits_form.[Ch]: removed
14624         * lyx_gui_misc.C: remove credits stuff
14625         * Makefile.am:
14626
14627 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14628
14629         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14630
14631         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14632         unneeded destructor.
14633
14634         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14635         a standalone pointer again.
14636
14637         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14638
14639 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * Makefile.am:
14642         * filedlg.h:
14643         * filedlg.C:
14644         * LyXAction.C:
14645         * ToolbarDefaults.C:
14646         * bufferlist.C:
14647         * commandtags.h:
14648         * form1.C:
14649         * form1.h:
14650         * lyx_cb.C:
14651         * lyx_cb.h:
14652         * lyxfunc.h:
14653         * lyxfunc.C:
14654         * BufferView_pimpl.C: use new file dialog in GUII
14655
14656         * lyx_cb.h:
14657         * lyx_cb.C: remove LayoutsCB to Toolbar
14658
14659 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * ShareContainer.h (get): add std:: qualifier
14662
14663 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * ShareContainer.h: define a proper ShareContainer::value_type
14666         type (and use typename to please compaq cxx)
14667
14668 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14669
14670         * lyxparagraph.h: move serveral local vars to
14671         ParameterStruct/ParagraphParameters., use ShareContainer in
14672         FontTable., make vars in FontTable private and add getter and
14673         setter.
14674
14675         * paragraph.C: changes because of the above.
14676
14677         * lyxfont.h: remove copy constructor and copy assignment. (the
14678         default ones is ok), move number inside FontBits. move inlines to
14679         lyxfont.C
14680
14681         * lyxfont.C: add number to initializaton of statics, move several
14682         inlines here. constify several local vars. some whitespace
14683         cleanup. Dont hide outerscope variables.
14684
14685         * Spacing.h: add two new constructors to match the set methods.
14686
14687         * ShareContainer.h: new file, will perhaps be moved to support
14688
14689         * ParameterStruct.h: new file
14690
14691         * ParagraphParameters.h: new file
14692
14693         * ParagraphParameters.C: new file
14694
14695         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14696         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14697
14698         * BufferView_pimpl.C: ParagraphParameter changes.
14699         * buffer.C: Likewise.
14700         * bufferview_funcs.C: Likewise.
14701         * text.C: Likewise.
14702         * text2.C: Likewise.
14703
14704 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14705
14706         * lyxfind.C (LyXReplace): do not redefine default argument in
14707         implementation.
14708         (IsStringInText): ditto
14709         (SearchForward): ditto
14710         (SearchBackward): ditto
14711
14712 2001-03-06  Juergen Vigna  <jug@sad.it>
14713
14714         * lyxfind.C (IsStringInText): put parentes around expressions.
14715
14716 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14717
14718         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14719
14720 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14721
14722         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14723
14724         * stl_string_fwd.h: add comment
14725
14726         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14727
14728         * tabular.h:
14729         * tabular.C: remove unused DocBook methods
14730
14731         * intl.C:
14732         * language.C:
14733         * paragraph.C:
14734         * buffer.C:
14735         killed DO_USE_DEFAULT_LANGUAGE
14736
14737 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * lyx_gui.C: do not include language.h.
14740
14741         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14742         arguments in function implementation.
14743
14744 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14745
14746         * BufferView_pimpl.C: add <ctime>
14747
14748 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14749
14750         * BufferView_pimpl.C: add using std::find_if
14751
14752 2001-02-27  José Matos  <jamatos@fep.up.pt>
14753
14754         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14755         by OnlyPath.
14756
14757 2001-02-11  José Matos  <jamatos@fep.up.pt>
14758
14759         * buffer.C (makeDocBookFile): command styles now have a parameter as
14760         "title" by default.
14761
14762 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14763
14764         * layout_forms.[Ch]: removed
14765         * lyx_cb.[Ch]: out character
14766         * lyx_gui.C: out character
14767         * lyx_gui_misc.C: out character
14768         * bufferview_funcs.C: : out character,
14769         added toggleall as parameter in ToggleAndShow
14770
14771 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14772
14773         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14774
14775         * text2.C (SetCurrentFont): Disable number property at boundary.
14776
14777 2001-02-26  Juergen Vigna  <jug@sad.it>
14778
14779         * lyxfunc.C (getStatus): added a string argument override function so
14780         that this is correctly called from LyXFunc::Dispatch if it contains a
14781         do_not_use_argument which is used!
14782         (Dispatch): added check for "custom" export and call appropriate func.
14783
14784 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * lyxrc.C: Add language_command_local, language_use_babel and
14787         language_global_options.
14788
14789         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14790
14791         * buffer.C (makeLaTeXFile): Use language_use_babel and
14792         language_global_options.
14793
14794 2001-02-23  Juergen Vigna  <jug@sad.it>
14795
14796         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14797         which works with LyXText and putted it inside BufferView. Here now we
14798         only call for that part the BufferView::Dispatch() function.
14799
14800         * BufferView.C (Dispatch): added.
14801
14802         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14803         functions which needs to use a LyXText over from LyXFunc.
14804         (MenuInsertLyXFile): added
14805         (getInsetByCode): added
14806         (moveCursorUpdate): added
14807         (static TEXT): added
14808
14809 2001-02-22  Juergen Vigna  <jug@sad.it>
14810
14811         * BufferView_pimpl.C (update): call a status update to see if LyXText
14812         needs it.
14813
14814 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14815
14816         * vc-backend.C (revert): implement for CVS
14817         (getLog): implement for CVS
14818
14819 2001-02-20  Juergen Vigna  <jug@sad.it>
14820
14821         * text2.C (ClearSelection): added BufferView param for inset_owner call
14822
14823         * lyxfunc.C (TEXT): added this function and use it instead of
14824         directly owner->view()-text of getLyXText().
14825
14826 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14827
14828         * src/layout_forms.C: out preamble
14829         * src/layout_forms.h: out preamble
14830         * src/lyx_cb.C: out preamble
14831         * src/lyx_cb.h: out preamble
14832         * src/lyx_gui.C: out preamble
14833         * src/lyx_gui_misc.C: out preamble
14834         * src/lyxfunc.C: connect with guii preamble
14835
14836 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14837
14838         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14839
14840 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14843         whether to run bibtex.
14844
14845 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14846
14847         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14848
14849 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14850
14851         * Makefile.am (lyx_SOURCES): removed bibforms.h
14852
14853         * vspace.h: doxygen
14854
14855         * text.C (GetVisibleRow): make several local vars const
14856
14857         * tabular.C: small cleanup.
14858
14859         * lyxserver.C (callback): use compare instead of strncmp
14860
14861         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14862         inlines to after class or to paragraph.C
14863
14864         * lyxfont.h: remove friend operator!=
14865
14866         * converter.h: move friend bool operator< to non friend and after
14867         class def.
14868
14869         * combox.h: small cleanup
14870
14871         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14872         to inlines after class def.
14873
14874         * buffer.C (pop_tag): use string operations instead of strcmp
14875
14876         * bmtable.c: doxygen, small cleanup
14877
14878         * LaTeX.h: remove friend operator==
14879
14880 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14881
14882         * screen.C:
14883         * lyxrc.[Ch]:
14884         * lyxfunc.C:
14885         * lyxfont.[Ch]:
14886         * lyx_cb.C:
14887         * intl.[Ch]:
14888         * commandtags.h:
14889         * buffer.C:
14890         * WorkArea.[Ch]:
14891         * LyXAction.C:
14892         * BufferView_pimpl.C:
14893         * BufferView.[Ch]: remove cruft
14894
14895 2001-02-14  Juergen Vigna  <jug@sad.it>
14896
14897         * lyxfunc.C: removed #if 0 unused code
14898
14899         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14900
14901         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14902
14903         * text2.C (SetSelection): added a BufferView * parameter
14904
14905 2001-02-13  Juergen Vigna  <jug@sad.it>
14906
14907         * lyxfunc.C (Dispatch): fixed protected blank problem.
14908         * BufferView2.C (protectedBlank): added LyxText * parameter.
14909
14910         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14911         (AppendColumn): same as above for column_info.
14912
14913         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14914         (moveCursorUpdate): use a LyXText param for support of InsetText.
14915
14916         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14917         (tripleClick): ditto
14918
14919         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14920
14921         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14922
14923         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14924
14925         * text2.C (SetSelection): set correct update status if inset_owner
14926         (ToggleFree): ditto
14927
14928 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14929
14930         * tabular.C: remove some commented code.
14931
14932 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * BufferView_pimpl.C: call hideSplash()
14935
14936         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14937
14938         * include_form.h:
14939         * bibforms.h: remove
14940
14941         * lyxfunc.C:
14942         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14943           add LFUN_CHILD_CREATE
14944
14945         * counters.h: fix tiny typo
14946
14947         * lyx_cb.C:
14948         * lyx.h:
14949         * lyx_gui.C:
14950         * lyx.C: move splash to frontends/xforms/
14951
14952         * lyx_gui_misc.C: move Include and Bibform to frontends
14953
14954         * lyxvc.h: clarify comment
14955
14956         * vspace.C: tiny housekeeping
14957
14958 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14959
14960         * text.C (PrepareToPrint): RTL Fix.
14961
14962         * paragraph.C (GetUChar): New method.
14963         (String):  Use GetUChar.
14964
14965         * buffer.C (asciiParagraph): Use GetUChar.
14966
14967 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14970
14971 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14972
14973         * buffer.h:
14974         * buffer.C: rename to getLogName(), handle
14975           build log / latex log nicely
14976
14977 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * MenuBackend.C:
14980         * MenuBackend.h: remove support for reference menuitem type.
14981
14982 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * BufferView_pimpl.C: housekeeping
14985         * BufferView_pimpl.h:
14986         * LyXView.h:
14987         * Makefile.am:
14988         * Timeout.C:
14989         * Timeout.h:
14990         * minibuffer.h: move Timeout GUI-I
14991
14992 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14993
14994         * lyxrc.C (read): Update converters data-structures.
14995
14996 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14997
14998         * LaTeX.h (operator!=): add operator != for Aux_Info
14999
15000 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15003
15004         * LaTeXLog.C: deleted, useful code moved to Buffer
15005
15006         * buffer.h:
15007         * buffer.C: new function getLatexLogName()
15008
15009         * lyx_gui_misc.C:
15010         * lyx_gui.C:
15011         * lyxvc.C:
15012         * lyxvc.h:
15013         * lyxfunc.C: use frontends for LaTeX and VC logs
15014
15015 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * LaTeX.h: yet another std:: that Allan forgot.
15018
15019         * Variables.C (set): renamed from isset(), because this clashes
15020         with some HP-UX macros (grr).
15021
15022 2001-02-06  Allan Rae  <rae@lyx.org>
15023
15024         * LaTeX.h: Another bug fix.  Missing std:: this time.
15025
15026 2001-02-04  Allan Rae  <rae@lyx.org>
15027
15028         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15029         floats problem. I've left it commented out because it's not quite
15030         correct.  It should also test that the current object is a table or
15031         figure inset.  But I haven't gotten around to figuring out how to do
15032         that.  I *think* it'll be something like: "table" == inset.type()
15033
15034         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15035         bool.
15036
15037 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15038
15039         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15040         all the citation/databases/styles in the auxilary file.
15041         (run): Rerun latex if there was a babel language error.
15042
15043 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * text.C (Backspace): Preserve the font when changing newline char
15046         with a space.
15047         (BreakParagraph): If the cursor is before a space, delete the space.
15048
15049         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15050
15051 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15052
15053         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15054         new argument (code).
15055         (ChangeCitationsIfUnique): New method.
15056
15057         * paragraph.C (GetPositionOfInset): Handle bibkey.
15058
15059 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * BufferView_pimpl.h: change type of Position::par_pos to
15062         LyXParagraph::size_type.
15063
15064 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15065
15066         * BufferView_pimpl.C (savePosition, restorePosition): Write
15067         messages to minibuffer.
15068
15069 2001-01-28  José Matos  <jamatos@fep.up.pt>
15070
15071         * buffer.C (makeDocBookFile): adds support for document language.
15072         A silly restriction on the name of LatexCommand types where removed.
15073         Added support for CDATA sections, allows to chars unescaped, used
15074         among others in code, to avoid escape < and >.
15075
15076 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15079         saved positions instrad of a stack. Furthermore, a position is
15080         stored using paragraph id/paragraph position.
15081
15082         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15083         Remove LFUN_REF_BACK.
15084
15085 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15086
15087         * converter.C (dvipdfm_options): New method.
15088
15089 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * vspace.C (isValidLength): Fix for empty input string.
15092
15093 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * LyXAction.C (init): change description of LFUN_FIGURE to
15096         "Insert Graphics"
15097
15098 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * LaTeX.C: add using directive
15101
15102 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15103
15104         * MenuBackend.C (expand): Fix the sorting of the formats.
15105
15106 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * lyx_main.C: tiny error message fix
15109
15110 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15113         calling fl_initialize(). This fixes the problem with ',' as
15114         decimal separator in text files.
15115
15116 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * trans.C (process): Fix the keymap bug.
15119
15120 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15121
15122         * LaTeX.C (scanAuxFiles): New method. Provides support for
15123         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15124         (scanLogFile) Scan for "run BibTeX" messages.
15125
15126         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15127         OT1 font encoding. Also, load the aecompl package if the ae
15128         package is loaded.
15129
15130         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15131
15132 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * texrow.C (increasePos): turn two error messages into debug
15135         messages.
15136
15137 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * LaTeX.C (scanAux): Handle the \@input macro.
15140         (runBibTeX): Use scanAux().
15141
15142         * language.C (latex_options_): New field.
15143
15144         * LaTeXFeatures.C (getMacros): Add language macros.
15145
15146         * buffer.C (makeLaTeXFile): Small fix.
15147
15148 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15151
15152         * text2.C: add a using directive.
15153
15154 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * BufferView2.C:
15157         * lyx_gui_misc.h:
15158         * lyxfr1.C:
15159         * lyxfunc.C: kill LyXBell.
15160
15161 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15162
15163         * text.C (IsBoundary): Remove the error message
15164
15165         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15166
15167         * lyxrc.C (setDefaults): Correct initialization value for
15168         font_norm_type.
15169
15170 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15171
15172         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15173         gotoError().
15174
15175         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15176         and GotoNextNote().
15177
15178         * src/LyXAction.C: Added reference-next.
15179
15180         * text.C (InsertChar): Use contains instead of strchr.
15181
15182         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15183
15184 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15185
15186         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15187         alignment commands (when needed).
15188
15189         * text.C (InsertChar): Add ':' to number separator chars.