]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
lyxfunc.h #included frontends/LyXKeySym.h for a typedef only. No more.
[lyx.git] / src / ChangeLog
1 2003-09-06  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.h:
4         * kbmap.h:
5         * kbsequence.h:
6         * lyxfunc.h: forward declare LyXKeySym rather than
7         #include "frontends/LyXKeySym.h".
8
9         * BufferView_pimpl.C:
10         * kbmap.C:
11         * kbsequence.C:
12         * lyxfunc.C: associated changes.
13
14 2003-09-06  Angus Leeming  <leeming@lyx.org>
15
16         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
17         As a result, can remove the #include "insets/inset.h" from BufferView.h
18
19 2003-09-06  Angus Leeming  <leeming@lyx.org>
20
21         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
22         As a result, can remove the #include "insets/inset.h" from BufferView.h
23
24 2003-09-06  Angus Leeming  <leeming@lyx.org>
25
26         * buffer_funcs.C:
27         * buffer.h:
28         * bufferlist.C:
29         * BufferView.C:
30         * bufferview_funcs.C:
31         * BufferView_pimpl.C:
32         * CutAndPaste.C:
33         * lyx_cb.C:
34         * lyxfunc.C:
35         * paragraph.h:
36         * ParagraphParameters.C:
37         * tabular.C:
38         * text3.C:
39         * toc.C:
40         * undo_funcs.C:
41         * frontends/controllers/ControlDocument.C:
42         * insets/insetcaption.C: rearrange the #includes into some sort of
43         coherent order.
44
45         * buffer.h: remove #includes ErrorList.h, undo.h
46
47 2003-09-06  Angus Leeming  <leeming@lyx.org>
48
49         * support/types.h: add a 'depth_type' typedef, used to store the
50         nesting depth of a paragraph.
51
52         * paragraph.h:
53         * ParameterStruct.h: use this lyx::depth_type typedef rather than
54         defining explicitly.
55
56         * buffer.h:
57         * paragraph_funcs.h:
58         * ParagraphParameters.h:
59         * sgml.h: use lyx::depth_type rather than Paragraph or
60         ParameterStruct's depth_type.
61
62         * buffer.h
63         * paragraph_funcs.h: no need to #include paragraph.h anymore.
64
65         * BufferView.C:
66         * BufferView_pimpl.C:
67         * CutAndPaste.C:
68         * ParagraphParameters.C:
69         * buffer_funcs.C:
70         * bufferlist.C:
71         * bufferview_funcs.C:
72         * lyx_cb.C:
73         * lyxfunc.C:
74         * tabular.C:
75         * text3.C:
76         * toc.C:
77         * undo_funcs.C:
78         * frontends/LyXView.C:
79         * frontends/controllers/ControlDocument.C:
80         * frontends/controllers/ControlErrorList.C:
81         * insets/insetbibitem.C:
82         * insets/insetbranch.C:
83         * insets/insetcaption.C:
84         * insets/insetcollapsable.C:
85         * insets/insetenv.C:
86         * insets/insetert.C:
87         * insets/insetfloat.C:
88         * insets/insetfoot.C:
89         * insets/insetfootlike.C:
90         * insets/insetnewline.C:
91         * insets/insetquotes.C:
92         * insets/insettabular.C:
93         * insets/insettext.C:
94         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
95
96         * frontends/controllers/ControlChanges.C: #include "changes.h".
97
98 2003-09-06  Angus Leeming  <leeming@lyx.org>
99
100         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
101         #including paragraph.h.
102
103         * ParagraphList.h:
104         * RowList.h: deleted. Superfluous.
105
106         * CutAndPaste.h:
107         * iterators.h:
108         * lyxcursor.h:
109         * lyxtext.h:
110         * text_funcs.h:
111         * undo.h:
112         * undo_funcs.h:
113         * insets/inset.h:
114         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
115
116         * paragraph.h: don't forward declare ParagraphList.
117
118         * buffer.h:
119         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
120         rather than ParagraphList.h. paragraph.h is still needed for the
121         Paragraph::depth_type parameters.
122
123         * textcursor.h: enable it to compile stand-alone in light of the
124         above changes.
125
126         * bufferview_funcs.C:
127         * iterators.C:
128         * lyxfunc.C:
129         * lyxrow_funcs.C:
130         * paragraph.C:
131         * rowpainter.C:
132         * text.C:
133         * text2.C:
134         * text3.C:
135         * text_funcs.C:
136         * textcursor.C:
137         * undo.C:
138         * frontends/controllers/ControlParagraph.C:
139         * frontends/controllers/ControlTabular.C:
140         * insets/insetmarginal.C:
141         * insets/insetminipage.C:
142         * insets/insetnote.C:
143         * insets/insetoptarg.C: add header files needed to compile again.
144         
145 2003-09-06  Angus Leeming  <leeming@lyx.org>
146
147         * RowList_fwd.h: new file, forward-declaring Row rather than
148         #including lyxrow.h.
149
150         * lyxrow_funcs.h:
151         * lyxtext.h:
152         * paragraph.h:
153         * insets/insettext.h: use it instead of RowList.h
154
155         * bufferview_funcs.C:
156         * lyxfunc.C:
157         * lyxrow_funcs.C:
158         * paragraph.C:
159         * rowpainter.C:
160         * text.C:
161         * text2.C:
162         * text3.C: #include "RowList.h".
163
164 2003-09-05  Angus Leeming  <leeming@lyx.org>
165
166         * factory.C (createInset):
167         * vspace.C (c-tor): replace sscanf call with an istringstream.
168         * ispell.C: re-add missing HP/UX headers.
169         * lyxserver.C: re-add missing  os2 headers.
170
171 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * BranchList.C:
174         * graph.C:
175         * ispell.C:
176         * lastfiles.C:
177         * lyx_cb.C:
178         * lyxserver.C:
179         * texrow.C:
180         * text3.C: re-add missing system headers, needed for 2.95.2.
181
182 2003-09-05  Angus Leeming  <leeming@lyx.org>
183
184         Changes most place everywhere due to the removal of using directives
185         from support/std_sstream.h.
186
187 2003-09-05  Angus Leeming  <leeming@lyx.org>
188
189         Replace LString.h with support/std_string.h,
190         Lsstream.h with support/std_sstream.h,
191         support/LIstream.h with support/std_istream.h,
192         support/LOstream.h with support/std_ostream.h.
193
194         Changes resulting throughout the tree.
195
196 2003-09-05  Angus Leeming  <leeming@lyx.org>
197
198         * sgml.h: ensure that the header file can be compiled stand-alone.
199         * *.C: strip out redundant #includes. (320 in total.)
200
201 2003-09-04  Angus Leeming  <leeming@lyx.org>
202
203         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
204         here (from getPackages).
205
206         * debug.[Ch]: add a new EXTERNAL tag.
207
208 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
209
210         * text2.C (cursorEnd): simplify
211         (setCursor): adjust
212         (getColumnNearX): adjust
213
214         * text.C (computeBidiTables): adjust
215         (fill): adjust
216
217         * rowpainter.C (paintChars): adjust
218         (paintSelection): adjust
219         (paintChangeBar): adjust
220         (paintText): adjust
221
222         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
223         lastPos instead.
224         (numberOfSeparators): adjust
225
226 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * LyXAction.C:
229         * box.[Ch]:
230         * lfuns.h:
231         * lyxfunc.C:
232         * text3.C: Restricts the mouse click functionality
233         of insets like bibtex, include, toc and floatlist to the visible
234         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
235         up the dialogs. Cursor has to be in front of the inset (i.e.
236         start of row) for this to function.
237
238 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
239
240         * bufferview_funcs.C (currentState): output row information
241
242 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
243
244         * bufferview_funcs.C (currentState): output paragraph position
245
246 2003-09-04  Angus Leeming  <leeming@lyx.org>
247
248         * FloatList.h: move out #include "Floating.h".
249         * LaTeX.h: move out #include "DepTable.h".
250         * LyXAction.h: move out #include "funcrequest.h".
251         * buffer.h: move out #include "author.h", "iterators.h".
252         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
253         * lyx_main.h: move out #include "errorlist.h".
254         * lyxfunc.h: move out #include "FuncStatus.h".
255         * lyxtext: move out #include "lyxcursor.h".
256         * paragraph_pimpl.h: move out #include "counters.h".
257
258 2003-09-03  Angus Leeming  <leeming@lyx.org>
259
260         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
261         preamble_snippets list, enabling us to add snippets to the preamble only
262         if the snippet was not there already.
263
264 2003-09-04  Angus Leeming  <leeming@lyx.org>
265
266         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
267
268 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
269
270         * lyxfunc.C (dispatch): if fitCursor did something be sure to
271         update
272
273 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * BranchList.C: point fix, earlier forgotten
276
277 2003-09-02  Angus Leeming  <leeming@lyx.org>
278
279         * box.C (contains): renamed from 'contained' after a fantastic
280         amount of hot air.
281
282 2003-09-02  John Levon  <levon@movementarian.org>
283
284         * BufferView.C:
285         * lyxcursor.h:
286         * lyxcursor.C:
287         * lyxfunc.C:
288         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
289
290 2003-09-02  John Levon  <levon@movementarian.org>
291
292         * text2.C: simplification of cursorEnd(), including partial
293         fix for bug 1376
294
295 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
296
297         * buffer.C (readFile): add a space
298
299 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
300
301         * BufferView_pimpl.C (update): remove bogus fitCursor() call
302
303 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
304
305         * buffer.C (readFile): new function, take a filename and a
306         ParagraphList::iterator
307         (readFile): adjust
308         (readFile): adjust, make it private. don't use setStream, make
309         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
310         always contain the filename.
311
312         * BufferView.C (insertLyXFile): simplify and make it work for
313         gzipped files.
314
315 2003-08-30  John Levon  <levon@movementarian.org>
316
317         * Makefile.am: fix dist (from Kayvan)
318
319 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
320
321         * most files: change to use const Buffer refs
322
323 2003-08-27  André Pönitz  <poenitz@gmx.net>
324
325         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
326         on top of ownerPar().
327
328 2003-08-27  John Levon  <levon@movementarian.org>
329
330         * funcrequest.C: properly initialise POD members
331
332 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
333
334         * lyxtext.h (top_y): move top_y from here
335         * text.C:
336         * text2.C:
337         * text3.C:
338         * BufferView.[Ch]:
339         * BufferView_pimpl.[Ch]: to here
340         * frontends/screen.C:
341         * insets/insettabular.C:
342         * insets/insettext.C: adjust
343         * rowpainter.[Ch] (paintRows): remove LyXText & argument
344
345 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
346
347         * BufferView.[Ch]:
348         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
349
350 2003-08-26  André Pönitz  <poenitz@gmx.net>
351
352         * paragraph_func.[Ch] (outerPar): new function
353
354         * paragraph.C:
355         * paragraph_funcs.C:
356         * paragraph_funcs.h:
357         * paragraph_pimpl.C:
358         * text2.C: remove Inset::par_owner
359
360 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
361
362         * lyxrow_funcs.C:
363         * lyxtext.h:
364         * text.C:
365         * text2.C: eliminates the needFullRow/display() stuff
366         altogether, putting the logic in metrics/draw in the insets.
367
368 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
369
370         * text2.C (redoParagraphInternal, redoParagraphs):
371         * text.C (redoParagraph): add a call to updateRowPositions at the
372         end of each 'metrics-like' call. Remove all others.
373         (getRow): remove the 'y-computing' version.
374         (getRowNearY): do not compute nor return the real y. Solve the
375         'y < 0' problem and simplify.
376
377 2003-08-22  Angus Leeming  <leeming@lyx.org>
378
379         * *.[Ch]: clean-up of licence and author blurbs.
380         Also move config.h out of a few .h files and into a few .C files.
381
382 2003-08-22  André Pönitz  <poenitz@gmx.net>
383
384         * lyxrow.[Ch]: add x_ and *fill_ members
385
386         * lyxtext.h:
387         * text.C:
388         * rowpainter.C:
389         * text2.C: adjust/remove prepareToPrint() calls
390
391 2003-08-22  André Pönitz  <poenitz@gmx.net>
392
393         * lyxrow.[Ch]: add  end_ member
394
395         * lyxrow_funcs.C: use LyXRow::end_
396
397         * lyxtext.h (singleWidth): add LyXFont parameter
398
399         * rowpainter.C:
400         * text2.C: adjust LyXText::singleWidth() calls
401
402         * text.C (redoParagraph): simplify row breaking logic
403
404
405 2003-08-19  André Pönitz  <poenitz@gmx.net>
406
407         * funcrequest.C: initialize button_ member
408
409         * text3.C:
410         * rowpainter.[Ch]: interface consolidation
411
412 2003-08-18  André Pönitz  <poenitz@gmx.net>
413
414         * BufferView.C:
415         * BufferView_pimpl.C:
416         * lyxfind.C:
417         * paragraph_funcs.C:
418         * rowpainter.C:
419         * text3.C: remove LyXScreen::draw() and fitCursor calls
420
421         * BranchList.h: remove spurious semicolons
422
423         * MenuBackend.C: fix branchlist related crash
424
425 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
426
427         * BranchList.[Ch]:
428         * InsetList.[Ch]:
429         * LColor.[Ch]:
430         * LyXAction.C:
431         * Makefile.am:
432         * MenuBackend.[Ch]:
433         * bufferparams.[Ch]:
434         * factory.C:
435         * lfuns.h:
436         * lyxfunc.C:
437         * text3.C: implements the 'branch inset'
438         idea. This allows the output of various versions of a document
439         from a single source version, selectively outputing or suppressing
440         output of parts of the text.
441         This implementation contains a 'branch list editor' in a separate
442         tab of the document settings dialog. Branches are user definable
443         and have a "display colour" to distinguish them on-screen.
444
445         ColorHandler was somewhat cleaned up.
446         (1) make possible a dynamically growing LColor list by allowing
447         the graphic context cache to grow along (vector);
448         (2) eliminate an IMHO unnecessary step in colour allocation.
449
450 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
451
452         * BufferView_pimpl.C: compile fix
453
454 2003-08-15  André Pönitz  <poenitz@gmx.net>
455
456         * rowpainter.C: remove extra metrics calls
457
458         * lyxtext.h: merge the two constructors into a single one,
459           pass reference to owner's par list
460
461         * BufferView_pimpl.C:
462         * text.C:
463         * text2.C: adjust
464
465 2003-08-15  André Pönitz  <poenitz@gmx.net>
466
467         * lyxrow_funcs.[Ch]:
468         * lyxtext.h:
469         * paragraph.h:
470         * paragraph_funcs.C:
471         * rowpainter.C:
472         * text.C:
473         * text2.C:
474         * text3.C:
475         * text_funcs.C: split LyXText::rowlist_ into individual
476         Paragraph::rows_ chunks
477
478         * BufferView.[Ch]:
479         * BufferView_pimpl.[Ch]:
480         * lyxfind.C:
481         * lyxtext.h:
482         * text3.C: remove toggleSelection()
483
484 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
485
486         * bufferlist.C: beautify two alerts (shorter text of buttons)
487         * buffer.C: Remove redundant ' ' from message
488         * tabular.h:
489         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
490         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
491         rename VALIGN_CENTER to VALIGN_MIDDLE
492
493 2003-08-11  André Pönitz  <poenitz@gmx.net>
494
495         * lyxtext.h (getPar):
496         * text.C: new function
497
498 2003-08-11  André Pönitz  <poenitz@gmx.net>
499
500         * Makefile.am:
501         * tracer.[Ch]: remove unneeded files
502
503         * InsetList.[Ch]: remove resizeInsetsLyXText()
504
505         * lyxtext.h:
506         * text.C:
507         * text2.C:
508         * text3.C: merge insertParagraphs() and appendParagraph()
509         remove breakAgain(), update()
510
511         * BufferView_pimpl.[Ch]:
512         * bufferview_funcs.[Ch]:
513         * lyxfunc.C:
514         * paragraph.[Ch]:
515         * rowpainter.C:
516         * tabular.C: adjust after text & InsetList changes.
517
518 2003-08-08  André Pönitz  <poenitz@gmx.net>
519
520         * text.C (insertChar, backspace): replace rowlist fiddling
521         with rebreak of full par
522
523         * lyxtext.h:
524         * text.C (breakAgainOneRow, redoHeightOfParagraph,
525         checkParagraph, updateInset): removed
526
527 2003-08-07  André Pönitz  <poenitz@gmx.net>
528
529         * paragraph.C:
530         * text3.C: merge some LFUN handlers, remove dead code
531
532 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
535
536 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
537
538         * text2.C (DEPM): fix part of bug 1255 and 1256
539
540 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * BufferView_pimpl.C (workAreaDispatch): change to use
543         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
544         that are no mouse related.
545
546 2003-08-05  André Pönitz  <poenitz@gmx.net>
547
548         * BufferView.[Ch]:
549         * BufferView_pimpl.[Ch]:
550         * bufferview_funcs.C:
551         * text2.C:
552         * text3.C: rip out "deep update"
553
554         * textcursor.[Ch] (last_sel_cursor): remove unused member
555
556 2003-08-04  André Pönitz  <poenitz@gmx.net>
557
558         * BufferView.[Ch]:
559         * BufferView_pimpl.[Ch]:
560         * ParagraphParameters.C:
561         * bufferview_funcs.C:
562         * lyx_cb.C:
563         * lyxfind.C:
564         * lyxfunc.C:
565         * text.C:
566         * text2.C:
567         * text3.C: replace "complicated" BufferView::update(...) calls with
568         simpler ones.
569
570         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
571
572 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
573
574         * Makefile.am (lyx_SOURCES): add paper.h
575
576 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
577
578         * Makefile.am: move things around so that both lyx-qt and
579         lyx-xforms can be built (according to --with-frontend). Then lyx
580         is a symbolic link to lyx-[firstfrontend]
581
582 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
583
584         * Always use std::endl with lyxerr
585
586 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
587
588         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
589
590 2003-08-01  André Pönitz  <poenitz@gmx.net>
591
592         * BufferView.[Ch]:
593         * BufferView_pimpl.[Ch]:
594         * lyxfunc.C:
595         * text3.C: merge BufferView::repaint() and BufferView::update()
596
597 2003-08-01  José Matos  <jamatos@lyx.org>
598
599         * buffer.[Ch]: file_format is no longer a buffer data element.
600
601 2003-08-01  André Pönitz  <poenitz@gmx.net>
602
603         * BufferView.C:
604         * lyxtext.h:
605         * text.C:
606         * text2.C: make redoParagraph more independent of current cursor
607
608         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
609         * text.C:
610         * text2.C: remove unneeded members
611
612 2003-07-30  André Pönitz  <poenitz@gmx.net>
613
614         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
615
616         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
617           create a single function...
618
619         * paragraph_funcs.C (moveItem): ... here.
620
621         * text.C:
622           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
623
624 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * LColor.[Ch]: Add comment and greyedout logical colors.
627
628 2003-07-30  André Pönitz  <poenitz@gmx.net>
629
630         * tabular.C: don't use Assert too heavily. This crashes where it
631           shouldn't
632
633 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
634
635         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
636         is disabled (bug 1232)
637
638 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
639
640         * factory.C: limited 'arg' scope
641
642 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
643
644         * factory.C: fixed Note submenu issues
645
646 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
647
648         * factory.C: submenu for Note/Comment/Greyedout
649
650 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
651
652         * lyx_main.C (LyX):
653         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
654
655 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * LaTeXFeatures.C:
658         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
659         greyedout. Patch provided by Jürgen Spitzmüller.
660
661 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * kbmap.C (read): fix error message when reading bind files
664
665 2003-07-29  Angus Leeming  <leeming@lyx.org>
666
667         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
668         certainly does not do what it purports to do. I am doing it, and
669         us, a favour by killing it.
670
671 2003-07-28  José Matos  <jamatos@lyx.org>
672
673         * buffer.C (readBody, do_writeFile):
674         * paragraph.C(readParagraph): \end_document replaces \the_end.
675
676 2003-07-29  André Pönitz  <poenitz@gmx.net>
677
678         * BufferView.[Ch]:
679         * BufferView_pimpl.[Ch]:
680         * lyxfunc.C:
681         * text2.C:
682         * text3.C:
683         * textcursor.[Ch]: remove toggleToggle & Co
684
685 2003-07-28  José Matos  <jamatos@fep.up.pt>
686
687         * buffer.C (readParagraph):
688         * params_func (readParToken, readParagraph):
689         * paragraph.C (write): \layout -> \begin_layout.
690
691 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
692
693         * lyxlex_pimpl.C (setFile): clean up slightly.
694
695         * bufferparams.h: add compressed var
696
697         * buffer_funcs.C (readFile): adjust for LyXLex change
698         (newFile): ditto + simplify
699
700         * buffer.C (writeFile): handle writing of compressed files
701
702         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
703         Check if the file is compressed and set a bufferparm if so.
704
705         * Makefile.am (lyx_LDADD): remove explicit -lz
706
707 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
710         makeDocBookFile): put the real LyX version in the first line of
711         the file
712
713         * version.h:
714         * version.C.in: remove lyx_docversion
715
716         * tabular.C (write_attribute): add a template-based version to
717         write enums properly
718
719 2003-07-28  André Pönitz  <poenitz@gmx.net>
720
721         * lyxtext.h:
722         * text.C:
723         * text2.C:
724         * text3.C: use doubles again for x-coordinates. They are needed.
725
726 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
727
728         * messages.C (getLocaleDir): use lyx_localedir()
729
730         * lyxlex_pimpl.C (setFile): compress stuff
731
732         * buffer.C (writeFile): add some compression stuff
733         (do_writeFile): new func, dont call expliti close... will this
734         breake anything?
735
736         * Makefile.am (lyx_LDADD): add -lz
737
738 2003-07-28  José Matos  <jamatos@fep.up.pt>
739
740         * buffer.C: increment file format.
741         * paragraph_funcs (readParagraph, readParToken):
742         * paragraph.C (readParagraph): add \end_layout.
743
744 2003-07-27  Angus Leeming  <leeming@lyx.org>
745
746         * Makefile.am: remove special casing for configure-time setting of
747         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
748
749         * lyx_main.C (init): remove all Jean-Marc's magic setting of
750         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
751
752 2003-07-26  André Pönitz  <poenitz@gmx.net>
753
754         * paragraph_func.[Ch]:
755         * paragraph.C (realizeFont): inline it whereever it is used
756
757         * rowpainter.C:
758         * text.C:
759         * text2.C:
760         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
761
762
763 2003-07-26  André Pönitz  <poenitz@gmx.net>
764
765         *       lyxtext.h:
766         * text.C:
767         * text2.C: get rid of LyXText::need_break_row
768
769 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
770
771         * toc.[Ch]: put namespace toc inside namespace lyx
772
773         * MenuBackend.C (expandToc2): adjust for lyx::toc
774         (expandToc): ditto
775
776         * lyxfunc.C (dispatch): adjust for lyx::find
777
778         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
779         lyx::find instead. Reorganize a bit.
780         (LyXReplace): rename to replace
781         (LyXFind): rename to find
782
783         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
784         (dispatch): ditto
785
786 2003-07-26  André Pönitz  <poenitz@gmx.net>
787
788         * text.C (setHeightOfRow): restrict scope of temporary variable
789
790         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
791           code (never has been used?)
792
793 2003-07-27  Asger Alstrup  <alstrup@local>
794
795         * text.C (fill): Optimise algorithm to exploit that we can reuse
796         the LyXFont for many characters.
797         (setHeightOfRow): Same thing.
798         (rowBreakPoint): Same thing.
799
800 2003-07-26  Asger Alstrup  <alstrup@local>
801
802         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
803
804         * text.C (singleWidth): Spurious font copying in hot-spot
805         singleWidth avoided. Reorder tests for arabic for efficiency.
806
807         * text.C (fill): handle empty paragraphs better.
808
809 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * ispell.C:
812         * encoding.h: add includes
813
814         * lyxrc.C: remove reading of bind files
815
816         * lyx_main.C (init): setup bindings and menus only if we have a
817         gui.
818
819         * kbmap.C (read): new method. Do the actual reading of bind
820         files.
821
822         * converter.C (dvipdfm_options):
823         * bufferparams.C:
824         * lyxrc.C (read):
825         (output): adapt PAPER_* enums.
826
827         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
828
829         * bufferparams.h: remove paper-related enums from there
830
831         * paper.h: New file. A trivial header file to hold paper-related
832         enums. It should later expand to contain many paper-related
833         horrors access.
834
835         * lyxrc.C: declare extern displayTranslator
836
837 2003-07-27  José Matos  <jamatos@fep.up.pt>
838
839         * tabular.[Ch] (linuxdoc): add support for tables and figures
840         (linuxdoc).
841
842 2003-07-27  José Matos  <jamatos@fep.up.pt>
843
844         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
845         consistency in both functions.
846         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
847
848 2003-07-26  Asger Alstrup  <alstrup@local>
849
850         * rowpainter.C (paintRows): Change algorithm to work directly on
851         the insets rather than asking every character in the document
852         whether its an inset.
853
854 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
855
856         * buffer.C (openFileWrite): factorize some code
857
858 2003-07-26  Angus Leeming  <leeming@lyx.org>
859
860         * lyx_cb.C:
861         * lyx_main.[Ch]: replace occurances of system_tempdir with
862         os::getTmpDir().
863
864 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
865
866         * rename Inset to InsetOld
867
868 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
869
870         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
871         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
872         which I think is a bit clearer. EDIT is gone, since it was
873         premature optimisation, and broken for mathed anyway.
874         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
875         with cursor positioning in insets as well (math insets still do not
876         work, but that's a different story anyway.) It mysteriously
877         crashes sometimes with undo in the first paragraph, but I'm fairly
878         confident that this is a compiler bug.
879
880 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
881
882         * paragraph.C (Paragraph): adjust for new clone return type
883         (operator==): ditto
884         (copyIntoMinibuffer): ditto
885
886 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
887
888         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
889         by not having a special case, and always doing a full rebreak of
890         the document after undo.
891
892 2003-07-23  Angus Leeming  <leeming@lyx.org>
893
894         * factory.C (createInset): InsetExternal::setParams now takes a
895         Buffer const * arg.
896
897 2003-07-23  Angus Leeming  <leeming@lyx.org>
898
899         * factory.C (createInset): changed interface to the external and
900         graphics mailers' string2params functions.
901
902 2003-07-23  Angus Leeming  <leeming@lyx.org>
903
904         * factory.C (createInset): pass a
905         Buffer const * parameter to InsetExternalMailer's string2params.
906
907 2003-07-22  John Levon  <levon@movementarian.org>
908
909         * Thesaurus.h: include the right aiksaurus header
910
911 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
912
913         * MenuBackend.C (expand): check menu shortcuts unconditionally
914
915 2003-07-21  Angus Leeming  <leeming@lyx.org>
916
917         * factory.C (createInset): pass a
918         buffer_path parameter to InsetGraphicsMailer's string2params.
919
920 2003-07-21  Angus Leeming  <leeming@lyx.org>
921
922         * BufferView_pimpl.C (buffer):
923         * buffer.C (d-tor):
924         * lyx_main.C (LyX):
925         * lyxfunc.C (dispatch):
926         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
927         rather than the grfx shortcut.
928
929 2003-07-21  André Pönitz  <poenitz@gmx.net>
930
931         * rowpainter.C: remove unused variables
932
933         * tabular_funcs.C:
934         * tabular_funcs.h: move to tabular.C
935         * Makefile.am: adjust
936
937         * tabular.[Ch]: basic optical cleaning
938
939         * author.h: pass references, not values
940
941 2003-07-18  André Pönitz  <poenitz@gmx.net>
942
943         * lyxtext.h:
944         * metricsinfo.C:
945         * metricsinfo.h:
946         * rowpainter.C:
947         * text.C:
948         * text2.C:
949         * text3.C: two-phase drawing for InsetText and InsetTabular
950         some float -> int changes.
951
952 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
953
954         * lyx_main.C: fix the fix
955
956 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
957
958         * lyx_main.C: fix a crash in batch mode if no files specified
959         * converter.C: ws
960
961 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
962
963         * format.[Ch] (papersize): moved to BufferParams
964         * converter.[Ch] (dvips_options): moved to BufferParams
965         (dvipdfm_options): moved to anon namespace
966         * bufferparams.[Ch]: added above functions.
967
968 2003-07-17  André Pönitz  <poenitz@gmx.net>
969
970         * lyxtext.h:
971         * rowpainter.C:
972         * text2.C: don't call inset->update() anymore
973
974         * metricsinfo.[Ch]: add convenience constructor
975
976 2003-07-16  André Pönitz  <poenitz@gmx.net>
977
978         * lyxcursor.[Ch]:
979         * lyxfunc.[Ch]:
980         * text.C:
981         * text2.C: replace the LyXCursor::irow_ member with
982          on-demand computation of the value
983
984 2003-07-16  John Levon  <levon@movementarian.org>
985
986         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
987
988 2003-07-15  André Pönitz  <poenitz@gmx.net>
989
990         * text.C:
991         * text2.C: remove no more needed refresh_row
992
993 2003-07-15  André Pönitz  <poenitz@gmx.net>
994
995         * lyxtext.h:
996         * rowpainter.C:
997         * text2.C:
998         * text3.C: refresh_status tristate -> need_update bool
999
1000 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1001
1002         * lyxtext.h (init): remove reinit argument (act as if always true)
1003         * text2.C: adjust to that
1004
1005 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1006
1007         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1008         * text3.C: use it to delete selections in some cases
1009         (bugs 441, 673, 702, 954).
1010
1011 2003-07-14  André Pönitz  <poenitz@gmx.net>
1012
1013         * rowpainter.[Ch]: reduce interface
1014
1015 2003-07-14  André Pönitz  <poenitz@gmx.net>
1016
1017         * BufferView_pimpl.C:
1018         * text2.C: adjust after removing unused BufferView * argument
1019
1020 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1021
1022         * text2.C (init): fix a crash fired on resize
1023
1024 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1025
1026         * buffer.[Ch]: added new closing signal
1027         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1028         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1029         BufferView::Pimpl via the closing the signal
1030
1031 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1032
1033         * buffer.[Ch]: take out all bv-related from buffer
1034         * BufferView.C:
1035         * BufferView_pimpl.[Ch]: connect to new signals
1036         * CutAndPaste.C: removed useless asserts
1037         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1038         * lyxvc.[Ch]:
1039         * vc-backend.[Ch]:
1040         * lyxfunc.C: moved view-related funciontality from vc here
1041         * paragraph.C: removed outdated comments
1042         * text.C: ws
1043
1044 2003-07-10  André Pönitz  <poenitz@gmx.net>
1045
1046         * BufferView_pimpl.C:
1047         * tabular.h:
1048         * tabular_funcs.C:
1049         * text.C:
1050         * text2.C: remove InsetText::InnerCache, clean up consequences
1051
1052 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1053
1054         * ispell.C: fix two typos in error messages
1055
1056 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * Extend Note inset to other forms of annotation like Comment
1059         and Greyedout. Right button click gives dialog.
1060
1061         Files modified or added (+):
1062
1063         * insetnote.[Ch]
1064         * FormNote.[Ch]      +
1065         * ControlNote.[Ch]   +
1066         * form_note.fd       +
1067         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1068         frontends/controllers
1069         * xforms/Dialogs.C
1070         * factory.C
1071
1072 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1073
1074         * aspell.C: add missing namespace lyx::support
1075
1076 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1077
1078         * BufferView.[Ch] (newFile): Add
1079         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1080         * LaTeX.[Ch] (message): added this signal and use it
1081         * buffer.[Ch] (busy, message): added these signals and use them
1082         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1083         * converter.C:
1084         * exporter.C:
1085         * format.C:
1086         * importer.C: use buffer signals instead of direct bv calling
1087         * lyx_cb.[Ch] (ShowMessage): removed
1088         * lyx_main.C:
1089         * lyxfunc.C:
1090         * paragraph_funcs.C:
1091         * text2.C: use buffer signals
1092
1093 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * introduce namespace lyx::graphics
1096
1097 2003-07-02  André Pönitz  <poenitz@gmx.net>
1098
1099         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1100
1101 2003-07-01  André Pönitz  <poenitz@gmx.net>
1102
1103         * text.C:
1104         * text2.C:
1105         * text3.C:
1106         * text_funcs.[Ch]:
1107         * textcursor.h:
1108         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1109           text*.C to text_func.C
1110
1111 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1112
1113         * introduce namespace lyx::support
1114
1115 2003-06-30  André Pönitz  <poenitz@gmx.net>
1116
1117         * Chktex.C:
1118         * funcrequest.C:
1119         * lyxtext.h:
1120         * text.C: re-enable --with-included-string
1121
1122 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * textcursor.C: add <config.h>
1125
1126         * text.C (getWord): remove const from word_location arg
1127
1128         * lyxvc.C (getLogFile): fix const type order
1129
1130         * lyxtext.h: remove const from word_location arg, add arg name
1131
1132         * lyxlayout.h: currect type on labeltype.
1133
1134         * importer.C: correct \file
1135
1136         * converter.C (intToFormat): use std:: on ret val, ws changes
1137
1138         * bufferlist.h: correct \file
1139
1140         * buffer.C (makeLinuxDocFile): fix const type order
1141         (makeDocBookFile): ditto
1142         (fillWithBibKeys): use std:: on stdlib args.
1143
1144         * CutAndPaste.C: fix authors.
1145         (availableSelections): use std:: on return vector
1146
1147 2003-06-27  André Pönitz  <poenitz@gmx.net>
1148
1149         * BufferView_pimpl.C:
1150         * bufferview_funcs.C:
1151         * lyxcursor.C:
1152         * lyxcursor.h:
1153         * lyxfunc.C:
1154         * lyxtext.h:
1155         * rowpainter.C:
1156         * text.C:
1157         * text2.C:
1158         * text3.C: remove LyXCursor::row_ member
1159
1160         * lyxtext.h:
1161         * text.C: rename fullRebreak() to partialRebreak() and implement
1162           a fullRebreak() that really bereks fully
1163
1164         * textcursor.h: new struct for cursor-related data
1165
1166 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1167
1168         * lyx_main.C (LyX): get full path of document loaded on the
1169         command line
1170
1171 2003-06-26  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1174           remove unused/broken operator>,<,>=.
1175
1176         *       text.C: remove only use of broken operator<= in an Assert().
1177
1178 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1181         moved errorlist_.clear to showErrorList
1182
1183 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * converter.C (scanLog, runLaTeX):
1186         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1187         move the bv->showErrorList call to the callers
1188         * lyxfunc.C: i.e. here...
1189         * text2.C: and here
1190         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1191         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1192         namespace, the second to...
1193         * buffer_funcs (BufferFormat, parseErrors): added
1194         * errorlist.C (ErrorList(TeXErrors const &)): removed
1195
1196 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1199
1200 2003-06-24  "Garst R. Reese" <reese@isn.net>
1201
1202         * debug.C: fix typo
1203
1204 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1207
1208         * version.C.in: change docversion to 1.4
1209
1210 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1211
1212         * buffer.C: fix a bug just introduced
1213
1214 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1215
1216         * buffer.[Ch]: added the parseError signal and use it, removed
1217         sgmlError
1218         * BufferView.[Ch] (addError): moved to ...
1219         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1220         to the Buffer::parseError signal to catch (guess what) parse errors
1221         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1222
1223 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1226         ability to create a buffer and to return an existing one from
1227         the list. Moved these functions to...
1228         * buffer_funcs.[Ch]: added
1229         * BufferView.[Ch] (loadLyXFile): added
1230         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1231         job removed from bufferlist::loadLyXFile.
1232         * buffer.C (setReadOnly): make it work without view
1233         (i.e added an if (users))
1234
1235 2003-06-19  Angus Leeming  <leeming@lyx.org>
1236
1237         * lfuns.h:
1238         * LyXAction.C (init):
1239         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1240         with LFUN_DIALOG_SHOW <name> <data>.
1241
1242 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * CutAndPaste.C (availableSelections): small compilation fix for
1245         ancient (gcc 2.9x) compilers
1246
1247 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1248
1249         * text3.C (cursorNext): add tmp var
1250
1251         * text2.C (updateCounters): for function calling out of for clause
1252         (replaceSelectionWithString): ditto
1253         (insertStringAsParagraphs): ditto
1254         (getColumnNearX): add tmp var
1255         (setCursorFromCoordinates): add tmp var
1256         (cursorDownParagraph): add tmp var
1257         (deleteEmptyParagraphMechanism): add tmp var
1258
1259         * text.C (insertChar): add tmp var
1260
1261         * rowpainter.C (paintDepthBar): add tmp var
1262
1263         * CutAndPaste.C (availableSelections): potentially check all
1264         paragraphs in a cut to fill the shown strings.
1265
1266 2003-06-18  André Pönitz  <poenitz@gmx.net>
1267
1268         * kbmap.[Ch]: use vector<> instead of list<>
1269
1270 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1271
1272         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1273         pasteSelection with index
1274
1275         * text2.C (pasteSelection): modify, call pasteSelection with index
1276
1277         * paragraph.C (asString): reimplement version with no interval to
1278         call the one with interval.
1279
1280         * lyxtext.h: add index arg to pasteSelection
1281
1282         * MenuBackend.C (MenuItem): handle PasteRecent
1283         (Menu::read::Menutags): add md_pasterecent
1284         (read): handle it
1285         (expandPasteRecent): new function
1286         (expand): use it
1287
1288         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1289
1290         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1291         the limited stack
1292         (availableSelections): new function
1293
1294 2003-06-17  Angus Leeming  <leeming@lyx.org>
1295
1296         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1297
1298 2003-06-17  Angus Leeming  <leeming@lyx.org>
1299
1300         * lfuns.h:
1301         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1302
1303         * lyxfunc.C (dispatch): invoke it.
1304
1305 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1306
1307         * iterators.C (operator++, ParPosition): reintroduce some
1308         const_cast for the benefit of older compilers.
1309
1310 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * text3.C (dispatch): do not modify clipboard when doing
1313         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1314         LFUN_DELETE_SKIP on a selection selection
1315
1316 2003-06-16  André Pönitz  <poenitz@gmx.net>
1317
1318         * BufferView.C:
1319         * buffer.C:
1320         * buffer.h:
1321         * paragraph.C:
1322         * tabular.[Ch]: IU of clone() and getLabelList();
1323
1324 2003-06-13  André Pönitz  <poenitz@gmx.net>
1325
1326         * tabular.h: compactification
1327
1328 2003-06-12  André Pönitz  <poenitz@gmx.net>
1329
1330         * tabular.C:
1331         * tabular.h:
1332         * tabular_funcs.h: some renaming plus whitespace
1333
1334 2003-06-12  André Pönitz  <poenitz@gmx.net>
1335
1336         * BufferView.C:
1337         * BufferView_pimpl.C:
1338         * CutAndPaste.C:
1339         * buffer.C:
1340         * iterators.[Ch]:
1341         * lyxfunc.C:
1342         * text.C:
1343         * toc.C: Return a Paragraph & for ParIterator::operator*()
1344
1345 2003-06-11  John Levon  <levon@movementarian.org>
1346
1347         * lyx_main.C:
1348         * ToolbarBackend.h:
1349         * ToolbarBackend.C: add "Toolbars" section and
1350         put the flags there
1351
1352 2003-06-10  Angus Leeming  <leeming@lyx.org>
1353
1354         * lfuns.h:
1355         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1356
1357         * lyxfunc.C (dispatch): invoke it.
1358
1359 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1360
1361         * main.C: protect <ios> with HAVE_IOS
1362         (main): protect sync_with_stdio with HAVE_IOS
1363
1364 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1365
1366         * text2.C (cutSelection): adjust
1367         (pasteSelection): adjust
1368
1369         * messages.C: handle get of empty string
1370
1371         * main.C (main): use sync_with_stdio(false)
1372
1373         * lyxfunc.C (dispatch): adjust
1374
1375         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1376         (WriteAs): remove unneeded BufferView arg.
1377
1378         * bufferparams.h: use correct types on papersize, papersize2 and
1379         paperpackage.
1380
1381         * bufferparams.C (readToken): adjust for type
1382         (writeLaTeX): add missing cases to switch.
1383
1384         * bufferlist.C (quitWriteBuffer): adjust
1385         (close): adjust
1386
1387         * buffer.C (asciiParagraph): remove some commented code.
1388
1389         * CutAndPaste.C: remove current_view extern variable.
1390         (cutSelection): add BufferParams arg.
1391         (eraseSelection): add BufferParams arg.
1392         (pasteSelection): add Buffer const & arg
1393
1394 2003-06-07  John Levon  <levon@movementarian.org>
1395
1396         * buffer.C:
1397         * paragraph_funcs.C:
1398         * paragraph_pimpl.C:
1399         * text.C:
1400         * text2.C:
1401         * paragraph.h:
1402         * paragraph.C: allow InsetERT to freely space lines,
1403         and some consolidation of code
1404
1405 2003-06-06  José Matos  <jamatos@fep.up.pt>
1406
1407         * buffer.C (makeDocBookFile): fix bug #821
1408
1409 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1410
1411         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1412
1413 2003-06-04  Angus Leeming  <leeming@lyx.org>
1414
1415         * buffer.C: bump format to 224.
1416
1417 2003-06-05  André Pönitz  <poenitz@gmx.net>
1418
1419         * text2.C (redoParagraphs): remove two const_cast<>
1420
1421 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1422
1423         * ParagraphList.h: remove last remnants of NO_STD_LIST
1424
1425 2003-06-03  Angus Leeming  <leeming@lyx.org>
1426
1427         * factory.C (createInset): small change to the way InsetExternal's params
1428         are set.
1429
1430 2003-06-04  André Pönitz  <poenitz@gmx.net>
1431
1432         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1433
1434         * paragraph_pimpl.h:
1435         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1436
1437         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1438
1439         * undo_funcs.C: make some simple cases of undo work again
1440
1441 2003-06-03  John Levon  <levon@movementarian.org>
1442
1443         * ispell.C: HPUX doesn't have sys/select.h
1444         (from Albert Chin)
1445
1446 2003-06-03  John Levon  <levon@movementarian.org>
1447
1448         * CutAndPaste.C: update tabular and include inset
1449         buffer references
1450
1451         * buffer.h:
1452         * paragraph.h:
1453         * paragraph.C: remove owningBuffer(), don't pass Buffer
1454         to clone()
1455
1456         * factory.C: insetGraphicsParams changed
1457
1458 2003-06-02  John Levon  <levon@movementarian.org>
1459
1460         * LyXAction.C:
1461         * factory.C:
1462         * lfuns.h:
1463         * lyxfunc.C:
1464         * text3.C: remove insetparent
1465
1466 2003-06-02  John Levon  <levon@movementarian.org>
1467
1468         * buffer.h:
1469         * buffer.C: fix inset_iterator.end(), move out of line
1470         (bug 1149)
1471
1472 2003-06-01  John Levon  <levon@movementarian.org>
1473
1474         * text3.C: use a proper cut/paste when doing inset
1475         insert (from Jürgen Spitzmüller)
1476
1477 2003-06-01  John Levon  <levon@movementarian.org>
1478
1479         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1480
1481 2003-05-30  André Pönitz  <poenitz@gmx.net>
1482
1483         * rowpainter.C: unify second drawing phase
1484
1485 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1486
1487         * trans_mgr.C: remove one case of current_view
1488
1489         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1490
1491         * paragraph_funcs.h: remove paragraph.h include
1492
1493         * paragraph.h: delete NO_STD_LIST stuff
1494
1495         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1496
1497         * buffer.h: remove paragraph.h include
1498
1499         * ParagraphList.C: delete file
1500
1501         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1502
1503         * toc.C (getTocList): adjust
1504
1505         * paragraph_pimpl.C (validate): adjust
1506
1507         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1508
1509         * paragraph.C (Paragraph): adjust
1510         (getPositionOfInset): use const_iterator, adjust
1511         (bibitem): use const_iterator, adjust
1512         (setInsetOwner): adjust
1513
1514         * iterators.C (operator++): adjust
1515
1516         * InsetList.[Ch]: Replace selfmade iterator with standard
1517         vector::iterator also introduce const_iterator. Remove getPos,
1518         getInset and setInset from InsetTable. Adjust accordingly.
1519
1520         * BufferView.C (lockInset): adjust
1521         (ChangeInsets): adjust
1522
1523         * tabular.[Ch]: delete commented same_id functions
1524
1525 2003-05-28  John Levon  <levon@movementarian.org>
1526
1527         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1528
1529 2003-05-28  André Pönitz  <poenitz@gmx.net>
1530
1531         * metricsinfo.[Ch]: remove 'fullredraw' member
1532
1533 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1534
1535         * lyxtextclass.C (operator): remove caching.
1536
1537 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * text3.C: adjust
1540
1541         * text2.C (cursorBottom): adjust
1542         (setCounter): use ParagraphList::find, adjust
1543
1544         * text.C (workWidth): use ParagraphList::find, adjust
1545
1546         * lyxcursor.C (LyXCursor): adjust
1547
1548         * buffer.C (inset_iterator): adjust
1549
1550         * ParagraphList.h: make iterator(value_type) private, make
1551         ParagraphList a friend of iterator.
1552
1553         * ParagraphList.C (find): new function
1554
1555         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1556
1557 2003-05-27  André Pönitz  <poenitz@gmx.net>
1558
1559         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1560
1561 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1564
1565 2003-05-26  John Levon  <levon@movementarian.org>
1566
1567         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1568
1569 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * remove same_id from function signatures, adjust.
1572
1573 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1576
1577         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1578
1579         * paragraph.C (Paragraph): get rid of same_ids parameter
1580
1581         * ParagraphList.C (insert): adjust
1582         (push_back): adjust
1583
1584 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1585
1586         * paragraph_funcs.C (breakParagraph): adjust
1587         (breakParagraphConservative): adjust
1588
1589         * buffer.C (readParagraph): adjust
1590
1591         * ParagraphList.C (insert): take a reference instead of a pointer
1592         (insert): adjust
1593
1594         * paragraph.[Ch] (id): new function
1595
1596         * bufferlist.C (newFile): adjust
1597
1598         * ParagraphList.C (ParagraphList): adjust
1599         (assign): adjust
1600         (push_back): take a reference instead of a pointer.
1601
1602         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1603
1604         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1605         instead.
1606
1607         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1608         set else use old code.
1609
1610         * ParagraphList.C: remove all NO_NEXT code and only compile this
1611         code of NO_STD_LIST is set.
1612
1613 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * BufferView_pimpl.C:
1616         * TextCache.C:
1617         * TextCache.h:
1618         * bufferlist.C:
1619         * errorlist.h:
1620         * format.C:
1621         * format.h:
1622         * graph.C:
1623         * lyxfunc.C:
1624         * lyxrc.C:
1625         * graphics/GraphicsConverter.C:
1626         * graphics/PreviewLoader.C: header adjustment
1627
1628 2003-05-23  Angus Leeming  <leeming@lyx.org>
1629
1630         * LaTeXFeatures.[Ch] (useBabel): new method.
1631         * bufferparams.C (writeLaTeX): use it.
1632
1633 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1634
1635         * ParagraphList.h (set): remove unused function.
1636
1637 2003-05-23  André Pönitz  <poenitz@gmx.net>
1638
1639         * BufferView.C:
1640         * BufferView_pimpl.C:
1641         * buffer.C:
1642         * buffer.h:
1643         * lyxfunc.C:
1644         * undo_funcs.C: setUndo reworked
1645
1646         * iterators.[Ch]: add access to topmost ParagraphList
1647
1648         * lyxtext.[Ch] (workWidth): add a const
1649
1650 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1651
1652         * texrow.[Ch] (increasePos): remove function
1653         * exporter.C (export): removed unused var and outdated comment
1654
1655 2003-05-23  Angus Leeming  <leeming@lyx.org>
1656
1657         * latexrunparams.h: rename fragile as moving_arg.
1658         * paragraph.C (simpleTeXOnePar): ditto.
1659         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1660
1661 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1662
1663         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1664         (createUndo): ditto
1665         (textUndoOrRedo): comment out a currently unused var.
1666
1667         * paragraph.h (NO_NEXT): enable NO_NEXT
1668
1669         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1670
1671         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1672
1673         * exporter.C (Export): adjust for removeAutoInsets removal.
1674
1675         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1676
1677         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1678
1679         * BufferView.[Ch] (removeAutoInsets): delete function
1680
1681 2003-05-22  Angus Leeming  <leeming@lyx.org>
1682
1683         * latexrunparams.h: add a free_spacing variable.
1684
1685         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1686         to pass moving_arg, as the data is stored in runparams.fragile.
1687
1688         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1689         to Inset::latexOptional or to simpleTeXOnePar.
1690
1691         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1692         free_spacing arg to Inset::latexOptional.
1693
1694         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1695         free_spacing arg.
1696
1697 2003-05-22  Angus Leeming  <leeming@lyx.org>
1698
1699         * latexrunparams.h: add fragile and use_babel variables.
1700
1701         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1702         * buffer.C (makeLaTeXFile): store this returned value in
1703         runparams.use_babel, thus passing it to the inset::latex methods.
1704
1705         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1706         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1707
1708         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1709         longer has a fragile arg, as it is stored in runparams.fragile.
1710
1711         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1712         moving_arg parameter as the data is stored in runparams.fragile.
1713
1714         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1715         a fragile parameter as the data is stored in runparams.fragile.
1716
1717 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1720
1721 2003-05-22  Angus Leeming  <leeming@lyx.org>
1722
1723         * latexrunparams.h: add a 'bool nice' which defaults to false.
1724
1725         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1726         now encapsulated within runparams.
1727
1728         * bufferlist.C (updateIncludedTeXfiles):
1729         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1730
1731 2003-05-22  Angus Leeming  <leeming@lyx.org>
1732
1733         * latexrunparams.h: new file containing struct LatexRunParams.
1734         * Makefile.am: add new file.
1735
1736         * LaTeX.[Ch] (c-tor, run):
1737         * buffer.[Ch] (makeLaTeXFile):
1738         * bufferlist.[Ch] (updateIncludedTeXfiles):
1739         * converter.C (convert, scanLog):
1740         * converter.[Ch] (runLaTeX):
1741         * exporter.C (Export):
1742         * paragraph.[Ch] (simpleTeXOnePar):
1743         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1744         * paragraph_funcs.[Ch] (latexParagraphs):
1745         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1746         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1747         pass around a LatexRunParams parameter.
1748
1749 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1750
1751         * paragraph.[Ch]: remove unused constructor
1752
1753         * ParagraphList.C (erase): new function, taking two iterators
1754
1755 2003-05-22  André Pönitz  <poenitz@gmx.net>
1756
1757         * undo_funcs.C: remove duplicated code
1758
1759         * iterator.[Ch]: operator=
1760
1761 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1762
1763         * tabular.C (SetMultiColumn): ws changes
1764
1765         * rowpainter.C (paintFirst): get rid of a ->previous
1766
1767         * lyx_cb.C (getPossibleLabel): parlist simplification
1768
1769         * BufferView.C (ChangeInsets): simplify slightly.
1770
1771 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1772
1773         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1774         * lfuns.h: new LFUN_SPACE
1775         * lyxfunc.C: protected space has a new lfun
1776         * paragraph_funcs.C: read new space insets
1777         * text3.C:
1778         * factory.C: handle new space insets
1779
1780 2003-05-22  André Pönitz  <poenitz@gmx.net>
1781
1782         * BufferView.C:
1783         * BufferView_pimpl.C:
1784         * buffer.[Ch]:
1785         * lyxfunc.C:
1786         * undo_funcs.C: return a ParIterator from getParFromID.
1787
1788         * iterators.[Ch]: add two const's
1789
1790 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1791
1792         * toc.C (getTocList): adjust
1793
1794         * iterators.[Ch]: rework for parlist
1795
1796         * buffer.C (par_iterator_begin): adjust
1797         (par_iterator_end): adjust
1798
1799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1800
1801         * BufferView.C (removeAutoInsets): adjust
1802         (ChangeInsets): adjust
1803
1804 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * text.C (top_y): fix bug 1110
1807
1808 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * errorlist.[Ch]: added
1811         * buffer.C:
1812         * BufferView.[Ch]:
1813         * BufferView_pimpl.C:
1814         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1815         instead
1816
1817 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * Makefile.am: ensure that lyx is relinked upon changes to the
1820         various "convenience" libs.
1821
1822 2003-05-20  Angus Leeming  <leeming@lyx.org>
1823
1824         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1825         files are compiled in alphabetical order again.
1826
1827         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1828
1829 2003-05-19  Angus Leeming  <leeming@lyx.org>
1830
1831         * gettext.[Ch]: remove "char const * _(char const *)".
1832
1833 2003-05-19  André Pönitz  <poenitz@gmx.net>
1834
1835         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1836
1837         * Makefile.am:
1838         * BufferView.C:
1839         * DepTable.h:
1840         * LaTeXFeatures.C:
1841         * buffer.C:
1842         * lyxfont.C:
1843         * lyxlex.h:
1844         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1845
1846 2003-05-19  André Pönitz  <poenitz@gmx.net>
1847
1848         * buffer.C:
1849         * lyxlayout.[Ch]:
1850         * lyxtextclass.[Ch]:
1851         * paragraph.C:
1852         * paragraph_funcs.[Ch]:
1853         * text2.C:
1854         * text3.C: more insetenv work
1855
1856 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1857
1858         * ParagraphParameters.C (params2string): small bug fixed
1859
1860 2003-05-16  André Pönitz  <poenitz@gmx.net>
1861
1862         * debug.C:
1863         * bufferview_funcs.C: patch from Kornel Benko to prevent
1864           crash when _(...) is called twice in a statement
1865
1866 2003-05-16  André Pönitz  <poenitz@gmx.net>
1867
1868         * BufferView.C:
1869         * lyxfunc.C:
1870         * text.C:
1871         * text2.C:
1872         * text3.C:
1873         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1874
1875 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1876
1877         * lyx_main.C (init): remove spurious static_cast
1878
1879 2003-05-14  André Pönitz  <poenitz@gmx.net>
1880
1881         * BufferView.C: fix format string
1882
1883 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1884
1885         * BufferView.[Ch] (insertErrors): removed
1886         * BufferView.[Ch] (showErrorList): added
1887         * buffer.C (runChkTeX):
1888         * converter.C (scanLog): call showErrorList instead of inserterrors
1889
1890 2003-05-13  André Pönitz  <poenitz@gmx.net>
1891
1892         * BufferView_pimpl.C:
1893         * buffer.C:
1894         * bufferview_func.C:
1895         * MenuBackend.C:
1896         * lyxfunc.C:
1897         * lyxrc.C:
1898         * tex-accent.C:
1899         * text3.C:
1900         * toc.C:
1901         * tabular_funcs.h: tostr() from its own header
1902
1903         * ParagraphParameters.C:
1904         * ToolbarBackend.C:
1905         * bufferparams.C:
1906         * format.C:
1907         * lyxlex_pimpl.C:
1908         * text3.C: STRCONV()
1909
1910 2003-05-12  André Pönitz  <poenitz@gmx.net>
1911
1912         * BufferView.C:
1913         * BufferView_pimpl.C:
1914         * CutAndPaste.C:
1915         * LaTeX.C:
1916         * LaTeXFeatures.C:
1917         * ParagraphParameters.C:
1918         * buffer.C:
1919         * bufferlist.C:
1920         * bufferparams.C:
1921         * bufferview_funcs.C:
1922         * converter.C:
1923         * counters.C:
1924         * debug.C:
1925         * exporter.C:
1926         * format.C:
1927         * importer.C:
1928         * lyx_cb.C:
1929         * lyx_main.C:
1930         * lyxfont.C:
1931         * lyxfunc.C:
1932         * lyxvc.C:
1933         * paragraph.C:
1934         * paragraph_funcs.C:
1935         * tabular.C:
1936         * tabular_funcs.C:
1937         * text2.C:
1938         * text3.C:  boost::format -> bformat  all over the place
1939
1940
1941 2003-05-09  André Pönitz  <poenitz@gmx.net>
1942
1943         * LColor.[Ch]: Pimpl the #include <map> away
1944
1945 2003-05-09  John Levon  <levon@movementarian.org>
1946
1947         * bufferlist.C: never remove emergency saves
1948
1949 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1950
1951         * Makefile.am: better lib building
1952
1953 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1954
1955         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1956         instead.
1957         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1958         (simpleTeXSpecialChars): adjust
1959         (simpleTeXSpecialChars): adjust
1960         * paragraph.C (simpleTeXOnePar): adjust
1961         * buffer.C (makeLaTeXFile): adjust
1962
1963         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1964
1965         * text2.C (changeDepth): parlist cleanup
1966         (getColumnNearX): ditto
1967
1968         * rowpainter.C (getLabelFont): parlist cleanup
1969
1970         * bufferlist.C (newFile): parlist cleanup
1971
1972         * CutAndPaste.C (eraseSelection): parlist cleanup
1973
1974         * BufferView_pimpl.C (trackChanges): parlist cleanup
1975         (dispatch): ditto
1976
1977         * BufferView.C (lockInset): parlist cleanup.
1978         (ChangeInsets): ditto
1979
1980 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * CutAndPaste.h: Update file header.
1983
1984         * CutAndPaste.C: Update file header.
1985         Store the parts cut out of the Document in a limited_stack.
1986         (copySelection): adjust
1987         (pasteSelection): new function, takes the index in the limited stack.
1988         (nrOfParagraphs): adjust
1989         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1990         simplify error inset insertion.
1991         (checkPastePossible): adjust
1992
1993 2003-05-06  John Levon  <levon@movementarian.org>
1994
1995         * text2.C: don't cast wrap inset to float
1996
1997 2003-05-05  André Pönitz  <poenitz@gmx.net>
1998
1999         * iterator.C:
2000         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2001
2002         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2003           few naked Paragraph *.
2004
2005 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2006
2007         * bufferparams.C: Output warning if a document with missing
2008         TeX document class is loaded
2009         * exporter.C: Disable TeX exports if the document class is missing
2010         * lyxtextclass.C:
2011         * lyxtextclass.h:
2012         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2013         isTeXClassAvailable()
2014
2015 2003-05-03  John Levon  <levon@movementarian.org>
2016
2017         * BufferView.h:
2018         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2019         explicit cursor show/hide
2020
2021         * BufferView_pimpl.h:
2022         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2023         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2024
2025         * lyxfunc.C: hide cursor before dispatching.
2026
2027         * lyx_cb.C:
2028         * lyxfind.C:
2029         * text.C:
2030         * text3.C: remove explicit cursor hides
2031
2032 2003-05-02  André Pönitz  <poenitz@gmx.net>
2033
2034         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2035
2036         * undo_funcs.C:
2037         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2038           linked lists
2039
2040         * text2.C: tiny whitespace
2041
2042 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * undo_funcs.C: almost only ws changes.
2045
2046         * ParagraphList.C (splice): just return if pl is empty.
2047
2048 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2049
2050         * ParagraphList.C (splice): new function.
2051
2052         * CutAndPaste.C (pasteSelection): use it
2053
2054 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * CutAndPaste.C (pasteSelection): remove the last next and
2057         previous from this file.
2058
2059 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * CutAndPaste.C (pasteSelection): more clean up, user proper
2062         ParagraphList functions for pasteing.
2063
2064         * ParagraphList.C (insert): new function, three arg insert
2065
2066 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * ParagraphList.C (insert): new function, three arg insert
2069
2070         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2071         not on paragraphs.
2072
2073 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2076
2077 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2080
2081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2084         (copySelection): clean up a bit.
2085         (pasteSelection): use make_pair
2086
2087         * ParagraphList.C (ParagraphList): implement copy constructor
2088         (operator=): implement, base on copy constructor.
2089         (assign): new func
2090
2091         * paragraph.C (erase): return a bool
2092
2093         * paragraph_pimpl.C (erasePos): remove function, move contents...
2094         (erase): ... here. Return a bool.
2095         (erase): call erase instead of erasePos.
2096
2097 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2098
2099         * ParagraphList.h: define PitPosPair
2100         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2101         ParagraphList, fix a bug on pasting multiple pars
2102         * text2.C: change interface to C&P
2103
2104 2003-04-30  André Pönitz  <poenitz@gmx.net>
2105
2106         * undo_func.C: revert part of yesterday's patch 2
2107
2108 2003-04-30  John Levon  <levon@movementarian.org>
2109
2110         * LColor.C: s/tabular/table/
2111
2112 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * text3.C (dispatch): do not convert iterator -> pointer
2115         * undo_funcs.C (setCursorParUndo): ditto
2116         * text_funcs.C (transposeChars): ditto
2117
2118         * text2.C (setLayout): ws changes only
2119
2120         * text.C (breakParagraph): do not convert iterator -> pointer
2121         (insertChar): ditto
2122         (acceptChange): ditto
2123         (rejectChange): ditto
2124         (changeCase): ditto
2125         (Delete): ditto
2126         (backspace): ditto
2127
2128         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2129         pointer
2130
2131 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2132
2133         * text3.C (gotoInset): YABG (yet another bad getChar)
2134
2135 2003-04-29  André Pönitz  <poenitz@gmx.net>
2136
2137         * paragraph.h: make operator= private unimplemented as long as
2138           it is unusable
2139
2140         * ParagraphList.C: whitespace
2141
2142         * paragraph.[Ch]:
2143         * paragraph_pimpl.[Ch]:
2144         * paragraph_funcs.C:
2145         * CutAndPaste.C:
2146         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2147
2148         * text2.C:
2149           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2150
2151 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2154         * paragraph.[Ch] (erase):
2155         * paragraph_pimpl.[Ch] (erase): change return type and value
2156         * text2.C (cutSelection): some rework
2157
2158 2003-04-28  John Levon  <levon@movementarian.org>
2159
2160         * bufferlist.C: changes for unsaved changes dialog
2161
2162 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * bufferlist.C (newFile): set language (messages_) for new
2165         documents also.
2166
2167         * buffer.C (readFile): ws changes only.
2168
2169 2003-04-28  André Pönitz  <poenitz@gmx.net>
2170
2171         * undo_funcs.C:
2172         * lyxfunc.C:
2173         * buffer.[Ch]:
2174         * BufferView_pimpl.C:
2175         * BufferView.C: getParFromID related ParagraphList::iterator changes
2176
2177 2003-04-28  André Pönitz  <poenitz@gmx.net>
2178
2179         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2180           Changes
2181
2182 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * messages.C: remove one more localedir class variable.
2185
2186 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * messages.C (getLocaleDir): singleton generation function
2189         (Pimpl): use it.
2190         (Messages): add a default constructor.
2191
2192         * main.C (main): do not setup localedir here, do not call
2193         gettext_init.
2194
2195         * gettext.C (_): use it.
2196         (gettext_init): delete funciton
2197
2198 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * gettext.C (getLyXMessages): new singleton generating function.
2201
2202         * buffer.C (updateDocLang): adjust
2203
2204         * Makefile.am (messages.o): add target
2205         (main.o): remove target
2206
2207 2003-04-27  John Levon  <levon@movementarian.org>
2208
2209         * bufferlist.C:
2210         * lyx_cb.C:
2211         * lyxfunc.C:
2212         * lyxvc.C: specify cancel button in Alert::prompt
2213
2214 2003-04-26  John Levon  <levon@movementarian.org>
2215
2216         * text3.C:
2217         * lyxfunc.C:
2218         * lfuns.h:
2219         * LyXAction.C: add LFUN_INSET_SETTINGS
2220
2221         * lyxfunc.C: don't enable tabular-feature when there's
2222         just any locking inset
2223
2224 2003-04-26  John Levon  <levon@movementarian.org>
2225
2226         * bufferlist.C: re-add Cancel to buffer close question
2227
2228         * lyxfunc.C: fix import UI a bit
2229
2230 2003-04-25  John Levon  <levon@movementarian.org>
2231
2232         * gettext.C: remove the broken asserts for now
2233
2234 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * messages.C: make case where setlocale cannot comply work better.
2237
2238         * buffer.C (updateDocLang): new function
2239         (changeLanguage): use it
2240         (readFile): use it
2241
2242         * text2.C (setCounter): use B_ a bit.
2243
2244         * lyxlayout.C (Read): be sure to trim the label strings.
2245
2246         * messages.C (Messages): fix typo in comment
2247
2248         * buffer.C (readFile): set message_ after file is loaded.
2249         (makeDocBookFile): remove double return
2250         (changeLanguage): reset message_ upon language change.
2251         (B_): new func, use this to get translated buffer strings.
2252
2253         * main.C: add myself and Jean Marc as authors.
2254
2255 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2256
2257         * messages.[hC]: pimplify Messages, and three different pimpls to be
2258         used in different circumstances.
2259
2260         * gettext.[Ch]: change for use with new message code.
2261
2262 2003-04-24 André Pönitz <poenitz@gmx.net>
2263
2264         * factory.C: support for eqref
2265
2266 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * messages.[Ch]: add missing char
2269
2270         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2271
2272         * messages.[Ch]: New files
2273
2274 2003-04-18  John Levon  <levon@movementarian.org>
2275
2276         * BufferView.h:
2277         * BufferView.C:
2278         * BufferView_pimpl.C:
2279         * lfuns.h:
2280         * LyXAction.C:
2281         * lyxtext.h:
2282         * text2.C: remove layout-copy/paste (bug 778)
2283
2284 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2285
2286         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2287
2288 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2291         if they succeed. Act accordingly.
2292
2293 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2294
2295         * text2.C (setCharFont): adjust
2296         (setCounter): adjust
2297         (insertStringAsLines): adjust
2298
2299         * text.C (leftMargin): adjust
2300         (setHeightOfRow): adjust
2301
2302         * rowpainter.C (paintFirst): adjust
2303         (paintLast): adjust
2304
2305         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2306         (outerHook): ditto
2307         (isFirstInSequence): ditto
2308         (getEndLabel): ditto
2309         (outerFont): adjust
2310
2311         * paragraph.C (getParLanguage): comment out some hard stuff.
2312
2313         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2314         (sgmlError): ditto
2315         (simpleDocBookOnePar): ditto
2316         (makeDocBookFile): use ParagraphList::iterator
2317
2318         * CutAndPaste.C (pasteSelection): adjust
2319
2320 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * text2.C (getFont): adjust
2323         (getLayoutFont): adjust
2324         (getLabelFont): adjust
2325
2326         * paragraph_funcs.C (TeXOnePar): adjust
2327
2328         * buffer.C (simpleLinuxDocOnePar): adjust
2329         (simpleDocBookOnePar): adjust
2330
2331         * CutAndPaste.C (pasteSelection): adjust
2332
2333         * BufferView.C (getEncoding): adjust
2334
2335         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2336
2337 2003-04-16  John Levon  <levon@movementarian.org>
2338
2339         * lyxfind.C: use parlist stuff for search/changes
2340
2341 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2344
2345         * text2.C (deleteEmptyParagraphMechanism): adjust
2346
2347         * text2.[Ch] (ownerParagraph): delete func (both of them
2348
2349 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2352
2353 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * ParagraphList.C: prepare for NO_NEXT
2356
2357 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * text2.C (getFont): adjust
2360         (getLayoutFont): adjust
2361         (getLabelFont): adjust
2362
2363         * paragraph.C (getFont): adjust
2364         (getLabelFont): adjust
2365         (getLayoutFont): adjust
2366
2367         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2368
2369 2003-04-15  John Levon  <levon@movementarian.org>
2370
2371         From Angus Leeming
2372
2373         * lyx_main.C: handle Include in .ui files
2374
2375 2003-04-15  John Levon  <levon@movementarian.org>
2376
2377         * MenuBackend.C: make the doc files length shorter
2378
2379         * ToolbarBackend.h:
2380         * ToolbarBackend.C: handle toolbar placement flags,
2381         Minibuffer
2382
2383 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2386         adjust
2387
2388         * paragraph_funcs.C (TeXOnePar): adjust
2389
2390         * paragraph.C (getLabelFont): add outerfont arg, adjust
2391         (getLayoutFont): ditto
2392         (simpleTeXOnePar): adjust
2393
2394         * paragraph_pimpl.C (realizeFont): delete func
2395
2396 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2397
2398         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2399         row argument, constify cur argument.
2400
2401 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * text2.C (getFont): adjust
2404         (getLayoutFont): adjust
2405         (getLabelFont): adjust
2406
2407         * paragraph_funcs.C (TeXOnePar): adjust
2408         (outerFont): new func...
2409         (realizeFont): ...moved out from here, changed this to facilitate
2410         transition
2411
2412         * paragraph.C (getFont): take outerfont as arg, adjust
2413         (simpleTeXOnePar): add outerfont arg, adjust
2414
2415         * buffer.C (simpleLinuxDocOnePar): adjust
2416         (simpleDocBookOnePar): adjust
2417
2418         * CutAndPaste.C (pasteSelection): adjust
2419
2420         * BufferView.C (getEncoding): adjust
2421
2422 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2423
2424         * text2.C (setCharFont): adjust
2425         (setCounter): adjust
2426
2427         * text.C (leftMargin): adjust
2428         (setHeightOfRow): adjust
2429
2430         * rowpainter.C (paintFirst): adjust
2431         (paintLast): adjust
2432
2433         * paragraph_pimpl.C (realizeFont): adjust
2434
2435         * paragraph.C (isFirstInSequence): move from here...
2436         * paragraph_funcs.C (isFirstInSequence): ...to here
2437
2438         * paragraph.C (outerHook): move from here...
2439         * paragraph_funcs.C (outerHook): ...to here
2440
2441         * paragraph.C (depthHook): move from here...
2442         * paragraph_funcs.C (depthHook): ...to here
2443
2444         * paragraph.C (getEndLabel): move from here...
2445         * paragraph_funcs.C (getEndLabel): ...to here
2446
2447         * text2.C (realizeFont): move from here...
2448         * paragraph_funcs.C (realizeFont): ...to here
2449
2450 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2453
2454 2003-04-14  Angus Leeming  <leeming@lyx.org>
2455
2456         * LColor.[Ch]: scrap LColor mathcursor.
2457
2458 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * lyxlex.[Ch] (text): delete function
2461         * trans.C (Load): adjust
2462         * paragraph_funcs.C (readParToken): adjust
2463
2464 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2467         vector<char> instead of a char[].
2468
2469         * lyxlex_pimpl.C (getString): adjust
2470         (next): adjust
2471         (lex): use getString
2472         (eatLine): adjust
2473         (nextToken): adjust
2474
2475         * lyxlex.C (text): use pimpl_->getString()
2476         (getBool): ditto
2477         (findToken): ditto
2478
2479 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2482         (makeFontEntriesLayoutSpecific): temp var for par.size()
2483         (setLayout): temp var for ownerParagraphs().end()
2484         (fullRebreak): temp var for rows().end()
2485         (selectionAsString): temp var for boost::next(startpit), realize
2486         that the while really is a regular for loop.
2487         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2488         setCursor in one place.
2489         (setParagraph): temp vr for ownerParagraphs().end()
2490         (updateCounters): make the while loop a for loop
2491         (cutSelection): temp var for ownerParagraphs().end()
2492         (updateInset): make the do {} while() a regular for loop
2493         (getCursorX): use temp vars
2494         (setCurrentFont): use temp vars
2495         (getColumnNearX): use temp vars
2496
2497 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * text.C (transformChar): use temp var for getChar
2500         (computeBidiTables): use temp var for row->par()
2501         (fill): move temp vars for row->par() and pit->layout() earlier in
2502         the function.
2503         (labelFill): use temp var for row->par()
2504         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2505         asc and desc, realize that pit never changes and that firstpit is
2506         just a duplicate and not needed. Exchange rit->par() with pit in a
2507         lot of places.
2508         (breakAgain): use a temp var for boost::next(rit)
2509         (breakAgainOneRow): ditto
2510         (breakParagraph): use a temp var for rows().begin()
2511         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2512         (cursorRightOneWord): use temp var for cursor.par() and
2513         cursor.pos(), remove usage of tmpcursor.
2514         (cursorLeftOneWord): use temp var for cursor.par() and
2515         cursor.pos() only set cur at end of function.
2516
2517 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * text.C, text2.C: exchange all usage of Paragraph::next with
2520         boost::next(ParagraphList::iterator)
2521
2522         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2523
2524         * text2.C (cursorTop): simplify implementation
2525         (cursorBottom): ditto
2526         (setParagraph): use ParagraphList::iterator
2527         (setCurrentFont): adjust
2528         (getColumnNearX): adjust
2529         (cursorRight): adjust
2530         (cursorLeft): remove usage of Paragraph::previous
2531         (cursorUpParagraph): ditto
2532         (deleteEmptyParagraphMechanism): slight cleanup
2533
2534         * text.C (isBoundary): take a Paragraph const & instead of a
2535         pointer as arg.
2536         (addressBreakPoint): ditto
2537         (leftMargin): remove usage of Paragraph::previous.
2538         (setHeightOfRow): ditto
2539         (cursorLeftOneWord): ditto
2540         (selectNextWordToSpellcheck): ditto
2541         (Delete): ditto
2542         (backspace): ditto
2543         (breakParagraph): remove one usage of Paragraph::next
2544         (redoParagraph): ditto
2545         (acceptChange): ditto
2546         (insertChar): adjust
2547         (rowBreakPoint): adjust
2548
2549         * bufferview_funcs.C (toggleAndShow): adjust
2550
2551 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2552
2553         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2554         methods to access it.
2555         * lyxtext.h:
2556         * text.C: Added updateRowPositions to compute all row positions.
2557         Make top_y and getRowNearY() to use the cached y position
2558
2559 2003-04-11  John Levon  <levon@movementarian.org>
2560
2561         * text.C (rowBreakPoint): reintroduce the labelEnd
2562         checks, code copied from the row fill stuff. Deep voodoo.
2563
2564         * text.C (fill): add a comment and debugging for the
2565         next poor soul.
2566
2567 2003-04-11  John Levon  <levon@movementarian.org>
2568
2569         * text.C: make sure fullrow insets get wrapped to the next line,
2570         even when they're in a manual label
2571
2572 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * text2.C (insertParagraph): make it take ParagraphList::iterator
2575         as arg.
2576         (setLayout): make it return ParagraphList::iterator
2577         (redoParagraphs): ditto
2578         (setCounter): ditto
2579         (checkParagraph): ditto
2580
2581         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2582
2583         * text2.C: adjust several funcs.
2584         (realizeFont): take a ParagraphList::iterator as arg.
2585         (getLayoutFont): ditto
2586         (getLabelFont): ditto
2587         (setCharFont): ditto
2588
2589         * text.C: adjust several funcs.
2590
2591 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2592
2593         * text.C (selectNextWordToSpellcheck): don't accidentally
2594         skip insets
2595
2596 2003-04-10  John Levon  <levon@movementarian.org>
2597
2598         * ToolbarBackend.C (getIcon): special handling for
2599         LFUN_MATH_DELIM
2600
2601 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * text2.C (cursorRight): a getChar assert fixed
2604
2605 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * text2.C (getFont): change to take a ParagraphList::iterator
2608         instead of Paragraph*
2609         Adjust several functions.
2610
2611         * text.C (transformChar): change to take a ParagraphList::iterator
2612         instead of Paragraph*
2613         (singleWidth): ditto
2614         Adjust several functions.
2615
2616         * rowpainter.C: adjust several functions
2617         * rowpainter.h:store a ParagraphList::iterator and not a
2618         Paragraph&.
2619
2620
2621 2003-04-09  John Levon  <levon@movementarian.org>
2622
2623         * lyxfunc.C:
2624         * lfuns.h:
2625         * LyXAction.h:
2626         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2627         and the "help" bits as well
2628
2629 2003-04-09  John Levon  <levon@movementarian.org>
2630
2631         * ToolbarBackend.h:
2632         * ToolbarBackend.C: allow multiple toolbars
2633
2634 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * undo_funcs.C (setCursorParUndo): adjust
2637
2638         * text_funcs.C (transposeChars): adjust
2639
2640         * text3.C (gotoNextInset): adjust
2641         (dispatch): adjust
2642
2643         * text2.C (setLayout): adjust
2644         (changeDepth): adjust
2645         (setFont): adjust
2646         (redoParagraphs): adjust
2647         (selectionAsString): adjust
2648         (setParagraph): adjust
2649         (insertInset): adjust
2650         (cutSelection): adjust
2651         (copySelection): adjust
2652         (pasteSelection): adjust
2653         (insertStringAsLines): adjust
2654         (updateInset): adjust
2655         (setCursor): change to take a ParagraphList::iterator parameter
2656         (setCursorIntern): change to take a ParagraphList::iterator parameter
2657         (setCurrentFont): adjust
2658         (cursorLeft): adjust
2659         (cursorRight): adjust
2660         (deleteEmptyParagraphMechanism): adjust
2661
2662         * text.C (breakParagraph): adjust
2663         (insertChar): adjust
2664         (acceptChange): adjust
2665         (rejectChange): adjust
2666         (selectNextWordToSpellcheck): adjust
2667         (changeCase): adjust
2668         (Delete): adjust
2669         (backspace): adjust
2670
2671         * lyxfind.C (SearchForward): adjust
2672         (SearchBackward): adjust
2673         (nextChange): adjust
2674
2675         * lyxcursor.C (par): adjust
2676
2677         * lyxcursor.h: store a ParagraphList::iterator instead of a
2678         Paragraph*
2679
2680         * lyx_cb.C (getPossibleLabel): adjust
2681
2682         * bufferview_funcs.C (toggleAndShow): adjust
2683
2684         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2685         (dispatch): adjust
2686
2687         * BufferView.C (removeAutoInsets): adjust
2688         (lockedInsetStoreUndo): adjust
2689
2690 2003-04-09  John Levon  <levon@movementarian.org>
2691
2692         * ToolbarBackend.C: try icon without argument
2693         if with argument fails
2694
2695 2003-04-08  John Levon  <levon@movementarian.org>
2696
2697         * ToolbarBackend.h:
2698         * ToolbarBackend.C: add getIcon(), handle tooltip,
2699         and change from "Icon" to "Item".
2700
2701 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2702
2703         * BufferView.C (lockInset): another bad getchar crunched
2704
2705 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2706
2707         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2708         again)
2709
2710 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * lyxfind.C (searchForward, searchBackwards): bug 782
2713
2714 2003-04-07  John Levon  <levon@movementarian.org>
2715
2716         * paragraph.C: remove dead comment
2717
2718         * text.C: remove troublesome depth-fiddling code
2719         in leftMargin() and rightMargin() (bug 1017)
2720
2721         * text.C: fix breaking of rows in nested lists
2722         (bug 1004)
2723
2724         * text2.C (updateCounters): fix up depth values
2725         (bug 1013)
2726
2727 2003-04-07  John Levon  <levon@movementarian.org>
2728
2729         * BufferView_pimpl.C: clear message when doc finishes resizing,
2730         and after a mouse event
2731
2732         * lyxfunc.C: clear message after exiting inset
2733
2734 2003-04-07  John Levon  <levon@movementarian.org>
2735
2736         * bufferview_funcs.C: show math status not outside
2737         status in the statusbar
2738
2739 2003-04-07  John Levon  <levon@movementarian.org>
2740
2741         * lyxfunc.C: note status changed after a depth change
2742
2743 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2744
2745         * LaTeX.h: move AuxInfo operator==, != out of line.
2746         Remove LaTeX virtual destructor; nothing derives from it.
2747         Move operator()() out of public area and rename it startscript().
2748         Change protected for private.
2749
2750 2003-04-04  Angus Leeming  <leeming@lyx.org>
2751
2752         * lyxfunc.C:
2753         * text2.C: remove unneeded #includes.
2754
2755 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * text2.C (dEPM): fix the heigth of the next row
2758
2759 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * text.C: squashed an invalid getChar requester + some ws changes
2762
2763 2003-04-03  John Levon  <levon@movementarian.org>
2764
2765         * bufferview_funcs.h:
2766         * bufferview_funcs.C:
2767         * lyxfunc.C:
2768         * lyxtext.h:
2769         * text2.C: make getStatus work for the env depth lfuns
2770
2771 2003-04-03  John Levon  <levon@movementarian.org>
2772
2773         * bufferview_funcs.h:
2774         * bufferview_funcs.C:
2775         * lyxfunc.C:
2776         * lyxtext.h:
2777         * text2.C: parlistize decDepth(), by merging it with incDepth()
2778
2779 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * lyxrow.h: store a ParagraphList::iterator instead of a
2782         Paragraph* and adjust other class functions to suit.
2783
2784         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2785         above.
2786
2787 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * text2.C (setCursor): do not anchor to cursor row for the time being
2790
2791 2003-04-02  John Levon  <levon@movementarian.org>
2792
2793         * LyXAction.C:
2794         * lfuns.h:
2795         * lyx_main.C:
2796         * lyxtext.h:
2797         * text.C:
2798         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2799
2800 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * paragraph.h: make ParagraphList and ParagraphList::iterator
2803         friends of Paragraph.
2804
2805         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2806
2807         * ParagraphList.C: Use the private next_ and previous_ from
2808         Paragraph.
2809
2810 2003-04-01  John Levon  <levon@movementarian.org>
2811
2812         * ToolbarBackend.h:
2813         * ToolbarBackend.C:
2814         * Makefile.am: rename, remove defaults gunk
2815
2816         * MenuBackend.h:
2817         * MenuBackend.C: remove defaults gunk
2818
2819         * Languages.h:
2820         * Languages.C: remove defaults gunk
2821
2822         * lyx_main.h:
2823         * lyx_main.C: error out if files couldn't be found.
2824
2825 2003-04-02  John Levon  <levon@movementarian.org>
2826
2827         * text2.C: make incDepth() use parlist
2828
2829 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2830
2831         * undo_funcs.C (firstUndoParagraph): adjust
2832
2833         * text3.C (gotoInset): adjust
2834         (dispatch): adjust, and rewrite loop.
2835
2836         * text2.C (init): adjust, and rewrite loop.
2837         (redoParagraphs): adjust
2838         (updateInset): adjust, and rewrite loop.
2839         (deleteEmptyParagraphMechanism): adjust
2840
2841         * tabular.C (LyXTabular): adjust
2842         (SetMultiColumn): adjust
2843         (TeXRow): adjust
2844
2845         * lyxtext.[Ch] (ownerParagraph): delete function
2846         (ownerParagraphs): new function returns a ParagraphList.
2847
2848         * BufferView.C (removeAutoInsets): adjust
2849         (insertErrors): adjust
2850         (setCursorFromRow): adjust
2851
2852 2003-04-01  Angus Leeming  <leeming@lyx.org>
2853
2854         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2855         in the frontends.
2856
2857 2003-04-02  John Levon  <levon@movementarian.org>
2858
2859         * lyxtext.h:
2860         * text.C:
2861         * Makefile.am:
2862         * text_funcs.h:
2863         * text_funcs.C: make transposeChars a free function
2864
2865         * lyxrow_funcs.C: remove wrong comment
2866
2867 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * lyxtext.h: adjust
2870         * rowpainter.C: adjust
2871         * text.C: adjust
2872         * text2.C: adjust
2873         * text3.C: adjust
2874
2875         * lyxrow_funcs. [Ch]: new files
2876
2877         * lyxrow.[Ch]: remove next and previous pointers
2878         (next,previous): remove accessor functions
2879         (isParEnd): move to lyxrow_funcs
2880         (lastPos): move to lyxrow_funcs
2881         (nextRowIsAllInset): move to lyxrow_funcs
2882         (lastPrintablePos): move to lyxrow_funcs
2883         (numberOfSeparators): move to lyxrow_funcs
2884         (numberOfHfills): move to lyxrow_funcs
2885         (numberOfLabelHfills): move to lyxrow_funcs
2886         (hfillExpansion): move to lyxrow_funcs
2887
2888         * lyxfunc.C: adjust
2889
2890         * bufferview_funcs.C (toggleAndShow): adjust
2891
2892         * RowList.h: Remove class RowList from file leave just a
2893         std::list<Row>.
2894
2895         * RowList.C: delete file
2896
2897         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2898         and lyxrow_funcs.h
2899
2900 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * text3.C (cursorPrevious): adjust
2903         (cursorNext): adjust
2904         (dispatch): adjust
2905
2906         * text2.C (redoHeightOfParagraph): adjust
2907         (redoDrawingOfParagraph): adjust
2908         (setCursor): adjust
2909
2910         * text.C (breakParagraph): adjust
2911         (insertChar): adjust
2912         (backspace): adjust
2913
2914         * rowpainter.C (RowPainter): adjust
2915         (leftMargin): simplify and adjust
2916         (most rowpainter functions): adjust.
2917
2918         * rowpainter.h: store the row as RowList::iterator not as Row*
2919
2920         * lyxcursor.C (row): taka RowList::iterator as arg
2921         (irow): ditto
2922
2923         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2924         of Row*.
2925
2926 2003-04-01  Angus Leeming  <leeming@lyx.org>
2927
2928         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2929         stuff like bool Bool.
2930
2931 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2934         rewrite a loop
2935
2936 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2939         RowList::iterator.
2940
2941         * lyxtext.h (rows): drop one version and leve a const variant that
2942         returns a RowList::iterator.
2943
2944 2003-03-31  Angus Leeming  <leeming@lyx.org>
2945
2946         * text.C (fill): ensure that the signature is the same as that in the
2947         header file.
2948
2949 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * text2.C (redoParagraphs): adjust
2952         (updateCounters): adjust
2953         (checkParagraph): adjust
2954         (getColumnNearX): adjust and reformat a bit.
2955
2956         * text.C (top_y): adjust
2957         (workWidth): adjust
2958         (leftMargin): adjust
2959         (prepareToPrint): adjust
2960         (getRow): adjust
2961         (getRowNearY): adjust
2962
2963         * lyxtext.h: make rowlist_ mutable.
2964
2965         * RowList.h: add const_iterator
2966         * RowList.C: adjust for RowList::const_iterator.
2967
2968         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2969         adjust.
2970
2971 2003-03-31  John Levon  <levon@movementarian.org>
2972
2973         * lyxrc.h:
2974         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2975
2976         * lyx_main.C: set default fonts from using lyx_gui funcs
2977
2978         * exporter.C: pdf_mode moved from lyxrc
2979
2980         * lyx_cb.C:
2981         * lyxfunc.C: changes from above
2982
2983 2003-03-31  John Levon  <levon@movementarian.org>
2984
2985         * lyx_main.C: fix to the last fix
2986
2987 2003-03-31  John Levon  <levon@movementarian.org>
2988
2989         * bufferlist.C: "Load original" -> "Load Original"
2990
2991         * converter.C:
2992         * exporter.C:
2993         * importer.C:
2994         * lyx_main.C:
2995         * format.C: more Alert cleanups
2996
2997 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * text2.C (removeParagraph): make it take a RowList::iterator as
3000         arg, adjust.
3001         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3002         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3003
3004         * text.C (anchor_row): make it take a RowList::iterator as arg,
3005         adjust.
3006         (computeBidiTables): make it take a const reference to Row instead
3007         of Row pointer, adjust.
3008         (leftMargin): make it take a RowList::iterator as arg, adjust.
3009         (rowBreakPoint): adjust
3010         (breakAgainOneRow): make it take a RowList::iterator as arg,
3011         adjust.
3012         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3013
3014         * bufferview_funcs.C (toggleAndShow): adjust
3015
3016 2003-03-30  John Levon  <levon@movementarian.org>
3017
3018         * Makefile.am:
3019         * BoostFormat.h:
3020         * boost-inst.C: moved to support
3021
3022         * several files: changes as a result
3023
3024 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * text2.C (LyXText): adjust.
3027         (init): adjust
3028         (removeRow): make it take a RowList::iterator as arg, adjust.
3029         (fullRebreak): adjust
3030         (deleteEmptyParagraphMechanism): adjust
3031         (clearPaint): adjust
3032         (postPaint): adjust
3033
3034         * text.C (top_y): adjust
3035         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3036         (breakAgain): make it take a RowList::iterator as arg, adjust.
3037         (breakParagraph): adjust
3038         (insertChar): adjust
3039         (backspace): adjust
3040
3041         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3042         need_break_row, and refresh_row.
3043
3044         * text3.C (dispatch): adjust
3045
3046         * text2.C (checkParagraph): adjust
3047         (setCursor): adjust
3048         (setCursorFromCoordinates): adjust
3049
3050         * text.C (top_y): adjust
3051         (workWidth): adjust
3052         (getRow): make it return a RowList::iterator, adjust
3053         (getRowNearY): make it return a RowList::iterator, adjust
3054
3055         * text2.C (init): adjust
3056         (insertRow): remove function
3057         (insertParagraph): adjust
3058         (redoParagraphs): adjust
3059         (fullRebreak): adjust
3060         (updateCounters): adjust
3061
3062         * text.C (top_y): rewrite to use RowList iterators.
3063         (top_y): adjust
3064         (setHeightOfRow): rewrite to sue RowList iterators.
3065         (appendParagraph): adjust
3066         (breakAgain): adjust
3067         (breakAgainOneRow): adjust
3068         (breakParagraph): adjust
3069         (getRow): adjust
3070         (getRowNearY): adjust, and remove commented code.
3071
3072         * lyxtext.h (firstRow): delete function
3073         (lastRow): delete function
3074         (rows): new function (const and non-const versions.)
3075         (insertRow): delete function
3076
3077         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3078
3079 2003-03-29  John Levon  <levon@movementarian.org>
3080
3081         * BufferView_pimpl.C: always update scrollbar top
3082         because pasting text when we're anchored could mean we
3083         miss an update altogether
3084
3085 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * text2.C (init): use rowlist_.end() and not 0.
3088         (insertRow): change to take a RowList::iterator as arg, adjust
3089         for this.
3090         (insertParagraph): change to take a RowList::iterator as arg,
3091         adjust for this.
3092         (redoParagraphs): remove some debug msgs.
3093
3094         * text.C (appendParagraph): change to take a RowList::iterator
3095         arg, adjust for this.
3096         (breakAgain): add an assert
3097         (breakAgainOneRow): ditto
3098
3099 2003-03-29  John Levon  <levon@movementarian.org>
3100
3101         * text2.C: do not clear selection after inc/decDepth
3102         (bug 550)
3103
3104 2003-03-29  John Levon  <levon@movementarian.org>
3105
3106         * BufferView.C:
3107         * buffer.C: fix broken strerrors according to Lars
3108
3109 2003-03-29  John Levon  <levon@movementarian.org>
3110
3111         * converters.C: more Alert cleanups
3112
3113 2003-03-29  John Levon  <levon@movementarian.org>
3114
3115         * bufferview_funcs.C: remove pointless Alert
3116
3117         * buffer.C: fix confusing error message when
3118         a template is chmoded 000
3119
3120 2003-03-29  John Levon  <levon@movementarian.org>
3121
3122         * BufferView.C:
3123         * BufferView.h:
3124         * BufferView_pimpl.C: Alert fixes
3125
3126         * Makefile.am:
3127         * tabular.C:
3128         * tabular-old.C: remove unused table compat reading
3129
3130 2003-03-29  John Levon  <levon@movementarian.org>
3131
3132         * BufferView.C:
3133         * buffer.C:
3134         * lyx_cb.h:
3135         * lyx_cb.C: more Alert cleanups
3136
3137         * lyxfunc.C: don't allow chktex if not latex document
3138
3139 2003-03-29  John Levon  <levon@movementarian.org>
3140
3141         * lyx_cb.C:
3142         * BufferView.C:
3143         * buffer.C: warnings pushed down from support/,
3144         kill err_alert
3145
3146 2003-03-29  John Levon  <levon@movementarian.org>
3147
3148         * lyxfunc.C: safety check for C-r (revert)
3149
3150 2003-03-29  John Levon  <levon@movementarian.org>
3151
3152         * bufferlist.h:
3153         * bufferlist.C: several UI fixes using Alert::prompt.
3154         Fix the pointless looping quit code. Fix stupid revert
3155         behaviour (bug 938)
3156
3157         * lyxvc.h:
3158         * lyxvc.C:
3159         * lyx_cb.C: use Alert::prompt
3160
3161         * lyx_main.C: remove a silly question
3162
3163         * lyxfunc.C: remove a couple of silly questions,
3164         use Alert::prompt
3165
3166 2003-03-28  John Levon  <levon@movementarian.org>
3167
3168         * text2.C: fix bug 974 (End on empty par)
3169
3170 2003-03-28  John Levon  <levon@movementarian.org>
3171
3172         * BufferView_pimpl.C:
3173         * LyXAction.C:
3174         * lfuns.h: remove do-nothing math greek lfuns
3175
3176 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * lyxgluelength.h (isValidGlueLength): add default arg on
3179         parameter 2. Remove default arg from friend in class.
3180
3181         * lyxlength.h (isValidLength): add default arg on parameter 2.
3182         Remove default arg from friend in class.
3183
3184         * text2.C (LyXText): adjust, initialize refresh_row.
3185         (init): adjust
3186         (removeRow): adjust
3187         (insertRow): adjust
3188         (insertParagraph): adjst
3189         (redoParagraphs): adjust
3190         (fullRebreak): adjust
3191         (updateCounters): adjust
3192         (deleteEmptyParagraphMechanism): first attempt at fixing a
3193         crashing bug.
3194
3195         * text.C (top_y): adjust
3196         (setHeightOfRow): adjust
3197         (getRow): adjust
3198         (getRowNearY): adjust
3199
3200         * lyxtext.h: include RowList.h
3201         (~LyXText): not needed anymore, deleted.
3202         (firstRow): modify for RowList
3203         (lastRow): new function
3204         Delete firstrow and lastrow class variables, add a Rowlist
3205         rowlist_ class variable.
3206
3207         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3208         paragraph is empty.
3209
3210         * RowList.C (insert): fix case where it == begin().
3211
3212 2003-03-26  Angus Leeming  <leeming@lyx.org>
3213
3214         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3215         the thesaurus dialog.
3216
3217 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3220
3221         * RowList.[Ch]: new files
3222
3223         * ParagraphList.C (erase): handle the case where it == begin
3224         correctly.
3225
3226 2003-03-25  John Levon  <levon@movementarian.org>
3227
3228         * Makefile.am:
3229         * aspell_local.h:
3230         * aspell.C: add new aspell support
3231
3232         * lyxrc.h:
3233         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3234         have it accessible.
3235
3236 2003-03-25  Angus Leeming  <leeming@lyx.org>
3237
3238         * lfuns.h:
3239         * LyXAction.C (init): new LFUN_INSET_INSERT.
3240
3241         * BufferView_pimpl.C (dispatch): split out part of the
3242         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3243
3244         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3245         LFUN_INSET_APPLY.
3246
3247 2003-03-25  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3250
3251 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * text2.C:
3254         * text3.C: remove useless row->height(0)
3255
3256 2003-03-25  John Levon  <levon@movementarian.org>
3257
3258         * lyxtext.h:
3259         * text2.C:
3260         * text3.C: rename the refreshing stuff to better names
3261
3262 2003-03-24  John Levon  <levon@movementarian.org>
3263
3264         * BufferView_pimpl.h:
3265         * BufferView_pimpl.C: update layout choice on a mouse
3266         press/release
3267
3268 2003-03-23  John Levon  <levon@movementarian.org>
3269
3270         * Makefile.am: fix commandtags.h reference
3271
3272 2003-03-22  John Levon  <levon@movementarian.org>
3273
3274         * BufferView_pimpl.C:
3275         * lyxtext.h:
3276         * rowpainter.C:
3277         * rowpainter.h:
3278         * text.C:
3279         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3280
3281 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * lyxtext.h:
3284         * text.C: take the rtl methods out of line
3285
3286 2003-03-21 André Pönitz <poenitz@gmx.net>
3287
3288         * metricsinfo.[Ch]: new files containing structures to be passed around
3289         during the two-phase-drawing...
3290
3291 2003-03-21 André Pönitz <poenitz@gmx.net>
3292
3293         * lyxtextclass.C: read 'environment' tag.
3294
3295 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3296
3297         * text2.C (removeRow): fix bug 964
3298
3299 2003-03-20  John Levon  <levon@movementarian.org>
3300
3301         * rowpainter.C:
3302         * text.C:
3303         * text2.C: paint cleanups. Inset::update() dropped font
3304         parameter
3305
3306 2003-03-19  John Levon  <levon@movementarian.org>
3307
3308         * lyxfunc.C: only fitcursor/markDirty if available()
3309
3310 2003-03-19  John Levon  <levon@movementarian.org>
3311
3312         * commandtags.h: rename to ...
3313
3314         * lfuns.h: ... this, and renumber / cleanup
3315
3316 2003-03-19  John Levon  <levon@movementarian.org>
3317
3318         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3319         fit the cursor after an lfun
3320
3321         * BufferView.h:
3322         * BufferView.C:
3323         * BufferView_pimpl.h:
3324         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3325
3326         * LyXAction.C: layout-character should have ReadOnly
3327
3328         * ParagraphParameters.C:
3329         * buffer.C:
3330         * bufferview_funcs.C:
3331         * lyx_cb.C:
3332         * lyxfind.C:
3333         * lyxtext.h:
3334         * text.C:
3335         * text2.C:
3336         * text3.C:
3337         * undo_funcs.C: changes from above
3338
3339 2003-03-18  John Levon  <levon@movementarian.org>
3340
3341         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3342         remove it from update()
3343
3344         * lyxfunc.C: update layout choice after an lfun
3345
3346         * text3.C: remove extra updateLayoutChoice()s
3347
3348 2003-03-18  John Levon  <levon@movementarian.org>
3349
3350         * text.C: top_y change means full repaint, fix
3351         a drawing bug with cursor movement
3352
3353 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * lyxtext.h:
3356         * text.C:
3357         * text2.C: anchor row on setCursor
3358
3359 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3360
3361         * lyxtext.h: remove almost all mutable keywords
3362         * text.C:
3363         * text2.C:
3364         * text3.C: remove const keywords accordingly
3365
3366 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3369         anon namespace
3370         (TeXEnvironment): ditto
3371         (TeXOnePar): ditto
3372
3373 2003-03-17  John Levon  <levon@movementarian.org>
3374
3375         * text.C (rowBreakPoint): remove attempt to fix displayed
3376         math insets inside a manual label
3377
3378 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * lyxtext.h: remove BufferView* as first arg from almost all class
3381         functions.
3382         * other files: adjust.
3383
3384 2003-03-17  John Levon  <levon@movementarian.org>
3385
3386         * lyxtext.h:
3387         * undo_funcs.C:
3388         * text2.C: more paint cleanups
3389
3390         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3391
3392         * rowpainter.h:
3393         * rowpainter.C: remove "smart" background painting code
3394
3395 2003-03-16  John Levon  <levon@movementarian.org>
3396
3397         * lyxtext.h:
3398         * text.C:
3399         * text2.C:
3400         * text3.C: add helper functions for setting refresh_row/y
3401
3402 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3403
3404         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3405         newline inset which *can* get inserted in the pass_thru layouts.
3406         This is primarily for literate documents.
3407
3408 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3409
3410         * buffer.C: increment LYX_FORMAT to 223
3411
3412 2003-03-14 André Pönitz <poenitz@gmx.net>
3413
3414         * textclass.h: prepare for environment handling, ws changes
3415         * lyxlayout.C: read latexheader and latexfooter tags
3416
3417 2003-03-14  John Levon  <levon@movementarian.org>
3418
3419         * text2.C: rewrite ::status() a bit
3420
3421 2003-03-13  John Levon  <levon@movementarian.org>
3422
3423         * lyxtext.h: add some docs
3424
3425 2003-03-13  John Levon  <levon@movementarian.org>
3426
3427         * lyxtext.h:
3428         * text.C:
3429         * text2.C:
3430         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3431
3432 2003-03-13  John Levon  <levon@movementarian.org>
3433
3434         * text3.C: fix appendix redrawing
3435
3436 2003-03-13  John Levon  <levon@movementarian.org>
3437
3438         * text.C (setHeightOfRow):
3439         * rowpainter.h:
3440         * rowpainter.C: make appendix mark have the text
3441           "Appendix" so the user knows what it is
3442
3443         * LColor.h:
3444         * LColor.C: s/appendixline/appendix/ from above
3445
3446 2003-03-13  John Levon  <levon@movementarian.org>
3447
3448         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3449
3450         * text.C: fix a getChar(pos) bug properly
3451
3452 2003-03-13  Angus Leeming  <leeming@lyx.org>
3453
3454         * commandtags.h:
3455         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3456         Probably only temporary. Let's see how things pan out.
3457
3458         * BufferView.C (unlockInset):
3459         * BufferView_pimpl.C (fitCursor):
3460         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3461
3462         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3463         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3464
3465         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3466         new functions that convert ParagraphParameters to and from a string.
3467
3468         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3469         BufferView::Pimpl's dispatch.
3470         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3471
3472 2003-03-13 André Pönitz <poenitz@gmx.net>
3473
3474         * lyxfunc.C:
3475         * text3.C:
3476         * factory.C: make it aware of InsetEnv
3477
3478 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * text2.C (setCursor): never ask for one past last
3481         (setCursor): add some debugging messages.
3482
3483         * text.C (singleWidth): never ask for one past last
3484         (singleWidth): ditto
3485         (leftMargin): ditto
3486         (rightMargin): ditto
3487         (rowBreakPoint): ditto
3488         (setHeightOfRow): ditto
3489         (prepareToPrint): ditto
3490
3491         * rowpainter.C (paintBackground): never ask for one past last
3492         (paintText): never ask for one past last
3493
3494         * paragraph_pimpl.C (getChar): make the assert stricter, never
3495         allow the one past last pos to be taken
3496
3497         * paragraph.C (getChar): ws changes only
3498
3499         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3500         (numberOfSeparators): ditto
3501         (numberOfHfills): ditto
3502
3503 2003-03-12  John Levon  <levon@movementarian.org>
3504
3505         * author.h:
3506         * author.C:
3507         * bufferparams.h:
3508         * bufferparams.C:
3509         * paragraph_funcs.C: fix per-buffer authorlists
3510
3511 2003-03-12  John Levon  <levon@movementarian.org>
3512
3513         * text.C: fix newline in right address
3514
3515 2003-03-12  Angus Leeming  <leeming@lyx.org>
3516
3517         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3518         duplicate those in LyXFunc::dispatch.
3519
3520         * commandtags.h:
3521         * LyXAction.C:
3522         * ToolbarDefaults.C:
3523         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3524         Add LFUN_FONTFREE_UPDATE.
3525
3526         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3527         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3528
3529         * bufferview_func.[Ch]: several new functions to facilliate
3530         transfer of data to and from the character dialog.
3531
3532 2003-03-12  John Levon  <levon@movementarian.org>
3533
3534         * buffer.C:
3535         * paragraph.h:
3536         * paragraph.C:
3537         * paragraph_funcs.C:
3538         * paragraph_pimpl.C:
3539         * sgml.C:
3540         * tabular.C:
3541         * text.C:
3542         * text3.C: remove META_NEWLINE in favour of an inset
3543
3544         * rowpainter.h:
3545         * rowpainter.C: remove paintNewline (done by inset)
3546
3547 2003-03-12  John Levon  <levon@movementarian.org>
3548
3549         * paragraph_pimpl.C: complain about bad getChar()s
3550         for a while at least
3551
3552 2003-03-12  John Levon  <levon@movementarian.org>
3553
3554         * buffer.h:
3555         * buffer.C: move paragraph read into a separate function,
3556         a little renaming to reflect that.
3557
3558         * bufferparams.h:
3559         * bufferparams.C: remove the author_ids map, not necessary now
3560
3561         * factory.h:
3562         * factory.C: moved Buffer::readInset to here
3563
3564         * paragraph_funcs.h:
3565         * paragraph_funcs.C: readParagraph free function moved from
3566         buffer.C
3567
3568         * tabular.C: name change
3569
3570 2003-03-12  John Levon  <levon@movementarian.org>
3571
3572         * buffer.C:
3573         * ParagraphParameters.C: move par params input to
3574         a read() method
3575
3576         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3577         behave like a normal read from the stream wrt reading
3578         a line vs. a \\token
3579
3580 2003-03-12  John Levon  <levon@movementarian.org>
3581
3582         * paragraph.C:
3583         * ParagraphParameters.h:
3584         * ParagraphParameters.C: move output code to a
3585         ::write() method
3586
3587 2003-03-12  John Levon  <levon@movementarian.org>
3588
3589         * BufferView.C (insertLyXFile):
3590         * buffer.h:
3591         * buffer.C:
3592         * tabular.C: use a parlist iterator for creating the
3593           document.
3594
3595 2003-03-12  John Levon  <levon@movementarian.org>
3596
3597         * buffer.C: make current_change static local not
3598           static file-scope
3599
3600 2003-03-12  John Levon  <levon@movementarian.org>
3601
3602         * buffer.C: fix insertStringAsLines for change tracking
3603
3604 2003-03-12  John Levon  <levon@movementarian.org>
3605
3606         * BufferView.C:
3607         * tabular.C:
3608         * buffer.h:
3609         * buffer.C:
3610         * bufferparams.h:
3611         * bufferparams.C: move author list into params. Rename some
3612           functions. Move the header reading into a separate token
3613           loop. Move the header token reading into BufferParams.
3614
3615 2003-03-12  John Levon  <levon@movementarian.org>
3616
3617         * changes.C: put debug inside lyxerr.debugging() checks
3618
3619 2003-03-11 André Pönitz <poenitz@gmx.net>
3620
3621         * factory.C: make it aware of InsetHFill
3622
3623 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3624
3625         * buffer.C (latexParagraphs): move function from here...
3626         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3627         args.
3628
3629 2003-03-10  Angus Leeming  <leeming@lyx.org>
3630
3631         * LyXAction.C (init): fix bug in poplating array with multiple entries
3632         with the same LFUN (spotted by JMarc).
3633
3634 2003-03-10  John Levon  <levon@movementarian.org>
3635
3636         * text.C:
3637         * text2.C: move getColumnNearX() near its
3638         only call site
3639
3640 2003-03-10  John Levon  <levon@movementarian.org>
3641
3642         * text.C: fix break before a minipage
3643
3644 2003-03-10  John Levon  <levon@movementarian.org>
3645
3646         * text.C: fix the last commit
3647
3648 2003-03-09  John Levon  <levon@movementarian.org>
3649
3650         * lyxtext.h:
3651         * text.C:
3652         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3653         bug 365 (don't break before insets unless needed). Don't
3654         return a value > last under any circumstances.
3655
3656 2003-03-09  Angus Leeming  <leeming@lyx.org>
3657
3658         * BufferView_pimpl.C (trackChanges, dispatch): call
3659         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3660
3661 2003-03-09  Angus Leeming  <leeming@lyx.org>
3662
3663         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3664         than Dialogs::showAboutlyx().
3665
3666 2003-03-09  Angus Leeming  <leeming@lyx.org>
3667
3668         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3669         than Dialogs::showTabularCreate().
3670
3671 2003-03-09  John Levon  <levon@movementarian.org>
3672
3673         * lyxtext.h:
3674         * text.C:
3675         * text2.C: 3rd arg to nextBreakPoint was always the same.
3676           Use references.
3677
3678 2003-03-08  John Levon  <levon@movementarian.org>
3679
3680         * lyxrow.C:
3681         * paragraph.C:
3682         * paragraph.h:
3683         * rowpainter.C:
3684         * text.C:
3685         * text2.C: Remove the "main" bit from the "main body"
3686           notion.
3687
3688 2003-03-08  John Levon  <levon@movementarian.org>
3689
3690         * text.C (leftMargin): The left margin of an empty
3691         manual label paragraph should not include the label width
3692         string length.
3693
3694         * text.C (prepareToPrint): don't attempt to measure hfills
3695         for empty manual label paragraphs - the answer should be 0
3696
3697 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * CutAndPaste.C: remove commented code and reindent.
3700
3701 2003-03-08  John Levon  <levon@movementarian.org>
3702
3703         * lyxfunc.h:
3704         * lyxfunc.C: move reloadBuffer()
3705
3706         * BufferView.h:
3707         * BufferView.C: to here
3708
3709         * lyxvc.C: add comment
3710
3711         * vc-backend.h:
3712         * vc-backend.C: call bv->reload() to avoid
3713           getStatus() check on MENURELOAD
3714
3715 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3716
3717         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3718         to an old format .dep file.
3719
3720 2003-03-07  Angus Leeming  <leeming@lyx.org>
3721
3722         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3723         when the LFUN_MOUSE_RELEASE should have been handled by
3724         inset->localDispatch.
3725
3726 2003-03-07  Angus Leeming  <leeming@lyx.org>
3727
3728         * BufferView_pimpl.C (dispatch):
3729         * LyXAction.C (init):
3730         * ToolbarDefaults.C (init):
3731         * commandtags.h:
3732         * lyxfunc.C (getStatus):
3733         remove LFUN_INSET_GRAPHICS.
3734
3735         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3736
3737 2003-03-07  Angus Leeming  <leeming@lyx.org>
3738
3739         * commandtags.h:
3740         * LyXAction.C (init):
3741         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3742
3743         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3744
3745         * commandtags.h:
3746         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3747
3748         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3749         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3750
3751 2003-03-07  Angus Leeming  <leeming@lyx.org>
3752
3753         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3754         remove "ert".
3755
3756 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * ParagraphList.C (front): new function
3759         (back): implement
3760
3761 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3764         and top_row_offset_. removed var first_y.
3765         * text.C (top_y):
3766         * text2.C (LyXText, removeRow):
3767         * text3.C:
3768         * BufferView_pimpl.C:
3769         use these methods instead of using first_y
3770
3771 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * text2.C (pasteSelection): adjust for checkPastePossible
3774
3775         * CutAndPaste.C: remove Paragraph * buf and replace with
3776         ParagraphList paragraphs.
3777         (DeleteBuffer): delete
3778         (cutSelection): change the tc type to textclass_type
3779         (copySelection): change the tc type to textclass_type
3780         (copySelection): adjust for ParagraphList
3781         (pasteSelection): change the tc type to textclass_type
3782         (pasteSelection): adjust for Paragraphlist
3783         (nrOfParagraphs): simplify for ParagraphList
3784         (checkPastePossible): simplify for ParagraphList
3785         (checkPastePossible): remove unused arg
3786
3787         * ParagraphList.C (insert): handle the case where there are no
3788         paragraphs yet.
3789
3790         * CutAndPaste.h: make CutAndPaste a namespace.
3791
3792         * text3.C (dispatch): adjust
3793
3794         * text.C (breakParagraph): add a ParagraphList as arg
3795
3796         * paragraph_funcs.C (breakParagraph): change to take a
3797         BufferParams and a ParagraphList as args.
3798         (breakParagraphConservative): ditto
3799         (mergeParagraph): ditto
3800         (TeXDeeper): add a ParagraphList arg
3801         (TeXEnvironment): ditto
3802         (TeXOnePar): ditto
3803
3804         * buffer.C (readLyXformat2): adjust
3805         (insertStringAsLines): adjust
3806         (latexParagraphs): adjust
3807
3808         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3809         (cutSelection): adjust
3810         (pasteSelection): adjust
3811
3812         * BufferView_pimpl.C (insertInset): adjust
3813
3814 2003-03-05  Angus Leeming  <leeming@lyx.org>
3815
3816         * commandtags.h:
3817         * LyXAction.C (init):
3818         * BufferView_pimpl.C (dispatch):
3819         * lyxfunc.C (getStatus):
3820         remove LFUN_CHILD_INSERT.
3821
3822         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3823
3824 2003-03-05  Angus Leeming  <leeming@lyx.org>
3825
3826         * commandtags.h:
3827         * LyXAction.C (init):
3828         * src/factory.C (createInset):
3829         * lyxfunc.C (getStatus):
3830         * text3.C (dispatch):
3831         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3832
3833         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3834
3835 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * ParagraphList.C (insert): handle insert right before end()
3838         (erase): fix cases where it can be first or last paragraph.
3839
3840 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3843         Paragraph::next and Paragraph::previous
3844         (TeXOnePar): ditto
3845
3846         * text.C (breakParagraph): adjust
3847
3848         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3849         BufferParams& as arg.
3850         (breakParagraph): use ParagraphList::insert
3851         (breakParagraphConservative): take a Buffer* instead of a
3852         BufferParams& as arg.
3853         (breakParagraphConservative): use ParagraphList::insert.
3854
3855         * buffer.C (insertStringAsLines): un-const it
3856         (insertStringAsLines): adjust
3857
3858         * ParagraphList.C (insert): new function
3859
3860         * CutAndPaste.C (pasteSelection): adjust
3861
3862         * text.C (backspace): adjust
3863
3864         * tabular.C (SetMultiColumn): adjust
3865
3866         * CutAndPaste.C (cutSelection): adjust
3867         (pasteSelection): adjust
3868
3869         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3870         Buffer const * as arg
3871
3872         * ParagraphList.C (erase): new function
3873         * paragraph_funcs.C (mergeParagraph): use it
3874         (mergeParagraph): make it take a Buffer* instead of a
3875         BufferParams* as arg
3876
3877         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3878         as arg
3879         (breakParagraphConservative): ditto
3880
3881         * paragraph.h: remove the breakParagraph friend
3882
3883         * paragraph.C (eraseIntern): new function
3884         (setChange): new function
3885
3886         * paragraph_funcs.C (mergeParagraph): make it take a
3887         ParagraphList::iterator instead of a Paragraph *, adjust
3888         accordingly.
3889
3890         * paragraph.h: move an #endif so that the change tracking stuff
3891         also works in the NO_NEXT case.
3892
3893 2003-03-04  Angus Leeming  <leeming@lyx.org>
3894
3895         * commandtags.h:
3896         * LyXAction.C: new LFUN_INSET_MODIFY.
3897
3898         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3899         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3900
3901 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3902
3903         * several files: ws changes only
3904
3905         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3906         (TeXEnvironment): ditto
3907         (TeXDeeper): ditto
3908
3909         * buffer.C (makeLaTeXFile): adjust
3910         (latexParagraphs): make it take ParagraphList::iterator as args
3911
3912 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * buffer.C (latexParagraphs): adjust
3915
3916         * paragraph.C (TeXOnePar): move function...
3917         (optArgInset): move function...
3918         (TeXEnvironment): move function...
3919         * paragraph_pimpl.C (TeXDeeper): move function...
3920         * paragraph_funcs.C: ...here
3921
3922         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3923
3924 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * buffer.C (readInset): remove compability code for old Figure and
3927         InsetInfo insets
3928
3929 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * buffer.C: ws changes
3932         (readInset):
3933
3934         * BufferView_pimpl.C: ditto
3935         * author.C: ditto
3936         * buffer.h: ditto
3937         * bufferlist.h: ditto
3938         * changes.h: ditto
3939         * lyxfunc.C: ditto
3940
3941 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3942
3943         * converter.[Ch]: split into itself +
3944         * graph.[Ch]
3945         * format.[Ch]
3946         * Makefile.am: += graph.[Ch] + format.[Ch]
3947         * MenuBackend.C
3948         * buffer.C
3949         * exporter.C
3950         * importer.C
3951         * lyx_main.C
3952         * lyxfunc.C
3953         * lyxrc.C: added #include "format.h"
3954
3955 2003-02-27  Angus Leeming  <leeming@lyx.org>
3956
3957         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3958           a label.
3959
3960         * factory.C (createInset): add "label" to the factory.
3961
3962         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3963           string and do no more.
3964
3965 2003-02-27  Angus Leeming  <leeming@lyx.org>
3966
3967         * commandtags.h:
3968         * LyXAction.C (init):
3969         * factory.C (createInset):
3970         * BufferView_pimpl.C (dispatch):
3971           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3972
3973         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3974
3975         * lyxfunc.C (dispatch):
3976         * text3.C (dispatch): pass name to params2string.
3977
3978 2003-02-26  Angus Leeming  <leeming@lyx.org>
3979
3980         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3981           blocks together.
3982           Rearrange the ~includes. Strip out the unnecessary ones.
3983
3984         * factory.C (createInset): reformat.
3985           create new insets for the various LFUN_XYZ_APPLY lfuns.
3986
3987 2003-02-26  John Levon  <levon@movementarian.org>
3988
3989         * lyxrow.h:
3990         * lyxrow.C: add isParStart,isParEnd helpers
3991
3992         * paragraph.h: make isInserted/DeletedText take refs
3993
3994         * paragraph_funcs.h:
3995         * paragraph_funcs.C: remove #if 0'd code
3996
3997         * lyxtext.h:
3998         * text3.C:
3999         * text2.C:
4000         * text.C: use lyxrow helpers above.
4001           Move draw and paint routines to RowPainter.
4002           Make several methods use refs not pointers.
4003           Make backgroundColor() const.
4004           Add markChangeInDraw(), isInInset().
4005           Merge changeRegionCase into changeCase.
4006           Make workWidth() shouldn't-happen code into an Assert.
4007
4008         * rowpainter.h:
4009         * rowpainter.C: new class for painting a row.
4010
4011         * vspace.h:
4012         * vspace.C: make inPixels take a ref
4013
4014 2003-02-26  Angus Leeming  <leeming@lyx.org>
4015
4016         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4017         LFUN_REF_APPLY.
4018
4019 2003-02-25  John Levon  <levon@movementarian.org>
4020
4021         * ispell.C: give the forked command a more accurate name
4022
4023 2003-02-22  John Levon  <levon@movementarian.org>
4024
4025         * toc.h:
4026         * toc.C: make TocItem store an id not a Paragraph *
4027           (bug #913)
4028
4029 2003-02-21  Angus Leeming  <leeming@lyx.org>
4030
4031         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4032           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4033           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4034           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4035           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4036           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4037
4038         * BufferView_pimpl.C (dispatch):
4039         * LyXAction.C (init):
4040         * factory.C (createInset):
4041         * lyxfunc.C (getStatus, dispatch):
4042         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4043
4044 2003-02-21  Angus Leeming  <leeming@lyx.org>
4045
4046         * BufferView_pimpl.C (MenuInsertLyXFile):
4047         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4048         * lyxfunc.C (menuNew, open, doImport):
4049           no longer pass a LyXView & to fileDlg.
4050
4051 2003-02-21  Angus Leeming  <leeming@lyx.org>
4052
4053         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4054         * LyXAction.C: change, BIBKEY to BIBITEM.
4055         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4056         Change InsetBibKey to InsetBibitem.
4057         Change BIBKEY_CODE to BIBITEM_CODE.
4058         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4059         * factory.C: replace insetbib.h with insetbibitem.h.
4060         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4061         * paragraph.C: replace insetbib.h with insetbibitem.h.
4062         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4063         Change bibkey() to bibitem().
4064         * text.C: remove insetbib.h.
4065         * text2.C: replace insetbib.h with insetbibitem.h.
4066         change bibkey() to bibitem().
4067         * text3.C: remove insetbib.h.
4068         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4069
4070 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4071
4072         * lyxrc.C (output): enclose user email in quotes (in case there are
4073         several words)
4074
4075 2003-02-18  John Levon  <levon@movementarian.org>
4076
4077         * buffer.h: add std::
4078
4079 2003-02-17  John Levon  <levon@movementarian.org>
4080
4081         * SpellBase.h:
4082         * ispell.h:
4083         * ispell.C:
4084         * pspell.h:
4085         * pspell.C: reworking. Especially in ispell, a large
4086           number of clean ups and bug fixes.
4087
4088         * lyxfunc.C: fix revert to behave sensibly
4089
4090 2003-02-17 André Pönitz <poenitz@gmx.net>
4091
4092         * LyXAction.C:
4093         * commandtags.h: new LFUN_INSERT_BIBKEY
4094
4095         * layout.h:
4096         * lyxlayout.C:
4097         * buffer.C:
4098         * factory.C:
4099         * text.C:
4100         * text2.C:
4101         * text3.C:
4102         * paragraph.[Ch]:
4103         * paragraph_func.C: remove special bibkey handling
4104
4105 2003-02-17  John Levon  <levon@movementarian.org>
4106
4107         * text.C (Delete): fix case where delete at the end of
4108           the very first paragraph would not merge the pars
4109
4110 2003-02-17  John Levon  <levon@movementarian.org>
4111
4112         * lyxrow.C: fix lastPrintablePos()
4113
4114 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4115
4116         * bufferparams.C (writeLaTeX): add a std:here
4117
4118         * buffer.C: and remove a using directive there
4119
4120 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4121
4122         * buffer.C (makeLaTeXFile): move the code that generates the
4123           preamble...
4124
4125         * bufferparams.C (writeLaTeX): ... in this new method
4126
4127         * LaTeXFeatures.C (getEncodingSet): make const
4128           (getLanguages): make const
4129
4130         * MenuBackend.C (binding): returns the binding associated to this
4131           action
4132           (add): sets the status of each item by calling getStatus. Adds
4133           some intelligence.
4134           (read): add support for OptSubMenu
4135           (expand): remove extra separator at the end of expanded menu
4136
4137 2003-02-15  John Levon  <levon@movementarian.org>
4138
4139         * BufferView.C:
4140         * BufferView_pimpl.C:
4141         * bufferlist.h:
4142         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4143           inset code that had no actual effect. Remove unneeded status
4144           code.
4145
4146 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4147
4148         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4149           in preamble
4150
4151 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4152
4153         * text.C (drawLengthMarker): also draw an arrow marker for
4154           symbolic lengths (medskip...)
4155
4156 2003-02-14  John Levon  <levon@movementarian.org>
4157
4158         * tabular.h:
4159         * tabular.C: better method names
4160
4161 2003-02-14  John Levon  <levon@movementarian.org>
4162
4163         * BufferView_pimpl.C:
4164         * bufferlist.C:
4165         * buffer.C:
4166         * converter.C:
4167         * lyx_cb.C:
4168         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4169           it's a more accurate name. Remove some pointless uses.
4170
4171 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4172
4173         * text2.C (LyXText): change order of initilizers to shut off
4174           warnings
4175
4176 2003-02-14  John Levon  <levon@movementarian.org>
4177
4178         * buffer.C: use ParIterator for getParFromID()
4179
4180         * paragraph.h:
4181         * paragraph.C:
4182         * paragraph_pimpl.h:
4183         * paragraph_pimpl.C: remove unused getParFromID()
4184
4185 2003-02-14  John Levon  <levon@movementarian.org>
4186
4187         * buffer.C: remove some very old #if 0'd parse code
4188
4189 2003-02-13  John Levon  <levon@movementarian.org>
4190
4191         * text.h:
4192         * text.C:
4193         * text2.C: move hfillExpansion(), numberOfSeparators(),
4194           rowLast(), rowLastPrintable(), numberofHfills(),
4195           numberOfLabelHfills() ...
4196
4197         * lyxrow.h:
4198         * lyxrow.C: ... to member functions here.
4199
4200         * paragraph.h:
4201         * paragraph.C:
4202         * lyxtext.h:
4203         * text.C: remove LyXText::beginningOfMainBody(), and call
4204           p->beginningOfMainBody() directly. Move the check for
4205           LABEL_MANUAL into the latter.
4206
4207         * text.h:
4208         * text.C:
4209         * text2.C:
4210         * vspace.C:
4211         * BufferView.h:
4212         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4213
4214         * text.h:
4215         * text.C:
4216         * text2.C:
4217         * text3.C:
4218         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4219           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4220
4221 2003-02-13  John Levon  <levon@movementarian.org>
4222
4223         * CutAndPaste.C: remove debug
4224
4225 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4226
4227         * paragraph.C (asString): remove two unused variables
4228
4229         * lyxtextclass.C (readTitleType):
4230           (Read):
4231           (LyXTextClass): handle new members titletype_ and titlename_
4232
4233         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4234
4235 2003-02-09  John Levon  <levon@movementarian.org>
4236
4237         * buffer.h:
4238         * buffer.C: replace hand-coded list with a map for the dep clean
4239
4240 2003-02-08  John Levon  <levon@movementarian.org>
4241
4242         * LaTeX.C: consolidate code into showRunMessage() helper
4243
4244 2003-02-08  John Levon  <levon@movementarian.org>
4245
4246         * lyxfind.C:
4247         * lyxtext.h:
4248         * text2.C:
4249         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4250           and pass the size in explicitly
4251
4252         * BufferView_pimpl.h:
4253         * BufferView_pimpl.C:
4254         * BufferView.h:
4255         * BufferView.C: add getCurrentChange()
4256
4257         * BufferView_pimpl.h:
4258         * BufferView_pimpl.C: handle change lfuns
4259
4260         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4261           for changes. Mark pasted paragraphs as new.
4262
4263         * support/lyxtime.h:
4264         * support/lyxtime.C:
4265         * DepTable.C: abstract time_t as lyx::time_type
4266
4267         * LColor.h:
4268         * LColor.C: add colours for new text, deleted text, changebars
4269
4270         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4271           package use "usenames" option.
4272
4273         * commandtags.h:
4274         * lyxfunc.C:
4275         * LyXAction.C: add change lfuns
4276
4277         * Makefile.am:
4278         * author.h:
4279         * author.C: author handling
4280
4281         * buffer.h:
4282         * buffer.C: add a per-buffer author list, with first entry as
4283           current author. Handle new .lyx tokens for change tracking. Output
4284           author list to .lyx file. Output dvipost stuff to .tex preamble.
4285           Bump lyx format to 222.
4286
4287         * bufferlist.h:
4288         * bufferlist.C: add setCurrentAuthor() to reset current author details
4289           in all buffers.
4290
4291         * bufferparams.h:
4292         * bufferparams.C: add param for tracking
4293
4294         * bufferview_funcs.C: output change info in minibuffer
4295
4296         * Makefile.am:
4297         * changes.h:
4298         * changes.C: add change-tracking structure
4299
4300         * debug.h:
4301         * debug.C: add CHANGES debug flag
4302
4303         * lyxfind.h:
4304         * lyxfind.C: add code for finding the next change piece
4305
4306         * lyxrc.h:
4307         * lyxrc.C: add user_name and user_email
4308
4309         * lyxrow.h:
4310         * lyxrow.C: add a metric for the top of the text line
4311
4312         * lyxtext.h:
4313         * text.C: implement accept/rejectChange()
4314
4315         * lyxtext.h:
4316         * text.C: paint changebars. Paint new/deleted text in the chosen
4317         colours. Strike through deleted text.
4318
4319         * paragraph.h:
4320         * paragraph.C:
4321         * paragraph_pimpl.h:
4322         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4323           in the current change to the insert functions. Rework erase to
4324           mark text as deleted, adding an eraseIntern() and a range-based
4325           erase(). Implement per-paragraph change lookup and
4326           accept/reject.
4327
4328         * paragraph_funcs.C: Fixup paste for change tracking.
4329
4330         * tabular.C: mark added row/columns as new.
4331
4332         * text.C: fix rowLast() to never return -1. Don't allow
4333           spellchecking of deleted text. Track transpose changes. Don't
4334           allow paragraph break or merge where appropriate.
4335
4336         * text2.C: leave cursor at end of selection after a cut.
4337
4338 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4339
4340         * text.C (getLengthMarkerHeight):
4341         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4342         visible on screen too.
4343
4344 2003-02-07  John Levon  <levon@movementarian.org>
4345
4346         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4347
4348 2003-02-05  Angus Leeming  <leeming@lyx.org>
4349
4350         * lyxserver.C (read_ready): revert my patch of 11 September last year
4351         as it sends PC cpu through the roof. Presumably this means that
4352         the lyxserver will no longer run on an Alpha...
4353
4354 2003-01-30  Angus Leeming  <leeming@lyx.org>
4355
4356         * factory.C (createInset): create an InsetCommandParam of type "index"
4357         and use it to 'do the right thing'.
4358
4359         * text2.C (getStringToIndex): ensure that cursor position is always
4360         reset to the reset_cursor position.
4361
4362 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4363
4364         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4365         disabled.
4366
4367 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4368
4369         * bufferview.C:
4370         * lyxcb.C:
4371         * lyxfunc.C: Output messages with identical spelling, punctuation,
4372         and spaces
4373
4374 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4375
4376         * MenuBackend.C (expandFormats): List only viewable export formats
4377         in "View" menu
4378
4379         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4380         message
4381
4382         * lyxfunc.C (getStatus): Make sure that formats other than
4383         "fax" can also be disabled
4384
4385 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4386
4387         * text3.C (dispatch): put the lfuns that insert insets in 3
4388         groups, and call doInsertInset with appropriate arguments.
4389         (doInsertInset): new function, that creates an inset and inserts
4390         it according to some boolean parameters.
4391
4392 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * buffer.C (readFile): remember to pass on 'par' when calling
4395         readFile recursively.
4396
4397 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4398
4399         * MenuBackend.C (expandFormats): add "..." to import formats.
4400
4401 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4402
4403         * paragraph.C (asString): Remove XForms RTL hacks.
4404
4405 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4406         * buffer.C: fix typo
4407
4408 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * Makefile.am (LIBS): delete var
4411         (lyx_LDADD): add @LIBS@ here instead.
4412
4413 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4414
4415         * Clarify the meaning of "wheel mouse jump"
4416
4417 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4418
4419         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4420         tabular in a float
4421
4422 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4423
4424         * importer.C (Loaders): do not preallocate 3 elements in the
4425         vector, since one ends up with 6 elements otherwise
4426
4427 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4428
4429         * DepTable.C (write): write the file name as last element of the
4430         .dep file (because it may contain spaces)
4431         (read): read info in the right order
4432
4433 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4434
4435         * paragraph_pimpl.C (simpleTeXBlanks):
4436         (simpleTeXSpecialChars):
4437         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4438
4439         * tabular.C (latex): add some missing case statements. Reindent.
4440
4441         * MenuBackend.C (expandToc): remove unused variable.
4442
4443 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4444
4445         * LColor.C:
4446         * LaTeX.C:
4447         * LyXAction.C:
4448         * MenuBackend.C:
4449         * buffer.C:
4450         * exporter.C:
4451         * lyxfunc.C:
4452         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4453         and the like.
4454
4455 2003-01-05  John Levon  <levon@movementarian.org>
4456
4457         * BufferView.h:
4458         * BufferView.C: add getEncoding()
4459
4460         * kbsequence.h:
4461         * kbsequence.C: do not store last keypress
4462
4463         * lyxfunc.h:
4464         * lyxfunc.C: store last keypress here instead. Pass encoding
4465           to getISOEncoded()
4466
4467 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4468
4469         * lyx_main.C (init): remove annoying error message when following
4470         symbolic links (bug #780)
4471
4472 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4473
4474         * text.C (insertChar):
4475         * lyxrc.C (getDescription): remove extra spaces
4476
4477 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4478
4479         * lyxrc.C (getDescription): remove extra spaces
4480
4481 2002-12-20  John Levon  <levon@movementarian.org>
4482
4483         * text3.C: hack fix for page up/down across tall rows
4484
4485 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4486
4487         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4488         not been invoked
4489
4490 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4491
4492         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4493         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4494         thesaurus is not compiled in
4495
4496 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4497
4498         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4499
4500 2002-12-16  Angus Leeming  <leeming@lyx.org>
4501
4502         * lyxrc.[Ch]:
4503         * lyx_main.C (init): remove override_x_deadkeys stuff.
4504
4505 2002-12-12  John Levon  <levon@movementarian.org>
4506
4507         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4508           insert. Only remove shift modifier under strict
4509           circumstances.
4510
4511 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * MenuBackend.C (expandToc): fix crash.
4514
4515 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * MenuBackend.C (expandToc): gettext on float names.
4518
4519 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4520
4521         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4522         implement bool empty() [bug 490]
4523
4524 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4527
4528 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * several files: ws changes
4531
4532 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * text2.C (setCounter): clean up a bit, use boost.format.
4535         (updateCounters): initialize par upon declaration.
4536
4537         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4538         if the layout exists. We do not just store the layout any more.
4539         (SwitchLayoutsBetweenClasses): use boost.format
4540
4541 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4542
4543         * converter.C (convert): if from and to files are the same, use a
4544         temporary files as intermediary
4545
4546 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4547
4548         * commandtags.h:
4549         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4550
4551 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4552
4553         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4554
4555 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * tabular.C (asciiPrintCell): use string(size, char) instead of
4558         explicit loop.
4559
4560         * sgml.C (openTag): fix order of arguments to string constructor
4561         (closeTag): ditto
4562
4563         * lyxfunc.C (dispatch): use boost.format
4564
4565         * lots of files: change "c" -> 'c'
4566
4567 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4568
4569         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4570
4571 2002-11-25  Angus Leeming  <leeming@lyx.org>
4572
4573         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4574
4575         * lyx_main.C (init): compile fix.
4576
4577 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * lyx_cb.C (start): boost.formatify
4580         do not include <iostream>
4581
4582         * lengthcommon.C: ws only
4583
4584         * boost-inst.C,BoostFormat.h: add more explict instantations
4585
4586 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * lots of files: handle USE_BOOST_FORMAT
4589
4590 2002-11-21  John Levon  <levon@movementarian.org>
4591
4592         * pspell.C: fix compile
4593
4594 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4595
4596         * lyxfunc.C (dispatch): use boost::format
4597         (open): ditto
4598         (doImport): ditto
4599
4600         * lyxfont.C (stateText): use boost::format
4601
4602         * lyx_main.C (LyX): use boost::format
4603         (init): ditto
4604         (queryUserLyXDir): ditto
4605         (readRcFile): ditto
4606         (parse_dbg): ditto
4607         (typedef boost::function): use the recommened syntax.
4608
4609         * importer.C (Import): use boost::format
4610
4611         * debug.C (showLevel): use boost::format
4612
4613         * converter.C (view): use boost::format
4614         (convert): ditto
4615         (move): ditto
4616         (scanLog): ditto
4617
4618         * bufferview_funcs.C (currentState): use boost::format
4619
4620         * bufferlist.C (emergencyWrite): use boost::format
4621
4622         * buffer.C (readLyXformat2): use boost::format
4623         (parseSingleLyXformat2Token): ditto
4624
4625         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4626
4627         * LaTeX.C (run): use boost::format
4628
4629         * Chktex.C (scanLogFile): use boost::format
4630
4631         * BufferView_pimpl.C (savePosition): use boost::format
4632         (restorePosition): ditto
4633         (MenuInsertLyXFile): ditto
4634
4635         * BoostFormat.h: help file for explicit instation.
4636
4637 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4638
4639         * tabular.C (latex): Support for block alignment in fixed width
4640         columns.
4641
4642 2002-11-17  John Levon  <levon@movementarian.org>
4643
4644         * BufferView_pimpl.C:
4645         * lyx_cb.C:
4646         * lyxfunc.C: split filedialog into open/save
4647
4648 2002-11-08  Juergen Vigna  <jug@sad.it>
4649
4650         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4651         by my last patch (hopefully).
4652
4653 2002-11-08  John Levon  <levon@movementarian.org>
4654
4655         * iterators.h:
4656         * iterators.C:
4657         * buffer.h:
4658         * buffer.C:
4659         * paragraph.h:
4660         * paragraph.C:
4661         * toc.h:
4662         * toc.C: ParConstIterator, and use it (from Lars)
4663
4664 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4665
4666         * lyxtextclass.[Ch]: revise and add doxygen comments
4667
4668 2002-11-07  John Levon  <levon@movementarian.org>
4669
4670         * text.C: fix progress value for spellchecker
4671
4672         * toc.C: fix navigate menu for insetwrap inside minipage
4673
4674         * paragraph_funcs.C: added FIXME for suspect code
4675
4676 2002-11-07  John Levon  <levon@movementarian.org>
4677
4678         * BufferView_pimpl.C: fix redrawing of insets
4679           on buffer switch
4680
4681 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4682
4683         * text2.C (updateCounters): fix bug 668
4684
4685 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4686
4687         * text3.C (dispatch): Do not make the buffer dirty when moving the
4688         cursor.
4689
4690 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4691
4692         * vc-backend.C: STRCONV
4693         (scanMaster): ditto
4694
4695         * text2.C (setCounter): STRCONV
4696
4697         * paragraph.C (asString): STRCONV
4698
4699         * lyxlength.C (asString): STRCONV
4700         (asLatexString): ditto
4701
4702         * lyxgluelength.C (asString): STRCONV
4703         (asLatexString): ditto
4704
4705         * lyxfunc.C (dispatch): STRCONV
4706         (open): ditto
4707
4708         * lyxfont.C (stateText): STRCONV
4709
4710         * importer.C (Import): STRCONV
4711
4712         * counters.C (labelItem): STRCONV
4713         (numberLabel): ditto
4714         (numberLabel): remove unused ostringstream o
4715
4716         * chset.C: STRCONV
4717         (loadFile): ditto
4718
4719         * bufferview_funcs.C (currentState): STRCONV
4720
4721         * buffer.C (readFile): STRCONV
4722         (asciiParagraph): ditto
4723         (makeLaTeXFile): ditto
4724
4725         * Spacing.C (writeEnvirBegin): STRCONV
4726
4727         * LaTeXFeatures.C (getLanguages): STRCONV
4728         (getPackages): ditto
4729         (getMacros): ditto
4730         (getBabelOptions): ditto
4731         (getTClassPreamble): ditto
4732         (getLyXSGMLEntities): ditto
4733         (getIncludedFiles): ditto
4734
4735         * LaTeX.C: STRCONV
4736         (run): ditto
4737         (scanAuxFile): ditto
4738         (deplog): ditto
4739
4740         * LString.h: add the STRCONV macros
4741
4742         * BufferView_pimpl.C (savePosition): STRCONV
4743         (restorePosition): ditto
4744         (MenuInsertLyXFile): ditto
4745
4746         * vc-backend.C (scanMaster): change from submatch[...] to
4747         submatch.str(...)
4748
4749         * funcrequest.C: include config.h
4750
4751         * factory.C: include config.h
4752
4753         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4754
4755         * box.C: include config.h
4756
4757         * LaTeX.C (scanAuxFile): change from submatch[...] to
4758         submatch.str(...)
4759         (deplog): ditto
4760
4761 2002-10-25  Angus Leeming  <leeming@lyx.org>
4762
4763         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4764
4765         * ispell.[Ch] (setError): new method.
4766         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4767         Use setError() insetead of goto END.
4768
4769         * lyx_cb.C (AutoSave): move out child process into new class
4770         AutoSaveBuffer.
4771
4772 2002-10-30  John Levon  <levon@movementarian.org>
4773
4774         * text3.C: make start appendix undoable
4775
4776 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4777
4778         * lyxlength.C (inPixels): Fix returned value.
4779
4780         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4781         environment.
4782
4783 2002-10-24  Angus Leeming  <leeming@lyx.org>
4784
4785         * lyxgluelength.h: no need to forward declare BufferParams
4786         or BufferView, so don't.
4787
4788 2002-10-21  John Levon  <levon@movementarian.org>
4789
4790         * BufferView.C: menuUndo ->undo, redo
4791
4792         * BufferView.h: document, remove dead, make some methods private
4793
4794         * paragraph_funcs.h:
4795         * paragraph_funcs.C:
4796         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4797
4798         * buffer.h:
4799         * buffer.C:
4800         * sgml.h:
4801         * sgml.C: move sgml open/close tag into sgml.C
4802
4803         * bufferview_funcs.h: unused prototype
4804
4805         * lyxfunc.h:
4806         * lyxfunc.C: remove unused
4807
4808         * lyxtext.h:
4809         * text.C: remove unused
4810
4811 2002-10-21  John Levon  <levon@movementarian.org>
4812
4813         * BufferView.h:
4814         * BufferView.C:
4815         * BufferView_pimpl.h:
4816         * BufferView_pimpl.C: fix mouse wheel handling based on
4817           patch from Darren Freeman
4818
4819 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4820
4821         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4822
4823 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4824
4825         * lyxlength.C (inPixels): Fix hanfling of negative length.
4826         Fix LyXLength::MU case.
4827
4828 2002-10-16  John Levon  <levon@movementarian.org>
4829
4830         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4831
4832 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4833
4834         * converter.C (view): add support for $$i (file name) and $$p
4835         (file path) for the viewer command. If $$i is not specified, then
4836         it is appended to the command (for compatibility with old syntax)
4837
4838 2002-10-14  Juergen Vigna  <jug@sad.it>
4839
4840         * undo_funcs.C (textHandleUndo): alter the order in which the
4841         new undopar is added to the LyXText, as we have to set first
4842         the right prev/next and then add it as otherwise the rebuild of
4843         LyXText is not correct. Also reset the cursor to the right paragraph,
4844         with this IMO we could remove the hack in "redoParagraphs()".
4845
4846 2002-10-09  Angus Leeming  <leeming@lyx.org>
4847
4848         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4849         to turn off an optimisation if a new inset is to be inserted.
4850
4851 2002-10-11 André Pönitz <poenitz@gmx.net>
4852
4853         * lyxtext.h: make some functions public to allow access
4854         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4855
4856 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4857
4858         * text3.C (dispatch): when changing layout, avoid an infinite loop
4859         [bug #652]
4860
4861 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4862
4863         * lyxrc.C (read): treat a viewer or converter command of "none" as
4864         if it were empty.
4865
4866         * MenuBackend.C (expandFormats): for an update, also allow the
4867         formats that are not viewable
4868
4869         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4870         script if it is newer than the lyxrc.defaults in user directory
4871
4872 2002-10-07 André Pönitz <poenitz@gmx.net>
4873
4874         * text.C: Vitaly Lipatov's small i18n fix
4875
4876 2002-09-25  Angus Leeming  <leeming@lyx.org>
4877
4878         * ispell.h: doxygen fix.
4879
4880 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4881
4882         * buffer.h (readFile): Add a new argument to the method, to allow
4883         reading of old-format templates.
4884
4885 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4886
4887         * toc.C (getTocList): Get TOC from InsetWrap.
4888
4889 2002-09-16  John Levon  <levon@movementarian.org>
4890
4891         * lyxfunc.C: check tabular for cut/copy too
4892
4893 2002-09-12  John Levon  <levon@movementarian.org>
4894
4895         * LyXAction.C: tidy
4896
4897         * factory.h:
4898         * factory.C: add header
4899
4900         * paragraph_funcs.h:
4901         * paragraph_funcs.C: cleanup
4902
4903 2002-09-11  John Levon  <levon@movementarian.org>
4904
4905         * PrinterParams.h: odd/even default to true
4906
4907 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4908
4909         * PrinterParams.h: update printer parameters for new xforms dialog
4910
4911 2002-09-11  Angus Leeming  <leeming@lyx.org>
4912
4913         * lyxserver.C (read_ready): re-write to make it more transparent
4914         and to make it work in coherent fashion under Tru64 Unix.
4915
4916 2002-09-11  André Pönitz <poenitz@gmx.net>
4917
4918         * commandtags.h:
4919         * LyXAction.C:
4920         * text3.C: implement LFUN_WORDSEL
4921
4922 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4925         make floatlist_ a boost::shared_ptr<FloatList>
4926
4927         * lyxtextclass.C: include FloatList.h
4928         (LyXTextClass): initialize floatlist_
4929         (TextClassTags): add TC_NOFLOAT
4930         (Read): match "nofloat" to TC_NOFLOAT and use it.
4931         (readFloat): modify call to floatlist_
4932         (floats): ditto
4933         (floats): ditto
4934
4935         * FloatList.[Ch] (FloatList): remove commented out float
4936         initialization.
4937         (erase): new function
4938
4939 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4940
4941         * MenuBackend.C (expandToc): fix crash when there is no document
4942         open
4943
4944 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4945
4946         * many files: Add insetwrap.
4947
4948 2002-09-09  John Levon  <levon@movementarian.org>
4949
4950         * text2.C: remove confusing and awkward depth wraparound
4951
4952 2002-09-09  John Levon  <levon@movementarian.org>
4953
4954         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4955
4956         * buffer.h:
4957         * buffer.C: remove getIncludeonlyList()
4958
4959         * paragraph.C:
4960         * lyxfunc.C: remove headers
4961
4962 2002-09-09  Juergen Vigna  <jug@sad.it>
4963
4964         * text.C (getColumnNearX): fix form Michael this is most
4965         probably a cut&paste bug.
4966
4967 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4970
4971         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4972         references, ws changes.
4973
4974         * text2.C (init): update counters after init
4975         (insertParagraph): no need to set counter on idividual paragraphs.
4976         (setCounter): access the counters object in the textclass object
4977         on in the buffer object.
4978         (updateCounters): ditto
4979
4980         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4981         shared_ptr<Counters> to avoid loading counters.h in all
4982         compilation units.
4983         (LyXTextClass): initialize ctrs_
4984         (TextClassTags): add TC_COUNTER, and ...
4985         (Read): use it here.
4986         (CounterTags): new tags
4987         (readCounter): new function
4988         (counters): new funtion
4989         (defaultLayoutName): return a const reference
4990
4991         * counters.C (Counters): remove contructor
4992         (newCounter): remove a couple of unneeded statements.
4993         (newCounter): simplify a bit.
4994         (numberLabel): some small formatting changes.
4995
4996         * buffer.[Ch]: remove all traces of counters, move the Counters
4997         object to the LyXTextClass.
4998
4999 2002-09-06  Alain Castera  <castera@in2p3.fr>
5000
5001         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5002         package to set the horizontal alignment on fixed width columns.
5003
5004         * lyx_sty.C:
5005         * lyx_sty.h: added tabularnewline macro def.
5006
5007         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5008
5009 2002-09-06  John Levon  <levon@movementarian.org>
5010
5011         * LyXAction.C: tooltips for sub/superscript
5012
5013         * MenuBackend.C: a bit more verbose
5014
5015         * lyxfunc.C: tiny clean
5016
5017         * undo_funcs.C: document undo_frozen
5018
5019 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * counters.C (Counters): add missing algorithm counter.
5022
5023         * text2.C (setCounter): lookup the counter with layouts latexname
5024         instead of by section number.
5025         (setCounter): use a hackish way to lookup the correct enum
5026         counter.
5027         a float name->type change
5028         reset enum couners with counter name directly instead of depth value.
5029
5030         * counters.C (Counters): remove the push_backs, change to use the
5031         float type not the float name.
5032         (labelItem): remove unused string, float name->type change
5033
5034         * counters.h: don't include vector, loose the enums and sects vectors
5035
5036 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5039         (Read): add float->TC_FLOAT to textclassTags
5040         (Read): and handle it in the switch
5041         (readFloat): new function
5042
5043         * FloatList.C (FloatList): comment out the hardcoded float
5044         definitions.
5045
5046         * lyxlayout.h: ws change.
5047
5048 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5049
5050         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5051
5052 2002-09-03  Angus Leeming  <leeming@lyx.org>
5053
5054         * BufferView_pimpl.h: qualified name is not allowed in member
5055         declaration: WorkArea & Pimpl::workarea() const;
5056
5057         * factory.C: added using std::endl directive.
5058
5059         * text3.C: added using std::find and std::vector directives.
5060
5061 2002-08-29  André Pönitz <poenitz@gmx.net>
5062
5063         * lyxtext.h:
5064         * text2.C: remove unused member number_of_rows
5065
5066         * Makefile.am:
5067         * BufferView2.C: remove file, move contents to...
5068         * BufferView.C: ... here
5069
5070         * BufferView_pimpl.C:
5071         * factory.C: move more inset creation to factory
5072
5073         * vspace.C: avoid direct usage of LyXText, ws changes
5074
5075         * BufferView.[Ch]:
5076                 don't provide direct access to WorkArea, use two simple
5077                 acessors haveSelction() and workHeight() instead
5078
5079
5080 2002-08-29  John Levon  <levon@movementarian.org>
5081
5082         * BufferView_pimpl.C (dispatch): do not continue when
5083           no buffer
5084
5085 2002-08-28  André Pönitz <poenitz@gmx.net>
5086
5087         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5088
5089         * BufferView.h:
5090         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5091
5092 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5093
5094         * buffer.C: increment LYX_FORMAT to 221
5095
5096         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5097         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5098
5099         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5100
5101         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5102
5103 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5104
5105         * factory.C (createInset): use LyXTextClass::floats
5106
5107         * MenuBackend.C (expandFloatListInsert):
5108         (expandFloatInsert):
5109         (expandToc):
5110
5111         * text2.C (setCounter):
5112
5113         * LaTeXFeatures.C (useFloat):
5114         (getFloatDefinitions):
5115
5116         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5117
5118         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5119         floatlist_, with accessor floats().
5120
5121         * FloatList.h: remove global FloatList
5122
5123 2002-08-26  André Pönitz <poenitz@gmx.net>
5124
5125         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5126
5127         * BufferView.h:
5128         * BufferView2.C:
5129         * BufferView_pimpl.C:
5130         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5131
5132 2002-08-25  John Levon  <levon@movementarian.org>
5133
5134         * LyXAction.C: fix margin note description
5135
5136 2002-08-24  John Levon  <levon@movementarian.org>
5137
5138         * buffer.C:
5139         * bufferlist.C:
5140         * bufferview_funcs.C:
5141         * lyxfont.C:
5142         * undo_funcs.C: cleanups
5143
5144         * lyxfunc.C: disable CUT/COPY when no selection
5145
5146 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5147
5148         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5149         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5150
5151         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5152         Add backward compatibility to "mono", "gray" and "no".
5153
5154 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5155
5156         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5157         (and file_format >= 200).
5158
5159 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5160
5161         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5162
5163 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5164
5165         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5166
5167 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * BufferView_pimpl.C:
5170         * LyXAction.C:
5171         * buffer.C:
5172         * commandtags.h:
5173         * lyxfunc.C:
5174         * paragraph.[Ch]:
5175         * text2.C:
5176         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5177         inset and code to make it  work with the paragraph code. The inset
5178         can be anywhere in the paragraph, but will only do the expected
5179         thing in LaTeX if the layout file contains the parameter line
5180                         OptionalArgs    1
5181         (or more generally, a nonzero value) for that layout.
5182
5183 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * paragraph.h: remove the declaration of undefined counters class
5186         function.
5187
5188 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5189
5190         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5191         Dr. Richard Hawkins.
5192
5193 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5194
5195         * paragraph_funcs.h: remove some unneeded includes
5196
5197         * text.C (backspace): pasteParagraph now in global scipe
5198
5199         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5200         (pasteSelection): ditto
5201
5202         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5203         * paragraph_funcs.C (pasteParagraph): ... here
5204
5205 2002-08-20  André Pönitz <poenitz@gmx.net>
5206
5207         * commandtags.h: new LFUNs for swapping/copying table row/colums
5208
5209         * LyXAction.C:
5210         * lyxfunc.C: support for new lfuns
5211
5212 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * tabular.C:
5215         * buffer.[Ch]: remove NO_COMPABILITY stuff
5216
5217 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * boost.C (throw_exception): new file, with helper function for
5220         boost compiled without exceptions.
5221
5222         * paragraph.h:
5223         * lyxlength.C:
5224         * buffer.C:
5225         * ParameterStruct.h:
5226         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5227
5228         * bufferlist.C (emergencyWriteAll): use boost bind
5229
5230         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5231
5232         * text.C: include paragraph_funcs.h
5233         (breakParagraph): breakParagraph is now in global scope
5234
5235         * paragraph_funcs.[Ch]: new files
5236
5237         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5238         global scope
5239
5240         * buffer.C: include paragraph_funcs.h
5241         (insertStringAsLines): breakParagraph is now in global scope
5242
5243         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5244         paragraph_funcs.C
5245
5246         * CutAndPaste.C: include paragraph_funcs.h
5247         (cutSelection): breakParagraphConservative is now in global scope
5248         (pasteSelection): ditto
5249
5250         * buffer.h: declare oprator== and operator!= for
5251         Buffer::inset_iterator
5252
5253         * bufferlist.C (emergencyWrite): don't use fmt(...)
5254
5255         * text3.C: add using std::endl
5256
5257         * BufferView.C (moveCursorUpdate): remove default arg
5258
5259 2002-08-20  André Pönitz <poenitz@gmx.net>
5260
5261         * buffer.[Ch]: move inline functions to .C
5262
5263         * BufferView2.C:
5264         * BufferView_pimpl.C:
5265         * text.C:
5266         * buffer.[Ch]: use improved inset_iterator
5267
5268         * buffer.C:
5269         * paragraph.[Ch]: write one paragraph at a time
5270
5271 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5272
5273         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5274         style if style is not specified.
5275
5276 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5277
5278         * text2.C (setCounter): when searching for right label for a
5279         caption, make sure to recurse to parent insets (so that a caption
5280         in a minipage in a figure float works) (bug #568)
5281
5282 2002-08-20  André Pönitz <poenitz@gmx.net>
5283
5284         * text3.C: new file for LyXText::dispatch() and helpers
5285
5286         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5287
5288         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5289
5290 2002-08-19  André Pönitz <poenitz@gmx.net>
5291
5292         * lyxtext.h:
5293         * text.C: new LyXText::dispatch()
5294
5295         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5296
5297 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5298
5299         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5300
5301         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5302         Hebrew text.
5303
5304 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5305
5306         * Makefile.am: use $(variables) instead of @substitutions@
5307
5308 2002-08-15  André Pönitz <poenitz@gmx.net>
5309
5310         * lyxfunc.C:
5311         * BufferView_pimpl.C: streamlining mathed <-> outer world
5312         interaction
5313
5314         * commandtags.h:
5315         * LyXAction.C: remove unused LFUN_MATH
5316
5317 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5320
5321 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * paragraph.C (Paragraph): reformat a bit
5324         (cutIntoMinibuffer): use builtin InsetList function instad of
5325         doing it manually.
5326         (getInset): ditto
5327
5328         * buffer.C: include boost/bind.hpp, add using std::for_each
5329         (writeFileAscii): use ParagraphList iterators
5330         (validate): use for_each for validate traversal of paragraphs
5331         (getBibkeyList): use ParagraphList iterators
5332         (resizeInsets): use for_each to resizeInsetsLyXText for all
5333         paragraphs.
5334         (getParFromID): use ParagraphList iterators
5335
5336         * BufferView2.C (lockInset): use paragraph list and iterators
5337
5338 2002-08-14  John Levon  <levon@movementarian.org>
5339
5340         * lyxserver.C: remove spurious xforms include
5341
5342 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5343
5344         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5345
5346 2002-08-13  André Pönitz <poenitz@gmx.net>
5347
5348         * LyXAction.[Ch]:
5349         * lyxfunc.C: further cleaning
5350
5351 2002-08-13  André Pönitz <poenitz@gmx.net>
5352
5353         * funcrequest.h: new constructor
5354
5355         * funcrequest.C: move stuff here from .h
5356
5357         * Makefile.am:
5358         * BufferView_pimpl.C:
5359         * LyXAction.C:
5360         * toc.C:
5361         * lyxfunc.C: subsequent changes
5362
5363         * lyxfunc.h: new view() member function
5364
5365         * lyxfunc.C: subsequent changes
5366
5367 2002-08-13  Angus Leeming  <leeming@lyx.org>
5368
5369         * BufferView2.C:
5370         * BufferView_pimpl.C:
5371         * buffer.C:
5372         * converter.C:
5373         * importer.C:
5374         * lyxfunc.C:
5375         * lyxvc.C:
5376         * toc.C:
5377         * vc-backend.C:
5378         changes due to the changed LyXView interface that now returns references
5379         to member variables not pointers.
5380
5381 2002-08-13  Angus Leeming  <leeming@lyx.org>
5382
5383         * WordLangTuple (word, lang_code): return references to strings,
5384         not strings.
5385
5386         * BufferView.h:
5387         * SpellBase.h:
5388         * lyxtext.h: forward-declare WordLangTuple.
5389
5390         * BufferView2.C:
5391         * ispell.C:
5392         * pspell.C:
5393         * text.C: #include "WordLangTuple.h".
5394
5395         * lyxtext.h:
5396         * text.C: (selectNextWordToSpellcheck): constify return type.
5397
5398 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5399
5400         * buffer.C:
5401         * buffer.h:
5402         * lyxtext.h:
5403         * paragraph.C:
5404         * paragraph_pimpl.h:
5405         * text.C:
5406         * text2.C:
5407         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5408         suggested by Angus.
5409         Made updateCounter always count from start of buffer, and removed
5410         second argument (par).
5411         Reverted floats number display to '#'. Perhaps I'll try again when the
5412         code base is sanitized a bit.
5413
5414 2002-08-12  Angus Leeming  <leeming@lyx.org>
5415
5416         * buffer.[Ch] (getLabelList): constify.
5417
5418 2002-08-07  André Pönitz <poenitz@gmx.net>
5419
5420         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5421
5422         * funcrequest.h: extension to keep mouse (x,y) position
5423
5424 2002-08-12  Juergen Vigna  <jug@sad.it>
5425
5426         * BufferView2.C (insertErrors): forbid undo when inserting error
5427         insets.
5428
5429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5430
5431 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * ParagraphList.[Ch]: new files
5434
5435         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5436
5437         * BufferView2.C (lockInset): ParagraphList changes
5438         * toc.C: ditto
5439         * text2.C: ditto
5440         * bufferlist.C: ditto
5441         * buffer.h: ditto
5442         * buffer.C: ditto
5443
5444 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5447         unused class variable counter_,
5448
5449         * paragraph.[Ch] (getFirstCounter): delete unused function
5450
5451         * counters.C: include LAssert.h
5452         (reset): add a new function with no arg, change other version to
5453         not have def. arg and to not allow empty arg.
5454
5455         * text2.C (setCounter): remove empty arg from call to Counters::reset
5456
5457 2002-08-11  John Levon  <levon@movementarian.org>
5458
5459         * Makefile.am: add WordLangTuple.h
5460
5461 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5464         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5465
5466         * insets/insettext.C: InsetList changes
5467
5468         * graphics/GraphicsSupport.C (operator()): InsetList changes
5469
5470         * toc.C (getTocList): InsetList changes
5471
5472         * paragraph_pimpl.[Ch]: InsetList changes
5473
5474         * paragraph.[Ch]: InsetList changes
5475
5476         * buffer.C (inset_iterator): InsetList changes
5477         (setParagraph): ditto
5478         * buffer.h (inset_iterator): ditto
5479         * iterators.C (operator++): ditto
5480         * iterators.h: ditto
5481
5482         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5483
5484         * InsetList.[Ch]: new files, most InsetList handling moved out of
5485         paragraph.C.
5486
5487         * BufferView2.C (removeAutoInsets): InsetList changes
5488         (lockInset): ditto
5489         (ChangeInsets): ditto
5490
5491 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * paragraph_pimpl.h (empty): new function
5494
5495         * paragraph.[Ch] (empty): new function
5496
5497         * other files: use the new Paragraph::empty function
5498
5499 2002-08-09  John Levon  <levon@movementarian.org>
5500
5501         * lyxtext.h: remove unused refresh_height
5502
5503 2002-08-09  John Levon  <levon@movementarian.org>
5504
5505         * Makefile.am:
5506         * sgml.h:
5507         * sgml.C:
5508         * buffer.C:
5509         * paragraph.h:
5510         * paragraph.C: move sgml char escaping out of paragraph
5511
5512         * paragraph.h:
5513         * paragraph.C: remove id setter
5514
5515         * buffer.C:
5516         * paragraph.C:
5517         * paragraph_pimpl.C: remove dead tex_code_break_column
5518
5519         * bufferview_funcs.C: small cleanup
5520
5521         * lyxfunc.C: remove dead proto
5522
5523         * lyxtext.h: make some stuff private. Remove some dead stuff.
5524
5525         * lyxgluelength.C: make as[LyX]String() readable
5526
5527 2002-08-08  John Levon  <levon@movementarian.org>
5528
5529         * LyXAction.h:
5530         * LyXAction.C:
5531         * MenuBackend.C:
5532         * ToolbarDefaults.C:
5533         * lyxfunc.C:
5534         * lyxrc.C:
5535         * toc.C: lyxaction cleanup
5536
5537 2002-08-08  John Levon  <levon@movementarian.org>
5538
5539         * BufferView2.C: small cleanup
5540
5541         * lyxfind.h:
5542         * lyxfind.C: move unnecessary header into the .C
5543
5544 2002-08-08  John Levon  <levon@movementarian.org>
5545
5546         * funcrequest.h: just tedious nonsense
5547
5548         * lyx_main.h:
5549         * lyx_main.C: cleanups
5550
5551         * buffer.C:
5552         * vspace.C: remove dead header lyx_main.h
5553
5554 2002-08-07  Angus Leeming  <leeming@lyx.org>
5555
5556         * Paragraph.[Ch]:
5557         * paragraph_pimpl.h:
5558         Forward declare class Counters in paragraph.h by moving the ctrs member
5559         variable into Paragraph::Pimpl.
5560         (counters): new method, returning a reference to pimpl_->ctrs.
5561
5562         * text2.C: ensuing changes.
5563
5564 2002-08-07  John Levon  <levon@movementarian.org>
5565
5566         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5567
5568         * BufferView_pimpl.C: announce X selection on double/triple
5569           click
5570
5571         * lyx_main.C: use correct bool in batch dispatch
5572
5573         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5574
5575 2002-08-07  André Pönitz <poenitz@gmx.net>
5576
5577         * funcrequest.h: new class to wrap a kb_action and its argument
5578
5579         * BufferView.[Ch]:
5580         * BufferView_pimpl[Ch]:
5581         * LaTeX.C:
5582         * LyXAction.[Ch]:
5583         * lyxfunc.[Ch]:
5584         * lyxrc.C: subsequent changes
5585
5586
5587 2002-08-07  John Levon  <levon@movementarian.org>
5588
5589         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5590           document options change.
5591
5592 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5593
5594         * counters.[Ch]
5595         * text2.C
5596         * paragraph.[Ch]
5597         * makefile.am: move counters functionality over from
5598         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5599
5600 2002-08-06  John Levon  <levon@movementarian.org>
5601
5602         * WordLangTuple.h: new file for word + language code tuple
5603
5604         * SpellBase.h:
5605         * pspell.h:
5606         * pspell.C:
5607         * ispell.h:
5608         * ispell.C:
5609         * lyxtext.h:
5610         * text.C:
5611         * text2.C:
5612         * BufferView.h:
5613         * BufferView2.C: use WordLangTuple
5614
5615         * layout.h:
5616         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5617
5618 2002-08-06  John Levon  <levon@movementarian.org>
5619
5620         * lyx_main.C: fix cmdline batch handling
5621
5622 2002-08-06  André Pönitz <poenitz@gmx.net>
5623
5624         * lyxrc.C: set default for show_banner to true
5625
5626 2002-08-06  John Levon  <levon@movementarian.org>
5627
5628         * pspell.C: fix a crash, and allow new aspell to work
5629
5630 2002-08-06  John Levon  <levon@movementarian.org>
5631
5632         * lyxfunc.C:
5633         * kbmap.C: small cleanup
5634
5635         * vspace.h:
5636         * vspace.C: add const
5637
5638 2002-08-05  John Levon  <levon@movementarian.org>
5639
5640         * LyXAction.C: back to tabular-insert
5641
5642 2002-08-04  John Levon  <levon@movementarian.org>
5643
5644         * BufferView.h:
5645         * BufferView.C: cosmetic change
5646
5647         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5648
5649         * bufferlist.C:
5650         * buffer.h:
5651         * buffer.C:
5652         * lyxcb.h:
5653         * lyxcb.C:
5654         * lyxserver.C:
5655         * lyxvc.C:
5656         * vc-backend.C:
5657         * BufferView2.C: purge all "Lyx" not "LyX" strings
5658
5659         * lyxcursor.h:
5660         * lyxcursor.C: attempt to add some documentation
5661
5662         * lyxfunc.C:
5663         * commandtags.h:
5664         * LyXAction.C:
5665         * ToolbarDefaults.C:
5666         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5667           merge with LFUN_TABULAR_INSERT
5668
5669         * Makefile.am:
5670         * SpellBase.h:
5671         * ispell.h:
5672         * ispell.C:
5673         * pspell.h:
5674         * pspell.C: split up i/pspell implementations into separate
5675           files, many cleanups
5676
5677         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5678
5679         * text2.C: some cleanup
5680
5681         * lyxfunc.C: don't check for isp_command == "none" any more, it
5682           didn't make any sense
5683
5684 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5685
5686         * counters.[Ch]
5687         * text2.C
5688         * paragraph.[Ch]
5689         * makefile.am: move counters functionality over
5690         from text2.C/paragraph.[Ch] to counters.[Ch], and
5691         make proper C++.
5692 2002-08-02  John Levon  <levon@movementarian.org>
5693
5694         * buffer.C: s/lyxconvert/lyx2lyx/
5695
5696 2002-08-02  Angus Leeming  <leeming@lyx.org>
5697
5698         * lyxlex.C: revert John's change as it breaks reading of the user
5699         preamble.
5700
5701 2002-08-02  Angus Leeming  <leeming@lyx.org>
5702
5703         * importer.C (Import):
5704         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5705         changes due to LyXView::view() now returning a boost::shared_ptr.
5706
5707 2002-08-02  John Levon  <levon@movementarian.org>
5708
5709         * lyxlex.C: small cleanup
5710
5711 2002-08-02  John Levon  <levon@movementarian.org>
5712
5713         * text2.C (status): small cleanup, no logic change
5714
5715 2002-08-01  John Levon  <levon@movementarian.org>
5716
5717         * buffer.h:
5718         * buffer.C (writeFile): don't output alerts, caller
5719           handles this
5720
5721         * bufferlist.C:
5722         * lyx_cb.C: from above
5723
5724         * lyxfunc.C: allow to open non-existent files
5725
5726 2002-07-31  John Levon  <levon@movementarian.org>
5727
5728         * lyxserver.C: don't let incidental errors get
5729           in the way (errno)
5730
5731 2002-07-30  John Levon  <levon@movementarian.org>
5732
5733         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5734
5735 2002-07-30  John Levon  <levon@movementarian.org>
5736
5737         * lyxserver.h:
5738         * lyxserver.C: remove I/O callback too
5739
5740 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5741
5742         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5743         log.
5744
5745 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * many files: strip,frontStrip -> trim,ltrim,rtrim
5748
5749 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * PrinterParams.h: remove extern containsOnly, and include
5752         support/lstrings.h instead.
5753
5754         * LaTeX.C (scanAuxFile): modify because of strip changes
5755         (deplog): ditto
5756         * buffer.C (makeLaTeXFile): ditto
5757         * bufferparams.C (writeFile): ditt
5758         * lyxfont.C (stateText): ditto
5759         * lyxserver.C (read_ready): ditto
5760         * vc-backend.C (scanMaster): ditto
5761
5762         * BufferView_pimpl.h: ws changes
5763
5764         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5765
5766 2002-07-26  André Pönitz <poenitz@gmx.net>
5767
5768         * kb_sequence.C: remove unnedred usings
5769
5770 2002-07-26  Juergen Vigna  <jug@sad.it>
5771
5772         * lyxfind.C (LyXReplace): we have to check better if the returned
5773         text is not of theLockingInset()->getLockingInset().
5774
5775 2002-07-25  Juergen Vigna  <jug@sad.it>
5776
5777         * lyxfind.C (LyXReplace): don't replace if we don't get the
5778         right LyXText.
5779
5780         * undo_funcs.C (createUndo): remove debugging code.
5781
5782 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5783
5784         * buffer.C (parseSingleLyXformat2Token): Use default placement
5785         when reading old floats.
5786
5787         * FloatList.C (FloatList): Change the default placement of figure
5788         and tables to "tbp".
5789
5790 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5791
5792         * MenuBackend.C: using std::max
5793
5794 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5795
5796         * MenuBackend.C (expandToc):
5797         (expandToc2): code moved from xforms menu frontend. It is now
5798         generic and TOCs are transparent to menu frontends.
5799
5800 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5801
5802         * toc.C (getTocList): protect against buf=0
5803
5804         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5805         Menu as first parameter. Now, this calls itself recursively to
5806         expand a whole tree (this will be useful for TOC handling)
5807         (expandFloatInsert): remove 'wide' version of floats
5808
5809         * MenuBackend.h (submenuname): returns the name of the submenu.
5810         (submenu): returns the submenu itself, provided it has been
5811         created by MenuBackend::expand
5812
5813 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5814
5815         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5816         insets which have noFontChange == true. (bug #172)
5817
5818 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5819
5820         * BufferView_pimpl.C: add connection objects and use them...
5821         (Pimpl): here.
5822
5823 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5824
5825         * MenuBackend.C (expandLastfiles):
5826         (expandDocuments):
5827         (expandFormats):
5828         (expandFloatListInsert):
5829         (expandFloatInsert):
5830         (expand): split expand in parts
5831
5832 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5833
5834         * lyx_gui.C: use lyx_gui::exit()
5835
5836 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5837
5838         * LyXAction.C: show the failing pseudo action
5839
5840 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5841
5842         * buffer.C (readFile): Run the lyxconvert script in order to read
5843         old files.
5844
5845 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5846
5847         * LyXAction.C:
5848         * commandtags.h:
5849         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5850
5851 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5852
5853         * LyXAction.C:
5854         * commandtags.h:
5855         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5856
5857 2002-07-22  Herbert Voss  <voss@lyx.org>
5858
5859         * lengthcommon.C:
5860         * lyxlength.[Ch]: add support for the vertical lengths
5861
5862 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5863
5864         * toc.[Ch]: std:: fixes
5865
5866 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5867
5868         * lyxrc.C: do not include lyx_main.h
5869
5870         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5871         for layouts
5872
5873         * lyxrc.C:
5874         * encoding.C:
5875         * bufferlist.C:
5876         * BufferView2.C: include "lyxlex.h"
5877
5878         * tabular.h:
5879         * bufferparams.h: do not #include "lyxlex.h"
5880
5881         * lyxtextclasslist.C (Add): remove method
5882         (classlist): renamed to classlist_
5883
5884         * paragraph_pimpl.C:
5885         * paragraph.C:
5886         * text2.C:
5887         * CutAndPaste.C:
5888         * bufferview_funcs.C:
5889         * bufferlist.C:
5890         * text.C:
5891         * LaTeXFeatures.C:
5892         * buffer.C:
5893         * toc.C (getTocList): use BufferParams::getLyXTextClass
5894
5895         * toc.C (getTocList): use InsetFloat::addToToc
5896
5897         * toc.[Ch]: new files, containing helper functions to handle table
5898         of contents
5899
5900         * lyxfunc.C (dispatch): no need to remove spaces around command
5901         given as a string
5902         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5903         first command of the sequence; it is not very clever, but I do not
5904         have a better idea, actually
5905
5906         * LyXAction.C (LookupFunc): make sure to remove space at the
5907         beginning and end of the command
5908
5909 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5910
5911         * MenuBackend.C (getMenubar): new method: return the menubar of
5912         this menu set
5913         (read): treat differently reading of menu and menubar (in
5914         particular, the menubar has no name now)
5915         (Menu::menubar): remove
5916
5917         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5918         saving is finished
5919
5920 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5921
5922         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5923         a bibitem inset in a RTL paragraph.
5924
5925 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5926
5927         * paragraph_pimpl.C: constify
5928
5929         * BufferView_pimpl.C:
5930         * LaTeX.C:
5931         * lyxfunc.C: fix dispatch in a nicer way
5932
5933 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5934
5935         * lyxfunc.C (dispatch):
5936         * BufferView_pimpl.C:
5937         * BufferView_pimpl.h:
5938         * BufferView.C:
5939         * BufferView.h: rename Dispatch() to dispatch()
5940
5941         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5942
5943         * lyxlayout.C (Read): honor DependsOn tag
5944
5945         * lyxlayout.[Ch] (depends_on): new method
5946
5947         * version.C.in: update lyx_docversion
5948
5949         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5950
5951         * paragraph.C (validate): remove from here...
5952         * paragraph_pimpl.C (validate): ... and move here
5953         (isTextAt): make it const
5954
5955         * buffer.C (getLists): ws cleanup
5956
5957 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5958
5959         * language.C (read): Use iso8859-1 encoding in latex_lang
5960         (this prevents LyX from crashing when using iso10646-1 encoding).
5961
5962 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5963
5964         * text2.C (toggleInset): if cursor is inside an inset, close the
5965         inset and leave cursor _after_ it
5966
5967 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5968
5969         * lyxfunc.C: move minibuffer completion handling out of here
5970
5971 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5972
5973         * BufferView_pimpl.C:
5974         * LaTeX.C: fix dispatch calls
5975
5976 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5977
5978         * text.C (drawChars): Fix Arabic text rendering.
5979
5980 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5981
5982         * LyXAction.C:
5983         * commandtags.h:
5984         * lyxfunc.C: remove message-push/pop
5985
5986         * lyxserver.C:
5987         * lyxfunc.h:
5988         * lyxfunc.C: rationalise some code by removing verboseDispatch
5989           in favour of a bool argument to dispatch()
5990
5991 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5992
5993         * lyx_main.C (init): make sure to read symlinks as absolute paths
5994
5995 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5996
5997         * lyxfunc.h:
5998         * lyxfunc.C: no need for commandshortcut to be a member
5999
6000 2002-07-15  André Pönitz <poenitz@gmx.net>
6001
6002         * converter.C: add support for $$s (scripts from lib/scripts dir)
6003         * lyx_main.C: white space
6004
6005 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6006
6007         * bufferlist.C:
6008         * lyxrc.h:
6009         * lyxrc.C: remove second exit confirmation
6010
6011 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6012
6013         * BufferView.h:
6014         * BufferView.C:
6015         * BufferView2.C:
6016         * BufferView_pimpl.h:
6017         * BufferView_pimpl.C:
6018         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6019
6020 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6021
6022         * MenuBackend.C (expand): add numeric shortcuts to document menu
6023
6024         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6025
6026 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6027
6028         * lyxfont.C (setLyXFamily):
6029         (setLyXSeries):
6030         (setLyXShape):
6031         (setLyXSize):
6032         (setLyXMisc):
6033         (lyxRead):
6034         * debug.C (value):
6035         * buffer.C (asciiParagraph): use ascii_lowercase
6036
6037 2002-07-15  Mike Fabian  <mfabian@suse.de>
6038
6039         * lyxlex_pimpl.C (search_kw):
6040         * lyxlex.C (getLongString):
6041         * converter.h (operator<):
6042         * converter.C (operator<):
6043         * buffer.C (parseSingleLyXformat2Token):
6044         (asciiParagraph):
6045         * ToolbarDefaults.C (read):
6046         * MenuBackend.C (checkShortcuts):
6047         (read):
6048         * LColor.C (getFromGUIName):
6049         (getFromLyXName): use the compare_ascii_no_case instead of
6050         compare_no_case, because in turkish, 'i' is not the lowercase
6051         version of 'I', and thus turkish locale breaks parsing of tags.
6052
6053 2002-07-16  Angus Leeming  <leeming@lyx.org>
6054
6055         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6056         now takes a Buffer const & argument.
6057
6058 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6059
6060         * BufferView.C (resize): check there's a buffer to resize
6061
6062 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6063
6064         * lyxfunc.C: remove dead code
6065
6066         * lyxserver.h:
6067         * lyxserver.C: use lyx_guii::set_read_callback
6068
6069 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6070
6071         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6072         an inset in a RTL paragraph.
6073
6074 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6075
6076         * lyxfunc.C: repaint after a font size update
6077
6078 2002-07-15  André Pönitz <poenitz@gmx.net>
6079
6080         * lyxlength.C: inBP should be able to return negative values
6081
6082 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6083
6084         * lyxfunc.C: use lyx_gui::update_fonts()
6085
6086 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6087
6088         * lyxfunc.C: use lyx_gui::update_color()
6089
6090 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6091
6092         * bufferlist.C:
6093         * lyxfunc.h:
6094         * lyxfunc.C:
6095         * lyxrc.h:
6096         * lyxrc.C: remove file->new asks for name option, and let
6097           buffer-new take an argument
6098
6099 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6100
6101         * BufferView_pimpl.C: remove unneeded extra repaint()
6102
6103 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6104
6105         * LyXAction.C: allow command-sequence with NoBuffer
6106
6107         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6108
6109 2002-07-10  Angus Leeming  <leeming@lyx.org>
6110
6111         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6112
6113 2002-07-09  Angus Leeming  <leeming@lyx.org>
6114
6115         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6116
6117 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6118
6119         * lengthcommon.h: whitespace
6120
6121         * lyxfunc.C: update scrollbar after goto paragraph
6122
6123         * lyxtext.h: factor out page break drawing, and fix it so
6124           page break/added space paints as selected nicely
6125
6126 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6127
6128         * BufferView_pimpl.C: add FIXMEs, clean up a little
6129
6130 2002-07-09  André Pönitz <poenitz@gmx.net>
6131
6132         * lyxfont.[Ch]: support for wasy symbols
6133
6134 2002-07-08  André Pönitz <poenitz@gmx.net>
6135
6136         * BufferView_pimpl.C: apply John's patch for #93.
6137
6138 2002-07-05  Angus Leeming  <leeming@lyx.org>
6139
6140         * BufferView_pimpl.C (buffer): generate previews if desired.
6141
6142         * LColor.h: add "preview" to the color enum.
6143
6144         * LColor.C (LColor): add a corresponding entry to the items array.
6145
6146         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6147         with this buffer.
6148
6149 2002-07-05  Angus Leeming  <leeming@lyx.org>
6150
6151         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6152         The body of the code is now in the method that is passed an ostream &
6153         rather than a file name.
6154         Pass an additional only_preamble parameter, useful for the forthcoming
6155         preview stuff.
6156
6157 2002-07-03  André Pönitz <poenitz@gmx.net>
6158
6159         * lyxfunc.C: simplify getStatus() a bit for math stuff
6160
6161 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6162
6163         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6164
6165 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6166
6167         * text.C (changeRegionCase): do not change case of all the
6168         document when region ends at paragraph end (bug #461)
6169
6170 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6171
6172         * paragraph.C (startTeXParParams):
6173         (endTeXParParams): add \protect when necessary
6174
6175 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6176
6177         * BufferView_pimpl.C (workAreaExpose): remove warning
6178
6179 2002-06-27  Angus Leeming  <leeming@lyx.org>
6180
6181         * Makefile.am: add lyxlayout_ptr_fwd.h.
6182
6183 2002-06-26  André Pönitz <poenitz@gmx.net>
6184
6185         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6186
6187 2002-06-25  Angus Leeming  <leeming@lyx.org>
6188
6189         * lyxfunc.C (dispatch): Comment out the call to
6190         grfx::GCache::changeDisplay. The method no longer exists now that the
6191         pixmap generation part of the graphics loader has been moved into
6192         InsetGraphics.
6193
6194 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6195
6196         * text2.C: layout as layout
6197
6198         * text.C: layout as layout
6199
6200         * tabular.C (OldFormatRead): layout as layout
6201
6202         * paragraph_pimpl.C (TeXDeeper): layout as layout
6203         (realizeFont): layout as layout
6204
6205         * paragraph.C (writeFile): layout as layout
6206         (validate): layout as layout
6207         (getFont): layout as layout
6208         (getLabelFont): layout as layout
6209         (getLayoutFont): layout as layout
6210         (breakParagraph): layout as layout
6211         (stripLeadingSpaces): layout as layout
6212         (getEndLabel): layout as layout
6213         (getMaxDepthAfter): layout as layout
6214         (applyLayout): layout as layout
6215         (TeXOnePar): layout as layout
6216         (simpleTeXOnePar): layout as layout
6217         (TeXEnvironment): layout as layout
6218         (layout): layout as layout
6219         (layout): layout as layout
6220
6221         * lyxtextclass.C (compare_name): new functor to work with
6222         shared_ptr, layout as layout
6223         (Read): layout as layout
6224         (hasLayout): layout as layout
6225         (operator): layout as layout
6226         (delete_layout): layout as layout
6227         (defaultLayout): layout as layout
6228
6229         * lyxlayout_ptr_fwd.h: new file
6230
6231         * lyxlayout.C (Read): layout as layout
6232
6233         * lyx_cb.C (MenuInsertLabel): layout as layout
6234
6235         * bufferlist.C (newFile): layout as layout
6236
6237         * buffer.C (readLyXformat2): layout as layout
6238         (parseSingleLyXformat2Token): layout as layout
6239         (insertStringAsLines): layout as layout
6240         (asciiParagraph): layout as layout
6241         (latexParagraphs): layout as layout
6242         (makeLinuxDocFile): layout as layout
6243         (simpleLinuxDocOnePar): layout as layout
6244         (makeDocBookFile): layout as layout
6245         (simpleDocBookOnePar): layout as layout
6246         (getLists): layout as layout
6247
6248         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6249
6250         * CutAndPaste.C (cutSelection): layout as layout
6251         (pasteSelection): layout as layout
6252         (SwitchLayoutsBetweenClasses): layout as layout
6253
6254         * BufferView_pimpl.C (Dispatch): layout as layout
6255         (smartQuote): layout as layout
6256
6257         * BufferView2.C (unlockInset): layout as layout
6258
6259 2002-06-24  André Pönitz <poenitz@gmx.net>
6260
6261         * lyxfunc.C: fix #487
6262
6263 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6264
6265         * lyxrc.h:
6266         * lyxrc.C:
6267         * lyxfunc.C: remove display_shortcuts, show_banner
6268
6269 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6270
6271         * Buffer_pimpl.C: oops, update on resize
6272
6273 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6274
6275         * buffer.C:
6276         * converter.C:
6277         * exporter.C:
6278         * lyxfunc.C:
6279         * BufferView.h:
6280         * BufferView.C: use repaint()
6281
6282         * BufferView_pimpl.h:
6283         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6284           as it's a clearer description. Remove superfluous
6285           redraws.
6286
6287 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6288
6289         * text.C: fix bug 488. Not ideal, but getting
6290           getWord() to work properly for the insets that
6291           matter is more difficult ...
6292
6293 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6294
6295         * BufferView_pimpl.C:
6296         * LyXAction.C:
6297         * commandtags.h:
6298         * lyxfunc.C: remove the six million index lyxfuncs to just
6299           one, and DTRT (bug 458)
6300
6301 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6302
6303         * BufferView.h:
6304         * BufferView.C:
6305         * BufferView_pimpl.h:
6306         * BufferView_pimpl.C: clean up resize() stuff,
6307           and unnecessary updateScreen()s
6308
6309 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6310
6311         * BufferView.h:
6312         * BufferView.C:
6313         * BufferView_pimpl.h:
6314         * BufferView_pimpl.C:
6315         * lyxfind.h:
6316         * lyxfind.C:
6317         * minibuffer.C: remove focus management of workarea,
6318           not needed. Use screen's greyOut()
6319
6320 2002-06-17  Herbert Voss  <voss@lyx.org>
6321
6322         * converter.C: (convert) do not post a message, when converting
6323         fails, let the calling function decide what to do in this case
6324
6325 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6326
6327         * lyxfunc.C: tidy up a little
6328
6329 2002-06-16    <alstrup@diku.dk>
6330
6331         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6332         Got rid of FORMS_H_LOCATION include. Now we are
6333         GUII.
6334
6335 2002-06-15  LyX Development team  <lyx@rilke>
6336
6337         * buffer.[Ch] (sgmlOpenTag):
6338         (sgmlCloseTag): Added support for avoiding pernicious mixed
6339         content. Return number of lines written.
6340
6341         (makeLinuxDocFile):
6342         (makeDocBookFile): Fixed calls to sgml*Tag.
6343         Simple white space clean.
6344
6345         (simpleDocBookOnePar): Simple white space clean.
6346
6347         * tabular.[Ch] (docBook): Renamed to docbook and got another
6348         argument to related with the pernicious mixed content.
6349
6350         (docbookRow): Fixed calls for docbook inset method.
6351
6352 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6353
6354         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6355         so it's X11 independent.
6356
6357         * kb*.[Ch]: ditto.
6358
6359         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6360
6361 2002-06-15  Lyx Development team  <lyx@electronia>
6362
6363         * intl.h: Renamed getTrans to getTransManager.
6364
6365 2002-06-14  Angus Leeming  <leeming@lyx.org>
6366
6367         * Makefile.am: nuke forgotten stl_string_fwd.h.
6368
6369 2002-06-12  Angus Leeming  <leeming@lyx.org>
6370
6371         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6372
6373 2002-06-13  Angus Leeming  <leeming@lyx.org>
6374
6375         * LaTeX.C:
6376         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6377
6378 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6379
6380         * kbmap.C (getiso): add support for cyrillic and greek
6381
6382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6383
6384         * BufferView.h:
6385         * BufferView.C:
6386         * BufferView_pimpl.h:
6387         * BufferView_pimpl.C: move bogus scrolling logic
6388           to xforms
6389
6390 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6391
6392         * lyxfunc.C:
6393         * BufferView_pimpl.C: view->resize() change
6394
6395 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6396
6397         * BufferView_pimpl.C: topCursorVisible
6398           prototype change
6399
6400 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6401
6402         * Makefile.am:
6403         * lyx_gui.h:
6404         * lyx_gui.C: move to frontends/
6405
6406         * main.C:
6407         * lyx_main.h:
6408         * lyx_main.C: changes from above
6409
6410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6411
6412         * intl.C:
6413         * intl.h:
6414         * kbmap.C:
6415         * kbsequence.C:
6416         * lyx_cb.C:
6417         * lyx_main.C: minor tidy
6418
6419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6420
6421         * BufferView_pimpl.h:
6422         * BufferView_pimpl.C:
6423         * BufferView.h:
6424         * BufferView.C: make painter() const,
6425           remove dead code
6426
6427         * BufferView2.C: use screen() accessor
6428
6429         * lyx_main.h:
6430         * lyx_main.C: some minor cleanup
6431
6432 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6433
6434         * BufferView_pimpl.h:
6435         * BufferView_pimpl.C: remove enter/leaveView,
6436           use workHeight()
6437
6438 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6439
6440         * BufferView.h:
6441         * BufferView.C:
6442         * BufferView2.C:
6443         * BufferView_pimpl.h:
6444         * BufferView_pimpl.C: only construct screen once,
6445           rename
6446
6447         * lyxrc.C: remove pointless comment
6448
6449 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6450
6451         * BufferView.h:
6452         * BufferView.C: remove active() and belowMouse()
6453
6454         * BufferView_pimpl.h:
6455         * BufferView_pimpl.C: use workarea() not workarea_,
6456           and make it use a scoped_ptr instead
6457
6458 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6459
6460         * lyx_gui.C: add debug message on BadWindow
6461
6462 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6463
6464         * sp_spell.C: fdopen is not part of the C++ standard.
6465
6466         * paragraph.C (InsetIterator): use >= instead of ==
6467
6468 2002-06-07  Angus Leeming  <leeming@lyx.org>
6469
6470         Fixes needed to compile with Compaq cxx 6.5.
6471         * BufferView_pimpl.C:
6472         * DepTable.C:
6473         * buffer.C:
6474         * converter.C:
6475         * encoding.C:
6476         * lyx_gui.C:
6477         * lyx_main.C:
6478         * lyxtextclasslist.C:
6479         * minibuffer.C:
6480         * sp_spell.C:
6481         * tabular_funcs.C:
6482         * vc-backend.C:
6483         all c-library variables have been moved into namespace std. Wrap
6484         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6485
6486         * lyxlength.C:
6487         * tabular-old.C:
6488         * tabular.C:
6489         Add a using std::abs declaration.
6490
6491         * kbmap.h (modifier_pair):
6492         * paragraph.h (InsetTable, InsetList):
6493         * lyxfont.h (FontBits):
6494         type definition made public.
6495
6496         * bufferlist.C (emergencyWriteAll): the compiler complains that
6497         there is more than one possible lyx::class_fun template to choose from.
6498         I re-named the void specialisation as lyx::void_class_fun.
6499
6500         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6501
6502         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6503         the compiler is is unable to find tostr in write_attribute.
6504
6505 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6506
6507         * buffer.C (sgmlError): hide #warning
6508
6509 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6510
6511         * xtl/*: get rid of xtl, which is not in use anyway
6512
6513         * LyXAction.C (init):
6514         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6515         were unimplemented xtl experimentation
6516
6517 2002-06-04  André Pönitz <poenitz@gmx.net>
6518
6519         * lyxfunc.C: disable array operation on simple formulae
6520
6521 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6522
6523         * converter.C: constify a bit
6524
6525 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6526
6527         * lyx_gui.C: check xforms version correctly
6528
6529 2002-04-30  Herbert Voss  <voss@lyx.org>
6530
6531         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6532         "keep" option
6533
6534 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6537           attempt to register it with a VCS)
6538
6539 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6540
6541         * lyx_main.C (init): honor variables LYX_DIR_13x and
6542         LYX_USERDIR_13x
6543
6544 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6545
6546         * buffer.h:
6547         * buffer.C:
6548         * lyx_main.C: fix a crash on bad command line,
6549           and give a useful exit status on error
6550
6551         * lyxfunc.C (doImport): allow -i lyx to work
6552
6553 2002-03-30  André Pönitz <poenitz@gmx.net>
6554
6555         * lyxfunc.C: mathed font changes
6556
6557 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6558
6559         * LaTeX.C:
6560         * importer.h:
6561         * importer.C:
6562         * lyx_sty.h:
6563         * lyx_sty.C:
6564         * lyxlex.C:
6565         * lyxrow.h:
6566         * lyxtext.h:
6567         * paragraph.h:
6568         * paragraph.C:
6569         * texrow.h:
6570         * texrow.C:
6571         * text.C:
6572         * trans_mgr.h: srcdocs, and some minor cleanups
6573
6574 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6575
6576         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6577         call getFont all the time)
6578
6579 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6580
6581         * switch from SigC signals to boost::signals
6582
6583 2002-05-29  André Pönitz <poenitz@gmx.net>
6584
6585         * paragraph_pimpl.C (getChar): don't call size() too often...
6586
6587 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6588
6589         * paragraph_pimpl.C (insertChar): do not try to update tables when
6590         appending (pos == size())
6591
6592         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6593         in order to reduce drastically the number of comparisons needed to
6594         parse a large document
6595
6596 2002-05-29  André Pönitz <poenitz@gmx.net>
6597
6598         * text.C:
6599         * text2.C:
6600         * lyxtextclass.C:
6601         * sp_pspell.h:
6602         * textclasslist.[Ch]:
6603         * sp_ispell.h: whitespace change
6604
6605 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6606
6607         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6608         lyxaction directly now.
6609
6610 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6611
6612         * trans.C:
6613         * lyxfont.C:
6614         * lyxvc.C: remove unused headers
6615
6616 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6617
6618         * Makefile.am:
6619         * buffer.h:
6620         * undostack.h:
6621         * undostack.C:
6622         * undo_funcs.h:
6623         * undo_funcs.C: some cleanups. Use shared_ptr
6624           and a template for the undo stacks.
6625
6626 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6627
6628         * BufferView_pimpl.h:
6629         * BufferView_pimpl.C:
6630         * kbmap.h:
6631         * kbmap.C:
6632         * kbsequence.h:
6633         * kbsequence.C:
6634         * lyxfunc.h:
6635         * lyxfunc.C:
6636         * text2.C: use key_state/mouse_state
6637
6638 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6639
6640         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6641         and LSubstring
6642
6643         * chset.C: change include order
6644         (loadFile): use boost regex and get rid of LRegex and LSubstring
6645
6646         * Makefile.am (BOOST_LIBS): new variable
6647         (lyx_LDADD): use it
6648
6649         * LaTeX.C: change include order.
6650         (scanAuxFile): use boost regex and get rid of LRegex and
6651         LSubstring
6652         (deplog): ditto
6653
6654 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6655
6656         * ColorHandler.h:
6657         * ColorHandler.C:
6658         * FontInfo.h:
6659         * FontInfo.C: moved to frontends/xforms/
6660
6661         * FontLoader.h:
6662         * FontLoader.C: moved into frontends for GUIIzation
6663
6664         * Makefile.am:
6665         * lyx_gui.C:
6666         * lyxfont.C:
6667         * lyxfunc.C: changes from above
6668
6669 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6670
6671         * LColor.C: remove spurious X include
6672
6673         * BufferView_pimpl.C:
6674         * Makefile.am:
6675         * font.h:
6676         * font.C:
6677         * text.C:
6678         * text2.C: move font metrics to frontends/
6679
6680 2002-05-24  Juergen Vigna  <jug@sad.it>
6681
6682         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6683         setting the undo_cursor.
6684
6685         * ParagraphParameters.h: include local includes first.
6686
6687 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6688
6689         * BufferView_pimpl.C:
6690         * BufferView_pimpl.h:
6691         * Makefile.am:
6692         * WorkArea.h:
6693         * WorkArea.C:
6694         * screen.C: move WorkArea into frontends/
6695
6696         * lyxscreen.h:
6697         * screen.C:
6698         * text.C:
6699         * BufferView.C:
6700         * BufferView2.C: move LyXScreen into frontends/
6701
6702         * lyxlookup.h:
6703         * lyxlookup.C:
6704         * lyx_gui.C: move lyxlookup into frontends/xforms/
6705
6706 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6707
6708         * BufferView2.C:
6709         * BufferView_pimpl.C:
6710         * FontLoader.C:
6711         * LyXView.h:
6712         * LyXView.C:
6713         * Makefile.am:
6714         * WorkArea.C:
6715         * XFormsView.h:
6716         * XFormsView.C:
6717         * buffer.C:
6718         * bufferlist.C:
6719         * bufferview_funcs.C:
6720         * converter.C:
6721         * importer.C:
6722         * lyx_cb.C:
6723         * lyx_gui.C:
6724         * lyx_main.C:
6725         * lyx_find.C:
6726         * lyxfunc.C:
6727         * lyxvc.C:
6728         * minibuffer.C:
6729         * text.C:
6730         * text2.C:
6731         * trans.C:
6732         * vc-backend.C: move LyX/XFormsView into frontends/
6733
6734 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6735
6736         * Makefile.am:
6737         * PainterBase.C:
6738         * PainterBase.h:
6739         * Painter.C:
6740         * Painter.h:
6741         * WorkArea.C:
6742         * WorkArea.h:
6743         * screen.C:
6744         * tabular.C:
6745         * text.C:
6746         * text2.C: move Painter to frontends/
6747
6748 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6749
6750         * buffer.C: comment out some some code that depend upon lyx_format
6751         < 220
6752
6753         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6754         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6755
6756         * buffer.h (NO_COMPABILITY): turn off compability
6757
6758         * ColorHandler.C: include scoped_array.hpp
6759
6760         * font.C: Use more specific smart_ptr header.
6761         * Painter.C: ditto
6762         * gettext.C: ditto
6763         * ShareContainer.h: ditto
6764         * lyx_main.h: ditto
6765         * kbmap.h: ditto
6766         * FontInfo.h: ditto
6767         * BufferView_pimpl.h: ditto
6768         * ColorHandler.h: ditto
6769
6770         * kbmap.C (defkey): change call to shared_ptr::reset
6771
6772 2002-05-21  Juergen Vigna  <jug@sad.it>
6773
6774         * buffer.C (insertErtContents): fix to insert ert asis if it is
6775         non empty. Skip it completely if it contains only whitespaces.
6776
6777 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6778
6779         * BufferView_pimpl.C:
6780         * BufferView2.C: clear selection on paste (bug 393)
6781
6782 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6783
6784         * DepTable.C: include ctime
6785
6786 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6787
6788         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6789
6790 2002-05-14  Juergen Vigna  <jug@sad.it>
6791
6792         * text.C (breakParagraph): fixed function to honor the keepempty
6793         layout in the right maner and also to permit the right breaking
6794         algorithm on empty or non empyt keepempty paragraphs.
6795
6796         * paragraph.C (breakParagraph): we have to check also if the par
6797         is really empty (!size()) for isempty otherwise we do the wrong
6798         paragraph break.
6799
6800 2002-05-10  Juergen Vigna  <jug@sad.it>
6801
6802         * buffer.[Ch] : The following are only changes to the ert
6803         compatibility read reading old LaTeX layout and font stuff and
6804         convert it to ERTInsets.
6805
6806         * buffer.h: added isErtInset().
6807
6808         * buffer.C (struct ErtComp): add a fromlayout bool to check
6809         if we're inside a LaTeX layout.
6810         (isErtInset): new helper function.
6811         (insertErtContents): look for other ert insets before this one
6812         and insert the contents there, so that we don't have subsequent
6813         ERT insets with nothing between them. This way we create only one
6814         inset with multiple paragraphs. Also check if we don't insert only
6815         spaces ' ' as they are ignored anyway afterwards in the .tex file
6816         so if we have only spaces we will ignore this latex part in the
6817         new file.
6818         (parseSingleLyXformat2Token \\layout): better compatibility when
6819         reading layout-latex stuff.
6820         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6821         language tag.
6822         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6823         stuff after reading the inset only get the information back from
6824         the stack.
6825
6826 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6827
6828         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6829
6830         * LaTeXFeatures.C (getBabelOptions): New method.
6831
6832 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6833
6834         * BufferView_pimpl.C (Dispatch): work around missing argument for
6835         'layout'
6836
6837 2002-05-08  Juergen Vigna  <jug@sad.it>
6838
6839         * text.C (leftMargin): handle paragraph leftindent.
6840
6841         * paragraph.C (writeFile): write the new \\leftindent tag.
6842         (validate): handle leftindent code.
6843         (TeXEnvironment): handle paragraphleftindent code again.
6844
6845         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6846
6847         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6848         for paragrap_extra indent code and new token \\leftindent.
6849         (latexParagraphs): handle the leftindent as environment.
6850
6851         * ParameterStruct.h: added leftindent support.
6852
6853         * ParagraphParameters.C (leftIndent): added support functions for
6854         the paragraph left indent.
6855
6856         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6857         more appropriate.
6858
6859 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6860
6861         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6862         inside insetERT.
6863
6864         * text.C (computeBidiTables): No bidi in insetERT.
6865
6866         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6867         in RTL documents.
6868
6869 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6870
6871         * version.C.in: pre 5
6872
6873 2002-05-02  José Matos  <jamatos@fep.up.pt>
6874         * buffer.C (makeDocBookFile): white space changes, add newline to
6875         command styles.
6876         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6877
6878         * tabular.C (docBook): fix typo.
6879
6880 2002-05-03  Juergen Vigna  <jug@sad.it>
6881
6882         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6883         change in LyXText as we can not be sure it was not freed.
6884         (drawOneRow): remove unused code.
6885
6886         * text.C (drawInset): redo the calculation of the need_break_row as
6887         it could have a row which was already freed.
6888         (draw): look at the return value of drawInset and return false if
6889         it also returned false.
6890         (paintRowText): look at the return value of draw and return false if
6891         it also returned false.
6892
6893         * lyxtext.h: added bool return type to drawInset() and draw() so that
6894         if we have a change in the row so that the rowbreak has to be redone
6895         we abort drawing as it will be called again.
6896
6897 2002-05-02  Juergen Vigna  <jug@sad.it>
6898
6899         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6900         a change in the maintext also if we're inside an inset.
6901         (Dispatch): set the cursor again after a break line and after the
6902         screen has been updated as it could be we're in a different row.
6903
6904         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6905         to set the cursor behind the pargraph with > size().
6906         (setCursor): check also for the same paragraph when checking where
6907         to put the cursor if we have a NFR inset.
6908
6909         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6910         parts of layout read further up as it still was in the wrong
6911         position.
6912
6913 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6914
6915         * screen.C (drawFromTo): change sine fullRebreak always return
6916         true.
6917
6918         * buffer.C (parseSingleLyXformat2Token): reindent some
6919
6920         * BufferView_pimpl.C (update): change since fullRebreak always
6921         return true.
6922         (Dispatch): git rid of the last hardcoded "Standard"s.
6923
6924 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6925
6926         * text2.[Ch] (fullRebreak): make it return void now that we always
6927         returned true.
6928
6929 2002-04-30  Juergen Vigna  <jug@sad.it>
6930
6931         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6932         ert compatibility check for "latex" layout.
6933
6934 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6935
6936         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6937         minipages: use col% instead of p%, and also use the current font.
6938         (makeLaTeXFile): Fix use babel condition.
6939         (parseSingleLyXformat2Token): Correct font when reading old floats.
6940
6941 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6942
6943         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6944         inserting list of floats.
6945
6946 2002-04-25  Herbert Voss  <voss@lyx.org>
6947
6948         * MenuBackend.C (expand): don't add the graphics extensions to the
6949         export menu
6950
6951 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6952
6953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6954         non-existing layout, do not complain if it was the default layout
6955         of the original class (bug #342)
6956
6957 2002-04-24  Juergen Vigna  <jug@sad.it>
6958
6959         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6960         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6961
6962 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6963
6964         * buffer.C (getBibkeyList): If using \bibliography, return the
6965         option field with the reference itself. Enables us to provide natbib
6966         support when using \bibliography.
6967
6968 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6969
6970         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6971
6972         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6973         natbib is provided by the LaTeX class.
6974
6975 2002-04-23  Juergen Vigna  <jug@sad.it>
6976
6977         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6978         Wakeup functions.
6979
6980         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6981
6982 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6983
6984         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6985
6986         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6987         ensuremath around textordmasculine, textordfeminine and
6988         textdegree.
6989
6990 2002-04-19  Juergen Vigna  <jug@sad.it>
6991
6992         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6993         reinitializing the buffer otherwise row-dimensions may be wrong.
6994         (update): reset also the selection cursors if they do exits otherwise
6995         their x/y positions may be wrong.
6996
6997         * text2.C (cursorDown): don't enter the inset if we came from a row
6998         above and are one row over the inset.
6999
7000         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7001         really leaving an inset.
7002
7003 2002-04-18  Juergen Vigna  <jug@sad.it>
7004
7005         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7006         of the selected paragraph does not have the selected layout also if
7007         the last one had!
7008
7009         * text2.C (setLayout): fixed bug which did not change last selected
7010         paragraph.
7011
7012         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7013         changed the read and substituted \\end_float with \\end_inset!
7014
7015         * BufferView_pimpl.C (cursorPrevious):
7016         (cursorNext): fixed to make it work with rows heigher than the work
7017         area without moving the cursor only the draw of the row.
7018         (workAreaMotionNotify): fix jumping over high rows.
7019
7020 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7021
7022         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7023         Ressler.
7024
7025 2002-04-16  Juergen Vigna  <jug@sad.it>
7026
7027         * text2.C (setCursor): set also the irow().
7028         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7029         (cursorUp):
7030         (cursorDown): support for locking an inset if the x_fix value goes
7031         inside it. That way I can transverse insets too with cursor up/down.
7032
7033         * lyxrow.h: added irow helper function same as other (i) functions.
7034
7035         * BufferView_pimpl.C (cursorPrevious):
7036         (cursorNext): fixed for insets!
7037
7038 2002-04-15  Juergen Vigna  <jug@sad.it>
7039
7040         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7041         position otherwise it is wrong in some cases.
7042
7043         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7044         inside the inset before the call.
7045
7046 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7047
7048         * buffer.[Ch] (getBibkeyList): make it const.
7049
7050 2002-04-12  Juergen Vigna  <jug@sad.it>
7051
7052         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7053
7054         * text2.C (getCursorX): new helper function
7055         (setCursor): compute also ix_
7056         (setCursorFromCoordinates): set also ix.
7057
7058         * lyxcursor.h: added ix_ and helper functions.
7059
7060         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7061
7062         * buffer.C (insertStringAsLines): dont break paragraph if the this
7063         paragraph is inside an inset which does not permit it!
7064
7065         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7066         also with no chars on this paragraph.
7067         (paintRowText): only paint stuff if it's inside the workarea!
7068
7069         * paragraph.C (breakParagraph): honor keepempty flag and break the
7070         paragraph always below not above.
7071
7072         * BufferView2.C (unlockInset): update the paragraph layout on inset
7073         unlock as we changed paragraph in such a case.
7074
7075         * lyxfind.C (LyXFind): clear the former selection if not found!
7076
7077         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7078         again called in insertChar().
7079
7080         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7081         an inset which uses the whole row!
7082         (rightMargin): ditto.
7083         (insertChar): force a rebreak if we inserted an inset!
7084
7085 2002-03-28  Herbert Voss  <voss@lyx.org>
7086
7087         * lyxlength.[Ch]: add inBP() to get the right PS-point
7088         units (BigPoint). With inPixels we have rounding errors
7089
7090 2002-04-11  Juergen Vigna  <jug@sad.it>
7091
7092         * text2.C (setCursorFromCoordinates): set iy to the right value.
7093         (setCursor): add check if row->previous exists!
7094
7095         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7096         an old float_type as this was the case in the old code!
7097
7098         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7099
7100         * BufferView2.C (showLockedInsetCursor): use iy
7101         (fitLockedInsetCursor): ditto
7102
7103         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7104         locked insets as there we have the right value now.
7105
7106         * lyxcursor.C: added iy_ variable and iy functions to set to the
7107         baseline of cursor-y of the locked inset.
7108
7109         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7110         (setCursor): fixed for insets which need a full row.
7111
7112         * text.C (rowLastPrintable): don't ignore the last space when before
7113         an inset which needs a full row.
7114         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7115         as last character of a row when before a inset which needs a full row.
7116
7117 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7118
7119         * version.C.in: update date
7120
7121         * text2.C (fullRebreak): try to always return true and see what
7122         happens...
7123
7124 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7125
7126         * MenuBackend.C (expand): use Floating::listName
7127
7128         * FloatList.C (FloatList): add listName argument to the built-in
7129         floats
7130
7131         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7132         text associated with the float.
7133
7134 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7135
7136         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7137
7138 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7139
7140         * ShareContainer.h: add a couple of missing typenames.
7141
7142 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7143
7144         * lyxrc.C (getDescription): use _() correctly rather than N_().
7145
7146 2002-03-28  Herbert Voss  <voss@lyx.org>
7147
7148         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7149         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7150
7151 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7152
7153         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7154         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7155
7156 2002-03-29  Juergen Vigna  <jug@sad.it>
7157
7158         * lyxfunc.C (dispatch): add a missing fitCursor call.
7159
7160         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7161         it was scrolled by a cursor move, so return the bool status.
7162
7163         * BufferView.C (fitCursor): return the bool flag also to the outside
7164         world as this is needed.
7165
7166         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7167
7168         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7169         call the edit() as it is not needed (and wrong) IMO.
7170         (workAreaButtonPress): set the screen_first variable before evt.
7171         unlock the inset as this may change screen_first and then we have
7172         a wrong y position for the click!
7173
7174 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7175
7176         * MenuBackend.C (expand): another translation that I missed
7177
7178 2002-03-28  Juergen Vigna  <jug@sad.it>
7179
7180         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7181
7182         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7183
7184 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7185
7186         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7187
7188         * MenuBackend.C (expand): fix export/view/update when there is no
7189         document open.
7190
7191 2002-03-27  Herbert Voss  <voss@lyx.org>
7192
7193         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7194         and text%
7195
7196 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7197
7198         * bufferview_funcs.C (currentState): only show paragraph number
7199         for is DEVEL_VERSION is set.
7200
7201         * lyxfunc.C (dispatch): put warning in INFO channel
7202
7203         * MenuBackend.C (expand): translate the name of floats
7204
7205         * FloatList.C (FloatList): mark the float names for translation
7206
7207         * converter.C (convert): use LibScriptSearch
7208
7209 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7210
7211         * MenuBackend.C (defaults): fix default menu (we might as well get
7212         rid of it...)
7213
7214 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7215
7216         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7217         directory.
7218
7219 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7220
7221         * lyxvc.C: reorder includes.
7222
7223 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7226           properly
7227
7228 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7229
7230         * CutAndPaste.C: change layouts earlier on paste
7231           to avoid crashing when calling getFont()
7232
7233 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7234
7235         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7236         irritating #error.
7237
7238 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7239
7240         * WorkArea.C: remove 'Pending' debug message.
7241
7242         * most files: ws cleanup
7243
7244         * buffer.[Ch]: ws changes
7245
7246         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7247
7248 2002-03-21  Juergen Vigna  <jug@sad.it>
7249
7250         * tabular.C (SetMultiColumn): collapse also the contents of the
7251         cells and set the last border right. Added a Buffer const * param.
7252
7253 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7254
7255         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7256         linking or not.
7257
7258 2002-03-19  Juergen Vigna  <jug@sad.it>
7259
7260         * text2.C (clearSelection): reset also xsel_cache.
7261
7262         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7263         where it needs to be called (John tells us to do so too :)
7264         (selectionLost): reset sel_cache.
7265
7266         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7267
7268 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7269
7270         * text2.C (setCursorIntern): put debuging code in INSETS channel
7271
7272 2002-03-19  André Pönitz <poenitz@gmx.net>
7273
7274         * lyxfunc.C: tiny whitespace change
7275
7276 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * ToolbarDefaults.C (init):
7279         * LyXAction.C (init):
7280         * commandtags.h:
7281         * BufferView_pimpl.C (Dispatch):
7282         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7283
7284 2002-03-19  Allan Rae  <rae@lyx.org>
7285
7286         * exporter.C (Export): removeAutoInsets before doing anything else.
7287         While I've just introduced a dependency on BufferView this really is
7288         the best place to clean the buffer otherwise you need to cleanup in
7289         a dozen places before calling export or cleanup in a dozen functions
7290         that export calls.
7291
7292         * converter.C (runLaTeX):
7293         (scanLog): Better handling of removeAutoInsets and screen updates.
7294
7295         * lyxfunc.C (dispatch): small whitespace changes
7296
7297 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7298
7299         * WorkArea.C (C_WorkAreaEvent): return a value.
7300         (event_cb): return 1 if we handled the event, 0 otherwise.
7301
7302         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7303
7304 2002-03-18  Juergen Vigna  <jug@sad.it>
7305
7306         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7307         (GetAdditionalWidth): ditto.
7308         (RightLine): ditto.
7309         (LeftLine): ditto.
7310
7311         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7312         inset if we're there actually (probably not used right now but this
7313         is the direction to go for unifying code).
7314         (paste): disable code to clear the selection.
7315
7316         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7317         inside an InsetText and move the check further up as it is in the
7318         wrong place.
7319
7320         * text2.C (pasteSelection): set a selection over the pasted text.
7321
7322 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7323
7324         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7325         and libgraphics to build on Cygwin.
7326
7327 2002-03-15  Juergen Vigna  <jug@sad.it>
7328
7329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7330         inserting an Inset into the paragraph. I know this is not the best
7331         fix but we already use current_view in CutAndPaste so we will remove
7332         all of it's using at the same time.
7333
7334         * buffer.C (sgmlError): deactivated function till it is rewritten in
7335         the right mode, now it can create problems.
7336
7337         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7338         before accessing it.
7339
7340 2002-03-14  Juergen Vigna  <jug@sad.it>
7341
7342         * undo_funcs.C (textHandleUndo): do the right thing when updating
7343         the inset after the undo/redo.
7344
7345         * text2.C (setCursor): just some testcode for #44 not ready yet.
7346
7347         * undo_funcs.C (textHandleUndo): set the next() and previous()
7348         pointers of the paragraph to 0 before deleting otherwise we have
7349         problems with the Paragraph::[destructor].
7350
7351         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7352         on a paragraph insertion.
7353
7354 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7355
7356         * buffer.C (asciiParagraph): use += operator for char append to
7357         string.
7358
7359         * paragraph.C (getFontSettings): compare >= not just >
7360         (highestFontInRange): ditto
7361         (setFont): ditto
7362
7363 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7364
7365         * paragraph.C: change several algorithm to be more appripriate for
7366         the problem domain. This is lookip in FontList and in the InsetList.
7367
7368 2002-03-13  André Pönitz <poenitz@gmx.net>
7369
7370         * commandtags.h:
7371         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7372
7373 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * commandtags.h:
7376         * LyXAction.C:
7377         * lyxfunc.C:
7378         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7379
7380 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7381
7382         * Painter.C (display): anon helper function, adjust code for this
7383         change.
7384         (pixmap): remove function.
7385
7386         * Painter.h: remove private display variable.
7387
7388         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7389
7390 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7391
7392         * WorkArea.[Ch]: remove figinset_canvas cruft.
7393
7394 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7395
7396         * lyxtextclass.C (operator): add one item cache optimization.
7397
7398         * bufferlist.h: doxy changes
7399
7400         * bufferlist.C: ws changes
7401
7402         * DepTable.[Ch] (ext_exist): place const in the right spot.
7403
7404         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7405         call resizeInsets.
7406         (workAreaExpose): call resizeInsets when the with BufferView changes.
7407         (Dispatch): adjust for protectedBlank removal
7408         (specialChar): call updateInset if the insert went ok.
7409
7410         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7411         specialChar instead.
7412
7413         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7414
7415         * BufferView.h: doxy change
7416
7417         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7418
7419         * lyxtextclass.C (operator[]): remove non-const version
7420         (defaultLayout): remove non-const version
7421
7422 2002-03-12  Juergen Vigna  <jug@sad.it>
7423
7424         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7425         did resize the LyXText too.
7426
7427         * buffer.C (readLyXformat2): set layout information on newly allocated
7428         paragraphs.
7429
7430         * tabular.C (OldFormatRead): set layout information on the paragraph.
7431
7432 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7433
7434         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7435
7436 2002-03-11  Juergen Vigna  <jug@sad.it>
7437
7438         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7439         plainly wrong.
7440         (resizeCurrentBuffer): force also the insets to resize themselfes.
7441         (moveCursorUpdate): fixed up for InsetText.
7442
7443 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7444
7445         * commandtags.h:
7446         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7447         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7448         value of Dialogs::tooltipsEnabled().
7449         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7450
7451 2002-03-08  Juergen Vigna  <jug@sad.it>
7452
7453         * BufferView_pimpl.C (updateInset): update inset inside inset also
7454         if it isn't inside theLockingInset().
7455
7456 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7457
7458         * buffer.C (asciiParagraph): redo some of the word and line length
7459         handling.
7460         (getLists): look for Caption instead of caption.
7461
7462 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7463
7464         * buffer.C (Buffer): initialize niceFile to true
7465         (makeLaTeXFile):
7466         (makeLinuxDocFile):
7467         (makeDocBookFile): make sure niceFile is true on exit
7468
7469 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7470
7471         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7472
7473 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7474
7475         * LyXSendto.C: remove.
7476         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7477         * lyx_gui.C: remove now-redundant comment.
7478         * ColorHandler.h: remove forward declaration of class WorkArea.
7479         * lyxfunc.C: remove #include "WorkArea.h".
7480
7481 2002-03-07  Juergen Vigna  <jug@sad.it>
7482
7483         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7484         got moved away with the DEPM and also set the inset_owner always
7485         right which before could have been omitted.
7486
7487 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7488
7489         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7490         wanted layout is not found.
7491
7492 2002-03-07  Juergen Vigna  <jug@sad.it>
7493
7494         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7495
7496 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7497
7498         * paragraph.C (breakParagraph): use default layout not layout of
7499         prev paragraph.
7500         (Paragraph): clear ParagraphParameters.
7501
7502 2002-03-06  Juergen Vigna  <jug@sad.it>
7503
7504         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7505         otherwise it would not be a valid lenght. Fixed a special case in
7506         the minipage compatibility read where we end the document with a
7507         minipage.
7508
7509         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7510         was set as it could be 0 for InsetTexts first entry.
7511
7512 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7513
7514         * paragraph.C (writeFile): if layout is empty write out
7515         defaultLayoutName().
7516
7517         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7518         file without named layout we set layout to defaultLayoutName().
7519
7520 2002-03-06  Juergen Vigna  <jug@sad.it>
7521
7522         * CutAndPaste.C (copySelection): set layout for new paragraph.
7523
7524         * text.C (prepareToPrint): leave ERT inset left aligned
7525         (leftMargin): don't indent paragraphs inside ERT insets
7526
7527 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7528
7529         * paragraph.C (breakParagraph): dont call clear do the work manually
7530
7531         * paragraph.[Ch] (clear): remove function
7532
7533 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7534
7535         * paragraph.C (Paragraph): dont call clear, the work has already
7536         been done.
7537
7538         * lyxtextclass.C (operator): assert if n is empty
7539
7540         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7541         work manually instead.
7542
7543 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * BufferView_pimpl.C: protect selectionLost against text == 0
7546
7547 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7548
7549         * text.C (breakParagraph): fix a setting layout to '0' problem.
7550
7551 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7552
7553         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7554         final location of file, for the included files, and graphics.
7555
7556 2002-03-05  Juergen Vigna  <jug@sad.it>
7557
7558         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7559
7560 2002-03-04  Juergen Vigna  <jug@sad.it>
7561
7562         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7563
7564         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7565         last column of multicolumn cells.
7566         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7567
7568 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7569
7570         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7571         file if it doesn't go to a temporary file.
7572
7573         * buffer.C (sgmlOpenTag):
7574         (sgmlCloseTag):  remove extra newline insertion.
7575
7576 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7577
7578         * text.C (getRowNearY): comment out debug msg
7579
7580 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7581
7582         * text2.C: first -> first_y
7583
7584         * text.C (getRowNearY): add some attemts at a possible
7585         optimization, not working.
7586
7587         * tabular.[Ch]: add BufferParams to several function so that newly
7588         created paragraph can be initialized to he default layotu for the
7589         buffers textclass.
7590
7591         * tabular-old.C (ReadOld): add buf->params to call of Init
7592
7593         * screen.C: rename text->first to text->first_y
7594
7595         * paragraph.C (breakParagraph): always set layout in the broken
7596         paragraph
7597
7598         * lyxtextclass.C (Read): remove lowercase
7599         (hasLayout): ditto
7600         (operator): ditto
7601         (delete_layout): ditto
7602
7603         * lyxtext.h: rename first -> first_y
7604
7605         * lyxlayout.C (Read): remove lowercase
7606         (name): ditto
7607         (setName): ditto
7608         (obsoleted_by): ditto
7609
7610         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7611
7612         * buffer.C (insertErtContents): add params are to InsetERT
7613         (parseSingleLyXformat2Token): add code to check if a paragraphs
7614         layout really exist.
7615         (parseSingleLyXformat2Token): add params to several inset
7616         constructors
7617         (asciiParagraph): remove lowercase, do the layout comparisons with
7618         no_case
7619
7620         * BufferView_pimpl.C (cursorNext): first -> first_y
7621         (resizeCurrentBuffer): first -> first_y
7622         (updateScrollbar): first -> first_y
7623         (scrollCB): first -> first_y
7624         (workAreaMotionNotify): first -> first_y
7625         (workAreaButtonPress): first -> first_y
7626         (checkInsetHit): first -> first_y
7627         (cursorPrevious): first -> first_y
7628         (cursorNext): first -> first_y
7629         (Dispatch): add buffer_->params to severl inset contructors
7630
7631 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7632
7633         * lyxlayout.C (Read): remove some debug info that I forgot.
7634
7635         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7636         clean up the code slightly.
7637         (makeLinuxDocFile): ditto
7638         (makeDocBookFile): ditto
7639
7640         * text2.C: layout as string
7641
7642         * text.C: layout as string
7643
7644         * paragraph_pimpl.C: layout as string
7645
7646         * paragraph.[Ch]: layout as string
7647
7648         * lyxtextclasslist.[Ch]: layout as string
7649
7650         * lyxtextclass.[Ch]: layout as string
7651
7652         * lyxtext.h: layout as string
7653
7654         * lyxlayout.[Ch]: layout as string
7655
7656         * lyx_cb.C: layout as string
7657
7658         * bufferview_funcs.C: layout as string
7659
7660         * bufferparams.C: layout as string
7661
7662         * buffer.C: layout as string
7663
7664         * LyXView.[Ch]: layout as string
7665
7666         * LaTeXFeatures.[Ch]: layout as string
7667
7668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7669
7670         * BufferView_pimpl.C: change current_layout to string, remove
7671         lyx::layout_type.
7672         (Dispatch):
7673         (smartQuote):
7674         (insertInset):
7675         (workAreaButtonRelease): layout as string
7676
7677         * BufferView2.C (unlockInset): adjust
7678
7679         * vspace.C (asLatexCommand): use an explict temp variable.
7680
7681 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7682
7683         * Makefile.am: use FRONTEND_*
7684
7685 2002-03-01  Juergen Vigna  <jug@sad.it>
7686
7687         * tabular.C (SetWidthOfMulticolCell): changed to something better
7688         I hope but still work in progress.
7689         (recalculateMulticolumnsOfColumn): renamed function from
7690         recalculateMulticolCells as it is more appropriate now.
7691         (SetWidthOfCell): calculate multicols better.
7692
7693 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7696
7697         * lyxfunc.C (processKeySym): print sequence also if it is
7698         `deleted' (complete)
7699
7700         * kbsequence.C (print): print sequence even if it is deleted
7701         (complete would be a better word, actually).
7702
7703         * lyxfunc.C (dispatch): print complete options after a prefix key
7704
7705         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7706
7707 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7708
7709         * text2.C (setCharFont): eliminate setCharFont code duplication.
7710
7711 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7712
7713         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7714         LFUN_TABULAR_FEATURE (bug #177)
7715
7716 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7717
7718         * Makefile.am: remove figure.h
7719
7720 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7721
7722         * Bufferview_pimpl.C:
7723         * CutAndPasteC:
7724         * LaTeX.C:
7725         * LyXSendto.C:
7726         * buffer.C:
7727         * bufferlist.C:
7728         * converter.C:
7729         * language.C:
7730         * lyxfunc.C:
7731         * lyxvc.C:
7732         * paragraph.C:
7733         * text.C:
7734         * text2.C: remove #include "lyx_gui_misc.h".
7735
7736         * LaTeX.C: added #include <cstdio>
7737
7738 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7739
7740         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7741         that the paragraph following this one can have.
7742
7743         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7744
7745         * vspace.C (asLatexCommand): fix bogus gcc warning
7746
7747         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7748
7749 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7750
7751         * text2.C (setLayout): get rid of redundant code
7752
7753 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7754
7755         * text2.C (incDepth): make sure depth cannot be increased beyond
7756         reasonable values.
7757
7758 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7759
7760         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7761         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7762
7763         * PainterBase.h (image):
7764         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7765         a LyXImage const *.
7766
7767 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7768
7769         * BufferView.C:
7770         * BufferView.h:
7771         * BufferView_pimpl.C:
7772         * BufferView_pimpl.h:
7773         * LaTeXFeatures.C:
7774         * LyXAction.C:
7775         * LyXView.C:
7776         * Makefile.am:
7777         * UpdateList.h:
7778         * UpdateList.C:
7779         * buffer.C:
7780         * figure.h:
7781         * figureForm.C:
7782         * figureForm.h:
7783         * figure_form.C:
7784         * figure_form.h:
7785         * lyx_cb.C:
7786         * lyx_gui.C:
7787         * lyx_gui_misc.C:
7788         * lyxfunc.C:
7789         * sp_base.h:
7790         * sp_ispell.h:
7791         * sp_pspell.h:
7792         * sp_spell.C: remove fig inset, and the crap house of
7793           cards that follows it
7794
7795 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7796
7797         * Makefile.am:
7798         * lyxserver.C:
7799         * os2_defines.h:
7800         * os2_errortable.h:
7801         * nt_defines.h: move .h into support/
7802
7803         * vms_defines.h: remove
7804
7805         * WorkArea.C: add space in debug output
7806
7807         * text2.C:
7808         * paragraph.C:
7809         * buffer.C: add WITH_WARNINGS
7810
7811         * vc-backend.h:
7812         * vc-backend.C:
7813         * bufferlist.C: s/retrive/retrieve/, add docs
7814
7815         * vspace.h:
7816         * vspace.C:
7817         * kbmap.h:
7818         * lyxlength.h:
7819         * lyxgluelength.h:
7820         * length_common.h:
7821         * chset.h:
7822         * chset.C: add docs
7823
7824         * lyxgui.C: add ID to X error handler
7825
7826         * lyxtestclass.c: fix typo
7827
7828 2002-02-26  Juergen Vigna  <jug@sad.it>
7829
7830         * tabular_funcs.C (write_attribute): changed so that some default
7831         attributes are not written at all.
7832         (getTokenValue): set default values before trying to read the
7833         value so we have the return value always set as default if we don't
7834         find the token we search for.
7835
7836         * tabular.C (Write): write bools as bools not as strings!
7837
7838 2002-02-22  Juergen Vigna  <jug@sad.it>
7839
7840         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7841         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7842
7843         * text.C (leftMargin): don't add an indent for paragraphs inside
7844         tabular cells (fix #208).
7845
7846 2002-02-21  José Matos  <jamatos@fep.up.pt>
7847
7848         * tabular.C (docBook): fixed support for long tables.
7849
7850 2002-02-20  Juergen Vigna  <jug@sad.it>
7851
7852         * text2.C (getFont): get the drawing font of the Inset if this
7853         paragraph is inside an inset (only important for InsetERT for now).
7854
7855         * buffer.C (insertErtContents): use new lanugage params in ERT
7856         constructor.
7857
7858         * CutAndPaste.C: commenting out seemingly uneeded code.
7859
7860 2002-02-19  Allan Rae  <rae@lyx.org>
7861
7862         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7863         Iterators might be simple to use but they also get invalidated.
7864         (removeAutoInsets): renamed saved cursor tracking variables and added
7865         some comments to clarify what everything does.
7866
7867 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7868
7869         * Chktex.C:
7870         * LaTeX.C:
7871         * LyXSendto.C:
7872         * converter.C:
7873         * lyx_cb.C:
7874         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7875         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7876
7877         * lyxfunc.C:
7878         * vc-backend.h: remove #include "support/syscall.h"
7879
7880         * LaTeX.C:
7881         * LyXSendto.C:
7882         * converter.C: rearrange #includes in Lars' approved fashion.
7883
7884         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7885         forward declare class Timeout in the header file.
7886
7887         * XFormsView.C: changes due to the above.
7888
7889         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7890         similar to LyXView.
7891
7892         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7893         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7894
7895 2002-02-18  José Matos  <jamatos@fep.up.pt>
7896
7897         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7898         insets contents.
7899
7900 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7901
7902         * a lot of small ws changes
7903         * add a lot of using std::XXX
7904         * use std construcs some places where approp.
7905         * use some exisint stuff from lyxfunctional where approp.
7906         * Make file changes to use partial linking (lets test this now...)
7907
7908 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7909
7910         * Chktex.C:
7911         * buffer.C:
7912         remove #include "support/syscontr.h" as it's redundant. Always has been.
7913
7914         * Chktex.C:
7915         * LaTeX.C:
7916         * LyXSendto.C:
7917         * converter.C:
7918         * lyx_cb.C:
7919         * vc-backend.C:
7920         change Systemcalls::System to Systemcalls::Wait and
7921         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7922         No change of functionality, just reflects the stripped down Systemcalls
7923         class.
7924
7925 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7926
7927         * debug.[Ch]: add a GRAPHICS type to the enum.
7928
7929 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7930
7931         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7932
7933         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7934         there is an inset.
7935
7936 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7937
7938         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7939         match the changes below.
7940
7941         * text2.C (toggleInset): if there is not editable inset at cursor
7942         position, try to see if cursor is _inside_ a collapsable inset
7943         and close it.
7944
7945 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7946
7947         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7948         document menu has a nice checkbox
7949
7950 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7951
7952         * lyxlength.C (asLatexString): change PW to output as percent of
7953         \textwidth.
7954
7955         * lengthcommon.C: change '%' to 't%'
7956
7957         * lyxfunc.C (dispatch): a few comments from Martin
7958
7959 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * WorkArea.h:
7962         * WorkArea.C:
7963         * BufferView_pimpl.h:
7964         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7965           the X selection.
7966
7967 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7968
7969         * vspace.C (inPixels): fix compiler warning
7970
7971 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * lyxfunc.C (getStatus): fix status message for disabled commands.
7974
7975 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * BufferView_pimpl.C: fix crash on close buffer
7978         during selection (#227)
7979
7980 2002-01-27  Herbert Voss  <voss@lyx.org>
7981
7982         * buffer.C: link old Figure to new graphic inset
7983
7984 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7985
7986         * FontLoader.C (getFontinfo): Change the latex font names in order
7987         to match the names of type1inst.
7988
7989 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7990
7991         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7992
7993         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7994         (extchanged): ditto
7995         (ext_exist): ditto
7996         (remove_files_with_extension): ditto
7997         (remove_file): ditto
7998         (write): ditto
7999
8000         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8001         document is smaller than the work area height. Do not initialize
8002         static variables to 0.
8003
8004 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8005
8006         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8007
8008         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8009         LFUN_LAYOUT_PARAGRAPHS.
8010
8011         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8012         tabular. It is possible to provide a possible cell, which will
8013         typically be the actcell from the corresponding insettabular
8014
8015         * lyxfunc.C (getStatus): small cleanup; disable
8016         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8017         true
8018
8019 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8020
8021         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8022
8023         * paragraph.C (startTeXParParams):
8024         (endTeXParParams): new methods. The LaTeX code to
8025         start/end paragraph formatting
8026         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8027         empty (fixes bug #200)
8028
8029         * vspace.C (inPixels): adapt to the change below
8030         (inPixels): [later] more cleanups (remove unused variables)
8031
8032         * lyxlength.C (inPixels): change to use a width and a height as
8033         parameter.
8034
8035 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8038         Replaced with \paperwidth
8039
8040         * DepTable.C (insert): add std:: qualifier
8041
8042 2002-01-18  Allan Rae  <rae@lyx.org>
8043
8044         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8045         updated also?
8046
8047         * text.C (drawInset): Turned out I didn't know enough about how
8048         rebreaking worked.  This fixes most of the redraw problems.  I see
8049         an occasional cursor trail when a line is broken now and the cursor
8050         placement can seem out by a few pixels also after a rebreak.
8051
8052 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8053
8054         * buffer.C (parseSingleLyXformat2Token): update because minipage
8055         width is now a LyXLength
8056
8057         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8058
8059         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8060         math insets
8061
8062 2002-01-17  Juergen Vigna  <jug@sad.it>
8063
8064         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8065
8066         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8067         is set correctly and the inset is updated correctly.
8068
8069 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8070
8071         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8072         the beginning of the loop.
8073
8074 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * lyxrc.C: improve help for use_scalable_fonts
8077
8078 2002-01-17  Allan Rae  <rae@lyx.org>
8079
8080         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8081
8082 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8083
8084         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8085         make sure to set their inset_owner to the right value (bug #171)
8086
8087 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8088
8089         * DepTable.h
8090         * DepTable.C: Implement mtime checking to reduce time spent doing
8091         CRCs.
8092
8093 2002-01-16  Juergen Vigna  <jug@sad.it>
8094
8095         * tabular.C (GetAdditionalHeight): one of error fixed.
8096
8097         * lyxrc.C (output): small fix in writing use_pspell.
8098
8099 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8100
8101         * sp_base.h: #include LString.h
8102
8103 2002-01-16  Allan Rae  <rae@lyx.org>
8104
8105         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8106         Can someone check this please?
8107
8108         * text.C (drawInset): It was possible that p.row would be removed by
8109         breakAgainOneRow upsetting a few other settings.  There may be another
8110         small tweak possible by setting need_break_row = 0 when p.row has been
8111         removed but I don't know enough about the logic here.
8112
8113 2002-01-15  Allan Rae  <rae@lyx.org>
8114
8115         * text.C (insertChar): removed conditional truism.
8116
8117         * BufferView2.C (removeAutoInsets): More tweaks.
8118         cur_par_prev could be a stray pointer.  Check for trailing empty line
8119         in case last line was cur_par and only had an error inset on it.
8120
8121 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8124         absolute
8125
8126         * vc-backend.C (most methods):
8127         * exporter.C (Export):
8128         * converter.C (convert):
8129         (runLaTeX):
8130         * LyXSendto.C (SendtoApplyCB):
8131         * lyxfunc.C (dispatch):
8132         (menuNew):
8133         (open):
8134         (doImport):
8135         * lyx_cb.C (AutoSave):
8136         (InsertAsciiFile):
8137         * BufferView_pimpl.C (MenuInsertLyXFile):
8138         * buffer.C (runChktex): use Buffer::filePath().
8139
8140         * buffer.h: rename filename to filename_; rename filepath to
8141         filepath_ and make it private
8142         (filePath): new method
8143
8144         * buffer.C (writeFile): use fileName()
8145         (getLatexName):
8146
8147         * lyx_main.C (init): fix starting  of LyX when the binary is a
8148         link from so,ewhere else.
8149
8150         * minibuffer.C: include <cctype> for isprint
8151
8152 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8153
8154         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8155         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8156         name clash with InsetCollapsable's width function.
8157
8158 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8159
8160         * lastfiles.C: include <iterator>
8161
8162 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8163
8164         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8165         std::count.
8166
8167         * buffer.C (makeLaTeXFile): ditto.
8168         Also make loop operation more transparent.
8169
8170 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8171
8172         * ToolbarDefaults.C: remove trailing comma closing namespace.
8173
8174         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8175
8176         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8177         as in WorkArea.
8178
8179         * trans.C (Load): comment out unused variable, allowed.
8180
8181 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8182
8183         * minibuffer.[Ch] (append_char): new method to recieve input from the
8184         drop-down completion browser. If a key was pressed, then recieve this
8185         char and append it to the existing string.
8186         (peek_event): modify the positioning data passed to the completion
8187         browser so that it can be placed above the minibuffer rather than below.
8188 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8189
8190         * LyXAction.C (init): alloe error-next for readonly documents.
8191
8192         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8193         count.
8194
8195 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8196
8197         * bufferlist.C (readFile): create the buffer _after_ checking that
8198         the file exists.
8199
8200         * lyxfunc.C (verboseDispatch): fix handling of arguments
8201
8202         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8203
8204         * lyxrc.C: use string::erase() instead of initializing to "".
8205
8206
8207 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8208
8209         * BufferView_pimpl.h:
8210         * BufferView_pimpl.C:
8211         * WorkArea.h:
8212         * WorkArea.C:
8213         * text2.C: tell X when we have made a selection for copying
8214
8215 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * BufferView_pimpl.C (MenuInsertLyXFile):
8218         * lyxfunc.C (menuNew):
8219         (open):
8220         (doImport): add shortcuts to directory buttons
8221
8222         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8223         open a float)
8224
8225         * lyxfunc.C (setStatusMessage):
8226         (getStatusMessage): new methods
8227         (getStatus):use setStatusMessage instead of setErrorMessage
8228         (dispatch): when function is disabled, set error message here
8229         [instead of in getStatus previously]
8230
8231         * BufferView_pimpl.C (workAreaButtonRelease): update
8232         toolbar/menubar here too.
8233
8234 2002-01-13  Allan Rae  <rae@lyx.org>
8235
8236         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8237         Now seems indestructible.  Remaining task is to audit all other
8238         code affected by deleteEmptyParagraphMechanism.  One small quirk
8239         left is that an empty document with an error in the preamble can
8240         be made to report an error but no error box appears.  I don't know
8241         where it goes.
8242         (removeAutoInsets): Improved comments.
8243
8244 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8245
8246         * Thesaurus.h:
8247         * Thesaurus.C: update for Aiksaurus 0.14
8248
8249 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8250
8251         * text2.C (firstParagraph): removed member function, all uses
8252         replaces with ownerParagraph
8253         (redoParagraphs): here
8254         (updateInset): here
8255         (toggleAppendix): here
8256         * BufferView2.C (insertErrors): here
8257         (setCursorFromRow): here
8258
8259 2002-01-13  Allan Rae  <rae@lyx.org>
8260
8261         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8262         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8263         There is still a way to segfault this although you may have to do this
8264         multiple times: Have an InsetERT with an unknown command in it.
8265         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8266         <down-arrow>, <Enter> again, View->DVI, BANG!
8267
8268         * text2.C (setCursor):
8269         (deleteEmptyParagraphMechanism):
8270         * lyxtext.h (setCursor):
8271         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8272         Making use of the return value may help fix other bugs.
8273
8274 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8277
8278         * LyXView.C (updateMenubar): call MenuBar::update here
8279         (updateToolbar): but not here
8280         (showState): do not update toolbar/menubar
8281
8282         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8283         should need to care about that.
8284
8285         * lyxfunc.C (verboseDispatch): simplify a bit
8286         (getStatus): have a version which takes a pseudoaction, and
8287         another which requires a (kb_action,string).
8288
8289         * LyXAction.C (retrieveActionArg): make it work also when action
8290         is not a pseudo-action.
8291         (getActionName): simplify a bit
8292         (helpText):
8293
8294 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8295
8296         * lyxfunc.C (verboseDispatch): new families of methods with
8297         several ways to specify a command and a bool to indicate whether
8298         the command name and shortcut should be displayed in minibuffer
8299         (eventually, we could extend that to a finer bitmask like
8300         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8301         (dispatch): the pristine dispatch command which just, well,
8302         dispatchs! Note it still sets its result to minibuffer; I'm not
8303         sure we want that.
8304
8305         * lyxfunc.h: remove setHintMessage
8306
8307         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8308
8309 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8310
8311         * BufferView_pimpl.C (specialChar): delete new inset if we have
8312         not been able to insert it.
8313
8314         * kbmap.C: revert to using int instead of kb_action, since all we
8315         are dealing with is pseudo-actions.
8316
8317         * LyXAction.C (searchActionArg): change to return int instead of
8318         kb_action, since the result is a pseudoaction.
8319
8320 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8321
8322         * buffer.C (insertErtContents): Fix (partially) the font bug.
8323
8324 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8325
8326         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8327         as the other one is broken on my machine!
8328
8329 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8330
8331         * commandtags.h:
8332         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8333
8334 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8335
8336         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8337         reflect their actual use. Provide compatibility code for older lyxrc
8338         files.
8339
8340         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8341         FL_NORMAL_STYLE.
8342         change names of popup font variables in line with the changes to lyxrc.C
8343
8344 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8345
8346         * buffer.C (asciiParagraph): avoid outputing a word twice after
8347         an inset.
8348
8349         * lyxrc.C (getDescription): document that document_path and
8350         template_path can be empty.
8351
8352 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8353
8354         * LaTeXFeatures.C (getMacros):
8355         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8356
8357         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8358
8359         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8360         getPackages.
8361         (getPackages): rename feature "floats" to "float". Use an array to
8362         iterate over 'simple' features (i.e. just a \usepackage). Add
8363         handling of "amsmath" (renamed from "amsstyle").
8364
8365 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8366
8367         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8368         features list.
8369
8370 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8371
8372         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8373         FuncStaus::FuncStatus & FuncStaus::some_method().
8374
8375 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8376
8377         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8378         of the func_satus stuff. Edited and massaged in various ways by
8379         JMarc.
8380
8381         * lyxfunc.C (getStatus): use FuncStatus
8382
8383 2002-01-08  Juergen Vigna  <jug@sad.it>
8384
8385         * text.C (nextBreakPoint): use function Inset::isChar().
8386
8387         * paragraph.C (TeXOnePar): use function
8388         Inset::forceDefaultParagraphs.
8389
8390         * buffer.C (latexParagraphs): use function
8391         Inset::forceDefaultParagraphs.
8392
8393 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8394
8395         * lyx_gui.C (init): set the style of the menu popups to
8396         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8397
8398 2002-01-07  Juergen Vigna  <jug@sad.it>
8399
8400         * text.C (setHeightOfRow): small fix
8401         (prepareToPrint): don't look at alignment if we don't have the place
8402         for doing it.
8403
8404 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8405
8406         * box.C: New file. Move the Box methods and functions out of box.h,
8407         following Lars' suggestion.
8408
8409 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8410
8411         * box.h: #include "support/LOstream.h", needed for inlined function.
8412
8413         * lyxtextclass.C:
8414         * lyxtextclasslist.C: added some using std declarations.
8415
8416 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * box.h: make signed dimensions to allow insets wider than
8419           the screen (bug #162)
8420
8421         * BufferView_pimpl.C: add some insetHit debug
8422
8423 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8424
8425         * vc-backend.C: add FIXME
8426
8427 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8428
8429         * lyxfunc.C (getStatus): enable code for showing math font status
8430         in toolbar/menu.
8431
8432 2002-01-07  Juergen Vigna  <jug@sad.it>
8433
8434         * text.C (nextBreakPoint): removed debug output not needed anymore.
8435
8436 2002-01-06  Juergen Vigna  <jug@sad.it>
8437
8438         * text.C (nextBreakPoint): fixed up this function we had this bug
8439         since ever but now hopefully we break row better.
8440         (insertChar): we have to check if an inset is the next char as it
8441         could now happen that a large inset is causing a break.
8442
8443 2002-01-05  Juergen Vigna  <jug@sad.it>
8444
8445         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8446         if it doesn't like to be drawed.
8447
8448 2002-01-04  Juergen Vigna  <jug@sad.it>
8449
8450         * BufferView2.C (lockInset): forgot to set a cursor.
8451
8452         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8453
8454 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8455
8456         * FormMathsPanel.C:
8457         * FormMathsPanel.h
8458         * MathsSymbols.C:
8459         * form_maths_panel.C:
8460         * form_maths_panel.h:
8461         * form_maths_panel.fd: implemented sub- and super- buttons in math
8462         panel.
8463
8464         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8465         (or ^ space) to be used as in TeX (req'd by André).
8466
8467         * lyxfunc.C: Allow ^ and _ again to be used both as
8468         super/subscript (mathed) and as themselves (in text).
8469
8470 2002-01-03  Allan Rae  <rae@lyx.org>
8471
8472         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8473         "LyX" or the filename of the current buffer if it has one.  This is a
8474         modified form of John Levon's patch.
8475
8476         * XFormsView.C (setWindowTitle): also set icon title.
8477
8478         * LyXView.h (setWindowTitle): signature changed.
8479         * XFormsView.h (setWindowTitle): ditto.
8480
8481 2002-01-02  Juergen Vigna  <jug@sad.it>
8482
8483         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8484
8485 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8486
8487         * screen.C (topCursorVisible): introduce a temp var for
8488         text->cursor.row(), handle the case where this row is null. (kindo
8489         hachish)
8490
8491         * text2.C (setCursor): add a couple of asserts.
8492
8493         * paragraph.h (inset_iterator): add -> operator
8494
8495         * paragraph.[Ch] (autoDeleteInsets): remove member function
8496
8497         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8498         cursor pos correctly and handle inset deletion by itself.
8499         (insertErrors): move iterator declaration out of for expression
8500
8501         * lyxtextclass.C: add <algorithm>
8502
8503         * Makefile.am: added the new files to sources, removed layout.C
8504
8505         * layout.C: removed file
8506
8507         * layout.h: remove LYX_DUMMY_LAYOUT
8508
8509         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8510         layout.
8511
8512         * lyxlayout.[Ch]:
8513         * lyxtextclass.[Ch]:
8514         * lyxtextclasslist.[Ch]: new files
8515
8516         * include order changes to a lot of files, also changes because of
8517         the six new files.
8518
8519 2001-12-27  Juergen Vigna  <jug@sad.it>
8520
8521         * buffer.C (asciiParagraph): more fixes.
8522
8523         * tabular.C (ascii): make ascii export support export of only the
8524         data separated by a column-delimiter.
8525         (ascii): better support for ascii export.
8526
8527         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8528
8529 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8530
8531         * tabular_funcs.C: use a "using std::getline" instead of the
8532         previous fix from Angus (necessary for cxx + lyxstring)
8533
8534 2001-12-24  Juergen Vigna  <jug@sad.it>
8535
8536         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8537
8538         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8539         problems. First check a minipage also if we have some ert-contents
8540         (not only on par->size(), second set the right depth of the paragraph
8541         on the relink to the root-paragraph-list!
8542
8543         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8544         which then did not anymore update the main paragraphs on undo/redo!
8545
8546 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8549         code. Support all font-changing funcs (even those which are not in
8550         menu currently). Support for reporting font settings in
8551         mathed (disabled until Andre provides a function on mathed's side).
8552
8553         * func_status.h (toggle): small helper function to set toggle
8554         state on a flag.
8555
8556 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8557
8558         * tabular_funcs.C: getline -> std::getline
8559
8560 2001-12-21  Juergen Vigna  <jug@sad.it>
8561
8562         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8563         accessed and could be 0 (I couldn't generate this but it seems
8564         Michael could!).
8565
8566 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8567
8568         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8569         * tabular_funcs.h: here and include iosfwd
8570
8571 2001-12-20  Juergen Vigna  <jug@sad.it>
8572
8573         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8574         inside inset but undo_par was.
8575
8576 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8577
8578         * Thesaurus.C: always include <config.h> in sources.
8579
8580         * Painter.h:
8581         * lyxlookup.h:
8582         * box.h: do not include <config.h> in header files
8583
8584         * text.C (paintLastRow): remove unused variable
8585
8586         * text.C (transformChar):
8587         (insertChar):
8588         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8589
8590         * Painter.C (text):
8591         * font.C (width): rewrite to use uppercase() instead of
8592         islower/toupper.
8593
8594         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8595
8596 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * lyxfind.C: clean up of find failure position change
8599
8600 2001-12-20  Juergen Vigna  <jug@sad.it>
8601
8602         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8603
8604         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8605         (TeXRow): added to LaTeX a single tabular row.
8606         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8607         (Latex): simplified and finally good LT-h/f support.
8608         (various_functions): just small adaptions for LT-h/f support.
8609
8610         * tabular_funcs.[hC]: added and moved here all not classfunctions
8611         of LyXTabular.
8612
8613 2001-12-19  Juergen Vigna  <jug@sad.it>
8614
8615         * tabular.[Ch]: better support for longtabular options (not finished
8616         yet!)
8617
8618 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8619
8620         * text.C (paintLastRow): use the label font instead of the font of
8621         the last character to compute the size of *_BOX. This makes more
8622         sense and avoids a crash with empty paragraphs.
8623         Use Painter::rectangle to draw EMPTY_BOX.
8624
8625 2001-12-19  Juergen Vigna  <jug@sad.it>
8626
8627         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8628         the paragraphs if the replaced paragraph is not the first one!
8629         Tried to delete not used paragraphs but does not work yet so for
8630         now it's inside #ifdef's and by default off!
8631
8632 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * MenuBackend.C: include "lyx_main.h" instead of declaring
8635         lastfiles (actually was declared as LastFiles* instead of a
8636         scoped_ptr).
8637
8638 2001-12-17  Juergen Vigna  <jug@sad.it>
8639
8640         * tabular.C (AppendColumn): applied John's fix
8641
8642 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * BufferView.h:
8645         * BufferView.C:
8646         * BufferView_pimpl.h:
8647         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8648
8649         * Makefile.am:
8650         * box.h: new start of class for above
8651
8652         * lyxfunc.C: ignore space-only minibuffer dispatches.
8653           Show the command name when it doesn't exist
8654
8655         * minibuffer.C: don't add empty lines to the history
8656
8657         * minibuffer.C: add a space on dropdown completion
8658
8659 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * text.C: fix line above/below drawing in insets
8662
8663 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8664
8665         * lyxlength.C (LyXLength): Initialize private variables.
8666
8667 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8668
8669         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8670         when inserting error insets.
8671
8672 2001-12-13  Juergen Vigna  <jug@sad.it>
8673
8674         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8675         actually sometimes the before-paragraph.
8676         (setUndo): don't clear the redostack if we're not actually undoing!
8677
8678 2001-12-06  Juergen Vigna  <jug@sad.it>
8679
8680         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8681         and fixed redoing of main paragraph, so we can use it now ;)
8682
8683         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8684
8685 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8686
8687         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8688         Juergen's request
8689
8690 2001-12-13  André Pönitz <poenitz@gmx.net>
8691
8692         * undostack.[Ch]:
8693         * undo_func.C: minor cleanup
8694
8695 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8698         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8699         font in urw-fonts package which is marked as -urw-fontspecific and
8700         does not work (incidentally, changing the encoding in the
8701         fonts.dir of this package to -adobe-fontspecific fixes the
8702         problem).
8703
8704         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8705         is a crash when undoing first paragraph (Juergen, please take a
8706         look). THis does not mean the undo fix is wrong, just that it
8707         uncovers problems.
8708
8709         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8710         the (Paragraph*) version when needed instead of duplicating the
8711         code.
8712
8713         * text.C (workWidth): use Inset::parOwner to find out where the
8714         inset has been inserted. This is a huge performance gain for large
8715         documents with lots of insets. If Inset::parOwner is not set, fall
8716         back on the brute force method
8717
8718         * paragraph_pimpl.C (insertInset):
8719         * paragraph.C (Paragraph):
8720         (cutIntoMinibuffer): set parOwner of insets when
8721         inserting/removing them
8722
8723         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8724
8725 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8726
8727         * commandtags.h:
8728         * LyXAction.C:
8729         * lyx_main.C:
8730         * lyxfunc.C:
8731         * mathed/formulabase.C:
8732         * mathed/math_cursor.[Ch]:
8733         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8734
8735
8736 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8737
8738         * lyxlength.[Ch] (operator!=): new function
8739
8740 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * text.C (workWidth): use Inset::parOwner to find out where the
8743         inset has been inserted. This is a huge performance gain for large
8744         documents with lots of insets. If Inset::parOwner is not set, fall
8745         back on the brute force method
8746
8747         * paragraph_pimpl.C (insertInset):
8748         * paragraph.C (Paragraph):
8749         (cutIntoMinibuffer): set parOwner of insets when
8750         inserting/removing them
8751
8752         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8753
8754 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * tabular-old.C (getTokenValue):
8757         * tabular.C (getTokenValue):
8758         (write_attribute): new versions for LyXLength
8759         (everywhere): adjust the use of widths
8760
8761         * tabular.h: change the type of widths from string to LyXLength
8762
8763 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8764
8765         * paragraph.C: fixed missing line number count when exporting
8766         Environments to LaTeX file
8767
8768         * buffer.C: added informational message for checking line numbers.
8769
8770 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8773         paragraph, do the 'double space' part, but not the 'empty
8774         paragraph' one.
8775
8776         * text.C (workWidth): small optimization
8777         (getLengthMarkerHeight): use minimal size for negative lengths.
8778
8779 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8780
8781         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8782
8783         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8784
8785 2001-12-11  André Pönitz <poenitz@gmx.net>
8786
8787         * FontLoader.C:
8788         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8789
8790 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * text2.C: keep selection on a setFont()
8793
8794 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8795
8796         * lyx_cb.C: another bv->text misuse, from insert label
8797
8798 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * kbsequence.h:
8801         * kbsequence.C: re-instate nmodifier mask
8802
8803 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8804
8805         * lyx_main.h: make lyxGUI private.
8806
8807 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * lyxfind.C: place the cursor correctly on failed search
8810
8811 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * text.C (getLengthMarkerHeight): for small heights, the arrows
8814         are not always on top/bottom of the text
8815         (drawLengthMarker): smaller arrows; take the left margin in
8816         account; draw also vfills.
8817         (paintFirstRow):
8818         (paintLastRow): remove special code for vfill and standard spaces,
8819         since everything is handled in drawLengthMarker now.
8820
8821 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * buffer.C (insertErtContents): try to handle font and language
8824         interaction a bit better.g
8825
8826         * ColorHandler.C (updateColor): change the hash to cover the whole
8827         LColor enum, ws cleanup
8828         (getGCLinepars): ditto
8829         (getGCLinepars): only lookup in the linecache once.
8830
8831 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * iterators.C (operator++): Make the iterator more robust
8834
8835         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8836         (John's patch)
8837         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8838
8839 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * lyxtext.h:
8842         * text.C: better added space drawing
8843
8844 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * LyXView.C:
8847         * BufferView2.C: fix layout combo update on inset unlock
8848
8849 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * Makefile.am: don't compile unused files
8852
8853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * lyxfunc.C:
8856         * commandtags.h:
8857         * LyXAction.C: remove old LFUN_LAYOUTNO
8858
8859 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8860
8861         * paragraph_pimpl.h:
8862         * paragraph_pimpl.C: isTextAt() doesn't need font param
8863
8864 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8865
8866         * lyxlex.h:
8867         * lyxlex.C: little cleanup
8868
8869 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * BufferView_pimpl.C: fix insertAscii for insets
8872
8873 2001-12-05  Juergen Vigna  <jug@sad.it>
8874
8875         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8876         set the right font on the "multi" paragraph paste!
8877
8878 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * trans_decl.h:
8881         * trans_mgr.[Ch]:
8882         * trans.[Ch]:
8883         * lyxgluelength.C:
8884         * lyxlength.C: remove out-commented code.
8885
8886         * BufferView_pimpl:
8887         * CutAndPaste.C:
8888         * DepTable.C:
8889         * buffer.C:
8890         * chset.C:
8891         * lastfiles.C:
8892         * lyxlex.C:
8893         * lyxlex_pimpl.C:
8894         * lyxserver.C:
8895         * screen.C:
8896         * tabular-old.C:
8897         * tabular.C:
8898         * text.C:
8899         * trans_mgr.C:
8900         * vc-backend.C: change "while(" to "while ("
8901
8902         * lyxlength.[Ch]: add zero function to check if length is zero or
8903         not
8904         * lyxgluelength.C: use it
8905
8906 2001-12-05  Allan Rae  <rae@lyx.org>
8907
8908         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8909         Works for 2.95.3, from what I understand of Garst's reports this should
8910         work for other g++ versions.  We're screwed if the abs(int) definition
8911         changed between bugfix releases of gcc.
8912
8913 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * text.C: fix chapter label offset !
8916
8917 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * lyxtext.h:
8920         * text.C: fix hfill at end of line, clean up
8921
8922 2001-12-04  Juergen Vigna  <jug@sad.it>
8923
8924         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8925         that we force an update of the inset and it's owners if neccessary.
8926
8927 2001-12-03  Juergen Vigna  <jug@sad.it>
8928
8929         * text.C (rowLast): simplified code
8930
8931 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * lyxfunc.C: fix show options on timeout
8934
8935 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8936
8937         * screen.C (topCursorVisible): scroll half a page when the cursor
8938         reached top of bottom of screen
8939
8940 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * minibuffer.C: deactivate on loss of focus
8943
8944 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8945
8946         * vspace.[Ch] (operator!=): add operator.
8947
8948 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * BufferView_pimpl.C: refuse to open an inset when
8951         there's a selection.
8952
8953 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8954
8955         * BufferView_pimpl.C: allow to click on RHS of full row insets
8956
8957 2001-11-30  Juergen Vigna  <jug@sad.it>
8958
8959         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8960         insets for undo reasons.
8961
8962 2001-11-28  André Pönitz <poenitz@gmx.net>
8963
8964         * vspace.[Ch]: cosmetical changes
8965
8966 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8967
8968         * LyXAction.h:
8969         * LyXAction.C:
8970         * lyxfunc.h:
8971         * lyxfunc.C:
8972         * kbmap.h:
8973         * kbmap.C:
8974         * lyxrc.C:
8975         * kbsequence.h:
8976         * kbsequence.C: part re-write of old kb code
8977
8978         * Painter.C:
8979         * WorkArea.C: remove Lgb_bug_find_hack
8980
8981 2001-11-30  José Matos <jamatos@fep.up.pt>
8982
8983         * buffer.C (makeDocBookFile): add a comment to point a hack.
8984         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8985         Fixed a double write of labels.
8986
8987 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8988
8989         * LaTeX.C:
8990         * LaTeX.h Fixed bug in LaTeX class where it would not
8991         re-run latex if no depfiles were changed, but the .dvi was removed.
8992
8993 2001-11-28  André Pönitz <poenitz@gmx.net>
8994
8995         * all the files from the change on 2001/11/26:
8996         use lyx::layout_type instead of LyXTextClass::size_type
8997         use lyx::textclass_type instead of LyXTextClassList::size_type
8998
8999 2001-11-29  Juergen Vigna  <jug@sad.it>
9000
9001         * text.C: added support for paragraph::isFreeSpacing()
9002
9003         * buffer.C: same as above
9004
9005         * paragraph.h: inserted isFreeSpacing() function to enable
9006         FreeSpacing inside InsetERT.
9007
9008         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9009         of the paragraph's in the cut/copy buffer to 0!
9010
9011         * text2.C (removeRow): remove the assert as it can!
9012
9013         * lyxtext.h: added helper function firstRow returning firstrow and
9014         made firstrow private again.
9015
9016         * BufferView2.C (lockInset): don't relock if we're already locked!
9017
9018         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9019         the only paragraph.
9020         (removeRow): added Assert::(firstrow)
9021
9022         * debug.C: forgot to add INSETTEXT here.
9023
9024 2001-11-28  Juergen Vigna  <jug@sad.it>
9025
9026         * sp_spell.C (initialize): changed error text to more general
9027         spellchecker command use (not only ispell!)
9028
9029         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9030
9031         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9032
9033 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * vspace.C: initialise lyxgluelength on failure
9036
9037 2001-11-28  Allan Rae  <rae@lyx.org>
9038
9039         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9040         declaration & definition that looks like a function declaration.
9041
9042 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9043
9044         * BufferView2.C (copy):
9045         (copyEnvironment): do not clear the selection when doing a copy.
9046
9047         * text.C (paintFirstRow): compilation fix
9048
9049 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9050
9051         * tabular.C (Latex): correct line count when writing latex.
9052
9053 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * paragraph_pimpl.h:
9056         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9057           bug a bit
9058
9059 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * text.C:
9062         * LColor.h:
9063         * LColor.C: change vfillline->added_space
9064
9065         * text.C: add markers and text for added space
9066
9067         * vspace.C: fix comment
9068
9069 2001-11-28  André Pönitz <poenitz@gmx.net>
9070
9071         * paragraph.C: whitespace changes
9072         * all the other files from the change on 2001/11/26:
9073         change *::pos_type into lyx::pos_type
9074
9075 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9078         language of the document when inserting error insets.
9079
9080 2001-11-26  André Pönitz <poenitz@gmx.net>
9081
9082         * BufferView_pimpl.[Ch]:
9083         *       CutAndPaste.C:
9084         * buffer.[Ch]:
9085         * lyxcursor.[Ch]:
9086         * lyxfind.C:
9087         * lyxfunc.C:
9088         * lyxrow.[Ch]:
9089         * paragraph.[Ch]:
9090         * paragraph_pimpl.[Ch]:
9091         * sp_spell.C:
9092         * text.C:
9093         * text2.C: reduce header dependencies, introduce type for positions
9094
9095 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * <various>: change to use Alert.h
9098
9099 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9102         when encountering an unknown token.
9103         (readLyXformat2): Show an error message if there were unknown tokens.
9104
9105 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * BufferView2.C:
9108         * BufferView_pimpl.C:
9109         * buffer.C:
9110         * paragraph.h:
9111         * text.C:
9112         * text2.C: use par->isInset()
9113
9114 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * paragraph_pimpl.h:
9117         * paragraph_pimpl.C: cleanup
9118
9119 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * text2.C (removeRow):
9122         * text.C (setHeightOfRow): remove useless (and costly) call to
9123         getRow.
9124
9125 2001-11-20  Allan Rae  <rae@lyx.org>
9126
9127         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9128         Now need Inset*::checkInsertChar() to return true for appropriate
9129         cases so that the characters in the minibuffer will actually be
9130         inserted.
9131
9132 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9133
9134         * text.C: change the order of the includes.
9135         (workWidth): initialize it at once.
9136         (workWidth): make maxw unsigned
9137         (setHeightOfRow): remove unused variable (inset)
9138         (selectSelectedWord): remove unused variable (inset)
9139         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9140
9141 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9142
9143         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9144         server is not running.
9145         (openConnection):
9146         (closeConnection): add debug info when server is disabled.
9147
9148         * ColorHandler.C (getGCForeground): send debug message to GUI
9149         channel.
9150
9151         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9152
9153         * kbmap.C (bind): modify because return conventions of
9154         kb_sequence::parse have changed.
9155
9156         * kbsequence.C (parse): only ignore spaces and not any stupid
9157         control character. This avoids tests like s[i] <= ' ', which are
9158         guaranteed to fail with 8bit characters and signed chars.
9159         Change return code to string::npos when there have been no error
9160         (0 was a bad idea when error is at first character)
9161
9162 2001-11-14  José Matos  <jamatos@fep.up.pt>
9163
9164         * buffer.h:
9165         * buffer.C (simpleDocBookOnePar): removed unused argument.
9166
9167 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9168
9169         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9170         insets which are part of a word. Paragraph::isLetter takes care of
9171         that now. Use Paragraph::isInset to identify insets.
9172         (selectSelectedWord): do not test for hyphenation break.
9173
9174         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9175         that protected spaces are considered as spaces.
9176
9177         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9178         Inset::isLetter.
9179
9180 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9181
9182         * lyxserver.h:
9183         * lyxserver.C: fix it. and small cleanup.
9184
9185 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * BufferView_pimpl.C: use inline helpers
9188
9189         * LaTeXFeatures.h:
9190         * LaTeXFeatures.C: fix typos
9191
9192         * Spacing.h:
9193         * Spacing.C: move spacing_string into class
9194
9195         * ToolbarDefaults.C: move stuff into namespace anon
9196
9197         * layout.h: update enum
9198
9199         * lyxfunc.C: use better debug
9200
9201         * minibuffer.h: fix typo
9202
9203         * debug.h:
9204         * debug.C:
9205         * WorkArea.C: add and use Debug::WORKAREA
9206
9207         * lyxtext.h:
9208         * text.C:
9209         * text2.C: code re-organisation, inline helpers
9210
9211 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9212
9213         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9214         std::vector.empty().
9215
9216 2001-11-09  Allan Rae  <rae@lyx.org>
9217
9218         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9219         '\n's after tables.  Tabular and ERT inset work now makes this no
9220         longer necessary.
9221
9222 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9223
9224         * minibuffer.h:
9225         * minibuffer.C: fix crash, improve drop-down completion
9226
9227 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * lyxserver.h:
9230         * lyxserver.C: invalidate fd's when doing endPipe()
9231
9232 2001-11-08  José Matos  <jamatos@fep.up.pt>
9233
9234         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9235         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9236
9237         * paragraph.h:
9238         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9239
9240 2001-11-07  José Matos  <jamatos@fep.up.pt>
9241
9242         * buffer.h:
9243         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9244         const qualifier.
9245
9246         * buffer.C (sgmlOpenTag):
9247         * buffer.C (sgmlCloseTag): removed debug info.
9248
9249         * buffer.h (sgmlOpenTag):
9250         * buffer.h (sgmlCloseTag): made public.
9251
9252 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9253
9254         * buffer.C (saveParamsAsDefaults):
9255         * lyx_cb.C (MenuLayoutSave): remove
9256
9257         * LyXAction.C (init):
9258         * commandtags.h:
9259         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9260
9261 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9262
9263         * buffer.C (setPaperStuff): removed from here...
9264
9265         * bufferparams.C (setPaperStuff): ... and moved there.
9266
9267 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * minibuffer.h:
9270         * minibuffer.C:
9271         * XFormsView.C: add support for drop-down completion
9272
9273 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9274
9275         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9276         commands.
9277
9278 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9279
9280         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9281         disabled.
9282
9283 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * lyx_main.C: change ref to known bugs
9286
9287 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9288
9289         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9290         to work around older babel problems.
9291
9292 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9293
9294         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9295
9296 2001-10-24  Juergen Vigna  <jug@sad.it>
9297
9298         * tabular-old.C (ReadOld): below variable changes reflected.
9299
9300         * tabular.[Ch]: added ltType struct for longtable header/footer
9301         defines and changed all instances where they are used. Added
9302         future support for double top/bottom rows.
9303
9304 2001-10-24  José Matos  <jamatos@fep.up.pt>
9305
9306         * buffer.h (docbookHandleCaption):
9307         * buffer.C (docbookHandleCaption): removed unused function.
9308         (makeDocBookFile): moved docbook supported version to v4.1.
9309
9310 2001-10-24  José Matos  <jamatos@fep.up.pt>
9311
9312         * tabular.h:
9313         * tabular.C (docbookRow): new function to export docbook code of a row.
9314         (DocBook): now honors the longtable flags.
9315
9316 2001-10-23  José Matos  <jamatos@fep.up.pt>
9317
9318         * LaTeXFeatures.h:
9319         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9320         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9321
9322         * buffer.C (makeLinuxDocFile):
9323         (makeDocBookFile): reworked the preamble, more clean, and with
9324         support for lyx defined entities. Changed the document declaration
9325         to be more XML friendly.
9326
9327         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9328         if we need to output XML that should be done with a filter.
9329
9330 2001-10-22  Juergen Vigna  <jug@sad.it>
9331
9332         * sp_pspell.h (class PSpell): add alive function needed in the
9333         controller to see if the spellchecker could be started.
9334
9335 2001-10-22  Juergen Vigna  <jug@sad.it>
9336
9337         * buffer.C (insertStringAsLines): modify the font for inserting
9338         chars in certain conditions by calling checkInsertChar(font).
9339
9340 2001-10-19  Juergen Vigna  <jug@sad.it>
9341
9342         * text.C (workWidth): use getRow instead of wrong algorithm.
9343         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9344
9345 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * lyxserver.h:
9348         * lyxserver.C:
9349         * lyx_main.h:
9350         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9351
9352 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9353
9354         * text.C (workWidth): do not search for the exact row when
9355         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9356         optimization for big documents.
9357
9358 2001-10-18  Juergen Vigna  <jug@sad.it>
9359
9360         * text.C (workWidth): new function with added Inset * parameter.
9361
9362 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9363
9364         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9365
9366         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9367         change return type of getColumnNearX.
9368
9369
9370         * text.C (changeRegionCase): use uppercase/lowercase instead of
9371         toupper/tolower.
9372         (leftMargin):
9373         (rightMargin): simplify code by factoring out the uses of
9374         textclasslist.
9375         (labelFill):
9376         (numberOfHfills):
9377         (setHeightOfRow):
9378         (appendParagraph): use Paragraph::size_type
9379
9380 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9381
9382         * vspace.C (asLatexString): add a missing break
9383
9384 2001-10-15  Herbert Voss  <voss@perce.de>
9385
9386         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9387
9388 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9389
9390         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9391         is not available.
9392
9393 2001-10-10  André Pönitz <poenitz@gmx.net>
9394
9395         * lyxfunc.C: removed greek_kb_flag.
9396
9397 2001-10-10  Herbert Voss  <voss@perce.de>
9398
9399         * lyx_main.C: delete global string help_lyxdir.
9400
9401 2001-10-09  Herbert Voss  <voss@perce.de>
9402
9403         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9404
9405         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9406
9407         * lyx_main.C: added global string help_lyxdir.
9408
9409         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9410
9411 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9412
9413         * lyxrc.C (set_font_norm_type): support iso8859-4
9414
9415 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9416
9417         * LaTeX.C (deplog): add another regex for MikTeX
9418
9419 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9420
9421         * lyxrc.C (set_font_norm_type): support iso8859-3
9422
9423 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9424
9425         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9426
9427         * LaTeXFeatures.C: remove special case of french and index
9428
9429         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9430         before \begin{document}). This solves several incompatibilities.
9431
9432 2001-10-03  Garst Reese  <reese@isn.net>
9433
9434         * lyx_cb.C: change CheckTex error msg.
9435
9436 2001-10-03  José Matos  <jamatos@fep.up.pt>
9437
9438         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9439
9440 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9441
9442         * .cvsignore: update
9443
9444         * lyx_main.C (commandLineVersionInfo): use new style version info.
9445
9446         * buffer.C (writeFile):
9447         (makeLaTeXFile):
9448         (makeLinuxDocFile):
9449         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9450
9451         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9452
9453         * version.h: update to use stuff in version.C
9454
9455         * version.C.in: new file. Contains version information determined
9456         at compile time. This is a merging of version.h and
9457         version_info.h.in.
9458
9459 2001-10-03  Juergen Vigna  <jug@sad.it>
9460
9461         * BufferView_pimpl.C (update): don't change "dirty" status in
9462         updateInset call.
9463
9464 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9465
9466         * WorkArea.C (c-tor): re-position version string slightly.
9467
9468 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9469
9470         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9471         revert to previous code.
9472
9473         WorkArea.[Ch]: (show, destroySplash): methods removed.
9474
9475         WorkArea.C: rework code so that it's an amalgam of the codes before and
9476         after the splash screen was moved to WorkArea.
9477
9478 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9479
9480         * lyxrc.C (read):
9481         * vspace.C (inPixels):
9482         (lyx_advance):
9483         * kbmap.C (bind):
9484         * buffer.C (insertStringAsLines):
9485         (asciiParagraph): fix types to be large enough
9486
9487         * lyxlex_pimpl.h: change member status from short to int
9488
9489         * layout.h: fix type of endlabeltype
9490
9491         * kbmap.C (bind):
9492         * kbsequence.C (parse): change return type to string::size_type
9493
9494         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9495         variable
9496
9497         * Bullet.C (bulletSize):
9498         (bulletEntry): do not use short ints as parameters
9499
9500         * BufferView2.C (insertLyXFile): change a char to an int.
9501
9502         * WorkArea.C (WorkArea): remove unneeded floats in computation
9503
9504 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9505
9506         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9507
9508         * paragraph.C (asString): Do not ignore newline/hfill chars when
9509         copying to the clipboard.
9510
9511 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9512
9513         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9514         after a multi-line inset.
9515
9516 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9517
9518         * paragraph.C (validate): Set NeedLyXFootnoteCode
9519
9520 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9521
9522         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9523         and decrease-error to decrease.
9524
9525 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9526
9527         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9528         it more readable (should be equivalent)
9529
9530 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9531
9532         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9533
9534 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9535
9536         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9537         of a cursor (row, etc.) after a character has been deleted
9538         (deleteEmptyParagraphMechanism): call the method above on _all_
9539         cursors held by the LyXText when a double space has been
9540         detected/deleted.
9541
9542 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9543
9544         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9545         pixmap.
9546         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9547
9548         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9549         background. Use greyOut() and the new show() methods to toggle between
9550         the foreground and background. Add code to remove the splash after
9551         its initial showing.
9552
9553         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9554         (create_forms): no longer call Dialogs::showSplash.
9555
9556 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9557
9558         * .cvsignore: add version_info.h
9559
9560 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9561
9562         * version_info.h.in: new file
9563
9564         * Makefile.am: add version_info.h.in
9565
9566         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9567         version_info.h instead of VERSION_INFO
9568
9569 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9570
9571         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9572         The ERT inset now returns string().
9573
9574 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9575
9576         * lyxtext.h, text.C (selectNextWord): renamed as
9577         selectNextWordToSpellcheck.
9578
9579         * text.C (selectNextWordToSpellcheck): Modified to not select
9580         words inside an ERT inset.
9581
9582 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * lyx_cb.C (MenuLayoutSave): change a bit the question
9585
9586         * sp_base.h: include <sys/types.h>
9587
9588 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9591
9592 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9593
9594         * several files: fix typos in user-visible strings
9595
9596 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9597
9598         * text2.C (pasteSelection): do not set the selection, since it
9599         will be cleared later. Actually, the intent was to fix the way the
9600         selection was set, but I figured rmoving the code was just as good.
9601
9602 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9603
9604         * FontLoader.C (available): Check if font is available without
9605         loading the font.
9606
9607 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9608
9609         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9610
9611 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9612
9613         * lyxrc.[Ch]: added display_graphics variable and associated code.
9614
9615 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * bufferparams.C (hasClassDefaults): new method. Returns true if
9618         the buffer parameters correspond to known class defaults
9619
9620 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9621
9622         * XFormsView.C (show): set minimum size to the main window.
9623
9624 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9625
9626         * text2.C (copySelection):
9627         (cutSelection):
9628         * lyxfind.C (LyXReplace):
9629         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9630         LyXText::selectionAsString.
9631
9632         * paragraph.C (asString): add "label" argument to the second form
9633
9634         * text2.C (selectionAsString): add "label" argument and pass it to
9635         Paragraph::asString.
9636
9637 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * lyx_main.C (commandLineHelp): remove version information
9640
9641 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9642
9643         * lyx_main.C: add -version commandline option
9644
9645 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9646
9647         * paragraph.h: make the optional constructor arg required instead.
9648         some modifications to other files because of this.
9649
9650         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9651
9652         * lyxserver.C (C_LyXComm_callback): make it static
9653
9654         * lyx_main.C (error_handler): make it static
9655
9656         * lyx_gui.C (LyX_XErrHandler): make it static
9657
9658         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9659
9660         * WorkArea.C: make the extern "C" methods static.
9661
9662         * Makefile.am (lyx_LDADD): simplify
9663
9664 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9665
9666         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9667         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9668
9669         * LyXAction.C (init):
9670         * lyxfunc.C (dispatch): associated code removal.
9671
9672 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9673
9674         * lyxfont.h (isSymbolFont): shut off warning
9675
9676         * text.C (setHeightOfRow):
9677         (getVisibleRow): fix crash with empty paragraphs which have a
9678         bottom line
9679
9680 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9681
9682         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9683         code.
9684
9685 2001-09-04  José Matos  <jamatos@fep.up.pt>
9686         * buffer.C
9687         * buffer.h
9688         * tabular.C (docbook): rename docBook method to docbook.
9689
9690 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9691
9692         * Makefile.am: add dependencies to main.o.
9693
9694 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9695
9696         * FontLoader.C (available): Return false if !lyxrc.use_gui
9697
9698 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9699
9700         * FontInfo.C (query):
9701         * converter.C (view):
9702         * importer.C (Import):
9703         * exporter.C (Export): Can not -> cannot.
9704
9705 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * BufferView_pimpl.C: allow to create index inset even if
9708           string is empty
9709
9710 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9711
9712         * buffer.C (getLists): replace boost::tie code with an explicit pair
9713         as boost::tie can break some compilers.
9714
9715         * iterators.h: Added a std:: declaration to the return type of
9716         ParIterator::size.
9717
9718 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9721           case.
9722
9723 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9724
9725         * iterators.[Ch]: New files. Provide paragraph iterators.
9726
9727         * buffer.C (changeLanguage): Use paragraph iterators.
9728         (isMultiLingual): ditto
9729
9730         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9731
9732 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9733
9734         * FontLoader.C: Support for cmr font.
9735
9736 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9737
9738         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9739         (available): New method.
9740
9741         * FontInfo.C (getFontname): Use scalable fonts even when
9742         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9743         found.
9744
9745 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * converter.C (Formats::view): reverted! Incorrect fix.
9748
9749 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9750
9751         * converter.C (Formats::view): only output the -paper option
9752         if the dvi viewer is xdvi, thereby fixing bug #233429.
9753
9754 2001-08-23  Herbert Voss  <voss@perce>
9755
9756         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9757
9758 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9759
9760         * Spacing.h (Spacing): Set space to Default on in the default
9761         constructor.
9762
9763 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9764
9765         * vc-backend.h (RCS::versionString): add RCS to version
9766         (CVS::versionString): add CVS to version
9767
9768         * vc-backend.C (scanMaster): do not add CVS to version.
9769         (scanMaster): do not add RCS to version
9770
9771         * lyxvc.C (versionString): new method
9772
9773         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9774
9775 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * Spacing.C (set): initialize fval
9778
9779 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9780
9781         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9782         " or \.
9783
9784 2001-08-16  Juergen Vigna  <jug@sad.it>
9785
9786         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9787
9788 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * BufferView_pimpl.C:
9791         * figureForm.C:
9792         * lyxtext.h:
9793         * text2.C: setParagraph takes linespacing now
9794
9795 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * LyxAction.C: add internal LFUN_CITATION_INSERT
9798
9799         * LyXView.C: actually apply fix
9800
9801         * bufferlist.C: fix open non-existent file
9802
9803         * lyxfind.C: fix indentation
9804
9805         * lyxfunc.C: remove unneeded assert, fix typo
9806
9807 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * MenuBackend.C: use "Floatname List"
9810
9811 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9812
9813         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9814         when converting LaTeX layout to insetERT.
9815         Generate a non-collapsed float when reading old float
9816
9817 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9818
9819         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9820         ERT insets.
9821
9822 2001-08-13  Juergen Vigna  <jug@sad.it>
9823
9824         * text.C (fill): return 0 instead of 20 as this seems to be the more
9825         correct value.
9826
9827 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9828
9829         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9830         lyxrc.font_norm.
9831
9832 2001-08-13  Juergen Vigna  <jug@sad.it>
9833
9834         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9835         casesensitive off.
9836         (SearchBackward): comment out the unlocking of the inset_owner this
9837         should not be needed!
9838
9839 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9840
9841         * Many files: Remove inherit_language, and add latex_language
9842
9843         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9844         collapsible insets.
9845
9846 2001-08-10  Juergen Vigna  <jug@sad.it>
9847
9848         * text.C (prepareToPrint): fixed hfill-width in draw!
9849
9850         * BufferView2.C (selectLastWord): save the selection cursor as this
9851         now is cleared in the function LyXText::clearSelection!
9852
9853 2001-08-08  Juergen Vigna  <jug@sad.it>
9854
9855         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9856         BACKSPACE type functions.
9857
9858         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9859         is only cutted from the document but not put in the cut-buffer, where
9860         still the old stuff should be.
9861
9862         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9863
9864         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9865
9866         * tabular.C (SetWidthOfCell): fixed special case where the width
9867         was not updated!
9868         (LeftLine): handle '|' in align_special.
9869         (RightLine): ditto
9870         (LeftAlreadyDrawed): ditto
9871         (SetWidthOfCell): ditto
9872
9873 2001-08-07  Juergen Vigna  <jug@sad.it>
9874
9875         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9876
9877 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9880         * lyxlex.[hC]: ditto
9881
9882 2001-08-06  Juergen Vigna  <jug@sad.it>
9883
9884         * text.C (getVisibleRow): fix up row clearing a bit.
9885
9886 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9887
9888         * minibuffer.C: make sure the X server sees the changes in the input.
9889
9890 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9891
9892         * paragraph.C (getFont): split into...
9893         (getLabelFont): this
9894         (getLayoutFont): and this
9895         * paragraph_pimpl.C (realizeFont): calling this
9896
9897         * text2.C (getFont): split into...
9898         (getLayoutFont): this
9899         (getLabelFont): and this
9900         (realizeFont): all three calling this
9901
9902         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9903         files where used.
9904
9905 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9906
9907         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9908
9909 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9910
9911         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9912         layouts from the Quote inset insertion.
9913
9914 2001-08-03  Juergen Vigna  <jug@sad.it>
9915
9916         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9917
9918         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9919         only if status not is already CHANGED_IN_DRAW (second level).
9920
9921         * text.C (draw): don't set the need_break_row when inside an
9922         InsetText LyXText.
9923
9924 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * buffer.C (parseSingleLyXformat2Token): handle more latex
9927         conversion cases.
9928
9929         * bufferview_funcs.[hC]: change function names to
9930         begin with small char, adjust other files.
9931
9932 2001-08-02  André Pönitz <poenitz@gmx.net>
9933
9934         * lyxfunc.C:
9935         BufferView_pimpl.C: remove broken special code for math-greek
9936
9937 2001-08-02  Juergen Vigna  <jug@sad.it>
9938
9939         * BufferView_pimpl.C (update): redone this function so that we
9940         update the text again if there was a CHANGE_IN_DRAW.
9941
9942         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9943         (drawFromTo): added a new internal bool which is used by draw() and
9944         redraw() function.
9945         (general): some cursor drawing problems fixed.
9946
9947 2001-08-01  Juergen Vigna  <jug@sad.it>
9948
9949         * lyxfind.C (LyXFind): fixed
9950         (SearchForward): ditto
9951         (SearchBackward): ditto
9952
9953         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9954         spurius drawing of the cursor in the main area.
9955
9956         * text2.C (status): small fix which could lead to a segfault!
9957         (clearSelection): remove unneeded BufferView param.
9958
9959 2001-08-01  André Pönitz <poenitz@gmx.net>
9960
9961         * lyxfunc.C: small change due to changed mathed interface
9962
9963 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9964
9965         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9966
9967 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * lyxfunc.c: fail gracefully if file doesn't exist
9970
9971         * LyXSendto.C:
9972         * buffer.C:
9973         * lyxfunc.C:
9974         * BufferView_pimpl.C: IsDirWriteable() proto changed
9975
9976         * LyXView.C: fix updateWindowTitle() to store the last title
9977
9978 2001-07-31  Juergen Vigna  <jug@sad.it>
9979
9980         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9981         the font (wrong since using of Paragraph::highestFontInRange).
9982
9983         * paragraph.C (highestFontInRange): added a default_size parameter.
9984
9985         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9986         (setHeightOfRow): reformat
9987
9988 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * converter.[hC] + affected files: move to (inital-char)lowercase
9991         function names.
9992
9993         * ParagraphParameters.C (ParagraphParameters): remove commented code
9994
9995         * PainterBase.[Ch]: remove commented code
9996
9997         * LaTeXFeatures.h: add "bool floats" for float.sty
9998
9999         * LaTeXFeatures.C (LaTeXFeatures): init floats
10000         (require): handle float
10001         (getPackages): do it with floats
10002
10003 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10004
10005         * BufferView_pimpl.C (Dispatch): improve handling of
10006         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10007
10008         * commandtags.h: #include lyxfont.h here temporarily to avoid
10009         keybinding bug.
10010
10011         * bufferlist.h: include LString.h here.
10012
10013 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10014
10015         * text2.C (getStringToIndex): new method.
10016
10017 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10018
10019         * *: Reduced header file dependencies all over.
10020
10021 2001-07-30  Baruch Even  <baruch@lyx.org>
10022
10023         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10024
10025 2001-07-29  Baruch Even  <baruch@lyx.org>
10026
10027         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10028
10029 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * ParameterStruct.h (endif): add a default constructor to make
10032         sure that all variables is initialized.
10033
10034         * ParagraphParameters.C (ParagraphParameters): adjust
10035
10036 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10037
10038         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10039         index; also, check that there is something to index, and that it
10040         does not span over several paragraphs.
10041         (doubleClick): use WHOLE_WORD_STRICT for double click.
10042
10043         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10044
10045         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10046         scheme.
10047
10048 2001-07-26  Baruch Even  <baruch@lyx.org>
10049
10050         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10051         an InsetFig figure, backwards compatible reading of old figure code.
10052
10053 2001-07-27  Juergen Vigna  <jug@sad.it>
10054
10055         * text2.C: font.realize function adaption.
10056
10057         * text.C (draw): add a warnings lyxerr text if needed.
10058
10059         * layout.C: font.realize function adaption.
10060
10061         * language.C: add inherit_language and implement it's handlings
10062
10063         * bufferview_funcs.C (StyleReset): remove language parameter from
10064         font creation (should be language_inherit now).
10065
10066         * bufferparams.C (writeFile): handle ignore_language.
10067
10068         * paragraph.C (getFontSettings): the language has to be resolved
10069         otherwise we have problems in LyXFont!
10070
10071         * lyxfont.C (lyxWriteChanges): added document_language parameter
10072         (update): removed unneeded language parameter
10073
10074         * paragraph.C (validate): fixed wrong output of color-package when
10075         using interface colors for certain fonts in certain environments,
10076         which should not seen as that on the final output.
10077
10078 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView_pimpl.C:
10081         * Thesaurus.h:
10082         * Thesaurus.C:
10083         * Makefile.am:
10084         * commandtags.h:
10085         * LyXAction.C: add thesaurus support
10086
10087         * lyxfind.h:
10088         * lyxfind.C: add "once" parameter, for thesaurus, to not
10089           move to the next match
10090
10091 2001-07-26  Juergen Vigna  <jug@sad.it>
10092
10093         * lyxfont.C (realize): honor ignore_language too!
10094         (resolved): ditto.
10095
10096         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10097
10098         * text.C (draw): one place more for ignore_language to not draw
10099         itself!
10100
10101 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10102
10103         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10104
10105 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10106
10107         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10108         the minipage conversion problem.
10109
10110 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10111
10112         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10113         insert an inset.
10114
10115 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * BufferView.h: don't forward declare WorkArea
10118
10119         * BufferView.C: don't include WorkArea.h
10120
10121 2001-07-25  André Pönitz <poenitz@gmx.net>
10122
10123         * commandtags.h:
10124         * LyXAction.C:
10125         * lyxfunc.C:  new LFUN 'math-space'
10126
10127         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10128
10129 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10130
10131         * text2.C (toggleInset): call open/close
10132
10133 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10134
10135         * lyxfunc.C (dispatch): add debug for the disabled case
10136
10137         * font.C (buttonText): make similar to rectText
10138
10139         * buffer.C (readInset): comment out parsing of insetlist and
10140         insttheorem
10141
10142         * PainterBase.C (rectText): small correction
10143
10144         * BufferView_pimpl.C: comment out insettheorem and insetlist
10145         * LyXAction.C: ditto
10146         * commandtags.h: ditto
10147
10148 2001-07-24  Juergen Vigna  <jug@sad.it>
10149
10150         * text.C (draw): honor the ignore_language.
10151
10152         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10153
10154 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10157         char inset.
10158
10159 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10160
10161         * lyxtext.h: remove unused (and unimplemented) methods
10162
10163 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10164
10165         * text.C (getVisibleRow): honor background color
10166
10167         * PainterBase.h:
10168         * Painter.h: remove default color argument for fillRectangle
10169
10170         * text.C (backgroundColor): new method
10171
10172 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10173
10174         * text.C (getVisibleRow): adjust
10175
10176         * font.[Ch] (rectText): new method, metrics
10177         (buttonText): new method, metrics
10178
10179         * PainterBase.[hC]: make rectText and buttonText always draw and take
10180         fewer paramteres.
10181
10182 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10183
10184         * ToolbarDefaults.C (read):
10185         * MenuBackend.C (read): allow escaping in all strings
10186
10187         * BufferView_pimpl.C (insertAndEditInset): new method.
10188         (Dispatch): use insertAndEditInset whenever appropriate.
10189
10190         * BufferView_pimpl.C (insertNote): removed
10191
10192         * BufferView_pimpl.C (smartQuote): new method, moved from
10193         BufferView; if an insetquote cannot be inserted, insert a '"'
10194         character instead.
10195
10196         * BufferView2.C: remove insertCorrectQuote();
10197
10198         * lyxfunc.C (getStatus): Add support for all remaingin
10199         inset-insert lfuns.
10200
10201         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10202
10203         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10204         command (necessary to pass " as parameter of self-insert.
10205
10206         * text.C (selectWordWhenUnderCursor):
10207         (selectWord): add word_location parameter
10208         (selectWordWhenUnderCursor): same + remove special code for word
10209         boundary.
10210         (selectNextWord): use kind() to guess type of insetspecialchar,
10211         not latex().
10212
10213         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10214         (insertErtContents): create ert insets as collapsed.
10215         (readInset): better compatibility code for Info inset.
10216
10217 2001-07-20  Juergen Vigna  <jug@sad.it>
10218
10219         * lyxfunc.C (dispatch): use always LyXFind now!
10220
10221         * text2.C (init): add a reinit flag so that the LyXText can be
10222         reinited instead of deleted and reallocated (used in InsetText).
10223
10224         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10225
10226         * text.C: ditto
10227
10228         * text2.C: ditto
10229
10230 2001-07-18  Juergen Vigna  <jug@sad.it>
10231
10232         * text.C (selectNextWord): handle insets inside inset by calling
10233         always the bv->text functions so that we can go up the_locking_inset!
10234
10235         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10236         in strange locations when inside an inset!
10237
10238         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10239         handling to include insets.
10240
10241         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10242
10243 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * LyXAction.C (init):
10246         * commandtags.h:
10247         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10248         LIGATURE_BREAK, since the name is so stupid.
10249
10250 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10251
10252         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10253         InsetInfos.
10254
10255         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10256
10257         * sp_form.[Ch]: remove.
10258
10259         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10260
10261         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10262         InsetInfo.
10263
10264         * src/buffer.C (readInset): ditto.
10265
10266 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10267
10268         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10269         menuSeparator(), endOfSentenceDot(), ldots() and
10270         hyphenationPoint(), which are therefore removed.
10271         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10272
10273         * LyXAction.C (init):
10274         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10275
10276         * paragraph.C (getWord): removed.
10277
10278         * BufferView_pimpl.C (Dispatch): use last word or selection for
10279         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10280
10281         * lyx_main.C (queryUserLyXDir): do not ask before creating
10282         user_dir, except if it has been named explicitely.
10283
10284 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10285
10286         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10287         a document of zero size.
10288
10289 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10290
10291         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10292         approriately in the c-tor and in require().
10293         (getPackages): output the appropriate LaTeX for natbib support.
10294
10295         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10296         variables "use_natbib" and "use_numerical_citations" when reading the
10297         LyX file.
10298         (readInset): read the various natbib cite commands.
10299         (validate): white-space change.
10300
10301         * bufferparams.[Ch]: new variables "bool use_natbib" and
10302         "bool use_numerical_citations".
10303         (writeFile): output them in the LyX file.
10304
10305 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10306
10307         * lyxfunc.C (getStatus): add support for all the inset insertion
10308         commands.
10309
10310         * text2.C (insertInset):
10311         * paragraph.C (insetAllowed):
10312         * BufferView_pimpl.C (insertInset): update to take in account the
10313         renaming of insertInsetAllowed
10314
10315         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10316
10317         * text2.C (getInset): new method. returns inset at cursor position.
10318
10319         * BufferView_pimpl.C (Dispatch): changes because of this.
10320
10321         * LyXAction.C (init): rename open-stuff to inset-toggle.
10322
10323         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10324
10325         * text2.C (toggleInset): renamed from openStuff; use
10326         Inset::open().
10327
10328 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10329
10330         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10331
10332         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10333
10334 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10335
10336         * buffer.C (readLyXformat2): Add filename to the error dialog
10337
10338 2001-07-18  Juergen Vigna  <jug@sad.it>
10339
10340         * tabular.C (GetCellNumber): put an assert here instead of the check!
10341
10342 2001-07-17  Juergen Vigna  <jug@sad.it>
10343
10344         * BufferView_pimpl.C (toggleSelection): adapted too.
10345
10346         * text.C (selectNextWord): adapted for use with insets.
10347         (selectSelectedWord): ditto
10348
10349 2001-07-17  Juergen Vigna  <jug@sad.it>
10350
10351         * sp_spell.C (PSpell): fix initialitation order.
10352
10353 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * paragraph.C: spacing
10356
10357 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10358
10359         * sp_spell.C: repair language selection for pspell
10360
10361 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10362
10363         * lyxfunc.h: change more methods to begin with lower char.
10364
10365 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10368         for unknown layouts.
10369
10370 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10371
10372         * buffer.C (readLyXformat2): Generate an error dialog if there are
10373         unknown layouts.
10374
10375 2001-07-16  Juergen Vigna  <jug@sad.it>
10376
10377         * sp_spell.C: always compile ISpell part.
10378
10379         * lyxrc.C: added use_pspell entry and it's handling.
10380
10381 2001-07-13  Juergen Vigna  <jug@sad.it>
10382
10383         * sp_spell.C: removed double includes.
10384
10385 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10386
10387         Consistent use of Lsstream.h:
10388         * Lsstream.h: added using std::stringstream for consistencies sake.
10389
10390         * buffer.C: removed using std::stringstream
10391
10392         * lyxfont.C (stateText):
10393         * paragraph.C (asString):
10394         * text.C (selectNextWord, selectSelectedWord):
10395         * text2.C (setCounter):
10396         * vspace.C (asString, asLatexString):
10397         std::ostringstream -> ostringstream.
10398
10399 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10400
10401         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10402         * commandtags.h: add LFUN_HELP_ABOUTLYX
10403         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10404
10405 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10406
10407         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10408         cursorToggle()
10409         * lyx_gui_misc.C: remove spellchecker
10410         * lyxfunc.C: showSpellchecker
10411         * sp_base.h: added
10412         * sp_ispell.h: added
10413         * sp_pspell.h: added
10414         * sp_spell.C: added
10415         * sp_form.[Ch]: removed
10416         * spellchecker.[Ch]: removed
10417
10418 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10419
10420         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10421         is set.
10422         (simpleTeXSpecialChars): Simply print the input character without
10423         any special translation if pass_thru is set.
10424
10425         * layout.h: Added bool pass_thru to layout class for being able to
10426         implement pass through of a paragraph for Literate Programming.
10427
10428         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10429         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10430         * layout.C (Read): add "passthru" to list of layout tags and add
10431         code to set the pass_thru boolean when it is read.
10432
10433 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * trans_decl.h: remove allowed from KmodInfo
10436
10437         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10438         remove allowed code
10439         (Load): adjust
10440
10441         * paragraph_pimpl.C (erase): use boost::prior
10442
10443         * Painter.C (text): use data() instead of c_str() when length is
10444         also provided.
10445         * WorkArea.C (putClipboard): ditto
10446         * font.h (width): ditto
10447
10448         * BufferView2.C: use it-> instead of (*it). for iterators
10449         * texrow.C: ditto
10450         * paragraph_pimpl.C: ditto
10451         * paragraph.C: ditto
10452         * minibuffer.C: ditto
10453         * language.C: ditto
10454         * kbmap.C: ditto
10455         * encoding.C: ditto
10456         * counters.C: ditto
10457         * converter.C: ditto
10458         * chset.C: ditto
10459         * Variables.C: ditto
10460         * TextCache.C: ditto
10461         * MenuBackend.C: ditto
10462         * LyXAction.C: ditto
10463         * LColor.C: ditto
10464         * FloatList.C: ditto
10465         * DepTable.C: ditto
10466         * ColorHandler.C (LyXColorHandler): ditto
10467
10468 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10471
10472         * text2.C (openStuff): reintroduce this method (which had been
10473         nuked in NEW_INSETS frenzy).
10474
10475         * lyxfunc.C (Dispatch): when an action has not been handled, use
10476         its name in the error message, not its number.
10477
10478         * paragraph.C (inInset): change method name to begin with lowercase.
10479
10480         * undo_funcs.C:
10481         * text2.C: updates because of this.
10482
10483 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10484
10485         * ToolbarDefaults.C (add): add spaces in error message
10486
10487 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10488
10489         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10490         (readLyXformat2): rename return_par to first_par, use lyxlex's
10491         pushToken and remove the manual push handling.
10492         (parseSingleLyXformat2Token): add another ert comp. variable:
10493         in_tabular, rename return_par to first_par. handle newlines better
10494
10495 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10496
10497         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10498
10499 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * text2.C (getParFromID): removed
10502
10503         * buffer.C (getParFromID): new method moved form lyxtext.
10504         * BufferView2.C (insertErrors): adjust
10505         (setCursorFromRow): adjust
10506         * BufferView_pimpl.C (restorePosition): adjust
10507         * lyxfunc.C (Dispatch): adjust
10508         * undo_funcs.C (textUndo): adjust
10509         (textRedo): adjust
10510         (textHandleUndo): adjust
10511         (textHandleUndo): adjust
10512
10513 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10514
10515         * buffer.C: up' the LYX_FORMAT
10516
10517         * lyxfont.h: turn NO_LATEX on as default
10518
10519         * buffer.C (insertErtContents): new methods of tex style compability.
10520         (parseSingleLyXformat2Token): use it several places.
10521         * tabular.C (OldFormatRead): and here
10522
10523 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10524
10525         * text2.C: remove some commented code.
10526         reindent file.
10527
10528         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10529         * trans.C: changes because of the above.
10530
10531 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10532
10533         * text2.C (setCounter): Fix counters bug with bibliography layout.
10534
10535 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10536
10537         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10538         own member functions
10539         (simpleTeXSpecialChars): ditto
10540
10541 2001-07-06  Juergen Vigna  <jug@sad.it>
10542
10543         * a lot of files: changed the access to LyXText::status and the
10544         call of undo-functions.
10545
10546         * undo.[Ch]: added a inset_id to the undo informations.
10547
10548         * undo_funcs.[Ch]: added and moved here all undo functions.
10549
10550         * lyxtext.h: give the status enum a weight, made status_ a private
10551         variable and made accessor functions for it, removed the whole bunch
10552         of undo-functions as they are now in their own file, make some
10553         functions publically available. Added function ownerParagraph with
10554         int parameter.
10555
10556         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10557         made InInset() a const function, added getParFromID() function.
10558
10559         * buffer.[Ch]: added const version for inset_iterator functions,
10560         added getInsetFromID() function.
10561
10562         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10563         changed undo functions for new version.
10564
10565 2001-07-05  Juergen Vigna  <jug@sad.it>
10566
10567         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10568         unknow mechanism does not call the proper constructor but only this
10569         one also if I request the other!?
10570
10571 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10574
10575         * text2.C (LyXText): use initialization lists.
10576
10577         * lyxtext.h (Selection): initialize set_ and mark_
10578         (init): remove method
10579
10580 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10581
10582         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10583
10584 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10585
10586         * screen.[Ch]: change method names to begin with lowercase
10587
10588         * BufferView_pimpl.C (updateScrollbar): simplify further and
10589         hopefully make it a bit faster.
10590
10591 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10592
10593         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10594         calling directly xforms functions.
10595
10596         * Painter.C (Painter):
10597         * lyx_cb.C (MenuWrite):
10598         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10599         fl_display.
10600
10601         * lyx_gui.C: remove bogus guiruntime extern declaration.
10602
10603 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10606         in NEW_INSETS
10607         (redoDrawingOfParagraph): ditto
10608         (redoParagraphs): ditto
10609         (cutSelection): don't create a object for CutAndPaste use the
10610         static method directly
10611         (pasteSelection): ditto
10612
10613         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10614         LyXview (+ rename)
10615
10616 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * modifications to some other files because of this.
10619
10620         * Makefile.am (lyx_SOURCES): add XFormsView
10621
10622         * XFormsView.[Ch]: new files
10623
10624         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10625         the main window. Move the gui dependent stuff to XFormsView
10626
10627 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10628
10629         * tabular.C (GetCellInset): update cur_cell also in the row/col
10630         version of this function.
10631
10632         * lyxfunc.C: no need to include figure_form.h here.
10633
10634         * FontLoader.h:
10635         * lyxfunc.h:
10636         * lyxscreen.h:
10637         * text2.C:
10638         * lyxvc.C: no need to include forms.h here.
10639
10640 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10641
10642         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10643
10644         * lyxfunc.C (Dispatch):
10645         * Spacing.C (set):
10646         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10647         constructor argument.
10648
10649 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10650
10651         * paragraph.C (Paragraph): dont't clear, and just set layout.
10652         (makeSameLayout): use params's copy contructor.
10653
10654         * ParagraphParameters.[Ch] (makeSame): delete method
10655
10656 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * Variables.[Ch]: fix indentation, rename set to isSet
10659
10660 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * lyxfunc.C (Dispatch): fix typo
10663
10664 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10667         upper_bound.
10668
10669         * bufferlist.C: include assert.h for emergencyWrite().
10670
10671 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10674           give up at last (bug #425202) !
10675
10676 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * lyx_gui_misc.C:
10679         * sp_form.h:
10680         * sp_form.C:
10681         * spellchecker.h:
10682         * spellchecker.C: strip spellchecker options and bring up
10683           preferences tab instead
10684
10685 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10686
10687         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10688         the istringstream constructor
10689
10690 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10691
10692         * paragraph.C (getLayout): fix return value
10693
10694         * paragraph.h: do not declare getLayout as inline.
10695
10696         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10697
10698 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * lyxcursor.h (operator<): new func
10701         (operator>): new func
10702         (operator>=): new func
10703         (operator<=): new func
10704
10705         * text.C (changeCase): use selection.start and selection.end
10706         (changeRegionCase): require from to be <= to. Require par to be a
10707         valid paragraph.
10708
10709         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10710
10711 2001-06-27  Juergen Vigna  <jug@sad.it>
10712
10713         * text.C (cursorLeftOneWord): changed to return the cursor and added
10714         overlay with BufferView * parameter which calls this one.
10715         (getWord): added
10716         (selectWord): use new getWord function.
10717         (changeCase): renamed from changeWordCase as and extended to work
10718         also on selections.
10719
10720         * lyxtext.h: added enum word_location
10721
10722         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10723         changeCase as this operates now also on selections.
10724
10725 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10726
10727         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10728
10729         * many files: send debug output to Debug::INFO instead of
10730         Debug::ANY.
10731
10732         * converter.C (View):
10733         (Convert):
10734         (Move): send debug output to Debug::FILES instead of console.
10735
10736 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10737
10738         * lyxfunc.C (getStatus): use func_status
10739
10740         * func_status.h: new header, describing the results of
10741         LyXFunc::getStatus;
10742
10743         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10744         LFUN_MATH_HALIGN.
10745
10746 2001-06-25  The LyX Project  <jug@sad.it>
10747
10748         * buffer.C (sgmlOpenTag):
10749         (sgmlCloseTag):
10750         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10751
10752 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * text2.C: remove some dead code
10755
10756         * tabular.C (GetCellInset): store the last cell checked (gotten)
10757
10758         * tabular.h: add the helper for the speedup
10759
10760         * lyxtext.h: remove some dead code
10761
10762 2001-06-26  The LyX Project  <Asger>
10763
10764         * paragraph.C: Change export to LaTeX of alignment to
10765         \begin{center} and family for better roundtrip work with reLyX.
10766
10767         * Tune the math drawing a bit.
10768
10769 2001-06-25  The LyX Project  <Asger>
10770
10771         * LColor.C (LColor): New color for math background. New color
10772         for buttons.
10773
10774 2001-06-25  The LyX Project  <jug@sad.it>
10775
10776         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10777
10778         * lyxfunc.C (Open):
10779         * bufferlist.C (newFile): do not restrict to files ending with
10780         .lyx
10781
10782         * BufferView_pimpl.C (MenuInsertLyXFile):
10783
10784 2001-06-24  The LyX Project  <jug@sad.it>
10785
10786         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10787         of compare_no_case
10788
10789 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10790
10791         * lyxtext.h: rename most methods to begin with a small char.
10792         Lots of changes because of this.
10793
10794         * paragraph.C (Paragraph): do not call fitToSize
10795         (erase): call Pimpl::erase
10796         (insertChar): call Pimpl::insertChar
10797         (insertInset): call Pipl::insertInset
10798         (breakParagraph): do not call fitToSize
10799         (breakParagraphConservative): do not call fitToSize
10800         (fitToSize): remove method
10801
10802         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10803
10804 2001-06-24  The LyX Project  <Asger>
10805
10806         * Fix Qt compilation^2
10807
10808 2001-06-24  The LyX Project  <jug@sad.it>
10809
10810         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10811         depthHook(getDepth()-1).
10812
10813         * paragraph.h:
10814         * ParagraphParameters.h:
10815         * ParameterStruct.h: change type of depth to unsigned int ==
10816         depth_type. Many adaptations to other files before of that.
10817
10818 2001-06-24  The LyX Project  <Asger>
10819
10820         * Fix Qt compilation.
10821
10822 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * paragraph.h: renamed several methods to begin with small letter.
10825         several changes to many parts of the code because of this.
10826
10827 2001-06-23  The LyX Project  <jug@sad.it>
10828
10829         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10830         rewritten to discard all double spaces when KeepEmpty is off
10831         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10832         to only handle newlines but not fiddle with spaces and friends.
10833
10834         * lyxfunc.C (MenuNew): when doing 'new from template', use
10835         template_path as default directory
10836
10837 2001-06-23  The LyX Project  <Asger>
10838
10839         * Clean-up of header file includes all over
10840         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10841
10842 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * paragraph.h: renamed from lyxparagraph.h
10845
10846 2001-06-23  Asger  <lyx@violet.home.sad.it>
10847
10848         * Buffer.h: Removed Buffer::resize
10849         * BufferList.h: Removed BufferList::resize
10850         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10851         the document lazily when we change the width, or the font settings.
10852
10853 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10856
10857 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * buffer.h: remove out of date comment
10860
10861 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * lyxscreen.h:
10864         * screen.C: fix "theoretical" GC leak
10865
10866 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10867
10868         * LaTeX.C (scanAuxFile):
10869         (deplog): remove trailing \r when reading stream (useful under
10870         win32)
10871
10872 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10875         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10876         and BufferView::theLockingInset(Inset*), so should use them and not
10877         access bv_->text->the_locking_inset directly.
10878
10879         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10880
10881 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * Makefile.am:
10884         * tex-defs.h: remove old unused file
10885
10886 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * BufferView_pimpl.C: fix typo, remove minibuffer message
10889           when buffer has loaded
10890
10891 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10892
10893         * lyxfunc.C (Dispatch): use stringstream
10894         (MenuNew): use stringstream
10895         (Open): use stringstream
10896
10897         * importer.C (Import): use stringstream
10898
10899         * bufferview_funcs.C (CurrentState): use stringstream
10900
10901         * LaTeX.C (run): use stringstream
10902
10903         * BufferView_pimpl.C (savePosition): use stringstream
10904         (restorePosition): use stringstream
10905         (MenuInsertLyXFile): use stringstream
10906
10907 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * BufferView.C:
10910         * Bullet.C:
10911         * ColorHandler.C:
10912         * FontInfo.C:
10913         * FontLoader.C:
10914         * LColor.C:
10915         * LaTeXFeatures.C:
10916         * Painter.C:
10917         * gettext.C:
10918         * lyx_gui_misc.C:
10919         * lyxserver.C:
10920         * vspace.C: removed // -*- C++ -*- as first line.
10921
10922         * lyxfind.h:
10923         * version.h: added // -*- C++ -*- as first line.
10924
10925 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10926
10927         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10928
10929         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10930         of string
10931
10932 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10935         of floats.
10936
10937 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10938
10939         * gettext.C: include LString.h even when --disable-nls is on.
10940
10941 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10942
10943         * converter.h (Get): changed argument type from int to
10944         FormatList::size_type to avoid unnecessary conversion.
10945
10946         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10947         before using it.
10948
10949 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10950
10951         * gettext.h: include LString.h even when --disable-nls is on.
10952
10953 2001-06-07  Juergen Vigna  <jug@sad.it>
10954
10955         * text.C (BreakAgain): subst spaces with tabs.
10956
10957         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10958         (resizeInsetsLyXText): set force on resizeLyXText.
10959
10960 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10961
10962         * gettext.h (gettext_init):
10963         (locale_init): use a real definition instead of a macro
10964
10965 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * Bufferview_pimpl.C:
10968         * LColor.h:
10969         * LColor.C: further lcolor tidies
10970
10971 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10972
10973         * BufferView_pimpl.C (updateScrollbar): simplify.
10974
10975         * BufferView2.C: don't include insets/insetinfo.h, change
10976         prototype for insertInset and call the Pimpl version. let
10977         updateInset call Pimpl version.
10978
10979         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10980         gotoInset to BufferView::Pimpl
10981
10982 2001-06-01  Juergen Vigna  <jug@sad.it>
10983
10984         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10985         inside a LockingInset (is the update needed at all?).
10986
10987 2001-05-31  Juergen Vigna  <jug@sad.it>
10988
10989         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10990         here not the old one otherwise how should we compare it afterwards
10991         if it's the same!
10992
10993 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10994
10995         * lyxfont.C:
10996         * tabular.C:
10997         * tabular-old.C:
10998         * FontInfo.C: bring C functions into global namespace when
10999         necessary
11000
11001 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * LString.h: make sure config.h has been loaded before LString.h.
11004
11005         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11006         (one for each char read by EatLine!).
11007
11008         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11009         variables.
11010
11011 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11014         to the same as the par we break from
11015
11016 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11019
11020         * MenuBackend.C (expand): also create menu entries for wide
11021         versions of the floats.
11022
11023         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11024
11025         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11026
11027         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11028         frontends/Makefile.am
11029
11030         * text2.C: adjust
11031         * text.C: adjust
11032
11033
11034         * tabular.C (getTokenValue): add std::
11035
11036         * tabular-old.C (getTokenValue): add std::
11037         (getTokenValue): ditto
11038         (getTokenValue): ditto
11039
11040         * screen.C (ToggleSelection): adjust
11041
11042         * lyxtext.h: put selection cursors inside a Selection struct.
11043
11044         * lyxfunc.C (moveCursorUpdate): adjust
11045
11046         * lyxfont.C (latexWriteStartChanges): add std::
11047
11048         * lyxfind.C: adjust
11049
11050         * font.h: delete with(char const *, LyXFont const &)
11051
11052         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11053
11054         * FontInfo.C (getFontname): add std::
11055
11056         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11057         (workAreaButtonPress): adjust
11058         (tripleClick): adjust
11059         (update): adjust
11060         (moveCursorUpdate): adjust
11061         (Dispatch): adjust
11062
11063         * BufferView2.C (gotoInset): adjust
11064
11065 2001-05-30  Juergen Vigna  <jug@sad.it>
11066
11067         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11068         to check pspell I add this as default as I now have new pspell
11069         libraries and they seem to use this.
11070
11071 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * text2.C (CutSelection): make the cursor valid before the call to
11074         ClearSelection.
11075
11076 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11077
11078         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11079         relied on 0 terminated strings and other horrors. Bug found due to
11080         the new assert in lyxstring!
11081
11082         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11083         KP_ keys.
11084
11085 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11088         to latinkeys.bind.
11089
11090         * lyxfunc.C (processKeySym): change method of getting to the
11091         self-insert char.
11092
11093         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11094         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11095         * BufferView_pimpl.[Ch]: here as private methods.
11096
11097 2001-05-28  Juergen Vigna  <jug@sad.it>
11098
11099         * text.C (SetHeightOfRow): added the update() call again as it is
11100         needed to initialize inset dimensions!
11101
11102 2001-05-16  Juergen Vigna  <jug@sad.it>
11103
11104         * text2.C (SetCharFont): Add new function with BufferView * and
11105         bool toggleall parameters for setting insets internal fonts.
11106         (SetFont): Freeze the undo as we may change fonts in Insets and
11107         all this change should be inside only one Undo!
11108
11109         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11110         setting font's in insets as for them we have the SetFont function!
11111
11112 2001-05-15  Juergen Vigna  <jug@sad.it>
11113
11114         * text2.C (ClearSelection): to be sure we REALLY don't have any
11115         selection anymore!
11116
11117         * tabular.C (TeXCellPreamble): fixed the left border problem for
11118         multicolumn cells.
11119
11120 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11121
11122         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11123         dependancy file
11124
11125 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11128         LFUN_BREAKPARAGRAPH.
11129
11130         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11131         help test to "internal only", similar for LFUN_INSERT_URL
11132
11133         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11134         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11135         auto_region_delete and deadkeys.
11136
11137 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * LColor.h:
11140         * LColor.C: remove some dead entries, tidy a little
11141
11142 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11145         commented code.
11146         (Dispatch): implement LFUN_ESCAPE
11147
11148         * commandtags.h: add LFUN_ESCAPE
11149
11150         * LyXAction.C (init): add entry for LFUN_ESCAPE
11151
11152         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11153         Remove commented code.
11154         (insertNote): moved here
11155         (open_new_inset): moved here
11156
11157         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11158         BufferView_pimpl
11159
11160 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11161
11162         * kbmap.C (findbinding): clean it up and make it work correctly.
11163
11164         * lyx_main.C (init): do not pass argc and argv as parameters
11165
11166 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11167
11168         * buffer.C: fix path for OS/2 & Win32
11169
11170         * lyx_gui.C:
11171         * lyx_main:
11172         * lyx_main.C: Added os:: class.
11173
11174         * os2_defines.h: update
11175
11176 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11179         better by trying again with reduced state.
11180
11181 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * lyxrc.C (read): print error about invalid key sequence only when
11184         debugging (because not all latinX keysyms are known to some X
11185         servers)
11186
11187         * kbsequence.C (getiso): add a few std:: qualifiers
11188         (getiso): comment out extra return statement.
11189
11190 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11193         handling.
11194         (Dispatch): enhance the accent inset a bit. (not perfect)
11195
11196 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11199
11200 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * bufferlist.C (emergencyWrite): fix assert() call
11203
11204 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11205
11206         * text.C (InsertChar): Added trivial patch to only send the "you
11207         can not do multiple spaces this way" message once during a
11208         session.
11209
11210 2001-05-08  Baruch Even  <baruch@lyx.org>
11211
11212         * Makefile.am: Changed order of libraries to get LyX to link properly
11213         with the gnome frontend.
11214
11215 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * LaTeXFeatures.h: add a std:: qualifier
11218
11219 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * paragraph.C (String): use stringstream
11222
11223 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * paragraph.C (writeFile): remove footflag arg
11226
11227         * buffer.C (makeLaTeXFile): use stringstream
11228         (latexParagraphs): remove footnot gurba
11229
11230         * LaTeXFeatures.C (getPackages): use stringstream
11231         (getMacros): likewise
11232         (getTClassPreamble): likewise
11233         (getFloatDefinitions): new method
11234
11235         * paragraph.C (writeFile): reindent
11236         (Erase): reindent
11237
11238         * WorkArea.h: revert the xpos + etc changes.
11239
11240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11241
11242         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11243
11244         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11245         (pasteSelection): likewise
11246         * text2.C (CreateUndo): likewise
11247
11248 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11249
11250         * minibuffer.C (peek_event): temporarily reduce the functionality
11251         of the minibuffer (to allow args on lfuns)
11252
11253         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11254         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11255
11256         * buffer.C (readInset): add compability reading of old float
11257         lists, add reading of new style float list.
11258         (readInset): avoid reevaluation of inscmd.getCmdName()
11259         (getLists): reindent
11260
11261         * MenuBackend.C (MenuItem): implement parsing of
11262         md_floatlistinsert and md_floatinsert.
11263         (expand::LastFiles): move initalizaton of iterators out of loop,
11264         avoid reevaluation.
11265         (expand::Documents): introduce typdedef vector<string> Strings,
11266         and use it.
11267         (expand::ExportFormats): introduce typedef vector<Format const *>
11268         Formats, and use it.
11269         (expand): implement FloatListInsert and FloatInsert.
11270
11271         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11272         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11273         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11274
11275         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11276         handling.
11277         (Dispatch::LFUN_FLOAT_LIST): implement
11278
11279 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11280
11281         * LaTeX.C (run): Fix problem with --export code.
11282
11283 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11284
11285         * BufferView.[Ch] (workarea): removed.
11286         (getClipboard) new method; wrapper for workarea()->getClipboard()
11287
11288         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11289         bug.
11290
11291         * WorkArea.h (width, height, xpos, ypos): These methods all
11292         returned the dimensions of the work_area sub-area of WorkArea,
11293         resulting in a position error if the WorkArea were resized. Now
11294         return the dimensions of the entire WorkArea.
11295
11296         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11297
11298 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11299
11300         * LaTeX.C (deplog): correct the syntax of regex reg1
11301
11302 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * undo.C: remove !NEW_INSETS cruft
11305
11306 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * text2.C: remove !NEW_INSETS cruft
11309
11310         * text.C: remove !NEW_INSETS cruft
11311
11312         * tabular.C: remove !NEW_INSETS cruft
11313
11314         * spellchecker.C: remove !NEW_INSETS cruft
11315
11316         * lyxtext.h: remove !NEW_INSETS cruft
11317
11318         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11319
11320         * lyxfunc.C: remove !NEW_INSETS cruft
11321
11322         * lyxfind.C: remove !NEW_INSETS cruft
11323
11324         * lyx_cb.C: remove !NEW_INSETS cruft
11325
11326         * figureForm.C: remove  !NEW_INSETS cruft
11327
11328         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11329
11330         * buffer.[Ch]: remove !NEW_INSETS cruft
11331
11332         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11333
11334         * CutAndPaste.C: remove !NEW_INSETS cruft
11335
11336         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11337
11338         * BufferView2.C: remove !NEW_INSETS cruft
11339
11340         * BufferView.h: remove !NEW_INSETS cruft
11341
11342 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * Lsstream.h: include LString.h before the sstream headers to
11345         fix problem with gcc 2.95.3 and lyxstring
11346
11347 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11348
11349         * lyx_main.C: add using directives when needed for C functions
11350         declared in std:: namespace.
11351
11352 2001-04-27  Juergen Vigna  <jug@sad.it>
11353
11354         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11355         (SetHeightOfRow): comment out the update call should not be needed!
11356
11357 2001-04-13  Juergen Vigna  <jug@sad.it>
11358
11359         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11360         (LyXTabular): tried to minimize operator= operations (and realized
11361         hopfully Lars wish).
11362
11363 2001-04-27  Juergen Vigna  <jug@sad.it>
11364
11365         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11366
11367 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11370
11371         * buffer.C (readInset): hack to make listof algorithm work
11372
11373         * BufferView_pimpl.C: hack to make listof algorithm work
11374
11375 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * LyXAction.C: removed all !NEW_INSETS cruft
11378         (init): moved lfun_item in method
11379
11380         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11381
11382 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11383
11384         * BufferView2.C (theLockingInset): white space.
11385
11386 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * minibuffer.C: include <iostream>
11389
11390         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11391
11392         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11393
11394         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11395
11396         * text.[Ch] (TransposeChars): new method
11397
11398 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11399
11400         * call message directly through LyXView instead of through LyXFunc
11401         * BufferView2.C: adjust
11402         * BufferView_pimpl.C: adjust
11403         * FontLoader.C: adjust
11404         * buffer.C: adjust
11405         * bufferview_funcs.C: adjust
11406         * converter.C: adjust
11407         * figureForm.C: adjust
11408         * importer.C: adjust
11409         * lyx_cb.C: adjust
11410         * lyx_gui_misc.C: adjust
11411         * lyxfunc.C: adjust
11412         * lyxvc.C: adjust
11413         * text2.C: adjust
11414         + more files in subdirs
11415
11416         * lyxparagraph.h (size): move up int file
11417         (GetLayout): ditto
11418
11419         * adjust all uses of Assert to lyx::Assert.
11420
11421         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11422         lyxfunctional in namespace lyx
11423         * layout.C (hasLayout): ditto
11424         (GetLayout): ditto
11425         (GetLayout): ditto
11426         (delete_layout): ditto
11427         (NumberOfClass): ditto
11428         * converter.C (GetFormat): ditto
11429         (GetNumber): ditto
11430         (Add): ditto
11431         (Delete): ditto
11432         (SetViewer): ditto
11433         * bufferlist.C (getFileNames): ditto
11434         (emergencyWriteAll): ditto
11435         (exists): ditto
11436         (getBuffer): ditto
11437         * MenuBackend.C (hasSubmenu): ditto
11438         (hasMenu): ditto
11439         (getMenu): ditto
11440         * BufferView_pimpl.C (getInsetByCode): ditto
11441
11442 2001-04-18  Juergen Vigna  <jug@sad.it>
11443
11444         * vspace.C (asLatexString): fixed the 100% problem.
11445
11446 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11447
11448         * lyxfunc.C (Dispatch):
11449         * minibuffer.C:
11450         * minibuffer.h: add a few std:: qualifiers
11451
11452 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11453
11454         * minibuffer.[Ch]: reimplement so that commands is initiated and
11455         run from lyxfunc, simplified som handling, and made the completion
11456         and history code for complete. wip.
11457
11458         * lyxfunc.C (processKeySym): call message
11459         (miniDispatch): new temporary method
11460         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11461         (LFUN_MESSAGE): implement
11462         (LFUN_MESSAGE_PUSH): implement
11463         (LFUN_MESSAGE_POP): implement
11464         (initMiniBuffer): the initial/defualt minibuffer message.
11465
11466         * lyxfont.[Ch]: inline some more getters
11467
11468         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11469
11470         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11471
11472         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11473         (AutoSave): use LFUN_MESSAGE
11474         (Reconfigure): ditto
11475
11476         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11477
11478         * figureForm.C: use LFUN_MESSAGE
11479
11480         * converter.C (runLaTeX): use LFUN_MESSAGE
11481
11482         * bufferview_funcs.C: use LFUN_MESSAGE
11483         (Melt): ditto
11484         (changeDepth): ditto
11485
11486         * bufferparams.h: use boost::
11487
11488         * bufferlist.h: inherit privately from noncopyable
11489
11490         * bufferlist.C (loadLyXFile): remove some commented code.
11491
11492         * buffer.C (runChktex): use LFUN_MESSAGE
11493
11494         * ShareContainer.h: inherit privately from noncopyable
11495
11496         * ParagraphParameters.[hC] (depth): inline it.
11497
11498         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11499         methods.
11500         (message): new method
11501         (messagePush): ditto
11502         (messagePop): ditto
11503         (show): init minibuffer
11504         (showState): direct call
11505
11506         * LaTeX.[Ch]: inherit privately from noncopyable
11507         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11508         instead of WriteStatus.
11509
11510         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11511
11512         * BufferView_pimpl.C (buffer): don't init minibuffer
11513         (workAreaButtonPress): use LFUN_MESSAGE
11514         (workAreaButtonRelease): ditto
11515         (savePosition): ditto
11516         (restorePosition): ditto
11517         (MenuInsertLyXFile): ditto
11518         (workAreaExpose): don't init minibuffer
11519         (update): remove commented code, simplify
11520
11521         * BufferView2.C (openStuff): use LFUN_MESSAGE
11522         (toggleFloat): ditto
11523         (menuUndo): ditto
11524         (menuRedo): ditto
11525         (copyEnvironment): ditto
11526         (pasteEnvironment): ditto
11527         (copy): ditto
11528         (cut): ditto
11529         (paste): ditto
11530         (gotoInset): ditto
11531         (updateInset): remove some commented code
11532
11533         * lastfiles.h: inherit privately from noncopyable
11534         * layout.h: ditto
11535         * lyx_gui.h: ditto
11536         * lyx_main.h: ditto
11537         * lyxlex.h: ditto
11538         * lyxlex_pimpl.h: ditto
11539
11540         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11541         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11542         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11543
11544         * LyXAction.h: inherit privately from noncopyable, add methods
11545         func_begin, func_end, returning iterators to the func map.
11546
11547         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11548         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11549         (func_begin): new method
11550         (func_end): new method
11551
11552         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11553         and not)
11554         (copySelection): ditto
11555         (pasteSelection): ditto
11556
11557         * BufferView.C: whitespace change
11558         * BufferView.h: inherit privately from noncopyable
11559
11560 2001-04-16  Allan Rae  <rae@lyx.org>
11561
11562         * tabular-old.C (l_getline):
11563         * spellchecker.C (sc_check_word):
11564         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11565         an unrecognised preprocessor directive.  So ensure they're wrapped.
11566
11567 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11568
11569         * src/exporter.C (Export): Give an error message when path to file
11570         contains spaces.
11571
11572 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * LaTeX.C (deplog): Always check that foundfile exists.
11575
11576 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11577
11578         * lyx_main.h:
11579         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11580
11581 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * tabular.[Ch] (getLabelList): implement new method
11584
11585         * minibuffer.h: comment ouf setTiimer
11586
11587         * minibuffer.C (ExecutingCB): constify res
11588         (peek_event): constify s
11589         (Set): constify ntext
11590         (Init): constify nicename
11591
11592         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11593
11594         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11595         (savePosition): use two params to Minibuffer::Set
11596         (restorePosition): ditto
11597
11598 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * lyx_main.C: include language.h
11601
11602         * Makefile.am (lyx_main.o): add language.h
11603
11604 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11605
11606         * exporter.C:
11607         * paragraph.C:
11608         * screen.C:
11609         * tabular.C:
11610         * CutAndPaste.C: include gettext.h
11611
11612         * lyxfont.h: remove old hack with ON and OFF.
11613
11614         * lyxparagraph.h:
11615         * lyxfont.h: do not include language.h...
11616
11617         * BufferView2.C:
11618         * LaTeXFeatures.C:
11619         * Painter.C:
11620         * bufferview_funcs.C:
11621         * font.C:
11622         * lyxfont.C:
11623         * text.C:
11624         * text2.C:
11625         * trans_mgr.C:
11626         * paragraph.C: ... but do it here instead
11627
11628 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11631
11632         * tabular.C: small reformat
11633
11634         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11635         NEW_INSETS version
11636         (GetChar): ditto
11637         (BreakParagraph): ditto
11638         (SetOnlyLayout): ditto
11639         (SetLayout): ditto
11640
11641         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11642         with one arg less.
11643
11644         * lastfiles.C: removed most using decl, add std:: where needed
11645
11646         * buffer.C: ws changes
11647
11648         * MenuBackend.C (class compare_format): put into anon namespace
11649         (expand): constify label, names, action, action2
11650         (expand):
11651
11652         * text.C (SingleWidth): constify font
11653         (IsBoundary): constify rtl2
11654         (GetVisibleRow): constify ww
11655
11656         * LaTeX.C (deplog): constify logfile
11657
11658         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11659         start_x, end_x
11660         (workAreaExpose): constify widthChange, heightChange
11661
11662         * lyxrow.C (par): moved
11663         (height): moved
11664         (next): moved
11665         * lyxrow.h: as inlines here
11666
11667         * lyxfont.h (shape): moved from lyxfont.C
11668         (emph): moved from lyxfont.C
11669
11670         * lyxfont.C (LyXFont): use initialization list for all
11671         constructors
11672         (shape): move to lyxfont.h as inline
11673         (emph): move to lyxfont.h as inline
11674
11675
11676 2001-04-04  Juergen Vigna  <jug@sad.it>
11677
11678         * vspace.C: had to include stdio.h for use of sscanf
11679
11680 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11681
11682         * BufferView.h:
11683         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11684         independent of xforms.
11685
11686 2001-04-02  Juergen Vigna  <jug@sad.it>
11687
11688         * spellchecker.C: fixed namespace placing!
11689
11690 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11691
11692         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11693         the LyXParagraph * is 0.
11694
11695 2001-03-29  Juergen Vigna  <jug@sad.it>
11696
11697         * vspace.C: added support for %, c%, p%, l%.
11698         (stringFromUnit): added helper function.
11699         (asLatexString): changed to give right results for the %-values.
11700
11701         * buffer.C: convert the widthp in a width%.
11702
11703 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11706         figureForm.[Ch].
11707
11708         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11709         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11710
11711         * lyx_cb.[Ch]: see above.
11712
11713         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11714         form1.[Ch].
11715
11716         * form1.[Ch]:
11717         * lyx.[Ch]: replaced by figure_form.[Ch].
11718
11719         * lyx_gui.C:
11720         * lyx_gui_misc.C:
11721         * lyxfunc.C: changed headers associated with above changes.
11722
11723 2001-03-27  Juergen Vigna  <jug@sad.it>
11724
11725         * BufferView_pimpl.C: set the temporary cursor right!
11726
11727 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11730
11731 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11732
11733         * LString.h: removed "using std::getline"!
11734
11735         * BufferView_pimpl.C (Dispatch): changes due to changes in
11736         InsetInclude::Params.
11737
11738         * buffer.C (tag_name): removed redundant break statements as they were
11739         producing lots of warnings with my compiler.
11740
11741 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * LString.h: add "using std::getline" when using the real <string>.
11744
11745 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11746
11747         * buffer.C: removed bitset usage.
11748         PAR_TAG moved to an anonymous name space.
11749         (tag_name): new funtion, also in the anonymous namespace.
11750         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11751         (makeDocBookFile): clean code. Completed transition from string arrays
11752         to string vectors.
11753         (SimpleDocBookOnePar): code clean.
11754
11755 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11756
11757         * tabular.C: add some comments.
11758
11759 2001-03-22  Juergen Vigna  <jug@sad.it>
11760
11761         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11762         compatibility read a bit and fixed bug with minipage in different
11763         depth.
11764
11765 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11766
11767         * buffer.C (pop_tag): removed.
11768         (push_tag): removed.
11769         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11770         array replaced with vector. Added support for CDATA sections.
11771         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11772         at any nest level.
11773         (makeDocBookFile): XML conformant declaration of CDATA section,
11774         fixed bug related to <emphasis> in the first paragraph char.
11775         (sgmlOpenTag): exclude empty tags.
11776         (sgmlCloseTag): ditto.
11777
11778         * buffer.h (pop_tag): removed.
11779         (push_tag): removed.
11780
11781 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11782
11783         * language.h (Languages): added size_type and size().
11784
11785 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11786
11787         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11788         response on compability reading of minipages. One probliem is that
11789         the old usage of minipages was «flertydig»
11790
11791         * several files here and in subdirs: don't use static at file
11792         scope use anon namespaces instead.
11793
11794 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11795
11796         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11797         LaTeX output. This is necessary for Literate document
11798         processing.
11799
11800 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11801
11802         * buffer.C: insert hfill when needed.
11803
11804         * tabular.C (l_getline): use string::erase, small whitespace change.
11805
11806         * BufferView_pimpl.C: try the anon namespace.
11807         * WorkArea.C: ditto
11808
11809 2001-03-16  Juergen Vigna  <jug@sad.it>
11810
11811         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11812         otherwise it won't open options-dialogs.
11813
11814         * buffer.C: honor pextraWidth(p) on converting minipages.
11815
11816         * tabular.C (l_getline): changed the functions to strip trailing \r.
11817
11818 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * BufferView_pimpl.C:
11821         * minibuffer..C: added "using SigC::slot" declaration.
11822
11823 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11824
11825         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11826
11827         * text2.C: ditto
11828
11829         * text.C: ditto
11830
11831         * paragraph.C: ditto
11832
11833         * lyxtext.h: NO_PEXTRA
11834
11835         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11836
11837         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11838         * ParameterStruct.h: ditto
11839         * ParagraphParameters.h: ditto
11840         * lyxparagraph.h: ditto
11841
11842 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11843
11844         * buffer.C: add compability for minipage alignment.
11845         (latexParagraphs): remove unwanted pextra check.
11846
11847         * several files: remove CXX_WORKING_NAMESPACES
11848
11849         * buffer.C (pop_tag): tie is in namespace boost
11850
11851         * BufferView.h: noncopyable is in namespace boost
11852         * lyxlex.h: ditto
11853         * lyx_main.h: ditto
11854         * lyx_gui.h: ditto
11855         * layout.h: ditto
11856         * lastfiles.h: ditto
11857         * bufferlist.h: ditto
11858         * ShareContainer.h: ditto
11859         * LyXView.h: ditto
11860         * LyXAction.h: ditto
11861         * LaTeX.h: ditto
11862
11863 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11864
11865         * Merging changes from BRANCH_MVC back into HEAD.
11866
11867         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11868
11869 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * BufferView_pimpl.C: change from intl.C
11872
11873         * combox.h:
11874         * combox.C:
11875         * Makefile.am: move combox.*
11876
11877         * form1.h:
11878         * form1.C:
11879         * lyx_gui.C:
11880         * intl.h:
11881         * intl.C: remove dialog (covered by prefs)
11882
11883 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * lyxfunc.C (Dispatch): removed redundant break statement.
11886
11887 2001-03-14  Juergen Vigna  <jug@sad.it>
11888
11889         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11890
11891 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11892
11893         * buffer.C: add hack to fix compability reading of minipages.
11894
11895 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * buffer.C (getLists): Cleanup.
11898
11899 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11900
11901         * lyxfont.C (update): don't honor toggleall on font size.
11902
11903 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * bmtable.c:
11906         * bmtable.h:
11907         * Makefile.am: moved to frontends/xforms/
11908
11909         * lyx_gui_misc.C:
11910         * lyxfunc.C:
11911         * BufferView_pimpl.C: changes for moved mathpanel
11912
11913 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * gettext.h: fix gettext_init() in --disable-nls
11916
11917 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11918
11919         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11920
11921 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyx.C:
11924         * lyx.h: strip external form
11925
11926 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * BufferView_pimpl.C: add comment, destroySplash()
11929
11930 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * BufferView_pimpl.C:
11933         * LyXAction.C:
11934         * buffer.C:
11935         * commandtags.h:
11936         * lyxfunc.C: use re-worked insetinclude
11937
11938 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11939
11940         * buffer.C: add using std::stringstream.
11941
11942         * lyx_cb.C: readd using std::ios.
11943
11944         * buffer.C: add using std::map.
11945
11946         * BufferView_pimpl.C: add using std::vector.
11947
11948         * ShareContainer.h: add std:: to swap.
11949
11950         * buffer.h: add some typedefs
11951         * buffer.C (getLists): use them
11952         (getLists): renamed from getTocList.
11953         add a counter for the different float types and use it in the
11954         generated string.
11955         (getLists): use the same counter for the NEW_INSETS and the "non"
11956         NEW_INSETS
11957
11958         * lyx_cb.h: remove unused items, includes, using etc.
11959
11960         * ShareContainer.h: remove some commented code, add more comments
11961         and "documentation".
11962
11963 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11964
11965         * buffer.C (getTocList): make the list also when NEW_INSETS is
11966         defined.
11967
11968         * buffer.h: remove TocType
11969
11970         * buffer.C (getTocList): change to return a map<string,
11971         vector<TocItem> >, implement for dynamic number of list.
11972
11973         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11974         * text2.C (PasteSelection): adjust
11975         * CutAndPaste.C (pasteSelection): adjust
11976
11977         * FloatList.C (FloatList): update from the new_insets branch.
11978         * Floating.[Ch]: ditto
11979         * LaTeXFeatures.C: ditto
11980         * buffer.C: ditto
11981         * lyxlex_pimpl.C: ditto
11982
11983         * paragraph.C (Last): remove when NEW_INSETS is defined.
11984
11985         * other file: changes because of the above.
11986
11987 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11988
11989         * lyxparagraph.h: rename next to next_, previous to previous_,
11990         make them private for NEW_INSETS. Rename Next() to next(),
11991         Previous() to previous().
11992
11993         * other files: changes because of the above.
11994
11995 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11996
11997         * BufferView.h:
11998         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11999         problem.
12000
12001 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * main.C (main): pass lyx_localedir to gettext_init().
12004
12005         * gettext.h: remove locale_init and gettext_init macros
12006
12007         * gettext.C (locale_init): new function
12008         (gettext_init): new function
12009
12010         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12011         setlocale().
12012
12013 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12014
12015         * Moved credits to frontends:
12016         * credits.[Ch]: removed
12017         * credits_form.[Ch]: removed
12018         * lyx_gui_misc.C: remove credits stuff
12019         * Makefile.am:
12020
12021 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12022
12023         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12024
12025         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12026         unneeded destructor.
12027
12028         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12029         a standalone pointer again.
12030
12031         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12032
12033 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * Makefile.am:
12036         * filedlg.h:
12037         * filedlg.C:
12038         * LyXAction.C:
12039         * ToolbarDefaults.C:
12040         * bufferlist.C:
12041         * commandtags.h:
12042         * form1.C:
12043         * form1.h:
12044         * lyx_cb.C:
12045         * lyx_cb.h:
12046         * lyxfunc.h:
12047         * lyxfunc.C:
12048         * BufferView_pimpl.C: use new file dialog in GUII
12049
12050         * lyx_cb.h:
12051         * lyx_cb.C: remove LayoutsCB to Toolbar
12052
12053 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12054
12055         * ShareContainer.h (get): add std:: qualifier
12056
12057 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12058
12059         * ShareContainer.h: define a proper ShareContainer::value_type
12060         type (and use typename to please compaq cxx)
12061
12062 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12063
12064         * lyxparagraph.h: move serveral local vars to
12065         ParameterStruct/ParagraphParameters., use ShareContainer in
12066         FontTable., make vars in FontTable private and add getter and
12067         setter.
12068
12069         * paragraph.C: changes because of the above.
12070
12071         * lyxfont.h: remove copy constructor and copy assignment. (the
12072         default ones is ok), move number inside FontBits. move inlines to
12073         lyxfont.C
12074
12075         * lyxfont.C: add number to initializaton of statics, move several
12076         inlines here. constify several local vars. some whitespace
12077         cleanup. Dont hide outerscope variables.
12078
12079         * Spacing.h: add two new constructors to match the set methods.
12080
12081         * ShareContainer.h: new file, will perhaps be moved to support
12082
12083         * ParameterStruct.h: new file
12084
12085         * ParagraphParameters.h: new file
12086
12087         * ParagraphParameters.C: new file
12088
12089         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12090         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12091
12092         * BufferView_pimpl.C: ParagraphParameter changes.
12093         * buffer.C: Likewise.
12094         * bufferview_funcs.C: Likewise.
12095         * text.C: Likewise.
12096         * text2.C: Likewise.
12097
12098 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * lyxfind.C (LyXReplace): do not redefine default argument in
12101         implementation.
12102         (IsStringInText): ditto
12103         (SearchForward): ditto
12104         (SearchBackward): ditto
12105
12106 2001-03-06  Juergen Vigna  <jug@sad.it>
12107
12108         * lyxfind.C (IsStringInText): put parentes around expressions.
12109
12110 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12111
12112         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12113
12114 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12117
12118         * stl_string_fwd.h: add comment
12119
12120         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12121
12122         * tabular.h:
12123         * tabular.C: remove unused DocBook methods
12124
12125         * intl.C:
12126         * language.C:
12127         * paragraph.C:
12128         * buffer.C:
12129         killed DO_USE_DEFAULT_LANGUAGE
12130
12131 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12132
12133         * lyx_gui.C: do not include language.h.
12134
12135         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12136         arguments in function implementation.
12137
12138 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12139
12140         * BufferView_pimpl.C: add <ctime>
12141
12142 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12143
12144         * BufferView_pimpl.C: add using std::find_if
12145
12146 2001-02-27  José Matos  <jamatos@fep.up.pt>
12147
12148         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12149         by OnlyPath.
12150
12151 2001-02-11  José Matos  <jamatos@fep.up.pt>
12152
12153         * buffer.C (makeDocBookFile): command styles now have a parameter as
12154         "title" by default.
12155
12156 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12157
12158         * layout_forms.[Ch]: removed
12159         * lyx_cb.[Ch]: out character
12160         * lyx_gui.C: out character
12161         * lyx_gui_misc.C: out character
12162         * bufferview_funcs.C: : out character,
12163         added toggleall as parameter in ToggleAndShow
12164
12165 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12166
12167         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12168
12169         * text2.C (SetCurrentFont): Disable number property at boundary.
12170
12171 2001-02-26  Juergen Vigna  <jug@sad.it>
12172
12173         * lyxfunc.C (getStatus): added a string argument override function so
12174         that this is correctly called from LyXFunc::Dispatch if it contains a
12175         do_not_use_argument which is used!
12176         (Dispatch): added check for "custom" export and call appropriate func.
12177
12178 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * lyxrc.C: Add language_command_local, language_use_babel and
12181         language_global_options.
12182
12183         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12184
12185         * buffer.C (makeLaTeXFile): Use language_use_babel and
12186         language_global_options.
12187
12188 2001-02-23  Juergen Vigna  <jug@sad.it>
12189
12190         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12191         which works with LyXText and putted it inside BufferView. Here now we
12192         only call for that part the BufferView::Dispatch() function.
12193
12194         * BufferView.C (Dispatch): added.
12195
12196         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12197         functions which needs to use a LyXText over from LyXFunc.
12198         (MenuInsertLyXFile): added
12199         (getInsetByCode): added
12200         (moveCursorUpdate): added
12201         (static TEXT): added
12202
12203 2001-02-22  Juergen Vigna  <jug@sad.it>
12204
12205         * BufferView_pimpl.C (update): call a status update to see if LyXText
12206         needs it.
12207
12208 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12209
12210         * vc-backend.C (revert): implement for CVS
12211         (getLog): implement for CVS
12212
12213 2001-02-20  Juergen Vigna  <jug@sad.it>
12214
12215         * text2.C (ClearSelection): added BufferView param for inset_owner call
12216
12217         * lyxfunc.C (TEXT): added this function and use it instead of
12218         directly owner->view()-text of getLyXText().
12219
12220 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12221
12222         * src/layout_forms.C: out preamble
12223         * src/layout_forms.h: out preamble
12224         * src/lyx_cb.C: out preamble
12225         * src/lyx_cb.h: out preamble
12226         * src/lyx_gui.C: out preamble
12227         * src/lyx_gui_misc.C: out preamble
12228         * src/lyxfunc.C: connect with guii preamble
12229
12230 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12231
12232         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12233
12234 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12235
12236         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12237         whether to run bibtex.
12238
12239 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12240
12241         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12242
12243 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12244
12245         * Makefile.am (lyx_SOURCES): removed bibforms.h
12246
12247         * vspace.h: doxygen
12248
12249         * text.C (GetVisibleRow): make several local vars const
12250
12251         * tabular.C: small cleanup.
12252
12253         * lyxserver.C (callback): use compare instead of strncmp
12254
12255         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12256         inlines to after class or to paragraph.C
12257
12258         * lyxfont.h: remove friend operator!=
12259
12260         * converter.h: move friend bool operator< to non friend and after
12261         class def.
12262
12263         * combox.h: small cleanup
12264
12265         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12266         to inlines after class def.
12267
12268         * buffer.C (pop_tag): use string operations instead of strcmp
12269
12270         * bmtable.c: doxygen, small cleanup
12271
12272         * LaTeX.h: remove friend operator==
12273
12274 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12275
12276         * screen.C:
12277         * lyxrc.[Ch]:
12278         * lyxfunc.C:
12279         * lyxfont.[Ch]:
12280         * lyx_cb.C:
12281         * intl.[Ch]:
12282         * commandtags.h:
12283         * buffer.C:
12284         * WorkArea.[Ch]:
12285         * LyXAction.C:
12286         * BufferView_pimpl.C:
12287         * BufferView.[Ch]: remove cruft
12288
12289 2001-02-14  Juergen Vigna  <jug@sad.it>
12290
12291         * lyxfunc.C: removed #if 0 unused code
12292
12293         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12294
12295         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12296
12297         * text2.C (SetSelection): added a BufferView * parameter
12298
12299 2001-02-13  Juergen Vigna  <jug@sad.it>
12300
12301         * lyxfunc.C (Dispatch): fixed protected blank problem.
12302         * BufferView2.C (protectedBlank): added LyxText * parameter.
12303
12304         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12305         (AppendColumn): same as above for column_info.
12306
12307         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12308         (moveCursorUpdate): use a LyXText param for support of InsetText.
12309
12310         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12311         (tripleClick): ditto
12312
12313         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12314
12315         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12316
12317         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12318
12319         * text2.C (SetSelection): set correct update status if inset_owner
12320         (ToggleFree): ditto
12321
12322 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12323
12324         * tabular.C: remove some commented code.
12325
12326 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.C: call hideSplash()
12329
12330         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12331
12332         * include_form.h:
12333         * bibforms.h: remove
12334
12335         * lyxfunc.C:
12336         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12337           add LFUN_CHILD_CREATE
12338
12339         * counters.h: fix tiny typo
12340
12341         * lyx_cb.C:
12342         * lyx.h:
12343         * lyx_gui.C:
12344         * lyx.C: move splash to frontends/xforms/
12345
12346         * lyx_gui_misc.C: move Include and Bibform to frontends
12347
12348         * lyxvc.h: clarify comment
12349
12350         * vspace.C: tiny housekeeping
12351
12352 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12353
12354         * text.C (PrepareToPrint): RTL Fix.
12355
12356         * paragraph.C (GetUChar): New method.
12357         (String):  Use GetUChar.
12358
12359         * buffer.C (asciiParagraph): Use GetUChar.
12360
12361 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12362
12363         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12364
12365 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * buffer.h:
12368         * buffer.C: rename to getLogName(), handle
12369           build log / latex log nicely
12370
12371 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * MenuBackend.C:
12374         * MenuBackend.h: remove support for reference menuitem type.
12375
12376 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView_pimpl.C: housekeeping
12379         * BufferView_pimpl.h:
12380         * LyXView.h:
12381         * Makefile.am:
12382         * Timeout.C:
12383         * Timeout.h:
12384         * minibuffer.h: move Timeout GUI-I
12385
12386 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12387
12388         * lyxrc.C (read): Update converters data-structures.
12389
12390 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12391
12392         * LaTeX.h (operator!=): add operator != for Aux_Info
12393
12394 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12397
12398         * LaTeXLog.C: deleted, useful code moved to Buffer
12399
12400         * buffer.h:
12401         * buffer.C: new function getLatexLogName()
12402
12403         * lyx_gui_misc.C:
12404         * lyx_gui.C:
12405         * lyxvc.C:
12406         * lyxvc.h:
12407         * lyxfunc.C: use frontends for LaTeX and VC logs
12408
12409 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * LaTeX.h: yet another std:: that Allan forgot.
12412
12413         * Variables.C (set): renamed from isset(), because this clashes
12414         with some HP-UX macros (grr).
12415
12416 2001-02-06  Allan Rae  <rae@lyx.org>
12417
12418         * LaTeX.h: Another bug fix.  Missing std:: this time.
12419
12420 2001-02-04  Allan Rae  <rae@lyx.org>
12421
12422         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12423         floats problem. I've left it commented out because it's not quite
12424         correct.  It should also test that the current object is a table or
12425         figure inset.  But I haven't gotten around to figuring out how to do
12426         that.  I *think* it'll be something like: "table" == inset.type()
12427
12428         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12429         bool.
12430
12431 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12432
12433         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12434         all the citation/databases/styles in the auxilary file.
12435         (run): Rerun latex if there was a babel language error.
12436
12437 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12438
12439         * text.C (Backspace): Preserve the font when changing newline char
12440         with a space.
12441         (BreakParagraph): If the cursor is before a space, delete the space.
12442
12443         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12444
12445 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12448         new argument (code).
12449         (ChangeCitationsIfUnique): New method.
12450
12451         * paragraph.C (GetPositionOfInset): Handle bibkey.
12452
12453 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12454
12455         * BufferView_pimpl.h: change type of Position::par_pos to
12456         LyXParagraph::size_type.
12457
12458 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12459
12460         * BufferView_pimpl.C (savePosition, restorePosition): Write
12461         messages to minibuffer.
12462
12463 2001-01-28  José Matos  <jamatos@fep.up.pt>
12464
12465         * buffer.C (makeDocBookFile): adds support for document language.
12466         A silly restriction on the name of LatexCommand types where removed.
12467         Added support for CDATA sections, allows to chars unescaped, used
12468         among others in code, to avoid escape < and >.
12469
12470 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12471
12472         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12473         saved positions instrad of a stack. Furthermore, a position is
12474         stored using paragraph id/paragraph position.
12475
12476         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12477         Remove LFUN_REF_BACK.
12478
12479 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12480
12481         * converter.C (dvipdfm_options): New method.
12482
12483 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * vspace.C (isValidLength): Fix for empty input string.
12486
12487 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * LyXAction.C (init): change description of LFUN_FIGURE to
12490         "Insert Graphics"
12491
12492 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * LaTeX.C: add using directive
12495
12496 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12497
12498         * MenuBackend.C (expand): Fix the sorting of the formats.
12499
12500 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * lyx_main.C: tiny error message fix
12503
12504 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12507         calling fl_initialize(). This fixes the problem with ',' as
12508         decimal separator in text files.
12509
12510 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * trans.C (process): Fix the keymap bug.
12513
12514 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * LaTeX.C (scanAuxFiles): New method. Provides support for
12517         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12518         (scanLogFile) Scan for "run BibTeX" messages.
12519
12520         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12521         OT1 font encoding. Also, load the aecompl package if the ae
12522         package is loaded.
12523
12524         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12525
12526 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12527
12528         * texrow.C (increasePos): turn two error messages into debug
12529         messages.
12530
12531 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * LaTeX.C (scanAux): Handle the \@input macro.
12534         (runBibTeX): Use scanAux().
12535
12536         * language.C (latex_options_): New field.
12537
12538         * LaTeXFeatures.C (getMacros): Add language macros.
12539
12540         * buffer.C (makeLaTeXFile): Small fix.
12541
12542 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12545
12546         * text2.C: add a using directive.
12547
12548 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * BufferView2.C:
12551         * lyx_gui_misc.h:
12552         * lyxfr1.C:
12553         * lyxfunc.C: kill LyXBell.
12554
12555 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * text.C (IsBoundary): Remove the error message
12558
12559         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12560
12561         * lyxrc.C (setDefaults): Correct initialization value for
12562         font_norm_type.
12563
12564 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12565
12566         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12567         gotoError().
12568
12569         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12570         and GotoNextNote().
12571
12572         * src/LyXAction.C: Added reference-next.
12573
12574         * text.C (InsertChar): Use contains instead of strchr.
12575
12576         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12577
12578 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12579
12580         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12581         alignment commands (when needed).
12582
12583         * text.C (InsertChar): Add ':' to number separator chars.