]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
small header tweaks
[lyx.git] / src / ChangeLog
1 2003-09-08  Angus Leeming  <leeming@lyx.org>
2
3         * graph.C: #include <config.h>.
4
5 2003-09-08  Angus Leeming  <leeming@lyx.org>
6
7         * BranchList.C:
8         * BufferView.C:
9         * BufferView_pimpl.C:
10         * CutAndPaste.C:
11         * DepTable.C:
12         * LaTeX.C:
13         * LaTeXFeatures.C:
14         * LyXAction.C:
15         * MenuBackend.C:
16         * TextCache.C:
17         * aspell.C:
18         * buffer.C:
19         * bufferlist.C:
20         * changes.C:
21         * chset.C:
22         * converter.C:
23         * counters.C:
24         * debug.C:
25         * graph.C:
26         * ispell.C:
27         * lyx_cb.C:
28         * lyxfind.C:
29         * lyxfunc.C:
30         * lyxlex_pimpl.C:
31         * lyxrc.C:
32         * lyxrow.C:
33         * paragraph.C:
34         * rowpainter.C:
35         * texrow.C:
36         * text.C:
37         * text2.C:
38         * toc.C: remove redundant using directives.
39
40 2003-09-07  Angus Leeming  <leeming@lyx.org>
41
42         * LaTeXFeatures.h: remove #include "support/types.h".
43         * ToolbarBackend.h: remove #include <algorithm>.
44         * changes.h: remove #include <ctime>.
45         * debug.h: remove #include <iosfwd>.
46         * graph.h: remove #include "support/std_string.h".
47         * lyx_main.h: remove #include <csignal>.
48         * lyxlex_pimpl.h: remove #include <fstream>.
49         * sgml.h: remove #include <algorithm>, <utility>.
50         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
51
52 2003-09-07  Angus Leeming  <leeming@lyx.org>
53
54         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
55
56         * converter.h: forward declare LatexRunParams.
57         * encoding.h: remove #include "lyxrc.h".
58         * lyxtext.h: remove #include "LColor.h".
59         * lyxtextclass.h: remove #include "support/types.h".
60         * trans.h: remove #include "tex-accent.h".
61         * trans_mgr.h: remove #include "tex-accent.h".
62         * insets/inset.h: remove #include "support/types.h", <vector>.
63         * insets/insetcollapsable.h: remove #include "LColor.h".
64         * insets/insetinclude.h: remove #include "dimension.h".
65         * insets/insetlatexaccent.h: remove #include "dimension.h".
66         * insets/insetoptarg.h:: remove #include "insettext.h".
67         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
68
69         * insets/renderers.h: add #include "dimension.h".
70         * insets/updatableinset.h: add #include "support/types.h".
71
72         * many .C files: Associated changes.
73
74 2003-09-06  Angus Leeming  <leeming@lyx.org>
75
76         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
77         inside testInvariant.
78
79         * PrinterParams.C: new file.
80         * PrinterParams.[Ch]: move the function bodies out of line.
81
82 2003-09-06  Angus Leeming  <leeming@lyx.org>
83
84         * ParagraphParameters.h: forward declare ParameterStruct rather than
85         including its header file.
86         (depth): moved out-of-line.
87
88 2003-09-06  Angus Leeming  <leeming@lyx.org>
89
90         * BufferView_pimpl.h:
91         * kbmap.h:
92         * kbsequence.h:
93         * lyxfunc.h: forward declare LyXKeySym rather than
94         #include "frontends/LyXKeySym.h".
95
96         * BufferView_pimpl.C:
97         * kbmap.C:
98         * kbsequence.C:
99         * lyxfunc.C: associated changes.
100
101 2003-09-06  Angus Leeming  <leeming@lyx.org>
102
103         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
104         As a result, can remove the #include "insets/inset.h" from BufferView.h
105
106 2003-09-06  Angus Leeming  <leeming@lyx.org>
107
108         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
109         As a result, can remove the #include "insets/inset.h" from BufferView.h
110
111 2003-09-06  Angus Leeming  <leeming@lyx.org>
112
113         * buffer_funcs.C:
114         * buffer.h:
115         * bufferlist.C:
116         * BufferView.C:
117         * bufferview_funcs.C:
118         * BufferView_pimpl.C:
119         * CutAndPaste.C:
120         * lyx_cb.C:
121         * lyxfunc.C:
122         * paragraph.h:
123         * ParagraphParameters.C:
124         * tabular.C:
125         * text3.C:
126         * toc.C:
127         * undo_funcs.C:
128         * frontends/controllers/ControlDocument.C:
129         * insets/insetcaption.C: rearrange the #includes into some sort of
130         coherent order.
131
132         * buffer.h: remove #includes ErrorList.h, undo.h
133
134 2003-09-06  Angus Leeming  <leeming@lyx.org>
135
136         * support/types.h: add a 'depth_type' typedef, used to store the
137         nesting depth of a paragraph.
138
139         * paragraph.h:
140         * ParameterStruct.h: use this lyx::depth_type typedef rather than
141         defining explicitly.
142
143         * buffer.h:
144         * paragraph_funcs.h:
145         * ParagraphParameters.h:
146         * sgml.h: use lyx::depth_type rather than Paragraph or
147         ParameterStruct's depth_type.
148
149         * buffer.h
150         * paragraph_funcs.h: no need to #include paragraph.h anymore.
151
152         * BufferView.C:
153         * BufferView_pimpl.C:
154         * CutAndPaste.C:
155         * ParagraphParameters.C:
156         * buffer_funcs.C:
157         * bufferlist.C:
158         * bufferview_funcs.C:
159         * lyx_cb.C:
160         * lyxfunc.C:
161         * tabular.C:
162         * text3.C:
163         * toc.C:
164         * undo_funcs.C:
165         * frontends/LyXView.C:
166         * frontends/controllers/ControlDocument.C:
167         * frontends/controllers/ControlErrorList.C:
168         * insets/insetbibitem.C:
169         * insets/insetbranch.C:
170         * insets/insetcaption.C:
171         * insets/insetcollapsable.C:
172         * insets/insetenv.C:
173         * insets/insetert.C:
174         * insets/insetfloat.C:
175         * insets/insetfoot.C:
176         * insets/insetfootlike.C:
177         * insets/insetnewline.C:
178         * insets/insetquotes.C:
179         * insets/insettabular.C:
180         * insets/insettext.C:
181         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
182
183         * frontends/controllers/ControlChanges.C: #include "changes.h".
184
185 2003-09-06  Angus Leeming  <leeming@lyx.org>
186
187         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
188         #including paragraph.h.
189
190         * ParagraphList.h:
191         * RowList.h: deleted. Superfluous.
192
193         * CutAndPaste.h:
194         * iterators.h:
195         * lyxcursor.h:
196         * lyxtext.h:
197         * text_funcs.h:
198         * undo.h:
199         * undo_funcs.h:
200         * insets/inset.h:
201         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
202
203         * paragraph.h: don't forward declare ParagraphList.
204
205         * buffer.h:
206         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
207         rather than ParagraphList.h. paragraph.h is still needed for the
208         Paragraph::depth_type parameters.
209
210         * textcursor.h: enable it to compile stand-alone in light of the
211         above changes.
212
213         * bufferview_funcs.C:
214         * iterators.C:
215         * lyxfunc.C:
216         * lyxrow_funcs.C:
217         * paragraph.C:
218         * rowpainter.C:
219         * text.C:
220         * text2.C:
221         * text3.C:
222         * text_funcs.C:
223         * textcursor.C:
224         * undo.C:
225         * frontends/controllers/ControlParagraph.C:
226         * frontends/controllers/ControlTabular.C:
227         * insets/insetmarginal.C:
228         * insets/insetminipage.C:
229         * insets/insetnote.C:
230         * insets/insetoptarg.C: add header files needed to compile again.
231         
232 2003-09-06  Angus Leeming  <leeming@lyx.org>
233
234         * RowList_fwd.h: new file, forward-declaring Row rather than
235         #including lyxrow.h.
236
237         * lyxrow_funcs.h:
238         * lyxtext.h:
239         * paragraph.h:
240         * insets/insettext.h: use it instead of RowList.h
241
242         * bufferview_funcs.C:
243         * lyxfunc.C:
244         * lyxrow_funcs.C:
245         * paragraph.C:
246         * rowpainter.C:
247         * text.C:
248         * text2.C:
249         * text3.C: #include "RowList.h".
250
251 2003-09-05  Angus Leeming  <leeming@lyx.org>
252
253         * factory.C (createInset):
254         * vspace.C (c-tor): replace sscanf call with an istringstream.
255         * ispell.C: re-add missing HP/UX headers.
256         * lyxserver.C: re-add missing  os2 headers.
257
258 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * BranchList.C:
261         * graph.C:
262         * ispell.C:
263         * lastfiles.C:
264         * lyx_cb.C:
265         * lyxserver.C:
266         * texrow.C:
267         * text3.C: re-add missing system headers, needed for 2.95.2.
268
269 2003-09-05  Angus Leeming  <leeming@lyx.org>
270
271         Changes most place everywhere due to the removal of using directives
272         from support/std_sstream.h.
273
274 2003-09-05  Angus Leeming  <leeming@lyx.org>
275
276         Replace LString.h with support/std_string.h,
277         Lsstream.h with support/std_sstream.h,
278         support/LIstream.h with support/std_istream.h,
279         support/LOstream.h with support/std_ostream.h.
280
281         Changes resulting throughout the tree.
282
283 2003-09-05  Angus Leeming  <leeming@lyx.org>
284
285         * sgml.h: ensure that the header file can be compiled stand-alone.
286         * *.C: strip out redundant #includes. (320 in total.)
287
288 2003-09-04  Angus Leeming  <leeming@lyx.org>
289
290         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
291         here (from getPackages).
292
293         * debug.[Ch]: add a new EXTERNAL tag.
294
295 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
296
297         * text2.C (cursorEnd): simplify
298         (setCursor): adjust
299         (getColumnNearX): adjust
300
301         * text.C (computeBidiTables): adjust
302         (fill): adjust
303
304         * rowpainter.C (paintChars): adjust
305         (paintSelection): adjust
306         (paintChangeBar): adjust
307         (paintText): adjust
308
309         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
310         lastPos instead.
311         (numberOfSeparators): adjust
312
313 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * LyXAction.C:
316         * box.[Ch]:
317         * lfuns.h:
318         * lyxfunc.C:
319         * text3.C: Restricts the mouse click functionality
320         of insets like bibtex, include, toc and floatlist to the visible
321         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
322         up the dialogs. Cursor has to be in front of the inset (i.e.
323         start of row) for this to function.
324
325 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
326
327         * bufferview_funcs.C (currentState): output row information
328
329 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
330
331         * bufferview_funcs.C (currentState): output paragraph position
332
333 2003-09-04  Angus Leeming  <leeming@lyx.org>
334
335         * FloatList.h: move out #include "Floating.h".
336         * LaTeX.h: move out #include "DepTable.h".
337         * LyXAction.h: move out #include "funcrequest.h".
338         * buffer.h: move out #include "author.h", "iterators.h".
339         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
340         * lyx_main.h: move out #include "errorlist.h".
341         * lyxfunc.h: move out #include "FuncStatus.h".
342         * lyxtext: move out #include "lyxcursor.h".
343         * paragraph_pimpl.h: move out #include "counters.h".
344
345 2003-09-03  Angus Leeming  <leeming@lyx.org>
346
347         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
348         preamble_snippets list, enabling us to add snippets to the preamble only
349         if the snippet was not there already.
350
351 2003-09-04  Angus Leeming  <leeming@lyx.org>
352
353         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
354
355 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * lyxfunc.C (dispatch): if fitCursor did something be sure to
358         update
359
360 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
361
362         * BranchList.C: point fix, earlier forgotten
363
364 2003-09-02  Angus Leeming  <leeming@lyx.org>
365
366         * box.C (contains): renamed from 'contained' after a fantastic
367         amount of hot air.
368
369 2003-09-02  John Levon  <levon@movementarian.org>
370
371         * BufferView.C:
372         * lyxcursor.h:
373         * lyxcursor.C:
374         * lyxfunc.C:
375         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
376
377 2003-09-02  John Levon  <levon@movementarian.org>
378
379         * text2.C: simplification of cursorEnd(), including partial
380         fix for bug 1376
381
382 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
383
384         * buffer.C (readFile): add a space
385
386 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
387
388         * BufferView_pimpl.C (update): remove bogus fitCursor() call
389
390 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
391
392         * buffer.C (readFile): new function, take a filename and a
393         ParagraphList::iterator
394         (readFile): adjust
395         (readFile): adjust, make it private. don't use setStream, make
396         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
397         always contain the filename.
398
399         * BufferView.C (insertLyXFile): simplify and make it work for
400         gzipped files.
401
402 2003-08-30  John Levon  <levon@movementarian.org>
403
404         * Makefile.am: fix dist (from Kayvan)
405
406 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
407
408         * most files: change to use const Buffer refs
409
410 2003-08-27  André Pönitz  <poenitz@gmx.net>
411
412         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
413         on top of ownerPar().
414
415 2003-08-27  John Levon  <levon@movementarian.org>
416
417         * funcrequest.C: properly initialise POD members
418
419 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
420
421         * lyxtext.h (top_y): move top_y from here
422         * text.C:
423         * text2.C:
424         * text3.C:
425         * BufferView.[Ch]:
426         * BufferView_pimpl.[Ch]: to here
427         * frontends/screen.C:
428         * insets/insettabular.C:
429         * insets/insettext.C: adjust
430         * rowpainter.[Ch] (paintRows): remove LyXText & argument
431
432 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
433
434         * BufferView.[Ch]:
435         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
436
437 2003-08-26  André Pönitz  <poenitz@gmx.net>
438
439         * paragraph_func.[Ch] (outerPar): new function
440
441         * paragraph.C:
442         * paragraph_funcs.C:
443         * paragraph_funcs.h:
444         * paragraph_pimpl.C:
445         * text2.C: remove Inset::par_owner
446
447 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * lyxrow_funcs.C:
450         * lyxtext.h:
451         * text.C:
452         * text2.C: eliminates the needFullRow/display() stuff
453         altogether, putting the logic in metrics/draw in the insets.
454
455 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
456
457         * text2.C (redoParagraphInternal, redoParagraphs):
458         * text.C (redoParagraph): add a call to updateRowPositions at the
459         end of each 'metrics-like' call. Remove all others.
460         (getRow): remove the 'y-computing' version.
461         (getRowNearY): do not compute nor return the real y. Solve the
462         'y < 0' problem and simplify.
463
464 2003-08-22  Angus Leeming  <leeming@lyx.org>
465
466         * *.[Ch]: clean-up of licence and author blurbs.
467         Also move config.h out of a few .h files and into a few .C files.
468
469 2003-08-22  André Pönitz  <poenitz@gmx.net>
470
471         * lyxrow.[Ch]: add x_ and *fill_ members
472
473         * lyxtext.h:
474         * text.C:
475         * rowpainter.C:
476         * text2.C: adjust/remove prepareToPrint() calls
477
478 2003-08-22  André Pönitz  <poenitz@gmx.net>
479
480         * lyxrow.[Ch]: add  end_ member
481
482         * lyxrow_funcs.C: use LyXRow::end_
483
484         * lyxtext.h (singleWidth): add LyXFont parameter
485
486         * rowpainter.C:
487         * text2.C: adjust LyXText::singleWidth() calls
488
489         * text.C (redoParagraph): simplify row breaking logic
490
491
492 2003-08-19  André Pönitz  <poenitz@gmx.net>
493
494         * funcrequest.C: initialize button_ member
495
496         * text3.C:
497         * rowpainter.[Ch]: interface consolidation
498
499 2003-08-18  André Pönitz  <poenitz@gmx.net>
500
501         * BufferView.C:
502         * BufferView_pimpl.C:
503         * lyxfind.C:
504         * paragraph_funcs.C:
505         * rowpainter.C:
506         * text3.C: remove LyXScreen::draw() and fitCursor calls
507
508         * BranchList.h: remove spurious semicolons
509
510         * MenuBackend.C: fix branchlist related crash
511
512 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * BranchList.[Ch]:
515         * InsetList.[Ch]:
516         * LColor.[Ch]:
517         * LyXAction.C:
518         * Makefile.am:
519         * MenuBackend.[Ch]:
520         * bufferparams.[Ch]:
521         * factory.C:
522         * lfuns.h:
523         * lyxfunc.C:
524         * text3.C: implements the 'branch inset'
525         idea. This allows the output of various versions of a document
526         from a single source version, selectively outputing or suppressing
527         output of parts of the text.
528         This implementation contains a 'branch list editor' in a separate
529         tab of the document settings dialog. Branches are user definable
530         and have a "display colour" to distinguish them on-screen.
531
532         ColorHandler was somewhat cleaned up.
533         (1) make possible a dynamically growing LColor list by allowing
534         the graphic context cache to grow along (vector);
535         (2) eliminate an IMHO unnecessary step in colour allocation.
536
537 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
538
539         * BufferView_pimpl.C: compile fix
540
541 2003-08-15  André Pönitz  <poenitz@gmx.net>
542
543         * rowpainter.C: remove extra metrics calls
544
545         * lyxtext.h: merge the two constructors into a single one,
546           pass reference to owner's par list
547
548         * BufferView_pimpl.C:
549         * text.C:
550         * text2.C: adjust
551
552 2003-08-15  André Pönitz  <poenitz@gmx.net>
553
554         * lyxrow_funcs.[Ch]:
555         * lyxtext.h:
556         * paragraph.h:
557         * paragraph_funcs.C:
558         * rowpainter.C:
559         * text.C:
560         * text2.C:
561         * text3.C:
562         * text_funcs.C: split LyXText::rowlist_ into individual
563         Paragraph::rows_ chunks
564
565         * BufferView.[Ch]:
566         * BufferView_pimpl.[Ch]:
567         * lyxfind.C:
568         * lyxtext.h:
569         * text3.C: remove toggleSelection()
570
571 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
572
573         * bufferlist.C: beautify two alerts (shorter text of buttons)
574         * buffer.C: Remove redundant ' ' from message
575         * tabular.h:
576         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
577         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
578         rename VALIGN_CENTER to VALIGN_MIDDLE
579
580 2003-08-11  André Pönitz  <poenitz@gmx.net>
581
582         * lyxtext.h (getPar):
583         * text.C: new function
584
585 2003-08-11  André Pönitz  <poenitz@gmx.net>
586
587         * Makefile.am:
588         * tracer.[Ch]: remove unneeded files
589
590         * InsetList.[Ch]: remove resizeInsetsLyXText()
591
592         * lyxtext.h:
593         * text.C:
594         * text2.C:
595         * text3.C: merge insertParagraphs() and appendParagraph()
596         remove breakAgain(), update()
597
598         * BufferView_pimpl.[Ch]:
599         * bufferview_funcs.[Ch]:
600         * lyxfunc.C:
601         * paragraph.[Ch]:
602         * rowpainter.C:
603         * tabular.C: adjust after text & InsetList changes.
604
605 2003-08-08  André Pönitz  <poenitz@gmx.net>
606
607         * text.C (insertChar, backspace): replace rowlist fiddling
608         with rebreak of full par
609
610         * lyxtext.h:
611         * text.C (breakAgainOneRow, redoHeightOfParagraph,
612         checkParagraph, updateInset): removed
613
614 2003-08-07  André Pönitz  <poenitz@gmx.net>
615
616         * paragraph.C:
617         * text3.C: merge some LFUN handlers, remove dead code
618
619 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
622
623 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
624
625         * text2.C (DEPM): fix part of bug 1255 and 1256
626
627 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * BufferView_pimpl.C (workAreaDispatch): change to use
630         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
631         that are no mouse related.
632
633 2003-08-05  André Pönitz  <poenitz@gmx.net>
634
635         * BufferView.[Ch]:
636         * BufferView_pimpl.[Ch]:
637         * bufferview_funcs.C:
638         * text2.C:
639         * text3.C: rip out "deep update"
640
641         * textcursor.[Ch] (last_sel_cursor): remove unused member
642
643 2003-08-04  André Pönitz  <poenitz@gmx.net>
644
645         * BufferView.[Ch]:
646         * BufferView_pimpl.[Ch]:
647         * ParagraphParameters.C:
648         * bufferview_funcs.C:
649         * lyx_cb.C:
650         * lyxfind.C:
651         * lyxfunc.C:
652         * text.C:
653         * text2.C:
654         * text3.C: replace "complicated" BufferView::update(...) calls with
655         simpler ones.
656
657         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
658
659 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
660
661         * Makefile.am (lyx_SOURCES): add paper.h
662
663 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
664
665         * Makefile.am: move things around so that both lyx-qt and
666         lyx-xforms can be built (according to --with-frontend). Then lyx
667         is a symbolic link to lyx-[firstfrontend]
668
669 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
670
671         * Always use std::endl with lyxerr
672
673 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
674
675         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
676
677 2003-08-01  André Pönitz  <poenitz@gmx.net>
678
679         * BufferView.[Ch]:
680         * BufferView_pimpl.[Ch]:
681         * lyxfunc.C:
682         * text3.C: merge BufferView::repaint() and BufferView::update()
683
684 2003-08-01  José Matos  <jamatos@lyx.org>
685
686         * buffer.[Ch]: file_format is no longer a buffer data element.
687
688 2003-08-01  André Pönitz  <poenitz@gmx.net>
689
690         * BufferView.C:
691         * lyxtext.h:
692         * text.C:
693         * text2.C: make redoParagraph more independent of current cursor
694
695         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
696         * text.C:
697         * text2.C: remove unneeded members
698
699 2003-07-30  André Pönitz  <poenitz@gmx.net>
700
701         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
702
703         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
704           create a single function...
705
706         * paragraph_funcs.C (moveItem): ... here.
707
708         * text.C:
709           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
710
711 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * LColor.[Ch]: Add comment and greyedout logical colors.
714
715 2003-07-30  André Pönitz  <poenitz@gmx.net>
716
717         * tabular.C: don't use Assert too heavily. This crashes where it
718           shouldn't
719
720 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
721
722         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
723         is disabled (bug 1232)
724
725 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
726
727         * factory.C: limited 'arg' scope
728
729 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * factory.C: fixed Note submenu issues
732
733 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * factory.C: submenu for Note/Comment/Greyedout
736
737 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
738
739         * lyx_main.C (LyX):
740         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
741
742 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
743
744         * LaTeXFeatures.C:
745         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
746         greyedout. Patch provided by Jürgen Spitzmüller.
747
748 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
749
750         * kbmap.C (read): fix error message when reading bind files
751
752 2003-07-29  Angus Leeming  <leeming@lyx.org>
753
754         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
755         certainly does not do what it purports to do. I am doing it, and
756         us, a favour by killing it.
757
758 2003-07-28  José Matos  <jamatos@lyx.org>
759
760         * buffer.C (readBody, do_writeFile):
761         * paragraph.C(readParagraph): \end_document replaces \the_end.
762
763 2003-07-29  André Pönitz  <poenitz@gmx.net>
764
765         * BufferView.[Ch]:
766         * BufferView_pimpl.[Ch]:
767         * lyxfunc.C:
768         * text2.C:
769         * text3.C:
770         * textcursor.[Ch]: remove toggleToggle & Co
771
772 2003-07-28  José Matos  <jamatos@fep.up.pt>
773
774         * buffer.C (readParagraph):
775         * params_func (readParToken, readParagraph):
776         * paragraph.C (write): \layout -> \begin_layout.
777
778 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * lyxlex_pimpl.C (setFile): clean up slightly.
781
782         * bufferparams.h: add compressed var
783
784         * buffer_funcs.C (readFile): adjust for LyXLex change
785         (newFile): ditto + simplify
786
787         * buffer.C (writeFile): handle writing of compressed files
788
789         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
790         Check if the file is compressed and set a bufferparm if so.
791
792         * Makefile.am (lyx_LDADD): remove explicit -lz
793
794 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
797         makeDocBookFile): put the real LyX version in the first line of
798         the file
799
800         * version.h:
801         * version.C.in: remove lyx_docversion
802
803         * tabular.C (write_attribute): add a template-based version to
804         write enums properly
805
806 2003-07-28  André Pönitz  <poenitz@gmx.net>
807
808         * lyxtext.h:
809         * text.C:
810         * text2.C:
811         * text3.C: use doubles again for x-coordinates. They are needed.
812
813 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
814
815         * messages.C (getLocaleDir): use lyx_localedir()
816
817         * lyxlex_pimpl.C (setFile): compress stuff
818
819         * buffer.C (writeFile): add some compression stuff
820         (do_writeFile): new func, dont call expliti close... will this
821         breake anything?
822
823         * Makefile.am (lyx_LDADD): add -lz
824
825 2003-07-28  José Matos  <jamatos@fep.up.pt>
826
827         * buffer.C: increment file format.
828         * paragraph_funcs (readParagraph, readParToken):
829         * paragraph.C (readParagraph): add \end_layout.
830
831 2003-07-27  Angus Leeming  <leeming@lyx.org>
832
833         * Makefile.am: remove special casing for configure-time setting of
834         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
835
836         * lyx_main.C (init): remove all Jean-Marc's magic setting of
837         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
838
839 2003-07-26  André Pönitz  <poenitz@gmx.net>
840
841         * paragraph_func.[Ch]:
842         * paragraph.C (realizeFont): inline it whereever it is used
843
844         * rowpainter.C:
845         * text.C:
846         * text2.C:
847         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
848
849
850 2003-07-26  André Pönitz  <poenitz@gmx.net>
851
852         *       lyxtext.h:
853         * text.C:
854         * text2.C: get rid of LyXText::need_break_row
855
856 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
857
858         * toc.[Ch]: put namespace toc inside namespace lyx
859
860         * MenuBackend.C (expandToc2): adjust for lyx::toc
861         (expandToc): ditto
862
863         * lyxfunc.C (dispatch): adjust for lyx::find
864
865         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
866         lyx::find instead. Reorganize a bit.
867         (LyXReplace): rename to replace
868         (LyXFind): rename to find
869
870         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
871         (dispatch): ditto
872
873 2003-07-26  André Pönitz  <poenitz@gmx.net>
874
875         * text.C (setHeightOfRow): restrict scope of temporary variable
876
877         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
878           code (never has been used?)
879
880 2003-07-27  Asger Alstrup  <alstrup@local>
881
882         * text.C (fill): Optimise algorithm to exploit that we can reuse
883         the LyXFont for many characters.
884         (setHeightOfRow): Same thing.
885         (rowBreakPoint): Same thing.
886
887 2003-07-26  Asger Alstrup  <alstrup@local>
888
889         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
890
891         * text.C (singleWidth): Spurious font copying in hot-spot
892         singleWidth avoided. Reorder tests for arabic for efficiency.
893
894         * text.C (fill): handle empty paragraphs better.
895
896 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * ispell.C:
899         * encoding.h: add includes
900
901         * lyxrc.C: remove reading of bind files
902
903         * lyx_main.C (init): setup bindings and menus only if we have a
904         gui.
905
906         * kbmap.C (read): new method. Do the actual reading of bind
907         files.
908
909         * converter.C (dvipdfm_options):
910         * bufferparams.C:
911         * lyxrc.C (read):
912         (output): adapt PAPER_* enums.
913
914         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
915
916         * bufferparams.h: remove paper-related enums from there
917
918         * paper.h: New file. A trivial header file to hold paper-related
919         enums. It should later expand to contain many paper-related
920         horrors access.
921
922         * lyxrc.C: declare extern displayTranslator
923
924 2003-07-27  José Matos  <jamatos@fep.up.pt>
925
926         * tabular.[Ch] (linuxdoc): add support for tables and figures
927         (linuxdoc).
928
929 2003-07-27  José Matos  <jamatos@fep.up.pt>
930
931         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
932         consistency in both functions.
933         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
934
935 2003-07-26  Asger Alstrup  <alstrup@local>
936
937         * rowpainter.C (paintRows): Change algorithm to work directly on
938         the insets rather than asking every character in the document
939         whether its an inset.
940
941 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
942
943         * buffer.C (openFileWrite): factorize some code
944
945 2003-07-26  Angus Leeming  <leeming@lyx.org>
946
947         * lyx_cb.C:
948         * lyx_main.[Ch]: replace occurances of system_tempdir with
949         os::getTmpDir().
950
951 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
952
953         * rename Inset to InsetOld
954
955 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
956
957         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
958         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
959         which I think is a bit clearer. EDIT is gone, since it was
960         premature optimisation, and broken for mathed anyway.
961         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
962         with cursor positioning in insets as well (math insets still do not
963         work, but that's a different story anyway.) It mysteriously
964         crashes sometimes with undo in the first paragraph, but I'm fairly
965         confident that this is a compiler bug.
966
967 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
968
969         * paragraph.C (Paragraph): adjust for new clone return type
970         (operator==): ditto
971         (copyIntoMinibuffer): ditto
972
973 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
974
975         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
976         by not having a special case, and always doing a full rebreak of
977         the document after undo.
978
979 2003-07-23  Angus Leeming  <leeming@lyx.org>
980
981         * factory.C (createInset): InsetExternal::setParams now takes a
982         Buffer const * arg.
983
984 2003-07-23  Angus Leeming  <leeming@lyx.org>
985
986         * factory.C (createInset): changed interface to the external and
987         graphics mailers' string2params functions.
988
989 2003-07-23  Angus Leeming  <leeming@lyx.org>
990
991         * factory.C (createInset): pass a
992         Buffer const * parameter to InsetExternalMailer's string2params.
993
994 2003-07-22  John Levon  <levon@movementarian.org>
995
996         * Thesaurus.h: include the right aiksaurus header
997
998 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * MenuBackend.C (expand): check menu shortcuts unconditionally
1001
1002 2003-07-21  Angus Leeming  <leeming@lyx.org>
1003
1004         * factory.C (createInset): pass a
1005         buffer_path parameter to InsetGraphicsMailer's string2params.
1006
1007 2003-07-21  Angus Leeming  <leeming@lyx.org>
1008
1009         * BufferView_pimpl.C (buffer):
1010         * buffer.C (d-tor):
1011         * lyx_main.C (LyX):
1012         * lyxfunc.C (dispatch):
1013         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1014         rather than the grfx shortcut.
1015
1016 2003-07-21  André Pönitz  <poenitz@gmx.net>
1017
1018         * rowpainter.C: remove unused variables
1019
1020         * tabular_funcs.C:
1021         * tabular_funcs.h: move to tabular.C
1022         * Makefile.am: adjust
1023
1024         * tabular.[Ch]: basic optical cleaning
1025
1026         * author.h: pass references, not values
1027
1028 2003-07-18  André Pönitz  <poenitz@gmx.net>
1029
1030         * lyxtext.h:
1031         * metricsinfo.C:
1032         * metricsinfo.h:
1033         * rowpainter.C:
1034         * text.C:
1035         * text2.C:
1036         * text3.C: two-phase drawing for InsetText and InsetTabular
1037         some float -> int changes.
1038
1039 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1040
1041         * lyx_main.C: fix the fix
1042
1043 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1044
1045         * lyx_main.C: fix a crash in batch mode if no files specified
1046         * converter.C: ws
1047
1048 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * format.[Ch] (papersize): moved to BufferParams
1051         * converter.[Ch] (dvips_options): moved to BufferParams
1052         (dvipdfm_options): moved to anon namespace
1053         * bufferparams.[Ch]: added above functions.
1054
1055 2003-07-17  André Pönitz  <poenitz@gmx.net>
1056
1057         * lyxtext.h:
1058         * rowpainter.C:
1059         * text2.C: don't call inset->update() anymore
1060
1061         * metricsinfo.[Ch]: add convenience constructor
1062
1063 2003-07-16  André Pönitz  <poenitz@gmx.net>
1064
1065         * lyxcursor.[Ch]:
1066         * lyxfunc.[Ch]:
1067         * text.C:
1068         * text2.C: replace the LyXCursor::irow_ member with
1069          on-demand computation of the value
1070
1071 2003-07-16  John Levon  <levon@movementarian.org>
1072
1073         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1074
1075 2003-07-15  André Pönitz  <poenitz@gmx.net>
1076
1077         * text.C:
1078         * text2.C: remove no more needed refresh_row
1079
1080 2003-07-15  André Pönitz  <poenitz@gmx.net>
1081
1082         * lyxtext.h:
1083         * rowpainter.C:
1084         * text2.C:
1085         * text3.C: refresh_status tristate -> need_update bool
1086
1087 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1088
1089         * lyxtext.h (init): remove reinit argument (act as if always true)
1090         * text2.C: adjust to that
1091
1092 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1093
1094         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1095         * text3.C: use it to delete selections in some cases
1096         (bugs 441, 673, 702, 954).
1097
1098 2003-07-14  André Pönitz  <poenitz@gmx.net>
1099
1100         * rowpainter.[Ch]: reduce interface
1101
1102 2003-07-14  André Pönitz  <poenitz@gmx.net>
1103
1104         * BufferView_pimpl.C:
1105         * text2.C: adjust after removing unused BufferView * argument
1106
1107 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1108
1109         * text2.C (init): fix a crash fired on resize
1110
1111 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1112
1113         * buffer.[Ch]: added new closing signal
1114         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1115         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1116         BufferView::Pimpl via the closing the signal
1117
1118 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1119
1120         * buffer.[Ch]: take out all bv-related from buffer
1121         * BufferView.C:
1122         * BufferView_pimpl.[Ch]: connect to new signals
1123         * CutAndPaste.C: removed useless asserts
1124         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1125         * lyxvc.[Ch]:
1126         * vc-backend.[Ch]:
1127         * lyxfunc.C: moved view-related funciontality from vc here
1128         * paragraph.C: removed outdated comments
1129         * text.C: ws
1130
1131 2003-07-10  André Pönitz  <poenitz@gmx.net>
1132
1133         * BufferView_pimpl.C:
1134         * tabular.h:
1135         * tabular_funcs.C:
1136         * text.C:
1137         * text2.C: remove InsetText::InnerCache, clean up consequences
1138
1139 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1140
1141         * ispell.C: fix two typos in error messages
1142
1143 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * Extend Note inset to other forms of annotation like Comment
1146         and Greyedout. Right button click gives dialog.
1147
1148         Files modified or added (+):
1149
1150         * insetnote.[Ch]
1151         * FormNote.[Ch]      +
1152         * ControlNote.[Ch]   +
1153         * form_note.fd       +
1154         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1155         frontends/controllers
1156         * xforms/Dialogs.C
1157         * factory.C
1158
1159 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1160
1161         * aspell.C: add missing namespace lyx::support
1162
1163 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1164
1165         * BufferView.[Ch] (newFile): Add
1166         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1167         * LaTeX.[Ch] (message): added this signal and use it
1168         * buffer.[Ch] (busy, message): added these signals and use them
1169         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1170         * converter.C:
1171         * exporter.C:
1172         * format.C:
1173         * importer.C: use buffer signals instead of direct bv calling
1174         * lyx_cb.[Ch] (ShowMessage): removed
1175         * lyx_main.C:
1176         * lyxfunc.C:
1177         * paragraph_funcs.C:
1178         * text2.C: use buffer signals
1179
1180 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1181
1182         * introduce namespace lyx::graphics
1183
1184 2003-07-02  André Pönitz  <poenitz@gmx.net>
1185
1186         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1187
1188 2003-07-01  André Pönitz  <poenitz@gmx.net>
1189
1190         * text.C:
1191         * text2.C:
1192         * text3.C:
1193         * text_funcs.[Ch]:
1194         * textcursor.h:
1195         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1196           text*.C to text_func.C
1197
1198 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * introduce namespace lyx::support
1201
1202 2003-06-30  André Pönitz  <poenitz@gmx.net>
1203
1204         * Chktex.C:
1205         * funcrequest.C:
1206         * lyxtext.h:
1207         * text.C: re-enable --with-included-string
1208
1209 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1210
1211         * textcursor.C: add <config.h>
1212
1213         * text.C (getWord): remove const from word_location arg
1214
1215         * lyxvc.C (getLogFile): fix const type order
1216
1217         * lyxtext.h: remove const from word_location arg, add arg name
1218
1219         * lyxlayout.h: currect type on labeltype.
1220
1221         * importer.C: correct \file
1222
1223         * converter.C (intToFormat): use std:: on ret val, ws changes
1224
1225         * bufferlist.h: correct \file
1226
1227         * buffer.C (makeLinuxDocFile): fix const type order
1228         (makeDocBookFile): ditto
1229         (fillWithBibKeys): use std:: on stdlib args.
1230
1231         * CutAndPaste.C: fix authors.
1232         (availableSelections): use std:: on return vector
1233
1234 2003-06-27  André Pönitz  <poenitz@gmx.net>
1235
1236         * BufferView_pimpl.C:
1237         * bufferview_funcs.C:
1238         * lyxcursor.C:
1239         * lyxcursor.h:
1240         * lyxfunc.C:
1241         * lyxtext.h:
1242         * rowpainter.C:
1243         * text.C:
1244         * text2.C:
1245         * text3.C: remove LyXCursor::row_ member
1246
1247         * lyxtext.h:
1248         * text.C: rename fullRebreak() to partialRebreak() and implement
1249           a fullRebreak() that really bereks fully
1250
1251         * textcursor.h: new struct for cursor-related data
1252
1253 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1254
1255         * lyx_main.C (LyX): get full path of document loaded on the
1256         command line
1257
1258 2003-06-26  André Pönitz  <poenitz@gmx.net>
1259
1260         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1261           remove unused/broken operator>,<,>=.
1262
1263         *       text.C: remove only use of broken operator<= in an Assert().
1264
1265 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1266
1267         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1268         moved errorlist_.clear to showErrorList
1269
1270 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * converter.C (scanLog, runLaTeX):
1273         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1274         move the bv->showErrorList call to the callers
1275         * lyxfunc.C: i.e. here...
1276         * text2.C: and here
1277         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1278         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1279         namespace, the second to...
1280         * buffer_funcs (BufferFormat, parseErrors): added
1281         * errorlist.C (ErrorList(TeXErrors const &)): removed
1282
1283 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1286
1287 2003-06-24  "Garst R. Reese" <reese@isn.net>
1288
1289         * debug.C: fix typo
1290
1291 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1294
1295         * version.C.in: change docversion to 1.4
1296
1297 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1298
1299         * buffer.C: fix a bug just introduced
1300
1301 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1302
1303         * buffer.[Ch]: added the parseError signal and use it, removed
1304         sgmlError
1305         * BufferView.[Ch] (addError): moved to ...
1306         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1307         to the Buffer::parseError signal to catch (guess what) parse errors
1308         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1309
1310 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1311
1312         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1313         ability to create a buffer and to return an existing one from
1314         the list. Moved these functions to...
1315         * buffer_funcs.[Ch]: added
1316         * BufferView.[Ch] (loadLyXFile): added
1317         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1318         job removed from bufferlist::loadLyXFile.
1319         * buffer.C (setReadOnly): make it work without view
1320         (i.e added an if (users))
1321
1322 2003-06-19  Angus Leeming  <leeming@lyx.org>
1323
1324         * lfuns.h:
1325         * LyXAction.C (init):
1326         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1327         with LFUN_DIALOG_SHOW <name> <data>.
1328
1329 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * CutAndPaste.C (availableSelections): small compilation fix for
1332         ancient (gcc 2.9x) compilers
1333
1334 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1335
1336         * text3.C (cursorNext): add tmp var
1337
1338         * text2.C (updateCounters): for function calling out of for clause
1339         (replaceSelectionWithString): ditto
1340         (insertStringAsParagraphs): ditto
1341         (getColumnNearX): add tmp var
1342         (setCursorFromCoordinates): add tmp var
1343         (cursorDownParagraph): add tmp var
1344         (deleteEmptyParagraphMechanism): add tmp var
1345
1346         * text.C (insertChar): add tmp var
1347
1348         * rowpainter.C (paintDepthBar): add tmp var
1349
1350         * CutAndPaste.C (availableSelections): potentially check all
1351         paragraphs in a cut to fill the shown strings.
1352
1353 2003-06-18  André Pönitz  <poenitz@gmx.net>
1354
1355         * kbmap.[Ch]: use vector<> instead of list<>
1356
1357 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1358
1359         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1360         pasteSelection with index
1361
1362         * text2.C (pasteSelection): modify, call pasteSelection with index
1363
1364         * paragraph.C (asString): reimplement version with no interval to
1365         call the one with interval.
1366
1367         * lyxtext.h: add index arg to pasteSelection
1368
1369         * MenuBackend.C (MenuItem): handle PasteRecent
1370         (Menu::read::Menutags): add md_pasterecent
1371         (read): handle it
1372         (expandPasteRecent): new function
1373         (expand): use it
1374
1375         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1376
1377         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1378         the limited stack
1379         (availableSelections): new function
1380
1381 2003-06-17  Angus Leeming  <leeming@lyx.org>
1382
1383         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1384
1385 2003-06-17  Angus Leeming  <leeming@lyx.org>
1386
1387         * lfuns.h:
1388         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1389
1390         * lyxfunc.C (dispatch): invoke it.
1391
1392 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * iterators.C (operator++, ParPosition): reintroduce some
1395         const_cast for the benefit of older compilers.
1396
1397 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1398
1399         * text3.C (dispatch): do not modify clipboard when doing
1400         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1401         LFUN_DELETE_SKIP on a selection selection
1402
1403 2003-06-16  André Pönitz  <poenitz@gmx.net>
1404
1405         * BufferView.C:
1406         * buffer.C:
1407         * buffer.h:
1408         * paragraph.C:
1409         * tabular.[Ch]: IU of clone() and getLabelList();
1410
1411 2003-06-13  André Pönitz  <poenitz@gmx.net>
1412
1413         * tabular.h: compactification
1414
1415 2003-06-12  André Pönitz  <poenitz@gmx.net>
1416
1417         * tabular.C:
1418         * tabular.h:
1419         * tabular_funcs.h: some renaming plus whitespace
1420
1421 2003-06-12  André Pönitz  <poenitz@gmx.net>
1422
1423         * BufferView.C:
1424         * BufferView_pimpl.C:
1425         * CutAndPaste.C:
1426         * buffer.C:
1427         * iterators.[Ch]:
1428         * lyxfunc.C:
1429         * text.C:
1430         * toc.C: Return a Paragraph & for ParIterator::operator*()
1431
1432 2003-06-11  John Levon  <levon@movementarian.org>
1433
1434         * lyx_main.C:
1435         * ToolbarBackend.h:
1436         * ToolbarBackend.C: add "Toolbars" section and
1437         put the flags there
1438
1439 2003-06-10  Angus Leeming  <leeming@lyx.org>
1440
1441         * lfuns.h:
1442         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1443
1444         * lyxfunc.C (dispatch): invoke it.
1445
1446 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1447
1448         * main.C: protect <ios> with HAVE_IOS
1449         (main): protect sync_with_stdio with HAVE_IOS
1450
1451 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1452
1453         * text2.C (cutSelection): adjust
1454         (pasteSelection): adjust
1455
1456         * messages.C: handle get of empty string
1457
1458         * main.C (main): use sync_with_stdio(false)
1459
1460         * lyxfunc.C (dispatch): adjust
1461
1462         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1463         (WriteAs): remove unneeded BufferView arg.
1464
1465         * bufferparams.h: use correct types on papersize, papersize2 and
1466         paperpackage.
1467
1468         * bufferparams.C (readToken): adjust for type
1469         (writeLaTeX): add missing cases to switch.
1470
1471         * bufferlist.C (quitWriteBuffer): adjust
1472         (close): adjust
1473
1474         * buffer.C (asciiParagraph): remove some commented code.
1475
1476         * CutAndPaste.C: remove current_view extern variable.
1477         (cutSelection): add BufferParams arg.
1478         (eraseSelection): add BufferParams arg.
1479         (pasteSelection): add Buffer const & arg
1480
1481 2003-06-07  John Levon  <levon@movementarian.org>
1482
1483         * buffer.C:
1484         * paragraph_funcs.C:
1485         * paragraph_pimpl.C:
1486         * text.C:
1487         * text2.C:
1488         * paragraph.h:
1489         * paragraph.C: allow InsetERT to freely space lines,
1490         and some consolidation of code
1491
1492 2003-06-06  José Matos  <jamatos@fep.up.pt>
1493
1494         * buffer.C (makeDocBookFile): fix bug #821
1495
1496 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1497
1498         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1499
1500 2003-06-04  Angus Leeming  <leeming@lyx.org>
1501
1502         * buffer.C: bump format to 224.
1503
1504 2003-06-05  André Pönitz  <poenitz@gmx.net>
1505
1506         * text2.C (redoParagraphs): remove two const_cast<>
1507
1508 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1509
1510         * ParagraphList.h: remove last remnants of NO_STD_LIST
1511
1512 2003-06-03  Angus Leeming  <leeming@lyx.org>
1513
1514         * factory.C (createInset): small change to the way InsetExternal's params
1515         are set.
1516
1517 2003-06-04  André Pönitz  <poenitz@gmx.net>
1518
1519         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1520
1521         * paragraph_pimpl.h:
1522         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1523
1524         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1525
1526         * undo_funcs.C: make some simple cases of undo work again
1527
1528 2003-06-03  John Levon  <levon@movementarian.org>
1529
1530         * ispell.C: HPUX doesn't have sys/select.h
1531         (from Albert Chin)
1532
1533 2003-06-03  John Levon  <levon@movementarian.org>
1534
1535         * CutAndPaste.C: update tabular and include inset
1536         buffer references
1537
1538         * buffer.h:
1539         * paragraph.h:
1540         * paragraph.C: remove owningBuffer(), don't pass Buffer
1541         to clone()
1542
1543         * factory.C: insetGraphicsParams changed
1544
1545 2003-06-02  John Levon  <levon@movementarian.org>
1546
1547         * LyXAction.C:
1548         * factory.C:
1549         * lfuns.h:
1550         * lyxfunc.C:
1551         * text3.C: remove insetparent
1552
1553 2003-06-02  John Levon  <levon@movementarian.org>
1554
1555         * buffer.h:
1556         * buffer.C: fix inset_iterator.end(), move out of line
1557         (bug 1149)
1558
1559 2003-06-01  John Levon  <levon@movementarian.org>
1560
1561         * text3.C: use a proper cut/paste when doing inset
1562         insert (from Jürgen Spitzmüller)
1563
1564 2003-06-01  John Levon  <levon@movementarian.org>
1565
1566         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1567
1568 2003-05-30  André Pönitz  <poenitz@gmx.net>
1569
1570         * rowpainter.C: unify second drawing phase
1571
1572 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1573
1574         * trans_mgr.C: remove one case of current_view
1575
1576         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1577
1578         * paragraph_funcs.h: remove paragraph.h include
1579
1580         * paragraph.h: delete NO_STD_LIST stuff
1581
1582         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1583
1584         * buffer.h: remove paragraph.h include
1585
1586         * ParagraphList.C: delete file
1587
1588         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1589
1590         * toc.C (getTocList): adjust
1591
1592         * paragraph_pimpl.C (validate): adjust
1593
1594         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1595
1596         * paragraph.C (Paragraph): adjust
1597         (getPositionOfInset): use const_iterator, adjust
1598         (bibitem): use const_iterator, adjust
1599         (setInsetOwner): adjust
1600
1601         * iterators.C (operator++): adjust
1602
1603         * InsetList.[Ch]: Replace selfmade iterator with standard
1604         vector::iterator also introduce const_iterator. Remove getPos,
1605         getInset and setInset from InsetTable. Adjust accordingly.
1606
1607         * BufferView.C (lockInset): adjust
1608         (ChangeInsets): adjust
1609
1610         * tabular.[Ch]: delete commented same_id functions
1611
1612 2003-05-28  John Levon  <levon@movementarian.org>
1613
1614         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1615
1616 2003-05-28  André Pönitz  <poenitz@gmx.net>
1617
1618         * metricsinfo.[Ch]: remove 'fullredraw' member
1619
1620 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1621
1622         * lyxtextclass.C (operator): remove caching.
1623
1624 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1625
1626         * text3.C: adjust
1627
1628         * text2.C (cursorBottom): adjust
1629         (setCounter): use ParagraphList::find, adjust
1630
1631         * text.C (workWidth): use ParagraphList::find, adjust
1632
1633         * lyxcursor.C (LyXCursor): adjust
1634
1635         * buffer.C (inset_iterator): adjust
1636
1637         * ParagraphList.h: make iterator(value_type) private, make
1638         ParagraphList a friend of iterator.
1639
1640         * ParagraphList.C (find): new function
1641
1642         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1643
1644 2003-05-27  André Pönitz  <poenitz@gmx.net>
1645
1646         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1647
1648 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1651
1652 2003-05-26  John Levon  <levon@movementarian.org>
1653
1654         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1655
1656 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * remove same_id from function signatures, adjust.
1659
1660 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1663
1664         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1665
1666         * paragraph.C (Paragraph): get rid of same_ids parameter
1667
1668         * ParagraphList.C (insert): adjust
1669         (push_back): adjust
1670
1671 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * paragraph_funcs.C (breakParagraph): adjust
1674         (breakParagraphConservative): adjust
1675
1676         * buffer.C (readParagraph): adjust
1677
1678         * ParagraphList.C (insert): take a reference instead of a pointer
1679         (insert): adjust
1680
1681         * paragraph.[Ch] (id): new function
1682
1683         * bufferlist.C (newFile): adjust
1684
1685         * ParagraphList.C (ParagraphList): adjust
1686         (assign): adjust
1687         (push_back): take a reference instead of a pointer.
1688
1689         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1690
1691         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1692         instead.
1693
1694         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1695         set else use old code.
1696
1697         * ParagraphList.C: remove all NO_NEXT code and only compile this
1698         code of NO_STD_LIST is set.
1699
1700 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1701
1702         * BufferView_pimpl.C:
1703         * TextCache.C:
1704         * TextCache.h:
1705         * bufferlist.C:
1706         * errorlist.h:
1707         * format.C:
1708         * format.h:
1709         * graph.C:
1710         * lyxfunc.C:
1711         * lyxrc.C:
1712         * graphics/GraphicsConverter.C:
1713         * graphics/PreviewLoader.C: header adjustment
1714
1715 2003-05-23  Angus Leeming  <leeming@lyx.org>
1716
1717         * LaTeXFeatures.[Ch] (useBabel): new method.
1718         * bufferparams.C (writeLaTeX): use it.
1719
1720 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1721
1722         * ParagraphList.h (set): remove unused function.
1723
1724 2003-05-23  André Pönitz  <poenitz@gmx.net>
1725
1726         * BufferView.C:
1727         * BufferView_pimpl.C:
1728         * buffer.C:
1729         * buffer.h:
1730         * lyxfunc.C:
1731         * undo_funcs.C: setUndo reworked
1732
1733         * iterators.[Ch]: add access to topmost ParagraphList
1734
1735         * lyxtext.[Ch] (workWidth): add a const
1736
1737 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1738
1739         * texrow.[Ch] (increasePos): remove function
1740         * exporter.C (export): removed unused var and outdated comment
1741
1742 2003-05-23  Angus Leeming  <leeming@lyx.org>
1743
1744         * latexrunparams.h: rename fragile as moving_arg.
1745         * paragraph.C (simpleTeXOnePar): ditto.
1746         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1747
1748 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1749
1750         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1751         (createUndo): ditto
1752         (textUndoOrRedo): comment out a currently unused var.
1753
1754         * paragraph.h (NO_NEXT): enable NO_NEXT
1755
1756         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1757
1758         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1759
1760         * exporter.C (Export): adjust for removeAutoInsets removal.
1761
1762         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1763
1764         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1765
1766         * BufferView.[Ch] (removeAutoInsets): delete function
1767
1768 2003-05-22  Angus Leeming  <leeming@lyx.org>
1769
1770         * latexrunparams.h: add a free_spacing variable.
1771
1772         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1773         to pass moving_arg, as the data is stored in runparams.fragile.
1774
1775         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1776         to Inset::latexOptional or to simpleTeXOnePar.
1777
1778         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1779         free_spacing arg to Inset::latexOptional.
1780
1781         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1782         free_spacing arg.
1783
1784 2003-05-22  Angus Leeming  <leeming@lyx.org>
1785
1786         * latexrunparams.h: add fragile and use_babel variables.
1787
1788         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1789         * buffer.C (makeLaTeXFile): store this returned value in
1790         runparams.use_babel, thus passing it to the inset::latex methods.
1791
1792         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1793         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1794
1795         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1796         longer has a fragile arg, as it is stored in runparams.fragile.
1797
1798         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1799         moving_arg parameter as the data is stored in runparams.fragile.
1800
1801         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1802         a fragile parameter as the data is stored in runparams.fragile.
1803
1804 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1805
1806         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1807
1808 2003-05-22  Angus Leeming  <leeming@lyx.org>
1809
1810         * latexrunparams.h: add a 'bool nice' which defaults to false.
1811
1812         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1813         now encapsulated within runparams.
1814
1815         * bufferlist.C (updateIncludedTeXfiles):
1816         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1817
1818 2003-05-22  Angus Leeming  <leeming@lyx.org>
1819
1820         * latexrunparams.h: new file containing struct LatexRunParams.
1821         * Makefile.am: add new file.
1822
1823         * LaTeX.[Ch] (c-tor, run):
1824         * buffer.[Ch] (makeLaTeXFile):
1825         * bufferlist.[Ch] (updateIncludedTeXfiles):
1826         * converter.C (convert, scanLog):
1827         * converter.[Ch] (runLaTeX):
1828         * exporter.C (Export):
1829         * paragraph.[Ch] (simpleTeXOnePar):
1830         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1831         * paragraph_funcs.[Ch] (latexParagraphs):
1832         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1833         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1834         pass around a LatexRunParams parameter.
1835
1836 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * paragraph.[Ch]: remove unused constructor
1839
1840         * ParagraphList.C (erase): new function, taking two iterators
1841
1842 2003-05-22  André Pönitz  <poenitz@gmx.net>
1843
1844         * undo_funcs.C: remove duplicated code
1845
1846         * iterator.[Ch]: operator=
1847
1848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * tabular.C (SetMultiColumn): ws changes
1851
1852         * rowpainter.C (paintFirst): get rid of a ->previous
1853
1854         * lyx_cb.C (getPossibleLabel): parlist simplification
1855
1856         * BufferView.C (ChangeInsets): simplify slightly.
1857
1858 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1859
1860         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1861         * lfuns.h: new LFUN_SPACE
1862         * lyxfunc.C: protected space has a new lfun
1863         * paragraph_funcs.C: read new space insets
1864         * text3.C:
1865         * factory.C: handle new space insets
1866
1867 2003-05-22  André Pönitz  <poenitz@gmx.net>
1868
1869         * BufferView.C:
1870         * BufferView_pimpl.C:
1871         * buffer.[Ch]:
1872         * lyxfunc.C:
1873         * undo_funcs.C: return a ParIterator from getParFromID.
1874
1875         * iterators.[Ch]: add two const's
1876
1877 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * toc.C (getTocList): adjust
1880
1881         * iterators.[Ch]: rework for parlist
1882
1883         * buffer.C (par_iterator_begin): adjust
1884         (par_iterator_end): adjust
1885
1886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1887
1888         * BufferView.C (removeAutoInsets): adjust
1889         (ChangeInsets): adjust
1890
1891 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1892
1893         * text.C (top_y): fix bug 1110
1894
1895 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1896
1897         * errorlist.[Ch]: added
1898         * buffer.C:
1899         * BufferView.[Ch]:
1900         * BufferView_pimpl.C:
1901         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1902         instead
1903
1904 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * Makefile.am: ensure that lyx is relinked upon changes to the
1907         various "convenience" libs.
1908
1909 2003-05-20  Angus Leeming  <leeming@lyx.org>
1910
1911         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1912         files are compiled in alphabetical order again.
1913
1914         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1915
1916 2003-05-19  Angus Leeming  <leeming@lyx.org>
1917
1918         * gettext.[Ch]: remove "char const * _(char const *)".
1919
1920 2003-05-19  André Pönitz  <poenitz@gmx.net>
1921
1922         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1923
1924         * Makefile.am:
1925         * BufferView.C:
1926         * DepTable.h:
1927         * LaTeXFeatures.C:
1928         * buffer.C:
1929         * lyxfont.C:
1930         * lyxlex.h:
1931         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1932
1933 2003-05-19  André Pönitz  <poenitz@gmx.net>
1934
1935         * buffer.C:
1936         * lyxlayout.[Ch]:
1937         * lyxtextclass.[Ch]:
1938         * paragraph.C:
1939         * paragraph_funcs.[Ch]:
1940         * text2.C:
1941         * text3.C: more insetenv work
1942
1943 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * ParagraphParameters.C (params2string): small bug fixed
1946
1947 2003-05-16  André Pönitz  <poenitz@gmx.net>
1948
1949         * debug.C:
1950         * bufferview_funcs.C: patch from Kornel Benko to prevent
1951           crash when _(...) is called twice in a statement
1952
1953 2003-05-16  André Pönitz  <poenitz@gmx.net>
1954
1955         * BufferView.C:
1956         * lyxfunc.C:
1957         * text.C:
1958         * text2.C:
1959         * text3.C:
1960         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1961
1962 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1963
1964         * lyx_main.C (init): remove spurious static_cast
1965
1966 2003-05-14  André Pönitz  <poenitz@gmx.net>
1967
1968         * BufferView.C: fix format string
1969
1970 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1971
1972         * BufferView.[Ch] (insertErrors): removed
1973         * BufferView.[Ch] (showErrorList): added
1974         * buffer.C (runChkTeX):
1975         * converter.C (scanLog): call showErrorList instead of inserterrors
1976
1977 2003-05-13  André Pönitz  <poenitz@gmx.net>
1978
1979         * BufferView_pimpl.C:
1980         * buffer.C:
1981         * bufferview_func.C:
1982         * MenuBackend.C:
1983         * lyxfunc.C:
1984         * lyxrc.C:
1985         * tex-accent.C:
1986         * text3.C:
1987         * toc.C:
1988         * tabular_funcs.h: tostr() from its own header
1989
1990         * ParagraphParameters.C:
1991         * ToolbarBackend.C:
1992         * bufferparams.C:
1993         * format.C:
1994         * lyxlex_pimpl.C:
1995         * text3.C: STRCONV()
1996
1997 2003-05-12  André Pönitz  <poenitz@gmx.net>
1998
1999         * BufferView.C:
2000         * BufferView_pimpl.C:
2001         * CutAndPaste.C:
2002         * LaTeX.C:
2003         * LaTeXFeatures.C:
2004         * ParagraphParameters.C:
2005         * buffer.C:
2006         * bufferlist.C:
2007         * bufferparams.C:
2008         * bufferview_funcs.C:
2009         * converter.C:
2010         * counters.C:
2011         * debug.C:
2012         * exporter.C:
2013         * format.C:
2014         * importer.C:
2015         * lyx_cb.C:
2016         * lyx_main.C:
2017         * lyxfont.C:
2018         * lyxfunc.C:
2019         * lyxvc.C:
2020         * paragraph.C:
2021         * paragraph_funcs.C:
2022         * tabular.C:
2023         * tabular_funcs.C:
2024         * text2.C:
2025         * text3.C:  boost::format -> bformat  all over the place
2026
2027
2028 2003-05-09  André Pönitz  <poenitz@gmx.net>
2029
2030         * LColor.[Ch]: Pimpl the #include <map> away
2031
2032 2003-05-09  John Levon  <levon@movementarian.org>
2033
2034         * bufferlist.C: never remove emergency saves
2035
2036 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * Makefile.am: better lib building
2039
2040 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2041
2042         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2043         instead.
2044         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2045         (simpleTeXSpecialChars): adjust
2046         (simpleTeXSpecialChars): adjust
2047         * paragraph.C (simpleTeXOnePar): adjust
2048         * buffer.C (makeLaTeXFile): adjust
2049
2050         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2051
2052         * text2.C (changeDepth): parlist cleanup
2053         (getColumnNearX): ditto
2054
2055         * rowpainter.C (getLabelFont): parlist cleanup
2056
2057         * bufferlist.C (newFile): parlist cleanup
2058
2059         * CutAndPaste.C (eraseSelection): parlist cleanup
2060
2061         * BufferView_pimpl.C (trackChanges): parlist cleanup
2062         (dispatch): ditto
2063
2064         * BufferView.C (lockInset): parlist cleanup.
2065         (ChangeInsets): ditto
2066
2067 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * CutAndPaste.h: Update file header.
2070
2071         * CutAndPaste.C: Update file header.
2072         Store the parts cut out of the Document in a limited_stack.
2073         (copySelection): adjust
2074         (pasteSelection): new function, takes the index in the limited stack.
2075         (nrOfParagraphs): adjust
2076         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2077         simplify error inset insertion.
2078         (checkPastePossible): adjust
2079
2080 2003-05-06  John Levon  <levon@movementarian.org>
2081
2082         * text2.C: don't cast wrap inset to float
2083
2084 2003-05-05  André Pönitz  <poenitz@gmx.net>
2085
2086         * iterator.C:
2087         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2088
2089         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2090           few naked Paragraph *.
2091
2092 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2093
2094         * bufferparams.C: Output warning if a document with missing
2095         TeX document class is loaded
2096         * exporter.C: Disable TeX exports if the document class is missing
2097         * lyxtextclass.C:
2098         * lyxtextclass.h:
2099         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2100         isTeXClassAvailable()
2101
2102 2003-05-03  John Levon  <levon@movementarian.org>
2103
2104         * BufferView.h:
2105         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2106         explicit cursor show/hide
2107
2108         * BufferView_pimpl.h:
2109         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2110         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2111
2112         * lyxfunc.C: hide cursor before dispatching.
2113
2114         * lyx_cb.C:
2115         * lyxfind.C:
2116         * text.C:
2117         * text3.C: remove explicit cursor hides
2118
2119 2003-05-02  André Pönitz  <poenitz@gmx.net>
2120
2121         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2122
2123         * undo_funcs.C:
2124         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2125           linked lists
2126
2127         * text2.C: tiny whitespace
2128
2129 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * undo_funcs.C: almost only ws changes.
2132
2133         * ParagraphList.C (splice): just return if pl is empty.
2134
2135 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * ParagraphList.C (splice): new function.
2138
2139         * CutAndPaste.C (pasteSelection): use it
2140
2141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2142
2143         * CutAndPaste.C (pasteSelection): remove the last next and
2144         previous from this file.
2145
2146 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2147
2148         * CutAndPaste.C (pasteSelection): more clean up, user proper
2149         ParagraphList functions for pasteing.
2150
2151         * ParagraphList.C (insert): new function, three arg insert
2152
2153 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2154
2155         * ParagraphList.C (insert): new function, three arg insert
2156
2157         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2158         not on paragraphs.
2159
2160 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2161
2162         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2163
2164 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2165
2166         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2167
2168 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2171         (copySelection): clean up a bit.
2172         (pasteSelection): use make_pair
2173
2174         * ParagraphList.C (ParagraphList): implement copy constructor
2175         (operator=): implement, base on copy constructor.
2176         (assign): new func
2177
2178         * paragraph.C (erase): return a bool
2179
2180         * paragraph_pimpl.C (erasePos): remove function, move contents...
2181         (erase): ... here. Return a bool.
2182         (erase): call erase instead of erasePos.
2183
2184 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2185
2186         * ParagraphList.h: define PitPosPair
2187         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2188         ParagraphList, fix a bug on pasting multiple pars
2189         * text2.C: change interface to C&P
2190
2191 2003-04-30  André Pönitz  <poenitz@gmx.net>
2192
2193         * undo_func.C: revert part of yesterday's patch 2
2194
2195 2003-04-30  John Levon  <levon@movementarian.org>
2196
2197         * LColor.C: s/tabular/table/
2198
2199 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * text3.C (dispatch): do not convert iterator -> pointer
2202         * undo_funcs.C (setCursorParUndo): ditto
2203         * text_funcs.C (transposeChars): ditto
2204
2205         * text2.C (setLayout): ws changes only
2206
2207         * text.C (breakParagraph): do not convert iterator -> pointer
2208         (insertChar): ditto
2209         (acceptChange): ditto
2210         (rejectChange): ditto
2211         (changeCase): ditto
2212         (Delete): ditto
2213         (backspace): ditto
2214
2215         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2216         pointer
2217
2218 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2219
2220         * text3.C (gotoInset): YABG (yet another bad getChar)
2221
2222 2003-04-29  André Pönitz  <poenitz@gmx.net>
2223
2224         * paragraph.h: make operator= private unimplemented as long as
2225           it is unusable
2226
2227         * ParagraphList.C: whitespace
2228
2229         * paragraph.[Ch]:
2230         * paragraph_pimpl.[Ch]:
2231         * paragraph_funcs.C:
2232         * CutAndPaste.C:
2233         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2234
2235         * text2.C:
2236           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2237
2238 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2241         * paragraph.[Ch] (erase):
2242         * paragraph_pimpl.[Ch] (erase): change return type and value
2243         * text2.C (cutSelection): some rework
2244
2245 2003-04-28  John Levon  <levon@movementarian.org>
2246
2247         * bufferlist.C: changes for unsaved changes dialog
2248
2249 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * bufferlist.C (newFile): set language (messages_) for new
2252         documents also.
2253
2254         * buffer.C (readFile): ws changes only.
2255
2256 2003-04-28  André Pönitz  <poenitz@gmx.net>
2257
2258         * undo_funcs.C:
2259         * lyxfunc.C:
2260         * buffer.[Ch]:
2261         * BufferView_pimpl.C:
2262         * BufferView.C: getParFromID related ParagraphList::iterator changes
2263
2264 2003-04-28  André Pönitz  <poenitz@gmx.net>
2265
2266         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2267           Changes
2268
2269 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * messages.C: remove one more localedir class variable.
2272
2273 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * messages.C (getLocaleDir): singleton generation function
2276         (Pimpl): use it.
2277         (Messages): add a default constructor.
2278
2279         * main.C (main): do not setup localedir here, do not call
2280         gettext_init.
2281
2282         * gettext.C (_): use it.
2283         (gettext_init): delete funciton
2284
2285 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * gettext.C (getLyXMessages): new singleton generating function.
2288
2289         * buffer.C (updateDocLang): adjust
2290
2291         * Makefile.am (messages.o): add target
2292         (main.o): remove target
2293
2294 2003-04-27  John Levon  <levon@movementarian.org>
2295
2296         * bufferlist.C:
2297         * lyx_cb.C:
2298         * lyxfunc.C:
2299         * lyxvc.C: specify cancel button in Alert::prompt
2300
2301 2003-04-26  John Levon  <levon@movementarian.org>
2302
2303         * text3.C:
2304         * lyxfunc.C:
2305         * lfuns.h:
2306         * LyXAction.C: add LFUN_INSET_SETTINGS
2307
2308         * lyxfunc.C: don't enable tabular-feature when there's
2309         just any locking inset
2310
2311 2003-04-26  John Levon  <levon@movementarian.org>
2312
2313         * bufferlist.C: re-add Cancel to buffer close question
2314
2315         * lyxfunc.C: fix import UI a bit
2316
2317 2003-04-25  John Levon  <levon@movementarian.org>
2318
2319         * gettext.C: remove the broken asserts for now
2320
2321 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * messages.C: make case where setlocale cannot comply work better.
2324
2325         * buffer.C (updateDocLang): new function
2326         (changeLanguage): use it
2327         (readFile): use it
2328
2329         * text2.C (setCounter): use B_ a bit.
2330
2331         * lyxlayout.C (Read): be sure to trim the label strings.
2332
2333         * messages.C (Messages): fix typo in comment
2334
2335         * buffer.C (readFile): set message_ after file is loaded.
2336         (makeDocBookFile): remove double return
2337         (changeLanguage): reset message_ upon language change.
2338         (B_): new func, use this to get translated buffer strings.
2339
2340         * main.C: add myself and Jean Marc as authors.
2341
2342 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * messages.[hC]: pimplify Messages, and three different pimpls to be
2345         used in different circumstances.
2346
2347         * gettext.[Ch]: change for use with new message code.
2348
2349 2003-04-24 André Pönitz <poenitz@gmx.net>
2350
2351         * factory.C: support for eqref
2352
2353 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * messages.[Ch]: add missing char
2356
2357         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2358
2359         * messages.[Ch]: New files
2360
2361 2003-04-18  John Levon  <levon@movementarian.org>
2362
2363         * BufferView.h:
2364         * BufferView.C:
2365         * BufferView_pimpl.C:
2366         * lfuns.h:
2367         * LyXAction.C:
2368         * lyxtext.h:
2369         * text2.C: remove layout-copy/paste (bug 778)
2370
2371 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2372
2373         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2374
2375 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2376
2377         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2378         if they succeed. Act accordingly.
2379
2380 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * text2.C (setCharFont): adjust
2383         (setCounter): adjust
2384         (insertStringAsLines): adjust
2385
2386         * text.C (leftMargin): adjust
2387         (setHeightOfRow): adjust
2388
2389         * rowpainter.C (paintFirst): adjust
2390         (paintLast): adjust
2391
2392         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2393         (outerHook): ditto
2394         (isFirstInSequence): ditto
2395         (getEndLabel): ditto
2396         (outerFont): adjust
2397
2398         * paragraph.C (getParLanguage): comment out some hard stuff.
2399
2400         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2401         (sgmlError): ditto
2402         (simpleDocBookOnePar): ditto
2403         (makeDocBookFile): use ParagraphList::iterator
2404
2405         * CutAndPaste.C (pasteSelection): adjust
2406
2407 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * text2.C (getFont): adjust
2410         (getLayoutFont): adjust
2411         (getLabelFont): adjust
2412
2413         * paragraph_funcs.C (TeXOnePar): adjust
2414
2415         * buffer.C (simpleLinuxDocOnePar): adjust
2416         (simpleDocBookOnePar): adjust
2417
2418         * CutAndPaste.C (pasteSelection): adjust
2419
2420         * BufferView.C (getEncoding): adjust
2421
2422         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2423
2424 2003-04-16  John Levon  <levon@movementarian.org>
2425
2426         * lyxfind.C: use parlist stuff for search/changes
2427
2428 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2429
2430         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2431
2432         * text2.C (deleteEmptyParagraphMechanism): adjust
2433
2434         * text2.[Ch] (ownerParagraph): delete func (both of them
2435
2436 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2439
2440 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * ParagraphList.C: prepare for NO_NEXT
2443
2444 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * text2.C (getFont): adjust
2447         (getLayoutFont): adjust
2448         (getLabelFont): adjust
2449
2450         * paragraph.C (getFont): adjust
2451         (getLabelFont): adjust
2452         (getLayoutFont): adjust
2453
2454         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2455
2456 2003-04-15  John Levon  <levon@movementarian.org>
2457
2458         From Angus Leeming
2459
2460         * lyx_main.C: handle Include in .ui files
2461
2462 2003-04-15  John Levon  <levon@movementarian.org>
2463
2464         * MenuBackend.C: make the doc files length shorter
2465
2466         * ToolbarBackend.h:
2467         * ToolbarBackend.C: handle toolbar placement flags,
2468         Minibuffer
2469
2470 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2473         adjust
2474
2475         * paragraph_funcs.C (TeXOnePar): adjust
2476
2477         * paragraph.C (getLabelFont): add outerfont arg, adjust
2478         (getLayoutFont): ditto
2479         (simpleTeXOnePar): adjust
2480
2481         * paragraph_pimpl.C (realizeFont): delete func
2482
2483 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2484
2485         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2486         row argument, constify cur argument.
2487
2488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2489
2490         * text2.C (getFont): adjust
2491         (getLayoutFont): adjust
2492         (getLabelFont): adjust
2493
2494         * paragraph_funcs.C (TeXOnePar): adjust
2495         (outerFont): new func...
2496         (realizeFont): ...moved out from here, changed this to facilitate
2497         transition
2498
2499         * paragraph.C (getFont): take outerfont as arg, adjust
2500         (simpleTeXOnePar): add outerfont arg, adjust
2501
2502         * buffer.C (simpleLinuxDocOnePar): adjust
2503         (simpleDocBookOnePar): adjust
2504
2505         * CutAndPaste.C (pasteSelection): adjust
2506
2507         * BufferView.C (getEncoding): adjust
2508
2509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * text2.C (setCharFont): adjust
2512         (setCounter): adjust
2513
2514         * text.C (leftMargin): adjust
2515         (setHeightOfRow): adjust
2516
2517         * rowpainter.C (paintFirst): adjust
2518         (paintLast): adjust
2519
2520         * paragraph_pimpl.C (realizeFont): adjust
2521
2522         * paragraph.C (isFirstInSequence): move from here...
2523         * paragraph_funcs.C (isFirstInSequence): ...to here
2524
2525         * paragraph.C (outerHook): move from here...
2526         * paragraph_funcs.C (outerHook): ...to here
2527
2528         * paragraph.C (depthHook): move from here...
2529         * paragraph_funcs.C (depthHook): ...to here
2530
2531         * paragraph.C (getEndLabel): move from here...
2532         * paragraph_funcs.C (getEndLabel): ...to here
2533
2534         * text2.C (realizeFont): move from here...
2535         * paragraph_funcs.C (realizeFont): ...to here
2536
2537 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2540
2541 2003-04-14  Angus Leeming  <leeming@lyx.org>
2542
2543         * LColor.[Ch]: scrap LColor mathcursor.
2544
2545 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * lyxlex.[Ch] (text): delete function
2548         * trans.C (Load): adjust
2549         * paragraph_funcs.C (readParToken): adjust
2550
2551 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2554         vector<char> instead of a char[].
2555
2556         * lyxlex_pimpl.C (getString): adjust
2557         (next): adjust
2558         (lex): use getString
2559         (eatLine): adjust
2560         (nextToken): adjust
2561
2562         * lyxlex.C (text): use pimpl_->getString()
2563         (getBool): ditto
2564         (findToken): ditto
2565
2566 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2569         (makeFontEntriesLayoutSpecific): temp var for par.size()
2570         (setLayout): temp var for ownerParagraphs().end()
2571         (fullRebreak): temp var for rows().end()
2572         (selectionAsString): temp var for boost::next(startpit), realize
2573         that the while really is a regular for loop.
2574         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2575         setCursor in one place.
2576         (setParagraph): temp vr for ownerParagraphs().end()
2577         (updateCounters): make the while loop a for loop
2578         (cutSelection): temp var for ownerParagraphs().end()
2579         (updateInset): make the do {} while() a regular for loop
2580         (getCursorX): use temp vars
2581         (setCurrentFont): use temp vars
2582         (getColumnNearX): use temp vars
2583
2584 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * text.C (transformChar): use temp var for getChar
2587         (computeBidiTables): use temp var for row->par()
2588         (fill): move temp vars for row->par() and pit->layout() earlier in
2589         the function.
2590         (labelFill): use temp var for row->par()
2591         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2592         asc and desc, realize that pit never changes and that firstpit is
2593         just a duplicate and not needed. Exchange rit->par() with pit in a
2594         lot of places.
2595         (breakAgain): use a temp var for boost::next(rit)
2596         (breakAgainOneRow): ditto
2597         (breakParagraph): use a temp var for rows().begin()
2598         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2599         (cursorRightOneWord): use temp var for cursor.par() and
2600         cursor.pos(), remove usage of tmpcursor.
2601         (cursorLeftOneWord): use temp var for cursor.par() and
2602         cursor.pos() only set cur at end of function.
2603
2604 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2605
2606         * text.C, text2.C: exchange all usage of Paragraph::next with
2607         boost::next(ParagraphList::iterator)
2608
2609         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2610
2611         * text2.C (cursorTop): simplify implementation
2612         (cursorBottom): ditto
2613         (setParagraph): use ParagraphList::iterator
2614         (setCurrentFont): adjust
2615         (getColumnNearX): adjust
2616         (cursorRight): adjust
2617         (cursorLeft): remove usage of Paragraph::previous
2618         (cursorUpParagraph): ditto
2619         (deleteEmptyParagraphMechanism): slight cleanup
2620
2621         * text.C (isBoundary): take a Paragraph const & instead of a
2622         pointer as arg.
2623         (addressBreakPoint): ditto
2624         (leftMargin): remove usage of Paragraph::previous.
2625         (setHeightOfRow): ditto
2626         (cursorLeftOneWord): ditto
2627         (selectNextWordToSpellcheck): ditto
2628         (Delete): ditto
2629         (backspace): ditto
2630         (breakParagraph): remove one usage of Paragraph::next
2631         (redoParagraph): ditto
2632         (acceptChange): ditto
2633         (insertChar): adjust
2634         (rowBreakPoint): adjust
2635
2636         * bufferview_funcs.C (toggleAndShow): adjust
2637
2638 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2639
2640         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2641         methods to access it.
2642         * lyxtext.h:
2643         * text.C: Added updateRowPositions to compute all row positions.
2644         Make top_y and getRowNearY() to use the cached y position
2645
2646 2003-04-11  John Levon  <levon@movementarian.org>
2647
2648         * text.C (rowBreakPoint): reintroduce the labelEnd
2649         checks, code copied from the row fill stuff. Deep voodoo.
2650
2651         * text.C (fill): add a comment and debugging for the
2652         next poor soul.
2653
2654 2003-04-11  John Levon  <levon@movementarian.org>
2655
2656         * text.C: make sure fullrow insets get wrapped to the next line,
2657         even when they're in a manual label
2658
2659 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * text2.C (insertParagraph): make it take ParagraphList::iterator
2662         as arg.
2663         (setLayout): make it return ParagraphList::iterator
2664         (redoParagraphs): ditto
2665         (setCounter): ditto
2666         (checkParagraph): ditto
2667
2668         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2669
2670         * text2.C: adjust several funcs.
2671         (realizeFont): take a ParagraphList::iterator as arg.
2672         (getLayoutFont): ditto
2673         (getLabelFont): ditto
2674         (setCharFont): ditto
2675
2676         * text.C: adjust several funcs.
2677
2678 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2679
2680         * text.C (selectNextWordToSpellcheck): don't accidentally
2681         skip insets
2682
2683 2003-04-10  John Levon  <levon@movementarian.org>
2684
2685         * ToolbarBackend.C (getIcon): special handling for
2686         LFUN_MATH_DELIM
2687
2688 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2689
2690         * text2.C (cursorRight): a getChar assert fixed
2691
2692 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * text2.C (getFont): change to take a ParagraphList::iterator
2695         instead of Paragraph*
2696         Adjust several functions.
2697
2698         * text.C (transformChar): change to take a ParagraphList::iterator
2699         instead of Paragraph*
2700         (singleWidth): ditto
2701         Adjust several functions.
2702
2703         * rowpainter.C: adjust several functions
2704         * rowpainter.h:store a ParagraphList::iterator and not a
2705         Paragraph&.
2706
2707
2708 2003-04-09  John Levon  <levon@movementarian.org>
2709
2710         * lyxfunc.C:
2711         * lfuns.h:
2712         * LyXAction.h:
2713         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2714         and the "help" bits as well
2715
2716 2003-04-09  John Levon  <levon@movementarian.org>
2717
2718         * ToolbarBackend.h:
2719         * ToolbarBackend.C: allow multiple toolbars
2720
2721 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * undo_funcs.C (setCursorParUndo): adjust
2724
2725         * text_funcs.C (transposeChars): adjust
2726
2727         * text3.C (gotoNextInset): adjust
2728         (dispatch): adjust
2729
2730         * text2.C (setLayout): adjust
2731         (changeDepth): adjust
2732         (setFont): adjust
2733         (redoParagraphs): adjust
2734         (selectionAsString): adjust
2735         (setParagraph): adjust
2736         (insertInset): adjust
2737         (cutSelection): adjust
2738         (copySelection): adjust
2739         (pasteSelection): adjust
2740         (insertStringAsLines): adjust
2741         (updateInset): adjust
2742         (setCursor): change to take a ParagraphList::iterator parameter
2743         (setCursorIntern): change to take a ParagraphList::iterator parameter
2744         (setCurrentFont): adjust
2745         (cursorLeft): adjust
2746         (cursorRight): adjust
2747         (deleteEmptyParagraphMechanism): adjust
2748
2749         * text.C (breakParagraph): adjust
2750         (insertChar): adjust
2751         (acceptChange): adjust
2752         (rejectChange): adjust
2753         (selectNextWordToSpellcheck): adjust
2754         (changeCase): adjust
2755         (Delete): adjust
2756         (backspace): adjust
2757
2758         * lyxfind.C (SearchForward): adjust
2759         (SearchBackward): adjust
2760         (nextChange): adjust
2761
2762         * lyxcursor.C (par): adjust
2763
2764         * lyxcursor.h: store a ParagraphList::iterator instead of a
2765         Paragraph*
2766
2767         * lyx_cb.C (getPossibleLabel): adjust
2768
2769         * bufferview_funcs.C (toggleAndShow): adjust
2770
2771         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2772         (dispatch): adjust
2773
2774         * BufferView.C (removeAutoInsets): adjust
2775         (lockedInsetStoreUndo): adjust
2776
2777 2003-04-09  John Levon  <levon@movementarian.org>
2778
2779         * ToolbarBackend.C: try icon without argument
2780         if with argument fails
2781
2782 2003-04-08  John Levon  <levon@movementarian.org>
2783
2784         * ToolbarBackend.h:
2785         * ToolbarBackend.C: add getIcon(), handle tooltip,
2786         and change from "Icon" to "Item".
2787
2788 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * BufferView.C (lockInset): another bad getchar crunched
2791
2792 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2795         again)
2796
2797 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * lyxfind.C (searchForward, searchBackwards): bug 782
2800
2801 2003-04-07  John Levon  <levon@movementarian.org>
2802
2803         * paragraph.C: remove dead comment
2804
2805         * text.C: remove troublesome depth-fiddling code
2806         in leftMargin() and rightMargin() (bug 1017)
2807
2808         * text.C: fix breaking of rows in nested lists
2809         (bug 1004)
2810
2811         * text2.C (updateCounters): fix up depth values
2812         (bug 1013)
2813
2814 2003-04-07  John Levon  <levon@movementarian.org>
2815
2816         * BufferView_pimpl.C: clear message when doc finishes resizing,
2817         and after a mouse event
2818
2819         * lyxfunc.C: clear message after exiting inset
2820
2821 2003-04-07  John Levon  <levon@movementarian.org>
2822
2823         * bufferview_funcs.C: show math status not outside
2824         status in the statusbar
2825
2826 2003-04-07  John Levon  <levon@movementarian.org>
2827
2828         * lyxfunc.C: note status changed after a depth change
2829
2830 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2831
2832         * LaTeX.h: move AuxInfo operator==, != out of line.
2833         Remove LaTeX virtual destructor; nothing derives from it.
2834         Move operator()() out of public area and rename it startscript().
2835         Change protected for private.
2836
2837 2003-04-04  Angus Leeming  <leeming@lyx.org>
2838
2839         * lyxfunc.C:
2840         * text2.C: remove unneeded #includes.
2841
2842 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * text2.C (dEPM): fix the heigth of the next row
2845
2846 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2847
2848         * text.C: squashed an invalid getChar requester + some ws changes
2849
2850 2003-04-03  John Levon  <levon@movementarian.org>
2851
2852         * bufferview_funcs.h:
2853         * bufferview_funcs.C:
2854         * lyxfunc.C:
2855         * lyxtext.h:
2856         * text2.C: make getStatus work for the env depth lfuns
2857
2858 2003-04-03  John Levon  <levon@movementarian.org>
2859
2860         * bufferview_funcs.h:
2861         * bufferview_funcs.C:
2862         * lyxfunc.C:
2863         * lyxtext.h:
2864         * text2.C: parlistize decDepth(), by merging it with incDepth()
2865
2866 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * lyxrow.h: store a ParagraphList::iterator instead of a
2869         Paragraph* and adjust other class functions to suit.
2870
2871         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2872         above.
2873
2874 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * text2.C (setCursor): do not anchor to cursor row for the time being
2877
2878 2003-04-02  John Levon  <levon@movementarian.org>
2879
2880         * LyXAction.C:
2881         * lfuns.h:
2882         * lyx_main.C:
2883         * lyxtext.h:
2884         * text.C:
2885         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2886
2887 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * paragraph.h: make ParagraphList and ParagraphList::iterator
2890         friends of Paragraph.
2891
2892         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2893
2894         * ParagraphList.C: Use the private next_ and previous_ from
2895         Paragraph.
2896
2897 2003-04-01  John Levon  <levon@movementarian.org>
2898
2899         * ToolbarBackend.h:
2900         * ToolbarBackend.C:
2901         * Makefile.am: rename, remove defaults gunk
2902
2903         * MenuBackend.h:
2904         * MenuBackend.C: remove defaults gunk
2905
2906         * Languages.h:
2907         * Languages.C: remove defaults gunk
2908
2909         * lyx_main.h:
2910         * lyx_main.C: error out if files couldn't be found.
2911
2912 2003-04-02  John Levon  <levon@movementarian.org>
2913
2914         * text2.C: make incDepth() use parlist
2915
2916 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2917
2918         * undo_funcs.C (firstUndoParagraph): adjust
2919
2920         * text3.C (gotoInset): adjust
2921         (dispatch): adjust, and rewrite loop.
2922
2923         * text2.C (init): adjust, and rewrite loop.
2924         (redoParagraphs): adjust
2925         (updateInset): adjust, and rewrite loop.
2926         (deleteEmptyParagraphMechanism): adjust
2927
2928         * tabular.C (LyXTabular): adjust
2929         (SetMultiColumn): adjust
2930         (TeXRow): adjust
2931
2932         * lyxtext.[Ch] (ownerParagraph): delete function
2933         (ownerParagraphs): new function returns a ParagraphList.
2934
2935         * BufferView.C (removeAutoInsets): adjust
2936         (insertErrors): adjust
2937         (setCursorFromRow): adjust
2938
2939 2003-04-01  Angus Leeming  <leeming@lyx.org>
2940
2941         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2942         in the frontends.
2943
2944 2003-04-02  John Levon  <levon@movementarian.org>
2945
2946         * lyxtext.h:
2947         * text.C:
2948         * Makefile.am:
2949         * text_funcs.h:
2950         * text_funcs.C: make transposeChars a free function
2951
2952         * lyxrow_funcs.C: remove wrong comment
2953
2954 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2955
2956         * lyxtext.h: adjust
2957         * rowpainter.C: adjust
2958         * text.C: adjust
2959         * text2.C: adjust
2960         * text3.C: adjust
2961
2962         * lyxrow_funcs. [Ch]: new files
2963
2964         * lyxrow.[Ch]: remove next and previous pointers
2965         (next,previous): remove accessor functions
2966         (isParEnd): move to lyxrow_funcs
2967         (lastPos): move to lyxrow_funcs
2968         (nextRowIsAllInset): move to lyxrow_funcs
2969         (lastPrintablePos): move to lyxrow_funcs
2970         (numberOfSeparators): move to lyxrow_funcs
2971         (numberOfHfills): move to lyxrow_funcs
2972         (numberOfLabelHfills): move to lyxrow_funcs
2973         (hfillExpansion): move to lyxrow_funcs
2974
2975         * lyxfunc.C: adjust
2976
2977         * bufferview_funcs.C (toggleAndShow): adjust
2978
2979         * RowList.h: Remove class RowList from file leave just a
2980         std::list<Row>.
2981
2982         * RowList.C: delete file
2983
2984         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2985         and lyxrow_funcs.h
2986
2987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * text3.C (cursorPrevious): adjust
2990         (cursorNext): adjust
2991         (dispatch): adjust
2992
2993         * text2.C (redoHeightOfParagraph): adjust
2994         (redoDrawingOfParagraph): adjust
2995         (setCursor): adjust
2996
2997         * text.C (breakParagraph): adjust
2998         (insertChar): adjust
2999         (backspace): adjust
3000
3001         * rowpainter.C (RowPainter): adjust
3002         (leftMargin): simplify and adjust
3003         (most rowpainter functions): adjust.
3004
3005         * rowpainter.h: store the row as RowList::iterator not as Row*
3006
3007         * lyxcursor.C (row): taka RowList::iterator as arg
3008         (irow): ditto
3009
3010         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3011         of Row*.
3012
3013 2003-04-01  Angus Leeming  <leeming@lyx.org>
3014
3015         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3016         stuff like bool Bool.
3017
3018 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3021         rewrite a loop
3022
3023 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3026         RowList::iterator.
3027
3028         * lyxtext.h (rows): drop one version and leve a const variant that
3029         returns a RowList::iterator.
3030
3031 2003-03-31  Angus Leeming  <leeming@lyx.org>
3032
3033         * text.C (fill): ensure that the signature is the same as that in the
3034         header file.
3035
3036 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * text2.C (redoParagraphs): adjust
3039         (updateCounters): adjust
3040         (checkParagraph): adjust
3041         (getColumnNearX): adjust and reformat a bit.
3042
3043         * text.C (top_y): adjust
3044         (workWidth): adjust
3045         (leftMargin): adjust
3046         (prepareToPrint): adjust
3047         (getRow): adjust
3048         (getRowNearY): adjust
3049
3050         * lyxtext.h: make rowlist_ mutable.
3051
3052         * RowList.h: add const_iterator
3053         * RowList.C: adjust for RowList::const_iterator.
3054
3055         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3056         adjust.
3057
3058 2003-03-31  John Levon  <levon@movementarian.org>
3059
3060         * lyxrc.h:
3061         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3062
3063         * lyx_main.C: set default fonts from using lyx_gui funcs
3064
3065         * exporter.C: pdf_mode moved from lyxrc
3066
3067         * lyx_cb.C:
3068         * lyxfunc.C: changes from above
3069
3070 2003-03-31  John Levon  <levon@movementarian.org>
3071
3072         * lyx_main.C: fix to the last fix
3073
3074 2003-03-31  John Levon  <levon@movementarian.org>
3075
3076         * bufferlist.C: "Load original" -> "Load Original"
3077
3078         * converter.C:
3079         * exporter.C:
3080         * importer.C:
3081         * lyx_main.C:
3082         * format.C: more Alert cleanups
3083
3084 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * text2.C (removeParagraph): make it take a RowList::iterator as
3087         arg, adjust.
3088         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3089         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3090
3091         * text.C (anchor_row): make it take a RowList::iterator as arg,
3092         adjust.
3093         (computeBidiTables): make it take a const reference to Row instead
3094         of Row pointer, adjust.
3095         (leftMargin): make it take a RowList::iterator as arg, adjust.
3096         (rowBreakPoint): adjust
3097         (breakAgainOneRow): make it take a RowList::iterator as arg,
3098         adjust.
3099         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3100
3101         * bufferview_funcs.C (toggleAndShow): adjust
3102
3103 2003-03-30  John Levon  <levon@movementarian.org>
3104
3105         * Makefile.am:
3106         * BoostFormat.h:
3107         * boost-inst.C: moved to support
3108
3109         * several files: changes as a result
3110
3111 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * text2.C (LyXText): adjust.
3114         (init): adjust
3115         (removeRow): make it take a RowList::iterator as arg, adjust.
3116         (fullRebreak): adjust
3117         (deleteEmptyParagraphMechanism): adjust
3118         (clearPaint): adjust
3119         (postPaint): adjust
3120
3121         * text.C (top_y): adjust
3122         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3123         (breakAgain): make it take a RowList::iterator as arg, adjust.
3124         (breakParagraph): adjust
3125         (insertChar): adjust
3126         (backspace): adjust
3127
3128         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3129         need_break_row, and refresh_row.
3130
3131         * text3.C (dispatch): adjust
3132
3133         * text2.C (checkParagraph): adjust
3134         (setCursor): adjust
3135         (setCursorFromCoordinates): adjust
3136
3137         * text.C (top_y): adjust
3138         (workWidth): adjust
3139         (getRow): make it return a RowList::iterator, adjust
3140         (getRowNearY): make it return a RowList::iterator, adjust
3141
3142         * text2.C (init): adjust
3143         (insertRow): remove function
3144         (insertParagraph): adjust
3145         (redoParagraphs): adjust
3146         (fullRebreak): adjust
3147         (updateCounters): adjust
3148
3149         * text.C (top_y): rewrite to use RowList iterators.
3150         (top_y): adjust
3151         (setHeightOfRow): rewrite to sue RowList iterators.
3152         (appendParagraph): adjust
3153         (breakAgain): adjust
3154         (breakAgainOneRow): adjust
3155         (breakParagraph): adjust
3156         (getRow): adjust
3157         (getRowNearY): adjust, and remove commented code.
3158
3159         * lyxtext.h (firstRow): delete function
3160         (lastRow): delete function
3161         (rows): new function (const and non-const versions.)
3162         (insertRow): delete function
3163
3164         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3165
3166 2003-03-29  John Levon  <levon@movementarian.org>
3167
3168         * BufferView_pimpl.C: always update scrollbar top
3169         because pasting text when we're anchored could mean we
3170         miss an update altogether
3171
3172 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * text2.C (init): use rowlist_.end() and not 0.
3175         (insertRow): change to take a RowList::iterator as arg, adjust
3176         for this.
3177         (insertParagraph): change to take a RowList::iterator as arg,
3178         adjust for this.
3179         (redoParagraphs): remove some debug msgs.
3180
3181         * text.C (appendParagraph): change to take a RowList::iterator
3182         arg, adjust for this.
3183         (breakAgain): add an assert
3184         (breakAgainOneRow): ditto
3185
3186 2003-03-29  John Levon  <levon@movementarian.org>
3187
3188         * text2.C: do not clear selection after inc/decDepth
3189         (bug 550)
3190
3191 2003-03-29  John Levon  <levon@movementarian.org>
3192
3193         * BufferView.C:
3194         * buffer.C: fix broken strerrors according to Lars
3195
3196 2003-03-29  John Levon  <levon@movementarian.org>
3197
3198         * converters.C: more Alert cleanups
3199
3200 2003-03-29  John Levon  <levon@movementarian.org>
3201
3202         * bufferview_funcs.C: remove pointless Alert
3203
3204         * buffer.C: fix confusing error message when
3205         a template is chmoded 000
3206
3207 2003-03-29  John Levon  <levon@movementarian.org>
3208
3209         * BufferView.C:
3210         * BufferView.h:
3211         * BufferView_pimpl.C: Alert fixes
3212
3213         * Makefile.am:
3214         * tabular.C:
3215         * tabular-old.C: remove unused table compat reading
3216
3217 2003-03-29  John Levon  <levon@movementarian.org>
3218
3219         * BufferView.C:
3220         * buffer.C:
3221         * lyx_cb.h:
3222         * lyx_cb.C: more Alert cleanups
3223
3224         * lyxfunc.C: don't allow chktex if not latex document
3225
3226 2003-03-29  John Levon  <levon@movementarian.org>
3227
3228         * lyx_cb.C:
3229         * BufferView.C:
3230         * buffer.C: warnings pushed down from support/,
3231         kill err_alert
3232
3233 2003-03-29  John Levon  <levon@movementarian.org>
3234
3235         * lyxfunc.C: safety check for C-r (revert)
3236
3237 2003-03-29  John Levon  <levon@movementarian.org>
3238
3239         * bufferlist.h:
3240         * bufferlist.C: several UI fixes using Alert::prompt.
3241         Fix the pointless looping quit code. Fix stupid revert
3242         behaviour (bug 938)
3243
3244         * lyxvc.h:
3245         * lyxvc.C:
3246         * lyx_cb.C: use Alert::prompt
3247
3248         * lyx_main.C: remove a silly question
3249
3250         * lyxfunc.C: remove a couple of silly questions,
3251         use Alert::prompt
3252
3253 2003-03-28  John Levon  <levon@movementarian.org>
3254
3255         * text2.C: fix bug 974 (End on empty par)
3256
3257 2003-03-28  John Levon  <levon@movementarian.org>
3258
3259         * BufferView_pimpl.C:
3260         * LyXAction.C:
3261         * lfuns.h: remove do-nothing math greek lfuns
3262
3263 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * lyxgluelength.h (isValidGlueLength): add default arg on
3266         parameter 2. Remove default arg from friend in class.
3267
3268         * lyxlength.h (isValidLength): add default arg on parameter 2.
3269         Remove default arg from friend in class.
3270
3271         * text2.C (LyXText): adjust, initialize refresh_row.
3272         (init): adjust
3273         (removeRow): adjust
3274         (insertRow): adjust
3275         (insertParagraph): adjst
3276         (redoParagraphs): adjust
3277         (fullRebreak): adjust
3278         (updateCounters): adjust
3279         (deleteEmptyParagraphMechanism): first attempt at fixing a
3280         crashing bug.
3281
3282         * text.C (top_y): adjust
3283         (setHeightOfRow): adjust
3284         (getRow): adjust
3285         (getRowNearY): adjust
3286
3287         * lyxtext.h: include RowList.h
3288         (~LyXText): not needed anymore, deleted.
3289         (firstRow): modify for RowList
3290         (lastRow): new function
3291         Delete firstrow and lastrow class variables, add a Rowlist
3292         rowlist_ class variable.
3293
3294         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3295         paragraph is empty.
3296
3297         * RowList.C (insert): fix case where it == begin().
3298
3299 2003-03-26  Angus Leeming  <leeming@lyx.org>
3300
3301         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3302         the thesaurus dialog.
3303
3304 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3307
3308         * RowList.[Ch]: new files
3309
3310         * ParagraphList.C (erase): handle the case where it == begin
3311         correctly.
3312
3313 2003-03-25  John Levon  <levon@movementarian.org>
3314
3315         * Makefile.am:
3316         * aspell_local.h:
3317         * aspell.C: add new aspell support
3318
3319         * lyxrc.h:
3320         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3321         have it accessible.
3322
3323 2003-03-25  Angus Leeming  <leeming@lyx.org>
3324
3325         * lfuns.h:
3326         * LyXAction.C (init): new LFUN_INSET_INSERT.
3327
3328         * BufferView_pimpl.C (dispatch): split out part of the
3329         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3330
3331         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3332         LFUN_INSET_APPLY.
3333
3334 2003-03-25  Angus Leeming  <leeming@lyx.org>
3335
3336         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3337
3338 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * text2.C:
3341         * text3.C: remove useless row->height(0)
3342
3343 2003-03-25  John Levon  <levon@movementarian.org>
3344
3345         * lyxtext.h:
3346         * text2.C:
3347         * text3.C: rename the refreshing stuff to better names
3348
3349 2003-03-24  John Levon  <levon@movementarian.org>
3350
3351         * BufferView_pimpl.h:
3352         * BufferView_pimpl.C: update layout choice on a mouse
3353         press/release
3354
3355 2003-03-23  John Levon  <levon@movementarian.org>
3356
3357         * Makefile.am: fix commandtags.h reference
3358
3359 2003-03-22  John Levon  <levon@movementarian.org>
3360
3361         * BufferView_pimpl.C:
3362         * lyxtext.h:
3363         * rowpainter.C:
3364         * rowpainter.h:
3365         * text.C:
3366         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3367
3368 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * lyxtext.h:
3371         * text.C: take the rtl methods out of line
3372
3373 2003-03-21 André Pönitz <poenitz@gmx.net>
3374
3375         * metricsinfo.[Ch]: new files containing structures to be passed around
3376         during the two-phase-drawing...
3377
3378 2003-03-21 André Pönitz <poenitz@gmx.net>
3379
3380         * lyxtextclass.C: read 'environment' tag.
3381
3382 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * text2.C (removeRow): fix bug 964
3385
3386 2003-03-20  John Levon  <levon@movementarian.org>
3387
3388         * rowpainter.C:
3389         * text.C:
3390         * text2.C: paint cleanups. Inset::update() dropped font
3391         parameter
3392
3393 2003-03-19  John Levon  <levon@movementarian.org>
3394
3395         * lyxfunc.C: only fitcursor/markDirty if available()
3396
3397 2003-03-19  John Levon  <levon@movementarian.org>
3398
3399         * commandtags.h: rename to ...
3400
3401         * lfuns.h: ... this, and renumber / cleanup
3402
3403 2003-03-19  John Levon  <levon@movementarian.org>
3404
3405         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3406         fit the cursor after an lfun
3407
3408         * BufferView.h:
3409         * BufferView.C:
3410         * BufferView_pimpl.h:
3411         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3412
3413         * LyXAction.C: layout-character should have ReadOnly
3414
3415         * ParagraphParameters.C:
3416         * buffer.C:
3417         * bufferview_funcs.C:
3418         * lyx_cb.C:
3419         * lyxfind.C:
3420         * lyxtext.h:
3421         * text.C:
3422         * text2.C:
3423         * text3.C:
3424         * undo_funcs.C: changes from above
3425
3426 2003-03-18  John Levon  <levon@movementarian.org>
3427
3428         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3429         remove it from update()
3430
3431         * lyxfunc.C: update layout choice after an lfun
3432
3433         * text3.C: remove extra updateLayoutChoice()s
3434
3435 2003-03-18  John Levon  <levon@movementarian.org>
3436
3437         * text.C: top_y change means full repaint, fix
3438         a drawing bug with cursor movement
3439
3440 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * lyxtext.h:
3443         * text.C:
3444         * text2.C: anchor row on setCursor
3445
3446 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * lyxtext.h: remove almost all mutable keywords
3449         * text.C:
3450         * text2.C:
3451         * text3.C: remove const keywords accordingly
3452
3453 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3456         anon namespace
3457         (TeXEnvironment): ditto
3458         (TeXOnePar): ditto
3459
3460 2003-03-17  John Levon  <levon@movementarian.org>
3461
3462         * text.C (rowBreakPoint): remove attempt to fix displayed
3463         math insets inside a manual label
3464
3465 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * lyxtext.h: remove BufferView* as first arg from almost all class
3468         functions.
3469         * other files: adjust.
3470
3471 2003-03-17  John Levon  <levon@movementarian.org>
3472
3473         * lyxtext.h:
3474         * undo_funcs.C:
3475         * text2.C: more paint cleanups
3476
3477         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3478
3479         * rowpainter.h:
3480         * rowpainter.C: remove "smart" background painting code
3481
3482 2003-03-16  John Levon  <levon@movementarian.org>
3483
3484         * lyxtext.h:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: add helper functions for setting refresh_row/y
3488
3489 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3490
3491         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3492         newline inset which *can* get inserted in the pass_thru layouts.
3493         This is primarily for literate documents.
3494
3495 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3496
3497         * buffer.C: increment LYX_FORMAT to 223
3498
3499 2003-03-14 André Pönitz <poenitz@gmx.net>
3500
3501         * textclass.h: prepare for environment handling, ws changes
3502         * lyxlayout.C: read latexheader and latexfooter tags
3503
3504 2003-03-14  John Levon  <levon@movementarian.org>
3505
3506         * text2.C: rewrite ::status() a bit
3507
3508 2003-03-13  John Levon  <levon@movementarian.org>
3509
3510         * lyxtext.h: add some docs
3511
3512 2003-03-13  John Levon  <levon@movementarian.org>
3513
3514         * lyxtext.h:
3515         * text.C:
3516         * text2.C:
3517         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3518
3519 2003-03-13  John Levon  <levon@movementarian.org>
3520
3521         * text3.C: fix appendix redrawing
3522
3523 2003-03-13  John Levon  <levon@movementarian.org>
3524
3525         * text.C (setHeightOfRow):
3526         * rowpainter.h:
3527         * rowpainter.C: make appendix mark have the text
3528           "Appendix" so the user knows what it is
3529
3530         * LColor.h:
3531         * LColor.C: s/appendixline/appendix/ from above
3532
3533 2003-03-13  John Levon  <levon@movementarian.org>
3534
3535         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3536
3537         * text.C: fix a getChar(pos) bug properly
3538
3539 2003-03-13  Angus Leeming  <leeming@lyx.org>
3540
3541         * commandtags.h:
3542         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3543         Probably only temporary. Let's see how things pan out.
3544
3545         * BufferView.C (unlockInset):
3546         * BufferView_pimpl.C (fitCursor):
3547         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3548
3549         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3550         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3551
3552         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3553         new functions that convert ParagraphParameters to and from a string.
3554
3555         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3556         BufferView::Pimpl's dispatch.
3557         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3558
3559 2003-03-13 André Pönitz <poenitz@gmx.net>
3560
3561         * lyxfunc.C:
3562         * text3.C:
3563         * factory.C: make it aware of InsetEnv
3564
3565 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * text2.C (setCursor): never ask for one past last
3568         (setCursor): add some debugging messages.
3569
3570         * text.C (singleWidth): never ask for one past last
3571         (singleWidth): ditto
3572         (leftMargin): ditto
3573         (rightMargin): ditto
3574         (rowBreakPoint): ditto
3575         (setHeightOfRow): ditto
3576         (prepareToPrint): ditto
3577
3578         * rowpainter.C (paintBackground): never ask for one past last
3579         (paintText): never ask for one past last
3580
3581         * paragraph_pimpl.C (getChar): make the assert stricter, never
3582         allow the one past last pos to be taken
3583
3584         * paragraph.C (getChar): ws changes only
3585
3586         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3587         (numberOfSeparators): ditto
3588         (numberOfHfills): ditto
3589
3590 2003-03-12  John Levon  <levon@movementarian.org>
3591
3592         * author.h:
3593         * author.C:
3594         * bufferparams.h:
3595         * bufferparams.C:
3596         * paragraph_funcs.C: fix per-buffer authorlists
3597
3598 2003-03-12  John Levon  <levon@movementarian.org>
3599
3600         * text.C: fix newline in right address
3601
3602 2003-03-12  Angus Leeming  <leeming@lyx.org>
3603
3604         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3605         duplicate those in LyXFunc::dispatch.
3606
3607         * commandtags.h:
3608         * LyXAction.C:
3609         * ToolbarDefaults.C:
3610         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3611         Add LFUN_FONTFREE_UPDATE.
3612
3613         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3614         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3615
3616         * bufferview_func.[Ch]: several new functions to facilliate
3617         transfer of data to and from the character dialog.
3618
3619 2003-03-12  John Levon  <levon@movementarian.org>
3620
3621         * buffer.C:
3622         * paragraph.h:
3623         * paragraph.C:
3624         * paragraph_funcs.C:
3625         * paragraph_pimpl.C:
3626         * sgml.C:
3627         * tabular.C:
3628         * text.C:
3629         * text3.C: remove META_NEWLINE in favour of an inset
3630
3631         * rowpainter.h:
3632         * rowpainter.C: remove paintNewline (done by inset)
3633
3634 2003-03-12  John Levon  <levon@movementarian.org>
3635
3636         * paragraph_pimpl.C: complain about bad getChar()s
3637         for a while at least
3638
3639 2003-03-12  John Levon  <levon@movementarian.org>
3640
3641         * buffer.h:
3642         * buffer.C: move paragraph read into a separate function,
3643         a little renaming to reflect that.
3644
3645         * bufferparams.h:
3646         * bufferparams.C: remove the author_ids map, not necessary now
3647
3648         * factory.h:
3649         * factory.C: moved Buffer::readInset to here
3650
3651         * paragraph_funcs.h:
3652         * paragraph_funcs.C: readParagraph free function moved from
3653         buffer.C
3654
3655         * tabular.C: name change
3656
3657 2003-03-12  John Levon  <levon@movementarian.org>
3658
3659         * buffer.C:
3660         * ParagraphParameters.C: move par params input to
3661         a read() method
3662
3663         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3664         behave like a normal read from the stream wrt reading
3665         a line vs. a \\token
3666
3667 2003-03-12  John Levon  <levon@movementarian.org>
3668
3669         * paragraph.C:
3670         * ParagraphParameters.h:
3671         * ParagraphParameters.C: move output code to a
3672         ::write() method
3673
3674 2003-03-12  John Levon  <levon@movementarian.org>
3675
3676         * BufferView.C (insertLyXFile):
3677         * buffer.h:
3678         * buffer.C:
3679         * tabular.C: use a parlist iterator for creating the
3680           document.
3681
3682 2003-03-12  John Levon  <levon@movementarian.org>
3683
3684         * buffer.C: make current_change static local not
3685           static file-scope
3686
3687 2003-03-12  John Levon  <levon@movementarian.org>
3688
3689         * buffer.C: fix insertStringAsLines for change tracking
3690
3691 2003-03-12  John Levon  <levon@movementarian.org>
3692
3693         * BufferView.C:
3694         * tabular.C:
3695         * buffer.h:
3696         * buffer.C:
3697         * bufferparams.h:
3698         * bufferparams.C: move author list into params. Rename some
3699           functions. Move the header reading into a separate token
3700           loop. Move the header token reading into BufferParams.
3701
3702 2003-03-12  John Levon  <levon@movementarian.org>
3703
3704         * changes.C: put debug inside lyxerr.debugging() checks
3705
3706 2003-03-11 André Pönitz <poenitz@gmx.net>
3707
3708         * factory.C: make it aware of InsetHFill
3709
3710 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3711
3712         * buffer.C (latexParagraphs): move function from here...
3713         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3714         args.
3715
3716 2003-03-10  Angus Leeming  <leeming@lyx.org>
3717
3718         * LyXAction.C (init): fix bug in poplating array with multiple entries
3719         with the same LFUN (spotted by JMarc).
3720
3721 2003-03-10  John Levon  <levon@movementarian.org>
3722
3723         * text.C:
3724         * text2.C: move getColumnNearX() near its
3725         only call site
3726
3727 2003-03-10  John Levon  <levon@movementarian.org>
3728
3729         * text.C: fix break before a minipage
3730
3731 2003-03-10  John Levon  <levon@movementarian.org>
3732
3733         * text.C: fix the last commit
3734
3735 2003-03-09  John Levon  <levon@movementarian.org>
3736
3737         * lyxtext.h:
3738         * text.C:
3739         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3740         bug 365 (don't break before insets unless needed). Don't
3741         return a value > last under any circumstances.
3742
3743 2003-03-09  Angus Leeming  <leeming@lyx.org>
3744
3745         * BufferView_pimpl.C (trackChanges, dispatch): call
3746         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3747
3748 2003-03-09  Angus Leeming  <leeming@lyx.org>
3749
3750         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3751         than Dialogs::showAboutlyx().
3752
3753 2003-03-09  Angus Leeming  <leeming@lyx.org>
3754
3755         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3756         than Dialogs::showTabularCreate().
3757
3758 2003-03-09  John Levon  <levon@movementarian.org>
3759
3760         * lyxtext.h:
3761         * text.C:
3762         * text2.C: 3rd arg to nextBreakPoint was always the same.
3763           Use references.
3764
3765 2003-03-08  John Levon  <levon@movementarian.org>
3766
3767         * lyxrow.C:
3768         * paragraph.C:
3769         * paragraph.h:
3770         * rowpainter.C:
3771         * text.C:
3772         * text2.C: Remove the "main" bit from the "main body"
3773           notion.
3774
3775 2003-03-08  John Levon  <levon@movementarian.org>
3776
3777         * text.C (leftMargin): The left margin of an empty
3778         manual label paragraph should not include the label width
3779         string length.
3780
3781         * text.C (prepareToPrint): don't attempt to measure hfills
3782         for empty manual label paragraphs - the answer should be 0
3783
3784 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * CutAndPaste.C: remove commented code and reindent.
3787
3788 2003-03-08  John Levon  <levon@movementarian.org>
3789
3790         * lyxfunc.h:
3791         * lyxfunc.C: move reloadBuffer()
3792
3793         * BufferView.h:
3794         * BufferView.C: to here
3795
3796         * lyxvc.C: add comment
3797
3798         * vc-backend.h:
3799         * vc-backend.C: call bv->reload() to avoid
3800           getStatus() check on MENURELOAD
3801
3802 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3803
3804         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3805         to an old format .dep file.
3806
3807 2003-03-07  Angus Leeming  <leeming@lyx.org>
3808
3809         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3810         when the LFUN_MOUSE_RELEASE should have been handled by
3811         inset->localDispatch.
3812
3813 2003-03-07  Angus Leeming  <leeming@lyx.org>
3814
3815         * BufferView_pimpl.C (dispatch):
3816         * LyXAction.C (init):
3817         * ToolbarDefaults.C (init):
3818         * commandtags.h:
3819         * lyxfunc.C (getStatus):
3820         remove LFUN_INSET_GRAPHICS.
3821
3822         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3823
3824 2003-03-07  Angus Leeming  <leeming@lyx.org>
3825
3826         * commandtags.h:
3827         * LyXAction.C (init):
3828         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3829
3830         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3831
3832         * commandtags.h:
3833         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3834
3835         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3836         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3837
3838 2003-03-07  Angus Leeming  <leeming@lyx.org>
3839
3840         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3841         remove "ert".
3842
3843 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * ParagraphList.C (front): new function
3846         (back): implement
3847
3848 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3851         and top_row_offset_. removed var first_y.
3852         * text.C (top_y):
3853         * text2.C (LyXText, removeRow):
3854         * text3.C:
3855         * BufferView_pimpl.C:
3856         use these methods instead of using first_y
3857
3858 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text2.C (pasteSelection): adjust for checkPastePossible
3861
3862         * CutAndPaste.C: remove Paragraph * buf and replace with
3863         ParagraphList paragraphs.
3864         (DeleteBuffer): delete
3865         (cutSelection): change the tc type to textclass_type
3866         (copySelection): change the tc type to textclass_type
3867         (copySelection): adjust for ParagraphList
3868         (pasteSelection): change the tc type to textclass_type
3869         (pasteSelection): adjust for Paragraphlist
3870         (nrOfParagraphs): simplify for ParagraphList
3871         (checkPastePossible): simplify for ParagraphList
3872         (checkPastePossible): remove unused arg
3873
3874         * ParagraphList.C (insert): handle the case where there are no
3875         paragraphs yet.
3876
3877         * CutAndPaste.h: make CutAndPaste a namespace.
3878
3879         * text3.C (dispatch): adjust
3880
3881         * text.C (breakParagraph): add a ParagraphList as arg
3882
3883         * paragraph_funcs.C (breakParagraph): change to take a
3884         BufferParams and a ParagraphList as args.
3885         (breakParagraphConservative): ditto
3886         (mergeParagraph): ditto
3887         (TeXDeeper): add a ParagraphList arg
3888         (TeXEnvironment): ditto
3889         (TeXOnePar): ditto
3890
3891         * buffer.C (readLyXformat2): adjust
3892         (insertStringAsLines): adjust
3893         (latexParagraphs): adjust
3894
3895         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3896         (cutSelection): adjust
3897         (pasteSelection): adjust
3898
3899         * BufferView_pimpl.C (insertInset): adjust
3900
3901 2003-03-05  Angus Leeming  <leeming@lyx.org>
3902
3903         * commandtags.h:
3904         * LyXAction.C (init):
3905         * BufferView_pimpl.C (dispatch):
3906         * lyxfunc.C (getStatus):
3907         remove LFUN_CHILD_INSERT.
3908
3909         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3910
3911 2003-03-05  Angus Leeming  <leeming@lyx.org>
3912
3913         * commandtags.h:
3914         * LyXAction.C (init):
3915         * src/factory.C (createInset):
3916         * lyxfunc.C (getStatus):
3917         * text3.C (dispatch):
3918         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3919
3920         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3921
3922 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * ParagraphList.C (insert): handle insert right before end()
3925         (erase): fix cases where it can be first or last paragraph.
3926
3927 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3930         Paragraph::next and Paragraph::previous
3931         (TeXOnePar): ditto
3932
3933         * text.C (breakParagraph): adjust
3934
3935         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3936         BufferParams& as arg.
3937         (breakParagraph): use ParagraphList::insert
3938         (breakParagraphConservative): take a Buffer* instead of a
3939         BufferParams& as arg.
3940         (breakParagraphConservative): use ParagraphList::insert.
3941
3942         * buffer.C (insertStringAsLines): un-const it
3943         (insertStringAsLines): adjust
3944
3945         * ParagraphList.C (insert): new function
3946
3947         * CutAndPaste.C (pasteSelection): adjust
3948
3949         * text.C (backspace): adjust
3950
3951         * tabular.C (SetMultiColumn): adjust
3952
3953         * CutAndPaste.C (cutSelection): adjust
3954         (pasteSelection): adjust
3955
3956         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3957         Buffer const * as arg
3958
3959         * ParagraphList.C (erase): new function
3960         * paragraph_funcs.C (mergeParagraph): use it
3961         (mergeParagraph): make it take a Buffer* instead of a
3962         BufferParams* as arg
3963
3964         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3965         as arg
3966         (breakParagraphConservative): ditto
3967
3968         * paragraph.h: remove the breakParagraph friend
3969
3970         * paragraph.C (eraseIntern): new function
3971         (setChange): new function
3972
3973         * paragraph_funcs.C (mergeParagraph): make it take a
3974         ParagraphList::iterator instead of a Paragraph *, adjust
3975         accordingly.
3976
3977         * paragraph.h: move an #endif so that the change tracking stuff
3978         also works in the NO_NEXT case.
3979
3980 2003-03-04  Angus Leeming  <leeming@lyx.org>
3981
3982         * commandtags.h:
3983         * LyXAction.C: new LFUN_INSET_MODIFY.
3984
3985         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3986         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3987
3988 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * several files: ws changes only
3991
3992         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3993         (TeXEnvironment): ditto
3994         (TeXDeeper): ditto
3995
3996         * buffer.C (makeLaTeXFile): adjust
3997         (latexParagraphs): make it take ParagraphList::iterator as args
3998
3999 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * buffer.C (latexParagraphs): adjust
4002
4003         * paragraph.C (TeXOnePar): move function...
4004         (optArgInset): move function...
4005         (TeXEnvironment): move function...
4006         * paragraph_pimpl.C (TeXDeeper): move function...
4007         * paragraph_funcs.C: ...here
4008
4009         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4010
4011 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * buffer.C (readInset): remove compability code for old Figure and
4014         InsetInfo insets
4015
4016 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * buffer.C: ws changes
4019         (readInset):
4020
4021         * BufferView_pimpl.C: ditto
4022         * author.C: ditto
4023         * buffer.h: ditto
4024         * bufferlist.h: ditto
4025         * changes.h: ditto
4026         * lyxfunc.C: ditto
4027
4028 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4029
4030         * converter.[Ch]: split into itself +
4031         * graph.[Ch]
4032         * format.[Ch]
4033         * Makefile.am: += graph.[Ch] + format.[Ch]
4034         * MenuBackend.C
4035         * buffer.C
4036         * exporter.C
4037         * importer.C
4038         * lyx_main.C
4039         * lyxfunc.C
4040         * lyxrc.C: added #include "format.h"
4041
4042 2003-02-27  Angus Leeming  <leeming@lyx.org>
4043
4044         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4045           a label.
4046
4047         * factory.C (createInset): add "label" to the factory.
4048
4049         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4050           string and do no more.
4051
4052 2003-02-27  Angus Leeming  <leeming@lyx.org>
4053
4054         * commandtags.h:
4055         * LyXAction.C (init):
4056         * factory.C (createInset):
4057         * BufferView_pimpl.C (dispatch):
4058           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4059
4060         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4061
4062         * lyxfunc.C (dispatch):
4063         * text3.C (dispatch): pass name to params2string.
4064
4065 2003-02-26  Angus Leeming  <leeming@lyx.org>
4066
4067         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4068           blocks together.
4069           Rearrange the ~includes. Strip out the unnecessary ones.
4070
4071         * factory.C (createInset): reformat.
4072           create new insets for the various LFUN_XYZ_APPLY lfuns.
4073
4074 2003-02-26  John Levon  <levon@movementarian.org>
4075
4076         * lyxrow.h:
4077         * lyxrow.C: add isParStart,isParEnd helpers
4078
4079         * paragraph.h: make isInserted/DeletedText take refs
4080
4081         * paragraph_funcs.h:
4082         * paragraph_funcs.C: remove #if 0'd code
4083
4084         * lyxtext.h:
4085         * text3.C:
4086         * text2.C:
4087         * text.C: use lyxrow helpers above.
4088           Move draw and paint routines to RowPainter.
4089           Make several methods use refs not pointers.
4090           Make backgroundColor() const.
4091           Add markChangeInDraw(), isInInset().
4092           Merge changeRegionCase into changeCase.
4093           Make workWidth() shouldn't-happen code into an Assert.
4094
4095         * rowpainter.h:
4096         * rowpainter.C: new class for painting a row.
4097
4098         * vspace.h:
4099         * vspace.C: make inPixels take a ref
4100
4101 2003-02-26  Angus Leeming  <leeming@lyx.org>
4102
4103         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4104         LFUN_REF_APPLY.
4105
4106 2003-02-25  John Levon  <levon@movementarian.org>
4107
4108         * ispell.C: give the forked command a more accurate name
4109
4110 2003-02-22  John Levon  <levon@movementarian.org>
4111
4112         * toc.h:
4113         * toc.C: make TocItem store an id not a Paragraph *
4114           (bug #913)
4115
4116 2003-02-21  Angus Leeming  <leeming@lyx.org>
4117
4118         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4119           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4120           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4121           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4122           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4123           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4124
4125         * BufferView_pimpl.C (dispatch):
4126         * LyXAction.C (init):
4127         * factory.C (createInset):
4128         * lyxfunc.C (getStatus, dispatch):
4129         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4130
4131 2003-02-21  Angus Leeming  <leeming@lyx.org>
4132
4133         * BufferView_pimpl.C (MenuInsertLyXFile):
4134         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4135         * lyxfunc.C (menuNew, open, doImport):
4136           no longer pass a LyXView & to fileDlg.
4137
4138 2003-02-21  Angus Leeming  <leeming@lyx.org>
4139
4140         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4141         * LyXAction.C: change, BIBKEY to BIBITEM.
4142         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4143         Change InsetBibKey to InsetBibitem.
4144         Change BIBKEY_CODE to BIBITEM_CODE.
4145         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4146         * factory.C: replace insetbib.h with insetbibitem.h.
4147         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4148         * paragraph.C: replace insetbib.h with insetbibitem.h.
4149         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4150         Change bibkey() to bibitem().
4151         * text.C: remove insetbib.h.
4152         * text2.C: replace insetbib.h with insetbibitem.h.
4153         change bibkey() to bibitem().
4154         * text3.C: remove insetbib.h.
4155         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4156
4157 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4158
4159         * lyxrc.C (output): enclose user email in quotes (in case there are
4160         several words)
4161
4162 2003-02-18  John Levon  <levon@movementarian.org>
4163
4164         * buffer.h: add std::
4165
4166 2003-02-17  John Levon  <levon@movementarian.org>
4167
4168         * SpellBase.h:
4169         * ispell.h:
4170         * ispell.C:
4171         * pspell.h:
4172         * pspell.C: reworking. Especially in ispell, a large
4173           number of clean ups and bug fixes.
4174
4175         * lyxfunc.C: fix revert to behave sensibly
4176
4177 2003-02-17 André Pönitz <poenitz@gmx.net>
4178
4179         * LyXAction.C:
4180         * commandtags.h: new LFUN_INSERT_BIBKEY
4181
4182         * layout.h:
4183         * lyxlayout.C:
4184         * buffer.C:
4185         * factory.C:
4186         * text.C:
4187         * text2.C:
4188         * text3.C:
4189         * paragraph.[Ch]:
4190         * paragraph_func.C: remove special bibkey handling
4191
4192 2003-02-17  John Levon  <levon@movementarian.org>
4193
4194         * text.C (Delete): fix case where delete at the end of
4195           the very first paragraph would not merge the pars
4196
4197 2003-02-17  John Levon  <levon@movementarian.org>
4198
4199         * lyxrow.C: fix lastPrintablePos()
4200
4201 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4202
4203         * bufferparams.C (writeLaTeX): add a std:here
4204
4205         * buffer.C: and remove a using directive there
4206
4207 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4208
4209         * buffer.C (makeLaTeXFile): move the code that generates the
4210           preamble...
4211
4212         * bufferparams.C (writeLaTeX): ... in this new method
4213
4214         * LaTeXFeatures.C (getEncodingSet): make const
4215           (getLanguages): make const
4216
4217         * MenuBackend.C (binding): returns the binding associated to this
4218           action
4219           (add): sets the status of each item by calling getStatus. Adds
4220           some intelligence.
4221           (read): add support for OptSubMenu
4222           (expand): remove extra separator at the end of expanded menu
4223
4224 2003-02-15  John Levon  <levon@movementarian.org>
4225
4226         * BufferView.C:
4227         * BufferView_pimpl.C:
4228         * bufferlist.h:
4229         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4230           inset code that had no actual effect. Remove unneeded status
4231           code.
4232
4233 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4234
4235         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4236           in preamble
4237
4238 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4239
4240         * text.C (drawLengthMarker): also draw an arrow marker for
4241           symbolic lengths (medskip...)
4242
4243 2003-02-14  John Levon  <levon@movementarian.org>
4244
4245         * tabular.h:
4246         * tabular.C: better method names
4247
4248 2003-02-14  John Levon  <levon@movementarian.org>
4249
4250         * BufferView_pimpl.C:
4251         * bufferlist.C:
4252         * buffer.C:
4253         * converter.C:
4254         * lyx_cb.C:
4255         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4256           it's a more accurate name. Remove some pointless uses.
4257
4258 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4259
4260         * text2.C (LyXText): change order of initilizers to shut off
4261           warnings
4262
4263 2003-02-14  John Levon  <levon@movementarian.org>
4264
4265         * buffer.C: use ParIterator for getParFromID()
4266
4267         * paragraph.h:
4268         * paragraph.C:
4269         * paragraph_pimpl.h:
4270         * paragraph_pimpl.C: remove unused getParFromID()
4271
4272 2003-02-14  John Levon  <levon@movementarian.org>
4273
4274         * buffer.C: remove some very old #if 0'd parse code
4275
4276 2003-02-13  John Levon  <levon@movementarian.org>
4277
4278         * text.h:
4279         * text.C:
4280         * text2.C: move hfillExpansion(), numberOfSeparators(),
4281           rowLast(), rowLastPrintable(), numberofHfills(),
4282           numberOfLabelHfills() ...
4283
4284         * lyxrow.h:
4285         * lyxrow.C: ... to member functions here.
4286
4287         * paragraph.h:
4288         * paragraph.C:
4289         * lyxtext.h:
4290         * text.C: remove LyXText::beginningOfMainBody(), and call
4291           p->beginningOfMainBody() directly. Move the check for
4292           LABEL_MANUAL into the latter.
4293
4294         * text.h:
4295         * text.C:
4296         * text2.C:
4297         * vspace.C:
4298         * BufferView.h:
4299         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4300
4301         * text.h:
4302         * text.C:
4303         * text2.C:
4304         * text3.C:
4305         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4306           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4307
4308 2003-02-13  John Levon  <levon@movementarian.org>
4309
4310         * CutAndPaste.C: remove debug
4311
4312 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4313
4314         * paragraph.C (asString): remove two unused variables
4315
4316         * lyxtextclass.C (readTitleType):
4317           (Read):
4318           (LyXTextClass): handle new members titletype_ and titlename_
4319
4320         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4321
4322 2003-02-09  John Levon  <levon@movementarian.org>
4323
4324         * buffer.h:
4325         * buffer.C: replace hand-coded list with a map for the dep clean
4326
4327 2003-02-08  John Levon  <levon@movementarian.org>
4328
4329         * LaTeX.C: consolidate code into showRunMessage() helper
4330
4331 2003-02-08  John Levon  <levon@movementarian.org>
4332
4333         * lyxfind.C:
4334         * lyxtext.h:
4335         * text2.C:
4336         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4337           and pass the size in explicitly
4338
4339         * BufferView_pimpl.h:
4340         * BufferView_pimpl.C:
4341         * BufferView.h:
4342         * BufferView.C: add getCurrentChange()
4343
4344         * BufferView_pimpl.h:
4345         * BufferView_pimpl.C: handle change lfuns
4346
4347         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4348           for changes. Mark pasted paragraphs as new.
4349
4350         * support/lyxtime.h:
4351         * support/lyxtime.C:
4352         * DepTable.C: abstract time_t as lyx::time_type
4353
4354         * LColor.h:
4355         * LColor.C: add colours for new text, deleted text, changebars
4356
4357         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4358           package use "usenames" option.
4359
4360         * commandtags.h:
4361         * lyxfunc.C:
4362         * LyXAction.C: add change lfuns
4363
4364         * Makefile.am:
4365         * author.h:
4366         * author.C: author handling
4367
4368         * buffer.h:
4369         * buffer.C: add a per-buffer author list, with first entry as
4370           current author. Handle new .lyx tokens for change tracking. Output
4371           author list to .lyx file. Output dvipost stuff to .tex preamble.
4372           Bump lyx format to 222.
4373
4374         * bufferlist.h:
4375         * bufferlist.C: add setCurrentAuthor() to reset current author details
4376           in all buffers.
4377
4378         * bufferparams.h:
4379         * bufferparams.C: add param for tracking
4380
4381         * bufferview_funcs.C: output change info in minibuffer
4382
4383         * Makefile.am:
4384         * changes.h:
4385         * changes.C: add change-tracking structure
4386
4387         * debug.h:
4388         * debug.C: add CHANGES debug flag
4389
4390         * lyxfind.h:
4391         * lyxfind.C: add code for finding the next change piece
4392
4393         * lyxrc.h:
4394         * lyxrc.C: add user_name and user_email
4395
4396         * lyxrow.h:
4397         * lyxrow.C: add a metric for the top of the text line
4398
4399         * lyxtext.h:
4400         * text.C: implement accept/rejectChange()
4401
4402         * lyxtext.h:
4403         * text.C: paint changebars. Paint new/deleted text in the chosen
4404         colours. Strike through deleted text.
4405
4406         * paragraph.h:
4407         * paragraph.C:
4408         * paragraph_pimpl.h:
4409         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4410           in the current change to the insert functions. Rework erase to
4411           mark text as deleted, adding an eraseIntern() and a range-based
4412           erase(). Implement per-paragraph change lookup and
4413           accept/reject.
4414
4415         * paragraph_funcs.C: Fixup paste for change tracking.
4416
4417         * tabular.C: mark added row/columns as new.
4418
4419         * text.C: fix rowLast() to never return -1. Don't allow
4420           spellchecking of deleted text. Track transpose changes. Don't
4421           allow paragraph break or merge where appropriate.
4422
4423         * text2.C: leave cursor at end of selection after a cut.
4424
4425 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4426
4427         * text.C (getLengthMarkerHeight):
4428         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4429         visible on screen too.
4430
4431 2003-02-07  John Levon  <levon@movementarian.org>
4432
4433         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4434
4435 2003-02-05  Angus Leeming  <leeming@lyx.org>
4436
4437         * lyxserver.C (read_ready): revert my patch of 11 September last year
4438         as it sends PC cpu through the roof. Presumably this means that
4439         the lyxserver will no longer run on an Alpha...
4440
4441 2003-01-30  Angus Leeming  <leeming@lyx.org>
4442
4443         * factory.C (createInset): create an InsetCommandParam of type "index"
4444         and use it to 'do the right thing'.
4445
4446         * text2.C (getStringToIndex): ensure that cursor position is always
4447         reset to the reset_cursor position.
4448
4449 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4450
4451         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4452         disabled.
4453
4454 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4455
4456         * bufferview.C:
4457         * lyxcb.C:
4458         * lyxfunc.C: Output messages with identical spelling, punctuation,
4459         and spaces
4460
4461 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4462
4463         * MenuBackend.C (expandFormats): List only viewable export formats
4464         in "View" menu
4465
4466         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4467         message
4468
4469         * lyxfunc.C (getStatus): Make sure that formats other than
4470         "fax" can also be disabled
4471
4472 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4473
4474         * text3.C (dispatch): put the lfuns that insert insets in 3
4475         groups, and call doInsertInset with appropriate arguments.
4476         (doInsertInset): new function, that creates an inset and inserts
4477         it according to some boolean parameters.
4478
4479 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * buffer.C (readFile): remember to pass on 'par' when calling
4482         readFile recursively.
4483
4484 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4485
4486         * MenuBackend.C (expandFormats): add "..." to import formats.
4487
4488 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4489
4490         * paragraph.C (asString): Remove XForms RTL hacks.
4491
4492 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4493         * buffer.C: fix typo
4494
4495 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4496
4497         * Makefile.am (LIBS): delete var
4498         (lyx_LDADD): add @LIBS@ here instead.
4499
4500 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4501
4502         * Clarify the meaning of "wheel mouse jump"
4503
4504 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4505
4506         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4507         tabular in a float
4508
4509 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4510
4511         * importer.C (Loaders): do not preallocate 3 elements in the
4512         vector, since one ends up with 6 elements otherwise
4513
4514 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4515
4516         * DepTable.C (write): write the file name as last element of the
4517         .dep file (because it may contain spaces)
4518         (read): read info in the right order
4519
4520 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4521
4522         * paragraph_pimpl.C (simpleTeXBlanks):
4523         (simpleTeXSpecialChars):
4524         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4525
4526         * tabular.C (latex): add some missing case statements. Reindent.
4527
4528         * MenuBackend.C (expandToc): remove unused variable.
4529
4530 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4531
4532         * LColor.C:
4533         * LaTeX.C:
4534         * LyXAction.C:
4535         * MenuBackend.C:
4536         * buffer.C:
4537         * exporter.C:
4538         * lyxfunc.C:
4539         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4540         and the like.
4541
4542 2003-01-05  John Levon  <levon@movementarian.org>
4543
4544         * BufferView.h:
4545         * BufferView.C: add getEncoding()
4546
4547         * kbsequence.h:
4548         * kbsequence.C: do not store last keypress
4549
4550         * lyxfunc.h:
4551         * lyxfunc.C: store last keypress here instead. Pass encoding
4552           to getISOEncoded()
4553
4554 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4555
4556         * lyx_main.C (init): remove annoying error message when following
4557         symbolic links (bug #780)
4558
4559 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4560
4561         * text.C (insertChar):
4562         * lyxrc.C (getDescription): remove extra spaces
4563
4564 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4565
4566         * lyxrc.C (getDescription): remove extra spaces
4567
4568 2002-12-20  John Levon  <levon@movementarian.org>
4569
4570         * text3.C: hack fix for page up/down across tall rows
4571
4572 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4573
4574         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4575         not been invoked
4576
4577 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4578
4579         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4580         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4581         thesaurus is not compiled in
4582
4583 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4584
4585         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4586
4587 2002-12-16  Angus Leeming  <leeming@lyx.org>
4588
4589         * lyxrc.[Ch]:
4590         * lyx_main.C (init): remove override_x_deadkeys stuff.
4591
4592 2002-12-12  John Levon  <levon@movementarian.org>
4593
4594         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4595           insert. Only remove shift modifier under strict
4596           circumstances.
4597
4598 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * MenuBackend.C (expandToc): fix crash.
4601
4602 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * MenuBackend.C (expandToc): gettext on float names.
4605
4606 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4607
4608         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4609         implement bool empty() [bug 490]
4610
4611 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4614
4615 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * several files: ws changes
4618
4619 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * text2.C (setCounter): clean up a bit, use boost.format.
4622         (updateCounters): initialize par upon declaration.
4623
4624         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4625         if the layout exists. We do not just store the layout any more.
4626         (SwitchLayoutsBetweenClasses): use boost.format
4627
4628 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4629
4630         * converter.C (convert): if from and to files are the same, use a
4631         temporary files as intermediary
4632
4633 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4634
4635         * commandtags.h:
4636         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4637
4638 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4639
4640         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4641
4642 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * tabular.C (asciiPrintCell): use string(size, char) instead of
4645         explicit loop.
4646
4647         * sgml.C (openTag): fix order of arguments to string constructor
4648         (closeTag): ditto
4649
4650         * lyxfunc.C (dispatch): use boost.format
4651
4652         * lots of files: change "c" -> 'c'
4653
4654 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4655
4656         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4657
4658 2002-11-25  Angus Leeming  <leeming@lyx.org>
4659
4660         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4661
4662         * lyx_main.C (init): compile fix.
4663
4664 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * lyx_cb.C (start): boost.formatify
4667         do not include <iostream>
4668
4669         * lengthcommon.C: ws only
4670
4671         * boost-inst.C,BoostFormat.h: add more explict instantations
4672
4673 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * lots of files: handle USE_BOOST_FORMAT
4676
4677 2002-11-21  John Levon  <levon@movementarian.org>
4678
4679         * pspell.C: fix compile
4680
4681 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4682
4683         * lyxfunc.C (dispatch): use boost::format
4684         (open): ditto
4685         (doImport): ditto
4686
4687         * lyxfont.C (stateText): use boost::format
4688
4689         * lyx_main.C (LyX): use boost::format
4690         (init): ditto
4691         (queryUserLyXDir): ditto
4692         (readRcFile): ditto
4693         (parse_dbg): ditto
4694         (typedef boost::function): use the recommened syntax.
4695
4696         * importer.C (Import): use boost::format
4697
4698         * debug.C (showLevel): use boost::format
4699
4700         * converter.C (view): use boost::format
4701         (convert): ditto
4702         (move): ditto
4703         (scanLog): ditto
4704
4705         * bufferview_funcs.C (currentState): use boost::format
4706
4707         * bufferlist.C (emergencyWrite): use boost::format
4708
4709         * buffer.C (readLyXformat2): use boost::format
4710         (parseSingleLyXformat2Token): ditto
4711
4712         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4713
4714         * LaTeX.C (run): use boost::format
4715
4716         * Chktex.C (scanLogFile): use boost::format
4717
4718         * BufferView_pimpl.C (savePosition): use boost::format
4719         (restorePosition): ditto
4720         (MenuInsertLyXFile): ditto
4721
4722         * BoostFormat.h: help file for explicit instation.
4723
4724 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4725
4726         * tabular.C (latex): Support for block alignment in fixed width
4727         columns.
4728
4729 2002-11-17  John Levon  <levon@movementarian.org>
4730
4731         * BufferView_pimpl.C:
4732         * lyx_cb.C:
4733         * lyxfunc.C: split filedialog into open/save
4734
4735 2002-11-08  Juergen Vigna  <jug@sad.it>
4736
4737         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4738         by my last patch (hopefully).
4739
4740 2002-11-08  John Levon  <levon@movementarian.org>
4741
4742         * iterators.h:
4743         * iterators.C:
4744         * buffer.h:
4745         * buffer.C:
4746         * paragraph.h:
4747         * paragraph.C:
4748         * toc.h:
4749         * toc.C: ParConstIterator, and use it (from Lars)
4750
4751 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4752
4753         * lyxtextclass.[Ch]: revise and add doxygen comments
4754
4755 2002-11-07  John Levon  <levon@movementarian.org>
4756
4757         * text.C: fix progress value for spellchecker
4758
4759         * toc.C: fix navigate menu for insetwrap inside minipage
4760
4761         * paragraph_funcs.C: added FIXME for suspect code
4762
4763 2002-11-07  John Levon  <levon@movementarian.org>
4764
4765         * BufferView_pimpl.C: fix redrawing of insets
4766           on buffer switch
4767
4768 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4769
4770         * text2.C (updateCounters): fix bug 668
4771
4772 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4773
4774         * text3.C (dispatch): Do not make the buffer dirty when moving the
4775         cursor.
4776
4777 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * vc-backend.C: STRCONV
4780         (scanMaster): ditto
4781
4782         * text2.C (setCounter): STRCONV
4783
4784         * paragraph.C (asString): STRCONV
4785
4786         * lyxlength.C (asString): STRCONV
4787         (asLatexString): ditto
4788
4789         * lyxgluelength.C (asString): STRCONV
4790         (asLatexString): ditto
4791
4792         * lyxfunc.C (dispatch): STRCONV
4793         (open): ditto
4794
4795         * lyxfont.C (stateText): STRCONV
4796
4797         * importer.C (Import): STRCONV
4798
4799         * counters.C (labelItem): STRCONV
4800         (numberLabel): ditto
4801         (numberLabel): remove unused ostringstream o
4802
4803         * chset.C: STRCONV
4804         (loadFile): ditto
4805
4806         * bufferview_funcs.C (currentState): STRCONV
4807
4808         * buffer.C (readFile): STRCONV
4809         (asciiParagraph): ditto
4810         (makeLaTeXFile): ditto
4811
4812         * Spacing.C (writeEnvirBegin): STRCONV
4813
4814         * LaTeXFeatures.C (getLanguages): STRCONV
4815         (getPackages): ditto
4816         (getMacros): ditto
4817         (getBabelOptions): ditto
4818         (getTClassPreamble): ditto
4819         (getLyXSGMLEntities): ditto
4820         (getIncludedFiles): ditto
4821
4822         * LaTeX.C: STRCONV
4823         (run): ditto
4824         (scanAuxFile): ditto
4825         (deplog): ditto
4826
4827         * LString.h: add the STRCONV macros
4828
4829         * BufferView_pimpl.C (savePosition): STRCONV
4830         (restorePosition): ditto
4831         (MenuInsertLyXFile): ditto
4832
4833         * vc-backend.C (scanMaster): change from submatch[...] to
4834         submatch.str(...)
4835
4836         * funcrequest.C: include config.h
4837
4838         * factory.C: include config.h
4839
4840         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4841
4842         * box.C: include config.h
4843
4844         * LaTeX.C (scanAuxFile): change from submatch[...] to
4845         submatch.str(...)
4846         (deplog): ditto
4847
4848 2002-10-25  Angus Leeming  <leeming@lyx.org>
4849
4850         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4851
4852         * ispell.[Ch] (setError): new method.
4853         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4854         Use setError() insetead of goto END.
4855
4856         * lyx_cb.C (AutoSave): move out child process into new class
4857         AutoSaveBuffer.
4858
4859 2002-10-30  John Levon  <levon@movementarian.org>
4860
4861         * text3.C: make start appendix undoable
4862
4863 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4864
4865         * lyxlength.C (inPixels): Fix returned value.
4866
4867         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4868         environment.
4869
4870 2002-10-24  Angus Leeming  <leeming@lyx.org>
4871
4872         * lyxgluelength.h: no need to forward declare BufferParams
4873         or BufferView, so don't.
4874
4875 2002-10-21  John Levon  <levon@movementarian.org>
4876
4877         * BufferView.C: menuUndo ->undo, redo
4878
4879         * BufferView.h: document, remove dead, make some methods private
4880
4881         * paragraph_funcs.h:
4882         * paragraph_funcs.C:
4883         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4884
4885         * buffer.h:
4886         * buffer.C:
4887         * sgml.h:
4888         * sgml.C: move sgml open/close tag into sgml.C
4889
4890         * bufferview_funcs.h: unused prototype
4891
4892         * lyxfunc.h:
4893         * lyxfunc.C: remove unused
4894
4895         * lyxtext.h:
4896         * text.C: remove unused
4897
4898 2002-10-21  John Levon  <levon@movementarian.org>
4899
4900         * BufferView.h:
4901         * BufferView.C:
4902         * BufferView_pimpl.h:
4903         * BufferView_pimpl.C: fix mouse wheel handling based on
4904           patch from Darren Freeman
4905
4906 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4907
4908         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4909
4910 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4911
4912         * lyxlength.C (inPixels): Fix hanfling of negative length.
4913         Fix LyXLength::MU case.
4914
4915 2002-10-16  John Levon  <levon@movementarian.org>
4916
4917         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4918
4919 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4920
4921         * converter.C (view): add support for $$i (file name) and $$p
4922         (file path) for the viewer command. If $$i is not specified, then
4923         it is appended to the command (for compatibility with old syntax)
4924
4925 2002-10-14  Juergen Vigna  <jug@sad.it>
4926
4927         * undo_funcs.C (textHandleUndo): alter the order in which the
4928         new undopar is added to the LyXText, as we have to set first
4929         the right prev/next and then add it as otherwise the rebuild of
4930         LyXText is not correct. Also reset the cursor to the right paragraph,
4931         with this IMO we could remove the hack in "redoParagraphs()".
4932
4933 2002-10-09  Angus Leeming  <leeming@lyx.org>
4934
4935         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4936         to turn off an optimisation if a new inset is to be inserted.
4937
4938 2002-10-11 André Pönitz <poenitz@gmx.net>
4939
4940         * lyxtext.h: make some functions public to allow access
4941         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4942
4943 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4944
4945         * text3.C (dispatch): when changing layout, avoid an infinite loop
4946         [bug #652]
4947
4948 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4949
4950         * lyxrc.C (read): treat a viewer or converter command of "none" as
4951         if it were empty.
4952
4953         * MenuBackend.C (expandFormats): for an update, also allow the
4954         formats that are not viewable
4955
4956         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4957         script if it is newer than the lyxrc.defaults in user directory
4958
4959 2002-10-07 André Pönitz <poenitz@gmx.net>
4960
4961         * text.C: Vitaly Lipatov's small i18n fix
4962
4963 2002-09-25  Angus Leeming  <leeming@lyx.org>
4964
4965         * ispell.h: doxygen fix.
4966
4967 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4968
4969         * buffer.h (readFile): Add a new argument to the method, to allow
4970         reading of old-format templates.
4971
4972 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4973
4974         * toc.C (getTocList): Get TOC from InsetWrap.
4975
4976 2002-09-16  John Levon  <levon@movementarian.org>
4977
4978         * lyxfunc.C: check tabular for cut/copy too
4979
4980 2002-09-12  John Levon  <levon@movementarian.org>
4981
4982         * LyXAction.C: tidy
4983
4984         * factory.h:
4985         * factory.C: add header
4986
4987         * paragraph_funcs.h:
4988         * paragraph_funcs.C: cleanup
4989
4990 2002-09-11  John Levon  <levon@movementarian.org>
4991
4992         * PrinterParams.h: odd/even default to true
4993
4994 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4995
4996         * PrinterParams.h: update printer parameters for new xforms dialog
4997
4998 2002-09-11  Angus Leeming  <leeming@lyx.org>
4999
5000         * lyxserver.C (read_ready): re-write to make it more transparent
5001         and to make it work in coherent fashion under Tru64 Unix.
5002
5003 2002-09-11  André Pönitz <poenitz@gmx.net>
5004
5005         * commandtags.h:
5006         * LyXAction.C:
5007         * text3.C: implement LFUN_WORDSEL
5008
5009 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5012         make floatlist_ a boost::shared_ptr<FloatList>
5013
5014         * lyxtextclass.C: include FloatList.h
5015         (LyXTextClass): initialize floatlist_
5016         (TextClassTags): add TC_NOFLOAT
5017         (Read): match "nofloat" to TC_NOFLOAT and use it.
5018         (readFloat): modify call to floatlist_
5019         (floats): ditto
5020         (floats): ditto
5021
5022         * FloatList.[Ch] (FloatList): remove commented out float
5023         initialization.
5024         (erase): new function
5025
5026 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5027
5028         * MenuBackend.C (expandToc): fix crash when there is no document
5029         open
5030
5031 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5032
5033         * many files: Add insetwrap.
5034
5035 2002-09-09  John Levon  <levon@movementarian.org>
5036
5037         * text2.C: remove confusing and awkward depth wraparound
5038
5039 2002-09-09  John Levon  <levon@movementarian.org>
5040
5041         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5042
5043         * buffer.h:
5044         * buffer.C: remove getIncludeonlyList()
5045
5046         * paragraph.C:
5047         * lyxfunc.C: remove headers
5048
5049 2002-09-09  Juergen Vigna  <jug@sad.it>
5050
5051         * text.C (getColumnNearX): fix form Michael this is most
5052         probably a cut&paste bug.
5053
5054 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5057
5058         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5059         references, ws changes.
5060
5061         * text2.C (init): update counters after init
5062         (insertParagraph): no need to set counter on idividual paragraphs.
5063         (setCounter): access the counters object in the textclass object
5064         on in the buffer object.
5065         (updateCounters): ditto
5066
5067         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5068         shared_ptr<Counters> to avoid loading counters.h in all
5069         compilation units.
5070         (LyXTextClass): initialize ctrs_
5071         (TextClassTags): add TC_COUNTER, and ...
5072         (Read): use it here.
5073         (CounterTags): new tags
5074         (readCounter): new function
5075         (counters): new funtion
5076         (defaultLayoutName): return a const reference
5077
5078         * counters.C (Counters): remove contructor
5079         (newCounter): remove a couple of unneeded statements.
5080         (newCounter): simplify a bit.
5081         (numberLabel): some small formatting changes.
5082
5083         * buffer.[Ch]: remove all traces of counters, move the Counters
5084         object to the LyXTextClass.
5085
5086 2002-09-06  Alain Castera  <castera@in2p3.fr>
5087
5088         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5089         package to set the horizontal alignment on fixed width columns.
5090
5091         * lyx_sty.C:
5092         * lyx_sty.h: added tabularnewline macro def.
5093
5094         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5095
5096 2002-09-06  John Levon  <levon@movementarian.org>
5097
5098         * LyXAction.C: tooltips for sub/superscript
5099
5100         * MenuBackend.C: a bit more verbose
5101
5102         * lyxfunc.C: tiny clean
5103
5104         * undo_funcs.C: document undo_frozen
5105
5106 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * counters.C (Counters): add missing algorithm counter.
5109
5110         * text2.C (setCounter): lookup the counter with layouts latexname
5111         instead of by section number.
5112         (setCounter): use a hackish way to lookup the correct enum
5113         counter.
5114         a float name->type change
5115         reset enum couners with counter name directly instead of depth value.
5116
5117         * counters.C (Counters): remove the push_backs, change to use the
5118         float type not the float name.
5119         (labelItem): remove unused string, float name->type change
5120
5121         * counters.h: don't include vector, loose the enums and sects vectors
5122
5123 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5126         (Read): add float->TC_FLOAT to textclassTags
5127         (Read): and handle it in the switch
5128         (readFloat): new function
5129
5130         * FloatList.C (FloatList): comment out the hardcoded float
5131         definitions.
5132
5133         * lyxlayout.h: ws change.
5134
5135 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5136
5137         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5138
5139 2002-09-03  Angus Leeming  <leeming@lyx.org>
5140
5141         * BufferView_pimpl.h: qualified name is not allowed in member
5142         declaration: WorkArea & Pimpl::workarea() const;
5143
5144         * factory.C: added using std::endl directive.
5145
5146         * text3.C: added using std::find and std::vector directives.
5147
5148 2002-08-29  André Pönitz <poenitz@gmx.net>
5149
5150         * lyxtext.h:
5151         * text2.C: remove unused member number_of_rows
5152
5153         * Makefile.am:
5154         * BufferView2.C: remove file, move contents to...
5155         * BufferView.C: ... here
5156
5157         * BufferView_pimpl.C:
5158         * factory.C: move more inset creation to factory
5159
5160         * vspace.C: avoid direct usage of LyXText, ws changes
5161
5162         * BufferView.[Ch]:
5163                 don't provide direct access to WorkArea, use two simple
5164                 acessors haveSelction() and workHeight() instead
5165
5166
5167 2002-08-29  John Levon  <levon@movementarian.org>
5168
5169         * BufferView_pimpl.C (dispatch): do not continue when
5170           no buffer
5171
5172 2002-08-28  André Pönitz <poenitz@gmx.net>
5173
5174         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5175
5176         * BufferView.h:
5177         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5178
5179 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5180
5181         * buffer.C: increment LYX_FORMAT to 221
5182
5183         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5184         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5185
5186         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5187
5188         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5189
5190 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5191
5192         * factory.C (createInset): use LyXTextClass::floats
5193
5194         * MenuBackend.C (expandFloatListInsert):
5195         (expandFloatInsert):
5196         (expandToc):
5197
5198         * text2.C (setCounter):
5199
5200         * LaTeXFeatures.C (useFloat):
5201         (getFloatDefinitions):
5202
5203         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5204
5205         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5206         floatlist_, with accessor floats().
5207
5208         * FloatList.h: remove global FloatList
5209
5210 2002-08-26  André Pönitz <poenitz@gmx.net>
5211
5212         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5213
5214         * BufferView.h:
5215         * BufferView2.C:
5216         * BufferView_pimpl.C:
5217         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5218
5219 2002-08-25  John Levon  <levon@movementarian.org>
5220
5221         * LyXAction.C: fix margin note description
5222
5223 2002-08-24  John Levon  <levon@movementarian.org>
5224
5225         * buffer.C:
5226         * bufferlist.C:
5227         * bufferview_funcs.C:
5228         * lyxfont.C:
5229         * undo_funcs.C: cleanups
5230
5231         * lyxfunc.C: disable CUT/COPY when no selection
5232
5233 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5234
5235         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5236         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5237
5238         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5239         Add backward compatibility to "mono", "gray" and "no".
5240
5241 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5242
5243         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5244         (and file_format >= 200).
5245
5246 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5247
5248         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5249
5250 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5251
5252         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5253
5254 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5255
5256         * BufferView_pimpl.C:
5257         * LyXAction.C:
5258         * buffer.C:
5259         * commandtags.h:
5260         * lyxfunc.C:
5261         * paragraph.[Ch]:
5262         * text2.C:
5263         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5264         inset and code to make it  work with the paragraph code. The inset
5265         can be anywhere in the paragraph, but will only do the expected
5266         thing in LaTeX if the layout file contains the parameter line
5267                         OptionalArgs    1
5268         (or more generally, a nonzero value) for that layout.
5269
5270 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * paragraph.h: remove the declaration of undefined counters class
5273         function.
5274
5275 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5276
5277         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5278         Dr. Richard Hawkins.
5279
5280 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5281
5282         * paragraph_funcs.h: remove some unneeded includes
5283
5284         * text.C (backspace): pasteParagraph now in global scipe
5285
5286         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5287         (pasteSelection): ditto
5288
5289         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5290         * paragraph_funcs.C (pasteParagraph): ... here
5291
5292 2002-08-20  André Pönitz <poenitz@gmx.net>
5293
5294         * commandtags.h: new LFUNs for swapping/copying table row/colums
5295
5296         * LyXAction.C:
5297         * lyxfunc.C: support for new lfuns
5298
5299 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * tabular.C:
5302         * buffer.[Ch]: remove NO_COMPABILITY stuff
5303
5304 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * boost.C (throw_exception): new file, with helper function for
5307         boost compiled without exceptions.
5308
5309         * paragraph.h:
5310         * lyxlength.C:
5311         * buffer.C:
5312         * ParameterStruct.h:
5313         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5314
5315         * bufferlist.C (emergencyWriteAll): use boost bind
5316
5317         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5318
5319         * text.C: include paragraph_funcs.h
5320         (breakParagraph): breakParagraph is now in global scope
5321
5322         * paragraph_funcs.[Ch]: new files
5323
5324         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5325         global scope
5326
5327         * buffer.C: include paragraph_funcs.h
5328         (insertStringAsLines): breakParagraph is now in global scope
5329
5330         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5331         paragraph_funcs.C
5332
5333         * CutAndPaste.C: include paragraph_funcs.h
5334         (cutSelection): breakParagraphConservative is now in global scope
5335         (pasteSelection): ditto
5336
5337         * buffer.h: declare oprator== and operator!= for
5338         Buffer::inset_iterator
5339
5340         * bufferlist.C (emergencyWrite): don't use fmt(...)
5341
5342         * text3.C: add using std::endl
5343
5344         * BufferView.C (moveCursorUpdate): remove default arg
5345
5346 2002-08-20  André Pönitz <poenitz@gmx.net>
5347
5348         * buffer.[Ch]: move inline functions to .C
5349
5350         * BufferView2.C:
5351         * BufferView_pimpl.C:
5352         * text.C:
5353         * buffer.[Ch]: use improved inset_iterator
5354
5355         * buffer.C:
5356         * paragraph.[Ch]: write one paragraph at a time
5357
5358 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5359
5360         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5361         style if style is not specified.
5362
5363 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5364
5365         * text2.C (setCounter): when searching for right label for a
5366         caption, make sure to recurse to parent insets (so that a caption
5367         in a minipage in a figure float works) (bug #568)
5368
5369 2002-08-20  André Pönitz <poenitz@gmx.net>
5370
5371         * text3.C: new file for LyXText::dispatch() and helpers
5372
5373         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5374
5375         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5376
5377 2002-08-19  André Pönitz <poenitz@gmx.net>
5378
5379         * lyxtext.h:
5380         * text.C: new LyXText::dispatch()
5381
5382         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5383
5384 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5385
5386         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5387
5388         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5389         Hebrew text.
5390
5391 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5392
5393         * Makefile.am: use $(variables) instead of @substitutions@
5394
5395 2002-08-15  André Pönitz <poenitz@gmx.net>
5396
5397         * lyxfunc.C:
5398         * BufferView_pimpl.C: streamlining mathed <-> outer world
5399         interaction
5400
5401         * commandtags.h:
5402         * LyXAction.C: remove unused LFUN_MATH
5403
5404 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5407
5408 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * paragraph.C (Paragraph): reformat a bit
5411         (cutIntoMinibuffer): use builtin InsetList function instad of
5412         doing it manually.
5413         (getInset): ditto
5414
5415         * buffer.C: include boost/bind.hpp, add using std::for_each
5416         (writeFileAscii): use ParagraphList iterators
5417         (validate): use for_each for validate traversal of paragraphs
5418         (getBibkeyList): use ParagraphList iterators
5419         (resizeInsets): use for_each to resizeInsetsLyXText for all
5420         paragraphs.
5421         (getParFromID): use ParagraphList iterators
5422
5423         * BufferView2.C (lockInset): use paragraph list and iterators
5424
5425 2002-08-14  John Levon  <levon@movementarian.org>
5426
5427         * lyxserver.C: remove spurious xforms include
5428
5429 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5430
5431         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5432
5433 2002-08-13  André Pönitz <poenitz@gmx.net>
5434
5435         * LyXAction.[Ch]:
5436         * lyxfunc.C: further cleaning
5437
5438 2002-08-13  André Pönitz <poenitz@gmx.net>
5439
5440         * funcrequest.h: new constructor
5441
5442         * funcrequest.C: move stuff here from .h
5443
5444         * Makefile.am:
5445         * BufferView_pimpl.C:
5446         * LyXAction.C:
5447         * toc.C:
5448         * lyxfunc.C: subsequent changes
5449
5450         * lyxfunc.h: new view() member function
5451
5452         * lyxfunc.C: subsequent changes
5453
5454 2002-08-13  Angus Leeming  <leeming@lyx.org>
5455
5456         * BufferView2.C:
5457         * BufferView_pimpl.C:
5458         * buffer.C:
5459         * converter.C:
5460         * importer.C:
5461         * lyxfunc.C:
5462         * lyxvc.C:
5463         * toc.C:
5464         * vc-backend.C:
5465         changes due to the changed LyXView interface that now returns references
5466         to member variables not pointers.
5467
5468 2002-08-13  Angus Leeming  <leeming@lyx.org>
5469
5470         * WordLangTuple (word, lang_code): return references to strings,
5471         not strings.
5472
5473         * BufferView.h:
5474         * SpellBase.h:
5475         * lyxtext.h: forward-declare WordLangTuple.
5476
5477         * BufferView2.C:
5478         * ispell.C:
5479         * pspell.C:
5480         * text.C: #include "WordLangTuple.h".
5481
5482         * lyxtext.h:
5483         * text.C: (selectNextWordToSpellcheck): constify return type.
5484
5485 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5486
5487         * buffer.C:
5488         * buffer.h:
5489         * lyxtext.h:
5490         * paragraph.C:
5491         * paragraph_pimpl.h:
5492         * text.C:
5493         * text2.C:
5494         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5495         suggested by Angus.
5496         Made updateCounter always count from start of buffer, and removed
5497         second argument (par).
5498         Reverted floats number display to '#'. Perhaps I'll try again when the
5499         code base is sanitized a bit.
5500
5501 2002-08-12  Angus Leeming  <leeming@lyx.org>
5502
5503         * buffer.[Ch] (getLabelList): constify.
5504
5505 2002-08-07  André Pönitz <poenitz@gmx.net>
5506
5507         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5508
5509         * funcrequest.h: extension to keep mouse (x,y) position
5510
5511 2002-08-12  Juergen Vigna  <jug@sad.it>
5512
5513         * BufferView2.C (insertErrors): forbid undo when inserting error
5514         insets.
5515
5516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5517
5518 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * ParagraphList.[Ch]: new files
5521
5522         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5523
5524         * BufferView2.C (lockInset): ParagraphList changes
5525         * toc.C: ditto
5526         * text2.C: ditto
5527         * bufferlist.C: ditto
5528         * buffer.h: ditto
5529         * buffer.C: ditto
5530
5531 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5534         unused class variable counter_,
5535
5536         * paragraph.[Ch] (getFirstCounter): delete unused function
5537
5538         * counters.C: include LAssert.h
5539         (reset): add a new function with no arg, change other version to
5540         not have def. arg and to not allow empty arg.
5541
5542         * text2.C (setCounter): remove empty arg from call to Counters::reset
5543
5544 2002-08-11  John Levon  <levon@movementarian.org>
5545
5546         * Makefile.am: add WordLangTuple.h
5547
5548 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5551         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5552
5553         * insets/insettext.C: InsetList changes
5554
5555         * graphics/GraphicsSupport.C (operator()): InsetList changes
5556
5557         * toc.C (getTocList): InsetList changes
5558
5559         * paragraph_pimpl.[Ch]: InsetList changes
5560
5561         * paragraph.[Ch]: InsetList changes
5562
5563         * buffer.C (inset_iterator): InsetList changes
5564         (setParagraph): ditto
5565         * buffer.h (inset_iterator): ditto
5566         * iterators.C (operator++): ditto
5567         * iterators.h: ditto
5568
5569         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5570
5571         * InsetList.[Ch]: new files, most InsetList handling moved out of
5572         paragraph.C.
5573
5574         * BufferView2.C (removeAutoInsets): InsetList changes
5575         (lockInset): ditto
5576         (ChangeInsets): ditto
5577
5578 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * paragraph_pimpl.h (empty): new function
5581
5582         * paragraph.[Ch] (empty): new function
5583
5584         * other files: use the new Paragraph::empty function
5585
5586 2002-08-09  John Levon  <levon@movementarian.org>
5587
5588         * lyxtext.h: remove unused refresh_height
5589
5590 2002-08-09  John Levon  <levon@movementarian.org>
5591
5592         * Makefile.am:
5593         * sgml.h:
5594         * sgml.C:
5595         * buffer.C:
5596         * paragraph.h:
5597         * paragraph.C: move sgml char escaping out of paragraph
5598
5599         * paragraph.h:
5600         * paragraph.C: remove id setter
5601
5602         * buffer.C:
5603         * paragraph.C:
5604         * paragraph_pimpl.C: remove dead tex_code_break_column
5605
5606         * bufferview_funcs.C: small cleanup
5607
5608         * lyxfunc.C: remove dead proto
5609
5610         * lyxtext.h: make some stuff private. Remove some dead stuff.
5611
5612         * lyxgluelength.C: make as[LyX]String() readable
5613
5614 2002-08-08  John Levon  <levon@movementarian.org>
5615
5616         * LyXAction.h:
5617         * LyXAction.C:
5618         * MenuBackend.C:
5619         * ToolbarDefaults.C:
5620         * lyxfunc.C:
5621         * lyxrc.C:
5622         * toc.C: lyxaction cleanup
5623
5624 2002-08-08  John Levon  <levon@movementarian.org>
5625
5626         * BufferView2.C: small cleanup
5627
5628         * lyxfind.h:
5629         * lyxfind.C: move unnecessary header into the .C
5630
5631 2002-08-08  John Levon  <levon@movementarian.org>
5632
5633         * funcrequest.h: just tedious nonsense
5634
5635         * lyx_main.h:
5636         * lyx_main.C: cleanups
5637
5638         * buffer.C:
5639         * vspace.C: remove dead header lyx_main.h
5640
5641 2002-08-07  Angus Leeming  <leeming@lyx.org>
5642
5643         * Paragraph.[Ch]:
5644         * paragraph_pimpl.h:
5645         Forward declare class Counters in paragraph.h by moving the ctrs member
5646         variable into Paragraph::Pimpl.
5647         (counters): new method, returning a reference to pimpl_->ctrs.
5648
5649         * text2.C: ensuing changes.
5650
5651 2002-08-07  John Levon  <levon@movementarian.org>
5652
5653         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5654
5655         * BufferView_pimpl.C: announce X selection on double/triple
5656           click
5657
5658         * lyx_main.C: use correct bool in batch dispatch
5659
5660         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5661
5662 2002-08-07  André Pönitz <poenitz@gmx.net>
5663
5664         * funcrequest.h: new class to wrap a kb_action and its argument
5665
5666         * BufferView.[Ch]:
5667         * BufferView_pimpl[Ch]:
5668         * LaTeX.C:
5669         * LyXAction.[Ch]:
5670         * lyxfunc.[Ch]:
5671         * lyxrc.C: subsequent changes
5672
5673
5674 2002-08-07  John Levon  <levon@movementarian.org>
5675
5676         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5677           document options change.
5678
5679 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5680
5681         * counters.[Ch]
5682         * text2.C
5683         * paragraph.[Ch]
5684         * makefile.am: move counters functionality over from
5685         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5686
5687 2002-08-06  John Levon  <levon@movementarian.org>
5688
5689         * WordLangTuple.h: new file for word + language code tuple
5690
5691         * SpellBase.h:
5692         * pspell.h:
5693         * pspell.C:
5694         * ispell.h:
5695         * ispell.C:
5696         * lyxtext.h:
5697         * text.C:
5698         * text2.C:
5699         * BufferView.h:
5700         * BufferView2.C: use WordLangTuple
5701
5702         * layout.h:
5703         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5704
5705 2002-08-06  John Levon  <levon@movementarian.org>
5706
5707         * lyx_main.C: fix cmdline batch handling
5708
5709 2002-08-06  André Pönitz <poenitz@gmx.net>
5710
5711         * lyxrc.C: set default for show_banner to true
5712
5713 2002-08-06  John Levon  <levon@movementarian.org>
5714
5715         * pspell.C: fix a crash, and allow new aspell to work
5716
5717 2002-08-06  John Levon  <levon@movementarian.org>
5718
5719         * lyxfunc.C:
5720         * kbmap.C: small cleanup
5721
5722         * vspace.h:
5723         * vspace.C: add const
5724
5725 2002-08-05  John Levon  <levon@movementarian.org>
5726
5727         * LyXAction.C: back to tabular-insert
5728
5729 2002-08-04  John Levon  <levon@movementarian.org>
5730
5731         * BufferView.h:
5732         * BufferView.C: cosmetic change
5733
5734         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5735
5736         * bufferlist.C:
5737         * buffer.h:
5738         * buffer.C:
5739         * lyxcb.h:
5740         * lyxcb.C:
5741         * lyxserver.C:
5742         * lyxvc.C:
5743         * vc-backend.C:
5744         * BufferView2.C: purge all "Lyx" not "LyX" strings
5745
5746         * lyxcursor.h:
5747         * lyxcursor.C: attempt to add some documentation
5748
5749         * lyxfunc.C:
5750         * commandtags.h:
5751         * LyXAction.C:
5752         * ToolbarDefaults.C:
5753         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5754           merge with LFUN_TABULAR_INSERT
5755
5756         * Makefile.am:
5757         * SpellBase.h:
5758         * ispell.h:
5759         * ispell.C:
5760         * pspell.h:
5761         * pspell.C: split up i/pspell implementations into separate
5762           files, many cleanups
5763
5764         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5765
5766         * text2.C: some cleanup
5767
5768         * lyxfunc.C: don't check for isp_command == "none" any more, it
5769           didn't make any sense
5770
5771 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5772
5773         * counters.[Ch]
5774         * text2.C
5775         * paragraph.[Ch]
5776         * makefile.am: move counters functionality over
5777         from text2.C/paragraph.[Ch] to counters.[Ch], and
5778         make proper C++.
5779 2002-08-02  John Levon  <levon@movementarian.org>
5780
5781         * buffer.C: s/lyxconvert/lyx2lyx/
5782
5783 2002-08-02  Angus Leeming  <leeming@lyx.org>
5784
5785         * lyxlex.C: revert John's change as it breaks reading of the user
5786         preamble.
5787
5788 2002-08-02  Angus Leeming  <leeming@lyx.org>
5789
5790         * importer.C (Import):
5791         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5792         changes due to LyXView::view() now returning a boost::shared_ptr.
5793
5794 2002-08-02  John Levon  <levon@movementarian.org>
5795
5796         * lyxlex.C: small cleanup
5797
5798 2002-08-02  John Levon  <levon@movementarian.org>
5799
5800         * text2.C (status): small cleanup, no logic change
5801
5802 2002-08-01  John Levon  <levon@movementarian.org>
5803
5804         * buffer.h:
5805         * buffer.C (writeFile): don't output alerts, caller
5806           handles this
5807
5808         * bufferlist.C:
5809         * lyx_cb.C: from above
5810
5811         * lyxfunc.C: allow to open non-existent files
5812
5813 2002-07-31  John Levon  <levon@movementarian.org>
5814
5815         * lyxserver.C: don't let incidental errors get
5816           in the way (errno)
5817
5818 2002-07-30  John Levon  <levon@movementarian.org>
5819
5820         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5821
5822 2002-07-30  John Levon  <levon@movementarian.org>
5823
5824         * lyxserver.h:
5825         * lyxserver.C: remove I/O callback too
5826
5827 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5828
5829         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5830         log.
5831
5832 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * many files: strip,frontStrip -> trim,ltrim,rtrim
5835
5836 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * PrinterParams.h: remove extern containsOnly, and include
5839         support/lstrings.h instead.
5840
5841         * LaTeX.C (scanAuxFile): modify because of strip changes
5842         (deplog): ditto
5843         * buffer.C (makeLaTeXFile): ditto
5844         * bufferparams.C (writeFile): ditt
5845         * lyxfont.C (stateText): ditto
5846         * lyxserver.C (read_ready): ditto
5847         * vc-backend.C (scanMaster): ditto
5848
5849         * BufferView_pimpl.h: ws changes
5850
5851         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5852
5853 2002-07-26  André Pönitz <poenitz@gmx.net>
5854
5855         * kb_sequence.C: remove unnedred usings
5856
5857 2002-07-26  Juergen Vigna  <jug@sad.it>
5858
5859         * lyxfind.C (LyXReplace): we have to check better if the returned
5860         text is not of theLockingInset()->getLockingInset().
5861
5862 2002-07-25  Juergen Vigna  <jug@sad.it>
5863
5864         * lyxfind.C (LyXReplace): don't replace if we don't get the
5865         right LyXText.
5866
5867         * undo_funcs.C (createUndo): remove debugging code.
5868
5869 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5870
5871         * buffer.C (parseSingleLyXformat2Token): Use default placement
5872         when reading old floats.
5873
5874         * FloatList.C (FloatList): Change the default placement of figure
5875         and tables to "tbp".
5876
5877 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5878
5879         * MenuBackend.C: using std::max
5880
5881 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5882
5883         * MenuBackend.C (expandToc):
5884         (expandToc2): code moved from xforms menu frontend. It is now
5885         generic and TOCs are transparent to menu frontends.
5886
5887 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5888
5889         * toc.C (getTocList): protect against buf=0
5890
5891         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5892         Menu as first parameter. Now, this calls itself recursively to
5893         expand a whole tree (this will be useful for TOC handling)
5894         (expandFloatInsert): remove 'wide' version of floats
5895
5896         * MenuBackend.h (submenuname): returns the name of the submenu.
5897         (submenu): returns the submenu itself, provided it has been
5898         created by MenuBackend::expand
5899
5900 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5901
5902         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5903         insets which have noFontChange == true. (bug #172)
5904
5905 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5906
5907         * BufferView_pimpl.C: add connection objects and use them...
5908         (Pimpl): here.
5909
5910 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5911
5912         * MenuBackend.C (expandLastfiles):
5913         (expandDocuments):
5914         (expandFormats):
5915         (expandFloatListInsert):
5916         (expandFloatInsert):
5917         (expand): split expand in parts
5918
5919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5920
5921         * lyx_gui.C: use lyx_gui::exit()
5922
5923 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5924
5925         * LyXAction.C: show the failing pseudo action
5926
5927 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5928
5929         * buffer.C (readFile): Run the lyxconvert script in order to read
5930         old files.
5931
5932 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5933
5934         * LyXAction.C:
5935         * commandtags.h:
5936         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5937
5938 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5939
5940         * LyXAction.C:
5941         * commandtags.h:
5942         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5943
5944 2002-07-22  Herbert Voss  <voss@lyx.org>
5945
5946         * lengthcommon.C:
5947         * lyxlength.[Ch]: add support for the vertical lengths
5948
5949 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5950
5951         * toc.[Ch]: std:: fixes
5952
5953 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5954
5955         * lyxrc.C: do not include lyx_main.h
5956
5957         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5958         for layouts
5959
5960         * lyxrc.C:
5961         * encoding.C:
5962         * bufferlist.C:
5963         * BufferView2.C: include "lyxlex.h"
5964
5965         * tabular.h:
5966         * bufferparams.h: do not #include "lyxlex.h"
5967
5968         * lyxtextclasslist.C (Add): remove method
5969         (classlist): renamed to classlist_
5970
5971         * paragraph_pimpl.C:
5972         * paragraph.C:
5973         * text2.C:
5974         * CutAndPaste.C:
5975         * bufferview_funcs.C:
5976         * bufferlist.C:
5977         * text.C:
5978         * LaTeXFeatures.C:
5979         * buffer.C:
5980         * toc.C (getTocList): use BufferParams::getLyXTextClass
5981
5982         * toc.C (getTocList): use InsetFloat::addToToc
5983
5984         * toc.[Ch]: new files, containing helper functions to handle table
5985         of contents
5986
5987         * lyxfunc.C (dispatch): no need to remove spaces around command
5988         given as a string
5989         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5990         first command of the sequence; it is not very clever, but I do not
5991         have a better idea, actually
5992
5993         * LyXAction.C (LookupFunc): make sure to remove space at the
5994         beginning and end of the command
5995
5996 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5997
5998         * MenuBackend.C (getMenubar): new method: return the menubar of
5999         this menu set
6000         (read): treat differently reading of menu and menubar (in
6001         particular, the menubar has no name now)
6002         (Menu::menubar): remove
6003
6004         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6005         saving is finished
6006
6007 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6008
6009         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6010         a bibitem inset in a RTL paragraph.
6011
6012 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6013
6014         * paragraph_pimpl.C: constify
6015
6016         * BufferView_pimpl.C:
6017         * LaTeX.C:
6018         * lyxfunc.C: fix dispatch in a nicer way
6019
6020 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6021
6022         * lyxfunc.C (dispatch):
6023         * BufferView_pimpl.C:
6024         * BufferView_pimpl.h:
6025         * BufferView.C:
6026         * BufferView.h: rename Dispatch() to dispatch()
6027
6028         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6029
6030         * lyxlayout.C (Read): honor DependsOn tag
6031
6032         * lyxlayout.[Ch] (depends_on): new method
6033
6034         * version.C.in: update lyx_docversion
6035
6036         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6037
6038         * paragraph.C (validate): remove from here...
6039         * paragraph_pimpl.C (validate): ... and move here
6040         (isTextAt): make it const
6041
6042         * buffer.C (getLists): ws cleanup
6043
6044 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6045
6046         * language.C (read): Use iso8859-1 encoding in latex_lang
6047         (this prevents LyX from crashing when using iso10646-1 encoding).
6048
6049 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6050
6051         * text2.C (toggleInset): if cursor is inside an inset, close the
6052         inset and leave cursor _after_ it
6053
6054 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6055
6056         * lyxfunc.C: move minibuffer completion handling out of here
6057
6058 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6059
6060         * BufferView_pimpl.C:
6061         * LaTeX.C: fix dispatch calls
6062
6063 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6064
6065         * text.C (drawChars): Fix Arabic text rendering.
6066
6067 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6068
6069         * LyXAction.C:
6070         * commandtags.h:
6071         * lyxfunc.C: remove message-push/pop
6072
6073         * lyxserver.C:
6074         * lyxfunc.h:
6075         * lyxfunc.C: rationalise some code by removing verboseDispatch
6076           in favour of a bool argument to dispatch()
6077
6078 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6079
6080         * lyx_main.C (init): make sure to read symlinks as absolute paths
6081
6082 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6083
6084         * lyxfunc.h:
6085         * lyxfunc.C: no need for commandshortcut to be a member
6086
6087 2002-07-15  André Pönitz <poenitz@gmx.net>
6088
6089         * converter.C: add support for $$s (scripts from lib/scripts dir)
6090         * lyx_main.C: white space
6091
6092 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6093
6094         * bufferlist.C:
6095         * lyxrc.h:
6096         * lyxrc.C: remove second exit confirmation
6097
6098 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6099
6100         * BufferView.h:
6101         * BufferView.C:
6102         * BufferView2.C:
6103         * BufferView_pimpl.h:
6104         * BufferView_pimpl.C:
6105         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6106
6107 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6108
6109         * MenuBackend.C (expand): add numeric shortcuts to document menu
6110
6111         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6112
6113 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * lyxfont.C (setLyXFamily):
6116         (setLyXSeries):
6117         (setLyXShape):
6118         (setLyXSize):
6119         (setLyXMisc):
6120         (lyxRead):
6121         * debug.C (value):
6122         * buffer.C (asciiParagraph): use ascii_lowercase
6123
6124 2002-07-15  Mike Fabian  <mfabian@suse.de>
6125
6126         * lyxlex_pimpl.C (search_kw):
6127         * lyxlex.C (getLongString):
6128         * converter.h (operator<):
6129         * converter.C (operator<):
6130         * buffer.C (parseSingleLyXformat2Token):
6131         (asciiParagraph):
6132         * ToolbarDefaults.C (read):
6133         * MenuBackend.C (checkShortcuts):
6134         (read):
6135         * LColor.C (getFromGUIName):
6136         (getFromLyXName): use the compare_ascii_no_case instead of
6137         compare_no_case, because in turkish, 'i' is not the lowercase
6138         version of 'I', and thus turkish locale breaks parsing of tags.
6139
6140 2002-07-16  Angus Leeming  <leeming@lyx.org>
6141
6142         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6143         now takes a Buffer const & argument.
6144
6145 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6146
6147         * BufferView.C (resize): check there's a buffer to resize
6148
6149 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6150
6151         * lyxfunc.C: remove dead code
6152
6153         * lyxserver.h:
6154         * lyxserver.C: use lyx_guii::set_read_callback
6155
6156 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6157
6158         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6159         an inset in a RTL paragraph.
6160
6161 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6162
6163         * lyxfunc.C: repaint after a font size update
6164
6165 2002-07-15  André Pönitz <poenitz@gmx.net>
6166
6167         * lyxlength.C: inBP should be able to return negative values
6168
6169 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6170
6171         * lyxfunc.C: use lyx_gui::update_fonts()
6172
6173 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6174
6175         * lyxfunc.C: use lyx_gui::update_color()
6176
6177 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6178
6179         * bufferlist.C:
6180         * lyxfunc.h:
6181         * lyxfunc.C:
6182         * lyxrc.h:
6183         * lyxrc.C: remove file->new asks for name option, and let
6184           buffer-new take an argument
6185
6186 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6187
6188         * BufferView_pimpl.C: remove unneeded extra repaint()
6189
6190 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6191
6192         * LyXAction.C: allow command-sequence with NoBuffer
6193
6194         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6195
6196 2002-07-10  Angus Leeming  <leeming@lyx.org>
6197
6198         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6199
6200 2002-07-09  Angus Leeming  <leeming@lyx.org>
6201
6202         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6203
6204 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6205
6206         * lengthcommon.h: whitespace
6207
6208         * lyxfunc.C: update scrollbar after goto paragraph
6209
6210         * lyxtext.h: factor out page break drawing, and fix it so
6211           page break/added space paints as selected nicely
6212
6213 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6214
6215         * BufferView_pimpl.C: add FIXMEs, clean up a little
6216
6217 2002-07-09  André Pönitz <poenitz@gmx.net>
6218
6219         * lyxfont.[Ch]: support for wasy symbols
6220
6221 2002-07-08  André Pönitz <poenitz@gmx.net>
6222
6223         * BufferView_pimpl.C: apply John's patch for #93.
6224
6225 2002-07-05  Angus Leeming  <leeming@lyx.org>
6226
6227         * BufferView_pimpl.C (buffer): generate previews if desired.
6228
6229         * LColor.h: add "preview" to the color enum.
6230
6231         * LColor.C (LColor): add a corresponding entry to the items array.
6232
6233         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6234         with this buffer.
6235
6236 2002-07-05  Angus Leeming  <leeming@lyx.org>
6237
6238         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6239         The body of the code is now in the method that is passed an ostream &
6240         rather than a file name.
6241         Pass an additional only_preamble parameter, useful for the forthcoming
6242         preview stuff.
6243
6244 2002-07-03  André Pönitz <poenitz@gmx.net>
6245
6246         * lyxfunc.C: simplify getStatus() a bit for math stuff
6247
6248 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6249
6250         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6251
6252 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6253
6254         * text.C (changeRegionCase): do not change case of all the
6255         document when region ends at paragraph end (bug #461)
6256
6257 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6258
6259         * paragraph.C (startTeXParParams):
6260         (endTeXParParams): add \protect when necessary
6261
6262 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6263
6264         * BufferView_pimpl.C (workAreaExpose): remove warning
6265
6266 2002-06-27  Angus Leeming  <leeming@lyx.org>
6267
6268         * Makefile.am: add lyxlayout_ptr_fwd.h.
6269
6270 2002-06-26  André Pönitz <poenitz@gmx.net>
6271
6272         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6273
6274 2002-06-25  Angus Leeming  <leeming@lyx.org>
6275
6276         * lyxfunc.C (dispatch): Comment out the call to
6277         grfx::GCache::changeDisplay. The method no longer exists now that the
6278         pixmap generation part of the graphics loader has been moved into
6279         InsetGraphics.
6280
6281 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6282
6283         * text2.C: layout as layout
6284
6285         * text.C: layout as layout
6286
6287         * tabular.C (OldFormatRead): layout as layout
6288
6289         * paragraph_pimpl.C (TeXDeeper): layout as layout
6290         (realizeFont): layout as layout
6291
6292         * paragraph.C (writeFile): layout as layout
6293         (validate): layout as layout
6294         (getFont): layout as layout
6295         (getLabelFont): layout as layout
6296         (getLayoutFont): layout as layout
6297         (breakParagraph): layout as layout
6298         (stripLeadingSpaces): layout as layout
6299         (getEndLabel): layout as layout
6300         (getMaxDepthAfter): layout as layout
6301         (applyLayout): layout as layout
6302         (TeXOnePar): layout as layout
6303         (simpleTeXOnePar): layout as layout
6304         (TeXEnvironment): layout as layout
6305         (layout): layout as layout
6306         (layout): layout as layout
6307
6308         * lyxtextclass.C (compare_name): new functor to work with
6309         shared_ptr, layout as layout
6310         (Read): layout as layout
6311         (hasLayout): layout as layout
6312         (operator): layout as layout
6313         (delete_layout): layout as layout
6314         (defaultLayout): layout as layout
6315
6316         * lyxlayout_ptr_fwd.h: new file
6317
6318         * lyxlayout.C (Read): layout as layout
6319
6320         * lyx_cb.C (MenuInsertLabel): layout as layout
6321
6322         * bufferlist.C (newFile): layout as layout
6323
6324         * buffer.C (readLyXformat2): layout as layout
6325         (parseSingleLyXformat2Token): layout as layout
6326         (insertStringAsLines): layout as layout
6327         (asciiParagraph): layout as layout
6328         (latexParagraphs): layout as layout
6329         (makeLinuxDocFile): layout as layout
6330         (simpleLinuxDocOnePar): layout as layout
6331         (makeDocBookFile): layout as layout
6332         (simpleDocBookOnePar): layout as layout
6333         (getLists): layout as layout
6334
6335         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6336
6337         * CutAndPaste.C (cutSelection): layout as layout
6338         (pasteSelection): layout as layout
6339         (SwitchLayoutsBetweenClasses): layout as layout
6340
6341         * BufferView_pimpl.C (Dispatch): layout as layout
6342         (smartQuote): layout as layout
6343
6344         * BufferView2.C (unlockInset): layout as layout
6345
6346 2002-06-24  André Pönitz <poenitz@gmx.net>
6347
6348         * lyxfunc.C: fix #487
6349
6350 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6351
6352         * lyxrc.h:
6353         * lyxrc.C:
6354         * lyxfunc.C: remove display_shortcuts, show_banner
6355
6356 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6357
6358         * Buffer_pimpl.C: oops, update on resize
6359
6360 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6361
6362         * buffer.C:
6363         * converter.C:
6364         * exporter.C:
6365         * lyxfunc.C:
6366         * BufferView.h:
6367         * BufferView.C: use repaint()
6368
6369         * BufferView_pimpl.h:
6370         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6371           as it's a clearer description. Remove superfluous
6372           redraws.
6373
6374 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6375
6376         * text.C: fix bug 488. Not ideal, but getting
6377           getWord() to work properly for the insets that
6378           matter is more difficult ...
6379
6380 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6381
6382         * BufferView_pimpl.C:
6383         * LyXAction.C:
6384         * commandtags.h:
6385         * lyxfunc.C: remove the six million index lyxfuncs to just
6386           one, and DTRT (bug 458)
6387
6388 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6389
6390         * BufferView.h:
6391         * BufferView.C:
6392         * BufferView_pimpl.h:
6393         * BufferView_pimpl.C: clean up resize() stuff,
6394           and unnecessary updateScreen()s
6395
6396 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6397
6398         * BufferView.h:
6399         * BufferView.C:
6400         * BufferView_pimpl.h:
6401         * BufferView_pimpl.C:
6402         * lyxfind.h:
6403         * lyxfind.C:
6404         * minibuffer.C: remove focus management of workarea,
6405           not needed. Use screen's greyOut()
6406
6407 2002-06-17  Herbert Voss  <voss@lyx.org>
6408
6409         * converter.C: (convert) do not post a message, when converting
6410         fails, let the calling function decide what to do in this case
6411
6412 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6413
6414         * lyxfunc.C: tidy up a little
6415
6416 2002-06-16    <alstrup@diku.dk>
6417
6418         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6419         Got rid of FORMS_H_LOCATION include. Now we are
6420         GUII.
6421
6422 2002-06-15  LyX Development team  <lyx@rilke>
6423
6424         * buffer.[Ch] (sgmlOpenTag):
6425         (sgmlCloseTag): Added support for avoiding pernicious mixed
6426         content. Return number of lines written.
6427
6428         (makeLinuxDocFile):
6429         (makeDocBookFile): Fixed calls to sgml*Tag.
6430         Simple white space clean.
6431
6432         (simpleDocBookOnePar): Simple white space clean.
6433
6434         * tabular.[Ch] (docBook): Renamed to docbook and got another
6435         argument to related with the pernicious mixed content.
6436
6437         (docbookRow): Fixed calls for docbook inset method.
6438
6439 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6440
6441         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6442         so it's X11 independent.
6443
6444         * kb*.[Ch]: ditto.
6445
6446         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6447
6448 2002-06-15  Lyx Development team  <lyx@electronia>
6449
6450         * intl.h: Renamed getTrans to getTransManager.
6451
6452 2002-06-14  Angus Leeming  <leeming@lyx.org>
6453
6454         * Makefile.am: nuke forgotten stl_string_fwd.h.
6455
6456 2002-06-12  Angus Leeming  <leeming@lyx.org>
6457
6458         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6459
6460 2002-06-13  Angus Leeming  <leeming@lyx.org>
6461
6462         * LaTeX.C:
6463         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6464
6465 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6466
6467         * kbmap.C (getiso): add support for cyrillic and greek
6468
6469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6470
6471         * BufferView.h:
6472         * BufferView.C:
6473         * BufferView_pimpl.h:
6474         * BufferView_pimpl.C: move bogus scrolling logic
6475           to xforms
6476
6477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6478
6479         * lyxfunc.C:
6480         * BufferView_pimpl.C: view->resize() change
6481
6482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6483
6484         * BufferView_pimpl.C: topCursorVisible
6485           prototype change
6486
6487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6488
6489         * Makefile.am:
6490         * lyx_gui.h:
6491         * lyx_gui.C: move to frontends/
6492
6493         * main.C:
6494         * lyx_main.h:
6495         * lyx_main.C: changes from above
6496
6497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6498
6499         * intl.C:
6500         * intl.h:
6501         * kbmap.C:
6502         * kbsequence.C:
6503         * lyx_cb.C:
6504         * lyx_main.C: minor tidy
6505
6506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6507
6508         * BufferView_pimpl.h:
6509         * BufferView_pimpl.C:
6510         * BufferView.h:
6511         * BufferView.C: make painter() const,
6512           remove dead code
6513
6514         * BufferView2.C: use screen() accessor
6515
6516         * lyx_main.h:
6517         * lyx_main.C: some minor cleanup
6518
6519 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6520
6521         * BufferView_pimpl.h:
6522         * BufferView_pimpl.C: remove enter/leaveView,
6523           use workHeight()
6524
6525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6526
6527         * BufferView.h:
6528         * BufferView.C:
6529         * BufferView2.C:
6530         * BufferView_pimpl.h:
6531         * BufferView_pimpl.C: only construct screen once,
6532           rename
6533
6534         * lyxrc.C: remove pointless comment
6535
6536 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6537
6538         * BufferView.h:
6539         * BufferView.C: remove active() and belowMouse()
6540
6541         * BufferView_pimpl.h:
6542         * BufferView_pimpl.C: use workarea() not workarea_,
6543           and make it use a scoped_ptr instead
6544
6545 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6546
6547         * lyx_gui.C: add debug message on BadWindow
6548
6549 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6550
6551         * sp_spell.C: fdopen is not part of the C++ standard.
6552
6553         * paragraph.C (InsetIterator): use >= instead of ==
6554
6555 2002-06-07  Angus Leeming  <leeming@lyx.org>
6556
6557         Fixes needed to compile with Compaq cxx 6.5.
6558         * BufferView_pimpl.C:
6559         * DepTable.C:
6560         * buffer.C:
6561         * converter.C:
6562         * encoding.C:
6563         * lyx_gui.C:
6564         * lyx_main.C:
6565         * lyxtextclasslist.C:
6566         * minibuffer.C:
6567         * sp_spell.C:
6568         * tabular_funcs.C:
6569         * vc-backend.C:
6570         all c-library variables have been moved into namespace std. Wrap
6571         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6572
6573         * lyxlength.C:
6574         * tabular-old.C:
6575         * tabular.C:
6576         Add a using std::abs declaration.
6577
6578         * kbmap.h (modifier_pair):
6579         * paragraph.h (InsetTable, InsetList):
6580         * lyxfont.h (FontBits):
6581         type definition made public.
6582
6583         * bufferlist.C (emergencyWriteAll): the compiler complains that
6584         there is more than one possible lyx::class_fun template to choose from.
6585         I re-named the void specialisation as lyx::void_class_fun.
6586
6587         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6588
6589         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6590         the compiler is is unable to find tostr in write_attribute.
6591
6592 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6593
6594         * buffer.C (sgmlError): hide #warning
6595
6596 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6597
6598         * xtl/*: get rid of xtl, which is not in use anyway
6599
6600         * LyXAction.C (init):
6601         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6602         were unimplemented xtl experimentation
6603
6604 2002-06-04  André Pönitz <poenitz@gmx.net>
6605
6606         * lyxfunc.C: disable array operation on simple formulae
6607
6608 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6609
6610         * converter.C: constify a bit
6611
6612 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * lyx_gui.C: check xforms version correctly
6615
6616 2002-04-30  Herbert Voss  <voss@lyx.org>
6617
6618         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6619         "keep" option
6620
6621 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6624           attempt to register it with a VCS)
6625
6626 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6627
6628         * lyx_main.C (init): honor variables LYX_DIR_13x and
6629         LYX_USERDIR_13x
6630
6631 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6632
6633         * buffer.h:
6634         * buffer.C:
6635         * lyx_main.C: fix a crash on bad command line,
6636           and give a useful exit status on error
6637
6638         * lyxfunc.C (doImport): allow -i lyx to work
6639
6640 2002-03-30  André Pönitz <poenitz@gmx.net>
6641
6642         * lyxfunc.C: mathed font changes
6643
6644 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6645
6646         * LaTeX.C:
6647         * importer.h:
6648         * importer.C:
6649         * lyx_sty.h:
6650         * lyx_sty.C:
6651         * lyxlex.C:
6652         * lyxrow.h:
6653         * lyxtext.h:
6654         * paragraph.h:
6655         * paragraph.C:
6656         * texrow.h:
6657         * texrow.C:
6658         * text.C:
6659         * trans_mgr.h: srcdocs, and some minor cleanups
6660
6661 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6662
6663         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6664         call getFont all the time)
6665
6666 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6667
6668         * switch from SigC signals to boost::signals
6669
6670 2002-05-29  André Pönitz <poenitz@gmx.net>
6671
6672         * paragraph_pimpl.C (getChar): don't call size() too often...
6673
6674 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6675
6676         * paragraph_pimpl.C (insertChar): do not try to update tables when
6677         appending (pos == size())
6678
6679         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6680         in order to reduce drastically the number of comparisons needed to
6681         parse a large document
6682
6683 2002-05-29  André Pönitz <poenitz@gmx.net>
6684
6685         * text.C:
6686         * text2.C:
6687         * lyxtextclass.C:
6688         * sp_pspell.h:
6689         * textclasslist.[Ch]:
6690         * sp_ispell.h: whitespace change
6691
6692 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6693
6694         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6695         lyxaction directly now.
6696
6697 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6698
6699         * trans.C:
6700         * lyxfont.C:
6701         * lyxvc.C: remove unused headers
6702
6703 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6704
6705         * Makefile.am:
6706         * buffer.h:
6707         * undostack.h:
6708         * undostack.C:
6709         * undo_funcs.h:
6710         * undo_funcs.C: some cleanups. Use shared_ptr
6711           and a template for the undo stacks.
6712
6713 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6714
6715         * BufferView_pimpl.h:
6716         * BufferView_pimpl.C:
6717         * kbmap.h:
6718         * kbmap.C:
6719         * kbsequence.h:
6720         * kbsequence.C:
6721         * lyxfunc.h:
6722         * lyxfunc.C:
6723         * text2.C: use key_state/mouse_state
6724
6725 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6726
6727         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6728         and LSubstring
6729
6730         * chset.C: change include order
6731         (loadFile): use boost regex and get rid of LRegex and LSubstring
6732
6733         * Makefile.am (BOOST_LIBS): new variable
6734         (lyx_LDADD): use it
6735
6736         * LaTeX.C: change include order.
6737         (scanAuxFile): use boost regex and get rid of LRegex and
6738         LSubstring
6739         (deplog): ditto
6740
6741 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6742
6743         * ColorHandler.h:
6744         * ColorHandler.C:
6745         * FontInfo.h:
6746         * FontInfo.C: moved to frontends/xforms/
6747
6748         * FontLoader.h:
6749         * FontLoader.C: moved into frontends for GUIIzation
6750
6751         * Makefile.am:
6752         * lyx_gui.C:
6753         * lyxfont.C:
6754         * lyxfunc.C: changes from above
6755
6756 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6757
6758         * LColor.C: remove spurious X include
6759
6760         * BufferView_pimpl.C:
6761         * Makefile.am:
6762         * font.h:
6763         * font.C:
6764         * text.C:
6765         * text2.C: move font metrics to frontends/
6766
6767 2002-05-24  Juergen Vigna  <jug@sad.it>
6768
6769         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6770         setting the undo_cursor.
6771
6772         * ParagraphParameters.h: include local includes first.
6773
6774 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6775
6776         * BufferView_pimpl.C:
6777         * BufferView_pimpl.h:
6778         * Makefile.am:
6779         * WorkArea.h:
6780         * WorkArea.C:
6781         * screen.C: move WorkArea into frontends/
6782
6783         * lyxscreen.h:
6784         * screen.C:
6785         * text.C:
6786         * BufferView.C:
6787         * BufferView2.C: move LyXScreen into frontends/
6788
6789         * lyxlookup.h:
6790         * lyxlookup.C:
6791         * lyx_gui.C: move lyxlookup into frontends/xforms/
6792
6793 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6794
6795         * BufferView2.C:
6796         * BufferView_pimpl.C:
6797         * FontLoader.C:
6798         * LyXView.h:
6799         * LyXView.C:
6800         * Makefile.am:
6801         * WorkArea.C:
6802         * XFormsView.h:
6803         * XFormsView.C:
6804         * buffer.C:
6805         * bufferlist.C:
6806         * bufferview_funcs.C:
6807         * converter.C:
6808         * importer.C:
6809         * lyx_cb.C:
6810         * lyx_gui.C:
6811         * lyx_main.C:
6812         * lyx_find.C:
6813         * lyxfunc.C:
6814         * lyxvc.C:
6815         * minibuffer.C:
6816         * text.C:
6817         * text2.C:
6818         * trans.C:
6819         * vc-backend.C: move LyX/XFormsView into frontends/
6820
6821 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6822
6823         * Makefile.am:
6824         * PainterBase.C:
6825         * PainterBase.h:
6826         * Painter.C:
6827         * Painter.h:
6828         * WorkArea.C:
6829         * WorkArea.h:
6830         * screen.C:
6831         * tabular.C:
6832         * text.C:
6833         * text2.C: move Painter to frontends/
6834
6835 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6836
6837         * buffer.C: comment out some some code that depend upon lyx_format
6838         < 220
6839
6840         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6841         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6842
6843         * buffer.h (NO_COMPABILITY): turn off compability
6844
6845         * ColorHandler.C: include scoped_array.hpp
6846
6847         * font.C: Use more specific smart_ptr header.
6848         * Painter.C: ditto
6849         * gettext.C: ditto
6850         * ShareContainer.h: ditto
6851         * lyx_main.h: ditto
6852         * kbmap.h: ditto
6853         * FontInfo.h: ditto
6854         * BufferView_pimpl.h: ditto
6855         * ColorHandler.h: ditto
6856
6857         * kbmap.C (defkey): change call to shared_ptr::reset
6858
6859 2002-05-21  Juergen Vigna  <jug@sad.it>
6860
6861         * buffer.C (insertErtContents): fix to insert ert asis if it is
6862         non empty. Skip it completely if it contains only whitespaces.
6863
6864 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6865
6866         * BufferView_pimpl.C:
6867         * BufferView2.C: clear selection on paste (bug 393)
6868
6869 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6870
6871         * DepTable.C: include ctime
6872
6873 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6874
6875         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6876
6877 2002-05-14  Juergen Vigna  <jug@sad.it>
6878
6879         * text.C (breakParagraph): fixed function to honor the keepempty
6880         layout in the right maner and also to permit the right breaking
6881         algorithm on empty or non empyt keepempty paragraphs.
6882
6883         * paragraph.C (breakParagraph): we have to check also if the par
6884         is really empty (!size()) for isempty otherwise we do the wrong
6885         paragraph break.
6886
6887 2002-05-10  Juergen Vigna  <jug@sad.it>
6888
6889         * buffer.[Ch] : The following are only changes to the ert
6890         compatibility read reading old LaTeX layout and font stuff and
6891         convert it to ERTInsets.
6892
6893         * buffer.h: added isErtInset().
6894
6895         * buffer.C (struct ErtComp): add a fromlayout bool to check
6896         if we're inside a LaTeX layout.
6897         (isErtInset): new helper function.
6898         (insertErtContents): look for other ert insets before this one
6899         and insert the contents there, so that we don't have subsequent
6900         ERT insets with nothing between them. This way we create only one
6901         inset with multiple paragraphs. Also check if we don't insert only
6902         spaces ' ' as they are ignored anyway afterwards in the .tex file
6903         so if we have only spaces we will ignore this latex part in the
6904         new file.
6905         (parseSingleLyXformat2Token \\layout): better compatibility when
6906         reading layout-latex stuff.
6907         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6908         language tag.
6909         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6910         stuff after reading the inset only get the information back from
6911         the stack.
6912
6913 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6914
6915         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6916
6917         * LaTeXFeatures.C (getBabelOptions): New method.
6918
6919 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6920
6921         * BufferView_pimpl.C (Dispatch): work around missing argument for
6922         'layout'
6923
6924 2002-05-08  Juergen Vigna  <jug@sad.it>
6925
6926         * text.C (leftMargin): handle paragraph leftindent.
6927
6928         * paragraph.C (writeFile): write the new \\leftindent tag.
6929         (validate): handle leftindent code.
6930         (TeXEnvironment): handle paragraphleftindent code again.
6931
6932         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6933
6934         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6935         for paragrap_extra indent code and new token \\leftindent.
6936         (latexParagraphs): handle the leftindent as environment.
6937
6938         * ParameterStruct.h: added leftindent support.
6939
6940         * ParagraphParameters.C (leftIndent): added support functions for
6941         the paragraph left indent.
6942
6943         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6944         more appropriate.
6945
6946 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6947
6948         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6949         inside insetERT.
6950
6951         * text.C (computeBidiTables): No bidi in insetERT.
6952
6953         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6954         in RTL documents.
6955
6956 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6957
6958         * version.C.in: pre 5
6959
6960 2002-05-02  José Matos  <jamatos@fep.up.pt>
6961         * buffer.C (makeDocBookFile): white space changes, add newline to
6962         command styles.
6963         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6964
6965         * tabular.C (docBook): fix typo.
6966
6967 2002-05-03  Juergen Vigna  <jug@sad.it>
6968
6969         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6970         change in LyXText as we can not be sure it was not freed.
6971         (drawOneRow): remove unused code.
6972
6973         * text.C (drawInset): redo the calculation of the need_break_row as
6974         it could have a row which was already freed.
6975         (draw): look at the return value of drawInset and return false if
6976         it also returned false.
6977         (paintRowText): look at the return value of draw and return false if
6978         it also returned false.
6979
6980         * lyxtext.h: added bool return type to drawInset() and draw() so that
6981         if we have a change in the row so that the rowbreak has to be redone
6982         we abort drawing as it will be called again.
6983
6984 2002-05-02  Juergen Vigna  <jug@sad.it>
6985
6986         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6987         a change in the maintext also if we're inside an inset.
6988         (Dispatch): set the cursor again after a break line and after the
6989         screen has been updated as it could be we're in a different row.
6990
6991         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6992         to set the cursor behind the pargraph with > size().
6993         (setCursor): check also for the same paragraph when checking where
6994         to put the cursor if we have a NFR inset.
6995
6996         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6997         parts of layout read further up as it still was in the wrong
6998         position.
6999
7000 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7001
7002         * screen.C (drawFromTo): change sine fullRebreak always return
7003         true.
7004
7005         * buffer.C (parseSingleLyXformat2Token): reindent some
7006
7007         * BufferView_pimpl.C (update): change since fullRebreak always
7008         return true.
7009         (Dispatch): git rid of the last hardcoded "Standard"s.
7010
7011 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7012
7013         * text2.[Ch] (fullRebreak): make it return void now that we always
7014         returned true.
7015
7016 2002-04-30  Juergen Vigna  <jug@sad.it>
7017
7018         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7019         ert compatibility check for "latex" layout.
7020
7021 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7022
7023         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7024         minipages: use col% instead of p%, and also use the current font.
7025         (makeLaTeXFile): Fix use babel condition.
7026         (parseSingleLyXformat2Token): Correct font when reading old floats.
7027
7028 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7029
7030         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7031         inserting list of floats.
7032
7033 2002-04-25  Herbert Voss  <voss@lyx.org>
7034
7035         * MenuBackend.C (expand): don't add the graphics extensions to the
7036         export menu
7037
7038 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7039
7040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7041         non-existing layout, do not complain if it was the default layout
7042         of the original class (bug #342)
7043
7044 2002-04-24  Juergen Vigna  <jug@sad.it>
7045
7046         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7047         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7048
7049 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7050
7051         * buffer.C (getBibkeyList): If using \bibliography, return the
7052         option field with the reference itself. Enables us to provide natbib
7053         support when using \bibliography.
7054
7055 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7056
7057         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7058
7059         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7060         natbib is provided by the LaTeX class.
7061
7062 2002-04-23  Juergen Vigna  <jug@sad.it>
7063
7064         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7065         Wakeup functions.
7066
7067         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7068
7069 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7070
7071         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7072
7073         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7074         ensuremath around textordmasculine, textordfeminine and
7075         textdegree.
7076
7077 2002-04-19  Juergen Vigna  <jug@sad.it>
7078
7079         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7080         reinitializing the buffer otherwise row-dimensions may be wrong.
7081         (update): reset also the selection cursors if they do exits otherwise
7082         their x/y positions may be wrong.
7083
7084         * text2.C (cursorDown): don't enter the inset if we came from a row
7085         above and are one row over the inset.
7086
7087         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7088         really leaving an inset.
7089
7090 2002-04-18  Juergen Vigna  <jug@sad.it>
7091
7092         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7093         of the selected paragraph does not have the selected layout also if
7094         the last one had!
7095
7096         * text2.C (setLayout): fixed bug which did not change last selected
7097         paragraph.
7098
7099         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7100         changed the read and substituted \\end_float with \\end_inset!
7101
7102         * BufferView_pimpl.C (cursorPrevious):
7103         (cursorNext): fixed to make it work with rows heigher than the work
7104         area without moving the cursor only the draw of the row.
7105         (workAreaMotionNotify): fix jumping over high rows.
7106
7107 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7108
7109         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7110         Ressler.
7111
7112 2002-04-16  Juergen Vigna  <jug@sad.it>
7113
7114         * text2.C (setCursor): set also the irow().
7115         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7116         (cursorUp):
7117         (cursorDown): support for locking an inset if the x_fix value goes
7118         inside it. That way I can transverse insets too with cursor up/down.
7119
7120         * lyxrow.h: added irow helper function same as other (i) functions.
7121
7122         * BufferView_pimpl.C (cursorPrevious):
7123         (cursorNext): fixed for insets!
7124
7125 2002-04-15  Juergen Vigna  <jug@sad.it>
7126
7127         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7128         position otherwise it is wrong in some cases.
7129
7130         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7131         inside the inset before the call.
7132
7133 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7134
7135         * buffer.[Ch] (getBibkeyList): make it const.
7136
7137 2002-04-12  Juergen Vigna  <jug@sad.it>
7138
7139         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7140
7141         * text2.C (getCursorX): new helper function
7142         (setCursor): compute also ix_
7143         (setCursorFromCoordinates): set also ix.
7144
7145         * lyxcursor.h: added ix_ and helper functions.
7146
7147         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7148
7149         * buffer.C (insertStringAsLines): dont break paragraph if the this
7150         paragraph is inside an inset which does not permit it!
7151
7152         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7153         also with no chars on this paragraph.
7154         (paintRowText): only paint stuff if it's inside the workarea!
7155
7156         * paragraph.C (breakParagraph): honor keepempty flag and break the
7157         paragraph always below not above.
7158
7159         * BufferView2.C (unlockInset): update the paragraph layout on inset
7160         unlock as we changed paragraph in such a case.
7161
7162         * lyxfind.C (LyXFind): clear the former selection if not found!
7163
7164         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7165         again called in insertChar().
7166
7167         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7168         an inset which uses the whole row!
7169         (rightMargin): ditto.
7170         (insertChar): force a rebreak if we inserted an inset!
7171
7172 2002-03-28  Herbert Voss  <voss@lyx.org>
7173
7174         * lyxlength.[Ch]: add inBP() to get the right PS-point
7175         units (BigPoint). With inPixels we have rounding errors
7176
7177 2002-04-11  Juergen Vigna  <jug@sad.it>
7178
7179         * text2.C (setCursorFromCoordinates): set iy to the right value.
7180         (setCursor): add check if row->previous exists!
7181
7182         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7183         an old float_type as this was the case in the old code!
7184
7185         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7186
7187         * BufferView2.C (showLockedInsetCursor): use iy
7188         (fitLockedInsetCursor): ditto
7189
7190         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7191         locked insets as there we have the right value now.
7192
7193         * lyxcursor.C: added iy_ variable and iy functions to set to the
7194         baseline of cursor-y of the locked inset.
7195
7196         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7197         (setCursor): fixed for insets which need a full row.
7198
7199         * text.C (rowLastPrintable): don't ignore the last space when before
7200         an inset which needs a full row.
7201         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7202         as last character of a row when before a inset which needs a full row.
7203
7204 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7205
7206         * version.C.in: update date
7207
7208         * text2.C (fullRebreak): try to always return true and see what
7209         happens...
7210
7211 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7212
7213         * MenuBackend.C (expand): use Floating::listName
7214
7215         * FloatList.C (FloatList): add listName argument to the built-in
7216         floats
7217
7218         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7219         text associated with the float.
7220
7221 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7222
7223         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7224
7225 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7226
7227         * ShareContainer.h: add a couple of missing typenames.
7228
7229 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7230
7231         * lyxrc.C (getDescription): use _() correctly rather than N_().
7232
7233 2002-03-28  Herbert Voss  <voss@lyx.org>
7234
7235         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7236         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7237
7238 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7239
7240         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7241         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7242
7243 2002-03-29  Juergen Vigna  <jug@sad.it>
7244
7245         * lyxfunc.C (dispatch): add a missing fitCursor call.
7246
7247         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7248         it was scrolled by a cursor move, so return the bool status.
7249
7250         * BufferView.C (fitCursor): return the bool flag also to the outside
7251         world as this is needed.
7252
7253         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7254
7255         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7256         call the edit() as it is not needed (and wrong) IMO.
7257         (workAreaButtonPress): set the screen_first variable before evt.
7258         unlock the inset as this may change screen_first and then we have
7259         a wrong y position for the click!
7260
7261 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7262
7263         * MenuBackend.C (expand): another translation that I missed
7264
7265 2002-03-28  Juergen Vigna  <jug@sad.it>
7266
7267         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7268
7269         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7270
7271 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7272
7273         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7274
7275         * MenuBackend.C (expand): fix export/view/update when there is no
7276         document open.
7277
7278 2002-03-27  Herbert Voss  <voss@lyx.org>
7279
7280         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7281         and text%
7282
7283 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7284
7285         * bufferview_funcs.C (currentState): only show paragraph number
7286         for is DEVEL_VERSION is set.
7287
7288         * lyxfunc.C (dispatch): put warning in INFO channel
7289
7290         * MenuBackend.C (expand): translate the name of floats
7291
7292         * FloatList.C (FloatList): mark the float names for translation
7293
7294         * converter.C (convert): use LibScriptSearch
7295
7296 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7297
7298         * MenuBackend.C (defaults): fix default menu (we might as well get
7299         rid of it...)
7300
7301 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7302
7303         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7304         directory.
7305
7306 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7307
7308         * lyxvc.C: reorder includes.
7309
7310 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7313           properly
7314
7315 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * CutAndPaste.C: change layouts earlier on paste
7318           to avoid crashing when calling getFont()
7319
7320 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7321
7322         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7323         irritating #error.
7324
7325 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * WorkArea.C: remove 'Pending' debug message.
7328
7329         * most files: ws cleanup
7330
7331         * buffer.[Ch]: ws changes
7332
7333         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7334
7335 2002-03-21  Juergen Vigna  <jug@sad.it>
7336
7337         * tabular.C (SetMultiColumn): collapse also the contents of the
7338         cells and set the last border right. Added a Buffer const * param.
7339
7340 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7341
7342         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7343         linking or not.
7344
7345 2002-03-19  Juergen Vigna  <jug@sad.it>
7346
7347         * text2.C (clearSelection): reset also xsel_cache.
7348
7349         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7350         where it needs to be called (John tells us to do so too :)
7351         (selectionLost): reset sel_cache.
7352
7353         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7354
7355 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7356
7357         * text2.C (setCursorIntern): put debuging code in INSETS channel
7358
7359 2002-03-19  André Pönitz <poenitz@gmx.net>
7360
7361         * lyxfunc.C: tiny whitespace change
7362
7363 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * ToolbarDefaults.C (init):
7366         * LyXAction.C (init):
7367         * commandtags.h:
7368         * BufferView_pimpl.C (Dispatch):
7369         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7370
7371 2002-03-19  Allan Rae  <rae@lyx.org>
7372
7373         * exporter.C (Export): removeAutoInsets before doing anything else.
7374         While I've just introduced a dependency on BufferView this really is
7375         the best place to clean the buffer otherwise you need to cleanup in
7376         a dozen places before calling export or cleanup in a dozen functions
7377         that export calls.
7378
7379         * converter.C (runLaTeX):
7380         (scanLog): Better handling of removeAutoInsets and screen updates.
7381
7382         * lyxfunc.C (dispatch): small whitespace changes
7383
7384 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7385
7386         * WorkArea.C (C_WorkAreaEvent): return a value.
7387         (event_cb): return 1 if we handled the event, 0 otherwise.
7388
7389         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7390
7391 2002-03-18  Juergen Vigna  <jug@sad.it>
7392
7393         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7394         (GetAdditionalWidth): ditto.
7395         (RightLine): ditto.
7396         (LeftLine): ditto.
7397
7398         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7399         inset if we're there actually (probably not used right now but this
7400         is the direction to go for unifying code).
7401         (paste): disable code to clear the selection.
7402
7403         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7404         inside an InsetText and move the check further up as it is in the
7405         wrong place.
7406
7407         * text2.C (pasteSelection): set a selection over the pasted text.
7408
7409 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7410
7411         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7412         and libgraphics to build on Cygwin.
7413
7414 2002-03-15  Juergen Vigna  <jug@sad.it>
7415
7416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7417         inserting an Inset into the paragraph. I know this is not the best
7418         fix but we already use current_view in CutAndPaste so we will remove
7419         all of it's using at the same time.
7420
7421         * buffer.C (sgmlError): deactivated function till it is rewritten in
7422         the right mode, now it can create problems.
7423
7424         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7425         before accessing it.
7426
7427 2002-03-14  Juergen Vigna  <jug@sad.it>
7428
7429         * undo_funcs.C (textHandleUndo): do the right thing when updating
7430         the inset after the undo/redo.
7431
7432         * text2.C (setCursor): just some testcode for #44 not ready yet.
7433
7434         * undo_funcs.C (textHandleUndo): set the next() and previous()
7435         pointers of the paragraph to 0 before deleting otherwise we have
7436         problems with the Paragraph::[destructor].
7437
7438         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7439         on a paragraph insertion.
7440
7441 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7442
7443         * buffer.C (asciiParagraph): use += operator for char append to
7444         string.
7445
7446         * paragraph.C (getFontSettings): compare >= not just >
7447         (highestFontInRange): ditto
7448         (setFont): ditto
7449
7450 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7451
7452         * paragraph.C: change several algorithm to be more appripriate for
7453         the problem domain. This is lookip in FontList and in the InsetList.
7454
7455 2002-03-13  André Pönitz <poenitz@gmx.net>
7456
7457         * commandtags.h:
7458         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7459
7460 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7461
7462         * commandtags.h:
7463         * LyXAction.C:
7464         * lyxfunc.C:
7465         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7466
7467 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7468
7469         * Painter.C (display): anon helper function, adjust code for this
7470         change.
7471         (pixmap): remove function.
7472
7473         * Painter.h: remove private display variable.
7474
7475         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7476
7477 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7478
7479         * WorkArea.[Ch]: remove figinset_canvas cruft.
7480
7481 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7482
7483         * lyxtextclass.C (operator): add one item cache optimization.
7484
7485         * bufferlist.h: doxy changes
7486
7487         * bufferlist.C: ws changes
7488
7489         * DepTable.[Ch] (ext_exist): place const in the right spot.
7490
7491         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7492         call resizeInsets.
7493         (workAreaExpose): call resizeInsets when the with BufferView changes.
7494         (Dispatch): adjust for protectedBlank removal
7495         (specialChar): call updateInset if the insert went ok.
7496
7497         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7498         specialChar instead.
7499
7500         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7501
7502         * BufferView.h: doxy change
7503
7504         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7505
7506         * lyxtextclass.C (operator[]): remove non-const version
7507         (defaultLayout): remove non-const version
7508
7509 2002-03-12  Juergen Vigna  <jug@sad.it>
7510
7511         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7512         did resize the LyXText too.
7513
7514         * buffer.C (readLyXformat2): set layout information on newly allocated
7515         paragraphs.
7516
7517         * tabular.C (OldFormatRead): set layout information on the paragraph.
7518
7519 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7520
7521         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7522
7523 2002-03-11  Juergen Vigna  <jug@sad.it>
7524
7525         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7526         plainly wrong.
7527         (resizeCurrentBuffer): force also the insets to resize themselfes.
7528         (moveCursorUpdate): fixed up for InsetText.
7529
7530 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7531
7532         * commandtags.h:
7533         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7534         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7535         value of Dialogs::tooltipsEnabled().
7536         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7537
7538 2002-03-08  Juergen Vigna  <jug@sad.it>
7539
7540         * BufferView_pimpl.C (updateInset): update inset inside inset also
7541         if it isn't inside theLockingInset().
7542
7543 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7544
7545         * buffer.C (asciiParagraph): redo some of the word and line length
7546         handling.
7547         (getLists): look for Caption instead of caption.
7548
7549 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * buffer.C (Buffer): initialize niceFile to true
7552         (makeLaTeXFile):
7553         (makeLinuxDocFile):
7554         (makeDocBookFile): make sure niceFile is true on exit
7555
7556 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7559
7560 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7561
7562         * LyXSendto.C: remove.
7563         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7564         * lyx_gui.C: remove now-redundant comment.
7565         * ColorHandler.h: remove forward declaration of class WorkArea.
7566         * lyxfunc.C: remove #include "WorkArea.h".
7567
7568 2002-03-07  Juergen Vigna  <jug@sad.it>
7569
7570         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7571         got moved away with the DEPM and also set the inset_owner always
7572         right which before could have been omitted.
7573
7574 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7575
7576         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7577         wanted layout is not found.
7578
7579 2002-03-07  Juergen Vigna  <jug@sad.it>
7580
7581         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7582
7583 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7584
7585         * paragraph.C (breakParagraph): use default layout not layout of
7586         prev paragraph.
7587         (Paragraph): clear ParagraphParameters.
7588
7589 2002-03-06  Juergen Vigna  <jug@sad.it>
7590
7591         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7592         otherwise it would not be a valid lenght. Fixed a special case in
7593         the minipage compatibility read where we end the document with a
7594         minipage.
7595
7596         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7597         was set as it could be 0 for InsetTexts first entry.
7598
7599 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7600
7601         * paragraph.C (writeFile): if layout is empty write out
7602         defaultLayoutName().
7603
7604         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7605         file without named layout we set layout to defaultLayoutName().
7606
7607 2002-03-06  Juergen Vigna  <jug@sad.it>
7608
7609         * CutAndPaste.C (copySelection): set layout for new paragraph.
7610
7611         * text.C (prepareToPrint): leave ERT inset left aligned
7612         (leftMargin): don't indent paragraphs inside ERT insets
7613
7614 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7615
7616         * paragraph.C (breakParagraph): dont call clear do the work manually
7617
7618         * paragraph.[Ch] (clear): remove function
7619
7620 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7621
7622         * paragraph.C (Paragraph): dont call clear, the work has already
7623         been done.
7624
7625         * lyxtextclass.C (operator): assert if n is empty
7626
7627         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7628         work manually instead.
7629
7630 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * BufferView_pimpl.C: protect selectionLost against text == 0
7633
7634 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7635
7636         * text.C (breakParagraph): fix a setting layout to '0' problem.
7637
7638 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7639
7640         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7641         final location of file, for the included files, and graphics.
7642
7643 2002-03-05  Juergen Vigna  <jug@sad.it>
7644
7645         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7646
7647 2002-03-04  Juergen Vigna  <jug@sad.it>
7648
7649         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7650
7651         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7652         last column of multicolumn cells.
7653         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7654
7655 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7656
7657         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7658         file if it doesn't go to a temporary file.
7659
7660         * buffer.C (sgmlOpenTag):
7661         (sgmlCloseTag):  remove extra newline insertion.
7662
7663 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7664
7665         * text.C (getRowNearY): comment out debug msg
7666
7667 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7668
7669         * text2.C: first -> first_y
7670
7671         * text.C (getRowNearY): add some attemts at a possible
7672         optimization, not working.
7673
7674         * tabular.[Ch]: add BufferParams to several function so that newly
7675         created paragraph can be initialized to he default layotu for the
7676         buffers textclass.
7677
7678         * tabular-old.C (ReadOld): add buf->params to call of Init
7679
7680         * screen.C: rename text->first to text->first_y
7681
7682         * paragraph.C (breakParagraph): always set layout in the broken
7683         paragraph
7684
7685         * lyxtextclass.C (Read): remove lowercase
7686         (hasLayout): ditto
7687         (operator): ditto
7688         (delete_layout): ditto
7689
7690         * lyxtext.h: rename first -> first_y
7691
7692         * lyxlayout.C (Read): remove lowercase
7693         (name): ditto
7694         (setName): ditto
7695         (obsoleted_by): ditto
7696
7697         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7698
7699         * buffer.C (insertErtContents): add params are to InsetERT
7700         (parseSingleLyXformat2Token): add code to check if a paragraphs
7701         layout really exist.
7702         (parseSingleLyXformat2Token): add params to several inset
7703         constructors
7704         (asciiParagraph): remove lowercase, do the layout comparisons with
7705         no_case
7706
7707         * BufferView_pimpl.C (cursorNext): first -> first_y
7708         (resizeCurrentBuffer): first -> first_y
7709         (updateScrollbar): first -> first_y
7710         (scrollCB): first -> first_y
7711         (workAreaMotionNotify): first -> first_y
7712         (workAreaButtonPress): first -> first_y
7713         (checkInsetHit): first -> first_y
7714         (cursorPrevious): first -> first_y
7715         (cursorNext): first -> first_y
7716         (Dispatch): add buffer_->params to severl inset contructors
7717
7718 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7719
7720         * lyxlayout.C (Read): remove some debug info that I forgot.
7721
7722         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7723         clean up the code slightly.
7724         (makeLinuxDocFile): ditto
7725         (makeDocBookFile): ditto
7726
7727         * text2.C: layout as string
7728
7729         * text.C: layout as string
7730
7731         * paragraph_pimpl.C: layout as string
7732
7733         * paragraph.[Ch]: layout as string
7734
7735         * lyxtextclasslist.[Ch]: layout as string
7736
7737         * lyxtextclass.[Ch]: layout as string
7738
7739         * lyxtext.h: layout as string
7740
7741         * lyxlayout.[Ch]: layout as string
7742
7743         * lyx_cb.C: layout as string
7744
7745         * bufferview_funcs.C: layout as string
7746
7747         * bufferparams.C: layout as string
7748
7749         * buffer.C: layout as string
7750
7751         * LyXView.[Ch]: layout as string
7752
7753         * LaTeXFeatures.[Ch]: layout as string
7754
7755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7756
7757         * BufferView_pimpl.C: change current_layout to string, remove
7758         lyx::layout_type.
7759         (Dispatch):
7760         (smartQuote):
7761         (insertInset):
7762         (workAreaButtonRelease): layout as string
7763
7764         * BufferView2.C (unlockInset): adjust
7765
7766         * vspace.C (asLatexCommand): use an explict temp variable.
7767
7768 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7769
7770         * Makefile.am: use FRONTEND_*
7771
7772 2002-03-01  Juergen Vigna  <jug@sad.it>
7773
7774         * tabular.C (SetWidthOfMulticolCell): changed to something better
7775         I hope but still work in progress.
7776         (recalculateMulticolumnsOfColumn): renamed function from
7777         recalculateMulticolCells as it is more appropriate now.
7778         (SetWidthOfCell): calculate multicols better.
7779
7780 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7781
7782         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7783
7784         * lyxfunc.C (processKeySym): print sequence also if it is
7785         `deleted' (complete)
7786
7787         * kbsequence.C (print): print sequence even if it is deleted
7788         (complete would be a better word, actually).
7789
7790         * lyxfunc.C (dispatch): print complete options after a prefix key
7791
7792         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7793
7794 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7795
7796         * text2.C (setCharFont): eliminate setCharFont code duplication.
7797
7798 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7801         LFUN_TABULAR_FEATURE (bug #177)
7802
7803 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7804
7805         * Makefile.am: remove figure.h
7806
7807 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7808
7809         * Bufferview_pimpl.C:
7810         * CutAndPasteC:
7811         * LaTeX.C:
7812         * LyXSendto.C:
7813         * buffer.C:
7814         * bufferlist.C:
7815         * converter.C:
7816         * language.C:
7817         * lyxfunc.C:
7818         * lyxvc.C:
7819         * paragraph.C:
7820         * text.C:
7821         * text2.C: remove #include "lyx_gui_misc.h".
7822
7823         * LaTeX.C: added #include <cstdio>
7824
7825 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7826
7827         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7828         that the paragraph following this one can have.
7829
7830         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7831
7832         * vspace.C (asLatexCommand): fix bogus gcc warning
7833
7834         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7835
7836 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7837
7838         * text2.C (setLayout): get rid of redundant code
7839
7840 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7841
7842         * text2.C (incDepth): make sure depth cannot be increased beyond
7843         reasonable values.
7844
7845 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7846
7847         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7848         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7849
7850         * PainterBase.h (image):
7851         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7852         a LyXImage const *.
7853
7854 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * BufferView.C:
7857         * BufferView.h:
7858         * BufferView_pimpl.C:
7859         * BufferView_pimpl.h:
7860         * LaTeXFeatures.C:
7861         * LyXAction.C:
7862         * LyXView.C:
7863         * Makefile.am:
7864         * UpdateList.h:
7865         * UpdateList.C:
7866         * buffer.C:
7867         * figure.h:
7868         * figureForm.C:
7869         * figureForm.h:
7870         * figure_form.C:
7871         * figure_form.h:
7872         * lyx_cb.C:
7873         * lyx_gui.C:
7874         * lyx_gui_misc.C:
7875         * lyxfunc.C:
7876         * sp_base.h:
7877         * sp_ispell.h:
7878         * sp_pspell.h:
7879         * sp_spell.C: remove fig inset, and the crap house of
7880           cards that follows it
7881
7882 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * Makefile.am:
7885         * lyxserver.C:
7886         * os2_defines.h:
7887         * os2_errortable.h:
7888         * nt_defines.h: move .h into support/
7889
7890         * vms_defines.h: remove
7891
7892         * WorkArea.C: add space in debug output
7893
7894         * text2.C:
7895         * paragraph.C:
7896         * buffer.C: add WITH_WARNINGS
7897
7898         * vc-backend.h:
7899         * vc-backend.C:
7900         * bufferlist.C: s/retrive/retrieve/, add docs
7901
7902         * vspace.h:
7903         * vspace.C:
7904         * kbmap.h:
7905         * lyxlength.h:
7906         * lyxgluelength.h:
7907         * length_common.h:
7908         * chset.h:
7909         * chset.C: add docs
7910
7911         * lyxgui.C: add ID to X error handler
7912
7913         * lyxtestclass.c: fix typo
7914
7915 2002-02-26  Juergen Vigna  <jug@sad.it>
7916
7917         * tabular_funcs.C (write_attribute): changed so that some default
7918         attributes are not written at all.
7919         (getTokenValue): set default values before trying to read the
7920         value so we have the return value always set as default if we don't
7921         find the token we search for.
7922
7923         * tabular.C (Write): write bools as bools not as strings!
7924
7925 2002-02-22  Juergen Vigna  <jug@sad.it>
7926
7927         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7928         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7929
7930         * text.C (leftMargin): don't add an indent for paragraphs inside
7931         tabular cells (fix #208).
7932
7933 2002-02-21  José Matos  <jamatos@fep.up.pt>
7934
7935         * tabular.C (docBook): fixed support for long tables.
7936
7937 2002-02-20  Juergen Vigna  <jug@sad.it>
7938
7939         * text2.C (getFont): get the drawing font of the Inset if this
7940         paragraph is inside an inset (only important for InsetERT for now).
7941
7942         * buffer.C (insertErtContents): use new lanugage params in ERT
7943         constructor.
7944
7945         * CutAndPaste.C: commenting out seemingly uneeded code.
7946
7947 2002-02-19  Allan Rae  <rae@lyx.org>
7948
7949         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7950         Iterators might be simple to use but they also get invalidated.
7951         (removeAutoInsets): renamed saved cursor tracking variables and added
7952         some comments to clarify what everything does.
7953
7954 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7955
7956         * Chktex.C:
7957         * LaTeX.C:
7958         * LyXSendto.C:
7959         * converter.C:
7960         * lyx_cb.C:
7961         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7962         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7963
7964         * lyxfunc.C:
7965         * vc-backend.h: remove #include "support/syscall.h"
7966
7967         * LaTeX.C:
7968         * LyXSendto.C:
7969         * converter.C: rearrange #includes in Lars' approved fashion.
7970
7971         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7972         forward declare class Timeout in the header file.
7973
7974         * XFormsView.C: changes due to the above.
7975
7976         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7977         similar to LyXView.
7978
7979         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7980         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7981
7982 2002-02-18  José Matos  <jamatos@fep.up.pt>
7983
7984         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7985         insets contents.
7986
7987 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7988
7989         * a lot of small ws changes
7990         * add a lot of using std::XXX
7991         * use std construcs some places where approp.
7992         * use some exisint stuff from lyxfunctional where approp.
7993         * Make file changes to use partial linking (lets test this now...)
7994
7995 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7996
7997         * Chktex.C:
7998         * buffer.C:
7999         remove #include "support/syscontr.h" as it's redundant. Always has been.
8000
8001         * Chktex.C:
8002         * LaTeX.C:
8003         * LyXSendto.C:
8004         * converter.C:
8005         * lyx_cb.C:
8006         * vc-backend.C:
8007         change Systemcalls::System to Systemcalls::Wait and
8008         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8009         No change of functionality, just reflects the stripped down Systemcalls
8010         class.
8011
8012 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8013
8014         * debug.[Ch]: add a GRAPHICS type to the enum.
8015
8016 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8017
8018         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8019
8020         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8021         there is an inset.
8022
8023 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8024
8025         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8026         match the changes below.
8027
8028         * text2.C (toggleInset): if there is not editable inset at cursor
8029         position, try to see if cursor is _inside_ a collapsable inset
8030         and close it.
8031
8032 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8033
8034         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8035         document menu has a nice checkbox
8036
8037 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * lyxlength.C (asLatexString): change PW to output as percent of
8040         \textwidth.
8041
8042         * lengthcommon.C: change '%' to 't%'
8043
8044         * lyxfunc.C (dispatch): a few comments from Martin
8045
8046 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8047
8048         * WorkArea.h:
8049         * WorkArea.C:
8050         * BufferView_pimpl.h:
8051         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8052           the X selection.
8053
8054 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8055
8056         * vspace.C (inPixels): fix compiler warning
8057
8058 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8059
8060         * lyxfunc.C (getStatus): fix status message for disabled commands.
8061
8062 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * BufferView_pimpl.C: fix crash on close buffer
8065         during selection (#227)
8066
8067 2002-01-27  Herbert Voss  <voss@lyx.org>
8068
8069         * buffer.C: link old Figure to new graphic inset
8070
8071 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8072
8073         * FontLoader.C (getFontinfo): Change the latex font names in order
8074         to match the names of type1inst.
8075
8076 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8077
8078         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8079
8080         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8081         (extchanged): ditto
8082         (ext_exist): ditto
8083         (remove_files_with_extension): ditto
8084         (remove_file): ditto
8085         (write): ditto
8086
8087         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8088         document is smaller than the work area height. Do not initialize
8089         static variables to 0.
8090
8091 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8094
8095         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8096         LFUN_LAYOUT_PARAGRAPHS.
8097
8098         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8099         tabular. It is possible to provide a possible cell, which will
8100         typically be the actcell from the corresponding insettabular
8101
8102         * lyxfunc.C (getStatus): small cleanup; disable
8103         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8104         true
8105
8106 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8109
8110         * paragraph.C (startTeXParParams):
8111         (endTeXParParams): new methods. The LaTeX code to
8112         start/end paragraph formatting
8113         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8114         empty (fixes bug #200)
8115
8116         * vspace.C (inPixels): adapt to the change below
8117         (inPixels): [later] more cleanups (remove unused variables)
8118
8119         * lyxlength.C (inPixels): change to use a width and a height as
8120         parameter.
8121
8122 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8123
8124         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8125         Replaced with \paperwidth
8126
8127         * DepTable.C (insert): add std:: qualifier
8128
8129 2002-01-18  Allan Rae  <rae@lyx.org>
8130
8131         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8132         updated also?
8133
8134         * text.C (drawInset): Turned out I didn't know enough about how
8135         rebreaking worked.  This fixes most of the redraw problems.  I see
8136         an occasional cursor trail when a line is broken now and the cursor
8137         placement can seem out by a few pixels also after a rebreak.
8138
8139 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * buffer.C (parseSingleLyXformat2Token): update because minipage
8142         width is now a LyXLength
8143
8144         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8145
8146         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8147         math insets
8148
8149 2002-01-17  Juergen Vigna  <jug@sad.it>
8150
8151         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8152
8153         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8154         is set correctly and the inset is updated correctly.
8155
8156 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8157
8158         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8159         the beginning of the loop.
8160
8161 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8162
8163         * lyxrc.C: improve help for use_scalable_fonts
8164
8165 2002-01-17  Allan Rae  <rae@lyx.org>
8166
8167         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8168
8169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8170
8171         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8172         make sure to set their inset_owner to the right value (bug #171)
8173
8174 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8175
8176         * DepTable.h
8177         * DepTable.C: Implement mtime checking to reduce time spent doing
8178         CRCs.
8179
8180 2002-01-16  Juergen Vigna  <jug@sad.it>
8181
8182         * tabular.C (GetAdditionalHeight): one of error fixed.
8183
8184         * lyxrc.C (output): small fix in writing use_pspell.
8185
8186 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8187
8188         * sp_base.h: #include LString.h
8189
8190 2002-01-16  Allan Rae  <rae@lyx.org>
8191
8192         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8193         Can someone check this please?
8194
8195         * text.C (drawInset): It was possible that p.row would be removed by
8196         breakAgainOneRow upsetting a few other settings.  There may be another
8197         small tweak possible by setting need_break_row = 0 when p.row has been
8198         removed but I don't know enough about the logic here.
8199
8200 2002-01-15  Allan Rae  <rae@lyx.org>
8201
8202         * text.C (insertChar): removed conditional truism.
8203
8204         * BufferView2.C (removeAutoInsets): More tweaks.
8205         cur_par_prev could be a stray pointer.  Check for trailing empty line
8206         in case last line was cur_par and only had an error inset on it.
8207
8208 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8211         absolute
8212
8213         * vc-backend.C (most methods):
8214         * exporter.C (Export):
8215         * converter.C (convert):
8216         (runLaTeX):
8217         * LyXSendto.C (SendtoApplyCB):
8218         * lyxfunc.C (dispatch):
8219         (menuNew):
8220         (open):
8221         (doImport):
8222         * lyx_cb.C (AutoSave):
8223         (InsertAsciiFile):
8224         * BufferView_pimpl.C (MenuInsertLyXFile):
8225         * buffer.C (runChktex): use Buffer::filePath().
8226
8227         * buffer.h: rename filename to filename_; rename filepath to
8228         filepath_ and make it private
8229         (filePath): new method
8230
8231         * buffer.C (writeFile): use fileName()
8232         (getLatexName):
8233
8234         * lyx_main.C (init): fix starting  of LyX when the binary is a
8235         link from so,ewhere else.
8236
8237         * minibuffer.C: include <cctype> for isprint
8238
8239 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8240
8241         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8242         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8243         name clash with InsetCollapsable's width function.
8244
8245 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8246
8247         * lastfiles.C: include <iterator>
8248
8249 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8250
8251         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8252         std::count.
8253
8254         * buffer.C (makeLaTeXFile): ditto.
8255         Also make loop operation more transparent.
8256
8257 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8258
8259         * ToolbarDefaults.C: remove trailing comma closing namespace.
8260
8261         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8262
8263         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8264         as in WorkArea.
8265
8266         * trans.C (Load): comment out unused variable, allowed.
8267
8268 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8269
8270         * minibuffer.[Ch] (append_char): new method to recieve input from the
8271         drop-down completion browser. If a key was pressed, then recieve this
8272         char and append it to the existing string.
8273         (peek_event): modify the positioning data passed to the completion
8274         browser so that it can be placed above the minibuffer rather than below.
8275 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8276
8277         * LyXAction.C (init): alloe error-next for readonly documents.
8278
8279         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8280         count.
8281
8282 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8283
8284         * bufferlist.C (readFile): create the buffer _after_ checking that
8285         the file exists.
8286
8287         * lyxfunc.C (verboseDispatch): fix handling of arguments
8288
8289         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8290
8291         * lyxrc.C: use string::erase() instead of initializing to "".
8292
8293
8294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8295
8296         * BufferView_pimpl.h:
8297         * BufferView_pimpl.C:
8298         * WorkArea.h:
8299         * WorkArea.C:
8300         * text2.C: tell X when we have made a selection for copying
8301
8302 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8303
8304         * BufferView_pimpl.C (MenuInsertLyXFile):
8305         * lyxfunc.C (menuNew):
8306         (open):
8307         (doImport): add shortcuts to directory buttons
8308
8309         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8310         open a float)
8311
8312         * lyxfunc.C (setStatusMessage):
8313         (getStatusMessage): new methods
8314         (getStatus):use setStatusMessage instead of setErrorMessage
8315         (dispatch): when function is disabled, set error message here
8316         [instead of in getStatus previously]
8317
8318         * BufferView_pimpl.C (workAreaButtonRelease): update
8319         toolbar/menubar here too.
8320
8321 2002-01-13  Allan Rae  <rae@lyx.org>
8322
8323         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8324         Now seems indestructible.  Remaining task is to audit all other
8325         code affected by deleteEmptyParagraphMechanism.  One small quirk
8326         left is that an empty document with an error in the preamble can
8327         be made to report an error but no error box appears.  I don't know
8328         where it goes.
8329         (removeAutoInsets): Improved comments.
8330
8331 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * Thesaurus.h:
8334         * Thesaurus.C: update for Aiksaurus 0.14
8335
8336 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8337
8338         * text2.C (firstParagraph): removed member function, all uses
8339         replaces with ownerParagraph
8340         (redoParagraphs): here
8341         (updateInset): here
8342         (toggleAppendix): here
8343         * BufferView2.C (insertErrors): here
8344         (setCursorFromRow): here
8345
8346 2002-01-13  Allan Rae  <rae@lyx.org>
8347
8348         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8349         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8350         There is still a way to segfault this although you may have to do this
8351         multiple times: Have an InsetERT with an unknown command in it.
8352         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8353         <down-arrow>, <Enter> again, View->DVI, BANG!
8354
8355         * text2.C (setCursor):
8356         (deleteEmptyParagraphMechanism):
8357         * lyxtext.h (setCursor):
8358         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8359         Making use of the return value may help fix other bugs.
8360
8361 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8364
8365         * LyXView.C (updateMenubar): call MenuBar::update here
8366         (updateToolbar): but not here
8367         (showState): do not update toolbar/menubar
8368
8369         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8370         should need to care about that.
8371
8372         * lyxfunc.C (verboseDispatch): simplify a bit
8373         (getStatus): have a version which takes a pseudoaction, and
8374         another which requires a (kb_action,string).
8375
8376         * LyXAction.C (retrieveActionArg): make it work also when action
8377         is not a pseudo-action.
8378         (getActionName): simplify a bit
8379         (helpText):
8380
8381 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * lyxfunc.C (verboseDispatch): new families of methods with
8384         several ways to specify a command and a bool to indicate whether
8385         the command name and shortcut should be displayed in minibuffer
8386         (eventually, we could extend that to a finer bitmask like
8387         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8388         (dispatch): the pristine dispatch command which just, well,
8389         dispatchs! Note it still sets its result to minibuffer; I'm not
8390         sure we want that.
8391
8392         * lyxfunc.h: remove setHintMessage
8393
8394         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8395
8396 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8397
8398         * BufferView_pimpl.C (specialChar): delete new inset if we have
8399         not been able to insert it.
8400
8401         * kbmap.C: revert to using int instead of kb_action, since all we
8402         are dealing with is pseudo-actions.
8403
8404         * LyXAction.C (searchActionArg): change to return int instead of
8405         kb_action, since the result is a pseudoaction.
8406
8407 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8408
8409         * buffer.C (insertErtContents): Fix (partially) the font bug.
8410
8411 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8412
8413         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8414         as the other one is broken on my machine!
8415
8416 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8417
8418         * commandtags.h:
8419         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8420
8421 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8422
8423         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8424         reflect their actual use. Provide compatibility code for older lyxrc
8425         files.
8426
8427         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8428         FL_NORMAL_STYLE.
8429         change names of popup font variables in line with the changes to lyxrc.C
8430
8431 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8432
8433         * buffer.C (asciiParagraph): avoid outputing a word twice after
8434         an inset.
8435
8436         * lyxrc.C (getDescription): document that document_path and
8437         template_path can be empty.
8438
8439 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * LaTeXFeatures.C (getMacros):
8442         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8443
8444         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8445
8446         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8447         getPackages.
8448         (getPackages): rename feature "floats" to "float". Use an array to
8449         iterate over 'simple' features (i.e. just a \usepackage). Add
8450         handling of "amsmath" (renamed from "amsstyle").
8451
8452 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8453
8454         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8455         features list.
8456
8457 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8458
8459         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8460         FuncStaus::FuncStatus & FuncStaus::some_method().
8461
8462 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8463
8464         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8465         of the func_satus stuff. Edited and massaged in various ways by
8466         JMarc.
8467
8468         * lyxfunc.C (getStatus): use FuncStatus
8469
8470 2002-01-08  Juergen Vigna  <jug@sad.it>
8471
8472         * text.C (nextBreakPoint): use function Inset::isChar().
8473
8474         * paragraph.C (TeXOnePar): use function
8475         Inset::forceDefaultParagraphs.
8476
8477         * buffer.C (latexParagraphs): use function
8478         Inset::forceDefaultParagraphs.
8479
8480 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8481
8482         * lyx_gui.C (init): set the style of the menu popups to
8483         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8484
8485 2002-01-07  Juergen Vigna  <jug@sad.it>
8486
8487         * text.C (setHeightOfRow): small fix
8488         (prepareToPrint): don't look at alignment if we don't have the place
8489         for doing it.
8490
8491 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8492
8493         * box.C: New file. Move the Box methods and functions out of box.h,
8494         following Lars' suggestion.
8495
8496 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8497
8498         * box.h: #include "support/LOstream.h", needed for inlined function.
8499
8500         * lyxtextclass.C:
8501         * lyxtextclasslist.C: added some using std declarations.
8502
8503 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8504
8505         * box.h: make signed dimensions to allow insets wider than
8506           the screen (bug #162)
8507
8508         * BufferView_pimpl.C: add some insetHit debug
8509
8510 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * vc-backend.C: add FIXME
8513
8514 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * lyxfunc.C (getStatus): enable code for showing math font status
8517         in toolbar/menu.
8518
8519 2002-01-07  Juergen Vigna  <jug@sad.it>
8520
8521         * text.C (nextBreakPoint): removed debug output not needed anymore.
8522
8523 2002-01-06  Juergen Vigna  <jug@sad.it>
8524
8525         * text.C (nextBreakPoint): fixed up this function we had this bug
8526         since ever but now hopefully we break row better.
8527         (insertChar): we have to check if an inset is the next char as it
8528         could now happen that a large inset is causing a break.
8529
8530 2002-01-05  Juergen Vigna  <jug@sad.it>
8531
8532         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8533         if it doesn't like to be drawed.
8534
8535 2002-01-04  Juergen Vigna  <jug@sad.it>
8536
8537         * BufferView2.C (lockInset): forgot to set a cursor.
8538
8539         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8540
8541 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8542
8543         * FormMathsPanel.C:
8544         * FormMathsPanel.h
8545         * MathsSymbols.C:
8546         * form_maths_panel.C:
8547         * form_maths_panel.h:
8548         * form_maths_panel.fd: implemented sub- and super- buttons in math
8549         panel.
8550
8551         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8552         (or ^ space) to be used as in TeX (req'd by André).
8553
8554         * lyxfunc.C: Allow ^ and _ again to be used both as
8555         super/subscript (mathed) and as themselves (in text).
8556
8557 2002-01-03  Allan Rae  <rae@lyx.org>
8558
8559         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8560         "LyX" or the filename of the current buffer if it has one.  This is a
8561         modified form of John Levon's patch.
8562
8563         * XFormsView.C (setWindowTitle): also set icon title.
8564
8565         * LyXView.h (setWindowTitle): signature changed.
8566         * XFormsView.h (setWindowTitle): ditto.
8567
8568 2002-01-02  Juergen Vigna  <jug@sad.it>
8569
8570         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8571
8572 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8573
8574         * screen.C (topCursorVisible): introduce a temp var for
8575         text->cursor.row(), handle the case where this row is null. (kindo
8576         hachish)
8577
8578         * text2.C (setCursor): add a couple of asserts.
8579
8580         * paragraph.h (inset_iterator): add -> operator
8581
8582         * paragraph.[Ch] (autoDeleteInsets): remove member function
8583
8584         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8585         cursor pos correctly and handle inset deletion by itself.
8586         (insertErrors): move iterator declaration out of for expression
8587
8588         * lyxtextclass.C: add <algorithm>
8589
8590         * Makefile.am: added the new files to sources, removed layout.C
8591
8592         * layout.C: removed file
8593
8594         * layout.h: remove LYX_DUMMY_LAYOUT
8595
8596         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8597         layout.
8598
8599         * lyxlayout.[Ch]:
8600         * lyxtextclass.[Ch]:
8601         * lyxtextclasslist.[Ch]: new files
8602
8603         * include order changes to a lot of files, also changes because of
8604         the six new files.
8605
8606 2001-12-27  Juergen Vigna  <jug@sad.it>
8607
8608         * buffer.C (asciiParagraph): more fixes.
8609
8610         * tabular.C (ascii): make ascii export support export of only the
8611         data separated by a column-delimiter.
8612         (ascii): better support for ascii export.
8613
8614         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8615
8616 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8617
8618         * tabular_funcs.C: use a "using std::getline" instead of the
8619         previous fix from Angus (necessary for cxx + lyxstring)
8620
8621 2001-12-24  Juergen Vigna  <jug@sad.it>
8622
8623         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8624
8625         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8626         problems. First check a minipage also if we have some ert-contents
8627         (not only on par->size(), second set the right depth of the paragraph
8628         on the relink to the root-paragraph-list!
8629
8630         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8631         which then did not anymore update the main paragraphs on undo/redo!
8632
8633 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8636         code. Support all font-changing funcs (even those which are not in
8637         menu currently). Support for reporting font settings in
8638         mathed (disabled until Andre provides a function on mathed's side).
8639
8640         * func_status.h (toggle): small helper function to set toggle
8641         state on a flag.
8642
8643 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8644
8645         * tabular_funcs.C: getline -> std::getline
8646
8647 2001-12-21  Juergen Vigna  <jug@sad.it>
8648
8649         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8650         accessed and could be 0 (I couldn't generate this but it seems
8651         Michael could!).
8652
8653 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8654
8655         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8656         * tabular_funcs.h: here and include iosfwd
8657
8658 2001-12-20  Juergen Vigna  <jug@sad.it>
8659
8660         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8661         inside inset but undo_par was.
8662
8663 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * Thesaurus.C: always include <config.h> in sources.
8666
8667         * Painter.h:
8668         * lyxlookup.h:
8669         * box.h: do not include <config.h> in header files
8670
8671         * text.C (paintLastRow): remove unused variable
8672
8673         * text.C (transformChar):
8674         (insertChar):
8675         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8676
8677         * Painter.C (text):
8678         * font.C (width): rewrite to use uppercase() instead of
8679         islower/toupper.
8680
8681         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8682
8683 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * lyxfind.C: clean up of find failure position change
8686
8687 2001-12-20  Juergen Vigna  <jug@sad.it>
8688
8689         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8690
8691         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8692         (TeXRow): added to LaTeX a single tabular row.
8693         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8694         (Latex): simplified and finally good LT-h/f support.
8695         (various_functions): just small adaptions for LT-h/f support.
8696
8697         * tabular_funcs.[hC]: added and moved here all not classfunctions
8698         of LyXTabular.
8699
8700 2001-12-19  Juergen Vigna  <jug@sad.it>
8701
8702         * tabular.[Ch]: better support for longtabular options (not finished
8703         yet!)
8704
8705 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * text.C (paintLastRow): use the label font instead of the font of
8708         the last character to compute the size of *_BOX. This makes more
8709         sense and avoids a crash with empty paragraphs.
8710         Use Painter::rectangle to draw EMPTY_BOX.
8711
8712 2001-12-19  Juergen Vigna  <jug@sad.it>
8713
8714         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8715         the paragraphs if the replaced paragraph is not the first one!
8716         Tried to delete not used paragraphs but does not work yet so for
8717         now it's inside #ifdef's and by default off!
8718
8719 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * MenuBackend.C: include "lyx_main.h" instead of declaring
8722         lastfiles (actually was declared as LastFiles* instead of a
8723         scoped_ptr).
8724
8725 2001-12-17  Juergen Vigna  <jug@sad.it>
8726
8727         * tabular.C (AppendColumn): applied John's fix
8728
8729 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView.h:
8732         * BufferView.C:
8733         * BufferView_pimpl.h:
8734         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8735
8736         * Makefile.am:
8737         * box.h: new start of class for above
8738
8739         * lyxfunc.C: ignore space-only minibuffer dispatches.
8740           Show the command name when it doesn't exist
8741
8742         * minibuffer.C: don't add empty lines to the history
8743
8744         * minibuffer.C: add a space on dropdown completion
8745
8746 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8747
8748         * text.C: fix line above/below drawing in insets
8749
8750 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * lyxlength.C (LyXLength): Initialize private variables.
8753
8754 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8755
8756         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8757         when inserting error insets.
8758
8759 2001-12-13  Juergen Vigna  <jug@sad.it>
8760
8761         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8762         actually sometimes the before-paragraph.
8763         (setUndo): don't clear the redostack if we're not actually undoing!
8764
8765 2001-12-06  Juergen Vigna  <jug@sad.it>
8766
8767         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8768         and fixed redoing of main paragraph, so we can use it now ;)
8769
8770         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8771
8772 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8775         Juergen's request
8776
8777 2001-12-13  André Pönitz <poenitz@gmx.net>
8778
8779         * undostack.[Ch]:
8780         * undo_func.C: minor cleanup
8781
8782 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8785         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8786         font in urw-fonts package which is marked as -urw-fontspecific and
8787         does not work (incidentally, changing the encoding in the
8788         fonts.dir of this package to -adobe-fontspecific fixes the
8789         problem).
8790
8791         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8792         is a crash when undoing first paragraph (Juergen, please take a
8793         look). THis does not mean the undo fix is wrong, just that it
8794         uncovers problems.
8795
8796         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8797         the (Paragraph*) version when needed instead of duplicating the
8798         code.
8799
8800         * text.C (workWidth): use Inset::parOwner to find out where the
8801         inset has been inserted. This is a huge performance gain for large
8802         documents with lots of insets. If Inset::parOwner is not set, fall
8803         back on the brute force method
8804
8805         * paragraph_pimpl.C (insertInset):
8806         * paragraph.C (Paragraph):
8807         (cutIntoMinibuffer): set parOwner of insets when
8808         inserting/removing them
8809
8810         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8811
8812 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8813
8814         * commandtags.h:
8815         * LyXAction.C:
8816         * lyx_main.C:
8817         * lyxfunc.C:
8818         * mathed/formulabase.C:
8819         * mathed/math_cursor.[Ch]:
8820         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8821
8822
8823 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * lyxlength.[Ch] (operator!=): new function
8826
8827 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * text.C (workWidth): use Inset::parOwner to find out where the
8830         inset has been inserted. This is a huge performance gain for large
8831         documents with lots of insets. If Inset::parOwner is not set, fall
8832         back on the brute force method
8833
8834         * paragraph_pimpl.C (insertInset):
8835         * paragraph.C (Paragraph):
8836         (cutIntoMinibuffer): set parOwner of insets when
8837         inserting/removing them
8838
8839         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8840
8841 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * tabular-old.C (getTokenValue):
8844         * tabular.C (getTokenValue):
8845         (write_attribute): new versions for LyXLength
8846         (everywhere): adjust the use of widths
8847
8848         * tabular.h: change the type of widths from string to LyXLength
8849
8850 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8851
8852         * paragraph.C: fixed missing line number count when exporting
8853         Environments to LaTeX file
8854
8855         * buffer.C: added informational message for checking line numbers.
8856
8857 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8858
8859         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8860         paragraph, do the 'double space' part, but not the 'empty
8861         paragraph' one.
8862
8863         * text.C (workWidth): small optimization
8864         (getLengthMarkerHeight): use minimal size for negative lengths.
8865
8866 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8867
8868         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8869
8870         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8871
8872 2001-12-11  André Pönitz <poenitz@gmx.net>
8873
8874         * FontLoader.C:
8875         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8876
8877 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * text2.C: keep selection on a setFont()
8880
8881 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8882
8883         * lyx_cb.C: another bv->text misuse, from insert label
8884
8885 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8886
8887         * kbsequence.h:
8888         * kbsequence.C: re-instate nmodifier mask
8889
8890 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8891
8892         * lyx_main.h: make lyxGUI private.
8893
8894 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8895
8896         * lyxfind.C: place the cursor correctly on failed search
8897
8898 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * text.C (getLengthMarkerHeight): for small heights, the arrows
8901         are not always on top/bottom of the text
8902         (drawLengthMarker): smaller arrows; take the left margin in
8903         account; draw also vfills.
8904         (paintFirstRow):
8905         (paintLastRow): remove special code for vfill and standard spaces,
8906         since everything is handled in drawLengthMarker now.
8907
8908 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8909
8910         * buffer.C (insertErtContents): try to handle font and language
8911         interaction a bit better.g
8912
8913         * ColorHandler.C (updateColor): change the hash to cover the whole
8914         LColor enum, ws cleanup
8915         (getGCLinepars): ditto
8916         (getGCLinepars): only lookup in the linecache once.
8917
8918 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8919
8920         * iterators.C (operator++): Make the iterator more robust
8921
8922         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8923         (John's patch)
8924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8925
8926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * lyxtext.h:
8929         * text.C: better added space drawing
8930
8931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * LyXView.C:
8934         * BufferView2.C: fix layout combo update on inset unlock
8935
8936 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8937
8938         * Makefile.am: don't compile unused files
8939
8940 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * lyxfunc.C:
8943         * commandtags.h:
8944         * LyXAction.C: remove old LFUN_LAYOUTNO
8945
8946 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * paragraph_pimpl.h:
8949         * paragraph_pimpl.C: isTextAt() doesn't need font param
8950
8951 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8952
8953         * lyxlex.h:
8954         * lyxlex.C: little cleanup
8955
8956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8957
8958         * BufferView_pimpl.C: fix insertAscii for insets
8959
8960 2001-12-05  Juergen Vigna  <jug@sad.it>
8961
8962         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8963         set the right font on the "multi" paragraph paste!
8964
8965 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8966
8967         * trans_decl.h:
8968         * trans_mgr.[Ch]:
8969         * trans.[Ch]:
8970         * lyxgluelength.C:
8971         * lyxlength.C: remove out-commented code.
8972
8973         * BufferView_pimpl:
8974         * CutAndPaste.C:
8975         * DepTable.C:
8976         * buffer.C:
8977         * chset.C:
8978         * lastfiles.C:
8979         * lyxlex.C:
8980         * lyxlex_pimpl.C:
8981         * lyxserver.C:
8982         * screen.C:
8983         * tabular-old.C:
8984         * tabular.C:
8985         * text.C:
8986         * trans_mgr.C:
8987         * vc-backend.C: change "while(" to "while ("
8988
8989         * lyxlength.[Ch]: add zero function to check if length is zero or
8990         not
8991         * lyxgluelength.C: use it
8992
8993 2001-12-05  Allan Rae  <rae@lyx.org>
8994
8995         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8996         Works for 2.95.3, from what I understand of Garst's reports this should
8997         work for other g++ versions.  We're screwed if the abs(int) definition
8998         changed between bugfix releases of gcc.
8999
9000 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * text.C: fix chapter label offset !
9003
9004 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * lyxtext.h:
9007         * text.C: fix hfill at end of line, clean up
9008
9009 2001-12-04  Juergen Vigna  <jug@sad.it>
9010
9011         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9012         that we force an update of the inset and it's owners if neccessary.
9013
9014 2001-12-03  Juergen Vigna  <jug@sad.it>
9015
9016         * text.C (rowLast): simplified code
9017
9018 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * lyxfunc.C: fix show options on timeout
9021
9022 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9023
9024         * screen.C (topCursorVisible): scroll half a page when the cursor
9025         reached top of bottom of screen
9026
9027 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9028
9029         * minibuffer.C: deactivate on loss of focus
9030
9031 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9032
9033         * vspace.[Ch] (operator!=): add operator.
9034
9035 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9036
9037         * BufferView_pimpl.C: refuse to open an inset when
9038         there's a selection.
9039
9040 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * BufferView_pimpl.C: allow to click on RHS of full row insets
9043
9044 2001-11-30  Juergen Vigna  <jug@sad.it>
9045
9046         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9047         insets for undo reasons.
9048
9049 2001-11-28  André Pönitz <poenitz@gmx.net>
9050
9051         * vspace.[Ch]: cosmetical changes
9052
9053 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * LyXAction.h:
9056         * LyXAction.C:
9057         * lyxfunc.h:
9058         * lyxfunc.C:
9059         * kbmap.h:
9060         * kbmap.C:
9061         * lyxrc.C:
9062         * kbsequence.h:
9063         * kbsequence.C: part re-write of old kb code
9064
9065         * Painter.C:
9066         * WorkArea.C: remove Lgb_bug_find_hack
9067
9068 2001-11-30  José Matos <jamatos@fep.up.pt>
9069
9070         * buffer.C (makeDocBookFile): add a comment to point a hack.
9071         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9072         Fixed a double write of labels.
9073
9074 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9075
9076         * LaTeX.C:
9077         * LaTeX.h Fixed bug in LaTeX class where it would not
9078         re-run latex if no depfiles were changed, but the .dvi was removed.
9079
9080 2001-11-28  André Pönitz <poenitz@gmx.net>
9081
9082         * all the files from the change on 2001/11/26:
9083         use lyx::layout_type instead of LyXTextClass::size_type
9084         use lyx::textclass_type instead of LyXTextClassList::size_type
9085
9086 2001-11-29  Juergen Vigna  <jug@sad.it>
9087
9088         * text.C: added support for paragraph::isFreeSpacing()
9089
9090         * buffer.C: same as above
9091
9092         * paragraph.h: inserted isFreeSpacing() function to enable
9093         FreeSpacing inside InsetERT.
9094
9095         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9096         of the paragraph's in the cut/copy buffer to 0!
9097
9098         * text2.C (removeRow): remove the assert as it can!
9099
9100         * lyxtext.h: added helper function firstRow returning firstrow and
9101         made firstrow private again.
9102
9103         * BufferView2.C (lockInset): don't relock if we're already locked!
9104
9105         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9106         the only paragraph.
9107         (removeRow): added Assert::(firstrow)
9108
9109         * debug.C: forgot to add INSETTEXT here.
9110
9111 2001-11-28  Juergen Vigna  <jug@sad.it>
9112
9113         * sp_spell.C (initialize): changed error text to more general
9114         spellchecker command use (not only ispell!)
9115
9116         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9117
9118         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9119
9120 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * vspace.C: initialise lyxgluelength on failure
9123
9124 2001-11-28  Allan Rae  <rae@lyx.org>
9125
9126         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9127         declaration & definition that looks like a function declaration.
9128
9129 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * BufferView2.C (copy):
9132         (copyEnvironment): do not clear the selection when doing a copy.
9133
9134         * text.C (paintFirstRow): compilation fix
9135
9136 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9137
9138         * tabular.C (Latex): correct line count when writing latex.
9139
9140 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * paragraph_pimpl.h:
9143         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9144           bug a bit
9145
9146 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9147
9148         * text.C:
9149         * LColor.h:
9150         * LColor.C: change vfillline->added_space
9151
9152         * text.C: add markers and text for added space
9153
9154         * vspace.C: fix comment
9155
9156 2001-11-28  André Pönitz <poenitz@gmx.net>
9157
9158         * paragraph.C: whitespace changes
9159         * all the other files from the change on 2001/11/26:
9160         change *::pos_type into lyx::pos_type
9161
9162 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9163
9164         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9165         language of the document when inserting error insets.
9166
9167 2001-11-26  André Pönitz <poenitz@gmx.net>
9168
9169         * BufferView_pimpl.[Ch]:
9170         *       CutAndPaste.C:
9171         * buffer.[Ch]:
9172         * lyxcursor.[Ch]:
9173         * lyxfind.C:
9174         * lyxfunc.C:
9175         * lyxrow.[Ch]:
9176         * paragraph.[Ch]:
9177         * paragraph_pimpl.[Ch]:
9178         * sp_spell.C:
9179         * text.C:
9180         * text2.C: reduce header dependencies, introduce type for positions
9181
9182 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * <various>: change to use Alert.h
9185
9186 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9187
9188         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9189         when encountering an unknown token.
9190         (readLyXformat2): Show an error message if there were unknown tokens.
9191
9192 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * BufferView2.C:
9195         * BufferView_pimpl.C:
9196         * buffer.C:
9197         * paragraph.h:
9198         * text.C:
9199         * text2.C: use par->isInset()
9200
9201 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * paragraph_pimpl.h:
9204         * paragraph_pimpl.C: cleanup
9205
9206 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9207
9208         * text2.C (removeRow):
9209         * text.C (setHeightOfRow): remove useless (and costly) call to
9210         getRow.
9211
9212 2001-11-20  Allan Rae  <rae@lyx.org>
9213
9214         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9215         Now need Inset*::checkInsertChar() to return true for appropriate
9216         cases so that the characters in the minibuffer will actually be
9217         inserted.
9218
9219 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * text.C: change the order of the includes.
9222         (workWidth): initialize it at once.
9223         (workWidth): make maxw unsigned
9224         (setHeightOfRow): remove unused variable (inset)
9225         (selectSelectedWord): remove unused variable (inset)
9226         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9227
9228 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9229
9230         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9231         server is not running.
9232         (openConnection):
9233         (closeConnection): add debug info when server is disabled.
9234
9235         * ColorHandler.C (getGCForeground): send debug message to GUI
9236         channel.
9237
9238         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9239
9240         * kbmap.C (bind): modify because return conventions of
9241         kb_sequence::parse have changed.
9242
9243         * kbsequence.C (parse): only ignore spaces and not any stupid
9244         control character. This avoids tests like s[i] <= ' ', which are
9245         guaranteed to fail with 8bit characters and signed chars.
9246         Change return code to string::npos when there have been no error
9247         (0 was a bad idea when error is at first character)
9248
9249 2001-11-14  José Matos  <jamatos@fep.up.pt>
9250
9251         * buffer.h:
9252         * buffer.C (simpleDocBookOnePar): removed unused argument.
9253
9254 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9255
9256         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9257         insets which are part of a word. Paragraph::isLetter takes care of
9258         that now. Use Paragraph::isInset to identify insets.
9259         (selectSelectedWord): do not test for hyphenation break.
9260
9261         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9262         that protected spaces are considered as spaces.
9263
9264         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9265         Inset::isLetter.
9266
9267 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * lyxserver.h:
9270         * lyxserver.C: fix it. and small cleanup.
9271
9272 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * BufferView_pimpl.C: use inline helpers
9275
9276         * LaTeXFeatures.h:
9277         * LaTeXFeatures.C: fix typos
9278
9279         * Spacing.h:
9280         * Spacing.C: move spacing_string into class
9281
9282         * ToolbarDefaults.C: move stuff into namespace anon
9283
9284         * layout.h: update enum
9285
9286         * lyxfunc.C: use better debug
9287
9288         * minibuffer.h: fix typo
9289
9290         * debug.h:
9291         * debug.C:
9292         * WorkArea.C: add and use Debug::WORKAREA
9293
9294         * lyxtext.h:
9295         * text.C:
9296         * text2.C: code re-organisation, inline helpers
9297
9298 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9299
9300         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9301         std::vector.empty().
9302
9303 2001-11-09  Allan Rae  <rae@lyx.org>
9304
9305         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9306         '\n's after tables.  Tabular and ERT inset work now makes this no
9307         longer necessary.
9308
9309 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * minibuffer.h:
9312         * minibuffer.C: fix crash, improve drop-down completion
9313
9314 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * lyxserver.h:
9317         * lyxserver.C: invalidate fd's when doing endPipe()
9318
9319 2001-11-08  José Matos  <jamatos@fep.up.pt>
9320
9321         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9322         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9323
9324         * paragraph.h:
9325         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9326
9327 2001-11-07  José Matos  <jamatos@fep.up.pt>
9328
9329         * buffer.h:
9330         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9331         const qualifier.
9332
9333         * buffer.C (sgmlOpenTag):
9334         * buffer.C (sgmlCloseTag): removed debug info.
9335
9336         * buffer.h (sgmlOpenTag):
9337         * buffer.h (sgmlCloseTag): made public.
9338
9339 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9340
9341         * buffer.C (saveParamsAsDefaults):
9342         * lyx_cb.C (MenuLayoutSave): remove
9343
9344         * LyXAction.C (init):
9345         * commandtags.h:
9346         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9347
9348 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9349
9350         * buffer.C (setPaperStuff): removed from here...
9351
9352         * bufferparams.C (setPaperStuff): ... and moved there.
9353
9354 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * minibuffer.h:
9357         * minibuffer.C:
9358         * XFormsView.C: add support for drop-down completion
9359
9360 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9361
9362         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9363         commands.
9364
9365 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9366
9367         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9368         disabled.
9369
9370 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9371
9372         * lyx_main.C: change ref to known bugs
9373
9374 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9375
9376         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9377         to work around older babel problems.
9378
9379 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9380
9381         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9382
9383 2001-10-24  Juergen Vigna  <jug@sad.it>
9384
9385         * tabular-old.C (ReadOld): below variable changes reflected.
9386
9387         * tabular.[Ch]: added ltType struct for longtable header/footer
9388         defines and changed all instances where they are used. Added
9389         future support for double top/bottom rows.
9390
9391 2001-10-24  José Matos  <jamatos@fep.up.pt>
9392
9393         * buffer.h (docbookHandleCaption):
9394         * buffer.C (docbookHandleCaption): removed unused function.
9395         (makeDocBookFile): moved docbook supported version to v4.1.
9396
9397 2001-10-24  José Matos  <jamatos@fep.up.pt>
9398
9399         * tabular.h:
9400         * tabular.C (docbookRow): new function to export docbook code of a row.
9401         (DocBook): now honors the longtable flags.
9402
9403 2001-10-23  José Matos  <jamatos@fep.up.pt>
9404
9405         * LaTeXFeatures.h:
9406         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9407         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9408
9409         * buffer.C (makeLinuxDocFile):
9410         (makeDocBookFile): reworked the preamble, more clean, and with
9411         support for lyx defined entities. Changed the document declaration
9412         to be more XML friendly.
9413
9414         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9415         if we need to output XML that should be done with a filter.
9416
9417 2001-10-22  Juergen Vigna  <jug@sad.it>
9418
9419         * sp_pspell.h (class PSpell): add alive function needed in the
9420         controller to see if the spellchecker could be started.
9421
9422 2001-10-22  Juergen Vigna  <jug@sad.it>
9423
9424         * buffer.C (insertStringAsLines): modify the font for inserting
9425         chars in certain conditions by calling checkInsertChar(font).
9426
9427 2001-10-19  Juergen Vigna  <jug@sad.it>
9428
9429         * text.C (workWidth): use getRow instead of wrong algorithm.
9430         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9431
9432 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * lyxserver.h:
9435         * lyxserver.C:
9436         * lyx_main.h:
9437         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9438
9439 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9440
9441         * text.C (workWidth): do not search for the exact row when
9442         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9443         optimization for big documents.
9444
9445 2001-10-18  Juergen Vigna  <jug@sad.it>
9446
9447         * text.C (workWidth): new function with added Inset * parameter.
9448
9449 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9450
9451         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9452
9453         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9454         change return type of getColumnNearX.
9455
9456
9457         * text.C (changeRegionCase): use uppercase/lowercase instead of
9458         toupper/tolower.
9459         (leftMargin):
9460         (rightMargin): simplify code by factoring out the uses of
9461         textclasslist.
9462         (labelFill):
9463         (numberOfHfills):
9464         (setHeightOfRow):
9465         (appendParagraph): use Paragraph::size_type
9466
9467 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9468
9469         * vspace.C (asLatexString): add a missing break
9470
9471 2001-10-15  Herbert Voss  <voss@perce.de>
9472
9473         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9474
9475 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9476
9477         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9478         is not available.
9479
9480 2001-10-10  André Pönitz <poenitz@gmx.net>
9481
9482         * lyxfunc.C: removed greek_kb_flag.
9483
9484 2001-10-10  Herbert Voss  <voss@perce.de>
9485
9486         * lyx_main.C: delete global string help_lyxdir.
9487
9488 2001-10-09  Herbert Voss  <voss@perce.de>
9489
9490         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9491
9492         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9493
9494         * lyx_main.C: added global string help_lyxdir.
9495
9496         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9497
9498 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9499
9500         * lyxrc.C (set_font_norm_type): support iso8859-4
9501
9502 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9503
9504         * LaTeX.C (deplog): add another regex for MikTeX
9505
9506 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9507
9508         * lyxrc.C (set_font_norm_type): support iso8859-3
9509
9510 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9511
9512         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9513
9514         * LaTeXFeatures.C: remove special case of french and index
9515
9516         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9517         before \begin{document}). This solves several incompatibilities.
9518
9519 2001-10-03  Garst Reese  <reese@isn.net>
9520
9521         * lyx_cb.C: change CheckTex error msg.
9522
9523 2001-10-03  José Matos  <jamatos@fep.up.pt>
9524
9525         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9526
9527 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9528
9529         * .cvsignore: update
9530
9531         * lyx_main.C (commandLineVersionInfo): use new style version info.
9532
9533         * buffer.C (writeFile):
9534         (makeLaTeXFile):
9535         (makeLinuxDocFile):
9536         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9537
9538         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9539
9540         * version.h: update to use stuff in version.C
9541
9542         * version.C.in: new file. Contains version information determined
9543         at compile time. This is a merging of version.h and
9544         version_info.h.in.
9545
9546 2001-10-03  Juergen Vigna  <jug@sad.it>
9547
9548         * BufferView_pimpl.C (update): don't change "dirty" status in
9549         updateInset call.
9550
9551 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9552
9553         * WorkArea.C (c-tor): re-position version string slightly.
9554
9555 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9556
9557         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9558         revert to previous code.
9559
9560         WorkArea.[Ch]: (show, destroySplash): methods removed.
9561
9562         WorkArea.C: rework code so that it's an amalgam of the codes before and
9563         after the splash screen was moved to WorkArea.
9564
9565 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9566
9567         * lyxrc.C (read):
9568         * vspace.C (inPixels):
9569         (lyx_advance):
9570         * kbmap.C (bind):
9571         * buffer.C (insertStringAsLines):
9572         (asciiParagraph): fix types to be large enough
9573
9574         * lyxlex_pimpl.h: change member status from short to int
9575
9576         * layout.h: fix type of endlabeltype
9577
9578         * kbmap.C (bind):
9579         * kbsequence.C (parse): change return type to string::size_type
9580
9581         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9582         variable
9583
9584         * Bullet.C (bulletSize):
9585         (bulletEntry): do not use short ints as parameters
9586
9587         * BufferView2.C (insertLyXFile): change a char to an int.
9588
9589         * WorkArea.C (WorkArea): remove unneeded floats in computation
9590
9591 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9592
9593         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9594
9595         * paragraph.C (asString): Do not ignore newline/hfill chars when
9596         copying to the clipboard.
9597
9598 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9599
9600         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9601         after a multi-line inset.
9602
9603 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9604
9605         * paragraph.C (validate): Set NeedLyXFootnoteCode
9606
9607 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9608
9609         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9610         and decrease-error to decrease.
9611
9612 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9613
9614         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9615         it more readable (should be equivalent)
9616
9617 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9618
9619         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9620
9621 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9622
9623         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9624         of a cursor (row, etc.) after a character has been deleted
9625         (deleteEmptyParagraphMechanism): call the method above on _all_
9626         cursors held by the LyXText when a double space has been
9627         detected/deleted.
9628
9629 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9630
9631         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9632         pixmap.
9633         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9634
9635         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9636         background. Use greyOut() and the new show() methods to toggle between
9637         the foreground and background. Add code to remove the splash after
9638         its initial showing.
9639
9640         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9641         (create_forms): no longer call Dialogs::showSplash.
9642
9643 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9644
9645         * .cvsignore: add version_info.h
9646
9647 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9648
9649         * version_info.h.in: new file
9650
9651         * Makefile.am: add version_info.h.in
9652
9653         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9654         version_info.h instead of VERSION_INFO
9655
9656 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9657
9658         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9659         The ERT inset now returns string().
9660
9661 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9662
9663         * lyxtext.h, text.C (selectNextWord): renamed as
9664         selectNextWordToSpellcheck.
9665
9666         * text.C (selectNextWordToSpellcheck): Modified to not select
9667         words inside an ERT inset.
9668
9669 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9670
9671         * lyx_cb.C (MenuLayoutSave): change a bit the question
9672
9673         * sp_base.h: include <sys/types.h>
9674
9675 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9676
9677         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9678
9679 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9680
9681         * several files: fix typos in user-visible strings
9682
9683 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9684
9685         * text2.C (pasteSelection): do not set the selection, since it
9686         will be cleared later. Actually, the intent was to fix the way the
9687         selection was set, but I figured rmoving the code was just as good.
9688
9689 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * FontLoader.C (available): Check if font is available without
9692         loading the font.
9693
9694 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9695
9696         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9697
9698 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9699
9700         * lyxrc.[Ch]: added display_graphics variable and associated code.
9701
9702 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9703
9704         * bufferparams.C (hasClassDefaults): new method. Returns true if
9705         the buffer parameters correspond to known class defaults
9706
9707 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9708
9709         * XFormsView.C (show): set minimum size to the main window.
9710
9711 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9712
9713         * text2.C (copySelection):
9714         (cutSelection):
9715         * lyxfind.C (LyXReplace):
9716         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9717         LyXText::selectionAsString.
9718
9719         * paragraph.C (asString): add "label" argument to the second form
9720
9721         * text2.C (selectionAsString): add "label" argument and pass it to
9722         Paragraph::asString.
9723
9724 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * lyx_main.C (commandLineHelp): remove version information
9727
9728 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9729
9730         * lyx_main.C: add -version commandline option
9731
9732 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9733
9734         * paragraph.h: make the optional constructor arg required instead.
9735         some modifications to other files because of this.
9736
9737         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9738
9739         * lyxserver.C (C_LyXComm_callback): make it static
9740
9741         * lyx_main.C (error_handler): make it static
9742
9743         * lyx_gui.C (LyX_XErrHandler): make it static
9744
9745         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9746
9747         * WorkArea.C: make the extern "C" methods static.
9748
9749         * Makefile.am (lyx_LDADD): simplify
9750
9751 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9752
9753         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9754         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9755
9756         * LyXAction.C (init):
9757         * lyxfunc.C (dispatch): associated code removal.
9758
9759 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9760
9761         * lyxfont.h (isSymbolFont): shut off warning
9762
9763         * text.C (setHeightOfRow):
9764         (getVisibleRow): fix crash with empty paragraphs which have a
9765         bottom line
9766
9767 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9768
9769         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9770         code.
9771
9772 2001-09-04  José Matos  <jamatos@fep.up.pt>
9773         * buffer.C
9774         * buffer.h
9775         * tabular.C (docbook): rename docBook method to docbook.
9776
9777 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9778
9779         * Makefile.am: add dependencies to main.o.
9780
9781 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9782
9783         * FontLoader.C (available): Return false if !lyxrc.use_gui
9784
9785 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9786
9787         * FontInfo.C (query):
9788         * converter.C (view):
9789         * importer.C (Import):
9790         * exporter.C (Export): Can not -> cannot.
9791
9792 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * BufferView_pimpl.C: allow to create index inset even if
9795           string is empty
9796
9797 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9798
9799         * buffer.C (getLists): replace boost::tie code with an explicit pair
9800         as boost::tie can break some compilers.
9801
9802         * iterators.h: Added a std:: declaration to the return type of
9803         ParIterator::size.
9804
9805 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9808           case.
9809
9810 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9811
9812         * iterators.[Ch]: New files. Provide paragraph iterators.
9813
9814         * buffer.C (changeLanguage): Use paragraph iterators.
9815         (isMultiLingual): ditto
9816
9817         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9818
9819 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9820
9821         * FontLoader.C: Support for cmr font.
9822
9823 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9824
9825         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9826         (available): New method.
9827
9828         * FontInfo.C (getFontname): Use scalable fonts even when
9829         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9830         found.
9831
9832 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * converter.C (Formats::view): reverted! Incorrect fix.
9835
9836 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9837
9838         * converter.C (Formats::view): only output the -paper option
9839         if the dvi viewer is xdvi, thereby fixing bug #233429.
9840
9841 2001-08-23  Herbert Voss  <voss@perce>
9842
9843         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9844
9845 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9846
9847         * Spacing.h (Spacing): Set space to Default on in the default
9848         constructor.
9849
9850 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * vc-backend.h (RCS::versionString): add RCS to version
9853         (CVS::versionString): add CVS to version
9854
9855         * vc-backend.C (scanMaster): do not add CVS to version.
9856         (scanMaster): do not add RCS to version
9857
9858         * lyxvc.C (versionString): new method
9859
9860         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9861
9862 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9863
9864         * Spacing.C (set): initialize fval
9865
9866 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9867
9868         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9869         " or \.
9870
9871 2001-08-16  Juergen Vigna  <jug@sad.it>
9872
9873         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9874
9875 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * BufferView_pimpl.C:
9878         * figureForm.C:
9879         * lyxtext.h:
9880         * text2.C: setParagraph takes linespacing now
9881
9882 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * LyxAction.C: add internal LFUN_CITATION_INSERT
9885
9886         * LyXView.C: actually apply fix
9887
9888         * bufferlist.C: fix open non-existent file
9889
9890         * lyxfind.C: fix indentation
9891
9892         * lyxfunc.C: remove unneeded assert, fix typo
9893
9894 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * MenuBackend.C: use "Floatname List"
9897
9898 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9901         when converting LaTeX layout to insetERT.
9902         Generate a non-collapsed float when reading old float
9903
9904 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9905
9906         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9907         ERT insets.
9908
9909 2001-08-13  Juergen Vigna  <jug@sad.it>
9910
9911         * text.C (fill): return 0 instead of 20 as this seems to be the more
9912         correct value.
9913
9914 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9915
9916         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9917         lyxrc.font_norm.
9918
9919 2001-08-13  Juergen Vigna  <jug@sad.it>
9920
9921         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9922         casesensitive off.
9923         (SearchBackward): comment out the unlocking of the inset_owner this
9924         should not be needed!
9925
9926 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * Many files: Remove inherit_language, and add latex_language
9929
9930         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9931         collapsible insets.
9932
9933 2001-08-10  Juergen Vigna  <jug@sad.it>
9934
9935         * text.C (prepareToPrint): fixed hfill-width in draw!
9936
9937         * BufferView2.C (selectLastWord): save the selection cursor as this
9938         now is cleared in the function LyXText::clearSelection!
9939
9940 2001-08-08  Juergen Vigna  <jug@sad.it>
9941
9942         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9943         BACKSPACE type functions.
9944
9945         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9946         is only cutted from the document but not put in the cut-buffer, where
9947         still the old stuff should be.
9948
9949         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9950
9951         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9952
9953         * tabular.C (SetWidthOfCell): fixed special case where the width
9954         was not updated!
9955         (LeftLine): handle '|' in align_special.
9956         (RightLine): ditto
9957         (LeftAlreadyDrawed): ditto
9958         (SetWidthOfCell): ditto
9959
9960 2001-08-07  Juergen Vigna  <jug@sad.it>
9961
9962         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9963
9964 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9965
9966         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9967         * lyxlex.[hC]: ditto
9968
9969 2001-08-06  Juergen Vigna  <jug@sad.it>
9970
9971         * text.C (getVisibleRow): fix up row clearing a bit.
9972
9973 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9974
9975         * minibuffer.C: make sure the X server sees the changes in the input.
9976
9977 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9978
9979         * paragraph.C (getFont): split into...
9980         (getLabelFont): this
9981         (getLayoutFont): and this
9982         * paragraph_pimpl.C (realizeFont): calling this
9983
9984         * text2.C (getFont): split into...
9985         (getLayoutFont): this
9986         (getLabelFont): and this
9987         (realizeFont): all three calling this
9988
9989         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9990         files where used.
9991
9992 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9993
9994         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9995
9996 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9997
9998         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9999         layouts from the Quote inset insertion.
10000
10001 2001-08-03  Juergen Vigna  <jug@sad.it>
10002
10003         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10004
10005         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10006         only if status not is already CHANGED_IN_DRAW (second level).
10007
10008         * text.C (draw): don't set the need_break_row when inside an
10009         InsetText LyXText.
10010
10011 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10012
10013         * buffer.C (parseSingleLyXformat2Token): handle more latex
10014         conversion cases.
10015
10016         * bufferview_funcs.[hC]: change function names to
10017         begin with small char, adjust other files.
10018
10019 2001-08-02  André Pönitz <poenitz@gmx.net>
10020
10021         * lyxfunc.C:
10022         BufferView_pimpl.C: remove broken special code for math-greek
10023
10024 2001-08-02  Juergen Vigna  <jug@sad.it>
10025
10026         * BufferView_pimpl.C (update): redone this function so that we
10027         update the text again if there was a CHANGE_IN_DRAW.
10028
10029         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10030         (drawFromTo): added a new internal bool which is used by draw() and
10031         redraw() function.
10032         (general): some cursor drawing problems fixed.
10033
10034 2001-08-01  Juergen Vigna  <jug@sad.it>
10035
10036         * lyxfind.C (LyXFind): fixed
10037         (SearchForward): ditto
10038         (SearchBackward): ditto
10039
10040         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10041         spurius drawing of the cursor in the main area.
10042
10043         * text2.C (status): small fix which could lead to a segfault!
10044         (clearSelection): remove unneeded BufferView param.
10045
10046 2001-08-01  André Pönitz <poenitz@gmx.net>
10047
10048         * lyxfunc.C: small change due to changed mathed interface
10049
10050 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10051
10052         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10053
10054 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * lyxfunc.c: fail gracefully if file doesn't exist
10057
10058         * LyXSendto.C:
10059         * buffer.C:
10060         * lyxfunc.C:
10061         * BufferView_pimpl.C: IsDirWriteable() proto changed
10062
10063         * LyXView.C: fix updateWindowTitle() to store the last title
10064
10065 2001-07-31  Juergen Vigna  <jug@sad.it>
10066
10067         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10068         the font (wrong since using of Paragraph::highestFontInRange).
10069
10070         * paragraph.C (highestFontInRange): added a default_size parameter.
10071
10072         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10073         (setHeightOfRow): reformat
10074
10075 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * converter.[hC] + affected files: move to (inital-char)lowercase
10078         function names.
10079
10080         * ParagraphParameters.C (ParagraphParameters): remove commented code
10081
10082         * PainterBase.[Ch]: remove commented code
10083
10084         * LaTeXFeatures.h: add "bool floats" for float.sty
10085
10086         * LaTeXFeatures.C (LaTeXFeatures): init floats
10087         (require): handle float
10088         (getPackages): do it with floats
10089
10090 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10091
10092         * BufferView_pimpl.C (Dispatch): improve handling of
10093         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10094
10095         * commandtags.h: #include lyxfont.h here temporarily to avoid
10096         keybinding bug.
10097
10098         * bufferlist.h: include LString.h here.
10099
10100 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10101
10102         * text2.C (getStringToIndex): new method.
10103
10104 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10105
10106         * *: Reduced header file dependencies all over.
10107
10108 2001-07-30  Baruch Even  <baruch@lyx.org>
10109
10110         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10111
10112 2001-07-29  Baruch Even  <baruch@lyx.org>
10113
10114         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10115
10116 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10117
10118         * ParameterStruct.h (endif): add a default constructor to make
10119         sure that all variables is initialized.
10120
10121         * ParagraphParameters.C (ParagraphParameters): adjust
10122
10123 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10126         index; also, check that there is something to index, and that it
10127         does not span over several paragraphs.
10128         (doubleClick): use WHOLE_WORD_STRICT for double click.
10129
10130         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10131
10132         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10133         scheme.
10134
10135 2001-07-26  Baruch Even  <baruch@lyx.org>
10136
10137         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10138         an InsetFig figure, backwards compatible reading of old figure code.
10139
10140 2001-07-27  Juergen Vigna  <jug@sad.it>
10141
10142         * text2.C: font.realize function adaption.
10143
10144         * text.C (draw): add a warnings lyxerr text if needed.
10145
10146         * layout.C: font.realize function adaption.
10147
10148         * language.C: add inherit_language and implement it's handlings
10149
10150         * bufferview_funcs.C (StyleReset): remove language parameter from
10151         font creation (should be language_inherit now).
10152
10153         * bufferparams.C (writeFile): handle ignore_language.
10154
10155         * paragraph.C (getFontSettings): the language has to be resolved
10156         otherwise we have problems in LyXFont!
10157
10158         * lyxfont.C (lyxWriteChanges): added document_language parameter
10159         (update): removed unneeded language parameter
10160
10161         * paragraph.C (validate): fixed wrong output of color-package when
10162         using interface colors for certain fonts in certain environments,
10163         which should not seen as that on the final output.
10164
10165 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * BufferView_pimpl.C:
10168         * Thesaurus.h:
10169         * Thesaurus.C:
10170         * Makefile.am:
10171         * commandtags.h:
10172         * LyXAction.C: add thesaurus support
10173
10174         * lyxfind.h:
10175         * lyxfind.C: add "once" parameter, for thesaurus, to not
10176           move to the next match
10177
10178 2001-07-26  Juergen Vigna  <jug@sad.it>
10179
10180         * lyxfont.C (realize): honor ignore_language too!
10181         (resolved): ditto.
10182
10183         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10184
10185         * text.C (draw): one place more for ignore_language to not draw
10186         itself!
10187
10188 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10189
10190         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10191
10192 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10193
10194         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10195         the minipage conversion problem.
10196
10197 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10198
10199         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10200         insert an inset.
10201
10202 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10203
10204         * BufferView.h: don't forward declare WorkArea
10205
10206         * BufferView.C: don't include WorkArea.h
10207
10208 2001-07-25  André Pönitz <poenitz@gmx.net>
10209
10210         * commandtags.h:
10211         * LyXAction.C:
10212         * lyxfunc.C:  new LFUN 'math-space'
10213
10214         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10215
10216 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * text2.C (toggleInset): call open/close
10219
10220 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * lyxfunc.C (dispatch): add debug for the disabled case
10223
10224         * font.C (buttonText): make similar to rectText
10225
10226         * buffer.C (readInset): comment out parsing of insetlist and
10227         insttheorem
10228
10229         * PainterBase.C (rectText): small correction
10230
10231         * BufferView_pimpl.C: comment out insettheorem and insetlist
10232         * LyXAction.C: ditto
10233         * commandtags.h: ditto
10234
10235 2001-07-24  Juergen Vigna  <jug@sad.it>
10236
10237         * text.C (draw): honor the ignore_language.
10238
10239         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10240
10241 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10242
10243         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10244         char inset.
10245
10246 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10247
10248         * lyxtext.h: remove unused (and unimplemented) methods
10249
10250 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10251
10252         * text.C (getVisibleRow): honor background color
10253
10254         * PainterBase.h:
10255         * Painter.h: remove default color argument for fillRectangle
10256
10257         * text.C (backgroundColor): new method
10258
10259 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10260
10261         * text.C (getVisibleRow): adjust
10262
10263         * font.[Ch] (rectText): new method, metrics
10264         (buttonText): new method, metrics
10265
10266         * PainterBase.[hC]: make rectText and buttonText always draw and take
10267         fewer paramteres.
10268
10269 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10270
10271         * ToolbarDefaults.C (read):
10272         * MenuBackend.C (read): allow escaping in all strings
10273
10274         * BufferView_pimpl.C (insertAndEditInset): new method.
10275         (Dispatch): use insertAndEditInset whenever appropriate.
10276
10277         * BufferView_pimpl.C (insertNote): removed
10278
10279         * BufferView_pimpl.C (smartQuote): new method, moved from
10280         BufferView; if an insetquote cannot be inserted, insert a '"'
10281         character instead.
10282
10283         * BufferView2.C: remove insertCorrectQuote();
10284
10285         * lyxfunc.C (getStatus): Add support for all remaingin
10286         inset-insert lfuns.
10287
10288         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10289
10290         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10291         command (necessary to pass " as parameter of self-insert.
10292
10293         * text.C (selectWordWhenUnderCursor):
10294         (selectWord): add word_location parameter
10295         (selectWordWhenUnderCursor): same + remove special code for word
10296         boundary.
10297         (selectNextWord): use kind() to guess type of insetspecialchar,
10298         not latex().
10299
10300         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10301         (insertErtContents): create ert insets as collapsed.
10302         (readInset): better compatibility code for Info inset.
10303
10304 2001-07-20  Juergen Vigna  <jug@sad.it>
10305
10306         * lyxfunc.C (dispatch): use always LyXFind now!
10307
10308         * text2.C (init): add a reinit flag so that the LyXText can be
10309         reinited instead of deleted and reallocated (used in InsetText).
10310
10311         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10312
10313         * text.C: ditto
10314
10315         * text2.C: ditto
10316
10317 2001-07-18  Juergen Vigna  <jug@sad.it>
10318
10319         * text.C (selectNextWord): handle insets inside inset by calling
10320         always the bv->text functions so that we can go up the_locking_inset!
10321
10322         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10323         in strange locations when inside an inset!
10324
10325         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10326         handling to include insets.
10327
10328         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10329
10330 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10331
10332         * LyXAction.C (init):
10333         * commandtags.h:
10334         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10335         LIGATURE_BREAK, since the name is so stupid.
10336
10337 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10340         InsetInfos.
10341
10342         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10343
10344         * sp_form.[Ch]: remove.
10345
10346         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10347
10348         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10349         InsetInfo.
10350
10351         * src/buffer.C (readInset): ditto.
10352
10353 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10354
10355         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10356         menuSeparator(), endOfSentenceDot(), ldots() and
10357         hyphenationPoint(), which are therefore removed.
10358         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10359
10360         * LyXAction.C (init):
10361         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10362
10363         * paragraph.C (getWord): removed.
10364
10365         * BufferView_pimpl.C (Dispatch): use last word or selection for
10366         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10367
10368         * lyx_main.C (queryUserLyXDir): do not ask before creating
10369         user_dir, except if it has been named explicitely.
10370
10371 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10372
10373         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10374         a document of zero size.
10375
10376 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10377
10378         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10379         approriately in the c-tor and in require().
10380         (getPackages): output the appropriate LaTeX for natbib support.
10381
10382         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10383         variables "use_natbib" and "use_numerical_citations" when reading the
10384         LyX file.
10385         (readInset): read the various natbib cite commands.
10386         (validate): white-space change.
10387
10388         * bufferparams.[Ch]: new variables "bool use_natbib" and
10389         "bool use_numerical_citations".
10390         (writeFile): output them in the LyX file.
10391
10392 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10393
10394         * lyxfunc.C (getStatus): add support for all the inset insertion
10395         commands.
10396
10397         * text2.C (insertInset):
10398         * paragraph.C (insetAllowed):
10399         * BufferView_pimpl.C (insertInset): update to take in account the
10400         renaming of insertInsetAllowed
10401
10402         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10403
10404         * text2.C (getInset): new method. returns inset at cursor position.
10405
10406         * BufferView_pimpl.C (Dispatch): changes because of this.
10407
10408         * LyXAction.C (init): rename open-stuff to inset-toggle.
10409
10410         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10411
10412         * text2.C (toggleInset): renamed from openStuff; use
10413         Inset::open().
10414
10415 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10416
10417         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10418
10419         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10420
10421 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * buffer.C (readLyXformat2): Add filename to the error dialog
10424
10425 2001-07-18  Juergen Vigna  <jug@sad.it>
10426
10427         * tabular.C (GetCellNumber): put an assert here instead of the check!
10428
10429 2001-07-17  Juergen Vigna  <jug@sad.it>
10430
10431         * BufferView_pimpl.C (toggleSelection): adapted too.
10432
10433         * text.C (selectNextWord): adapted for use with insets.
10434         (selectSelectedWord): ditto
10435
10436 2001-07-17  Juergen Vigna  <jug@sad.it>
10437
10438         * sp_spell.C (PSpell): fix initialitation order.
10439
10440 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10441
10442         * paragraph.C: spacing
10443
10444 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10445
10446         * sp_spell.C: repair language selection for pspell
10447
10448 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10449
10450         * lyxfunc.h: change more methods to begin with lower char.
10451
10452 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10453
10454         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10455         for unknown layouts.
10456
10457 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10458
10459         * buffer.C (readLyXformat2): Generate an error dialog if there are
10460         unknown layouts.
10461
10462 2001-07-16  Juergen Vigna  <jug@sad.it>
10463
10464         * sp_spell.C: always compile ISpell part.
10465
10466         * lyxrc.C: added use_pspell entry and it's handling.
10467
10468 2001-07-13  Juergen Vigna  <jug@sad.it>
10469
10470         * sp_spell.C: removed double includes.
10471
10472 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10473
10474         Consistent use of Lsstream.h:
10475         * Lsstream.h: added using std::stringstream for consistencies sake.
10476
10477         * buffer.C: removed using std::stringstream
10478
10479         * lyxfont.C (stateText):
10480         * paragraph.C (asString):
10481         * text.C (selectNextWord, selectSelectedWord):
10482         * text2.C (setCounter):
10483         * vspace.C (asString, asLatexString):
10484         std::ostringstream -> ostringstream.
10485
10486 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10487
10488         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10489         * commandtags.h: add LFUN_HELP_ABOUTLYX
10490         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10491
10492 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10493
10494         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10495         cursorToggle()
10496         * lyx_gui_misc.C: remove spellchecker
10497         * lyxfunc.C: showSpellchecker
10498         * sp_base.h: added
10499         * sp_ispell.h: added
10500         * sp_pspell.h: added
10501         * sp_spell.C: added
10502         * sp_form.[Ch]: removed
10503         * spellchecker.[Ch]: removed
10504
10505 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10506
10507         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10508         is set.
10509         (simpleTeXSpecialChars): Simply print the input character without
10510         any special translation if pass_thru is set.
10511
10512         * layout.h: Added bool pass_thru to layout class for being able to
10513         implement pass through of a paragraph for Literate Programming.
10514
10515         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10516         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10517         * layout.C (Read): add "passthru" to list of layout tags and add
10518         code to set the pass_thru boolean when it is read.
10519
10520 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * trans_decl.h: remove allowed from KmodInfo
10523
10524         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10525         remove allowed code
10526         (Load): adjust
10527
10528         * paragraph_pimpl.C (erase): use boost::prior
10529
10530         * Painter.C (text): use data() instead of c_str() when length is
10531         also provided.
10532         * WorkArea.C (putClipboard): ditto
10533         * font.h (width): ditto
10534
10535         * BufferView2.C: use it-> instead of (*it). for iterators
10536         * texrow.C: ditto
10537         * paragraph_pimpl.C: ditto
10538         * paragraph.C: ditto
10539         * minibuffer.C: ditto
10540         * language.C: ditto
10541         * kbmap.C: ditto
10542         * encoding.C: ditto
10543         * counters.C: ditto
10544         * converter.C: ditto
10545         * chset.C: ditto
10546         * Variables.C: ditto
10547         * TextCache.C: ditto
10548         * MenuBackend.C: ditto
10549         * LyXAction.C: ditto
10550         * LColor.C: ditto
10551         * FloatList.C: ditto
10552         * DepTable.C: ditto
10553         * ColorHandler.C (LyXColorHandler): ditto
10554
10555 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10556
10557         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10558
10559         * text2.C (openStuff): reintroduce this method (which had been
10560         nuked in NEW_INSETS frenzy).
10561
10562         * lyxfunc.C (Dispatch): when an action has not been handled, use
10563         its name in the error message, not its number.
10564
10565         * paragraph.C (inInset): change method name to begin with lowercase.
10566
10567         * undo_funcs.C:
10568         * text2.C: updates because of this.
10569
10570 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10571
10572         * ToolbarDefaults.C (add): add spaces in error message
10573
10574 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10577         (readLyXformat2): rename return_par to first_par, use lyxlex's
10578         pushToken and remove the manual push handling.
10579         (parseSingleLyXformat2Token): add another ert comp. variable:
10580         in_tabular, rename return_par to first_par. handle newlines better
10581
10582 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10585
10586 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * text2.C (getParFromID): removed
10589
10590         * buffer.C (getParFromID): new method moved form lyxtext.
10591         * BufferView2.C (insertErrors): adjust
10592         (setCursorFromRow): adjust
10593         * BufferView_pimpl.C (restorePosition): adjust
10594         * lyxfunc.C (Dispatch): adjust
10595         * undo_funcs.C (textUndo): adjust
10596         (textRedo): adjust
10597         (textHandleUndo): adjust
10598         (textHandleUndo): adjust
10599
10600 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10601
10602         * buffer.C: up' the LYX_FORMAT
10603
10604         * lyxfont.h: turn NO_LATEX on as default
10605
10606         * buffer.C (insertErtContents): new methods of tex style compability.
10607         (parseSingleLyXformat2Token): use it several places.
10608         * tabular.C (OldFormatRead): and here
10609
10610 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * text2.C: remove some commented code.
10613         reindent file.
10614
10615         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10616         * trans.C: changes because of the above.
10617
10618 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * text2.C (setCounter): Fix counters bug with bibliography layout.
10621
10622 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10625         own member functions
10626         (simpleTeXSpecialChars): ditto
10627
10628 2001-07-06  Juergen Vigna  <jug@sad.it>
10629
10630         * a lot of files: changed the access to LyXText::status and the
10631         call of undo-functions.
10632
10633         * undo.[Ch]: added a inset_id to the undo informations.
10634
10635         * undo_funcs.[Ch]: added and moved here all undo functions.
10636
10637         * lyxtext.h: give the status enum a weight, made status_ a private
10638         variable and made accessor functions for it, removed the whole bunch
10639         of undo-functions as they are now in their own file, make some
10640         functions publically available. Added function ownerParagraph with
10641         int parameter.
10642
10643         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10644         made InInset() a const function, added getParFromID() function.
10645
10646         * buffer.[Ch]: added const version for inset_iterator functions,
10647         added getInsetFromID() function.
10648
10649         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10650         changed undo functions for new version.
10651
10652 2001-07-05  Juergen Vigna  <jug@sad.it>
10653
10654         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10655         unknow mechanism does not call the proper constructor but only this
10656         one also if I request the other!?
10657
10658 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10661
10662         * text2.C (LyXText): use initialization lists.
10663
10664         * lyxtext.h (Selection): initialize set_ and mark_
10665         (init): remove method
10666
10667 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10668
10669         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10670
10671 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * screen.[Ch]: change method names to begin with lowercase
10674
10675         * BufferView_pimpl.C (updateScrollbar): simplify further and
10676         hopefully make it a bit faster.
10677
10678 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10681         calling directly xforms functions.
10682
10683         * Painter.C (Painter):
10684         * lyx_cb.C (MenuWrite):
10685         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10686         fl_display.
10687
10688         * lyx_gui.C: remove bogus guiruntime extern declaration.
10689
10690 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10693         in NEW_INSETS
10694         (redoDrawingOfParagraph): ditto
10695         (redoParagraphs): ditto
10696         (cutSelection): don't create a object for CutAndPaste use the
10697         static method directly
10698         (pasteSelection): ditto
10699
10700         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10701         LyXview (+ rename)
10702
10703 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10704
10705         * modifications to some other files because of this.
10706
10707         * Makefile.am (lyx_SOURCES): add XFormsView
10708
10709         * XFormsView.[Ch]: new files
10710
10711         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10712         the main window. Move the gui dependent stuff to XFormsView
10713
10714 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * tabular.C (GetCellInset): update cur_cell also in the row/col
10717         version of this function.
10718
10719         * lyxfunc.C: no need to include figure_form.h here.
10720
10721         * FontLoader.h:
10722         * lyxfunc.h:
10723         * lyxscreen.h:
10724         * text2.C:
10725         * lyxvc.C: no need to include forms.h here.
10726
10727 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10730
10731         * lyxfunc.C (Dispatch):
10732         * Spacing.C (set):
10733         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10734         constructor argument.
10735
10736 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * paragraph.C (Paragraph): dont't clear, and just set layout.
10739         (makeSameLayout): use params's copy contructor.
10740
10741         * ParagraphParameters.[Ch] (makeSame): delete method
10742
10743 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * Variables.[Ch]: fix indentation, rename set to isSet
10746
10747 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * lyxfunc.C (Dispatch): fix typo
10750
10751 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10754         upper_bound.
10755
10756         * bufferlist.C: include assert.h for emergencyWrite().
10757
10758 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10761           give up at last (bug #425202) !
10762
10763 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * lyx_gui_misc.C:
10766         * sp_form.h:
10767         * sp_form.C:
10768         * spellchecker.h:
10769         * spellchecker.C: strip spellchecker options and bring up
10770           preferences tab instead
10771
10772 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10775         the istringstream constructor
10776
10777 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * paragraph.C (getLayout): fix return value
10780
10781         * paragraph.h: do not declare getLayout as inline.
10782
10783         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10784
10785 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * lyxcursor.h (operator<): new func
10788         (operator>): new func
10789         (operator>=): new func
10790         (operator<=): new func
10791
10792         * text.C (changeCase): use selection.start and selection.end
10793         (changeRegionCase): require from to be <= to. Require par to be a
10794         valid paragraph.
10795
10796         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10797
10798 2001-06-27  Juergen Vigna  <jug@sad.it>
10799
10800         * text.C (cursorLeftOneWord): changed to return the cursor and added
10801         overlay with BufferView * parameter which calls this one.
10802         (getWord): added
10803         (selectWord): use new getWord function.
10804         (changeCase): renamed from changeWordCase as and extended to work
10805         also on selections.
10806
10807         * lyxtext.h: added enum word_location
10808
10809         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10810         changeCase as this operates now also on selections.
10811
10812 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10813
10814         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10815
10816         * many files: send debug output to Debug::INFO instead of
10817         Debug::ANY.
10818
10819         * converter.C (View):
10820         (Convert):
10821         (Move): send debug output to Debug::FILES instead of console.
10822
10823 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10824
10825         * lyxfunc.C (getStatus): use func_status
10826
10827         * func_status.h: new header, describing the results of
10828         LyXFunc::getStatus;
10829
10830         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10831         LFUN_MATH_HALIGN.
10832
10833 2001-06-25  The LyX Project  <jug@sad.it>
10834
10835         * buffer.C (sgmlOpenTag):
10836         (sgmlCloseTag):
10837         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10838
10839 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10840
10841         * text2.C: remove some dead code
10842
10843         * tabular.C (GetCellInset): store the last cell checked (gotten)
10844
10845         * tabular.h: add the helper for the speedup
10846
10847         * lyxtext.h: remove some dead code
10848
10849 2001-06-26  The LyX Project  <Asger>
10850
10851         * paragraph.C: Change export to LaTeX of alignment to
10852         \begin{center} and family for better roundtrip work with reLyX.
10853
10854         * Tune the math drawing a bit.
10855
10856 2001-06-25  The LyX Project  <Asger>
10857
10858         * LColor.C (LColor): New color for math background. New color
10859         for buttons.
10860
10861 2001-06-25  The LyX Project  <jug@sad.it>
10862
10863         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10864
10865         * lyxfunc.C (Open):
10866         * bufferlist.C (newFile): do not restrict to files ending with
10867         .lyx
10868
10869         * BufferView_pimpl.C (MenuInsertLyXFile):
10870
10871 2001-06-24  The LyX Project  <jug@sad.it>
10872
10873         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10874         of compare_no_case
10875
10876 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * lyxtext.h: rename most methods to begin with a small char.
10879         Lots of changes because of this.
10880
10881         * paragraph.C (Paragraph): do not call fitToSize
10882         (erase): call Pimpl::erase
10883         (insertChar): call Pimpl::insertChar
10884         (insertInset): call Pipl::insertInset
10885         (breakParagraph): do not call fitToSize
10886         (breakParagraphConservative): do not call fitToSize
10887         (fitToSize): remove method
10888
10889         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10890
10891 2001-06-24  The LyX Project  <Asger>
10892
10893         * Fix Qt compilation^2
10894
10895 2001-06-24  The LyX Project  <jug@sad.it>
10896
10897         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10898         depthHook(getDepth()-1).
10899
10900         * paragraph.h:
10901         * ParagraphParameters.h:
10902         * ParameterStruct.h: change type of depth to unsigned int ==
10903         depth_type. Many adaptations to other files before of that.
10904
10905 2001-06-24  The LyX Project  <Asger>
10906
10907         * Fix Qt compilation.
10908
10909 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10910
10911         * paragraph.h: renamed several methods to begin with small letter.
10912         several changes to many parts of the code because of this.
10913
10914 2001-06-23  The LyX Project  <jug@sad.it>
10915
10916         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10917         rewritten to discard all double spaces when KeepEmpty is off
10918         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10919         to only handle newlines but not fiddle with spaces and friends.
10920
10921         * lyxfunc.C (MenuNew): when doing 'new from template', use
10922         template_path as default directory
10923
10924 2001-06-23  The LyX Project  <Asger>
10925
10926         * Clean-up of header file includes all over
10927         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10928
10929 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10930
10931         * paragraph.h: renamed from lyxparagraph.h
10932
10933 2001-06-23  Asger  <lyx@violet.home.sad.it>
10934
10935         * Buffer.h: Removed Buffer::resize
10936         * BufferList.h: Removed BufferList::resize
10937         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10938         the document lazily when we change the width, or the font settings.
10939
10940 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10943
10944 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * buffer.h: remove out of date comment
10947
10948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * lyxscreen.h:
10951         * screen.C: fix "theoretical" GC leak
10952
10953 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10954
10955         * LaTeX.C (scanAuxFile):
10956         (deplog): remove trailing \r when reading stream (useful under
10957         win32)
10958
10959 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10960
10961         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10962         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10963         and BufferView::theLockingInset(Inset*), so should use them and not
10964         access bv_->text->the_locking_inset directly.
10965
10966         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10967
10968 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * Makefile.am:
10971         * tex-defs.h: remove old unused file
10972
10973 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * BufferView_pimpl.C: fix typo, remove minibuffer message
10976           when buffer has loaded
10977
10978 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10979
10980         * lyxfunc.C (Dispatch): use stringstream
10981         (MenuNew): use stringstream
10982         (Open): use stringstream
10983
10984         * importer.C (Import): use stringstream
10985
10986         * bufferview_funcs.C (CurrentState): use stringstream
10987
10988         * LaTeX.C (run): use stringstream
10989
10990         * BufferView_pimpl.C (savePosition): use stringstream
10991         (restorePosition): use stringstream
10992         (MenuInsertLyXFile): use stringstream
10993
10994 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10995
10996         * BufferView.C:
10997         * Bullet.C:
10998         * ColorHandler.C:
10999         * FontInfo.C:
11000         * FontLoader.C:
11001         * LColor.C:
11002         * LaTeXFeatures.C:
11003         * Painter.C:
11004         * gettext.C:
11005         * lyx_gui_misc.C:
11006         * lyxserver.C:
11007         * vspace.C: removed // -*- C++ -*- as first line.
11008
11009         * lyxfind.h:
11010         * version.h: added // -*- C++ -*- as first line.
11011
11012 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11013
11014         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11015
11016         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11017         of string
11018
11019 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11022         of floats.
11023
11024 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11025
11026         * gettext.C: include LString.h even when --disable-nls is on.
11027
11028 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * converter.h (Get): changed argument type from int to
11031         FormatList::size_type to avoid unnecessary conversion.
11032
11033         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11034         before using it.
11035
11036 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11037
11038         * gettext.h: include LString.h even when --disable-nls is on.
11039
11040 2001-06-07  Juergen Vigna  <jug@sad.it>
11041
11042         * text.C (BreakAgain): subst spaces with tabs.
11043
11044         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11045         (resizeInsetsLyXText): set force on resizeLyXText.
11046
11047 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11048
11049         * gettext.h (gettext_init):
11050         (locale_init): use a real definition instead of a macro
11051
11052 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * Bufferview_pimpl.C:
11055         * LColor.h:
11056         * LColor.C: further lcolor tidies
11057
11058 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * BufferView_pimpl.C (updateScrollbar): simplify.
11061
11062         * BufferView2.C: don't include insets/insetinfo.h, change
11063         prototype for insertInset and call the Pimpl version. let
11064         updateInset call Pimpl version.
11065
11066         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11067         gotoInset to BufferView::Pimpl
11068
11069 2001-06-01  Juergen Vigna  <jug@sad.it>
11070
11071         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11072         inside a LockingInset (is the update needed at all?).
11073
11074 2001-05-31  Juergen Vigna  <jug@sad.it>
11075
11076         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11077         here not the old one otherwise how should we compare it afterwards
11078         if it's the same!
11079
11080 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11081
11082         * lyxfont.C:
11083         * tabular.C:
11084         * tabular-old.C:
11085         * FontInfo.C: bring C functions into global namespace when
11086         necessary
11087
11088 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * LString.h: make sure config.h has been loaded before LString.h.
11091
11092         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11093         (one for each char read by EatLine!).
11094
11095         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11096         variables.
11097
11098 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11099
11100         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11101         to the same as the par we break from
11102
11103 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11106
11107         * MenuBackend.C (expand): also create menu entries for wide
11108         versions of the floats.
11109
11110         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11111
11112         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11113
11114         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11115         frontends/Makefile.am
11116
11117         * text2.C: adjust
11118         * text.C: adjust
11119
11120
11121         * tabular.C (getTokenValue): add std::
11122
11123         * tabular-old.C (getTokenValue): add std::
11124         (getTokenValue): ditto
11125         (getTokenValue): ditto
11126
11127         * screen.C (ToggleSelection): adjust
11128
11129         * lyxtext.h: put selection cursors inside a Selection struct.
11130
11131         * lyxfunc.C (moveCursorUpdate): adjust
11132
11133         * lyxfont.C (latexWriteStartChanges): add std::
11134
11135         * lyxfind.C: adjust
11136
11137         * font.h: delete with(char const *, LyXFont const &)
11138
11139         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11140
11141         * FontInfo.C (getFontname): add std::
11142
11143         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11144         (workAreaButtonPress): adjust
11145         (tripleClick): adjust
11146         (update): adjust
11147         (moveCursorUpdate): adjust
11148         (Dispatch): adjust
11149
11150         * BufferView2.C (gotoInset): adjust
11151
11152 2001-05-30  Juergen Vigna  <jug@sad.it>
11153
11154         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11155         to check pspell I add this as default as I now have new pspell
11156         libraries and they seem to use this.
11157
11158 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * text2.C (CutSelection): make the cursor valid before the call to
11161         ClearSelection.
11162
11163 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11164
11165         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11166         relied on 0 terminated strings and other horrors. Bug found due to
11167         the new assert in lyxstring!
11168
11169         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11170         KP_ keys.
11171
11172 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11175         to latinkeys.bind.
11176
11177         * lyxfunc.C (processKeySym): change method of getting to the
11178         self-insert char.
11179
11180         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11181         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11182         * BufferView_pimpl.[Ch]: here as private methods.
11183
11184 2001-05-28  Juergen Vigna  <jug@sad.it>
11185
11186         * text.C (SetHeightOfRow): added the update() call again as it is
11187         needed to initialize inset dimensions!
11188
11189 2001-05-16  Juergen Vigna  <jug@sad.it>
11190
11191         * text2.C (SetCharFont): Add new function with BufferView * and
11192         bool toggleall parameters for setting insets internal fonts.
11193         (SetFont): Freeze the undo as we may change fonts in Insets and
11194         all this change should be inside only one Undo!
11195
11196         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11197         setting font's in insets as for them we have the SetFont function!
11198
11199 2001-05-15  Juergen Vigna  <jug@sad.it>
11200
11201         * text2.C (ClearSelection): to be sure we REALLY don't have any
11202         selection anymore!
11203
11204         * tabular.C (TeXCellPreamble): fixed the left border problem for
11205         multicolumn cells.
11206
11207 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11208
11209         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11210         dependancy file
11211
11212 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11215         LFUN_BREAKPARAGRAPH.
11216
11217         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11218         help test to "internal only", similar for LFUN_INSERT_URL
11219
11220         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11221         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11222         auto_region_delete and deadkeys.
11223
11224 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * LColor.h:
11227         * LColor.C: remove some dead entries, tidy a little
11228
11229 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11232         commented code.
11233         (Dispatch): implement LFUN_ESCAPE
11234
11235         * commandtags.h: add LFUN_ESCAPE
11236
11237         * LyXAction.C (init): add entry for LFUN_ESCAPE
11238
11239         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11240         Remove commented code.
11241         (insertNote): moved here
11242         (open_new_inset): moved here
11243
11244         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11245         BufferView_pimpl
11246
11247 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11248
11249         * kbmap.C (findbinding): clean it up and make it work correctly.
11250
11251         * lyx_main.C (init): do not pass argc and argv as parameters
11252
11253 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11254
11255         * buffer.C: fix path for OS/2 & Win32
11256
11257         * lyx_gui.C:
11258         * lyx_main:
11259         * lyx_main.C: Added os:: class.
11260
11261         * os2_defines.h: update
11262
11263 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11266         better by trying again with reduced state.
11267
11268 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11269
11270         * lyxrc.C (read): print error about invalid key sequence only when
11271         debugging (because not all latinX keysyms are known to some X
11272         servers)
11273
11274         * kbsequence.C (getiso): add a few std:: qualifiers
11275         (getiso): comment out extra return statement.
11276
11277 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11280         handling.
11281         (Dispatch): enhance the accent inset a bit. (not perfect)
11282
11283 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11286
11287 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11288
11289         * bufferlist.C (emergencyWrite): fix assert() call
11290
11291 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11292
11293         * text.C (InsertChar): Added trivial patch to only send the "you
11294         can not do multiple spaces this way" message once during a
11295         session.
11296
11297 2001-05-08  Baruch Even  <baruch@lyx.org>
11298
11299         * Makefile.am: Changed order of libraries to get LyX to link properly
11300         with the gnome frontend.
11301
11302 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11303
11304         * LaTeXFeatures.h: add a std:: qualifier
11305
11306 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * paragraph.C (String): use stringstream
11309
11310 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * paragraph.C (writeFile): remove footflag arg
11313
11314         * buffer.C (makeLaTeXFile): use stringstream
11315         (latexParagraphs): remove footnot gurba
11316
11317         * LaTeXFeatures.C (getPackages): use stringstream
11318         (getMacros): likewise
11319         (getTClassPreamble): likewise
11320         (getFloatDefinitions): new method
11321
11322         * paragraph.C (writeFile): reindent
11323         (Erase): reindent
11324
11325         * WorkArea.h: revert the xpos + etc changes.
11326
11327         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11328
11329         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11330
11331         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11332         (pasteSelection): likewise
11333         * text2.C (CreateUndo): likewise
11334
11335 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * minibuffer.C (peek_event): temporarily reduce the functionality
11338         of the minibuffer (to allow args on lfuns)
11339
11340         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11341         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11342
11343         * buffer.C (readInset): add compability reading of old float
11344         lists, add reading of new style float list.
11345         (readInset): avoid reevaluation of inscmd.getCmdName()
11346         (getLists): reindent
11347
11348         * MenuBackend.C (MenuItem): implement parsing of
11349         md_floatlistinsert and md_floatinsert.
11350         (expand::LastFiles): move initalizaton of iterators out of loop,
11351         avoid reevaluation.
11352         (expand::Documents): introduce typdedef vector<string> Strings,
11353         and use it.
11354         (expand::ExportFormats): introduce typedef vector<Format const *>
11355         Formats, and use it.
11356         (expand): implement FloatListInsert and FloatInsert.
11357
11358         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11359         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11360         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11361
11362         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11363         handling.
11364         (Dispatch::LFUN_FLOAT_LIST): implement
11365
11366 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11367
11368         * LaTeX.C (run): Fix problem with --export code.
11369
11370 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11371
11372         * BufferView.[Ch] (workarea): removed.
11373         (getClipboard) new method; wrapper for workarea()->getClipboard()
11374
11375         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11376         bug.
11377
11378         * WorkArea.h (width, height, xpos, ypos): These methods all
11379         returned the dimensions of the work_area sub-area of WorkArea,
11380         resulting in a position error if the WorkArea were resized. Now
11381         return the dimensions of the entire WorkArea.
11382
11383         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11384
11385 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11386
11387         * LaTeX.C (deplog): correct the syntax of regex reg1
11388
11389 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * undo.C: remove !NEW_INSETS cruft
11392
11393 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11394
11395         * text2.C: remove !NEW_INSETS cruft
11396
11397         * text.C: remove !NEW_INSETS cruft
11398
11399         * tabular.C: remove !NEW_INSETS cruft
11400
11401         * spellchecker.C: remove !NEW_INSETS cruft
11402
11403         * lyxtext.h: remove !NEW_INSETS cruft
11404
11405         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11406
11407         * lyxfunc.C: remove !NEW_INSETS cruft
11408
11409         * lyxfind.C: remove !NEW_INSETS cruft
11410
11411         * lyx_cb.C: remove !NEW_INSETS cruft
11412
11413         * figureForm.C: remove  !NEW_INSETS cruft
11414
11415         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11416
11417         * buffer.[Ch]: remove !NEW_INSETS cruft
11418
11419         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11420
11421         * CutAndPaste.C: remove !NEW_INSETS cruft
11422
11423         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11424
11425         * BufferView2.C: remove !NEW_INSETS cruft
11426
11427         * BufferView.h: remove !NEW_INSETS cruft
11428
11429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11430
11431         * Lsstream.h: include LString.h before the sstream headers to
11432         fix problem with gcc 2.95.3 and lyxstring
11433
11434 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11435
11436         * lyx_main.C: add using directives when needed for C functions
11437         declared in std:: namespace.
11438
11439 2001-04-27  Juergen Vigna  <jug@sad.it>
11440
11441         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11442         (SetHeightOfRow): comment out the update call should not be needed!
11443
11444 2001-04-13  Juergen Vigna  <jug@sad.it>
11445
11446         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11447         (LyXTabular): tried to minimize operator= operations (and realized
11448         hopfully Lars wish).
11449
11450 2001-04-27  Juergen Vigna  <jug@sad.it>
11451
11452         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11453
11454 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11457
11458         * buffer.C (readInset): hack to make listof algorithm work
11459
11460         * BufferView_pimpl.C: hack to make listof algorithm work
11461
11462 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11463
11464         * LyXAction.C: removed all !NEW_INSETS cruft
11465         (init): moved lfun_item in method
11466
11467         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11468
11469 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11470
11471         * BufferView2.C (theLockingInset): white space.
11472
11473 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11474
11475         * minibuffer.C: include <iostream>
11476
11477         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11478
11479         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11480
11481         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11482
11483         * text.[Ch] (TransposeChars): new method
11484
11485 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * call message directly through LyXView instead of through LyXFunc
11488         * BufferView2.C: adjust
11489         * BufferView_pimpl.C: adjust
11490         * FontLoader.C: adjust
11491         * buffer.C: adjust
11492         * bufferview_funcs.C: adjust
11493         * converter.C: adjust
11494         * figureForm.C: adjust
11495         * importer.C: adjust
11496         * lyx_cb.C: adjust
11497         * lyx_gui_misc.C: adjust
11498         * lyxfunc.C: adjust
11499         * lyxvc.C: adjust
11500         * text2.C: adjust
11501         + more files in subdirs
11502
11503         * lyxparagraph.h (size): move up int file
11504         (GetLayout): ditto
11505
11506         * adjust all uses of Assert to lyx::Assert.
11507
11508         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11509         lyxfunctional in namespace lyx
11510         * layout.C (hasLayout): ditto
11511         (GetLayout): ditto
11512         (GetLayout): ditto
11513         (delete_layout): ditto
11514         (NumberOfClass): ditto
11515         * converter.C (GetFormat): ditto
11516         (GetNumber): ditto
11517         (Add): ditto
11518         (Delete): ditto
11519         (SetViewer): ditto
11520         * bufferlist.C (getFileNames): ditto
11521         (emergencyWriteAll): ditto
11522         (exists): ditto
11523         (getBuffer): ditto
11524         * MenuBackend.C (hasSubmenu): ditto
11525         (hasMenu): ditto
11526         (getMenu): ditto
11527         * BufferView_pimpl.C (getInsetByCode): ditto
11528
11529 2001-04-18  Juergen Vigna  <jug@sad.it>
11530
11531         * vspace.C (asLatexString): fixed the 100% problem.
11532
11533 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11534
11535         * lyxfunc.C (Dispatch):
11536         * minibuffer.C:
11537         * minibuffer.h: add a few std:: qualifiers
11538
11539 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * minibuffer.[Ch]: reimplement so that commands is initiated and
11542         run from lyxfunc, simplified som handling, and made the completion
11543         and history code for complete. wip.
11544
11545         * lyxfunc.C (processKeySym): call message
11546         (miniDispatch): new temporary method
11547         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11548         (LFUN_MESSAGE): implement
11549         (LFUN_MESSAGE_PUSH): implement
11550         (LFUN_MESSAGE_POP): implement
11551         (initMiniBuffer): the initial/defualt minibuffer message.
11552
11553         * lyxfont.[Ch]: inline some more getters
11554
11555         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11556
11557         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11558
11559         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11560         (AutoSave): use LFUN_MESSAGE
11561         (Reconfigure): ditto
11562
11563         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11564
11565         * figureForm.C: use LFUN_MESSAGE
11566
11567         * converter.C (runLaTeX): use LFUN_MESSAGE
11568
11569         * bufferview_funcs.C: use LFUN_MESSAGE
11570         (Melt): ditto
11571         (changeDepth): ditto
11572
11573         * bufferparams.h: use boost::
11574
11575         * bufferlist.h: inherit privately from noncopyable
11576
11577         * bufferlist.C (loadLyXFile): remove some commented code.
11578
11579         * buffer.C (runChktex): use LFUN_MESSAGE
11580
11581         * ShareContainer.h: inherit privately from noncopyable
11582
11583         * ParagraphParameters.[hC] (depth): inline it.
11584
11585         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11586         methods.
11587         (message): new method
11588         (messagePush): ditto
11589         (messagePop): ditto
11590         (show): init minibuffer
11591         (showState): direct call
11592
11593         * LaTeX.[Ch]: inherit privately from noncopyable
11594         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11595         instead of WriteStatus.
11596
11597         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11598
11599         * BufferView_pimpl.C (buffer): don't init minibuffer
11600         (workAreaButtonPress): use LFUN_MESSAGE
11601         (workAreaButtonRelease): ditto
11602         (savePosition): ditto
11603         (restorePosition): ditto
11604         (MenuInsertLyXFile): ditto
11605         (workAreaExpose): don't init minibuffer
11606         (update): remove commented code, simplify
11607
11608         * BufferView2.C (openStuff): use LFUN_MESSAGE
11609         (toggleFloat): ditto
11610         (menuUndo): ditto
11611         (menuRedo): ditto
11612         (copyEnvironment): ditto
11613         (pasteEnvironment): ditto
11614         (copy): ditto
11615         (cut): ditto
11616         (paste): ditto
11617         (gotoInset): ditto
11618         (updateInset): remove some commented code
11619
11620         * lastfiles.h: inherit privately from noncopyable
11621         * layout.h: ditto
11622         * lyx_gui.h: ditto
11623         * lyx_main.h: ditto
11624         * lyxlex.h: ditto
11625         * lyxlex_pimpl.h: ditto
11626
11627         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11628         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11629         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11630
11631         * LyXAction.h: inherit privately from noncopyable, add methods
11632         func_begin, func_end, returning iterators to the func map.
11633
11634         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11635         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11636         (func_begin): new method
11637         (func_end): new method
11638
11639         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11640         and not)
11641         (copySelection): ditto
11642         (pasteSelection): ditto
11643
11644         * BufferView.C: whitespace change
11645         * BufferView.h: inherit privately from noncopyable
11646
11647 2001-04-16  Allan Rae  <rae@lyx.org>
11648
11649         * tabular-old.C (l_getline):
11650         * spellchecker.C (sc_check_word):
11651         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11652         an unrecognised preprocessor directive.  So ensure they're wrapped.
11653
11654 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * src/exporter.C (Export): Give an error message when path to file
11657         contains spaces.
11658
11659 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11660
11661         * LaTeX.C (deplog): Always check that foundfile exists.
11662
11663 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11664
11665         * lyx_main.h:
11666         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11667
11668 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * tabular.[Ch] (getLabelList): implement new method
11671
11672         * minibuffer.h: comment ouf setTiimer
11673
11674         * minibuffer.C (ExecutingCB): constify res
11675         (peek_event): constify s
11676         (Set): constify ntext
11677         (Init): constify nicename
11678
11679         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11680
11681         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11682         (savePosition): use two params to Minibuffer::Set
11683         (restorePosition): ditto
11684
11685 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11686
11687         * lyx_main.C: include language.h
11688
11689         * Makefile.am (lyx_main.o): add language.h
11690
11691 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * exporter.C:
11694         * paragraph.C:
11695         * screen.C:
11696         * tabular.C:
11697         * CutAndPaste.C: include gettext.h
11698
11699         * lyxfont.h: remove old hack with ON and OFF.
11700
11701         * lyxparagraph.h:
11702         * lyxfont.h: do not include language.h...
11703
11704         * BufferView2.C:
11705         * LaTeXFeatures.C:
11706         * Painter.C:
11707         * bufferview_funcs.C:
11708         * font.C:
11709         * lyxfont.C:
11710         * text.C:
11711         * text2.C:
11712         * trans_mgr.C:
11713         * paragraph.C: ... but do it here instead
11714
11715 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11718
11719         * tabular.C: small reformat
11720
11721         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11722         NEW_INSETS version
11723         (GetChar): ditto
11724         (BreakParagraph): ditto
11725         (SetOnlyLayout): ditto
11726         (SetLayout): ditto
11727
11728         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11729         with one arg less.
11730
11731         * lastfiles.C: removed most using decl, add std:: where needed
11732
11733         * buffer.C: ws changes
11734
11735         * MenuBackend.C (class compare_format): put into anon namespace
11736         (expand): constify label, names, action, action2
11737         (expand):
11738
11739         * text.C (SingleWidth): constify font
11740         (IsBoundary): constify rtl2
11741         (GetVisibleRow): constify ww
11742
11743         * LaTeX.C (deplog): constify logfile
11744
11745         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11746         start_x, end_x
11747         (workAreaExpose): constify widthChange, heightChange
11748
11749         * lyxrow.C (par): moved
11750         (height): moved
11751         (next): moved
11752         * lyxrow.h: as inlines here
11753
11754         * lyxfont.h (shape): moved from lyxfont.C
11755         (emph): moved from lyxfont.C
11756
11757         * lyxfont.C (LyXFont): use initialization list for all
11758         constructors
11759         (shape): move to lyxfont.h as inline
11760         (emph): move to lyxfont.h as inline
11761
11762
11763 2001-04-04  Juergen Vigna  <jug@sad.it>
11764
11765         * vspace.C: had to include stdio.h for use of sscanf
11766
11767 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11768
11769         * BufferView.h:
11770         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11771         independent of xforms.
11772
11773 2001-04-02  Juergen Vigna  <jug@sad.it>
11774
11775         * spellchecker.C: fixed namespace placing!
11776
11777 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11778
11779         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11780         the LyXParagraph * is 0.
11781
11782 2001-03-29  Juergen Vigna  <jug@sad.it>
11783
11784         * vspace.C: added support for %, c%, p%, l%.
11785         (stringFromUnit): added helper function.
11786         (asLatexString): changed to give right results for the %-values.
11787
11788         * buffer.C: convert the widthp in a width%.
11789
11790 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11793         figureForm.[Ch].
11794
11795         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11796         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11797
11798         * lyx_cb.[Ch]: see above.
11799
11800         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11801         form1.[Ch].
11802
11803         * form1.[Ch]:
11804         * lyx.[Ch]: replaced by figure_form.[Ch].
11805
11806         * lyx_gui.C:
11807         * lyx_gui_misc.C:
11808         * lyxfunc.C: changed headers associated with above changes.
11809
11810 2001-03-27  Juergen Vigna  <jug@sad.it>
11811
11812         * BufferView_pimpl.C: set the temporary cursor right!
11813
11814 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11815
11816         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11817
11818 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * LString.h: removed "using std::getline"!
11821
11822         * BufferView_pimpl.C (Dispatch): changes due to changes in
11823         InsetInclude::Params.
11824
11825         * buffer.C (tag_name): removed redundant break statements as they were
11826         producing lots of warnings with my compiler.
11827
11828 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * LString.h: add "using std::getline" when using the real <string>.
11831
11832 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11833
11834         * buffer.C: removed bitset usage.
11835         PAR_TAG moved to an anonymous name space.
11836         (tag_name): new funtion, also in the anonymous namespace.
11837         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11838         (makeDocBookFile): clean code. Completed transition from string arrays
11839         to string vectors.
11840         (SimpleDocBookOnePar): code clean.
11841
11842 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11843
11844         * tabular.C: add some comments.
11845
11846 2001-03-22  Juergen Vigna  <jug@sad.it>
11847
11848         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11849         compatibility read a bit and fixed bug with minipage in different
11850         depth.
11851
11852 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11853
11854         * buffer.C (pop_tag): removed.
11855         (push_tag): removed.
11856         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11857         array replaced with vector. Added support for CDATA sections.
11858         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11859         at any nest level.
11860         (makeDocBookFile): XML conformant declaration of CDATA section,
11861         fixed bug related to <emphasis> in the first paragraph char.
11862         (sgmlOpenTag): exclude empty tags.
11863         (sgmlCloseTag): ditto.
11864
11865         * buffer.h (pop_tag): removed.
11866         (push_tag): removed.
11867
11868 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * language.h (Languages): added size_type and size().
11871
11872 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11873
11874         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11875         response on compability reading of minipages. One probliem is that
11876         the old usage of minipages was «flertydig»
11877
11878         * several files here and in subdirs: don't use static at file
11879         scope use anon namespaces instead.
11880
11881 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11882
11883         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11884         LaTeX output. This is necessary for Literate document
11885         processing.
11886
11887 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11888
11889         * buffer.C: insert hfill when needed.
11890
11891         * tabular.C (l_getline): use string::erase, small whitespace change.
11892
11893         * BufferView_pimpl.C: try the anon namespace.
11894         * WorkArea.C: ditto
11895
11896 2001-03-16  Juergen Vigna  <jug@sad.it>
11897
11898         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11899         otherwise it won't open options-dialogs.
11900
11901         * buffer.C: honor pextraWidth(p) on converting minipages.
11902
11903         * tabular.C (l_getline): changed the functions to strip trailing \r.
11904
11905 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * BufferView_pimpl.C:
11908         * minibuffer..C: added "using SigC::slot" declaration.
11909
11910 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11911
11912         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11913
11914         * text2.C: ditto
11915
11916         * text.C: ditto
11917
11918         * paragraph.C: ditto
11919
11920         * lyxtext.h: NO_PEXTRA
11921
11922         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11923
11924         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11925         * ParameterStruct.h: ditto
11926         * ParagraphParameters.h: ditto
11927         * lyxparagraph.h: ditto
11928
11929 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11930
11931         * buffer.C: add compability for minipage alignment.
11932         (latexParagraphs): remove unwanted pextra check.
11933
11934         * several files: remove CXX_WORKING_NAMESPACES
11935
11936         * buffer.C (pop_tag): tie is in namespace boost
11937
11938         * BufferView.h: noncopyable is in namespace boost
11939         * lyxlex.h: ditto
11940         * lyx_main.h: ditto
11941         * lyx_gui.h: ditto
11942         * layout.h: ditto
11943         * lastfiles.h: ditto
11944         * bufferlist.h: ditto
11945         * ShareContainer.h: ditto
11946         * LyXView.h: ditto
11947         * LyXAction.h: ditto
11948         * LaTeX.h: ditto
11949
11950 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * Merging changes from BRANCH_MVC back into HEAD.
11953
11954         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11955
11956 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * BufferView_pimpl.C: change from intl.C
11959
11960         * combox.h:
11961         * combox.C:
11962         * Makefile.am: move combox.*
11963
11964         * form1.h:
11965         * form1.C:
11966         * lyx_gui.C:
11967         * intl.h:
11968         * intl.C: remove dialog (covered by prefs)
11969
11970 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11971
11972         * lyxfunc.C (Dispatch): removed redundant break statement.
11973
11974 2001-03-14  Juergen Vigna  <jug@sad.it>
11975
11976         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11977
11978 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11979
11980         * buffer.C: add hack to fix compability reading of minipages.
11981
11982 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11983
11984         * buffer.C (getLists): Cleanup.
11985
11986 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11987
11988         * lyxfont.C (update): don't honor toggleall on font size.
11989
11990 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * bmtable.c:
11993         * bmtable.h:
11994         * Makefile.am: moved to frontends/xforms/
11995
11996         * lyx_gui_misc.C:
11997         * lyxfunc.C:
11998         * BufferView_pimpl.C: changes for moved mathpanel
11999
12000 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * gettext.h: fix gettext_init() in --disable-nls
12003
12004 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12007
12008 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * lyx.C:
12011         * lyx.h: strip external form
12012
12013 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * BufferView_pimpl.C: add comment, destroySplash()
12016
12017 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * BufferView_pimpl.C:
12020         * LyXAction.C:
12021         * buffer.C:
12022         * commandtags.h:
12023         * lyxfunc.C: use re-worked insetinclude
12024
12025 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12026
12027         * buffer.C: add using std::stringstream.
12028
12029         * lyx_cb.C: readd using std::ios.
12030
12031         * buffer.C: add using std::map.
12032
12033         * BufferView_pimpl.C: add using std::vector.
12034
12035         * ShareContainer.h: add std:: to swap.
12036
12037         * buffer.h: add some typedefs
12038         * buffer.C (getLists): use them
12039         (getLists): renamed from getTocList.
12040         add a counter for the different float types and use it in the
12041         generated string.
12042         (getLists): use the same counter for the NEW_INSETS and the "non"
12043         NEW_INSETS
12044
12045         * lyx_cb.h: remove unused items, includes, using etc.
12046
12047         * ShareContainer.h: remove some commented code, add more comments
12048         and "documentation".
12049
12050 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12051
12052         * buffer.C (getTocList): make the list also when NEW_INSETS is
12053         defined.
12054
12055         * buffer.h: remove TocType
12056
12057         * buffer.C (getTocList): change to return a map<string,
12058         vector<TocItem> >, implement for dynamic number of list.
12059
12060         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12061         * text2.C (PasteSelection): adjust
12062         * CutAndPaste.C (pasteSelection): adjust
12063
12064         * FloatList.C (FloatList): update from the new_insets branch.
12065         * Floating.[Ch]: ditto
12066         * LaTeXFeatures.C: ditto
12067         * buffer.C: ditto
12068         * lyxlex_pimpl.C: ditto
12069
12070         * paragraph.C (Last): remove when NEW_INSETS is defined.
12071
12072         * other file: changes because of the above.
12073
12074 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12075
12076         * lyxparagraph.h: rename next to next_, previous to previous_,
12077         make them private for NEW_INSETS. Rename Next() to next(),
12078         Previous() to previous().
12079
12080         * other files: changes because of the above.
12081
12082 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12083
12084         * BufferView.h:
12085         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12086         problem.
12087
12088 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * main.C (main): pass lyx_localedir to gettext_init().
12091
12092         * gettext.h: remove locale_init and gettext_init macros
12093
12094         * gettext.C (locale_init): new function
12095         (gettext_init): new function
12096
12097         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12098         setlocale().
12099
12100 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12101
12102         * Moved credits to frontends:
12103         * credits.[Ch]: removed
12104         * credits_form.[Ch]: removed
12105         * lyx_gui_misc.C: remove credits stuff
12106         * Makefile.am:
12107
12108 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12109
12110         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12111
12112         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12113         unneeded destructor.
12114
12115         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12116         a standalone pointer again.
12117
12118         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12119
12120 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * Makefile.am:
12123         * filedlg.h:
12124         * filedlg.C:
12125         * LyXAction.C:
12126         * ToolbarDefaults.C:
12127         * bufferlist.C:
12128         * commandtags.h:
12129         * form1.C:
12130         * form1.h:
12131         * lyx_cb.C:
12132         * lyx_cb.h:
12133         * lyxfunc.h:
12134         * lyxfunc.C:
12135         * BufferView_pimpl.C: use new file dialog in GUII
12136
12137         * lyx_cb.h:
12138         * lyx_cb.C: remove LayoutsCB to Toolbar
12139
12140 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12141
12142         * ShareContainer.h (get): add std:: qualifier
12143
12144 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * ShareContainer.h: define a proper ShareContainer::value_type
12147         type (and use typename to please compaq cxx)
12148
12149 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12150
12151         * lyxparagraph.h: move serveral local vars to
12152         ParameterStruct/ParagraphParameters., use ShareContainer in
12153         FontTable., make vars in FontTable private and add getter and
12154         setter.
12155
12156         * paragraph.C: changes because of the above.
12157
12158         * lyxfont.h: remove copy constructor and copy assignment. (the
12159         default ones is ok), move number inside FontBits. move inlines to
12160         lyxfont.C
12161
12162         * lyxfont.C: add number to initializaton of statics, move several
12163         inlines here. constify several local vars. some whitespace
12164         cleanup. Dont hide outerscope variables.
12165
12166         * Spacing.h: add two new constructors to match the set methods.
12167
12168         * ShareContainer.h: new file, will perhaps be moved to support
12169
12170         * ParameterStruct.h: new file
12171
12172         * ParagraphParameters.h: new file
12173
12174         * ParagraphParameters.C: new file
12175
12176         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12177         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12178
12179         * BufferView_pimpl.C: ParagraphParameter changes.
12180         * buffer.C: Likewise.
12181         * bufferview_funcs.C: Likewise.
12182         * text.C: Likewise.
12183         * text2.C: Likewise.
12184
12185 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * lyxfind.C (LyXReplace): do not redefine default argument in
12188         implementation.
12189         (IsStringInText): ditto
12190         (SearchForward): ditto
12191         (SearchBackward): ditto
12192
12193 2001-03-06  Juergen Vigna  <jug@sad.it>
12194
12195         * lyxfind.C (IsStringInText): put parentes around expressions.
12196
12197 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12198
12199         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12200
12201 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12204
12205         * stl_string_fwd.h: add comment
12206
12207         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12208
12209         * tabular.h:
12210         * tabular.C: remove unused DocBook methods
12211
12212         * intl.C:
12213         * language.C:
12214         * paragraph.C:
12215         * buffer.C:
12216         killed DO_USE_DEFAULT_LANGUAGE
12217
12218 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * lyx_gui.C: do not include language.h.
12221
12222         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12223         arguments in function implementation.
12224
12225 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12226
12227         * BufferView_pimpl.C: add <ctime>
12228
12229 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12230
12231         * BufferView_pimpl.C: add using std::find_if
12232
12233 2001-02-27  José Matos  <jamatos@fep.up.pt>
12234
12235         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12236         by OnlyPath.
12237
12238 2001-02-11  José Matos  <jamatos@fep.up.pt>
12239
12240         * buffer.C (makeDocBookFile): command styles now have a parameter as
12241         "title" by default.
12242
12243 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12244
12245         * layout_forms.[Ch]: removed
12246         * lyx_cb.[Ch]: out character
12247         * lyx_gui.C: out character
12248         * lyx_gui_misc.C: out character
12249         * bufferview_funcs.C: : out character,
12250         added toggleall as parameter in ToggleAndShow
12251
12252 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12253
12254         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12255
12256         * text2.C (SetCurrentFont): Disable number property at boundary.
12257
12258 2001-02-26  Juergen Vigna  <jug@sad.it>
12259
12260         * lyxfunc.C (getStatus): added a string argument override function so
12261         that this is correctly called from LyXFunc::Dispatch if it contains a
12262         do_not_use_argument which is used!
12263         (Dispatch): added check for "custom" export and call appropriate func.
12264
12265 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12266
12267         * lyxrc.C: Add language_command_local, language_use_babel and
12268         language_global_options.
12269
12270         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12271
12272         * buffer.C (makeLaTeXFile): Use language_use_babel and
12273         language_global_options.
12274
12275 2001-02-23  Juergen Vigna  <jug@sad.it>
12276
12277         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12278         which works with LyXText and putted it inside BufferView. Here now we
12279         only call for that part the BufferView::Dispatch() function.
12280
12281         * BufferView.C (Dispatch): added.
12282
12283         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12284         functions which needs to use a LyXText over from LyXFunc.
12285         (MenuInsertLyXFile): added
12286         (getInsetByCode): added
12287         (moveCursorUpdate): added
12288         (static TEXT): added
12289
12290 2001-02-22  Juergen Vigna  <jug@sad.it>
12291
12292         * BufferView_pimpl.C (update): call a status update to see if LyXText
12293         needs it.
12294
12295 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12296
12297         * vc-backend.C (revert): implement for CVS
12298         (getLog): implement for CVS
12299
12300 2001-02-20  Juergen Vigna  <jug@sad.it>
12301
12302         * text2.C (ClearSelection): added BufferView param for inset_owner call
12303
12304         * lyxfunc.C (TEXT): added this function and use it instead of
12305         directly owner->view()-text of getLyXText().
12306
12307 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12308
12309         * src/layout_forms.C: out preamble
12310         * src/layout_forms.h: out preamble
12311         * src/lyx_cb.C: out preamble
12312         * src/lyx_cb.h: out preamble
12313         * src/lyx_gui.C: out preamble
12314         * src/lyx_gui_misc.C: out preamble
12315         * src/lyxfunc.C: connect with guii preamble
12316
12317 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12320
12321 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12322
12323         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12324         whether to run bibtex.
12325
12326 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12327
12328         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12329
12330 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12331
12332         * Makefile.am (lyx_SOURCES): removed bibforms.h
12333
12334         * vspace.h: doxygen
12335
12336         * text.C (GetVisibleRow): make several local vars const
12337
12338         * tabular.C: small cleanup.
12339
12340         * lyxserver.C (callback): use compare instead of strncmp
12341
12342         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12343         inlines to after class or to paragraph.C
12344
12345         * lyxfont.h: remove friend operator!=
12346
12347         * converter.h: move friend bool operator< to non friend and after
12348         class def.
12349
12350         * combox.h: small cleanup
12351
12352         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12353         to inlines after class def.
12354
12355         * buffer.C (pop_tag): use string operations instead of strcmp
12356
12357         * bmtable.c: doxygen, small cleanup
12358
12359         * LaTeX.h: remove friend operator==
12360
12361 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12362
12363         * screen.C:
12364         * lyxrc.[Ch]:
12365         * lyxfunc.C:
12366         * lyxfont.[Ch]:
12367         * lyx_cb.C:
12368         * intl.[Ch]:
12369         * commandtags.h:
12370         * buffer.C:
12371         * WorkArea.[Ch]:
12372         * LyXAction.C:
12373         * BufferView_pimpl.C:
12374         * BufferView.[Ch]: remove cruft
12375
12376 2001-02-14  Juergen Vigna  <jug@sad.it>
12377
12378         * lyxfunc.C: removed #if 0 unused code
12379
12380         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12381
12382         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12383
12384         * text2.C (SetSelection): added a BufferView * parameter
12385
12386 2001-02-13  Juergen Vigna  <jug@sad.it>
12387
12388         * lyxfunc.C (Dispatch): fixed protected blank problem.
12389         * BufferView2.C (protectedBlank): added LyxText * parameter.
12390
12391         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12392         (AppendColumn): same as above for column_info.
12393
12394         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12395         (moveCursorUpdate): use a LyXText param for support of InsetText.
12396
12397         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12398         (tripleClick): ditto
12399
12400         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12401
12402         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12403
12404         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12405
12406         * text2.C (SetSelection): set correct update status if inset_owner
12407         (ToggleFree): ditto
12408
12409 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12410
12411         * tabular.C: remove some commented code.
12412
12413 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * BufferView_pimpl.C: call hideSplash()
12416
12417         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12418
12419         * include_form.h:
12420         * bibforms.h: remove
12421
12422         * lyxfunc.C:
12423         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12424           add LFUN_CHILD_CREATE
12425
12426         * counters.h: fix tiny typo
12427
12428         * lyx_cb.C:
12429         * lyx.h:
12430         * lyx_gui.C:
12431         * lyx.C: move splash to frontends/xforms/
12432
12433         * lyx_gui_misc.C: move Include and Bibform to frontends
12434
12435         * lyxvc.h: clarify comment
12436
12437         * vspace.C: tiny housekeeping
12438
12439 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12440
12441         * text.C (PrepareToPrint): RTL Fix.
12442
12443         * paragraph.C (GetUChar): New method.
12444         (String):  Use GetUChar.
12445
12446         * buffer.C (asciiParagraph): Use GetUChar.
12447
12448 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12449
12450         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12451
12452 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * buffer.h:
12455         * buffer.C: rename to getLogName(), handle
12456           build log / latex log nicely
12457
12458 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * MenuBackend.C:
12461         * MenuBackend.h: remove support for reference menuitem type.
12462
12463 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * BufferView_pimpl.C: housekeeping
12466         * BufferView_pimpl.h:
12467         * LyXView.h:
12468         * Makefile.am:
12469         * Timeout.C:
12470         * Timeout.h:
12471         * minibuffer.h: move Timeout GUI-I
12472
12473 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12474
12475         * lyxrc.C (read): Update converters data-structures.
12476
12477 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12478
12479         * LaTeX.h (operator!=): add operator != for Aux_Info
12480
12481 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12482
12483         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12484
12485         * LaTeXLog.C: deleted, useful code moved to Buffer
12486
12487         * buffer.h:
12488         * buffer.C: new function getLatexLogName()
12489
12490         * lyx_gui_misc.C:
12491         * lyx_gui.C:
12492         * lyxvc.C:
12493         * lyxvc.h:
12494         * lyxfunc.C: use frontends for LaTeX and VC logs
12495
12496 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * LaTeX.h: yet another std:: that Allan forgot.
12499
12500         * Variables.C (set): renamed from isset(), because this clashes
12501         with some HP-UX macros (grr).
12502
12503 2001-02-06  Allan Rae  <rae@lyx.org>
12504
12505         * LaTeX.h: Another bug fix.  Missing std:: this time.
12506
12507 2001-02-04  Allan Rae  <rae@lyx.org>
12508
12509         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12510         floats problem. I've left it commented out because it's not quite
12511         correct.  It should also test that the current object is a table or
12512         figure inset.  But I haven't gotten around to figuring out how to do
12513         that.  I *think* it'll be something like: "table" == inset.type()
12514
12515         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12516         bool.
12517
12518 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12519
12520         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12521         all the citation/databases/styles in the auxilary file.
12522         (run): Rerun latex if there was a babel language error.
12523
12524 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12525
12526         * text.C (Backspace): Preserve the font when changing newline char
12527         with a space.
12528         (BreakParagraph): If the cursor is before a space, delete the space.
12529
12530         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12531
12532 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12533
12534         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12535         new argument (code).
12536         (ChangeCitationsIfUnique): New method.
12537
12538         * paragraph.C (GetPositionOfInset): Handle bibkey.
12539
12540 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12541
12542         * BufferView_pimpl.h: change type of Position::par_pos to
12543         LyXParagraph::size_type.
12544
12545 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12546
12547         * BufferView_pimpl.C (savePosition, restorePosition): Write
12548         messages to minibuffer.
12549
12550 2001-01-28  José Matos  <jamatos@fep.up.pt>
12551
12552         * buffer.C (makeDocBookFile): adds support for document language.
12553         A silly restriction on the name of LatexCommand types where removed.
12554         Added support for CDATA sections, allows to chars unescaped, used
12555         among others in code, to avoid escape < and >.
12556
12557 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12558
12559         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12560         saved positions instrad of a stack. Furthermore, a position is
12561         stored using paragraph id/paragraph position.
12562
12563         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12564         Remove LFUN_REF_BACK.
12565
12566 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12567
12568         * converter.C (dvipdfm_options): New method.
12569
12570 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12571
12572         * vspace.C (isValidLength): Fix for empty input string.
12573
12574 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * LyXAction.C (init): change description of LFUN_FIGURE to
12577         "Insert Graphics"
12578
12579 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * LaTeX.C: add using directive
12582
12583 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12584
12585         * MenuBackend.C (expand): Fix the sorting of the formats.
12586
12587 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * lyx_main.C: tiny error message fix
12590
12591 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12594         calling fl_initialize(). This fixes the problem with ',' as
12595         decimal separator in text files.
12596
12597 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12598
12599         * trans.C (process): Fix the keymap bug.
12600
12601 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12602
12603         * LaTeX.C (scanAuxFiles): New method. Provides support for
12604         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12605         (scanLogFile) Scan for "run BibTeX" messages.
12606
12607         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12608         OT1 font encoding. Also, load the aecompl package if the ae
12609         package is loaded.
12610
12611         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12612
12613 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12614
12615         * texrow.C (increasePos): turn two error messages into debug
12616         messages.
12617
12618 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12619
12620         * LaTeX.C (scanAux): Handle the \@input macro.
12621         (runBibTeX): Use scanAux().
12622
12623         * language.C (latex_options_): New field.
12624
12625         * LaTeXFeatures.C (getMacros): Add language macros.
12626
12627         * buffer.C (makeLaTeXFile): Small fix.
12628
12629 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12630
12631         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12632
12633         * text2.C: add a using directive.
12634
12635 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * BufferView2.C:
12638         * lyx_gui_misc.h:
12639         * lyxfr1.C:
12640         * lyxfunc.C: kill LyXBell.
12641
12642 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * text.C (IsBoundary): Remove the error message
12645
12646         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12647
12648         * lyxrc.C (setDefaults): Correct initialization value for
12649         font_norm_type.
12650
12651 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12652
12653         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12654         gotoError().
12655
12656         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12657         and GotoNextNote().
12658
12659         * src/LyXAction.C: Added reference-next.
12660
12661         * text.C (InsertChar): Use contains instead of strchr.
12662
12663         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12664
12665 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12668         alignment commands (when needed).
12669
12670         * text.C (InsertChar): Add ':' to number separator chars.